@nuxt/devtools 1.0.0-beta.0 → 1.0.0-beta.1

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.
Files changed (106) hide show
  1. package/dist/chunks/module-main.mjs +137 -45
  2. package/dist/chunks/vscode.mjs +3 -1
  3. package/dist/client/200.html +17 -17
  4. package/dist/client/404.html +17 -17
  5. package/dist/client/_nuxt/{CodeDiff.vue.3beaa134.js → CodeDiff.vue.09a831fc.js} +1 -1
  6. package/dist/client/_nuxt/{ComposableItem.vue.136c5104.js → ComposableItem.vue.770ce9d1.js} +1 -1
  7. package/dist/client/_nuxt/{DataSchemaButton.vue.125423b7.js → DataSchemaButton.vue.65a9244c.js} +1 -1
  8. package/dist/client/_nuxt/{DataSchemaDrawer.8ac6b677.js → DataSchemaDrawer.939e0d36.js} +1 -1
  9. package/dist/client/_nuxt/{DurationDisplay.vue.c49b4e64.js → DurationDisplay.vue.3abddd08.js} +1 -1
  10. package/dist/client/_nuxt/{FilepathItem.vue.5af0b5df.js → FilepathItem.vue.66158bcd.js} +1 -1
  11. package/dist/client/_nuxt/{HelpFab.vue.98c902f4.js → HelpFab.vue.074157ff.js} +1 -1
  12. package/dist/client/_nuxt/LaunchPage.vue.20d8d836.js +1 -0
  13. package/dist/client/_nuxt/{NBadge.98d5d309.js → NBadge.532c6829.js} +1 -1
  14. package/dist/client/_nuxt/NCheckbox.vue.83a6e70e.js +1 -0
  15. package/dist/client/_nuxt/{NCodeBlock.vue.adf1e9b4.js → NCodeBlock.vue.d4a74ca4.js} +2 -2
  16. package/dist/client/_nuxt/{NDrawer.vue.8e620517.js → NDrawer.vue.f03c3dec.js} +1 -1
  17. package/dist/client/_nuxt/{NDropdown.vue.b2f7aaef.js → NDropdown.vue.885f70c3.js} +1 -1
  18. package/dist/client/_nuxt/{NIconTitle.vue.bf8093eb.js → NIconTitle.vue.5caf9fc5.js} +1 -1
  19. package/dist/client/_nuxt/{NLink.vue.0e98999b.js → NLink.vue.c05eef3c.js} +1 -1
  20. package/dist/client/_nuxt/{NMarkdown.vue.b0e8b2fc.js → NMarkdown.vue.52b3ce56.js} +1 -1
  21. package/dist/client/_nuxt/NNavbar.vue.0f176f87.js +1 -0
  22. package/dist/client/_nuxt/{NSectionBlock.4347cc14.js → NSectionBlock.43816001.js} +1 -1
  23. package/dist/client/_nuxt/{NSelect.vue.4c22d30e.js → NSelect.vue.dcac9c73.js} +1 -1
  24. package/dist/client/_nuxt/{NSelectTabs.vue.c9be0aa2.js → NSelectTabs.vue.411a7347.js} +1 -1
  25. package/dist/client/_nuxt/{NSwitch.vue.de333089.js → NSwitch.vue.aacb5de3.js} +1 -1
  26. package/dist/client/_nuxt/{NTip.vue.770a171a.js → NTip.vue.7a94f00d.js} +1 -1
  27. package/dist/client/_nuxt/{StateEditor.vue.332bb451.js → StateEditor.vue.e862f0c1.js} +1 -1
  28. package/dist/client/_nuxt/analyze-build.2cdd206f.js +1 -0
  29. package/dist/client/_nuxt/assets.41fcf77e.js +16 -0
  30. package/dist/client/_nuxt/{client.3f2665f1.js → client.ab169146.js} +1 -1
  31. package/dist/client/_nuxt/components.81bb7f4d.js +98 -0
  32. package/dist/client/_nuxt/{custom-_name_.c49c72a2.js → custom-_name_.3060f125.js} +1 -1
  33. package/dist/client/_nuxt/{default.3ba7d10b.js → default.de670135.js} +1 -1
  34. package/dist/client/_nuxt/entry.9effa704.js +27 -0
  35. package/dist/client/_nuxt/entry.ebd8706b.css +1 -0
  36. package/dist/client/_nuxt/{error-404.9d2aaad9.js → error-404.b43ed6fa.js} +1 -1
  37. package/dist/client/_nuxt/{error-500.20d1b3ce.js → error-500.9a32d319.js} +1 -1
  38. package/dist/client/_nuxt/{full.6d0fd7cf.js → full.44b6f3d9.js} +1 -1
  39. package/dist/client/_nuxt/{hooks.908144b2.js → hooks.85310903.js} +1 -1
  40. package/dist/client/_nuxt/imports.3e92b5b9.js +1 -0
  41. package/dist/client/_nuxt/index.370f8c55.js +17 -0
  42. package/dist/client/_nuxt/{index.eb95211d.js → index.780a9ee0.js} +1 -1
  43. package/dist/client/_nuxt/json-editor-vue.724e0801.js +129 -0
  44. package/dist/client/_nuxt/{middleware.9e4b2529.js → middleware.44a34c7b.js} +1 -1
  45. package/dist/client/_nuxt/modules.24081f84.js +2 -0
  46. package/dist/client/_nuxt/{none.27bf71df.js → none.06949a5f.js} +1 -1
  47. package/dist/client/_nuxt/{open-graph.b95ebacd.js → open-graph.6cf823d3.js} +2 -2
  48. package/dist/client/_nuxt/{overview.4991be1e.js → overview.86a88207.js} +1 -1
  49. package/dist/client/_nuxt/{pages.708b9e25.js → pages.23eb0566.js} +1 -1
  50. package/dist/client/_nuxt/{payload.eaf10e21.js → payload.1baa204b.js} +1 -1
  51. package/dist/client/_nuxt/{plugins.f02b2c56.js → plugins.f261769b.js} +1 -1
  52. package/dist/client/_nuxt/runtime-configs.a5615107.js +1 -0
  53. package/dist/client/_nuxt/server-routes.2022f4ba.js +9 -0
  54. package/dist/client/_nuxt/settings.ab7b45b3.js +1 -0
  55. package/dist/client/_nuxt/{state-components.ca4a58b1.js → state-components.1d5849c5.js} +1 -1
  56. package/dist/client/_nuxt/state-modules.78318316.js +1 -0
  57. package/dist/client/_nuxt/storage-options.8ca9ecbc.js +1 -0
  58. package/dist/client/_nuxt/{storage.27117a31.js → storage.cb6d643c.js} +1 -1
  59. package/dist/client/_nuxt/{terminals.cdead889.js → terminals.06dde221.js} +2 -2
  60. package/dist/client/_nuxt/timeline.5add59be.js +29 -0
  61. package/dist/client/_nuxt/{unocss-runtime.ddd835d7.js → unocss-runtime.1dfe0ac4.js} +2 -2
  62. package/dist/client/_nuxt/virtual-files.804fdba7.js +1 -0
  63. package/dist/client/index.html +17 -17
  64. package/dist/client/modules/analyze-build/index.html +17 -17
  65. package/dist/client/modules/assets/index.html +17 -17
  66. package/dist/client/modules/components/index.html +17 -17
  67. package/dist/client/modules/hooks/index.html +17 -17
  68. package/dist/client/modules/imports/index.html +17 -17
  69. package/dist/client/modules/middleware/index.html +17 -17
  70. package/dist/client/modules/modules/index.html +17 -17
  71. package/dist/client/modules/open-graph/index.html +17 -17
  72. package/dist/client/modules/overview/index.html +17 -17
  73. package/dist/client/modules/pages/index.html +17 -17
  74. package/dist/client/modules/payload/index.html +17 -17
  75. package/dist/client/modules/plugins/index.html +17 -17
  76. package/dist/client/modules/runtime-configs/index.html +17 -17
  77. package/dist/client/modules/server-routes/index.html +17 -17
  78. package/dist/client/modules/storage/index.html +17 -17
  79. package/dist/client/modules/terminals/index.html +17 -17
  80. package/dist/client/modules/timeline/index.html +17 -17
  81. package/dist/client/modules/virtual-files/index.html +17 -17
  82. package/dist/client/settings/index.html +17 -17
  83. package/dist/module.json +1 -1
  84. package/dist/module.mjs +1 -1
  85. package/dist/shared/devtools.d18bab28.mjs +84 -0
  86. package/package.json +32 -29
  87. package/dist/client/_nuxt/LaunchPage.vue.805f9595.js +0 -1
  88. package/dist/client/_nuxt/NCheckbox.vue.6fb2ece1.js +0 -1
  89. package/dist/client/_nuxt/Navbar.vue.371e4d0a.js +0 -1
  90. package/dist/client/_nuxt/analyze-build.281c50c1.js +0 -1
  91. package/dist/client/_nuxt/assets.ca8faf7a.js +0 -16
  92. package/dist/client/_nuxt/components.a8900a78.js +0 -98
  93. package/dist/client/_nuxt/entry.1c0836ed.css +0 -1
  94. package/dist/client/_nuxt/entry.e01776ec.js +0 -27
  95. package/dist/client/_nuxt/imports.d7bd415a.js +0 -1
  96. package/dist/client/_nuxt/index.a0a2f0b3.js +0 -17
  97. package/dist/client/_nuxt/json-editor-vue.b22bf91c.js +0 -129
  98. package/dist/client/_nuxt/modules.fd214f26.js +0 -2
  99. package/dist/client/_nuxt/runtime-configs.63235af8.js +0 -1
  100. package/dist/client/_nuxt/server-routes.88eebd4c.js +0 -9
  101. package/dist/client/_nuxt/settings.7dbb31cf.js +0 -1
  102. package/dist/client/_nuxt/state-modules.6d6b039c.js +0 -1
  103. package/dist/client/_nuxt/storage-options.ab028b2a.js +0 -1
  104. package/dist/client/_nuxt/timeline.ddc61557.js +0 -29
  105. package/dist/client/_nuxt/virtual-files.9da3562d.js +0 -1
  106. package/dist/shared/devtools.c28fc9a7.mjs +0 -80
