@nuxt/devtools 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/chunks/analyze-build.mjs +38 -6
  2. package/dist/chunks/module-main.mjs +1 -1
  3. package/dist/client/200.html +31 -31
  4. package/dist/client/404.html +31 -31
  5. package/dist/client/__blank/index.html +31 -31
  6. package/dist/client/_nuxt/{Badge.3c6fa035.js → Badge.efa8b534.js} +1 -1
  7. package/dist/client/_nuxt/{CodeDiff.vue.7a519a6d.js → CodeDiff.vue.52d6bbaa.js} +1 -1
  8. package/dist/client/_nuxt/{ComposableItem.vue.ffcca591.js → ComposableItem.vue.1525d3d2.js} +1 -1
  9. package/dist/client/_nuxt/{DataSchemaButton.vue.9ced8093.js → DataSchemaButton.vue.dabda5da.js} +1 -1
  10. package/dist/client/_nuxt/{DataSchemaDrawer.6edfca87.js → DataSchemaDrawer.345f79f6.js} +2 -2
  11. package/dist/client/_nuxt/{DrawerRight.vue.8980fc15.js → DrawerRight.vue.e75b5510.js} +1 -1
  12. package/dist/client/_nuxt/{DurationDisplay.vue.dca5d690.js → DurationDisplay.vue.73c682ac.js} +1 -1
  13. package/dist/client/_nuxt/{FilepathItem.vue.222c7a36.js → FilepathItem.vue.253590ec.js} +1 -1
  14. package/dist/client/_nuxt/{HelpFab.vue.6da14cd2.js → HelpFab.vue.b3c1cf3a.js} +1 -1
  15. package/dist/client/_nuxt/{LaunchPage.vue.ded97a46.js → LaunchPage.vue.45c2e269.js} +1 -1
  16. package/dist/client/_nuxt/{NCheckbox.vue.d47be8e5.js → NCheckbox.vue.e6a37232.js} +1 -1
  17. package/dist/client/_nuxt/{NCodeBlock.vue.cd0d52ca.js → NCodeBlock.vue.28dd841e.js} +1 -1
  18. package/dist/client/_nuxt/{NDropdown.vue.3bf5669f.js → NDropdown.vue.36b68b91.js} +1 -1
  19. package/dist/client/_nuxt/{NIconTitle.vue.590f73cc.js → NIconTitle.vue.635c5682.js} +1 -1
  20. package/dist/client/_nuxt/{NLink.vue.2bd59538.js → NLink.vue.19da93af.js} +1 -1
  21. package/dist/client/_nuxt/{NMarkdown.vue.0929ffc5.js → NMarkdown.vue.283d6615.js} +1 -1
  22. package/dist/client/_nuxt/{NSectionBlock.2eb550f4.js → NSectionBlock.e780f891.js} +1 -1
  23. package/dist/client/_nuxt/{NSelect.vue.120a17c7.js → NSelect.vue.60befa30.js} +1 -1
  24. package/dist/client/_nuxt/{NSelectTabs.vue.15ded4ea.js → NSelectTabs.vue.1cae281d.js} +1 -1
  25. package/dist/client/_nuxt/{NSwitch.vue.00f0a211.js → NSwitch.vue.eb1bdf97.js} +1 -1
  26. package/dist/client/_nuxt/{NTip.vue.b82daf5f.js → NTip.vue.eef318b6.js} +1 -1
  27. package/dist/client/_nuxt/{Navbar.vue.454bbdad.js → Navbar.vue.d85c454f.js} +1 -1
  28. package/dist/client/_nuxt/{StateEditor.vue.fb44992d.js → StateEditor.vue.83907c9e.js} +1 -1
  29. package/dist/client/_nuxt/{__blank.ed5e6688.js → __blank.fd22bfe8.js} +1 -1
  30. package/dist/client/_nuxt/{analyze-build.a348d54f.js → analyze-build.3961243f.js} +1 -1
  31. package/dist/client/_nuxt/{assets.9cc20f0c.js → assets.22c374b3.js} +1 -1
  32. package/dist/client/_nuxt/{client.ecec2ff5.js → client.766a1bb7.js} +1 -1
  33. package/dist/client/_nuxt/{components.eb546fab.js → components.f4ae9003.js} +1 -1
  34. package/dist/client/_nuxt/{css.5abce139.js → css.a67813b3.js} +12 -8
  35. package/dist/client/_nuxt/{custom-_name_.405b1822.js → custom-_name_.4e0a3203.js} +1 -1
  36. package/dist/client/_nuxt/{default.d9ec755b.js → default.7b425b73.js} +1 -1
  37. package/dist/client/_nuxt/entry.13b4d578.css +1 -0
  38. package/dist/client/_nuxt/entry.2f74e286.js +27 -0
  39. package/dist/client/_nuxt/{error-404.27f7c5ed.js → error-404.9d0e04bf.js} +1 -1
  40. package/dist/client/_nuxt/{error-500.6459d9b0.js → error-500.10115977.js} +1 -1
  41. package/dist/client/_nuxt/{full.ff28afbd.js → full.4288bf38.js} +1 -1
  42. package/dist/client/_nuxt/{hooks.a92c198c.js → hooks.1d6c1af1.js} +1 -1
  43. package/dist/client/_nuxt/{html.66e44e78.js → html.af01869e.js} +1 -1
  44. package/dist/client/_nuxt/{imports.af43913a.js → imports.39a7562f.js} +1 -1
  45. package/dist/client/_nuxt/{index.475555a9.js → index.14b447a4.js} +1 -1
  46. package/dist/client/_nuxt/{index.9d25c8b5.js → index.94061115.js} +1 -1
  47. package/dist/client/_nuxt/{javascript.ddb4c460.js → javascript.b7d6d348.js} +7 -7
  48. package/dist/client/_nuxt/{json-editor-vue.28570b6b.js → json-editor-vue.87488a70.js} +53 -53
  49. package/dist/client/_nuxt/{middleware.17de3e64.js → middleware.66f1417a.js} +1 -1
  50. package/dist/client/_nuxt/{modules.d2b55e3a.js → modules.3b512e2b.js} +1 -1
  51. package/dist/client/_nuxt/{none.60868d86.js → none.d43da723.js} +1 -1
  52. package/dist/client/_nuxt/{open-graph.b86b82fa.js → open-graph.c7507223.js} +1 -1
  53. package/dist/client/_nuxt/{overview.5b1b22e6.js → overview.dae47b2d.js} +1 -1
  54. package/dist/client/_nuxt/{pages.7ce7ead1.js → pages.0902f86b.js} +1 -1
  55. package/dist/client/_nuxt/{payload.95a96cbc.js → payload.7de203b9.js} +1 -1
  56. package/dist/client/_nuxt/{plugins.19d4d843.js → plugins.30d46375.js} +1 -1
  57. package/dist/client/_nuxt/{runtime-configs.ccb12a0d.js → runtime-configs.a32dc753.js} +1 -1
  58. package/dist/client/_nuxt/{server-routes.7cc44fc0.js → server-routes.7e333622.js} +1 -1
  59. package/dist/client/_nuxt/{settings.105e88e7.js → settings.5586d729.js} +1 -1
  60. package/dist/client/_nuxt/shellscript.9d056341.js +4 -0
  61. package/dist/client/_nuxt/{state-components.f27756f9.js → state-components.7549d0ff.js} +1 -1
  62. package/dist/client/_nuxt/{state-modules.4d65021c.js → state-modules.a4af1949.js} +1 -1
  63. package/dist/client/_nuxt/{storage-options.f78173e7.js → storage-options.0b849b9a.js} +1 -1
  64. package/dist/client/_nuxt/{storage.38ee52e0.js → storage.6d27a7d0.js} +1 -1
  65. package/dist/client/_nuxt/{terminals.6138e467.js → terminals.2f1b22dc.js} +1 -1
  66. package/dist/client/_nuxt/{timeline.aeb379fb.js → timeline.849dbd44.js} +1 -1
  67. package/dist/client/_nuxt/{typescript.3ef79501.js → typescript.24e7badf.js} +7 -7
  68. package/dist/client/_nuxt/unocss-runtime.e58f9c20.js +2 -0
  69. package/dist/client/_nuxt/{virtual-files.c0236487.js → virtual-files.d393fac8.js} +1 -1
  70. package/dist/client/_nuxt/{vue-html.b80b464f.js → vue-html.0806679f.js} +1 -1
  71. package/dist/client/_nuxt/{vue.5b4e1de3.js → vue.24311fdc.js} +18 -18
  72. package/dist/client/index.html +31 -31
  73. package/dist/client/modules/analyze-build/index.html +31 -31
  74. package/dist/client/modules/assets/index.html +31 -31
  75. package/dist/client/modules/components/index.html +31 -31
  76. package/dist/client/modules/hooks/index.html +31 -31
  77. package/dist/client/modules/imports/index.html +31 -31
  78. package/dist/client/modules/middleware/index.html +31 -31
  79. package/dist/client/modules/modules/index.html +31 -31
  80. package/dist/client/modules/open-graph/index.html +31 -31
  81. package/dist/client/modules/overview/index.html +31 -31
  82. package/dist/client/modules/pages/index.html +31 -31
  83. package/dist/client/modules/payload/index.html +31 -31
  84. package/dist/client/modules/plugins/index.html +31 -31
  85. package/dist/client/modules/runtime-configs/index.html +31 -31
  86. package/dist/client/modules/server-routes/index.html +31 -31
  87. package/dist/client/modules/storage/index.html +31 -31
  88. package/dist/client/modules/terminals/index.html +31 -31
  89. package/dist/client/modules/timeline/index.html +31 -31
  90. package/dist/client/modules/virtual-files/index.html +31 -31
  91. package/dist/client/settings/index.html +31 -31
  92. package/dist/dirs.d.mts +7 -0
  93. package/dist/module.d.mts +9 -0
  94. package/dist/module.d.ts +1 -1
  95. package/dist/module.json +1 -1
  96. package/dist/runtime/plugins/view/client.mjs +1 -1
  97. package/dist/shared/devtools.2a48a9e5.d.ts +62 -0
  98. package/dist/types.d.mts +42 -0
  99. package/dist/types.d.ts +2 -2
  100. package/package.json +27 -28
  101. package/dist/client/_nuxt/entry.102d44fe.js +0 -27
  102. package/dist/client/_nuxt/entry.a2a7b315.css +0 -1
  103. package/dist/client/_nuxt/shellscript.3d8bff4d.js +0 -4
  104. package/dist/client/_nuxt/unocss-runtime.50cd6f0c.js +0 -2
  105. /package/dist/{global-2a48a9e5.d.ts → shared/devtools.2a48a9e5.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import{_ as kE}from"./NSelect.vue.120a17c7.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.102d44fe.js";import{_ as ME}from"./NSwitch.vue.00f0a211.js";import{_ as jE}from"./NDropdown.vue.3bf5669f.js";import{_ as RE}from"./NCodeBlock.vue.cd0d52ca.js";import{_ as BE}from"./DrawerRight.vue.8980fc15.js";import"./client.ecec2ff5.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.60befa30.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.2f74e286.js";import{_ as ME}from"./NSwitch.vue.eb1bdf97.js";import{_ as jE}from"./NDropdown.vue.36b68b91.js";import{_ as RE}from"./NCodeBlock.vue.28dd841e.js";import{_ as BE}from"./DrawerRight.vue.e75b5510.js";import"./client.766a1bb7.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
  `)?`
@@ -859,7 +859,7 @@ makeNullableEncoder : (a -> Jenc.Value) -> Maybe a -> Jenc.Value
859
859
  makeNullableEncoder f m =
860
860
  case m of
861
861
  Just x -> f x
862
- Nothing -> Jenc.null`))}}e.ElmRenderer=G})(Op);var ks={};Object.defineProperty(ks,"__esModule",{value:!0});ks.JSONSchemaRenderer=ks.JSONSchemaTargetLanguage=void 0;const $b=Je,eM=St,tM=ft(),nM=et(),iM=_t,rM=Ge,ls=yt(),kr=Ne,sM=Io(),oM=ic();class aM extends eM.TargetLanguage{constructor(){super("JSON Schema",["schema","json-schema"],"schema")}getOptions(){return[]}get stringTypeMapping(){return(0,sM.getNoStringTypeMapping)()}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(t,n){return new _v(this,t)}}ks.JSONSchemaTargetLanguage=aM;const lM=(0,rM.funPrefixNamer)("namer",cM),uM=(0,ls.legalizeCharacters)(e=>e>=32&&e<128&&e!==47);function cM(e){const t=(0,ls.splitIntoWords)(e);return(0,ls.combineWords)(t,uM,ls.firstUpperWordStyle,ls.firstUpperWordStyle,ls.allUpperWordStyle,ls.allUpperWordStyle,"",n=>!0)}class _v extends iM.ConvenienceRenderer{makeNamedTypeNamer(){return lM}namerForObjectProperty(){return null}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return null}nameForType(t){return(0,kr.defined)(this.names.get(this.nameForNamedType(t)))}makeOneOf(t){const n=(0,$b.iterableFirst)(t);return n===void 0?(0,kr.panic)("Must have at least one type for oneOf"):t.size===1?this.schemaForType(n):{anyOf:Array.from(t).map(i=>this.schemaForType(i))}}makeRef(t){return{$ref:`#/definitions/${this.nameForType(t)}`}}addAttributesToSchema(t,n){const i=this.typeGraph.attributeStore.attributesForType(t);for(const[s,u]of i)s.addToSchema(n,t,u)}schemaForType(t){const n=(0,nM.matchTypeExhaustive)(t,i=>(0,kr.panic)("none type should have been replaced"),i=>({}),i=>({type:"null"}),i=>({type:"boolean"}),i=>({type:"integer"}),i=>({type:"number"}),i=>({type:"string"}),i=>({type:"array",items:this.schemaForType(i.items)}),i=>this.makeRef(i),i=>this.definitionForObject(i,void 0),i=>this.makeRef(i),i=>this.makeRef(i),i=>this.unionNeedsName(i)?this.makeRef(i):this.definitionForUnion(i),i=>{const s=tM.transformedStringTypeTargetTypeKindsMap.get(i.kind);return s===void 0?(0,kr.panic)(`Unknown transformed string type ${i.kind}`):{type:"string",format:s.jsonSchema}});return n.$ref===void 0&&this.addAttributesToSchema(t,n),n}definitionForObject(t,n){let i,s;if(t.getProperties().size===0)i=void 0,s=void 0;else{const y={},v=[];for(const[S,C]of t.getProperties()){const R=this.schemaForType(C.type);R.description===void 0&&(0,oM.addDescriptionToSchema)(R,this.descriptionForClassProperty(t,S)),y[S]=R,C.isOptional||v.push(S)}i=y,s=v.sort()}const u=t.getAdditionalProperties(),f={type:"object",additionalProperties:u!==void 0?this.schemaForType(u):!1,properties:i,required:s,title:n};return this.addAttributesToSchema(t,f),f}definitionForUnion(t,n){const i=this.makeOneOf(t.sortedMembers);return n!==void 0&&(i.title=n),this.addAttributesToSchema(t,i),i}definitionForEnum(t,n){const i={type:"string",enum:Array.from(t.cases),title:n};return this.addAttributesToSchema(t,i),i}emitSourceStructure(){const t=this.topLevels.size===1?this.schemaForType((0,kr.defined)((0,$b.mapFirst)(this.topLevels))):{},n=Object.assign({$schema:"http://json-schema.org/draft-06/schema#"},t),i={};this.forEachObject("none",(s,u)=>{const a=(0,kr.defined)(this.names.get(u));i[a]=this.definitionForObject(s,a)}),this.forEachUnion("none",(s,u)=>{if(!this.unionNeedsName(s))return;const a=(0,kr.defined)(this.names.get(u));i[a]=this.definitionForUnion(s,a)}),this.forEachEnum("none",(s,u)=>{const a=(0,kr.defined)(this.names.get(u));i[a]=this.definitionForEnum(s,a)}),n.definitions=i,this.emitMultiline(JSON.stringify(n,void 0," "))}}ks.JSONSchemaRenderer=_v;var Cp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RustRenderer=e.RustTargetLanguage=e.rustOptions=e.Visibility=e.Density=void 0;const t=Je,n=St,i=_t,s=yt(),u=Ge,a=et(),f=Ke,y=At,v=ot,S=Ne;var C;(function(h){h[h.Normal=0]="Normal",h[h.Dense=1]="Dense"})(C=e.Density||(e.Density={}));var R;(function(h){h[h.Private=0]="Private",h[h.Crate=1]="Crate",h[h.Public=2]="Public"})(R=e.Visibility||(e.Visibility={})),e.rustOptions={density:new v.EnumOption("density","Density",[["normal",C.Normal],["dense",C.Dense]]),visibility:new v.EnumOption("visibility","Field visibility",[["private",R.Private],["crate",R.Crate],["public",R.Public]]),deriveDebug:new v.BooleanOption("derive-debug","Derive Debug impl",!1),deriveClone:new v.BooleanOption("derive-clone","Derive Clone impl",!1),derivePartialEq:new v.BooleanOption("derive-partial-eq","Derive PartialEq impl",!1),edition2018:new v.BooleanOption("edition-2018","Edition 2018",!0),leadingComments:new v.BooleanOption("leading-comments","Leading Comments",!0)};const _={snake_case:{regex:/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/,toParts:h=>h.split("_"),fromParts:h=>h.map(o=>o.toLowerCase()).join("_")},SCREAMING_SNAKE_CASE:{regex:/^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$/,toParts:h=>h.split("_"),fromParts:h=>h.map(o=>o.toUpperCase()).join("_")},camelCase:{regex:/^[a-z]+([A-Z0-9][a-z]*)*$/,toParts:h=>_.snake_case.toParts(h.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:h=>h.map((o,l)=>l===0?o.toLowerCase():o.substring(0,1).toUpperCase()+o.substring(1).toLowerCase()).join("")},PascalCase:{regex:/^[A-Z][a-z]*([A-Z0-9][a-z]*)*$/,toParts:h=>_.snake_case.toParts(h.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:h=>h.map(o=>o.substring(0,1).toUpperCase()+o.substring(1).toLowerCase()).join("")},"kebab-case":{regex:/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,toParts:h=>h.split("-"),fromParts:h=>h.map(o=>o.toLowerCase()).join("-")},"SCREAMING-KEBAB-CASE":{regex:/^[A-Z][A-Z0-9]*(-[A-Z0-9]+)*$/,toParts:h=>h.split("-"),fromParts:h=>h.map(o=>o.toUpperCase()).join("-")},lowercase:{regex:/^[a-z][a-z0-9]*$/,toParts:h=>[h],fromParts:h=>h.map(o=>o.toLowerCase()).join("")},UPPERCASE:{regex:/^[A-Z][A-Z0-9]*$/,toParts:h=>[h],fromParts:h=>h.map(o=>o.toUpperCase()).join("")}};class k extends n.TargetLanguage{makeRenderer(o,l){return new b(this,o,(0,v.getOptionValues)(e.rustOptions,l))}constructor(){super("Rust",["rust","rs","rustlang"],"rs")}getOptions(){return[e.rustOptions.density,e.rustOptions.visibility,e.rustOptions.deriveDebug,e.rustOptions.deriveClone,e.rustOptions.derivePartialEq,e.rustOptions.edition2018,e.rustOptions.leadingComments]}}e.RustTargetLanguage=k;const w=["Serialize","Deserialize","{{root}}","$crate","as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","Self","static","struct","super","trait","true","type","unsafe","use","where","while","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield","catch","default","dyn","'static","union"],M=h=>(0,s.isAscii)(h)?(0,s.isLetterOrUnderscoreOrDigit)(h):!1,F=h=>(0,s.isAscii)(h)?(0,s.isLetterOrUnderscore)(h):!1,I=(0,s.legalizeCharacters)(M);function G(h,o){const l=(0,s.splitIntoWords)(h),d=o?s.allLowerWordStyle:s.firstUpperWordStyle,p=(0,s.combineWords)(l,I,d,d,d,d,o?"_":"",F);return p==="_"?"_underscore":p}const H=(0,u.funPrefixNamer)("default",h=>G(h,!0)),J=(0,u.funPrefixNamer)("camel",h=>G(h,!1)),D=h=>h<=65535?"\\u{"+(0,s.intToHex)(h,4)+"}":"\\u{"+(0,s.intToHex)(h,6)+"}",P=(0,s.utf32ConcatMap)((0,s.escapeNonPrintableMapper)(s.isPrintable,D));class b extends i.ConvenienceRenderer{constructor(o,l,d){super(o,l),this._options=d}makeNamedTypeNamer(){return J}namerForObjectProperty(){return H}makeUnionMemberNamer(){return J}makeEnumCaseNamer(){return J}forbiddenNamesForGlobalNamespace(){return w}forbiddenForObjectProperties(o,l){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(o,l){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(o,l){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"/// "}nullableRustType(o,l){return["Option<",this.breakCycle(o,l),">"]}isImplicitCycleBreaker(o){const l=o.kind;return l==="array"||l==="map"}rustType(o,l=!1){return(0,a.matchType)(o,d=>(0,f.maybeAnnotated)(l,y.anyTypeIssueAnnotation,"Option<serde_json::Value>"),d=>(0,f.maybeAnnotated)(l,y.nullTypeIssueAnnotation,"Option<serde_json::Value>"),d=>"bool",d=>"i64",d=>"f64",d=>"String",d=>["Vec<",this.rustType(d.items,l),">"],d=>this.nameForNamedType(d),d=>["HashMap<String, ",this.rustType(d.values,l),">"],d=>this.nameForNamedType(d),d=>{const p=(0,a.nullableFromUnion)(d);if(p!==null)return this.nullableRustType(p,l);const[T]=(0,a.removeNullFromUnion)(d),B=this.isCycleBreakerType(d)?["Box<",this.nameForNamedType(d),">"]:this.nameForNamedType(d);return T!==null?["Option<",B,">"]:B})}breakCycle(o,l){const d=this.rustType(o,l);return this.isCycleBreakerType(o)?["Box<",d,">"]:d}emitRenameAttribute(o,l,d,p){const T=P(l),j=_[d].fromParts(this.sourcelikeToString(o).split(" ")),B=O(j,p);T!==B&&this.emitLine('#[serde(rename = "',T,'")]')}get visibility(){return this._options.visibility===R.Crate?"pub(crate) ":this._options.visibility===R.Public?"pub ":""}emitStructDefinition(o,l){this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const d={};this.forEachClassProperty(o,"none",(m,E,z)=>{d[E]=N(E)});const p="snake_case",T=L(Object.values(d).flat(),p);T!==p&&this.emitLine(`#[serde(rename_all = "${T}")]`);const j=this._options.density===C.Dense?"none":"interposing",B=()=>this.forEachClassProperty(o,j,(m,E,z)=>{this.emitDescription(this.descriptionForClassProperty(o,E)),this.emitRenameAttribute(m,E,p,T),this.emitLine(this.visibility,m,": ",this.breakCycle(z.type,!0),",")});this.emitBlock(["pub struct ",l],B)}emitBlock(o,l){this.emitLine(o," {"),this.indent(l),this.emitLine("}")}emitUnion(o,l){if((0,a.nullableFromUnion)(o)!==null)return;this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]"),this.emitLine("#[serde(untagged)]");const[,p]=(0,a.removeNullFromUnion)(o),T=this._options.density===C.Dense?"none":"interposing";this.emitBlock(["pub enum ",l],()=>this.forEachUnionMember(o,p,T,null,(j,B)=>{const m=this.breakCycle(B,!0);this.emitLine([j,"(",m,"),"])}))}emitEnumDefinition(o,l){this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const d={};this.forEachEnumCase(o,"none",(B,m)=>{d[m]=N(m)});const p="PascalCase",T=L(Object.values(d).flat(),p);T!==p&&this.emitLine(`#[serde(rename_all = "${T}")]`);const j=this._options.density===C.Dense?"none":"interposing";this.emitBlock(["pub enum ",l],()=>this.forEachEnumCase(o,j,(B,m)=>{this.emitRenameAttribute(B,m,p,T),this.emitLine([B,","])}))}emitTopLevelAlias(o,l){this.emitLine("pub type ",l," = ",this.rustType(o),";")}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitCommentLines(this.leadingComments);return}const o=(0,S.defined)((0,t.mapFirst)(this.topLevels)).getCombinedName();this.emitMultiline(`// Example code that deserializes and serializes the model.
862
+ Nothing -> Jenc.null`))}}e.ElmRenderer=G})(Op);var ks={};Object.defineProperty(ks,"__esModule",{value:!0});ks.JSONSchemaRenderer=ks.JSONSchemaTargetLanguage=void 0;const $b=Je,eM=St,tM=ft(),nM=et(),iM=_t,rM=Ge,ls=yt(),kr=Ne,sM=Io(),oM=ic();class aM extends eM.TargetLanguage{constructor(){super("JSON Schema",["schema","json-schema"],"schema")}getOptions(){return[]}get stringTypeMapping(){return(0,sM.getNoStringTypeMapping)()}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(t,n){return new _v(this,t)}}ks.JSONSchemaTargetLanguage=aM;const lM=(0,rM.funPrefixNamer)("namer",cM),uM=(0,ls.legalizeCharacters)(e=>e>=32&&e<128&&e!==47);function cM(e){const t=(0,ls.splitIntoWords)(e);return(0,ls.combineWords)(t,uM,ls.firstUpperWordStyle,ls.firstUpperWordStyle,ls.allUpperWordStyle,ls.allUpperWordStyle,"",n=>!0)}class _v extends iM.ConvenienceRenderer{makeNamedTypeNamer(){return lM}namerForObjectProperty(){return null}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return null}nameForType(t){return(0,kr.defined)(this.names.get(this.nameForNamedType(t)))}makeOneOf(t){const n=(0,$b.iterableFirst)(t);return n===void 0?(0,kr.panic)("Must have at least one type for oneOf"):t.size===1?this.schemaForType(n):{anyOf:Array.from(t).map(i=>this.schemaForType(i))}}makeRef(t){return{$ref:`#/definitions/${this.nameForType(t)}`}}addAttributesToSchema(t,n){const i=this.typeGraph.attributeStore.attributesForType(t);for(const[s,u]of i)s.addToSchema(n,t,u)}schemaForType(t){const n=(0,nM.matchTypeExhaustive)(t,i=>(0,kr.panic)("none type should have been replaced"),i=>({}),i=>({type:"null"}),i=>({type:"boolean"}),i=>({type:"integer"}),i=>({type:"number"}),i=>({type:"string"}),i=>({type:"array",items:this.schemaForType(i.items)}),i=>this.makeRef(i),i=>this.definitionForObject(i,void 0),i=>this.makeRef(i),i=>this.makeRef(i),i=>this.unionNeedsName(i)?this.makeRef(i):this.definitionForUnion(i),i=>{const s=tM.transformedStringTypeTargetTypeKindsMap.get(i.kind);return s===void 0?(0,kr.panic)(`Unknown transformed string type ${i.kind}`):{type:"string",format:s.jsonSchema}});return n.$ref===void 0&&this.addAttributesToSchema(t,n),n}definitionForObject(t,n){let i,s;if(t.getProperties().size===0)i=void 0,s=void 0;else{const y={},v=[];for(const[S,C]of t.getProperties()){const R=this.schemaForType(C.type);R.description===void 0&&(0,oM.addDescriptionToSchema)(R,this.descriptionForClassProperty(t,S)),y[S]=R,C.isOptional||v.push(S)}i=y,s=v.sort()}const u=t.getAdditionalProperties(),f={type:"object",additionalProperties:u!==void 0?this.schemaForType(u):!1,properties:i,required:s,title:n};return this.addAttributesToSchema(t,f),f}definitionForUnion(t,n){const i=this.makeOneOf(t.sortedMembers);return n!==void 0&&(i.title=n),this.addAttributesToSchema(t,i),i}definitionForEnum(t,n){const i={type:"string",enum:Array.from(t.cases),title:n};return this.addAttributesToSchema(t,i),i}emitSourceStructure(){const t=this.topLevels.size===1?this.schemaForType((0,kr.defined)((0,$b.mapFirst)(this.topLevels))):{},n=Object.assign({$schema:"http://json-schema.org/draft-06/schema#"},t),i={};this.forEachObject("none",(s,u)=>{const a=(0,kr.defined)(this.names.get(u));i[a]=this.definitionForObject(s,a)}),this.forEachUnion("none",(s,u)=>{if(!this.unionNeedsName(s))return;const a=(0,kr.defined)(this.names.get(u));i[a]=this.definitionForUnion(s,a)}),this.forEachEnum("none",(s,u)=>{const a=(0,kr.defined)(this.names.get(u));i[a]=this.definitionForEnum(s,a)}),n.definitions=i,this.emitMultiline(JSON.stringify(n,void 0," "))}}ks.JSONSchemaRenderer=_v;var Cp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RustRenderer=e.RustTargetLanguage=e.rustOptions=e.Visibility=e.Density=void 0;const t=Je,n=St,i=_t,s=yt(),u=Ge,a=et(),f=Ke,y=At,v=ot,S=Ne;var C;(function(h){h[h.Normal=0]="Normal",h[h.Dense=1]="Dense"})(C=e.Density||(e.Density={}));var R;(function(h){h[h.Private=0]="Private",h[h.Crate=1]="Crate",h[h.Public=2]="Public"})(R=e.Visibility||(e.Visibility={})),e.rustOptions={density:new v.EnumOption("density","Density",[["normal",C.Normal],["dense",C.Dense]]),visibility:new v.EnumOption("visibility","Field visibility",[["private",R.Private],["crate",R.Crate],["public",R.Public]]),deriveDebug:new v.BooleanOption("derive-debug","Derive Debug impl",!1),deriveClone:new v.BooleanOption("derive-clone","Derive Clone impl",!1),derivePartialEq:new v.BooleanOption("derive-partial-eq","Derive PartialEq impl",!1),edition2018:new v.BooleanOption("edition-2018","Edition 2018",!0),leadingComments:new v.BooleanOption("leading-comments","Leading Comments",!0)};const _={snake_case:{regex:/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/,toParts:h=>h.split("_"),fromParts:h=>h.map(o=>o.toLowerCase()).join("_")},SCREAMING_SNAKE_CASE:{regex:/^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$/,toParts:h=>h.split("_"),fromParts:h=>h.map(o=>o.toUpperCase()).join("_")},camelCase:{regex:/^[a-z]+([A-Z0-9][a-z]*)*$/,toParts:h=>_.snake_case.toParts(h.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:h=>h.map((o,l)=>l===0?o.toLowerCase():o.substring(0,1).toUpperCase()+o.substring(1).toLowerCase()).join("")},PascalCase:{regex:/^[A-Z][a-z]*([A-Z0-9][a-z]*)*$/,toParts:h=>_.snake_case.toParts(h.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:h=>h.map(o=>o.substring(0,1).toUpperCase()+o.substring(1).toLowerCase()).join("")},"kebab-case":{regex:/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,toParts:h=>h.split("-"),fromParts:h=>h.map(o=>o.toLowerCase()).join("-")},"SCREAMING-KEBAB-CASE":{regex:/^[A-Z][A-Z0-9]*(-[A-Z0-9]+)*$/,toParts:h=>h.split("-"),fromParts:h=>h.map(o=>o.toUpperCase()).join("-")},lowercase:{regex:/^[a-z][a-z0-9]*$/,toParts:h=>[h],fromParts:h=>h.map(o=>o.toLowerCase()).join("")},UPPERCASE:{regex:/^[A-Z][A-Z0-9]*$/,toParts:h=>[h],fromParts:h=>h.map(o=>o.toUpperCase()).join("")}};class k extends n.TargetLanguage{makeRenderer(o,l){return new b(this,o,(0,v.getOptionValues)(e.rustOptions,l))}constructor(){super("Rust",["rust","rs","rustlang"],"rs")}getOptions(){return[e.rustOptions.density,e.rustOptions.visibility,e.rustOptions.deriveDebug,e.rustOptions.deriveClone,e.rustOptions.derivePartialEq,e.rustOptions.edition2018,e.rustOptions.leadingComments]}}e.RustTargetLanguage=k;const w=["Serialize","Deserialize","{{root}}","$crate","as","async","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","Self","static","struct","super","trait","true","type","unsafe","use","where","while","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield","catch","default","dyn","'static","union"],M=h=>(0,s.isAscii)(h)?(0,s.isLetterOrUnderscoreOrDigit)(h):!1,F=h=>(0,s.isAscii)(h)?(0,s.isLetterOrUnderscore)(h):!1,I=(0,s.legalizeCharacters)(M);function G(h,o){const l=(0,s.splitIntoWords)(h),d=o?s.allLowerWordStyle:s.firstUpperWordStyle,p=(0,s.combineWords)(l,I,d,d,d,d,o?"_":"",F);return p==="_"?"_underscore":p}const H=(0,u.funPrefixNamer)("default",h=>G(h,!0)),J=(0,u.funPrefixNamer)("camel",h=>G(h,!1)),D=h=>h<=65535?"\\u{"+(0,s.intToHex)(h,4)+"}":"\\u{"+(0,s.intToHex)(h,6)+"}",P=(0,s.utf32ConcatMap)((0,s.escapeNonPrintableMapper)(s.isPrintable,D));class b extends i.ConvenienceRenderer{constructor(o,l,d){super(o,l),this._options=d}makeNamedTypeNamer(){return J}namerForObjectProperty(){return H}makeUnionMemberNamer(){return J}makeEnumCaseNamer(){return J}forbiddenNamesForGlobalNamespace(){return w}forbiddenForObjectProperties(o,l){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(o,l){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(o,l){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"/// "}nullableRustType(o,l){return["Option<",this.breakCycle(o,l),">"]}isImplicitCycleBreaker(o){const l=o.kind;return l==="array"||l==="map"}rustType(o,l=!1){return(0,a.matchType)(o,d=>(0,f.maybeAnnotated)(l,y.anyTypeIssueAnnotation,"Option<serde_json::Value>"),d=>(0,f.maybeAnnotated)(l,y.nullTypeIssueAnnotation,"Option<serde_json::Value>"),d=>"bool",d=>"i64",d=>"f64",d=>"String",d=>["Vec<",this.rustType(d.items,l),">"],d=>this.nameForNamedType(d),d=>["HashMap<String, ",this.rustType(d.values,l),">"],d=>this.nameForNamedType(d),d=>{const p=(0,a.nullableFromUnion)(d);if(p!==null)return this.nullableRustType(p,l);const[T]=(0,a.removeNullFromUnion)(d),B=this.isCycleBreakerType(d)?["Box<",this.nameForNamedType(d),">"]:this.nameForNamedType(d);return T!==null?["Option<",B,">"]:B})}breakCycle(o,l){const d=this.rustType(o,l);return this.isCycleBreakerType(o)?["Box<",d,">"]:d}emitRenameAttribute(o,l,d,p){const T=P(l),j=_[d].fromParts(this.sourcelikeToString(o).split(" ")),B=O(j,p);T!==B&&this.emitLine('#[serde(rename = "',T,'")]')}get visibility(){return this._options.visibility===R.Crate?"pub(crate) ":this._options.visibility===R.Public?"pub ":""}emitStructDefinition(o,l){this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const d={};this.forEachClassProperty(o,"none",(m,E,z)=>{d[E]=N(E)});const p="snake_case",T=L(Object.values(d).flat(),p);T!==p&&this.emitLine(`#[serde(rename_all = "${T}")]`);const j=this._options.density===C.Dense?"none":"interposing",B=()=>this.forEachClassProperty(o,j,(m,E,z)=>{this.emitDescription(this.descriptionForClassProperty(o,E)),this.emitRenameAttribute(m,E,p,T),this.emitLine(this.visibility,m,": ",this.breakCycle(z.type,!0),",")});this.emitBlock(["pub struct ",l],B)}emitBlock(o,l){this.emitLine(o," {"),this.indent(l),this.emitLine("}")}emitUnion(o,l){if((0,a.nullableFromUnion)(o)!==null)return;this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]"),this.emitLine("#[serde(untagged)]");const[,p]=(0,a.removeNullFromUnion)(o),T=this._options.density===C.Dense?"none":"interposing";this.emitBlock(["pub enum ",l],()=>this.forEachUnionMember(o,p,T,null,(j,B)=>{const m=this.breakCycle(B,!0);this.emitLine([j,"(",m,"),"])}))}emitEnumDefinition(o,l){this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const d={};this.forEachEnumCase(o,"none",(B,m)=>{d[m]=N(m)});const p="PascalCase",T=L(Object.values(d).flat(),p);T!==p&&this.emitLine(`#[serde(rename_all = "${T}")]`);const j=this._options.density===C.Dense?"none":"interposing";this.emitBlock(["pub enum ",l],()=>this.forEachEnumCase(o,j,(B,m)=>{this.emitRenameAttribute(B,m,p,T),this.emitLine([B,","])}))}emitTopLevelAlias(o,l){this.emitLine("pub type ",l," = ",this.rustType(o),";")}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitCommentLines(this.leadingComments);return}const o=(0,S.defined)((0,t.mapFirst)(this.topLevels)).getCombinedName();this.emitMultiline(`// Example code that deserializes and serializes the model.
863
863
  // extern crate serde;
864
864
  // #[macro_use]
865
865
  // extern crate serde_derive;
@@ -1 +1 @@
1
- import{d as c,r as u,bn as m,aP as f,h as d,j as p,aO as _,o as s,m as b,i as v,k as g,a5 as h,ap as k,f as x,p as y,_ as B}from"./entry.102d44fe.js";const C={relative:"","h-full":"","w-full":"","of-auto":""},V={inheritAttrs:!1},N=c({...V,__name:"DrawerRight",props:{modelValue:{type:Boolean},navbar:{},autoClose:{type:Boolean}},emits:["close"],setup(r,{emit:l}){const t=r,o=u(),{height:n}=m(()=>t.navbar,void 0,{box:"border-box"});return f(o,()=>{t.modelValue&&t.autoClose&&l("close")},{ignore:["a","button","summary",'[role="dialog"]']}),(e,a)=>{const i=B;return s(),d(_,{"enter-active-class":"duration-200 ease-in","enter-from-class":"transform translate-x-1/1","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100","leave-to-class":"transform translate-x-1/1"},{default:p(()=>[e.modelValue?(s(),b("div",k({key:0,ref_key:"el",ref:o,border:"l base",flex:"~ col gap-1",absolute:"","bottom-0":"","right-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","glass-effect":"",style:{top:`${x(n)}px`}},e.$attrs),[v(i,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",onClick:a[0]||(a[0]=$=>e.$emit("close"))}),g("div",C,[h(e.$slots,"default")])],16)):y("",!0)]),_:3})}}});export{N as _};
1
+ import{d as c,r as u,bn as m,aP as f,h as d,j as p,aO as _,o as s,m as b,i as v,k as g,a5 as h,ap as k,f as x,p as y,_ as B}from"./entry.2f74e286.js";const C={relative:"","h-full":"","w-full":"","of-auto":""},V={inheritAttrs:!1},N=c({...V,__name:"DrawerRight",props:{modelValue:{type:Boolean},navbar:{},autoClose:{type:Boolean}},emits:["close"],setup(r,{emit:l}){const t=r,o=u(),{height:n}=m(()=>t.navbar,void 0,{box:"border-box"});return f(o,()=>{t.modelValue&&t.autoClose&&l("close")},{ignore:["a","button","summary",'[role="dialog"]']}),(e,a)=>{const i=B;return s(),d(_,{"enter-active-class":"duration-200 ease-in","enter-from-class":"transform translate-x-1/1","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100","leave-to-class":"transform translate-x-1/1"},{default:p(()=>[e.modelValue?(s(),b("div",k({key:0,ref_key:"el",ref:o,border:"l base",flex:"~ col gap-1",absolute:"","bottom-0":"","right-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","glass-effect":"",style:{top:`${x(n)}px`}},e.$attrs),[v(i,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",onClick:a[0]||(a[0]=$=>e.$emit("close"))}),g("div",C,[h(e.$slots,"default")])],16)):y("",!0)]),_:3})}}});export{N as _};
@@ -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,E as m}from"./entry.102d44fe.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,E as m}from"./entry.2f74e286.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,a6 as f,a7 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,E as b,ar as g}from"./entry.102d44fe.js";const E={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]=w=>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",E,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,a6 as f,a7 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,E as b,ar as g}from"./entry.2f74e286.js";const E={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]=w=>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",E,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 c,r as _,f as o,m as s,k as d,i as a,j as i,aO as u,F as m,p as n,o as l,a5 as v,aj as k,_ as g}from"./entry.102d44fe.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":""},B=c({__name:"HelpFab",setup(w){const e=_(!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":"",onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{B as _};
1
+ import{d as c,r as _,f as o,m as s,k as d,i as a,j as i,aO as u,F as m,p as n,o as l,a5 as v,aj as k,_ as g}from"./entry.2f74e286.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":""},B=c({__name:"HelpFab",setup(w){const e=_(!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":"",onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{B as _};
@@ -1 +1 @@
1
- import{d as f,h as o,j as a,A as b,o as t,i as r,k as i,t as c,p as _,m as g,n as h,ap as N,v as C,F as w,bv as x,a0 as y,C as B,ak as $}from"./entry.102d44fe.js";import{_ as v}from"./NMarkdown.vue.0929ffc5.js";const V={"text-xl":""},P={flex:"~ gap2 wrap"},j=f({__name:"LaunchPage",props:{icon:{},title:{},description:{},actions:{}},emits:["action"],setup(F){return(e,I)=>{const l=x,m=v,p=y,d=B,u=$,k=b;return t(),o(k,null,{default:a(()=>[r(u,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:a(()=>[r(l,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",V,c(e.title),1),e.description?(t(),o(m,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):_("",!0),i("div",P,[(t(!0),g(w,null,h(e.actions,(n,s)=>(t(),o(d,N({key:s,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0},n.attrs,{onClick:()=>{n.handle?.(),e.$emit("action",s)}}),{default:a(()=>[n.pending?(t(),o(p,{key:0,icon:"carbon-circle-dash","animate-spin":""})):_("",!0),C(" "+c(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{j as _};
1
+ import{d as f,h as o,j as a,A as b,o as t,i as r,k as i,t as c,p as _,m as g,n as h,ap as N,v as C,F as w,bv as x,a0 as y,C as B,ak as $}from"./entry.2f74e286.js";import{_ as v}from"./NMarkdown.vue.283d6615.js";const V={"text-xl":""},P={flex:"~ gap2 wrap"},j=f({__name:"LaunchPage",props:{icon:{},title:{},description:{},actions:{}},emits:["action"],setup(F){return(e,I)=>{const l=x,m=v,p=y,d=B,u=$,k=b;return t(),o(k,null,{default:a(()=>[r(u,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:a(()=>[r(l,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",V,c(e.title),1),e.description?(t(),o(m,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):_("",!0),i("div",P,[(t(!0),g(w,null,h(e.actions,(n,s)=>(t(),o(d,N({key:s,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0},n.attrs,{onClick:()=>{n.handle?.(),e.$emit("action",s)}}),{default:a(()=>[n.pending?(t(),o(p,{key:0,icon:"carbon-circle-dash","animate-spin":""})):_("",!0),C(" "+c(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{j as _};
@@ -1 +1 @@
1
- import{d as i,a4 as r,m as p,H as b,bC as u,f as a,k as n,l as h,aa as k,i as f,a5 as m,E as v,o as _,a0 as x}from"./entry.102d44fe.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,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("label",{class:"n-checkbox hover:n-checkbox-hover select-none items-center n-disabled:n-disabled",checked:a(e)||null,disabled:o.disabled||null},[b(n("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>h(e)?e.value=l:null),type:"checkbox",class:"peer absolute op0",disabled:o.disabled,onKeypress:s[1]||(s[1]=k(l=>e.value=!a(e),["enter"]))},null,40,y),[[u,a(e)]]),n("span",B,[f(d,{class:"n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100"})]),n("span",{class:v([a(e)?"":"op50","n-transition"])},[m(o.$slots,"default")],2)],8,V)}}});export{$ as _};
1
+ import{d as i,a4 as r,m as p,H as b,bC as u,f as a,k as n,l as h,aa as k,i as f,a5 as m,E as v,o as _,a0 as x}from"./entry.2f74e286.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,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("label",{class:"n-checkbox hover:n-checkbox-hover select-none items-center n-disabled:n-disabled",checked:a(e)||null,disabled:o.disabled||null},[b(n("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>h(e)?e.value=l:null),type:"checkbox",class:"peer absolute op0",disabled:o.disabled,onKeypress:s[1]||(s[1]=k(l=>e.value=!a(e),["enter"]))},null,40,y),[[u,a(e)]]),n("span",B,[f(d,{class:"n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100"})]),n("span",{class:v([a(e)?"":"op50","n-transition"])},[m(o.$slots,"default")],2)],8,V)}}});export{$ as _};
@@ -1,2 +1,2 @@
1
- import{d as u}from"./client.ecec2ff5.js";import{d as _,a as m,au as k,o as n,m as s,E as d,k as t,F as r,n as f,t as g}from"./entry.102d44fe.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(`
1
+ import{d as u}from"./client.766a1bb7.js";import{d as _,a as m,au as k,o as n,m as s,E as d,k as t,F as r,n as f,t as g}from"./entry.2f74e286.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
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 +1 @@
1
- import{d as i,a4 as p,r as c,aP as u,o as f,m,a5 as t,i as v,j as _,v as b,f as a,k,E as C,C as V}from"./entry.102d44fe.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=V;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:C(["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,a4 as p,r as c,aP as u,o as f,m,a5 as t,i as v,j as _,v as b,f as a,k,E as C,C as V}from"./entry.2f74e286.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=V;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:C(["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,E as a,p as n,a5 as r,k as l,t as i}from"./entry.102d44fe.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,E as a,p as n,a5 as r,k as l,t as i}from"./entry.2f74e286.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 n,o as a,h as o,j as r,a5 as s,ap as t,ar as p,f as i,x as l}from"./entry.102d44fe.js";const c=n({__name:"NLink",props:{to:{},href:{},target:{}},setup(_){return(e,f)=>(a(),o(p(e.href||e.target?"a":i(l)),t(e.$props,{class:"n-link n-transition hover:n-link-hover n-link-base"}),{default:r(()=>[s(e.$slots,"default")]),_:3},16))}});export{c as _};
1
+ import{d as n,o as a,h as o,j as r,a5 as s,ap as t,ar as p,f as i,x as l}from"./entry.2f74e286.js";const c=n({__name:"NLink",props:{to:{},href:{},target:{}},setup(_){return(e,f)=>(a(),o(p(e.href||e.target?"a":i(l)),t(e.$props,{class:"n-link n-transition hover:n-link-hover n-link-base"}),{default:r(()=>[s(e.$slots,"default")]),_:3},16))}});export{c as _};
@@ -1 +1 @@
1
- import{d as o}from"./client.ecec2ff5.js";import{d as t,f as e,o as a,h as r,ar as s,t as d}from"./entry.102d44fe.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.766a1bb7.js";import{d as t,f as e,o as a,h as r,ar as s,t as d}from"./entry.2f74e286.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 +1 @@
1
- import{d as g,a4 as y,m as r,k as o,E as n,i as B,j as S,f as i,F as c,H as $,I as b,a5 as s,p as d,o as l,v as u,t as v,h as k,y as w,z as C,a0 as N,q as I}from"./entry.102d44fe.js";import{_ as x}from"./NIconTitle.vue.590f73cc.js";const f=t=>(w("data-v-a73dbcfe"),t=t(),C(),t),V=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=f(()=>o("div",{class:"flex-auto"},null,-1)),E=f(()=>o("div",{class:"x-divider"},null,-1)),F=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 _(e){a.value=e.target.open}return(e,p)=>{const m=N,h=x;return l(),r(c,null,[o("details",{open:i(a),onToggle:_},[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)])):d("",!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":""})):d("",!0)]),_:3},8,["icon","text","class"])],2),p._lazyshow1||i(a)?(p._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)):d("v-show-if",!0)],40,V),E],64)}}});const M=I(F,[["__scopeId","data-v-a73dbcfe"]]);export{M as _};
1
+ import{d as g,a4 as y,m as r,k as o,E as n,i as B,j as S,f as i,F as c,H as $,I as b,a5 as s,p as d,o as l,v as u,t as v,h as k,y as w,z as C,a0 as N,q as I}from"./entry.2f74e286.js";import{_ as x}from"./NIconTitle.vue.635c5682.js";const f=t=>(w("data-v-a73dbcfe"),t=t(),C(),t),V=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=f(()=>o("div",{class:"flex-auto"},null,-1)),E=f(()=>o("div",{class:"x-divider"},null,-1)),F=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 _(e){a.value=e.target.open}return(e,p)=>{const m=N,h=x;return l(),r(c,null,[o("details",{open:i(a),onToggle:_},[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)])):d("",!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":""})):d("",!0)]),_:3},8,["icon","text","class"])],2),p._lazyshow1||i(a)?(p._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)):d("v-show-if",!0)],40,V),E],64)}}});const M=I(F,[["__scopeId","data-v-a73dbcfe"]]);export{M as _};
@@ -1 +1 @@
1
- import{d as u,a4 as p,m as l,a5 as t,H as f,bD as m,f as b,k as h,t as _,p as n,l as v,o as s,h as k,a0 as V}from"./entry.102d44fe.js";const y={class:"n-select flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base"},B=["disabled"],w={key:0,value:"",disabled:"",hidden:""},g=u({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(d,{emit:i}){const o=p(d,"modelValue",i,{passive:!0});return(e,a)=>{const r=V;return s(),l("div",y,[t(e.$slots,"icon",{},()=>[e.icon?(s(),k(r,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):n("",!0)]),f(h("select",{"onUpdate:modelValue":a[0]||(a[0]=c=>v(o)?o.value=c:null),disabled:e.disabled,class:"w-full flex-auto n-bg-base !outline-none"},[e.placeholder?(s(),l("option",w,_(e.placeholder),1)):n("",!0),t(e.$slots,"default")],8,B),[[m,b(o)]])])}}});export{g as _};
1
+ import{d as u,a4 as p,m as l,a5 as t,H as f,bD as m,f as b,k as h,t as _,p as n,l as v,o as s,h as k,a0 as V}from"./entry.2f74e286.js";const y={class:"n-select flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base"},B=["disabled"],w={key:0,value:"",disabled:"",hidden:""},g=u({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(d,{emit:i}){const o=p(d,"modelValue",i,{passive:!0});return(e,a)=>{const r=V;return s(),l("div",y,[t(e.$slots,"icon",{},()=>[e.icon?(s(),k(r,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):n("",!0)]),f(h("select",{"onUpdate:modelValue":a[0]||(a[0]=c=>v(o)?o.value=c:null),disabled:e.disabled,class:"w-full flex-auto n-bg-base !outline-none"},[e.placeholder?(s(),l("option",w,_(e.placeholder),1)):n("",!0),t(e.$slots,"default")],8,B),[[m,b(o)]])])}}});export{g as _};
@@ -1 +1 @@
1
- import{d as c,a4 as m,o as s,m as t,F as v,n as f,E as d,f as o,k as r,t as _,H as g,aG as y,l as V}from"./entry.102d44fe.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,a4 as m,o as s,m as t,F as v,n as f,E as d,f as o,k as r,t as _,H as g,aG as y,l as V}from"./entry.2f74e286.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 _};