@mcpjam/inspector 3.12.1 → 3.12.3
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/client/assets/{OAuthDesktopReturnNotice-DrCSUffX.js → OAuthDesktopReturnNotice-C5D90OSm.js} +2 -2
- package/dist/client/assets/OAuthDesktopReturnNotice-C95FI7VH.css +2 -0
- package/dist/client/assets/{app-bootstrap-C0wjVteM.js → app-bootstrap-C1Jn01kP.js} +359 -350
- package/dist/client/assets/{button-DQ9bR46C.js → button-RD2Dghjp.js} +2 -2
- package/dist/client/assets/{chunk-YOKDWASO-Cpy4vQY8.js → chunk-YOKDWASO-DTTU1wSE.js} +5 -5
- package/dist/client/assets/{dead-clicks-autocapture-D3WNuKsf.js → dead-clicks-autocapture-CDkbT21a.js} +2 -2
- package/dist/client/assets/error-reporting-Dg5b1JwS.js +102 -0
- package/dist/client/assets/{error-reporting-DmfwQkBP.js → error-reporting-_SEhX6IL.js} +1 -1
- package/dist/client/assets/{exception-autocapture-D0Qfhhbc.js → exception-autocapture-CtxHwPtn.js} +2 -2
- package/dist/client/assets/{failed-request-tracker-DyZB_Nfp.js → failed-request-tracker-kUaJ-sVM.js} +2 -2
- package/dist/client/assets/{highlighted-body-KPVGNVTW-QEEOJH_y.js → highlighted-body-KPVGNVTW-CBC2hHHb.js} +2 -2
- package/dist/client/assets/{index-pxVGER4l.js → index-yOjxp36p.js} +3 -3
- package/dist/client/assets/{jszip.min-DPr4_u5f.js → jszip.min-B3Qii_az.js} +2 -2
- package/dist/client/assets/{mermaid-HWGCJPDP-DNAzcUbW.js → mermaid-HWGCJPDP-BzT3-9sO.js} +1 -1
- package/dist/client/assets/{posthog-recorder-dQnAa9ak.js → posthog-recorder-B06ULcLl.js} +2 -2
- package/dist/client/assets/{preload-helper-DsxBH8kv.js → preload-helper-DvWwGI6x.js} +2 -2
- package/dist/client/assets/{rolldown-runtime-DeZZUx0l.js → rolldown-runtime-DVMSi0Yr.js} +1 -1
- package/dist/client/assets/{surveys-CdlQJ0hc.js → surveys-D941hgn3.js} +2 -2
- package/dist/client/assets/{trace-timeline-Ix3CoQw4.js → trace-timeline-Bk3hAXNq.js} +1 -1
- package/dist/client/assets/{trace-timeline-2WCodaTP.js → trace-timeline-DVZqlQSW.js} +39 -39
- package/dist/client/assets/{web-vitals-DdK10Etm.js → web-vitals-DZUBt4dL.js} +2 -2
- package/dist/client/index.html +7 -7
- package/dist/server/{chunk-KOQ26LF3.js → chunk-5RE7KJ2M.js} +6 -3
- package/dist/server/{chunk-R5EHY55H.js → chunk-WGJHSGJP.js} +4 -3
- package/dist/server/{consent-lifetime-T4A66FLH.js → consent-lifetime-PTGAZQSU.js} +2 -2
- package/dist/server/harness-install-cli.js +1 -1
- package/dist/server/index.js +85422 -75291
- package/package.json +4 -4
- package/dist/client/assets/OAuthDesktopReturnNotice-BeDakGgb.css +0 -2
- package/dist/client/assets/error-reporting-BHW3WviX.js +0 -102
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n}from"./error-reporting-
|
|
1
|
+
import{n}from"./error-reporting-Dg5b1JwS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.12.3"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7743be5b-2c17-457e-8849-25e1b7034589",e._sentryDebugIdIdentifier="sentry-dbid-7743be5b-2c17-457e-8849-25e1b7034589")}catch{}})();export{n as reportCaught};
|
package/dist/client/assets/{exception-autocapture-D0Qfhhbc.js → exception-autocapture-CtxHwPtn.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};p.SENTRY_RELEASE={id:"3.12.1"};var w=new p.Error().stack;w&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[w]="cc8ecbc3-3411-4148-b5ac-0c398f3458fc",p._sentryDebugIdIdentifier="sentry-dbid-cc8ecbc3-3411-4148-b5ac-0c398f3458fc")}catch{}})();(function(){const p="u">typeof window?window:void 0,w="u">typeof globalThis?globalThis:p;w!=null&&w.XMLHttpRequest&&new w.XMLHttpRequest;const x=typeof globalThis<"u"?globalThis:p;x&&typeof self>"u"&&(x.self=x),x&&typeof File>"u"&&(x.File=function(){});const O=p??{},X=Object.prototype.toString,R=Array.isArray||function(e){return X.call(e)==="[object Array]"},C=e=>typeof e=="function",I=e=>e===void 0,m=e=>X.call(e)=="[object String]",Y=e=>m(e)&&e.trim().length===0;function B(e){return e===null||typeof e!="object"}function D(e,t){return{}.toString.call(e)===`[object ${t}]`}function U(e){switch({}.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object DOMError]":case"[object WebAssembly.Exception]":return!0;default:return K(e,Error)}}function L(e){return"u">typeof Event&&K(e,Event)}function K(e,t){try{return e instanceof t}catch{return!1}}function J(e,t,r,n,o,c,i){try{var s=e[c](i),u=s.value}catch(d){r(d);return}s.done?t(u):Promise.resolve(u).then(n,o)}function Q(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var c=e.apply(t,r);function i(u){J(c,n,o,i,s,"next",u)}function s(u){J(c,n,o,i,s,"throw",u)}i(void 0)})}}let T,Z,N;function he(e){const t=globalThis._posthogChunkIds;if(!t)return;const r=Object.keys(t);return N&&r.length===Z||(Z=r.length,N=r.reduce((n,o)=>{T||(T={});const c=T[o];if(c)n[c[0]]=c[1];else{const i=e(o);for(let s=i.length-1;s>=0;s--){const u=i[s],d=u?.filename,a=t[o];if(d&&a){n[d]=a,T[o]=[d,a];break}}}return n},{})),N}function j(e){return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(e)}function de(e,t,r){return(t=(function(n){var o=(function(c){if(j(c)!="object"||!c)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(j(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)})(n);return j(o)=="symbol"?o:o+""})(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;arguments.length>t;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ee(Object(r),!0).forEach(function(n){de(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const ge=/^([a-z][a-z0-9.+-]+):/i,ye=["http","https","file","blob","app","capacitor","ionic","webpack","webpack-internal","ng"];function ve(e){if(!e||e==="<anonymous>")return!1;const t=ge.exec(e);return!t||ye.includes(t[1].toLowerCase())}function A(e,t,r,n,o){const c={platform:e,filename:t,function:r==="<anonymous>"?"?":r,in_app:ve(t)};return I(n)||(c.lineno=n),I(o)||(c.colno=o),c}const te=(e,t)=>{const r=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return r||n?[e.indexOf("@")!==-1?e.split("@")[0]:"?",r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},me=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,be=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ke=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ee=(e,t)=>{const r=me.exec(e);if(r){const[,o,c,i]=r;return A(t,o,"?",+c,+i)}const n=be.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=ke.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[o,c]=te(n[1]||"?",n[2]);return A(t,c,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},we=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,xe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Oe=(e,t)=>{const r=we.exec(e);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const c=xe.exec(r[3]);c&&(r[1]=r[1]||"eval",r[3]=c[1],r[4]=c[2],r[5]="")}let n=r[3],o=r[1]||"?";return[o,n]=te(o,n),A(t,n,o,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},re=/\(error: (.*)\)/;function H(e,t){return e.filename===t.filename&&e.function===t.function&&e.module===t.module&&e.lineno===t.lineno&&e.colno===t.colno}function je(e){for(let t=1;10>=t;t++){const r=e.length-2*t;if(0>r)break;let n=!0;for(let o=0;t>o;o++)if(!H(e[r+o],e[r+t+o])){n=!1;break}if(n){for(let o=0;t>o;o++)e[r+o]=e[r+t+o];return e.length=r+t,{start:r,length:t}}}}function _e(e,t){const r=t.start+t.length,n=oe(e,t);n&&e.splice(r+n===e.length?r:t.start,n)}function ne(e,t){let r=t.start;for(;r>0&&H(e[r-1],e[r-1+t.length]);)r--;return t.start-r}function oe(e,t){const r=t.start+t.length;let n=r;for(;e.length>n&&H(e[n],e[n-t.length]);)n++;return n-r}function Pe(e,t){const r=t[0];let n=e.length-(r?ne(e,r):0);for(const o of t)n-=oe(e,o);return n}function Se(e,t,r){for(let n=0;e.length>n;n++){const o=e[(t+n)%e.length],c=e[(r+n)%e.length];if(o!==c)return c>o}return!1}const $e=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,De=["fatal","error","warning","log","info","debug"];function ce(e,t=40){const r=Object.keys(e);if(r.sort(),!r.length)return"[object has no keys]";for(let n=r.length;n>0;n--){const o=r.slice(0,n).join(", ");if(t>=o.length)return n===r.length?o:o.length>t?`${o.slice(0,t)}...`:o}return""}const ie=(e,{debugEnabled:t}={})=>{const r={N(n,...o){p&&(p.POSTHOG_DEBUG||t)&&!I(p.console)&&p.console&&("__rrweb_original__"in p.console[n]?p.console[n].__rrweb_original__:p.console[n])(e,...o)},debug(...n){r.N("debug",...n)},info(...n){r.N("log",...n)},warn(...n){r.N("warn",...n)},error(...n){r.N("error",...n)},critical(...n){console.error(e,...n)},uninitializedWarning(n){r.error(`You must initialize PostHog before calling ${n}`)},createLogger:(n,o)=>ie(`${e} ${n}`,o)};return r},se=ie("[PostHog.js]").createLogger;se("[Error tracking]");const _=se("[ExceptionAutocapture]"),W=new class{constructor(e,t,r=[]){this.coercers=e,this.stackParser=t,this.modifiers=r}buildFromUnknown(e,t={}){const r=t&&t.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(r,t,0).apply(e),o=this.buildParsingContext(t),c=this.parseStacktrace(n,o);return{$exception_list:this.convertToExceptionList(c,r),$exception_level:"error"}}modifyFrames(e){var t=this;return Q(function*(){for(const r of e)r.stacktrace&&r.stacktrace.frames&&R(r.stacktrace.frames)&&(r.stacktrace.frames=yield t.applyModifiers(r.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:(t=e.syntheticException)===null||t===void 0?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var r;let n,o;if(e.cause!=null&&(n=this.parseStacktrace(e.cause,t)),e.stack!=""&&e.stack!=null)try{o=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?t.skipFirstLines:0),t.chunkIdMap)}catch{}return g(g({},e),{},{cause:n,stack:o,errors:(r=e.errors)===null||r===void 0?void 0:r.map(c=>this.parseStacktrace(c,t))})}applyChunkIds(e,t){return e.map(r=>(r.filename&&t&&(r.chunk_id=t[r.filename]),r))}applyCoercers(e,t){for(const r of this.coercers)if(r.match(e))return r.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return Q(function*(){let r=e;for(const n of t.modifiers)r=yield n(r);return r})()}convertToExceptionList(e,t){const r=[],n=(o,c,i)=>{var s;const u=r.length,d=c===void 0?g(g({type:typeof t.type=="string"&&t.type.length>0?t.type:"generic"},typeof t.handled=="boolean"?{handled:t.handled}:t.handled===void 0?{handled:!0}:{}),{},{synthetic:typeof t.synthetic=="boolean"?t.synthetic:o.synthetic,exception_id:u}):{type:"chained",source:i,synthetic:o.synthetic,exception_id:u,parent_id:c},a={type:o.type,value:o.value,mechanism:d};o.stack&&(a.stacktrace={type:"raw",frames:o.stack}),r.push(a),o.cause&&n(o.cause,u,"cause");for(const h of(s=o.errors)!==null&&s!==void 0?s:[])n(h,u,"member")};return n(e),r}buildParsingContext(e){var t;return{chunkIdMap:he(this.stackParser),skipFirstLines:(t=e.skipFirstLines)!==null&&t!==void 0?t:1}}getAggregateErrors(e){try{if(U(e)){let r=Object.getPrototypeOf(e);for(let n=0;r&&100>n;n++){var t;const o=(t=Object.getOwnPropertyDescriptor(r,"constructor"))===null||t===void 0?void 0:t.value;if(typeof o=="function"&&o.name==="AggregateError"){const c=e.errors;return R(c)?c:void 0}r=Object.getPrototypeOf(r)}}}catch{}}buildCoercingContext(e,t,r=0){let n=0,o=0,c=!1;const i=new Set,s=[],u={},d=(l,f,y=0)=>{const v=a(f,y),P=v.apply;if(v.apply=k=>{s.push(l);try{return P(k)}finally{s.pop()}},y>4||y>0&&s.indexOf(l)!==-1)return this.coerceFallback(v);const S=typeof l=="object"&&l!==null||typeof l=="function";if(y===0&&n>=50||S&&i.has(l))return;S&&i.add(l),y===0&&n++;const M=this.getAggregateErrors(l);let E,$;c||(c=!!M);try{if(E=this.applyCoercers(l,v),!E)throw u}catch(k){if(k===u)return void(y===0&&n--);if(!c)throw k;E=this.coerceFallback(v)}if(!M||n>=50)return E;try{$=M.length}catch{return E}if(!Number.isInteger($)||0>$||$>4294967295)return E;const pe=[];for(let k=0;50>n&&1e3>o&&$>k;k++){let F;o++;try{F=v.next(M[k])}catch{n++,F=this.coerceFallback(a(f+1))}F&&pe.push(F)}return g(g({},E),{},{errors:pe})},a=(l,f=0)=>g(g({},t),{},{syntheticException:l==0?t.syntheticException:void 0,mechanism:l==0?e:{},apply(y){const v=d(y,l,f+1);if(!v)throw u;return v},next:y=>d(y,l+1)}),h=a(r);return g(g({},h),{},{apply:l=>{var f;return(f=d(l,r))!==null&&f!==void 0?f:this.coerceFallback(h)}})}}([new class{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){const r=m(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:r?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){const t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?`${t}: ${e.message}`:t}isDOMException(e){return D(e,"DOMException")}isDOMError(e){return D(e,"DOMError")}},new class{match(e){return D(e,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(e)}isCustomEventWrappingRejection(e){if(!L(e))return!1;try{const t=e.detail;return t!=null&&typeof t=="object"&&"reason"in t}catch{return!1}}coerce(e,t){var r;const n=this.getUnhandledRejectionReason(e);return B(n)?{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`,stack:(r=t.syntheticException)===null||r===void 0?void 0:r.stack,synthetic:!0}:t.apply(n)}getUnhandledRejectionReason(e){try{if("reason"in e)return e.reason;if("detail"in e&&e.detail!=null&&typeof e.detail=="object"&&"reason"in e.detail)return e.detail.reason}catch{}return e}},new class{match(e){return!!D(e,"ErrorEvent")&&(e.error!=null||this.ur(e))}coerce(e,t){var r;if(e.error!=null)return t.apply(e.error);const n=t.apply(e.message);return g(g({},n),{},{stack:(r=this.cr(e))!==null&&r!==void 0?r:n.stack,synthetic:!0})}ur(e){return m(e.message)&&e.message.length>0}cr(e){var t,r;const n=e,o=(t=n.lineno)!==null&&t!==void 0?t:0,c=(r=n.colno)!==null&&r!==void 0?r:0;if(m(n.filename)&&n.filename.length!==0&&o!==0)return`Error
|
|
1
|
+
(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};p.SENTRY_RELEASE={id:"3.12.3"};var w=new p.Error().stack;w&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[w]="cc8ecbc3-3411-4148-b5ac-0c398f3458fc",p._sentryDebugIdIdentifier="sentry-dbid-cc8ecbc3-3411-4148-b5ac-0c398f3458fc")}catch{}})();(function(){const p="u">typeof window?window:void 0,w="u">typeof globalThis?globalThis:p;w!=null&&w.XMLHttpRequest&&new w.XMLHttpRequest;const x=typeof globalThis<"u"?globalThis:p;x&&typeof self>"u"&&(x.self=x),x&&typeof File>"u"&&(x.File=function(){});const O=p??{},X=Object.prototype.toString,R=Array.isArray||function(e){return X.call(e)==="[object Array]"},C=e=>typeof e=="function",I=e=>e===void 0,m=e=>X.call(e)=="[object String]",Y=e=>m(e)&&e.trim().length===0;function B(e){return e===null||typeof e!="object"}function D(e,t){return{}.toString.call(e)===`[object ${t}]`}function U(e){switch({}.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object DOMError]":case"[object WebAssembly.Exception]":return!0;default:return K(e,Error)}}function L(e){return"u">typeof Event&&K(e,Event)}function K(e,t){try{return e instanceof t}catch{return!1}}function J(e,t,r,n,o,c,i){try{var s=e[c](i),u=s.value}catch(d){r(d);return}s.done?t(u):Promise.resolve(u).then(n,o)}function Q(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var c=e.apply(t,r);function i(u){J(c,n,o,i,s,"next",u)}function s(u){J(c,n,o,i,s,"throw",u)}i(void 0)})}}let T,Z,N;function he(e){const t=globalThis._posthogChunkIds;if(!t)return;const r=Object.keys(t);return N&&r.length===Z||(Z=r.length,N=r.reduce((n,o)=>{T||(T={});const c=T[o];if(c)n[c[0]]=c[1];else{const i=e(o);for(let s=i.length-1;s>=0;s--){const u=i[s],d=u?.filename,a=t[o];if(d&&a){n[d]=a,T[o]=[d,a];break}}}return n},{})),N}function j(e){return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(e)}function de(e,t,r){return(t=(function(n){var o=(function(c){if(j(c)!="object"||!c)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(j(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)})(n);return j(o)=="symbol"?o:o+""})(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;arguments.length>t;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ee(Object(r),!0).forEach(function(n){de(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}const ge=/^([a-z][a-z0-9.+-]+):/i,ye=["http","https","file","blob","app","capacitor","ionic","webpack","webpack-internal","ng"];function ve(e){if(!e||e==="<anonymous>")return!1;const t=ge.exec(e);return!t||ye.includes(t[1].toLowerCase())}function A(e,t,r,n,o){const c={platform:e,filename:t,function:r==="<anonymous>"?"?":r,in_app:ve(t)};return I(n)||(c.lineno=n),I(o)||(c.colno=o),c}const te=(e,t)=>{const r=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return r||n?[e.indexOf("@")!==-1?e.split("@")[0]:"?",r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},me=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,be=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ke=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ee=(e,t)=>{const r=me.exec(e);if(r){const[,o,c,i]=r;return A(t,o,"?",+c,+i)}const n=be.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=ke.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[o,c]=te(n[1]||"?",n[2]);return A(t,c,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},we=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,xe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Oe=(e,t)=>{const r=we.exec(e);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const c=xe.exec(r[3]);c&&(r[1]=r[1]||"eval",r[3]=c[1],r[4]=c[2],r[5]="")}let n=r[3],o=r[1]||"?";return[o,n]=te(o,n),A(t,n,o,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},re=/\(error: (.*)\)/;function H(e,t){return e.filename===t.filename&&e.function===t.function&&e.module===t.module&&e.lineno===t.lineno&&e.colno===t.colno}function je(e){for(let t=1;10>=t;t++){const r=e.length-2*t;if(0>r)break;let n=!0;for(let o=0;t>o;o++)if(!H(e[r+o],e[r+t+o])){n=!1;break}if(n){for(let o=0;t>o;o++)e[r+o]=e[r+t+o];return e.length=r+t,{start:r,length:t}}}}function _e(e,t){const r=t.start+t.length,n=oe(e,t);n&&e.splice(r+n===e.length?r:t.start,n)}function ne(e,t){let r=t.start;for(;r>0&&H(e[r-1],e[r-1+t.length]);)r--;return t.start-r}function oe(e,t){const r=t.start+t.length;let n=r;for(;e.length>n&&H(e[n],e[n-t.length]);)n++;return n-r}function Pe(e,t){const r=t[0];let n=e.length-(r?ne(e,r):0);for(const o of t)n-=oe(e,o);return n}function Se(e,t,r){for(let n=0;e.length>n;n++){const o=e[(t+n)%e.length],c=e[(r+n)%e.length];if(o!==c)return c>o}return!1}const $e=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,De=["fatal","error","warning","log","info","debug"];function ce(e,t=40){const r=Object.keys(e);if(r.sort(),!r.length)return"[object has no keys]";for(let n=r.length;n>0;n--){const o=r.slice(0,n).join(", ");if(t>=o.length)return n===r.length?o:o.length>t?`${o.slice(0,t)}...`:o}return""}const ie=(e,{debugEnabled:t}={})=>{const r={N(n,...o){p&&(p.POSTHOG_DEBUG||t)&&!I(p.console)&&p.console&&("__rrweb_original__"in p.console[n]?p.console[n].__rrweb_original__:p.console[n])(e,...o)},debug(...n){r.N("debug",...n)},info(...n){r.N("log",...n)},warn(...n){r.N("warn",...n)},error(...n){r.N("error",...n)},critical(...n){console.error(e,...n)},uninitializedWarning(n){r.error(`You must initialize PostHog before calling ${n}`)},createLogger:(n,o)=>ie(`${e} ${n}`,o)};return r},se=ie("[PostHog.js]").createLogger;se("[Error tracking]");const _=se("[ExceptionAutocapture]"),W=new class{constructor(e,t,r=[]){this.coercers=e,this.stackParser=t,this.modifiers=r}buildFromUnknown(e,t={}){const r=t&&t.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(r,t,0).apply(e),o=this.buildParsingContext(t),c=this.parseStacktrace(n,o);return{$exception_list:this.convertToExceptionList(c,r),$exception_level:"error"}}modifyFrames(e){var t=this;return Q(function*(){for(const r of e)r.stacktrace&&r.stacktrace.frames&&R(r.stacktrace.frames)&&(r.stacktrace.frames=yield t.applyModifiers(r.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:(t=e.syntheticException)===null||t===void 0?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var r;let n,o;if(e.cause!=null&&(n=this.parseStacktrace(e.cause,t)),e.stack!=""&&e.stack!=null)try{o=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?t.skipFirstLines:0),t.chunkIdMap)}catch{}return g(g({},e),{},{cause:n,stack:o,errors:(r=e.errors)===null||r===void 0?void 0:r.map(c=>this.parseStacktrace(c,t))})}applyChunkIds(e,t){return e.map(r=>(r.filename&&t&&(r.chunk_id=t[r.filename]),r))}applyCoercers(e,t){for(const r of this.coercers)if(r.match(e))return r.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return Q(function*(){let r=e;for(const n of t.modifiers)r=yield n(r);return r})()}convertToExceptionList(e,t){const r=[],n=(o,c,i)=>{var s;const u=r.length,d=c===void 0?g(g({type:typeof t.type=="string"&&t.type.length>0?t.type:"generic"},typeof t.handled=="boolean"?{handled:t.handled}:t.handled===void 0?{handled:!0}:{}),{},{synthetic:typeof t.synthetic=="boolean"?t.synthetic:o.synthetic,exception_id:u}):{type:"chained",source:i,synthetic:o.synthetic,exception_id:u,parent_id:c},a={type:o.type,value:o.value,mechanism:d};o.stack&&(a.stacktrace={type:"raw",frames:o.stack}),r.push(a),o.cause&&n(o.cause,u,"cause");for(const h of(s=o.errors)!==null&&s!==void 0?s:[])n(h,u,"member")};return n(e),r}buildParsingContext(e){var t;return{chunkIdMap:he(this.stackParser),skipFirstLines:(t=e.skipFirstLines)!==null&&t!==void 0?t:1}}getAggregateErrors(e){try{if(U(e)){let r=Object.getPrototypeOf(e);for(let n=0;r&&100>n;n++){var t;const o=(t=Object.getOwnPropertyDescriptor(r,"constructor"))===null||t===void 0?void 0:t.value;if(typeof o=="function"&&o.name==="AggregateError"){const c=e.errors;return R(c)?c:void 0}r=Object.getPrototypeOf(r)}}}catch{}}buildCoercingContext(e,t,r=0){let n=0,o=0,c=!1;const i=new Set,s=[],u={},d=(l,f,y=0)=>{const v=a(f,y),P=v.apply;if(v.apply=k=>{s.push(l);try{return P(k)}finally{s.pop()}},y>4||y>0&&s.indexOf(l)!==-1)return this.coerceFallback(v);const S=typeof l=="object"&&l!==null||typeof l=="function";if(y===0&&n>=50||S&&i.has(l))return;S&&i.add(l),y===0&&n++;const M=this.getAggregateErrors(l);let E,$;c||(c=!!M);try{if(E=this.applyCoercers(l,v),!E)throw u}catch(k){if(k===u)return void(y===0&&n--);if(!c)throw k;E=this.coerceFallback(v)}if(!M||n>=50)return E;try{$=M.length}catch{return E}if(!Number.isInteger($)||0>$||$>4294967295)return E;const pe=[];for(let k=0;50>n&&1e3>o&&$>k;k++){let F;o++;try{F=v.next(M[k])}catch{n++,F=this.coerceFallback(a(f+1))}F&&pe.push(F)}return g(g({},E),{},{errors:pe})},a=(l,f=0)=>g(g({},t),{},{syntheticException:l==0?t.syntheticException:void 0,mechanism:l==0?e:{},apply(y){const v=d(y,l,f+1);if(!v)throw u;return v},next:y=>d(y,l+1)}),h=a(r);return g(g({},h),{},{apply:l=>{var f;return(f=d(l,r))!==null&&f!==void 0?f:this.coerceFallback(h)}})}}([new class{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){const r=m(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:r?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){const t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?`${t}: ${e.message}`:t}isDOMException(e){return D(e,"DOMException")}isDOMError(e){return D(e,"DOMError")}},new class{match(e){return D(e,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(e)}isCustomEventWrappingRejection(e){if(!L(e))return!1;try{const t=e.detail;return t!=null&&typeof t=="object"&&"reason"in t}catch{return!1}}coerce(e,t){var r;const n=this.getUnhandledRejectionReason(e);return B(n)?{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`,stack:(r=t.syntheticException)===null||r===void 0?void 0:r.stack,synthetic:!0}:t.apply(n)}getUnhandledRejectionReason(e){try{if("reason"in e)return e.reason;if("detail"in e&&e.detail!=null&&typeof e.detail=="object"&&"reason"in e.detail)return e.detail.reason}catch{}return e}},new class{match(e){return!!D(e,"ErrorEvent")&&(e.error!=null||this.ur(e))}coerce(e,t){var r;if(e.error!=null)return t.apply(e.error);const n=t.apply(e.message);return g(g({},n),{},{stack:(r=this.cr(e))!==null&&r!==void 0?r:n.stack,synthetic:!0})}ur(e){return m(e.message)&&e.message.length>0}cr(e){var t,r;const n=e,o=(t=n.lineno)!==null&&t!==void 0?t:0,c=(r=n.colno)!==null&&r!==void 0?r:0;if(m(n.filename)&&n.filename.length!==0&&o!==0)return`Error
|
|
2
2
|
at ${n.filename}:${o}:${c}`}},new class{match(e){return U(e)}coerce(e,t){var r;const n=this.getStack(e),o=n===void 0?(r=t.syntheticException)===null||r===void 0?void 0:r.stack:void 0,c=!!o;return{type:this.getType(e),value:this.getMessage(e,t),stack:n??o,cause:e.cause?t.next(e.cause):void 0,synthetic:c}}getType(e){return e.name||e.constructor.name}getMessage(e,t){const r=e.message;return String(r.error&&typeof r.error.message=="string"?r.error.message:r)}getStack(e){try{const t=e.stacktrace;if(typeof t=="string"&&t.length>0)return t;const r=e.stack;return typeof r=="string"&&r.length>0?r:void 0}catch{return}}},new class{match(e){return L(e)}coerce(e,t){var r;const n=e.constructor.name;return{type:n,value:`${n} captured as exception with keys: ${ce(e)}`,stack:(r=t.syntheticException)===null||r===void 0?void 0:r.stack,synthetic:!0}}},new class{match(e){return typeof e=="object"&&e!==null}coerce(e,t){var r,n;const o=this.getErrorPropertyFromObject(e);return o?t.apply(o):{type:this.getType(e),value:this.getValue(e),stack:(r=this.getStack(e))!==null&&r!==void 0?r:(n=t.syntheticException)===null||n===void 0?void 0:n.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){if(L(e))return e.constructor.name;const t="name"in e?e.name:void 0;return m(t)&&!Y(t)?t:"Error"}getValue(e){if("name"in e&&typeof e.name=="string"){let r=`'${e.name}' captured as exception`;return"message"in e&&typeof e.message=="string"&&(r+=` with message: '${e.message}'`),r}if("message"in e&&typeof e.message=="string")return e.message;const t=this.getObjectClassName(e);return`${t&&t!=="Object"?`'${t}'`:"Object"} captured as exception with keys: ${ce(e)}`}isSeverityLevel(e){return m(e)&&!Y(e)&&De.indexOf(e)>=0}getStack(e){try{return m(e.stacktrace)&&e.stacktrace.length>0?e.stacktrace:m(e.stack)&&e.stack.length>0?e.stack:void 0}catch{return}}getErrorPropertyFromObject(e){for(const t in e)if({}.hasOwnProperty.call(e,t)){const r=e[t];if(U(r))return r}}getObjectClassName(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{return}}},new class{match(e){return typeof e=="string"}coerce(e,t){var r;const[n,o]=this.getInfos(e);return{type:n??"Error",value:o??e,stack:(r=t.syntheticException)===null||r===void 0?void 0:r.stack,synthetic:!0}}getInfos(e){let t="Error",r=e;const n=e.match($e);return n&&(t=n[1],r=n[2]),[t,r]}},new class{match(e){return B(e)}coerce(e,t){var r;return{type:"Error",value:`Primitive value captured as exception: ${String(e)}`,stack:(r=t.syntheticException)===null||r===void 0?void 0:r.stack,synthetic:!0}}}],(function(e,...t){return(r,n=0)=>{const o=[],c=r.split(`
|
|
3
3
|
`),i=Math.min(c.length,n+1e3),s=[];for(let a=n;i>a;a++){const h=c[a];if(h.length>1024)continue;const l=re.test(h)?h.replace(re,"$1"):h;if(!l.match(/\S*Error: /)){for(const f of t){const y=f(l,e);if(y){o.push(y);const v=je(o);if(v){for(let P=s.length-1;P>=0;P--){const S=s[P];if(v.start>=S.start+S.length)break;s.pop()}s.push(v)}break}}if(Pe(o,s)>=50)break}}const u=[...s].sort((a,h)=>h.start-a.start),d=u[u.length-1];if(d){const a=ne(o,d);o.splice(d.start-a,a);for(const h of u)h.start-=a}for(const a of u)_e(o,a);return s.some(a=>a.start===0&&o.length===a.length)&&(function(a){const h=a.map(f=>`${f.function}|${f.filename}|${f.lineno}|${f.colno}|${f.module}`);let l=0;for(let f=1;h.length>f;f++)Se(h,f,l)&&(l=f);a.push(...a.splice(0,l))})(o),(function(a){if(!a.length)return[];const h=Array.from(a);return h.reverse(),h.slice(0,50).map(l=>{return g(g({},l),{},{filename:l.filename||(f=h,f[f.length-1]||{}).filename,function:l.function||"?"});var f})})(o)}})("web:javascript",Ee,Oe)),b=(e,t)=>{try{return e()}catch{return t}},z=(e,t)=>b(()=>e(t()),void 0),G=e=>b(()=>C(e)&&C(e.call),!1),V=(e,t)=>b(()=>{e[t].__POSTHOG_INSTRUMENTED__=!0},void 0),q=(e,t,r)=>{b(()=>{var n;(n=e[t])===null||n===void 0||delete n.__POSTHOG_INSTRUMENTED__},void 0),b(()=>{e[t]=r},void 0)},ae=e=>{const t=p;t||_.info("window not available, cannot wrap onerror");const r=b(()=>t.onerror,void 0);return t.onerror=function(...n){var o;return z(e,()=>W.buildFromUnknown((([c,i,s,u,d])=>{if(d!=null)return d;if(m(c)&&m(i)&&i.length>0&&typeof ErrorEvent<"u")try{return new ErrorEvent("error",{message:c,filename:i,lineno:s,colno:u})}catch{return c}return c})(n),{mechanism:{handled:!1}})),!!G(r)&&(o=r(...n))!==null&&o!==void 0&&o},V(t,"onerror"),()=>q(t,"onerror",r)},le=(e,t=!1)=>{const r=p;r||_.info("window not available, cannot wrap onUnhandledRejection");const n=b(()=>r.onunhandledrejection,void 0);return r.onunhandledrejection=function(o){var c;return z(e,()=>W.buildFromUnknown(o,{mechanism:{handled:!1}})),G(n)?(c=n(o))!==null&&c!==void 0&&c:t},V(r,"onunhandledrejection"),()=>q(r,"onunhandledrejection",n)},ue={wrapOnError:ae,wrapUnhandledRejection:le,wrapConsoleError(e){const t=console;t||_.info("console not available, cannot wrap console.error");const r=b(()=>t.error,void 0);return t.error=function(...n){b(()=>n.length>1&&m(n[0])&&(/^\[PostHog\.js\](?: |$)/.test(n[0])||n[0]==="rrweb logger error:"),!1)||z(e,()=>{let o;o=n.length==1?n[0]:n.join(" ");const c=n.find(i=>i instanceof Error);return W.buildFromUnknown(c||o,{mechanism:{handled:!0,type:"onconsole"},syntheticException:new Error("PostHog syntheticException"),skipFirstLines:2})}),G(r)&&r(...n)},V(t,"error"),()=>q(t,"error",r)}};O.__PosthogExtensions__=O.__PosthogExtensions__||{},O.__PosthogExtensions__.errorWrappingFunctions=ue,O.posthogErrorWrappingFunctions=ue;const fe=(e,t)=>{if(!C(e?.capture))return;const r=t?.autocaptureExceptions,n=r!==null&&typeof r=="object"&&R(r.errors_to_ignore)?r.errors_to_ignore.reduce((c,i)=>{try{c.push(new RegExp(i))}catch(s){_.error("Ignoring invalid legacy exception exclusion rule",i,s)}return c},[]):[],o=c=>{try{var i;(i=e.capture)===null||i===void 0||i.call(e,"$exception",c,{_noTruncate:!0,_batchKey:"exceptionEvent",_noHeatmaps:!0})}catch(s){_.error("Failed to capture exception for a legacy client",s)}};ae(c=>{n.some(i=>c.$exception_list.some(s=>i.test(s.value||"")))||o(c)}),le(o,!0)};O.extendPostHogWithExceptionAutoCapture=fe,O.extendPostHogWithExceptionAutocapture=fe})();
|
|
4
4
|
|
|
5
|
-
//# sourceMappingURL=exception-autocapture-
|
|
5
|
+
//# sourceMappingURL=exception-autocapture-CtxHwPtn.js.map
|
package/dist/client/assets/{failed-request-tracker-DyZB_Nfp.js → failed-request-tracker-kUaJ-sVM.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.12.
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.12.3"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8ae82901-a0e6-4f7e-923a-66adac1e5f26",e._sentryDebugIdIdentifier="sentry-dbid-8ae82901-a0e6-4f7e-923a-66adac1e5f26")}catch{}})();var o=null;function i(){return o}function s(){if(typeof window>"u"||typeof window.fetch!="function")return()=>{};const e=window.fetch;return window.fetch=function(t,r){return e(t,r).catch(a=>{throw a instanceof TypeError&&(o={method:d(t,r),target:f(t),at:Date.now()}),a})},()=>{window.fetch=e,o=null}}function d(e,n){const t=typeof Request<"u"&&e instanceof Request?e.method:void 0;return(n?.method??t??"GET").toUpperCase()}function f(e){const n=typeof e=="string"?e:e instanceof URL?e.href:e.url;try{const t=new URL(n,window.location.href);return t.origin===window.location.origin?t.pathname:t.origin}catch{return"unknown"}}export{s as n,i as t};
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=failed-request-tracker-
|
|
3
|
+
//# sourceMappingURL=failed-request-tracker-kUaJ-sVM.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{o as h}from"./rolldown-runtime-
|
|
1
|
+
import{o as h}from"./rolldown-runtime-DVMSi0Yr.js";import{i as _,o as b}from"./preload-helper-DvWwGI6x.js";import{o as p,r as y,t as x}from"./chunk-YOKDWASO-DTTU1wSE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.12.3"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3f8f7a88-872c-4cc1-94c9-f3e28d1dc862",e._sentryDebugIdIdentifier="sentry-dbid-3f8f7a88-872c-4cc1-94c9-f3e28d1dc862")}catch{}})();var s=h(b(),1),E=_(),N=({code:e,language:r,maxHeight:o,raw:t,className:l,startLine:f,lineNumbers:u,...c})=>{let{shikiTheme:n}=(0,s.useContext)(y),a=x(),[g,i]=(0,s.useState)(t);return(0,s.useEffect)(()=>{if(!a){i(t);return}let d=a.highlight({code:e,language:r,themes:n},m=>{i(m)});d&&i(d)},[e,r,n,a,t]),(0,E.jsx)(p,{className:l,language:r,lineNumbers:u,maxHeight:o,result:g,startLine:f,...c})};export{N as HighlightedCodeBlockBody};
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=highlighted-body-KPVGNVTW-
|
|
3
|
+
//# sourceMappingURL=highlighted-body-KPVGNVTW-CBC2hHHb.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-bootstrap-
|
|
2
|
-
import{o as u}from"./rolldown-runtime-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-bootstrap-C1Jn01kP.js","assets/rolldown-runtime-DVMSi0Yr.js","assets/OAuthDesktopReturnNotice-C5D90OSm.js","assets/failed-request-tracker-kUaJ-sVM.js","assets/preload-helper-DvWwGI6x.js","assets/OAuthDesktopReturnNotice-C95FI7VH.css","assets/button-RD2Dghjp.js","assets/trace-timeline-DVZqlQSW.js","assets/error-reporting-Dg5b1JwS.js","assets/chunk-YOKDWASO-DTTU1wSE.js","assets/app-bootstrap-CbO9HC35.css","assets/error-reporting-_SEhX6IL.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{o as u}from"./rolldown-runtime-DVMSi0Yr.js";import{i as s,n as f,r as p,t as m}from"./OAuthDesktopReturnNotice-C5D90OSm.js";import{i as _,o as y,t as d}from"./preload-helper-DvWwGI6x.js";import{t as g}from"./button-RD2Dghjp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"3.12.3"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="5d85a105-8b43-44d1-b2a6-3577f93a0cdc",t._sentryDebugIdIdentifier="sentry-dbid-5d85a105-8b43-44d1-b2a6-3577f93a0cdc")}catch{}})();(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))c(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&c(i)}).observe(document,{childList:!0,subtree:!0});function a(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function c(e){if(e.ep)return;e.ep=!0;const r=a(e);fetch(e.href,r)}})();var b=u(y(),1),n=_(),l=f();l?s.render((0,n.jsx)(b.StrictMode,{children:(0,n.jsx)(m,{returnToElectronUrl:l})})):(s.render((0,n.jsx)(p,{})),d(()=>import("./app-bootstrap-C1Jn01kP.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).catch(t=>{console.error("MCPJam app bootstrap failed",t),s.render((0,n.jsxs)("div",{role:"alert",className:"flex min-h-screen flex-col items-center justify-center gap-4 bg-background p-4 text-foreground",children:[(0,n.jsx)("p",{children:"MCPJam couldn't load. Check your connection and try again."}),(0,n.jsx)(g,{onClick:()=>window.location.reload(),children:"Reload MCPJam"})]})),d(async()=>{const{reportCaught:o}=await import("./error-reporting-_SEhX6IL.js");return{reportCaught:o}},__vite__mapDeps([11,8,3])).then(({reportCaught:o})=>o(t,{source:"app_bootstrap"})).catch(()=>{})}));
|
|
3
3
|
|
|
4
|
-
//# sourceMappingURL=index-
|
|
4
|
+
//# sourceMappingURL=index-yOjxp36p.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as yt,t as Ct}from"./rolldown-runtime-
|
|
1
|
+
import{i as yt,t as Ct}from"./rolldown-runtime-DVMSi0Yr.js";(function(){try{var ct=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};ct.SENTRY_RELEASE={id:"3.12.3"};var pt=new ct.Error().stack;pt&&(ct._sentryDebugIds=ct._sentryDebugIds||{},ct._sentryDebugIds[pt]="0ed1717f-96cb-4d82-a675-fa79d84231fd",ct._sentryDebugIdIdentifier="sentry-dbid-0ed1717f-96cb-4d82-a675-fa79d84231fd")}catch{}})();var At=Ct(((ct,pt)=>{(function(b){typeof ct=="object"&&typeof pt<"u"?pt.exports=b():typeof define=="function"&&define.amd?define([],b):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).JSZip=b()})(function(){return(function b(U,x,l){function h(v,w){if(!x[v]){if(!U[v]){var m=typeof yt=="function"&&yt;if(!w&&m)return m(v,!0);if(n)return n(v,!0);var g=new Error("Cannot find module '"+v+"'");throw g.code="MODULE_NOT_FOUND",g}var i=x[v]={exports:{}};U[v][0].call(i.exports,function(d){var e=U[v][1][d];return h(e||d)},i,i.exports,b,U,x,l)}return x[v].exports}for(var n=typeof yt=="function"&&yt,u=0;u<l.length;u++)h(l[u]);return h})({1:[function(b,U,x){"use strict";var l=b("./utils"),h=b("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";x.encode=function(u){for(var v,w,m,g,i,d,e,o=[],s=0,c=u.length,y=c,p=l.getTypeOf(u)!=="string";s<u.length;)y=c-s,m=p?(v=u[s++],w=s<c?u[s++]:0,s<c?u[s++]:0):(v=u.charCodeAt(s++),w=s<c?u.charCodeAt(s++):0,s<c?u.charCodeAt(s++):0),g=v>>2,i=(3&v)<<4|w>>4,d=1<y?(15&w)<<2|m>>6:64,e=2<y?63&m:64,o.push(n.charAt(g)+n.charAt(i)+n.charAt(d)+n.charAt(e));return o.join("")},x.decode=function(u){var v,w,m,g,i,d,e=0,o=0,s="data:";if(u.substr(0,s.length)===s)throw new Error("Invalid base64 input, it looks like a data url.");var c,y=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===n.charAt(64)&&y--,u.charAt(u.length-2)===n.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=h.uint8array?new Uint8Array(0|y):new Array(0|y);e<u.length;)v=n.indexOf(u.charAt(e++))<<2|(g=n.indexOf(u.charAt(e++)))>>4,w=(15&g)<<4|(i=n.indexOf(u.charAt(e++)))>>2,m=(3&i)<<6|(d=n.indexOf(u.charAt(e++))),c[o++]=v,i!==64&&(c[o++]=w),d!==64&&(c[o++]=m);return c}},{"./support":30,"./utils":32}],2:[function(b,U,x){"use strict";var l=b("./external"),h=b("./stream/DataWorker"),n=b("./stream/Crc32Probe"),u=b("./stream/DataLengthProbe");function v(w,m,g,i,d){this.compressedSize=w,this.uncompressedSize=m,this.crc32=g,this.compression=i,this.compressedContent=d}v.prototype={getContentWorker:function(){var w=new h(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),m=this;return w.on("end",function(){if(this.streamInfo.data_length!==m.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),w},getCompressedWorker:function(){return new h(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},v.createWorkerFrom=function(w,m,g){return w.pipe(new n).pipe(new u("uncompressedSize")).pipe(m.compressWorker(g)).pipe(new u("compressedSize")).withStreamInfo("compression",m)},U.exports=v},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,U,x){"use strict";var l=b("./stream/GenericWorker");x.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},x.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,U,x){"use strict";var l=b("./utils"),h=(function(){for(var n,u=[],v=0;v<256;v++){n=v;for(var w=0;w<8;w++)n=1&n?3988292384^n>>>1:n>>>1;u[v]=n}return u})();U.exports=function(n,u){return n!==void 0&&n.length?l.getTypeOf(n)!=="string"?(function(v,w,m,g){var i=h,d=g+m;v^=-1;for(var e=g;e<d;e++)v=v>>>8^i[255&(v^w[e])];return-1^v})(0|u,n,n.length,0):(function(v,w,m,g){var i=h,d=g+m;v^=-1;for(var e=g;e<d;e++)v=v>>>8^i[255&(v^w.charCodeAt(e))];return-1^v})(0|u,n,n.length,0):0}},{"./utils":32}],5:[function(b,U,x){"use strict";x.base64=!1,x.binary=!1,x.dir=!1,x.createFolders=!0,x.date=null,x.compression=null,x.compressionOptions=null,x.comment=null,x.unixPermissions=null,x.dosPermissions=null},{}],6:[function(b,U,x){"use strict";var l=null;l=typeof Promise<"u"?Promise:b("lie"),U.exports={Promise:l}},{lie:37}],7:[function(b,U,x){"use strict";var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",h=b("pako"),n=b("./utils"),u=b("./stream/GenericWorker"),v=l?"uint8array":"array";function w(m,g){u.call(this,"FlateWorker/"+m),this._pako=null,this._pakoAction=m,this._pakoOptions=g,this.meta={}}x.magic="\b\0",n.inherits(w,u),w.prototype.processChunk=function(m){this.meta=m.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(v,m.data),!1)},w.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},w.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},w.prototype._createPako=function(){this._pako=new h[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var m=this;this._pako.onData=function(g){m.push({data:g,meta:m.meta})}},x.compressWorker=function(m){return new w("Deflate",m)},x.uncompressWorker=function(){return new w("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,U,x){"use strict";function l(i,d){var e,o="";for(e=0;e<d;e++)o+=String.fromCharCode(255&i),i>>>=8;return o}function h(i,d,e,o,s,c){var y,p,z=i.file,F=i.compression,T=c!==v.utf8encode,W=n.transformTo("string",c(z.name)),C=n.transformTo("string",v.utf8encode(z.name)),K=z.comment,V=n.transformTo("string",c(K)),_=n.transformTo("string",v.utf8encode(K)),O=C.length!==z.name.length,r=_.length!==K.length,R="",q="",P="",$=z.dir,L=z.date,J={crc32:0,compressedSize:0,uncompressedSize:0};d&&!e||(J.crc32=i.crc32,J.compressedSize=i.compressedSize,J.uncompressedSize=i.uncompressedSize);var A=0;d&&(A|=8),T||!O&&!r||(A|=2048);var E=0,X=0;$&&(E|=16),s==="UNIX"?(X=798,E|=(function(M,nt){var ot=M;return M||(ot=nt?16893:33204),(65535&ot)<<16})(z.unixPermissions,$)):(X=20,E|=(function(M){return 63&(M||0)})(z.dosPermissions)),y=L.getUTCHours(),y<<=6,y|=L.getUTCMinutes(),y<<=5,y|=L.getUTCSeconds()/2,p=L.getUTCFullYear()-1980,p<<=4,p|=L.getUTCMonth()+1,p<<=5,p|=L.getUTCDate(),O&&(q=l(1,1)+l(w(W),4)+C,R+="up"+l(q.length,2)+q),r&&(P=l(1,1)+l(w(V),4)+_,R+="uc"+l(P.length,2)+P);var H="";return H+=`
|
|
2
2
|
\0`,H+=l(A,2),H+=F.magic,H+=l(y,2),H+=l(p,2),H+=l(J.crc32,4),H+=l(J.compressedSize,4),H+=l(J.uncompressedSize,4),H+=l(W.length,2),H+=l(R.length,2),{fileRecord:m.LOCAL_FILE_HEADER+H+W+R,dirRecord:m.CENTRAL_FILE_HEADER+l(X,2)+H+l(V.length,2)+"\0\0\0\0"+l(E,4)+l(o,4)+W+R+V}}var n=b("../utils"),u=b("../stream/GenericWorker"),v=b("../utf8"),w=b("../crc32"),m=b("../signature");function g(i,d,e,o){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=d,this.zipPlatform=e,this.encodeFileName=o,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(g,u),g.prototype.push=function(i){var d=i.meta.percent||0,e=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,u.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:e?(d+100*(e-o-1))/e:100}}))},g.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var d=this.streamFiles&&!i.file.dir;if(d){var e=h(i,d,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:e.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(i){this.accumulate=!1;var d=this.streamFiles&&!i.file.dir,e=h(i,d,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),d)this.push({data:(function(o){return m.DATA_DESCRIPTOR+l(o.crc32,4)+l(o.compressedSize,4)+l(o.uncompressedSize,4)})(i),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var i=this.bytesWritten,d=0;d<this.dirRecords.length;d++)this.push({data:this.dirRecords[d],meta:{percent:100}});var e=this.bytesWritten-i,o=(function(s,c,y,p,z){var F=n.transformTo("string",z(p));return m.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(s,2)+l(s,2)+l(c,4)+l(y,4)+l(F.length,2)+F})(this.dirRecords.length,e,i,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},g.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},g.prototype.registerPrevious=function(i){this._sources.push(i);var d=this;return i.on("data",function(e){d.processChunk(e)}),i.on("end",function(){d.closedSource(d.previous.streamInfo),d._sources.length?d.prepareNextSource():d.end()}),i.on("error",function(e){d.error(e)}),this},g.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},g.prototype.error=function(i){var d=this._sources;if(!u.prototype.error.call(this,i))return!1;for(var e=0;e<d.length;e++)try{d[e].error(i)}catch{}return!0},g.prototype.lock=function(){u.prototype.lock.call(this);for(var i=this._sources,d=0;d<i.length;d++)i[d].lock()},U.exports=g},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,U,x){"use strict";var l=b("../compressions"),h=b("./ZipFileWorker");x.generateWorker=function(n,u,v){var w=new h(u.streamFiles,v,u.platform,u.encodeFileName),m=0;try{n.forEach(function(g,i){m++;var d=(function(c,y){var p=c||y,z=l[p];if(!z)throw new Error(p+" is not a valid compression method !");return z})(i.options.compression,u.compression),e=i.options.compressionOptions||u.compressionOptions||{},o=i.dir,s=i.date;i._compressWorker(d,e).withStreamInfo("file",{name:g,dir:o,date:s,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(w)}),w.entriesCount=m}catch(g){w.error(g)}return w}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,U,x){"use strict";function l(){if(!(this instanceof l))return new l;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var h=new l;for(var n in this)typeof this[n]!="function"&&(h[n]=this[n]);return h}}(l.prototype=b("./object")).loadAsync=b("./load"),l.support=b("./support"),l.defaults=b("./defaults"),l.version="3.10.2",l.loadAsync=function(h,n){return new l().loadAsync(h,n)},l.external=b("./external"),U.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(b,U,x){"use strict";var l=b("./utils"),h=b("./external"),n=b("./utf8"),u=b("./zipEntries"),v=b("./stream/Crc32Probe"),w=b("./nodejsUtils");function m(g){return new h.Promise(function(i,d){var e=g.decompressed.getContentWorker().pipe(new v);e.on("error",function(o){d(o)}).on("end",function(){e.streamInfo.crc32!==g.decompressed.crc32?d(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}U.exports=function(g,i){var d=this;return i=l.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),w.isNode&&w.isStream(g)?h.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",g,!0,i.optimizedBinaryString,i.base64).then(function(e){var o=new u(i);return o.load(e),o}).then(function(e){var o=[h.Promise.resolve(e)],s=e.files;if(i.checkCRC32)for(var c=0;c<s.length;c++)o.push(m(s[c]));return h.Promise.all(o)}).then(function(e){for(var o=e.shift(),s=o.files,c=0;c<s.length;c++){var y=s[c],p=y.fileNameStr,z=l.resolve(y.fileNameStr);d.file(z,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:i.createFolders}),y.dir||(d.file(z).unsafeOriginalName=p)}return o.zipComment.length&&(d.comment=o.zipComment),d})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(b,U,x){"use strict";var l=b("../utils"),h=b("../stream/GenericWorker");function n(u,v){h.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(v)}l.inherits(n,h),n.prototype._bindStream=function(u){var v=this;(this._stream=u).pause(),u.on("data",function(w){v.push({data:w,meta:{percent:0}})}).on("error",function(w){v.isPaused?this.generatedError=w:v.error(w)}).on("end",function(){v.isPaused?v._upstreamEnded=!0:v.end()})},n.prototype.pause=function(){return!!h.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},U.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(b,U,x){"use strict";var l=b("readable-stream").Readable;function h(n,u,v){l.call(this,u),this._helper=n;var w=this;n.on("data",function(m,g){w.push(m)||w._helper.pause(),v&&v(g)}).on("error",function(m){w.emit("error",m)}).on("end",function(){w.push(null)})}b("../utils").inherits(h,l),h.prototype._read=function(){this._helper.resume()},U.exports=h},{"../utils":32,"readable-stream":16}],14:[function(b,U,x){"use strict";U.exports={isNode:typeof Buffer<"u",newBufferFrom:function(l,h){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,h);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,h)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var h=new Buffer(l);return h.fill(0),h},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(b,U,x){"use strict";function l(p,z,F){var T,W=n.getTypeOf(z),C=n.extend(F||{},w);C.date=C.date||new Date,C.compression!==null&&(C.compression=C.compression.toUpperCase()),typeof C.unixPermissions=="string"&&(C.unixPermissions=parseInt(C.unixPermissions,8)),C.unixPermissions&&16384&C.unixPermissions&&(C.dir=!0),C.dosPermissions&&16&C.dosPermissions&&(C.dir=!0),C.dir&&(p=s(p)),C.createFolders&&(T=o(p))&&c.call(this,T,!0);var K=W==="string"&&C.binary===!1&&C.base64===!1;F&&F.binary!==void 0||(C.binary=!K),(z instanceof m&&z.uncompressedSize===0||C.dir||!z||z.length===0)&&(C.base64=!1,C.binary=!0,z="",C.compression="STORE",W="string");var V=null;V=z instanceof m||z instanceof u?z:d.isNode&&d.isStream(z)?new e(p,z):n.prepareContent(p,z,C.binary,C.optimizedBinaryString,C.base64);var _=new g(p,V,C);this.files[p]=_}var h=b("./utf8"),n=b("./utils"),u=b("./stream/GenericWorker"),v=b("./stream/StreamHelper"),w=b("./defaults"),m=b("./compressedObject"),g=b("./zipObject"),i=b("./generate"),d=b("./nodejsUtils"),e=b("./nodejs/NodejsStreamInputAdapter"),o=function(p){p.slice(-1)==="/"&&(p=p.substring(0,p.length-1));var z=p.lastIndexOf("/");return 0<z?p.substring(0,z):""},s=function(p){return p.slice(-1)!=="/"&&(p+="/"),p},c=function(p,z){return z=z!==void 0?z:w.createFolders,p=s(p),this.files[p]||l.call(this,p,null,{dir:!0,createFolders:z}),this.files[p]};function y(p){return Object.prototype.toString.call(p)==="[object RegExp]"}U.exports={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(p){var z,F,T;for(z in this.files)T=this.files[z],(F=z.slice(this.root.length,z.length))&&z.slice(0,this.root.length)===this.root&&p(F,T)},filter:function(p){var z=[];return this.forEach(function(F,T){p(F,T)&&z.push(T)}),z},file:function(p,z,F){if(arguments.length!==1)return p=this.root+p,l.call(this,p,z,F),this;if(y(p)){var T=p;return this.filter(function(C,K){return!K.dir&&T.test(C)})}var W=this.files[this.root+p];return W&&!W.dir?W:null},folder:function(p){if(!p)return this;if(y(p))return this.filter(function(W,C){return C.dir&&p.test(W)});var z=this.root+p,F=c.call(this,z),T=this.clone();return T.root=F.name,T},remove:function(p){p=this.root+p;var z=this.files[p];if(z||(p.slice(-1)!=="/"&&(p+="/"),z=this.files[p]),z&&!z.dir)delete this.files[p];else for(var F=this.filter(function(W,C){return C.name.slice(0,p.length)===p}),T=0;T<F.length;T++)delete this.files[F[T].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(p){var z,F={};try{if((F=n.extend(p||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:h.utf8encode})).type=F.type.toLowerCase(),F.compression=F.compression.toUpperCase(),F.type==="binarystring"&&(F.type="string"),!F.type)throw new Error("No output type specified.");n.checkSupport(F.type),F.platform!=="darwin"&&F.platform!=="freebsd"&&F.platform!=="linux"&&F.platform!=="sunos"||(F.platform="UNIX"),F.platform==="win32"&&(F.platform="DOS");var T=F.comment||this.comment||"";z=i.generateWorker(this,F,T)}catch(W){(z=new u("error")).error(W)}return new v(z,F.type||"string",F.mimeType)},generateAsync:function(p,z){return this.generateInternalStream(p).accumulate(z)},generateNodeStream:function(p,z){return(p=p||{}).type||(p.type="nodebuffer"),this.generateInternalStream(p).toNodejsStream(z)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(b,U,x){"use strict";U.exports=b("stream")},{stream:void 0}],17:[function(b,U,x){"use strict";var l=b("./DataReader");function h(n){l.call(this,n);for(var u=0;u<this.data.length;u++)n[u]=255&n[u]}b("../utils").inherits(h,l),h.prototype.byteAt=function(n){return this.data[this.zero+n]},h.prototype.lastIndexOfSignature=function(n){for(var u=n.charCodeAt(0),v=n.charCodeAt(1),w=n.charCodeAt(2),m=n.charCodeAt(3),g=this.length-4;0<=g;--g)if(this.data[g]===u&&this.data[g+1]===v&&this.data[g+2]===w&&this.data[g+3]===m)return g-this.zero;return-1},h.prototype.readAndCheckSignature=function(n){var u=n.charCodeAt(0),v=n.charCodeAt(1),w=n.charCodeAt(2),m=n.charCodeAt(3),g=this.readData(4);return u===g[0]&&v===g[1]&&w===g[2]&&m===g[3]},h.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,u},U.exports=h},{"../utils":32,"./DataReader":18}],18:[function(b,U,x){"use strict";var l=b("../utils");function h(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}h.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var u,v=0;for(this.checkOffset(n),u=this.index+n-1;u>=this.index;u--)v=(v<<8)+this.byteAt(u);return this.index+=n,v},readString:function(n){return l.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},U.exports=h},{"../utils":32}],19:[function(b,U,x){"use strict";var l=b("./Uint8ArrayReader");function h(n){l.call(this,n)}b("../utils").inherits(h,l),h.prototype.readData=function(n){this.checkOffset(n);var u=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,u},U.exports=h},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,U,x){"use strict";var l=b("./DataReader");function h(n){l.call(this,n)}b("../utils").inherits(h,l),h.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},h.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},h.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},h.prototype.readData=function(n){this.checkOffset(n);var u=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,u},U.exports=h},{"../utils":32,"./DataReader":18}],21:[function(b,U,x){"use strict";var l=b("./ArrayReader");function h(n){l.call(this,n)}b("../utils").inherits(h,l),h.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,u},U.exports=h},{"../utils":32,"./ArrayReader":17}],22:[function(b,U,x){"use strict";var l=b("../utils"),h=b("../support"),n=b("./ArrayReader"),u=b("./StringReader"),v=b("./NodeBufferReader"),w=b("./Uint8ArrayReader");U.exports=function(m){var g=l.getTypeOf(m);return l.checkSupport(g),g!=="string"||h.uint8array?g==="nodebuffer"?new v(m):h.uint8array?new w(l.transformTo("uint8array",m)):new n(l.transformTo("array",m)):new u(m)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,U,x){"use strict";x.LOCAL_FILE_HEADER="PK",x.CENTRAL_FILE_HEADER="PK",x.CENTRAL_DIRECTORY_END="PK",x.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",x.ZIP64_CENTRAL_DIRECTORY_END="PK",x.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,U,x){"use strict";var l=b("./GenericWorker"),h=b("../utils");function n(u){l.call(this,"ConvertWorker to "+u),this.destType=u}h.inherits(n,l),n.prototype.processChunk=function(u){this.push({data:h.transformTo(this.destType,u.data),meta:u.meta})},U.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(b,U,x){"use strict";var l=b("./GenericWorker"),h=b("../crc32");function n(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(n,l),n.prototype.processChunk=function(u){this.streamInfo.crc32=h(u.data,this.streamInfo.crc32||0),this.push(u)},U.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,U,x){"use strict";var l=b("../utils"),h=b("./GenericWorker");function n(u){h.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}l.inherits(n,h),n.prototype.processChunk=function(u){if(u){var v=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=v+u.data.length}h.prototype.processChunk.call(this,u)},U.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(b,U,x){"use strict";var l=b("../utils"),h=b("./GenericWorker");function n(u){h.call(this,"DataWorker");var v=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(w){v.dataIsReady=!0,v.data=w,v.max=w&&w.length||0,v.type=l.getTypeOf(w),v.isPaused||v._tickAndRepeat()},function(w){v.error(w)})}l.inherits(n,h),n.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,v=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,v);break;case"uint8array":u=this.data.subarray(this.index,v);break;case"array":case"nodebuffer":u=this.data.slice(this.index,v)}return this.index=v,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(b,U,x){"use strict";function l(h){this.name=h||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}l.prototype={push:function(h){this.emit("data",h)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(h){this.emit("error",h)}return!0},error:function(h){return!this.isFinished&&(this.isPaused?this.generatedError=h:(this.isFinished=!0,this.emit("error",h),this.previous&&this.previous.error(h),this.cleanUp()),!0)},on:function(h,n){return this._listeners[h].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(h,n){if(this._listeners[h])for(var u=0;u<this._listeners[h].length;u++)this._listeners[h][u].call(this,n)},pipe:function(h){return h.registerPrevious(this)},registerPrevious:function(h){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=h.streamInfo,this.mergeStreamInfo(),this.previous=h;var n=this;return h.on("data",function(u){n.processChunk(u)}),h.on("end",function(){n.end()}),h.on("error",function(u){n.error(u)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var h=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),h=!0),this.previous&&this.previous.resume(),!h},flush:function(){},processChunk:function(h){this.push(h)},withStreamInfo:function(h,n){return this.extraStreamInfo[h]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var h in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,h)&&(this.streamInfo[h]=this.extraStreamInfo[h])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var h="Worker "+this.name;return this.previous?this.previous+" -> "+h:h}},U.exports=l},{}],29:[function(b,U,x){"use strict";var l=b("../utils"),h=b("./ConvertWorker"),n=b("./GenericWorker"),u=b("../base64"),v=b("../support"),w=b("../external"),m=null;if(v.nodestream)try{m=b("../nodejs/NodejsStreamOutputAdapter")}catch{}function g(d,e){return new w.Promise(function(o,s){var c=[],y=d._internalType,p=d._outputType,z=d._mimeType;d.on("data",function(F,T){c.push(F),e&&e(T)}).on("error",function(F){c=[],s(F)}).on("end",function(){try{o((function(F,T,W){switch(F){case"blob":return l.newBlob(l.transformTo("arraybuffer",T),W);case"base64":return u.encode(T);default:return l.transformTo(F,T)}})(p,(function(F,T){var W,C=0,K=null,V=0;for(W=0;W<T.length;W++)V+=T[W].length;switch(F){case"string":return T.join("");case"array":return Array.prototype.concat.apply([],T);case"uint8array":for(K=new Uint8Array(V),W=0;W<T.length;W++)K.set(T[W],C),C+=T[W].length;return K;case"nodebuffer":return Buffer.concat(T);default:throw new Error("concat : unsupported type '"+F+"'")}})(y,c),z))}catch(F){s(F)}c=[]}).resume()})}function i(d,e,o){var s=e;switch(e){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=e,this._mimeType=o,l.checkSupport(s),this._worker=d.pipe(new h(s)),d.lock()}catch(c){this._worker=new n("error"),this._worker.error(c)}}i.prototype={accumulate:function(d){return g(this,d)},on:function(d,e){var o=this;return d==="data"?this._worker.on(d,function(s){e.call(o,s.data,s.meta)}):this._worker.on(d,function(){l.delay(e,arguments,o)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(d){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new m(this,{objectMode:this._outputType!=="nodebuffer"},d)}},U.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(b,U,x){"use strict";if(x.base64=!0,x.array=!0,x.string=!0,x.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",x.nodebuffer=typeof Buffer<"u",x.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")x.blob=!1;else{var l=new ArrayBuffer(0);try{x.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var h=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);h.append(l),x.blob=h.getBlob("application/zip").size===0}catch{x.blob=!1}}}try{x.nodestream=!!b("readable-stream").Readable}catch{x.nodestream=!1}},{"readable-stream":16}],31:[function(b,U,x){"use strict";for(var l=b("./utils"),h=b("./support"),n=b("./nodejsUtils"),u=b("./stream/GenericWorker"),v=new Array(256),w=0;w<256;w++)v[w]=252<=w?6:248<=w?5:240<=w?4:224<=w?3:192<=w?2:1;v[254]=v[254]=1;function m(){u.call(this,"utf-8 decode"),this.leftOver=null}function g(){u.call(this,"utf-8 encode")}x.utf8encode=function(i){return h.nodebuffer?n.newBufferFrom(i,"utf-8"):(function(d){var e,o,s,c,y,p=d.length,z=0;for(c=0;c<p;c++)(64512&(o=d.charCodeAt(c)))==55296&&c+1<p&&(64512&(s=d.charCodeAt(c+1)))==56320&&(o=65536+(o-55296<<10)+(s-56320),c++),z+=o<128?1:o<2048?2:o<65536?3:4;for(e=h.uint8array?new Uint8Array(z):new Array(z),c=y=0;y<z;c++)(64512&(o=d.charCodeAt(c)))==55296&&c+1<p&&(64512&(s=d.charCodeAt(c+1)))==56320&&(o=65536+(o-55296<<10)+(s-56320),c++),o<128?e[y++]=o:(o<2048?e[y++]=192|o>>>6:(o<65536?e[y++]=224|o>>>12:(e[y++]=240|o>>>18,e[y++]=128|o>>>12&63),e[y++]=128|o>>>6&63),e[y++]=128|63&o);return e})(i)},x.utf8decode=function(i){return h.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):(function(d){var e,o,s,c,y=d.length,p=new Array(2*y);for(e=o=0;e<y;)if((s=d[e++])<128)p[o++]=s;else if(4<(c=v[s]))p[o++]=65533,e+=c-1;else{for(s&=c===2?31:c===3?15:7;1<c&&e<y;)s=s<<6|63&d[e++],c--;1<c?p[o++]=65533:s<65536?p[o++]=s:(s-=65536,p[o++]=55296|s>>10&1023,p[o++]=56320|1023&s)}return p.length!==o&&(p.subarray?p=p.subarray(0,o):p.length=o),l.applyFromCharCode(p)})(i=l.transformTo(h.uint8array?"uint8array":"array",i))},l.inherits(m,u),m.prototype.processChunk=function(i){var d=l.transformTo(h.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var e=d;(d=new Uint8Array(e.length+this.leftOver.length)).set(this.leftOver,0),d.set(e,this.leftOver.length)}else d=this.leftOver.concat(d);this.leftOver=null}var o=(function(c,y){var p;for((y=y||c.length)>c.length&&(y=c.length),p=y-1;0<=p&&(192&c[p])==128;)p--;return p<0||p===0?y:p+v[c[p]]>y?p:y})(d),s=d;o!==d.length&&(h.uint8array?(s=d.subarray(0,o),this.leftOver=d.subarray(o,d.length)):(s=d.slice(0,o),this.leftOver=d.slice(o,d.length))),this.push({data:x.utf8decode(s),meta:i.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:x.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},x.Utf8DecodeWorker=m,l.inherits(g,u),g.prototype.processChunk=function(i){this.push({data:x.utf8encode(i.data),meta:i.meta})},x.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,U,x){"use strict";var l=b("./support"),h=b("./base64"),n=b("./nodejsUtils"),u=b("./external");function v(e){return e}function w(e,o){for(var s=0;s<e.length;++s)o[s]=255&e.charCodeAt(s);return o}b("setimmediate"),x.newBlob=function(e,o){x.checkSupport("blob");try{return new Blob([e],{type:o})}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return s.append(e),s.getBlob(o)}catch{throw new Error("Bug : can't construct the Blob.")}}};var m={stringifyByChunk:function(e,o,s){var c=[],y=0,p=e.length;if(p<=s)return String.fromCharCode.apply(null,e);for(;y<p;)o==="array"||o==="nodebuffer"?c.push(String.fromCharCode.apply(null,e.slice(y,Math.min(y+s,p)))):c.push(String.fromCharCode.apply(null,e.subarray(y,Math.min(y+s,p)))),y+=s;return c.join("")},stringifyByChar:function(e){for(var o="",s=0;s<e.length;s++)o+=String.fromCharCode(e[s]);return o},applyCanBeUsed:{uint8array:(function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function g(e){var o=65536,s=x.getTypeOf(e),c=!0;if(s==="uint8array"?c=m.applyCanBeUsed.uint8array:s==="nodebuffer"&&(c=m.applyCanBeUsed.nodebuffer),c)for(;1<o;)try{return m.stringifyByChunk(e,s,o)}catch{o=Math.floor(o/2)}return m.stringifyByChar(e)}function i(e,o){for(var s=0;s<e.length;s++)o[s]=e[s];return o}x.applyFromCharCode=g;var d={};d.string={string:v,array:function(e){return w(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return w(e,new Uint8Array(e.length))},nodebuffer:function(e){return w(e,n.allocBuffer(e.length))}},d.array={string:g,array:v,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},d.arraybuffer={string:function(e){return g(new Uint8Array(e))},array:function(e){return i(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:v,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:g,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:v,nodebuffer:function(e){return n.newBufferFrom(e)}},d.nodebuffer={string:g,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return i(e,new Uint8Array(e.length))},nodebuffer:v},x.transformTo=function(e,o){return o=o||"",e?(x.checkSupport(e),d[x.getTypeOf(o)][e](o)):o},x.resolve=function(e){for(var o=e.split("/"),s=[],c=0;c<o.length;c++){var y=o[c];y==="."||y===""&&c!==0&&c!==o.length-1||(y===".."?s.pop():s.push(y))}return s.join("/")},x.getTypeOf=function(e){if(typeof e=="string")return"string";var o=Object.prototype.toString.call(e);return o==="[object Array]"?"array":l.nodebuffer&&n.isBuffer(e)?"nodebuffer":l.uint8array&&o==="[object Uint8Array]"?"uint8array":l.arraybuffer&&o==="[object ArrayBuffer]"?"arraybuffer":void 0},x.checkSupport=function(e){if(!l[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},x.MAX_VALUE_16BITS=65535,x.MAX_VALUE_32BITS=-1,x.pretty=function(e){var o,s,c="";for(s=0;s<(e||"").length;s++)c+="\\x"+((o=e.charCodeAt(s))<16?"0":"")+o.toString(16).toUpperCase();return c},x.delay=function(e,o,s){setImmediate(function(){e.apply(s||null,o||[])})},x.inherits=function(e,o){function s(){}s.prototype=o.prototype,e.prototype=new s},x.extend=function(){var e,o,s={};for(e=0;e<arguments.length;e++)for(o in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],o)&&s[o]===void 0&&(s[o]=arguments[e][o]);return s},x.prepareContent=function(e,o,s,c,y){return u.Promise.resolve(o).then(function(p){return l.blob&&(p instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(p))!==-1)?Blob.prototype.arrayBuffer!==void 0?p.arrayBuffer():typeof FileReader<"u"?new u.Promise(function(z,F){var T=new FileReader;T.onload=function(W){z(W.target.result)},T.onerror=function(W){F(W.target.error)},T.readAsArrayBuffer(p)}):u.Promise.reject(new Error(e+" is a Blob, but we have no way of reading it.")):p}).then(function(p){var z=x.getTypeOf(p);return z?(z==="arraybuffer"?p=x.transformTo("uint8array",p):z==="string"&&(y?p=h.decode(p):s&&c!==!0&&(p=(function(F){return w(F,l.uint8array?new Uint8Array(F.length):new Array(F.length))})(p))),p):u.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(b,U,x){"use strict";var l=b("./reader/readerFor"),h=b("./utils"),n=b("./signature"),u=b("./zipEntry"),v=b("./support");function w(m){this.files=[],this.loadOptions=m}w.prototype={checkSignature:function(m){if(!this.reader.readAndCheckSignature(m)){this.reader.index-=4;var g=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+h.pretty(g)+", expected "+h.pretty(m)+")")}},isSignature:function(m,g){var i=this.reader.index;this.reader.setIndex(m);var d=this.reader.readString(4)===g;return this.reader.setIndex(i),d},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var m=this.reader.readData(this.zipCommentLength),g=v.uint8array?"uint8array":"array",i=h.transformTo(g,m);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var m,g,i,d=this.zip64EndOfCentralSize-44;0<d;)m=this.reader.readInt(2),g=this.reader.readInt(4),i=this.reader.readData(g),this.zip64ExtensibleData[m]={id:m,length:g,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var m=0,g;m<this.files.length;m++)g=this.files[m],this.reader.setIndex(g.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),g.readLocalPart(this.reader),g.handleUTF8(),g.processAttributes()},readCentralDir:function(){var m;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(m=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(m);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var m=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(m<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(m);var g=m;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===h.MAX_VALUE_16BITS||this.diskWithCentralDirStart===h.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===h.MAX_VALUE_16BITS||this.centralDirRecords===h.MAX_VALUE_16BITS||this.centralDirSize===h.MAX_VALUE_32BITS||this.centralDirOffset===h.MAX_VALUE_32BITS){if(this.zip64=!0,(m=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(m),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var d=g-i;if(0<d)this.isSignature(g,n.CENTRAL_FILE_HEADER)||(this.reader.zero=d);else if(d<0)throw new Error("Corrupted zip: missing "+Math.abs(d)+" bytes.")},prepareReader:function(m){this.reader=l(m)},load:function(m){this.prepareReader(m),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},U.exports=w},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(b,U,x){"use strict";var l=b("./reader/readerFor"),h=b("./utils"),n=b("./compressedObject"),u=b("./crc32"),v=b("./utf8"),w=b("./compressions"),m=b("./support");function g(i,d){this.options=i,this.loadOptions=d}g.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var d,e;if(i.skip(22),this.fileNameLength=i.readInt(2),e=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(e),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((d=(function(o){for(var s in w)if(Object.prototype.hasOwnProperty.call(w,s)&&w[s].magic===o)return w[s];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+h.pretty(this.compressionMethod)+" unknown (inner file : "+h.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,d,i.readData(this.compressedSize))},readCentralPart:function(i){this.versionMadeBy=i.readInt(2),i.skip(2),this.bitFlag=i.readInt(2),this.compressionMethod=i.readString(2),this.date=i.readDate(),this.crc32=i.readInt(4),this.compressedSize=i.readInt(4),this.uncompressedSize=i.readInt(4);var d=i.readInt(2);if(this.extraFieldsLength=i.readInt(2),this.fileCommentLength=i.readInt(2),this.diskNumberStart=i.readInt(2),this.internalFileAttributes=i.readInt(2),this.externalFileAttributes=i.readInt(4),this.localHeaderOffset=i.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");i.skip(d),this.readExtraFields(i),this.parseZIP64ExtraField(i),this.fileComment=i.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var i=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),i==0&&(this.dosPermissions=63&this.externalFileAttributes),i==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var i=l(this.extraFields[1].value);this.uncompressedSize===h.MAX_VALUE_32BITS&&(this.uncompressedSize=i.readInt(8)),this.compressedSize===h.MAX_VALUE_32BITS&&(this.compressedSize=i.readInt(8)),this.localHeaderOffset===h.MAX_VALUE_32BITS&&(this.localHeaderOffset=i.readInt(8)),this.diskNumberStart===h.MAX_VALUE_32BITS&&(this.diskNumberStart=i.readInt(4))}},readExtraFields:function(i){var d,e,o,s=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<s;)d=i.readInt(2),e=i.readInt(2),o=i.readData(e),this.extraFields[d]={id:d,length:e,value:o};i.setIndex(s)},handleUTF8:function(){var i=m.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=v.utf8decode(this.fileName),this.fileCommentStr=v.utf8decode(this.fileComment);else{var d=this.findExtraFieldUnicodePath();if(d!==null)this.fileNameStr=d;else{var e=h.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(e)}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else{var s=h.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var d=l(i.value);return d.readInt(1)!==1||u(this.fileName)!==d.readInt(4)?null:v.utf8decode(d.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var d=l(i.value);return d.readInt(1)!==1||u(this.fileComment)!==d.readInt(4)?null:v.utf8decode(d.readData(i.length-5))}return null}},U.exports=g},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(b,U,x){"use strict";function l(d,e,o){this.name=d,this.dir=o.dir,this.date=o.date,this.comment=o.comment,this.unixPermissions=o.unixPermissions,this.dosPermissions=o.dosPermissions,this._data=e,this._dataBinary=o.binary,this.options={compression:o.compression,compressionOptions:o.compressionOptions}}var h=b("./stream/StreamHelper"),n=b("./stream/DataWorker"),u=b("./utf8"),v=b("./compressedObject"),w=b("./stream/GenericWorker");l.prototype={internalStream:function(d){var e=null,o="string";try{if(!d)throw new Error("No output type specified.");var s=(o=d.toLowerCase())==="string"||o==="text";o!=="binarystring"&&o!=="text"||(o="string"),e=this._decompressWorker();var c=!this._dataBinary;c&&!s&&(e=e.pipe(new u.Utf8EncodeWorker)),!c&&s&&(e=e.pipe(new u.Utf8DecodeWorker))}catch(y){(e=new w("error")).error(y)}return new h(e,o,"")},async:function(d,e){return this.internalStream(d).accumulate(e)},nodeStream:function(d,e){return this.internalStream(d||"nodebuffer").toNodejsStream(e)},_compressWorker:function(d,e){if(this._data instanceof v&&this._data.compression.magic===d.magic)return this._data.getCompressedWorker();var o=this._decompressWorker();return this._dataBinary||(o=o.pipe(new u.Utf8EncodeWorker)),v.createWorkerFrom(o,d,e)},_decompressWorker:function(){return this._data instanceof v?this._data.getContentWorker():this._data instanceof w?this._data:new n(this._data)}};for(var m=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],g=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<m.length;i++)l.prototype[m[i]]=g;U.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(b,U,x){(function(l){"use strict";var h,n,u=l.MutationObserver||l.WebKitMutationObserver;if(u){var v=0,w=new u(d),m=l.document.createTextNode("");w.observe(m,{characterData:!0}),h=function(){m.data=v=++v%2}}else if(l.setImmediate||l.MessageChannel===void 0)h="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var e=l.document.createElement("script");e.onreadystatechange=function(){d(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},l.document.documentElement.appendChild(e)}:function(){setTimeout(d,0)};else{var g=new l.MessageChannel;g.port1.onmessage=d,h=function(){g.port2.postMessage(0)}}var i=[];function d(){var e,o;n=!0;for(var s=i.length;s;){for(o=i,i=[],e=-1;++e<s;)o[e]();s=i.length}n=!1}U.exports=function(e){i.push(e)!==1||n||h()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(b,U,x){"use strict";var l=b("immediate");function h(){}var n={},u=["REJECTED"],v=["FULFILLED"],w=["PENDING"];function m(s){if(typeof s!="function")throw new TypeError("resolver must be a function");this.state=w,this.queue=[],this.outcome=void 0,s!==h&&e(this,s)}function g(s,c,y){this.promise=s,typeof c=="function"&&(this.onFulfilled=c,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function i(s,c,y){l(function(){var p;try{p=c(y)}catch(z){return n.reject(s,z)}p===s?n.reject(s,new TypeError("Cannot resolve promise with itself")):n.resolve(s,p)})}function d(s){var c=s&&s.then;if(s&&(typeof s=="object"||typeof s=="function")&&typeof c=="function")return function(){c.apply(s,arguments)}}function e(s,c){var y=!1;function p(T){y||(y=!0,n.reject(s,T))}function z(T){y||(y=!0,n.resolve(s,T))}var F=o(function(){c(z,p)});F.status==="error"&&p(F.value)}function o(s,c){var y={};try{y.value=s(c),y.status="success"}catch(p){y.status="error",y.value=p}return y}(U.exports=m).prototype.finally=function(s){if(typeof s!="function")return this;var c=this.constructor;return this.then(function(y){return c.resolve(s()).then(function(){return y})},function(y){return c.resolve(s()).then(function(){throw y})})},m.prototype.catch=function(s){return this.then(null,s)},m.prototype.then=function(s,c){if(typeof s!="function"&&this.state===v||typeof c!="function"&&this.state===u)return this;var y=new this.constructor(h);return this.state!==w?i(y,this.state===v?s:c,this.outcome):this.queue.push(new g(y,s,c)),y},g.prototype.callFulfilled=function(s){n.resolve(this.promise,s)},g.prototype.otherCallFulfilled=function(s){i(this.promise,this.onFulfilled,s)},g.prototype.callRejected=function(s){n.reject(this.promise,s)},g.prototype.otherCallRejected=function(s){i(this.promise,this.onRejected,s)},n.resolve=function(s,c){var y=o(d,c);if(y.status==="error")return n.reject(s,y.value);var p=y.value;if(p)e(s,p);else{s.state=v,s.outcome=c;for(var z=-1,F=s.queue.length;++z<F;)s.queue[z].callFulfilled(c)}return s},n.reject=function(s,c){s.state=u,s.outcome=c;for(var y=-1,p=s.queue.length;++y<p;)s.queue[y].callRejected(c);return s},m.resolve=function(s){return s instanceof this?s:n.resolve(new this(h),s)},m.reject=function(s){var c=new this(h);return n.reject(c,s)},m.all=function(s){var c=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=s.length,p=!1;if(!y)return this.resolve([]);for(var z=new Array(y),F=0,T=-1,W=new this(h);++T<y;)C(s[T],T);return W;function C(K,V){c.resolve(K).then(function(_){z[V]=_,++F!==y||p||(p=!0,n.resolve(W,z))},function(_){p||(p=!0,n.reject(W,_))})}},m.race=function(s){var c=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=s.length,p=!1;if(!y)return this.resolve([]);for(var z=-1,F=new this(h);++z<y;)T=s[z],c.resolve(T).then(function(W){p||(p=!0,n.resolve(F,W))},function(W){p||(p=!0,n.reject(F,W))});var T;return F}},{immediate:36}],38:[function(b,U,x){"use strict";var l={};(0,b("./lib/utils/common").assign)(l,b("./lib/deflate"),b("./lib/inflate"),b("./lib/zlib/constants")),U.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(b,U,x){"use strict";var l=b("./zlib/deflate"),h=b("./utils/common"),n=b("./utils/strings"),u=b("./zlib/messages"),v=b("./zlib/zstream"),w=Object.prototype.toString,m=0,g=-1,i=0,d=8;function e(s){if(!(this instanceof e))return new e(s);this.options=h.assign({level:g,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},s||{});var c=this.options;c.raw&&0<c.windowBits?c.windowBits=-c.windowBits:c.gzip&&0<c.windowBits&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var y=l.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(y!==m)throw new Error(u[y]);if(c.header&&l.deflateSetHeader(this.strm,c.header),c.dictionary){var p=typeof c.dictionary=="string"?n.string2buf(c.dictionary):w.call(c.dictionary)==="[object ArrayBuffer]"?new Uint8Array(c.dictionary):c.dictionary;if((y=l.deflateSetDictionary(this.strm,p))!==m)throw new Error(u[y]);this._dict_set=!0}}function o(s,c){var y=new e(c);if(y.push(s,!0),y.err)throw y.msg||u[y.err];return y.result}e.prototype.push=function(s,c){var y,p,z=this.strm,F=this.options.chunkSize;if(this.ended)return!1;p=c===~~c?c:c===!0?4:0,typeof s=="string"?z.input=n.string2buf(s):w.call(s)==="[object ArrayBuffer]"?z.input=new Uint8Array(s):z.input=s,z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0&&(z.output=new h.Buf8(F),z.next_out=0,z.avail_out=F),(y=l.deflate(z,p))!==1&&y!==m)return this.onEnd(y),!(this.ended=!0);z.avail_out!==0&&(z.avail_in!==0||p!==4&&p!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(h.shrinkBuf(z.output,z.next_out))):this.onData(h.shrinkBuf(z.output,z.next_out)))}while((0<z.avail_in||z.avail_out===0)&&y!==1);return p===4?(y=l.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===m):p!==2||(this.onEnd(m),!(z.avail_out=0))},e.prototype.onData=function(s){this.chunks.push(s)},e.prototype.onEnd=function(s){s===m&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=h.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg},x.Deflate=e,x.deflate=o,x.deflateRaw=function(s,c){return(c=c||{}).raw=!0,o(s,c)},x.gzip=function(s,c){return(c=c||{}).gzip=!0,o(s,c)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(b,U,x){"use strict";var l=b("./zlib/inflate"),h=b("./utils/common"),n=b("./utils/strings"),u=b("./zlib/constants"),v=b("./zlib/messages"),w=b("./zlib/zstream"),m=b("./zlib/gzheader"),g=Object.prototype.toString;function i(e){if(!(this instanceof i))return new i(e);this.options=h.assign({chunkSize:16384,windowBits:0,to:""},e||{});var o=this.options;o.raw&&0<=o.windowBits&&o.windowBits<16&&(o.windowBits=-o.windowBits,o.windowBits===0&&(o.windowBits=-15)),!(0<=o.windowBits&&o.windowBits<16)||e&&e.windowBits||(o.windowBits+=32),15<o.windowBits&&o.windowBits<48&&(15&o.windowBits)==0&&(o.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new w,this.strm.avail_out=0;var s=l.inflateInit2(this.strm,o.windowBits);if(s!==u.Z_OK)throw new Error(v[s]);this.header=new m,l.inflateGetHeader(this.strm,this.header)}function d(e,o){var s=new i(o);if(s.push(e,!0),s.err)throw s.msg||v[s.err];return s.result}i.prototype.push=function(e,o){var s,c,y,p,z,F,T=this.strm,W=this.options.chunkSize,C=this.options.dictionary,K=!1;if(this.ended)return!1;c=o===~~o?o:o===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof e=="string"?T.input=n.binstring2buf(e):g.call(e)==="[object ArrayBuffer]"?T.input=new Uint8Array(e):T.input=e,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new h.Buf8(W),T.next_out=0,T.avail_out=W),(s=l.inflate(T,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&C&&(F=typeof C=="string"?n.string2buf(C):g.call(C)==="[object ArrayBuffer]"?new Uint8Array(C):C,s=l.inflateSetDictionary(this.strm,F)),s===u.Z_BUF_ERROR&&K===!0&&(s=u.Z_OK,K=!1),s!==u.Z_STREAM_END&&s!==u.Z_OK)return this.onEnd(s),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&s!==u.Z_STREAM_END&&(T.avail_in!==0||c!==u.Z_FINISH&&c!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=n.utf8border(T.output,T.next_out),p=T.next_out-y,z=n.buf2string(T.output,y),T.next_out=p,T.avail_out=W-p,p&&h.arraySet(T.output,T.output,y,p,0),this.onData(z)):this.onData(h.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(K=!0)}while((0<T.avail_in||T.avail_out===0)&&s!==u.Z_STREAM_END);return s===u.Z_STREAM_END&&(c=u.Z_FINISH),c===u.Z_FINISH?(s=l.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===u.Z_OK):c!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(T.avail_out=0))},i.prototype.onData=function(e){this.chunks.push(e)},i.prototype.onEnd=function(e){e===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=h.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},x.Inflate=i,x.inflate=d,x.inflateRaw=function(e,o){return(o=o||{}).raw=!0,d(e,o)},x.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(b,U,x){"use strict";var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";x.assign=function(u){for(var v=Array.prototype.slice.call(arguments,1);v.length;){var w=v.shift();if(w){if(typeof w!="object")throw new TypeError(w+"must be non-object");for(var m in w)w.hasOwnProperty(m)&&(u[m]=w[m])}}return u},x.shrinkBuf=function(u,v){return u.length===v?u:u.subarray?u.subarray(0,v):(u.length=v,u)};var h={arraySet:function(u,v,w,m,g){if(v.subarray&&u.subarray)u.set(v.subarray(w,w+m),g);else for(var i=0;i<m;i++)u[g+i]=v[w+i]},flattenChunks:function(u){for(var v=m=0,w=u.length,m,g,i,d;v<w;v++)m+=u[v].length;for(d=new Uint8Array(m),v=g=0,w=u.length;v<w;v++)i=u[v],d.set(i,g),g+=i.length;return d}},n={arraySet:function(u,v,w,m,g){for(var i=0;i<m;i++)u[g+i]=v[w+i]},flattenChunks:function(u){return[].concat.apply([],u)}};x.setTyped=function(u){u?(x.Buf8=Uint8Array,x.Buf16=Uint16Array,x.Buf32=Int32Array,x.assign(x,h)):(x.Buf8=Array,x.Buf16=Array,x.Buf32=Array,x.assign(x,n))},x.setTyped(l)},{}],42:[function(b,U,x){"use strict";var l=b("./common"),h=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{h=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var u=new l.Buf8(256),v=0;v<256;v++)u[v]=252<=v?6:248<=v?5:240<=v?4:224<=v?3:192<=v?2:1;function w(m,g){if(g<65537&&(m.subarray&&n||!m.subarray&&h))return String.fromCharCode.apply(null,l.shrinkBuf(m,g));for(var i="",d=0;d<g;d++)i+=String.fromCharCode(m[d]);return i}u[254]=u[254]=1,x.string2buf=function(m){var g,i,d,e,o,s=m.length,c=0;for(e=0;e<s;e++)(64512&(i=m.charCodeAt(e)))==55296&&e+1<s&&(64512&(d=m.charCodeAt(e+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),e++),c+=i<128?1:i<2048?2:i<65536?3:4;for(g=new l.Buf8(c),e=o=0;o<c;e++)(64512&(i=m.charCodeAt(e)))==55296&&e+1<s&&(64512&(d=m.charCodeAt(e+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),e++),i<128?g[o++]=i:(i<2048?g[o++]=192|i>>>6:(i<65536?g[o++]=224|i>>>12:(g[o++]=240|i>>>18,g[o++]=128|i>>>12&63),g[o++]=128|i>>>6&63),g[o++]=128|63&i);return g},x.buf2binstring=function(m){return w(m,m.length)},x.binstring2buf=function(m){for(var g=new l.Buf8(m.length),i=0,d=g.length;i<d;i++)g[i]=m.charCodeAt(i);return g},x.buf2string=function(m,g){var i,d,e,o,s=g||m.length,c=new Array(2*s);for(i=d=0;i<s;)if((e=m[i++])<128)c[d++]=e;else if(4<(o=u[e]))c[d++]=65533,i+=o-1;else{for(e&=o===2?31:o===3?15:7;1<o&&i<s;)e=e<<6|63&m[i++],o--;1<o?c[d++]=65533:e<65536?c[d++]=e:(e-=65536,c[d++]=55296|e>>10&1023,c[d++]=56320|1023&e)}return w(c,d)},x.utf8border=function(m,g){var i;for((g=g||m.length)>m.length&&(g=m.length),i=g-1;0<=i&&(192&m[i])==128;)i--;return i<0||i===0?g:i+u[m[i]]>g?i:g}},{"./common":41}],43:[function(b,U,x){"use strict";U.exports=function(l,h,n,u){for(var v=65535&l|0,w=l>>>16&65535|0,m=0;n!==0;){for(n-=m=2e3<n?2e3:n;w=w+(v=v+h[u++]|0)|0,--m;);v%=65521,w%=65521}return v|w<<16|0}},{}],44:[function(b,U,x){"use strict";U.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(b,U,x){"use strict";var l=(function(){for(var h,n=[],u=0;u<256;u++){h=u;for(var v=0;v<8;v++)h=1&h?3988292384^h>>>1:h>>>1;n[u]=h}return n})();U.exports=function(h,n,u,v){var w=l,m=v+u;h^=-1;for(var g=v;g<m;g++)h=h>>>8^w[255&(h^n[g])];return-1^h}},{}],46:[function(b,U,x){"use strict";var l,h=b("../utils/common"),n=b("./trees"),u=b("./adler32"),v=b("./crc32"),w=b("./messages"),m=0,g=4,i=0,d=-2,e=-1,o=4,s=2,c=8,y=9,p=286,z=30,F=19,T=2*p+1,W=15,C=3,K=258,V=K+C+1,_=42,O=113,r=1,R=2,q=3,P=4;function $(t,B){return t.msg=w[B],B}function L(t){return(t<<1)-(4<t?9:0)}function J(t){for(var B=t.length;0<=--B;)t[B]=0}function A(t){var B=t.state,I=B.pending;I>t.avail_out&&(I=t.avail_out),I!==0&&(h.arraySet(t.output,B.pending_buf,B.pending_out,I,t.next_out),t.next_out+=I,B.pending_out+=I,t.total_out+=I,t.avail_out-=I,B.pending-=I,B.pending===0&&(B.pending_out=0))}function E(t,B){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,B),t.block_start=t.strstart,A(t.strm)}function X(t,B){t.pending_buf[t.pending++]=B}function H(t,B){t.pending_buf[t.pending++]=B>>>8&255,t.pending_buf[t.pending++]=255&B}function M(t,B){var I,f,a=t.max_chain_length,k=t.strstart,D=t.prev_length,N=t.nice_match,S=t.strstart>t.w_size-V?t.strstart-(t.w_size-V):0,j=t.window,G=t.w_mask,Z=t.prev,Y=t.strstart+K,et=j[k+D-1],tt=j[k+D];t.prev_length>=t.good_match&&(a>>=2),N>t.lookahead&&(N=t.lookahead);do if(j[(I=B)+D]===tt&&j[I+D-1]===et&&j[I]===j[k]&&j[++I]===j[k+1]){k+=2,I++;do;while(j[++k]===j[++I]&&j[++k]===j[++I]&&j[++k]===j[++I]&&j[++k]===j[++I]&&j[++k]===j[++I]&&j[++k]===j[++I]&&j[++k]===j[++I]&&j[++k]===j[++I]&&k<Y);if(f=K-(Y-k),k=Y-K,D<f){if(t.match_start=B,N<=(D=f))break;et=j[k+D-1],tt=j[k+D]}}while((B=Z[B&G])>S&&--a!=0);return D<=t.lookahead?D:t.lookahead}function nt(t){var B,I,f,a,k,D,N,S,j,G,Z=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=Z+(Z-V)){for(h.arraySet(t.window,t.window,Z,Z,0),t.match_start-=Z,t.strstart-=Z,t.block_start-=Z,B=I=t.hash_size;f=t.head[--B],t.head[B]=Z<=f?f-Z:0,--I;);for(B=I=Z;f=t.prev[--B],t.prev[B]=Z<=f?f-Z:0,--I;);a+=Z}if(t.strm.avail_in===0)break;if(D=t.strm,N=t.window,S=t.strstart+t.lookahead,j=a,G=void 0,G=D.avail_in,j<G&&(G=j),I=G===0?0:(D.avail_in-=G,h.arraySet(N,D.input,D.next_in,G,S),D.state.wrap===1?D.adler=u(D.adler,N,G,S):D.state.wrap===2&&(D.adler=v(D.adler,N,G,S)),D.next_in+=G,D.total_in+=G,G),t.lookahead+=I,t.lookahead+t.insert>=C)for(k=t.strstart-t.insert,t.ins_h=t.window[k],t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+C-1])&t.hash_mask,t.prev[k&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=k,k++,t.insert--,!(t.lookahead+t.insert<C)););}while(t.lookahead<V&&t.strm.avail_in!==0)}function ot(t,B){for(var I,f;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&B===m)return r;if(t.lookahead===0)break}if(I=0,t.lookahead>=C&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,I=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),I!==0&&t.strstart-I<=t.w_size-V&&(t.match_length=M(t,I)),t.match_length>=C)if(f=n._tr_tally(t,t.strstart-t.match_start,t.match_length-C),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=C){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,I=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else f=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(f&&(E(t,!1),t.strm.avail_out===0))return r}return t.insert=t.strstart<C-1?t.strstart:C-1,B===g?(E(t,!0),t.strm.avail_out===0?q:P):t.last_lit&&(E(t,!1),t.strm.avail_out===0)?r:R}function Q(t,B){for(var I,f,a;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&B===m)return r;if(t.lookahead===0)break}if(I=0,t.lookahead>=C&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,I=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=C-1,I!==0&&t.prev_length<t.max_lazy_match&&t.strstart-I<=t.w_size-V&&(t.match_length=M(t,I),t.match_length<=5&&(t.strategy===1||t.match_length===C&&4096<t.strstart-t.match_start)&&(t.match_length=C-1)),t.prev_length>=C&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-C,f=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-C),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,I=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=C-1,t.strstart++,f&&(E(t,!1),t.strm.avail_out===0))return r}else if(t.match_available){if((f=n._tr_tally(t,0,t.window[t.strstart-1]))&&E(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return r}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(f=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<C-1?t.strstart:C-1,B===g?(E(t,!0),t.strm.avail_out===0?q:P):t.last_lit&&(E(t,!1),t.strm.avail_out===0)?r:R}function rt(t,B,I,f,a){this.good_length=t,this.max_lazy=B,this.nice_length=I,this.max_chain=f,this.func=a}function at(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=c,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new h.Buf16(2*T),this.dyn_dtree=new h.Buf16(2*(2*z+1)),this.bl_tree=new h.Buf16(2*(2*F+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new h.Buf16(W+1),this.heap=new h.Buf16(2*p+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new h.Buf16(2*p+1),J(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function it(t){var B;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=s,(B=t.state).pending=0,B.pending_out=0,B.wrap<0&&(B.wrap=-B.wrap),B.status=B.wrap?_:O,t.adler=B.wrap===2?0:1,B.last_flush=m,n._tr_init(B),i):$(t,d)}function lt(t){var B=it(t);return B===i&&(function(I){I.window_size=2*I.w_size,J(I.head),I.max_lazy_match=l[I.level].max_lazy,I.good_match=l[I.level].good_length,I.nice_match=l[I.level].nice_length,I.max_chain_length=l[I.level].max_chain,I.strstart=0,I.block_start=0,I.lookahead=0,I.insert=0,I.match_length=I.prev_length=C-1,I.match_available=0,I.ins_h=0})(t.state),B}function ut(t,B,I,f,a,k){if(!t)return d;var D=1;if(B===e&&(B=6),f<0?(D=0,f=-f):15<f&&(D=2,f-=16),a<1||y<a||I!==c||f<8||15<f||B<0||9<B||k<0||o<k)return $(t,d);f===8&&(f=9);var N=new at;return(t.state=N).strm=t,N.wrap=D,N.gzhead=null,N.w_bits=f,N.w_size=1<<N.w_bits,N.w_mask=N.w_size-1,N.hash_bits=a+7,N.hash_size=1<<N.hash_bits,N.hash_mask=N.hash_size-1,N.hash_shift=~~((N.hash_bits+C-1)/C),N.window=new h.Buf8(2*N.w_size),N.head=new h.Buf16(N.hash_size),N.prev=new h.Buf16(N.w_size),N.lit_bufsize=1<<a+6,N.pending_buf_size=4*N.lit_bufsize,N.pending_buf=new h.Buf8(N.pending_buf_size),N.d_buf=1*N.lit_bufsize,N.l_buf=3*N.lit_bufsize,N.level=B,N.strategy=k,N.method=I,lt(t)}l=[new rt(0,0,0,0,function(t,B){var I=65535;for(I>t.pending_buf_size-5&&(I=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nt(t),t.lookahead===0&&B===m)return r;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+I;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,E(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-V&&(E(t,!1),t.strm.avail_out===0))return r}return t.insert=0,B===g?(E(t,!0),t.strm.avail_out===0?q:P):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),r)}),new rt(4,4,8,4,ot),new rt(4,5,16,8,ot),new rt(4,6,32,32,ot),new rt(4,4,16,16,Q),new rt(8,16,32,32,Q),new rt(8,16,128,128,Q),new rt(8,32,128,256,Q),new rt(32,128,258,1024,Q),new rt(32,258,258,4096,Q)],x.deflateInit=function(t,B){return ut(t,B,c,15,8,0)},x.deflateInit2=ut,x.deflateReset=lt,x.deflateResetKeep=it,x.deflateSetHeader=function(t,B){return t&&t.state?t.state.wrap!==2?d:(t.state.gzhead=B,i):d},x.deflate=function(t,B){var I,f,a,k;if(!t||!t.state||5<B||B<0)return t?$(t,d):d;if(f=t.state,!t.output||!t.input&&t.avail_in!==0||f.status===666&&B!==g)return $(t,t.avail_out===0?-5:d);if(f.strm=t,I=f.last_flush,f.last_flush=B,f.status===_)if(f.wrap===2)t.adler=0,X(f,31),X(f,139),X(f,8),f.gzhead?(X(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),X(f,255&f.gzhead.time),X(f,f.gzhead.time>>8&255),X(f,f.gzhead.time>>16&255),X(f,f.gzhead.time>>24&255),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,255&f.gzhead.os),f.gzhead.extra&&f.gzhead.extra.length&&(X(f,255&f.gzhead.extra.length),X(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(t.adler=v(t.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=69):(X(f,0),X(f,0),X(f,0),X(f,0),X(f,0),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,3),f.status=O);else{var D=c+(f.w_bits-8<<4)<<8;D|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(D|=32),D+=31-D%31,f.status=O,H(f,D),f.strstart!==0&&(H(f,t.adler>>>16),H(f,65535&t.adler)),t.adler=1}if(f.status===69)if(f.gzhead.extra){for(a=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>a&&(t.adler=v(t.adler,f.pending_buf,f.pending-a,a)),A(t),a=f.pending,f.pending!==f.pending_buf_size));)X(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>a&&(t.adler=v(t.adler,f.pending_buf,f.pending-a,a)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){a=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>a&&(t.adler=v(t.adler,f.pending_buf,f.pending-a,a)),A(t),a=f.pending,f.pending===f.pending_buf_size)){k=1;break}k=f.gzindex<f.gzhead.name.length?255&f.gzhead.name.charCodeAt(f.gzindex++):0,X(f,k)}while(k!==0);f.gzhead.hcrc&&f.pending>a&&(t.adler=v(t.adler,f.pending_buf,f.pending-a,a)),k===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){a=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>a&&(t.adler=v(t.adler,f.pending_buf,f.pending-a,a)),A(t),a=f.pending,f.pending===f.pending_buf_size)){k=1;break}k=f.gzindex<f.gzhead.comment.length?255&f.gzhead.comment.charCodeAt(f.gzindex++):0,X(f,k)}while(k!==0);f.gzhead.hcrc&&f.pending>a&&(t.adler=v(t.adler,f.pending_buf,f.pending-a,a)),k===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&A(t),f.pending+2<=f.pending_buf_size&&(X(f,255&t.adler),X(f,t.adler>>8&255),t.adler=0,f.status=O)):f.status=O),f.pending!==0){if(A(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&L(B)<=L(I)&&B!==g)return $(t,-5);if(f.status===666&&t.avail_in!==0)return $(t,-5);if(t.avail_in!==0||f.lookahead!==0||B!==m&&f.status!==666){var N=f.strategy===2?(function(S,j){for(var G;;){if(S.lookahead===0&&(nt(S),S.lookahead===0)){if(j===m)return r;break}if(S.match_length=0,G=n._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++,G&&(E(S,!1),S.strm.avail_out===0))return r}return S.insert=0,j===g?(E(S,!0),S.strm.avail_out===0?q:P):S.last_lit&&(E(S,!1),S.strm.avail_out===0)?r:R})(f,B):f.strategy===3?(function(S,j){for(var G,Z,Y,et,tt=S.window;;){if(S.lookahead<=K){if(nt(S),S.lookahead<=K&&j===m)return r;if(S.lookahead===0)break}if(S.match_length=0,S.lookahead>=C&&0<S.strstart&&(Z=tt[Y=S.strstart-1])===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]){et=S.strstart+K;do;while(Z===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]&&Z===tt[++Y]&&Y<et);S.match_length=K-(et-Y),S.match_length>S.lookahead&&(S.match_length=S.lookahead)}if(S.match_length>=C?(G=n._tr_tally(S,1,S.match_length-C),S.lookahead-=S.match_length,S.strstart+=S.match_length,S.match_length=0):(G=n._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++),G&&(E(S,!1),S.strm.avail_out===0))return r}return S.insert=0,j===g?(E(S,!0),S.strm.avail_out===0?q:P):S.last_lit&&(E(S,!1),S.strm.avail_out===0)?r:R})(f,B):l[f.level].func(f,B);if(N!==q&&N!==P||(f.status=666),N===r||N===q)return t.avail_out===0&&(f.last_flush=-1),i;if(N===R&&(B===1?n._tr_align(f):B!==5&&(n._tr_stored_block(f,0,0,!1),B===3&&(J(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),A(t),t.avail_out===0))return f.last_flush=-1,i}return B!==g?i:f.wrap<=0?1:(f.wrap===2?(X(f,255&t.adler),X(f,t.adler>>8&255),X(f,t.adler>>16&255),X(f,t.adler>>24&255),X(f,255&t.total_in),X(f,t.total_in>>8&255),X(f,t.total_in>>16&255),X(f,t.total_in>>24&255)):(H(f,t.adler>>>16),H(f,65535&t.adler)),A(t),0<f.wrap&&(f.wrap=-f.wrap),f.pending!==0?i:1)},x.deflateEnd=function(t){var B;return t&&t.state?(B=t.state.status)!==_&&B!==69&&B!==73&&B!==91&&B!==103&&B!==O&&B!==666?$(t,d):(t.state=null,B===O?$(t,-3):i):d},x.deflateSetDictionary=function(t,B){var I,f,a,k,D,N,S,j,G=B.length;if(!t||!t.state||(k=(I=t.state).wrap)===2||k===1&&I.status!==_||I.lookahead)return d;for(k===1&&(t.adler=u(t.adler,B,G,0)),I.wrap=0,G>=I.w_size&&(k===0&&(J(I.head),I.strstart=0,I.block_start=0,I.insert=0),j=new h.Buf8(I.w_size),h.arraySet(j,B,G-I.w_size,I.w_size,0),B=j,G=I.w_size),D=t.avail_in,N=t.next_in,S=t.input,t.avail_in=G,t.next_in=0,t.input=B,nt(I);I.lookahead>=C;){for(f=I.strstart,a=I.lookahead-(C-1);I.ins_h=(I.ins_h<<I.hash_shift^I.window[f+C-1])&I.hash_mask,I.prev[f&I.w_mask]=I.head[I.ins_h],I.head[I.ins_h]=f,f++,--a;);I.strstart=f,I.lookahead=C-1,nt(I)}return I.strstart+=I.lookahead,I.block_start=I.strstart,I.insert=I.lookahead,I.lookahead=0,I.match_length=I.prev_length=C-1,I.match_available=0,t.next_in=N,t.input=S,t.avail_in=D,I.wrap=k,i},x.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(b,U,x){"use strict";U.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(b,U,x){"use strict";U.exports=function(l,h){var n=l.state,u=l.next_in,v,w,m,g,i,d,e,o,s,c,y,p,z,F,T,W,C,K,V,_,O,r=l.input,R;v=u+(l.avail_in-5),w=l.next_out,R=l.output,m=w-(h-l.avail_out),g=w+(l.avail_out-257),i=n.dmax,d=n.wsize,e=n.whave,o=n.wnext,s=n.window,c=n.hold,y=n.bits,p=n.lencode,z=n.distcode,F=(1<<n.lenbits)-1,T=(1<<n.distbits)-1;t:do{y<15&&(c+=r[u++]<<y,y+=8,c+=r[u++]<<y,y+=8),W=p[c&F];r:for(;;){if(c>>>=C=W>>>24,y-=C,(C=W>>>16&255)===0)R[w++]=65535&W;else{if(!(16&C)){if((64&C)==0){W=p[(65535&W)+(c&(1<<C)-1)];continue r}if(32&C){n.mode=12;break t}l.msg="invalid literal/length code",n.mode=30;break t}K=65535&W,(C&=15)&&(y<C&&(c+=r[u++]<<y,y+=8),K+=c&(1<<C)-1,c>>>=C,y-=C),y<15&&(c+=r[u++]<<y,y+=8,c+=r[u++]<<y,y+=8),W=z[c&T];e:for(;;){if(c>>>=C=W>>>24,y-=C,!(16&(C=W>>>16&255))){if((64&C)==0){W=z[(65535&W)+(c&(1<<C)-1)];continue e}l.msg="invalid distance code",n.mode=30;break t}if(V=65535&W,y<(C&=15)&&(c+=r[u++]<<y,(y+=8)<C&&(c+=r[u++]<<y,y+=8)),i<(V+=c&(1<<C)-1)){l.msg="invalid distance too far back",n.mode=30;break t}if(c>>>=C,y-=C,(C=w-m)<V){if(e<(C=V-C)&&n.sane){l.msg="invalid distance too far back",n.mode=30;break t}if(O=s,(_=0)===o){if(_+=d-C,C<K){for(K-=C;R[w++]=s[_++],--C;);_=w-V,O=R}}else if(o<C){if(_+=d+o-C,(C-=o)<K){for(K-=C;R[w++]=s[_++],--C;);if(_=0,o<K){for(K-=C=o;R[w++]=s[_++],--C;);_=w-V,O=R}}}else if(_+=o-C,C<K){for(K-=C;R[w++]=s[_++],--C;);_=w-V,O=R}for(;2<K;)R[w++]=O[_++],R[w++]=O[_++],R[w++]=O[_++],K-=3;K&&(R[w++]=O[_++],1<K&&(R[w++]=O[_++]))}else{for(_=w-V;R[w++]=R[_++],R[w++]=R[_++],R[w++]=R[_++],2<(K-=3););K&&(R[w++]=R[_++],1<K&&(R[w++]=R[_++]))}break}}break}}while(u<v&&w<g);u-=K=y>>3,c&=(1<<(y-=K<<3))-1,l.next_in=u,l.next_out=w,l.avail_in=u<v?v-u+5:5-(u-v),l.avail_out=w<g?g-w+257:257-(w-g),n.hold=c,n.bits=y}},{}],49:[function(b,U,x){"use strict";var l=b("../utils/common"),h=b("./adler32"),n=b("./crc32"),u=b("./inffast"),v=b("./inftrees"),w=1,m=2,g=0,i=-2,d=1,e=852,o=592;function s(_){return(_>>>24&255)+(_>>>8&65280)+((65280&_)<<8)+((255&_)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(_){var O;return _&&_.state?(O=_.state,_.total_in=_.total_out=O.total=0,_.msg="",O.wrap&&(_.adler=1&O.wrap),O.mode=d,O.last=0,O.havedict=0,O.dmax=32768,O.head=null,O.hold=0,O.bits=0,O.lencode=O.lendyn=new l.Buf32(e),O.distcode=O.distdyn=new l.Buf32(o),O.sane=1,O.back=-1,g):i}function p(_){var O;return _&&_.state?((O=_.state).wsize=0,O.whave=0,O.wnext=0,y(_)):i}function z(_,O){var r,R;return _&&_.state?(R=_.state,O<0?(r=0,O=-O):(r=1+(O>>4),O<48&&(O&=15)),O&&(O<8||15<O)?i:(R.window!==null&&R.wbits!==O&&(R.window=null),R.wrap=r,R.wbits=O,p(_))):i}function F(_,O){var r,R;return _?(R=new c,(_.state=R).window=null,(r=z(_,O))!==g&&(_.state=null),r):i}var T,W,C=!0;function K(_){if(C){var O;for(T=new l.Buf32(512),W=new l.Buf32(32),O=0;O<144;)_.lens[O++]=8;for(;O<256;)_.lens[O++]=9;for(;O<280;)_.lens[O++]=7;for(;O<288;)_.lens[O++]=8;for(v(w,_.lens,0,288,T,0,_.work,{bits:9}),O=0;O<32;)_.lens[O++]=5;v(m,_.lens,0,32,W,0,_.work,{bits:5}),C=!1}_.lencode=T,_.lenbits=9,_.distcode=W,_.distbits=5}function V(_,O,r,R){var q,P=_.state;return P.window===null&&(P.wsize=1<<P.wbits,P.wnext=0,P.whave=0,P.window=new l.Buf8(P.wsize)),R>=P.wsize?(l.arraySet(P.window,O,r-P.wsize,P.wsize,0),P.wnext=0,P.whave=P.wsize):(R<(q=P.wsize-P.wnext)&&(q=R),l.arraySet(P.window,O,r-R,q,P.wnext),(R-=q)?(l.arraySet(P.window,O,r-R,R,0),P.wnext=R,P.whave=P.wsize):(P.wnext+=q,P.wnext===P.wsize&&(P.wnext=0),P.whave<P.wsize&&(P.whave+=q))),0}x.inflateReset=p,x.inflateReset2=z,x.inflateResetKeep=y,x.inflateInit=function(_){return F(_,15)},x.inflateInit2=F,x.inflate=function(_,O){var r,R,q,P,$,L,J,A,E,X,H,M,nt,ot,Q,rt,at,it,lt,ut,t,B,I,f,a=0,k=new l.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!_||!_.state||!_.output||!_.input&&_.avail_in!==0)return i;(r=_.state).mode===12&&(r.mode=13),$=_.next_out,q=_.output,J=_.avail_out,P=_.next_in,R=_.input,L=_.avail_in,A=r.hold,E=r.bits,X=L,H=J,B=g;t:for(;;)switch(r.mode){case d:if(r.wrap===0){r.mode=13;break}for(;E<16;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(2&r.wrap&&A===35615){k[r.check=0]=255&A,k[1]=A>>>8&255,r.check=n(r.check,k,2,0),E=A=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&A)<<8)+(A>>8))%31){_.msg="incorrect header check",r.mode=30;break}if((15&A)!=8){_.msg="unknown compression method",r.mode=30;break}if(E-=4,t=8+(15&(A>>>=4)),r.wbits===0)r.wbits=t;else if(t>r.wbits){_.msg="invalid window size",r.mode=30;break}r.dmax=1<<t,_.adler=r.check=1,r.mode=512&A?10:12,E=A=0;break;case 2:for(;E<16;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(r.flags=A,(255&r.flags)!=8){_.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){_.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=A>>8&1),512&r.flags&&(k[0]=255&A,k[1]=A>>>8&255,r.check=n(r.check,k,2,0)),E=A=0,r.mode=3;case 3:for(;E<32;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}r.head&&(r.head.time=A),512&r.flags&&(k[0]=255&A,k[1]=A>>>8&255,k[2]=A>>>16&255,k[3]=A>>>24&255,r.check=n(r.check,k,4,0)),E=A=0,r.mode=4;case 4:for(;E<16;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}r.head&&(r.head.xflags=255&A,r.head.os=A>>8),512&r.flags&&(k[0]=255&A,k[1]=A>>>8&255,r.check=n(r.check,k,2,0)),E=A=0,r.mode=5;case 5:if(1024&r.flags){for(;E<16;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}r.length=A,r.head&&(r.head.extra_len=A),512&r.flags&&(k[0]=255&A,k[1]=A>>>8&255,r.check=n(r.check,k,2,0)),E=A=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(L<(M=r.length)&&(M=L),M&&(r.head&&(t=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),l.arraySet(r.head.extra,R,P,M,t)),512&r.flags&&(r.check=n(r.check,R,M,P)),L-=M,P+=M,r.length-=M),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(L===0)break t;for(M=0;t=R[P+M++],r.head&&t&&r.length<65536&&(r.head.name+=String.fromCharCode(t)),t&&M<L;);if(512&r.flags&&(r.check=n(r.check,R,M,P)),L-=M,P+=M,t)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(L===0)break t;for(M=0;t=R[P+M++],r.head&&t&&r.length<65536&&(r.head.comment+=String.fromCharCode(t)),t&&M<L;);if(512&r.flags&&(r.check=n(r.check,R,M,P)),L-=M,P+=M,t)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;E<16;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(A!==(65535&r.check)){_.msg="header crc mismatch",r.mode=30;break}E=A=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),_.adler=r.check=0,r.mode=12;break;case 10:for(;E<32;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}_.adler=r.check=s(A),E=A=0,r.mode=11;case 11:if(r.havedict===0)return _.next_out=$,_.avail_out=J,_.next_in=P,_.avail_in=L,r.hold=A,r.bits=E,2;_.adler=r.check=1,r.mode=12;case 12:if(O===5||O===6)break t;case 13:if(r.last){A>>>=7&E,E-=7&E,r.mode=27;break}for(;E<3;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}switch(r.last=1&A,E-=1,3&(A>>>=1)){case 0:r.mode=14;break;case 1:if(K(r),r.mode=20,O!==6)break;A>>>=2,E-=2;break t;case 2:r.mode=17;break;case 3:_.msg="invalid block type",r.mode=30}A>>>=2,E-=2;break;case 14:for(A>>>=7&E,E-=7&E;E<32;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if((65535&A)!=(A>>>16^65535)){_.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&A,E=A=0,r.mode=15,O===6)break t;case 15:r.mode=16;case 16:if(M=r.length){if(L<M&&(M=L),J<M&&(M=J),M===0)break t;l.arraySet(q,R,P,M,$),L-=M,P+=M,J-=M,$+=M,r.length-=M;break}r.mode=12;break;case 17:for(;E<14;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(r.nlen=257+(31&A),A>>>=5,E-=5,r.ndist=1+(31&A),A>>>=5,E-=5,r.ncode=4+(15&A),A>>>=4,E-=4,286<r.nlen||30<r.ndist){_.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;E<3;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}r.lens[D[r.have++]]=7&A,A>>>=3,E-=3}for(;r.have<19;)r.lens[D[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,I={bits:r.lenbits},B=v(0,r.lens,0,19,r.lencode,0,r.work,I),r.lenbits=I.bits,B){_.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;rt=(a=r.lencode[A&(1<<r.lenbits)-1])>>>16&255,at=65535&a,!((Q=a>>>24)<=E);){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(at<16)A>>>=Q,E-=Q,r.lens[r.have++]=at;else{if(at===16){for(f=Q+2;E<f;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(A>>>=Q,E-=Q,r.have===0){_.msg="invalid bit length repeat",r.mode=30;break}t=r.lens[r.have-1],M=3+(3&A),A>>>=2,E-=2}else if(at===17){for(f=Q+3;E<f;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}E-=Q,t=0,M=3+(7&(A>>>=Q)),A>>>=3,E-=3}else{for(f=Q+7;E<f;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}E-=Q,t=0,M=11+(127&(A>>>=Q)),A>>>=7,E-=7}if(r.have+M>r.nlen+r.ndist){_.msg="invalid bit length repeat",r.mode=30;break}for(;M--;)r.lens[r.have++]=t}}if(r.mode===30)break;if(r.lens[256]===0){_.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,I={bits:r.lenbits},B=v(w,r.lens,0,r.nlen,r.lencode,0,r.work,I),r.lenbits=I.bits,B){_.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,I={bits:r.distbits},B=v(m,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,I),r.distbits=I.bits,B){_.msg="invalid distances set",r.mode=30;break}if(r.mode=20,O===6)break t;case 20:r.mode=21;case 21:if(6<=L&&258<=J){_.next_out=$,_.avail_out=J,_.next_in=P,_.avail_in=L,r.hold=A,r.bits=E,u(_,H),$=_.next_out,q=_.output,J=_.avail_out,P=_.next_in,R=_.input,L=_.avail_in,A=r.hold,E=r.bits,r.mode===12&&(r.back=-1);break}for(r.back=0;rt=(a=r.lencode[A&(1<<r.lenbits)-1])>>>16&255,at=65535&a,!((Q=a>>>24)<=E);){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(rt&&(240&rt)==0){for(it=Q,lt=rt,ut=at;rt=(a=r.lencode[ut+((A&(1<<it+lt)-1)>>it)])>>>16&255,at=65535&a,!(it+(Q=a>>>24)<=E);){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}A>>>=it,E-=it,r.back+=it}if(A>>>=Q,E-=Q,r.back+=Q,r.length=at,rt===0){r.mode=26;break}if(32&rt){r.back=-1,r.mode=12;break}if(64&rt){_.msg="invalid literal/length code",r.mode=30;break}r.extra=15&rt,r.mode=22;case 22:if(r.extra){for(f=r.extra;E<f;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}r.length+=A&(1<<r.extra)-1,A>>>=r.extra,E-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;rt=(a=r.distcode[A&(1<<r.distbits)-1])>>>16&255,at=65535&a,!((Q=a>>>24)<=E);){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if((240&rt)==0){for(it=Q,lt=rt,ut=at;rt=(a=r.distcode[ut+((A&(1<<it+lt)-1)>>it)])>>>16&255,at=65535&a,!(it+(Q=a>>>24)<=E);){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}A>>>=it,E-=it,r.back+=it}if(A>>>=Q,E-=Q,r.back+=Q,64&rt){_.msg="invalid distance code",r.mode=30;break}r.offset=at,r.extra=15&rt,r.mode=24;case 24:if(r.extra){for(f=r.extra;E<f;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}r.offset+=A&(1<<r.extra)-1,A>>>=r.extra,E-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){_.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(J===0)break t;if(M=H-J,r.offset>M){if((M=r.offset-M)>r.whave&&r.sane){_.msg="invalid distance too far back",r.mode=30;break}nt=M>r.wnext?(M-=r.wnext,r.wsize-M):r.wnext-M,M>r.length&&(M=r.length),ot=r.window}else ot=q,nt=$-r.offset,M=r.length;for(J<M&&(M=J),J-=M,r.length-=M;q[$++]=ot[nt++],--M;);r.length===0&&(r.mode=21);break;case 26:if(J===0)break t;q[$++]=r.length,J--,r.mode=21;break;case 27:if(r.wrap){for(;E<32;){if(L===0)break t;L--,A|=R[P++]<<E,E+=8}if(H-=J,_.total_out+=H,r.total+=H,H&&(_.adler=r.check=r.flags?n(r.check,q,H,$-H):h(r.check,q,H,$-H)),H=J,(r.flags?A:s(A))!==r.check){_.msg="incorrect data check",r.mode=30;break}E=A=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;E<32;){if(L===0)break t;L--,A+=R[P++]<<E,E+=8}if(A!==(4294967295&r.total)){_.msg="incorrect length check",r.mode=30;break}E=A=0}r.mode=29;case 29:B=1;break t;case 30:B=-3;break t;case 31:return-4;default:return i}return _.next_out=$,_.avail_out=J,_.next_in=P,_.avail_in=L,r.hold=A,r.bits=E,(r.wsize||H!==_.avail_out&&r.mode<30&&(r.mode<27||O!==4))&&V(_,_.output,_.next_out,H-_.avail_out)?(r.mode=31,-4):(X-=_.avail_in,H-=_.avail_out,_.total_in+=X,_.total_out+=H,r.total+=H,r.wrap&&H&&(_.adler=r.check=r.flags?n(r.check,q,H,_.next_out-H):h(r.check,q,H,_.next_out-H)),_.data_type=r.bits+(r.last?64:0)+(r.mode===12?128:0)+(r.mode===20||r.mode===15?256:0),(X==0&&H===0||O===4)&&B===g&&(B=-5),B)},x.inflateEnd=function(_){if(!_||!_.state)return i;var O=_.state;return O.window&&(O.window=null),_.state=null,g},x.inflateGetHeader=function(_,O){var r;return _&&_.state?(2&(r=_.state).wrap)==0?i:((r.head=O).done=!1,g):i},x.inflateSetDictionary=function(_,O){var r,R=O.length;return _&&_.state?(r=_.state).wrap!==0&&r.mode!==11?i:r.mode===11&&h(1,O,R,0)!==r.check?-3:V(_,O,R,R)?(r.mode=31,-4):(r.havedict=1,g):i},x.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(b,U,x){"use strict";var l=b("../utils/common"),h=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],v=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];U.exports=function(w,m,g,i,d,e,o,s){var c,y,p,z,F,T,W,C,K,V=s.bits,_=0,O=0,r=0,R=0,q=0,P=0,$=0,L=0,J=0,A=0,E=null,X=0,H=new l.Buf16(16),M=new l.Buf16(16),nt=null,ot=0;for(_=0;_<=15;_++)H[_]=0;for(O=0;O<i;O++)H[m[g+O]]++;for(q=V,R=15;1<=R&&H[R]===0;R--);if(R<q&&(q=R),R===0)return d[e++]=20971520,d[e++]=20971520,s.bits=1,0;for(r=1;r<R&&H[r]===0;r++);for(q<r&&(q=r),_=L=1;_<=15;_++)if(L<<=1,(L-=H[_])<0)return-1;if(0<L&&(w===0||R!==1))return-1;for(M[1]=0,_=1;_<15;_++)M[_+1]=M[_]+H[_];for(O=0;O<i;O++)m[g+O]!==0&&(o[M[m[g+O]]++]=O);if(T=w===0?(E=nt=o,19):w===1?(E=h,X-=257,nt=n,ot-=257,256):(E=u,nt=v,-1),_=r,F=e,$=O=A=0,p=-1,z=(J=1<<(P=q))-1,w===1&&852<J||w===2&&592<J)return 1;for(;;){for(W=_-$,K=o[O]<T?(C=0,o[O]):o[O]>T?(C=nt[ot+o[O]],E[X+o[O]]):(C=96,0),c=1<<_-$,r=y=1<<P;d[F+(A>>$)+(y-=c)]=W<<24|C<<16|K|0,y!==0;);for(c=1<<_-1;A&c;)c>>=1;if(c!==0?(A&=c-1,A+=c):A=0,O++,--H[_]==0){if(_===R)break;_=m[g+o[O]]}if(q<_&&(A&z)!==p){for($===0&&($=q),F+=r,L=1<<(P=_-$);P+$<R&&!((L-=H[P+$])<=0);)P++,L<<=1;if(J+=1<<P,w===1&&852<J||w===2&&592<J)return 1;d[p=A&z]=q<<24|P<<16|F-e|0}}return A!==0&&(d[F+A]=_-$<<24|4194304),s.bits=q,0}},{"../utils/common":41}],51:[function(b,U,x){"use strict";U.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(b,U,x){"use strict";var l=b("../utils/common"),h=0,n=1;function u(a){for(var k=a.length;0<=--k;)a[k]=0}var v=0,w=29,m=256,g=m+1+w,i=30,d=19,e=2*g+1,o=15,s=16,c=7,y=256,p=16,z=17,F=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],W=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],K=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(g+2));u(V);var _=new Array(2*i);u(_);var O=new Array(512);u(O);var r=new Array(256);u(r);var R=new Array(w);u(R);var q,P,$,L=new Array(i);function J(a,k,D,N,S){this.static_tree=a,this.extra_bits=k,this.extra_base=D,this.elems=N,this.max_length=S,this.has_stree=a&&a.length}function A(a,k){this.dyn_tree=a,this.max_code=0,this.stat_desc=k}function E(a){return a<256?O[a]:O[256+(a>>>7)]}function X(a,k){a.pending_buf[a.pending++]=255&k,a.pending_buf[a.pending++]=k>>>8&255}function H(a,k,D){a.bi_valid>s-D?(a.bi_buf|=k<<a.bi_valid&65535,X(a,a.bi_buf),a.bi_buf=k>>s-a.bi_valid,a.bi_valid+=D-s):(a.bi_buf|=k<<a.bi_valid&65535,a.bi_valid+=D)}function M(a,k,D){H(a,D[2*k],D[2*k+1])}function nt(a,k){for(var D=0;D|=1&a,a>>>=1,D<<=1,0<--k;);return D>>>1}function ot(a,k,D){var N,S,j=new Array(o+1),G=0;for(N=1;N<=o;N++)j[N]=G=G+D[N-1]<<1;for(S=0;S<=k;S++){var Z=a[2*S+1];Z!==0&&(a[2*S]=nt(j[Z]++,Z))}}function Q(a){for(var k=0;k<g;k++)a.dyn_ltree[2*k]=0;for(k=0;k<i;k++)a.dyn_dtree[2*k]=0;for(k=0;k<d;k++)a.bl_tree[2*k]=0;a.dyn_ltree[2*y]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function rt(a){8<a.bi_valid?X(a,a.bi_buf):0<a.bi_valid&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function at(a,k,D,N){var S=2*k,j=2*D;return a[S]<a[j]||a[S]===a[j]&&N[k]<=N[D]}function it(a,k,D){for(var N=a.heap[D],S=D<<1;S<=a.heap_len&&(S<a.heap_len&&at(k,a.heap[S+1],a.heap[S],a.depth)&&S++,!at(k,N,a.heap[S],a.depth));)a.heap[D]=a.heap[S],D=S,S<<=1;a.heap[D]=N}function lt(a,k,D){var N,S,j,G,Z=0;if(a.last_lit!==0)for(;N=a.pending_buf[a.d_buf+2*Z]<<8|a.pending_buf[a.d_buf+2*Z+1],S=a.pending_buf[a.l_buf+Z],Z++,N===0?M(a,S,k):(M(a,(j=r[S])+m+1,k),(G=T[j])!==0&&H(a,S-=R[j],G),M(a,j=E(--N),D),(G=W[j])!==0&&H(a,N-=L[j],G)),Z<a.last_lit;);M(a,y,k)}function ut(a,k){var D,N,S,j=k.dyn_tree,G=k.stat_desc.static_tree,Z=k.stat_desc.has_stree,Y=k.stat_desc.elems,et=-1;for(a.heap_len=0,a.heap_max=e,D=0;D<Y;D++)j[2*D]!==0?(a.heap[++a.heap_len]=et=D,a.depth[D]=0):j[2*D+1]=0;for(;a.heap_len<2;)j[2*(S=a.heap[++a.heap_len]=et<2?++et:0)]=1,a.depth[S]=0,a.opt_len--,Z&&(a.static_len-=G[2*S+1]);for(k.max_code=et,D=a.heap_len>>1;1<=D;D--)it(a,j,D);for(S=Y;D=a.heap[1],a.heap[1]=a.heap[a.heap_len--],it(a,j,1),N=a.heap[1],a.heap[--a.heap_max]=D,a.heap[--a.heap_max]=N,j[2*S]=j[2*D]+j[2*N],a.depth[S]=(a.depth[D]>=a.depth[N]?a.depth[D]:a.depth[N])+1,j[2*D+1]=j[2*N+1]=S,a.heap[1]=S++,it(a,j,1),2<=a.heap_len;);a.heap[--a.heap_max]=a.heap[1],(function(tt,ht){var mt,ft,_t,st,bt,wt,dt=ht.dyn_tree,kt=ht.max_code,St=ht.stat_desc.static_tree,zt=ht.stat_desc.has_stree,Et=ht.stat_desc.extra_bits,xt=ht.stat_desc.extra_base,gt=ht.stat_desc.max_length,vt=0;for(st=0;st<=o;st++)tt.bl_count[st]=0;for(dt[2*tt.heap[tt.heap_max]+1]=0,mt=tt.heap_max+1;mt<e;mt++)gt<(st=dt[2*dt[2*(ft=tt.heap[mt])+1]+1]+1)&&(st=gt,vt++),dt[2*ft+1]=st,kt<ft||(tt.bl_count[st]++,bt=0,xt<=ft&&(bt=Et[ft-xt]),wt=dt[2*ft],tt.opt_len+=wt*(st+bt),zt&&(tt.static_len+=wt*(St[2*ft+1]+bt)));if(vt!==0){do{for(st=gt-1;tt.bl_count[st]===0;)st--;tt.bl_count[st]--,tt.bl_count[st+1]+=2,tt.bl_count[gt]--,vt-=2}while(0<vt);for(st=gt;st!==0;st--)for(ft=tt.bl_count[st];ft!==0;)kt<(_t=tt.heap[--mt])||(dt[2*_t+1]!==st&&(tt.opt_len+=(st-dt[2*_t+1])*dt[2*_t],dt[2*_t+1]=st),ft--)}})(a,k),ot(j,et,a.bl_count)}function t(a,k,D){var N,S,j=-1,G=k[1],Z=0,Y=7,et=4;for(G===0&&(Y=138,et=3),k[2*(D+1)+1]=65535,N=0;N<=D;N++)S=G,G=k[2*(N+1)+1],++Z<Y&&S===G||(Z<et?a.bl_tree[2*S]+=Z:S!==0?(S!==j&&a.bl_tree[2*S]++,a.bl_tree[2*p]++):Z<=10?a.bl_tree[2*z]++:a.bl_tree[2*F]++,j=S,et=(Z=0)===G?(Y=138,3):S===G?(Y=6,3):(Y=7,4))}function B(a,k,D){var N,S,j=-1,G=k[1],Z=0,Y=7,et=4;for(G===0&&(Y=138,et=3),N=0;N<=D;N++)if(S=G,G=k[2*(N+1)+1],!(++Z<Y&&S===G)){if(Z<et)for(;M(a,S,a.bl_tree),--Z!=0;);else S!==0?(S!==j&&(M(a,S,a.bl_tree),Z--),M(a,p,a.bl_tree),H(a,Z-3,2)):Z<=10?(M(a,z,a.bl_tree),H(a,Z-3,3)):(M(a,F,a.bl_tree),H(a,Z-11,7));j=S,et=(Z=0)===G?(Y=138,3):S===G?(Y=6,3):(Y=7,4)}}u(L);var I=!1;function f(a,k,D,N){H(a,(v<<1)+(N?1:0),3),(function(S,j,G,Z){rt(S),Z&&(X(S,G),X(S,~G)),l.arraySet(S.pending_buf,S.window,j,G,S.pending),S.pending+=G})(a,k,D,!0)}x._tr_init=function(a){I||((function(){var k,D,N,S,j,G=new Array(o+1);for(S=N=0;S<w-1;S++)for(R[S]=N,k=0;k<1<<T[S];k++)r[N++]=S;for(r[N-1]=S,S=j=0;S<16;S++)for(L[S]=j,k=0;k<1<<W[S];k++)O[j++]=S;for(j>>=7;S<i;S++)for(L[S]=j<<7,k=0;k<1<<W[S]-7;k++)O[256+j++]=S;for(D=0;D<=o;D++)G[D]=0;for(k=0;k<=143;)V[2*k+1]=8,k++,G[8]++;for(;k<=255;)V[2*k+1]=9,k++,G[9]++;for(;k<=279;)V[2*k+1]=7,k++,G[7]++;for(;k<=287;)V[2*k+1]=8,k++,G[8]++;for(ot(V,g+1,G),k=0;k<i;k++)_[2*k+1]=5,_[2*k]=nt(k,5);q=new J(V,T,m+1,g,o),P=new J(_,W,0,i,o),$=new J(new Array(0),C,0,d,c)})(),I=!0),a.l_desc=new A(a.dyn_ltree,q),a.d_desc=new A(a.dyn_dtree,P),a.bl_desc=new A(a.bl_tree,$),a.bi_buf=0,a.bi_valid=0,Q(a)},x._tr_stored_block=f,x._tr_flush_block=function(a,k,D,N){var S,j,G=0;0<a.level?(a.strm.data_type===2&&(a.strm.data_type=(function(Z){var Y,et=4093624447;for(Y=0;Y<=31;Y++,et>>>=1)if(1&et&&Z.dyn_ltree[2*Y]!==0)return h;if(Z.dyn_ltree[18]!==0||Z.dyn_ltree[20]!==0||Z.dyn_ltree[26]!==0)return n;for(Y=32;Y<m;Y++)if(Z.dyn_ltree[2*Y]!==0)return n;return h})(a)),ut(a,a.l_desc),ut(a,a.d_desc),G=(function(Z){var Y;for(t(Z,Z.dyn_ltree,Z.l_desc.max_code),t(Z,Z.dyn_dtree,Z.d_desc.max_code),ut(Z,Z.bl_desc),Y=d-1;3<=Y&&Z.bl_tree[2*K[Y]+1]===0;Y--);return Z.opt_len+=3*(Y+1)+5+5+4,Y})(a),S=a.opt_len+3+7>>>3,(j=a.static_len+3+7>>>3)<=S&&(S=j)):S=j=D+5,D+4<=S&&k!==-1?f(a,k,D,N):a.strategy===4||j===S?(H(a,2+(N?1:0),3),lt(a,V,_)):(H(a,4+(N?1:0),3),(function(Z,Y,et,tt){var ht;for(H(Z,Y-257,5),H(Z,et-1,5),H(Z,tt-4,4),ht=0;ht<tt;ht++)H(Z,Z.bl_tree[2*K[ht]+1],3);B(Z,Z.dyn_ltree,Y-1),B(Z,Z.dyn_dtree,et-1)})(a,a.l_desc.max_code+1,a.d_desc.max_code+1,G+1),lt(a,a.dyn_ltree,a.dyn_dtree)),Q(a),N&&rt(a)},x._tr_tally=function(a,k,D){return a.pending_buf[a.d_buf+2*a.last_lit]=k>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&k,a.pending_buf[a.l_buf+a.last_lit]=255&D,a.last_lit++,k===0?a.dyn_ltree[2*D]++:(a.matches++,k--,a.dyn_ltree[2*(r[D]+m+1)]++,a.dyn_dtree[2*E(k)]++),a.last_lit===a.lit_bufsize-1},x._tr_align=function(a){H(a,2,3),M(a,y,V),(function(k){k.bi_valid===16?(X(k,k.bi_buf),k.bi_buf=0,k.bi_valid=0):8<=k.bi_valid&&(k.pending_buf[k.pending++]=255&k.bi_buf,k.bi_buf>>=8,k.bi_valid-=8)})(a)}},{"../utils/common":41}],53:[function(b,U,x){"use strict";U.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(b,U,x){(function(l){(function(h,n){"use strict";if(!h.setImmediate){var u,v,w,m,g=1,i={},d=!1,e=h.document,o=Object.getPrototypeOf&&Object.getPrototypeOf(h);o=o&&o.setTimeout?o:h,u={}.toString.call(h.process)==="[object process]"?function(p){process.nextTick(function(){c(p)})}:(function(){if(h.postMessage&&!h.importScripts){var p=!0,z=h.onmessage;return h.onmessage=function(){p=!1},h.postMessage("","*"),h.onmessage=z,p}})()?(m="setImmediate$"+Math.random()+"$",h.addEventListener?h.addEventListener("message",y,!1):h.attachEvent("onmessage",y),function(p){h.postMessage(m+p,"*")}):h.MessageChannel?((w=new MessageChannel).port1.onmessage=function(p){c(p.data)},function(p){w.port2.postMessage(p)}):e&&"onreadystatechange"in e.createElement("script")?(v=e.documentElement,function(p){var z=e.createElement("script");z.onreadystatechange=function(){c(p),z.onreadystatechange=null,v.removeChild(z),z=null},v.appendChild(z)}):function(p){setTimeout(c,0,p)},o.setImmediate=function(p){typeof p!="function"&&(p=new Function(""+p));for(var z=new Array(arguments.length-1),F=0;F<z.length;F++)z[F]=arguments[F+1];return i[g]={callback:p,args:z},u(g),g++},o.clearImmediate=s}function s(p){delete i[p]}function c(p){if(d)setTimeout(c,0,p);else{var z=i[p];if(z){d=!0;try{(function(F){var T=F.callback,W=F.args;switch(W.length){case 0:T();break;case 1:T(W[0]);break;case 2:T(W[0],W[1]);break;case 3:T(W[0],W[1],W[2]);break;default:T.apply(n,W)}})(z)}finally{s(p),d=!1}}}}function y(p){p.source===h&&typeof p.data=="string"&&p.data.indexOf(m)===0&&c(+p.data.slice(m.length))}})(typeof self>"u"?l===void 0?this:l:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})),Ot=At();export{Ot as default};
|
|
3
3
|
|
|
4
|
-
//# sourceMappingURL=jszip.min-
|
|
4
|
+
//# sourceMappingURL=jszip.min-B3Qii_az.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as o}from"./chunk-YOKDWASO-
|
|
1
|
+
import{i as o}from"./chunk-YOKDWASO-DTTU1wSE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.12.3"};var d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="73f67661-2c71-4a27-a339-bbe1440e4ebd",e._sentryDebugIdIdentifier="sentry-dbid-73f67661-2c71-4a27-a339-bbe1440e4ebd")}catch{}})();export{o as Mermaid};
|