@@ -1,4 +1,4 @@
1
- import{_ as kE}from"./NSelect.vue.4c22d30e.js";import{c as Oe,g as m0,d as OE,u as CE,r as qf,a as Eg,b as EE,w as Ag,e as AE,f as Fn,o as _r,h as Dl,i as Ul,j as ta,k as ya,l as FE,m as xl,F as Fg,n as Pg,t as Hf,p as Jl,T as PE,_ as IE}from"./entry.e01776ec.js";import{_ as ME}from"./NSwitch.vue.de333089.js";import{_ as jE}from"./NDropdown.vue.b2f7aaef.js";import{_ as RE}from"./NCodeBlock.vue.adf1e9b4.js";import{_ as BE}from"./NDrawer.vue.8e620517.js";import"./client.3f2665f1.js";var Vf={},Kf={},Je={};(function(e){var t=Oe&&Oe.__awaiter||function(V,Q,q,A){return new(q||(q=Promise))(function(x,te){function ce(Ie){try{be(A.next(Ie))}catch(tt){te(tt)}}function ye(Ie){try{be(A.throw(Ie))}catch(tt){te(tt)}}function be(Ie){Ie.done?x(Ie.value):new q(function(tt){tt(Ie.value)}).then(ce,ye)}be((A=A.apply(V,Q||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.hashCodeInit=17;function n(V){let Q=0;for(let q=0;q<V.length;q++){const A=V.charCodeAt(q);Q=(Q<<5)-Q+A,Q=Q&Q}return Q}e.hashString=n;function i(V,Q){return V*31+(Q|0)|0}e.addHashCode=i;function s(V,Q){return V!==void 0?V:Q}e.withDefault=s;function u(V,Q){if(V!==void 0)return Q(V)}e.definedMap=u;function a(V,Q,q){return s(u(V,q),Q)}e.definedMapWithDefault=a;function f(V,Q){return V==null?!1:Object.prototype.hasOwnProperty.call(V,Q)}e.hasOwnProperty=f;function y(V,Q){for(const q of V)if(Q(q))return q}e.iterableFind=y;function v(V,Q){for(const q of V)if(!Q(q))return!1;return!0}e.iterableEvery=v;function S(V,Q){for(const q of V)if(Q(q))return!0;return!1}e.iterableSome=S;function C(V){for(const Q of V)return Q}e.iterableFirst=C;function R(V){let Q;for(const q of V)(Q===void 0||q>Q)&&(Q=q);return Q}e.iterableMax=R;function _(V,Q){let q,A;for(const x of V){const te=Q(x);(q===void 0||te<q)&&(q=te,A=x)}return A}e.iterableMinBy=_;function k(V,Q,q){let A=Q;for(const x of V)A=q(A,x);return A}e.iterableReduce=k;function*w(V){let Q=0;for(const q of V)yield[Q,q],Q+=1}e.iterableEnumerate=w;function*M(V,Q){let q=0;for(const A of V)q>=Q?yield A:q+=1}e.iterableSkip=M;function F(V,Q){const q=V.length;if(!(Q>q))return V[q-Q]}e.arrayGetFromEnd=F;function I(V){return F(V,1)}e.arrayLast=I;function G(V){const Q=V.length;if(Q===0)throw new Error("Cannot pop empty array");return V.slice(0,Q-1)}e.arrayPop=G;function H(V,Q){const q=[];for(const A of Q)q.length>0&&q.push(V),q.push(A);return q}e.arrayIntercalate=H;function J(V,Q){return t(this,void 0,void 0,function*(){const q=[];let A=0;for(const x of V)q.push(yield Q(x,A)),A+=1;return q})}e.arrayMapSync=J;function D(V,Q){return V<Q?-1:V>Q?1:0}function P(V,Q){return V.sort((q,A)=>D(Q(q),Q(A)))}e.arraySortByInto=P;function b(V){return Array.isArray(V)?V:Array.from(V)}e.toReadonlyArray=b;function L(V,Q){const q=new Map;for(const[A,x]of V)q.set(A,Q(x,A));return q}e.mapMap=L;function N(V){for(const Q of V.values())return Q}e.mapFirst=N;function O(V,Q){for(const q of V.values())if(q===Q)return!0;return!1}e.mapContains=O;function h(V,Q){for(const[q,A]of V)if(Q(A,q))return!0;return!1}e.mapSome=h;function o(V,Q){for(const[q,A]of Q)V.set(q,A);return V}e.mapMergeInto=o;function l(V,Q){const q=new Map(V);return o(q,Q),q}e.mapMerge=l;function d(V,Q,q){for(const[A,x]of q){const te=V.get(A),ce=te===void 0?x:Q(te,x,A);V.set(A,ce)}return V}e.mapMergeWithInto=d;function p(V,Q,q){const A=new Map(V);return d(A,Q,q),A}e.mapMergeWith=p;function T(V,Q){const q=new Map;for(const[A,x]of V)Q(x,A)&&q.set(A,x);return q}e.mapFilter=T;function j(V,Q){const q=new Map;for(const[A,x]of V){const te=Q(x,A);te!==void 0&&q.set(A,te)}return q}e.mapFilterMap=j;function B(V,Q){return P(Array.from(V),([q,A])=>Q(A,q))}e.mapSortToArray=B;function m(V,Q){return new Map(B(V,Q))}e.mapSortBy=m;function E(V){return m(V,(Q,q)=>q)}e.mapSortByKey=E;function z(V,Q){const q=new Map;for(const[A,x]of V){const[te,ce]=Q(x,A);q.set(te,ce)}return q}e.mapMapEntries=z;function U(V,Q,q){return V.set(Q,q(V.get(Q))),V}e.mapUpdateInto=U;function K(V){const Q=new Map;for(const q of Object.getOwnPropertyNames(V))Q.set(q,V[q]);return Q}e.mapFromObject=K;function Y(V){const Q={};for(const[q,A]of V)Q[q]=A;return Q}e.mapToObject=Y;function re(V,Q){const q=new Map;for(const A of V)q.set(A,Q(A));return q}e.mapFromIterable=re;function Z(V,Q){for(const[q,A]of V)if(Q(A,q))return A}e.mapFind=Z;function X(V){const Q=new Map;for(const q of V)for(const[A,x]of q){let te=Q.get(A);te===void 0&&(te=[],Q.set(A,te)),te.push(x)}return Q}e.mapTranspose=X;function se(V,Q){return t(this,void 0,void 0,function*(){const q=new Map;for(const[A,x]of V)q.set(A,yield Q(x,A));return q})}e.mapMapSync=se;function de(V,Q){for(const q of Q)if(!V.has(q))return!1;return!0}e.setIsSuperset=de;function ge(V,Q){for(const q of Q)for(const A of q)V.add(A);return V}e.setUnionManyInto=ge;function Se(V,...Q){return ge(V,Q)}e.setUnionInto=Se;function oe(V,Q){const q=new Set;for(const A of V)Q.has(A)&&q.add(A);return q}e.setIntersect=oe;function ae(V,Q){const q=new Set(V);for(const A of Q)q.delete(A);return q}e.setSubtract=ae;function ie(...V){const Q=new Set;return Se(Q,...V),Q}e.setUnion=ie;function ue(V,Q){const q=new Set;for(const A of V)q.add(Q(A));return q}e.setMap=ue;function me(V,Q){const q=new Set;for(const A of V)Q(A)&&q.add(A);return q}e.setFilter=me;function ke(V,Q){const q=new Set;for(const A of V){const x=Q(A);x!==void 0&&q.add(x)}return q}e.setFilterMap=ke;function Ce(V,Q){return new Set(P(Array.from(V),Q))}e.setSortBy=Ce;function Ae(V,Q){const q=new Map;for(const A of V){const x=Q(A);let te=q.get(x);te===void 0&&(te=new Set,q.set(x,te)),te.add(A)}return q}e.setGroupBy=Ae;function je(V){return V instanceof Set?V:new Set(V)}e.toReadonlySet=je;class Pe{constructor(){this._map=new Map}set(Q,q){let A=nt(Q)|0;for(;;){const x=this._map.get(A);if(x===void 0){this._map.set(A,[Q,q]);return}if(Re(Q,x[0])){x[1]=q;return}A=A+1|0}}get(Q){let q=nt(Q)|0;for(;;){const A=this._map.get(q);if(A===void 0)return;if(Re(Q,A[0]))return A[1];q=q+1|0}}has(Q){return this.get(Q)!==void 0}*values(){for(const[,[,Q]]of this._map)yield Q}}e.EqualityMap=Pe;function Re(V,Q){if(V===Q)return!0;if(V===void 0||Q===void 0||V===null||Q===null)return!1;if(typeof V.equals=="function"&&typeof Q.equals=="function")return V.equals(Q);if(V instanceof Set&&Q instanceof Set){if(V.size!==Q.size)return!1;for(const q of V)if(!Q.has(q))return!1;return!0}if(V instanceof Map&&Q instanceof Map){if(V.size!==Q.size)return!1;for(const[q,A]of V){const x=Q.get(q);if(!Re(A,x))return!1}return!0}if(Array.isArray(V)&&Array.isArray(Q)){const q=V.length;if(q!==Q.length)return!1;for(let A=0;A<q;A++)if(!Re(V[A],Q[A]))return!1;return!0}return!1}e.areEqual=Re;function nt(V){if(typeof V=="number")return V|0;if(typeof V=="string")return n(V);let Q=e.hashCodeInit;if(V===void 0)return Q;if(V===!0)return Q+1|0;if(V===!1)return Q+2|0;if(V===null)return Q+3|0;if(typeof V.hashCode=="function")return V.hashCode();if(V instanceof Set){for(const q of V)Q+=nt(q);return Q}if(V instanceof Map){let q=e.hashCodeInit;for(const[A,x]of V)q+=nt(A),Q+=nt(x);return i(q,Q)}if(Array.isArray(V)){for(const q of V)Q=i(Q,nt(q));return Q}throw new Error(`Cannot hash ${V}`)}e.hashCodeOf=nt})(Je);var Zf={},Bh={},Qf={},Ne={},y0={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(typeof self<"u"?self:typeof window<"u"?window:typeof Oe<"u"?Oe:Oe,function(){var n="3.7.5",i=n,s=typeof atob=="function",u=typeof btoa=="function",a=typeof Buffer=="function",f=typeof TextDecoder=="function"?new TextDecoder:void 0,y=typeof TextEncoder=="function"?new TextEncoder:void 0,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S=Array.prototype.slice.call(v),C=function(Z){var X={};return Z.forEach(function(se,de){return X[se]=de}),X}(S),R=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),k=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(Z){return new Uint8Array(Array.prototype.slice.call(Z,0))},w=function(Z){return Z.replace(/=/g,"").replace(/[+\/]/g,function(X){return X=="+"?"-":"_"})},M=function(Z){return Z.replace(/[^A-Za-z0-9\+\/]/g,"")},F=function(Z){for(var X,se,de,ge,Se="",oe=Z.length%3,ae=0;ae<Z.length;){if((se=Z.charCodeAt(ae++))>255||(de=Z.charCodeAt(ae++))>255||(ge=Z.charCodeAt(ae++))>255)throw new TypeError("invalid character found");X=se<<16|de<<8|ge,Se+=S[X>>18&63]+S[X>>12&63]+S[X>>6&63]+S[X&63]}return oe?Se.slice(0,oe-3)+"===".substring(oe):Se},I=u?function(Z){return btoa(Z)}:a?function(Z){return Buffer.from(Z,"binary").toString("base64")}:F,G=a?function(Z){return Buffer.from(Z).toString("base64")}:function(Z){for(var X=4096,se=[],de=0,ge=Z.length;de<ge;de+=X)se.push(_.apply(null,Z.subarray(de,de+X)));return I(se.join(""))},H=function(Z,X){return X===void 0&&(X=!1),X?w(G(Z)):G(Z)},J=function(Z){if(Z.length<2){var X=Z.charCodeAt(0);return X<128?Z:X<2048?_(192|X>>>6)+_(128|X&63):_(224|X>>>12&15)+_(128|X>>>6&63)+_(128|X&63)}else{var X=65536+(Z.charCodeAt(0)-55296)*1024+(Z.charCodeAt(1)-56320);return _(240|X>>>18&7)+_(128|X>>>12&63)+_(128|X>>>6&63)+_(128|X&63)}},D=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,P=function(Z){return Z.replace(D,J)},b=a?function(Z){return Buffer.from(Z,"utf8").toString("base64")}:y?function(Z){return G(y.encode(Z))}:function(Z){return I(P(Z))},L=function(Z,X){return X===void 0&&(X=!1),X?w(b(Z)):b(Z)},N=function(Z){return L(Z,!0)},O=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,h=function(Z){switch(Z.length){case 4:var X=(7&Z.charCodeAt(0))<<18|(63&Z.charCodeAt(1))<<12|(63&Z.charCodeAt(2))<<6|63&Z.charCodeAt(3),se=X-65536;return _((se>>>10)+55296)+_((se&1023)+56320);case 3:return _((15&Z.charCodeAt(0))<<12|(63&Z.charCodeAt(1))<<6|63&Z.charCodeAt(2));default:return _((31&Z.charCodeAt(0))<<6|63&Z.charCodeAt(1))}},o=function(Z){return Z.replace(O,h)},l=function(Z){if(Z=Z.replace(/\s+/g,""),!R.test(Z))throw new TypeError("malformed base64.");Z+="==".slice(2-(Z.length&3));for(var X,se="",de,ge,Se=0;Se<Z.length;)X=C[Z.charAt(Se++)]<<18|C[Z.charAt(Se++)]<<12|(de=C[Z.charAt(Se++)])<<6|(ge=C[Z.charAt(Se++)]),se+=de===64?_(X>>16&255):ge===64?_(X>>16&255,X>>8&255):_(X>>16&255,X>>8&255,X&255);return se},d=s?function(Z){return atob(M(Z))}:a?function(Z){return Buffer.from(Z,"base64").toString("binary")}:l,p=a?function(Z){return k(Buffer.from(Z,"base64"))}:function(Z){return k(d(Z).split("").map(function(X){return X.charCodeAt(0)}))},T=function(Z){return p(B(Z))},j=a?function(Z){return Buffer.from(Z,"base64").toString("utf8")}:f?function(Z){return f.decode(p(Z))}:function(Z){return o(d(Z))},B=function(Z){return M(Z.replace(/[-_]/g,function(X){return X=="-"?"+":"/"}))},m=function(Z){return j(B(Z))},E=function(Z){if(typeof Z!="string")return!1;var X=Z.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(X)||!/[^\s0-9a-zA-Z\-_]/.test(X)},z=function(Z){return{value:Z,enumerable:!1,writable:!0,configurable:!0}},U=function(){var Z=function(X,se){return Object.defineProperty(String.prototype,X,z(se))};Z("fromBase64",function(){return m(this)}),Z("toBase64",function(X){return L(this,X)}),Z("toBase64URI",function(){return L(this,!0)}),Z("toBase64URL",function(){return L(this,!0)}),Z("toUint8Array",function(){return T(this)})},K=function(){var Z=function(X,se){return Object.defineProperty(Uint8Array.prototype,X,z(se))};Z("toBase64",function(X){return H(this,X)}),Z("toBase64URI",function(){return H(this,!0)}),Z("toBase64URL",function(){return H(this,!0)})},Y=function(){U(),K()},re={version:n,VERSION:i,atob:d,atobPolyfill:l,btoa:I,btoaPolyfill:F,fromBase64:m,toBase64:L,encode:L,encodeURI:N,encodeURL:N,utob:P,btou:o,decode:m,isValid:E,fromUint8Array:H,toUint8Array:T,extendString:U,extendUint8Array:K,extendBuiltins:Y};return re.Base64={},Object.keys(re).forEach(function(Z){return re.Base64[Z]=re[Z]}),re})})(y0);var DE=y0.exports,lr={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(u,a){return Object.prototype.hasOwnProperty.call(u,a)}e.assign=function(u){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var f=a.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var y in f)n(f,y)&&(u[y]=f[y])}}return u},e.shrinkBuf=function(u,a){return u.length===a?u:u.subarray?u.subarray(0,a):(u.length=a,u)};var i={arraySet:function(u,a,f,y,v){if(a.subarray&&u.subarray){u.set(a.subarray(f,f+y),v);return}for(var S=0;S<y;S++)u[v+S]=a[f+S]},flattenChunks:function(u){var a,f,y,v,S,C;for(y=0,a=0,f=u.length;a<f;a++)y+=u[a].length;for(C=new Uint8Array(y),v=0,a=0,f=u.length;a<f;a++)S=u[a],C.set(S,v),v+=S.length;return C}},s={arraySet:function(u,a,f,y,v){for(var S=0;S<y;S++)u[v+S]=a[f+S]},flattenChunks:function(u){return[].concat.apply([],u)}};e.setTyped=function(u){u?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,s))},e.setTyped(t)})(lr);var Ia={},ji={},Oo={},UE=lr,xE=4,Ig=0,Mg=1,JE=2;function Co(e){for(var t=e.length;--t>=0;)e[t]=0}var zE=0,g0=1,WE=2,GE=3,qE=258,Dh=29,Ma=256,_a=Ma+1+Dh,yo=30,Uh=19,b0=2*_a+1,cs=15,Xf=16,HE=7,xh=256,T0=16,S0=17,v0=18,nh=[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],tu=[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],VE=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w0=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],KE=512,Qi=new Array((_a+2)*2);Co(Qi);var ga=new Array(yo*2);Co(ga);var Na=new Array(KE);Co(Na);var ka=new Array(qE-GE+1);Co(ka);var Jh=new Array(Dh);Co(Jh);var gu=new Array(yo);Co(gu);function Yf(e,t,n,i,s){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=s,this.has_stree=e&&e.length}var L0,_0,N0;function $f(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function k0(e){return e<256?Na[e]:Na[256+(e>>>7)]}function Oa(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function wn(e,t,n){e.bi_valid>Xf-n?(e.bi_buf|=t<<e.bi_valid&65535,Oa(e,e.bi_buf),e.bi_buf=t>>Xf-e.bi_valid,e.bi_valid+=n-Xf):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Oi(e,t,n){wn(e,n[t*2],n[t*2+1])}function O0(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function ZE(e){e.bi_valid===16?(Oa(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function QE(e,t){var n=t.dyn_tree,i=t.max_code,s=t.stat_desc.static_tree,u=t.stat_desc.has_stree,a=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,y=t.stat_desc.max_length,v,S,C,R,_,k,w=0;for(R=0;R<=cs;R++)e.bl_count[R]=0;for(n[e.heap[e.heap_max]*2+1]=0,v=e.heap_max+1;v<b0;v++)S=e.heap[v],R=n[n[S*2+1]*2+1]+1,R>y&&(R=y,w++),n[S*2+1]=R,!(S>i)&&(e.bl_count[R]++,_=0,S>=f&&(_=a[S-f]),k=n[S*2],e.opt_len+=k*(R+_),u&&(e.static_len+=k*(s[S*2+1]+_)));if(w!==0){do{for(R=y-1;e.bl_count[R]===0;)R--;e.bl_count[R]--,e.bl_count[R+1]+=2,e.bl_count[y]--,w-=2}while(w>0);for(R=y;R!==0;R--)for(S=e.bl_count[R];S!==0;)C=e.heap[--v],!(C>i)&&(n[C*2+1]!==R&&(e.opt_len+=(R-n[C*2+1])*n[C*2],n[C*2+1]=R),S--)}}function C0(e,t,n){var i=new Array(cs+1),s=0,u,a;for(u=1;u<=cs;u++)i[u]=s=s+n[u-1]<<1;for(a=0;a<=t;a++){var f=e[a*2+1];f!==0&&(e[a*2]=O0(i[f]++,f))}}function XE(){var e,t,n,i,s,u=new Array(cs+1);for(n=0,i=0;i<Dh-1;i++)for(Jh[i]=n,e=0;e<1<<nh[i];e++)ka[n++]=i;for(ka[n-1]=i,s=0,i=0;i<16;i++)for(gu[i]=s,e=0;e<1<<tu[i];e++)Na[s++]=i;for(s>>=7;i<yo;i++)for(gu[i]=s<<7,e=0;e<1<<tu[i]-7;e++)Na[256+s++]=i;for(t=0;t<=cs;t++)u[t]=0;for(e=0;e<=143;)Qi[e*2+1]=8,e++,u[8]++;for(;e<=255;)Qi[e*2+1]=9,e++,u[9]++;for(;e<=279;)Qi[e*2+1]=7,e++,u[7]++;for(;e<=287;)Qi[e*2+1]=8,e++,u[8]++;for(C0(Qi,_a+1,u),e=0;e<yo;e++)ga[e*2+1]=5,ga[e*2]=O0(e,5);L0=new Yf(Qi,nh,Ma+1,_a,cs),_0=new Yf(ga,tu,0,yo,cs),N0=new Yf(new Array(0),VE,0,Uh,HE)}function E0(e){var t;for(t=0;t<_a;t++)e.dyn_ltree[t*2]=0;for(t=0;t<yo;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Uh;t++)e.bl_tree[t*2]=0;e.dyn_ltree[xh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function A0(e){e.bi_valid>8?Oa(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function YE(e,t,n,i){A0(e),i&&(Oa(e,n),Oa(e,~n)),UE.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function jg(e,t,n,i){var s=t*2,u=n*2;return e[s]<e[u]||e[s]===e[u]&&i[t]<=i[n]}function ed(e,t,n){for(var i=e.heap[n],s=n<<1;s<=e.heap_len&&(s<e.heap_len&&jg(t,e.heap[s+1],e.heap[s],e.depth)&&s++,!jg(t,i,e.heap[s],e.depth));)e.heap[n]=e.heap[s],n=s,s<<=1;e.heap[n]=i}function Rg(e,t,n){var i,s,u=0,a,f;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+u*2]<<8|e.pending_buf[e.d_buf+u*2+1],s=e.pending_buf[e.l_buf+u],u++,i===0?Oi(e,s,t):(a=ka[s],Oi(e,a+Ma+1,t),f=nh[a],f!==0&&(s-=Jh[a],wn(e,s,f)),i--,a=k0(i),Oi(e,a,n),f=tu[a],f!==0&&(i-=gu[a],wn(e,i,f)));while(u<e.last_lit);Oi(e,xh,t)}function ih(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,a,f,y=-1,v;for(e.heap_len=0,e.heap_max=b0,a=0;a<u;a++)n[a*2]!==0?(e.heap[++e.heap_len]=y=a,e.depth[a]=0):n[a*2+1]=0;for(;e.heap_len<2;)v=e.heap[++e.heap_len]=y<2?++y:0,n[v*2]=1,e.depth[v]=0,e.opt_len--,s&&(e.static_len-=i[v*2+1]);for(t.max_code=y,a=e.heap_len>>1;a>=1;a--)ed(e,n,a);v=u;do a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ed(e,n,1),f=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=f,n[v*2]=n[a*2]+n[f*2],e.depth[v]=(e.depth[a]>=e.depth[f]?e.depth[a]:e.depth[f])+1,n[a*2+1]=n[f*2+1]=v,e.heap[1]=v++,ed(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],QE(e,t),C0(n,y,e.bl_count)}function Bg(e,t,n){var i,s=-1,u,a=t[0*2+1],f=0,y=7,v=4;for(a===0&&(y=138,v=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)u=a,a=t[(i+1)*2+1],!(++f<y&&u===a)&&(f<v?e.bl_tree[u*2]+=f:u!==0?(u!==s&&e.bl_tree[u*2]++,e.bl_tree[T0*2]++):f<=10?e.bl_tree[S0*2]++:e.bl_tree[v0*2]++,f=0,s=u,a===0?(y=138,v=3):u===a?(y=6,v=3):(y=7,v=4))}function Dg(e,t,n){var i,s=-1,u,a=t[0*2+1],f=0,y=7,v=4;for(a===0&&(y=138,v=3),i=0;i<=n;i++)if(u=a,a=t[(i+1)*2+1],!(++f<y&&u===a)){if(f<v)do Oi(e,u,e.bl_tree);while(--f!==0);else u!==0?(u!==s&&(Oi(e,u,e.bl_tree),f--),Oi(e,T0,e.bl_tree),wn(e,f-3,2)):f<=10?(Oi(e,S0,e.bl_tree),wn(e,f-3,3)):(Oi(e,v0,e.bl_tree),wn(e,f-11,7));f=0,s=u,a===0?(y=138,v=3):u===a?(y=6,v=3):(y=7,v=4)}}function $E(e){var t;for(Bg(e,e.dyn_ltree,e.l_desc.max_code),Bg(e,e.dyn_dtree,e.d_desc.max_code),ih(e,e.bl_desc),t=Uh-1;t>=3&&e.bl_tree[w0[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function eA(e,t,n,i){var s;for(wn(e,t-257,5),wn(e,n-1,5),wn(e,i-4,4),s=0;s<i;s++)wn(e,e.bl_tree[w0[s]*2+1],3);Dg(e,e.dyn_ltree,t-1),Dg(e,e.dyn_dtree,n-1)}function tA(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Ig;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Mg;for(n=32;n<Ma;n++)if(e.dyn_ltree[n*2]!==0)return Mg;return Ig}var Ug=!1;function nA(e){Ug||(XE(),Ug=!0),e.l_desc=new $f(e.dyn_ltree,L0),e.d_desc=new $f(e.dyn_dtree,_0),e.bl_desc=new $f(e.bl_tree,N0),e.bi_buf=0,e.bi_valid=0,E0(e)}function F0(e,t,n,i){wn(e,(zE<<1)+(i?1:0),3),YE(e,t,n,!0)}function iA(e){wn(e,g0<<1,3),Oi(e,xh,Qi),ZE(e)}function rA(e,t,n,i){var s,u,a=0;e.level>0?(e.strm.data_type===JE&&(e.strm.data_type=tA(e)),ih(e,e.l_desc),ih(e,e.d_desc),a=$E(e),s=e.opt_len+3+7>>>3,u=e.static_len+3+7>>>3,u<=s&&(s=u)):s=u=n+5,n+4<=s&&t!==-1?F0(e,t,n,i):e.strategy===xE||u===s?(wn(e,(g0<<1)+(i?1:0),3),Rg(e,Qi,ga)):(wn(e,(WE<<1)+(i?1:0),3),eA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Rg(e,e.dyn_ltree,e.dyn_dtree)),E0(e),i&&A0(e)}function sA(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(ka[n]+Ma+1)*2]++,e.dyn_dtree[k0(t)*2]++),e.last_lit===e.lit_bufsize-1}Oo._tr_init=nA;Oo._tr_stored_block=F0;Oo._tr_flush_block=rA;Oo._tr_tally=sA;Oo._tr_align=iA;function oA(e,t,n,i){for(var s=e&65535|0,u=e>>>16&65535|0,a=0;n!==0;){a=n>2e3?2e3:n,n-=a;do s=s+t[i++]|0,u=u+s|0;while(--a);s%=65521,u%=65521}return s|u<<16|0}var P0=oA;function aA(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var lA=aA();function uA(e,t,n,i){var s=lA,u=i+n;e^=-1;for(var a=i;a<u;a++)e=e>>>8^s[(e^t[a])&255];return e^-1}var I0=uA,zh={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"},cn=lr,Zn=Oo,M0=P0,Cr=I0,cA=zh,Es=0,fA=1,dA=3,Br=4,xg=5,Ci=0,Jg=1,Qn=-2,hA=-3,td=-5,pA=-1,mA=1,zl=2,yA=3,gA=4,bA=0,TA=2,Pu=8,SA=9,vA=15,wA=8,LA=29,_A=256,rh=_A+1+LA,NA=30,kA=19,OA=2*rh+1,CA=15,ut=3,Ir=258,ui=Ir+ut+1,EA=32,Iu=42,sh=69,nu=73,iu=91,ru=103,fs=113,ca=666,Vt=1,ja=2,Ts=3,Eo=4,AA=3;function Mr(e,t){return e.msg=cA[t],t}function zg(e){return(e<<1)-(e>4?9:0)}function Pr(e){for(var t=e.length;--t>=0;)e[t]=0}function Er(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(cn.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function $t(e,t){Zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Er(e.strm)}function ht(e,t){e.pending_buf[e.pending++]=t}function na(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function FA(e,t,n,i){var s=e.avail_in;return s>i&&(s=i),s===0?0:(e.avail_in-=s,cn.arraySet(t,e.input,e.next_in,s,n),e.state.wrap===1?e.adler=M0(e.adler,t,s,n):e.state.wrap===2&&(e.adler=Cr(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function j0(e,t){var n=e.max_chain_length,i=e.strstart,s,u,a=e.prev_length,f=e.nice_match,y=e.strstart>e.w_size-ui?e.strstart-(e.w_size-ui):0,v=e.window,S=e.w_mask,C=e.prev,R=e.strstart+Ir,_=v[i+a-1],k=v[i+a];e.prev_length>=e.good_match&&(n>>=2),f>e.lookahead&&(f=e.lookahead);do if(s=t,!(v[s+a]!==k||v[s+a-1]!==_||v[s]!==v[i]||v[++s]!==v[i+1])){i+=2,s++;do;while(v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&i<R);if(u=Ir-(R-i),i=R-Ir,u>a){if(e.match_start=t,a=u,u>=f)break;_=v[i+a-1],k=v[i+a]}}while((t=C[t&S])>y&&--n!==0);return a<=e.lookahead?a:e.lookahead}function Ss(e){var t=e.w_size,n,i,s,u,a;do{if(u=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ui)){cn.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do s=e.head[--n],e.head[n]=s>=t?s-t:0;while(--i);i=t,n=i;do s=e.prev[--n],e.prev[n]=s>=t?s-t:0;while(--i);u+=t}if(e.strm.avail_in===0)break;if(i=FA(e.strm,e.window,e.strstart+e.lookahead,u),e.lookahead+=i,e.lookahead+e.insert>=ut)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+ut-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<ut)););}while(e.lookahead<ui&&e.strm.avail_in!==0)}function PA(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ss(e),e.lookahead===0&&t===Es)return Vt;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,$t(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ui&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):(e.strstart>e.block_start&&($t(e,!1),e.strm.avail_out===0),Vt)}function nd(e,t){for(var n,i;;){if(e.lookahead<ui){if(Ss(e),e.lookahead<ui&&t===Es)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ut&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-ui&&(e.match_length=j0(e,n)),e.match_length>=ut)if(i=Zn._tr_tally(e,e.strstart-e.match_start,e.match_length-ut),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ut){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=e.strstart<ut-1?e.strstart:ut-1,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function to(e,t){for(var n,i,s;;){if(e.lookahead<ui){if(Ss(e),e.lookahead<ui&&t===Es)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ut&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ut-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-ui&&(e.match_length=j0(e,n),e.match_length<=5&&(e.strategy===mA||e.match_length===ut&&e.strstart-e.match_start>4096)&&(e.match_length=ut-1)),e.prev_length>=ut&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-ut,i=Zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ut),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ut-1,e.strstart++,i&&($t(e,!1),e.strm.avail_out===0))return Vt}else if(e.match_available){if(i=Zn._tr_tally(e,0,e.window[e.strstart-1]),i&&$t(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Vt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ut-1?e.strstart:ut-1,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function IA(e,t){for(var n,i,s,u,a=e.window;;){if(e.lookahead<=Ir){if(Ss(e),e.lookahead<=Ir&&t===Es)return Vt;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ut&&e.strstart>0&&(s=e.strstart-1,i=a[s],i===a[++s]&&i===a[++s]&&i===a[++s])){u=e.strstart+Ir;do;while(i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&s<u);e.match_length=Ir-(u-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ut?(n=Zn._tr_tally(e,1,e.match_length-ut),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function MA(e,t){for(var n;;){if(e.lookahead===0&&(Ss(e),e.lookahead===0)){if(t===Es)return Vt;break}if(e.match_length=0,n=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function gi(e,t,n,i,s){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=s}var uo;uo=[new gi(0,0,0,0,PA),new gi(4,4,8,4,nd),new gi(4,5,16,8,nd),new gi(4,6,32,32,nd),new gi(4,4,16,16,to),new gi(8,16,32,32,to),new gi(8,16,128,128,to),new gi(8,32,128,256,to),new gi(32,128,258,1024,to),new gi(32,258,258,4096,to)];function jA(e){e.window_size=2*e.w_size,Pr(e.head),e.max_lazy_match=uo[e.level].max_lazy,e.good_match=uo[e.level].good_length,e.nice_match=uo[e.level].nice_length,e.max_chain_length=uo[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ut-1,e.match_available=0,e.ins_h=0}function RA(){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=Pu,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 cn.Buf16(OA*2),this.dyn_dtree=new cn.Buf16((2*NA+1)*2),this.bl_tree=new cn.Buf16((2*kA+1)*2),Pr(this.dyn_ltree),Pr(this.dyn_dtree),Pr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new cn.Buf16(CA+1),this.heap=new cn.Buf16(2*rh+1),Pr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new cn.Buf16(2*rh+1),Pr(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 R0(e){var t;return!e||!e.state?Mr(e,Qn):(e.total_in=e.total_out=0,e.data_type=TA,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Iu:fs,e.adler=t.wrap===2?0:1,t.last_flush=Es,Zn._tr_init(t),Ci)}function B0(e){var t=R0(e);return t===Ci&&jA(e.state),t}function BA(e,t){return!e||!e.state||e.state.wrap!==2?Qn:(e.state.gzhead=t,Ci)}function D0(e,t,n,i,s,u){if(!e)return Qn;var a=1;if(t===pA&&(t=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),s<1||s>SA||n!==Pu||i<8||i>15||t<0||t>9||u<0||u>gA)return Mr(e,Qn);i===8&&(i=9);var f=new RA;return e.state=f,f.strm=e,f.wrap=a,f.gzhead=null,f.w_bits=i,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=s+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+ut-1)/ut),f.window=new cn.Buf8(f.w_size*2),f.head=new cn.Buf16(f.hash_size),f.prev=new cn.Buf16(f.w_size),f.lit_bufsize=1<<s+6,f.pending_buf_size=f.lit_bufsize*4,f.pending_buf=new cn.Buf8(f.pending_buf_size),f.d_buf=1*f.lit_bufsize,f.l_buf=(1+2)*f.lit_bufsize,f.level=t,f.strategy=u,f.method=n,B0(e)}function DA(e,t){return D0(e,t,Pu,vA,wA,bA)}function UA(e,t){var n,i,s,u;if(!e||!e.state||t>xg||t<0)return e?Mr(e,Qn):Qn;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ca&&t!==Br)return Mr(e,e.avail_out===0?td:Qn);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===Iu)if(i.wrap===2)e.adler=0,ht(i,31),ht(i,139),ht(i,8),i.gzhead?(ht(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ht(i,i.gzhead.time&255),ht(i,i.gzhead.time>>8&255),ht(i,i.gzhead.time>>16&255),ht(i,i.gzhead.time>>24&255),ht(i,i.level===9?2:i.strategy>=zl||i.level<2?4:0),ht(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ht(i,i.gzhead.extra.length&255),ht(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Cr(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=sh):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,i.level===9?2:i.strategy>=zl||i.level<2?4:0),ht(i,AA),i.status=fs);else{var a=Pu+(i.w_bits-8<<4)<<8,f=-1;i.strategy>=zl||i.level<2?f=0:i.level<6?f=1:i.level===6?f=2:f=3,a|=f<<6,i.strstart!==0&&(a|=EA),a+=31-a%31,i.status=fs,na(i,a),i.strstart!==0&&(na(i,e.adler>>>16),na(i,e.adler&65535)),e.adler=1}if(i.status===sh)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),Er(e),s=i.pending,i.pending===i.pending_buf_size));)ht(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=nu)}else i.status=nu;if(i.status===nu)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),Er(e),s=i.pending,i.pending===i.pending_buf_size)){u=1;break}i.gzindex<i.gzhead.name.length?u=i.gzhead.name.charCodeAt(i.gzindex++)&255:u=0,ht(i,u)}while(u!==0);i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),u===0&&(i.gzindex=0,i.status=iu)}else i.status=iu;if(i.status===iu)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),Er(e),s=i.pending,i.pending===i.pending_buf_size)){u=1;break}i.gzindex<i.gzhead.comment.length?u=i.gzhead.comment.charCodeAt(i.gzindex++)&255:u=0,ht(i,u)}while(u!==0);i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),u===0&&(i.status=ru)}else i.status=ru;if(i.status===ru&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Er(e),i.pending+2<=i.pending_buf_size&&(ht(i,e.adler&255),ht(i,e.adler>>8&255),e.adler=0,i.status=fs)):i.status=fs),i.pending!==0){if(Er(e),e.avail_out===0)return i.last_flush=-1,Ci}else if(e.avail_in===0&&zg(t)<=zg(n)&&t!==Br)return Mr(e,td);if(i.status===ca&&e.avail_in!==0)return Mr(e,td);if(e.avail_in!==0||i.lookahead!==0||t!==Es&&i.status!==ca){var y=i.strategy===zl?MA(i,t):i.strategy===yA?IA(i,t):uo[i.level].func(i,t);if((y===Ts||y===Eo)&&(i.status=ca),y===Vt||y===Ts)return e.avail_out===0&&(i.last_flush=-1),Ci;if(y===ja&&(t===fA?Zn._tr_align(i):t!==xg&&(Zn._tr_stored_block(i,0,0,!1),t===dA&&(Pr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Er(e),e.avail_out===0))return i.last_flush=-1,Ci}return t!==Br?Ci:i.wrap<=0?Jg:(i.wrap===2?(ht(i,e.adler&255),ht(i,e.adler>>8&255),ht(i,e.adler>>16&255),ht(i,e.adler>>24&255),ht(i,e.total_in&255),ht(i,e.total_in>>8&255),ht(i,e.total_in>>16&255),ht(i,e.total_in>>24&255)):(na(i,e.adler>>>16),na(i,e.adler&65535)),Er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ci:Jg)}function xA(e){var t;return!e||!e.state?Qn:(t=e.state.status,t!==Iu&&t!==sh&&t!==nu&&t!==iu&&t!==ru&&t!==fs&&t!==ca?Mr(e,Qn):(e.state=null,t===fs?Mr(e,hA):Ci))}function JA(e,t){var n=t.length,i,s,u,a,f,y,v,S;if(!e||!e.state||(i=e.state,a=i.wrap,a===2||a===1&&i.status!==Iu||i.lookahead))return Qn;for(a===1&&(e.adler=M0(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(a===0&&(Pr(i.head),i.strstart=0,i.block_start=0,i.insert=0),S=new cn.Buf8(i.w_size),cn.arraySet(S,t,n-i.w_size,i.w_size,0),t=S,n=i.w_size),f=e.avail_in,y=e.next_in,v=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ss(i);i.lookahead>=ut;){s=i.strstart,u=i.lookahead-(ut-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[s+ut-1])&i.hash_mask,i.prev[s&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=s,s++;while(--u);i.strstart=s,i.lookahead=ut-1,Ss(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ut-1,i.match_available=0,e.next_in=y,e.input=v,e.avail_in=f,i.wrap=a,Ci}ji.deflateInit=DA;ji.deflateInit2=D0;ji.deflateReset=B0;ji.deflateResetKeep=R0;ji.deflateSetHeader=BA;ji.deflate=UA;ji.deflateEnd=xA;ji.deflateSetDictionary=JA;ji.deflateInfo="pako deflate (from Nodeca project)";var As={},Mu=lr,U0=!0,x0=!0;try{String.fromCharCode.apply(null,[0])}catch{U0=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{x0=!1}var Ca=new Mu.Buf8(256);for(var Nr=0;Nr<256;Nr++)Ca[Nr]=Nr>=252?6:Nr>=248?5:Nr>=240?4:Nr>=224?3:Nr>=192?2:1;Ca[254]=Ca[254]=1;As.string2buf=function(e){var t,n,i,s,u,a=e.length,f=0;for(s=0;s<a;s++)n=e.charCodeAt(s),(n&64512)===55296&&s+1<a&&(i=e.charCodeAt(s+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),s++)),f+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Mu.Buf8(f),u=0,s=0;u<f;s++)n=e.charCodeAt(s),(n&64512)===55296&&s+1<a&&(i=e.charCodeAt(s+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),s++)),n<128?t[u++]=n:n<2048?(t[u++]=192|n>>>6,t[u++]=128|n&63):n<65536?(t[u++]=224|n>>>12,t[u++]=128|n>>>6&63,t[u++]=128|n&63):(t[u++]=240|n>>>18,t[u++]=128|n>>>12&63,t[u++]=128|n>>>6&63,t[u++]=128|n&63);return t};function J0(e,t){if(t<65534&&(e.subarray&&x0||!e.subarray&&U0))return String.fromCharCode.apply(null,Mu.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}As.buf2binstring=function(e){return J0(e,e.length)};As.binstring2buf=function(e){for(var t=new Mu.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};As.buf2string=function(e,t){var n,i,s,u,a=t||e.length,f=new Array(a*2);for(i=0,n=0;n<a;){if(s=e[n++],s<128){f[i++]=s;continue}if(u=Ca[s],u>4){f[i++]=65533,n+=u-1;continue}for(s&=u===2?31:u===3?15:7;u>1&&n<a;)s=s<<6|e[n++]&63,u--;if(u>1){f[i++]=65533;continue}s<65536?f[i++]=s:(s-=65536,f[i++]=55296|s>>10&1023,f[i++]=56320|s&1023)}return J0(f,i)};As.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Ca[e[n]]>t?n:t};function zA(){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}var z0=zA,ba=ji,Ta=lr,oh=As,ah=zh,WA=z0,W0=Object.prototype.toString,GA=0,id=4,go=0,Wg=1,Gg=2,qA=-1,HA=0,VA=8;function vs(e){if(!(this instanceof vs))return new vs(e);this.options=Ta.assign({level:qA,method:VA,chunkSize:16384,windowBits:15,memLevel:8,strategy:HA,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new WA,this.strm.avail_out=0;var n=ba.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==go)throw new Error(ah[n]);if(t.header&&ba.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=oh.string2buf(t.dictionary):W0.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=ba.deflateSetDictionary(this.strm,i),n!==go)throw new Error(ah[n]);this._dict_set=!0}}vs.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,s,u;if(this.ended)return!1;u=t===~~t?t:t===!0?id:GA,typeof e=="string"?n.input=oh.string2buf(e):W0.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ta.Buf8(i),n.next_out=0,n.avail_out=i),s=ba.deflate(n,u),s!==Wg&&s!==go)return this.onEnd(s),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(u===id||u===Gg))&&(this.options.to==="string"?this.onData(oh.buf2binstring(Ta.shrinkBuf(n.output,n.next_out))):this.onData(Ta.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&s!==Wg);return u===id?(s=ba.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===go):(u===Gg&&(this.onEnd(go),n.avail_out=0),!0)};vs.prototype.onData=function(e){this.chunks.push(e)};vs.prototype.onEnd=function(e){e===go&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ta.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Wh(e,t){var n=new vs(t);if(n.push(e,!0),n.err)throw n.msg||ah[n.err];return n.result}function KA(e,t){return t=t||{},t.raw=!0,Wh(e,t)}function ZA(e,t){return t=t||{},t.gzip=!0,Wh(e,t)}Ia.Deflate=vs;Ia.deflate=Wh;Ia.deflateRaw=KA;Ia.gzip=ZA;var Ra={},fi={},Wl=30,QA=12,XA=function(t,n){var i,s,u,a,f,y,v,S,C,R,_,k,w,M,F,I,G,H,J,D,P,b,L,N,O;i=t.state,s=t.next_in,N=t.input,u=s+(t.avail_in-5),a=t.next_out,O=t.output,f=a-(n-t.avail_out),y=a+(t.avail_out-257),v=i.dmax,S=i.wsize,C=i.whave,R=i.wnext,_=i.window,k=i.hold,w=i.bits,M=i.lencode,F=i.distcode,I=(1<<i.lenbits)-1,G=(1<<i.distbits)-1;e:do{w<15&&(k+=N[s++]<<w,w+=8,k+=N[s++]<<w,w+=8),H=M[k&I];t:for(;;){if(J=H>>>24,k>>>=J,w-=J,J=H>>>16&255,J===0)O[a++]=H&65535;else if(J&16){D=H&65535,J&=15,J&&(w<J&&(k+=N[s++]<<w,w+=8),D+=k&(1<<J)-1,k>>>=J,w-=J),w<15&&(k+=N[s++]<<w,w+=8,k+=N[s++]<<w,w+=8),H=F[k&G];n:for(;;){if(J=H>>>24,k>>>=J,w-=J,J=H>>>16&255,J&16){if(P=H&65535,J&=15,w<J&&(k+=N[s++]<<w,w+=8,w<J&&(k+=N[s++]<<w,w+=8)),P+=k&(1<<J)-1,P>v){t.msg="invalid distance too far back",i.mode=Wl;break e}if(k>>>=J,w-=J,J=a-f,P>J){if(J=P-J,J>C&&i.sane){t.msg="invalid distance too far back",i.mode=Wl;break e}if(b=0,L=_,R===0){if(b+=S-J,J<D){D-=J;do O[a++]=_[b++];while(--J);b=a-P,L=O}}else if(R<J){if(b+=S+R-J,J-=R,J<D){D-=J;do O[a++]=_[b++];while(--J);if(b=0,R<D){J=R,D-=J;do O[a++]=_[b++];while(--J);b=a-P,L=O}}}else if(b+=R-J,J<D){D-=J;do O[a++]=_[b++];while(--J);b=a-P,L=O}for(;D>2;)O[a++]=L[b++],O[a++]=L[b++],O[a++]=L[b++],D-=3;D&&(O[a++]=L[b++],D>1&&(O[a++]=L[b++]))}else{b=a-P;do O[a++]=O[b++],O[a++]=O[b++],O[a++]=O[b++],D-=3;while(D>2);D&&(O[a++]=O[b++],D>1&&(O[a++]=O[b++]))}}else if(J&64){t.msg="invalid distance code",i.mode=Wl;break e}else{H=F[(H&65535)+(k&(1<<J)-1)];continue n}break}}else if(J&64)if(J&32){i.mode=QA;break e}else{t.msg="invalid literal/length code",i.mode=Wl;break e}else{H=M[(H&65535)+(k&(1<<J)-1)];continue t}break}}while(s<u&&a<y);D=w>>3,s-=D,w-=D<<3,k&=(1<<w)-1,t.next_in=s,t.next_out=a,t.avail_in=s<u?5+(u-s):5-(s-u),t.avail_out=a<y?257+(y-a):257-(a-y),i.hold=k,i.bits=w},qg=lr,no=15,Hg=852,Vg=592,Kg=0,rd=1,Zg=2,YA=[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],$A=[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],eF=[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],tF=[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],nF=function(t,n,i,s,u,a,f,y){var v=y.bits,S=0,C=0,R=0,_=0,k=0,w=0,M=0,F=0,I=0,G=0,H,J,D,P,b,L=null,N=0,O,h=new qg.Buf16(no+1),o=new qg.Buf16(no+1),l=null,d=0,p,T,j;for(S=0;S<=no;S++)h[S]=0;for(C=0;C<s;C++)h[n[i+C]]++;for(k=v,_=no;_>=1&&h[_]===0;_--);if(k>_&&(k=_),_===0)return u[a++]=1<<24|64<<16|0,u[a++]=1<<24|64<<16|0,y.bits=1,0;for(R=1;R<_&&h[R]===0;R++);for(k<R&&(k=R),F=1,S=1;S<=no;S++)if(F<<=1,F-=h[S],F<0)return-1;if(F>0&&(t===Kg||_!==1))return-1;for(o[1]=0,S=1;S<no;S++)o[S+1]=o[S]+h[S];for(C=0;C<s;C++)n[i+C]!==0&&(f[o[n[i+C]]++]=C);if(t===Kg?(L=l=f,O=19):t===rd?(L=YA,N-=257,l=$A,d-=257,O=256):(L=eF,l=tF,O=-1),G=0,C=0,S=R,b=a,w=k,M=0,D=-1,I=1<<k,P=I-1,t===rd&&I>Hg||t===Zg&&I>Vg)return 1;for(;;){p=S-M,f[C]<O?(T=0,j=f[C]):f[C]>O?(T=l[d+f[C]],j=L[N+f[C]]):(T=32+64,j=0),H=1<<S-M,J=1<<w,R=J;do J-=H,u[b+(G>>M)+J]=p<<24|T<<16|j|0;while(J!==0);for(H=1<<S-1;G&H;)H>>=1;if(H!==0?(G&=H-1,G+=H):G=0,C++,--h[S]===0){if(S===_)break;S=n[i+f[C]]}if(S>k&&(G&P)!==D){for(M===0&&(M=k),b+=R,w=S-M,F=1<<w;w+M<_&&(F-=h[w+M],!(F<=0));)w++,F<<=1;if(I+=1<<w,t===rd&&I>Hg||t===Zg&&I>Vg)return 1;D=G&P,u[D]=k<<24|w<<16|b-a|0}}return G!==0&&(u[b+G]=S-M<<24|64<<16|0),y.bits=k,0},Mn=lr,lh=P0,bi=I0,iF=XA,Sa=nF,rF=0,G0=1,q0=2,Qg=4,sF=5,Gl=6,ws=0,oF=1,aF=2,Yn=-2,H0=-3,V0=-4,lF=-5,Xg=8,K0=1,Yg=2,$g=3,eb=4,tb=5,nb=6,ib=7,rb=8,sb=9,ob=10,bu=11,Hi=12,sd=13,ab=14,od=15,lb=16,ub=17,cb=18,fb=19,ql=20,Hl=21,db=22,hb=23,pb=24,mb=25,yb=26,ad=27,gb=28,bb=29,Ct=30,Z0=31,uF=32,cF=852,fF=592,dF=15,hF=dF;function Tb(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function pF(){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 Mn.Buf16(320),this.work=new Mn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Q0(e){var t;return!e||!e.state?Yn:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=K0,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Mn.Buf32(cF),t.distcode=t.distdyn=new Mn.Buf32(fF),t.sane=1,t.back=-1,ws)}function X0(e){var t;return!e||!e.state?Yn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Q0(e))}function Y0(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Yn:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,X0(e))}function $0(e,t){var n,i;return e?(i=new pF,e.state=i,i.window=null,n=Y0(e,t),n!==ws&&(e.state=null),n):Yn}function mF(e){return $0(e,hF)}var Sb=!0,ld,ud;function yF(e){if(Sb){var t;for(ld=new Mn.Buf32(512),ud=new Mn.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Sa(G0,e.lens,0,288,ld,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Sa(q0,e.lens,0,32,ud,0,e.work,{bits:5}),Sb=!1}e.lencode=ld,e.lenbits=9,e.distcode=ud,e.distbits=5}function eS(e,t,n,i){var s,u=e.state;return u.window===null&&(u.wsize=1<<u.wbits,u.wnext=0,u.whave=0,u.window=new Mn.Buf8(u.wsize)),i>=u.wsize?(Mn.arraySet(u.window,t,n-u.wsize,u.wsize,0),u.wnext=0,u.whave=u.wsize):(s=u.wsize-u.wnext,s>i&&(s=i),Mn.arraySet(u.window,t,n-i,s,u.wnext),i-=s,i?(Mn.arraySet(u.window,t,n-i,i,0),u.wnext=i,u.whave=u.wsize):(u.wnext+=s,u.wnext===u.wsize&&(u.wnext=0),u.whave<u.wsize&&(u.whave+=s))),0}function gF(e,t){var n,i,s,u,a,f,y,v,S,C,R,_,k,w,M=0,F,I,G,H,J,D,P,b,L=new Mn.Buf8(4),N,O,h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Yn;n=e.state,n.mode===Hi&&(n.mode=sd),a=e.next_out,s=e.output,y=e.avail_out,u=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,C=f,R=y,b=ws;e:for(;;)switch(n.mode){case K0:if(n.wrap===0){n.mode=sd;break}for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(n.wrap&2&&v===35615){n.check=0,L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0),v=0,S=0,n.mode=Yg;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((v&255)<<8)+(v>>8))%31){e.msg="incorrect header check",n.mode=Ct;break}if((v&15)!==Xg){e.msg="unknown compression method",n.mode=Ct;break}if(v>>>=4,S-=4,P=(v&15)+8,n.wbits===0)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=Ct;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=v&512?ob:Hi,v=0,S=0;break;case Yg:for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(n.flags=v,(n.flags&255)!==Xg){e.msg="unknown compression method",n.mode=Ct;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Ct;break}n.head&&(n.head.text=v>>8&1),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0)),v=0,S=0,n.mode=$g;case $g:for(;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.head&&(n.head.time=v),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,L[2]=v>>>16&255,L[3]=v>>>24&255,n.check=bi(n.check,L,4,0)),v=0,S=0,n.mode=eb;case eb:for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.head&&(n.head.xflags=v&255,n.head.os=v>>8),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0)),v=0,S=0,n.mode=tb;case tb:if(n.flags&1024){for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.length=v,n.head&&(n.head.extra_len=v),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0)),v=0,S=0}else n.head&&(n.head.extra=null);n.mode=nb;case nb:if(n.flags&1024&&(_=n.length,_>f&&(_=f),_&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Mn.arraySet(n.head.extra,i,u,_,P)),n.flags&512&&(n.check=bi(n.check,i,_,u)),f-=_,u+=_,n.length-=_),n.length))break e;n.length=0,n.mode=ib;case ib:if(n.flags&2048){if(f===0)break e;_=0;do P=i[u+_++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P));while(P&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,u)),f-=_,u+=_,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=rb;case rb:if(n.flags&4096){if(f===0)break e;_=0;do P=i[u+_++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P));while(P&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,u)),f-=_,u+=_,P)break e}else n.head&&(n.head.comment=null);n.mode=sb;case sb:if(n.flags&512){for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(v!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Ct;break}v=0,S=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Hi;break;case ob:for(;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}e.adler=n.check=Tb(v),v=0,S=0,n.mode=bu;case bu:if(n.havedict===0)return e.next_out=a,e.avail_out=y,e.next_in=u,e.avail_in=f,n.hold=v,n.bits=S,aF;e.adler=n.check=1,n.mode=Hi;case Hi:if(t===sF||t===Gl)break e;case sd:if(n.last){v>>>=S&7,S-=S&7,n.mode=ad;break}for(;S<3;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}switch(n.last=v&1,v>>>=1,S-=1,v&3){case 0:n.mode=ab;break;case 1:if(yF(n),n.mode=ql,t===Gl){v>>>=2,S-=2;break e}break;case 2:n.mode=ub;break;case 3:e.msg="invalid block type",n.mode=Ct}v>>>=2,S-=2;break;case ab:for(v>>>=S&7,S-=S&7;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if((v&65535)!==(v>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Ct;break}if(n.length=v&65535,v=0,S=0,n.mode=od,t===Gl)break e;case od:n.mode=lb;case lb:if(_=n.length,_){if(_>f&&(_=f),_>y&&(_=y),_===0)break e;Mn.arraySet(s,i,u,_,a),f-=_,u+=_,y-=_,a+=_,n.length-=_;break}n.mode=Hi;break;case ub:for(;S<14;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(n.nlen=(v&31)+257,v>>>=5,S-=5,n.ndist=(v&31)+1,v>>>=5,S-=5,n.ncode=(v&15)+4,v>>>=4,S-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Ct;break}n.have=0,n.mode=cb;case cb:for(;n.have<n.ncode;){for(;S<3;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.lens[h[n.have++]]=v&7,v>>>=3,S-=3}for(;n.have<19;)n.lens[h[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N={bits:n.lenbits},b=Sa(rF,n.lens,0,19,n.lencode,0,n.work,N),n.lenbits=N.bits,b){e.msg="invalid code lengths set",n.mode=Ct;break}n.have=0,n.mode=fb;case fb:for(;n.have<n.nlen+n.ndist;){for(;M=n.lencode[v&(1<<n.lenbits)-1],F=M>>>24,I=M>>>16&255,G=M&65535,!(F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(G<16)v>>>=F,S-=F,n.lens[n.have++]=G;else{if(G===16){for(O=F+2;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(v>>>=F,S-=F,n.have===0){e.msg="invalid bit length repeat",n.mode=Ct;break}P=n.lens[n.have-1],_=3+(v&3),v>>>=2,S-=2}else if(G===17){for(O=F+3;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=F,S-=F,P=0,_=3+(v&7),v>>>=3,S-=3}else{for(O=F+7;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=F,S-=F,P=0,_=11+(v&127),v>>>=7,S-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Ct;break}for(;_--;)n.lens[n.have++]=P}}if(n.mode===Ct)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Ct;break}if(n.lenbits=9,N={bits:n.lenbits},b=Sa(G0,n.lens,0,n.nlen,n.lencode,0,n.work,N),n.lenbits=N.bits,b){e.msg="invalid literal/lengths set",n.mode=Ct;break}if(n.distbits=6,n.distcode=n.distdyn,N={bits:n.distbits},b=Sa(q0,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,N),n.distbits=N.bits,b){e.msg="invalid distances set",n.mode=Ct;break}if(n.mode=ql,t===Gl)break e;case ql:n.mode=Hl;case Hl:if(f>=6&&y>=258){e.next_out=a,e.avail_out=y,e.next_in=u,e.avail_in=f,n.hold=v,n.bits=S,iF(e,R),a=e.next_out,s=e.output,y=e.avail_out,u=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,n.mode===Hi&&(n.back=-1);break}for(n.back=0;M=n.lencode[v&(1<<n.lenbits)-1],F=M>>>24,I=M>>>16&255,G=M&65535,!(F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(I&&!(I&240)){for(H=F,J=I,D=G;M=n.lencode[D+((v&(1<<H+J)-1)>>H)],F=M>>>24,I=M>>>16&255,G=M&65535,!(H+F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=H,S-=H,n.back+=H}if(v>>>=F,S-=F,n.back+=F,n.length=G,I===0){n.mode=yb;break}if(I&32){n.back=-1,n.mode=Hi;break}if(I&64){e.msg="invalid literal/length code",n.mode=Ct;break}n.extra=I&15,n.mode=db;case db:if(n.extra){for(O=n.extra;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.length+=v&(1<<n.extra)-1,v>>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=hb;case hb:for(;M=n.distcode[v&(1<<n.distbits)-1],F=M>>>24,I=M>>>16&255,G=M&65535,!(F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(!(I&240)){for(H=F,J=I,D=G;M=n.distcode[D+((v&(1<<H+J)-1)>>H)],F=M>>>24,I=M>>>16&255,G=M&65535,!(H+F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=H,S-=H,n.back+=H}if(v>>>=F,S-=F,n.back+=F,I&64){e.msg="invalid distance code",n.mode=Ct;break}n.offset=G,n.extra=I&15,n.mode=pb;case pb:if(n.extra){for(O=n.extra;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.offset+=v&(1<<n.extra)-1,v>>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Ct;break}n.mode=mb;case mb:if(y===0)break e;if(_=R-y,n.offset>_){if(_=n.offset-_,_>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Ct;break}_>n.wnext?(_-=n.wnext,k=n.wsize-_):k=n.wnext-_,_>n.length&&(_=n.length),w=n.window}else w=s,k=a-n.offset,_=n.length;_>y&&(_=y),y-=_,n.length-=_;do s[a++]=w[k++];while(--_);n.length===0&&(n.mode=Hl);break;case yb:if(y===0)break e;s[a++]=n.length,y--,n.mode=Hl;break;case ad:if(n.wrap){for(;S<32;){if(f===0)break e;f--,v|=i[u++]<<S,S+=8}if(R-=y,e.total_out+=R,n.total+=R,R&&(e.adler=n.check=n.flags?bi(n.check,s,R,a-R):lh(n.check,s,R,a-R)),R=y,(n.flags?v:Tb(v))!==n.check){e.msg="incorrect data check",n.mode=Ct;break}v=0,S=0}n.mode=gb;case gb:if(n.wrap&&n.flags){for(;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(v!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Ct;break}v=0,S=0}n.mode=bb;case bb:b=oF;break e;case Ct:b=H0;break e;case Z0:return V0;case uF:default:return Yn}return e.next_out=a,e.avail_out=y,e.next_in=u,e.avail_in=f,n.hold=v,n.bits=S,(n.wsize||R!==e.avail_out&&n.mode<Ct&&(n.mode<ad||t!==Qg))&&eS(e,e.output,e.next_out,R-e.avail_out),C-=e.avail_in,R-=e.avail_out,e.total_in+=C,e.total_out+=R,n.total+=R,n.wrap&&R&&(e.adler=n.check=n.flags?bi(n.check,s,R,e.next_out-R):lh(n.check,s,R,e.next_out-R)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hi?128:0)+(n.mode===ql||n.mode===od?256:0),(C===0&&R===0||t===Qg)&&b===ws&&(b=lF),b}function bF(e){if(!e||!e.state)return Yn;var t=e.state;return t.window&&(t.window=null),e.state=null,ws}function TF(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?Yn:(n.head=t,t.done=!1,ws)}function SF(e,t){var n=t.length,i,s,u;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==bu)?Yn:i.mode===bu&&(s=1,s=lh(s,t,n,0),s!==i.check)?H0:(u=eS(e,t,n,n),u?(i.mode=Z0,V0):(i.havedict=1,ws))}fi.inflateReset=X0;fi.inflateReset2=Y0;fi.inflateResetKeep=Q0;fi.inflateInit=mF;fi.inflateInit2=$0;fi.inflate=gF;fi.inflateEnd=bF;fi.inflateGetHeader=TF;fi.inflateSetDictionary=SF;fi.inflateInfo="pako inflate (from Nodeca project)";var tS={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};function vF(){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}var wF=vF,bo=fi,va=lr,su=As,xt=tS,uh=zh,LF=z0,_F=wF,nS=Object.prototype.toString;function Ls(e){if(!(this instanceof Ls))return new Ls(e);this.options=va.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new LF,this.strm.avail_out=0;var n=bo.inflateInit2(this.strm,t.windowBits);if(n!==xt.Z_OK)throw new Error(uh[n]);if(this.header=new _F,bo.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=su.string2buf(t.dictionary):nS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=bo.inflateSetDictionary(this.strm,t.dictionary),n!==xt.Z_OK)))throw new Error(uh[n])}Ls.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,s=this.options.dictionary,u,a,f,y,v,S=!1;if(this.ended)return!1;a=t===~~t?t:t===!0?xt.Z_FINISH:xt.Z_NO_FLUSH,typeof e=="string"?n.input=su.binstring2buf(e):nS.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new va.Buf8(i),n.next_out=0,n.avail_out=i),u=bo.inflate(n,xt.Z_NO_FLUSH),u===xt.Z_NEED_DICT&&s&&(u=bo.inflateSetDictionary(this.strm,s)),u===xt.Z_BUF_ERROR&&S===!0&&(u=xt.Z_OK,S=!1),u!==xt.Z_STREAM_END&&u!==xt.Z_OK)return this.onEnd(u),this.ended=!0,!1;n.next_out&&(n.avail_out===0||u===xt.Z_STREAM_END||n.avail_in===0&&(a===xt.Z_FINISH||a===xt.Z_SYNC_FLUSH))&&(this.options.to==="string"?(f=su.utf8border(n.output,n.next_out),y=n.next_out-f,v=su.buf2string(n.output,f),n.next_out=y,n.avail_out=i-y,y&&va.arraySet(n.output,n.output,f,y,0),this.onData(v)):this.onData(va.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(S=!0)}while((n.avail_in>0||n.avail_out===0)&&u!==xt.Z_STREAM_END);return u===xt.Z_STREAM_END&&(a=xt.Z_FINISH),a===xt.Z_FINISH?(u=bo.inflateEnd(this.strm),this.onEnd(u),this.ended=!0,u===xt.Z_OK):(a===xt.Z_SYNC_FLUSH&&(this.onEnd(xt.Z_OK),n.avail_out=0),!0)};Ls.prototype.onData=function(e){this.chunks.push(e)};Ls.prototype.onEnd=function(e){e===xt.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=va.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Gh(e,t){var n=new Ls(t);if(n.push(e,!0),n.err)throw n.msg||uh[n.err];return n.result}function NF(e,t){return t=t||{},t.raw=!0,Gh(e,t)}Ra.Inflate=Ls;Ra.inflate=Gh;Ra.inflateRaw=NF;Ra.ungzip=Gh;var kF=lr.assign,OF=Ia,CF=Ra,EF=tS,iS={};kF(iS,OF,CF,EF);var AF=iS,zt={};Object.defineProperty(zt,"__esModule",{value:!0});zt.messageAssert=zt.messageError=zt.QuickTypeError=void 0;const FF={InternalError:"Internal error: ${message}",MiscJSONParseError:"Syntax error in ${description} JSON ${address}: ${message}",MiscReadError:"Cannot read from file or URL ${fileOrURL}: ${message}",MiscUnicodeHighSurrogateWithoutLowSurrogate:"Malformed unicode: High surrogate not followed by low surrogate",MiscInvalidMinMaxConstraint:"Invalid min-max constraint: ${min}-${max}",InferenceJSONReferenceNotRooted:"JSON reference doesn't start with '#/': ${reference}",InferenceJSONReferenceToUnion:"JSON reference points to a union type: ${reference}",InferenceJSONReferenceWrongProperty:"JSON reference points to a non-existant property: ${reference}",InferenceJSONReferenceInvalidArrayIndex:"JSON reference uses invalid array index: ${reference}",SchemaArrayIsInvalidSchema:"An array is not a valid JSON Schema at ${ref}",SchemaNullIsInvalidSchema:"null is not a valid JSON Schema at ${ref}",SchemaRefMustBeString:"$ref must be a string, but is an ${actual} at ${ref}",SchemaAdditionalTypesForbidRequired:"Can't have non-specified required properties but forbidden additionalTypes at ${ref}",SchemaNoTypeSpecified:"JSON Schema must specify at least one type at ${ref}",SchemaInvalidType:"Invalid type ${type} in JSON Schema at ${ref}",SchemaFalseNotSupported:'Schema "false" is not supported at ${ref}',SchemaInvalidJSONSchemaType:"Value of type ${type} is not valid JSON Schema at ${ref}",SchemaRequiredMustBeStringOrStringArray:"`required` must be string or array of strings, but is ${actual} at ${ref}",SchemaRequiredElementMustBeString:"`required` must contain only strings, but it has ${element}, at ${ref}",SchemaTypeMustBeStringOrStringArray:"`type` must be string or array of strings, but is ${actual}",SchemaTypeElementMustBeString:"`type` must contain only strings, but it has ${element}",SchemaArrayItemsMustBeStringOrArray:"Array items must be an array or an object, but is ${actual}",SchemaIDMustHaveAddress:"$id ${id} doesn't have an address at ${ref}",SchemaWrongAccessorEntryArrayLength:"Accessor entry array must have the same number of entries as the ${operation} at ${ref}",SchemaSetOperationCasesIsNotArray:"${operation} cases must be an array, but is ${cases}, at ${ref}",SchemaMoreThanOneUnionMemberName:"More than one name given for union member: ${names}",SchemaCannotGetTypesFromBoolean:"Schema value to get top-level types from must be an object, but is boolean, at ${ref}",SchemaCannotIndexArrayWithNonNumber:"Trying to index array in schema with key that is not a number, but is ${actual} at ${ref}",SchemaIndexNotInArray:"Index ${index} out of range of schema array at ${ref}",SchemaKeyNotInObject:"Key ${key} not in schema object at ${ref}",SchemaFetchError:"Could not fetch schema ${address}, referred to from ${base}",SchemaFetchErrorTopLevel:"Could not fetch top-level schema ${address}",SchemaFetchErrorAdditional:"Could not fetch additional schema ${address}",GraphQLNoQueriesDefined:"GraphQL file doesn't have any queries defined.",DriverUnknownSourceLanguage:"Unknown source language ${lang}",DriverUnknownOutputLanguage:"Unknown output language ${lang}",DriverMoreThanOneInputGiven:"More than one input given for top-level ${topLevel}",DriverCannotInferNameForSchema:"Cannot infer name for schema ${uri}",DriverNoGraphQLQueryGiven:"Please specify at least one GraphQL query as input",DriverNoGraphQLSchemaInDir:"No GraphQL schema in ${dir}",DriverMoreThanOneGraphQLSchemaInDir:"More than one GraphQL schema in ${dir}",DriverSourceLangMustBeGraphQL:"If a GraphQL schema is specified, the source language must be GraphQL",DriverGraphQLSchemaNeeded:"Please specify a GraphQL schema with --graphql-schema or --graphql-introspect",DriverInputFileDoesNotExist:"Input file ${filename} does not exist",DriverCannotMixJSONWithOtherSamples:"Cannot mix JSON samples with JSON Schems, GraphQL, or TypeScript in input subdirectory ${dir}",DriverCannotMixNonJSONInputs:"Cannot mix JSON Schema, GraphQL, and TypeScript in an input subdirectory ${dir}",DriverUnknownDebugOption:"Unknown debug option ${option}",DriverNoLanguageOrExtension:"Please specify a language (--lang) or an output file extension",DriverCLIOptionParsingFailed:"Option parsing failed: ${message}",IRNoForwardDeclarableTypeInCycle:"Cannot resolve cycle because it doesn't contain types that can be forward declared",IRTypeAttributesNotPropagated:"Type attributes for ${count} types were not carried over to the new graph: ${indexes}",IRNoEmptyUnions:"Trying to make an empty union - do you have an impossible type in your schema?",RendererUnknownOptionValue:"Unknown value ${value} for option ${name}",TypeScriptCompilerError:"TypeScript error: ${message}"};class rS extends Error{constructor(t,n,i,s){super(i),this.errorMessage=t,this.messageName=n,this.properties=s}}zt.QuickTypeError=rS;function sS(e,t){const n=FF[e];let i=n;const s=t;for(const u of Object.getOwnPropertyNames(s)){let a=s[u];typeof a=="object"&&typeof a.toString=="function"?a=a.toString():typeof a.message=="string"?a=a.message:typeof a!="string"&&(a=JSON.stringify(a)),i=i.replace("${"+u+"}",a)}throw new rS(n,e,i,s)}zt.messageError=sS;function PF(e,t,n){if(!e)return sS(t,n)}zt.messageAssert=PF;const qh=Symbol.for("yaml.alias"),ch=Symbol.for("yaml.document"),Dr=Symbol.for("yaml.map"),oS=Symbol.for("yaml.pair"),nr=Symbol.for("yaml.scalar"),Ao=Symbol.for("yaml.seq"),$n=Symbol.for("yaml.node.type"),Hr=e=>!!e&&typeof e=="object"&&e[$n]===qh,Fs=e=>!!e&&typeof e=="object"&&e[$n]===ch,Ps=e=>!!e&&typeof e=="object"&&e[$n]===Dr,kt=e=>!!e&&typeof e=="object"&&e[$n]===oS,wt=e=>!!e&&typeof e=="object"&&e[$n]===nr,Is=e=>!!e&&typeof e=="object"&&e[$n]===Ao;function Et(e){if(e&&typeof e=="object")switch(e[$n]){case Dr:case Ao:return!0}return!1}function Rt(e){if(e&&typeof e=="object")switch(e[$n]){case qh:case Dr:case nr:case Ao:return!0}return!1}const IF=e=>(wt(e)||Et(e))&&!!e.anchor,Sn=Symbol("break visit"),aS=Symbol("skip children"),Ai=Symbol("remove node");function ir(e,t){const n=lS(t);Fs(e)?co(null,e.contents,n,Object.freeze([e]))===Ai&&(e.contents=null):co(null,e,n,Object.freeze([]))}ir.BREAK=Sn;ir.SKIP=aS;ir.REMOVE=Ai;function co(e,t,n,i){const s=uS(e,t,n,i);if(Rt(s)||kt(s))return cS(e,i,s),co(e,s,n,i);if(typeof s!="symbol"){if(Et(t)){i=Object.freeze(i.concat(t));for(let u=0;u<t.items.length;++u){const a=co(u,t.items[u],n,i);if(typeof a=="number")u=a-1;else{if(a===Sn)return Sn;a===Ai&&(t.items.splice(u,1),u-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const u=co("key",t.key,n,i);if(u===Sn)return Sn;u===Ai&&(t.key=null);const a=co("value",t.value,n,i);if(a===Sn)return Sn;a===Ai&&(t.value=null)}}return s}async function Ba(e,t){const n=lS(t);Fs(e)?await fo(null,e.contents,n,Object.freeze([e]))===Ai&&(e.contents=null):await fo(null,e,n,Object.freeze([]))}Ba.BREAK=Sn;Ba.SKIP=aS;Ba.REMOVE=Ai;async function fo(e,t,n,i){const s=await uS(e,t,n,i);if(Rt(s)||kt(s))return cS(e,i,s),fo(e,s,n,i);if(typeof s!="symbol"){if(Et(t)){i=Object.freeze(i.concat(t));for(let u=0;u<t.items.length;++u){const a=await fo(u,t.items[u],n,i);if(typeof a=="number")u=a-1;else{if(a===Sn)return Sn;a===Ai&&(t.items.splice(u,1),u-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const u=await fo("key",t.key,n,i);if(u===Sn)return Sn;u===Ai&&(t.key=null);const a=await fo("value",t.value,n,i);if(a===Sn)return Sn;a===Ai&&(t.value=null)}}return s}function lS(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function uS(e,t,n,i){if(typeof n=="function")return n(e,t,i);if(Ps(t))return n.Map?.(e,t,i);if(Is(t))return n.Seq?.(e,t,i);if(kt(t))return n.Pair?.(e,t,i);if(wt(t))return n.Scalar?.(e,t,i);if(Hr(t))return n.Alias?.(e,t,i)}function cS(e,t,n){const i=t[t.length-1];if(Et(i))i.items[e]=n;else if(kt(i))e==="key"?i.key=n:i.value=n;else if(Fs(i))i.contents=n;else{const s=Hr(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${s} parent`)}}const MF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},jF=e=>e.replace(/[!,[\]{}]/g,t=>MF[t]);class un{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},un.defaultYaml,t),this.tags=Object.assign({},un.defaultTags,n)}clone(){const t=new un(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new un(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:un.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},un.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:un.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},un.defaultTags),this.atNextDocument=!1);const i=t.trim().split(/[ \t]+/),s=i.shift();switch(s){case"%TAG":{if(i.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[u,a]=i;return this.tags[u]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[u]=i;if(u==="1.1"||u==="1.2")return this.yaml.version=u,!0;{const a=/^\d+\.\d+$/.test(u);return n(6,`Unsupported YAML version ${u}`,a),!1}}default:return n(0,`Unknown directive ${s}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,i,s]=t.match(/^(.*!)([^!]*)$/);s||n(`The ${t} tag has no suffix`);const u=this.tags[i];return u?u+decodeURIComponent(s):i==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,i]of Object.entries(this.tags))if(t.startsWith(i))return n+jF(t.substring(i.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let s;if(t&&i.length>0&&Rt(t.contents)){const u={};ir(t.contents,(a,f)=>{Rt(f)&&f.tag&&(u[f.tag]=!0)}),s=Object.keys(u)}else s=[];for(const[u,a]of i)u==="!!"&&a==="tag:yaml.org,2002:"||(!t||s.some(f=>f.startsWith(a)))&&n.push(`%TAG ${u} ${a}`);return n.join(`
1
+ import{_ as kE}from"./NSelect.vue.dcac9c73.js";import{c as Oe,g as m0,d as OE,u as CE,r as qf,a as Eg,b as EE,w as Ag,e as AE,f as Fn,o as _r,h as Dl,i as Ul,j as ta,k as ya,l as FE,m as xl,F as Fg,n as Pg,t as Hf,p as Jl,T as PE,_ as IE}from"./entry.9effa704.js";import{_ as ME}from"./NSwitch.vue.aacb5de3.js";import{_ as jE}from"./NDropdown.vue.885f70c3.js";import{_ as RE}from"./NCodeBlock.vue.d4a74ca4.js";import{_ as BE}from"./NDrawer.vue.f03c3dec.js";import"./client.ab169146.js";var Vf={},Kf={},Je={};(function(e){var t=Oe&&Oe.__awaiter||function(V,Q,q,A){return new(q||(q=Promise))(function(x,te){function ce(Ie){try{be(A.next(Ie))}catch(tt){te(tt)}}function ye(Ie){try{be(A.throw(Ie))}catch(tt){te(tt)}}function be(Ie){Ie.done?x(Ie.value):new q(function(tt){tt(Ie.value)}).then(ce,ye)}be((A=A.apply(V,Q||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.hashCodeInit=17;function n(V){let Q=0;for(let q=0;q<V.length;q++){const A=V.charCodeAt(q);Q=(Q<<5)-Q+A,Q=Q&Q}return Q}e.hashString=n;function i(V,Q){return V*31+(Q|0)|0}e.addHashCode=i;function s(V,Q){return V!==void 0?V:Q}e.withDefault=s;function u(V,Q){if(V!==void 0)return Q(V)}e.definedMap=u;function a(V,Q,q){return s(u(V,q),Q)}e.definedMapWithDefault=a;function f(V,Q){return V==null?!1:Object.prototype.hasOwnProperty.call(V,Q)}e.hasOwnProperty=f;function y(V,Q){for(const q of V)if(Q(q))return q}e.iterableFind=y;function v(V,Q){for(const q of V)if(!Q(q))return!1;return!0}e.iterableEvery=v;function S(V,Q){for(const q of V)if(Q(q))return!0;return!1}e.iterableSome=S;function C(V){for(const Q of V)return Q}e.iterableFirst=C;function R(V){let Q;for(const q of V)(Q===void 0||q>Q)&&(Q=q);return Q}e.iterableMax=R;function _(V,Q){let q,A;for(const x of V){const te=Q(x);(q===void 0||te<q)&&(q=te,A=x)}return A}e.iterableMinBy=_;function k(V,Q,q){let A=Q;for(const x of V)A=q(A,x);return A}e.iterableReduce=k;function*w(V){let Q=0;for(const q of V)yield[Q,q],Q+=1}e.iterableEnumerate=w;function*M(V,Q){let q=0;for(const A of V)q>=Q?yield A:q+=1}e.iterableSkip=M;function F(V,Q){const q=V.length;if(!(Q>q))return V[q-Q]}e.arrayGetFromEnd=F;function I(V){return F(V,1)}e.arrayLast=I;function G(V){const Q=V.length;if(Q===0)throw new Error("Cannot pop empty array");return V.slice(0,Q-1)}e.arrayPop=G;function H(V,Q){const q=[];for(const A of Q)q.length>0&&q.push(V),q.push(A);return q}e.arrayIntercalate=H;function J(V,Q){return t(this,void 0,void 0,function*(){const q=[];let A=0;for(const x of V)q.push(yield Q(x,A)),A+=1;return q})}e.arrayMapSync=J;function D(V,Q){return V<Q?-1:V>Q?1:0}function P(V,Q){return V.sort((q,A)=>D(Q(q),Q(A)))}e.arraySortByInto=P;function b(V){return Array.isArray(V)?V:Array.from(V)}e.toReadonlyArray=b;function L(V,Q){const q=new Map;for(const[A,x]of V)q.set(A,Q(x,A));return q}e.mapMap=L;function N(V){for(const Q of V.values())return Q}e.mapFirst=N;function O(V,Q){for(const q of V.values())if(q===Q)return!0;return!1}e.mapContains=O;function h(V,Q){for(const[q,A]of V)if(Q(A,q))return!0;return!1}e.mapSome=h;function o(V,Q){for(const[q,A]of Q)V.set(q,A);return V}e.mapMergeInto=o;function l(V,Q){const q=new Map(V);return o(q,Q),q}e.mapMerge=l;function d(V,Q,q){for(const[A,x]of q){const te=V.get(A),ce=te===void 0?x:Q(te,x,A);V.set(A,ce)}return V}e.mapMergeWithInto=d;function p(V,Q,q){const A=new Map(V);return d(A,Q,q),A}e.mapMergeWith=p;function T(V,Q){const q=new Map;for(const[A,x]of V)Q(x,A)&&q.set(A,x);return q}e.mapFilter=T;function j(V,Q){const q=new Map;for(const[A,x]of V){const te=Q(x,A);te!==void 0&&q.set(A,te)}return q}e.mapFilterMap=j;function B(V,Q){return P(Array.from(V),([q,A])=>Q(A,q))}e.mapSortToArray=B;function m(V,Q){return new Map(B(V,Q))}e.mapSortBy=m;function E(V){return m(V,(Q,q)=>q)}e.mapSortByKey=E;function z(V,Q){const q=new Map;for(const[A,x]of V){const[te,ce]=Q(x,A);q.set(te,ce)}return q}e.mapMapEntries=z;function U(V,Q,q){return V.set(Q,q(V.get(Q))),V}e.mapUpdateInto=U;function K(V){const Q=new Map;for(const q of Object.getOwnPropertyNames(V))Q.set(q,V[q]);return Q}e.mapFromObject=K;function Y(V){const Q={};for(const[q,A]of V)Q[q]=A;return Q}e.mapToObject=Y;function re(V,Q){const q=new Map;for(const A of V)q.set(A,Q(A));return q}e.mapFromIterable=re;function Z(V,Q){for(const[q,A]of V)if(Q(A,q))return A}e.mapFind=Z;function X(V){const Q=new Map;for(const q of V)for(const[A,x]of q){let te=Q.get(A);te===void 0&&(te=[],Q.set(A,te)),te.push(x)}return Q}e.mapTranspose=X;function se(V,Q){return t(this,void 0,void 0,function*(){const q=new Map;for(const[A,x]of V)q.set(A,yield Q(x,A));return q})}e.mapMapSync=se;function de(V,Q){for(const q of Q)if(!V.has(q))return!1;return!0}e.setIsSuperset=de;function ge(V,Q){for(const q of Q)for(const A of q)V.add(A);return V}e.setUnionManyInto=ge;function Se(V,...Q){return ge(V,Q)}e.setUnionInto=Se;function oe(V,Q){const q=new Set;for(const A of V)Q.has(A)&&q.add(A);return q}e.setIntersect=oe;function ae(V,Q){const q=new Set(V);for(const A of Q)q.delete(A);return q}e.setSubtract=ae;function ie(...V){const Q=new Set;return Se(Q,...V),Q}e.setUnion=ie;function ue(V,Q){const q=new Set;for(const A of V)q.add(Q(A));return q}e.setMap=ue;function me(V,Q){const q=new Set;for(const A of V)Q(A)&&q.add(A);return q}e.setFilter=me;function ke(V,Q){const q=new Set;for(const A of V){const x=Q(A);x!==void 0&&q.add(x)}return q}e.setFilterMap=ke;function Ce(V,Q){return new Set(P(Array.from(V),Q))}e.setSortBy=Ce;function Ae(V,Q){const q=new Map;for(const A of V){const x=Q(A);let te=q.get(x);te===void 0&&(te=new Set,q.set(x,te)),te.add(A)}return q}e.setGroupBy=Ae;function je(V){return V instanceof Set?V:new Set(V)}e.toReadonlySet=je;class Pe{constructor(){this._map=new Map}set(Q,q){let A=nt(Q)|0;for(;;){const x=this._map.get(A);if(x===void 0){this._map.set(A,[Q,q]);return}if(Re(Q,x[0])){x[1]=q;return}A=A+1|0}}get(Q){let q=nt(Q)|0;for(;;){const A=this._map.get(q);if(A===void 0)return;if(Re(Q,A[0]))return A[1];q=q+1|0}}has(Q){return this.get(Q)!==void 0}*values(){for(const[,[,Q]]of this._map)yield Q}}e.EqualityMap=Pe;function Re(V,Q){if(V===Q)return!0;if(V===void 0||Q===void 0||V===null||Q===null)return!1;if(typeof V.equals=="function"&&typeof Q.equals=="function")return V.equals(Q);if(V instanceof Set&&Q instanceof Set){if(V.size!==Q.size)return!1;for(const q of V)if(!Q.has(q))return!1;return!0}if(V instanceof Map&&Q instanceof Map){if(V.size!==Q.size)return!1;for(const[q,A]of V){const x=Q.get(q);if(!Re(A,x))return!1}return!0}if(Array.isArray(V)&&Array.isArray(Q)){const q=V.length;if(q!==Q.length)return!1;for(let A=0;A<q;A++)if(!Re(V[A],Q[A]))return!1;return!0}return!1}e.areEqual=Re;function nt(V){if(typeof V=="number")return V|0;if(typeof V=="string")return n(V);let Q=e.hashCodeInit;if(V===void 0)return Q;if(V===!0)return Q+1|0;if(V===!1)return Q+2|0;if(V===null)return Q+3|0;if(typeof V.hashCode=="function")return V.hashCode();if(V instanceof Set){for(const q of V)Q+=nt(q);return Q}if(V instanceof Map){let q=e.hashCodeInit;for(const[A,x]of V)q+=nt(A),Q+=nt(x);return i(q,Q)}if(Array.isArray(V)){for(const q of V)Q=i(Q,nt(q));return Q}throw new Error(`Cannot hash ${V}`)}e.hashCodeOf=nt})(Je);var Zf={},Bh={},Qf={},Ne={},y0={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(typeof self<"u"?self:typeof window<"u"?window:typeof Oe<"u"?Oe:Oe,function(){var n="3.7.5",i=n,s=typeof atob=="function",u=typeof btoa=="function",a=typeof Buffer=="function",f=typeof TextDecoder=="function"?new TextDecoder:void 0,y=typeof TextEncoder=="function"?new TextEncoder:void 0,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S=Array.prototype.slice.call(v),C=function(Z){var X={};return Z.forEach(function(se,de){return X[se]=de}),X}(S),R=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),k=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(Z){return new Uint8Array(Array.prototype.slice.call(Z,0))},w=function(Z){return Z.replace(/=/g,"").replace(/[+\/]/g,function(X){return X=="+"?"-":"_"})},M=function(Z){return Z.replace(/[^A-Za-z0-9\+\/]/g,"")},F=function(Z){for(var X,se,de,ge,Se="",oe=Z.length%3,ae=0;ae<Z.length;){if((se=Z.charCodeAt(ae++))>255||(de=Z.charCodeAt(ae++))>255||(ge=Z.charCodeAt(ae++))>255)throw new TypeError("invalid character found");X=se<<16|de<<8|ge,Se+=S[X>>18&63]+S[X>>12&63]+S[X>>6&63]+S[X&63]}return oe?Se.slice(0,oe-3)+"===".substring(oe):Se},I=u?function(Z){return btoa(Z)}:a?function(Z){return Buffer.from(Z,"binary").toString("base64")}:F,G=a?function(Z){return Buffer.from(Z).toString("base64")}:function(Z){for(var X=4096,se=[],de=0,ge=Z.length;de<ge;de+=X)se.push(_.apply(null,Z.subarray(de,de+X)));return I(se.join(""))},H=function(Z,X){return X===void 0&&(X=!1),X?w(G(Z)):G(Z)},J=function(Z){if(Z.length<2){var X=Z.charCodeAt(0);return X<128?Z:X<2048?_(192|X>>>6)+_(128|X&63):_(224|X>>>12&15)+_(128|X>>>6&63)+_(128|X&63)}else{var X=65536+(Z.charCodeAt(0)-55296)*1024+(Z.charCodeAt(1)-56320);return _(240|X>>>18&7)+_(128|X>>>12&63)+_(128|X>>>6&63)+_(128|X&63)}},D=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,P=function(Z){return Z.replace(D,J)},b=a?function(Z){return Buffer.from(Z,"utf8").toString("base64")}:y?function(Z){return G(y.encode(Z))}:function(Z){return I(P(Z))},L=function(Z,X){return X===void 0&&(X=!1),X?w(b(Z)):b(Z)},N=function(Z){return L(Z,!0)},O=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,h=function(Z){switch(Z.length){case 4:var X=(7&Z.charCodeAt(0))<<18|(63&Z.charCodeAt(1))<<12|(63&Z.charCodeAt(2))<<6|63&Z.charCodeAt(3),se=X-65536;return _((se>>>10)+55296)+_((se&1023)+56320);case 3:return _((15&Z.charCodeAt(0))<<12|(63&Z.charCodeAt(1))<<6|63&Z.charCodeAt(2));default:return _((31&Z.charCodeAt(0))<<6|63&Z.charCodeAt(1))}},o=function(Z){return Z.replace(O,h)},l=function(Z){if(Z=Z.replace(/\s+/g,""),!R.test(Z))throw new TypeError("malformed base64.");Z+="==".slice(2-(Z.length&3));for(var X,se="",de,ge,Se=0;Se<Z.length;)X=C[Z.charAt(Se++)]<<18|C[Z.charAt(Se++)]<<12|(de=C[Z.charAt(Se++)])<<6|(ge=C[Z.charAt(Se++)]),se+=de===64?_(X>>16&255):ge===64?_(X>>16&255,X>>8&255):_(X>>16&255,X>>8&255,X&255);return se},d=s?function(Z){return atob(M(Z))}:a?function(Z){return Buffer.from(Z,"base64").toString("binary")}:l,p=a?function(Z){return k(Buffer.from(Z,"base64"))}:function(Z){return k(d(Z).split("").map(function(X){return X.charCodeAt(0)}))},T=function(Z){return p(B(Z))},j=a?function(Z){return Buffer.from(Z,"base64").toString("utf8")}:f?function(Z){return f.decode(p(Z))}:function(Z){return o(d(Z))},B=function(Z){return M(Z.replace(/[-_]/g,function(X){return X=="-"?"+":"/"}))},m=function(Z){return j(B(Z))},E=function(Z){if(typeof Z!="string")return!1;var X=Z.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(X)||!/[^\s0-9a-zA-Z\-_]/.test(X)},z=function(Z){return{value:Z,enumerable:!1,writable:!0,configurable:!0}},U=function(){var Z=function(X,se){return Object.defineProperty(String.prototype,X,z(se))};Z("fromBase64",function(){return m(this)}),Z("toBase64",function(X){return L(this,X)}),Z("toBase64URI",function(){return L(this,!0)}),Z("toBase64URL",function(){return L(this,!0)}),Z("toUint8Array",function(){return T(this)})},K=function(){var Z=function(X,se){return Object.defineProperty(Uint8Array.prototype,X,z(se))};Z("toBase64",function(X){return H(this,X)}),Z("toBase64URI",function(){return H(this,!0)}),Z("toBase64URL",function(){return H(this,!0)})},Y=function(){U(),K()},re={version:n,VERSION:i,atob:d,atobPolyfill:l,btoa:I,btoaPolyfill:F,fromBase64:m,toBase64:L,encode:L,encodeURI:N,encodeURL:N,utob:P,btou:o,decode:m,isValid:E,fromUint8Array:H,toUint8Array:T,extendString:U,extendUint8Array:K,extendBuiltins:Y};return re.Base64={},Object.keys(re).forEach(function(Z){return re.Base64[Z]=re[Z]}),re})})(y0);var DE=y0.exports,lr={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(u,a){return Object.prototype.hasOwnProperty.call(u,a)}e.assign=function(u){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var f=a.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var y in f)n(f,y)&&(u[y]=f[y])}}return u},e.shrinkBuf=function(u,a){return u.length===a?u:u.subarray?u.subarray(0,a):(u.length=a,u)};var i={arraySet:function(u,a,f,y,v){if(a.subarray&&u.subarray){u.set(a.subarray(f,f+y),v);return}for(var S=0;S<y;S++)u[v+S]=a[f+S]},flattenChunks:function(u){var a,f,y,v,S,C;for(y=0,a=0,f=u.length;a<f;a++)y+=u[a].length;for(C=new Uint8Array(y),v=0,a=0,f=u.length;a<f;a++)S=u[a],C.set(S,v),v+=S.length;return C}},s={arraySet:function(u,a,f,y,v){for(var S=0;S<y;S++)u[v+S]=a[f+S]},flattenChunks:function(u){return[].concat.apply([],u)}};e.setTyped=function(u){u?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,s))},e.setTyped(t)})(lr);var Ia={},ji={},Oo={},UE=lr,xE=4,Ig=0,Mg=1,JE=2;function Co(e){for(var t=e.length;--t>=0;)e[t]=0}var zE=0,g0=1,WE=2,GE=3,qE=258,Dh=29,Ma=256,_a=Ma+1+Dh,yo=30,Uh=19,b0=2*_a+1,cs=15,Xf=16,HE=7,xh=256,T0=16,S0=17,v0=18,nh=[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],tu=[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],VE=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w0=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],KE=512,Qi=new Array((_a+2)*2);Co(Qi);var ga=new Array(yo*2);Co(ga);var Na=new Array(KE);Co(Na);var ka=new Array(qE-GE+1);Co(ka);var Jh=new Array(Dh);Co(Jh);var gu=new Array(yo);Co(gu);function Yf(e,t,n,i,s){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=s,this.has_stree=e&&e.length}var L0,_0,N0;function $f(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function k0(e){return e<256?Na[e]:Na[256+(e>>>7)]}function Oa(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function wn(e,t,n){e.bi_valid>Xf-n?(e.bi_buf|=t<<e.bi_valid&65535,Oa(e,e.bi_buf),e.bi_buf=t>>Xf-e.bi_valid,e.bi_valid+=n-Xf):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Oi(e,t,n){wn(e,n[t*2],n[t*2+1])}function O0(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function ZE(e){e.bi_valid===16?(Oa(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function QE(e,t){var n=t.dyn_tree,i=t.max_code,s=t.stat_desc.static_tree,u=t.stat_desc.has_stree,a=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,y=t.stat_desc.max_length,v,S,C,R,_,k,w=0;for(R=0;R<=cs;R++)e.bl_count[R]=0;for(n[e.heap[e.heap_max]*2+1]=0,v=e.heap_max+1;v<b0;v++)S=e.heap[v],R=n[n[S*2+1]*2+1]+1,R>y&&(R=y,w++),n[S*2+1]=R,!(S>i)&&(e.bl_count[R]++,_=0,S>=f&&(_=a[S-f]),k=n[S*2],e.opt_len+=k*(R+_),u&&(e.static_len+=k*(s[S*2+1]+_)));if(w!==0){do{for(R=y-1;e.bl_count[R]===0;)R--;e.bl_count[R]--,e.bl_count[R+1]+=2,e.bl_count[y]--,w-=2}while(w>0);for(R=y;R!==0;R--)for(S=e.bl_count[R];S!==0;)C=e.heap[--v],!(C>i)&&(n[C*2+1]!==R&&(e.opt_len+=(R-n[C*2+1])*n[C*2],n[C*2+1]=R),S--)}}function C0(e,t,n){var i=new Array(cs+1),s=0,u,a;for(u=1;u<=cs;u++)i[u]=s=s+n[u-1]<<1;for(a=0;a<=t;a++){var f=e[a*2+1];f!==0&&(e[a*2]=O0(i[f]++,f))}}function XE(){var e,t,n,i,s,u=new Array(cs+1);for(n=0,i=0;i<Dh-1;i++)for(Jh[i]=n,e=0;e<1<<nh[i];e++)ka[n++]=i;for(ka[n-1]=i,s=0,i=0;i<16;i++)for(gu[i]=s,e=0;e<1<<tu[i];e++)Na[s++]=i;for(s>>=7;i<yo;i++)for(gu[i]=s<<7,e=0;e<1<<tu[i]-7;e++)Na[256+s++]=i;for(t=0;t<=cs;t++)u[t]=0;for(e=0;e<=143;)Qi[e*2+1]=8,e++,u[8]++;for(;e<=255;)Qi[e*2+1]=9,e++,u[9]++;for(;e<=279;)Qi[e*2+1]=7,e++,u[7]++;for(;e<=287;)Qi[e*2+1]=8,e++,u[8]++;for(C0(Qi,_a+1,u),e=0;e<yo;e++)ga[e*2+1]=5,ga[e*2]=O0(e,5);L0=new Yf(Qi,nh,Ma+1,_a,cs),_0=new Yf(ga,tu,0,yo,cs),N0=new Yf(new Array(0),VE,0,Uh,HE)}function E0(e){var t;for(t=0;t<_a;t++)e.dyn_ltree[t*2]=0;for(t=0;t<yo;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Uh;t++)e.bl_tree[t*2]=0;e.dyn_ltree[xh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function A0(e){e.bi_valid>8?Oa(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function YE(e,t,n,i){A0(e),i&&(Oa(e,n),Oa(e,~n)),UE.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function jg(e,t,n,i){var s=t*2,u=n*2;return e[s]<e[u]||e[s]===e[u]&&i[t]<=i[n]}function ed(e,t,n){for(var i=e.heap[n],s=n<<1;s<=e.heap_len&&(s<e.heap_len&&jg(t,e.heap[s+1],e.heap[s],e.depth)&&s++,!jg(t,i,e.heap[s],e.depth));)e.heap[n]=e.heap[s],n=s,s<<=1;e.heap[n]=i}function Rg(e,t,n){var i,s,u=0,a,f;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+u*2]<<8|e.pending_buf[e.d_buf+u*2+1],s=e.pending_buf[e.l_buf+u],u++,i===0?Oi(e,s,t):(a=ka[s],Oi(e,a+Ma+1,t),f=nh[a],f!==0&&(s-=Jh[a],wn(e,s,f)),i--,a=k0(i),Oi(e,a,n),f=tu[a],f!==0&&(i-=gu[a],wn(e,i,f)));while(u<e.last_lit);Oi(e,xh,t)}function ih(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,a,f,y=-1,v;for(e.heap_len=0,e.heap_max=b0,a=0;a<u;a++)n[a*2]!==0?(e.heap[++e.heap_len]=y=a,e.depth[a]=0):n[a*2+1]=0;for(;e.heap_len<2;)v=e.heap[++e.heap_len]=y<2?++y:0,n[v*2]=1,e.depth[v]=0,e.opt_len--,s&&(e.static_len-=i[v*2+1]);for(t.max_code=y,a=e.heap_len>>1;a>=1;a--)ed(e,n,a);v=u;do a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ed(e,n,1),f=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=f,n[v*2]=n[a*2]+n[f*2],e.depth[v]=(e.depth[a]>=e.depth[f]?e.depth[a]:e.depth[f])+1,n[a*2+1]=n[f*2+1]=v,e.heap[1]=v++,ed(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],QE(e,t),C0(n,y,e.bl_count)}function Bg(e,t,n){var i,s=-1,u,a=t[0*2+1],f=0,y=7,v=4;for(a===0&&(y=138,v=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)u=a,a=t[(i+1)*2+1],!(++f<y&&u===a)&&(f<v?e.bl_tree[u*2]+=f:u!==0?(u!==s&&e.bl_tree[u*2]++,e.bl_tree[T0*2]++):f<=10?e.bl_tree[S0*2]++:e.bl_tree[v0*2]++,f=0,s=u,a===0?(y=138,v=3):u===a?(y=6,v=3):(y=7,v=4))}function Dg(e,t,n){var i,s=-1,u,a=t[0*2+1],f=0,y=7,v=4;for(a===0&&(y=138,v=3),i=0;i<=n;i++)if(u=a,a=t[(i+1)*2+1],!(++f<y&&u===a)){if(f<v)do Oi(e,u,e.bl_tree);while(--f!==0);else u!==0?(u!==s&&(Oi(e,u,e.bl_tree),f--),Oi(e,T0,e.bl_tree),wn(e,f-3,2)):f<=10?(Oi(e,S0,e.bl_tree),wn(e,f-3,3)):(Oi(e,v0,e.bl_tree),wn(e,f-11,7));f=0,s=u,a===0?(y=138,v=3):u===a?(y=6,v=3):(y=7,v=4)}}function $E(e){var t;for(Bg(e,e.dyn_ltree,e.l_desc.max_code),Bg(e,e.dyn_dtree,e.d_desc.max_code),ih(e,e.bl_desc),t=Uh-1;t>=3&&e.bl_tree[w0[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function eA(e,t,n,i){var s;for(wn(e,t-257,5),wn(e,n-1,5),wn(e,i-4,4),s=0;s<i;s++)wn(e,e.bl_tree[w0[s]*2+1],3);Dg(e,e.dyn_ltree,t-1),Dg(e,e.dyn_dtree,n-1)}function tA(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Ig;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Mg;for(n=32;n<Ma;n++)if(e.dyn_ltree[n*2]!==0)return Mg;return Ig}var Ug=!1;function nA(e){Ug||(XE(),Ug=!0),e.l_desc=new $f(e.dyn_ltree,L0),e.d_desc=new $f(e.dyn_dtree,_0),e.bl_desc=new $f(e.bl_tree,N0),e.bi_buf=0,e.bi_valid=0,E0(e)}function F0(e,t,n,i){wn(e,(zE<<1)+(i?1:0),3),YE(e,t,n,!0)}function iA(e){wn(e,g0<<1,3),Oi(e,xh,Qi),ZE(e)}function rA(e,t,n,i){var s,u,a=0;e.level>0?(e.strm.data_type===JE&&(e.strm.data_type=tA(e)),ih(e,e.l_desc),ih(e,e.d_desc),a=$E(e),s=e.opt_len+3+7>>>3,u=e.static_len+3+7>>>3,u<=s&&(s=u)):s=u=n+5,n+4<=s&&t!==-1?F0(e,t,n,i):e.strategy===xE||u===s?(wn(e,(g0<<1)+(i?1:0),3),Rg(e,Qi,ga)):(wn(e,(WE<<1)+(i?1:0),3),eA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Rg(e,e.dyn_ltree,e.dyn_dtree)),E0(e),i&&A0(e)}function sA(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(ka[n]+Ma+1)*2]++,e.dyn_dtree[k0(t)*2]++),e.last_lit===e.lit_bufsize-1}Oo._tr_init=nA;Oo._tr_stored_block=F0;Oo._tr_flush_block=rA;Oo._tr_tally=sA;Oo._tr_align=iA;function oA(e,t,n,i){for(var s=e&65535|0,u=e>>>16&65535|0,a=0;n!==0;){a=n>2e3?2e3:n,n-=a;do s=s+t[i++]|0,u=u+s|0;while(--a);s%=65521,u%=65521}return s|u<<16|0}var P0=oA;function aA(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var lA=aA();function uA(e,t,n,i){var s=lA,u=i+n;e^=-1;for(var a=i;a<u;a++)e=e>>>8^s[(e^t[a])&255];return e^-1}var I0=uA,zh={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"},cn=lr,Zn=Oo,M0=P0,Cr=I0,cA=zh,Es=0,fA=1,dA=3,Br=4,xg=5,Ci=0,Jg=1,Qn=-2,hA=-3,td=-5,pA=-1,mA=1,zl=2,yA=3,gA=4,bA=0,TA=2,Pu=8,SA=9,vA=15,wA=8,LA=29,_A=256,rh=_A+1+LA,NA=30,kA=19,OA=2*rh+1,CA=15,ut=3,Ir=258,ui=Ir+ut+1,EA=32,Iu=42,sh=69,nu=73,iu=91,ru=103,fs=113,ca=666,Vt=1,ja=2,Ts=3,Eo=4,AA=3;function Mr(e,t){return e.msg=cA[t],t}function zg(e){return(e<<1)-(e>4?9:0)}function Pr(e){for(var t=e.length;--t>=0;)e[t]=0}function Er(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(cn.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function $t(e,t){Zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Er(e.strm)}function ht(e,t){e.pending_buf[e.pending++]=t}function na(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function FA(e,t,n,i){var s=e.avail_in;return s>i&&(s=i),s===0?0:(e.avail_in-=s,cn.arraySet(t,e.input,e.next_in,s,n),e.state.wrap===1?e.adler=M0(e.adler,t,s,n):e.state.wrap===2&&(e.adler=Cr(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function j0(e,t){var n=e.max_chain_length,i=e.strstart,s,u,a=e.prev_length,f=e.nice_match,y=e.strstart>e.w_size-ui?e.strstart-(e.w_size-ui):0,v=e.window,S=e.w_mask,C=e.prev,R=e.strstart+Ir,_=v[i+a-1],k=v[i+a];e.prev_length>=e.good_match&&(n>>=2),f>e.lookahead&&(f=e.lookahead);do if(s=t,!(v[s+a]!==k||v[s+a-1]!==_||v[s]!==v[i]||v[++s]!==v[i+1])){i+=2,s++;do;while(v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&v[++i]===v[++s]&&i<R);if(u=Ir-(R-i),i=R-Ir,u>a){if(e.match_start=t,a=u,u>=f)break;_=v[i+a-1],k=v[i+a]}}while((t=C[t&S])>y&&--n!==0);return a<=e.lookahead?a:e.lookahead}function Ss(e){var t=e.w_size,n,i,s,u,a;do{if(u=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ui)){cn.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do s=e.head[--n],e.head[n]=s>=t?s-t:0;while(--i);i=t,n=i;do s=e.prev[--n],e.prev[n]=s>=t?s-t:0;while(--i);u+=t}if(e.strm.avail_in===0)break;if(i=FA(e.strm,e.window,e.strstart+e.lookahead,u),e.lookahead+=i,e.lookahead+e.insert>=ut)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+ut-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<ut)););}while(e.lookahead<ui&&e.strm.avail_in!==0)}function PA(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ss(e),e.lookahead===0&&t===Es)return Vt;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,$t(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ui&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):(e.strstart>e.block_start&&($t(e,!1),e.strm.avail_out===0),Vt)}function nd(e,t){for(var n,i;;){if(e.lookahead<ui){if(Ss(e),e.lookahead<ui&&t===Es)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ut&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-ui&&(e.match_length=j0(e,n)),e.match_length>=ut)if(i=Zn._tr_tally(e,e.strstart-e.match_start,e.match_length-ut),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ut){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=e.strstart<ut-1?e.strstart:ut-1,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function to(e,t){for(var n,i,s;;){if(e.lookahead<ui){if(Ss(e),e.lookahead<ui&&t===Es)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ut&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ut-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-ui&&(e.match_length=j0(e,n),e.match_length<=5&&(e.strategy===mA||e.match_length===ut&&e.strstart-e.match_start>4096)&&(e.match_length=ut-1)),e.prev_length>=ut&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-ut,i=Zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ut),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ut-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ut-1,e.strstart++,i&&($t(e,!1),e.strm.avail_out===0))return Vt}else if(e.match_available){if(i=Zn._tr_tally(e,0,e.window[e.strstart-1]),i&&$t(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Vt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ut-1?e.strstart:ut-1,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function IA(e,t){for(var n,i,s,u,a=e.window;;){if(e.lookahead<=Ir){if(Ss(e),e.lookahead<=Ir&&t===Es)return Vt;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ut&&e.strstart>0&&(s=e.strstart-1,i=a[s],i===a[++s]&&i===a[++s]&&i===a[++s])){u=e.strstart+Ir;do;while(i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&i===a[++s]&&s<u);e.match_length=Ir-(u-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ut?(n=Zn._tr_tally(e,1,e.match_length-ut),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function MA(e,t){for(var n;;){if(e.lookahead===0&&(Ss(e),e.lookahead===0)){if(t===Es)return Vt;break}if(e.match_length=0,n=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Br?($t(e,!0),e.strm.avail_out===0?Ts:Eo):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function gi(e,t,n,i,s){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=s}var uo;uo=[new gi(0,0,0,0,PA),new gi(4,4,8,4,nd),new gi(4,5,16,8,nd),new gi(4,6,32,32,nd),new gi(4,4,16,16,to),new gi(8,16,32,32,to),new gi(8,16,128,128,to),new gi(8,32,128,256,to),new gi(32,128,258,1024,to),new gi(32,258,258,4096,to)];function jA(e){e.window_size=2*e.w_size,Pr(e.head),e.max_lazy_match=uo[e.level].max_lazy,e.good_match=uo[e.level].good_length,e.nice_match=uo[e.level].nice_length,e.max_chain_length=uo[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ut-1,e.match_available=0,e.ins_h=0}function RA(){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=Pu,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 cn.Buf16(OA*2),this.dyn_dtree=new cn.Buf16((2*NA+1)*2),this.bl_tree=new cn.Buf16((2*kA+1)*2),Pr(this.dyn_ltree),Pr(this.dyn_dtree),Pr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new cn.Buf16(CA+1),this.heap=new cn.Buf16(2*rh+1),Pr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new cn.Buf16(2*rh+1),Pr(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 R0(e){var t;return!e||!e.state?Mr(e,Qn):(e.total_in=e.total_out=0,e.data_type=TA,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Iu:fs,e.adler=t.wrap===2?0:1,t.last_flush=Es,Zn._tr_init(t),Ci)}function B0(e){var t=R0(e);return t===Ci&&jA(e.state),t}function BA(e,t){return!e||!e.state||e.state.wrap!==2?Qn:(e.state.gzhead=t,Ci)}function D0(e,t,n,i,s,u){if(!e)return Qn;var a=1;if(t===pA&&(t=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),s<1||s>SA||n!==Pu||i<8||i>15||t<0||t>9||u<0||u>gA)return Mr(e,Qn);i===8&&(i=9);var f=new RA;return e.state=f,f.strm=e,f.wrap=a,f.gzhead=null,f.w_bits=i,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=s+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+ut-1)/ut),f.window=new cn.Buf8(f.w_size*2),f.head=new cn.Buf16(f.hash_size),f.prev=new cn.Buf16(f.w_size),f.lit_bufsize=1<<s+6,f.pending_buf_size=f.lit_bufsize*4,f.pending_buf=new cn.Buf8(f.pending_buf_size),f.d_buf=1*f.lit_bufsize,f.l_buf=(1+2)*f.lit_bufsize,f.level=t,f.strategy=u,f.method=n,B0(e)}function DA(e,t){return D0(e,t,Pu,vA,wA,bA)}function UA(e,t){var n,i,s,u;if(!e||!e.state||t>xg||t<0)return e?Mr(e,Qn):Qn;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ca&&t!==Br)return Mr(e,e.avail_out===0?td:Qn);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===Iu)if(i.wrap===2)e.adler=0,ht(i,31),ht(i,139),ht(i,8),i.gzhead?(ht(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ht(i,i.gzhead.time&255),ht(i,i.gzhead.time>>8&255),ht(i,i.gzhead.time>>16&255),ht(i,i.gzhead.time>>24&255),ht(i,i.level===9?2:i.strategy>=zl||i.level<2?4:0),ht(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ht(i,i.gzhead.extra.length&255),ht(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Cr(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=sh):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,i.level===9?2:i.strategy>=zl||i.level<2?4:0),ht(i,AA),i.status=fs);else{var a=Pu+(i.w_bits-8<<4)<<8,f=-1;i.strategy>=zl||i.level<2?f=0:i.level<6?f=1:i.level===6?f=2:f=3,a|=f<<6,i.strstart!==0&&(a|=EA),a+=31-a%31,i.status=fs,na(i,a),i.strstart!==0&&(na(i,e.adler>>>16),na(i,e.adler&65535)),e.adler=1}if(i.status===sh)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),Er(e),s=i.pending,i.pending===i.pending_buf_size));)ht(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=nu)}else i.status=nu;if(i.status===nu)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),Er(e),s=i.pending,i.pending===i.pending_buf_size)){u=1;break}i.gzindex<i.gzhead.name.length?u=i.gzhead.name.charCodeAt(i.gzindex++)&255:u=0,ht(i,u)}while(u!==0);i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),u===0&&(i.gzindex=0,i.status=iu)}else i.status=iu;if(i.status===iu)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),Er(e),s=i.pending,i.pending===i.pending_buf_size)){u=1;break}i.gzindex<i.gzhead.comment.length?u=i.gzhead.comment.charCodeAt(i.gzindex++)&255:u=0,ht(i,u)}while(u!==0);i.gzhead.hcrc&&i.pending>s&&(e.adler=Cr(e.adler,i.pending_buf,i.pending-s,s)),u===0&&(i.status=ru)}else i.status=ru;if(i.status===ru&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Er(e),i.pending+2<=i.pending_buf_size&&(ht(i,e.adler&255),ht(i,e.adler>>8&255),e.adler=0,i.status=fs)):i.status=fs),i.pending!==0){if(Er(e),e.avail_out===0)return i.last_flush=-1,Ci}else if(e.avail_in===0&&zg(t)<=zg(n)&&t!==Br)return Mr(e,td);if(i.status===ca&&e.avail_in!==0)return Mr(e,td);if(e.avail_in!==0||i.lookahead!==0||t!==Es&&i.status!==ca){var y=i.strategy===zl?MA(i,t):i.strategy===yA?IA(i,t):uo[i.level].func(i,t);if((y===Ts||y===Eo)&&(i.status=ca),y===Vt||y===Ts)return e.avail_out===0&&(i.last_flush=-1),Ci;if(y===ja&&(t===fA?Zn._tr_align(i):t!==xg&&(Zn._tr_stored_block(i,0,0,!1),t===dA&&(Pr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Er(e),e.avail_out===0))return i.last_flush=-1,Ci}return t!==Br?Ci:i.wrap<=0?Jg:(i.wrap===2?(ht(i,e.adler&255),ht(i,e.adler>>8&255),ht(i,e.adler>>16&255),ht(i,e.adler>>24&255),ht(i,e.total_in&255),ht(i,e.total_in>>8&255),ht(i,e.total_in>>16&255),ht(i,e.total_in>>24&255)):(na(i,e.adler>>>16),na(i,e.adler&65535)),Er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ci:Jg)}function xA(e){var t;return!e||!e.state?Qn:(t=e.state.status,t!==Iu&&t!==sh&&t!==nu&&t!==iu&&t!==ru&&t!==fs&&t!==ca?Mr(e,Qn):(e.state=null,t===fs?Mr(e,hA):Ci))}function JA(e,t){var n=t.length,i,s,u,a,f,y,v,S;if(!e||!e.state||(i=e.state,a=i.wrap,a===2||a===1&&i.status!==Iu||i.lookahead))return Qn;for(a===1&&(e.adler=M0(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(a===0&&(Pr(i.head),i.strstart=0,i.block_start=0,i.insert=0),S=new cn.Buf8(i.w_size),cn.arraySet(S,t,n-i.w_size,i.w_size,0),t=S,n=i.w_size),f=e.avail_in,y=e.next_in,v=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ss(i);i.lookahead>=ut;){s=i.strstart,u=i.lookahead-(ut-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[s+ut-1])&i.hash_mask,i.prev[s&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=s,s++;while(--u);i.strstart=s,i.lookahead=ut-1,Ss(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ut-1,i.match_available=0,e.next_in=y,e.input=v,e.avail_in=f,i.wrap=a,Ci}ji.deflateInit=DA;ji.deflateInit2=D0;ji.deflateReset=B0;ji.deflateResetKeep=R0;ji.deflateSetHeader=BA;ji.deflate=UA;ji.deflateEnd=xA;ji.deflateSetDictionary=JA;ji.deflateInfo="pako deflate (from Nodeca project)";var As={},Mu=lr,U0=!0,x0=!0;try{String.fromCharCode.apply(null,[0])}catch{U0=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{x0=!1}var Ca=new Mu.Buf8(256);for(var Nr=0;Nr<256;Nr++)Ca[Nr]=Nr>=252?6:Nr>=248?5:Nr>=240?4:Nr>=224?3:Nr>=192?2:1;Ca[254]=Ca[254]=1;As.string2buf=function(e){var t,n,i,s,u,a=e.length,f=0;for(s=0;s<a;s++)n=e.charCodeAt(s),(n&64512)===55296&&s+1<a&&(i=e.charCodeAt(s+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),s++)),f+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Mu.Buf8(f),u=0,s=0;u<f;s++)n=e.charCodeAt(s),(n&64512)===55296&&s+1<a&&(i=e.charCodeAt(s+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),s++)),n<128?t[u++]=n:n<2048?(t[u++]=192|n>>>6,t[u++]=128|n&63):n<65536?(t[u++]=224|n>>>12,t[u++]=128|n>>>6&63,t[u++]=128|n&63):(t[u++]=240|n>>>18,t[u++]=128|n>>>12&63,t[u++]=128|n>>>6&63,t[u++]=128|n&63);return t};function J0(e,t){if(t<65534&&(e.subarray&&x0||!e.subarray&&U0))return String.fromCharCode.apply(null,Mu.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}As.buf2binstring=function(e){return J0(e,e.length)};As.binstring2buf=function(e){for(var t=new Mu.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};As.buf2string=function(e,t){var n,i,s,u,a=t||e.length,f=new Array(a*2);for(i=0,n=0;n<a;){if(s=e[n++],s<128){f[i++]=s;continue}if(u=Ca[s],u>4){f[i++]=65533,n+=u-1;continue}for(s&=u===2?31:u===3?15:7;u>1&&n<a;)s=s<<6|e[n++]&63,u--;if(u>1){f[i++]=65533;continue}s<65536?f[i++]=s:(s-=65536,f[i++]=55296|s>>10&1023,f[i++]=56320|s&1023)}return J0(f,i)};As.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Ca[e[n]]>t?n:t};function zA(){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}var z0=zA,ba=ji,Ta=lr,oh=As,ah=zh,WA=z0,W0=Object.prototype.toString,GA=0,id=4,go=0,Wg=1,Gg=2,qA=-1,HA=0,VA=8;function vs(e){if(!(this instanceof vs))return new vs(e);this.options=Ta.assign({level:qA,method:VA,chunkSize:16384,windowBits:15,memLevel:8,strategy:HA,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new WA,this.strm.avail_out=0;var n=ba.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==go)throw new Error(ah[n]);if(t.header&&ba.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=oh.string2buf(t.dictionary):W0.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=ba.deflateSetDictionary(this.strm,i),n!==go)throw new Error(ah[n]);this._dict_set=!0}}vs.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,s,u;if(this.ended)return!1;u=t===~~t?t:t===!0?id:GA,typeof e=="string"?n.input=oh.string2buf(e):W0.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ta.Buf8(i),n.next_out=0,n.avail_out=i),s=ba.deflate(n,u),s!==Wg&&s!==go)return this.onEnd(s),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(u===id||u===Gg))&&(this.options.to==="string"?this.onData(oh.buf2binstring(Ta.shrinkBuf(n.output,n.next_out))):this.onData(Ta.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&s!==Wg);return u===id?(s=ba.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===go):(u===Gg&&(this.onEnd(go),n.avail_out=0),!0)};vs.prototype.onData=function(e){this.chunks.push(e)};vs.prototype.onEnd=function(e){e===go&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ta.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Wh(e,t){var n=new vs(t);if(n.push(e,!0),n.err)throw n.msg||ah[n.err];return n.result}function KA(e,t){return t=t||{},t.raw=!0,Wh(e,t)}function ZA(e,t){return t=t||{},t.gzip=!0,Wh(e,t)}Ia.Deflate=vs;Ia.deflate=Wh;Ia.deflateRaw=KA;Ia.gzip=ZA;var Ra={},fi={},Wl=30,QA=12,XA=function(t,n){var i,s,u,a,f,y,v,S,C,R,_,k,w,M,F,I,G,H,J,D,P,b,L,N,O;i=t.state,s=t.next_in,N=t.input,u=s+(t.avail_in-5),a=t.next_out,O=t.output,f=a-(n-t.avail_out),y=a+(t.avail_out-257),v=i.dmax,S=i.wsize,C=i.whave,R=i.wnext,_=i.window,k=i.hold,w=i.bits,M=i.lencode,F=i.distcode,I=(1<<i.lenbits)-1,G=(1<<i.distbits)-1;e:do{w<15&&(k+=N[s++]<<w,w+=8,k+=N[s++]<<w,w+=8),H=M[k&I];t:for(;;){if(J=H>>>24,k>>>=J,w-=J,J=H>>>16&255,J===0)O[a++]=H&65535;else if(J&16){D=H&65535,J&=15,J&&(w<J&&(k+=N[s++]<<w,w+=8),D+=k&(1<<J)-1,k>>>=J,w-=J),w<15&&(k+=N[s++]<<w,w+=8,k+=N[s++]<<w,w+=8),H=F[k&G];n:for(;;){if(J=H>>>24,k>>>=J,w-=J,J=H>>>16&255,J&16){if(P=H&65535,J&=15,w<J&&(k+=N[s++]<<w,w+=8,w<J&&(k+=N[s++]<<w,w+=8)),P+=k&(1<<J)-1,P>v){t.msg="invalid distance too far back",i.mode=Wl;break e}if(k>>>=J,w-=J,J=a-f,P>J){if(J=P-J,J>C&&i.sane){t.msg="invalid distance too far back",i.mode=Wl;break e}if(b=0,L=_,R===0){if(b+=S-J,J<D){D-=J;do O[a++]=_[b++];while(--J);b=a-P,L=O}}else if(R<J){if(b+=S+R-J,J-=R,J<D){D-=J;do O[a++]=_[b++];while(--J);if(b=0,R<D){J=R,D-=J;do O[a++]=_[b++];while(--J);b=a-P,L=O}}}else if(b+=R-J,J<D){D-=J;do O[a++]=_[b++];while(--J);b=a-P,L=O}for(;D>2;)O[a++]=L[b++],O[a++]=L[b++],O[a++]=L[b++],D-=3;D&&(O[a++]=L[b++],D>1&&(O[a++]=L[b++]))}else{b=a-P;do O[a++]=O[b++],O[a++]=O[b++],O[a++]=O[b++],D-=3;while(D>2);D&&(O[a++]=O[b++],D>1&&(O[a++]=O[b++]))}}else if(J&64){t.msg="invalid distance code",i.mode=Wl;break e}else{H=F[(H&65535)+(k&(1<<J)-1)];continue n}break}}else if(J&64)if(J&32){i.mode=QA;break e}else{t.msg="invalid literal/length code",i.mode=Wl;break e}else{H=M[(H&65535)+(k&(1<<J)-1)];continue t}break}}while(s<u&&a<y);D=w>>3,s-=D,w-=D<<3,k&=(1<<w)-1,t.next_in=s,t.next_out=a,t.avail_in=s<u?5+(u-s):5-(s-u),t.avail_out=a<y?257+(y-a):257-(a-y),i.hold=k,i.bits=w},qg=lr,no=15,Hg=852,Vg=592,Kg=0,rd=1,Zg=2,YA=[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],$A=[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],eF=[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],tF=[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],nF=function(t,n,i,s,u,a,f,y){var v=y.bits,S=0,C=0,R=0,_=0,k=0,w=0,M=0,F=0,I=0,G=0,H,J,D,P,b,L=null,N=0,O,h=new qg.Buf16(no+1),o=new qg.Buf16(no+1),l=null,d=0,p,T,j;for(S=0;S<=no;S++)h[S]=0;for(C=0;C<s;C++)h[n[i+C]]++;for(k=v,_=no;_>=1&&h[_]===0;_--);if(k>_&&(k=_),_===0)return u[a++]=1<<24|64<<16|0,u[a++]=1<<24|64<<16|0,y.bits=1,0;for(R=1;R<_&&h[R]===0;R++);for(k<R&&(k=R),F=1,S=1;S<=no;S++)if(F<<=1,F-=h[S],F<0)return-1;if(F>0&&(t===Kg||_!==1))return-1;for(o[1]=0,S=1;S<no;S++)o[S+1]=o[S]+h[S];for(C=0;C<s;C++)n[i+C]!==0&&(f[o[n[i+C]]++]=C);if(t===Kg?(L=l=f,O=19):t===rd?(L=YA,N-=257,l=$A,d-=257,O=256):(L=eF,l=tF,O=-1),G=0,C=0,S=R,b=a,w=k,M=0,D=-1,I=1<<k,P=I-1,t===rd&&I>Hg||t===Zg&&I>Vg)return 1;for(;;){p=S-M,f[C]<O?(T=0,j=f[C]):f[C]>O?(T=l[d+f[C]],j=L[N+f[C]]):(T=32+64,j=0),H=1<<S-M,J=1<<w,R=J;do J-=H,u[b+(G>>M)+J]=p<<24|T<<16|j|0;while(J!==0);for(H=1<<S-1;G&H;)H>>=1;if(H!==0?(G&=H-1,G+=H):G=0,C++,--h[S]===0){if(S===_)break;S=n[i+f[C]]}if(S>k&&(G&P)!==D){for(M===0&&(M=k),b+=R,w=S-M,F=1<<w;w+M<_&&(F-=h[w+M],!(F<=0));)w++,F<<=1;if(I+=1<<w,t===rd&&I>Hg||t===Zg&&I>Vg)return 1;D=G&P,u[D]=k<<24|w<<16|b-a|0}}return G!==0&&(u[b+G]=S-M<<24|64<<16|0),y.bits=k,0},Mn=lr,lh=P0,bi=I0,iF=XA,Sa=nF,rF=0,G0=1,q0=2,Qg=4,sF=5,Gl=6,ws=0,oF=1,aF=2,Yn=-2,H0=-3,V0=-4,lF=-5,Xg=8,K0=1,Yg=2,$g=3,eb=4,tb=5,nb=6,ib=7,rb=8,sb=9,ob=10,bu=11,Hi=12,sd=13,ab=14,od=15,lb=16,ub=17,cb=18,fb=19,ql=20,Hl=21,db=22,hb=23,pb=24,mb=25,yb=26,ad=27,gb=28,bb=29,Ct=30,Z0=31,uF=32,cF=852,fF=592,dF=15,hF=dF;function Tb(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function pF(){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 Mn.Buf16(320),this.work=new Mn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Q0(e){var t;return!e||!e.state?Yn:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=K0,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Mn.Buf32(cF),t.distcode=t.distdyn=new Mn.Buf32(fF),t.sane=1,t.back=-1,ws)}function X0(e){var t;return!e||!e.state?Yn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Q0(e))}function Y0(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Yn:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,X0(e))}function $0(e,t){var n,i;return e?(i=new pF,e.state=i,i.window=null,n=Y0(e,t),n!==ws&&(e.state=null),n):Yn}function mF(e){return $0(e,hF)}var Sb=!0,ld,ud;function yF(e){if(Sb){var t;for(ld=new Mn.Buf32(512),ud=new Mn.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Sa(G0,e.lens,0,288,ld,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Sa(q0,e.lens,0,32,ud,0,e.work,{bits:5}),Sb=!1}e.lencode=ld,e.lenbits=9,e.distcode=ud,e.distbits=5}function eS(e,t,n,i){var s,u=e.state;return u.window===null&&(u.wsize=1<<u.wbits,u.wnext=0,u.whave=0,u.window=new Mn.Buf8(u.wsize)),i>=u.wsize?(Mn.arraySet(u.window,t,n-u.wsize,u.wsize,0),u.wnext=0,u.whave=u.wsize):(s=u.wsize-u.wnext,s>i&&(s=i),Mn.arraySet(u.window,t,n-i,s,u.wnext),i-=s,i?(Mn.arraySet(u.window,t,n-i,i,0),u.wnext=i,u.whave=u.wsize):(u.wnext+=s,u.wnext===u.wsize&&(u.wnext=0),u.whave<u.wsize&&(u.whave+=s))),0}function gF(e,t){var n,i,s,u,a,f,y,v,S,C,R,_,k,w,M=0,F,I,G,H,J,D,P,b,L=new Mn.Buf8(4),N,O,h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Yn;n=e.state,n.mode===Hi&&(n.mode=sd),a=e.next_out,s=e.output,y=e.avail_out,u=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,C=f,R=y,b=ws;e:for(;;)switch(n.mode){case K0:if(n.wrap===0){n.mode=sd;break}for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(n.wrap&2&&v===35615){n.check=0,L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0),v=0,S=0,n.mode=Yg;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((v&255)<<8)+(v>>8))%31){e.msg="incorrect header check",n.mode=Ct;break}if((v&15)!==Xg){e.msg="unknown compression method",n.mode=Ct;break}if(v>>>=4,S-=4,P=(v&15)+8,n.wbits===0)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=Ct;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=v&512?ob:Hi,v=0,S=0;break;case Yg:for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(n.flags=v,(n.flags&255)!==Xg){e.msg="unknown compression method",n.mode=Ct;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Ct;break}n.head&&(n.head.text=v>>8&1),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0)),v=0,S=0,n.mode=$g;case $g:for(;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.head&&(n.head.time=v),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,L[2]=v>>>16&255,L[3]=v>>>24&255,n.check=bi(n.check,L,4,0)),v=0,S=0,n.mode=eb;case eb:for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.head&&(n.head.xflags=v&255,n.head.os=v>>8),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0)),v=0,S=0,n.mode=tb;case tb:if(n.flags&1024){for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.length=v,n.head&&(n.head.extra_len=v),n.flags&512&&(L[0]=v&255,L[1]=v>>>8&255,n.check=bi(n.check,L,2,0)),v=0,S=0}else n.head&&(n.head.extra=null);n.mode=nb;case nb:if(n.flags&1024&&(_=n.length,_>f&&(_=f),_&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Mn.arraySet(n.head.extra,i,u,_,P)),n.flags&512&&(n.check=bi(n.check,i,_,u)),f-=_,u+=_,n.length-=_),n.length))break e;n.length=0,n.mode=ib;case ib:if(n.flags&2048){if(f===0)break e;_=0;do P=i[u+_++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P));while(P&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,u)),f-=_,u+=_,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=rb;case rb:if(n.flags&4096){if(f===0)break e;_=0;do P=i[u+_++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P));while(P&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,u)),f-=_,u+=_,P)break e}else n.head&&(n.head.comment=null);n.mode=sb;case sb:if(n.flags&512){for(;S<16;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(v!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Ct;break}v=0,S=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Hi;break;case ob:for(;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}e.adler=n.check=Tb(v),v=0,S=0,n.mode=bu;case bu:if(n.havedict===0)return e.next_out=a,e.avail_out=y,e.next_in=u,e.avail_in=f,n.hold=v,n.bits=S,aF;e.adler=n.check=1,n.mode=Hi;case Hi:if(t===sF||t===Gl)break e;case sd:if(n.last){v>>>=S&7,S-=S&7,n.mode=ad;break}for(;S<3;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}switch(n.last=v&1,v>>>=1,S-=1,v&3){case 0:n.mode=ab;break;case 1:if(yF(n),n.mode=ql,t===Gl){v>>>=2,S-=2;break e}break;case 2:n.mode=ub;break;case 3:e.msg="invalid block type",n.mode=Ct}v>>>=2,S-=2;break;case ab:for(v>>>=S&7,S-=S&7;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if((v&65535)!==(v>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Ct;break}if(n.length=v&65535,v=0,S=0,n.mode=od,t===Gl)break e;case od:n.mode=lb;case lb:if(_=n.length,_){if(_>f&&(_=f),_>y&&(_=y),_===0)break e;Mn.arraySet(s,i,u,_,a),f-=_,u+=_,y-=_,a+=_,n.length-=_;break}n.mode=Hi;break;case ub:for(;S<14;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(n.nlen=(v&31)+257,v>>>=5,S-=5,n.ndist=(v&31)+1,v>>>=5,S-=5,n.ncode=(v&15)+4,v>>>=4,S-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Ct;break}n.have=0,n.mode=cb;case cb:for(;n.have<n.ncode;){for(;S<3;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.lens[h[n.have++]]=v&7,v>>>=3,S-=3}for(;n.have<19;)n.lens[h[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N={bits:n.lenbits},b=Sa(rF,n.lens,0,19,n.lencode,0,n.work,N),n.lenbits=N.bits,b){e.msg="invalid code lengths set",n.mode=Ct;break}n.have=0,n.mode=fb;case fb:for(;n.have<n.nlen+n.ndist;){for(;M=n.lencode[v&(1<<n.lenbits)-1],F=M>>>24,I=M>>>16&255,G=M&65535,!(F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(G<16)v>>>=F,S-=F,n.lens[n.have++]=G;else{if(G===16){for(O=F+2;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(v>>>=F,S-=F,n.have===0){e.msg="invalid bit length repeat",n.mode=Ct;break}P=n.lens[n.have-1],_=3+(v&3),v>>>=2,S-=2}else if(G===17){for(O=F+3;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=F,S-=F,P=0,_=3+(v&7),v>>>=3,S-=3}else{for(O=F+7;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=F,S-=F,P=0,_=11+(v&127),v>>>=7,S-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Ct;break}for(;_--;)n.lens[n.have++]=P}}if(n.mode===Ct)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Ct;break}if(n.lenbits=9,N={bits:n.lenbits},b=Sa(G0,n.lens,0,n.nlen,n.lencode,0,n.work,N),n.lenbits=N.bits,b){e.msg="invalid literal/lengths set",n.mode=Ct;break}if(n.distbits=6,n.distcode=n.distdyn,N={bits:n.distbits},b=Sa(q0,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,N),n.distbits=N.bits,b){e.msg="invalid distances set",n.mode=Ct;break}if(n.mode=ql,t===Gl)break e;case ql:n.mode=Hl;case Hl:if(f>=6&&y>=258){e.next_out=a,e.avail_out=y,e.next_in=u,e.avail_in=f,n.hold=v,n.bits=S,iF(e,R),a=e.next_out,s=e.output,y=e.avail_out,u=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,n.mode===Hi&&(n.back=-1);break}for(n.back=0;M=n.lencode[v&(1<<n.lenbits)-1],F=M>>>24,I=M>>>16&255,G=M&65535,!(F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(I&&!(I&240)){for(H=F,J=I,D=G;M=n.lencode[D+((v&(1<<H+J)-1)>>H)],F=M>>>24,I=M>>>16&255,G=M&65535,!(H+F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=H,S-=H,n.back+=H}if(v>>>=F,S-=F,n.back+=F,n.length=G,I===0){n.mode=yb;break}if(I&32){n.back=-1,n.mode=Hi;break}if(I&64){e.msg="invalid literal/length code",n.mode=Ct;break}n.extra=I&15,n.mode=db;case db:if(n.extra){for(O=n.extra;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.length+=v&(1<<n.extra)-1,v>>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=hb;case hb:for(;M=n.distcode[v&(1<<n.distbits)-1],F=M>>>24,I=M>>>16&255,G=M&65535,!(F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(!(I&240)){for(H=F,J=I,D=G;M=n.distcode[D+((v&(1<<H+J)-1)>>H)],F=M>>>24,I=M>>>16&255,G=M&65535,!(H+F<=S);){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}v>>>=H,S-=H,n.back+=H}if(v>>>=F,S-=F,n.back+=F,I&64){e.msg="invalid distance code",n.mode=Ct;break}n.offset=G,n.extra=I&15,n.mode=pb;case pb:if(n.extra){for(O=n.extra;S<O;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}n.offset+=v&(1<<n.extra)-1,v>>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Ct;break}n.mode=mb;case mb:if(y===0)break e;if(_=R-y,n.offset>_){if(_=n.offset-_,_>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Ct;break}_>n.wnext?(_-=n.wnext,k=n.wsize-_):k=n.wnext-_,_>n.length&&(_=n.length),w=n.window}else w=s,k=a-n.offset,_=n.length;_>y&&(_=y),y-=_,n.length-=_;do s[a++]=w[k++];while(--_);n.length===0&&(n.mode=Hl);break;case yb:if(y===0)break e;s[a++]=n.length,y--,n.mode=Hl;break;case ad:if(n.wrap){for(;S<32;){if(f===0)break e;f--,v|=i[u++]<<S,S+=8}if(R-=y,e.total_out+=R,n.total+=R,R&&(e.adler=n.check=n.flags?bi(n.check,s,R,a-R):lh(n.check,s,R,a-R)),R=y,(n.flags?v:Tb(v))!==n.check){e.msg="incorrect data check",n.mode=Ct;break}v=0,S=0}n.mode=gb;case gb:if(n.wrap&&n.flags){for(;S<32;){if(f===0)break e;f--,v+=i[u++]<<S,S+=8}if(v!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Ct;break}v=0,S=0}n.mode=bb;case bb:b=oF;break e;case Ct:b=H0;break e;case Z0:return V0;case uF:default:return Yn}return e.next_out=a,e.avail_out=y,e.next_in=u,e.avail_in=f,n.hold=v,n.bits=S,(n.wsize||R!==e.avail_out&&n.mode<Ct&&(n.mode<ad||t!==Qg))&&eS(e,e.output,e.next_out,R-e.avail_out),C-=e.avail_in,R-=e.avail_out,e.total_in+=C,e.total_out+=R,n.total+=R,n.wrap&&R&&(e.adler=n.check=n.flags?bi(n.check,s,R,e.next_out-R):lh(n.check,s,R,e.next_out-R)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hi?128:0)+(n.mode===ql||n.mode===od?256:0),(C===0&&R===0||t===Qg)&&b===ws&&(b=lF),b}function bF(e){if(!e||!e.state)return Yn;var t=e.state;return t.window&&(t.window=null),e.state=null,ws}function TF(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?Yn:(n.head=t,t.done=!1,ws)}function SF(e,t){var n=t.length,i,s,u;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==bu)?Yn:i.mode===bu&&(s=1,s=lh(s,t,n,0),s!==i.check)?H0:(u=eS(e,t,n,n),u?(i.mode=Z0,V0):(i.havedict=1,ws))}fi.inflateReset=X0;fi.inflateReset2=Y0;fi.inflateResetKeep=Q0;fi.inflateInit=mF;fi.inflateInit2=$0;fi.inflate=gF;fi.inflateEnd=bF;fi.inflateGetHeader=TF;fi.inflateSetDictionary=SF;fi.inflateInfo="pako inflate (from Nodeca project)";var tS={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};function vF(){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}var wF=vF,bo=fi,va=lr,su=As,xt=tS,uh=zh,LF=z0,_F=wF,nS=Object.prototype.toString;function Ls(e){if(!(this instanceof Ls))return new Ls(e);this.options=va.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new LF,this.strm.avail_out=0;var n=bo.inflateInit2(this.strm,t.windowBits);if(n!==xt.Z_OK)throw new Error(uh[n]);if(this.header=new _F,bo.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=su.string2buf(t.dictionary):nS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=bo.inflateSetDictionary(this.strm,t.dictionary),n!==xt.Z_OK)))throw new Error(uh[n])}Ls.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,s=this.options.dictionary,u,a,f,y,v,S=!1;if(this.ended)return!1;a=t===~~t?t:t===!0?xt.Z_FINISH:xt.Z_NO_FLUSH,typeof e=="string"?n.input=su.binstring2buf(e):nS.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new va.Buf8(i),n.next_out=0,n.avail_out=i),u=bo.inflate(n,xt.Z_NO_FLUSH),u===xt.Z_NEED_DICT&&s&&(u=bo.inflateSetDictionary(this.strm,s)),u===xt.Z_BUF_ERROR&&S===!0&&(u=xt.Z_OK,S=!1),u!==xt.Z_STREAM_END&&u!==xt.Z_OK)return this.onEnd(u),this.ended=!0,!1;n.next_out&&(n.avail_out===0||u===xt.Z_STREAM_END||n.avail_in===0&&(a===xt.Z_FINISH||a===xt.Z_SYNC_FLUSH))&&(this.options.to==="string"?(f=su.utf8border(n.output,n.next_out),y=n.next_out-f,v=su.buf2string(n.output,f),n.next_out=y,n.avail_out=i-y,y&&va.arraySet(n.output,n.output,f,y,0),this.onData(v)):this.onData(va.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(S=!0)}while((n.avail_in>0||n.avail_out===0)&&u!==xt.Z_STREAM_END);return u===xt.Z_STREAM_END&&(a=xt.Z_FINISH),a===xt.Z_FINISH?(u=bo.inflateEnd(this.strm),this.onEnd(u),this.ended=!0,u===xt.Z_OK):(a===xt.Z_SYNC_FLUSH&&(this.onEnd(xt.Z_OK),n.avail_out=0),!0)};Ls.prototype.onData=function(e){this.chunks.push(e)};Ls.prototype.onEnd=function(e){e===xt.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=va.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Gh(e,t){var n=new Ls(t);if(n.push(e,!0),n.err)throw n.msg||uh[n.err];return n.result}function NF(e,t){return t=t||{},t.raw=!0,Gh(e,t)}Ra.Inflate=Ls;Ra.inflate=Gh;Ra.inflateRaw=NF;Ra.ungzip=Gh;var kF=lr.assign,OF=Ia,CF=Ra,EF=tS,iS={};kF(iS,OF,CF,EF);var AF=iS,zt={};Object.defineProperty(zt,"__esModule",{value:!0});zt.messageAssert=zt.messageError=zt.QuickTypeError=void 0;const FF={InternalError:"Internal error: ${message}",MiscJSONParseError:"Syntax error in ${description} JSON ${address}: ${message}",MiscReadError:"Cannot read from file or URL ${fileOrURL}: ${message}",MiscUnicodeHighSurrogateWithoutLowSurrogate:"Malformed unicode: High surrogate not followed by low surrogate",MiscInvalidMinMaxConstraint:"Invalid min-max constraint: ${min}-${max}",InferenceJSONReferenceNotRooted:"JSON reference doesn't start with '#/': ${reference}",InferenceJSONReferenceToUnion:"JSON reference points to a union type: ${reference}",InferenceJSONReferenceWrongProperty:"JSON reference points to a non-existant property: ${reference}",InferenceJSONReferenceInvalidArrayIndex:"JSON reference uses invalid array index: ${reference}",SchemaArrayIsInvalidSchema:"An array is not a valid JSON Schema at ${ref}",SchemaNullIsInvalidSchema:"null is not a valid JSON Schema at ${ref}",SchemaRefMustBeString:"$ref must be a string, but is an ${actual} at ${ref}",SchemaAdditionalTypesForbidRequired:"Can't have non-specified required properties but forbidden additionalTypes at ${ref}",SchemaNoTypeSpecified:"JSON Schema must specify at least one type at ${ref}",SchemaInvalidType:"Invalid type ${type} in JSON Schema at ${ref}",SchemaFalseNotSupported:'Schema "false" is not supported at ${ref}',SchemaInvalidJSONSchemaType:"Value of type ${type} is not valid JSON Schema at ${ref}",SchemaRequiredMustBeStringOrStringArray:"`required` must be string or array of strings, but is ${actual} at ${ref}",SchemaRequiredElementMustBeString:"`required` must contain only strings, but it has ${element}, at ${ref}",SchemaTypeMustBeStringOrStringArray:"`type` must be string or array of strings, but is ${actual}",SchemaTypeElementMustBeString:"`type` must contain only strings, but it has ${element}",SchemaArrayItemsMustBeStringOrArray:"Array items must be an array or an object, but is ${actual}",SchemaIDMustHaveAddress:"$id ${id} doesn't have an address at ${ref}",SchemaWrongAccessorEntryArrayLength:"Accessor entry array must have the same number of entries as the ${operation} at ${ref}",SchemaSetOperationCasesIsNotArray:"${operation} cases must be an array, but is ${cases}, at ${ref}",SchemaMoreThanOneUnionMemberName:"More than one name given for union member: ${names}",SchemaCannotGetTypesFromBoolean:"Schema value to get top-level types from must be an object, but is boolean, at ${ref}",SchemaCannotIndexArrayWithNonNumber:"Trying to index array in schema with key that is not a number, but is ${actual} at ${ref}",SchemaIndexNotInArray:"Index ${index} out of range of schema array at ${ref}",SchemaKeyNotInObject:"Key ${key} not in schema object at ${ref}",SchemaFetchError:"Could not fetch schema ${address}, referred to from ${base}",SchemaFetchErrorTopLevel:"Could not fetch top-level schema ${address}",SchemaFetchErrorAdditional:"Could not fetch additional schema ${address}",GraphQLNoQueriesDefined:"GraphQL file doesn't have any queries defined.",DriverUnknownSourceLanguage:"Unknown source language ${lang}",DriverUnknownOutputLanguage:"Unknown output language ${lang}",DriverMoreThanOneInputGiven:"More than one input given for top-level ${topLevel}",DriverCannotInferNameForSchema:"Cannot infer name for schema ${uri}",DriverNoGraphQLQueryGiven:"Please specify at least one GraphQL query as input",DriverNoGraphQLSchemaInDir:"No GraphQL schema in ${dir}",DriverMoreThanOneGraphQLSchemaInDir:"More than one GraphQL schema in ${dir}",DriverSourceLangMustBeGraphQL:"If a GraphQL schema is specified, the source language must be GraphQL",DriverGraphQLSchemaNeeded:"Please specify a GraphQL schema with --graphql-schema or --graphql-introspect",DriverInputFileDoesNotExist:"Input file ${filename} does not exist",DriverCannotMixJSONWithOtherSamples:"Cannot mix JSON samples with JSON Schems, GraphQL, or TypeScript in input subdirectory ${dir}",DriverCannotMixNonJSONInputs:"Cannot mix JSON Schema, GraphQL, and TypeScript in an input subdirectory ${dir}",DriverUnknownDebugOption:"Unknown debug option ${option}",DriverNoLanguageOrExtension:"Please specify a language (--lang) or an output file extension",DriverCLIOptionParsingFailed:"Option parsing failed: ${message}",IRNoForwardDeclarableTypeInCycle:"Cannot resolve cycle because it doesn't contain types that can be forward declared",IRTypeAttributesNotPropagated:"Type attributes for ${count} types were not carried over to the new graph: ${indexes}",IRNoEmptyUnions:"Trying to make an empty union - do you have an impossible type in your schema?",RendererUnknownOptionValue:"Unknown value ${value} for option ${name}",TypeScriptCompilerError:"TypeScript error: ${message}"};class rS extends Error{constructor(t,n,i,s){super(i),this.errorMessage=t,this.messageName=n,this.properties=s}}zt.QuickTypeError=rS;function sS(e,t){const n=FF[e];let i=n;const s=t;for(const u of Object.getOwnPropertyNames(s)){let a=s[u];typeof a=="object"&&typeof a.toString=="function"?a=a.toString():typeof a.message=="string"?a=a.message:typeof a!="string"&&(a=JSON.stringify(a)),i=i.replace("${"+u+"}",a)}throw new rS(n,e,i,s)}zt.messageError=sS;function PF(e,t,n){if(!e)return sS(t,n)}zt.messageAssert=PF;const qh=Symbol.for("yaml.alias"),ch=Symbol.for("yaml.document"),Dr=Symbol.for("yaml.map"),oS=Symbol.for("yaml.pair"),nr=Symbol.for("yaml.scalar"),Ao=Symbol.for("yaml.seq"),$n=Symbol.for("yaml.node.type"),Hr=e=>!!e&&typeof e=="object"&&e[$n]===qh,Fs=e=>!!e&&typeof e=="object"&&e[$n]===ch,Ps=e=>!!e&&typeof e=="object"&&e[$n]===Dr,kt=e=>!!e&&typeof e=="object"&&e[$n]===oS,wt=e=>!!e&&typeof e=="object"&&e[$n]===nr,Is=e=>!!e&&typeof e=="object"&&e[$n]===Ao;function Et(e){if(e&&typeof e=="object")switch(e[$n]){case Dr:case Ao:return!0}return!1}function Rt(e){if(e&&typeof e=="object")switch(e[$n]){case qh:case Dr:case nr:case Ao:return!0}return!1}const IF=e=>(wt(e)||Et(e))&&!!e.anchor,Sn=Symbol("break visit"),aS=Symbol("skip children"),Ai=Symbol("remove node");function ir(e,t){const n=lS(t);Fs(e)?co(null,e.contents,n,Object.freeze([e]))===Ai&&(e.contents=null):co(null,e,n,Object.freeze([]))}ir.BREAK=Sn;ir.SKIP=aS;ir.REMOVE=Ai;function co(e,t,n,i){const s=uS(e,t,n,i);if(Rt(s)||kt(s))return cS(e,i,s),co(e,s,n,i);if(typeof s!="symbol"){if(Et(t)){i=Object.freeze(i.concat(t));for(let u=0;u<t.items.length;++u){const a=co(u,t.items[u],n,i);if(typeof a=="number")u=a-1;else{if(a===Sn)return Sn;a===Ai&&(t.items.splice(u,1),u-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const u=co("key",t.key,n,i);if(u===Sn)return Sn;u===Ai&&(t.key=null);const a=co("value",t.value,n,i);if(a===Sn)return Sn;a===Ai&&(t.value=null)}}return s}async function Ba(e,t){const n=lS(t);Fs(e)?await fo(null,e.contents,n,Object.freeze([e]))===Ai&&(e.contents=null):await fo(null,e,n,Object.freeze([]))}Ba.BREAK=Sn;Ba.SKIP=aS;Ba.REMOVE=Ai;async function fo(e,t,n,i){const s=await uS(e,t,n,i);if(Rt(s)||kt(s))return cS(e,i,s),fo(e,s,n,i);if(typeof s!="symbol"){if(Et(t)){i=Object.freeze(i.concat(t));for(let u=0;u<t.items.length;++u){const a=await fo(u,t.items[u],n,i);if(typeof a=="number")u=a-1;else{if(a===Sn)return Sn;a===Ai&&(t.items.splice(u,1),u-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const u=await fo("key",t.key,n,i);if(u===Sn)return Sn;u===Ai&&(t.key=null);const a=await fo("value",t.value,n,i);if(a===Sn)return Sn;a===Ai&&(t.value=null)}}return s}function lS(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function uS(e,t,n,i){if(typeof n=="function")return n(e,t,i);if(Ps(t))return n.Map?.(e,t,i);if(Is(t))return n.Seq?.(e,t,i);if(kt(t))return n.Pair?.(e,t,i);if(wt(t))return n.Scalar?.(e,t,i);if(Hr(t))return n.Alias?.(e,t,i)}function cS(e,t,n){const i=t[t.length-1];if(Et(i))i.items[e]=n;else if(kt(i))e==="key"?i.key=n:i.value=n;else if(Fs(i))i.contents=n;else{const s=Hr(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${s} parent`)}}const MF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},jF=e=>e.replace(/[!,[\]{}]/g,t=>MF[t]);class un{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},un.defaultYaml,t),this.tags=Object.assign({},un.defaultTags,n)}clone(){const t=new un(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new un(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:un.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},un.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:un.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},un.defaultTags),this.atNextDocument=!1);const i=t.trim().split(/[ \t]+/),s=i.shift();switch(s){case"%TAG":{if(i.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[u,a]=i;return this.tags[u]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[u]=i;if(u==="1.1"||u==="1.2")return this.yaml.version=u,!0;{const a=/^\d+\.\d+$/.test(u);return n(6,`Unsupported YAML version ${u}`,a),!1}}default:return n(0,`Unknown directive ${s}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,i,s]=t.match(/^(.*!)([^!]*)$/);s||n(`The ${t} tag has no suffix`);const u=this.tags[i];return u?u+decodeURIComponent(s):i==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,i]of Object.entries(this.tags))if(t.startsWith(i))return n+jF(t.substring(i.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let s;if(t&&i.length>0&&Rt(t.contents)){const u={};ir(t.contents,(a,f)=>{Rt(f)&&f.tag&&(u[f.tag]=!0)}),s=Object.keys(u)}else s=[];for(const[u,a]of i)u==="!!"&&a==="tag:yaml.org,2002:"||(!t||s.some(f=>f.startsWith(a)))&&n.push(`%TAG ${u} ${a}`);return n.join(`
2
2
  `)}}un.defaultYaml={explicit:!1,version:"1.2"};un.defaultTags={"!!":"tag:yaml.org,2002:"};function fS(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function dS(e){const t=new Set;return ir(e,{Value(n,i){i.anchor&&t.add(i.anchor)}}),t}function hS(e,t){for(let n=1;;++n){const i=`${e}${n}`;if(!t.has(i))return i}}function RF(e,t){const n=[],i=new Map;let s=null;return{onAnchor:u=>{n.push(u),s||(s=dS(e));const a=hS(t,s);return s.add(a),a},setAnchors:()=>{for(const u of n){const a=i.get(u);if(typeof a=="object"&&a.anchor&&(wt(a.node)||Et(a.node)))a.node.anchor=a.anchor;else{const f=new Error("Failed to resolve repeated object (this should not happen)");throw f.source=u,f}}},sourceObjects:i}}function ho(e,t,n,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let s=0,u=i.length;s<u;++s){const a=i[s],f=ho(e,i,String(s),a);f===void 0?delete i[s]:f!==a&&(i[s]=f)}else if(i instanceof Map)for(const s of Array.from(i.keys())){const u=i.get(s),a=ho(e,i,s,u);a===void 0?i.delete(s):a!==u&&i.set(s,a)}else if(i instanceof Set)for(const s of Array.from(i)){const u=ho(e,i,s,s);u===void 0?i.delete(s):u!==s&&(i.delete(s),i.add(u))}else for(const[s,u]of Object.entries(i)){const a=ho(e,i,s,u);a===void 0?delete i[s]:a!==u&&(i[s]=a)}return e.call(t,n,i)}function Xn(e,t,n){if(Array.isArray(e))return e.map((i,s)=>Xn(i,String(s),n));if(e&&typeof e.toJSON=="function"){if(!n||!IF(e))return e.toJSON(t,n);const i={aliasCount:0,count:1,res:void 0};n.anchors.set(e,i),n.onCreate=u=>{i.res=u,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return typeof e=="bigint"&&!n?.keep?Number(e):e}class Hh{constructor(t){Object.defineProperty(this,$n,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:i,onAnchor:s,reviver:u}={}){if(!Fs(t))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},f=Xn(this,"",a);if(typeof s=="function")for(const{count:y,res:v}of a.anchors.values())s(v,y);return typeof u=="function"?ho(u,{"":f},"",f):f}}class Da extends Hh{constructor(t){super(qh),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return ir(t,{Node:(i,s)=>{if(s===this)return ir.BREAK;s.anchor===this.source&&(n=s)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:i,doc:s,maxAliasCount:u}=n,a=this.resolve(s);if(!a){const y=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(y)}let f=i.get(a);if(f||(Xn(a,null,n),f=i.get(a)),!f||f.res===void 0){const y="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(y)}if(u>=0&&(f.count+=1,f.aliasCount===0&&(f.aliasCount=ou(s,a,i)),f.count*f.aliasCount>u)){const y="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(y)}return f.res}toString(t,n,i){const s=`*${this.source}`;if(t){if(fS(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(t.implicitKey)return`${s} `}return s}}function ou(e,t,n){if(Hr(t)){const i=t.resolve(e),s=n&&i&&n.get(i);return s?s.count*s.aliasCount:0}else if(Et(t)){let i=0;for(const s of t.items){const u=ou(e,s,n);u>i&&(i=u)}return i}else if(kt(t)){const i=ou(e,t.key,n),s=ou(e,t.value,n);return Math.max(i,s)}return 1}const pS=e=>!e||typeof e!="function"&&typeof e!="object";class Ze extends Hh{constructor(t){super(nr),this.value=t}toJSON(t,n){return n?.keep?this.value:Xn(this.value,t,n)}toString(){return String(this.value)}}Ze.BLOCK_FOLDED="BLOCK_FOLDED";Ze.BLOCK_LITERAL="BLOCK_LITERAL";Ze.PLAIN="PLAIN";Ze.QUOTE_DOUBLE="QUOTE_DOUBLE";Ze.QUOTE_SINGLE="QUOTE_SINGLE";const BF="tag:yaml.org,2002:";function DF(e,t,n){if(t){const i=n.filter(u=>u.tag===t),s=i.find(u=>!u.format)??i[0];if(!s)throw new Error(`Tag ${t} not found`);return s}return n.find(i=>i.identify?.(e)&&!i.format)}function Ea(e,t,n){if(Fs(e)&&(e=e.contents),Rt(e))return e;if(kt(e)){const C=n.schema[Dr].createNode?.(n.schema,null,n);return C.items.push(e),C}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:s,onTagObj:u,schema:a,sourceObjects:f}=n;let y;if(i&&e&&typeof e=="object"){if(y=f.get(e),y)return y.anchor||(y.anchor=s(e)),new Da(y.anchor);y={anchor:null,node:null},f.set(e,y)}t?.startsWith("!!")&&(t=BF+t.slice(2));let v=DF(e,t,a.tags);if(!v){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const C=new Ze(e);return y&&(y.node=C),C}v=e instanceof Map?a[Dr]:Symbol.iterator in Object(e)?a[Ao]:a[Dr]}u&&(u(v),delete n.onTagObj);const S=v?.createNode?v.createNode(n.schema,e,n):typeof v?.nodeClass?.from=="function"?v.nodeClass.from(n.schema,e,n):new Ze(e);return t?S.tag=t:v.default||(S.tag=v.tag),y&&(y.node=S),S}function Tu(e,t,n){let i=n;for(let s=t.length-1;s>=0;--s){const u=t[s];if(typeof u=="number"&&Number.isInteger(u)&&u>=0){const a=[];a[u]=i,i=a}else i=new Map([[u,i]])}return Ea(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const fa=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class ju extends Hh{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(i=>Rt(i)||kt(i)?i.clone(t):i),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(fa(t))this.add(n);else{const[i,...s]=t,u=this.get(i,!0);if(Et(u))u.addIn(s,n);else if(u===void 0&&this.schema)this.set(i,Tu(this.schema,s,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${s}`)}}deleteIn(t){const[n,...i]=t;if(i.length===0)return this.delete(n);const s=this.get(n,!0);if(Et(s))return s.deleteIn(i);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}getIn(t,n){const[i,...s]=t,u=this.get(i,!0);return s.length===0?!n&&wt(u)?u.value:u:Et(u)?u.getIn(s,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!kt(n))return!1;const i=n.value;return i==null||t&&wt(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(t){const[n,...i]=t;if(i.length===0)return this.has(n);const s=this.get(n,!0);return Et(s)?s.hasIn(i):!1}setIn(t,n){const[i,...s]=t;if(s.length===0)this.set(i,n);else{const u=this.get(i,!0);if(Et(u))u.setIn(s,n);else if(u===void 0&&this.schema)this.set(i,Tu(this.schema,s,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${s}`)}}}ju.maxFlowStringSingleLineLength=60;const UF=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Yi(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const jr=(e,t,n)=>e.endsWith(`
3
3
  `)?Yi(n,t):n.includes(`
4
4
  `)?`
@@ -1 +1 @@
1
- import{d as s,a as u,o as d,m as f,v as p,t as o,f as n,k as c,G as m}from"./entry.e01776ec.js";const x={"ml-1":"","text-xs":"",op50:""},g=s({__name:"DurationDisplay",props:{duration:{},factor:{default:1},color:{type:Boolean,default:!0}},setup(a){const t=a;function i(r){return t.color?r?(r=r*t.factor,r<.5?"text-gray:50":r>1e3?"text-red-400":r>500?"text-orange-400":r>200?"text-yellow-400":""):"text-gray-400":""}const e=u(()=>!t.duration||t.duration<1?["<1","ms"]:t.duration<1e3?[t.duration.toFixed(0),"ms"]:t.duration<1e3*60?[(t.duration/1e3).toFixed(1),"s"]:[(t.duration/1e3/60).toFixed(1),"min"]);return(r,l)=>(d(),f("div",{class:m(i(r.duration))},[p(o(n(e)[0]),1),c("span",x,o(n(e)[1]),1)],2))}});export{g as _};
1
+ import{d as s,a as u,o as d,m as f,v as p,t as o,f as n,k as c,G as m}from"./entry.9effa704.js";const x={"ml-1":"","text-xs":"",op50:""},g=s({__name:"DurationDisplay",props:{duration:{},factor:{default:1},color:{type:Boolean,default:!0}},setup(a){const t=a;function i(r){return t.color?r?(r=r*t.factor,r<.5?"text-gray:50":r>1e3?"text-red-400":r>500?"text-orange-400":r>200?"text-yellow-400":""):"text-gray-400":""}const e=u(()=>!t.duration||t.duration<1?["<1","ms"]:t.duration<1e3?[t.duration.toFixed(0),"ms"]:t.duration<1e3*60?[(t.duration/1e3).toFixed(1),"s"]:[(t.duration/1e3/60).toFixed(1),"min"]);return(r,l)=>(d(),f("div",{class:m(i(r.duration))},[p(o(n(e)[0]),1),c("span",x,o(n(e)[1]),1)],2))}});export{g as _};
@@ -1 +1 @@
1
- import{d as u,a7 as f,a8 as c,a as k,b6 as v,o as t,h as y,j as B,m as s,F as l,v as d,t as n,f as a,k as C,p as N,G as b,ar as g}from"./entry.e01776ec.js";const w={key:0,op50:""},F=u({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean},override:{}},setup(m){const r=m,h=f(),p=c(),o=k(()=>r.filepath&&p.value?v(r.filepath,p.value.rootDir):{path:r.filepath||""});return(e,i)=>(t(),y(g(e.filepath?"button":"span"),{class:b([e.filepath?"hover:underline":"",e.lineBreak?"":"ws-nowrap of-hidden truncate"]),"font-mono":"",title:e.override||e.filepath,onClick:i[0]||(i[0]=D=>e.filepath&&a(h)(e.filepath))},{default:B(()=>[e.override?(t(),s(l,{key:0},[d(n(e.override),1)],64)):a(o).moduleName?(t(),s(l,{key:1},[C("span",null,n(a(o).moduleName),1),e.subpath?(t(),s("span",w,n(a(o).path.slice(a(o).moduleName.length)),1)):N("",!0)],64)):(t(),s(l,{key:2},[d(n(a(o).path),1)],64))]),_:1},8,["class","title"]))}});export{F as _};
1
+ import{d as u,a8 as f,a9 as c,a as k,b7 as v,o as t,h as y,j as B,m as s,F as l,v as d,t as n,f as a,k as C,p as N,G as b,as as g}from"./entry.9effa704.js";const w={key:0,op50:""},F=u({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean},override:{}},setup(m){const r=m,h=f(),p=c(),o=k(()=>r.filepath&&p.value?v(r.filepath,p.value.rootDir):{path:r.filepath||""});return(e,i)=>(t(),y(g(e.filepath?"button":"span"),{class:b([e.filepath?"hover:underline":"",e.lineBreak?"":"ws-nowrap of-hidden truncate"]),"font-mono":"",title:e.override||e.filepath,onClick:i[0]||(i[0]=D=>e.filepath&&a(h)(e.filepath))},{default:B(()=>[e.override?(t(),s(l,{key:0},[d(n(e.override),1)],64)):a(o).moduleName?(t(),s(l,{key:1},[C("span",null,n(a(o).moduleName),1),e.subpath?(t(),s("span",w,n(a(o).path.slice(a(o).moduleName.length)),1)):N("",!0)],64)):(t(),s(l,{key:2},[d(n(a(o).path),1)],64))]),_:1},8,["class","title"]))}});export{F as _};
@@ -1 +1 @@
1
- import{d as _,r as c,f as o,m as s,k as d,i as a,j as i,aP as u,F as m,p as n,o as l,a6 as v,B as k,_ as g}from"./entry.e01776ec.js";const h=d("div",{"i-ri:question-mark":""},null,-1),x=[h],y={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},C=_({__name:"HelpFab",setup(w){const e=c(!1),{showHelpButtons:p}=k();return(b,t)=>{const f=g;return o(p)?(l(),s(m,{key:0},[d("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:t[0]||(t[0]=r=>e.value=!o(e))},x),a(u,{name:"fade-in"},{default:i(()=>[o(e)?(l(),s("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:t[1]||(t[1]=r=>e.value=!1)})):n("",!0)]),_:1}),a(u,{name:"slide-in"},{default:i(()=>[o(e)?(l(),s("div",y,[v(b.$slots,"default"),a(f,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{C as _};
1
+ import{d as _,r as c,f as o,m as s,k as d,i as a,j as i,aQ as u,F as m,p as n,o as l,a7 as v,B as k,_ as g}from"./entry.9effa704.js";const h=d("div",{"i-ri:question-mark":""},null,-1),x=[h],y={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},C=_({__name:"HelpFab",setup(w){const e=c(!1),{showHelpButtons:p}=k();return(b,t)=>{const f=g;return o(p)?(l(),s(m,{key:0},[d("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:t[0]||(t[0]=r=>e.value=!o(e))},x),a(u,{name:"fade-in"},{default:i(()=>[o(e)?(l(),s("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:t[1]||(t[1]=r=>e.value=!1)})):n("",!0)]),_:1}),a(u,{name:"slide-in"},{default:i(()=>[o(e)?(l(),s("div",y,[v(b.$slots,"default"),a(f,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{C as _};
@@ -0,0 +1 @@
1
+ import{d as x,h as a,j as o,A as y,o as t,i as r,k as i,t as l,p as m,m as w,n as C,aq as B,v as $,F as v,U as V,by as P,a2 as F,_ as I,al as L}from"./entry.9effa704.js";import{_ as T}from"./NMarkdown.vue.52b3ce56.js";const j={"text-xl":""},q={flex:"~ gap2 wrap"},G=x({__name:"LaunchPage",props:{name:{},icon:{},title:{},description:{},actions:{}},emits:["action"],setup(_,{emit:p}){const d=_;function u(e,s){V("launch-page",{pageName:d.name}),e.handle?.(),p("action",s)}return(e,s)=>{const f=P,k=T,g=F,h=I,b=L,N=y;return t(),a(N,null,{default:o(()=>[r(b,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[r(f,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",j,l(e.title),1),e.description?(t(),a(k,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):m("",!0),i("div",q,[(t(!0),w(v,null,C(e.actions,(n,c)=>(t(),a(h,B({key:c,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0},n.attrs,{onClick:A=>u(n,c)}),{default:o(()=>[n.pending?(t(),a(g,{key:0,icon:"carbon-circle-dash","animate-spin":""})):m("",!0),$(" "+l(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{G as _};
@@ -1 +1 @@
1
- import{q as n,o,m as s,a6 as t}from"./entry.e01776ec.js";const c={},_={class:"n-badge"};function a(e,r){return o(),s("span",_,[t(e.$slots,"default")])}const d=n(c,[["render",a]]);export{d as _};
1
+ import{q as n,o,m as s,a7 as t}from"./entry.9effa704.js";const c={},_={class:"n-badge"};function a(e,r){return o(),s("span",_,[t(e.$slots,"default")])}const d=n(c,[["render",a]]);export{d as _};
@@ -0,0 +1 @@
1
+ import{d as i,a6 as r,o as p,m as b,I as u,bG as h,f as a,k as n,l as k,ac as f,i as m,a7 as v,G as _,a2 as x}from"./entry.9effa704.js";const V=["checked","disabled"],y=["disabled"],B={class:"n-checkbox-box n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},$=i({__name:"NCheckbox",props:{modelValue:{type:[Boolean,null],default:!1},disabled:{type:Boolean,default:!1}},setup(c,{emit:t}){const e=r(c,"modelValue",t,{passive:!0});return(o,s)=>{const d=x;return p(),b("label",{class:"n-checkbox hover:n-checkbox-hover select-none items-center n-disabled:n-disabled",checked:a(e)||null,disabled:o.disabled||null},[u(n("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>k(e)?e.value=l:null),type:"checkbox",class:"peer absolute op0",disabled:o.disabled,onKeypress:s[1]||(s[1]=f(l=>e.value=!a(e),["enter"]))},null,40,y),[[h,a(e)]]),n("span",B,[m(d,{class:"n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100"})]),n("span",{class:_([a(e)?"":"op50","n-transition"])},[v(o.$slots,"default")],2)],8,V)}}});export{$ as _};
@@ -1,2 +1,2 @@
1
- import{d as u}from"./client.3f2665f1.js";import{d as _,a as m,au as k,o as n,m as s,G as d,k as t,F as r,n as f,t as g}from"./entry.e01776ec.js";const h=["innerHTML"],C={class:"shiki"},v=["textContent"],y=t("br",null,null,-1),x=_({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(a,{emit:c}){const o=a,l=m(()=>{const e=o.lang==="text"?{code:o.code,supported:!1}:u.value?.devtools.renderCodeHighlight(o.code,o.lang)||{code:o.code,supported:!1};return e.supported&&o.transformRendered&&(e.code=o.transformRendered(e.code)),e.supported&&k(()=>c("loaded")),e});return(e,B)=>e.lang&&l.value.supported?(n(),s("pre",{key:0,class:d(["n-code-block",e.lines?"n-code-block-lines":""]),innerHTML:l.value.code},null,10,h)):(n(),s("pre",{key:1,class:d(["n-code-block",e.lines?"n-code-block-lines":""])},[t("pre",C,[t("code",null,[(n(!0),s(r,null,f(e.code.split(`
2
- `),(i,p)=>(n(),s(r,{key:p},[t("span",{class:"line",textContent:g(i)},null,8,v),y],64))),128))])])],2))}});export{x as _};
1
+ import{d as u}from"./client.ab169146.js";import{d as _,a as m,av as k,o as n,m as s,G as d,k as t,F as r,n as f,t as g}from"./entry.9effa704.js";const h=["innerHTML"],v={class:"shiki"},C=["textContent"],y=t("br",null,null,-1),x=_({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(a,{emit:c}){const o=a,l=m(()=>{const e=o.lang==="text"?{code:o.code,supported:!1}:u.value?.devtools.renderCodeHighlight(o.code,o.lang)||{code:o.code,supported:!1};return e.supported&&o.transformRendered&&(e.code=o.transformRendered(e.code)),e.supported&&k(()=>c("loaded")),e});return(e,B)=>e.lang&&l.value.supported?(n(),s("pre",{key:0,class:d(["n-code-block",e.lines?"n-code-block-lines":""]),innerHTML:l.value.code},null,10,h)):(n(),s("pre",{key:1,class:d(["n-code-block",e.lines?"n-code-block-lines":""])},[t("pre",v,[t("code",null,[(n(!0),s(r,null,f(e.code.split(`
2
+ `),(i,p)=>(n(),s(r,{key:p},[t("span",{class:"line",textContent:g(i)},null,8,C),y],64))),128))])])],2))}});export{x as _};
@@ -1 +1 @@
1
- import{d as p,r as b,bx as n,aQ as h,h as g,j as y,ap as l,aP as v,o as i,m as k,i as B,k as C,a6 as $,f as o,p as w,_ as V}from"./entry.e01776ec.js";const x=["border"],N={relative:"","h-full":"","w-full":"","of-auto":""},S=p({__name:"NDrawer",props:{modelValue:{type:Boolean},top:{},left:{},autoClose:{type:Boolean},transition:{default:"right"}},emits:["close"],setup(f,{emit:m}){const e=f,a=b(),{height:c}=n(()=>e.top,void 0,{box:"border-box"}),s=typeof e.left=="string"&&e.left.startsWith("#")?document.querySelector(e.left)?.getBoundingClientRect().width:n(()=>e.left,void 0,{box:"border-box"}).width;h(a,()=>{e.modelValue&&e.autoClose&&m("close")},{ignore:["a","button","summary",'[role="dialog"]']});const d={right:{"enter-from-class":"transform translate-x-1/1","leave-to-class":"transform translate-x-1/1"},top:{"enter-from-class":"transform translate-y--1/1","leave-to-class":"transform translate-y--1/1"},bottom:{"enter-from-class":"transform translate-y-1/1","leave-to-class":"transform translate-y-1/1"}};return(t,r)=>{const u=V;return i(),g(v,l(d[t.transition],{"enter-active-class":"duration-200 ease-in","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100"}),{default:y(()=>[t.modelValue?(i(),k("div",l({key:0,ref_key:"el",ref:a,border:`${t.transition==="right"?"l":t.transition==="bottom"?"t":"b"} base`,flex:"~ col gap-1",class:{"right-0":t.transition==="right"||t.transition==="bottom"},absolute:"","bottom-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","glass-effect":"",style:{top:t.transition==="bottom"?"auto":`${o(c)}px`,left:t.transition==="right"&&!o(s)?"auto":`${o(s)}px`}},t.$attrs),[B(u,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",border:!1,onClick:r[0]||(r[0]=_=>t.$emit("close"))}),C("div",N,[$(t.$slots,"default")])],16,x)):w("",!0)]),_:3},16)}}});export{S as _};
1
+ import{d as p,r as b,bz as n,aR as h,h as g,j as y,aq as l,aQ as v,o as i,m as k,i as B,k as C,a7 as $,f as o,p as w,_ as V}from"./entry.9effa704.js";const z=["border"],N={relative:"","h-full":"","w-full":"","of-auto":""},S=p({__name:"NDrawer",props:{modelValue:{type:Boolean},top:{},left:{},autoClose:{type:Boolean},transition:{default:"right"}},emits:["close"],setup(f,{emit:m}){const e=f,a=b(),{height:c}=n(()=>e.top,void 0,{box:"border-box"}),s=typeof e.left=="string"&&e.left.startsWith("#")?document.querySelector(e.left)?.getBoundingClientRect().width:n(()=>e.left,void 0,{box:"border-box"}).width;h(a,()=>{e.modelValue&&e.autoClose&&m("close")},{ignore:["a","button","summary",'[role="dialog"]']});const d={right:{"enter-from-class":"transform translate-x-1/1","leave-to-class":"transform translate-x-1/1"},top:{"enter-from-class":"transform translate-y--1/1","leave-to-class":"transform translate-y--1/1"},bottom:{"enter-from-class":"transform translate-y-1/1","leave-to-class":"transform translate-y-1/1"}};return(t,r)=>{const u=V;return i(),g(v,l(d[t.transition],{"enter-active-class":"duration-200 ease-in","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100"}),{default:y(()=>[t.modelValue?(i(),k("div",l({key:0,ref_key:"el",ref:a,border:`${t.transition==="right"?"l":t.transition==="bottom"?"t":"b"} base`,flex:"~ col gap-1",class:{"right-0":t.transition==="right"||t.transition==="bottom"},absolute:"","bottom-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","n-glass-effect":"",style:{top:t.transition==="bottom"?"auto":`${o(c)}px`,left:t.transition==="right"&&!o(s)?"auto":`${o(s)}px`}},t.$attrs),[B(u,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",border:!1,onClick:r[0]||(r[0]=_=>t.$emit("close"))}),C("div",N,[$(t.$slots,"default")])],16,z)):w("",!0)]),_:3},16)}}});export{S as _};
@@ -1 +1 @@
1
- import{d as i,a5 as p,r as c,aQ as u,o as f,m,a6 as t,i as v,j as _,v as b,f as a,k,G as V,_ as B}from"./entry.e01776ec.js";const $=i({__name:"NDropdown",props:{modelValue:{type:Boolean}},setup(r,{emit:l}){const e=p(r,"modelValue",l,{passive:!0}),s=c();return u(s,()=>{e.value=!1}),(o,n)=>{const d=B;return f(),m("div",{ref_key:"el",ref:s,class:"relative"},[t(o.$slots,"trigger",{enabled:a(e),click:()=>e.value=!a(e)},()=>[v(d,{onClick:n[0]||(n[0]=N=>e.value=!a(e))},{default:_(()=>[b(" Dropdown ")]),_:1})]),k("div",{class:V(["absolute z-10 border n-border-base rounded shadow n-transition n-bg-base",[a(e)?"op-100":"op0 pointer-events-none -translate-y-1"]])},[t(o.$slots,"default")],2)],512)}}});export{$ as _};
1
+ import{d as i,a6 as p,r as c,aR as u,o as f,m,a7 as t,i as v,j as _,v as b,f as a,k,G as V,_ as B}from"./entry.9effa704.js";const $=i({__name:"NDropdown",props:{modelValue:{type:Boolean}},setup(r,{emit:l}){const e=p(r,"modelValue",l,{passive:!0}),s=c();return u(s,()=>{e.value=!1}),(o,n)=>{const d=B;return f(),m("div",{ref_key:"el",ref:s,class:"relative"},[t(o.$slots,"trigger",{enabled:a(e),click:()=>e.value=!a(e)},()=>[v(d,{onClick:n[0]||(n[0]=N=>e.value=!a(e))},{default:_(()=>[b(" Dropdown ")]),_:1})]),k("div",{class:V(["absolute z-10 border n-border-base rounded shadow n-transition n-bg-base",[a(e)?"op-100":"op0 pointer-events-none -translate-y-1"]])},[t(o.$slots,"default")],2)],512)}}});export{$ as _};
@@ -1 +1 @@
1
- import{d as t,o,m as s,G as a,p as n,a6 as r,k as l,t as i}from"./entry.e01776ec.js";const c={flex:"~ gap-3","items-center":""},u=t({__name:"NIconTitle",props:{icon:{},text:{}},setup(p){return(e,m)=>(o(),s("div",c,[e.icon?(o(),s("div",{key:0,class:a(e.icon)},null,2)):n("",!0),r(e.$slots,"default",{},()=>[l("div",null,i(e.text),1)])]))}});export{u as _};
1
+ import{d as t,o,m as s,G as a,p as n,a7 as r,k as l,t as i}from"./entry.9effa704.js";const c={flex:"~ gap-3","items-center":""},u=t({__name:"NIconTitle",props:{icon:{},text:{}},setup(p){return(e,m)=>(o(),s("div",c,[e.icon?(o(),s("div",{key:0,class:a(e.icon)},null,2)):n("",!0),r(e.$slots,"default",{},()=>[l("div",null,i(e.text),1)])]))}});export{u as _};
@@ -1 +1 @@
1
- import{d as s,a as l,o as a,h as p,j as i,a6 as u,m as c,p as m,ap as _,x as k}from"./entry.e01776ec.js";const d={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},g=s({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(o){const t=o,n=l(()=>t.href||t.to);return(e,h)=>{const r=k;return a(),p(r,_(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:i(()=>[u(e.$slots,"default"),n.value&&e.target==="_blank"?(a(),c("div",d)):m("",!0)]),_:3},16,["class"])}}});export{g as _};
1
+ import{d as s,a as l,o as a,h as i,j as p,a7 as u,m as c,p as m,aq as _,x as k}from"./entry.9effa704.js";const d={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},g=s({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(o){const t=o,n=l(()=>t.href||t.to);return(e,h)=>{const r=k;return a(),i(r,_(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:p(()=>[u(e.$slots,"default"),n.value&&e.target==="_blank"?(a(),c("div",d)):m("",!0)]),_:3},16,["class"])}}});export{g as _};
@@ -1 +1 @@
1
- import{d as o}from"./client.3f2665f1.js";import{d as t,f as e,o as a,h as r,ar as s,t as d}from"./entry.e01776ec.js";const i=t({__name:"NMarkdown",props:{markdown:{},tag:{}},setup(m){return(n,l)=>n.markdown&&e(o)?.devtools?.renderMarkdown?(a(),r(s(n.tag||"span"),{key:0,class:"n-markdown",innerHTML:e(o).devtools.renderMarkdown(n.markdown)},null,8,["innerHTML"])):(a(),r(s(n.tag||"span"),{key:1,class:"n-markdown",textContent:d(n.markdown)},null,8,["textContent"]))}});export{i as _};
1
+ import{d as o}from"./client.ab169146.js";import{d as t,f as e,o as a,h as r,as as s,t as d}from"./entry.9effa704.js";const i=t({__name:"NMarkdown",props:{markdown:{},tag:{}},setup(m){return(n,l)=>n.markdown&&e(o)?.devtools?.renderMarkdown?(a(),r(s(n.tag||"span"),{key:0,class:"n-markdown",innerHTML:e(o).devtools.renderMarkdown(n.markdown)},null,8,["innerHTML"])):(a(),r(s(n.tag||"span"),{key:1,class:"n-markdown",textContent:d(n.markdown)},null,8,["textContent"]))}});export{i as _};
@@ -0,0 +1 @@
1
+ import{d as t,m as l,k as c,a7 as a,p,G as s,o as d,i,W as u}from"./entry.9effa704.js";const m={flex:"~ gap4","items-center":""},_=t({__name:"NNavbar",props:{search:{},noPadding:{type:Boolean}},emits:["update:search"],setup(h,{emit:o}){function n(e){o("update:search",e.target.value)}return(e,f)=>{const r=u;return d(),l("div",{flex:"~ col gap2",border:"b base","flex-1":"","n-navbar-glass":"",class:s([{p4:!e.noPadding}])},[c("div",m,[e.search!==void 0?a(e.$slots,"search",{key:0},()=>[i(r,{placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:s({"px-5 py-2":!e.noPadding}),value:e.search,onInput:n},null,8,["class","value"])]):p("",!0),a(e.$slots,"actions")]),a(e.$slots,"default")],2)}}});export{_};
@@ -1 +1 @@
1
- import{d as g,a5 as y,m as r,k as o,G as n,i as B,j as S,f as i,F as c,I as $,J as b,a6 as s,p,o as l,v as u,t as v,h as k,y as w,z as C,a1 as N,q as I}from"./entry.e01776ec.js";import{_ as x}from"./NIconTitle.vue.bf8093eb.js";const _=t=>(w("data-v-cb964879"),t=t(),C(),t),V=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=_(()=>o("div",{class:"flex-auto"},null,-1)),F=_(()=>o("div",{class:"x-divider"},null,-1)),j=g({__name:"NSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(t){const a=y(t,"open",void 0,{passive:!0});function f(e){a.value=e.target.open}return(e,d)=>{const m=N,h=x;return l(),r(c,null,[o("details",{open:i(a),onToggle:f},[o("summary",{class:n(["cursor-pointer select-none hover:bg-active p4",e.collapse?"":"pointer-events-none"])},[B(h,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:n([i(a)?"op100":"op60",e.headerClass])},{default:S(()=>[o("div",null,[o("div",z,[s(e.$slots,"text",{},()=>[u(v(e.text),1)],!0)]),e.description||e.$slots.description?(l(),r("div",T,[s(e.$slots,"description",{},()=>[u(v(e.description),1)],!0)])):p("",!0)]),D,s(e.$slots,"actions",{},void 0,!0),e.collapse?(l(),k(m,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):p("",!0)]),_:3},8,["icon","text","class"])],2),d._lazyshow1||i(a)?(d._lazyshow1=!0,l(),r(c,null,[$(o("div",{class:n(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[s(e.$slots,"details",{},void 0,!0),o("div",{class:n([e.containerClass,"mt1"])},[s(e.$slots,"default",{},void 0,!0)],2),s(e.$slots,"footer",{},void 0,!0)],2),[[b,i(a)]])],64)):p("v-show-if",!0)],40,V),F],64)}}});const J=I(j,[["__scopeId","data-v-cb964879"]]);export{J as _};
1
+ import{d as g,a6 as y,m as r,k as o,G as n,i as B,j as S,f as i,F as c,I as $,J as b,a7 as s,p,o as l,v as u,t as v,h as k,y as w,z as C,a2 as N,q as I}from"./entry.9effa704.js";import{_ as x}from"./NIconTitle.vue.5caf9fc5.js";const _=t=>(w("data-v-cb964879"),t=t(),C(),t),V=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=_(()=>o("div",{class:"flex-auto"},null,-1)),F=_(()=>o("div",{class:"x-divider"},null,-1)),j=g({__name:"NSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(t){const a=y(t,"open",void 0,{passive:!0});function f(e){a.value=e.target.open}return(e,d)=>{const m=N,h=x;return l(),r(c,null,[o("details",{open:i(a),onToggle:f},[o("summary",{class:n(["cursor-pointer select-none hover:bg-active p4",e.collapse?"":"pointer-events-none"])},[B(h,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:n([i(a)?"op100":"op60",e.headerClass])},{default:S(()=>[o("div",null,[o("div",z,[s(e.$slots,"text",{},()=>[u(v(e.text),1)],!0)]),e.description||e.$slots.description?(l(),r("div",T,[s(e.$slots,"description",{},()=>[u(v(e.description),1)],!0)])):p("",!0)]),D,s(e.$slots,"actions",{},void 0,!0),e.collapse?(l(),k(m,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):p("",!0)]),_:3},8,["icon","text","class"])],2),d._lazyshow1||i(a)?(d._lazyshow1=!0,l(),r(c,null,[$(o("div",{class:n(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[s(e.$slots,"details",{},void 0,!0),o("div",{class:n([e.containerClass,"mt1"])},[s(e.$slots,"default",{},void 0,!0)],2),s(e.$slots,"footer",{},void 0,!0)],2),[[b,i(a)]])],64)):p("v-show-if",!0)],40,V),F],64)}}});const J=I(j,[["__scopeId","data-v-cb964879"]]);export{J as _};
@@ -1 +1 @@
1
- import{d as p,a5 as f,o,m as l,a6 as n,h as m,p as t,I as b,bF as h,f as v,k,t as y,l as V,G as d,a1 as B}from"./entry.e01776ec.js";const g=["disabled"],w={key:0,value:"",disabled:"",hidden:""},_=p({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(r,{emit:i}){const s=f(r,"modelValue",i,{passive:!0});return(e,a)=>{const c=B;return o(),l("div",{class:d(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",e.disabled?"border-gray:10":"n-border-base"])},[n(e.$slots,"icon",{},()=>[e.icon?(o(),m(c,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):t("",!0)]),b(k("select",{"onUpdate:modelValue":a[0]||(a[0]=u=>V(s)?s.value=u:null),disabled:e.disabled,class:d(["w-full flex-auto n-bg-base !outline-none",e.disabled?"appearance-none":""])},[e.placeholder?(o(),l("option",w,y(e.placeholder),1)):t("",!0),n(e.$slots,"default")],10,g),[[h,v(s)]])],2)}}});export{_};
1
+ import{d as p,a6 as f,o,m as l,a7 as n,h as m,p as t,I as b,bH as h,f as v,k,t as y,l as V,G as d,a2 as B}from"./entry.9effa704.js";const g=["disabled"],w={key:0,value:"",disabled:"",hidden:""},_=p({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(r,{emit:i}){const s=f(r,"modelValue",i,{passive:!0});return(e,a)=>{const c=B;return o(),l("div",{class:d(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",e.disabled?"border-gray:10":"n-border-base"])},[n(e.$slots,"icon",{},()=>[e.icon?(o(),m(c,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):t("",!0)]),b(k("select",{"onUpdate:modelValue":a[0]||(a[0]=u=>V(s)?s.value=u:null),disabled:e.disabled,class:d(["w-full flex-auto n-bg-base !outline-none",e.disabled?"appearance-none":""])},[e.placeholder?(o(),l("option",w,y(e.placeholder),1)):t("",!0),n(e.$slots,"default")],10,g),[[h,v(s)]])],2)}}});export{_};
@@ -1 +1 @@
1
- import{d as c,a5 as m,o as s,m as t,F as v,n as f,G as d,f as o,k as r,t as _,I as g,aH as y,l as V}from"./entry.e01776ec.js";const h={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded n-bg-base"},k=["disabled","title"],x=["disabled","value","title"],C=c({__name:"NSelectTabs",props:{modelValue:{default:void 0},disabled:{type:Boolean,default:!1},options:{}},setup(i,{emit:b}){const a=m(i,"modelValue",b,{passive:!0});return(l,n)=>(s(),t("fieldset",h,[(s(!0),t(v,null,f(l.options,(e,p)=>(s(),t("label",{key:e.label,disabled:l.disabled,class:d(["relative n-border-base hover:n-bg-active px-0.5em py-0.1em",[p?"border-l n-border-base ml--1px":"",e.value===o(a)?"n-bg-active":""]]),title:e.label},[r("div",{class:d([e.value===o(a)?"":"op35"])},_(e.label),3),g(r("input",{"onUpdate:modelValue":n[0]||(n[0]=u=>V(a)?a.value=u:null),type:"radio",disabled:l.disabled,value:e.value,title:e.label,class:"absolute inset-0 op-0.1"},null,8,x),[[y,o(a)]])],10,k))),128))]))}});export{C as _};
1
+ import{d as c,a6 as m,o as s,m as t,F as v,n as f,G as d,f as o,k as r,t as _,I as g,aI as y,l as V}from"./entry.9effa704.js";const h={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded n-bg-base"},k=["disabled","title"],x=["disabled","value","title"],C=c({__name:"NSelectTabs",props:{modelValue:{default:void 0},disabled:{type:Boolean,default:!1},options:{}},setup(i,{emit:b}){const a=m(i,"modelValue",b,{passive:!0});return(l,n)=>(s(),t("fieldset",h,[(s(!0),t(v,null,f(l.options,(e,p)=>(s(),t("label",{key:e.label,disabled:l.disabled,class:d(["relative n-border-base hover:n-bg-active px-0.5em py-0.1em",[p?"border-l n-border-base ml--1px":"",e.value===o(a)?"n-bg-active":""]]),title:e.label},[r("div",{class:d([e.value===o(a)?"":"op35"])},_(e.label),3),g(r("input",{"onUpdate:modelValue":n[0]||(n[0]=u=>V(a)?a.value=u:null),type:"radio",disabled:l.disabled,value:e.value,title:e.label,class:"absolute inset-0 op-0.1"},null,8,x),[[y,o(a)]])],10,k))),128))]))}});export{C as _};
@@ -1 +1 @@
1
- import{d as i,a5 as c,o as r,m as u,I as h,bE as p,f as l,k as t,l as b,ab as f,a6 as v}from"./entry.e01776ec.js";const k=["checked","disabled"],m=["disabled"],w=t("div",{class:"n-switch-slider n-checked:n-switch-slider-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},[t("div",{class:"n-checked:n-switch-thumb-checked n-switch-thumb n-transition"})],-1),B=i({__name:"NSwitch",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(d,{emit:o}){const e=c(d,"modelValue",o,{passive:!0});return(a,s)=>(r(),u("label",{class:"n-switch n-switch-base hover:n-switch-hover n-disabled:n-disabled",checked:l(e)||null,disabled:a.disabled||null},[h(t("input",{"onUpdate:modelValue":s[0]||(s[0]=n=>b(e)?e.value=n:null),type:"checkbox",class:"peer absolute op0",disabled:a.disabled,onKeypress:s[1]||(s[1]=f(n=>e.value=!l(e),["enter"]))},null,40,m),[[p,l(e)]]),w,v(a.$slots,"default")],8,k))}});export{B as _};
1
+ import{d as i,a6 as c,o as r,m as u,I as h,bG as p,f as l,k as t,l as b,ac as f,a7 as v}from"./entry.9effa704.js";const k=["checked","disabled"],m=["disabled"],w=t("div",{class:"n-switch-slider n-checked:n-switch-slider-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},[t("div",{class:"n-checked:n-switch-thumb-checked n-switch-thumb n-transition"})],-1),B=i({__name:"NSwitch",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(d,{emit:o}){const e=c(d,"modelValue",o,{passive:!0});return(a,s)=>(r(),u("label",{class:"n-switch n-switch-base hover:n-switch-hover n-disabled:n-disabled",checked:l(e)||null,disabled:a.disabled||null},[h(t("input",{"onUpdate:modelValue":s[0]||(s[0]=n=>b(e)?e.value=n:null),type:"checkbox",class:"peer absolute op0",disabled:a.disabled,onKeypress:s[1]||(s[1]=f(n=>e.value=!l(e),["enter"]))},null,40,m),[[p,l(e)]]),w,v(a.$slots,"default")],8,k))}});export{B as _};
@@ -1 +1 @@
1
- import{d as a,o,m as c,a6 as n,h as t,p as i,k as r,a1 as p}from"./entry.e01776ec.js";const l={class:"n-tip n-tip-base"},u=a({__name:"NTip",props:{icon:{}},setup(m){return(e,_)=>{const s=p;return o(),c("div",l,[n(e.$slots,"icon",{},()=>[e.icon?(o(),t(s,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):i("",!0)]),r("div",null,[n(e.$slots,"default")])])}}});export{u as _};
1
+ import{d as a,o,m as c,a7 as n,h as t,p as i,k as r,a2 as p}from"./entry.9effa704.js";const l={class:"n-tip n-tip-base"},u=a({__name:"NTip",props:{icon:{}},setup(m){return(e,_)=>{const s=p;return o(),c("div",l,[n(e.$slots,"icon",{},()=>[e.icon?(o(),t(s,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):i("",!0)]),r("div",null,[n(e.$slots,"default")])])}}});export{u as _};
@@ -1 +1 @@
1
- import{d as V,a5 as B,ag as _,r as w,b5 as O,bb as C,aa as $,o as i,m as p,k as u,G as c,f as a,t as J,p as l,a6 as D,b9 as P,ba as R,F as j,I as z,i as F,h as v,ap as G,bc as M,l as U,au as A,_ as E}from"./entry.e01776ec.js";import{_ as I}from"./DataSchemaButton.vue.125423b7.js";import{U as T}from"./json-editor-vue.b22bf91c.js";const Y=["open"],q={flex:"~ gap2","select-none":"","items-center":"",px4:""},Q=V({__name:"StateEditor",props:{name:{},open:{type:Boolean},state:{},readonly:{type:Boolean}},emits:["update:open"],setup(b,{emit:g}){const s=b,n=B(s,"open",g,{passive:!0}),k=_(),o=w(),d=O(s.name,"$9Gvv2FGyYa");s.state?o.value=JSON.parse(JSON.stringify(s.state)):(typeof s.state=="number"||typeof s.state!="string")&&(o.value=s.state);const m=C(o,e=>{typeof e!="number"&&typeof e!="string"?f(e,s.state):d.value=e},{deep:!0});function f(e,r){for(const t in e)e[t]===null?r[t]=null:Array.isArray(e[t])?r[t]=e[t].slice():typeof e[t]=="object"?f(e[t],r[t]):r[t]=e[t]}async function h(){m.pause(),o.value=JSON.parse(JSON.stringify(s.state)),await A(),m.resume()}return(e,r)=>{const t=E,S=I,N=$("tooltip");return i(),p("div",{class:"state-editor-details",open:e.name?a(n):!0},[u("div",q,[e.name?(i(),p("button",{key:0,flex:"~","cursor-pointer":"","items-center":"",class:c(a(n)?"":"op50"),onClick:r[0]||(r[0]=y=>n.value=!a(n))},[u("div",{"i-carbon-chevron-right":"",transition:"",class:c(a(n)?"rotate-90 op0":"")},null,2),u("code",{px3:"",py1:"","font-mono":"",class:c(a(n)?"bg-[#8881] rounded-t":"rounded hover:bg-active")},J(e.name),3)],2)):l("",!0),D(e.$slots,"actions",P(R({isOpen:a(n),name:e.name,state:a(d)}))),a(n)?(i(),p(j,{key:1},[z(F(t,{title:"Refresh View",icon:"carbon-renew",border:!1,onClick:h},null,512),[[N,"Refresh View",void 0,{bottom:!0}]]),a(o)?(i(),v(S,{key:0,getter:()=>({name:e.name,input:JSON.stringify(a(o))})},null,8,["getter"])):l("",!0)],64)):l("",!0)]),a(n)||!e.name?(i(),v(a(T),G({key:0,modelValue:a(o),"onUpdate:modelValue":r[1]||(r[1]=y=>U(o)?o.value=y:null)},e.$attrs,{class:["json-editor-vue",[a(k).value==="dark"?"jse-theme-dark":"",(e.name,"")]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":"readonly"in e?e.readonly:a(M),indentation:2,"tab-size":2}),null,16,["modelValue","class","read-only"])):l("",!0)],8,Y)}}});export{Q as _};
1
+ import{d as V,a6 as B,ah as _,r as w,b6 as O,bd as C,ab as $,o as i,m as p,k as u,G as c,f as a,t as J,p as l,a7 as D,ba as P,bb as R,F as j,I as z,i as F,h as v,aq as G,be as M,l as U,av as A,_ as E}from"./entry.9effa704.js";import{_ as q}from"./DataSchemaButton.vue.65a9244c.js";import{U as I}from"./json-editor-vue.724e0801.js";const T=["open"],Y={flex:"~ gap2","select-none":"","items-center":"",px4:""},Q=V({__name:"StateEditor",props:{name:{},open:{type:Boolean},state:{},readonly:{type:Boolean}},emits:["update:open"],setup(b,{emit:g}){const s=b,n=B(s,"open",g,{passive:!0}),k=_(),o=w(),d=O(s.name,"$9Gvv2FGyYa");s.state?o.value=JSON.parse(JSON.stringify(s.state)):(typeof s.state=="number"||typeof s.state!="string")&&(o.value=s.state);const m=C(o,e=>{typeof e!="number"&&typeof e!="string"?f(e,s.state):d.value=e},{deep:!0});function f(e,r){for(const t in e)e[t]===null?r[t]=null:Array.isArray(e[t])?r[t]=e[t].slice():typeof e[t]=="object"?f(e[t],r[t]):r[t]=e[t]}async function h(){m.pause(),o.value=JSON.parse(JSON.stringify(s.state)),await A(),m.resume()}return(e,r)=>{const t=E,S=q,N=$("tooltip");return i(),p("div",{class:"state-editor-details",open:e.name?a(n):!0},[u("div",Y,[e.name?(i(),p("button",{key:0,flex:"~","cursor-pointer":"","items-center":"",class:c(a(n)?"":"op50"),onClick:r[0]||(r[0]=y=>n.value=!a(n))},[u("div",{"i-carbon-chevron-right":"",transition:"",class:c(a(n)?"rotate-90 op0":"")},null,2),u("code",{px3:"",py1:"","font-mono":"",class:c(a(n)?"bg-[#8881] rounded-t":"rounded hover:bg-active")},J(e.name),3)],2)):l("",!0),D(e.$slots,"actions",P(R({isOpen:a(n),name:e.name,state:a(d)}))),a(n)?(i(),p(j,{key:1},[z(F(t,{title:"Refresh View",icon:"carbon-renew",border:!1,onClick:h},null,512),[[N,"Refresh View",void 0,{bottom:!0}]]),a(o)?(i(),v(S,{key:0,getter:()=>({name:e.name,input:JSON.stringify(a(o))})},null,8,["getter"])):l("",!0)],64)):l("",!0)]),a(n)||!e.name?(i(),v(a(I),G({key:0,modelValue:a(o),"onUpdate:modelValue":r[1]||(r[1]=y=>U(o)?o.value=y:null)},e.$attrs,{class:["json-editor-vue",[a(k).value==="dark"?"jse-theme-dark":"",(e.name,"")]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":"readonly"in e?e.readonly:a(M),indentation:2,"tab-size":2}),null,16,["modelValue","class","read-only"])):l("",!0)],8,T)}}});export{Q as _};
@@ -0,0 +1 @@
1
+ import{d as R,a as V,r as S,o,m as i,k as e,F as c,n as E,G as F,f as n,t as m,p as b,H as G,i as r,j as a,v as _,I as A,J as D,K as P,L as U,_ as L,M as q,N as ee,O as te,P as ne,Q as oe,R as le,S as ie,U as se,V as k,h as w,l as j,W as ae,X as re,A as ue}from"./entry.9effa704.js";import{_ as de}from"./FilepathItem.vue.66158bcd.js";import{_ as ce}from"./NTip.vue.7a94f00d.js";import{_ as me}from"./NCodeBlock.vue.d4a74ca4.js";import{_ as _e}from"./NCheckbox.vue.83a6e70e.js";import{_ as pe}from"./HelpFab.vue.074157ff.js";import"./client.ab169146.js";const fe={"h-full":"",grid:"~ rows-[max-content_1fr]"},ve={flex:"~ wrap","w-full":""},he=["onClick"],ye=e("div",{border:"b base","flex-auto":""},null,-1),be={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},$e=e("div",{"flex-auto":""},null,-1),xe={grid:"~ cols-[30px_1fr] gap-x-2 gap-y-3 items-center justify-center","w-100":""},ge=e("div",{"i-carbon-commit":"","text-xl":""},null,-1),we=e("div",{"text-sm":"",op50:""}," Name ",-1),ze=e("div",{"i-carbon-time":"","text-xl":""},null,-1),Be=e("div",{"text-sm":"",op50:""}," Build duration ",-1),ke=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),Ce=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ne=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Te=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Ae=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),De=e("div",{"text-sm":"",op50:""}," Built ",-1),Ie=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ve=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Se=e("div",{"flex-auto":""},null,-1),I="/__nuxt_devtools__/analyze/",Fe=R({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(C){const p=C,f=V(()=>{const t=[{name:"Overview",id:"overview"}];return p.current.features.bundleClient&&t.push({name:"Client Bundle",id:"bundle-client"}),p.current.features.bundleNitro&&t.push({name:"Nitro Bundle",id:"bundle-nitro"}),p.current.features.viteInspect&&t.push({name:"Vite Inspect",id:"vite-inspect"}),t}),l=S(f.value[0]);function $(t){return t<1024?`${t}B`:t<1024*1024?`${(t/1024).toFixed(1)}KB`:t<1024*1024*1024?`${(t/1024/1024).toFixed(1)}MB`:`${(t/1024/1024/1024).toFixed(1)}GB`}function g(t){return`${((t.endTime-t.startTime)/1e3).toFixed(1)}s`}async function x(t){return P.clearAnalyzeBuilds(await U(),[t])}return(t,u)=>{const z=de,N=L;return o(),i("div",fe,[e("div",ve,[(o(!0),i(c,null,E(n(f),(v,T)=>(o(),i("button",{key:T,px4:"",py2:"",border:"r base",hover:"bg-active",class:F(v.id===n(l).id?"":"border-b"),onClick:d=>l.value=v},[e("div",{class:F(v.id===n(l).id?"":"op30")},m(v.name),3)],10,he))),128)),ye]),n(l).id==="overview"?(o(),i("div",be,[$e,e("div",xe,[ge,e("div",null,[we,e("div",null,m(t.current.name),1)]),ze,e("div",null,[Be,e("div",null,m(g(t.current)),1)]),t.current.size?.clientBundle?(o(),i(c,{key:0},[ke,e("div",null,[Ce,e("div",null,m($(t.current.size.clientBundle)),1)])],64)):b("",!0),t.current.size.nitroBundle?(o(),i(c,{key:1},[Ne,e("div",null,[Te,e("div",null,m($(t.current.size.nitroBundle)),1)])],64)):b("",!0),Ae,e("div",null,[De,e("div",null,m(n(G)(new Date(t.current.endTime))),1)]),Ie,e("div",null,[Ve,r(z,{filepath:t.current.analyzeDir},null,8,["filepath"])])]),Se,r(N,{n:"rose",icon:"carbon-delete",onClick:u[0]||(u[0]=v=>x(t.current.name))},{default:a(()=>[_(" Delete this report ")]),_:1})])):b("",!0),u._lazyshow1||n(l).id==="bundle-client"?(u._lazyshow1=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-client"]])],64)):b("v-show-if",!0),u._lazyshow2||n(l).id==="bundle-nitro"?(u._lazyshow2=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-nitro"]])],64)):b("v-show-if",!0),u._lazyshow3||n(l).id==="vite-inspect"?(u._lazyshow3=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Pe={class:"markdown-body"},je=e("h1",null,"Build Analyze",-1),Re=e("p",null,[_("DevTools provides a build analyze tool to help you understand the size of your app in production. Whenever you start a new build, it runs the command "),e("code",null,"nuxt build --analyze"),_(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),Ee=[je,Re],Ge={__name:"analyze-build",setup(C,{expose:p}){return p({frontmatter:{}}),(l,$)=>(o(),i("div",Pe,Ee))}},Ue={flex:"~ col"},Le=["onClick"],Oe={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},He=e("div",{"i-carbon-time":""},null,-1),Ke=e("div",{"flex-auto":""},null,-1),Me=e("div",{"x-divider":""},null,-1),We={flex:"~ items-center justify-center wrap",p4:""},Je={flex:"~ col gap-1","w-250":"",p4:""},Qe=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),Xe=e("p",{op50:""}," Enter the name of the build: ",-1),Ye=e("div",{my3:"","x-divider":""},null,-1),Ze=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),qe={flex:"~ gap-3",mt2:"","justify-end":""},at=R({__name:"analyze-build",setup(C){const p=q(),f=ee(),l=te(),$=ne("analyze-build:slug",""),g=V(()=>f.value?.builds.find(d=>d.slug===$.value)??f.value?.builds[0]),x=S(!1),t=S(""),u=V(()=>f.value?.builds.some(d=>d.name===t.value.trim()));async function z(){t.value=await P.generateAnalyzeBuildName(),await p.start()&&(se("analyze-build:start"),k.value={name:t.value,processId:await P.startAnalyzeBuild(await U(),t.value)},x.value&&v())}const N=oe();function v(){k.value?.processId&&(N.value=k.value.processId,l.push("/modules/terminals"))}function T(d){return`${((d.endTime-d.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:z}]),(d,h)=>{const B=L,O=Fe,H=ue,K=ie,M=ae,W=ce,J=me,Q=_e,X=re,Y=Ge,Z=pe;return o(),i(c,null,[r(K,{"left-size":30},{left:a(()=>[e("div",Ue,[(o(!0),i(c,null,E(n(f)?.builds,s=>(o(),i(c,{key:s.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:F(s.slug===n(g)?.slug?"text-primary bg-active":""),onClick:y=>$.value=s.slug},[e("code",null,m(s.name),1),e("div",Oe,[He,e("span",null,m(T(s)),1),Ke,e("span",null,m(n(G)(new Date(s.endTime))),1)])],10,Le),Me],64))),128)),e("div",We,[("processAnalyzeBuildInfo"in d?d.processAnalyzeBuildInfo:n(k))?(o(),w(B,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:h[1]||(h[1]=s=>v())},{default:a(()=>[_(" Building... ")]),_:1})):(o(),w(B,{key:0,n:"primary",icon:"carbon-edge-node",onClick:h[0]||(h[0]=s=>z())},{default:a(()=>[_(" Start a new build ")]),_:1}))])])]),right:a(()=>[n(g)?(o(),w(O,{key:0,current:n(g)},null,8,["current"])):(o(),w(H,{key:1}))]),_:1}),r(n(p),null,{default:a(({resolve:s})=>[r(X,{"model-value":!0,onClose:y=>s(!1)},{default:a(()=>[e("div",Je,[Qe,Xe,r(M,{modelValue:n(t),"onUpdate:modelValue":h[2]||(h[2]=y=>j(t)?t.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),n(u)?(o(),w(W,{key:0,"n-orange":""},{default:a(()=>[_(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Ye,Ze,r(J,{code:`npx nuxi analyze --no-serve --name=${n(t)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),r(Q,{modelValue:n(x),"onUpdate:modelValue":h[3]||(h[3]=y=>j(x)?x.value=y:null),mt2:"",n:"primary"},{default:a(()=>[_(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",qe,[r(B,{onClick:y=>s(!1)},{default:a(()=>[_(" Cancel ")]),_:2},1032,["onClick"]),r(B,{n:"solid primary",onClick:y=>s(!0)},{default:a(()=>[_(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),r(Z,null,{default:a(()=>[r(Y)]),_:1})],64)}}});export{at as default};