codeforlife 2.11.0 → 2.11.2
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/server/App.cjs.js +2 -0
- package/dist/server/App.cjs.js.map +1 -0
- package/dist/{App-3VkR-ZEZ.js → server/App.es.js} +11 -11
- package/dist/server/App.es.js.map +1 -0
- package/dist/server/entry.cjs.js +2 -2
- package/dist/server/entry.cjs.js.map +1 -1
- package/dist/server/entry.es.js +1 -1
- package/dist/server/server.cjs.js +6 -0
- package/dist/server/server.cjs.js.map +1 -0
- package/dist/server/{index.es.js → server.es.js} +17 -19
- package/dist/server/{index.cjs.js.map → server.es.js.map} +1 -1
- package/package.json +9 -4
- package/dist/App-3VkR-ZEZ.js.map +0 -1
- package/dist/App-UfeajXtp.cjs +0 -2
- package/dist/App-UfeajXtp.cjs.map +0 -1
- package/dist/server/index.cjs.js +0 -6
- package/dist/server/index.d.ts +0 -6
- package/dist/server/index.es.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("../jsx-runtime-B2pbW5Fp.cjs"),r=require("@mui/material"),n=require("@emotion/react");require("react");const o=require("react-redux"),u=({children:s,emotionCache:t,theme:i,store:x,maxIdleSeconds:c=3600,maxTotalSeconds:a=3600})=>e.jsxRuntimeExports.jsx(n.CacheProvider,{value:t,children:e.jsxRuntimeExports.jsxs(r.ThemeProvider,{theme:i,children:[e.jsxRuntimeExports.jsx(r.CssBaseline,{}),e.jsxRuntimeExports.jsx(o.Provider,{store:x,children:s})]})});module.exports=u;
|
|
2
|
+
//# sourceMappingURL=App.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.cjs.js","sources":["../../src/server/App.tsx"],"sourcesContent":["import { CssBaseline, ThemeProvider } from \"@mui/material\"\nimport {\n type EmotionCache,\n CacheProvider as EmotionCacheProvider,\n} from \"@emotion/react\"\nimport { type JSX, type ReactNode } from \"react\"\nimport {\n Provider as StoreProvider,\n type ProviderProps as StoreProviderProps,\n} from \"react-redux\"\nimport { type Action } from \"redux\"\nimport { type ThemeProviderProps } from \"@mui/material\"\n\nimport \"./App.css\"\n// import { InactiveDialog, ScreenTimeDialog } from \"../features\"\n// import { useCountdown, useEventListener } from \"../hooks\"\n// import \"../scripts\"\n// import {\n// configureFreshworksWidget,\n// toggleOneTrustInfoDisplay,\n// } from \"../utils/window\"\n\nexport interface AppProps<A extends Action = Action, S = unknown> {\n children: ReactNode\n emotionCache: EmotionCache\n theme: ThemeProviderProps[\"theme\"]\n store: StoreProviderProps<A, S>[\"store\"]\n maxIdleSeconds?: number\n maxTotalSeconds?: number\n}\n\nconst App = <A extends Action = Action, S = unknown>({\n children,\n emotionCache,\n theme,\n store,\n // @ts-expect-error TODO\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n maxIdleSeconds = 60 * 60,\n // @ts-expect-error TODO\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n maxTotalSeconds = 60 * 60,\n}: AppProps<A, S>): JSX.Element => {\n // TODO: cannot use document during SSR\n // const root = document.getElementById(\"root\") as HTMLElement\n\n // const [idleSeconds, setIdleSeconds] = useCountdown(maxIdleSeconds)\n // const [totalSeconds, setTotalSeconds] = useCountdown(maxTotalSeconds)\n // const resetIdleSeconds = useCallback(() => {\n // setIdleSeconds(maxIdleSeconds)\n // }, [setIdleSeconds, maxIdleSeconds])\n\n // const isIdle = idleSeconds === 0\n // const tooMuchScreenTime = totalSeconds === 0\n\n // useEventListener(root, \"mousemove\", resetIdleSeconds)\n // useEventListener(root, \"keypress\", resetIdleSeconds)\n\n // React.useEffect(() => {\n // configureFreshworksWidget(\"hide\")\n // }, [])\n\n // if (import.meta.env.PROD) {\n // toggleOneTrustInfoDisplay()\n // }\n\n return (\n // https://mui.com/material-ui/guides/server-rendering/\n <EmotionCacheProvider value={emotionCache}>\n <ThemeProvider theme={theme}>\n <CssBaseline />\n <StoreProvider store={store}>\n {/* <InactiveDialog open={isIdle} onClose={resetIdleSeconds} />\n <ScreenTimeDialog\n open={!isIdle && tooMuchScreenTime}\n onClose={() => {\n setTotalSeconds(maxTotalSeconds)\n }}\n /> */}\n {children}\n </StoreProvider>\n </ThemeProvider>\n </EmotionCacheProvider>\n )\n}\n\nexport default App\n\n// TODO: figure out what to do with this\n// function useOneTrustScripts(): void {\n// const oneTrustEventTypes = [\n// useExternalScript({\n// props: {\n// src: \"https://cdn-ukwest.onetrust.com/consent/5da42396-cb12-4493-8d04-5179033cfbad/OtAutoBlock.js\",\n// type: \"text/javascript\",\n// },\n// eventTypes: [\"load\", \"error\"],\n// }),\n// useExternalScript({\n// props: {\n// src: \"https://cdn-ukwest.onetrust.com/scripttemplates/otSDKStub.js\",\n// type: \"text/javascript\",\n// charset: \"UTF-8\",\n// },\n// attrs: {\n// \"data-domain-script\": \"5da42396-cb12-4493-8d04-5179033cfbad\",\n// },\n// eventTypes: [\"load\", \"error\"],\n// }),\n// useExternalScript({\n// props: {\n// src: \"https://cdn-ukwest.onetrust.com/scripttemplates/202302.1.0/otBannerSdk.js\",\n// async: true,\n// type: \"text/javascript\",\n// },\n// eventTypes: [\"load\", \"error\"],\n// }),\n// ]\n// if (oneTrustEventTypes.some(t => t === \"error\")) {\n// alert(\"OneTrust failed to load!\")\n// }\n// }\n"],"names":["App","children","emotionCache","theme","store","maxIdleSeconds","maxTotalSeconds","EmotionCacheProvider","jsxs","ThemeProvider","jsx","CssBaseline","StoreProvider"],"mappings":"mKA+BMA,EAAM,CAAyC,CACnD,SAAAC,EACA,aAAAC,EACA,MAAAC,EACA,MAAAC,EAGA,eAAAC,EAAiB,KAGjB,gBAAAC,EAAkB,IACpB,4BA0BKC,EAAAA,cAAA,CAAqB,MAAOL,EAC3B,SAAAM,EAAAA,kBAAAA,KAACC,EAAAA,eAAc,MAAAN,EACb,SAAA,CAAAO,EAAAA,kBAAAA,IAACC,EAAAA,YAAA,EAAY,EACbD,EAAAA,kBAAAA,IAACE,EAAAA,SAAA,CAAc,MAAAR,EAQZ,SAAAH,CAAA,CACH,CAAA,CAAA,CACF,CAAA,CACF"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { j as r } from "
|
|
1
|
+
import { j as r } from "../jsx-runtime-lzYHhGH3.js";
|
|
2
2
|
import { ThemeProvider as i, CssBaseline as t } from "@mui/material";
|
|
3
|
-
import { CacheProvider as
|
|
3
|
+
import { CacheProvider as a } from "@emotion/react";
|
|
4
4
|
import "react";
|
|
5
|
-
import { Provider as
|
|
5
|
+
import { Provider as d } from "react-redux";
|
|
6
6
|
const h = ({
|
|
7
|
-
children:
|
|
8
|
-
emotionCache:
|
|
7
|
+
children: e,
|
|
8
|
+
emotionCache: o,
|
|
9
9
|
theme: s,
|
|
10
10
|
store: m,
|
|
11
11
|
// @ts-expect-error TODO
|
|
12
12
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
13
|
-
maxIdleSeconds:
|
|
13
|
+
maxIdleSeconds: p = 3600,
|
|
14
14
|
// @ts-expect-error TODO
|
|
15
15
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
16
|
-
maxTotalSeconds:
|
|
16
|
+
maxTotalSeconds: x = 3600
|
|
17
17
|
}) => (
|
|
18
18
|
// https://mui.com/material-ui/guides/server-rendering/
|
|
19
|
-
/* @__PURE__ */ r.jsx(
|
|
19
|
+
/* @__PURE__ */ r.jsx(a, { value: o, children: /* @__PURE__ */ r.jsxs(i, { theme: s, children: [
|
|
20
20
|
/* @__PURE__ */ r.jsx(t, {}),
|
|
21
|
-
/* @__PURE__ */ r.jsx(
|
|
21
|
+
/* @__PURE__ */ r.jsx(d, { store: m, children: e })
|
|
22
22
|
] }) })
|
|
23
23
|
);
|
|
24
24
|
export {
|
|
25
|
-
h as
|
|
25
|
+
h as default
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=App
|
|
27
|
+
//# sourceMappingURL=App.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.es.js","sources":["../../src/server/App.tsx"],"sourcesContent":["import { CssBaseline, ThemeProvider } from \"@mui/material\"\nimport {\n type EmotionCache,\n CacheProvider as EmotionCacheProvider,\n} from \"@emotion/react\"\nimport { type JSX, type ReactNode } from \"react\"\nimport {\n Provider as StoreProvider,\n type ProviderProps as StoreProviderProps,\n} from \"react-redux\"\nimport { type Action } from \"redux\"\nimport { type ThemeProviderProps } from \"@mui/material\"\n\nimport \"./App.css\"\n// import { InactiveDialog, ScreenTimeDialog } from \"../features\"\n// import { useCountdown, useEventListener } from \"../hooks\"\n// import \"../scripts\"\n// import {\n// configureFreshworksWidget,\n// toggleOneTrustInfoDisplay,\n// } from \"../utils/window\"\n\nexport interface AppProps<A extends Action = Action, S = unknown> {\n children: ReactNode\n emotionCache: EmotionCache\n theme: ThemeProviderProps[\"theme\"]\n store: StoreProviderProps<A, S>[\"store\"]\n maxIdleSeconds?: number\n maxTotalSeconds?: number\n}\n\nconst App = <A extends Action = Action, S = unknown>({\n children,\n emotionCache,\n theme,\n store,\n // @ts-expect-error TODO\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n maxIdleSeconds = 60 * 60,\n // @ts-expect-error TODO\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n maxTotalSeconds = 60 * 60,\n}: AppProps<A, S>): JSX.Element => {\n // TODO: cannot use document during SSR\n // const root = document.getElementById(\"root\") as HTMLElement\n\n // const [idleSeconds, setIdleSeconds] = useCountdown(maxIdleSeconds)\n // const [totalSeconds, setTotalSeconds] = useCountdown(maxTotalSeconds)\n // const resetIdleSeconds = useCallback(() => {\n // setIdleSeconds(maxIdleSeconds)\n // }, [setIdleSeconds, maxIdleSeconds])\n\n // const isIdle = idleSeconds === 0\n // const tooMuchScreenTime = totalSeconds === 0\n\n // useEventListener(root, \"mousemove\", resetIdleSeconds)\n // useEventListener(root, \"keypress\", resetIdleSeconds)\n\n // React.useEffect(() => {\n // configureFreshworksWidget(\"hide\")\n // }, [])\n\n // if (import.meta.env.PROD) {\n // toggleOneTrustInfoDisplay()\n // }\n\n return (\n // https://mui.com/material-ui/guides/server-rendering/\n <EmotionCacheProvider value={emotionCache}>\n <ThemeProvider theme={theme}>\n <CssBaseline />\n <StoreProvider store={store}>\n {/* <InactiveDialog open={isIdle} onClose={resetIdleSeconds} />\n <ScreenTimeDialog\n open={!isIdle && tooMuchScreenTime}\n onClose={() => {\n setTotalSeconds(maxTotalSeconds)\n }}\n /> */}\n {children}\n </StoreProvider>\n </ThemeProvider>\n </EmotionCacheProvider>\n )\n}\n\nexport default App\n\n// TODO: figure out what to do with this\n// function useOneTrustScripts(): void {\n// const oneTrustEventTypes = [\n// useExternalScript({\n// props: {\n// src: \"https://cdn-ukwest.onetrust.com/consent/5da42396-cb12-4493-8d04-5179033cfbad/OtAutoBlock.js\",\n// type: \"text/javascript\",\n// },\n// eventTypes: [\"load\", \"error\"],\n// }),\n// useExternalScript({\n// props: {\n// src: \"https://cdn-ukwest.onetrust.com/scripttemplates/otSDKStub.js\",\n// type: \"text/javascript\",\n// charset: \"UTF-8\",\n// },\n// attrs: {\n// \"data-domain-script\": \"5da42396-cb12-4493-8d04-5179033cfbad\",\n// },\n// eventTypes: [\"load\", \"error\"],\n// }),\n// useExternalScript({\n// props: {\n// src: \"https://cdn-ukwest.onetrust.com/scripttemplates/202302.1.0/otBannerSdk.js\",\n// async: true,\n// type: \"text/javascript\",\n// },\n// eventTypes: [\"load\", \"error\"],\n// }),\n// ]\n// if (oneTrustEventTypes.some(t => t === \"error\")) {\n// alert(\"OneTrust failed to load!\")\n// }\n// }\n"],"names":["App","children","emotionCache","theme","store","maxIdleSeconds","maxTotalSeconds","EmotionCacheProvider","jsxs","ThemeProvider","jsx","CssBaseline","StoreProvider"],"mappings":";;;;;AA+BA,MAAMA,IAAM,CAAyC;AAAA,EACnD,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA;AAAA;AAAA,EAGA,gBAAAC,IAAiB;AAAA;AAAA;AAAA,EAGjB,iBAAAC,IAAkB;AACpB;AAAA;AAAA,wBA0BKC,GAAA,EAAqB,OAAOL,GAC3B,UAAAM,gBAAAA,EAAAA,KAACC,KAAc,OAAAN,GACb,UAAA;AAAA,IAAAO,gBAAAA,EAAAA,IAACC,GAAA,EAAY;AAAA,IACbD,gBAAAA,EAAAA,IAACE,GAAA,EAAc,OAAAR,GAQZ,UAAAH,EAAA,CACH;AAAA,EAAA,EAAA,CACF,EAAA,CACF;AAAA;"}
|
package/dist/server/entry.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Xc=require("../jsx-runtime-B2pbW5Fp.cjs"),Ms=require("react-router"),us=require("react"),yh=require("@emotion/cache"),Ac=require("../_commonjsHelpers-DKOUU3wS.cjs"),is=require("stream"),Rs=require("buffer"),df=require("events"),lh=require("util"),wh=require("../client-CmAMc2Wj.cjs"),Os=require("react-dom"),oh=require("../App-UfeajXtp.cjs");var Us={exports:{}},Ef;function Th(){return Ef||(Ef=1,(function(se,K){var M=is;se.exports=ee,ee.through=ee;function ee(ue,Z,Y){ue=ue||function(U){this.queue(U)},Z=Z||function(){this.queue(null)};var C=!1,q=!1,oe=[],k=!1,B=new M;B.readable=B.writable=!0,B.paused=!1,B.autoDestroy=!(Y&&Y.autoDestroy===!1),B.write=function(U){return ue.call(this,U),!B.paused};function Ie(){for(;oe.length&&!B.paused;){var U=oe.shift();if(U===null)return B.emit("end");B.emit("data",U)}}B.queue=B.push=function(U){return k||(U===null&&(k=!0),oe.push(U),Ie()),B},B.on("end",function(){B.readable=!1,!B.writable&&B.autoDestroy&&process.nextTick(function(){B.destroy()})});function G(){B.writable=!1,Z.call(B),!B.readable&&B.autoDestroy&&B.destroy()}return B.end=function(U){if(!C)return C=!0,arguments.length&&B.write(U),G(),B},B.destroy=function(){if(!q)return q=!0,C=!0,oe.length=0,B.writable=B.readable=!1,B.emit("close"),B},B.pause=function(){if(!B.paused)return B.paused=!0,B},B.resume=function(){return B.paused&&(B.paused=!1,B.emit("resume")),Ie(),B.paused||B.emit("drain"),B},B}})(Us)),Us.exports}var ph=Th();const Rh=Ac.getDefaultExportFromCjs(ph);var Ys,kf;function xh(){if(kf)return Ys;kf=1;var se=Object.prototype.toString,K=typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function M(Y){return se.call(Y).slice(8,-1)==="ArrayBuffer"}function ee(Y,C,q){C>>>=0;var oe=Y.byteLength-C;if(oe<0)throw new RangeError("'offset' is out of bounds");if(q===void 0)q=oe;else if(q>>>=0,q>oe)throw new RangeError("'length' is out of bounds");return K?Buffer.from(Y.slice(C,C+q)):new Buffer(new Uint8Array(Y.slice(C,C+q)))}function ue(Y,C){if((typeof C!="string"||C==="")&&(C="utf8"),!Buffer.isEncoding(C))throw new TypeError('"encoding" must be a valid string encoding');return K?Buffer.from(Y,C):new Buffer(Y,C)}function Z(Y,C,q){if(typeof Y=="number")throw new TypeError('"value" argument must not be a number');return M(Y)?ee(Y,C,q):typeof Y=="string"?ue(Y,C):K?Buffer.from(Y):new Buffer(Y)}return Ys=Z,Ys}var ks={exports:{}},Gs,Cf;function Eh(){return Cf||(Cf=1,Gs=Array.isArray||function(se){return Object.prototype.toString.call(se)=="[object Array]"}),Gs}var _i={},Sf;function ic(){if(Sf)return _i;Sf=1;function se(fe){return Array.isArray?Array.isArray(fe):U(fe)==="[object Array]"}_i.isArray=se;function K(fe){return typeof fe=="boolean"}_i.isBoolean=K;function M(fe){return fe===null}_i.isNull=M;function ee(fe){return fe==null}_i.isNullOrUndefined=ee;function ue(fe){return typeof fe=="number"}_i.isNumber=ue;function Z(fe){return typeof fe=="string"}_i.isString=Z;function Y(fe){return typeof fe=="symbol"}_i.isSymbol=Y;function C(fe){return fe===void 0}_i.isUndefined=C;function q(fe){return U(fe)==="[object RegExp]"}_i.isRegExp=q;function oe(fe){return typeof fe=="object"&&fe!==null}_i.isObject=oe;function k(fe){return U(fe)==="[object Date]"}_i.isDate=k;function B(fe){return U(fe)==="[object Error]"||fe instanceof Error}_i.isError=B;function Ie(fe){return typeof fe=="function"}_i.isFunction=Ie;function G(fe){return fe===null||typeof fe=="boolean"||typeof fe=="number"||typeof fe=="string"||typeof fe=="symbol"||typeof fe>"u"}_i.isPrimitive=G,_i.isBuffer=Rs.Buffer.isBuffer;function U(fe){return Object.prototype.toString.call(fe)}return _i}var Cs={exports:{}},Pf;function Su(){return Pf||(Pf=1,typeof Object.create=="function"?Cs.exports=function(K,M){M&&(K.super_=M,K.prototype=Object.create(M.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}))}:Cs.exports=function(K,M){if(M){K.super_=M;var ee=function(){};ee.prototype=M.prototype,K.prototype=new ee,K.prototype.constructor=K}}),Cs.exports}var Xs={},Ff;function Af(){if(Ff)return Xs;Ff=1;var se=Rs.Buffer,K=se.isEncoding||function(C){switch(C&&C.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function M(C){if(C&&!K(C))throw new Error("Unknown encoding: "+C)}var ee=Xs.StringDecoder=function(C){switch(this.encoding=(C||"utf8").toLowerCase().replace(/[-_]/,""),M(C),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Z;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Y;break;default:this.write=ue;return}this.charBuffer=new se(6),this.charReceived=0,this.charLength=0};ee.prototype.write=function(C){for(var q="";this.charLength;){var oe=C.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:C.length;if(C.copy(this.charBuffer,this.charReceived,0,oe),this.charReceived+=oe,this.charReceived<this.charLength)return"";C=C.slice(oe,C.length),q=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var B=q.charCodeAt(q.length-1);if(B>=55296&&B<=56319){this.charLength+=this.surrogateSize,q="";continue}if(this.charReceived=this.charLength=0,C.length===0)return q;break}this.detectIncompleteChar(C);var k=C.length;this.charLength&&(C.copy(this.charBuffer,0,C.length-this.charReceived,k),k-=this.charReceived),q+=C.toString(this.encoding,0,k);var k=q.length-1,B=q.charCodeAt(k);if(B>=55296&&B<=56319){var Ie=this.surrogateSize;return this.charLength+=Ie,this.charReceived+=Ie,this.charBuffer.copy(this.charBuffer,Ie,0,Ie),C.copy(this.charBuffer,0,0,Ie),q.substring(0,k)}return q},ee.prototype.detectIncompleteChar=function(C){for(var q=C.length>=3?3:C.length;q>0;q--){var oe=C[C.length-q];if(q==1&&oe>>5==6){this.charLength=2;break}if(q<=2&&oe>>4==14){this.charLength=3;break}if(q<=3&&oe>>3==30){this.charLength=4;break}}this.charReceived=q},ee.prototype.end=function(C){var q="";if(C&&C.length&&(q=this.write(C)),this.charReceived){var oe=this.charReceived,k=this.charBuffer,B=this.encoding;q+=k.slice(0,oe).toString(B)}return q};function ue(C){return C.toString(this.encoding)}function Z(C){this.charReceived=C.length%2,this.charLength=this.charReceived?2:0}function Y(C){this.charReceived=C.length%3,this.charLength=this.charReceived?3:0}return Xs}var Zs,Mf;function uh(){if(Mf)return Zs;Mf=1,Zs=C;var se=Eh(),K=Rs.Buffer;C.ReadableState=Y;var M=df.EventEmitter;M.listenerCount||(M.listenerCount=function(N,H){return N.listeners(H).length});var ee=is,ue=ic();ue.inherits=Su();var Z;ue.inherits(C,ee);function Y(N,H){N=N||{};var ce=N.highWaterMark;this.highWaterMark=ce||ce===0?ce:16*1024,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!N.objectMode,this.defaultEncoding=N.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,N.encoding&&(Z||(Z=Af().StringDecoder),this.decoder=new Z(N.encoding),this.encoding=N.encoding)}function C(N){if(!(this instanceof C))return new C(N);this._readableState=new Y(N),this.readable=!0,ee.call(this)}C.prototype.push=function(N,H){var ce=this._readableState;return typeof N=="string"&&!ce.objectMode&&(H=H||ce.defaultEncoding,H!==ce.encoding&&(N=new K(N,H),H="")),q(this,ce,N,H,!1)},C.prototype.unshift=function(N){var H=this._readableState;return q(this,H,N,"",!0)};function q(N,H,ce,Ee,Ze){var ae=G(H,ce);if(ae)N.emit("error",ae);else if(ce==null)H.reading=!1,H.ended||U(N,H);else if(H.objectMode||ce&&ce.length>0)if(H.ended&&!Ze){var P=new Error("stream.push() after EOF");N.emit("error",P)}else if(H.endEmitted&&Ze){var P=new Error("stream.unshift() after end event");N.emit("error",P)}else H.decoder&&!Ze&&!Ee&&(ce=H.decoder.write(ce)),H.length+=H.objectMode?1:ce.length,Ze?H.buffer.unshift(ce):(H.reading=!1,H.buffer.push(ce)),H.needReadable&&fe(N),he(N,H);else Ze||(H.reading=!1);return oe(H)}function oe(N){return!N.ended&&(N.needReadable||N.length<N.highWaterMark||N.length===0)}C.prototype.setEncoding=function(N){Z||(Z=Af().StringDecoder),this._readableState.decoder=new Z(N),this._readableState.encoding=N};var k=8388608;function B(N){if(N>=k)N=k;else{N--;for(var H=1;H<32;H<<=1)N|=N>>H;N++}return N}function Ie(N,H){return H.length===0&&H.ended?0:H.objectMode?N===0?0:1:N===null||isNaN(N)?H.flowing&&H.buffer.length?H.buffer[0].length:H.length:N<=0?0:(N>H.highWaterMark&&(H.highWaterMark=B(N)),N>H.length?H.ended?H.length:(H.needReadable=!0,0):N)}C.prototype.read=function(N){var H=this._readableState;H.calledRead=!0;var ce=N,Ee;if((typeof N!="number"||N>0)&&(H.emittedReadable=!1),N===0&&H.needReadable&&(H.length>=H.highWaterMark||H.ended))return fe(this),null;if(N=Ie(N,H),N===0&&H.ended)return Ee=null,H.length>0&&H.decoder&&(Ee=Ve(N,H),H.length-=Ee.length),H.length===0&&it(this),Ee;var Ze=H.needReadable;return H.length-N<=H.highWaterMark&&(Ze=!0),(H.ended||H.reading)&&(Ze=!1),Ze&&(H.reading=!0,H.sync=!0,H.length===0&&(H.needReadable=!0),this._read(H.highWaterMark),H.sync=!1),Ze&&!H.reading&&(N=Ie(ce,H)),N>0?Ee=Ve(N,H):Ee=null,Ee===null&&(H.needReadable=!0,N=0),H.length-=N,H.length===0&&!H.ended&&(H.needReadable=!0),H.ended&&!H.endEmitted&&H.length===0&&it(this),Ee};function G(N,H){var ce=null;return!K.isBuffer(H)&&typeof H!="string"&&H!==null&&H!==void 0&&!N.objectMode&&(ce=new TypeError("Invalid non-string/buffer chunk")),ce}function U(N,H){if(H.decoder&&!H.ended){var ce=H.decoder.end();ce&&ce.length&&(H.buffer.push(ce),H.length+=H.objectMode?1:ce.length)}H.ended=!0,H.length>0?fe(N):it(N)}function fe(N){var H=N._readableState;H.needReadable=!1,!H.emittedReadable&&(H.emittedReadable=!0,H.sync?process.nextTick(function(){Et(N)}):Et(N))}function Et(N){N.emit("readable")}function he(N,H){H.readingMore||(H.readingMore=!0,process.nextTick(function(){pe(N,H)}))}function pe(N,H){for(var ce=H.length;!H.reading&&!H.flowing&&!H.ended&&H.length<H.highWaterMark&&(N.read(0),ce!==H.length);)ce=H.length;H.readingMore=!1}C.prototype._read=function(N){this.emit("error",new Error("not implemented"))},C.prototype.pipe=function(N,H){var ce=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=N;break;case 1:Ee.pipes=[Ee.pipes,N];break;default:Ee.pipes.push(N);break}Ee.pipesCount+=1;var Ze=(!H||H.end!==!1)&&N!==process.stdout&&N!==process.stderr,ae=Ze?$:te;Ee.endEmitted?process.nextTick(ae):ce.once("end",ae),N.on("unpipe",P);function P(dt){dt===ce&&te()}function $(){N.end()}var le=Ge(ce);N.on("drain",le);function te(){N.removeListener("close",nt),N.removeListener("finish",pt),N.removeListener("drain",le),N.removeListener("error",Q),N.removeListener("unpipe",P),ce.removeListener("end",$),ce.removeListener("end",te),(!N._writableState||N._writableState.needDrain)&&le()}function Q(dt){Qe(),N.removeListener("error",Q),M.listenerCount(N,"error")===0&&N.emit("error",dt)}!N._events||!N._events.error?N.on("error",Q):se(N._events.error)?N._events.error.unshift(Q):N._events.error=[Q,N._events.error];function nt(){N.removeListener("finish",pt),Qe()}N.once("close",nt);function pt(){N.removeListener("close",nt),Qe()}N.once("finish",pt);function Qe(){ce.unpipe(N)}return N.emit("pipe",ce),Ee.flowing||(this.on("readable",j),Ee.flowing=!0,process.nextTick(function(){Re(ce)})),N};function Ge(N){return function(){var H=N._readableState;H.awaitDrain--,H.awaitDrain===0&&Re(N)}}function Re(N){var H=N._readableState,ce;H.awaitDrain=0;function Ee(Ze,ae,P){var $=Ze.write(ce);$===!1&&H.awaitDrain++}for(;H.pipesCount&&(ce=N.read())!==null;)if(H.pipesCount===1?Ee(H.pipes):$e(H.pipes,Ee),N.emit("data",ce),H.awaitDrain>0)return;if(H.pipesCount===0){H.flowing=!1,M.listenerCount(N,"data")>0&&Ae(N);return}H.ranOut=!0}function j(){this._readableState.ranOut&&(this._readableState.ranOut=!1,Re(this))}C.prototype.unpipe=function(N){var H=this._readableState;if(H.pipesCount===0)return this;if(H.pipesCount===1)return N&&N!==H.pipes?this:(N||(N=H.pipes),H.pipes=null,H.pipesCount=0,this.removeListener("readable",j),H.flowing=!1,N&&N.emit("unpipe",this),this);if(!N){var ce=H.pipes,Ee=H.pipesCount;H.pipes=null,H.pipesCount=0,this.removeListener("readable",j),H.flowing=!1;for(var Ze=0;Ze<Ee;Ze++)ce[Ze].emit("unpipe",this);return this}var Ze=_t(H.pipes,N);return Ze===-1?this:(H.pipes.splice(Ze,1),H.pipesCount-=1,H.pipesCount===1&&(H.pipes=H.pipes[0]),N.emit("unpipe",this),this)},C.prototype.on=function(N,H){var ce=ee.prototype.on.call(this,N,H);if(N==="data"&&!this._readableState.flowing&&Ae(this),N==="readable"&&this.readable){var Ee=this._readableState;Ee.readableListening||(Ee.readableListening=!0,Ee.emittedReadable=!1,Ee.needReadable=!0,Ee.reading?Ee.length&&fe(this):this.read(0))}return ce},C.prototype.addListener=C.prototype.on,C.prototype.resume=function(){Ae(this),this.read(0),this.emit("resume")},C.prototype.pause=function(){Ae(this,!0),this.emit("pause")};function Ae(N,H){var ce=N._readableState;if(ce.flowing)throw new Error("Cannot switch to old mode now.");var Ee=H||!1,Ze=!1;N.readable=!0,N.pipe=ee.prototype.pipe,N.on=N.addListener=ee.prototype.on,N.on("readable",function(){Ze=!0;for(var ae;!Ee&&(ae=N.read())!==null;)N.emit("data",ae);ae===null&&(Ze=!1,N._readableState.needReadable=!0)}),N.pause=function(){Ee=!0,this.emit("pause")},N.resume=function(){Ee=!1,Ze?process.nextTick(function(){N.emit("readable")}):this.read(0),this.emit("resume")},N.emit("readable")}C.prototype.wrap=function(N){var H=this._readableState,ce=!1,Ee=this;N.on("end",function(){if(H.decoder&&!H.ended){var P=H.decoder.end();P&&P.length&&Ee.push(P)}Ee.push(null)}),N.on("data",function(P){if(H.decoder&&(P=H.decoder.write(P)),!(H.objectMode&&P==null)&&!(!H.objectMode&&(!P||!P.length))){var $=Ee.push(P);$||(ce=!0,N.pause())}});for(var Ze in N)typeof N[Ze]=="function"&&typeof this[Ze]>"u"&&(this[Ze]=(function(P){return function(){return N[P].apply(N,arguments)}})(Ze));var ae=["error","close","destroy","pause","resume"];return $e(ae,function(P){N.on(P,Ee.emit.bind(Ee,P))}),Ee._read=function(P){ce&&(ce=!1,N.resume())},Ee},C._fromList=Ve;function Ve(N,H){var ce=H.buffer,Ee=H.length,Ze=!!H.decoder,ae=!!H.objectMode,P;if(ce.length===0)return null;if(Ee===0)P=null;else if(ae)P=ce.shift();else if(!N||N>=Ee)Ze?P=ce.join(""):P=K.concat(ce,Ee),ce.length=0;else if(N<ce[0].length){var $=ce[0];P=$.slice(0,N),ce[0]=$.slice(N)}else if(N===ce[0].length)P=ce.shift();else{Ze?P="":P=new K(N);for(var le=0,te=0,Q=ce.length;te<Q&&le<N;te++){var $=ce[0],nt=Math.min(N-le,$.length);Ze?P+=$.slice(0,nt):$.copy(P,le,0,nt),nt<$.length?ce[0]=$.slice(nt):ce.shift(),le+=nt}}return P}function it(N){var H=N._readableState;if(H.length>0)throw new Error("endReadable called on non-empty stream");!H.endEmitted&&H.calledRead&&(H.ended=!0,process.nextTick(function(){!H.endEmitted&&H.length===0&&(H.endEmitted=!0,N.readable=!1,N.emit("end"))}))}function $e(N,H){for(var ce=0,Ee=N.length;ce<Ee;ce++)H(N[ce],ce)}function _t(N,H){for(var ce=0,Ee=N.length;ce<Ee;ce++)if(N[ce]===H)return ce;return-1}return Zs}var Qs,Of;function gf(){if(Of)return Qs;Of=1,Qs=ue;var se=Object.keys||function(C){var q=[];for(var oe in C)q.push(oe);return q},K=ic();K.inherits=Su();var M=uh(),ee=ch();K.inherits(ue,M),Y(se(ee.prototype),function(C){ue.prototype[C]||(ue.prototype[C]=ee.prototype[C])});function ue(C){if(!(this instanceof ue))return new ue(C);M.call(this,C),ee.call(this,C),C&&C.readable===!1&&(this.readable=!1),C&&C.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,C&&C.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",Z)}function Z(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function Y(C,q){for(var oe=0,k=C.length;oe<k;oe++)q(C[oe],oe)}return Qs}var Js,_f;function ch(){if(_f)return Js;_f=1,Js=Z;var se=Rs.Buffer;Z.WritableState=ue;var K=ic();K.inherits=Su();var M=is;K.inherits(Z,M);function ee(Re,j,Ae){this.chunk=Re,this.encoding=j,this.callback=Ae}function ue(Re,j){Re=Re||{};var Ae=Re.highWaterMark;this.highWaterMark=Ae||Ae===0?Ae:16*1024,this.objectMode=!!Re.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var Ve=Re.decodeStrings===!1;this.decodeStrings=!Ve,this.defaultEncoding=Re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(it){G(j,it)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function Z(Re){var j=gf();if(!(this instanceof Z)&&!(this instanceof j))return new Z(Re);this._writableState=new ue(Re,this),this.writable=!0,M.call(this)}Z.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))};function Y(Re,j,Ae){var Ve=new Error("write after end");Re.emit("error",Ve),process.nextTick(function(){Ae(Ve)})}function C(Re,j,Ae,Ve){var it=!0;if(!se.isBuffer(Ae)&&typeof Ae!="string"&&Ae!==null&&Ae!==void 0&&!j.objectMode){var $e=new TypeError("Invalid non-string/buffer chunk");Re.emit("error",$e),process.nextTick(function(){Ve($e)}),it=!1}return it}Z.prototype.write=function(Re,j,Ae){var Ve=this._writableState,it=!1;return typeof j=="function"&&(Ae=j,j=null),se.isBuffer(Re)?j="buffer":j||(j=Ve.defaultEncoding),typeof Ae!="function"&&(Ae=function(){}),Ve.ended?Y(this,Ve,Ae):C(this,Ve,Re,Ae)&&(it=oe(this,Ve,Re,j,Ae)),it};function q(Re,j,Ae){return!Re.objectMode&&Re.decodeStrings!==!1&&typeof j=="string"&&(j=new se(j,Ae)),j}function oe(Re,j,Ae,Ve,it){Ae=q(j,Ae,Ve),se.isBuffer(Ae)&&(Ve="buffer");var $e=j.objectMode?1:Ae.length;j.length+=$e;var _t=j.length<j.highWaterMark;return _t||(j.needDrain=!0),j.writing?j.buffer.push(new ee(Ae,Ve,it)):k(Re,j,$e,Ae,Ve,it),_t}function k(Re,j,Ae,Ve,it,$e){j.writelen=Ae,j.writecb=$e,j.writing=!0,j.sync=!0,Re._write(Ve,it,j.onwrite),j.sync=!1}function B(Re,j,Ae,Ve,it){Ae?process.nextTick(function(){it(Ve)}):it(Ve),Re._writableState.errorEmitted=!0,Re.emit("error",Ve)}function Ie(Re){Re.writing=!1,Re.writecb=null,Re.length-=Re.writelen,Re.writelen=0}function G(Re,j){var Ae=Re._writableState,Ve=Ae.sync,it=Ae.writecb;if(Ie(Ae),j)B(Re,Ae,Ve,j,it);else{var $e=he(Re,Ae);!$e&&!Ae.bufferProcessing&&Ae.buffer.length&&Et(Re,Ae),Ve?process.nextTick(function(){U(Re,Ae,$e,it)}):U(Re,Ae,$e,it)}}function U(Re,j,Ae,Ve){Ae||fe(Re,j),Ve(),Ae&&pe(Re,j)}function fe(Re,j){j.length===0&&j.needDrain&&(j.needDrain=!1,Re.emit("drain"))}function Et(Re,j){j.bufferProcessing=!0;for(var Ae=0;Ae<j.buffer.length;Ae++){var Ve=j.buffer[Ae],it=Ve.chunk,$e=Ve.encoding,_t=Ve.callback,N=j.objectMode?1:it.length;if(k(Re,j,N,it,$e,_t),j.writing){Ae++;break}}j.bufferProcessing=!1,Ae<j.buffer.length?j.buffer=j.buffer.slice(Ae):j.buffer.length=0}Z.prototype._write=function(Re,j,Ae){Ae(new Error("not implemented"))},Z.prototype.end=function(Re,j,Ae){var Ve=this._writableState;typeof Re=="function"?(Ae=Re,Re=null,j=null):typeof j=="function"&&(Ae=j,j=null),typeof Re<"u"&&Re!==null&&this.write(Re,j),!Ve.ending&&!Ve.finished&&Ge(this,Ve,Ae)};function he(Re,j){return j.ending&&j.length===0&&!j.finished&&!j.writing}function pe(Re,j){var Ae=he(Re,j);return Ae&&(j.finished=!0,Re.emit("finish")),Ae}function Ge(Re,j,Ae){j.ending=!0,pe(Re,j),Ae&&(j.finished?process.nextTick(Ae):Re.once("finish",Ae)),j.ended=!0}return Js}var Vs,If;function sh(){if(If)return Vs;If=1,Vs=ue;var se=gf(),K=ic();K.inherits=Su(),K.inherits(ue,se);function M(Y,C){this.afterTransform=function(q,oe){return ee(C,q,oe)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function ee(Y,C,q){var oe=Y._transformState;oe.transforming=!1;var k=oe.writecb;if(!k)return Y.emit("error",new Error("no writecb in Transform class"));oe.writechunk=null,oe.writecb=null,q!=null&&Y.push(q),k&&k(C);var B=Y._readableState;B.reading=!1,(B.needReadable||B.length<B.highWaterMark)&&Y._read(B.highWaterMark)}function ue(Y){if(!(this instanceof ue))return new ue(Y);se.call(this,Y),this._transformState=new M(Y,this);var C=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){typeof this._flush=="function"?this._flush(function(q){Z(C,q)}):Z(C)})}ue.prototype.push=function(Y,C){return this._transformState.needTransform=!1,se.prototype.push.call(this,Y,C)},ue.prototype._transform=function(Y,C,q){throw new Error("not implemented")},ue.prototype._write=function(Y,C,q){var oe=this._transformState;if(oe.writecb=q,oe.writechunk=Y,oe.writeencoding=C,!oe.transforming){var k=this._readableState;(oe.needTransform||k.needReadable||k.length<k.highWaterMark)&&this._read(k.highWaterMark)}},ue.prototype._read=function(Y){var C=this._transformState;C.writechunk!==null&&C.writecb&&!C.transforming?(C.transforming=!0,this._transform(C.writechunk,C.writeencoding,C.afterTransform)):C.needTransform=!0};function Z(Y,C){if(C)return Y.emit("error",C);var q=Y._writableState;Y._readableState;var oe=Y._transformState;if(q.length)throw new Error("calling transform done when ws.length != 0");if(oe.transforming)throw new Error("calling transform done when still transforming");return Y.push(null)}return Vs}var Ks,mf;function kh(){if(mf)return Ks;mf=1,Ks=M;var se=sh(),K=ic();K.inherits=Su(),K.inherits(M,se);function M(ee){if(!(this instanceof M))return new M(ee);se.call(this,ee)}return M.prototype._transform=function(ee,ue,Z){Z(null,ee)},Ks}var Df;function Ch(){return Df||(Df=1,(function(se,K){var M=is;K=se.exports=uh(),K.Stream=M,K.Readable=K,K.Writable=ch(),K.Duplex=gf(),K.Transform=sh(),K.PassThrough=kh(),!process.browser&&process.env.READABLE_STREAM==="disable"&&(se.exports=is)})(ks,ks.exports)),ks.exports}var qs,Lf;function Sh(){if(Lf)return qs;Lf=1;var se=xh(),K=Ch().Transform,M=Su();M(Y,K),qs=Y;var ee={lt:60,gt:62,slash:47,dquote:34,squote:39,equal:61},ue={endScript:se("<\/script"),endStyle:se("</style"),endTitle:se("</title"),comment:se("<!--"),endComment:se("-->"),cdata:se("<![CDATA["),endCdata:se("]]>")},Z={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function Y(){if(!(this instanceof Y))return new Y;K.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}Y.prototype._transform=function(k,B,Ie){var G=0,U=0;for(this._prev&&(k=Buffer.concat([this._prev,k]),G=this._prev.length-1,U=this._offset,this._prev=null,this._offset=0);G<k.length;G++){var fe=k[G];if(this._last.push(fe),this._last.length>9&&this._last.shift(),this.raw){var Et=this._testRaw(k,U,G);Et&&(this.push(["text",Et[0]]),this.raw===ue.endComment||this.raw===ue.endCdata?(this.state="text",this.buffers=[],this.push(["close",Et[1]])):(this.state="open",this.buffers=[Et[1]]),this.raw=null,U=G+1)}else{if(this.state==="text"&&fe===ee.lt&&G===k.length-1)return this._prev=k,this._offset=U,Ie();if(this.state==="text"&&fe===ee.lt&&!oe(k[G+1]))G>0&&G-U>0&&this.buffers.push(k.slice(U,G)),U=G,this.state="open",this.tagState=Z.TagNameState,this._pushState("text");else if(this.tagState===Z.TagNameState&&oe(fe))this.tagState=Z.AttributeNameState;else if(this.tagState===Z.AttributeNameState&&fe===ee.equal)this.tagState=Z.BeforeAttributeValueState;else if(!(this.tagState===Z.BeforeAttributeValueState&&oe(fe)))if(this.tagState===Z.BeforeAttributeValueState&&fe!==ee.gt)this.tagState=Z.AttributeValueState,fe===ee.dquote?this.quoteState="double":fe===ee.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===Z.AttributeValueState&&!this.quoteState&&oe(fe))this.tagState=Z.AttributeNameState;else if(this.tagState===Z.AttributeValueState&&this.quoteState==="double"&&fe===ee.dquote)this.quoteState=null,this.tagState=Z.AttributeNameState;else if(this.tagState===Z.AttributeValueState&&this.quoteState==="single"&&fe===ee.squote)this.quoteState=null,this.tagState=Z.AttributeNameState;else if(this.state==="open"&&fe===ee.gt&&!this.quoteState)if(this.buffers.push(k.slice(U,G+1)),U=G+1,this.state="text",this.tagState=null,this._getChar(1)===ee.slash)this._pushState("close");else{var he=this._getTag();he==="script"&&(this.raw=ue.endScript),he==="style"&&(this.raw=ue.endStyle),he==="title"&&(this.raw=ue.endTitle),this._pushState("open")}else this.state==="open"&&C(this._last,ue.comment)?(this.buffers.push(k.slice(U,G+1)),U=G+1,this.state="text",this.raw=ue.endComment,this._pushState("open")):this.state==="open"&&C(this._last,ue.cdata)&&(this.buffers.push(k.slice(U,G+1)),U=G+1,this.state="text",this.raw=ue.endCdata,this._pushState("open"))}}U<k.length&&this.buffers.push(k.slice(U)),Ie()},Y.prototype._flush=function(k){this.state==="text"&&this._pushState("text"),this.push(null),k()},Y.prototype._pushState=function(k){if(this.buffers.length!==0){var B=Buffer.concat(this.buffers);this.buffers=[],this.push([k,B])}},Y.prototype._getChar=function(k){for(var B=0,Ie=0;Ie<this.buffers.length;Ie++){var G=this.buffers[Ie];if(B+G.length>k)return G[k-B];B+=G}},Y.prototype._getTag=function(){for(var k=0,B="",Ie=0;Ie<this.buffers.length;Ie++){for(var G=this.buffers[Ie],U=0;U<G.length;U++)if(!(k===0&&U===0)){var fe=String.fromCharCode(G[U]);if(/[^\w-!\[\]]/.test(fe))return B.toLowerCase();B+=fe}k+=G.length}},Y.prototype._testRaw=function(fe,B,Ie){var G=this.raw,U=this._last;if(C(U,G)){this.buffers.push(fe.slice(B,Ie+1));var fe=Buffer.concat(this.buffers),Et=fe.length-G.length;return[fe.slice(0,Et),fe.slice(Et)]}};function C(k,B){if(k.length<B.length)return!1;for(var Ie=k.length-1,G=B.length-1;Ie>=0&&G>=0;Ie--,G--)if(q(k[Ie])!==q(B[G]))return!1;return!0}function q(k){return k>=65&&k<=90?k+32:k}function oe(k){return k===32||k===9||k===10||k===12||k===13}return qs}var Ph=Sh();const Fh=Ac.getDefaultExportFromCjs(Ph);var Ss={exports:{}},Ps={exports:{}},Fs={exports:{}},Bf;function _s(){if(Bf)return Fs.exports;Bf=1,typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Fs.exports={nextTick:se}:Fs.exports=process;function se(K,M,ee,ue){if(typeof K!="function")throw new TypeError('"callback" argument must be a function');var Z=arguments.length,Y,C;switch(Z){case 0:case 1:return process.nextTick(K);case 2:return process.nextTick(function(){K.call(null,M)});case 3:return process.nextTick(function(){K.call(null,M,ee)});case 4:return process.nextTick(function(){K.call(null,M,ee,ue)});default:for(Y=new Array(Z-1),C=0;C<Y.length;)Y[C++]=arguments[C];return process.nextTick(function(){K.apply(null,Y)})}}return Fs.exports}var js,Wf;function Ah(){if(Wf)return js;Wf=1;var se={}.toString;return js=Array.isArray||function(K){return se.call(K)=="[object Array]"},js}var $s,Nf;function fh(){return Nf||(Nf=1,$s=df.EventEmitter),$s}var As={exports:{}},Hf;function Is(){return Hf||(Hf=1,(function(se,K){var M=Rs,ee=M.Buffer;function ue(Y,C){for(var q in Y)C[q]=Y[q]}ee.from&&ee.alloc&&ee.allocUnsafe&&ee.allocUnsafeSlow?se.exports=M:(ue(M,K),K.Buffer=Z);function Z(Y,C,q){return ee(Y,C,q)}ue(ee,Z),Z.from=function(Y,C,q){if(typeof Y=="number")throw new TypeError("Argument must not be a number");return ee(Y,C,q)},Z.alloc=function(Y,C,q){if(typeof Y!="number")throw new TypeError("Argument must be a number");var oe=ee(Y);return C!==void 0?typeof q=="string"?oe.fill(C,q):oe.fill(C):oe.fill(0),oe},Z.allocUnsafe=function(Y){if(typeof Y!="number")throw new TypeError("Argument must be a number");return ee(Y)},Z.allocUnsafeSlow=function(Y){if(typeof Y!="number")throw new TypeError("Argument must be a number");return M.SlowBuffer(Y)}})(As,As.exports)),As.exports}var ef={exports:{}},zf;function Mh(){return zf||(zf=1,(function(se){function K(Z,Y){if(!(Z instanceof Y))throw new TypeError("Cannot call a class as a function")}var M=Is().Buffer,ee=lh;function ue(Z,Y,C){Z.copy(Y,C)}se.exports=(function(){function Z(){K(this,Z),this.head=null,this.tail=null,this.length=0}return Z.prototype.push=function(C){var q={data:C,next:null};this.length>0?this.tail.next=q:this.head=q,this.tail=q,++this.length},Z.prototype.unshift=function(C){var q={data:C,next:this.head};this.length===0&&(this.tail=q),this.head=q,++this.length},Z.prototype.shift=function(){if(this.length!==0){var C=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,C}},Z.prototype.clear=function(){this.head=this.tail=null,this.length=0},Z.prototype.join=function(C){if(this.length===0)return"";for(var q=this.head,oe=""+q.data;q=q.next;)oe+=C+q.data;return oe},Z.prototype.concat=function(C){if(this.length===0)return M.alloc(0);for(var q=M.allocUnsafe(C>>>0),oe=this.head,k=0;oe;)ue(oe.data,q,k),k+=oe.data.length,oe=oe.next;return q},Z})(),ee&&ee.inspect&&ee.inspect.custom&&(se.exports.prototype[ee.inspect.custom]=function(){var Z=ee.inspect({length:this.length});return this.constructor.name+" "+Z})})(ef)),ef.exports}var tf,Uf;function hh(){if(Uf)return tf;Uf=1;var se=_s();function K(ue,Z){var Y=this,C=this._readableState&&this._readableState.destroyed,q=this._writableState&&this._writableState.destroyed;return C||q?(Z?Z(ue):ue&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,se.nextTick(ee,this,ue)):se.nextTick(ee,this,ue)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(oe){!Z&&oe?Y._writableState?Y._writableState.errorEmitted||(Y._writableState.errorEmitted=!0,se.nextTick(ee,Y,oe)):se.nextTick(ee,Y,oe):Z&&Z(oe)}),this)}function M(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ee(ue,Z){ue.emit("error",Z)}return tf={destroy:K,undestroy:M},tf}var nf,Yf;function Oh(){if(Yf)return nf;Yf=1,nf=se;function se(M,ee){if(K("noDeprecation"))return M;var ue=!1;function Z(){if(!ue){if(K("throwDeprecation"))throw new Error(ee);K("traceDeprecation")?console.trace(ee):console.warn(ee),ue=!0}return M.apply(this,arguments)}return Z}function K(M){try{if(!Ac.commonjsGlobal.localStorage)return!1}catch{return!1}var ee=Ac.commonjsGlobal.localStorage[M];return ee==null?!1:String(ee).toLowerCase()==="true"}return nf}var rf,Gf;function dh(){if(Gf)return rf;Gf=1;var se=_s();rf=fe;function K(P){var $=this;this.next=null,this.entry=null,this.finish=function(){ae($,P)}}var M=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:se.nextTick,ee;fe.WritableState=G;var ue=Object.create(ic());ue.inherits=Su();var Z={deprecate:Oh()},Y=fh(),C=Is().Buffer,q=(typeof Ac.commonjsGlobal<"u"?Ac.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function oe(P){return C.from(P)}function k(P){return C.isBuffer(P)||P instanceof q}var B=hh();ue.inherits(fe,Y);function Ie(){}function G(P,$){ee=ee||os(),P=P||{};var le=$ instanceof ee;this.objectMode=!!P.objectMode,le&&(this.objectMode=this.objectMode||!!P.writableObjectMode);var te=P.highWaterMark,Q=P.writableHighWaterMark,nt=this.objectMode?16:16*1024;te||te===0?this.highWaterMark=te:le&&(Q||Q===0)?this.highWaterMark=Q:this.highWaterMark=nt,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var pt=P.decodeStrings===!1;this.decodeStrings=!pt,this.defaultEncoding=P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Qe){Ve($,Qe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new K(this)}G.prototype.getBuffer=function(){for(var $=this.bufferedRequest,le=[];$;)le.push($),$=$.next;return le},(function(){try{Object.defineProperty(G.prototype,"buffer",{get:Z.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var U;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(P){return U.call(this,P)?!0:this!==fe?!1:P&&P._writableState instanceof G}})):U=function(P){return P instanceof this};function fe(P){if(ee=ee||os(),!U.call(fe,this)&&!(this instanceof ee))return new fe(P);this._writableState=new G(P,this),this.writable=!0,P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final)),Y.call(this)}fe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Et(P,$){var le=new Error("write after end");P.emit("error",le),se.nextTick($,le)}function he(P,$,le,te){var Q=!0,nt=!1;return le===null?nt=new TypeError("May not write null values to stream"):typeof le!="string"&&le!==void 0&&!$.objectMode&&(nt=new TypeError("Invalid non-string/buffer chunk")),nt&&(P.emit("error",nt),se.nextTick(te,nt),Q=!1),Q}fe.prototype.write=function(P,$,le){var te=this._writableState,Q=!1,nt=!te.objectMode&&k(P);return nt&&!C.isBuffer(P)&&(P=oe(P)),typeof $=="function"&&(le=$,$=null),nt?$="buffer":$||($=te.defaultEncoding),typeof le!="function"&&(le=Ie),te.ended?Et(this,le):(nt||he(this,te,P,le))&&(te.pendingcb++,Q=Ge(this,te,nt,P,$,le)),Q},fe.prototype.cork=function(){var P=this._writableState;P.corked++},fe.prototype.uncork=function(){var P=this._writableState;P.corked&&(P.corked--,!P.writing&&!P.corked&&!P.bufferProcessing&&P.bufferedRequest&&_t(this,P))},fe.prototype.setDefaultEncoding=function($){if(typeof $=="string"&&($=$.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf(($+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+$);return this._writableState.defaultEncoding=$,this};function pe(P,$,le){return!P.objectMode&&P.decodeStrings!==!1&&typeof $=="string"&&($=C.from($,le)),$}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ge(P,$,le,te,Q,nt){if(!le){var pt=pe($,te,Q);te!==pt&&(le=!0,Q="buffer",te=pt)}var Qe=$.objectMode?1:te.length;$.length+=Qe;var dt=$.length<$.highWaterMark;if(dt||($.needDrain=!0),$.writing||$.corked){var It=$.lastBufferedRequest;$.lastBufferedRequest={chunk:te,encoding:Q,isBuf:le,callback:nt,next:null},It?It.next=$.lastBufferedRequest:$.bufferedRequest=$.lastBufferedRequest,$.bufferedRequestCount+=1}else Re(P,$,!1,Qe,te,Q,nt);return dt}function Re(P,$,le,te,Q,nt,pt){$.writelen=te,$.writecb=pt,$.writing=!0,$.sync=!0,le?P._writev(Q,$.onwrite):P._write(Q,nt,$.onwrite),$.sync=!1}function j(P,$,le,te,Q){--$.pendingcb,le?(se.nextTick(Q,te),se.nextTick(Ee,P,$),P._writableState.errorEmitted=!0,P.emit("error",te)):(Q(te),P._writableState.errorEmitted=!0,P.emit("error",te),Ee(P,$))}function Ae(P){P.writing=!1,P.writecb=null,P.length-=P.writelen,P.writelen=0}function Ve(P,$){var le=P._writableState,te=le.sync,Q=le.writecb;if(Ae(le),$)j(P,le,te,$,Q);else{var nt=N(le);!nt&&!le.corked&&!le.bufferProcessing&&le.bufferedRequest&&_t(P,le),te?M(it,P,le,nt,Q):it(P,le,nt,Q)}}function it(P,$,le,te){le||$e(P,$),$.pendingcb--,te(),Ee(P,$)}function $e(P,$){$.length===0&&$.needDrain&&($.needDrain=!1,P.emit("drain"))}function _t(P,$){$.bufferProcessing=!0;var le=$.bufferedRequest;if(P._writev&&le&&le.next){var te=$.bufferedRequestCount,Q=new Array(te),nt=$.corkedRequestsFree;nt.entry=le;for(var pt=0,Qe=!0;le;)Q[pt]=le,le.isBuf||(Qe=!1),le=le.next,pt+=1;Q.allBuffers=Qe,Re(P,$,!0,$.length,Q,"",nt.finish),$.pendingcb++,$.lastBufferedRequest=null,nt.next?($.corkedRequestsFree=nt.next,nt.next=null):$.corkedRequestsFree=new K($),$.bufferedRequestCount=0}else{for(;le;){var dt=le.chunk,It=le.encoding,S=le.callback,A=$.objectMode?1:dt.length;if(Re(P,$,!1,A,dt,It,S),le=le.next,$.bufferedRequestCount--,$.writing)break}le===null&&($.lastBufferedRequest=null)}$.bufferedRequest=le,$.bufferProcessing=!1}fe.prototype._write=function(P,$,le){le(new Error("_write() is not implemented"))},fe.prototype._writev=null,fe.prototype.end=function(P,$,le){var te=this._writableState;typeof P=="function"?(le=P,P=null,$=null):typeof $=="function"&&(le=$,$=null),P!=null&&this.write(P,$),te.corked&&(te.corked=1,this.uncork()),te.ending||Ze(this,te,le)};function N(P){return P.ending&&P.length===0&&P.bufferedRequest===null&&!P.finished&&!P.writing}function H(P,$){P._final(function(le){$.pendingcb--,le&&P.emit("error",le),$.prefinished=!0,P.emit("prefinish"),Ee(P,$)})}function ce(P,$){!$.prefinished&&!$.finalCalled&&(typeof P._final=="function"?($.pendingcb++,$.finalCalled=!0,se.nextTick(H,P,$)):($.prefinished=!0,P.emit("prefinish")))}function Ee(P,$){var le=N($);return le&&(ce(P,$),$.pendingcb===0&&($.finished=!0,P.emit("finish"))),le}function Ze(P,$,le){$.ending=!0,Ee(P,$),le&&($.finished?se.nextTick(le):P.once("finish",le)),$.ended=!0,P.writable=!1}function ae(P,$,le){var te=P.entry;for(P.entry=null;te;){var Q=te.callback;$.pendingcb--,Q(le),te=te.next}$.corkedRequestsFree.next=P}return Object.defineProperty(fe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(P){this._writableState&&(this._writableState.destroyed=P)}}),fe.prototype.destroy=B.destroy,fe.prototype._undestroy=B.undestroy,fe.prototype._destroy=function(P,$){this.end(),$(P)},rf}var af,Xf;function os(){if(Xf)return af;Xf=1;var se=_s(),K=Object.keys||function(B){var Ie=[];for(var G in B)Ie.push(G);return Ie};af=q;var M=Object.create(ic());M.inherits=Su();var ee=gh(),ue=dh();M.inherits(q,ee);for(var Z=K(ue.prototype),Y=0;Y<Z.length;Y++){var C=Z[Y];q.prototype[C]||(q.prototype[C]=ue.prototype[C])}function q(B){if(!(this instanceof q))return new q(B);ee.call(this,B),ue.call(this,B),B&&B.readable===!1&&(this.readable=!1),B&&B.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,B&&B.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",oe)}Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function oe(){this.allowHalfOpen||this._writableState.ended||se.nextTick(k,this)}function k(B){B.end()}return Object.defineProperty(q.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(B){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=B,this._writableState.destroyed=B)}}),q.prototype._destroy=function(B,Ie){this.push(null),this.end(),se.nextTick(Ie,B)},af}var lf={},Zf;function Qf(){if(Zf)return lf;Zf=1;var se=Is().Buffer,K=se.isEncoding||function(he){switch(he=""+he,he&&he.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function M(he){if(!he)return"utf8";for(var pe;;)switch(he){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return he;default:if(pe)return;he=(""+he).toLowerCase(),pe=!0}}function ee(he){var pe=M(he);if(typeof pe!="string"&&(se.isEncoding===K||!K(he)))throw new Error("Unknown encoding: "+he);return pe||he}lf.StringDecoder=ue;function ue(he){this.encoding=ee(he);var pe;switch(this.encoding){case"utf16le":this.text=B,this.end=Ie,pe=4;break;case"utf8":this.fillLast=q,pe=4;break;case"base64":this.text=G,this.end=U,pe=3;break;default:this.write=fe,this.end=Et;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(pe)}ue.prototype.write=function(he){if(he.length===0)return"";var pe,Ge;if(this.lastNeed){if(pe=this.fillLast(he),pe===void 0)return"";Ge=this.lastNeed,this.lastNeed=0}else Ge=0;return Ge<he.length?pe?pe+this.text(he,Ge):this.text(he,Ge):pe||""},ue.prototype.end=k,ue.prototype.text=oe,ue.prototype.fillLast=function(he){if(this.lastNeed<=he.length)return he.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);he.copy(this.lastChar,this.lastTotal-this.lastNeed,0,he.length),this.lastNeed-=he.length};function Z(he){return he<=127?0:he>>5===6?2:he>>4===14?3:he>>3===30?4:he>>6===2?-1:-2}function Y(he,pe,Ge){var Re=pe.length-1;if(Re<Ge)return 0;var j=Z(pe[Re]);return j>=0?(j>0&&(he.lastNeed=j-1),j):--Re<Ge||j===-2?0:(j=Z(pe[Re]),j>=0?(j>0&&(he.lastNeed=j-2),j):--Re<Ge||j===-2?0:(j=Z(pe[Re]),j>=0?(j>0&&(j===2?j=0:he.lastNeed=j-3),j):0))}function C(he,pe,Ge){if((pe[0]&192)!==128)return he.lastNeed=0,"�";if(he.lastNeed>1&&pe.length>1){if((pe[1]&192)!==128)return he.lastNeed=1,"�";if(he.lastNeed>2&&pe.length>2&&(pe[2]&192)!==128)return he.lastNeed=2,"�"}}function q(he){var pe=this.lastTotal-this.lastNeed,Ge=C(this,he);if(Ge!==void 0)return Ge;if(this.lastNeed<=he.length)return he.copy(this.lastChar,pe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);he.copy(this.lastChar,pe,0,he.length),this.lastNeed-=he.length}function oe(he,pe){var Ge=Y(this,he,pe);if(!this.lastNeed)return he.toString("utf8",pe);this.lastTotal=Ge;var Re=he.length-(Ge-this.lastNeed);return he.copy(this.lastChar,0,Re),he.toString("utf8",pe,Re)}function k(he){var pe=he&&he.length?this.write(he):"";return this.lastNeed?pe+"�":pe}function B(he,pe){if((he.length-pe)%2===0){var Ge=he.toString("utf16le",pe);if(Ge){var Re=Ge.charCodeAt(Ge.length-1);if(Re>=55296&&Re<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1],Ge.slice(0,-1)}return Ge}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=he[he.length-1],he.toString("utf16le",pe,he.length-1)}function Ie(he){var pe=he&&he.length?this.write(he):"";if(this.lastNeed){var Ge=this.lastTotal-this.lastNeed;return pe+this.lastChar.toString("utf16le",0,Ge)}return pe}function G(he,pe){var Ge=(he.length-pe)%3;return Ge===0?he.toString("base64",pe):(this.lastNeed=3-Ge,this.lastTotal=3,Ge===1?this.lastChar[0]=he[he.length-1]:(this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1]),he.toString("base64",pe,he.length-Ge))}function U(he){var pe=he&&he.length?this.write(he):"";return this.lastNeed?pe+this.lastChar.toString("base64",0,3-this.lastNeed):pe}function fe(he){return he.toString(this.encoding)}function Et(he){return he&&he.length?this.write(he):""}return lf}var of,Jf;function gh(){if(Jf)return of;Jf=1;var se=_s();of=pe;var K=Ah(),M;pe.ReadableState=he,df.EventEmitter;var ee=function(S,A){return S.listeners(A).length},ue=fh(),Z=Is().Buffer,Y=(typeof Ac.commonjsGlobal<"u"?Ac.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function C(S){return Z.from(S)}function q(S){return Z.isBuffer(S)||S instanceof Y}var oe=Object.create(ic());oe.inherits=Su();var k=lh,B=void 0;k&&k.debuglog?B=k.debuglog("stream"):B=function(){};var Ie=Mh(),G=hh(),U;oe.inherits(pe,ue);var fe=["error","close","destroy","pause","resume"];function Et(S,A,Se){if(typeof S.prependListener=="function")return S.prependListener(A,Se);!S._events||!S._events[A]?S.on(A,Se):K(S._events[A])?S._events[A].unshift(Se):S._events[A]=[Se,S._events[A]]}function he(S,A){M=M||os(),S=S||{};var Se=A instanceof M;this.objectMode=!!S.objectMode,Se&&(this.objectMode=this.objectMode||!!S.readableObjectMode);var we=S.highWaterMark,me=S.readableHighWaterMark,Me=this.objectMode?16:16*1024;we||we===0?this.highWaterMark=we:Se&&(me||me===0)?this.highWaterMark=me:this.highWaterMark=Me,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Ie,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=S.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,S.encoding&&(U||(U=Qf().StringDecoder),this.decoder=new U(S.encoding),this.encoding=S.encoding)}function pe(S){if(M=M||os(),!(this instanceof pe))return new pe(S);this._readableState=new he(S,this),this.readable=!0,S&&(typeof S.read=="function"&&(this._read=S.read),typeof S.destroy=="function"&&(this._destroy=S.destroy)),ue.call(this)}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(S){this._readableState&&(this._readableState.destroyed=S)}}),pe.prototype.destroy=G.destroy,pe.prototype._undestroy=G.undestroy,pe.prototype._destroy=function(S,A){this.push(null),A(S)},pe.prototype.push=function(S,A){var Se=this._readableState,we;return Se.objectMode?we=!0:typeof S=="string"&&(A=A||Se.defaultEncoding,A!==Se.encoding&&(S=Z.from(S,A),A=""),we=!0),Ge(this,S,A,!1,we)},pe.prototype.unshift=function(S){return Ge(this,S,null,!0,!1)};function Ge(S,A,Se,we,me){var Me=S._readableState;if(A===null)Me.reading=!1,_t(S,Me);else{var ot;me||(ot=j(Me,A)),ot?S.emit("error",ot):Me.objectMode||A&&A.length>0?(typeof A!="string"&&!Me.objectMode&&Object.getPrototypeOf(A)!==Z.prototype&&(A=C(A)),we?Me.endEmitted?S.emit("error",new Error("stream.unshift() after end event")):Re(S,Me,A,!0):Me.ended?S.emit("error",new Error("stream.push() after EOF")):(Me.reading=!1,Me.decoder&&!Se?(A=Me.decoder.write(A),Me.objectMode||A.length!==0?Re(S,Me,A,!1):ce(S,Me)):Re(S,Me,A,!1))):we||(Me.reading=!1)}return Ae(Me)}function Re(S,A,Se,we){A.flowing&&A.length===0&&!A.sync?(S.emit("data",Se),S.read(0)):(A.length+=A.objectMode?1:Se.length,we?A.buffer.unshift(Se):A.buffer.push(Se),A.needReadable&&N(S)),ce(S,A)}function j(S,A){var Se;return!q(A)&&typeof A!="string"&&A!==void 0&&!S.objectMode&&(Se=new TypeError("Invalid non-string/buffer chunk")),Se}function Ae(S){return!S.ended&&(S.needReadable||S.length<S.highWaterMark||S.length===0)}pe.prototype.isPaused=function(){return this._readableState.flowing===!1},pe.prototype.setEncoding=function(S){return U||(U=Qf().StringDecoder),this._readableState.decoder=new U(S),this._readableState.encoding=S,this};var Ve=8388608;function it(S){return S>=Ve?S=Ve:(S--,S|=S>>>1,S|=S>>>2,S|=S>>>4,S|=S>>>8,S|=S>>>16,S++),S}function $e(S,A){return S<=0||A.length===0&&A.ended?0:A.objectMode?1:S!==S?A.flowing&&A.length?A.buffer.head.data.length:A.length:(S>A.highWaterMark&&(A.highWaterMark=it(S)),S<=A.length?S:A.ended?A.length:(A.needReadable=!0,0))}pe.prototype.read=function(S){B("read",S),S=parseInt(S,10);var A=this._readableState,Se=S;if(S!==0&&(A.emittedReadable=!1),S===0&&A.needReadable&&(A.length>=A.highWaterMark||A.ended))return B("read: emitReadable",A.length,A.ended),A.length===0&&A.ended?Qe(this):N(this),null;if(S=$e(S,A),S===0&&A.ended)return A.length===0&&Qe(this),null;var we=A.needReadable;B("need readable",we),(A.length===0||A.length-S<A.highWaterMark)&&(we=!0,B("length less than watermark",we)),A.ended||A.reading?(we=!1,B("reading or ended",we)):we&&(B("do read"),A.reading=!0,A.sync=!0,A.length===0&&(A.needReadable=!0),this._read(A.highWaterMark),A.sync=!1,A.reading||(S=$e(Se,A)));var me;return S>0?me=te(S,A):me=null,me===null?(A.needReadable=!0,S=0):A.length-=S,A.length===0&&(A.ended||(A.needReadable=!0),Se!==S&&A.ended&&Qe(this)),me!==null&&this.emit("data",me),me};function _t(S,A){if(!A.ended){if(A.decoder){var Se=A.decoder.end();Se&&Se.length&&(A.buffer.push(Se),A.length+=A.objectMode?1:Se.length)}A.ended=!0,N(S)}}function N(S){var A=S._readableState;A.needReadable=!1,A.emittedReadable||(B("emitReadable",A.flowing),A.emittedReadable=!0,A.sync?se.nextTick(H,S):H(S))}function H(S){B("emit readable"),S.emit("readable"),le(S)}function ce(S,A){A.readingMore||(A.readingMore=!0,se.nextTick(Ee,S,A))}function Ee(S,A){for(var Se=A.length;!A.reading&&!A.flowing&&!A.ended&&A.length<A.highWaterMark&&(B("maybeReadMore read 0"),S.read(0),Se!==A.length);)Se=A.length;A.readingMore=!1}pe.prototype._read=function(S){this.emit("error",new Error("_read() is not implemented"))},pe.prototype.pipe=function(S,A){var Se=this,we=this._readableState;switch(we.pipesCount){case 0:we.pipes=S;break;case 1:we.pipes=[we.pipes,S];break;default:we.pipes.push(S);break}we.pipesCount+=1,B("pipe count=%d opts=%j",we.pipesCount,A);var me=(!A||A.end!==!1)&&S!==process.stdout&&S!==process.stderr,Me=me?ua:bn;we.endEmitted?se.nextTick(Me):Se.once("end",Me),S.on("unpipe",ot);function ot(wr,Sn){B("onunpipe"),wr===Se&&Sn&&Sn.hasUnpiped===!1&&(Sn.hasUnpiped=!0,yr())}function ua(){B("onend"),S.end()}var nn=Ze(Se);S.on("drain",nn);var Yt=!1;function yr(){B("cleanup"),S.removeListener("close",Qt),S.removeListener("finish",et),S.removeListener("drain",nn),S.removeListener("error",Cn),S.removeListener("unpipe",ot),Se.removeListener("end",ua),Se.removeListener("end",bn),Se.removeListener("data",Ia),Yt=!0,we.awaitDrain&&(!S._writableState||S._writableState.needDrain)&&nn()}var ca=!1;Se.on("data",Ia);function Ia(wr){B("ondata"),ca=!1;var Sn=S.write(wr);Sn===!1&&!ca&&((we.pipesCount===1&&we.pipes===S||we.pipesCount>1&&It(we.pipes,S)!==-1)&&!Yt&&(B("false write response, pause",we.awaitDrain),we.awaitDrain++,ca=!0),Se.pause())}function Cn(wr){B("onerror",wr),bn(),S.removeListener("error",Cn),ee(S,"error")===0&&S.emit("error",wr)}Et(S,"error",Cn);function Qt(){S.removeListener("finish",et),bn()}S.once("close",Qt);function et(){B("onfinish"),S.removeListener("close",Qt),bn()}S.once("finish",et);function bn(){B("unpipe"),Se.unpipe(S)}return S.emit("pipe",Se),we.flowing||(B("pipe resume"),Se.resume()),S};function Ze(S){return function(){var A=S._readableState;B("pipeOnDrain",A.awaitDrain),A.awaitDrain&&A.awaitDrain--,A.awaitDrain===0&&ee(S,"data")&&(A.flowing=!0,le(S))}}pe.prototype.unpipe=function(S){var A=this._readableState,Se={hasUnpiped:!1};if(A.pipesCount===0)return this;if(A.pipesCount===1)return S&&S!==A.pipes?this:(S||(S=A.pipes),A.pipes=null,A.pipesCount=0,A.flowing=!1,S&&S.emit("unpipe",this,Se),this);if(!S){var we=A.pipes,me=A.pipesCount;A.pipes=null,A.pipesCount=0,A.flowing=!1;for(var Me=0;Me<me;Me++)we[Me].emit("unpipe",this,{hasUnpiped:!1});return this}var ot=It(A.pipes,S);return ot===-1?this:(A.pipes.splice(ot,1),A.pipesCount-=1,A.pipesCount===1&&(A.pipes=A.pipes[0]),S.emit("unpipe",this,Se),this)},pe.prototype.on=function(S,A){var Se=ue.prototype.on.call(this,S,A);if(S==="data")this._readableState.flowing!==!1&&this.resume();else if(S==="readable"){var we=this._readableState;!we.endEmitted&&!we.readableListening&&(we.readableListening=we.needReadable=!0,we.emittedReadable=!1,we.reading?we.length&&N(this):se.nextTick(ae,this))}return Se},pe.prototype.addListener=pe.prototype.on;function ae(S){B("readable nexttick read 0"),S.read(0)}pe.prototype.resume=function(){var S=this._readableState;return S.flowing||(B("resume"),S.flowing=!0,P(this,S)),this};function P(S,A){A.resumeScheduled||(A.resumeScheduled=!0,se.nextTick($,S,A))}function $(S,A){A.reading||(B("resume read 0"),S.read(0)),A.resumeScheduled=!1,A.awaitDrain=0,S.emit("resume"),le(S),A.flowing&&!A.reading&&S.read(0)}pe.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function le(S){var A=S._readableState;for(B("flow",A.flowing);A.flowing&&S.read()!==null;);}pe.prototype.wrap=function(S){var A=this,Se=this._readableState,we=!1;S.on("end",function(){if(B("wrapped end"),Se.decoder&&!Se.ended){var ot=Se.decoder.end();ot&&ot.length&&A.push(ot)}A.push(null)}),S.on("data",function(ot){if(B("wrapped data"),Se.decoder&&(ot=Se.decoder.write(ot)),!(Se.objectMode&&ot==null)&&!(!Se.objectMode&&(!ot||!ot.length))){var ua=A.push(ot);ua||(we=!0,S.pause())}});for(var me in S)this[me]===void 0&&typeof S[me]=="function"&&(this[me]=(function(ot){return function(){return S[ot].apply(S,arguments)}})(me));for(var Me=0;Me<fe.length;Me++)S.on(fe[Me],this.emit.bind(this,fe[Me]));return this._read=function(ot){B("wrapped _read",ot),we&&(we=!1,S.resume())},this},Object.defineProperty(pe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),pe._fromList=te;function te(S,A){if(A.length===0)return null;var Se;return A.objectMode?Se=A.buffer.shift():!S||S>=A.length?(A.decoder?Se=A.buffer.join(""):A.buffer.length===1?Se=A.buffer.head.data:Se=A.buffer.concat(A.length),A.buffer.clear()):Se=Q(S,A.buffer,A.decoder),Se}function Q(S,A,Se){var we;return S<A.head.data.length?(we=A.head.data.slice(0,S),A.head.data=A.head.data.slice(S)):S===A.head.data.length?we=A.shift():we=Se?nt(S,A):pt(S,A),we}function nt(S,A){var Se=A.head,we=1,me=Se.data;for(S-=me.length;Se=Se.next;){var Me=Se.data,ot=S>Me.length?Me.length:S;if(ot===Me.length?me+=Me:me+=Me.slice(0,S),S-=ot,S===0){ot===Me.length?(++we,Se.next?A.head=Se.next:A.head=A.tail=null):(A.head=Se,Se.data=Me.slice(ot));break}++we}return A.length-=we,me}function pt(S,A){var Se=Z.allocUnsafe(S),we=A.head,me=1;for(we.data.copy(Se),S-=we.data.length;we=we.next;){var Me=we.data,ot=S>Me.length?Me.length:S;if(Me.copy(Se,Se.length-S,0,ot),S-=ot,S===0){ot===Me.length?(++me,we.next?A.head=we.next:A.head=A.tail=null):(A.head=we,we.data=Me.slice(ot));break}++me}return A.length-=me,Se}function Qe(S){var A=S._readableState;if(A.length>0)throw new Error('"endReadable()" called on non-empty stream');A.endEmitted||(A.ended=!0,se.nextTick(dt,A,S))}function dt(S,A){!S.endEmitted&&S.length===0&&(S.endEmitted=!0,A.readable=!1,A.emit("end"))}function It(S,A){for(var Se=0,we=S.length;Se<we;Se++)if(S[Se]===A)return Se;return-1}return of}var uf,Vf;function vh(){if(Vf)return uf;Vf=1,uf=ee;var se=os(),K=Object.create(ic());K.inherits=Su(),K.inherits(ee,se);function M(Y,C){var q=this._transformState;q.transforming=!1;var oe=q.writecb;if(!oe)return this.emit("error",new Error("write callback called multiple times"));q.writechunk=null,q.writecb=null,C!=null&&this.push(C),oe(Y);var k=this._readableState;k.reading=!1,(k.needReadable||k.length<k.highWaterMark)&&this._read(k.highWaterMark)}function ee(Y){if(!(this instanceof ee))return new ee(Y);se.call(this,Y),this._transformState={afterTransform:M.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,Y&&(typeof Y.transform=="function"&&(this._transform=Y.transform),typeof Y.flush=="function"&&(this._flush=Y.flush)),this.on("prefinish",ue)}function ue(){var Y=this;typeof this._flush=="function"?this._flush(function(C,q){Z(Y,C,q)}):Z(this,null,null)}ee.prototype.push=function(Y,C){return this._transformState.needTransform=!1,se.prototype.push.call(this,Y,C)},ee.prototype._transform=function(Y,C,q){throw new Error("_transform() is not implemented")},ee.prototype._write=function(Y,C,q){var oe=this._transformState;if(oe.writecb=q,oe.writechunk=Y,oe.writeencoding=C,!oe.transforming){var k=this._readableState;(oe.needTransform||k.needReadable||k.length<k.highWaterMark)&&this._read(k.highWaterMark)}},ee.prototype._read=function(Y){var C=this._transformState;C.writechunk!==null&&C.writecb&&!C.transforming?(C.transforming=!0,this._transform(C.writechunk,C.writeencoding,C.afterTransform)):C.needTransform=!0},ee.prototype._destroy=function(Y,C){var q=this;se.prototype._destroy.call(this,Y,function(oe){C(oe),q.emit("close")})};function Z(Y,C,q){if(C)return Y.emit("error",C);if(q!=null&&Y.push(q),Y._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(Y._transformState.transforming)throw new Error("Calling transform done when still transforming");return Y.push(null)}return uf}var cf,Kf;function _h(){if(Kf)return cf;Kf=1,cf=M;var se=vh(),K=Object.create(ic());K.inherits=Su(),K.inherits(M,se);function M(ee){if(!(this instanceof M))return new M(ee);se.call(this,ee)}return M.prototype._transform=function(ee,ue,Z){Z(null,ee)},cf}var qf;function Ih(){return qf||(qf=1,(function(se,K){K=se.exports=gh(),K.Stream=K,K.Readable=K,K.Writable=dh(),K.Duplex=os(),K.Transform=vh(),K.PassThrough=_h()})(Ps,Ps.exports)),Ps.exports}var jf;function mh(){if(jf)return Ss.exports;jf=1;var se=Ih();function K(M,ee,ue){typeof ue>"u"&&(ue=ee,ee=M,M=null),se.Duplex.call(this,M),typeof ue.read!="function"&&(ue=new se.Readable(M).wrap(ue)),this._writable=ee,this._readable=ue,this._waiting=!1;var Z=this;ee.once("finish",function(){Z.end()}),this.once("finish",function(){ee.end()}),ue.on("readable",function(){Z._waiting&&(Z._waiting=!1,Z._read())}),ue.once("end",function(){Z.push(null)}),(!M||typeof M.bubbleErrors>"u"||M.bubbleErrors)&&(ee.on("error",function(Y){Z.emit("error",Y)}),ue.on("error",function(Y){Z.emit("error",Y)}))}return K.prototype=Object.create(se.Duplex.prototype,{constructor:{value:K}}),K.prototype._write=function(ee,ue,Z){this._writable.write(ee,ue,Z)},K.prototype._read=function(){for(var ee,ue=0;(ee=this._readable.read())!==null;)this.push(ee),ue++;ue===0&&(this._waiting=!0)},Ss.exports=function(ee,ue,Z){return new K(ee,ue,Z)},Ss.exports.DuplexWrapper=K,Ss.exports}/*
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Xc=require("../jsx-runtime-B2pbW5Fp.cjs"),Ms=require("react-router"),us=require("react"),yh=require("@emotion/cache"),Ac=require("../_commonjsHelpers-DKOUU3wS.cjs"),is=require("stream"),Rs=require("buffer"),df=require("events"),lh=require("util"),wh=require("../client-CmAMc2Wj.cjs"),Os=require("react-dom"),oh=require("./App.cjs.js");var Us={exports:{}},Ef;function Th(){return Ef||(Ef=1,(function(se,K){var M=is;se.exports=ee,ee.through=ee;function ee(ue,Z,Y){ue=ue||function(U){this.queue(U)},Z=Z||function(){this.queue(null)};var C=!1,q=!1,oe=[],k=!1,B=new M;B.readable=B.writable=!0,B.paused=!1,B.autoDestroy=!(Y&&Y.autoDestroy===!1),B.write=function(U){return ue.call(this,U),!B.paused};function Ie(){for(;oe.length&&!B.paused;){var U=oe.shift();if(U===null)return B.emit("end");B.emit("data",U)}}B.queue=B.push=function(U){return k||(U===null&&(k=!0),oe.push(U),Ie()),B},B.on("end",function(){B.readable=!1,!B.writable&&B.autoDestroy&&process.nextTick(function(){B.destroy()})});function G(){B.writable=!1,Z.call(B),!B.readable&&B.autoDestroy&&B.destroy()}return B.end=function(U){if(!C)return C=!0,arguments.length&&B.write(U),G(),B},B.destroy=function(){if(!q)return q=!0,C=!0,oe.length=0,B.writable=B.readable=!1,B.emit("close"),B},B.pause=function(){if(!B.paused)return B.paused=!0,B},B.resume=function(){return B.paused&&(B.paused=!1,B.emit("resume")),Ie(),B.paused||B.emit("drain"),B},B}})(Us)),Us.exports}var ph=Th();const Rh=Ac.getDefaultExportFromCjs(ph);var Ys,kf;function xh(){if(kf)return Ys;kf=1;var se=Object.prototype.toString,K=typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function M(Y){return se.call(Y).slice(8,-1)==="ArrayBuffer"}function ee(Y,C,q){C>>>=0;var oe=Y.byteLength-C;if(oe<0)throw new RangeError("'offset' is out of bounds");if(q===void 0)q=oe;else if(q>>>=0,q>oe)throw new RangeError("'length' is out of bounds");return K?Buffer.from(Y.slice(C,C+q)):new Buffer(new Uint8Array(Y.slice(C,C+q)))}function ue(Y,C){if((typeof C!="string"||C==="")&&(C="utf8"),!Buffer.isEncoding(C))throw new TypeError('"encoding" must be a valid string encoding');return K?Buffer.from(Y,C):new Buffer(Y,C)}function Z(Y,C,q){if(typeof Y=="number")throw new TypeError('"value" argument must not be a number');return M(Y)?ee(Y,C,q):typeof Y=="string"?ue(Y,C):K?Buffer.from(Y):new Buffer(Y)}return Ys=Z,Ys}var ks={exports:{}},Gs,Cf;function Eh(){return Cf||(Cf=1,Gs=Array.isArray||function(se){return Object.prototype.toString.call(se)=="[object Array]"}),Gs}var _i={},Sf;function ic(){if(Sf)return _i;Sf=1;function se(fe){return Array.isArray?Array.isArray(fe):U(fe)==="[object Array]"}_i.isArray=se;function K(fe){return typeof fe=="boolean"}_i.isBoolean=K;function M(fe){return fe===null}_i.isNull=M;function ee(fe){return fe==null}_i.isNullOrUndefined=ee;function ue(fe){return typeof fe=="number"}_i.isNumber=ue;function Z(fe){return typeof fe=="string"}_i.isString=Z;function Y(fe){return typeof fe=="symbol"}_i.isSymbol=Y;function C(fe){return fe===void 0}_i.isUndefined=C;function q(fe){return U(fe)==="[object RegExp]"}_i.isRegExp=q;function oe(fe){return typeof fe=="object"&&fe!==null}_i.isObject=oe;function k(fe){return U(fe)==="[object Date]"}_i.isDate=k;function B(fe){return U(fe)==="[object Error]"||fe instanceof Error}_i.isError=B;function Ie(fe){return typeof fe=="function"}_i.isFunction=Ie;function G(fe){return fe===null||typeof fe=="boolean"||typeof fe=="number"||typeof fe=="string"||typeof fe=="symbol"||typeof fe>"u"}_i.isPrimitive=G,_i.isBuffer=Rs.Buffer.isBuffer;function U(fe){return Object.prototype.toString.call(fe)}return _i}var Cs={exports:{}},Pf;function Su(){return Pf||(Pf=1,typeof Object.create=="function"?Cs.exports=function(K,M){M&&(K.super_=M,K.prototype=Object.create(M.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}))}:Cs.exports=function(K,M){if(M){K.super_=M;var ee=function(){};ee.prototype=M.prototype,K.prototype=new ee,K.prototype.constructor=K}}),Cs.exports}var Xs={},Ff;function Af(){if(Ff)return Xs;Ff=1;var se=Rs.Buffer,K=se.isEncoding||function(C){switch(C&&C.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function M(C){if(C&&!K(C))throw new Error("Unknown encoding: "+C)}var ee=Xs.StringDecoder=function(C){switch(this.encoding=(C||"utf8").toLowerCase().replace(/[-_]/,""),M(C),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Z;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Y;break;default:this.write=ue;return}this.charBuffer=new se(6),this.charReceived=0,this.charLength=0};ee.prototype.write=function(C){for(var q="";this.charLength;){var oe=C.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:C.length;if(C.copy(this.charBuffer,this.charReceived,0,oe),this.charReceived+=oe,this.charReceived<this.charLength)return"";C=C.slice(oe,C.length),q=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var B=q.charCodeAt(q.length-1);if(B>=55296&&B<=56319){this.charLength+=this.surrogateSize,q="";continue}if(this.charReceived=this.charLength=0,C.length===0)return q;break}this.detectIncompleteChar(C);var k=C.length;this.charLength&&(C.copy(this.charBuffer,0,C.length-this.charReceived,k),k-=this.charReceived),q+=C.toString(this.encoding,0,k);var k=q.length-1,B=q.charCodeAt(k);if(B>=55296&&B<=56319){var Ie=this.surrogateSize;return this.charLength+=Ie,this.charReceived+=Ie,this.charBuffer.copy(this.charBuffer,Ie,0,Ie),C.copy(this.charBuffer,0,0,Ie),q.substring(0,k)}return q},ee.prototype.detectIncompleteChar=function(C){for(var q=C.length>=3?3:C.length;q>0;q--){var oe=C[C.length-q];if(q==1&&oe>>5==6){this.charLength=2;break}if(q<=2&&oe>>4==14){this.charLength=3;break}if(q<=3&&oe>>3==30){this.charLength=4;break}}this.charReceived=q},ee.prototype.end=function(C){var q="";if(C&&C.length&&(q=this.write(C)),this.charReceived){var oe=this.charReceived,k=this.charBuffer,B=this.encoding;q+=k.slice(0,oe).toString(B)}return q};function ue(C){return C.toString(this.encoding)}function Z(C){this.charReceived=C.length%2,this.charLength=this.charReceived?2:0}function Y(C){this.charReceived=C.length%3,this.charLength=this.charReceived?3:0}return Xs}var Zs,Mf;function uh(){if(Mf)return Zs;Mf=1,Zs=C;var se=Eh(),K=Rs.Buffer;C.ReadableState=Y;var M=df.EventEmitter;M.listenerCount||(M.listenerCount=function(N,H){return N.listeners(H).length});var ee=is,ue=ic();ue.inherits=Su();var Z;ue.inherits(C,ee);function Y(N,H){N=N||{};var ce=N.highWaterMark;this.highWaterMark=ce||ce===0?ce:16*1024,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!N.objectMode,this.defaultEncoding=N.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,N.encoding&&(Z||(Z=Af().StringDecoder),this.decoder=new Z(N.encoding),this.encoding=N.encoding)}function C(N){if(!(this instanceof C))return new C(N);this._readableState=new Y(N),this.readable=!0,ee.call(this)}C.prototype.push=function(N,H){var ce=this._readableState;return typeof N=="string"&&!ce.objectMode&&(H=H||ce.defaultEncoding,H!==ce.encoding&&(N=new K(N,H),H="")),q(this,ce,N,H,!1)},C.prototype.unshift=function(N){var H=this._readableState;return q(this,H,N,"",!0)};function q(N,H,ce,Ee,Ze){var ae=G(H,ce);if(ae)N.emit("error",ae);else if(ce==null)H.reading=!1,H.ended||U(N,H);else if(H.objectMode||ce&&ce.length>0)if(H.ended&&!Ze){var P=new Error("stream.push() after EOF");N.emit("error",P)}else if(H.endEmitted&&Ze){var P=new Error("stream.unshift() after end event");N.emit("error",P)}else H.decoder&&!Ze&&!Ee&&(ce=H.decoder.write(ce)),H.length+=H.objectMode?1:ce.length,Ze?H.buffer.unshift(ce):(H.reading=!1,H.buffer.push(ce)),H.needReadable&&fe(N),he(N,H);else Ze||(H.reading=!1);return oe(H)}function oe(N){return!N.ended&&(N.needReadable||N.length<N.highWaterMark||N.length===0)}C.prototype.setEncoding=function(N){Z||(Z=Af().StringDecoder),this._readableState.decoder=new Z(N),this._readableState.encoding=N};var k=8388608;function B(N){if(N>=k)N=k;else{N--;for(var H=1;H<32;H<<=1)N|=N>>H;N++}return N}function Ie(N,H){return H.length===0&&H.ended?0:H.objectMode?N===0?0:1:N===null||isNaN(N)?H.flowing&&H.buffer.length?H.buffer[0].length:H.length:N<=0?0:(N>H.highWaterMark&&(H.highWaterMark=B(N)),N>H.length?H.ended?H.length:(H.needReadable=!0,0):N)}C.prototype.read=function(N){var H=this._readableState;H.calledRead=!0;var ce=N,Ee;if((typeof N!="number"||N>0)&&(H.emittedReadable=!1),N===0&&H.needReadable&&(H.length>=H.highWaterMark||H.ended))return fe(this),null;if(N=Ie(N,H),N===0&&H.ended)return Ee=null,H.length>0&&H.decoder&&(Ee=Ve(N,H),H.length-=Ee.length),H.length===0&&it(this),Ee;var Ze=H.needReadable;return H.length-N<=H.highWaterMark&&(Ze=!0),(H.ended||H.reading)&&(Ze=!1),Ze&&(H.reading=!0,H.sync=!0,H.length===0&&(H.needReadable=!0),this._read(H.highWaterMark),H.sync=!1),Ze&&!H.reading&&(N=Ie(ce,H)),N>0?Ee=Ve(N,H):Ee=null,Ee===null&&(H.needReadable=!0,N=0),H.length-=N,H.length===0&&!H.ended&&(H.needReadable=!0),H.ended&&!H.endEmitted&&H.length===0&&it(this),Ee};function G(N,H){var ce=null;return!K.isBuffer(H)&&typeof H!="string"&&H!==null&&H!==void 0&&!N.objectMode&&(ce=new TypeError("Invalid non-string/buffer chunk")),ce}function U(N,H){if(H.decoder&&!H.ended){var ce=H.decoder.end();ce&&ce.length&&(H.buffer.push(ce),H.length+=H.objectMode?1:ce.length)}H.ended=!0,H.length>0?fe(N):it(N)}function fe(N){var H=N._readableState;H.needReadable=!1,!H.emittedReadable&&(H.emittedReadable=!0,H.sync?process.nextTick(function(){Et(N)}):Et(N))}function Et(N){N.emit("readable")}function he(N,H){H.readingMore||(H.readingMore=!0,process.nextTick(function(){pe(N,H)}))}function pe(N,H){for(var ce=H.length;!H.reading&&!H.flowing&&!H.ended&&H.length<H.highWaterMark&&(N.read(0),ce!==H.length);)ce=H.length;H.readingMore=!1}C.prototype._read=function(N){this.emit("error",new Error("not implemented"))},C.prototype.pipe=function(N,H){var ce=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=N;break;case 1:Ee.pipes=[Ee.pipes,N];break;default:Ee.pipes.push(N);break}Ee.pipesCount+=1;var Ze=(!H||H.end!==!1)&&N!==process.stdout&&N!==process.stderr,ae=Ze?$:te;Ee.endEmitted?process.nextTick(ae):ce.once("end",ae),N.on("unpipe",P);function P(dt){dt===ce&&te()}function $(){N.end()}var le=Ge(ce);N.on("drain",le);function te(){N.removeListener("close",nt),N.removeListener("finish",pt),N.removeListener("drain",le),N.removeListener("error",Q),N.removeListener("unpipe",P),ce.removeListener("end",$),ce.removeListener("end",te),(!N._writableState||N._writableState.needDrain)&&le()}function Q(dt){Qe(),N.removeListener("error",Q),M.listenerCount(N,"error")===0&&N.emit("error",dt)}!N._events||!N._events.error?N.on("error",Q):se(N._events.error)?N._events.error.unshift(Q):N._events.error=[Q,N._events.error];function nt(){N.removeListener("finish",pt),Qe()}N.once("close",nt);function pt(){N.removeListener("close",nt),Qe()}N.once("finish",pt);function Qe(){ce.unpipe(N)}return N.emit("pipe",ce),Ee.flowing||(this.on("readable",j),Ee.flowing=!0,process.nextTick(function(){Re(ce)})),N};function Ge(N){return function(){var H=N._readableState;H.awaitDrain--,H.awaitDrain===0&&Re(N)}}function Re(N){var H=N._readableState,ce;H.awaitDrain=0;function Ee(Ze,ae,P){var $=Ze.write(ce);$===!1&&H.awaitDrain++}for(;H.pipesCount&&(ce=N.read())!==null;)if(H.pipesCount===1?Ee(H.pipes):$e(H.pipes,Ee),N.emit("data",ce),H.awaitDrain>0)return;if(H.pipesCount===0){H.flowing=!1,M.listenerCount(N,"data")>0&&Ae(N);return}H.ranOut=!0}function j(){this._readableState.ranOut&&(this._readableState.ranOut=!1,Re(this))}C.prototype.unpipe=function(N){var H=this._readableState;if(H.pipesCount===0)return this;if(H.pipesCount===1)return N&&N!==H.pipes?this:(N||(N=H.pipes),H.pipes=null,H.pipesCount=0,this.removeListener("readable",j),H.flowing=!1,N&&N.emit("unpipe",this),this);if(!N){var ce=H.pipes,Ee=H.pipesCount;H.pipes=null,H.pipesCount=0,this.removeListener("readable",j),H.flowing=!1;for(var Ze=0;Ze<Ee;Ze++)ce[Ze].emit("unpipe",this);return this}var Ze=_t(H.pipes,N);return Ze===-1?this:(H.pipes.splice(Ze,1),H.pipesCount-=1,H.pipesCount===1&&(H.pipes=H.pipes[0]),N.emit("unpipe",this),this)},C.prototype.on=function(N,H){var ce=ee.prototype.on.call(this,N,H);if(N==="data"&&!this._readableState.flowing&&Ae(this),N==="readable"&&this.readable){var Ee=this._readableState;Ee.readableListening||(Ee.readableListening=!0,Ee.emittedReadable=!1,Ee.needReadable=!0,Ee.reading?Ee.length&&fe(this):this.read(0))}return ce},C.prototype.addListener=C.prototype.on,C.prototype.resume=function(){Ae(this),this.read(0),this.emit("resume")},C.prototype.pause=function(){Ae(this,!0),this.emit("pause")};function Ae(N,H){var ce=N._readableState;if(ce.flowing)throw new Error("Cannot switch to old mode now.");var Ee=H||!1,Ze=!1;N.readable=!0,N.pipe=ee.prototype.pipe,N.on=N.addListener=ee.prototype.on,N.on("readable",function(){Ze=!0;for(var ae;!Ee&&(ae=N.read())!==null;)N.emit("data",ae);ae===null&&(Ze=!1,N._readableState.needReadable=!0)}),N.pause=function(){Ee=!0,this.emit("pause")},N.resume=function(){Ee=!1,Ze?process.nextTick(function(){N.emit("readable")}):this.read(0),this.emit("resume")},N.emit("readable")}C.prototype.wrap=function(N){var H=this._readableState,ce=!1,Ee=this;N.on("end",function(){if(H.decoder&&!H.ended){var P=H.decoder.end();P&&P.length&&Ee.push(P)}Ee.push(null)}),N.on("data",function(P){if(H.decoder&&(P=H.decoder.write(P)),!(H.objectMode&&P==null)&&!(!H.objectMode&&(!P||!P.length))){var $=Ee.push(P);$||(ce=!0,N.pause())}});for(var Ze in N)typeof N[Ze]=="function"&&typeof this[Ze]>"u"&&(this[Ze]=(function(P){return function(){return N[P].apply(N,arguments)}})(Ze));var ae=["error","close","destroy","pause","resume"];return $e(ae,function(P){N.on(P,Ee.emit.bind(Ee,P))}),Ee._read=function(P){ce&&(ce=!1,N.resume())},Ee},C._fromList=Ve;function Ve(N,H){var ce=H.buffer,Ee=H.length,Ze=!!H.decoder,ae=!!H.objectMode,P;if(ce.length===0)return null;if(Ee===0)P=null;else if(ae)P=ce.shift();else if(!N||N>=Ee)Ze?P=ce.join(""):P=K.concat(ce,Ee),ce.length=0;else if(N<ce[0].length){var $=ce[0];P=$.slice(0,N),ce[0]=$.slice(N)}else if(N===ce[0].length)P=ce.shift();else{Ze?P="":P=new K(N);for(var le=0,te=0,Q=ce.length;te<Q&&le<N;te++){var $=ce[0],nt=Math.min(N-le,$.length);Ze?P+=$.slice(0,nt):$.copy(P,le,0,nt),nt<$.length?ce[0]=$.slice(nt):ce.shift(),le+=nt}}return P}function it(N){var H=N._readableState;if(H.length>0)throw new Error("endReadable called on non-empty stream");!H.endEmitted&&H.calledRead&&(H.ended=!0,process.nextTick(function(){!H.endEmitted&&H.length===0&&(H.endEmitted=!0,N.readable=!1,N.emit("end"))}))}function $e(N,H){for(var ce=0,Ee=N.length;ce<Ee;ce++)H(N[ce],ce)}function _t(N,H){for(var ce=0,Ee=N.length;ce<Ee;ce++)if(N[ce]===H)return ce;return-1}return Zs}var Qs,Of;function gf(){if(Of)return Qs;Of=1,Qs=ue;var se=Object.keys||function(C){var q=[];for(var oe in C)q.push(oe);return q},K=ic();K.inherits=Su();var M=uh(),ee=ch();K.inherits(ue,M),Y(se(ee.prototype),function(C){ue.prototype[C]||(ue.prototype[C]=ee.prototype[C])});function ue(C){if(!(this instanceof ue))return new ue(C);M.call(this,C),ee.call(this,C),C&&C.readable===!1&&(this.readable=!1),C&&C.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,C&&C.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",Z)}function Z(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function Y(C,q){for(var oe=0,k=C.length;oe<k;oe++)q(C[oe],oe)}return Qs}var Js,_f;function ch(){if(_f)return Js;_f=1,Js=Z;var se=Rs.Buffer;Z.WritableState=ue;var K=ic();K.inherits=Su();var M=is;K.inherits(Z,M);function ee(Re,j,Ae){this.chunk=Re,this.encoding=j,this.callback=Ae}function ue(Re,j){Re=Re||{};var Ae=Re.highWaterMark;this.highWaterMark=Ae||Ae===0?Ae:16*1024,this.objectMode=!!Re.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var Ve=Re.decodeStrings===!1;this.decodeStrings=!Ve,this.defaultEncoding=Re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(it){G(j,it)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function Z(Re){var j=gf();if(!(this instanceof Z)&&!(this instanceof j))return new Z(Re);this._writableState=new ue(Re,this),this.writable=!0,M.call(this)}Z.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))};function Y(Re,j,Ae){var Ve=new Error("write after end");Re.emit("error",Ve),process.nextTick(function(){Ae(Ve)})}function C(Re,j,Ae,Ve){var it=!0;if(!se.isBuffer(Ae)&&typeof Ae!="string"&&Ae!==null&&Ae!==void 0&&!j.objectMode){var $e=new TypeError("Invalid non-string/buffer chunk");Re.emit("error",$e),process.nextTick(function(){Ve($e)}),it=!1}return it}Z.prototype.write=function(Re,j,Ae){var Ve=this._writableState,it=!1;return typeof j=="function"&&(Ae=j,j=null),se.isBuffer(Re)?j="buffer":j||(j=Ve.defaultEncoding),typeof Ae!="function"&&(Ae=function(){}),Ve.ended?Y(this,Ve,Ae):C(this,Ve,Re,Ae)&&(it=oe(this,Ve,Re,j,Ae)),it};function q(Re,j,Ae){return!Re.objectMode&&Re.decodeStrings!==!1&&typeof j=="string"&&(j=new se(j,Ae)),j}function oe(Re,j,Ae,Ve,it){Ae=q(j,Ae,Ve),se.isBuffer(Ae)&&(Ve="buffer");var $e=j.objectMode?1:Ae.length;j.length+=$e;var _t=j.length<j.highWaterMark;return _t||(j.needDrain=!0),j.writing?j.buffer.push(new ee(Ae,Ve,it)):k(Re,j,$e,Ae,Ve,it),_t}function k(Re,j,Ae,Ve,it,$e){j.writelen=Ae,j.writecb=$e,j.writing=!0,j.sync=!0,Re._write(Ve,it,j.onwrite),j.sync=!1}function B(Re,j,Ae,Ve,it){Ae?process.nextTick(function(){it(Ve)}):it(Ve),Re._writableState.errorEmitted=!0,Re.emit("error",Ve)}function Ie(Re){Re.writing=!1,Re.writecb=null,Re.length-=Re.writelen,Re.writelen=0}function G(Re,j){var Ae=Re._writableState,Ve=Ae.sync,it=Ae.writecb;if(Ie(Ae),j)B(Re,Ae,Ve,j,it);else{var $e=he(Re,Ae);!$e&&!Ae.bufferProcessing&&Ae.buffer.length&&Et(Re,Ae),Ve?process.nextTick(function(){U(Re,Ae,$e,it)}):U(Re,Ae,$e,it)}}function U(Re,j,Ae,Ve){Ae||fe(Re,j),Ve(),Ae&&pe(Re,j)}function fe(Re,j){j.length===0&&j.needDrain&&(j.needDrain=!1,Re.emit("drain"))}function Et(Re,j){j.bufferProcessing=!0;for(var Ae=0;Ae<j.buffer.length;Ae++){var Ve=j.buffer[Ae],it=Ve.chunk,$e=Ve.encoding,_t=Ve.callback,N=j.objectMode?1:it.length;if(k(Re,j,N,it,$e,_t),j.writing){Ae++;break}}j.bufferProcessing=!1,Ae<j.buffer.length?j.buffer=j.buffer.slice(Ae):j.buffer.length=0}Z.prototype._write=function(Re,j,Ae){Ae(new Error("not implemented"))},Z.prototype.end=function(Re,j,Ae){var Ve=this._writableState;typeof Re=="function"?(Ae=Re,Re=null,j=null):typeof j=="function"&&(Ae=j,j=null),typeof Re<"u"&&Re!==null&&this.write(Re,j),!Ve.ending&&!Ve.finished&&Ge(this,Ve,Ae)};function he(Re,j){return j.ending&&j.length===0&&!j.finished&&!j.writing}function pe(Re,j){var Ae=he(Re,j);return Ae&&(j.finished=!0,Re.emit("finish")),Ae}function Ge(Re,j,Ae){j.ending=!0,pe(Re,j),Ae&&(j.finished?process.nextTick(Ae):Re.once("finish",Ae)),j.ended=!0}return Js}var Vs,If;function sh(){if(If)return Vs;If=1,Vs=ue;var se=gf(),K=ic();K.inherits=Su(),K.inherits(ue,se);function M(Y,C){this.afterTransform=function(q,oe){return ee(C,q,oe)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function ee(Y,C,q){var oe=Y._transformState;oe.transforming=!1;var k=oe.writecb;if(!k)return Y.emit("error",new Error("no writecb in Transform class"));oe.writechunk=null,oe.writecb=null,q!=null&&Y.push(q),k&&k(C);var B=Y._readableState;B.reading=!1,(B.needReadable||B.length<B.highWaterMark)&&Y._read(B.highWaterMark)}function ue(Y){if(!(this instanceof ue))return new ue(Y);se.call(this,Y),this._transformState=new M(Y,this);var C=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){typeof this._flush=="function"?this._flush(function(q){Z(C,q)}):Z(C)})}ue.prototype.push=function(Y,C){return this._transformState.needTransform=!1,se.prototype.push.call(this,Y,C)},ue.prototype._transform=function(Y,C,q){throw new Error("not implemented")},ue.prototype._write=function(Y,C,q){var oe=this._transformState;if(oe.writecb=q,oe.writechunk=Y,oe.writeencoding=C,!oe.transforming){var k=this._readableState;(oe.needTransform||k.needReadable||k.length<k.highWaterMark)&&this._read(k.highWaterMark)}},ue.prototype._read=function(Y){var C=this._transformState;C.writechunk!==null&&C.writecb&&!C.transforming?(C.transforming=!0,this._transform(C.writechunk,C.writeencoding,C.afterTransform)):C.needTransform=!0};function Z(Y,C){if(C)return Y.emit("error",C);var q=Y._writableState;Y._readableState;var oe=Y._transformState;if(q.length)throw new Error("calling transform done when ws.length != 0");if(oe.transforming)throw new Error("calling transform done when still transforming");return Y.push(null)}return Vs}var Ks,mf;function kh(){if(mf)return Ks;mf=1,Ks=M;var se=sh(),K=ic();K.inherits=Su(),K.inherits(M,se);function M(ee){if(!(this instanceof M))return new M(ee);se.call(this,ee)}return M.prototype._transform=function(ee,ue,Z){Z(null,ee)},Ks}var Df;function Ch(){return Df||(Df=1,(function(se,K){var M=is;K=se.exports=uh(),K.Stream=M,K.Readable=K,K.Writable=ch(),K.Duplex=gf(),K.Transform=sh(),K.PassThrough=kh(),!process.browser&&process.env.READABLE_STREAM==="disable"&&(se.exports=is)})(ks,ks.exports)),ks.exports}var qs,Lf;function Sh(){if(Lf)return qs;Lf=1;var se=xh(),K=Ch().Transform,M=Su();M(Y,K),qs=Y;var ee={lt:60,gt:62,slash:47,dquote:34,squote:39,equal:61},ue={endScript:se("<\/script"),endStyle:se("</style"),endTitle:se("</title"),comment:se("<!--"),endComment:se("-->"),cdata:se("<![CDATA["),endCdata:se("]]>")},Z={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function Y(){if(!(this instanceof Y))return new Y;K.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}Y.prototype._transform=function(k,B,Ie){var G=0,U=0;for(this._prev&&(k=Buffer.concat([this._prev,k]),G=this._prev.length-1,U=this._offset,this._prev=null,this._offset=0);G<k.length;G++){var fe=k[G];if(this._last.push(fe),this._last.length>9&&this._last.shift(),this.raw){var Et=this._testRaw(k,U,G);Et&&(this.push(["text",Et[0]]),this.raw===ue.endComment||this.raw===ue.endCdata?(this.state="text",this.buffers=[],this.push(["close",Et[1]])):(this.state="open",this.buffers=[Et[1]]),this.raw=null,U=G+1)}else{if(this.state==="text"&&fe===ee.lt&&G===k.length-1)return this._prev=k,this._offset=U,Ie();if(this.state==="text"&&fe===ee.lt&&!oe(k[G+1]))G>0&&G-U>0&&this.buffers.push(k.slice(U,G)),U=G,this.state="open",this.tagState=Z.TagNameState,this._pushState("text");else if(this.tagState===Z.TagNameState&&oe(fe))this.tagState=Z.AttributeNameState;else if(this.tagState===Z.AttributeNameState&&fe===ee.equal)this.tagState=Z.BeforeAttributeValueState;else if(!(this.tagState===Z.BeforeAttributeValueState&&oe(fe)))if(this.tagState===Z.BeforeAttributeValueState&&fe!==ee.gt)this.tagState=Z.AttributeValueState,fe===ee.dquote?this.quoteState="double":fe===ee.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===Z.AttributeValueState&&!this.quoteState&&oe(fe))this.tagState=Z.AttributeNameState;else if(this.tagState===Z.AttributeValueState&&this.quoteState==="double"&&fe===ee.dquote)this.quoteState=null,this.tagState=Z.AttributeNameState;else if(this.tagState===Z.AttributeValueState&&this.quoteState==="single"&&fe===ee.squote)this.quoteState=null,this.tagState=Z.AttributeNameState;else if(this.state==="open"&&fe===ee.gt&&!this.quoteState)if(this.buffers.push(k.slice(U,G+1)),U=G+1,this.state="text",this.tagState=null,this._getChar(1)===ee.slash)this._pushState("close");else{var he=this._getTag();he==="script"&&(this.raw=ue.endScript),he==="style"&&(this.raw=ue.endStyle),he==="title"&&(this.raw=ue.endTitle),this._pushState("open")}else this.state==="open"&&C(this._last,ue.comment)?(this.buffers.push(k.slice(U,G+1)),U=G+1,this.state="text",this.raw=ue.endComment,this._pushState("open")):this.state==="open"&&C(this._last,ue.cdata)&&(this.buffers.push(k.slice(U,G+1)),U=G+1,this.state="text",this.raw=ue.endCdata,this._pushState("open"))}}U<k.length&&this.buffers.push(k.slice(U)),Ie()},Y.prototype._flush=function(k){this.state==="text"&&this._pushState("text"),this.push(null),k()},Y.prototype._pushState=function(k){if(this.buffers.length!==0){var B=Buffer.concat(this.buffers);this.buffers=[],this.push([k,B])}},Y.prototype._getChar=function(k){for(var B=0,Ie=0;Ie<this.buffers.length;Ie++){var G=this.buffers[Ie];if(B+G.length>k)return G[k-B];B+=G}},Y.prototype._getTag=function(){for(var k=0,B="",Ie=0;Ie<this.buffers.length;Ie++){for(var G=this.buffers[Ie],U=0;U<G.length;U++)if(!(k===0&&U===0)){var fe=String.fromCharCode(G[U]);if(/[^\w-!\[\]]/.test(fe))return B.toLowerCase();B+=fe}k+=G.length}},Y.prototype._testRaw=function(fe,B,Ie){var G=this.raw,U=this._last;if(C(U,G)){this.buffers.push(fe.slice(B,Ie+1));var fe=Buffer.concat(this.buffers),Et=fe.length-G.length;return[fe.slice(0,Et),fe.slice(Et)]}};function C(k,B){if(k.length<B.length)return!1;for(var Ie=k.length-1,G=B.length-1;Ie>=0&&G>=0;Ie--,G--)if(q(k[Ie])!==q(B[G]))return!1;return!0}function q(k){return k>=65&&k<=90?k+32:k}function oe(k){return k===32||k===9||k===10||k===12||k===13}return qs}var Ph=Sh();const Fh=Ac.getDefaultExportFromCjs(Ph);var Ss={exports:{}},Ps={exports:{}},Fs={exports:{}},Bf;function _s(){if(Bf)return Fs.exports;Bf=1,typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Fs.exports={nextTick:se}:Fs.exports=process;function se(K,M,ee,ue){if(typeof K!="function")throw new TypeError('"callback" argument must be a function');var Z=arguments.length,Y,C;switch(Z){case 0:case 1:return process.nextTick(K);case 2:return process.nextTick(function(){K.call(null,M)});case 3:return process.nextTick(function(){K.call(null,M,ee)});case 4:return process.nextTick(function(){K.call(null,M,ee,ue)});default:for(Y=new Array(Z-1),C=0;C<Y.length;)Y[C++]=arguments[C];return process.nextTick(function(){K.apply(null,Y)})}}return Fs.exports}var js,Wf;function Ah(){if(Wf)return js;Wf=1;var se={}.toString;return js=Array.isArray||function(K){return se.call(K)=="[object Array]"},js}var $s,Nf;function fh(){return Nf||(Nf=1,$s=df.EventEmitter),$s}var As={exports:{}},Hf;function Is(){return Hf||(Hf=1,(function(se,K){var M=Rs,ee=M.Buffer;function ue(Y,C){for(var q in Y)C[q]=Y[q]}ee.from&&ee.alloc&&ee.allocUnsafe&&ee.allocUnsafeSlow?se.exports=M:(ue(M,K),K.Buffer=Z);function Z(Y,C,q){return ee(Y,C,q)}ue(ee,Z),Z.from=function(Y,C,q){if(typeof Y=="number")throw new TypeError("Argument must not be a number");return ee(Y,C,q)},Z.alloc=function(Y,C,q){if(typeof Y!="number")throw new TypeError("Argument must be a number");var oe=ee(Y);return C!==void 0?typeof q=="string"?oe.fill(C,q):oe.fill(C):oe.fill(0),oe},Z.allocUnsafe=function(Y){if(typeof Y!="number")throw new TypeError("Argument must be a number");return ee(Y)},Z.allocUnsafeSlow=function(Y){if(typeof Y!="number")throw new TypeError("Argument must be a number");return M.SlowBuffer(Y)}})(As,As.exports)),As.exports}var ef={exports:{}},zf;function Mh(){return zf||(zf=1,(function(se){function K(Z,Y){if(!(Z instanceof Y))throw new TypeError("Cannot call a class as a function")}var M=Is().Buffer,ee=lh;function ue(Z,Y,C){Z.copy(Y,C)}se.exports=(function(){function Z(){K(this,Z),this.head=null,this.tail=null,this.length=0}return Z.prototype.push=function(C){var q={data:C,next:null};this.length>0?this.tail.next=q:this.head=q,this.tail=q,++this.length},Z.prototype.unshift=function(C){var q={data:C,next:this.head};this.length===0&&(this.tail=q),this.head=q,++this.length},Z.prototype.shift=function(){if(this.length!==0){var C=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,C}},Z.prototype.clear=function(){this.head=this.tail=null,this.length=0},Z.prototype.join=function(C){if(this.length===0)return"";for(var q=this.head,oe=""+q.data;q=q.next;)oe+=C+q.data;return oe},Z.prototype.concat=function(C){if(this.length===0)return M.alloc(0);for(var q=M.allocUnsafe(C>>>0),oe=this.head,k=0;oe;)ue(oe.data,q,k),k+=oe.data.length,oe=oe.next;return q},Z})(),ee&&ee.inspect&&ee.inspect.custom&&(se.exports.prototype[ee.inspect.custom]=function(){var Z=ee.inspect({length:this.length});return this.constructor.name+" "+Z})})(ef)),ef.exports}var tf,Uf;function hh(){if(Uf)return tf;Uf=1;var se=_s();function K(ue,Z){var Y=this,C=this._readableState&&this._readableState.destroyed,q=this._writableState&&this._writableState.destroyed;return C||q?(Z?Z(ue):ue&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,se.nextTick(ee,this,ue)):se.nextTick(ee,this,ue)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(oe){!Z&&oe?Y._writableState?Y._writableState.errorEmitted||(Y._writableState.errorEmitted=!0,se.nextTick(ee,Y,oe)):se.nextTick(ee,Y,oe):Z&&Z(oe)}),this)}function M(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ee(ue,Z){ue.emit("error",Z)}return tf={destroy:K,undestroy:M},tf}var nf,Yf;function Oh(){if(Yf)return nf;Yf=1,nf=se;function se(M,ee){if(K("noDeprecation"))return M;var ue=!1;function Z(){if(!ue){if(K("throwDeprecation"))throw new Error(ee);K("traceDeprecation")?console.trace(ee):console.warn(ee),ue=!0}return M.apply(this,arguments)}return Z}function K(M){try{if(!Ac.commonjsGlobal.localStorage)return!1}catch{return!1}var ee=Ac.commonjsGlobal.localStorage[M];return ee==null?!1:String(ee).toLowerCase()==="true"}return nf}var rf,Gf;function dh(){if(Gf)return rf;Gf=1;var se=_s();rf=fe;function K(P){var $=this;this.next=null,this.entry=null,this.finish=function(){ae($,P)}}var M=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:se.nextTick,ee;fe.WritableState=G;var ue=Object.create(ic());ue.inherits=Su();var Z={deprecate:Oh()},Y=fh(),C=Is().Buffer,q=(typeof Ac.commonjsGlobal<"u"?Ac.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function oe(P){return C.from(P)}function k(P){return C.isBuffer(P)||P instanceof q}var B=hh();ue.inherits(fe,Y);function Ie(){}function G(P,$){ee=ee||os(),P=P||{};var le=$ instanceof ee;this.objectMode=!!P.objectMode,le&&(this.objectMode=this.objectMode||!!P.writableObjectMode);var te=P.highWaterMark,Q=P.writableHighWaterMark,nt=this.objectMode?16:16*1024;te||te===0?this.highWaterMark=te:le&&(Q||Q===0)?this.highWaterMark=Q:this.highWaterMark=nt,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var pt=P.decodeStrings===!1;this.decodeStrings=!pt,this.defaultEncoding=P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Qe){Ve($,Qe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new K(this)}G.prototype.getBuffer=function(){for(var $=this.bufferedRequest,le=[];$;)le.push($),$=$.next;return le},(function(){try{Object.defineProperty(G.prototype,"buffer",{get:Z.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var U;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(P){return U.call(this,P)?!0:this!==fe?!1:P&&P._writableState instanceof G}})):U=function(P){return P instanceof this};function fe(P){if(ee=ee||os(),!U.call(fe,this)&&!(this instanceof ee))return new fe(P);this._writableState=new G(P,this),this.writable=!0,P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final)),Y.call(this)}fe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Et(P,$){var le=new Error("write after end");P.emit("error",le),se.nextTick($,le)}function he(P,$,le,te){var Q=!0,nt=!1;return le===null?nt=new TypeError("May not write null values to stream"):typeof le!="string"&&le!==void 0&&!$.objectMode&&(nt=new TypeError("Invalid non-string/buffer chunk")),nt&&(P.emit("error",nt),se.nextTick(te,nt),Q=!1),Q}fe.prototype.write=function(P,$,le){var te=this._writableState,Q=!1,nt=!te.objectMode&&k(P);return nt&&!C.isBuffer(P)&&(P=oe(P)),typeof $=="function"&&(le=$,$=null),nt?$="buffer":$||($=te.defaultEncoding),typeof le!="function"&&(le=Ie),te.ended?Et(this,le):(nt||he(this,te,P,le))&&(te.pendingcb++,Q=Ge(this,te,nt,P,$,le)),Q},fe.prototype.cork=function(){var P=this._writableState;P.corked++},fe.prototype.uncork=function(){var P=this._writableState;P.corked&&(P.corked--,!P.writing&&!P.corked&&!P.bufferProcessing&&P.bufferedRequest&&_t(this,P))},fe.prototype.setDefaultEncoding=function($){if(typeof $=="string"&&($=$.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf(($+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+$);return this._writableState.defaultEncoding=$,this};function pe(P,$,le){return!P.objectMode&&P.decodeStrings!==!1&&typeof $=="string"&&($=C.from($,le)),$}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ge(P,$,le,te,Q,nt){if(!le){var pt=pe($,te,Q);te!==pt&&(le=!0,Q="buffer",te=pt)}var Qe=$.objectMode?1:te.length;$.length+=Qe;var dt=$.length<$.highWaterMark;if(dt||($.needDrain=!0),$.writing||$.corked){var It=$.lastBufferedRequest;$.lastBufferedRequest={chunk:te,encoding:Q,isBuf:le,callback:nt,next:null},It?It.next=$.lastBufferedRequest:$.bufferedRequest=$.lastBufferedRequest,$.bufferedRequestCount+=1}else Re(P,$,!1,Qe,te,Q,nt);return dt}function Re(P,$,le,te,Q,nt,pt){$.writelen=te,$.writecb=pt,$.writing=!0,$.sync=!0,le?P._writev(Q,$.onwrite):P._write(Q,nt,$.onwrite),$.sync=!1}function j(P,$,le,te,Q){--$.pendingcb,le?(se.nextTick(Q,te),se.nextTick(Ee,P,$),P._writableState.errorEmitted=!0,P.emit("error",te)):(Q(te),P._writableState.errorEmitted=!0,P.emit("error",te),Ee(P,$))}function Ae(P){P.writing=!1,P.writecb=null,P.length-=P.writelen,P.writelen=0}function Ve(P,$){var le=P._writableState,te=le.sync,Q=le.writecb;if(Ae(le),$)j(P,le,te,$,Q);else{var nt=N(le);!nt&&!le.corked&&!le.bufferProcessing&&le.bufferedRequest&&_t(P,le),te?M(it,P,le,nt,Q):it(P,le,nt,Q)}}function it(P,$,le,te){le||$e(P,$),$.pendingcb--,te(),Ee(P,$)}function $e(P,$){$.length===0&&$.needDrain&&($.needDrain=!1,P.emit("drain"))}function _t(P,$){$.bufferProcessing=!0;var le=$.bufferedRequest;if(P._writev&&le&&le.next){var te=$.bufferedRequestCount,Q=new Array(te),nt=$.corkedRequestsFree;nt.entry=le;for(var pt=0,Qe=!0;le;)Q[pt]=le,le.isBuf||(Qe=!1),le=le.next,pt+=1;Q.allBuffers=Qe,Re(P,$,!0,$.length,Q,"",nt.finish),$.pendingcb++,$.lastBufferedRequest=null,nt.next?($.corkedRequestsFree=nt.next,nt.next=null):$.corkedRequestsFree=new K($),$.bufferedRequestCount=0}else{for(;le;){var dt=le.chunk,It=le.encoding,S=le.callback,A=$.objectMode?1:dt.length;if(Re(P,$,!1,A,dt,It,S),le=le.next,$.bufferedRequestCount--,$.writing)break}le===null&&($.lastBufferedRequest=null)}$.bufferedRequest=le,$.bufferProcessing=!1}fe.prototype._write=function(P,$,le){le(new Error("_write() is not implemented"))},fe.prototype._writev=null,fe.prototype.end=function(P,$,le){var te=this._writableState;typeof P=="function"?(le=P,P=null,$=null):typeof $=="function"&&(le=$,$=null),P!=null&&this.write(P,$),te.corked&&(te.corked=1,this.uncork()),te.ending||Ze(this,te,le)};function N(P){return P.ending&&P.length===0&&P.bufferedRequest===null&&!P.finished&&!P.writing}function H(P,$){P._final(function(le){$.pendingcb--,le&&P.emit("error",le),$.prefinished=!0,P.emit("prefinish"),Ee(P,$)})}function ce(P,$){!$.prefinished&&!$.finalCalled&&(typeof P._final=="function"?($.pendingcb++,$.finalCalled=!0,se.nextTick(H,P,$)):($.prefinished=!0,P.emit("prefinish")))}function Ee(P,$){var le=N($);return le&&(ce(P,$),$.pendingcb===0&&($.finished=!0,P.emit("finish"))),le}function Ze(P,$,le){$.ending=!0,Ee(P,$),le&&($.finished?se.nextTick(le):P.once("finish",le)),$.ended=!0,P.writable=!1}function ae(P,$,le){var te=P.entry;for(P.entry=null;te;){var Q=te.callback;$.pendingcb--,Q(le),te=te.next}$.corkedRequestsFree.next=P}return Object.defineProperty(fe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(P){this._writableState&&(this._writableState.destroyed=P)}}),fe.prototype.destroy=B.destroy,fe.prototype._undestroy=B.undestroy,fe.prototype._destroy=function(P,$){this.end(),$(P)},rf}var af,Xf;function os(){if(Xf)return af;Xf=1;var se=_s(),K=Object.keys||function(B){var Ie=[];for(var G in B)Ie.push(G);return Ie};af=q;var M=Object.create(ic());M.inherits=Su();var ee=gh(),ue=dh();M.inherits(q,ee);for(var Z=K(ue.prototype),Y=0;Y<Z.length;Y++){var C=Z[Y];q.prototype[C]||(q.prototype[C]=ue.prototype[C])}function q(B){if(!(this instanceof q))return new q(B);ee.call(this,B),ue.call(this,B),B&&B.readable===!1&&(this.readable=!1),B&&B.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,B&&B.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",oe)}Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function oe(){this.allowHalfOpen||this._writableState.ended||se.nextTick(k,this)}function k(B){B.end()}return Object.defineProperty(q.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(B){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=B,this._writableState.destroyed=B)}}),q.prototype._destroy=function(B,Ie){this.push(null),this.end(),se.nextTick(Ie,B)},af}var lf={},Zf;function Qf(){if(Zf)return lf;Zf=1;var se=Is().Buffer,K=se.isEncoding||function(he){switch(he=""+he,he&&he.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function M(he){if(!he)return"utf8";for(var pe;;)switch(he){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return he;default:if(pe)return;he=(""+he).toLowerCase(),pe=!0}}function ee(he){var pe=M(he);if(typeof pe!="string"&&(se.isEncoding===K||!K(he)))throw new Error("Unknown encoding: "+he);return pe||he}lf.StringDecoder=ue;function ue(he){this.encoding=ee(he);var pe;switch(this.encoding){case"utf16le":this.text=B,this.end=Ie,pe=4;break;case"utf8":this.fillLast=q,pe=4;break;case"base64":this.text=G,this.end=U,pe=3;break;default:this.write=fe,this.end=Et;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(pe)}ue.prototype.write=function(he){if(he.length===0)return"";var pe,Ge;if(this.lastNeed){if(pe=this.fillLast(he),pe===void 0)return"";Ge=this.lastNeed,this.lastNeed=0}else Ge=0;return Ge<he.length?pe?pe+this.text(he,Ge):this.text(he,Ge):pe||""},ue.prototype.end=k,ue.prototype.text=oe,ue.prototype.fillLast=function(he){if(this.lastNeed<=he.length)return he.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);he.copy(this.lastChar,this.lastTotal-this.lastNeed,0,he.length),this.lastNeed-=he.length};function Z(he){return he<=127?0:he>>5===6?2:he>>4===14?3:he>>3===30?4:he>>6===2?-1:-2}function Y(he,pe,Ge){var Re=pe.length-1;if(Re<Ge)return 0;var j=Z(pe[Re]);return j>=0?(j>0&&(he.lastNeed=j-1),j):--Re<Ge||j===-2?0:(j=Z(pe[Re]),j>=0?(j>0&&(he.lastNeed=j-2),j):--Re<Ge||j===-2?0:(j=Z(pe[Re]),j>=0?(j>0&&(j===2?j=0:he.lastNeed=j-3),j):0))}function C(he,pe,Ge){if((pe[0]&192)!==128)return he.lastNeed=0,"�";if(he.lastNeed>1&&pe.length>1){if((pe[1]&192)!==128)return he.lastNeed=1,"�";if(he.lastNeed>2&&pe.length>2&&(pe[2]&192)!==128)return he.lastNeed=2,"�"}}function q(he){var pe=this.lastTotal-this.lastNeed,Ge=C(this,he);if(Ge!==void 0)return Ge;if(this.lastNeed<=he.length)return he.copy(this.lastChar,pe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);he.copy(this.lastChar,pe,0,he.length),this.lastNeed-=he.length}function oe(he,pe){var Ge=Y(this,he,pe);if(!this.lastNeed)return he.toString("utf8",pe);this.lastTotal=Ge;var Re=he.length-(Ge-this.lastNeed);return he.copy(this.lastChar,0,Re),he.toString("utf8",pe,Re)}function k(he){var pe=he&&he.length?this.write(he):"";return this.lastNeed?pe+"�":pe}function B(he,pe){if((he.length-pe)%2===0){var Ge=he.toString("utf16le",pe);if(Ge){var Re=Ge.charCodeAt(Ge.length-1);if(Re>=55296&&Re<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1],Ge.slice(0,-1)}return Ge}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=he[he.length-1],he.toString("utf16le",pe,he.length-1)}function Ie(he){var pe=he&&he.length?this.write(he):"";if(this.lastNeed){var Ge=this.lastTotal-this.lastNeed;return pe+this.lastChar.toString("utf16le",0,Ge)}return pe}function G(he,pe){var Ge=(he.length-pe)%3;return Ge===0?he.toString("base64",pe):(this.lastNeed=3-Ge,this.lastTotal=3,Ge===1?this.lastChar[0]=he[he.length-1]:(this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1]),he.toString("base64",pe,he.length-Ge))}function U(he){var pe=he&&he.length?this.write(he):"";return this.lastNeed?pe+this.lastChar.toString("base64",0,3-this.lastNeed):pe}function fe(he){return he.toString(this.encoding)}function Et(he){return he&&he.length?this.write(he):""}return lf}var of,Jf;function gh(){if(Jf)return of;Jf=1;var se=_s();of=pe;var K=Ah(),M;pe.ReadableState=he,df.EventEmitter;var ee=function(S,A){return S.listeners(A).length},ue=fh(),Z=Is().Buffer,Y=(typeof Ac.commonjsGlobal<"u"?Ac.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function C(S){return Z.from(S)}function q(S){return Z.isBuffer(S)||S instanceof Y}var oe=Object.create(ic());oe.inherits=Su();var k=lh,B=void 0;k&&k.debuglog?B=k.debuglog("stream"):B=function(){};var Ie=Mh(),G=hh(),U;oe.inherits(pe,ue);var fe=["error","close","destroy","pause","resume"];function Et(S,A,Se){if(typeof S.prependListener=="function")return S.prependListener(A,Se);!S._events||!S._events[A]?S.on(A,Se):K(S._events[A])?S._events[A].unshift(Se):S._events[A]=[Se,S._events[A]]}function he(S,A){M=M||os(),S=S||{};var Se=A instanceof M;this.objectMode=!!S.objectMode,Se&&(this.objectMode=this.objectMode||!!S.readableObjectMode);var we=S.highWaterMark,me=S.readableHighWaterMark,Me=this.objectMode?16:16*1024;we||we===0?this.highWaterMark=we:Se&&(me||me===0)?this.highWaterMark=me:this.highWaterMark=Me,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Ie,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=S.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,S.encoding&&(U||(U=Qf().StringDecoder),this.decoder=new U(S.encoding),this.encoding=S.encoding)}function pe(S){if(M=M||os(),!(this instanceof pe))return new pe(S);this._readableState=new he(S,this),this.readable=!0,S&&(typeof S.read=="function"&&(this._read=S.read),typeof S.destroy=="function"&&(this._destroy=S.destroy)),ue.call(this)}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(S){this._readableState&&(this._readableState.destroyed=S)}}),pe.prototype.destroy=G.destroy,pe.prototype._undestroy=G.undestroy,pe.prototype._destroy=function(S,A){this.push(null),A(S)},pe.prototype.push=function(S,A){var Se=this._readableState,we;return Se.objectMode?we=!0:typeof S=="string"&&(A=A||Se.defaultEncoding,A!==Se.encoding&&(S=Z.from(S,A),A=""),we=!0),Ge(this,S,A,!1,we)},pe.prototype.unshift=function(S){return Ge(this,S,null,!0,!1)};function Ge(S,A,Se,we,me){var Me=S._readableState;if(A===null)Me.reading=!1,_t(S,Me);else{var ot;me||(ot=j(Me,A)),ot?S.emit("error",ot):Me.objectMode||A&&A.length>0?(typeof A!="string"&&!Me.objectMode&&Object.getPrototypeOf(A)!==Z.prototype&&(A=C(A)),we?Me.endEmitted?S.emit("error",new Error("stream.unshift() after end event")):Re(S,Me,A,!0):Me.ended?S.emit("error",new Error("stream.push() after EOF")):(Me.reading=!1,Me.decoder&&!Se?(A=Me.decoder.write(A),Me.objectMode||A.length!==0?Re(S,Me,A,!1):ce(S,Me)):Re(S,Me,A,!1))):we||(Me.reading=!1)}return Ae(Me)}function Re(S,A,Se,we){A.flowing&&A.length===0&&!A.sync?(S.emit("data",Se),S.read(0)):(A.length+=A.objectMode?1:Se.length,we?A.buffer.unshift(Se):A.buffer.push(Se),A.needReadable&&N(S)),ce(S,A)}function j(S,A){var Se;return!q(A)&&typeof A!="string"&&A!==void 0&&!S.objectMode&&(Se=new TypeError("Invalid non-string/buffer chunk")),Se}function Ae(S){return!S.ended&&(S.needReadable||S.length<S.highWaterMark||S.length===0)}pe.prototype.isPaused=function(){return this._readableState.flowing===!1},pe.prototype.setEncoding=function(S){return U||(U=Qf().StringDecoder),this._readableState.decoder=new U(S),this._readableState.encoding=S,this};var Ve=8388608;function it(S){return S>=Ve?S=Ve:(S--,S|=S>>>1,S|=S>>>2,S|=S>>>4,S|=S>>>8,S|=S>>>16,S++),S}function $e(S,A){return S<=0||A.length===0&&A.ended?0:A.objectMode?1:S!==S?A.flowing&&A.length?A.buffer.head.data.length:A.length:(S>A.highWaterMark&&(A.highWaterMark=it(S)),S<=A.length?S:A.ended?A.length:(A.needReadable=!0,0))}pe.prototype.read=function(S){B("read",S),S=parseInt(S,10);var A=this._readableState,Se=S;if(S!==0&&(A.emittedReadable=!1),S===0&&A.needReadable&&(A.length>=A.highWaterMark||A.ended))return B("read: emitReadable",A.length,A.ended),A.length===0&&A.ended?Qe(this):N(this),null;if(S=$e(S,A),S===0&&A.ended)return A.length===0&&Qe(this),null;var we=A.needReadable;B("need readable",we),(A.length===0||A.length-S<A.highWaterMark)&&(we=!0,B("length less than watermark",we)),A.ended||A.reading?(we=!1,B("reading or ended",we)):we&&(B("do read"),A.reading=!0,A.sync=!0,A.length===0&&(A.needReadable=!0),this._read(A.highWaterMark),A.sync=!1,A.reading||(S=$e(Se,A)));var me;return S>0?me=te(S,A):me=null,me===null?(A.needReadable=!0,S=0):A.length-=S,A.length===0&&(A.ended||(A.needReadable=!0),Se!==S&&A.ended&&Qe(this)),me!==null&&this.emit("data",me),me};function _t(S,A){if(!A.ended){if(A.decoder){var Se=A.decoder.end();Se&&Se.length&&(A.buffer.push(Se),A.length+=A.objectMode?1:Se.length)}A.ended=!0,N(S)}}function N(S){var A=S._readableState;A.needReadable=!1,A.emittedReadable||(B("emitReadable",A.flowing),A.emittedReadable=!0,A.sync?se.nextTick(H,S):H(S))}function H(S){B("emit readable"),S.emit("readable"),le(S)}function ce(S,A){A.readingMore||(A.readingMore=!0,se.nextTick(Ee,S,A))}function Ee(S,A){for(var Se=A.length;!A.reading&&!A.flowing&&!A.ended&&A.length<A.highWaterMark&&(B("maybeReadMore read 0"),S.read(0),Se!==A.length);)Se=A.length;A.readingMore=!1}pe.prototype._read=function(S){this.emit("error",new Error("_read() is not implemented"))},pe.prototype.pipe=function(S,A){var Se=this,we=this._readableState;switch(we.pipesCount){case 0:we.pipes=S;break;case 1:we.pipes=[we.pipes,S];break;default:we.pipes.push(S);break}we.pipesCount+=1,B("pipe count=%d opts=%j",we.pipesCount,A);var me=(!A||A.end!==!1)&&S!==process.stdout&&S!==process.stderr,Me=me?ua:bn;we.endEmitted?se.nextTick(Me):Se.once("end",Me),S.on("unpipe",ot);function ot(wr,Sn){B("onunpipe"),wr===Se&&Sn&&Sn.hasUnpiped===!1&&(Sn.hasUnpiped=!0,yr())}function ua(){B("onend"),S.end()}var nn=Ze(Se);S.on("drain",nn);var Yt=!1;function yr(){B("cleanup"),S.removeListener("close",Qt),S.removeListener("finish",et),S.removeListener("drain",nn),S.removeListener("error",Cn),S.removeListener("unpipe",ot),Se.removeListener("end",ua),Se.removeListener("end",bn),Se.removeListener("data",Ia),Yt=!0,we.awaitDrain&&(!S._writableState||S._writableState.needDrain)&&nn()}var ca=!1;Se.on("data",Ia);function Ia(wr){B("ondata"),ca=!1;var Sn=S.write(wr);Sn===!1&&!ca&&((we.pipesCount===1&&we.pipes===S||we.pipesCount>1&&It(we.pipes,S)!==-1)&&!Yt&&(B("false write response, pause",we.awaitDrain),we.awaitDrain++,ca=!0),Se.pause())}function Cn(wr){B("onerror",wr),bn(),S.removeListener("error",Cn),ee(S,"error")===0&&S.emit("error",wr)}Et(S,"error",Cn);function Qt(){S.removeListener("finish",et),bn()}S.once("close",Qt);function et(){B("onfinish"),S.removeListener("close",Qt),bn()}S.once("finish",et);function bn(){B("unpipe"),Se.unpipe(S)}return S.emit("pipe",Se),we.flowing||(B("pipe resume"),Se.resume()),S};function Ze(S){return function(){var A=S._readableState;B("pipeOnDrain",A.awaitDrain),A.awaitDrain&&A.awaitDrain--,A.awaitDrain===0&&ee(S,"data")&&(A.flowing=!0,le(S))}}pe.prototype.unpipe=function(S){var A=this._readableState,Se={hasUnpiped:!1};if(A.pipesCount===0)return this;if(A.pipesCount===1)return S&&S!==A.pipes?this:(S||(S=A.pipes),A.pipes=null,A.pipesCount=0,A.flowing=!1,S&&S.emit("unpipe",this,Se),this);if(!S){var we=A.pipes,me=A.pipesCount;A.pipes=null,A.pipesCount=0,A.flowing=!1;for(var Me=0;Me<me;Me++)we[Me].emit("unpipe",this,{hasUnpiped:!1});return this}var ot=It(A.pipes,S);return ot===-1?this:(A.pipes.splice(ot,1),A.pipesCount-=1,A.pipesCount===1&&(A.pipes=A.pipes[0]),S.emit("unpipe",this,Se),this)},pe.prototype.on=function(S,A){var Se=ue.prototype.on.call(this,S,A);if(S==="data")this._readableState.flowing!==!1&&this.resume();else if(S==="readable"){var we=this._readableState;!we.endEmitted&&!we.readableListening&&(we.readableListening=we.needReadable=!0,we.emittedReadable=!1,we.reading?we.length&&N(this):se.nextTick(ae,this))}return Se},pe.prototype.addListener=pe.prototype.on;function ae(S){B("readable nexttick read 0"),S.read(0)}pe.prototype.resume=function(){var S=this._readableState;return S.flowing||(B("resume"),S.flowing=!0,P(this,S)),this};function P(S,A){A.resumeScheduled||(A.resumeScheduled=!0,se.nextTick($,S,A))}function $(S,A){A.reading||(B("resume read 0"),S.read(0)),A.resumeScheduled=!1,A.awaitDrain=0,S.emit("resume"),le(S),A.flowing&&!A.reading&&S.read(0)}pe.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function le(S){var A=S._readableState;for(B("flow",A.flowing);A.flowing&&S.read()!==null;);}pe.prototype.wrap=function(S){var A=this,Se=this._readableState,we=!1;S.on("end",function(){if(B("wrapped end"),Se.decoder&&!Se.ended){var ot=Se.decoder.end();ot&&ot.length&&A.push(ot)}A.push(null)}),S.on("data",function(ot){if(B("wrapped data"),Se.decoder&&(ot=Se.decoder.write(ot)),!(Se.objectMode&&ot==null)&&!(!Se.objectMode&&(!ot||!ot.length))){var ua=A.push(ot);ua||(we=!0,S.pause())}});for(var me in S)this[me]===void 0&&typeof S[me]=="function"&&(this[me]=(function(ot){return function(){return S[ot].apply(S,arguments)}})(me));for(var Me=0;Me<fe.length;Me++)S.on(fe[Me],this.emit.bind(this,fe[Me]));return this._read=function(ot){B("wrapped _read",ot),we&&(we=!1,S.resume())},this},Object.defineProperty(pe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),pe._fromList=te;function te(S,A){if(A.length===0)return null;var Se;return A.objectMode?Se=A.buffer.shift():!S||S>=A.length?(A.decoder?Se=A.buffer.join(""):A.buffer.length===1?Se=A.buffer.head.data:Se=A.buffer.concat(A.length),A.buffer.clear()):Se=Q(S,A.buffer,A.decoder),Se}function Q(S,A,Se){var we;return S<A.head.data.length?(we=A.head.data.slice(0,S),A.head.data=A.head.data.slice(S)):S===A.head.data.length?we=A.shift():we=Se?nt(S,A):pt(S,A),we}function nt(S,A){var Se=A.head,we=1,me=Se.data;for(S-=me.length;Se=Se.next;){var Me=Se.data,ot=S>Me.length?Me.length:S;if(ot===Me.length?me+=Me:me+=Me.slice(0,S),S-=ot,S===0){ot===Me.length?(++we,Se.next?A.head=Se.next:A.head=A.tail=null):(A.head=Se,Se.data=Me.slice(ot));break}++we}return A.length-=we,me}function pt(S,A){var Se=Z.allocUnsafe(S),we=A.head,me=1;for(we.data.copy(Se),S-=we.data.length;we=we.next;){var Me=we.data,ot=S>Me.length?Me.length:S;if(Me.copy(Se,Se.length-S,0,ot),S-=ot,S===0){ot===Me.length?(++me,we.next?A.head=we.next:A.head=A.tail=null):(A.head=we,we.data=Me.slice(ot));break}++me}return A.length-=me,Se}function Qe(S){var A=S._readableState;if(A.length>0)throw new Error('"endReadable()" called on non-empty stream');A.endEmitted||(A.ended=!0,se.nextTick(dt,A,S))}function dt(S,A){!S.endEmitted&&S.length===0&&(S.endEmitted=!0,A.readable=!1,A.emit("end"))}function It(S,A){for(var Se=0,we=S.length;Se<we;Se++)if(S[Se]===A)return Se;return-1}return of}var uf,Vf;function vh(){if(Vf)return uf;Vf=1,uf=ee;var se=os(),K=Object.create(ic());K.inherits=Su(),K.inherits(ee,se);function M(Y,C){var q=this._transformState;q.transforming=!1;var oe=q.writecb;if(!oe)return this.emit("error",new Error("write callback called multiple times"));q.writechunk=null,q.writecb=null,C!=null&&this.push(C),oe(Y);var k=this._readableState;k.reading=!1,(k.needReadable||k.length<k.highWaterMark)&&this._read(k.highWaterMark)}function ee(Y){if(!(this instanceof ee))return new ee(Y);se.call(this,Y),this._transformState={afterTransform:M.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,Y&&(typeof Y.transform=="function"&&(this._transform=Y.transform),typeof Y.flush=="function"&&(this._flush=Y.flush)),this.on("prefinish",ue)}function ue(){var Y=this;typeof this._flush=="function"?this._flush(function(C,q){Z(Y,C,q)}):Z(this,null,null)}ee.prototype.push=function(Y,C){return this._transformState.needTransform=!1,se.prototype.push.call(this,Y,C)},ee.prototype._transform=function(Y,C,q){throw new Error("_transform() is not implemented")},ee.prototype._write=function(Y,C,q){var oe=this._transformState;if(oe.writecb=q,oe.writechunk=Y,oe.writeencoding=C,!oe.transforming){var k=this._readableState;(oe.needTransform||k.needReadable||k.length<k.highWaterMark)&&this._read(k.highWaterMark)}},ee.prototype._read=function(Y){var C=this._transformState;C.writechunk!==null&&C.writecb&&!C.transforming?(C.transforming=!0,this._transform(C.writechunk,C.writeencoding,C.afterTransform)):C.needTransform=!0},ee.prototype._destroy=function(Y,C){var q=this;se.prototype._destroy.call(this,Y,function(oe){C(oe),q.emit("close")})};function Z(Y,C,q){if(C)return Y.emit("error",C);if(q!=null&&Y.push(q),Y._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(Y._transformState.transforming)throw new Error("Calling transform done when still transforming");return Y.push(null)}return uf}var cf,Kf;function _h(){if(Kf)return cf;Kf=1,cf=M;var se=vh(),K=Object.create(ic());K.inherits=Su(),K.inherits(M,se);function M(ee){if(!(this instanceof M))return new M(ee);se.call(this,ee)}return M.prototype._transform=function(ee,ue,Z){Z(null,ee)},cf}var qf;function Ih(){return qf||(qf=1,(function(se,K){K=se.exports=gh(),K.Stream=K,K.Readable=K,K.Writable=dh(),K.Duplex=os(),K.Transform=vh(),K.PassThrough=_h()})(Ps,Ps.exports)),Ps.exports}var jf;function mh(){if(jf)return Ss.exports;jf=1;var se=Ih();function K(M,ee,ue){typeof ue>"u"&&(ue=ee,ee=M,M=null),se.Duplex.call(this,M),typeof ue.read!="function"&&(ue=new se.Readable(M).wrap(ue)),this._writable=ee,this._readable=ue,this._waiting=!1;var Z=this;ee.once("finish",function(){Z.end()}),this.once("finish",function(){ee.end()}),ue.on("readable",function(){Z._waiting&&(Z._waiting=!1,Z._read())}),ue.once("end",function(){Z.push(null)}),(!M||typeof M.bubbleErrors>"u"||M.bubbleErrors)&&(ee.on("error",function(Y){Z.emit("error",Y)}),ue.on("error",function(Y){Z.emit("error",Y)}))}return K.prototype=Object.create(se.Duplex.prototype,{constructor:{value:K}}),K.prototype._write=function(ee,ue,Z){this._writable.write(ee,ue,Z)},K.prototype._read=function(){for(var ee,ue=0;(ee=this._readable.read())!==null;)this.push(ee),ue++;ue===0&&(this._waiting=!0)},Ss.exports=function(ee,ue,Z){return new K(ee,ue,Z)},Ss.exports.DuplexWrapper=K,Ss.exports}/*
|
|
2
2
|
object-assign
|
|
3
3
|
(c) Sindre Sorhus
|
|
4
4
|
@license MIT
|
|
@@ -205,5 +205,5 @@ d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(
|
|
|
205
205
|
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),Dt=U(`$RM=new Map;
|
|
206
206
|
$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
|
|
207
207
|
d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
|
|
208
|
-
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),fn=U('$RR("'),Tt=U('","'),dr=U('",'),hn=U('"'),Dr=U(")<\/script>");U('<template data-rci="" data-bid="'),U('<template data-rri="" data-bid="'),U('" data-sid="'),U('" data-sty="');var nr=U('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),Nn=U('$RX("'),Rr=U('"'),Lt=U(","),Rn=U(")<\/script>");U('<template data-rxi="" data-bid="'),U('" data-dgst="'),U('" data-msg="'),U('" data-stck="'),U('" data-cstck="');var $t=/[<\u2028\u2029]/g,rr=/[&><\u2028\u2029]/g,Ul=U('<style media="not all" data-precedence="'),ka=U('" data-href="'),Ca=U('">'),Yl=U("</style>"),Sa=!1,wc=!0,ul=[],Qc=U('<style data-precedence="'),Jc=U('" data-href="'),Dc=U(" "),Xu=U('">'),Vc=U("</style>"),Lc=U("["),Qi=U(",["),Lr=U(","),Bc=U("]"),Kr=0,Zu=1,Qu=2,Tc=3,pc=/[<>\r\n]/g,Zt=/["';,\r\n]/g,Ju=Function.prototype.bind,Eo=Symbol.for("react.client.reference"),xn={};Object.freeze(xn);var Gl={},Ji=null,Xl={},ko={},qr=new Set,Zl=new Set,jr=new Set,cl=new Set,fu=new Set,Vi=new Set,ui=new Set,Wc=new Set,Ki=new Set,Nc={enqueueSetState:function(e,n,c){var h=e._reactInternals;h.queue===null?Rl(e,"setState"):(h.queue.push(n),c!=null&&zt(c))},enqueueReplaceState:function(e,n,c){e=e._reactInternals,e.replace=!0,e.queue=[n],c!=null&&zt(c)},enqueueForceUpdate:function(e,n){e._reactInternals.queue===null?Rl(e,"forceUpdate"):n!=null&&zt(n)}},Rc={id:1,overflow:""},Vu=Math.clz32?Math.clz32:xl,Ku=Math.log,Kc=Math.LN2,qi=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Ql=null,Hc=typeof Object.is=="function"?Object.is:Oc,Pa=null,hu=null,xc=null,Fa=null,du=null,Mt=null,sl=!1,Co=!1,Jl=0,So=0,qu=-1,gu=0,vu=null,dn=null,$r=0,en=!1,Vl,bu={readContext:ao,use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return zo(e);if(e.$$typeof===pi)return ao(e)}throw Error("An unsupported type was passed to use(): "+String(e))},useContext:function(e){return Vl="useContext",mi(),e._currentValue},useMemo:Na,useReducer:Di,useRef:function(e){Pa=mi(),Mt=_u();var n=Mt.memoizedState;return n===null?(e={current:e},Object.seal(e),Mt.memoizedState=e):n},useState:function(e){return Vl="useState",Di(Wa,e)},useInsertionEffect:lo,useLayoutEffect:lo,useCallback:function(e,n){return Na(function(){return e},n)},useImperativeHandle:lo,useEffect:lo,useDebugValue:lo,useDeferredValue:function(e,n){return mi(),n!==void 0?n:e},useTransition:function(){return mi(),[!1,_c]},useId:function(){var e=hu.treeContext,n=e.overflow;e=e.id,e=(e&~(1<<32-Vu(e)-1)).toString(32)+n;var c=fl;if(c===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return n=Jl++,e="«"+c.idPrefix+"R"+e,0<n&&(e+="H"+n.toString(32)),e+"»"},useSyncExternalStore:function(e,n,c){if(c===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useOptimistic:function(e){return mi(),[e,fa]},useActionState:Jt,useFormState:Jt,useHostTransitionStatus:function(){return mi(),tt},useMemoCache:function(e){for(var n=Array(e),c=0;c<e;c++)n[c]=Pt;return n},useCacheRefresh:function(){return oc}},fl=null,Ut=null,Ec={getCacheForType:function(){throw Error("Not implemented.")},getOwner:function(){return Ut===null?null:Ut.componentStack}},ji=0,Po,zc,yu,ju,wu,t,r;or.__reactDisabledLog=!0;var u,d,y=!1,R=new(typeof WeakMap=="function"?WeakMap:Map),D={react_stack_bottom_frame:function(e,n,c){return e(n,c)}},W=D.react_stack_bottom_frame.bind(D),de={react_stack_bottom_frame:function(e){return e.render()}},z=de.react_stack_bottom_frame.bind(de),Fe={react_stack_bottom_frame:function(e){var n=e._init;return n(e._payload)}},xe=Fe.react_stack_bottom_frame.bind(Fe),_e=0;if(typeof performance=="object"&&typeof performance.now=="function")var De=performance,ve=function(){return De.now()};else{var qe=Date;ve=function(){return qe.now()}}var st=4,je=0,lt=1,tn=2,Je=5,yt=14,xt=null,ir={},En={},In={},an={},ci=!1,xr=!1,Ft=!1;Ol(),Ol(),ps.prerender=function(e,n){return new Promise(function(c,h){var b=n?n.onHeaders:void 0,p;b&&(p=function(Te){b(new Headers(Te))});var _=P(n?n.identifierPrefix:void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),I=da(e,_,ae(_,void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.importMap:void 0,p,n?n.maxHeadersLength:void 0),te(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,function(){var Te={prelude:new ReadableStream({type:"bytes",pull:function(ye){Jo(I,ye)},cancel:function(ye){I.destination=null,Qa(I,ye)}},{highWaterMark:0})};c(Te)},void 0,void 0,h,n?n.onPostpone:void 0);if(n&&n.signal){var re=n.signal;if(re.aborted)Qa(I,re.reason);else{var L=function(){Qa(I,re.reason),re.removeEventListener("abort",L)};re.addEventListener("abort",L)}}Ml(I)})},ps.renderToReadableStream=function(e,n){return new Promise(function(c,h){var b,p,_=new Promise(function(Pe,be){p=Pe,b=be}),I=n?n.onHeaders:void 0,re;I&&(re=function(Pe){I(new Headers(Pe))});var L=P(n?n.identifierPrefix:void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),Te=Sl(e,L,ae(L,n?n.nonce:void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.importMap:void 0,re,n?n.maxHeadersLength:void 0),te(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,p,function(){var Pe=new ReadableStream({type:"bytes",pull:function(be){Jo(Te,be)},cancel:function(be){Te.destination=null,Qa(Te,be)}},{highWaterMark:0});Pe.allReady=_,c(Pe)},function(Pe){_.catch(function(){}),h(Pe)},b,n?n.onPostpone:void 0,n?n.formState:void 0);if(n&&n.signal){var ye=n.signal;if(ye.aborted)Qa(Te,ye.reason);else{var Oe=function(){Qa(Te,ye.reason),ye.removeEventListener("abort",Oe)};ye.addEventListener("abort",Oe)}}Ml(Te)})},ps.version="19.1.1"})()),ps}var ah;function Vh(){if(ah)return rs;ah=1;var se,K;return process.env.NODE_ENV==="production"?(se=Xh(),K=Zh()):(se=Qh(),K=Jh()),rs.version=se.version,rs.renderToString=se.renderToString,rs.renderToStaticMarkup=se.renderToStaticMarkup,rs.renderToReadableStream=K.renderToReadableStream,K.resume&&(rs.resume=K.resume),rs}var Kh=Vh();function bh({key:se="css",prepend:K=!0,...M}={}){return yh({key:se,prepend:K,...M})}function qh({routes:se,createEmotionCacheOptions:K={},...M}){function ee(ue){const Z=bh(K),Y=Gh(Z),C=Kh.renderToString(Xc.jsxRuntimeExports.jsx(us.StrictMode,{children:Xc.jsxRuntimeExports.jsx(oh
|
|
208
|
+
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),fn=U('$RR("'),Tt=U('","'),dr=U('",'),hn=U('"'),Dr=U(")<\/script>");U('<template data-rci="" data-bid="'),U('<template data-rri="" data-bid="'),U('" data-sid="'),U('" data-sty="');var nr=U('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),Nn=U('$RX("'),Rr=U('"'),Lt=U(","),Rn=U(")<\/script>");U('<template data-rxi="" data-bid="'),U('" data-dgst="'),U('" data-msg="'),U('" data-stck="'),U('" data-cstck="');var $t=/[<\u2028\u2029]/g,rr=/[&><\u2028\u2029]/g,Ul=U('<style media="not all" data-precedence="'),ka=U('" data-href="'),Ca=U('">'),Yl=U("</style>"),Sa=!1,wc=!0,ul=[],Qc=U('<style data-precedence="'),Jc=U('" data-href="'),Dc=U(" "),Xu=U('">'),Vc=U("</style>"),Lc=U("["),Qi=U(",["),Lr=U(","),Bc=U("]"),Kr=0,Zu=1,Qu=2,Tc=3,pc=/[<>\r\n]/g,Zt=/["';,\r\n]/g,Ju=Function.prototype.bind,Eo=Symbol.for("react.client.reference"),xn={};Object.freeze(xn);var Gl={},Ji=null,Xl={},ko={},qr=new Set,Zl=new Set,jr=new Set,cl=new Set,fu=new Set,Vi=new Set,ui=new Set,Wc=new Set,Ki=new Set,Nc={enqueueSetState:function(e,n,c){var h=e._reactInternals;h.queue===null?Rl(e,"setState"):(h.queue.push(n),c!=null&&zt(c))},enqueueReplaceState:function(e,n,c){e=e._reactInternals,e.replace=!0,e.queue=[n],c!=null&&zt(c)},enqueueForceUpdate:function(e,n){e._reactInternals.queue===null?Rl(e,"forceUpdate"):n!=null&&zt(n)}},Rc={id:1,overflow:""},Vu=Math.clz32?Math.clz32:xl,Ku=Math.log,Kc=Math.LN2,qi=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Ql=null,Hc=typeof Object.is=="function"?Object.is:Oc,Pa=null,hu=null,xc=null,Fa=null,du=null,Mt=null,sl=!1,Co=!1,Jl=0,So=0,qu=-1,gu=0,vu=null,dn=null,$r=0,en=!1,Vl,bu={readContext:ao,use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return zo(e);if(e.$$typeof===pi)return ao(e)}throw Error("An unsupported type was passed to use(): "+String(e))},useContext:function(e){return Vl="useContext",mi(),e._currentValue},useMemo:Na,useReducer:Di,useRef:function(e){Pa=mi(),Mt=_u();var n=Mt.memoizedState;return n===null?(e={current:e},Object.seal(e),Mt.memoizedState=e):n},useState:function(e){return Vl="useState",Di(Wa,e)},useInsertionEffect:lo,useLayoutEffect:lo,useCallback:function(e,n){return Na(function(){return e},n)},useImperativeHandle:lo,useEffect:lo,useDebugValue:lo,useDeferredValue:function(e,n){return mi(),n!==void 0?n:e},useTransition:function(){return mi(),[!1,_c]},useId:function(){var e=hu.treeContext,n=e.overflow;e=e.id,e=(e&~(1<<32-Vu(e)-1)).toString(32)+n;var c=fl;if(c===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return n=Jl++,e="«"+c.idPrefix+"R"+e,0<n&&(e+="H"+n.toString(32)),e+"»"},useSyncExternalStore:function(e,n,c){if(c===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useOptimistic:function(e){return mi(),[e,fa]},useActionState:Jt,useFormState:Jt,useHostTransitionStatus:function(){return mi(),tt},useMemoCache:function(e){for(var n=Array(e),c=0;c<e;c++)n[c]=Pt;return n},useCacheRefresh:function(){return oc}},fl=null,Ut=null,Ec={getCacheForType:function(){throw Error("Not implemented.")},getOwner:function(){return Ut===null?null:Ut.componentStack}},ji=0,Po,zc,yu,ju,wu,t,r;or.__reactDisabledLog=!0;var u,d,y=!1,R=new(typeof WeakMap=="function"?WeakMap:Map),D={react_stack_bottom_frame:function(e,n,c){return e(n,c)}},W=D.react_stack_bottom_frame.bind(D),de={react_stack_bottom_frame:function(e){return e.render()}},z=de.react_stack_bottom_frame.bind(de),Fe={react_stack_bottom_frame:function(e){var n=e._init;return n(e._payload)}},xe=Fe.react_stack_bottom_frame.bind(Fe),_e=0;if(typeof performance=="object"&&typeof performance.now=="function")var De=performance,ve=function(){return De.now()};else{var qe=Date;ve=function(){return qe.now()}}var st=4,je=0,lt=1,tn=2,Je=5,yt=14,xt=null,ir={},En={},In={},an={},ci=!1,xr=!1,Ft=!1;Ol(),Ol(),ps.prerender=function(e,n){return new Promise(function(c,h){var b=n?n.onHeaders:void 0,p;b&&(p=function(Te){b(new Headers(Te))});var _=P(n?n.identifierPrefix:void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),I=da(e,_,ae(_,void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.importMap:void 0,p,n?n.maxHeadersLength:void 0),te(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,function(){var Te={prelude:new ReadableStream({type:"bytes",pull:function(ye){Jo(I,ye)},cancel:function(ye){I.destination=null,Qa(I,ye)}},{highWaterMark:0})};c(Te)},void 0,void 0,h,n?n.onPostpone:void 0);if(n&&n.signal){var re=n.signal;if(re.aborted)Qa(I,re.reason);else{var L=function(){Qa(I,re.reason),re.removeEventListener("abort",L)};re.addEventListener("abort",L)}}Ml(I)})},ps.renderToReadableStream=function(e,n){return new Promise(function(c,h){var b,p,_=new Promise(function(Pe,be){p=Pe,b=be}),I=n?n.onHeaders:void 0,re;I&&(re=function(Pe){I(new Headers(Pe))});var L=P(n?n.identifierPrefix:void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),Te=Sl(e,L,ae(L,n?n.nonce:void 0,n?n.unstable_externalRuntimeSrc:void 0,n?n.importMap:void 0,re,n?n.maxHeadersLength:void 0),te(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,p,function(){var Pe=new ReadableStream({type:"bytes",pull:function(be){Jo(Te,be)},cancel:function(be){Te.destination=null,Qa(Te,be)}},{highWaterMark:0});Pe.allReady=_,c(Pe)},function(Pe){_.catch(function(){}),h(Pe)},b,n?n.onPostpone:void 0,n?n.formState:void 0);if(n&&n.signal){var ye=n.signal;if(ye.aborted)Qa(Te,ye.reason);else{var Oe=function(){Qa(Te,ye.reason),ye.removeEventListener("abort",Oe)};ye.addEventListener("abort",Oe)}}Ml(Te)})},ps.version="19.1.1"})()),ps}var ah;function Vh(){if(ah)return rs;ah=1;var se,K;return process.env.NODE_ENV==="production"?(se=Xh(),K=Zh()):(se=Qh(),K=Jh()),rs.version=se.version,rs.renderToString=se.renderToString,rs.renderToStaticMarkup=se.renderToStaticMarkup,rs.renderToReadableStream=K.renderToReadableStream,K.resume&&(rs.resume=K.resume),rs}var Kh=Vh();function bh({key:se="css",prepend:K=!0,...M}={}){return yh({key:se,prepend:K,...M})}function qh({routes:se,createEmotionCacheOptions:K={},...M}){function ee(ue){const Z=bh(K),Y=Gh(Z),C=Kh.renderToString(Xc.jsxRuntimeExports.jsx(us.StrictMode,{children:Xc.jsxRuntimeExports.jsx(oh,{emotionCache:Z,...M,children:Xc.jsxRuntimeExports.jsx(Ms.StaticRouter,{location:ue,children:Xc.jsxRuntimeExports.jsx(Ms.Routes,{children:se})})})})),q=Y.extractCriticalToChunks(C),oe=Y.constructStyleTagsFromChunks(q);return{html:C,head:oe}}return{render:ee}}function jh({routes:se,createEmotionCacheOptions:K={},...M}){const ee=bh(K);wh.clientExports.hydrateRoot(document.getElementById("root"),Xc.jsxRuntimeExports.jsx(us.StrictMode,{children:Xc.jsxRuntimeExports.jsx(oh,{emotionCache:ee,...M,children:Xc.jsxRuntimeExports.jsx(Ms.BrowserRouter,{children:Xc.jsxRuntimeExports.jsx(Ms.Routes,{children:se})})})}))}exports.client=jh;exports.server=qh;
|
|
209
209
|
//# sourceMappingURL=entry.cjs.js.map
|