@nuxt/devtools 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +1 -1
- package/dist/chunks/vite-inspect.mjs +1 -1
- package/dist/client/200.html +16 -16
- package/dist/client/404.html +16 -16
- package/dist/client/_nuxt/{Q7nnK7Qc.js → 0ECj5KoP.js} +1 -1
- package/dist/client/_nuxt/{CfHFjL7B.js → 5gOKvhnM.js} +1 -1
- package/dist/client/_nuxt/{ZE0VCOak.js → 8M2ZArSR.js} +1 -1
- package/dist/client/_nuxt/{umEljDYG.js → 9nmHRZiL.js} +1 -1
- package/dist/client/_nuxt/{BnAGfJBz.js → B-KlQcCq.js} +1 -1
- package/dist/client/_nuxt/{Bf1S6EjZ.js → B1Qvv_W6.js} +1 -1
- package/dist/client/_nuxt/{SL4hgOWE.js → B34u2F_K.js} +1 -1
- package/dist/client/_nuxt/{A7mPcb2X.js → B3w9ZjT2.js} +1 -1
- package/dist/client/_nuxt/{qconjYUY.js → BDGXTeaJ.js} +1 -1
- package/dist/client/_nuxt/{BbLu0gK3.js → BUdaSSAW.js} +1 -1
- package/dist/client/_nuxt/{DGRvMt5e.js → B_BLxwpg.js} +1 -1
- package/dist/client/_nuxt/{rsCuH6KG.js → B_hov9lI.js} +1 -1
- package/dist/client/_nuxt/{C18DXqvQ.js → BdVFjCXC.js} +1 -1
- package/dist/client/_nuxt/{B2r_b20K.js → BflD8-TM.js} +1 -1
- package/dist/client/_nuxt/{CONeJx-f.js → BgFcW465.js} +1 -1
- package/dist/client/_nuxt/{CImIArwG.js → BhKjQrbd.js} +1 -1
- package/dist/client/_nuxt/{CyMn_7E8.js → Bj3Bekvw.js} +1 -1
- package/dist/client/_nuxt/{DUJvhUDB.js → BnSh6hlr.js} +1 -1
- package/dist/client/_nuxt/{c4U6bssZ.js → Br83zsHb.js} +1 -1
- package/dist/client/_nuxt/{C1lMG4ou.js → BrC6rypa.js} +1 -1
- package/dist/client/_nuxt/{DyyV4TBn.js → ByczdwHV.js} +1 -1
- package/dist/client/_nuxt/{BJ340BMQ.js → BzxmABFR.js} +1 -1
- package/dist/client/_nuxt/{BAELqe1b.js → C8hDz-wQ.js} +1 -1
- package/dist/client/_nuxt/{E5bzeklK.js → CES52tjx.js} +1 -1
- package/dist/client/_nuxt/{MnF_lTcE.js → CEdN8S4v.js} +1 -1
- package/dist/client/_nuxt/{DAHuBrvD.js → CHgHv_XG.js} +1 -1
- package/dist/client/_nuxt/{Cmwp7sVR.js → CKA-9FRr.js} +1 -1
- package/dist/client/_nuxt/{CkIDxyWJ.js → CY0uLiRl.js} +1 -1
- package/dist/client/_nuxt/{MCXdiprW.js → Caokbars.js} +1 -1
- package/dist/client/_nuxt/{bXdL5_p6.js → CfWZksSX.js} +1 -1
- package/dist/client/_nuxt/{rxQ7aZDp.js → CgqO_dPK.js} +12 -12
- package/dist/client/_nuxt/{BkmU8no0.js → ChZyr1Qo.js} +1 -1
- package/dist/client/_nuxt/{DNxVz1bn.js → CulMtG1h.js} +1 -1
- package/dist/client/_nuxt/{Bc-Wv2Rh.js → CwJAxf0e.js} +1 -1
- package/dist/client/_nuxt/{vjZETg4l.js → CyTWEZ1C.js} +1 -1
- package/dist/client/_nuxt/{B99jUuYa.js → D-MdnXbW.js} +1 -1
- package/dist/client/_nuxt/{BD1k7X45.js → D1T_Af_5.js} +1 -1
- package/dist/client/_nuxt/{DYga3iFw.js → D9sigLWP.js} +1 -1
- package/dist/client/_nuxt/{C4xQldoj.js → DCIMJJMV.js} +1 -1
- package/dist/client/_nuxt/{BCWO_fJA.js → DQVUztzW.js} +1 -1
- package/dist/client/_nuxt/{PqRD-BCA.js → DUE-gbeb.js} +1 -1
- package/dist/client/_nuxt/{Bly90YQr.js → DVIkezwA.js} +1 -1
- package/dist/client/_nuxt/{ByN-pkB2.js → DcMlxMkO.js} +1 -1
- package/dist/client/_nuxt/{B3HlHHFo.js → DfuY3p1W.js} +1 -1
- package/dist/client/_nuxt/{TLcw2K8g.js → Dhy1s6Ov.js} +1 -1
- package/dist/client/_nuxt/{B7nnZPIC.js → DjzVnWV-.js} +1 -1
- package/dist/client/_nuxt/{hGgpqISx.js → DqHjaVvD.js} +1 -1
- package/dist/client/_nuxt/{n35U0NKY.js → Dsi0eEJ6.js} +1 -1
- package/dist/client/_nuxt/{CWRygh1a.js → DwmWVGDS.js} +1 -1
- package/dist/client/_nuxt/{DN2sc0bu.js → GFjhHEHy.js} +1 -1
- package/dist/client/_nuxt/{C4NBPtyr.js → GcVquUAz.js} +1 -1
- package/dist/client/_nuxt/{DmgqTWca.js → HWlWHQb4.js} +1 -1
- package/dist/client/_nuxt/{CjMgoBpi.js → MadyLOQV.js} +1 -1
- package/dist/client/_nuxt/{CgoesWrN.js → WstCOOAW.js} +1 -1
- package/dist/client/_nuxt/{DG66fmB6.js → YN8BIR6E.js} +1 -1
- package/dist/client/_nuxt/{C8s0xKxd.js → bUZNM7_n.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/47e69d29-cda4-4447-8cad-506a023a9bf1.json +1 -0
- package/dist/client/_nuxt/{entry.C4Fmc-BV.css → entry.An-f-zS5.css} +1 -1
- package/dist/client/_nuxt/{DfQ7hiV2.js → h5yVVie-.js} +1 -1
- package/dist/client/_nuxt/{pinia.uD6MMfzP.css → pinia.BtNy_tpA.css} +1 -1
- package/dist/client/_nuxt/{BsAoISO6.js → rnGGU-BS.js} +1 -1
- package/dist/client/_nuxt/{Cyze1quq.js → voSa2Wxu.js} +1 -1
- package/dist/client/_nuxt/{fHgwel4O.js → wVx_DGYO.js} +1 -1
- package/dist/client/index.html +16 -16
- package/dist/module.json +1 -1
- package/package.json +10 -10
- package/dist/client/_nuxt/builds/meta/08fea4d8-ea80-4927-93be-e58169055550.json +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as EC}from"./Cyze1quq.js";import{c as Fe,g as yT,d as CC,u as AC,r as Vf,a as Ag,b as FC,w as Fg,e as PC,f as Fn,o as Lr,h as Bu,i as Du,j as na,k as ya,l as IC,m as xu,F as Pg,n as Ig,t as Kf,p as Uu,T as MC,_ as jC}from"./rxQ7aZDp.js";import{_ as RC}from"./umEljDYG.js";import{_ as BC}from"./qconjYUY.js";import{_ as DC}from"./bXdL5_p6.js";import{_ as xC}from"./B2r_b20K.js";import"./DGRvMt5e.js";var Zf={},Qf={},Je={};(function(e){var t=Fe&&Fe.__awaiter||function(Q,ee,G,A){return new(G||(G=Promise))(function(J,re){function me(Re){try{Le(A.next(Re))}catch(nt){re(nt)}}function Se(Re){try{Le(A.throw(Re))}catch(nt){re(nt)}}function Le(Re){Re.done?J(Re.value):new G(function(nt){nt(Re.value)}).then(me,Se)}Le((A=A.apply(Q,ee||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.hashCodeInit=17;function n(Q){let ee=0;for(let G=0;G<Q.length;G++){const A=Q.charCodeAt(G);ee=(ee<<5)-ee+A,ee=ee&ee}return ee}e.hashString=n;function i(Q,ee){return Q*31+(ee|0)|0}e.addHashCode=i;function r(Q,ee){return Q!==void 0?Q:ee}e.withDefault=r;function l(Q,ee){if(Q!==void 0)return ee(Q)}e.definedMap=l;function u(Q,ee,G){return r(l(Q,G),ee)}e.definedMapWithDefault=u;function f(Q,ee){return Q==null?!1:Object.prototype.hasOwnProperty.call(Q,ee)}e.hasOwnProperty=f;function m(Q,ee){for(const G of Q)if(ee(G))return G}e.iterableFind=m;function v(Q,ee){for(const G of Q)if(!ee(G))return!1;return!0}e.iterableEvery=v;function S(Q,ee){for(const G of Q)if(ee(G))return!0;return!1}e.iterableSome=S;function C(Q){for(const ee of Q)return ee}e.iterableFirst=C;function D(Q){let ee;for(const G of Q)(ee===void 0||G>ee)&&(ee=G);return ee}e.iterableMax=D;function _(Q,ee){let G,A;for(const J of Q){const re=ee(J);(G===void 0||re<G)&&(G=re,A=J)}return A}e.iterableMinBy=_;function E(Q,ee,G){let A=ee;for(const J of Q)A=G(A,J);return A}e.iterableReduce=E;function*T(Q){let ee=0;for(const G of Q)yield[ee,G],ee+=1}e.iterableEnumerate=T;function*P(Q,ee){let G=0;for(const A of Q)G>=ee?yield A:G+=1}e.iterableSkip=P;function I(Q,ee){const G=Q.length;if(!(ee>G))return Q[G-ee]}e.arrayGetFromEnd=I;function M(Q){return I(Q,1)}e.arrayLast=M;function H(Q){const ee=Q.length;if(ee===0)throw new Error("Cannot pop empty array");return Q.slice(0,ee-1)}e.arrayPop=H;function Z(Q,ee){const G=[];for(const A of ee)G.length>0&&G.push(Q),G.push(A);return G}e.arrayIntercalate=Z;function U(Q,ee){return t(this,void 0,void 0,function*(){const G=[];let A=0;for(const J of Q)G.push(yield ee(J,A)),A+=1;return G})}e.arrayMapSync=U;function B(Q,ee){return Q<ee?-1:Q>ee?1:0}function F(Q,ee){return Q.sort((G,A)=>B(ee(G),ee(A)))}e.arraySortByInto=F;function y(Q){return Array.isArray(Q)?Q:Array.from(Q)}e.toReadonlyArray=y;function w(Q,ee){const G=new Map;for(const[A,J]of Q)G.set(A,ee(J,A));return G}e.mapMap=w;function L(Q){for(const ee of Q.values())return ee}e.mapFirst=L;function N(Q,ee){for(const G of Q.values())if(G===ee)return!0;return!1}e.mapContains=N;function p(Q,ee){for(const[G,A]of Q)if(ee(A,G))return!0;return!1}e.mapSome=p;function o(Q,ee){for(const[G,A]of ee)Q.set(G,A);return Q}e.mapMergeInto=o;function a(Q,ee){const G=new Map(Q);return o(G,ee),G}e.mapMerge=a;function d(Q,ee,G){for(const[A,J]of G){const re=Q.get(A),me=re===void 0?J:ee(re,J,A);Q.set(A,me)}return Q}e.mapMergeWithInto=d;function h(Q,ee,G){const A=new Map(Q);return d(A,ee,G),A}e.mapMergeWith=h;function b(Q,ee){const G=new Map;for(const[A,J]of Q)ee(J,A)&&G.set(A,J);return G}e.mapFilter=b;function R(Q,ee){const G=new Map;for(const[A,J]of Q){const re=ee(J,A);re!==void 0&&G.set(A,re)}return G}e.mapFilterMap=R;function x(Q,ee){return F(Array.from(Q),([G,A])=>ee(A,G))}e.mapSortToArray=x;function j(Q,ee){return new Map(x(Q,ee))}e.mapSortBy=j;function W(Q){return j(Q,(ee,G)=>G)}e.mapSortByKey=W;function k(Q,ee){const G=new Map;for(const[A,J]of Q){const[re,me]=ee(J,A);G.set(re,me)}return G}e.mapMapEntries=k;function O(Q,ee,G){return Q.set(ee,G(Q.get(ee))),Q}e.mapUpdateInto=O;function V(Q){const ee=new Map;for(const G of Object.getOwnPropertyNames(Q))ee.set(G,Q[G]);return ee}e.mapFromObject=V;function te(Q){const ee={};for(const[G,A]of Q)ee[G]=A;return ee}e.mapToObject=te;function ue(Q,ee){const G=new Map;for(const A of Q)G.set(A,ee(A));return G}e.mapFromIterable=ue;function Y(Q,ee){for(const[G,A]of Q)if(ee(A,G))return A}e.mapFind=Y;function $(Q){const ee=new Map;for(const G of Q)for(const[A,J]of G){let re=ee.get(A);re===void 0&&(re=[],ee.set(A,re)),re.push(J)}return ee}e.mapTranspose=$;function ae(Q,ee){return t(this,void 0,void 0,function*(){const G=new Map;for(const[A,J]of Q)G.set(A,yield ee(J,A));return G})}e.mapMapSync=ae;function pe(Q,ee){for(const G of ee)if(!Q.has(G))return!1;return!0}e.setIsSuperset=pe;function Te(Q,ee){for(const G of ee)for(const A of G)Q.add(A);return Q}e.setUnionManyInto=Te;function Ne(Q,...ee){return Te(Q,ee)}e.setUnionInto=Ne;function ce(Q,ee){const G=new Set;for(const A of Q)ee.has(A)&&G.add(A);return G}e.setIntersect=ce;function fe(Q,ee){const G=new Set(Q);for(const A of ee)G.delete(A);return G}e.setSubtract=fe;function le(...Q){const ee=new Set;return Ne(ee,...Q),ee}e.setUnion=le;function X(Q,ee){const G=new Set;for(const A of Q)G.add(ee(A));return G}e.setMap=X;function z(Q,ee){const G=new Set;for(const A of Q)ee(A)&&G.add(A);return G}e.setFilter=z;function K(Q,ee){const G=new Set;for(const A of Q){const J=ee(A);J!==void 0&&G.add(J)}return G}e.setFilterMap=K;function se(Q,ee){return new Set(F(Array.from(Q),ee))}e.setSortBy=se;function he(Q,ee){const G=new Map;for(const A of Q){const J=ee(A);let re=G.get(J);re===void 0&&(re=new Set,G.set(J,re)),re.add(A)}return G}e.setGroupBy=he;function ve(Q){return Q instanceof Set?Q:new Set(Q)}e.toReadonlySet=ve;class we{constructor(){this._map=new Map}set(ee,G){let A=je(ee)|0;for(;;){const J=this._map.get(A);if(J===void 0){this._map.set(A,[ee,G]);return}if(Pe(ee,J[0])){J[1]=G;return}A=A+1|0}}get(ee){let G=je(ee)|0;for(;;){const A=this._map.get(G);if(A===void 0)return;if(Pe(ee,A[0]))return A[1];G=G+1|0}}has(ee){return this.get(ee)!==void 0}*values(){for(const[,[,ee]]of this._map)yield ee}}e.EqualityMap=we;function Pe(Q,ee){if(Q===ee)return!0;if(Q===void 0||ee===void 0||Q===null||ee===null)return!1;if(typeof Q.equals=="function"&&typeof ee.equals=="function")return Q.equals(ee);if(Q instanceof Set&&ee instanceof Set){if(Q.size!==ee.size)return!1;for(const G of Q)if(!ee.has(G))return!1;return!0}if(Q instanceof Map&&ee instanceof Map){if(Q.size!==ee.size)return!1;for(const[G,A]of Q){const J=ee.get(G);if(!Pe(A,J))return!1}return!0}if(Array.isArray(Q)&&Array.isArray(ee)){const G=Q.length;if(G!==ee.length)return!1;for(let A=0;A<G;A++)if(!Pe(Q[A],ee[A]))return!1;return!0}return!1}e.areEqual=Pe;function je(Q){if(typeof Q=="number")return Q|0;if(typeof Q=="string")return n(Q);let ee=e.hashCodeInit;if(Q===void 0)return ee;if(Q===!0)return ee+1|0;if(Q===!1)return ee+2|0;if(Q===null)return ee+3|0;if(typeof Q.hashCode=="function")return Q.hashCode();if(Q instanceof Set){for(const G of Q)ee+=je(G);return ee}if(Q instanceof Map){let G=e.hashCodeInit;for(const[A,J]of Q)G+=je(A),ee+=je(J);return i(G,ee)}if(Array.isArray(Q)){for(const G of Q)ee=i(ee,je(G));return ee}throw new Error(`Cannot hash ${Q}`)}e.hashCodeOf=je})(Je);var Xf={},xh={},Yf={},Ae={},gT={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(typeof self<"u"?self:typeof window<"u"?window:typeof Fe<"u"?Fe:Fe,function(){var n="3.7.5",i=n,r=typeof atob=="function",l=typeof btoa=="function",u=typeof Buffer=="function",f=typeof TextDecoder=="function"?new TextDecoder:void 0,m=typeof TextEncoder=="function"?new TextEncoder:void 0,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S=Array.prototype.slice.call(v),C=function(Y){var $={};return Y.forEach(function(ae,pe){return $[ae]=pe}),$}(S),D=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),E=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(Y){return new Uint8Array(Array.prototype.slice.call(Y,0))},T=function(Y){return Y.replace(/=/g,"").replace(/[+\/]/g,function($){return $=="+"?"-":"_"})},P=function(Y){return Y.replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(Y){for(var $,ae,pe,Te,Ne="",ce=Y.length%3,fe=0;fe<Y.length;){if((ae=Y.charCodeAt(fe++))>255||(pe=Y.charCodeAt(fe++))>255||(Te=Y.charCodeAt(fe++))>255)throw new TypeError("invalid character found");$=ae<<16|pe<<8|Te,Ne+=S[$>>18&63]+S[$>>12&63]+S[$>>6&63]+S[$&63]}return ce?Ne.slice(0,ce-3)+"===".substring(ce):Ne},M=l?function(Y){return btoa(Y)}:u?function(Y){return Buffer.from(Y,"binary").toString("base64")}:I,H=u?function(Y){return Buffer.from(Y).toString("base64")}:function(Y){for(var $=4096,ae=[],pe=0,Te=Y.length;pe<Te;pe+=$)ae.push(_.apply(null,Y.subarray(pe,pe+$)));return M(ae.join(""))},Z=function(Y,$){return $===void 0&&($=!1),$?T(H(Y)):H(Y)},U=function(Y){if(Y.length<2){var $=Y.charCodeAt(0);return $<128?Y:$<2048?_(192|$>>>6)+_(128|$&63):_(224|$>>>12&15)+_(128|$>>>6&63)+_(128|$&63)}else{var $=65536+(Y.charCodeAt(0)-55296)*1024+(Y.charCodeAt(1)-56320);return _(240|$>>>18&7)+_(128|$>>>12&63)+_(128|$>>>6&63)+_(128|$&63)}},B=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,F=function(Y){return Y.replace(B,U)},y=u?function(Y){return Buffer.from(Y,"utf8").toString("base64")}:m?function(Y){return H(m.encode(Y))}:function(Y){return M(F(Y))},w=function(Y,$){return $===void 0&&($=!1),$?T(y(Y)):y(Y)},L=function(Y){return w(Y,!0)},N=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,p=function(Y){switch(Y.length){case 4:var $=(7&Y.charCodeAt(0))<<18|(63&Y.charCodeAt(1))<<12|(63&Y.charCodeAt(2))<<6|63&Y.charCodeAt(3),ae=$-65536;return _((ae>>>10)+55296)+_((ae&1023)+56320);case 3:return _((15&Y.charCodeAt(0))<<12|(63&Y.charCodeAt(1))<<6|63&Y.charCodeAt(2));default:return _((31&Y.charCodeAt(0))<<6|63&Y.charCodeAt(1))}},o=function(Y){return Y.replace(N,p)},a=function(Y){if(Y=Y.replace(/\s+/g,""),!D.test(Y))throw new TypeError("malformed base64.");Y+="==".slice(2-(Y.length&3));for(var $,ae="",pe,Te,Ne=0;Ne<Y.length;)$=C[Y.charAt(Ne++)]<<18|C[Y.charAt(Ne++)]<<12|(pe=C[Y.charAt(Ne++)])<<6|(Te=C[Y.charAt(Ne++)]),ae+=pe===64?_($>>16&255):Te===64?_($>>16&255,$>>8&255):_($>>16&255,$>>8&255,$&255);return ae},d=r?function(Y){return atob(P(Y))}:u?function(Y){return Buffer.from(Y,"base64").toString("binary")}:a,h=u?function(Y){return E(Buffer.from(Y,"base64"))}:function(Y){return E(d(Y).split("").map(function($){return $.charCodeAt(0)}))},b=function(Y){return h(x(Y))},R=u?function(Y){return Buffer.from(Y,"base64").toString("utf8")}:f?function(Y){return f.decode(h(Y))}:function(Y){return o(d(Y))},x=function(Y){return P(Y.replace(/[-_]/g,function($){return $=="-"?"+":"/"}))},j=function(Y){return R(x(Y))},W=function(Y){if(typeof Y!="string")return!1;var $=Y.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test($)||!/[^\s0-9a-zA-Z\-_]/.test($)},k=function(Y){return{value:Y,enumerable:!1,writable:!0,configurable:!0}},O=function(){var Y=function($,ae){return Object.defineProperty(String.prototype,$,k(ae))};Y("fromBase64",function(){return j(this)}),Y("toBase64",function($){return w(this,$)}),Y("toBase64URI",function(){return w(this,!0)}),Y("toBase64URL",function(){return w(this,!0)}),Y("toUint8Array",function(){return b(this)})},V=function(){var Y=function($,ae){return Object.defineProperty(Uint8Array.prototype,$,k(ae))};Y("toBase64",function($){return Z(this,$)}),Y("toBase64URI",function(){return Z(this,!0)}),Y("toBase64URL",function(){return Z(this,!0)})},te=function(){O(),V()},ue={version:n,VERSION:i,atob:d,atobPolyfill:a,btoa:M,btoaPolyfill:I,fromBase64:j,toBase64:w,encode:w,encodeURI:L,encodeURL:L,utob:F,btou:o,decode:j,isValid:W,fromUint8Array:Z,toUint8Array:b,extendString:O,extendUint8Array:V,extendBuiltins:te};return ue.Base64={},Object.keys(ue).forEach(function(Y){return ue.Base64[Y]=ue[Y]}),ue})})(gT);var UC=gT.exports,ur={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(l,u){return Object.prototype.hasOwnProperty.call(l,u)}e.assign=function(l){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var f=u.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var m in f)n(f,m)&&(l[m]=f[m])}}return l},e.shrinkBuf=function(l,u){return l.length===u?l:l.subarray?l.subarray(0,u):(l.length=u,l)};var i={arraySet:function(l,u,f,m,v){if(u.subarray&&l.subarray){l.set(u.subarray(f,f+m),v);return}for(var S=0;S<m;S++)l[v+S]=u[f+S]},flattenChunks:function(l){var u,f,m,v,S,C;for(m=0,u=0,f=l.length;u<f;u++)m+=l[u].length;for(C=new Uint8Array(m),v=0,u=0,f=l.length;u<f;u++)S=l[u],C.set(S,v),v+=S.length;return C}},r={arraySet:function(l,u,f,m,v){for(var S=0;S<m;S++)l[v+S]=u[f+S]},flattenChunks:function(l){return[].concat.apply([],l)}};e.setTyped=function(l){l?(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,r))},e.setTyped(t)})(ur);var Ia={},ji={},Oo={},zC=ur,JC=4,Mg=0,jg=1,WC=2;function Eo(e){for(var t=e.length;--t>=0;)e[t]=0}var GC=0,bT=1,qC=2,HC=3,VC=258,Uh=29,Ma=256,_a=Ma+1+Uh,yo=30,zh=19,TT=2*_a+1,cs=15,$f=16,KC=7,Jh=256,ST=16,vT=17,wT=18,rh=[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],el=[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],ZC=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],LT=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],QC=512,Qi=new Array((_a+2)*2);Eo(Qi);var ga=new Array(yo*2);Eo(ga);var Na=new Array(QC);Eo(Na);var ka=new Array(VC-HC+1);Eo(ka);var Wh=new Array(Uh);Eo(Wh);var gl=new Array(yo);Eo(gl);function ed(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var _T,NT,kT;function td(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function OT(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>$f-n?(e.bi_buf|=t<<e.bi_valid&65535,Oa(e,e.bi_buf),e.bi_buf=t>>$f-e.bi_valid,e.bi_valid+=n-$f):(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 ET(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function XC(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 YC(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,l=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,v,S,C,D,_,E,T=0;for(D=0;D<=cs;D++)e.bl_count[D]=0;for(n[e.heap[e.heap_max]*2+1]=0,v=e.heap_max+1;v<TT;v++)S=e.heap[v],D=n[n[S*2+1]*2+1]+1,D>m&&(D=m,T++),n[S*2+1]=D,!(S>i)&&(e.bl_count[D]++,_=0,S>=f&&(_=u[S-f]),E=n[S*2],e.opt_len+=E*(D+_),l&&(e.static_len+=E*(r[S*2+1]+_)));if(T!==0){do{for(D=m-1;e.bl_count[D]===0;)D--;e.bl_count[D]--,e.bl_count[D+1]+=2,e.bl_count[m]--,T-=2}while(T>0);for(D=m;D!==0;D--)for(S=e.bl_count[D];S!==0;)C=e.heap[--v],!(C>i)&&(n[C*2+1]!==D&&(e.opt_len+=(D-n[C*2+1])*n[C*2],n[C*2+1]=D),S--)}}function CT(e,t,n){var i=new Array(cs+1),r=0,l,u;for(l=1;l<=cs;l++)i[l]=r=r+n[l-1]<<1;for(u=0;u<=t;u++){var f=e[u*2+1];f!==0&&(e[u*2]=ET(i[f]++,f))}}function $C(){var e,t,n,i,r,l=new Array(cs+1);for(n=0,i=0;i<Uh-1;i++)for(Wh[i]=n,e=0;e<1<<rh[i];e++)ka[n++]=i;for(ka[n-1]=i,r=0,i=0;i<16;i++)for(gl[i]=r,e=0;e<1<<el[i];e++)Na[r++]=i;for(r>>=7;i<yo;i++)for(gl[i]=r<<7,e=0;e<1<<el[i]-7;e++)Na[256+r++]=i;for(t=0;t<=cs;t++)l[t]=0;for(e=0;e<=143;)Qi[e*2+1]=8,e++,l[8]++;for(;e<=255;)Qi[e*2+1]=9,e++,l[9]++;for(;e<=279;)Qi[e*2+1]=7,e++,l[7]++;for(;e<=287;)Qi[e*2+1]=8,e++,l[8]++;for(CT(Qi,_a+1,l),e=0;e<yo;e++)ga[e*2+1]=5,ga[e*2]=ET(e,5);_T=new ed(Qi,rh,Ma+1,_a,cs),NT=new ed(ga,el,0,yo,cs),kT=new ed(new Array(0),ZC,0,zh,KC)}function AT(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<zh;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Jh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function FT(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 eA(e,t,n,i){FT(e),i&&(Oa(e,n),Oa(e,~n)),zC.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Rg(e,t,n,i){var r=t*2,l=n*2;return e[r]<e[l]||e[r]===e[l]&&i[t]<=i[n]}function nd(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&Rg(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!Rg(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function Bg(e,t,n){var i,r,l=0,u,f;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+l*2]<<8|e.pending_buf[e.d_buf+l*2+1],r=e.pending_buf[e.l_buf+l],l++,i===0?Oi(e,r,t):(u=ka[r],Oi(e,u+Ma+1,t),f=rh[u],f!==0&&(r-=Wh[u],wn(e,r,f)),i--,u=OT(i),Oi(e,u,n),f=el[u],f!==0&&(i-=gl[u],wn(e,i,f)));while(l<e.last_lit);Oi(e,Jh,t)}function sh(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,l=t.stat_desc.elems,u,f,m=-1,v;for(e.heap_len=0,e.heap_max=TT,u=0;u<l;u++)n[u*2]!==0?(e.heap[++e.heap_len]=m=u,e.depth[u]=0):n[u*2+1]=0;for(;e.heap_len<2;)v=e.heap[++e.heap_len]=m<2?++m:0,n[v*2]=1,e.depth[v]=0,e.opt_len--,r&&(e.static_len-=i[v*2+1]);for(t.max_code=m,u=e.heap_len>>1;u>=1;u--)nd(e,n,u);v=l;do u=e.heap[1],e.heap[1]=e.heap[e.heap_len--],nd(e,n,1),f=e.heap[1],e.heap[--e.heap_max]=u,e.heap[--e.heap_max]=f,n[v*2]=n[u*2]+n[f*2],e.depth[v]=(e.depth[u]>=e.depth[f]?e.depth[u]:e.depth[f])+1,n[u*2+1]=n[f*2+1]=v,e.heap[1]=v++,nd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],YC(e,t),CT(n,m,e.bl_count)}function Dg(e,t,n){var i,r=-1,l,u=t[0*2+1],f=0,m=7,v=4;for(u===0&&(m=138,v=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)l=u,u=t[(i+1)*2+1],!(++f<m&&l===u)&&(f<v?e.bl_tree[l*2]+=f:l!==0?(l!==r&&e.bl_tree[l*2]++,e.bl_tree[ST*2]++):f<=10?e.bl_tree[vT*2]++:e.bl_tree[wT*2]++,f=0,r=l,u===0?(m=138,v=3):l===u?(m=6,v=3):(m=7,v=4))}function xg(e,t,n){var i,r=-1,l,u=t[0*2+1],f=0,m=7,v=4;for(u===0&&(m=138,v=3),i=0;i<=n;i++)if(l=u,u=t[(i+1)*2+1],!(++f<m&&l===u)){if(f<v)do Oi(e,l,e.bl_tree);while(--f!==0);else l!==0?(l!==r&&(Oi(e,l,e.bl_tree),f--),Oi(e,ST,e.bl_tree),wn(e,f-3,2)):f<=10?(Oi(e,vT,e.bl_tree),wn(e,f-3,3)):(Oi(e,wT,e.bl_tree),wn(e,f-11,7));f=0,r=l,u===0?(m=138,v=3):l===u?(m=6,v=3):(m=7,v=4)}}function tA(e){var t;for(Dg(e,e.dyn_ltree,e.l_desc.max_code),Dg(e,e.dyn_dtree,e.d_desc.max_code),sh(e,e.bl_desc),t=zh-1;t>=3&&e.bl_tree[LT[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function nA(e,t,n,i){var r;for(wn(e,t-257,5),wn(e,n-1,5),wn(e,i-4,4),r=0;r<i;r++)wn(e,e.bl_tree[LT[r]*2+1],3);xg(e,e.dyn_ltree,t-1),xg(e,e.dyn_dtree,n-1)}function iA(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Mg;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return jg;for(n=32;n<Ma;n++)if(e.dyn_ltree[n*2]!==0)return jg;return Mg}var Ug=!1;function rA(e){Ug||($C(),Ug=!0),e.l_desc=new td(e.dyn_ltree,_T),e.d_desc=new td(e.dyn_dtree,NT),e.bl_desc=new td(e.bl_tree,kT),e.bi_buf=0,e.bi_valid=0,AT(e)}function PT(e,t,n,i){wn(e,(GC<<1)+(i?1:0),3),eA(e,t,n,!0)}function sA(e){wn(e,bT<<1,3),Oi(e,Jh,Qi),XC(e)}function oA(e,t,n,i){var r,l,u=0;e.level>0?(e.strm.data_type===WC&&(e.strm.data_type=iA(e)),sh(e,e.l_desc),sh(e,e.d_desc),u=tA(e),r=e.opt_len+3+7>>>3,l=e.static_len+3+7>>>3,l<=r&&(r=l)):r=l=n+5,n+4<=r&&t!==-1?PT(e,t,n,i):e.strategy===JC||l===r?(wn(e,(bT<<1)+(i?1:0),3),Bg(e,Qi,ga)):(wn(e,(qC<<1)+(i?1:0),3),nA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),Bg(e,e.dyn_ltree,e.dyn_dtree)),AT(e),i&&FT(e)}function aA(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[OT(t)*2]++),e.last_lit===e.lit_bufsize-1}Oo._tr_init=rA;Oo._tr_stored_block=PT;Oo._tr_flush_block=oA;Oo._tr_tally=aA;Oo._tr_align=sA;function uA(e,t,n,i){for(var r=e&65535|0,l=e>>>16&65535|0,u=0;n!==0;){u=n>2e3?2e3:n,n-=u;do r=r+t[i++]|0,l=l+r|0;while(--u);r%=65521,l%=65521}return r|l<<16|0}var IT=uA;function lA(){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 cA=lA();function fA(e,t,n,i){var r=cA,l=i+n;e^=-1;for(var u=i;u<l;u++)e=e>>>8^r[(e^t[u])&255];return e^-1}var MT=fA,Gh={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=ur,Zn=Oo,jT=IT,Or=MT,dA=Gh,Cs=0,hA=1,pA=3,Rr=4,zg=5,Ei=0,Jg=1,Qn=-2,mA=-3,id=-5,yA=-1,gA=1,zu=2,bA=3,TA=4,SA=0,vA=2,Pl=8,wA=9,LA=15,_A=8,NA=29,kA=256,oh=kA+1+NA,OA=30,EA=19,CA=2*oh+1,AA=15,ct=3,Pr=258,li=Pr+ct+1,FA=32,Il=42,ah=69,tl=73,nl=91,il=103,fs=113,fa=666,Vt=1,ja=2,Ts=3,Co=4,PA=3;function Ir(e,t){return e.msg=dA[t],t}function Wg(e){return(e<<1)-(e>4?9:0)}function Fr(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 ia(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function IA(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,cn.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=jT(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Or(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function RT(e,t){var n=e.max_chain_length,i=e.strstart,r,l,u=e.prev_length,f=e.nice_match,m=e.strstart>e.w_size-li?e.strstart-(e.w_size-li):0,v=e.window,S=e.w_mask,C=e.prev,D=e.strstart+Pr,_=v[i+u-1],E=v[i+u];e.prev_length>=e.good_match&&(n>>=2),f>e.lookahead&&(f=e.lookahead);do if(r=t,!(v[r+u]!==E||v[r+u-1]!==_||v[r]!==v[i]||v[++r]!==v[i+1])){i+=2,r++;do;while(v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&i<D);if(l=Pr-(D-i),i=D-Pr,l>u){if(e.match_start=t,u=l,l>=f)break;_=v[i+u-1],E=v[i+u]}}while((t=C[t&S])>m&&--n!==0);return u<=e.lookahead?u:e.lookahead}function Ss(e){var t=e.w_size,n,i,r,l,u;do{if(l=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-li)){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 r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);l+=t}if(e.strm.avail_in===0)break;if(i=IA(e.strm,e.window,e.strstart+e.lookahead,l),e.lookahead+=i,e.lookahead+e.insert>=ct)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+ct-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<ct)););}while(e.lookahead<li&&e.strm.avail_in!==0)}function MA(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===Cs)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-li&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):(e.strstart>e.block_start&&($t(e,!1),e.strm.avail_out===0),Vt)}function rd(e,t){for(var n,i;;){if(e.lookahead<li){if(Ss(e),e.lookahead<li&&t===Cs)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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-li&&(e.match_length=RT(e,n)),e.match_length>=ct)if(i=Zn._tr_tally(e,e.strstart-e.match_start,e.match_length-ct),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ct){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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<ct-1?e.strstart:ct-1,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function to(e,t){for(var n,i,r;;){if(e.lookahead<li){if(Ss(e),e.lookahead<li&&t===Cs)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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=ct-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-li&&(e.match_length=RT(e,n),e.match_length<=5&&(e.strategy===gA||e.match_length===ct&&e.strstart-e.match_start>4096)&&(e.match_length=ct-1)),e.prev_length>=ct&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-ct,i=Zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ct),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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=ct-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<ct-1?e.strstart:ct-1,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function jA(e,t){for(var n,i,r,l,u=e.window;;){if(e.lookahead<=Pr){if(Ss(e),e.lookahead<=Pr&&t===Cs)return Vt;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ct&&e.strstart>0&&(r=e.strstart-1,i=u[r],i===u[++r]&&i===u[++r]&&i===u[++r])){l=e.strstart+Pr;do;while(i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&r<l);e.match_length=Pr-(l-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ct?(n=Zn._tr_tally(e,1,e.match_length-ct),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===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function RA(e,t){for(var n;;){if(e.lookahead===0&&(Ss(e),e.lookahead===0)){if(t===Cs)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===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function gi(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var lo;lo=[new gi(0,0,0,0,MA),new gi(4,4,8,4,rd),new gi(4,5,16,8,rd),new gi(4,6,32,32,rd),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 BA(e){e.window_size=2*e.w_size,Fr(e.head),e.max_lazy_match=lo[e.level].max_lazy,e.good_match=lo[e.level].good_length,e.nice_match=lo[e.level].nice_length,e.max_chain_length=lo[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ct-1,e.match_available=0,e.ins_h=0}function DA(){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=Pl,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(CA*2),this.dyn_dtree=new cn.Buf16((2*OA+1)*2),this.bl_tree=new cn.Buf16((2*EA+1)*2),Fr(this.dyn_ltree),Fr(this.dyn_dtree),Fr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new cn.Buf16(AA+1),this.heap=new cn.Buf16(2*oh+1),Fr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new cn.Buf16(2*oh+1),Fr(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 BT(e){var t;return!e||!e.state?Ir(e,Qn):(e.total_in=e.total_out=0,e.data_type=vA,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Il:fs,e.adler=t.wrap===2?0:1,t.last_flush=Cs,Zn._tr_init(t),Ei)}function DT(e){var t=BT(e);return t===Ei&&BA(e.state),t}function xA(e,t){return!e||!e.state||e.state.wrap!==2?Qn:(e.state.gzhead=t,Ei)}function xT(e,t,n,i,r,l){if(!e)return Qn;var u=1;if(t===yA&&(t=6),i<0?(u=0,i=-i):i>15&&(u=2,i-=16),r<1||r>wA||n!==Pl||i<8||i>15||t<0||t>9||l<0||l>TA)return Ir(e,Qn);i===8&&(i=9);var f=new DA;return e.state=f,f.strm=e,f.wrap=u,f.gzhead=null,f.w_bits=i,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=r+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+ct-1)/ct),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<<r+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=3*f.lit_bufsize,f.level=t,f.strategy=l,f.method=n,DT(e)}function UA(e,t){return xT(e,t,Pl,LA,_A,SA)}function zA(e,t){var n,i,r,l;if(!e||!e.state||t>zg||t<0)return e?Ir(e,Qn):Qn;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===fa&&t!==Rr)return Ir(e,e.avail_out===0?id:Qn);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===Il)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>=zu||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=Or(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=ah):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,i.level===9?2:i.strategy>=zu||i.level<2?4:0),ht(i,PA),i.status=fs);else{var u=Pl+(i.w_bits-8<<4)<<8,f=-1;i.strategy>=zu||i.level<2?f=0:i.level<6?f=1:i.level===6?f=2:f=3,u|=f<<6,i.strstart!==0&&(u|=FA),u+=31-u%31,i.status=fs,ia(i,u),i.strstart!==0&&(ia(i,e.adler>>>16),ia(i,e.adler&65535)),e.adler=1}if(i.status===ah)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size));)ht(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=tl)}else i.status=tl;if(i.status===tl)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size)){l=1;break}i.gzindex<i.gzhead.name.length?l=i.gzhead.name.charCodeAt(i.gzindex++)&255:l=0,ht(i,l)}while(l!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),l===0&&(i.gzindex=0,i.status=nl)}else i.status=nl;if(i.status===nl)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size)){l=1;break}i.gzindex<i.gzhead.comment.length?l=i.gzhead.comment.charCodeAt(i.gzindex++)&255:l=0,ht(i,l)}while(l!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),l===0&&(i.status=il)}else i.status=il;if(i.status===il&&(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,Ei}else if(e.avail_in===0&&Wg(t)<=Wg(n)&&t!==Rr)return Ir(e,id);if(i.status===fa&&e.avail_in!==0)return Ir(e,id);if(e.avail_in!==0||i.lookahead!==0||t!==Cs&&i.status!==fa){var m=i.strategy===zu?RA(i,t):i.strategy===bA?jA(i,t):lo[i.level].func(i,t);if((m===Ts||m===Co)&&(i.status=fa),m===Vt||m===Ts)return e.avail_out===0&&(i.last_flush=-1),Ei;if(m===ja&&(t===hA?Zn._tr_align(i):t!==zg&&(Zn._tr_stored_block(i,0,0,!1),t===pA&&(Fr(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,Ei}return t!==Rr?Ei: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)):(ia(i,e.adler>>>16),ia(i,e.adler&65535)),Er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ei:Jg)}function JA(e){var t;return!e||!e.state?Qn:(t=e.state.status,t!==Il&&t!==ah&&t!==tl&&t!==nl&&t!==il&&t!==fs&&t!==fa?Ir(e,Qn):(e.state=null,t===fs?Ir(e,mA):Ei))}function WA(e,t){var n=t.length,i,r,l,u,f,m,v,S;if(!e||!e.state||(i=e.state,u=i.wrap,u===2||u===1&&i.status!==Il||i.lookahead))return Qn;for(u===1&&(e.adler=jT(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(u===0&&(Fr(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,m=e.next_in,v=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ss(i);i.lookahead>=ct;){r=i.strstart,l=i.lookahead-(ct-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+ct-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--l);i.strstart=r,i.lookahead=ct-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=ct-1,i.match_available=0,e.next_in=m,e.input=v,e.avail_in=f,i.wrap=u,Ei}ji.deflateInit=UA;ji.deflateInit2=xT;ji.deflateReset=DT;ji.deflateResetKeep=BT;ji.deflateSetHeader=xA;ji.deflate=zA;ji.deflateEnd=JA;ji.deflateSetDictionary=WA;ji.deflateInfo="pako deflate (from Nodeca project)";var As={},Ml=ur,UT=!0,zT=!0;try{String.fromCharCode.apply(null,[0])}catch{UT=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{zT=!1}var Ea=new Ml.Buf8(256);for(var _r=0;_r<256;_r++)Ea[_r]=_r>=252?6:_r>=248?5:_r>=240?4:_r>=224?3:_r>=192?2:1;Ea[254]=Ea[254]=1;As.string2buf=function(e){var t,n,i,r,l,u=e.length,f=0;for(r=0;r<u;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<u&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),f+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Ml.Buf8(f),l=0,r=0;l<f;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<u&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[l++]=n:n<2048?(t[l++]=192|n>>>6,t[l++]=128|n&63):n<65536?(t[l++]=224|n>>>12,t[l++]=128|n>>>6&63,t[l++]=128|n&63):(t[l++]=240|n>>>18,t[l++]=128|n>>>12&63,t[l++]=128|n>>>6&63,t[l++]=128|n&63);return t};function JT(e,t){if(t<65534&&(e.subarray&&zT||!e.subarray&&UT))return String.fromCharCode.apply(null,Ml.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}As.buf2binstring=function(e){return JT(e,e.length)};As.binstring2buf=function(e){for(var t=new Ml.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,r,l,u=t||e.length,f=new Array(u*2);for(i=0,n=0;n<u;){if(r=e[n++],r<128){f[i++]=r;continue}if(l=Ea[r],l>4){f[i++]=65533,n+=l-1;continue}for(r&=l===2?31:l===3?15:7;l>1&&n<u;)r=r<<6|e[n++]&63,l--;if(l>1){f[i++]=65533;continue}r<65536?f[i++]=r:(r-=65536,f[i++]=55296|r>>10&1023,f[i++]=56320|r&1023)}return JT(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+Ea[e[n]]>t?n:t};function GA(){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 WT=GA,ba=ji,Ta=ur,uh=As,lh=Gh,qA=WT,GT=Object.prototype.toString,HA=0,sd=4,go=0,Gg=1,qg=2,VA=-1,KA=0,ZA=8;function vs(e){if(!(this instanceof vs))return new vs(e);this.options=Ta.assign({level:VA,method:ZA,chunkSize:16384,windowBits:15,memLevel:8,strategy:KA,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 qA,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(lh[n]);if(t.header&&ba.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=uh.string2buf(t.dictionary):GT.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=ba.deflateSetDictionary(this.strm,i),n!==go)throw new Error(lh[n]);this._dict_set=!0}}vs.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,l;if(this.ended)return!1;l=t===~~t?t:t===!0?sd:HA,typeof e=="string"?n.input=uh.string2buf(e):GT.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),r=ba.deflate(n,l),r!==Gg&&r!==go)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(l===sd||l===qg))&&(this.options.to==="string"?this.onData(uh.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)&&r!==Gg);return l===sd?(r=ba.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===go):(l===qg&&(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 qh(e,t){var n=new vs(t);if(n.push(e,!0),n.err)throw n.msg||lh[n.err];return n.result}function QA(e,t){return t=t||{},t.raw=!0,qh(e,t)}function XA(e,t){return t=t||{},t.gzip=!0,qh(e,t)}Ia.Deflate=vs;Ia.deflate=qh;Ia.deflateRaw=QA;Ia.gzip=XA;var Ra={},fi={},Ju=30,YA=12,$A=function(t,n){var i,r,l,u,f,m,v,S,C,D,_,E,T,P,I,M,H,Z,U,B,F,y,w,L,N;i=t.state,r=t.next_in,L=t.input,l=r+(t.avail_in-5),u=t.next_out,N=t.output,f=u-(n-t.avail_out),m=u+(t.avail_out-257),v=i.dmax,S=i.wsize,C=i.whave,D=i.wnext,_=i.window,E=i.hold,T=i.bits,P=i.lencode,I=i.distcode,M=(1<<i.lenbits)-1,H=(1<<i.distbits)-1;e:do{T<15&&(E+=L[r++]<<T,T+=8,E+=L[r++]<<T,T+=8),Z=P[E&M];t:for(;;){if(U=Z>>>24,E>>>=U,T-=U,U=Z>>>16&255,U===0)N[u++]=Z&65535;else if(U&16){B=Z&65535,U&=15,U&&(T<U&&(E+=L[r++]<<T,T+=8),B+=E&(1<<U)-1,E>>>=U,T-=U),T<15&&(E+=L[r++]<<T,T+=8,E+=L[r++]<<T,T+=8),Z=I[E&H];n:for(;;){if(U=Z>>>24,E>>>=U,T-=U,U=Z>>>16&255,U&16){if(F=Z&65535,U&=15,T<U&&(E+=L[r++]<<T,T+=8,T<U&&(E+=L[r++]<<T,T+=8)),F+=E&(1<<U)-1,F>v){t.msg="invalid distance too far back",i.mode=Ju;break e}if(E>>>=U,T-=U,U=u-f,F>U){if(U=F-U,U>C&&i.sane){t.msg="invalid distance too far back",i.mode=Ju;break e}if(y=0,w=_,D===0){if(y+=S-U,U<B){B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}}else if(D<U){if(y+=S+D-U,U-=D,U<B){B-=U;do N[u++]=_[y++];while(--U);if(y=0,D<B){U=D,B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}}}else if(y+=D-U,U<B){B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}for(;B>2;)N[u++]=w[y++],N[u++]=w[y++],N[u++]=w[y++],B-=3;B&&(N[u++]=w[y++],B>1&&(N[u++]=w[y++]))}else{y=u-F;do N[u++]=N[y++],N[u++]=N[y++],N[u++]=N[y++],B-=3;while(B>2);B&&(N[u++]=N[y++],B>1&&(N[u++]=N[y++]))}}else if(U&64){t.msg="invalid distance code",i.mode=Ju;break e}else{Z=I[(Z&65535)+(E&(1<<U)-1)];continue n}break}}else if(U&64)if(U&32){i.mode=YA;break e}else{t.msg="invalid literal/length code",i.mode=Ju;break e}else{Z=P[(Z&65535)+(E&(1<<U)-1)];continue t}break}}while(r<l&&u<m);B=T>>3,r-=B,T-=B<<3,E&=(1<<T)-1,t.next_in=r,t.next_out=u,t.avail_in=r<l?5+(l-r):5-(r-l),t.avail_out=u<m?257+(m-u):257-(u-m),i.hold=E,i.bits=T},Hg=ur,no=15,Vg=852,Kg=592,Zg=0,od=1,Qg=2,eF=[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],tF=[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],nF=[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],iF=[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],rF=function(t,n,i,r,l,u,f,m){var v=m.bits,S=0,C=0,D=0,_=0,E=0,T=0,P=0,I=0,M=0,H=0,Z,U,B,F,y,w=null,L=0,N,p=new Hg.Buf16(no+1),o=new Hg.Buf16(no+1),a=null,d=0,h,b,R;for(S=0;S<=no;S++)p[S]=0;for(C=0;C<r;C++)p[n[i+C]]++;for(E=v,_=no;_>=1&&p[_]===0;_--);if(E>_&&(E=_),_===0)return l[u++]=1<<24|64<<16|0,l[u++]=1<<24|64<<16|0,m.bits=1,0;for(D=1;D<_&&p[D]===0;D++);for(E<D&&(E=D),I=1,S=1;S<=no;S++)if(I<<=1,I-=p[S],I<0)return-1;if(I>0&&(t===Zg||_!==1))return-1;for(o[1]=0,S=1;S<no;S++)o[S+1]=o[S]+p[S];for(C=0;C<r;C++)n[i+C]!==0&&(f[o[n[i+C]]++]=C);if(t===Zg?(w=a=f,N=19):t===od?(w=eF,L-=257,a=tF,d-=257,N=256):(w=nF,a=iF,N=-1),H=0,C=0,S=D,y=u,T=E,P=0,B=-1,M=1<<E,F=M-1,t===od&&M>Vg||t===Qg&&M>Kg)return 1;for(;;){h=S-P,f[C]<N?(b=0,R=f[C]):f[C]>N?(b=a[d+f[C]],R=w[L+f[C]]):(b=96,R=0),Z=1<<S-P,U=1<<T,D=U;do U-=Z,l[y+(H>>P)+U]=h<<24|b<<16|R|0;while(U!==0);for(Z=1<<S-1;H&Z;)Z>>=1;if(Z!==0?(H&=Z-1,H+=Z):H=0,C++,--p[S]===0){if(S===_)break;S=n[i+f[C]]}if(S>E&&(H&F)!==B){for(P===0&&(P=E),y+=D,T=S-P,I=1<<T;T+P<_&&(I-=p[T+P],!(I<=0));)T++,I<<=1;if(M+=1<<T,t===od&&M>Vg||t===Qg&&M>Kg)return 1;B=H&F,l[B]=E<<24|T<<16|y-u|0}}return H!==0&&(l[y+H]=S-P<<24|64<<16|0),m.bits=E,0},Mn=ur,ch=IT,bi=MT,sF=$A,Sa=rF,oF=0,qT=1,HT=2,Xg=4,aF=5,Wu=6,ws=0,uF=1,lF=2,Yn=-2,VT=-3,KT=-4,cF=-5,Yg=8,ZT=1,$g=2,eb=3,tb=4,nb=5,ib=6,rb=7,sb=8,ob=9,ab=10,bl=11,Hi=12,ad=13,ub=14,ud=15,lb=16,cb=17,fb=18,db=19,Gu=20,qu=21,hb=22,pb=23,mb=24,yb=25,gb=26,ld=27,bb=28,Tb=29,Et=30,QT=31,fF=32,dF=852,hF=592,pF=15,mF=pF;function Sb(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function yF(){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 XT(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=ZT,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(dF),t.distcode=t.distdyn=new Mn.Buf32(hF),t.sane=1,t.back=-1,ws)}function YT(e){var t;return!e||!e.state?Yn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,XT(e))}function $T(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,YT(e))}function eS(e,t){var n,i;return e?(i=new yF,e.state=i,i.window=null,n=$T(e,t),n!==ws&&(e.state=null),n):Yn}function gF(e){return eS(e,mF)}var vb=!0,cd,fd;function bF(e){if(vb){var t;for(cd=new Mn.Buf32(512),fd=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(qT,e.lens,0,288,cd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Sa(HT,e.lens,0,32,fd,0,e.work,{bits:5}),vb=!1}e.lencode=cd,e.lenbits=9,e.distcode=fd,e.distbits=5}function tS(e,t,n,i){var r,l=e.state;return l.window===null&&(l.wsize=1<<l.wbits,l.wnext=0,l.whave=0,l.window=new Mn.Buf8(l.wsize)),i>=l.wsize?(Mn.arraySet(l.window,t,n-l.wsize,l.wsize,0),l.wnext=0,l.whave=l.wsize):(r=l.wsize-l.wnext,r>i&&(r=i),Mn.arraySet(l.window,t,n-i,r,l.wnext),i-=r,i?(Mn.arraySet(l.window,t,n-i,i,0),l.wnext=i,l.whave=l.wsize):(l.wnext+=r,l.wnext===l.wsize&&(l.wnext=0),l.whave<l.wsize&&(l.whave+=r))),0}function TF(e,t){var n,i,r,l,u,f,m,v,S,C,D,_,E,T,P=0,I,M,H,Z,U,B,F,y,w=new Mn.Buf8(4),L,N,p=[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=ad),u=e.next_out,r=e.output,m=e.avail_out,l=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,C=f,D=m,y=ws;e:for(;;)switch(n.mode){case ZT:if(n.wrap===0){n.mode=ad;break}for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.wrap&2&&v===35615){n.check=0,w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0),v=0,S=0,n.mode=$g;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=Et;break}if((v&15)!==Yg){e.msg="unknown compression method",n.mode=Et;break}if(v>>>=4,S-=4,F=(v&15)+8,n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg="invalid window size",n.mode=Et;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=v&512?ab:Hi,v=0,S=0;break;case $g:for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.flags=v,(n.flags&255)!==Yg){e.msg="unknown compression method",n.mode=Et;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Et;break}n.head&&(n.head.text=v>>8&1),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0,n.mode=eb;case eb:for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.head&&(n.head.time=v),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,w[2]=v>>>16&255,w[3]=v>>>24&255,n.check=bi(n.check,w,4,0)),v=0,S=0,n.mode=tb;case tb:for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.head&&(n.head.xflags=v&255,n.head.os=v>>8),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0,n.mode=nb;case nb:if(n.flags&1024){for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.length=v,n.head&&(n.head.extra_len=v),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0}else n.head&&(n.head.extra=null);n.mode=ib;case ib:if(n.flags&1024&&(_=n.length,_>f&&(_=f),_&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Mn.arraySet(n.head.extra,i,l,_,F)),n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,n.length-=_),n.length))break e;n.length=0,n.mode=rb;case rb:if(n.flags&2048){if(f===0)break e;_=0;do F=i[l+_++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F));while(F&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=sb;case sb:if(n.flags&4096){if(f===0)break e;_=0;do F=i[l+_++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F));while(F&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,F)break e}else n.head&&(n.head.comment=null);n.mode=ob;case ob:if(n.flags&512){for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Et;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 ab:for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}e.adler=n.check=Sb(v),v=0,S=0,n.mode=bl;case bl:if(n.havedict===0)return e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,lF;e.adler=n.check=1,n.mode=Hi;case Hi:if(t===aF||t===Wu)break e;case ad:if(n.last){v>>>=S&7,S-=S&7,n.mode=ld;break}for(;S<3;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}switch(n.last=v&1,v>>>=1,S-=1,v&3){case 0:n.mode=ub;break;case 1:if(bF(n),n.mode=Gu,t===Wu){v>>>=2,S-=2;break e}break;case 2:n.mode=cb;break;case 3:e.msg="invalid block type",n.mode=Et}v>>>=2,S-=2;break;case ub:for(v>>>=S&7,S-=S&7;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if((v&65535)!==(v>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Et;break}if(n.length=v&65535,v=0,S=0,n.mode=ud,t===Wu)break e;case ud:n.mode=lb;case lb:if(_=n.length,_){if(_>f&&(_=f),_>m&&(_=m),_===0)break e;Mn.arraySet(r,i,l,_,u),f-=_,l+=_,m-=_,u+=_,n.length-=_;break}n.mode=Hi;break;case cb:for(;S<14;){if(f===0)break e;f--,v+=i[l++]<<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=Et;break}n.have=0,n.mode=fb;case fb:for(;n.have<n.ncode;){for(;S<3;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.lens[p[n.have++]]=v&7,v>>>=3,S-=3}for(;n.have<19;)n.lens[p[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},y=Sa(oF,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,y){e.msg="invalid code lengths set",n.mode=Et;break}n.have=0,n.mode=db;case db:for(;n.have<n.nlen+n.ndist;){for(;P=n.lencode[v&(1<<n.lenbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(H<16)v>>>=I,S-=I,n.lens[n.have++]=H;else{if(H===16){for(N=I+2;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v>>>=I,S-=I,n.have===0){e.msg="invalid bit length repeat",n.mode=Et;break}F=n.lens[n.have-1],_=3+(v&3),v>>>=2,S-=2}else if(H===17){for(N=I+3;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=I,S-=I,F=0,_=3+(v&7),v>>>=3,S-=3}else{for(N=I+7;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=I,S-=I,F=0,_=11+(v&127),v>>>=7,S-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Et;break}for(;_--;)n.lens[n.have++]=F}}if(n.mode===Et)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Et;break}if(n.lenbits=9,L={bits:n.lenbits},y=Sa(qT,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,y){e.msg="invalid literal/lengths set",n.mode=Et;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},y=Sa(HT,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,y){e.msg="invalid distances set",n.mode=Et;break}if(n.mode=Gu,t===Wu)break e;case Gu:n.mode=qu;case qu:if(f>=6&&m>=258){e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,sF(e,D),u=e.next_out,r=e.output,m=e.avail_out,l=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;P=n.lencode[v&(1<<n.lenbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(M&&!(M&240)){for(Z=I,U=M,B=H;P=n.lencode[B+((v&(1<<Z+U)-1)>>Z)],I=P>>>24,M=P>>>16&255,H=P&65535,!(Z+I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=Z,S-=Z,n.back+=Z}if(v>>>=I,S-=I,n.back+=I,n.length=H,M===0){n.mode=gb;break}if(M&32){n.back=-1,n.mode=Hi;break}if(M&64){e.msg="invalid literal/length code",n.mode=Et;break}n.extra=M&15,n.mode=hb;case hb:if(n.extra){for(N=n.extra;S<N;){if(f===0)break e;f--,v+=i[l++]<<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=pb;case pb:for(;P=n.distcode[v&(1<<n.distbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(!(M&240)){for(Z=I,U=M,B=H;P=n.distcode[B+((v&(1<<Z+U)-1)>>Z)],I=P>>>24,M=P>>>16&255,H=P&65535,!(Z+I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=Z,S-=Z,n.back+=Z}if(v>>>=I,S-=I,n.back+=I,M&64){e.msg="invalid distance code",n.mode=Et;break}n.offset=H,n.extra=M&15,n.mode=mb;case mb:if(n.extra){for(N=n.extra;S<N;){if(f===0)break e;f--,v+=i[l++]<<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=Et;break}n.mode=yb;case yb:if(m===0)break e;if(_=D-m,n.offset>_){if(_=n.offset-_,_>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Et;break}_>n.wnext?(_-=n.wnext,E=n.wsize-_):E=n.wnext-_,_>n.length&&(_=n.length),T=n.window}else T=r,E=u-n.offset,_=n.length;_>m&&(_=m),m-=_,n.length-=_;do r[u++]=T[E++];while(--_);n.length===0&&(n.mode=qu);break;case gb:if(m===0)break e;r[u++]=n.length,m--,n.mode=qu;break;case ld:if(n.wrap){for(;S<32;){if(f===0)break e;f--,v|=i[l++]<<S,S+=8}if(D-=m,e.total_out+=D,n.total+=D,D&&(e.adler=n.check=n.flags?bi(n.check,r,D,u-D):ch(n.check,r,D,u-D)),D=m,(n.flags?v:Sb(v))!==n.check){e.msg="incorrect data check",n.mode=Et;break}v=0,S=0}n.mode=bb;case bb:if(n.wrap&&n.flags){for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Et;break}v=0,S=0}n.mode=Tb;case Tb:y=uF;break e;case Et:y=VT;break e;case QT:return KT;case fF:default:return Yn}return e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,(n.wsize||D!==e.avail_out&&n.mode<Et&&(n.mode<ld||t!==Xg))&&tS(e,e.output,e.next_out,D-e.avail_out),C-=e.avail_in,D-=e.avail_out,e.total_in+=C,e.total_out+=D,n.total+=D,n.wrap&&D&&(e.adler=n.check=n.flags?bi(n.check,r,D,e.next_out-D):ch(n.check,r,D,e.next_out-D)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hi?128:0)+(n.mode===Gu||n.mode===ud?256:0),(C===0&&D===0||t===Xg)&&y===ws&&(y=cF),y}function SF(e){if(!e||!e.state)return Yn;var t=e.state;return t.window&&(t.window=null),e.state=null,ws}function vF(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?Yn:(n.head=t,t.done=!1,ws)}function wF(e,t){var n=t.length,i,r,l;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==bl)?Yn:i.mode===bl&&(r=1,r=ch(r,t,n,0),r!==i.check)?VT:(l=tS(e,t,n,n),l?(i.mode=QT,KT):(i.havedict=1,ws))}fi.inflateReset=YT;fi.inflateReset2=$T;fi.inflateResetKeep=XT;fi.inflateInit=gF;fi.inflateInit2=eS;fi.inflate=TF;fi.inflateEnd=SF;fi.inflateGetHeader=vF;fi.inflateSetDictionary=wF;fi.inflateInfo="pako inflate (from Nodeca project)";var nS={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 LF(){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 _F=LF,bo=fi,va=ur,rl=As,Ut=nS,fh=Gh,NF=WT,kF=_F,iS=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 NF,this.strm.avail_out=0;var n=bo.inflateInit2(this.strm,t.windowBits);if(n!==Ut.Z_OK)throw new Error(fh[n]);if(this.header=new kF,bo.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=rl.string2buf(t.dictionary):iS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=bo.inflateSetDictionary(this.strm,t.dictionary),n!==Ut.Z_OK)))throw new Error(fh[n])}Ls.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,l,u,f,m,v,S=!1;if(this.ended)return!1;u=t===~~t?t:t===!0?Ut.Z_FINISH:Ut.Z_NO_FLUSH,typeof e=="string"?n.input=rl.binstring2buf(e):iS.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),l=bo.inflate(n,Ut.Z_NO_FLUSH),l===Ut.Z_NEED_DICT&&r&&(l=bo.inflateSetDictionary(this.strm,r)),l===Ut.Z_BUF_ERROR&&S===!0&&(l=Ut.Z_OK,S=!1),l!==Ut.Z_STREAM_END&&l!==Ut.Z_OK)return this.onEnd(l),this.ended=!0,!1;n.next_out&&(n.avail_out===0||l===Ut.Z_STREAM_END||n.avail_in===0&&(u===Ut.Z_FINISH||u===Ut.Z_SYNC_FLUSH))&&(this.options.to==="string"?(f=rl.utf8border(n.output,n.next_out),m=n.next_out-f,v=rl.buf2string(n.output,f),n.next_out=m,n.avail_out=i-m,m&&va.arraySet(n.output,n.output,f,m,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)&&l!==Ut.Z_STREAM_END);return l===Ut.Z_STREAM_END&&(u=Ut.Z_FINISH),u===Ut.Z_FINISH?(l=bo.inflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===Ut.Z_OK):(u===Ut.Z_SYNC_FLUSH&&(this.onEnd(Ut.Z_OK),n.avail_out=0),!0)};Ls.prototype.onData=function(e){this.chunks.push(e)};Ls.prototype.onEnd=function(e){e===Ut.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 Hh(e,t){var n=new Ls(t);if(n.push(e,!0),n.err)throw n.msg||fh[n.err];return n.result}function OF(e,t){return t=t||{},t.raw=!0,Hh(e,t)}Ra.Inflate=Ls;Ra.inflate=Hh;Ra.inflateRaw=OF;Ra.ungzip=Hh;var EF=ur.assign,CF=Ia,AF=Ra,FF=nS,rS={};EF(rS,CF,AF,FF);var PF=rS,Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.messageAssert=Jt.messageError=Jt.QuickTypeError=void 0;const IF={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 sS extends Error{constructor(t,n,i,r){super(i),this.errorMessage=t,this.messageName=n,this.properties=r}}Jt.QuickTypeError=sS;function oS(e,t){const n=IF[e];let i=n;const r=t;for(const l of Object.getOwnPropertyNames(r)){let u=r[l];typeof u=="object"&&typeof u.toString=="function"?u=u.toString():typeof u.message=="string"?u=u.message:typeof u!="string"&&(u=JSON.stringify(u)),i=i.replace("${"+l+"}",u)}throw new sS(n,e,i,r)}Jt.messageError=oS;function MF(e,t,n){if(!e)return oS(t,n)}Jt.messageAssert=MF;const Vh=Symbol.for("yaml.alias"),dh=Symbol.for("yaml.document"),Br=Symbol.for("yaml.map"),aS=Symbol.for("yaml.pair"),nr=Symbol.for("yaml.scalar"),Ao=Symbol.for("yaml.seq"),$n=Symbol.for("yaml.node.type"),qr=e=>!!e&&typeof e=="object"&&e[$n]===Vh,Fs=e=>!!e&&typeof e=="object"&&e[$n]===dh,Ps=e=>!!e&&typeof e=="object"&&e[$n]===Br,kt=e=>!!e&&typeof e=="object"&&e[$n]===aS,wt=e=>!!e&&typeof e=="object"&&e[$n]===nr,Is=e=>!!e&&typeof e=="object"&&e[$n]===Ao;function Ct(e){if(e&&typeof e=="object")switch(e[$n]){case Br:case Ao:return!0}return!1}function Rt(e){if(e&&typeof e=="object")switch(e[$n]){case Vh:case Br:case nr:case Ao:return!0}return!1}const jF=e=>(wt(e)||Ct(e))&&!!e.anchor,Sn=Symbol("break visit"),uS=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=uS;ir.REMOVE=Ai;function co(e,t,n,i){const r=cS(e,t,n,i);if(Rt(r)||kt(r))return fS(e,i,r),co(e,r,n,i);if(typeof r!="symbol"){if(Ct(t)){i=Object.freeze(i.concat(t));for(let l=0;l<t.items.length;++l){const u=co(l,t.items[l],n,i);if(typeof u=="number")l=u-1;else{if(u===Sn)return Sn;u===Ai&&(t.items.splice(l,1),l-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const l=co("key",t.key,n,i);if(l===Sn)return Sn;l===Ai&&(t.key=null);const u=co("value",t.value,n,i);if(u===Sn)return Sn;u===Ai&&(t.value=null)}}return r}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=uS;Ba.REMOVE=Ai;async function fo(e,t,n,i){const r=await cS(e,t,n,i);if(Rt(r)||kt(r))return fS(e,i,r),fo(e,r,n,i);if(typeof r!="symbol"){if(Ct(t)){i=Object.freeze(i.concat(t));for(let l=0;l<t.items.length;++l){const u=await fo(l,t.items[l],n,i);if(typeof u=="number")l=u-1;else{if(u===Sn)return Sn;u===Ai&&(t.items.splice(l,1),l-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const l=await fo("key",t.key,n,i);if(l===Sn)return Sn;l===Ai&&(t.key=null);const u=await fo("value",t.value,n,i);if(u===Sn)return Sn;u===Ai&&(t.value=null)}}return r}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 cS(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(qr(t))return n.Alias?.(e,t,i)}function fS(e,t,n){const i=t[t.length-1];if(Ct(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 r=qr(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}const RF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},BF=e=>e.replace(/[!,[\]{}]/g,t=>RF[t]);class ln{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ln.defaultYaml,t),this.tags=Object.assign({},ln.defaultTags,n)}clone(){const t=new ln(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ln(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ln.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ln.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ln.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ln.defaultTags),this.atNextDocument=!1);const i=t.trim().split(/[ \t]+/),r=i.shift();switch(r){case"%TAG":{if(i.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[l,u]=i;return this.tags[l]=u,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[l]=i;if(l==="1.1"||l==="1.2")return this.yaml.version=l,!0;{const u=/^\d+\.\d+$/.test(l);return n(6,`Unsupported YAML version ${l}`,u),!1}}default:return n(0,`Unknown directive ${r}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const u=t.slice(2,-1);return u==="!"||u==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),u)}const[,i,r]=t.match(/^(.*!)([^!]*)$/s);r||n(`The ${t} tag has no suffix`);const l=this.tags[i];if(l)try{return l+decodeURIComponent(r)}catch(u){return n(String(u)),null}return 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+BF(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 r;if(t&&i.length>0&&Rt(t.contents)){const l={};ir(t.contents,(u,f)=>{Rt(f)&&f.tag&&(l[f.tag]=!0)}),r=Object.keys(l)}else r=[];for(const[l,u]of i)l==="!!"&&u==="tag:yaml.org,2002:"||(!t||r.some(f=>f.startsWith(u)))&&n.push(`%TAG ${l} ${u}`);return n.join(`
|
|
1
|
+
import{_ as EC}from"./voSa2Wxu.js";import{c as Fe,g as yT,d as CC,u as AC,r as Vf,a as Ag,b as FC,w as Fg,e as PC,f as Fn,o as Lr,h as Bu,i as Du,j as na,k as ya,l as IC,m as xu,F as Pg,n as Ig,t as Kf,p as Uu,T as MC,_ as jC}from"./CgqO_dPK.js";import{_ as RC}from"./9nmHRZiL.js";import{_ as BC}from"./BDGXTeaJ.js";import{_ as DC}from"./CfWZksSX.js";import{_ as xC}from"./BflD8-TM.js";import"./B_BLxwpg.js";var Zf={},Qf={},Je={};(function(e){var t=Fe&&Fe.__awaiter||function(Q,ee,G,A){return new(G||(G=Promise))(function(J,re){function me(Re){try{Le(A.next(Re))}catch(nt){re(nt)}}function Se(Re){try{Le(A.throw(Re))}catch(nt){re(nt)}}function Le(Re){Re.done?J(Re.value):new G(function(nt){nt(Re.value)}).then(me,Se)}Le((A=A.apply(Q,ee||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.hashCodeInit=17;function n(Q){let ee=0;for(let G=0;G<Q.length;G++){const A=Q.charCodeAt(G);ee=(ee<<5)-ee+A,ee=ee&ee}return ee}e.hashString=n;function i(Q,ee){return Q*31+(ee|0)|0}e.addHashCode=i;function r(Q,ee){return Q!==void 0?Q:ee}e.withDefault=r;function l(Q,ee){if(Q!==void 0)return ee(Q)}e.definedMap=l;function u(Q,ee,G){return r(l(Q,G),ee)}e.definedMapWithDefault=u;function f(Q,ee){return Q==null?!1:Object.prototype.hasOwnProperty.call(Q,ee)}e.hasOwnProperty=f;function m(Q,ee){for(const G of Q)if(ee(G))return G}e.iterableFind=m;function v(Q,ee){for(const G of Q)if(!ee(G))return!1;return!0}e.iterableEvery=v;function S(Q,ee){for(const G of Q)if(ee(G))return!0;return!1}e.iterableSome=S;function C(Q){for(const ee of Q)return ee}e.iterableFirst=C;function D(Q){let ee;for(const G of Q)(ee===void 0||G>ee)&&(ee=G);return ee}e.iterableMax=D;function _(Q,ee){let G,A;for(const J of Q){const re=ee(J);(G===void 0||re<G)&&(G=re,A=J)}return A}e.iterableMinBy=_;function E(Q,ee,G){let A=ee;for(const J of Q)A=G(A,J);return A}e.iterableReduce=E;function*T(Q){let ee=0;for(const G of Q)yield[ee,G],ee+=1}e.iterableEnumerate=T;function*P(Q,ee){let G=0;for(const A of Q)G>=ee?yield A:G+=1}e.iterableSkip=P;function I(Q,ee){const G=Q.length;if(!(ee>G))return Q[G-ee]}e.arrayGetFromEnd=I;function M(Q){return I(Q,1)}e.arrayLast=M;function H(Q){const ee=Q.length;if(ee===0)throw new Error("Cannot pop empty array");return Q.slice(0,ee-1)}e.arrayPop=H;function Z(Q,ee){const G=[];for(const A of ee)G.length>0&&G.push(Q),G.push(A);return G}e.arrayIntercalate=Z;function U(Q,ee){return t(this,void 0,void 0,function*(){const G=[];let A=0;for(const J of Q)G.push(yield ee(J,A)),A+=1;return G})}e.arrayMapSync=U;function B(Q,ee){return Q<ee?-1:Q>ee?1:0}function F(Q,ee){return Q.sort((G,A)=>B(ee(G),ee(A)))}e.arraySortByInto=F;function y(Q){return Array.isArray(Q)?Q:Array.from(Q)}e.toReadonlyArray=y;function w(Q,ee){const G=new Map;for(const[A,J]of Q)G.set(A,ee(J,A));return G}e.mapMap=w;function L(Q){for(const ee of Q.values())return ee}e.mapFirst=L;function N(Q,ee){for(const G of Q.values())if(G===ee)return!0;return!1}e.mapContains=N;function p(Q,ee){for(const[G,A]of Q)if(ee(A,G))return!0;return!1}e.mapSome=p;function o(Q,ee){for(const[G,A]of ee)Q.set(G,A);return Q}e.mapMergeInto=o;function a(Q,ee){const G=new Map(Q);return o(G,ee),G}e.mapMerge=a;function d(Q,ee,G){for(const[A,J]of G){const re=Q.get(A),me=re===void 0?J:ee(re,J,A);Q.set(A,me)}return Q}e.mapMergeWithInto=d;function h(Q,ee,G){const A=new Map(Q);return d(A,ee,G),A}e.mapMergeWith=h;function b(Q,ee){const G=new Map;for(const[A,J]of Q)ee(J,A)&&G.set(A,J);return G}e.mapFilter=b;function R(Q,ee){const G=new Map;for(const[A,J]of Q){const re=ee(J,A);re!==void 0&&G.set(A,re)}return G}e.mapFilterMap=R;function x(Q,ee){return F(Array.from(Q),([G,A])=>ee(A,G))}e.mapSortToArray=x;function j(Q,ee){return new Map(x(Q,ee))}e.mapSortBy=j;function W(Q){return j(Q,(ee,G)=>G)}e.mapSortByKey=W;function k(Q,ee){const G=new Map;for(const[A,J]of Q){const[re,me]=ee(J,A);G.set(re,me)}return G}e.mapMapEntries=k;function O(Q,ee,G){return Q.set(ee,G(Q.get(ee))),Q}e.mapUpdateInto=O;function V(Q){const ee=new Map;for(const G of Object.getOwnPropertyNames(Q))ee.set(G,Q[G]);return ee}e.mapFromObject=V;function te(Q){const ee={};for(const[G,A]of Q)ee[G]=A;return ee}e.mapToObject=te;function ue(Q,ee){const G=new Map;for(const A of Q)G.set(A,ee(A));return G}e.mapFromIterable=ue;function Y(Q,ee){for(const[G,A]of Q)if(ee(A,G))return A}e.mapFind=Y;function $(Q){const ee=new Map;for(const G of Q)for(const[A,J]of G){let re=ee.get(A);re===void 0&&(re=[],ee.set(A,re)),re.push(J)}return ee}e.mapTranspose=$;function ae(Q,ee){return t(this,void 0,void 0,function*(){const G=new Map;for(const[A,J]of Q)G.set(A,yield ee(J,A));return G})}e.mapMapSync=ae;function pe(Q,ee){for(const G of ee)if(!Q.has(G))return!1;return!0}e.setIsSuperset=pe;function Te(Q,ee){for(const G of ee)for(const A of G)Q.add(A);return Q}e.setUnionManyInto=Te;function Ne(Q,...ee){return Te(Q,ee)}e.setUnionInto=Ne;function ce(Q,ee){const G=new Set;for(const A of Q)ee.has(A)&&G.add(A);return G}e.setIntersect=ce;function fe(Q,ee){const G=new Set(Q);for(const A of ee)G.delete(A);return G}e.setSubtract=fe;function le(...Q){const ee=new Set;return Ne(ee,...Q),ee}e.setUnion=le;function X(Q,ee){const G=new Set;for(const A of Q)G.add(ee(A));return G}e.setMap=X;function z(Q,ee){const G=new Set;for(const A of Q)ee(A)&&G.add(A);return G}e.setFilter=z;function K(Q,ee){const G=new Set;for(const A of Q){const J=ee(A);J!==void 0&&G.add(J)}return G}e.setFilterMap=K;function se(Q,ee){return new Set(F(Array.from(Q),ee))}e.setSortBy=se;function he(Q,ee){const G=new Map;for(const A of Q){const J=ee(A);let re=G.get(J);re===void 0&&(re=new Set,G.set(J,re)),re.add(A)}return G}e.setGroupBy=he;function ve(Q){return Q instanceof Set?Q:new Set(Q)}e.toReadonlySet=ve;class we{constructor(){this._map=new Map}set(ee,G){let A=je(ee)|0;for(;;){const J=this._map.get(A);if(J===void 0){this._map.set(A,[ee,G]);return}if(Pe(ee,J[0])){J[1]=G;return}A=A+1|0}}get(ee){let G=je(ee)|0;for(;;){const A=this._map.get(G);if(A===void 0)return;if(Pe(ee,A[0]))return A[1];G=G+1|0}}has(ee){return this.get(ee)!==void 0}*values(){for(const[,[,ee]]of this._map)yield ee}}e.EqualityMap=we;function Pe(Q,ee){if(Q===ee)return!0;if(Q===void 0||ee===void 0||Q===null||ee===null)return!1;if(typeof Q.equals=="function"&&typeof ee.equals=="function")return Q.equals(ee);if(Q instanceof Set&&ee instanceof Set){if(Q.size!==ee.size)return!1;for(const G of Q)if(!ee.has(G))return!1;return!0}if(Q instanceof Map&&ee instanceof Map){if(Q.size!==ee.size)return!1;for(const[G,A]of Q){const J=ee.get(G);if(!Pe(A,J))return!1}return!0}if(Array.isArray(Q)&&Array.isArray(ee)){const G=Q.length;if(G!==ee.length)return!1;for(let A=0;A<G;A++)if(!Pe(Q[A],ee[A]))return!1;return!0}return!1}e.areEqual=Pe;function je(Q){if(typeof Q=="number")return Q|0;if(typeof Q=="string")return n(Q);let ee=e.hashCodeInit;if(Q===void 0)return ee;if(Q===!0)return ee+1|0;if(Q===!1)return ee+2|0;if(Q===null)return ee+3|0;if(typeof Q.hashCode=="function")return Q.hashCode();if(Q instanceof Set){for(const G of Q)ee+=je(G);return ee}if(Q instanceof Map){let G=e.hashCodeInit;for(const[A,J]of Q)G+=je(A),ee+=je(J);return i(G,ee)}if(Array.isArray(Q)){for(const G of Q)ee=i(ee,je(G));return ee}throw new Error(`Cannot hash ${Q}`)}e.hashCodeOf=je})(Je);var Xf={},xh={},Yf={},Ae={},gT={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(typeof self<"u"?self:typeof window<"u"?window:typeof Fe<"u"?Fe:Fe,function(){var n="3.7.5",i=n,r=typeof atob=="function",l=typeof btoa=="function",u=typeof Buffer=="function",f=typeof TextDecoder=="function"?new TextDecoder:void 0,m=typeof TextEncoder=="function"?new TextEncoder:void 0,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S=Array.prototype.slice.call(v),C=function(Y){var $={};return Y.forEach(function(ae,pe){return $[ae]=pe}),$}(S),D=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),E=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(Y){return new Uint8Array(Array.prototype.slice.call(Y,0))},T=function(Y){return Y.replace(/=/g,"").replace(/[+\/]/g,function($){return $=="+"?"-":"_"})},P=function(Y){return Y.replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(Y){for(var $,ae,pe,Te,Ne="",ce=Y.length%3,fe=0;fe<Y.length;){if((ae=Y.charCodeAt(fe++))>255||(pe=Y.charCodeAt(fe++))>255||(Te=Y.charCodeAt(fe++))>255)throw new TypeError("invalid character found");$=ae<<16|pe<<8|Te,Ne+=S[$>>18&63]+S[$>>12&63]+S[$>>6&63]+S[$&63]}return ce?Ne.slice(0,ce-3)+"===".substring(ce):Ne},M=l?function(Y){return btoa(Y)}:u?function(Y){return Buffer.from(Y,"binary").toString("base64")}:I,H=u?function(Y){return Buffer.from(Y).toString("base64")}:function(Y){for(var $=4096,ae=[],pe=0,Te=Y.length;pe<Te;pe+=$)ae.push(_.apply(null,Y.subarray(pe,pe+$)));return M(ae.join(""))},Z=function(Y,$){return $===void 0&&($=!1),$?T(H(Y)):H(Y)},U=function(Y){if(Y.length<2){var $=Y.charCodeAt(0);return $<128?Y:$<2048?_(192|$>>>6)+_(128|$&63):_(224|$>>>12&15)+_(128|$>>>6&63)+_(128|$&63)}else{var $=65536+(Y.charCodeAt(0)-55296)*1024+(Y.charCodeAt(1)-56320);return _(240|$>>>18&7)+_(128|$>>>12&63)+_(128|$>>>6&63)+_(128|$&63)}},B=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,F=function(Y){return Y.replace(B,U)},y=u?function(Y){return Buffer.from(Y,"utf8").toString("base64")}:m?function(Y){return H(m.encode(Y))}:function(Y){return M(F(Y))},w=function(Y,$){return $===void 0&&($=!1),$?T(y(Y)):y(Y)},L=function(Y){return w(Y,!0)},N=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,p=function(Y){switch(Y.length){case 4:var $=(7&Y.charCodeAt(0))<<18|(63&Y.charCodeAt(1))<<12|(63&Y.charCodeAt(2))<<6|63&Y.charCodeAt(3),ae=$-65536;return _((ae>>>10)+55296)+_((ae&1023)+56320);case 3:return _((15&Y.charCodeAt(0))<<12|(63&Y.charCodeAt(1))<<6|63&Y.charCodeAt(2));default:return _((31&Y.charCodeAt(0))<<6|63&Y.charCodeAt(1))}},o=function(Y){return Y.replace(N,p)},a=function(Y){if(Y=Y.replace(/\s+/g,""),!D.test(Y))throw new TypeError("malformed base64.");Y+="==".slice(2-(Y.length&3));for(var $,ae="",pe,Te,Ne=0;Ne<Y.length;)$=C[Y.charAt(Ne++)]<<18|C[Y.charAt(Ne++)]<<12|(pe=C[Y.charAt(Ne++)])<<6|(Te=C[Y.charAt(Ne++)]),ae+=pe===64?_($>>16&255):Te===64?_($>>16&255,$>>8&255):_($>>16&255,$>>8&255,$&255);return ae},d=r?function(Y){return atob(P(Y))}:u?function(Y){return Buffer.from(Y,"base64").toString("binary")}:a,h=u?function(Y){return E(Buffer.from(Y,"base64"))}:function(Y){return E(d(Y).split("").map(function($){return $.charCodeAt(0)}))},b=function(Y){return h(x(Y))},R=u?function(Y){return Buffer.from(Y,"base64").toString("utf8")}:f?function(Y){return f.decode(h(Y))}:function(Y){return o(d(Y))},x=function(Y){return P(Y.replace(/[-_]/g,function($){return $=="-"?"+":"/"}))},j=function(Y){return R(x(Y))},W=function(Y){if(typeof Y!="string")return!1;var $=Y.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test($)||!/[^\s0-9a-zA-Z\-_]/.test($)},k=function(Y){return{value:Y,enumerable:!1,writable:!0,configurable:!0}},O=function(){var Y=function($,ae){return Object.defineProperty(String.prototype,$,k(ae))};Y("fromBase64",function(){return j(this)}),Y("toBase64",function($){return w(this,$)}),Y("toBase64URI",function(){return w(this,!0)}),Y("toBase64URL",function(){return w(this,!0)}),Y("toUint8Array",function(){return b(this)})},V=function(){var Y=function($,ae){return Object.defineProperty(Uint8Array.prototype,$,k(ae))};Y("toBase64",function($){return Z(this,$)}),Y("toBase64URI",function(){return Z(this,!0)}),Y("toBase64URL",function(){return Z(this,!0)})},te=function(){O(),V()},ue={version:n,VERSION:i,atob:d,atobPolyfill:a,btoa:M,btoaPolyfill:I,fromBase64:j,toBase64:w,encode:w,encodeURI:L,encodeURL:L,utob:F,btou:o,decode:j,isValid:W,fromUint8Array:Z,toUint8Array:b,extendString:O,extendUint8Array:V,extendBuiltins:te};return ue.Base64={},Object.keys(ue).forEach(function(Y){return ue.Base64[Y]=ue[Y]}),ue})})(gT);var UC=gT.exports,ur={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(l,u){return Object.prototype.hasOwnProperty.call(l,u)}e.assign=function(l){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var f=u.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var m in f)n(f,m)&&(l[m]=f[m])}}return l},e.shrinkBuf=function(l,u){return l.length===u?l:l.subarray?l.subarray(0,u):(l.length=u,l)};var i={arraySet:function(l,u,f,m,v){if(u.subarray&&l.subarray){l.set(u.subarray(f,f+m),v);return}for(var S=0;S<m;S++)l[v+S]=u[f+S]},flattenChunks:function(l){var u,f,m,v,S,C;for(m=0,u=0,f=l.length;u<f;u++)m+=l[u].length;for(C=new Uint8Array(m),v=0,u=0,f=l.length;u<f;u++)S=l[u],C.set(S,v),v+=S.length;return C}},r={arraySet:function(l,u,f,m,v){for(var S=0;S<m;S++)l[v+S]=u[f+S]},flattenChunks:function(l){return[].concat.apply([],l)}};e.setTyped=function(l){l?(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,r))},e.setTyped(t)})(ur);var Ia={},ji={},Oo={},zC=ur,JC=4,Mg=0,jg=1,WC=2;function Eo(e){for(var t=e.length;--t>=0;)e[t]=0}var GC=0,bT=1,qC=2,HC=3,VC=258,Uh=29,Ma=256,_a=Ma+1+Uh,yo=30,zh=19,TT=2*_a+1,cs=15,$f=16,KC=7,Jh=256,ST=16,vT=17,wT=18,rh=[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],el=[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],ZC=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],LT=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],QC=512,Qi=new Array((_a+2)*2);Eo(Qi);var ga=new Array(yo*2);Eo(ga);var Na=new Array(QC);Eo(Na);var ka=new Array(VC-HC+1);Eo(ka);var Wh=new Array(Uh);Eo(Wh);var gl=new Array(yo);Eo(gl);function ed(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var _T,NT,kT;function td(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function OT(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>$f-n?(e.bi_buf|=t<<e.bi_valid&65535,Oa(e,e.bi_buf),e.bi_buf=t>>$f-e.bi_valid,e.bi_valid+=n-$f):(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 ET(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function XC(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 YC(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,l=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,v,S,C,D,_,E,T=0;for(D=0;D<=cs;D++)e.bl_count[D]=0;for(n[e.heap[e.heap_max]*2+1]=0,v=e.heap_max+1;v<TT;v++)S=e.heap[v],D=n[n[S*2+1]*2+1]+1,D>m&&(D=m,T++),n[S*2+1]=D,!(S>i)&&(e.bl_count[D]++,_=0,S>=f&&(_=u[S-f]),E=n[S*2],e.opt_len+=E*(D+_),l&&(e.static_len+=E*(r[S*2+1]+_)));if(T!==0){do{for(D=m-1;e.bl_count[D]===0;)D--;e.bl_count[D]--,e.bl_count[D+1]+=2,e.bl_count[m]--,T-=2}while(T>0);for(D=m;D!==0;D--)for(S=e.bl_count[D];S!==0;)C=e.heap[--v],!(C>i)&&(n[C*2+1]!==D&&(e.opt_len+=(D-n[C*2+1])*n[C*2],n[C*2+1]=D),S--)}}function CT(e,t,n){var i=new Array(cs+1),r=0,l,u;for(l=1;l<=cs;l++)i[l]=r=r+n[l-1]<<1;for(u=0;u<=t;u++){var f=e[u*2+1];f!==0&&(e[u*2]=ET(i[f]++,f))}}function $C(){var e,t,n,i,r,l=new Array(cs+1);for(n=0,i=0;i<Uh-1;i++)for(Wh[i]=n,e=0;e<1<<rh[i];e++)ka[n++]=i;for(ka[n-1]=i,r=0,i=0;i<16;i++)for(gl[i]=r,e=0;e<1<<el[i];e++)Na[r++]=i;for(r>>=7;i<yo;i++)for(gl[i]=r<<7,e=0;e<1<<el[i]-7;e++)Na[256+r++]=i;for(t=0;t<=cs;t++)l[t]=0;for(e=0;e<=143;)Qi[e*2+1]=8,e++,l[8]++;for(;e<=255;)Qi[e*2+1]=9,e++,l[9]++;for(;e<=279;)Qi[e*2+1]=7,e++,l[7]++;for(;e<=287;)Qi[e*2+1]=8,e++,l[8]++;for(CT(Qi,_a+1,l),e=0;e<yo;e++)ga[e*2+1]=5,ga[e*2]=ET(e,5);_T=new ed(Qi,rh,Ma+1,_a,cs),NT=new ed(ga,el,0,yo,cs),kT=new ed(new Array(0),ZC,0,zh,KC)}function AT(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<zh;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Jh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function FT(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 eA(e,t,n,i){FT(e),i&&(Oa(e,n),Oa(e,~n)),zC.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Rg(e,t,n,i){var r=t*2,l=n*2;return e[r]<e[l]||e[r]===e[l]&&i[t]<=i[n]}function nd(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&Rg(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!Rg(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function Bg(e,t,n){var i,r,l=0,u,f;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+l*2]<<8|e.pending_buf[e.d_buf+l*2+1],r=e.pending_buf[e.l_buf+l],l++,i===0?Oi(e,r,t):(u=ka[r],Oi(e,u+Ma+1,t),f=rh[u],f!==0&&(r-=Wh[u],wn(e,r,f)),i--,u=OT(i),Oi(e,u,n),f=el[u],f!==0&&(i-=gl[u],wn(e,i,f)));while(l<e.last_lit);Oi(e,Jh,t)}function sh(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,l=t.stat_desc.elems,u,f,m=-1,v;for(e.heap_len=0,e.heap_max=TT,u=0;u<l;u++)n[u*2]!==0?(e.heap[++e.heap_len]=m=u,e.depth[u]=0):n[u*2+1]=0;for(;e.heap_len<2;)v=e.heap[++e.heap_len]=m<2?++m:0,n[v*2]=1,e.depth[v]=0,e.opt_len--,r&&(e.static_len-=i[v*2+1]);for(t.max_code=m,u=e.heap_len>>1;u>=1;u--)nd(e,n,u);v=l;do u=e.heap[1],e.heap[1]=e.heap[e.heap_len--],nd(e,n,1),f=e.heap[1],e.heap[--e.heap_max]=u,e.heap[--e.heap_max]=f,n[v*2]=n[u*2]+n[f*2],e.depth[v]=(e.depth[u]>=e.depth[f]?e.depth[u]:e.depth[f])+1,n[u*2+1]=n[f*2+1]=v,e.heap[1]=v++,nd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],YC(e,t),CT(n,m,e.bl_count)}function Dg(e,t,n){var i,r=-1,l,u=t[0*2+1],f=0,m=7,v=4;for(u===0&&(m=138,v=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)l=u,u=t[(i+1)*2+1],!(++f<m&&l===u)&&(f<v?e.bl_tree[l*2]+=f:l!==0?(l!==r&&e.bl_tree[l*2]++,e.bl_tree[ST*2]++):f<=10?e.bl_tree[vT*2]++:e.bl_tree[wT*2]++,f=0,r=l,u===0?(m=138,v=3):l===u?(m=6,v=3):(m=7,v=4))}function xg(e,t,n){var i,r=-1,l,u=t[0*2+1],f=0,m=7,v=4;for(u===0&&(m=138,v=3),i=0;i<=n;i++)if(l=u,u=t[(i+1)*2+1],!(++f<m&&l===u)){if(f<v)do Oi(e,l,e.bl_tree);while(--f!==0);else l!==0?(l!==r&&(Oi(e,l,e.bl_tree),f--),Oi(e,ST,e.bl_tree),wn(e,f-3,2)):f<=10?(Oi(e,vT,e.bl_tree),wn(e,f-3,3)):(Oi(e,wT,e.bl_tree),wn(e,f-11,7));f=0,r=l,u===0?(m=138,v=3):l===u?(m=6,v=3):(m=7,v=4)}}function tA(e){var t;for(Dg(e,e.dyn_ltree,e.l_desc.max_code),Dg(e,e.dyn_dtree,e.d_desc.max_code),sh(e,e.bl_desc),t=zh-1;t>=3&&e.bl_tree[LT[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function nA(e,t,n,i){var r;for(wn(e,t-257,5),wn(e,n-1,5),wn(e,i-4,4),r=0;r<i;r++)wn(e,e.bl_tree[LT[r]*2+1],3);xg(e,e.dyn_ltree,t-1),xg(e,e.dyn_dtree,n-1)}function iA(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Mg;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return jg;for(n=32;n<Ma;n++)if(e.dyn_ltree[n*2]!==0)return jg;return Mg}var Ug=!1;function rA(e){Ug||($C(),Ug=!0),e.l_desc=new td(e.dyn_ltree,_T),e.d_desc=new td(e.dyn_dtree,NT),e.bl_desc=new td(e.bl_tree,kT),e.bi_buf=0,e.bi_valid=0,AT(e)}function PT(e,t,n,i){wn(e,(GC<<1)+(i?1:0),3),eA(e,t,n,!0)}function sA(e){wn(e,bT<<1,3),Oi(e,Jh,Qi),XC(e)}function oA(e,t,n,i){var r,l,u=0;e.level>0?(e.strm.data_type===WC&&(e.strm.data_type=iA(e)),sh(e,e.l_desc),sh(e,e.d_desc),u=tA(e),r=e.opt_len+3+7>>>3,l=e.static_len+3+7>>>3,l<=r&&(r=l)):r=l=n+5,n+4<=r&&t!==-1?PT(e,t,n,i):e.strategy===JC||l===r?(wn(e,(bT<<1)+(i?1:0),3),Bg(e,Qi,ga)):(wn(e,(qC<<1)+(i?1:0),3),nA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),Bg(e,e.dyn_ltree,e.dyn_dtree)),AT(e),i&&FT(e)}function aA(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[OT(t)*2]++),e.last_lit===e.lit_bufsize-1}Oo._tr_init=rA;Oo._tr_stored_block=PT;Oo._tr_flush_block=oA;Oo._tr_tally=aA;Oo._tr_align=sA;function uA(e,t,n,i){for(var r=e&65535|0,l=e>>>16&65535|0,u=0;n!==0;){u=n>2e3?2e3:n,n-=u;do r=r+t[i++]|0,l=l+r|0;while(--u);r%=65521,l%=65521}return r|l<<16|0}var IT=uA;function lA(){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 cA=lA();function fA(e,t,n,i){var r=cA,l=i+n;e^=-1;for(var u=i;u<l;u++)e=e>>>8^r[(e^t[u])&255];return e^-1}var MT=fA,Gh={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=ur,Zn=Oo,jT=IT,Or=MT,dA=Gh,Cs=0,hA=1,pA=3,Rr=4,zg=5,Ei=0,Jg=1,Qn=-2,mA=-3,id=-5,yA=-1,gA=1,zu=2,bA=3,TA=4,SA=0,vA=2,Pl=8,wA=9,LA=15,_A=8,NA=29,kA=256,oh=kA+1+NA,OA=30,EA=19,CA=2*oh+1,AA=15,ct=3,Pr=258,li=Pr+ct+1,FA=32,Il=42,ah=69,tl=73,nl=91,il=103,fs=113,fa=666,Vt=1,ja=2,Ts=3,Co=4,PA=3;function Ir(e,t){return e.msg=dA[t],t}function Wg(e){return(e<<1)-(e>4?9:0)}function Fr(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 ia(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function IA(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,cn.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=jT(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Or(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function RT(e,t){var n=e.max_chain_length,i=e.strstart,r,l,u=e.prev_length,f=e.nice_match,m=e.strstart>e.w_size-li?e.strstart-(e.w_size-li):0,v=e.window,S=e.w_mask,C=e.prev,D=e.strstart+Pr,_=v[i+u-1],E=v[i+u];e.prev_length>=e.good_match&&(n>>=2),f>e.lookahead&&(f=e.lookahead);do if(r=t,!(v[r+u]!==E||v[r+u-1]!==_||v[r]!==v[i]||v[++r]!==v[i+1])){i+=2,r++;do;while(v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&i<D);if(l=Pr-(D-i),i=D-Pr,l>u){if(e.match_start=t,u=l,l>=f)break;_=v[i+u-1],E=v[i+u]}}while((t=C[t&S])>m&&--n!==0);return u<=e.lookahead?u:e.lookahead}function Ss(e){var t=e.w_size,n,i,r,l,u;do{if(l=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-li)){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 r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);l+=t}if(e.strm.avail_in===0)break;if(i=IA(e.strm,e.window,e.strstart+e.lookahead,l),e.lookahead+=i,e.lookahead+e.insert>=ct)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+ct-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<ct)););}while(e.lookahead<li&&e.strm.avail_in!==0)}function MA(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===Cs)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-li&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):(e.strstart>e.block_start&&($t(e,!1),e.strm.avail_out===0),Vt)}function rd(e,t){for(var n,i;;){if(e.lookahead<li){if(Ss(e),e.lookahead<li&&t===Cs)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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-li&&(e.match_length=RT(e,n)),e.match_length>=ct)if(i=Zn._tr_tally(e,e.strstart-e.match_start,e.match_length-ct),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ct){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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<ct-1?e.strstart:ct-1,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function to(e,t){for(var n,i,r;;){if(e.lookahead<li){if(Ss(e),e.lookahead<li&&t===Cs)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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=ct-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-li&&(e.match_length=RT(e,n),e.match_length<=5&&(e.strategy===gA||e.match_length===ct&&e.strstart-e.match_start>4096)&&(e.match_length=ct-1)),e.prev_length>=ct&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-ct,i=Zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ct),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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=ct-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<ct-1?e.strstart:ct-1,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function jA(e,t){for(var n,i,r,l,u=e.window;;){if(e.lookahead<=Pr){if(Ss(e),e.lookahead<=Pr&&t===Cs)return Vt;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ct&&e.strstart>0&&(r=e.strstart-1,i=u[r],i===u[++r]&&i===u[++r]&&i===u[++r])){l=e.strstart+Pr;do;while(i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&r<l);e.match_length=Pr-(l-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ct?(n=Zn._tr_tally(e,1,e.match_length-ct),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===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function RA(e,t){for(var n;;){if(e.lookahead===0&&(Ss(e),e.lookahead===0)){if(t===Cs)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===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function gi(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var lo;lo=[new gi(0,0,0,0,MA),new gi(4,4,8,4,rd),new gi(4,5,16,8,rd),new gi(4,6,32,32,rd),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 BA(e){e.window_size=2*e.w_size,Fr(e.head),e.max_lazy_match=lo[e.level].max_lazy,e.good_match=lo[e.level].good_length,e.nice_match=lo[e.level].nice_length,e.max_chain_length=lo[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ct-1,e.match_available=0,e.ins_h=0}function DA(){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=Pl,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(CA*2),this.dyn_dtree=new cn.Buf16((2*OA+1)*2),this.bl_tree=new cn.Buf16((2*EA+1)*2),Fr(this.dyn_ltree),Fr(this.dyn_dtree),Fr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new cn.Buf16(AA+1),this.heap=new cn.Buf16(2*oh+1),Fr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new cn.Buf16(2*oh+1),Fr(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 BT(e){var t;return!e||!e.state?Ir(e,Qn):(e.total_in=e.total_out=0,e.data_type=vA,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Il:fs,e.adler=t.wrap===2?0:1,t.last_flush=Cs,Zn._tr_init(t),Ei)}function DT(e){var t=BT(e);return t===Ei&&BA(e.state),t}function xA(e,t){return!e||!e.state||e.state.wrap!==2?Qn:(e.state.gzhead=t,Ei)}function xT(e,t,n,i,r,l){if(!e)return Qn;var u=1;if(t===yA&&(t=6),i<0?(u=0,i=-i):i>15&&(u=2,i-=16),r<1||r>wA||n!==Pl||i<8||i>15||t<0||t>9||l<0||l>TA)return Ir(e,Qn);i===8&&(i=9);var f=new DA;return e.state=f,f.strm=e,f.wrap=u,f.gzhead=null,f.w_bits=i,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=r+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+ct-1)/ct),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<<r+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=3*f.lit_bufsize,f.level=t,f.strategy=l,f.method=n,DT(e)}function UA(e,t){return xT(e,t,Pl,LA,_A,SA)}function zA(e,t){var n,i,r,l;if(!e||!e.state||t>zg||t<0)return e?Ir(e,Qn):Qn;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===fa&&t!==Rr)return Ir(e,e.avail_out===0?id:Qn);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===Il)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>=zu||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=Or(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=ah):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,i.level===9?2:i.strategy>=zu||i.level<2?4:0),ht(i,PA),i.status=fs);else{var u=Pl+(i.w_bits-8<<4)<<8,f=-1;i.strategy>=zu||i.level<2?f=0:i.level<6?f=1:i.level===6?f=2:f=3,u|=f<<6,i.strstart!==0&&(u|=FA),u+=31-u%31,i.status=fs,ia(i,u),i.strstart!==0&&(ia(i,e.adler>>>16),ia(i,e.adler&65535)),e.adler=1}if(i.status===ah)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size));)ht(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=tl)}else i.status=tl;if(i.status===tl)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size)){l=1;break}i.gzindex<i.gzhead.name.length?l=i.gzhead.name.charCodeAt(i.gzindex++)&255:l=0,ht(i,l)}while(l!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),l===0&&(i.gzindex=0,i.status=nl)}else i.status=nl;if(i.status===nl)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size)){l=1;break}i.gzindex<i.gzhead.comment.length?l=i.gzhead.comment.charCodeAt(i.gzindex++)&255:l=0,ht(i,l)}while(l!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),l===0&&(i.status=il)}else i.status=il;if(i.status===il&&(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,Ei}else if(e.avail_in===0&&Wg(t)<=Wg(n)&&t!==Rr)return Ir(e,id);if(i.status===fa&&e.avail_in!==0)return Ir(e,id);if(e.avail_in!==0||i.lookahead!==0||t!==Cs&&i.status!==fa){var m=i.strategy===zu?RA(i,t):i.strategy===bA?jA(i,t):lo[i.level].func(i,t);if((m===Ts||m===Co)&&(i.status=fa),m===Vt||m===Ts)return e.avail_out===0&&(i.last_flush=-1),Ei;if(m===ja&&(t===hA?Zn._tr_align(i):t!==zg&&(Zn._tr_stored_block(i,0,0,!1),t===pA&&(Fr(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,Ei}return t!==Rr?Ei: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)):(ia(i,e.adler>>>16),ia(i,e.adler&65535)),Er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ei:Jg)}function JA(e){var t;return!e||!e.state?Qn:(t=e.state.status,t!==Il&&t!==ah&&t!==tl&&t!==nl&&t!==il&&t!==fs&&t!==fa?Ir(e,Qn):(e.state=null,t===fs?Ir(e,mA):Ei))}function WA(e,t){var n=t.length,i,r,l,u,f,m,v,S;if(!e||!e.state||(i=e.state,u=i.wrap,u===2||u===1&&i.status!==Il||i.lookahead))return Qn;for(u===1&&(e.adler=jT(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(u===0&&(Fr(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,m=e.next_in,v=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ss(i);i.lookahead>=ct;){r=i.strstart,l=i.lookahead-(ct-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+ct-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--l);i.strstart=r,i.lookahead=ct-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=ct-1,i.match_available=0,e.next_in=m,e.input=v,e.avail_in=f,i.wrap=u,Ei}ji.deflateInit=UA;ji.deflateInit2=xT;ji.deflateReset=DT;ji.deflateResetKeep=BT;ji.deflateSetHeader=xA;ji.deflate=zA;ji.deflateEnd=JA;ji.deflateSetDictionary=WA;ji.deflateInfo="pako deflate (from Nodeca project)";var As={},Ml=ur,UT=!0,zT=!0;try{String.fromCharCode.apply(null,[0])}catch{UT=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{zT=!1}var Ea=new Ml.Buf8(256);for(var _r=0;_r<256;_r++)Ea[_r]=_r>=252?6:_r>=248?5:_r>=240?4:_r>=224?3:_r>=192?2:1;Ea[254]=Ea[254]=1;As.string2buf=function(e){var t,n,i,r,l,u=e.length,f=0;for(r=0;r<u;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<u&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),f+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Ml.Buf8(f),l=0,r=0;l<f;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<u&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[l++]=n:n<2048?(t[l++]=192|n>>>6,t[l++]=128|n&63):n<65536?(t[l++]=224|n>>>12,t[l++]=128|n>>>6&63,t[l++]=128|n&63):(t[l++]=240|n>>>18,t[l++]=128|n>>>12&63,t[l++]=128|n>>>6&63,t[l++]=128|n&63);return t};function JT(e,t){if(t<65534&&(e.subarray&&zT||!e.subarray&&UT))return String.fromCharCode.apply(null,Ml.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}As.buf2binstring=function(e){return JT(e,e.length)};As.binstring2buf=function(e){for(var t=new Ml.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,r,l,u=t||e.length,f=new Array(u*2);for(i=0,n=0;n<u;){if(r=e[n++],r<128){f[i++]=r;continue}if(l=Ea[r],l>4){f[i++]=65533,n+=l-1;continue}for(r&=l===2?31:l===3?15:7;l>1&&n<u;)r=r<<6|e[n++]&63,l--;if(l>1){f[i++]=65533;continue}r<65536?f[i++]=r:(r-=65536,f[i++]=55296|r>>10&1023,f[i++]=56320|r&1023)}return JT(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+Ea[e[n]]>t?n:t};function GA(){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 WT=GA,ba=ji,Ta=ur,uh=As,lh=Gh,qA=WT,GT=Object.prototype.toString,HA=0,sd=4,go=0,Gg=1,qg=2,VA=-1,KA=0,ZA=8;function vs(e){if(!(this instanceof vs))return new vs(e);this.options=Ta.assign({level:VA,method:ZA,chunkSize:16384,windowBits:15,memLevel:8,strategy:KA,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 qA,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(lh[n]);if(t.header&&ba.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=uh.string2buf(t.dictionary):GT.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=ba.deflateSetDictionary(this.strm,i),n!==go)throw new Error(lh[n]);this._dict_set=!0}}vs.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,l;if(this.ended)return!1;l=t===~~t?t:t===!0?sd:HA,typeof e=="string"?n.input=uh.string2buf(e):GT.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),r=ba.deflate(n,l),r!==Gg&&r!==go)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(l===sd||l===qg))&&(this.options.to==="string"?this.onData(uh.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)&&r!==Gg);return l===sd?(r=ba.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===go):(l===qg&&(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 qh(e,t){var n=new vs(t);if(n.push(e,!0),n.err)throw n.msg||lh[n.err];return n.result}function QA(e,t){return t=t||{},t.raw=!0,qh(e,t)}function XA(e,t){return t=t||{},t.gzip=!0,qh(e,t)}Ia.Deflate=vs;Ia.deflate=qh;Ia.deflateRaw=QA;Ia.gzip=XA;var Ra={},fi={},Ju=30,YA=12,$A=function(t,n){var i,r,l,u,f,m,v,S,C,D,_,E,T,P,I,M,H,Z,U,B,F,y,w,L,N;i=t.state,r=t.next_in,L=t.input,l=r+(t.avail_in-5),u=t.next_out,N=t.output,f=u-(n-t.avail_out),m=u+(t.avail_out-257),v=i.dmax,S=i.wsize,C=i.whave,D=i.wnext,_=i.window,E=i.hold,T=i.bits,P=i.lencode,I=i.distcode,M=(1<<i.lenbits)-1,H=(1<<i.distbits)-1;e:do{T<15&&(E+=L[r++]<<T,T+=8,E+=L[r++]<<T,T+=8),Z=P[E&M];t:for(;;){if(U=Z>>>24,E>>>=U,T-=U,U=Z>>>16&255,U===0)N[u++]=Z&65535;else if(U&16){B=Z&65535,U&=15,U&&(T<U&&(E+=L[r++]<<T,T+=8),B+=E&(1<<U)-1,E>>>=U,T-=U),T<15&&(E+=L[r++]<<T,T+=8,E+=L[r++]<<T,T+=8),Z=I[E&H];n:for(;;){if(U=Z>>>24,E>>>=U,T-=U,U=Z>>>16&255,U&16){if(F=Z&65535,U&=15,T<U&&(E+=L[r++]<<T,T+=8,T<U&&(E+=L[r++]<<T,T+=8)),F+=E&(1<<U)-1,F>v){t.msg="invalid distance too far back",i.mode=Ju;break e}if(E>>>=U,T-=U,U=u-f,F>U){if(U=F-U,U>C&&i.sane){t.msg="invalid distance too far back",i.mode=Ju;break e}if(y=0,w=_,D===0){if(y+=S-U,U<B){B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}}else if(D<U){if(y+=S+D-U,U-=D,U<B){B-=U;do N[u++]=_[y++];while(--U);if(y=0,D<B){U=D,B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}}}else if(y+=D-U,U<B){B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}for(;B>2;)N[u++]=w[y++],N[u++]=w[y++],N[u++]=w[y++],B-=3;B&&(N[u++]=w[y++],B>1&&(N[u++]=w[y++]))}else{y=u-F;do N[u++]=N[y++],N[u++]=N[y++],N[u++]=N[y++],B-=3;while(B>2);B&&(N[u++]=N[y++],B>1&&(N[u++]=N[y++]))}}else if(U&64){t.msg="invalid distance code",i.mode=Ju;break e}else{Z=I[(Z&65535)+(E&(1<<U)-1)];continue n}break}}else if(U&64)if(U&32){i.mode=YA;break e}else{t.msg="invalid literal/length code",i.mode=Ju;break e}else{Z=P[(Z&65535)+(E&(1<<U)-1)];continue t}break}}while(r<l&&u<m);B=T>>3,r-=B,T-=B<<3,E&=(1<<T)-1,t.next_in=r,t.next_out=u,t.avail_in=r<l?5+(l-r):5-(r-l),t.avail_out=u<m?257+(m-u):257-(u-m),i.hold=E,i.bits=T},Hg=ur,no=15,Vg=852,Kg=592,Zg=0,od=1,Qg=2,eF=[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],tF=[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],nF=[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],iF=[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],rF=function(t,n,i,r,l,u,f,m){var v=m.bits,S=0,C=0,D=0,_=0,E=0,T=0,P=0,I=0,M=0,H=0,Z,U,B,F,y,w=null,L=0,N,p=new Hg.Buf16(no+1),o=new Hg.Buf16(no+1),a=null,d=0,h,b,R;for(S=0;S<=no;S++)p[S]=0;for(C=0;C<r;C++)p[n[i+C]]++;for(E=v,_=no;_>=1&&p[_]===0;_--);if(E>_&&(E=_),_===0)return l[u++]=1<<24|64<<16|0,l[u++]=1<<24|64<<16|0,m.bits=1,0;for(D=1;D<_&&p[D]===0;D++);for(E<D&&(E=D),I=1,S=1;S<=no;S++)if(I<<=1,I-=p[S],I<0)return-1;if(I>0&&(t===Zg||_!==1))return-1;for(o[1]=0,S=1;S<no;S++)o[S+1]=o[S]+p[S];for(C=0;C<r;C++)n[i+C]!==0&&(f[o[n[i+C]]++]=C);if(t===Zg?(w=a=f,N=19):t===od?(w=eF,L-=257,a=tF,d-=257,N=256):(w=nF,a=iF,N=-1),H=0,C=0,S=D,y=u,T=E,P=0,B=-1,M=1<<E,F=M-1,t===od&&M>Vg||t===Qg&&M>Kg)return 1;for(;;){h=S-P,f[C]<N?(b=0,R=f[C]):f[C]>N?(b=a[d+f[C]],R=w[L+f[C]]):(b=96,R=0),Z=1<<S-P,U=1<<T,D=U;do U-=Z,l[y+(H>>P)+U]=h<<24|b<<16|R|0;while(U!==0);for(Z=1<<S-1;H&Z;)Z>>=1;if(Z!==0?(H&=Z-1,H+=Z):H=0,C++,--p[S]===0){if(S===_)break;S=n[i+f[C]]}if(S>E&&(H&F)!==B){for(P===0&&(P=E),y+=D,T=S-P,I=1<<T;T+P<_&&(I-=p[T+P],!(I<=0));)T++,I<<=1;if(M+=1<<T,t===od&&M>Vg||t===Qg&&M>Kg)return 1;B=H&F,l[B]=E<<24|T<<16|y-u|0}}return H!==0&&(l[y+H]=S-P<<24|64<<16|0),m.bits=E,0},Mn=ur,ch=IT,bi=MT,sF=$A,Sa=rF,oF=0,qT=1,HT=2,Xg=4,aF=5,Wu=6,ws=0,uF=1,lF=2,Yn=-2,VT=-3,KT=-4,cF=-5,Yg=8,ZT=1,$g=2,eb=3,tb=4,nb=5,ib=6,rb=7,sb=8,ob=9,ab=10,bl=11,Hi=12,ad=13,ub=14,ud=15,lb=16,cb=17,fb=18,db=19,Gu=20,qu=21,hb=22,pb=23,mb=24,yb=25,gb=26,ld=27,bb=28,Tb=29,Et=30,QT=31,fF=32,dF=852,hF=592,pF=15,mF=pF;function Sb(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function yF(){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 XT(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=ZT,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(dF),t.distcode=t.distdyn=new Mn.Buf32(hF),t.sane=1,t.back=-1,ws)}function YT(e){var t;return!e||!e.state?Yn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,XT(e))}function $T(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,YT(e))}function eS(e,t){var n,i;return e?(i=new yF,e.state=i,i.window=null,n=$T(e,t),n!==ws&&(e.state=null),n):Yn}function gF(e){return eS(e,mF)}var vb=!0,cd,fd;function bF(e){if(vb){var t;for(cd=new Mn.Buf32(512),fd=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(qT,e.lens,0,288,cd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Sa(HT,e.lens,0,32,fd,0,e.work,{bits:5}),vb=!1}e.lencode=cd,e.lenbits=9,e.distcode=fd,e.distbits=5}function tS(e,t,n,i){var r,l=e.state;return l.window===null&&(l.wsize=1<<l.wbits,l.wnext=0,l.whave=0,l.window=new Mn.Buf8(l.wsize)),i>=l.wsize?(Mn.arraySet(l.window,t,n-l.wsize,l.wsize,0),l.wnext=0,l.whave=l.wsize):(r=l.wsize-l.wnext,r>i&&(r=i),Mn.arraySet(l.window,t,n-i,r,l.wnext),i-=r,i?(Mn.arraySet(l.window,t,n-i,i,0),l.wnext=i,l.whave=l.wsize):(l.wnext+=r,l.wnext===l.wsize&&(l.wnext=0),l.whave<l.wsize&&(l.whave+=r))),0}function TF(e,t){var n,i,r,l,u,f,m,v,S,C,D,_,E,T,P=0,I,M,H,Z,U,B,F,y,w=new Mn.Buf8(4),L,N,p=[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=ad),u=e.next_out,r=e.output,m=e.avail_out,l=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,C=f,D=m,y=ws;e:for(;;)switch(n.mode){case ZT:if(n.wrap===0){n.mode=ad;break}for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.wrap&2&&v===35615){n.check=0,w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0),v=0,S=0,n.mode=$g;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=Et;break}if((v&15)!==Yg){e.msg="unknown compression method",n.mode=Et;break}if(v>>>=4,S-=4,F=(v&15)+8,n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg="invalid window size",n.mode=Et;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=v&512?ab:Hi,v=0,S=0;break;case $g:for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.flags=v,(n.flags&255)!==Yg){e.msg="unknown compression method",n.mode=Et;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Et;break}n.head&&(n.head.text=v>>8&1),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0,n.mode=eb;case eb:for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.head&&(n.head.time=v),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,w[2]=v>>>16&255,w[3]=v>>>24&255,n.check=bi(n.check,w,4,0)),v=0,S=0,n.mode=tb;case tb:for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.head&&(n.head.xflags=v&255,n.head.os=v>>8),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0,n.mode=nb;case nb:if(n.flags&1024){for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.length=v,n.head&&(n.head.extra_len=v),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0}else n.head&&(n.head.extra=null);n.mode=ib;case ib:if(n.flags&1024&&(_=n.length,_>f&&(_=f),_&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Mn.arraySet(n.head.extra,i,l,_,F)),n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,n.length-=_),n.length))break e;n.length=0,n.mode=rb;case rb:if(n.flags&2048){if(f===0)break e;_=0;do F=i[l+_++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F));while(F&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=sb;case sb:if(n.flags&4096){if(f===0)break e;_=0;do F=i[l+_++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F));while(F&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,F)break e}else n.head&&(n.head.comment=null);n.mode=ob;case ob:if(n.flags&512){for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Et;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 ab:for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}e.adler=n.check=Sb(v),v=0,S=0,n.mode=bl;case bl:if(n.havedict===0)return e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,lF;e.adler=n.check=1,n.mode=Hi;case Hi:if(t===aF||t===Wu)break e;case ad:if(n.last){v>>>=S&7,S-=S&7,n.mode=ld;break}for(;S<3;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}switch(n.last=v&1,v>>>=1,S-=1,v&3){case 0:n.mode=ub;break;case 1:if(bF(n),n.mode=Gu,t===Wu){v>>>=2,S-=2;break e}break;case 2:n.mode=cb;break;case 3:e.msg="invalid block type",n.mode=Et}v>>>=2,S-=2;break;case ub:for(v>>>=S&7,S-=S&7;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if((v&65535)!==(v>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Et;break}if(n.length=v&65535,v=0,S=0,n.mode=ud,t===Wu)break e;case ud:n.mode=lb;case lb:if(_=n.length,_){if(_>f&&(_=f),_>m&&(_=m),_===0)break e;Mn.arraySet(r,i,l,_,u),f-=_,l+=_,m-=_,u+=_,n.length-=_;break}n.mode=Hi;break;case cb:for(;S<14;){if(f===0)break e;f--,v+=i[l++]<<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=Et;break}n.have=0,n.mode=fb;case fb:for(;n.have<n.ncode;){for(;S<3;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.lens[p[n.have++]]=v&7,v>>>=3,S-=3}for(;n.have<19;)n.lens[p[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},y=Sa(oF,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,y){e.msg="invalid code lengths set",n.mode=Et;break}n.have=0,n.mode=db;case db:for(;n.have<n.nlen+n.ndist;){for(;P=n.lencode[v&(1<<n.lenbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(H<16)v>>>=I,S-=I,n.lens[n.have++]=H;else{if(H===16){for(N=I+2;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v>>>=I,S-=I,n.have===0){e.msg="invalid bit length repeat",n.mode=Et;break}F=n.lens[n.have-1],_=3+(v&3),v>>>=2,S-=2}else if(H===17){for(N=I+3;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=I,S-=I,F=0,_=3+(v&7),v>>>=3,S-=3}else{for(N=I+7;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=I,S-=I,F=0,_=11+(v&127),v>>>=7,S-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Et;break}for(;_--;)n.lens[n.have++]=F}}if(n.mode===Et)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Et;break}if(n.lenbits=9,L={bits:n.lenbits},y=Sa(qT,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,y){e.msg="invalid literal/lengths set",n.mode=Et;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},y=Sa(HT,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,y){e.msg="invalid distances set",n.mode=Et;break}if(n.mode=Gu,t===Wu)break e;case Gu:n.mode=qu;case qu:if(f>=6&&m>=258){e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,sF(e,D),u=e.next_out,r=e.output,m=e.avail_out,l=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;P=n.lencode[v&(1<<n.lenbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(M&&!(M&240)){for(Z=I,U=M,B=H;P=n.lencode[B+((v&(1<<Z+U)-1)>>Z)],I=P>>>24,M=P>>>16&255,H=P&65535,!(Z+I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=Z,S-=Z,n.back+=Z}if(v>>>=I,S-=I,n.back+=I,n.length=H,M===0){n.mode=gb;break}if(M&32){n.back=-1,n.mode=Hi;break}if(M&64){e.msg="invalid literal/length code",n.mode=Et;break}n.extra=M&15,n.mode=hb;case hb:if(n.extra){for(N=n.extra;S<N;){if(f===0)break e;f--,v+=i[l++]<<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=pb;case pb:for(;P=n.distcode[v&(1<<n.distbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(!(M&240)){for(Z=I,U=M,B=H;P=n.distcode[B+((v&(1<<Z+U)-1)>>Z)],I=P>>>24,M=P>>>16&255,H=P&65535,!(Z+I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=Z,S-=Z,n.back+=Z}if(v>>>=I,S-=I,n.back+=I,M&64){e.msg="invalid distance code",n.mode=Et;break}n.offset=H,n.extra=M&15,n.mode=mb;case mb:if(n.extra){for(N=n.extra;S<N;){if(f===0)break e;f--,v+=i[l++]<<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=Et;break}n.mode=yb;case yb:if(m===0)break e;if(_=D-m,n.offset>_){if(_=n.offset-_,_>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Et;break}_>n.wnext?(_-=n.wnext,E=n.wsize-_):E=n.wnext-_,_>n.length&&(_=n.length),T=n.window}else T=r,E=u-n.offset,_=n.length;_>m&&(_=m),m-=_,n.length-=_;do r[u++]=T[E++];while(--_);n.length===0&&(n.mode=qu);break;case gb:if(m===0)break e;r[u++]=n.length,m--,n.mode=qu;break;case ld:if(n.wrap){for(;S<32;){if(f===0)break e;f--,v|=i[l++]<<S,S+=8}if(D-=m,e.total_out+=D,n.total+=D,D&&(e.adler=n.check=n.flags?bi(n.check,r,D,u-D):ch(n.check,r,D,u-D)),D=m,(n.flags?v:Sb(v))!==n.check){e.msg="incorrect data check",n.mode=Et;break}v=0,S=0}n.mode=bb;case bb:if(n.wrap&&n.flags){for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Et;break}v=0,S=0}n.mode=Tb;case Tb:y=uF;break e;case Et:y=VT;break e;case QT:return KT;case fF:default:return Yn}return e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,(n.wsize||D!==e.avail_out&&n.mode<Et&&(n.mode<ld||t!==Xg))&&tS(e,e.output,e.next_out,D-e.avail_out),C-=e.avail_in,D-=e.avail_out,e.total_in+=C,e.total_out+=D,n.total+=D,n.wrap&&D&&(e.adler=n.check=n.flags?bi(n.check,r,D,e.next_out-D):ch(n.check,r,D,e.next_out-D)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hi?128:0)+(n.mode===Gu||n.mode===ud?256:0),(C===0&&D===0||t===Xg)&&y===ws&&(y=cF),y}function SF(e){if(!e||!e.state)return Yn;var t=e.state;return t.window&&(t.window=null),e.state=null,ws}function vF(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?Yn:(n.head=t,t.done=!1,ws)}function wF(e,t){var n=t.length,i,r,l;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==bl)?Yn:i.mode===bl&&(r=1,r=ch(r,t,n,0),r!==i.check)?VT:(l=tS(e,t,n,n),l?(i.mode=QT,KT):(i.havedict=1,ws))}fi.inflateReset=YT;fi.inflateReset2=$T;fi.inflateResetKeep=XT;fi.inflateInit=gF;fi.inflateInit2=eS;fi.inflate=TF;fi.inflateEnd=SF;fi.inflateGetHeader=vF;fi.inflateSetDictionary=wF;fi.inflateInfo="pako inflate (from Nodeca project)";var nS={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 LF(){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 _F=LF,bo=fi,va=ur,rl=As,Ut=nS,fh=Gh,NF=WT,kF=_F,iS=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 NF,this.strm.avail_out=0;var n=bo.inflateInit2(this.strm,t.windowBits);if(n!==Ut.Z_OK)throw new Error(fh[n]);if(this.header=new kF,bo.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=rl.string2buf(t.dictionary):iS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=bo.inflateSetDictionary(this.strm,t.dictionary),n!==Ut.Z_OK)))throw new Error(fh[n])}Ls.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,l,u,f,m,v,S=!1;if(this.ended)return!1;u=t===~~t?t:t===!0?Ut.Z_FINISH:Ut.Z_NO_FLUSH,typeof e=="string"?n.input=rl.binstring2buf(e):iS.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),l=bo.inflate(n,Ut.Z_NO_FLUSH),l===Ut.Z_NEED_DICT&&r&&(l=bo.inflateSetDictionary(this.strm,r)),l===Ut.Z_BUF_ERROR&&S===!0&&(l=Ut.Z_OK,S=!1),l!==Ut.Z_STREAM_END&&l!==Ut.Z_OK)return this.onEnd(l),this.ended=!0,!1;n.next_out&&(n.avail_out===0||l===Ut.Z_STREAM_END||n.avail_in===0&&(u===Ut.Z_FINISH||u===Ut.Z_SYNC_FLUSH))&&(this.options.to==="string"?(f=rl.utf8border(n.output,n.next_out),m=n.next_out-f,v=rl.buf2string(n.output,f),n.next_out=m,n.avail_out=i-m,m&&va.arraySet(n.output,n.output,f,m,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)&&l!==Ut.Z_STREAM_END);return l===Ut.Z_STREAM_END&&(u=Ut.Z_FINISH),u===Ut.Z_FINISH?(l=bo.inflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===Ut.Z_OK):(u===Ut.Z_SYNC_FLUSH&&(this.onEnd(Ut.Z_OK),n.avail_out=0),!0)};Ls.prototype.onData=function(e){this.chunks.push(e)};Ls.prototype.onEnd=function(e){e===Ut.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 Hh(e,t){var n=new Ls(t);if(n.push(e,!0),n.err)throw n.msg||fh[n.err];return n.result}function OF(e,t){return t=t||{},t.raw=!0,Hh(e,t)}Ra.Inflate=Ls;Ra.inflate=Hh;Ra.inflateRaw=OF;Ra.ungzip=Hh;var EF=ur.assign,CF=Ia,AF=Ra,FF=nS,rS={};EF(rS,CF,AF,FF);var PF=rS,Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.messageAssert=Jt.messageError=Jt.QuickTypeError=void 0;const IF={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 sS extends Error{constructor(t,n,i,r){super(i),this.errorMessage=t,this.messageName=n,this.properties=r}}Jt.QuickTypeError=sS;function oS(e,t){const n=IF[e];let i=n;const r=t;for(const l of Object.getOwnPropertyNames(r)){let u=r[l];typeof u=="object"&&typeof u.toString=="function"?u=u.toString():typeof u.message=="string"?u=u.message:typeof u!="string"&&(u=JSON.stringify(u)),i=i.replace("${"+l+"}",u)}throw new sS(n,e,i,r)}Jt.messageError=oS;function MF(e,t,n){if(!e)return oS(t,n)}Jt.messageAssert=MF;const Vh=Symbol.for("yaml.alias"),dh=Symbol.for("yaml.document"),Br=Symbol.for("yaml.map"),aS=Symbol.for("yaml.pair"),nr=Symbol.for("yaml.scalar"),Ao=Symbol.for("yaml.seq"),$n=Symbol.for("yaml.node.type"),qr=e=>!!e&&typeof e=="object"&&e[$n]===Vh,Fs=e=>!!e&&typeof e=="object"&&e[$n]===dh,Ps=e=>!!e&&typeof e=="object"&&e[$n]===Br,kt=e=>!!e&&typeof e=="object"&&e[$n]===aS,wt=e=>!!e&&typeof e=="object"&&e[$n]===nr,Is=e=>!!e&&typeof e=="object"&&e[$n]===Ao;function Ct(e){if(e&&typeof e=="object")switch(e[$n]){case Br:case Ao:return!0}return!1}function Rt(e){if(e&&typeof e=="object")switch(e[$n]){case Vh:case Br:case nr:case Ao:return!0}return!1}const jF=e=>(wt(e)||Ct(e))&&!!e.anchor,Sn=Symbol("break visit"),uS=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=uS;ir.REMOVE=Ai;function co(e,t,n,i){const r=cS(e,t,n,i);if(Rt(r)||kt(r))return fS(e,i,r),co(e,r,n,i);if(typeof r!="symbol"){if(Ct(t)){i=Object.freeze(i.concat(t));for(let l=0;l<t.items.length;++l){const u=co(l,t.items[l],n,i);if(typeof u=="number")l=u-1;else{if(u===Sn)return Sn;u===Ai&&(t.items.splice(l,1),l-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const l=co("key",t.key,n,i);if(l===Sn)return Sn;l===Ai&&(t.key=null);const u=co("value",t.value,n,i);if(u===Sn)return Sn;u===Ai&&(t.value=null)}}return r}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=uS;Ba.REMOVE=Ai;async function fo(e,t,n,i){const r=await cS(e,t,n,i);if(Rt(r)||kt(r))return fS(e,i,r),fo(e,r,n,i);if(typeof r!="symbol"){if(Ct(t)){i=Object.freeze(i.concat(t));for(let l=0;l<t.items.length;++l){const u=await fo(l,t.items[l],n,i);if(typeof u=="number")l=u-1;else{if(u===Sn)return Sn;u===Ai&&(t.items.splice(l,1),l-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const l=await fo("key",t.key,n,i);if(l===Sn)return Sn;l===Ai&&(t.key=null);const u=await fo("value",t.value,n,i);if(u===Sn)return Sn;u===Ai&&(t.value=null)}}return r}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 cS(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(qr(t))return n.Alias?.(e,t,i)}function fS(e,t,n){const i=t[t.length-1];if(Ct(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 r=qr(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}const RF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},BF=e=>e.replace(/[!,[\]{}]/g,t=>RF[t]);class ln{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ln.defaultYaml,t),this.tags=Object.assign({},ln.defaultTags,n)}clone(){const t=new ln(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ln(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ln.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ln.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ln.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ln.defaultTags),this.atNextDocument=!1);const i=t.trim().split(/[ \t]+/),r=i.shift();switch(r){case"%TAG":{if(i.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[l,u]=i;return this.tags[l]=u,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[l]=i;if(l==="1.1"||l==="1.2")return this.yaml.version=l,!0;{const u=/^\d+\.\d+$/.test(l);return n(6,`Unsupported YAML version ${l}`,u),!1}}default:return n(0,`Unknown directive ${r}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const u=t.slice(2,-1);return u==="!"||u==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),u)}const[,i,r]=t.match(/^(.*!)([^!]*)$/s);r||n(`The ${t} tag has no suffix`);const l=this.tags[i];if(l)try{return l+decodeURIComponent(r)}catch(u){return n(String(u)),null}return 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+BF(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 r;if(t&&i.length>0&&Rt(t.contents)){const l={};ir(t.contents,(u,f)=>{Rt(f)&&f.tag&&(l[f.tag]=!0)}),r=Object.keys(l)}else r=[];for(const[l,u]of i)l==="!!"&&u==="tag:yaml.org,2002:"||(!t||r.some(f=>f.startsWith(u)))&&n.push(`%TAG ${l} ${u}`);return n.join(`
|
|
2
2
|
`)}}ln.defaultYaml={explicit:!1,version:"1.2"};ln.defaultTags={"!!":"tag:yaml.org,2002:"};function dS(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 hS(e){const t=new Set;return ir(e,{Value(n,i){i.anchor&&t.add(i.anchor)}}),t}function pS(e,t){for(let n=1;;++n){const i=`${e}${n}`;if(!t.has(i))return i}}function DF(e,t){const n=[],i=new Map;let r=null;return{onAnchor:l=>{n.push(l),r||(r=hS(e));const u=pS(t,r);return r.add(u),u},setAnchors:()=>{for(const l of n){const u=i.get(l);if(typeof u=="object"&&u.anchor&&(wt(u.node)||Ct(u.node)))u.node.anchor=u.anchor;else{const f=new Error("Failed to resolve repeated object (this should not happen)");throw f.source=l,f}}},sourceObjects:i}}function ho(e,t,n,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let r=0,l=i.length;r<l;++r){const u=i[r],f=ho(e,i,String(r),u);f===void 0?delete i[r]:f!==u&&(i[r]=f)}else if(i instanceof Map)for(const r of Array.from(i.keys())){const l=i.get(r),u=ho(e,i,r,l);u===void 0?i.delete(r):u!==l&&i.set(r,u)}else if(i instanceof Set)for(const r of Array.from(i)){const l=ho(e,i,r,r);l===void 0?i.delete(r):l!==r&&(i.delete(r),i.add(l))}else for(const[r,l]of Object.entries(i)){const u=ho(e,i,r,l);u===void 0?delete i[r]:u!==l&&(i[r]=u)}return e.call(t,n,i)}function Xn(e,t,n){if(Array.isArray(e))return e.map((i,r)=>Xn(i,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!jF(e))return e.toJSON(t,n);const i={aliasCount:0,count:1,res:void 0};n.anchors.set(e,i),n.onCreate=l=>{i.res=l,delete n.onCreate};const r=e.toJSON(t,n);return n.onCreate&&n.onCreate(r),r}return typeof e=="bigint"&&!n?.keep?Number(e):e}class Kh{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:r,reviver:l}={}){if(!Fs(t))throw new TypeError("A document argument is required");const u={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},f=Xn(this,"",u);if(typeof r=="function")for(const{count:m,res:v}of u.anchors.values())r(v,m);return typeof l=="function"?ho(l,{"":f},"",f):f}}class Da extends Kh{constructor(t){super(Vh),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,r)=>{if(r===this)return ir.BREAK;r.anchor===this.source&&(n=r)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:i,doc:r,maxAliasCount:l}=n,u=this.resolve(r);if(!u){const m=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(m)}let f=i.get(u);if(f||(Xn(u,null,n),f=i.get(u)),!f||f.res===void 0){const m="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(m)}if(l>=0&&(f.count+=1,f.aliasCount===0&&(f.aliasCount=sl(r,u,i)),f.count*f.aliasCount>l)){const m="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(m)}return f.res}toString(t,n,i){const r=`*${this.source}`;if(t){if(dS(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(l)}if(t.implicitKey)return`${r} `}return r}}function sl(e,t,n){if(qr(t)){const i=t.resolve(e),r=n&&i&&n.get(i);return r?r.count*r.aliasCount:0}else if(Ct(t)){let i=0;for(const r of t.items){const l=sl(e,r,n);l>i&&(i=l)}return i}else if(kt(t)){const i=sl(e,t.key,n),r=sl(e,t.value,n);return Math.max(i,r)}return 1}const mS=e=>!e||typeof e!="function"&&typeof e!="object";class Qe extends Kh{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)}}Qe.BLOCK_FOLDED="BLOCK_FOLDED";Qe.BLOCK_LITERAL="BLOCK_LITERAL";Qe.PLAIN="PLAIN";Qe.QUOTE_DOUBLE="QUOTE_DOUBLE";Qe.QUOTE_SINGLE="QUOTE_SINGLE";const xF="tag:yaml.org,2002:";function UF(e,t,n){if(t){const i=n.filter(l=>l.tag===t),r=i.find(l=>!l.format)??i[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(i=>i.identify?.(e)&&!i.format)}function Ca(e,t,n){if(Fs(e)&&(e=e.contents),Rt(e))return e;if(kt(e)){const C=n.schema[Br].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:r,onTagObj:l,schema:u,sourceObjects:f}=n;let m;if(i&&e&&typeof e=="object"){if(m=f.get(e),m)return m.anchor||(m.anchor=r(e)),new Da(m.anchor);m={anchor:null,node:null},f.set(e,m)}t?.startsWith("!!")&&(t=xF+t.slice(2));let v=UF(e,t,u.tags);if(!v){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const C=new Qe(e);return m&&(m.node=C),C}v=e instanceof Map?u[Br]:Symbol.iterator in Object(e)?u[Ao]:u[Br]}l&&(l(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 Qe(e);return t?S.tag=t:v.default||(S.tag=v.tag),m&&(m.node=S),S}function Tl(e,t,n){let i=n;for(let r=t.length-1;r>=0;--r){const l=t[r];if(typeof l=="number"&&Number.isInteger(l)&&l>=0){const u=[];u[l]=i,i=u}else i=new Map([[l,i]])}return Ca(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 da=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class jl extends Kh{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(da(t))this.add(n);else{const[i,...r]=t,l=this.get(i,!0);if(Ct(l))l.addIn(r,n);else if(l===void 0&&this.schema)this.set(i,Tl(this.schema,r,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}deleteIn(t){const[n,...i]=t;if(i.length===0)return this.delete(n);const r=this.get(n,!0);if(Ct(r))return r.deleteIn(i);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}getIn(t,n){const[i,...r]=t,l=this.get(i,!0);return r.length===0?!n&&wt(l)?l.value:l:Ct(l)?l.getIn(r,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 r=this.get(n,!0);return Ct(r)?r.hasIn(i):!1}setIn(t,n){const[i,...r]=t;if(r.length===0)this.set(i,n);else{const l=this.get(i,!0);if(Ct(l))l.setIn(r,n);else if(l===void 0&&this.schema)this.set(i,Tl(this.schema,r,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}}jl.maxFlowStringSingleLineLength=60;const zF=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Yi(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Mr=(e,t,n)=>e.endsWith(`
|
|
3
3
|
`)?Yi(n,t):n.includes(`
|
|
4
4
|
`)?`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as i,s as a,o as r,m as n,k as e,t as s,y as l,z as d}from"./
|
|
1
|
+
import{q as i,s as a,o as r,m as n,k as e,t as s,y as l,z as d}from"./CgqO_dPK.js";const c=t=>(l("data-v-a83eb86a"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},m=["textContent"],g=["textContent"],b={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(x,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},y=i(b,[["__scopeId","data-v-a83eb86a"]]);export{y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as P,a as I,r as V,o,m as s,k as e,F as _,n as j,G as S,f as t,t as p,p as b,H as U,i as u,j as r,v as f,I as A,J as D,K as X,L as F,M as E,_ as G,N as q,O as ee,P as ne,Q as te,R as oe,S as le,U as ie,V as se,W as C,h as z,l as R,X as ae,Y as re,Z as ue,A as de}from"./
|
|
1
|
+
import{d as P,a as I,r as V,o,m as s,k as e,F as _,n as j,G as S,f as t,t as p,p as b,H as U,i as u,j as r,v as f,I as A,J as D,K as X,L as F,M as E,_ as G,N as q,O as ee,P as ne,Q as te,R as oe,S as le,U as ie,V as se,W as C,h as z,l as R,X as ae,Y as re,Z as ue,A as de}from"./CgqO_dPK.js";import{_ as ce}from"./h5yVVie-.js";import{_ as me}from"./CfWZksSX.js";import{_ as _e}from"./B1Qvv_W6.js";import{_ as pe}from"./Br83zsHb.js";import"./B_BLxwpg.js";const fe={"h-full":"",grid:"~ rows-[max-content_1fr]"},ve={flex:"~ wrap","w-full":""},he=["onClick"],ye=e("div",{border:"b base","flex-auto":""},null,-1),be={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},$e=e("div",{"flex-auto":""},null,-1),ge={grid:"~ cols-[30px_1fr] gap-x-2 gap-y-3 items-center justify-center","w-100":""},xe=e("div",{"i-carbon-commit":"","text-xl":""},null,-1),we=e("div",{"text-sm":"",op50:""}," Name ",-1),ze=e("div",{"i-carbon-time":"","text-xl":""},null,-1),Be=e("div",{"text-sm":"",op50:""}," Build duration ",-1),Ce=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),ke=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ne=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Te=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Ae=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),De=e("div",{"text-sm":"",op50:""}," Built ",-1),Ie=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ve=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Se=e("div",{"flex-auto":""},null,-1),Fe=P({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(k){const v=k,g=`${X().app.baseURL}/__nuxt_devtools__/analyze/`.replace(/\/+/g,"/"),x=I(()=>{const n=[{name:"Overview",id:"overview"}];return v.current.features.bundleClient&&n.push({name:"Client Bundle",id:"bundle-client"}),v.current.features.bundleNitro&&n.push({name:"Nitro Bundle",id:"bundle-nitro"}),v.current.features.viteInspect&&n.push({name:"Vite Inspect",id:"vite-inspect"}),n}),i=V(x.value[0]);function h(n){return n<1024?`${n}B`:n<1024*1024?`${(n/1024).toFixed(1)}KB`:n<1024*1024*1024?`${(n/1024/1024).toFixed(1)}MB`:`${(n/1024/1024/1024).toFixed(1)}GB`}function d(n){return`${((n.endTime-n.startTime)/1e3).toFixed(1)}s`}async function N(n){return F.clearAnalyzeBuilds(await E(),[n])}return(n,c)=>{const B=ce,T=G;return o(),s("div",fe,[e("div",ve,[(o(!0),s(_,null,j(t(x),(l,m)=>(o(),s("button",{key:m,px4:"",py2:"",border:"r base",hover:"bg-active",class:S(l.id===t(i).id?"":"border-b"),onClick:w=>i.value=l},[e("div",{class:S(l.id===t(i).id?"":"op30")},p(l.name),3)],10,he))),128)),ye]),t(i).id==="overview"?(o(),s("div",be,[$e,e("div",ge,[xe,e("div",null,[we,e("div",null,p(n.current.name),1)]),ze,e("div",null,[Be,e("div",null,p(d(n.current)),1)]),n.current.size?.clientBundle?(o(),s(_,{key:0},[Ce,e("div",null,[ke,e("div",null,p(h(n.current.size.clientBundle)),1)])],64)):b("",!0),n.current.size.nitroBundle?(o(),s(_,{key:1},[Ne,e("div",null,[Te,e("div",null,p(h(n.current.size.nitroBundle)),1)])],64)):b("",!0),Ae,e("div",null,[De,e("div",null,p(t(U)(new Date(n.current.endTime))),1)]),Ie,e("div",null,[Ve,u(B,{filepath:n.current.analyzeDir},null,8,["filepath"])])]),Se,u(T,{n:"rose",icon:"carbon-delete",onClick:c[0]||(c[0]=l=>N(n.current.name))},{default:r(()=>[f(" Delete this report ")]),_:1})])):b("",!0),c._lazyshow1||t(i).id==="bundle-client"?(c._lazyshow1=!0,o(),s(_,null,[A(e("iframe",{src:`${t(g)}${n.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,t(i).id==="bundle-client"]])],64)):b("v-show-if",!0),c._lazyshow2||t(i).id==="bundle-nitro"?(c._lazyshow2=!0,o(),s(_,null,[A(e("iframe",{src:`${t(g)}${n.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,t(i).id==="bundle-nitro"]])],64)):b("v-show-if",!0),c._lazyshow3||t(i).id==="vite-inspect"?(c._lazyshow3=!0,o(),s(_,null,[A(e("iframe",{src:`${t(g)}${n.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,t(i).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Re={class:"markdown-body"},Pe=e("h1",null,"Build Analyze",-1),je=e("p",null,[f("DevTools provides a build analyze tool to help you understand the size of your app in production. Whenever you start a new build, it runs the command "),e("code",null,"nuxt build --analyze"),f(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),Ue=[Pe,je],Ee={__name:"analyze-build",setup(k,{expose:v}){return v({frontmatter:{}}),(g,x)=>(o(),s("div",Re,Ue))}},Ge={flex:"~ col"},Le=["onClick"],Oe={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},He=e("div",{"i-carbon-time":""},null,-1),Ke=e("div",{"flex-auto":""},null,-1),Me=e("div",{"x-divider":""},null,-1),We={flex:"~ items-center justify-center wrap",p4:""},Ye={flex:"~ col gap-1","w-250":"",p4:""},Ze=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),Je=e("p",{op50:""}," Enter the name of the build: ",-1),Qe=e("div",{my3:"","x-divider":""},null,-1),Xe=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),qe={flex:"~ gap-3",mt2:"","justify-end":""},an=P({__name:"analyze-build",setup(k){const v=q(),$=ee(),g=ne(),x=te("analyze-build:slug",""),i=I(()=>$.value?.builds.find(l=>l.slug===x.value)??$.value?.builds[0]),h=V(!1),d=V(""),N=I(()=>$.value?.builds.some(l=>l.name===d.value.trim()));async function n(){d.value=await F.generateAnalyzeBuildName(),await v.start()&&(se("analyze-build:start"),C.value={name:d.value,processId:await F.startAnalyzeBuild(await E(),d.value)},h.value&&B())}const c=oe();function B(){C.value?.processId&&(c.value=C.value.processId,g.push("/modules/terminals"))}function T(l){return`${((l.endTime-l.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:n}]),(l,m)=>{const w=G,L=Fe,O=de,H=ie,K=ae,M=re,W=me,Y=_e,Z=ue,J=Ee,Q=pe;return o(),s(_,null,[u(H,{"left-size":30},{left:r(()=>[e("div",Ge,[(o(!0),s(_,null,j(t($)?.builds,a=>(o(),s(_,{key:a.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:S(a.slug===t(i)?.slug?"text-primary bg-active":""),onClick:y=>x.value=a.slug},[e("code",null,p(a.name),1),e("div",Oe,[He,e("span",null,p(T(a)),1),Ke,e("span",null,p(t(U)(new Date(a.endTime))),1)])],10,Le),Me],64))),128)),e("div",We,[("processAnalyzeBuildInfo"in l?l.processAnalyzeBuildInfo:t(C))?(o(),z(w,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:m[1]||(m[1]=a=>B())},{default:r(()=>[f(" Building... ")]),_:1})):(o(),z(w,{key:0,n:"primary",icon:"carbon-edge-node",onClick:m[0]||(m[0]=a=>n())},{default:r(()=>[f(" Start a new build ")]),_:1}))])])]),right:r(()=>[t(i)?(o(),z(L,{key:0,current:t(i)},null,8,["current"])):(o(),z(O,{key:1}))]),_:1}),u(t(v),null,{default:r(({resolve:a})=>[u(Z,{"model-value":!0,onClose:y=>a(!1)},{default:r(()=>[e("div",Ye,[Ze,Je,u(K,{modelValue:t(d),"onUpdate:modelValue":m[2]||(m[2]=y=>R(d)?d.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),t(N)?(o(),z(M,{key:0,"n-orange":""},{default:r(()=>[f(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Qe,Xe,u(W,{code:`npx nuxi analyze --no-serve --name=${t(d)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),u(Y,{modelValue:t(h),"onUpdate:modelValue":m[3]||(m[3]=y=>R(h)?h.value=y:null),mt2:"",n:"primary"},{default:r(()=>[f(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",qe,[u(w,{onClick:y=>a(!1)},{default:r(()=>[f(" Cancel ")]),_:2},1032,["onClick"]),u(w,{n:"solid primary",onClick:y=>a(!0)},{default:r(()=>[f(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),u(Q,null,{default:r(()=>[u(J)]),_:1})],64)}}});export{an as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as C}from"./
|
|
1
|
+
import{_ as C}from"./CfWZksSX.js";import{d as h,bM as S,e as x,a as w,aA as B,o as n,m as s,k as a,F as i,n as N,G as u,f as o,t as $,i as _,j as m,v as f,h as V,p,_ as T}from"./CgqO_dPK.js";const D={key:0,relative:"","n-code-block":""},E={flex:"~ wrap","w-full":""},F=["onClick"],L=a("div",{border:"b base","flex-auto":""},null,-1),j={flex:"~ gap-2",px3:"",pb3:"",n:"sm primary"},M=h({__name:"CodeSnippets",props:{codeSnippets:{},eventType:{}},setup(v){const c=v,e=S(c.codeSnippets[0]),b=x(),k=w(()=>e.value?.lang||"text");return B(()=>{c.codeSnippets.includes(e.value)||(e.value=c.codeSnippets[0])}),(l,r)=>{const y=C,d=T;return l.codeSnippets.length?(n(),s("div",D,[a("div",E,[(n(!0),s(i,null,N(l.codeSnippets,(t,g)=>(n(),s("button",{key:g,px4:"",py2:"",border:"r base",hover:"bg-active",class:u(t===o(e)?"":"border-b"),onClick:z=>e.value=t},[a("div",{class:u(t===o(e)?"":"op30"),"font-mono":""},$(t.name),3)],10,F))),128)),L]),o(e)?(n(),s(i,{key:0},[_(y,{code:o(e).code,lang:o(k),lines:!1,"w-full":"","of-auto":"",p3:""},null,8,["code","lang"]),a("div",j,[_(d,{icon:"carbon-copy",onClick:r[0]||(r[0]=t=>o(b)(o(e).code,l.eventType||`code-snippet-${o(e).name}`))},{default:m(()=>[f(" Copy ")]),_:1}),o(e)?.docs?(n(),V(d,{key:0,to:o(e).docs,target:"_blank",icon:"carbon-catalog"},{default:m(()=>[f(" Docs ")]),_:1},8,["to"])):p("",!0)])],64)):p("",!0)])):p("",!0)}}});export{M as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as v}from"./
|
|
1
|
+
import{_ as v}from"./MadyLOQV.js";import{_ as x}from"./BrC6rypa.js";import{o as r,m as u,k as e,v as m,d as y,av as C,bC as b,a as d,f as i,i as t,j as a,p as k,F as w}from"./CgqO_dPK.js";import{_ as N}from"./Br83zsHb.js";import"./B3w9ZjT2.js";import"./D9sigLWP.js";import"./BUdaSSAW.js";const R={class:"markdown-body"},T=e("h1",null,"Runtime Configs",-1),B=e("p",null,"Nuxt provides a runtime config API to expose configuration within your application and server routes, with the ability to update it at runtime by setting environment variables.",-1),V=e("p",null,[m("In Nuxt DevTools, the editor allows you to edit the runtime config temporarily to see how the changes affect your application. To update them, you might want to update your "),e("code",null,"nuxt.config.js"),m(" file, or check more details in the documentation.")],-1),$=e("p",null,[e("a",{href:"https://nuxt.com/docs/guide/going-further/runtime-config",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),D=[T,B,V,$],F={__name:"runtime-configs",setup(f,{expose:o}){return o({frontmatter:{}}),(p,_)=>(r(),u("div",R,D))}},P={key:0},z=y({__name:"runtime-configs",setup(f){const o=C(),l=b(),p=d(()=>o.value?.nuxt.payload),_=d(()=>{const n={...l.value};return delete n.public,delete n.app,n});return(n,S)=>{const s=v,c=x,g=F,h=N;return r(),u(w,null,[i(o)?(r(),u("div",P,[t(c,{icon:"carbon-settings-services",text:"App Config",padding:!1},{default:a(()=>[t(s,{state:i(o).app.appConfig},null,8,["state"])]),_:1}),t(c,{icon:"carbon-settings",text:"Public Runtime Config",padding:!1},{default:a(()=>[t(s,{state:i(p).config?.public},null,8,["state"])]),_:1}),t(c,{icon:"i-carbon-code-signing-service",text:"Private Runtime Config",open:!1,padding:!1,description:"These values are not exposed to the client. Readonly in the DevTools."},{default:a(()=>[t(s,{state:i(_),readonly:""},null,8,["state"])]),_:1})])):k("",!0),t(h,null,{default:a(()=>[t(g)]),_:1})],64)}}});export{z as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as B,a as w,aI as W,o as t,m as c,k as s,a9 as T,f as l,t as k,ad as z,F as f,n as E,h as y,r as C,w as U,az as Y,a1 as j,bU as q,p as x,i as m,G as O,q as K,e as Z,aq as P,j as v,au as X,v as F,_ as G,aK as Q,av as ee,b0 as se,bV as te,ab as ne,N as oe,ac as ae,A as le,L as R,a5 as ie,Z as re}from"./rxQ7aZDp.js";import{_ as M}from"./vjZETg4l.js";import{_ as H}from"./CfHFjL7B.js";import{_ as ce}from"./DyyV4TBn.js";import{U as pe}from"./DYga3iFw.js";import{_ as de}from"./DAHuBrvD.js";import{_ as ue}from"./B2r_b20K.js";import{_ as me}from"./E5bzeklK.js";import{_ as ke}from"./C4xQldoj.js";import{_ as he}from"./BJ340BMQ.js";import{_ as _e}from"./c4U6bssZ.js";import"./C8s0xKxd.js";import"./DGRvMt5e.js";import"./DfQ7hiV2.js";import"./BcJws1i5.js";import"./bXdL5_p6.js";const fe=B({__name:"TimelineItemFunction",props:{item:{}},setup(_){const d=_,p=w(()=>W(d.item.name,50,60,"_op_")),e=w(()=>p.value.replace(/_op_/,"1")),o=w(()=>W(d.item.name,50,40)),i=w(()=>p.value.replace(/_op_/,"0.2"));return(n,a)=>(t(),c("button",{class:"group",style:T({color:l(e),borderLeft:`2px solid ${l(e)}`}),relative:"","text-sm":"",transition:"","hover:z-1000":"","bg-base":""},[s("div",{style:T({backgroundColor:l(i)}),absolute:"","bottom-0":"","left--1px":"","top-0":"","w-full":"","text-sm":"","transition-all":"","duration-300":""},null,4),s("div",{style:T({color:l(o),"--c":l(e)}),border:"r-2 t-2 y-2 transparent","min-w-max":"",px1:"","text-left":"","group-hover":"border-$c"},k(n.item.name),5)],4))}}),ye={relative:"","h-full":""},ve={absolute:"","left-2":"","top-2.3em":"","text-xs":"",op50:""},be=B({__name:"TimelineSegment",props:{segment:{}},emits:["select"],setup(_,{emit:d}){const p=_,e=d,o=z(()=>p.segment.start,{updateInterval:1e3,showSecond:!0,controls:!1,messages:{justNow:"",past:i=>i,future:i=>i,invalid:"-",second:i=>i?`${i}s`:"",minute:i=>`${i}m`,hour:i=>`${i}h`,week:i=>`${i}w`,day:i=>`${i}d`,month:i=>`${i}mo`,year:i=>`${i}y`}});return(i,n)=>{const a=fe;return t(),c("div",ye,[s("button",{absolute:"","left-0":"","right-0":"","top-0":"","bg-green:5":"",px2:"",py1:"","text-left":"","text-xs":"","text-green6":"","font-mono":"",onClick:n[0]||(n[0]=r=>i.segment.route?e("select",i.segment.route):void 0)},k(i.segment.route?.event.to),1),s("div",ve,k(l(o))+" ago ",1),s("div",null,[(t(!0),c(f,null,E(i.segment.functions,(r,u)=>(t(),y(a,{key:u,item:r.event,style:T({position:"absolute",minWidth:`${r.relativeWidth*100}%`,maxWidth:`${r.relativeWidth*100}%`,top:`${4+r.layer*1.6}em`,left:`${r.relativeStart*100}%`}),onClick:h=>e("select",r)},null,8,["item","style","onClick"]))),128))])])}}}),ge=3e3,xe=50;function $e(_){const d=[];let p={start:0,end:0,events:[],functions:[],duration:0};for(const e of _){const o=e.end||e.start;(e.start-p.end>ge||e.type==="route")&&(p={start:e.start,end:o,events:[],functions:[],duration:0},d.push(p)),p.events.push(e),p.end=o+xe}return d.forEach((e,o)=>{const i=e.end-e.start,n=[];e.duration=i,e.previousGap=o>0?e.start-d[o-1].end:0,e.events.forEach(a=>{const r=a.end||a.start;let u=0;a.type!=="route"&&(u=n.findIndex($=>$<=a.start),u===-1?(u=n.length,n.push(r+1e3)):n[u]=r+1e3);const h={event:a,segment:e,relativeStart:(a.start-e.start)/i,relativeWidth:(r-a.start)/i,layer:u};a.type==="function"?e.functions.push(h):e.route=h})}),d}const Ae={relative:""},De={key:0,border:"x base","h-full":"","flex-inline":"","bg-true-gray-1":"",py15:"","text-xs":"","write-vertical-left":"",op50:"","dark:bg-true-gray-9":""},Ce=B({__name:"TimelineTable",props:{data:{}},emits:["select"],setup(_,{emit:d}){const p=_,e=d,o=C(),i=C(),n=C(),a=C(),r=C(!0),u=C(1.5),h=w(()=>$e(p.data.events)),$=w(()=>(p.data.events.length,o.value?.scrollWidth||window.innerWidth));function A(){a.value&&(a.value.style.width=`${$.value}px`)}function S(){r.value&&o.value&&(o.value.scrollTo({left:o.value.scrollWidth-o.value.clientWidth,behavior:"smooth"}),n.value.scrollTo({left:o.value.scrollWidth-o.value.clientWidth,behavior:"smooth"}))}return U(()=>p.data.events.length,async()=>{await Y(),A(),S()},{flush:"post"}),j(o,"scroll",()=>{n.value.scrollLeft!==o.value.scrollLeft&&(A(),n.value.scrollLeft=o.value.scrollLeft,r.value=o.value.scrollLeft>=o.value.scrollWidth-o.value.clientWidth)}),j(n,"scroll",()=>{n.value.scrollLeft!==o.value.scrollLeft&&(A(),o.value.scrollLeft=n.value.scrollLeft)}),j(o,"wheel",b=>{b.altKey?(u.value=q(u.value+b.deltaY/200,.5,3),A()):o.value.scrollLeft+=b.deltaY}),(b,L)=>{const D=M,V=be;return t(),c(f,null,[s("div",Ae,[s("div",{ref_key:"minimap",ref:i,border:"t b base",relative:"","h-50px":"","ws-nowrap":"","border-base":""},[(t(!0),c(f,null,E(l(h),(g,N)=>(t(),c("div",{key:N,relative:"","h-full":"","flex-inline":"",style:T({width:`${Math.max(100,g.duration/10)/l($)*100}%`})},[(t(!0),c(f,null,E(g.functions,(I,J)=>(t(),c("div",{key:J,"h-3px":"",rounded:"",style:T({width:`max(${I.relativeWidth*100}%, 10px)`,position:"absolute",top:`${I.layer*4}px`,left:`${I.relativeStart*100}%`,backgroundColor:("getHashColorFromString"in b?b.getHashColorFromString:l(W))(I.event.name,50,60)})},null,4))),128)),g.route?(t(),c("div",{key:0,absolute:"","top-0":"","h-full":"","w-px":"","border-l":"","border-green6":"",op10:"",style:T({left:`${g.route.relativeStart*100}%`})},null,4)):x("",!0)],4))),128))],512),s("div",{ref_key:"minimapScroller",ref:n,class:"timeline-scroller",absolute:"","inset-0":"","h-full":"","w-full":"","of-x-scroll":""},[s("div",{ref_key:"minimapScrollerInner",ref:a,"h-1px":""},null,512)],512)]),s("div",{ref_key:"scroller",ref:o,relative:"","h-full":"","w-full":"","of-x-scroll":"","of-y-hidden":"","ws-nowrap":"","n-panel-grids":""},[(t(!0),c(f,null,E(l(h),(g,N)=>(t(),c(f,{key:N},[g.previousGap&&g.previousGap>=200?(t(),c("div",De,[m(D,{op50:"",duration:g.previousGap,color:!1},null,8,["duration"])])):x("",!0),m(V,{"flex-inline":"","of-x-hidden":"","hover:of-x-visible":"","bg-base":"",class:O(N===l(h).length-1?"border-r border-base":""),segment:g,style:T({width:`${Math.max(50,g.duration/10)*l(u)}px`}),onSelect:L[0]||(L[0]=I=>e("select",I))},null,8,["class","segment","style"])],64))),128))],512)],64)}}}),Be=K(Ce,[["__scopeId","data-v-27e8fb2d"]]),we={border:"t base",flex:"~ col","h-full":"","of-y-auto":"","text-sm":""},Te=["onClick"],Se=s("div",{"i-carbon-function":"",op50:""},null,-1),Ne={flex:"~","ml--1":"","font-mono":""},Fe=s("div",{op30:""}," ( ",-1),Ee={key:0,mr2:"",op30:""},Le={op75:""},Ie=s("div",{op30:""}," ) ",-1),Ve=s("div",{"mr-1":"","h-7":"","w-7":"",flex:"","rounded-lg":"","bg-primary:5":"",p1:"","text-green6":""},[s("div",{"i-carbon-direction-rotary-right":"",ma:"","text-lg":""})],-1),We={flex:"~ col items-start"},Me={"text-xs":"","font-mono":"",op30:""},je={"text-green":"","font-bold":"","font-mono":""},ze=s("div",{"flex-auto":""},null,-1),Oe=s("div",{"min-h-100":""},null,-1),Ge=B({__name:"TimelineList",props:{data:{}},emits:["select"],setup(_,{emit:d}){const p=d;return(e,o)=>{const i=M;return t(),c("div",we,[(t(!0),c(f,null,E(e.data.events,(n,a)=>(t(),c("button",{key:a,border:"b base",px3:"",py2:"",flex:"~ items-center gap-2",hover:"bg-active",onClick:r=>p("select",n)},[n.type==="function"?(t(),c(f,{key:0},[Se,s("div",{"font-mono":"",style:T({color:n.type==="function"?("getHashColorFromString"in e?e.getHashColorFromString:l(W))(n.name,50,60):""})},k(n.name),5),s("div",Ne,[Fe,(t(!0),c(f,null,E(n.args,(r,u)=>(t(),c(f,{key:u},[u?(t(),c("div",Ee," , ")):x("",!0),s("div",Le,k(r===null?"null":r===void 0?"undefined":typeof r=="function"?"[function]":Array.isArray(r)?"[Array]":typeof r=="object"?"[object]":JSON.stringify(r)),1)],64))),128)),Ie])],64)):(t(),c(f,{key:1},[Ve,s("div",We,[s("div",Me,k(n.from),1),s("div",je,k(n.to),1)])],64)),ze,n.end?(t(),y(i,{key:2,duration:n.end-n.start,color:n.type==="function"},null,8,["duration","color"])):x("",!0)],8,Te))),128)),Oe])}}}),Re={key:0,"text-blue":""},Pe={key:1,"text-purple":""},He={key:2,"text-green":""},Je={key:3,"text-gray":""},Ue={key:4,"text-gray":""},Ye={key:5,"text-gray":""},qe={key:0,"bg-red:10":"",px2:"",py1:"","text-red":""},Ke={key:1},Ze={p2:"","text-sm":"",border:"t base"},Xe=B({__name:"TimelineArgumentView",props:{value:{}},setup(_){const d=_,p=C(),e=C();function o(){try{p.value=JSON.parse(JSON.stringify(d.value))}catch(a){console.error(a),e.value=a}}const i=B({emits:["setup"],setup(a,{emit:r}){return r("setup"),()=>null}}),n=Z();return(a,r)=>{const u=G,h=P("VMenu");return typeof a.value=="string"?(t(),c("div",Re,k(JSON.stringify(a.value)),1)):typeof a.value=="number"?(t(),c("div",Pe,k(a.value),1)):typeof a.value=="boolean"?(t(),c("div",He,k(a.value),1)):typeof a.value>"u"?(t(),c("div",Je," undefined ")):typeof a.value=="function"?(t(),c("div",Ue," [Function"+k(a.value.name?`: ${a.value.name}`:"")+"] ",1)):a.value===null?(t(),c("div",Ye," null ")):(t(),y(h,{key:6,placement:"top"},{popper:v(()=>[m(l(i),{onSetup:o}),l(e)?(t(),c("div",qe," Failed to display object: "+k(l(e)),1)):l(p)?(t(),c("div",Ke,[m(l(pe),X({"model-value":l(p)},a.$attrs,{class:["json-editor-vue",[a.$colorMode.value==="dark"?"jse-theme-dark":""]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":!0,indentation:2,"tab-size":2}),null,16,["model-value","class"]),s("div",Ze,[m(u,{title:"Copy to clipboard",icon:"carbon-copy",onClick:r[0]||(r[0]=$=>l(n)(JSON.stringify(l(p),null,2),"timeline-argument"))},{default:v(()=>[F(" Copy ")]),_:1})])])):x("",!0)]),default:v(()=>[s("span",{"rounded-sm":"",px1:"","py0.5":"","text-sm":"",class:O([Array.isArray(a.value)?"text-amber bg-amber:10":"text-orange bg-orange:10"])},k(Array.isArray(a.value)?`[Array(${a.value.length})]`:"[Object]"),3)]),_:1}))}}}),Qe={key:0,"p-4":"",flex:"~ col gap-2","text-base":""},es={"mx--1":""},ss={flex:"~ gap-1","font-mono":""},ts={key:1},ns=s("span",{ml1:"",op30:""},"(",-1),os={key:0,op30:""},as=s("span",{op30:""},")",-1),ls={flex:"~ gap-1","text-sm":""},is=s("span",{mx1:"",op50:""},"·",-1),rs={class:"text-sm text-gray-400"},cs=B({__name:"TimelineDetailsFunction",props:{record:{}},setup(_){const d=_,p=z(()=>d.record.start,{showSecond:!0}),e=Q(),o=w(()=>e.value?.metadata),i=w(()=>e.value?.imports.find(n=>n.as===d.record.name));return(n,a)=>{const r=H,u=ce,h=Xe,$=M,A=de;return n.record?(t(),c("div",Qe,[s("div",es,[m(r,{n:"yellow",textContent:"Function call"})]),s("div",ss,[l(i)?(t(),y(u,{key:0,item:l(i),metadata:l(o),counter:!1,classes:"px2 py1","mx--2":""},null,8,["item","metadata"])):(t(),c("span",ts,k(n.record.name),1)),ns,(t(!0),c(f,null,E(n.record.args,(S,b)=>(t(),c(f,{key:b},[b?(t(),c("span",os,", ")):x("",!0),m(h,{value:S},null,8,["value"])],64))),128)),as]),s("div",ls,[n.record.end?(t(),y($,{key:0,duration:n.record.end-n.record.start},null,8,["duration"])):x("",!0),is,s("div",rs,k(l(p)),1)]),n.record.stacktrace?(t(),y(A,{key:0,stacktrace:n.record.stacktrace,class:"text-xs text-gray-400"},null,8,["stacktrace"])):x("",!0)])):x("",!0)}}}),ps={key:0,"p-4":"",flex:"~ col gap-2"},ds={"mx--1":""},us={flex:"~ gap-1 items-center","font-mono":""},ms={op50:""},ks=s("span",{"i-carbon-arrow-right":"",op50:""},null,-1),hs={flex:"~ gap-1","text-sm":""},_s=s("span",{mx1:"",op50:""},"·",-1),fs={class:"text-sm text-gray-400"},ys=B({__name:"TimelineDetailsRoute",props:{record:{}},setup(_){const d=_,p=z(()=>d.record.start,{showSecond:!0});return(e,o)=>{const i=H,n=M;return e.record?(t(),c("div",ps,[s("div",ds,[m(i,{n:"green",textContent:"Route Change"})]),s("div",us,[s("span",ms,k(e.record.from),1),ks,s("span",null,k(e.record.to),1)]),s("div",hs,[e.record.end?(t(),y(n,{key:0,duration:e.record.end-e.record.start},null,8,["duration"])):x("",!0),_s,s("div",fs,k(l(p)),1)])])):x("",!0)}}}),vs={key:0,"h-screen":"","of-hidden":""},bs={"h-screen":"","w-full":"",flex:"","flex-col":""},gs={"h-10":"",flex:"~ gap-2 items-center justify-end",p2:"",px3:""},xs={"text-sm":""},$s=s("div",{"flex-auto":""},null,-1),As={"min-h-50":"",px3:"",py2:""},Ds=B({__name:"TimelineView",setup(_){const d=ee(),p=C("table"),e=C(),o=w(()=>d.value?.metrics.clientTimeline());function i(){o.value&&(o.value.events=[])}function n(){p.value=p.value==="table"?"list":"table"}return(a,r)=>{const u=P("VTooltip"),h=G,$=Be,A=Ge,S=cs,b=ys,L=ue;return l(o)?(t(),c("div",vs,[s("div",bs,[s("div",gs,[m(u,{flex:""},{popper:v(()=>[s("div",xs,k(l(o).options.enabled?"Recording...":"Paused"),1)]),default:v(()=>[s("div",{"text-lg":"",class:O(l(o).options.enabled?"i-carbon-radio-button-checked text-primary animate-pulse":"i-carbon-pause-outline op30")},null,2)]),_:1}),l(o).options.enabled?(t(),y(h,{key:1,size:"small",ml1:"","text-sm":"",n:"orange",icon:"i-carbon-stop",onClick:r[1]||(r[1]=D=>l(o).options.enabled=!1)},{default:v(()=>[F(" Stop Tracking ")]),_:1})):(t(),y(h,{key:0,size:"small",ml1:"","text-sm":"",n:"primary",icon:"i-carbon-play",onClick:r[0]||(r[0]=D=>l(o).options.enabled=!0)},{default:v(()=>[F(" Start Tracking ")]),_:1})),$s,m(h,{icon:l(p)==="table"?"i-carbon-roadmap":"i-carbon-list",class:"ml-2",title:"Toggle View",border:!1,onClick:n},null,8,["icon"]),m(h,{icon:"i-carbon-trash-can","hover-text-red":"",class:"ml-2",border:!1,onClick:i})]),l(p)==="table"?(t(),y($,{key:0,data:{...l(o)},onSelect:r[2]||(r[2]=D=>e.value=D.event)},null,8,["data"])):(t(),y(A,{key:1,data:{...l(o)},onSelect:r[3]||(r[3]=D=>e.value=D)},null,8,["data"]))]),m(L,{"model-value":!!l(e),"auto-close":"",transition:"bottom",left:"#nuxt-devtools-side-nav",onClose:r[4]||(r[4]=D=>e.value=void 0)},{default:v(()=>[s("div",As,[l(e)?.type==="function"?(t(),y(S,{key:0,record:l(e)},null,8,["record"])):l(e)?.type==="route"?(t(),y(b,{key:1,record:l(e)},null,8,["record"])):x("",!0)])]),_:1},8,["model-value"])])):x("",!0)}}}),Cs={class:"markdown-body"},Bs=s("h1",null,"Timeline",-1),ws=s("p",null,[s("blockquote",{"text-orange":"","bg-orange:10":"",py1:""}," This is an experimental feature ")],-1),Ts=se(`<p>Timeline tracks your route navigations and functions calls in your Nuxt application. It can be used to debug performance issues and to understand how your application works.</p><h2>Function calls</h2><p>Nuxt DevTools tracks function calls by wrapping them in the build time. It works for functions referenced by auto-imports, or explicit imports through <code>import {} from '#imports'</code>.</p><pre class="shiki shiki-themes vitesse-light vitesse-dark" style="background-color:#ffffff;--shiki-dark-bg:#121212;color:#393a34;--shiki-dark:#dbd7caee;" tabindex="0"><code><span class="line"><span style="color:#999999;--shiki-dark:#666666;"><</span><span style="color:#1E754F;--shiki-dark:#4D9375;">script</span><span style="color:#B07D48;--shiki-dark:#BD976A;"> setup</span><span style="color:#999999;--shiki-dark:#666666;">></span></span>
|
|
1
|
+
import{d as B,a as w,aI as W,o as t,m as c,k as s,a9 as T,f as l,t as k,ad as z,F as f,n as E,h as y,r as C,w as U,az as Y,a1 as j,bU as q,p as x,i as m,G as O,q as K,e as Z,aq as P,j as v,au as X,v as F,_ as G,aK as Q,av as ee,b0 as se,bV as te,ab as ne,N as oe,ac as ae,A as le,L as R,a5 as ie,Z as re}from"./CgqO_dPK.js";import{_ as M}from"./CyTWEZ1C.js";import{_ as H}from"./5gOKvhnM.js";import{_ as ce}from"./ByczdwHV.js";import{U as pe}from"./D9sigLWP.js";import{_ as de}from"./CHgHv_XG.js";import{_ as ue}from"./BflD8-TM.js";import{_ as me}from"./CES52tjx.js";import{_ as ke}from"./DCIMJJMV.js";import{_ as he}from"./BzxmABFR.js";import{_ as _e}from"./Br83zsHb.js";import"./bUZNM7_n.js";import"./B_BLxwpg.js";import"./h5yVVie-.js";import"./BcJws1i5.js";import"./CfWZksSX.js";const fe=B({__name:"TimelineItemFunction",props:{item:{}},setup(_){const d=_,p=w(()=>W(d.item.name,50,60,"_op_")),e=w(()=>p.value.replace(/_op_/,"1")),o=w(()=>W(d.item.name,50,40)),i=w(()=>p.value.replace(/_op_/,"0.2"));return(n,a)=>(t(),c("button",{class:"group",style:T({color:l(e),borderLeft:`2px solid ${l(e)}`}),relative:"","text-sm":"",transition:"","hover:z-1000":"","bg-base":""},[s("div",{style:T({backgroundColor:l(i)}),absolute:"","bottom-0":"","left--1px":"","top-0":"","w-full":"","text-sm":"","transition-all":"","duration-300":""},null,4),s("div",{style:T({color:l(o),"--c":l(e)}),border:"r-2 t-2 y-2 transparent","min-w-max":"",px1:"","text-left":"","group-hover":"border-$c"},k(n.item.name),5)],4))}}),ye={relative:"","h-full":""},ve={absolute:"","left-2":"","top-2.3em":"","text-xs":"",op50:""},be=B({__name:"TimelineSegment",props:{segment:{}},emits:["select"],setup(_,{emit:d}){const p=_,e=d,o=z(()=>p.segment.start,{updateInterval:1e3,showSecond:!0,controls:!1,messages:{justNow:"",past:i=>i,future:i=>i,invalid:"-",second:i=>i?`${i}s`:"",minute:i=>`${i}m`,hour:i=>`${i}h`,week:i=>`${i}w`,day:i=>`${i}d`,month:i=>`${i}mo`,year:i=>`${i}y`}});return(i,n)=>{const a=fe;return t(),c("div",ye,[s("button",{absolute:"","left-0":"","right-0":"","top-0":"","bg-green:5":"",px2:"",py1:"","text-left":"","text-xs":"","text-green6":"","font-mono":"",onClick:n[0]||(n[0]=r=>i.segment.route?e("select",i.segment.route):void 0)},k(i.segment.route?.event.to),1),s("div",ve,k(l(o))+" ago ",1),s("div",null,[(t(!0),c(f,null,E(i.segment.functions,(r,u)=>(t(),y(a,{key:u,item:r.event,style:T({position:"absolute",minWidth:`${r.relativeWidth*100}%`,maxWidth:`${r.relativeWidth*100}%`,top:`${4+r.layer*1.6}em`,left:`${r.relativeStart*100}%`}),onClick:h=>e("select",r)},null,8,["item","style","onClick"]))),128))])])}}}),ge=3e3,xe=50;function $e(_){const d=[];let p={start:0,end:0,events:[],functions:[],duration:0};for(const e of _){const o=e.end||e.start;(e.start-p.end>ge||e.type==="route")&&(p={start:e.start,end:o,events:[],functions:[],duration:0},d.push(p)),p.events.push(e),p.end=o+xe}return d.forEach((e,o)=>{const i=e.end-e.start,n=[];e.duration=i,e.previousGap=o>0?e.start-d[o-1].end:0,e.events.forEach(a=>{const r=a.end||a.start;let u=0;a.type!=="route"&&(u=n.findIndex($=>$<=a.start),u===-1?(u=n.length,n.push(r+1e3)):n[u]=r+1e3);const h={event:a,segment:e,relativeStart:(a.start-e.start)/i,relativeWidth:(r-a.start)/i,layer:u};a.type==="function"?e.functions.push(h):e.route=h})}),d}const Ae={relative:""},De={key:0,border:"x base","h-full":"","flex-inline":"","bg-true-gray-1":"",py15:"","text-xs":"","write-vertical-left":"",op50:"","dark:bg-true-gray-9":""},Ce=B({__name:"TimelineTable",props:{data:{}},emits:["select"],setup(_,{emit:d}){const p=_,e=d,o=C(),i=C(),n=C(),a=C(),r=C(!0),u=C(1.5),h=w(()=>$e(p.data.events)),$=w(()=>(p.data.events.length,o.value?.scrollWidth||window.innerWidth));function A(){a.value&&(a.value.style.width=`${$.value}px`)}function S(){r.value&&o.value&&(o.value.scrollTo({left:o.value.scrollWidth-o.value.clientWidth,behavior:"smooth"}),n.value.scrollTo({left:o.value.scrollWidth-o.value.clientWidth,behavior:"smooth"}))}return U(()=>p.data.events.length,async()=>{await Y(),A(),S()},{flush:"post"}),j(o,"scroll",()=>{n.value.scrollLeft!==o.value.scrollLeft&&(A(),n.value.scrollLeft=o.value.scrollLeft,r.value=o.value.scrollLeft>=o.value.scrollWidth-o.value.clientWidth)}),j(n,"scroll",()=>{n.value.scrollLeft!==o.value.scrollLeft&&(A(),o.value.scrollLeft=n.value.scrollLeft)}),j(o,"wheel",b=>{b.altKey?(u.value=q(u.value+b.deltaY/200,.5,3),A()):o.value.scrollLeft+=b.deltaY}),(b,L)=>{const D=M,V=be;return t(),c(f,null,[s("div",Ae,[s("div",{ref_key:"minimap",ref:i,border:"t b base",relative:"","h-50px":"","ws-nowrap":"","border-base":""},[(t(!0),c(f,null,E(l(h),(g,N)=>(t(),c("div",{key:N,relative:"","h-full":"","flex-inline":"",style:T({width:`${Math.max(100,g.duration/10)/l($)*100}%`})},[(t(!0),c(f,null,E(g.functions,(I,J)=>(t(),c("div",{key:J,"h-3px":"",rounded:"",style:T({width:`max(${I.relativeWidth*100}%, 10px)`,position:"absolute",top:`${I.layer*4}px`,left:`${I.relativeStart*100}%`,backgroundColor:("getHashColorFromString"in b?b.getHashColorFromString:l(W))(I.event.name,50,60)})},null,4))),128)),g.route?(t(),c("div",{key:0,absolute:"","top-0":"","h-full":"","w-px":"","border-l":"","border-green6":"",op10:"",style:T({left:`${g.route.relativeStart*100}%`})},null,4)):x("",!0)],4))),128))],512),s("div",{ref_key:"minimapScroller",ref:n,class:"timeline-scroller",absolute:"","inset-0":"","h-full":"","w-full":"","of-x-scroll":""},[s("div",{ref_key:"minimapScrollerInner",ref:a,"h-1px":""},null,512)],512)]),s("div",{ref_key:"scroller",ref:o,relative:"","h-full":"","w-full":"","of-x-scroll":"","of-y-hidden":"","ws-nowrap":"","n-panel-grids":""},[(t(!0),c(f,null,E(l(h),(g,N)=>(t(),c(f,{key:N},[g.previousGap&&g.previousGap>=200?(t(),c("div",De,[m(D,{op50:"",duration:g.previousGap,color:!1},null,8,["duration"])])):x("",!0),m(V,{"flex-inline":"","of-x-hidden":"","hover:of-x-visible":"","bg-base":"",class:O(N===l(h).length-1?"border-r border-base":""),segment:g,style:T({width:`${Math.max(50,g.duration/10)*l(u)}px`}),onSelect:L[0]||(L[0]=I=>e("select",I))},null,8,["class","segment","style"])],64))),128))],512)],64)}}}),Be=K(Ce,[["__scopeId","data-v-27e8fb2d"]]),we={border:"t base",flex:"~ col","h-full":"","of-y-auto":"","text-sm":""},Te=["onClick"],Se=s("div",{"i-carbon-function":"",op50:""},null,-1),Ne={flex:"~","ml--1":"","font-mono":""},Fe=s("div",{op30:""}," ( ",-1),Ee={key:0,mr2:"",op30:""},Le={op75:""},Ie=s("div",{op30:""}," ) ",-1),Ve=s("div",{"mr-1":"","h-7":"","w-7":"",flex:"","rounded-lg":"","bg-primary:5":"",p1:"","text-green6":""},[s("div",{"i-carbon-direction-rotary-right":"",ma:"","text-lg":""})],-1),We={flex:"~ col items-start"},Me={"text-xs":"","font-mono":"",op30:""},je={"text-green":"","font-bold":"","font-mono":""},ze=s("div",{"flex-auto":""},null,-1),Oe=s("div",{"min-h-100":""},null,-1),Ge=B({__name:"TimelineList",props:{data:{}},emits:["select"],setup(_,{emit:d}){const p=d;return(e,o)=>{const i=M;return t(),c("div",we,[(t(!0),c(f,null,E(e.data.events,(n,a)=>(t(),c("button",{key:a,border:"b base",px3:"",py2:"",flex:"~ items-center gap-2",hover:"bg-active",onClick:r=>p("select",n)},[n.type==="function"?(t(),c(f,{key:0},[Se,s("div",{"font-mono":"",style:T({color:n.type==="function"?("getHashColorFromString"in e?e.getHashColorFromString:l(W))(n.name,50,60):""})},k(n.name),5),s("div",Ne,[Fe,(t(!0),c(f,null,E(n.args,(r,u)=>(t(),c(f,{key:u},[u?(t(),c("div",Ee," , ")):x("",!0),s("div",Le,k(r===null?"null":r===void 0?"undefined":typeof r=="function"?"[function]":Array.isArray(r)?"[Array]":typeof r=="object"?"[object]":JSON.stringify(r)),1)],64))),128)),Ie])],64)):(t(),c(f,{key:1},[Ve,s("div",We,[s("div",Me,k(n.from),1),s("div",je,k(n.to),1)])],64)),ze,n.end?(t(),y(i,{key:2,duration:n.end-n.start,color:n.type==="function"},null,8,["duration","color"])):x("",!0)],8,Te))),128)),Oe])}}}),Re={key:0,"text-blue":""},Pe={key:1,"text-purple":""},He={key:2,"text-green":""},Je={key:3,"text-gray":""},Ue={key:4,"text-gray":""},Ye={key:5,"text-gray":""},qe={key:0,"bg-red:10":"",px2:"",py1:"","text-red":""},Ke={key:1},Ze={p2:"","text-sm":"",border:"t base"},Xe=B({__name:"TimelineArgumentView",props:{value:{}},setup(_){const d=_,p=C(),e=C();function o(){try{p.value=JSON.parse(JSON.stringify(d.value))}catch(a){console.error(a),e.value=a}}const i=B({emits:["setup"],setup(a,{emit:r}){return r("setup"),()=>null}}),n=Z();return(a,r)=>{const u=G,h=P("VMenu");return typeof a.value=="string"?(t(),c("div",Re,k(JSON.stringify(a.value)),1)):typeof a.value=="number"?(t(),c("div",Pe,k(a.value),1)):typeof a.value=="boolean"?(t(),c("div",He,k(a.value),1)):typeof a.value>"u"?(t(),c("div",Je," undefined ")):typeof a.value=="function"?(t(),c("div",Ue," [Function"+k(a.value.name?`: ${a.value.name}`:"")+"] ",1)):a.value===null?(t(),c("div",Ye," null ")):(t(),y(h,{key:6,placement:"top"},{popper:v(()=>[m(l(i),{onSetup:o}),l(e)?(t(),c("div",qe," Failed to display object: "+k(l(e)),1)):l(p)?(t(),c("div",Ke,[m(l(pe),X({"model-value":l(p)},a.$attrs,{class:["json-editor-vue",[a.$colorMode.value==="dark"?"jse-theme-dark":""]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":!0,indentation:2,"tab-size":2}),null,16,["model-value","class"]),s("div",Ze,[m(u,{title:"Copy to clipboard",icon:"carbon-copy",onClick:r[0]||(r[0]=$=>l(n)(JSON.stringify(l(p),null,2),"timeline-argument"))},{default:v(()=>[F(" Copy ")]),_:1})])])):x("",!0)]),default:v(()=>[s("span",{"rounded-sm":"",px1:"","py0.5":"","text-sm":"",class:O([Array.isArray(a.value)?"text-amber bg-amber:10":"text-orange bg-orange:10"])},k(Array.isArray(a.value)?`[Array(${a.value.length})]`:"[Object]"),3)]),_:1}))}}}),Qe={key:0,"p-4":"",flex:"~ col gap-2","text-base":""},es={"mx--1":""},ss={flex:"~ gap-1","font-mono":""},ts={key:1},ns=s("span",{ml1:"",op30:""},"(",-1),os={key:0,op30:""},as=s("span",{op30:""},")",-1),ls={flex:"~ gap-1","text-sm":""},is=s("span",{mx1:"",op50:""},"·",-1),rs={class:"text-sm text-gray-400"},cs=B({__name:"TimelineDetailsFunction",props:{record:{}},setup(_){const d=_,p=z(()=>d.record.start,{showSecond:!0}),e=Q(),o=w(()=>e.value?.metadata),i=w(()=>e.value?.imports.find(n=>n.as===d.record.name));return(n,a)=>{const r=H,u=ce,h=Xe,$=M,A=de;return n.record?(t(),c("div",Qe,[s("div",es,[m(r,{n:"yellow",textContent:"Function call"})]),s("div",ss,[l(i)?(t(),y(u,{key:0,item:l(i),metadata:l(o),counter:!1,classes:"px2 py1","mx--2":""},null,8,["item","metadata"])):(t(),c("span",ts,k(n.record.name),1)),ns,(t(!0),c(f,null,E(n.record.args,(S,b)=>(t(),c(f,{key:b},[b?(t(),c("span",os,", ")):x("",!0),m(h,{value:S},null,8,["value"])],64))),128)),as]),s("div",ls,[n.record.end?(t(),y($,{key:0,duration:n.record.end-n.record.start},null,8,["duration"])):x("",!0),is,s("div",rs,k(l(p)),1)]),n.record.stacktrace?(t(),y(A,{key:0,stacktrace:n.record.stacktrace,class:"text-xs text-gray-400"},null,8,["stacktrace"])):x("",!0)])):x("",!0)}}}),ps={key:0,"p-4":"",flex:"~ col gap-2"},ds={"mx--1":""},us={flex:"~ gap-1 items-center","font-mono":""},ms={op50:""},ks=s("span",{"i-carbon-arrow-right":"",op50:""},null,-1),hs={flex:"~ gap-1","text-sm":""},_s=s("span",{mx1:"",op50:""},"·",-1),fs={class:"text-sm text-gray-400"},ys=B({__name:"TimelineDetailsRoute",props:{record:{}},setup(_){const d=_,p=z(()=>d.record.start,{showSecond:!0});return(e,o)=>{const i=H,n=M;return e.record?(t(),c("div",ps,[s("div",ds,[m(i,{n:"green",textContent:"Route Change"})]),s("div",us,[s("span",ms,k(e.record.from),1),ks,s("span",null,k(e.record.to),1)]),s("div",hs,[e.record.end?(t(),y(n,{key:0,duration:e.record.end-e.record.start},null,8,["duration"])):x("",!0),_s,s("div",fs,k(l(p)),1)])])):x("",!0)}}}),vs={key:0,"h-screen":"","of-hidden":""},bs={"h-screen":"","w-full":"",flex:"","flex-col":""},gs={"h-10":"",flex:"~ gap-2 items-center justify-end",p2:"",px3:""},xs={"text-sm":""},$s=s("div",{"flex-auto":""},null,-1),As={"min-h-50":"",px3:"",py2:""},Ds=B({__name:"TimelineView",setup(_){const d=ee(),p=C("table"),e=C(),o=w(()=>d.value?.metrics.clientTimeline());function i(){o.value&&(o.value.events=[])}function n(){p.value=p.value==="table"?"list":"table"}return(a,r)=>{const u=P("VTooltip"),h=G,$=Be,A=Ge,S=cs,b=ys,L=ue;return l(o)?(t(),c("div",vs,[s("div",bs,[s("div",gs,[m(u,{flex:""},{popper:v(()=>[s("div",xs,k(l(o).options.enabled?"Recording...":"Paused"),1)]),default:v(()=>[s("div",{"text-lg":"",class:O(l(o).options.enabled?"i-carbon-radio-button-checked text-primary animate-pulse":"i-carbon-pause-outline op30")},null,2)]),_:1}),l(o).options.enabled?(t(),y(h,{key:1,size:"small",ml1:"","text-sm":"",n:"orange",icon:"i-carbon-stop",onClick:r[1]||(r[1]=D=>l(o).options.enabled=!1)},{default:v(()=>[F(" Stop Tracking ")]),_:1})):(t(),y(h,{key:0,size:"small",ml1:"","text-sm":"",n:"primary",icon:"i-carbon-play",onClick:r[0]||(r[0]=D=>l(o).options.enabled=!0)},{default:v(()=>[F(" Start Tracking ")]),_:1})),$s,m(h,{icon:l(p)==="table"?"i-carbon-roadmap":"i-carbon-list",class:"ml-2",title:"Toggle View",border:!1,onClick:n},null,8,["icon"]),m(h,{icon:"i-carbon-trash-can","hover-text-red":"",class:"ml-2",border:!1,onClick:i})]),l(p)==="table"?(t(),y($,{key:0,data:{...l(o)},onSelect:r[2]||(r[2]=D=>e.value=D.event)},null,8,["data"])):(t(),y(A,{key:1,data:{...l(o)},onSelect:r[3]||(r[3]=D=>e.value=D)},null,8,["data"]))]),m(L,{"model-value":!!l(e),"auto-close":"",transition:"bottom",left:"#nuxt-devtools-side-nav",onClose:r[4]||(r[4]=D=>e.value=void 0)},{default:v(()=>[s("div",As,[l(e)?.type==="function"?(t(),y(S,{key:0,record:l(e)},null,8,["record"])):l(e)?.type==="route"?(t(),y(b,{key:1,record:l(e)},null,8,["record"])):x("",!0)])]),_:1},8,["model-value"])])):x("",!0)}}}),Cs={class:"markdown-body"},Bs=s("h1",null,"Timeline",-1),ws=s("p",null,[s("blockquote",{"text-orange":"","bg-orange:10":"",py1:""}," This is an experimental feature ")],-1),Ts=se(`<p>Timeline tracks your route navigations and functions calls in your Nuxt application. It can be used to debug performance issues and to understand how your application works.</p><h2>Function calls</h2><p>Nuxt DevTools tracks function calls by wrapping them in the build time. It works for functions referenced by auto-imports, or explicit imports through <code>import {} from '#imports'</code>.</p><pre class="shiki shiki-themes vitesse-light vitesse-dark" style="background-color:#ffffff;--shiki-dark-bg:#121212;color:#393a34;--shiki-dark:#dbd7caee;" tabindex="0"><code><span class="line"><span style="color:#999999;--shiki-dark:#666666;"><</span><span style="color:#1E754F;--shiki-dark:#4D9375;">script</span><span style="color:#B07D48;--shiki-dark:#BD976A;"> setup</span><span style="color:#999999;--shiki-dark:#666666;">></span></span>
|
|
2
2
|
<span class="line"><span style="color:#1E754F;--shiki-dark:#4D9375;">import</span><span style="color:#999999;--shiki-dark:#666666;"> {</span><span style="color:#B07D48;--shiki-dark:#BD976A;"> useMouse</span><span style="color:#999999;--shiki-dark:#666666;"> }</span><span style="color:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="color:#B5695999;--shiki-dark:#C98A7D99;"> '</span><span style="color:#B56959;--shiki-dark:#C98A7D;">@vueuse/core</span><span style="color:#B5695999;--shiki-dark:#C98A7D99;">'</span></span>
|
|
3
3
|
<span class="line"><span style="color:#1E754F;--shiki-dark:#4D9375;">import</span><span style="color:#999999;--shiki-dark:#666666;"> {</span><span style="color:#B07D48;--shiki-dark:#BD976A;"> useNuxtApp</span><span style="color:#999999;--shiki-dark:#666666;"> }</span><span style="color:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="color:#B5695999;--shiki-dark:#C98A7D99;"> '</span><span style="color:#B56959;--shiki-dark:#C98A7D;">#imports</span><span style="color:#B5695999;--shiki-dark:#C98A7D99;">'</span></span>
|
|
4
4
|
<span class="line"></span>
|