From 5f2b1d60870aee3ea1bc0784c21525e18888d647 Mon Sep 17 00:00:00 2001 From: adam wong Date: Tue, 3 Dec 2024 20:27:05 -0800 Subject: [PATCH] 0.75.0 --- docs/Report.js | 4 +- docs/features.test.js | 6 +- ...=> BrowserWebSocketTransport-T7EHS33P.mjs} | 4 +- ...js => NodeWebSocketTransport-DL6OUWEF.mjs} | 6 +- .../{bidi-2I2CA3WT.mjs => bidi-COHEKL2Q.mjs} | 354 +- docs/node/chunk-2UPDHKQX.mjs | 2812 -- ...{chunk-THMF2HPO.mjs => chunk-4IESOCHA.mjs} | 4 +- ...{chunk-RBWPBMY4.mjs => chunk-6SZJES2S.mjs} | 152 +- ...{chunk-MSVTAS6Q.mjs => chunk-7DTFZFDN.mjs} | 2 +- ...{chunk-PJC2V65J.mjs => chunk-BRBW5YJH.mjs} | 356 +- ...{chunk-Z577W6FW.mjs => chunk-CDRQ6FZS.mjs} | 1302 +- ...{chunk-5K2J4QBY.mjs => chunk-EYV3TTNW.mjs} | 2 +- ...{chunk-EP6GCRJ6.mjs => chunk-FWCV2CYO.mjs} | 2 +- ...{chunk-CTKBT5JH.mjs => chunk-GF7QN4NN.mjs} | 4 +- ...{chunk-RW3YDDAM.mjs => chunk-IAOYGSRV.mjs} | 691 +- ...{chunk-FLSG3ZVV.mjs => chunk-LE3VN4X4.mjs} | 30 +- ...{chunk-RBY5JW3M.mjs => chunk-O3OSUFIX.mjs} | 80 +- docs/node/chunk-Q7O5F7ZM.mjs | 31777 ---------------- ...{chunk-VDOS7AVZ.mjs => chunk-S5L4ZC6L.mjs} | 4 +- .../{src-X2XRWCOR.mjs => src-N7R57C4Y.mjs} | 4 +- .../react-test-renderer/node.test.mjs | 31770 ++++++++++----- .../react-test-renderer/node.test/exitcode | 2 +- .../react-test-renderer/node.test/log.txt | 23 +- .../react-test-renderer/node.test/tests.json | 70 +- docs/node/src/LoginPage/react/node.test.mjs | 111 - .../src/LoginPage/react/node.test/exitcode | 1 - .../src/LoginPage/react/node.test/log.txt | 19 - .../LoginPage/react/node.test/manifest.json | 1 - .../src/LoginPage/react/node.test/tests.json | 69 - docs/node/src/MyFirstContract.basic.test.mjs | 1714 +- .../src/MyFirstContract.basic.test/log.txt | 2 +- docs/node/src/ReactStateAndHook.test.mjs | 20 +- docs/node/src/ReactStateAndHook.test/exitcode | 2 +- docs/node/src/ReactStateAndHook.test/log.txt | 35 +- .../src/ReactStateAndHook.test/tests.json | 20 +- .../src/Rectangle/Rectangle.test.node.mjs | 18 +- .../src/Rectangle/Rectangle.test.node/log.txt | 2 +- docs/node/src/app.redux.test.mjs | 22 +- docs/node/src/app.redux.test/log.txt | 2 +- docs/node/src/app.reduxToolkit.test.mjs | 22 +- docs/node/src/app.reduxToolkit.test/log.txt | 2 +- docs/testeranto.json | 16 - ...=> BrowserWebSocketTransport-AJ3WEQWR.mjs} | 2 +- ...js => NodeWebSocketTransport-KIPN7CTU.mjs} | 8 +- .../{bidi-PSJAFB3R.mjs => bidi-LSXYACZ6.mjs} | 328 +- ...wser-AMP7N3DU.mjs => browser-Q3NOC5XS.mjs} | 12 +- docs/web/chunk-2CNFTRH6.mjs | 6 - ...{chunk-43DSNPFJ.mjs => chunk-2MX732QA.mjs} | 2 +- ...{chunk-RAOLTNHP.mjs => chunk-2ZES6QAY.mjs} | 38 +- docs/web/chunk-EXETZ625.mjs | 6 + ...{chunk-FWI6RUOP.mjs => chunk-GEWWKFQY.mjs} | 88 +- docs/web/chunk-GMZQMU6E.mjs | 1065 - ...{chunk-D54U7RBP.mjs => chunk-JE6WFJZI.mjs} | 1900 +- ...{chunk-WZWH5UFM.mjs => chunk-KKQOQNY2.mjs} | 120 +- docs/web/chunk-SN7AGXRL.mjs | 2868 -- docs/web/chunk-T4W5FV25.mjs | 1905 - ...{chunk-DT6QM7RO.mjs => chunk-YCRVKDXD.mjs} | 416 +- .../react-dom/client.web.test.mjs | 21238 +---------- .../react-dom/client.web.test/log.txt | 2 +- .../given-test0/afterEach/afterEachLog.jpg | Bin 30559 -> 30012 bytes .../given-test1/afterEach/afterEachLog.jpg | Bin 30543 -> 29995 bytes .../given-test2/afterEach/afterEachLog.jpg | Bin 30564 -> 30018 bytes .../given-test3/afterEach/afterEachLog.jpg | Bin 30559 -> 30014 bytes docs/web/src/ClassicalComponent/test.mjs | 42 +- .../react-test-renderer/web.test.mjs | 16703 ++------ .../react-test-renderer/web.test/log.txt | 19 +- .../react-test-renderer/web.test/tests.json | 59 +- docs/web/src/LoginPage/react/web.test.html | 19 - docs/web/src/LoginPage/react/web.test.mjs | 112 - .../web/src/LoginPage/react/web.test/exitcode | 1 - docs/web/src/LoginPage/react/web.test/log.txt | 18 - .../LoginPage/react/web.test/manifest.json | 1 - .../web.test/suite-0/afterAll/afterAllLog | 1 - .../given-test0/when/beforeEach/beforeEachLog | 1 - .../given-test1/when/beforeEach/beforeEachLog | 1 - .../given-test2/when/beforeEach/beforeEachLog | 1 - .../src/LoginPage/react/web.test/tests.json | 81 - .../src/Rectangle/Rectangle.test.electron.mjs | 851 +- .../Rectangle/Rectangle.test.electron/log.txt | 2 +- package.json | 2 +- src/LoginPage/react/node.test.tsx | 15 +- src/LoginPage/react/test.tsx | 1 + src/LoginPage/react/web.test.tsx | 62 +- src/LoginPage/test.ts | 44 +- testeranto.mts | 8 +- yarn.lock | 8 +- 86 files changed, 30693 insertions(+), 88902 deletions(-) rename docs/node/{BrowserWebSocketTransport-VT34BAS5.mjs => BrowserWebSocketTransport-T7EHS33P.mjs} (72%) rename docs/node/{NodeWebSocketTransport-UA4FKYLF.mjs => NodeWebSocketTransport-DL6OUWEF.mjs} (62%) rename docs/node/{bidi-2I2CA3WT.mjs => bidi-COHEKL2Q.mjs} (97%) delete mode 100644 docs/node/chunk-2UPDHKQX.mjs rename docs/node/{chunk-THMF2HPO.mjs => chunk-4IESOCHA.mjs} (97%) rename docs/node/{chunk-RBWPBMY4.mjs => chunk-6SZJES2S.mjs} (98%) rename docs/node/{chunk-MSVTAS6Q.mjs => chunk-7DTFZFDN.mjs} (99%) rename docs/node/{chunk-PJC2V65J.mjs => chunk-BRBW5YJH.mjs} (91%) rename docs/node/{chunk-Z577W6FW.mjs => chunk-CDRQ6FZS.mjs} (98%) rename docs/node/{chunk-5K2J4QBY.mjs => chunk-EYV3TTNW.mjs} (98%) rename docs/node/{chunk-EP6GCRJ6.mjs => chunk-FWCV2CYO.mjs} (99%) rename docs/node/{chunk-CTKBT5JH.mjs => chunk-GF7QN4NN.mjs} (88%) rename docs/node/{chunk-RW3YDDAM.mjs => chunk-IAOYGSRV.mjs} (97%) rename docs/node/{chunk-FLSG3ZVV.mjs => chunk-LE3VN4X4.mjs} (96%) rename docs/node/{chunk-RBY5JW3M.mjs => chunk-O3OSUFIX.mjs} (94%) delete mode 100644 docs/node/chunk-Q7O5F7ZM.mjs rename docs/node/{chunk-VDOS7AVZ.mjs => chunk-S5L4ZC6L.mjs} (62%) rename docs/node/{src-X2XRWCOR.mjs => src-N7R57C4Y.mjs} (69%) delete mode 100644 docs/node/src/LoginPage/react/node.test.mjs delete mode 100644 docs/node/src/LoginPage/react/node.test/exitcode delete mode 100644 docs/node/src/LoginPage/react/node.test/log.txt delete mode 100644 docs/node/src/LoginPage/react/node.test/manifest.json delete mode 100644 docs/node/src/LoginPage/react/node.test/tests.json rename docs/web/{BrowserWebSocketTransport-GCNNQW5A.mjs => BrowserWebSocketTransport-AJ3WEQWR.mjs} (77%) rename docs/web/{NodeWebSocketTransport-L3CCN7TK.mjs => NodeWebSocketTransport-KIPN7CTU.mjs} (88%) rename docs/web/{bidi-PSJAFB3R.mjs => bidi-LSXYACZ6.mjs} (97%) rename docs/web/{browser-AMP7N3DU.mjs => browser-Q3NOC5XS.mjs} (97%) delete mode 100644 docs/web/chunk-2CNFTRH6.mjs rename docs/web/{chunk-43DSNPFJ.mjs => chunk-2MX732QA.mjs} (89%) rename docs/web/{chunk-RAOLTNHP.mjs => chunk-2ZES6QAY.mjs} (55%) create mode 100644 docs/web/chunk-EXETZ625.mjs rename docs/web/{chunk-FWI6RUOP.mjs => chunk-GEWWKFQY.mjs} (99%) delete mode 100644 docs/web/chunk-GMZQMU6E.mjs rename docs/web/{chunk-D54U7RBP.mjs => chunk-JE6WFJZI.mjs} (92%) rename docs/web/{chunk-WZWH5UFM.mjs => chunk-KKQOQNY2.mjs} (98%) delete mode 100644 docs/web/chunk-SN7AGXRL.mjs delete mode 100644 docs/web/chunk-T4W5FV25.mjs rename docs/web/{chunk-DT6QM7RO.mjs => chunk-YCRVKDXD.mjs} (62%) delete mode 100644 docs/web/src/LoginPage/react/web.test.html delete mode 100644 docs/web/src/LoginPage/react/web.test.mjs delete mode 100644 docs/web/src/LoginPage/react/web.test/exitcode delete mode 100644 docs/web/src/LoginPage/react/web.test/log.txt delete mode 100644 docs/web/src/LoginPage/react/web.test/manifest.json delete mode 100644 docs/web/src/LoginPage/react/web.test/suite-0/afterAll/afterAllLog delete mode 100644 docs/web/src/LoginPage/react/web.test/suite-0/given-test0/when/beforeEach/beforeEachLog delete mode 100644 docs/web/src/LoginPage/react/web.test/suite-0/given-test1/when/beforeEach/beforeEachLog delete mode 100644 docs/web/src/LoginPage/react/web.test/suite-0/given-test2/when/beforeEach/beforeEachLog delete mode 100644 docs/web/src/LoginPage/react/web.test/tests.json diff --git a/docs/Report.js b/docs/Report.js index b94c9e15..f3f01938 100644 --- a/docs/Report.js +++ b/docs/Report.js @@ -37490,9 +37490,9 @@ footer { (g, ndx2) => /* @__PURE__ */ import_react46.default.createElement(Nav_default2.Item, { key: ndx2 }, /* @__PURE__ */ import_react46.default.createElement(Nav_default2.Link, { eventKey: `networks-directed-${ndx2}` }, g.name)) ))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 6 }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Content, null, features.graphs.directed[0] && /* @__PURE__ */ import_react46.default.createElement(import_react46.default.Fragment, null, /* @__PURE__ */ import_react46.default.createElement(Sigma_default, { graph: graphToIGraphData(features.graphs.directed[0].graph), settings: { drawEdges: true, clone: false } }, /* @__PURE__ */ import_react46.default.createElement(RelativeSize_default, { initialSize: 25 }), /* @__PURE__ */ import_react46.default.createElement(RandomizeNodePositions_default, null)), /* @__PURE__ */ import_react46.default.createElement("pre", null, JSON.stringify(features.graphs.directed[0].graph, null, 2))))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 4 }, /* @__PURE__ */ import_react46.default.createElement(Tabs_default2, { defaultActiveKey: "networks.features" }, /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "networks.features", title: "features" }, /* @__PURE__ */ import_react46.default.createElement("pre", { id: "theProps" }, JSON.stringify(features, null, 2))), /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "feature.tests", title: "tests" }, /* @__PURE__ */ import_react46.default.createElement("pre", { id: "theProps" }, JSON.stringify(tests.tests, null, 2)))))))), /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "undirected", title: "Undirected" }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Content, null, /* @__PURE__ */ import_react46.default.createElement(Row_default, null, /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 2 }, /* @__PURE__ */ import_react46.default.createElement(Nav_default2, { variant: "pills", className: "flex-column" }, features.graphs.undirected.map( (g, ndx2) => /* @__PURE__ */ import_react46.default.createElement(Nav_default2.Item, { key: ndx2 }, /* @__PURE__ */ import_react46.default.createElement(Nav_default2.Link, { eventKey: `networks-undirected-${ndx2}` }, g.name)) - ))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 6 }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Content, null, features.graphs.undirected[0] && /* @__PURE__ */ import_react46.default.createElement(import_react46.default.Fragment, null, /* @__PURE__ */ import_react46.default.createElement(Sigma_default, { graph: graphToIGraphData(features.graphs.undirected[0].graph), settings: { drawEdges: true, clone: false } }, /* @__PURE__ */ import_react46.default.createElement(RelativeSize_default, { initialSize: 25 }), /* @__PURE__ */ import_react46.default.createElement(RandomizeNodePositions_default, null)), /* @__PURE__ */ import_react46.default.createElement("pre", null, JSON.stringify(features.graphs.undirected[0].graph, null, 2))))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 4 }, /* @__PURE__ */ import_react46.default.createElement(Tabs_default2, { defaultActiveKey: "networks.features" }, /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "networks.features", title: "features" }, /* @__PURE__ */ import_react46.default.createElement("pre", { id: "theProps" }, JSON.stringify(features, null, 2))), /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "feature.tests", title: "tests" }, /* @__PURE__ */ import_react46.default.createElement("pre", { id: "theProps" }, JSON.stringify(tests.tests, null, 2)))))))))))), /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "tests", title: "tests" }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Container, { id: "left-tabs-example5", defaultActiveKey: "feature-0" }, /* @__PURE__ */ import_react46.default.createElement(Row_default, null, /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 2 }, /* @__PURE__ */ import_react46.default.createElement(Nav_default2, { variant: "pills", className: "flex-column" }, tests.tests.map( + ))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 6 }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Content, null, features.graphs.undirected[0] && /* @__PURE__ */ import_react46.default.createElement(import_react46.default.Fragment, null, /* @__PURE__ */ import_react46.default.createElement(Sigma_default, { graph: graphToIGraphData(features.graphs.undirected[0].graph), settings: { drawEdges: true, clone: false } }, /* @__PURE__ */ import_react46.default.createElement(RelativeSize_default, { initialSize: 25 }), /* @__PURE__ */ import_react46.default.createElement(RandomizeNodePositions_default, null)), /* @__PURE__ */ import_react46.default.createElement("pre", null, JSON.stringify(features.graphs.undirected[0].graph, null, 2))))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 4 }, /* @__PURE__ */ import_react46.default.createElement(Tabs_default2, { defaultActiveKey: "networks.features" }, /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "networks.features", title: "features" }, /* @__PURE__ */ import_react46.default.createElement("pre", { id: "theProps" }, JSON.stringify(features, null, 2))), /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "feature.tests", title: "tests" }, /* @__PURE__ */ import_react46.default.createElement("pre", { id: "theProps" }, JSON.stringify(tests.tests, null, 2)))))))))))), /* @__PURE__ */ import_react46.default.createElement(Tab_default, { eventKey: "tests", title: "tests" }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Container, { id: "left-tabs-example5", defaultActiveKey: "feature-0" }, /* @__PURE__ */ import_react46.default.createElement(Row_default, null, /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 4 }, /* @__PURE__ */ import_react46.default.createElement(Nav_default2, { variant: "pills", className: "flex-column" }, tests.tests.map( (t, ndx) => /* @__PURE__ */ import_react46.default.createElement(Nav_default2.Item, { key: ndx }, /* @__PURE__ */ import_react46.default.createElement(Nav_default2.Link, { eventKey: `test-${ndx}` }, t[0], " - ", t[1])) - ))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 6 }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Content, null, tests.tests.map( + ))), /* @__PURE__ */ import_react46.default.createElement(Col_default, { sm: 4 }, /* @__PURE__ */ import_react46.default.createElement(Tab_default.Content, null, tests.tests.map( (t, ndx) => /* @__PURE__ */ import_react46.default.createElement(Tab_default.Pane, { eventKey: `test-${ndx}` }, /* @__PURE__ */ import_react46.default.createElement("pre", null, JSON.stringify(Object.entries(state.results).filter(([k, v]) => { console.log(v.src, tests.tests[ndx][0]); return v.src === tests.tests[ndx][0]; diff --git a/docs/features.test.js b/docs/features.test.js index 145b1682..327a85f9 100644 --- a/docs/features.test.js +++ b/docs/features.test.js @@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge mod )); -// ../testeranto/node_modules/graphology/dist/graphology.umd.js +// node_modules/graphology/dist/graphology.umd.js var require_graphology_umd = __commonJS({ - "../testeranto/node_modules/graphology/dist/graphology.umd.js"(exports, module) { + "node_modules/graphology/dist/graphology.umd.js"(exports, module) { (function(global, factory) { typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, global.graphology = factory()); })(exports, function() { @@ -3685,7 +3685,7 @@ var require_graphology_umd = __commonJS({ } }); -// ../testeranto/dist/module/Features.js +// node_modules/testeranto/dist/module/Features.js var import_graphology_umd = __toESM(require_graphology_umd(), 1); var { DirectedGraph, UndirectedGraph } = import_graphology_umd.default; var BaseFeature = class { diff --git a/docs/node/BrowserWebSocketTransport-VT34BAS5.mjs b/docs/node/BrowserWebSocketTransport-T7EHS33P.mjs similarity index 72% rename from docs/node/BrowserWebSocketTransport-VT34BAS5.mjs rename to docs/node/BrowserWebSocketTransport-T7EHS33P.mjs index 394cdae3..ab90eaf6 100644 --- a/docs/node/BrowserWebSocketTransport-VT34BAS5.mjs +++ b/docs/node/BrowserWebSocketTransport-T7EHS33P.mjs @@ -1,8 +1,8 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { BrowserWebSocketTransport -} from "./chunk-CTKBT5JH.mjs"; -import "./chunk-THMF2HPO.mjs"; +} from "./chunk-GF7QN4NN.mjs"; +import "./chunk-4IESOCHA.mjs"; export { BrowserWebSocketTransport }; diff --git a/docs/node/NodeWebSocketTransport-UA4FKYLF.mjs b/docs/node/NodeWebSocketTransport-DL6OUWEF.mjs similarity index 62% rename from docs/node/NodeWebSocketTransport-UA4FKYLF.mjs rename to docs/node/NodeWebSocketTransport-DL6OUWEF.mjs index 04b4fb8c..be3a7bce 100644 --- a/docs/node/NodeWebSocketTransport-UA4FKYLF.mjs +++ b/docs/node/NodeWebSocketTransport-DL6OUWEF.mjs @@ -1,9 +1,9 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { NodeWebSocketTransport -} from "./chunk-PJC2V65J.mjs"; -import "./chunk-VDOS7AVZ.mjs"; -import "./chunk-THMF2HPO.mjs"; +} from "./chunk-BRBW5YJH.mjs"; +import "./chunk-S5L4ZC6L.mjs"; +import "./chunk-4IESOCHA.mjs"; export { NodeWebSocketTransport }; diff --git a/docs/node/bidi-2I2CA3WT.mjs b/docs/node/bidi-COHEKL2Q.mjs similarity index 97% rename from docs/node/bidi-2I2CA3WT.mjs rename to docs/node/bidi-COHEKL2Q.mjs index 1d3d11de..ef6cc3f7 100644 --- a/docs/node/bidi-2I2CA3WT.mjs +++ b/docs/node/bidi-COHEKL2Q.mjs @@ -80,8 +80,8 @@ import { throwIfDetached, throwIfDisposed, timeout -} from "./chunk-RBWPBMY4.mjs"; -import "./chunk-VDOS7AVZ.mjs"; +} from "./chunk-6SZJES2S.mjs"; +import "./chunk-S5L4ZC6L.mjs"; import { __commonJS, __esm, @@ -96,9 +96,9 @@ import { __toCommonJS, __toESM, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/mitt/dist/mitt.mjs +// node_modules/mitt/dist/mitt.mjs var mitt_exports = {}; __export(mitt_exports, { default: () => mitt_default @@ -120,14 +120,14 @@ function mitt_default(n) { } }; } var init_mitt = __esm({ - "../testeranto/node_modules/mitt/dist/mitt.mjs"() { + "node_modules/mitt/dist/mitt.mjs"() { init_cjs_shim(); } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js +// node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js var require_EventEmitter = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault = exports && exports.__importDefault || function(mod) { @@ -188,9 +188,9 @@ var require_EventEmitter = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/log.js +// node_modules/chromium-bidi/lib/cjs/utils/log.js var require_log = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/log.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/log.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -206,9 +206,9 @@ var require_log = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js +// node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js var require_ProcessingQueue = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/ProcessingQueue.js"(exports) { "use strict"; init_cjs_shim(); var _a3; @@ -270,18 +270,18 @@ var require_ProcessingQueue = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js +// node_modules/chromium-bidi/lib/cjs/protocol/cdp.js var require_cdp = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/cdp.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/cdp.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js +// node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js var require_chromium_bidi = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -361,18 +361,18 @@ var require_chromium_bidi = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js +// node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js var require_webdriver_bidi = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js +// node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js var require_ErrorResponse = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -545,27 +545,27 @@ var require_ErrorResponse = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js +// node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js var require_webdriver_bidi_permissions = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js +// node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js var require_webdriver_bidi_bluetooth = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js +// node_modules/chromium-bidi/lib/cjs/protocol/protocol.js var require_protocol = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/protocol/protocol.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -616,9 +616,9 @@ var require_protocol = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiNoOpParser.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiNoOpParser.js var require_BidiNoOpParser = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiNoOpParser.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiNoOpParser.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -775,9 +775,9 @@ var require_BidiNoOpParser = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js var require_BrowserProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -842,9 +842,9 @@ var require_BrowserProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js var require_CdpProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -890,9 +890,9 @@ var require_CdpProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js var require_BrowsingContextProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -1080,9 +1080,9 @@ var require_BrowsingContextProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/assert.js +// node_modules/chromium-bidi/lib/cjs/utils/assert.js var require_assert = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/assert.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/assert.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -1095,9 +1095,9 @@ var require_assert = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/GraphemeTools.js +// node_modules/chromium-bidi/lib/cjs/utils/GraphemeTools.js var require_GraphemeTools = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/GraphemeTools.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/GraphemeTools.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -1113,9 +1113,9 @@ var require_GraphemeTools = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputSource.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputSource.js var require_InputSource = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputSource.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputSource.js"(exports) { "use strict"; init_cjs_shim(); var _a3; @@ -1255,9 +1255,9 @@ var require_InputSource = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/keyUtils.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/keyUtils.js var require_keyUtils = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/keyUtils.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/keyUtils.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -1726,9 +1726,9 @@ var require_keyUtils = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js var require_USKeyboardLayout = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -1988,9 +1988,9 @@ var require_USKeyboardLayout = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js var require_ActionDispatcher = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -2652,9 +2652,9 @@ var require_ActionDispatcher = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js +// node_modules/chromium-bidi/lib/cjs/utils/Mutex.js var require_Mutex = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Mutex.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/Mutex.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -2699,9 +2699,9 @@ var require_Mutex = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputState.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputState.js var require_InputState = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputState.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputState.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -2782,9 +2782,9 @@ var require_InputState = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputStateManager.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputStateManager.js var require_InputStateManager = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputStateManager.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputStateManager.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -2804,9 +2804,9 @@ var require_InputStateManager = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputProcessor.js var require_InputProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/input/InputProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -2979,9 +2979,9 @@ var require_InputProcessor = __commonJS({ } }); -// ../testeranto/node_modules/urlpattern-polyfill/dist/urlpattern.cjs +// node_modules/urlpattern-polyfill/dist/urlpattern.cjs var require_urlpattern = __commonJS({ - "../testeranto/node_modules/urlpattern-polyfill/dist/urlpattern.cjs"(exports, module) { + "node_modules/urlpattern-polyfill/dist/urlpattern.cjs"(exports, module) { "use strict"; init_cjs_shim(); var M = Object.defineProperty; @@ -3787,9 +3787,9 @@ var require_urlpattern = __commonJS({ } }); -// ../testeranto/node_modules/urlpattern-polyfill/index.cjs +// node_modules/urlpattern-polyfill/index.cjs var require_urlpattern_polyfill = __commonJS({ - "../testeranto/node_modules/urlpattern-polyfill/index.cjs"(exports, module) { + "node_modules/urlpattern-polyfill/index.cjs"(exports, module) { init_cjs_shim(); var { URLPattern } = require_urlpattern(); module.exports = { URLPattern }; @@ -3799,9 +3799,9 @@ var require_urlpattern_polyfill = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js +// node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js var require_UrlPattern = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/UrlPattern.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -3815,9 +3815,9 @@ var require_UrlPattern = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js var require_NetworkProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4087,9 +4087,9 @@ var require_NetworkProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js var require_PermissionsProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4124,9 +4124,9 @@ var require_PermissionsProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/uuid.js +// node_modules/chromium-bidi/lib/cjs/utils/uuid.js var require_uuid = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/uuid.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/uuid.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4157,9 +4157,9 @@ var require_uuid = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ChannelProxy.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ChannelProxy.js var require_ChannelProxy = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ChannelProxy.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ChannelProxy.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4380,9 +4380,9 @@ var require_ChannelProxy = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScript.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScript.js var require_PreloadScript = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScript.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScript.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4482,9 +4482,9 @@ var require_PreloadScript = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js var require_ScriptProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4586,9 +4586,9 @@ var require_ScriptProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SessionProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SessionProcessor.js var require_SessionProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SessionProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SessionProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4692,9 +4692,9 @@ var require_SessionProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Base64.js +// node_modules/chromium-bidi/lib/cjs/utils/Base64.js var require_Base64 = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Base64.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/Base64.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4708,9 +4708,9 @@ var require_Base64 = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkUtils.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkUtils.js var require_NetworkUtils = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkUtils.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkUtils.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4956,9 +4956,9 @@ var require_NetworkUtils = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js var require_StorageProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5114,9 +5114,9 @@ var require_StorageProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingMessage.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingMessage.js var require_OutgoingMessage = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingMessage.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingMessage.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5156,9 +5156,9 @@ var require_OutgoingMessage = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.js var require_CommandProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5349,9 +5349,9 @@ var require_CommandProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js var require_BluetoothProcessor = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5395,9 +5395,9 @@ var require_BluetoothProcessor = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js +// node_modules/chromium-bidi/lib/cjs/utils/Deferred.js var require_Deferred = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Deferred.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/Deferred.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5453,9 +5453,9 @@ var require_Deferred = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js +// node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js var require_unitConversions = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/unitConversions.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5466,9 +5466,9 @@ var require_unitConversions = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js var require_Realm = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5930,9 +5930,9 @@ var require_Realm = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/SharedId.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/SharedId.js var require_SharedId = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/SharedId.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/SharedId.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5989,9 +5989,9 @@ var require_SharedId = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js var require_WindowRealm = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -6101,9 +6101,9 @@ var require_WindowRealm = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js var require_BrowsingContextImpl = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js"(exports) { "use strict"; init_cjs_shim(); var _a3; @@ -7356,9 +7356,9 @@ var require_BrowsingContextImpl = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WorkerRealm.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WorkerRealm.js var require_WorkerRealm = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WorkerRealm.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WorkerRealm.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -7416,9 +7416,9 @@ var require_WorkerRealm = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/logHelper.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/logHelper.js var require_logHelper = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/logHelper.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/logHelper.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -7531,9 +7531,9 @@ var require_logHelper = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/LogManager.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/LogManager.js var require_LogManager = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/LogManager.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/log/LogManager.js"(exports) { "use strict"; init_cjs_shim(); var _a3; @@ -7727,9 +7727,9 @@ var require_LogManager = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js var require_CdpTarget = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -7994,9 +7994,9 @@ var require_CdpTarget = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js var require_CdpTargetManager = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -8209,9 +8209,9 @@ var require_CdpTargetManager = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js var require_BrowsingContextStorage = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -8296,9 +8296,9 @@ var require_BrowsingContextStorage = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkRequest.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkRequest.js var require_NetworkRequest = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkRequest.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkRequest.js"(exports) { "use strict"; init_cjs_shim(); var _a3; @@ -8985,9 +8985,9 @@ var require_NetworkRequest = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkStorage.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkStorage.js var require_NetworkStorage = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkStorage.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/network/NetworkStorage.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9212,9 +9212,9 @@ var require_NetworkStorage = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js var require_PreloadScriptStorage = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9258,9 +9258,9 @@ var require_PreloadScriptStorage = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/RealmStorage.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/RealmStorage.js var require_RealmStorage = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/RealmStorage.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/RealmStorage.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9333,9 +9333,9 @@ var require_RealmStorage = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js +// node_modules/chromium-bidi/lib/cjs/utils/Buffer.js var require_Buffer = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/Buffer.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/Buffer.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9369,9 +9369,9 @@ var require_Buffer = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js +// node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js var require_DefaultMap = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/DefaultMap.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9394,9 +9394,9 @@ var require_DefaultMap = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/DistinctValues.js +// node_modules/chromium-bidi/lib/cjs/utils/DistinctValues.js var require_DistinctValues = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/DistinctValues.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/DistinctValues.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9426,9 +9426,9 @@ var require_DistinctValues = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js +// node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js var require_IdWrapper = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/utils/IdWrapper.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9451,9 +9451,9 @@ var require_IdWrapper = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/events.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/events.js var require_events = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/events.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/events.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9471,9 +9471,9 @@ var require_events = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js var require_SubscriptionManager = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9672,9 +9672,9 @@ var require_SubscriptionManager = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/EventManager.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/EventManager.js var require_EventManager = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/EventManager.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/session/EventManager.js"(exports) { "use strict"; init_cjs_shim(); var _a3; @@ -9884,9 +9884,9 @@ var require_EventManager = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.js var require_BidiServer = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9990,9 +9990,9 @@ var require_BidiServer = __commonJS({ } }); -// ../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiMapper.js +// node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiMapper.js var require_BidiMapper = __commonJS({ - "../testeranto/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiMapper.js"(exports) { + "node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiMapper.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -10012,17 +10012,17 @@ var require_BidiMapper = __commonJS({ } }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/bidi.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/bidi.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BidiOverCdp.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BidiOverCdp.js init_cjs_shim(); var BidiMapper = __toESM(require_BidiMapper(), 1); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/CDPSession.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/CDPSession.js init_cjs_shim(); var _detached, _connection, _sessionId; var _BidiCdpSession = class extends CDPSession { @@ -10104,7 +10104,7 @@ _connection = new WeakMap(); _sessionId = new WeakMap(); __publicField(BidiCdpSession, "sessions", /* @__PURE__ */ new Map()); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js var debugProtocolSend = debug("puppeteer:webDriverBiDi:SEND \u25BA"); var debugProtocolReceive = debug("puppeteer:webDriverBiDi:RECV \u25C0"); var BidiConnection = class extends EventEmitter { @@ -10225,7 +10225,7 @@ function isCdpEvent(event) { return event.method.startsWith("cdp."); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BidiOverCdp.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BidiOverCdp.js var bidiServerLogger = (prefix, ...args) => { debug(`bidi:${prefix}`)(args); }; @@ -10348,19 +10348,19 @@ var NoOpTransport = class extends BidiMapper.EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Browser.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserContext.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/UserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/UserContext.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/BrowsingContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/BrowsingContext.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Navigation.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Navigation.js init_cjs_shim(); var __runInitializers = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -10530,7 +10530,7 @@ var Navigation = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js init_cjs_shim(); var __runInitializers2 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -10805,7 +10805,7 @@ var SharedWorkerRealm = class extends Realm2 { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Request.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Request.js init_cjs_shim(); var __runInitializers3 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -11036,7 +11036,7 @@ var Request = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/UserPrompt.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/UserPrompt.js init_cjs_shim(); var __runInitializers4 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -11172,7 +11172,7 @@ var UserPrompt = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/BrowsingContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/BrowsingContext.js var __runInitializers5 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -11640,7 +11640,7 @@ var BrowsingContext = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/UserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/UserContext.js var __runInitializers6 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -11843,13 +11843,13 @@ var UserContext = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Page.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Page.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Frame.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Frame.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Deserializer.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Deserializer.js init_cjs_shim(); var _deserializeNumber, deserializeNumber_fn, _deserializeTuple, deserializeTuple_fn; var BidiDeserializer = class { @@ -11925,7 +11925,7 @@ deserializeTuple_fn = function([serializedKey, serializedValue]) { __privateAdd(BidiDeserializer, _deserializeNumber); __privateAdd(BidiDeserializer, _deserializeTuple); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Dialog.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Dialog.js init_cjs_shim(); var BidiDialog = class extends Dialog { static from(prompt) { @@ -11945,14 +11945,14 @@ var BidiDialog = class extends Dialog { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ExposedFunction.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ExposedFunction.js init_cjs_shim(); var Bidi = __toESM(require_protocol(), 1); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ElementHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ElementHandle.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/JSHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/JSHandle.js init_cjs_shim(); var BidiJSHandle = class extends JSHandle { static from(value, realm) { @@ -12014,7 +12014,7 @@ var BidiJSHandle = class extends JSHandle { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ElementHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ElementHandle.js var __runInitializers7 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -12230,7 +12230,7 @@ var BidiElementHandle = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ExposedFunction.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ExposedFunction.js var __addDisposableResource2 = function(env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") @@ -12471,10 +12471,10 @@ var ExposeableFunction = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/HTTPRequest.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/HTTPRequest.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/HTTPResponse.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/HTTPResponse.js init_cjs_shim(); var __runInitializers8 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -12639,7 +12639,7 @@ var BidiHTTPResponse = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/HTTPRequest.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/HTTPRequest.js var _a2; var requests = /* @__PURE__ */ new WeakMap(); var BidiHTTPRequest = class extends HTTPRequest { @@ -12875,10 +12875,10 @@ function getBidiHeaders(rawHeaders) { return headers; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Serializer.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Serializer.js init_cjs_shim(); var UnserializableError = class extends Error { }; @@ -12984,7 +12984,7 @@ serializeObject_fn = function(arg) { __privateAdd(BidiSerializer, _serializeNumber); __privateAdd(BidiSerializer, _serializeObject); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/util.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/util.js init_cjs_shim(); function createEvaluationError(details) { if (details.exception.type !== "error") { @@ -13022,7 +13022,7 @@ function rewriteNavigationError(message, ms) { }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js var __addDisposableResource3 = function(env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") @@ -13320,7 +13320,7 @@ var BidiWorkerRealm = class extends BidiRealm { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/WebWorker.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/WebWorker.js init_cjs_shim(); var BidiWebWorker = class extends WebWorker { static from(frame, realm) { @@ -13345,7 +13345,7 @@ var BidiWebWorker = class extends WebWorker { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Frame.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Frame.js var __runInitializers9 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -13815,7 +13815,7 @@ function getStackTraceLocations(stackTrace) { return stackTraceLocations; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Input.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Input.js init_cjs_shim(); var SourceActionsType; (function(SourceActionsType2) { @@ -14422,7 +14422,7 @@ var BidiTouchscreen = class extends Touchscreen { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Page.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Page.js var __esDecorate10 = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") @@ -15203,7 +15203,7 @@ function convertCookiesSameSiteCdpToBiDi(sameSite) { return sameSite === "Strict" ? "strict" : sameSite === "Lax" ? "lax" : "none"; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Target.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Target.js init_cjs_shim(); var BidiBrowserTarget = class extends Target { #browser; @@ -15331,7 +15331,7 @@ var BidiWorkerTarget = class extends Target { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserContext.js var __esDecorate11 = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") @@ -15662,10 +15662,10 @@ var BidiBrowserContext = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Browser.js init_cjs_shim(); var __runInitializers12 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -15954,7 +15954,7 @@ var Browser2 = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js var __runInitializers13 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -16134,7 +16134,7 @@ var Session = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Browser.js var __esDecorate14 = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") diff --git a/docs/node/chunk-2UPDHKQX.mjs b/docs/node/chunk-2UPDHKQX.mjs deleted file mode 100644 index 5a77dcd5..00000000 --- a/docs/node/chunk-2UPDHKQX.mjs +++ /dev/null @@ -1,2812 +0,0 @@ -import { createRequire } from 'module';const require = createRequire(import.meta.url); -import { - puppeteer_core_default -} from "./chunk-Z577W6FW.mjs"; -import { - __commonJS, - init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; - -// node_modules/react/cjs/react.production.min.js -var require_react_production_min = __commonJS({ - "node_modules/react/cjs/react.production.min.js"(exports) { - "use strict"; - init_cjs_shim(); - var l = Symbol.for("react.element"); - var n = Symbol.for("react.portal"); - var p = Symbol.for("react.fragment"); - var q = Symbol.for("react.strict_mode"); - var r = Symbol.for("react.profiler"); - var t = Symbol.for("react.provider"); - var u = Symbol.for("react.context"); - var v = Symbol.for("react.forward_ref"); - var w = Symbol.for("react.suspense"); - var x = Symbol.for("react.memo"); - var y = Symbol.for("react.lazy"); - var z = Symbol.iterator; - function A(a) { - if (null === a || "object" !== typeof a) - return null; - a = z && a[z] || a["@@iterator"]; - return "function" === typeof a ? a : null; - } - var B = { isMounted: function() { - return false; - }, enqueueForceUpdate: function() { - }, enqueueReplaceState: function() { - }, enqueueSetState: function() { - } }; - var C = Object.assign; - var D = {}; - function E(a, b, e) { - this.props = a; - this.context = b; - this.refs = D; - this.updater = e || B; - } - E.prototype.isReactComponent = {}; - E.prototype.setState = function(a, b) { - if ("object" !== typeof a && "function" !== typeof a && null != a) - throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); - this.updater.enqueueSetState(this, a, b, "setState"); - }; - E.prototype.forceUpdate = function(a) { - this.updater.enqueueForceUpdate(this, a, "forceUpdate"); - }; - function F() { - } - F.prototype = E.prototype; - function G(a, b, e) { - this.props = a; - this.context = b; - this.refs = D; - this.updater = e || B; - } - var H = G.prototype = new F(); - H.constructor = G; - C(H, E.prototype); - H.isPureReactComponent = true; - var I = Array.isArray; - var J = Object.prototype.hasOwnProperty; - var K = { current: null }; - var L = { key: true, ref: true, __self: true, __source: true }; - function M(a, b, e) { - var d, c = {}, k = null, h = null; - if (null != b) - for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) - J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]); - var g = arguments.length - 2; - if (1 === g) - c.children = e; - else if (1 < g) { - for (var f = Array(g), m = 0; m < g; m++) - f[m] = arguments[m + 2]; - c.children = f; - } - if (a && a.defaultProps) - for (d in g = a.defaultProps, g) - void 0 === c[d] && (c[d] = g[d]); - return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current }; - } - function N(a, b) { - return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner }; - } - function O(a) { - return "object" === typeof a && null !== a && a.$$typeof === l; - } - function escape(a) { - var b = { "=": "=0", ":": "=2" }; - return "$" + a.replace(/[=:]/g, function(a2) { - return b[a2]; - }); - } - var P = /\/+/g; - function Q(a, b) { - return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36); - } - function R(a, b, e, d, c) { - var k = typeof a; - if ("undefined" === k || "boolean" === k) - a = null; - var h = false; - if (null === a) - h = true; - else - switch (k) { - case "string": - case "number": - h = true; - break; - case "object": - switch (a.$$typeof) { - case l: - case n: - h = true; - } - } - if (h) - return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) { - return a2; - })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1; - h = 0; - d = "" === d ? "." : d + ":"; - if (I(a)) - for (var g = 0; g < a.length; g++) { - k = a[g]; - var f = d + Q(k, g); - h += R(k, b, e, f, c); - } - else if (f = A(a), "function" === typeof f) - for (a = f.call(a), g = 0; !(k = a.next()).done; ) - k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c); - else if ("object" === k) - throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead."); - return h; - } - function S(a, b, e) { - if (null == a) - return a; - var d = [], c = 0; - R(a, d, "", "", function(a2) { - return b.call(e, a2, c++); - }); - return d; - } - function T(a) { - if (-1 === a._status) { - var b = a._result; - b = b(); - b.then(function(b2) { - if (0 === a._status || -1 === a._status) - a._status = 1, a._result = b2; - }, function(b2) { - if (0 === a._status || -1 === a._status) - a._status = 2, a._result = b2; - }); - -1 === a._status && (a._status = 0, a._result = b); - } - if (1 === a._status) - return a._result.default; - throw a._result; - } - var U = { current: null }; - var V = { transition: null }; - var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K }; - exports.Children = { map: S, forEach: function(a, b, e) { - S(a, function() { - b.apply(this, arguments); - }, e); - }, count: function(a) { - var b = 0; - S(a, function() { - b++; - }); - return b; - }, toArray: function(a) { - return S(a, function(a2) { - return a2; - }) || []; - }, only: function(a) { - if (!O(a)) - throw Error("React.Children.only expected to receive a single React element child."); - return a; - } }; - exports.Component = E; - exports.Fragment = p; - exports.Profiler = r; - exports.PureComponent = G; - exports.StrictMode = q; - exports.Suspense = w; - exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; - exports.cloneElement = function(a, b, e) { - if (null === a || void 0 === a) - throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + "."); - var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner; - if (null != b) { - void 0 !== b.ref && (k = b.ref, h = K.current); - void 0 !== b.key && (c = "" + b.key); - if (a.type && a.type.defaultProps) - var g = a.type.defaultProps; - for (f in b) - J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]); - } - var f = arguments.length - 2; - if (1 === f) - d.children = e; - else if (1 < f) { - g = Array(f); - for (var m = 0; m < f; m++) - g[m] = arguments[m + 2]; - d.children = g; - } - return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h }; - }; - exports.createContext = function(a) { - a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; - a.Provider = { $$typeof: t, _context: a }; - return a.Consumer = a; - }; - exports.createElement = M; - exports.createFactory = function(a) { - var b = M.bind(null, a); - b.type = a; - return b; - }; - exports.createRef = function() { - return { current: null }; - }; - exports.forwardRef = function(a) { - return { $$typeof: v, render: a }; - }; - exports.isValidElement = O; - exports.lazy = function(a) { - return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T }; - }; - exports.memo = function(a, b) { - return { $$typeof: x, type: a, compare: void 0 === b ? null : b }; - }; - exports.startTransition = function(a) { - var b = V.transition; - V.transition = {}; - try { - a(); - } finally { - V.transition = b; - } - }; - exports.unstable_act = function() { - throw Error("act(...) is not supported in production builds of React."); - }; - exports.useCallback = function(a, b) { - return U.current.useCallback(a, b); - }; - exports.useContext = function(a) { - return U.current.useContext(a); - }; - exports.useDebugValue = function() { - }; - exports.useDeferredValue = function(a) { - return U.current.useDeferredValue(a); - }; - exports.useEffect = function(a, b) { - return U.current.useEffect(a, b); - }; - exports.useId = function() { - return U.current.useId(); - }; - exports.useImperativeHandle = function(a, b, e) { - return U.current.useImperativeHandle(a, b, e); - }; - exports.useInsertionEffect = function(a, b) { - return U.current.useInsertionEffect(a, b); - }; - exports.useLayoutEffect = function(a, b) { - return U.current.useLayoutEffect(a, b); - }; - exports.useMemo = function(a, b) { - return U.current.useMemo(a, b); - }; - exports.useReducer = function(a, b, e) { - return U.current.useReducer(a, b, e); - }; - exports.useRef = function(a) { - return U.current.useRef(a); - }; - exports.useState = function(a) { - return U.current.useState(a); - }; - exports.useSyncExternalStore = function(a, b, e) { - return U.current.useSyncExternalStore(a, b, e); - }; - exports.useTransition = function() { - return U.current.useTransition(); - }; - exports.version = "18.2.0"; - } -}); - -// node_modules/react/cjs/react.development.js -var require_react_development = __commonJS({ - "node_modules/react/cjs/react.development.js"(exports, module) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV !== "production") { - (function() { - "use strict"; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - } - var ReactVersion = "18.2.0"; - var REACT_ELEMENT_TYPE = Symbol.for("react.element"); - var REACT_PORTAL_TYPE = Symbol.for("react.portal"); - var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); - var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"); - var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); - var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); - var REACT_CONTEXT_TYPE = Symbol.for("react.context"); - var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); - var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); - var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); - var REACT_MEMO_TYPE = Symbol.for("react.memo"); - var REACT_LAZY_TYPE = Symbol.for("react.lazy"); - var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); - var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; - var FAUX_ITERATOR_SYMBOL = "@@iterator"; - function getIteratorFn(maybeIterable) { - if (maybeIterable === null || typeof maybeIterable !== "object") { - return null; - } - var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; - if (typeof maybeIterator === "function") { - return maybeIterator; - } - return null; - } - var ReactCurrentDispatcher = { - /** - * @internal - * @type {ReactComponent} - */ - current: null - }; - var ReactCurrentBatchConfig = { - transition: null - }; - var ReactCurrentActQueue = { - current: null, - // Used to reproduce behavior of `batchedUpdates` in legacy mode. - isBatchingLegacy: false, - didScheduleLegacyUpdate: false - }; - var ReactCurrentOwner = { - /** - * @internal - * @type {ReactComponent} - */ - current: null - }; - var ReactDebugCurrentFrame = {}; - var currentExtraStackFrame = null; - function setExtraStackFrame(stack) { - { - currentExtraStackFrame = stack; - } - } - { - ReactDebugCurrentFrame.setExtraStackFrame = function(stack) { - { - currentExtraStackFrame = stack; - } - }; - ReactDebugCurrentFrame.getCurrentStack = null; - ReactDebugCurrentFrame.getStackAddendum = function() { - var stack = ""; - if (currentExtraStackFrame) { - stack += currentExtraStackFrame; - } - var impl = ReactDebugCurrentFrame.getCurrentStack; - if (impl) { - stack += impl() || ""; - } - return stack; - }; - } - var enableScopeAPI = false; - var enableCacheElement = false; - var enableTransitionTracing = false; - var enableLegacyHidden = false; - var enableDebugTracing = false; - var ReactSharedInternals = { - ReactCurrentDispatcher, - ReactCurrentBatchConfig, - ReactCurrentOwner - }; - { - ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame; - ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue; - } - function warn(format) { - { - { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - printWarning("warn", format, args); - } - } - } - function error(format) { - { - { - for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - printWarning("error", format, args); - } - } - } - function printWarning(level, format, args) { - { - var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame; - var stack = ReactDebugCurrentFrame2.getStackAddendum(); - if (stack !== "") { - format += "%s"; - args = args.concat([stack]); - } - var argsWithFormat = args.map(function(item) { - return String(item); - }); - argsWithFormat.unshift("Warning: " + format); - Function.prototype.apply.call(console[level], console, argsWithFormat); - } - } - var didWarnStateUpdateForUnmountedComponent = {}; - function warnNoop(publicInstance, callerName) { - { - var _constructor = publicInstance.constructor; - var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass"; - var warningKey = componentName + "." + callerName; - if (didWarnStateUpdateForUnmountedComponent[warningKey]) { - return; - } - error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, componentName); - didWarnStateUpdateForUnmountedComponent[warningKey] = true; - } - } - var ReactNoopUpdateQueue = { - /** - * Checks whether or not this composite component is mounted. - * @param {ReactClass} publicInstance The instance we want to test. - * @return {boolean} True if mounted, false otherwise. - * @protected - * @final - */ - isMounted: function(publicInstance) { - return false; - }, - /** - * Forces an update. This should only be invoked when it is known with - * certainty that we are **not** in a DOM transaction. - * - * You may want to call this when you know that some deeper aspect of the - * component's state has changed but `setState` was not called. - * - * This will not invoke `shouldComponentUpdate`, but it will invoke - * `componentWillUpdate` and `componentDidUpdate`. - * - * @param {ReactClass} publicInstance The instance that should rerender. - * @param {?function} callback Called after component is updated. - * @param {?string} callerName name of the calling function in the public API. - * @internal - */ - enqueueForceUpdate: function(publicInstance, callback, callerName) { - warnNoop(publicInstance, "forceUpdate"); - }, - /** - * Replaces all of the state. Always use this or `setState` to mutate state. - * You should treat `this.state` as immutable. - * - * There is no guarantee that `this.state` will be immediately updated, so - * accessing `this.state` after calling this method may return the old value. - * - * @param {ReactClass} publicInstance The instance that should rerender. - * @param {object} completeState Next state. - * @param {?function} callback Called after component is updated. - * @param {?string} callerName name of the calling function in the public API. - * @internal - */ - enqueueReplaceState: function(publicInstance, completeState, callback, callerName) { - warnNoop(publicInstance, "replaceState"); - }, - /** - * Sets a subset of the state. This only exists because _pendingState is - * internal. This provides a merging strategy that is not available to deep - * properties which is confusing. TODO: Expose pendingState or don't use it - * during the merge. - * - * @param {ReactClass} publicInstance The instance that should rerender. - * @param {object} partialState Next partial state to be merged with state. - * @param {?function} callback Called after component is updated. - * @param {?string} Name of the calling function in the public API. - * @internal - */ - enqueueSetState: function(publicInstance, partialState, callback, callerName) { - warnNoop(publicInstance, "setState"); - } - }; - var assign = Object.assign; - var emptyObject = {}; - { - Object.freeze(emptyObject); - } - function Component(props, context, updater) { - this.props = props; - this.context = context; - this.refs = emptyObject; - this.updater = updater || ReactNoopUpdateQueue; - } - Component.prototype.isReactComponent = {}; - Component.prototype.setState = function(partialState, callback) { - if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) { - throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); - } - this.updater.enqueueSetState(this, partialState, callback, "setState"); - }; - Component.prototype.forceUpdate = function(callback) { - this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); - }; - { - var deprecatedAPIs = { - isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."], - replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] - }; - var defineDeprecationWarning = function(methodName, info) { - Object.defineProperty(Component.prototype, methodName, { - get: function() { - warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]); - return void 0; - } - }); - }; - for (var fnName in deprecatedAPIs) { - if (deprecatedAPIs.hasOwnProperty(fnName)) { - defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); - } - } - } - function ComponentDummy() { - } - ComponentDummy.prototype = Component.prototype; - function PureComponent(props, context, updater) { - this.props = props; - this.context = context; - this.refs = emptyObject; - this.updater = updater || ReactNoopUpdateQueue; - } - var pureComponentPrototype = PureComponent.prototype = new ComponentDummy(); - pureComponentPrototype.constructor = PureComponent; - assign(pureComponentPrototype, Component.prototype); - pureComponentPrototype.isPureReactComponent = true; - function createRef() { - var refObject = { - current: null - }; - { - Object.seal(refObject); - } - return refObject; - } - var isArrayImpl = Array.isArray; - function isArray(a) { - return isArrayImpl(a); - } - function typeName(value) { - { - var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag; - var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - return type; - } - } - function willCoercionThrow(value) { - { - try { - testStringCoercion(value); - return false; - } catch (e) { - return true; - } - } - } - function testStringCoercion(value) { - return "" + value; - } - function checkKeyStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); - } - } - } - function getWrappedName(outerType, innerType, wrapperName) { - var displayName = outerType.displayName; - if (displayName) { - return displayName; - } - var functionName = innerType.displayName || innerType.name || ""; - return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName; - } - function getContextName(type) { - return type.displayName || "Context"; - } - function getComponentNameFromType(type) { - if (type == null) { - return null; - } - { - if (typeof type.tag === "number") { - error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."); - } - } - if (typeof type === "function") { - return type.displayName || type.name || null; - } - if (typeof type === "string") { - return type; - } - switch (type) { - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - } - if (typeof type === "object") { - switch (type.$$typeof) { - case REACT_CONTEXT_TYPE: - var context = type; - return getContextName(context) + ".Consumer"; - case REACT_PROVIDER_TYPE: - var provider = type; - return getContextName(provider._context) + ".Provider"; - case REACT_FORWARD_REF_TYPE: - return getWrappedName(type, type.render, "ForwardRef"); - case REACT_MEMO_TYPE: - var outerName = type.displayName || null; - if (outerName !== null) { - return outerName; - } - return getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: { - var lazyComponent = type; - var payload = lazyComponent._payload; - var init = lazyComponent._init; - try { - return getComponentNameFromType(init(payload)); - } catch (x) { - return null; - } - } - } - } - return null; - } - var hasOwnProperty = Object.prototype.hasOwnProperty; - var RESERVED_PROPS = { - key: true, - ref: true, - __self: true, - __source: true - }; - var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs; - { - didWarnAboutStringRefs = {}; - } - function hasValidRef(config) { - { - if (hasOwnProperty.call(config, "ref")) { - var getter = Object.getOwnPropertyDescriptor(config, "ref").get; - if (getter && getter.isReactWarning) { - return false; - } - } - } - return config.ref !== void 0; - } - function hasValidKey(config) { - { - if (hasOwnProperty.call(config, "key")) { - var getter = Object.getOwnPropertyDescriptor(config, "key").get; - if (getter && getter.isReactWarning) { - return false; - } - } - } - return config.key !== void 0; - } - function defineKeyPropWarningGetter(props, displayName) { - var warnAboutAccessingKey = function() { - { - if (!specialPropKeyWarningShown) { - specialPropKeyWarningShown = true; - error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName); - } - } - }; - warnAboutAccessingKey.isReactWarning = true; - Object.defineProperty(props, "key", { - get: warnAboutAccessingKey, - configurable: true - }); - } - function defineRefPropWarningGetter(props, displayName) { - var warnAboutAccessingRef = function() { - { - if (!specialPropRefWarningShown) { - specialPropRefWarningShown = true; - error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName); - } - } - }; - warnAboutAccessingRef.isReactWarning = true; - Object.defineProperty(props, "ref", { - get: warnAboutAccessingRef, - configurable: true - }); - } - function warnIfStringRefCannotBeAutoConverted(config) { - { - if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) { - var componentName = getComponentNameFromType(ReactCurrentOwner.current.type); - if (!didWarnAboutStringRefs[componentName]) { - error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref); - didWarnAboutStringRefs[componentName] = true; - } - } - } - } - var ReactElement = function(type, key, ref, self, source, owner, props) { - var element = { - // This tag allows us to uniquely identify this as a React Element - $$typeof: REACT_ELEMENT_TYPE, - // Built-in properties that belong on the element - type, - key, - ref, - props, - // Record the component responsible for creating this element. - _owner: owner - }; - { - element._store = {}; - Object.defineProperty(element._store, "validated", { - configurable: false, - enumerable: false, - writable: true, - value: false - }); - Object.defineProperty(element, "_self", { - configurable: false, - enumerable: false, - writable: false, - value: self - }); - Object.defineProperty(element, "_source", { - configurable: false, - enumerable: false, - writable: false, - value: source - }); - if (Object.freeze) { - Object.freeze(element.props); - Object.freeze(element); - } - } - return element; - }; - function createElement(type, config, children) { - var propName; - var props = {}; - var key = null; - var ref = null; - var self = null; - var source = null; - if (config != null) { - if (hasValidRef(config)) { - ref = config.ref; - { - warnIfStringRefCannotBeAutoConverted(config); - } - } - if (hasValidKey(config)) { - { - checkKeyStringCoercion(config.key); - } - key = "" + config.key; - } - self = config.__self === void 0 ? null : config.__self; - source = config.__source === void 0 ? null : config.__source; - for (propName in config) { - if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { - props[propName] = config[propName]; - } - } - } - var childrenLength = arguments.length - 2; - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = Array(childrenLength); - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 2]; - } - { - if (Object.freeze) { - Object.freeze(childArray); - } - } - props.children = childArray; - } - if (type && type.defaultProps) { - var defaultProps = type.defaultProps; - for (propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } - { - if (key || ref) { - var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type; - if (key) { - defineKeyPropWarningGetter(props, displayName); - } - if (ref) { - defineRefPropWarningGetter(props, displayName); - } - } - } - return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); - } - function cloneAndReplaceKey(oldElement, newKey) { - var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); - return newElement; - } - function cloneElement(element, config, children) { - if (element === null || element === void 0) { - throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + "."); - } - var propName; - var props = assign({}, element.props); - var key = element.key; - var ref = element.ref; - var self = element._self; - var source = element._source; - var owner = element._owner; - if (config != null) { - if (hasValidRef(config)) { - ref = config.ref; - owner = ReactCurrentOwner.current; - } - if (hasValidKey(config)) { - { - checkKeyStringCoercion(config.key); - } - key = "" + config.key; - } - var defaultProps; - if (element.type && element.type.defaultProps) { - defaultProps = element.type.defaultProps; - } - for (propName in config) { - if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { - if (config[propName] === void 0 && defaultProps !== void 0) { - props[propName] = defaultProps[propName]; - } else { - props[propName] = config[propName]; - } - } - } - } - var childrenLength = arguments.length - 2; - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = Array(childrenLength); - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 2]; - } - props.children = childArray; - } - return ReactElement(element.type, key, ref, self, source, owner, props); - } - function isValidElement(object) { - return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; - } - var SEPARATOR = "."; - var SUBSEPARATOR = ":"; - function escape(key) { - var escapeRegex = /[=:]/g; - var escaperLookup = { - "=": "=0", - ":": "=2" - }; - var escapedString = key.replace(escapeRegex, function(match) { - return escaperLookup[match]; - }); - return "$" + escapedString; - } - var didWarnAboutMaps = false; - var userProvidedKeyEscapeRegex = /\/+/g; - function escapeUserProvidedKey(text) { - return text.replace(userProvidedKeyEscapeRegex, "$&/"); - } - function getElementKey(element, index) { - if (typeof element === "object" && element !== null && element.key != null) { - { - checkKeyStringCoercion(element.key); - } - return escape("" + element.key); - } - return index.toString(36); - } - function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) { - var type = typeof children; - if (type === "undefined" || type === "boolean") { - children = null; - } - var invokeCallback = false; - if (children === null) { - invokeCallback = true; - } else { - switch (type) { - case "string": - case "number": - invokeCallback = true; - break; - case "object": - switch (children.$$typeof) { - case REACT_ELEMENT_TYPE: - case REACT_PORTAL_TYPE: - invokeCallback = true; - } - } - } - if (invokeCallback) { - var _child = children; - var mappedChild = callback(_child); - var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar; - if (isArray(mappedChild)) { - var escapedChildKey = ""; - if (childKey != null) { - escapedChildKey = escapeUserProvidedKey(childKey) + "/"; - } - mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) { - return c; - }); - } else if (mappedChild != null) { - if (isValidElement(mappedChild)) { - { - if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) { - checkKeyStringCoercion(mappedChild.key); - } - } - mappedChild = cloneAndReplaceKey( - mappedChild, - // Keep both the (mapped) and old keys if they differ, just as - // traverseAllChildren used to do for objects as children - escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key - (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? ( - // $FlowFixMe Flow incorrectly thinks existing element's key can be a number - // eslint-disable-next-line react-internal/safe-string-coercion - escapeUserProvidedKey("" + mappedChild.key) + "/" - ) : "") + childKey - ); - } - array.push(mappedChild); - } - return 1; - } - var child; - var nextName; - var subtreeCount = 0; - var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR; - if (isArray(children)) { - for (var i = 0; i < children.length; i++) { - child = children[i]; - nextName = nextNamePrefix + getElementKey(child, i); - subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback); - } - } else { - var iteratorFn = getIteratorFn(children); - if (typeof iteratorFn === "function") { - var iterableChildren = children; - { - if (iteratorFn === iterableChildren.entries) { - if (!didWarnAboutMaps) { - warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."); - } - didWarnAboutMaps = true; - } - } - var iterator = iteratorFn.call(iterableChildren); - var step; - var ii = 0; - while (!(step = iterator.next()).done) { - child = step.value; - nextName = nextNamePrefix + getElementKey(child, ii++); - subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback); - } - } else if (type === "object") { - var childrenString = String(children); - throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead."); - } - } - return subtreeCount; - } - function mapChildren(children, func, context) { - if (children == null) { - return children; - } - var result = []; - var count = 0; - mapIntoArray(children, result, "", "", function(child) { - return func.call(context, child, count++); - }); - return result; - } - function countChildren(children) { - var n = 0; - mapChildren(children, function() { - n++; - }); - return n; - } - function forEachChildren(children, forEachFunc, forEachContext) { - mapChildren(children, function() { - forEachFunc.apply(this, arguments); - }, forEachContext); - } - function toArray(children) { - return mapChildren(children, function(child) { - return child; - }) || []; - } - function onlyChild(children) { - if (!isValidElement(children)) { - throw new Error("React.Children.only expected to receive a single React element child."); - } - return children; - } - function createContext(defaultValue) { - var context = { - $$typeof: REACT_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: defaultValue, - _currentValue2: defaultValue, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - // Add these to use same hidden class in VM as ServerContext - _defaultValue: null, - _globalName: null - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - var hasWarnedAboutUsingNestedContextConsumers = false; - var hasWarnedAboutUsingConsumerProvider = false; - var hasWarnedAboutDisplayNameOnConsumer = false; - { - var Consumer = { - $$typeof: REACT_CONTEXT_TYPE, - _context: context - }; - Object.defineProperties(Consumer, { - Provider: { - get: function() { - if (!hasWarnedAboutUsingConsumerProvider) { - hasWarnedAboutUsingConsumerProvider = true; - error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?"); - } - return context.Provider; - }, - set: function(_Provider) { - context.Provider = _Provider; - } - }, - _currentValue: { - get: function() { - return context._currentValue; - }, - set: function(_currentValue) { - context._currentValue = _currentValue; - } - }, - _currentValue2: { - get: function() { - return context._currentValue2; - }, - set: function(_currentValue2) { - context._currentValue2 = _currentValue2; - } - }, - _threadCount: { - get: function() { - return context._threadCount; - }, - set: function(_threadCount) { - context._threadCount = _threadCount; - } - }, - Consumer: { - get: function() { - if (!hasWarnedAboutUsingNestedContextConsumers) { - hasWarnedAboutUsingNestedContextConsumers = true; - error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?"); - } - return context.Consumer; - } - }, - displayName: { - get: function() { - return context.displayName; - }, - set: function(displayName) { - if (!hasWarnedAboutDisplayNameOnConsumer) { - warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName); - hasWarnedAboutDisplayNameOnConsumer = true; - } - } - } - }); - context.Consumer = Consumer; - } - { - context._currentRenderer = null; - context._currentRenderer2 = null; - } - return context; - } - var Uninitialized = -1; - var Pending = 0; - var Resolved = 1; - var Rejected = 2; - function lazyInitializer(payload) { - if (payload._status === Uninitialized) { - var ctor = payload._result; - var thenable = ctor(); - thenable.then(function(moduleObject2) { - if (payload._status === Pending || payload._status === Uninitialized) { - var resolved = payload; - resolved._status = Resolved; - resolved._result = moduleObject2; - } - }, function(error2) { - if (payload._status === Pending || payload._status === Uninitialized) { - var rejected = payload; - rejected._status = Rejected; - rejected._result = error2; - } - }); - if (payload._status === Uninitialized) { - var pending = payload; - pending._status = Pending; - pending._result = thenable; - } - } - if (payload._status === Resolved) { - var moduleObject = payload._result; - { - if (moduleObject === void 0) { - error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject); - } - } - { - if (!("default" in moduleObject)) { - error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject); - } - } - return moduleObject.default; - } else { - throw payload._result; - } - } - function lazy(ctor) { - var payload = { - // We use these fields to store the result. - _status: Uninitialized, - _result: ctor - }; - var lazyType = { - $$typeof: REACT_LAZY_TYPE, - _payload: payload, - _init: lazyInitializer - }; - { - var defaultProps; - var propTypes; - Object.defineProperties(lazyType, { - defaultProps: { - configurable: true, - get: function() { - return defaultProps; - }, - set: function(newDefaultProps) { - error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."); - defaultProps = newDefaultProps; - Object.defineProperty(lazyType, "defaultProps", { - enumerable: true - }); - } - }, - propTypes: { - configurable: true, - get: function() { - return propTypes; - }, - set: function(newPropTypes) { - error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."); - propTypes = newPropTypes; - Object.defineProperty(lazyType, "propTypes", { - enumerable: true - }); - } - } - }); - } - return lazyType; - } - function forwardRef(render) { - { - if (render != null && render.$$typeof === REACT_MEMO_TYPE) { - error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."); - } else if (typeof render !== "function") { - error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render); - } else { - if (render.length !== 0 && render.length !== 2) { - error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."); - } - } - if (render != null) { - if (render.defaultProps != null || render.propTypes != null) { - error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"); - } - } - } - var elementType = { - $$typeof: REACT_FORWARD_REF_TYPE, - render - }; - { - var ownName; - Object.defineProperty(elementType, "displayName", { - enumerable: false, - configurable: true, - get: function() { - return ownName; - }, - set: function(name) { - ownName = name; - if (!render.name && !render.displayName) { - render.displayName = name; - } - } - }); - } - return elementType; - } - var REACT_MODULE_REFERENCE; - { - REACT_MODULE_REFERENCE = Symbol.for("react.module.reference"); - } - function isValidElementType(type) { - if (typeof type === "string" || typeof type === "function") { - return true; - } - if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) { - return true; - } - if (typeof type === "object" && type !== null) { - if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object - // types supported by any Flight configuration anywhere since - // we don't know which Flight build this will end up being used - // with. - type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) { - return true; - } - } - return false; - } - function memo(type, compare) { - { - if (!isValidElementType(type)) { - error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type); - } - } - var elementType = { - $$typeof: REACT_MEMO_TYPE, - type, - compare: compare === void 0 ? null : compare - }; - { - var ownName; - Object.defineProperty(elementType, "displayName", { - enumerable: false, - configurable: true, - get: function() { - return ownName; - }, - set: function(name) { - ownName = name; - if (!type.name && !type.displayName) { - type.displayName = name; - } - } - }); - } - return elementType; - } - function resolveDispatcher() { - var dispatcher = ReactCurrentDispatcher.current; - { - if (dispatcher === null) { - error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."); - } - } - return dispatcher; - } - function useContext(Context) { - var dispatcher = resolveDispatcher(); - { - if (Context._context !== void 0) { - var realContext = Context._context; - if (realContext.Consumer === Context) { - error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"); - } else if (realContext.Provider === Context) { - error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?"); - } - } - } - return dispatcher.useContext(Context); - } - function useState(initialState) { - var dispatcher = resolveDispatcher(); - return dispatcher.useState(initialState); - } - function useReducer(reducer, initialArg, init) { - var dispatcher = resolveDispatcher(); - return dispatcher.useReducer(reducer, initialArg, init); - } - function useRef(initialValue) { - var dispatcher = resolveDispatcher(); - return dispatcher.useRef(initialValue); - } - function useEffect(create, deps) { - var dispatcher = resolveDispatcher(); - return dispatcher.useEffect(create, deps); - } - function useInsertionEffect(create, deps) { - var dispatcher = resolveDispatcher(); - return dispatcher.useInsertionEffect(create, deps); - } - function useLayoutEffect(create, deps) { - var dispatcher = resolveDispatcher(); - return dispatcher.useLayoutEffect(create, deps); - } - function useCallback(callback, deps) { - var dispatcher = resolveDispatcher(); - return dispatcher.useCallback(callback, deps); - } - function useMemo(create, deps) { - var dispatcher = resolveDispatcher(); - return dispatcher.useMemo(create, deps); - } - function useImperativeHandle(ref, create, deps) { - var dispatcher = resolveDispatcher(); - return dispatcher.useImperativeHandle(ref, create, deps); - } - function useDebugValue(value, formatterFn) { - { - var dispatcher = resolveDispatcher(); - return dispatcher.useDebugValue(value, formatterFn); - } - } - function useTransition() { - var dispatcher = resolveDispatcher(); - return dispatcher.useTransition(); - } - function useDeferredValue(value) { - var dispatcher = resolveDispatcher(); - return dispatcher.useDeferredValue(value); - } - function useId() { - var dispatcher = resolveDispatcher(); - return dispatcher.useId(); - } - function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { - var dispatcher = resolveDispatcher(); - return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - } - var disabledDepth = 0; - var prevLog; - var prevInfo; - var prevWarn; - var prevError; - var prevGroup; - var prevGroupCollapsed; - var prevGroupEnd; - function disabledLog() { - } - disabledLog.__reactDisabledLog = true; - function disableLogs() { - { - if (disabledDepth === 0) { - prevLog = console.log; - prevInfo = console.info; - prevWarn = console.warn; - prevError = console.error; - prevGroup = console.group; - prevGroupCollapsed = console.groupCollapsed; - prevGroupEnd = console.groupEnd; - var props = { - configurable: true, - enumerable: true, - value: disabledLog, - writable: true - }; - Object.defineProperties(console, { - info: props, - log: props, - warn: props, - error: props, - group: props, - groupCollapsed: props, - groupEnd: props - }); - } - disabledDepth++; - } - } - function reenableLogs() { - { - disabledDepth--; - if (disabledDepth === 0) { - var props = { - configurable: true, - enumerable: true, - writable: true - }; - Object.defineProperties(console, { - log: assign({}, props, { - value: prevLog - }), - info: assign({}, props, { - value: prevInfo - }), - warn: assign({}, props, { - value: prevWarn - }), - error: assign({}, props, { - value: prevError - }), - group: assign({}, props, { - value: prevGroup - }), - groupCollapsed: assign({}, props, { - value: prevGroupCollapsed - }), - groupEnd: assign({}, props, { - value: prevGroupEnd - }) - }); - } - if (disabledDepth < 0) { - error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - } - } - var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher; - var prefix; - function describeBuiltInComponentFrame(name, source, ownerFn) { - { - if (prefix === void 0) { - try { - throw Error(); - } catch (x) { - var match = x.stack.trim().match(/\n( *(at )?)/); - prefix = match && match[1] || ""; - } - } - return "\n" + prefix + name; - } - } - var reentry = false; - var componentFrameCache; - { - var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map; - componentFrameCache = new PossiblyWeakMap(); - } - function describeNativeComponentFrame(fn, construct) { - if (!fn || reentry) { - return ""; - } - { - var frame = componentFrameCache.get(fn); - if (frame !== void 0) { - return frame; - } - } - var control; - reentry = true; - var previousPrepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var previousDispatcher; - { - previousDispatcher = ReactCurrentDispatcher$1.current; - ReactCurrentDispatcher$1.current = null; - disableLogs(); - } - try { - if (construct) { - var Fake = function() { - throw Error(); - }; - Object.defineProperty(Fake.prototype, "props", { - set: function() { - throw Error(); - } - }); - if (typeof Reflect === "object" && Reflect.construct) { - try { - Reflect.construct(Fake, []); - } catch (x) { - control = x; - } - Reflect.construct(fn, [], Fake); - } else { - try { - Fake.call(); - } catch (x) { - control = x; - } - fn.call(Fake.prototype); - } - } else { - try { - throw Error(); - } catch (x) { - control = x; - } - fn(); - } - } catch (sample) { - if (sample && control && typeof sample.stack === "string") { - var sampleLines = sample.stack.split("\n"); - var controlLines = control.stack.split("\n"); - var s = sampleLines.length - 1; - var c = controlLines.length - 1; - while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) { - c--; - } - for (; s >= 1 && c >= 0; s--, c--) { - if (sampleLines[s] !== controlLines[c]) { - if (s !== 1 || c !== 1) { - do { - s--; - c--; - if (c < 0 || sampleLines[s] !== controlLines[c]) { - var _frame = "\n" + sampleLines[s].replace(" at new ", " at "); - if (fn.displayName && _frame.includes("")) { - _frame = _frame.replace("", fn.displayName); - } - { - if (typeof fn === "function") { - componentFrameCache.set(fn, _frame); - } - } - return _frame; - } - } while (s >= 1 && c >= 0); - } - break; - } - } - } - } finally { - reentry = false; - { - ReactCurrentDispatcher$1.current = previousDispatcher; - reenableLogs(); - } - Error.prepareStackTrace = previousPrepareStackTrace; - } - var name = fn ? fn.displayName || fn.name : ""; - var syntheticFrame = name ? describeBuiltInComponentFrame(name) : ""; - { - if (typeof fn === "function") { - componentFrameCache.set(fn, syntheticFrame); - } - } - return syntheticFrame; - } - function describeFunctionComponentFrame(fn, source, ownerFn) { - { - return describeNativeComponentFrame(fn, false); - } - } - function shouldConstruct(Component2) { - var prototype = Component2.prototype; - return !!(prototype && prototype.isReactComponent); - } - function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { - if (type == null) { - return ""; - } - if (typeof type === "function") { - { - return describeNativeComponentFrame(type, shouldConstruct(type)); - } - } - if (typeof type === "string") { - return describeBuiltInComponentFrame(type); - } - switch (type) { - case REACT_SUSPENSE_TYPE: - return describeBuiltInComponentFrame("Suspense"); - case REACT_SUSPENSE_LIST_TYPE: - return describeBuiltInComponentFrame("SuspenseList"); - } - if (typeof type === "object") { - switch (type.$$typeof) { - case REACT_FORWARD_REF_TYPE: - return describeFunctionComponentFrame(type.render); - case REACT_MEMO_TYPE: - return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); - case REACT_LAZY_TYPE: { - var lazyComponent = type; - var payload = lazyComponent._payload; - var init = lazyComponent._init; - try { - return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn); - } catch (x) { - } - } - } - } - return ""; - } - var loggedTypeFailures = {}; - var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; - function setCurrentlyValidatingElement(element) { - { - if (element) { - var owner = element._owner; - var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); - ReactDebugCurrentFrame$1.setExtraStackFrame(stack); - } else { - ReactDebugCurrentFrame$1.setExtraStackFrame(null); - } - } - } - function checkPropTypes(typeSpecs, values, location, componentName, element) { - { - var has = Function.call.bind(hasOwnProperty); - for (var typeSpecName in typeSpecs) { - if (has(typeSpecs, typeSpecName)) { - var error$1 = void 0; - try { - if (typeof typeSpecs[typeSpecName] !== "function") { - var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); - err.name = "Invariant Violation"; - throw err; - } - error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (ex) { - error$1 = ex; - } - if (error$1 && !(error$1 instanceof Error)) { - setCurrentlyValidatingElement(element); - error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1); - setCurrentlyValidatingElement(null); - } - if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) { - loggedTypeFailures[error$1.message] = true; - setCurrentlyValidatingElement(element); - error("Failed %s type: %s", location, error$1.message); - setCurrentlyValidatingElement(null); - } - } - } - } - } - function setCurrentlyValidatingElement$1(element) { - { - if (element) { - var owner = element._owner; - var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); - setExtraStackFrame(stack); - } else { - setExtraStackFrame(null); - } - } - } - var propTypesMisspellWarningShown; - { - propTypesMisspellWarningShown = false; - } - function getDeclarationErrorAddendum() { - if (ReactCurrentOwner.current) { - var name = getComponentNameFromType(ReactCurrentOwner.current.type); - if (name) { - return "\n\nCheck the render method of `" + name + "`."; - } - } - return ""; - } - function getSourceInfoErrorAddendum(source) { - if (source !== void 0) { - var fileName = source.fileName.replace(/^.*[\\\/]/, ""); - var lineNumber = source.lineNumber; - return "\n\nCheck your code at " + fileName + ":" + lineNumber + "."; - } - return ""; - } - function getSourceInfoErrorAddendumForProps(elementProps) { - if (elementProps !== null && elementProps !== void 0) { - return getSourceInfoErrorAddendum(elementProps.__source); - } - return ""; - } - var ownerHasKeyUseWarning = {}; - function getCurrentComponentErrorInfo(parentType) { - var info = getDeclarationErrorAddendum(); - if (!info) { - var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name; - if (parentName) { - info = "\n\nCheck the top-level render call using <" + parentName + ">."; - } - } - return info; - } - function validateExplicitKey(element, parentType) { - if (!element._store || element._store.validated || element.key != null) { - return; - } - element._store.validated = true; - var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); - if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { - return; - } - ownerHasKeyUseWarning[currentComponentErrorInfo] = true; - var childOwner = ""; - if (element && element._owner && element._owner !== ReactCurrentOwner.current) { - childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; - } - { - setCurrentlyValidatingElement$1(element); - error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner); - setCurrentlyValidatingElement$1(null); - } - } - function validateChildKeys(node, parentType) { - if (typeof node !== "object") { - return; - } - if (isArray(node)) { - for (var i = 0; i < node.length; i++) { - var child = node[i]; - if (isValidElement(child)) { - validateExplicitKey(child, parentType); - } - } - } else if (isValidElement(node)) { - if (node._store) { - node._store.validated = true; - } - } else if (node) { - var iteratorFn = getIteratorFn(node); - if (typeof iteratorFn === "function") { - if (iteratorFn !== node.entries) { - var iterator = iteratorFn.call(node); - var step; - while (!(step = iterator.next()).done) { - if (isValidElement(step.value)) { - validateExplicitKey(step.value, parentType); - } - } - } - } - } - } - function validatePropTypes(element) { - { - var type = element.type; - if (type === null || type === void 0 || typeof type === "string") { - return; - } - var propTypes; - if (typeof type === "function") { - propTypes = type.propTypes; - } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. - // Inner props are checked in the reconciler. - type.$$typeof === REACT_MEMO_TYPE)) { - propTypes = type.propTypes; - } else { - return; - } - if (propTypes) { - var name = getComponentNameFromType(type); - checkPropTypes(propTypes, element.props, "prop", name, element); - } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) { - propTypesMisspellWarningShown = true; - var _name = getComponentNameFromType(type); - error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown"); - } - if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) { - error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); - } - } - } - function validateFragmentProps(fragment) { - { - var keys = Object.keys(fragment.props); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (key !== "children" && key !== "key") { - setCurrentlyValidatingElement$1(fragment); - error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key); - setCurrentlyValidatingElement$1(null); - break; - } - } - if (fragment.ref !== null) { - setCurrentlyValidatingElement$1(fragment); - error("Invalid attribute `ref` supplied to `React.Fragment`."); - setCurrentlyValidatingElement$1(null); - } - } - } - function createElementWithValidation(type, props, children) { - var validType = isValidElementType(type); - if (!validType) { - var info = ""; - if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) { - info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."; - } - var sourceInfo = getSourceInfoErrorAddendumForProps(props); - if (sourceInfo) { - info += sourceInfo; - } else { - info += getDeclarationErrorAddendum(); - } - var typeString; - if (type === null) { - typeString = "null"; - } else if (isArray(type)) { - typeString = "array"; - } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) { - typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"; - info = " Did you accidentally export a JSX literal instead of a component?"; - } else { - typeString = typeof type; - } - { - error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info); - } - } - var element = createElement.apply(this, arguments); - if (element == null) { - return element; - } - if (validType) { - for (var i = 2; i < arguments.length; i++) { - validateChildKeys(arguments[i], type); - } - } - if (type === REACT_FRAGMENT_TYPE) { - validateFragmentProps(element); - } else { - validatePropTypes(element); - } - return element; - } - var didWarnAboutDeprecatedCreateFactory = false; - function createFactoryWithValidation(type) { - var validatedFactory = createElementWithValidation.bind(null, type); - validatedFactory.type = type; - { - if (!didWarnAboutDeprecatedCreateFactory) { - didWarnAboutDeprecatedCreateFactory = true; - warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead."); - } - Object.defineProperty(validatedFactory, "type", { - enumerable: false, - get: function() { - warn("Factory.type is deprecated. Access the class directly before passing it to createFactory."); - Object.defineProperty(this, "type", { - value: type - }); - return type; - } - }); - } - return validatedFactory; - } - function cloneElementWithValidation(element, props, children) { - var newElement = cloneElement.apply(this, arguments); - for (var i = 2; i < arguments.length; i++) { - validateChildKeys(arguments[i], newElement.type); - } - validatePropTypes(newElement); - return newElement; - } - function startTransition(scope, options) { - var prevTransition = ReactCurrentBatchConfig.transition; - ReactCurrentBatchConfig.transition = {}; - var currentTransition = ReactCurrentBatchConfig.transition; - { - ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set(); - } - try { - scope(); - } finally { - ReactCurrentBatchConfig.transition = prevTransition; - { - if (prevTransition === null && currentTransition._updatedFibers) { - var updatedFibersCount = currentTransition._updatedFibers.size; - if (updatedFibersCount > 10) { - warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."); - } - currentTransition._updatedFibers.clear(); - } - } - } - } - var didWarnAboutMessageChannel = false; - var enqueueTaskImpl = null; - function enqueueTask(task) { - if (enqueueTaskImpl === null) { - try { - var requireString = ("require" + Math.random()).slice(0, 7); - var nodeRequire = module && module[requireString]; - enqueueTaskImpl = nodeRequire.call(module, "timers").setImmediate; - } catch (_err) { - enqueueTaskImpl = function(callback) { - { - if (didWarnAboutMessageChannel === false) { - didWarnAboutMessageChannel = true; - if (typeof MessageChannel === "undefined") { - error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."); - } - } - } - var channel = new MessageChannel(); - channel.port1.onmessage = callback; - channel.port2.postMessage(void 0); - }; - } - } - return enqueueTaskImpl(task); - } - var actScopeDepth = 0; - var didWarnNoAwaitAct = false; - function act(callback) { - { - var prevActScopeDepth = actScopeDepth; - actScopeDepth++; - if (ReactCurrentActQueue.current === null) { - ReactCurrentActQueue.current = []; - } - var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy; - var result; - try { - ReactCurrentActQueue.isBatchingLegacy = true; - result = callback(); - if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) { - var queue = ReactCurrentActQueue.current; - if (queue !== null) { - ReactCurrentActQueue.didScheduleLegacyUpdate = false; - flushActQueue(queue); - } - } - } catch (error2) { - popActScope(prevActScopeDepth); - throw error2; - } finally { - ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy; - } - if (result !== null && typeof result === "object" && typeof result.then === "function") { - var thenableResult = result; - var wasAwaited = false; - var thenable = { - then: function(resolve, reject) { - wasAwaited = true; - thenableResult.then(function(returnValue2) { - popActScope(prevActScopeDepth); - if (actScopeDepth === 0) { - recursivelyFlushAsyncActWork(returnValue2, resolve, reject); - } else { - resolve(returnValue2); - } - }, function(error2) { - popActScope(prevActScopeDepth); - reject(error2); - }); - } - }; - { - if (!didWarnNoAwaitAct && typeof Promise !== "undefined") { - Promise.resolve().then(function() { - }).then(function() { - if (!wasAwaited) { - didWarnNoAwaitAct = true; - error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"); - } - }); - } - } - return thenable; - } else { - var returnValue = result; - popActScope(prevActScopeDepth); - if (actScopeDepth === 0) { - var _queue = ReactCurrentActQueue.current; - if (_queue !== null) { - flushActQueue(_queue); - ReactCurrentActQueue.current = null; - } - var _thenable = { - then: function(resolve, reject) { - if (ReactCurrentActQueue.current === null) { - ReactCurrentActQueue.current = []; - recursivelyFlushAsyncActWork(returnValue, resolve, reject); - } else { - resolve(returnValue); - } - } - }; - return _thenable; - } else { - var _thenable2 = { - then: function(resolve, reject) { - resolve(returnValue); - } - }; - return _thenable2; - } - } - } - } - function popActScope(prevActScopeDepth) { - { - if (prevActScopeDepth !== actScopeDepth - 1) { - error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "); - } - actScopeDepth = prevActScopeDepth; - } - } - function recursivelyFlushAsyncActWork(returnValue, resolve, reject) { - { - var queue = ReactCurrentActQueue.current; - if (queue !== null) { - try { - flushActQueue(queue); - enqueueTask(function() { - if (queue.length === 0) { - ReactCurrentActQueue.current = null; - resolve(returnValue); - } else { - recursivelyFlushAsyncActWork(returnValue, resolve, reject); - } - }); - } catch (error2) { - reject(error2); - } - } else { - resolve(returnValue); - } - } - } - var isFlushing = false; - function flushActQueue(queue) { - { - if (!isFlushing) { - isFlushing = true; - var i = 0; - try { - for (; i < queue.length; i++) { - var callback = queue[i]; - do { - callback = callback(true); - } while (callback !== null); - } - queue.length = 0; - } catch (error2) { - queue = queue.slice(i + 1); - throw error2; - } finally { - isFlushing = false; - } - } - } - } - var createElement$1 = createElementWithValidation; - var cloneElement$1 = cloneElementWithValidation; - var createFactory = createFactoryWithValidation; - var Children = { - map: mapChildren, - forEach: forEachChildren, - count: countChildren, - toArray, - only: onlyChild - }; - exports.Children = Children; - exports.Component = Component; - exports.Fragment = REACT_FRAGMENT_TYPE; - exports.Profiler = REACT_PROFILER_TYPE; - exports.PureComponent = PureComponent; - exports.StrictMode = REACT_STRICT_MODE_TYPE; - exports.Suspense = REACT_SUSPENSE_TYPE; - exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; - exports.cloneElement = cloneElement$1; - exports.createContext = createContext; - exports.createElement = createElement$1; - exports.createFactory = createFactory; - exports.createRef = createRef; - exports.forwardRef = forwardRef; - exports.isValidElement = isValidElement; - exports.lazy = lazy; - exports.memo = memo; - exports.startTransition = startTransition; - exports.unstable_act = act; - exports.useCallback = useCallback; - exports.useContext = useContext; - exports.useDebugValue = useDebugValue; - exports.useDeferredValue = useDeferredValue; - exports.useEffect = useEffect; - exports.useId = useId; - exports.useImperativeHandle = useImperativeHandle; - exports.useInsertionEffect = useInsertionEffect; - exports.useLayoutEffect = useLayoutEffect; - exports.useMemo = useMemo; - exports.useReducer = useReducer; - exports.useRef = useRef; - exports.useState = useState; - exports.useSyncExternalStore = useSyncExternalStore; - exports.useTransition = useTransition; - exports.version = ReactVersion; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - } - })(); - } - } -}); - -// node_modules/react/index.js -var require_react = __commonJS({ - "node_modules/react/index.js"(exports, module) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV === "production") { - module.exports = require_react_production_min(); - } else { - module.exports = require_react_development(); - } - } -}); - -// ../testeranto/dist/module/Node.js -init_cjs_shim(); - -// ../testeranto/dist/module/lib/core.js -init_cjs_shim(); - -// ../testeranto/dist/module/lib/index.js -init_cjs_shim(); -var BaseTestInterface = { - beforeAll: async (s) => s, - beforeEach: async function(subject, initialValues, x, testResource, pm) { - return subject; - }, - afterEach: async (s) => s, - afterAll: (store) => void 0, - butThen: async (store, thenCb) => thenCb(store), - andWhen: (a) => a, - assertThis: () => null -}; -var DefaultTestInterface = (p) => { - return Object.assign(Object.assign({}, BaseTestInterface), p); -}; -var defaultTestResourceRequirement = { - ports: 0 -}; - -// ../testeranto/dist/module/lib/abstractBase.js -init_cjs_shim(); -var BaseSuite = class { - constructor(name, index, givens = {}, checks = []) { - this.name = name; - this.index = index; - this.givens = givens; - this.checks = checks; - this.fails = []; - } - toObj() { - return { - name: this.name, - givens: Object.keys(this.givens).map((k) => this.givens[k].toObj()), - fails: this.fails - }; - } - setup(s, artifactory, tr, pm) { - return new Promise((res) => res(s)); - } - assertThat(t) { - return t; - } - afterAll(store, artifactory, pm) { - return store; - } - async run(input, testResourceConfiguration, artifactory, tLog, pm) { - this.testResourceConfiguration = testResourceConfiguration; - tLog("test resources: ", JSON.stringify(testResourceConfiguration)); - const suiteArtifactory = (fPath, value) => artifactory(`suite-${this.index}-${this.name}/${fPath}`, value); - console.log("\nSuite:", this.index, this.name); - tLog("\nSuite:", this.index, this.name); - const sNdx = this.index; - const sName = this.name; - for (const [gNdx, g] of Object.entries(this.givens)) { - const subject = await this.setup(input, suiteArtifactory, testResourceConfiguration, pm); - const giver = this.givens[gNdx]; - try { - this.store = await giver.give(subject, gNdx, testResourceConfiguration, this.assertThat, suiteArtifactory, tLog, pm, sNdx); - } catch (e) { - console.error(e); - this.fails.push(giver); - } - } - const afterAllProxy = new Proxy(pm, { - get(target, prop, receiver) { - if (prop === "writeFileSync") { - return (fp, contents) => target[prop](`suite-${sNdx}/afterAll/${fp}`, contents); - } - if (prop === "browser") { - return new Proxy(target[prop], { - get(bTarget, bProp, bReceiver) { - if (bProp === "pages") { - return async () => { - return bTarget.pages().then((pages) => { - return pages.map((page) => { - return new Proxy(page, { - get(pTarget, pProp, pReciever) { - if (pProp === "screenshot") { - return async (x) => { - return await window["custom-screenshot"](Object.assign(Object.assign({}, x), { path: `${testResourceConfiguration.fs}/suite-${sNdx}/afterAll/` + x.path })); - }; - } else { - return Reflect.get(...arguments); - } - } - }); - }); - }); - }; - } - } - }); - } - return Reflect.get(...arguments); - } - }); - try { - this.afterAll(this.store, artifactory, afterAllProxy); - } catch (e) { - console.error(e); - } - return this; - } -}; -var BaseGiven = class { - constructor(name, features, whens, thens, givenCB, initialValues) { - this.name = name; - this.features = features; - this.whens = whens; - this.thens = thens; - this.givenCB = givenCB; - this.initialValues = initialValues; - } - beforeAll(store, artifactory) { - return store; - } - toObj() { - return { - name: this.name, - whens: this.whens.map((w) => w.toObj()), - thens: this.thens.map((t) => t.toObj()), - error: this.error ? [this.error, this.error.stack] : null, - // fail: this.fail ? [this.fail] : false, - features: this.features - }; - } - async afterEach(store, key, artifactory, pm) { - return store; - } - async give(subject, key, testResourceConfiguration, tester, artifactory, tLog, pm, suiteNdx) { - tLog(` - Given: ${this.name}`); - const givenArtifactory = (fPath, value) => artifactory(`given-${key}/${fPath}`, value); - try { - const beforeEachProxy = new Proxy(pm, { - get(target, prop, receiver) { - if (prop === "writeFileSync") { - console.log("beforeEachProx", arguments, target[prop]); - return (fp, contents) => target[prop](`suite-${suiteNdx}/given-${key}/when/beforeEach/${fp}`, contents); - } - return Reflect.get(...arguments); - } - }); - this.store = await this.givenThat(subject, testResourceConfiguration, givenArtifactory, this.givenCB, beforeEachProxy); - for (const [whenNdx, whenStep] of this.whens.entries()) { - await whenStep.test(this.store, testResourceConfiguration, tLog, pm, `suite-${suiteNdx}/given-${key}/when/${whenNdx}`); - } - for (const thenStep of this.thens) { - const t = await thenStep.test(this.store, testResourceConfiguration, tLog, pm); - tester(t); - } - } catch (e) { - this.error = e; - tLog(e); - tLog("\x07"); - } finally { - try { - const afterEachProxy = new Proxy(pm, { - get(target, prop, receiver) { - if (prop === "writeFileSync") { - return (fp, contents) => target[prop](`suite-${suiteNdx}/given-${key}/afterAll/${fp}`, contents); - } - if (prop === "browser") { - return new Proxy(target[prop], { - get(bTarget, bProp, bReceiver) { - if (bProp === "pages") { - return async () => { - return bTarget.pages().then((pages) => { - return pages.map((page) => { - return new Proxy(page, { - get(pTarget, pProp, pReciever) { - if (pProp === "screenshot") { - return async (x) => { - return await pTarget[pProp](Object.assign(Object.assign({}, x), { path: `${testResourceConfiguration.fs}/suite-${suiteNdx}/given-${key}/afterEach/` + x.path })); - }; - } else { - return Reflect.get(...arguments); - } - } - }); - }); - }); - }; - } - } - }); - } - return Reflect.get(...arguments); - } - }); - await this.afterEach(this.store, key, givenArtifactory, afterEachProxy); - } catch (e) { - console.error("afterEach failed! no error will be recorded!", e); - } - } - return this.store; - } -}; -var BaseWhen = class { - constructor(name, whenCB) { - this.name = name; - this.whenCB = whenCB; - } - toObj() { - return { - name: this.name, - error: this.error - }; - } - async test(store, testResourceConfiguration, tLog, pm, key) { - tLog(" When:", this.name); - const name = this.name; - const andWhenProxy = new Proxy(pm, { - get(target, prop, receiver) { - if (prop === "writeFileSync") { - console.log("andWhenProxy", arguments, target[prop]); - return (fp, contents) => ( - // target[prop](`${key}/andWhen/${fp}`, contents); - target[prop](`${key}/andWhen/${fp}`, contents) - ); - } - return Reflect.get(...arguments); - } - }); - try { - return await this.andWhen(store, this.whenCB, testResourceConfiguration, andWhenProxy); - } catch (e) { - this.error = true; - throw e; - } - } -}; -var BaseThen = class { - constructor(name, thenCB) { - this.name = name; - this.thenCB = thenCB; - this.error = false; - } - toObj() { - return { - name: this.name, - error: this.error - }; - } - async test(store, testResourceConfiguration, tLog, pm) { - tLog(" Then:", this.name); - try { - const x = await this.butThen(store, this.thenCB, testResourceConfiguration); - return x; - } catch (e) { - console.log("test failed", e); - this.error = e.message; - throw e; - } - } -}; -var BaseCheck = class { - constructor(name, features, checkCB, whens, thens) { - this.name = name; - this.features = features; - this.checkCB = checkCB; - this.whens = whens; - this.thens = thens; - } - async afterEach(store, key, cb, pm) { - return; - } - async check(subject, key, testResourceConfiguration, tester, artifactory, tLog, pm) { - tLog(` - Check: ${this.name}`); - const store = await this.checkThat(subject, testResourceConfiguration, artifactory); - await this.checkCB(Object.entries(this.whens).reduce((a, [key2, when]) => { - a[key2] = async (payload) => { - return await when(payload, testResourceConfiguration).test(store, testResourceConfiguration, tLog, pm, "x"); - }; - return a; - }, {}), Object.entries(this.thens).reduce((a, [key2, then]) => { - a[key2] = async (payload) => { - const t = await then(payload, testResourceConfiguration).test(store, testResourceConfiguration, tLog, pm); - tester(t); - }; - return a; - }, {})); - await this.afterEach(store, key, () => { - }, pm); - return; - } -}; - -// ../testeranto/dist/module/lib/classBuilder.js -init_cjs_shim(); - -// ../testeranto/dist/module/lib/basebuilder.js -init_cjs_shim(); -var BaseBuilder = class { - constructor(input, suitesOverrides, givenOverides, whenOverides, thenOverides, checkOverides, testResourceRequirement, testSpecification) { - this.input = input; - this.artifacts = []; - this.artifacts = []; - this.testResourceRequirement = testResourceRequirement; - this.suitesOverrides = suitesOverrides; - this.givenOverides = givenOverides; - this.whenOverides = whenOverides; - this.thenOverides = thenOverides; - this.checkOverides = checkOverides; - this.testSpecification = testSpecification; - this.specs = testSpecification(this.Suites(), this.Given(), this.When(), this.Then(), this.Check()); - this.testJobs = this.specs.map((suite) => { - const suiteRunner = (suite2) => async (puppetMaster, tLog) => { - await puppetMaster.startPuppeteer({ - browserWSEndpoint: puppetMaster.testResourceConfiguration.browserWSEndpoint - }, puppetMaster.testResourceConfiguration.fs); - return await suite2.run(input, puppetMaster.testResourceConfiguration, (fPath, value) => puppetMaster.testArtiFactoryfileWriter(tLog, (p) => { - this.artifacts.push(p); - })(puppetMaster.testResourceConfiguration.fs + "/" + fPath, value), tLog, puppetMaster); - }; - const runner = suiteRunner(suite); - return { - test: suite, - // testResourceRequirement, - toObj: () => { - return suite.toObj(); - }, - runner, - receiveTestResourceConfig: async function(puppetMaster) { - await puppetMaster.mkdirSync(); - const logFilePath = "log.txt"; - const access = await puppetMaster.createWriteStream(logFilePath); - const tLog = (...l) => { - puppetMaster.write(access, `${l.toString()} -`); - }; - const suiteDone = await runner(puppetMaster, tLog); - const logPromise = new Promise((res, rej) => { - puppetMaster.end(access); - res(true); - }); - const numberOfFailures = Object.keys(suiteDone.givens).filter((k) => { - return suiteDone.givens[k].error; - }).length; - puppetMaster.writeFileSync(`exitcode`, numberOfFailures.toString()); - puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2)); - console.log(`exiting gracefully with ${numberOfFailures} failures.`); - return { - failed: numberOfFailures, - artifacts: this.artifacts || [], - logPromise - }; - } - }; - }); - } - Specs() { - return this.specs; - } - Suites() { - return this.suitesOverrides; - } - Given() { - return this.givenOverides; - } - When() { - return this.whenOverides; - } - Then() { - return this.thenOverides; - } - Check() { - return this.checkOverides; - } -}; - -// ../testeranto/dist/module/lib/classBuilder.js -var ClassBuilder = class extends BaseBuilder { - constructor(testImplementation, testSpecification, input, suiteKlasser, givenKlasser, whenKlasser, thenKlasser, checkKlasser, testResourceRequirement) { - const classySuites = Object.entries(testImplementation.suites).reduce((a, [key], index) => { - a[key] = (somestring, givens, checks) => { - return new suiteKlasser.prototype.constructor(somestring, index, givens, checks); - }; - return a; - }, {}); - const classyGivens = Object.entries(testImplementation.givens).reduce((a, [key, givEn]) => { - a[key] = (features, whens, thens, givEn2) => { - return new givenKlasser.prototype.constructor(key, features, whens, thens, testImplementation.givens[key], givEn2); - }; - return a; - }, {}); - const classyWhens = Object.entries(testImplementation.whens).reduce((a, [key, whEn]) => { - a[key] = (payload) => { - return new whenKlasser.prototype.constructor(`${whEn.name}: ${payload && payload.toString()}`, whEn(payload)); - }; - return a; - }, {}); - const classyThens = Object.entries(testImplementation.thens).reduce((a, [key, thEn]) => { - a[key] = (expected, x) => { - return new thenKlasser.prototype.constructor(`${thEn.name}: ${expected && expected.toString()}`, thEn(expected)); - }; - return a; - }, {}); - const classyChecks = Object.entries(testImplementation.checks).reduce((a, [key, z]) => { - a[key] = (somestring, features, callback) => { - return new checkKlasser.prototype.constructor(somestring, features, callback, classyWhens, classyThens); - }; - return a; - }, {}); - super( - input, - classySuites, - classyGivens, - classyWhens, - classyThens, - classyChecks, - testResourceRequirement, - testSpecification - // puppetMaster - ); - } -}; - -// ../testeranto/dist/module/lib/core.js -var Testeranto = class extends ClassBuilder { - constructor(input, testSpecification, testImplementation, testResourceRequirement = defaultTestResourceRequirement, testInterface) { - const fullTestInterface = DefaultTestInterface(testInterface); - super( - testImplementation, - testSpecification, - input, - class extends BaseSuite { - afterAll(store, artifactory, pm) { - return fullTestInterface.afterAll(store, (fPath, value) => { - artifactory(`afterAll4-${this.name}/${fPath}`, value); - }, pm); - } - assertThat(t) { - fullTestInterface.assertThis(t); - } - async setup(s, artifactory, tr, pm) { - return (fullTestInterface.beforeAll || (async (input2, artifactory2, tr2, pm2) => input2))(s, this.testResourceConfiguration, artifactory, pm); - } - }, - class Given extends BaseGiven { - async givenThat(subject, testResource, artifactory, initializer, pm) { - return fullTestInterface.beforeEach(subject, initializer, (fPath, value) => ( - // TODO does not work? - artifactory(`beforeEach/${fPath}`, value) - ), testResource, this.initialValues, pm); - } - afterEach(store, key, artifactory, pm) { - return new Promise((res) => res(fullTestInterface.afterEach(store, key, (fPath, value) => artifactory(`after/${fPath}`, value), pm))); - } - }, - class When extends BaseWhen { - async andWhen(store, whenCB, testResource, pm) { - return await fullTestInterface.andWhen(store, whenCB, testResource, pm); - } - }, - class Then extends BaseThen { - async butThen(store, thenCB, testResourceConfiguration) { - return await fullTestInterface.butThen(store, thenCB, testResourceConfiguration); - } - }, - class Check extends BaseCheck { - constructor(name, features, checkCallback, whens, thens, initialValues) { - super(name, features, checkCallback, whens, thens); - this.initialValues = initialValues; - } - async checkThat(subject, testResourceConfiguration, artifactory, pm) { - return fullTestInterface.beforeEach(subject, this.initialValues, (fPath, value) => artifactory(`before/${fPath}`, value), testResourceConfiguration, this.initialValues, pm); - } - afterEach(store, key, artifactory, pm) { - return new Promise((res) => res(fullTestInterface.afterEach(store, key, (fPath, value) => ( - // TODO does not work? - artifactory(`afterEach2-${this.name}/${fPath}`, value) - ), pm))); - } - }, - testResourceRequirement - // puppetMaster - ); - } -}; - -// ../testeranto/dist/module/PM/node.js -init_cjs_shim(); -import fs from "fs"; -import path from "path"; - -// ../testeranto/dist/module/PM/index.js -init_cjs_shim(); -var PM = class { -}; - -// ../testeranto/dist/module/PM/node.js -var fPaths = []; -var PM_Node = class extends PM { - constructor(t) { - super(); - this.server = {}; - this.testResourceConfiguration = t; - } - existsSync(destFolder) { - return globalThis["existsSync"](this.testResourceConfiguration.fs + "/" + destFolder); - } - mkdirSync() { - return globalThis["mkdirSync"](this.testResourceConfiguration.fs + "/"); - } - write(writeObject, contents) { - return globalThis["write"](writeObject.uid, contents); - } - writeFileSync(filepath, contents) { - return globalThis["writeFileSync"](this.testResourceConfiguration.fs + "/" + filepath, contents, this.testResourceConfiguration.name); - } - createWriteStream(filepath) { - return globalThis["createWriteStream"](this.testResourceConfiguration.fs + "/" + filepath, this.testResourceConfiguration.name); - } - end(writeObject) { - return globalThis["end"](writeObject.uid); - } - customclose() { - globalThis["customclose"](this.testResourceConfiguration.fs, this.testResourceConfiguration.name); - } - testArtiFactoryfileWriter(tLog, callback) { - return (fPath, value) => { - callback(new Promise((res, rej) => { - tLog("testArtiFactory =>", fPath); - const cleanPath = path.resolve(fPath); - fPaths.push(cleanPath.replace(process.cwd(), ``)); - const targetDir = cleanPath.split("/").slice(0, -1).join("/"); - fs.mkdir(targetDir, { recursive: true }, async (error) => { - if (error) { - console.error(`\u2757\uFE0FtestArtiFactory failed`, targetDir, error); - } - fs.writeFileSync(path.resolve(targetDir.split("/").slice(0, -1).join("/"), "manifest"), fPaths.join(` -`), { - encoding: "utf-8" - }); - if (Buffer.isBuffer(value)) { - fs.writeFileSync(fPath, value, "binary"); - res(); - } else if (`string` === typeof value) { - fs.writeFileSync(fPath, value.toString(), { - encoding: "utf-8" - }); - res(); - } else { - const pipeStream = value; - const myFile = fs.createWriteStream(fPath); - pipeStream.pipe(myFile); - pipeStream.on("close", () => { - myFile.close(); - res(); - }); - } - }); - })); - }; - } - // launch(options?: PuppeteerLaunchOptions): Promise; - startPuppeteer(options) { - return puppeteer_core_default.connect(options).then((b) => { - this.browser = b; - }); - } -}; - -// ../testeranto/dist/module/Node.js -var NodeTesteranto = class extends Testeranto { - constructor(input, testSpecification, testImplementation, testResourceRequirement, testInterface) { - super(input, testSpecification, testImplementation, testResourceRequirement, testInterface); - } - async receiveTestResourceConfig(partialTestResource) { - console.log("receiveTestResourceConfig!!", this.testJobs[0].receiveTestResourceConfig); - const t = JSON.parse(partialTestResource); - const pm = new PM_Node(t); - const { failed, artifacts, logPromise } = await this.testJobs[0].receiveTestResourceConfig(pm); - console.log("test is done, awaiting test result write to fs"); - pm.customclose(); - } -}; -var Node_default = async (input, testSpecification, testImplementation, testInterface, testResourceRequirement = defaultTestResourceRequirement) => { - return new NodeTesteranto(input, testSpecification, testImplementation, testResourceRequirement, testInterface); -}; - -export { - Node_default, - require_react -}; -/*! Bundled license information: - -react/cjs/react.production.min.js: - (** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - *) - -react/cjs/react.development.js: - (** - * @license React - * react.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - *) -*/ diff --git a/docs/node/chunk-THMF2HPO.mjs b/docs/node/chunk-4IESOCHA.mjs similarity index 97% rename from docs/node/chunk-THMF2HPO.mjs rename to docs/node/chunk-4IESOCHA.mjs index f1fc8e56..b0b882cb 100644 --- a/docs/node/chunk-THMF2HPO.mjs +++ b/docs/node/chunk-4IESOCHA.mjs @@ -75,11 +75,11 @@ var __privateMethod = (obj, member, method) => { return method; }; -// ../testeranto/dist/cjs-shim.js +// node_modules/testeranto/dist/cjs-shim.js import path from "node:path"; import url from "node:url"; var init_cjs_shim = __esm({ - "../testeranto/dist/cjs-shim.js"() { + "node_modules/testeranto/dist/cjs-shim.js"() { globalThis.__filename = url.fileURLToPath(import.meta.url); globalThis.__dirname = path.dirname(__filename); } diff --git a/docs/node/chunk-RBWPBMY4.mjs b/docs/node/chunk-6SZJES2S.mjs similarity index 98% rename from docs/node/chunk-RBWPBMY4.mjs rename to docs/node/chunk-6SZJES2S.mjs index beeb14ce..23cadba2 100644 --- a/docs/node/chunk-RBWPBMY4.mjs +++ b/docs/node/chunk-6SZJES2S.mjs @@ -1,16 +1,16 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { packageVersion -} from "./chunk-VDOS7AVZ.mjs"; +} from "./chunk-S5L4ZC6L.mjs"; import { __privateAdd, __privateGet, __privateSet, __publicField, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +// node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js init_cjs_shim(); var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { @@ -2332,10 +2332,10 @@ function tap(observerOrNext, error, complete) { }) : identity; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +// node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js init_cjs_shim(); function mitt_default(n) { return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) { @@ -2354,7 +2354,7 @@ function mitt_default(n) { } }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js init_cjs_shim(); Symbol.dispose ??= Symbol("dispose"); Symbol.asyncDispose ??= Symbol("asyncDispose"); @@ -2569,7 +2569,7 @@ var AsyncDisposableStack = class { [Symbol.toStringTag] = "AsyncDisposableStack"; }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js var EventEmitter = class { #emitter; #handlers = /* @__PURE__ */ new Map(); @@ -2678,7 +2678,7 @@ var EventEmitter = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +// node_modules/puppeteer-core/lib/esm/puppeteer/environment.js init_cjs_shim(); var isNode = !!(typeof process !== "undefined" && process.version); var environment = { @@ -2692,7 +2692,7 @@ var environment = { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js init_cjs_shim(); var assert = (value, message) => { if (!value) { @@ -2700,7 +2700,7 @@ var assert = (value, message) => { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js init_cjs_shim(); function stringToTypedArray(string, base64Encoded = false) { if (base64Encoded) { @@ -2738,12 +2738,12 @@ function mergeUint8Arrays(items) { return result; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js init_cjs_shim(); var debugModule = null; async function importDebug() { if (!debugModule) { - debugModule = (await import("./src-X2XRWCOR.mjs")).default; + debugModule = (await import("./src-N7R57C4Y.mjs")).default; } return debugModule; } @@ -2777,7 +2777,7 @@ var debug = (prefix) => { var capturedLogs = []; var captureLogs = false; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js init_cjs_shim(); var PuppeteerError = class extends Error { /** @@ -2827,10 +2827,10 @@ var UnsupportedOperation = class extends PuppeteerError { var TargetCloseError = class extends ProtocolError { }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js init_cjs_shim(); var paperFormats = { letter: { width: 8.5, height: 11 }, @@ -2846,7 +2846,7 @@ var paperFormats = { a6: { width: 4.1339, height: 5.8268 } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js var debugError = debug("puppeteer:error"); var DEFAULT_VIEWPORT = Object.freeze({ width: 800, height: 600 }); var SOURCE_URL = Symbol("Source URL for Puppeteer evaluation scripts"); @@ -3127,7 +3127,7 @@ function filterAsync(predicate) { }); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js init_cjs_shim(); var WEB_PERMISSION_TO_PROTOCOL_PERMISSION = /* @__PURE__ */ new Map([ ["geolocation", "geolocation"], @@ -3228,13 +3228,13 @@ var Browser = class extends EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js init_cjs_shim(); var Deferred = class { static create(opts) { @@ -3321,7 +3321,7 @@ var Deferred = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js var _locked, _acquirers; var _Mutex = class { constructor() { @@ -3364,7 +3364,7 @@ __publicField(Mutex, "Guard", class Guard { } }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js var BrowserContext = class extends EventEmitter { /** * @internal @@ -3446,7 +3446,7 @@ var BrowserContext = class extends EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js init_cjs_shim(); function isErrorLike(obj) { return typeof obj === "object" && obj !== null && "name" in obj && "message" in obj; @@ -3464,7 +3464,7 @@ function createProtocolErrorMessage(object) { return message; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js init_cjs_shim(); var createdFunctions = /* @__PURE__ */ new Map(); var createFunction = (functionValue) => { @@ -3512,7 +3512,7 @@ var interpolateFunction = (fn, replacements) => { return createFunction(value); }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js init_cjs_shim(); var _get; var _LazyArg = class { @@ -3530,7 +3530,7 @@ __publicField(LazyArg, "create", (get) => { return new _LazyArg(get); }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js init_cjs_shim(); var AsyncIterableUtil = class { static async *map(iterable, map2) { @@ -3558,17 +3558,17 @@ var AsyncIterableUtil = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js init_cjs_shim(); var _isElementHandle = Symbol("_isElementHandle"); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js init_cjs_shim(); var __addDisposableResource = function(env, value, async2) { if (value !== null && value !== void 0) { @@ -3703,7 +3703,7 @@ async function* transposeIterableHandle(handle) { } } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js var __addDisposableResource2 = function(env, value, async2) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") @@ -3922,7 +3922,7 @@ var QueryHandler = class { __publicField(QueryHandler, "querySelectorAll"); __publicField(QueryHandler, "querySelector"); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js var isKnownAttribute = (attribute) => { return ["name", "role"].includes(attribute); }; @@ -3956,14 +3956,14 @@ __publicField(ARIAQueryHandler, "queryOne", async (element, selector) => { return await AsyncIterableUtil.first(_ARIAQueryHandler.queryAll(element, selector)) ?? null; }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +// node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js init_cjs_shim(); var source = '"use strict";var g=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var Y=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var r in e)g(t,r,{get:e[r],enumerable:!0})},J=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of B(e))!Y.call(t,n)&&n!==r&&g(t,n,{get:()=>e[n],enumerable:!(o=X(e,n))||o.enumerable});return t};var z=t=>J(g({},"__esModule",{value:!0}),t);var pe={};l(pe,{default:()=>he});module.exports=z(pe);var N=class extends Error{constructor(e,r){super(e,r),this.name=this.constructor.name}get[Symbol.toStringTag](){return this.constructor.name}},p=class extends N{};var c=class t{static create(e){return new t(e)}static async race(e){let r=new Set;try{let o=e.map(n=>n instanceof t?(n.#n&&r.add(n),n.valueOrThrow()):n);return await Promise.race(o)}finally{for(let o of r)o.reject(new Error("Timeout cleared"))}}#e=!1;#r=!1;#o;#t;#a=new Promise(e=>{this.#t=e});#n;#i;constructor(e){e&&e.timeout>0&&(this.#i=new p(e.message),this.#n=setTimeout(()=>{this.reject(this.#i)},e.timeout))}#l(e){clearTimeout(this.#n),this.#o=e,this.#t()}resolve(e){this.#r||this.#e||(this.#e=!0,this.#l(e))}reject(e){this.#r||this.#e||(this.#r=!0,this.#l(e))}resolved(){return this.#e}finished(){return this.#e||this.#r}value(){return this.#o}#s;valueOrThrow(){return this.#s||(this.#s=(async()=>{if(await this.#a,this.#r)throw this.#o;return this.#o})()),this.#s}};var L=new Map,F=t=>{let e=L.get(t);return e||(e=new Function(`return ${t}`)(),L.set(t,e),e)};var x={};l(x,{ariaQuerySelector:()=>G,ariaQuerySelectorAll:()=>b});var G=(t,e)=>globalThis.__ariaQuerySelector(t,e),b=async function*(t,e){yield*await globalThis.__ariaQuerySelectorAll(t,e)};var E={};l(E,{cssQuerySelector:()=>K,cssQuerySelectorAll:()=>Z});var K=(t,e)=>t.querySelector(e),Z=function(t,e){return t.querySelectorAll(e)};var A={};l(A,{customQuerySelectors:()=>P});var v=class{#e=new Map;register(e,r){if(!r.queryOne&&r.queryAll){let o=r.queryAll;r.queryOne=(n,i)=>{for(let s of o(n,i))return s;return null}}else if(r.queryOne&&!r.queryAll){let o=r.queryOne;r.queryAll=(n,i)=>{let s=o(n,i);return s?[s]:[]}}else if(!r.queryOne||!r.queryAll)throw new Error("At least one query method must be defined.");this.#e.set(e,{querySelector:r.queryOne,querySelectorAll:r.queryAll})}unregister(e){this.#e.delete(e)}get(e){return this.#e.get(e)}clear(){this.#e.clear()}},P=new v;var R={};l(R,{pierceQuerySelector:()=>ee,pierceQuerySelectorAll:()=>te});var ee=(t,e)=>{let r=null,o=n=>{let i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT);do{let s=i.currentNode;s.shadowRoot&&o(s.shadowRoot),!(s instanceof ShadowRoot)&&s!==n&&!r&&s.matches(e)&&(r=s)}while(!r&&i.nextNode())};return t instanceof Document&&(t=t.documentElement),o(t),r},te=(t,e)=>{let r=[],o=n=>{let i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT);do{let s=i.currentNode;s.shadowRoot&&o(s.shadowRoot),!(s instanceof ShadowRoot)&&s!==n&&s.matches(e)&&r.push(s)}while(i.nextNode())};return t instanceof Document&&(t=t.documentElement),o(t),r};var u=(t,e)=>{if(!t)throw new Error(e)};var y=class{#e;#r;#o;#t;constructor(e,r){this.#e=e,this.#r=r}async start(){let e=this.#t=c.create(),r=await this.#e();if(r){e.resolve(r);return}this.#o=new MutationObserver(async()=>{let o=await this.#e();o&&(e.resolve(o),await this.stop())}),this.#o.observe(this.#r,{childList:!0,subtree:!0,attributes:!0})}async stop(){u(this.#t,"Polling never started."),this.#t.finished()||this.#t.reject(new Error("Polling stopped")),this.#o&&(this.#o.disconnect(),this.#o=void 0)}result(){return u(this.#t,"Polling never started."),this.#t.valueOrThrow()}},w=class{#e;#r;constructor(e){this.#e=e}async start(){let e=this.#r=c.create(),r=await this.#e();if(r){e.resolve(r);return}let o=async()=>{if(e.finished())return;let n=await this.#e();if(!n){window.requestAnimationFrame(o);return}e.resolve(n),await this.stop()};window.requestAnimationFrame(o)}async stop(){u(this.#r,"Polling never started."),this.#r.finished()||this.#r.reject(new Error("Polling stopped"))}result(){return u(this.#r,"Polling never started."),this.#r.valueOrThrow()}},S=class{#e;#r;#o;#t;constructor(e,r){this.#e=e,this.#r=r}async start(){let e=this.#t=c.create(),r=await this.#e();if(r){e.resolve(r);return}this.#o=setInterval(async()=>{let o=await this.#e();o&&(e.resolve(o),await this.stop())},this.#r)}async stop(){u(this.#t,"Polling never started."),this.#t.finished()||this.#t.reject(new Error("Polling stopped")),this.#o&&(clearInterval(this.#o),this.#o=void 0)}result(){return u(this.#t,"Polling never started."),this.#t.valueOrThrow()}};var _={};l(_,{PCombinator:()=>H,pQuerySelector:()=>fe,pQuerySelectorAll:()=>$});var a=class{static async*map(e,r){for await(let o of e)yield await r(o)}static async*flatMap(e,r){for await(let o of e)yield*r(o)}static async collect(e){let r=[];for await(let o of e)r.push(o);return r}static async first(e){for await(let r of e)return r}};var C={};l(C,{textQuerySelectorAll:()=>m});var re=new Set(["checkbox","image","radio"]),oe=t=>t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLInputElement&&!re.has(t.type),ne=new Set(["SCRIPT","STYLE"]),f=t=>!ne.has(t.nodeName)&&!document.head?.contains(t),I=new WeakMap,j=t=>{for(;t;)I.delete(t),t instanceof ShadowRoot?t=t.host:t=t.parentNode},W=new WeakSet,se=new MutationObserver(t=>{for(let e of t)j(e.target)}),d=t=>{let e=I.get(t);if(e||(e={full:"",immediate:[]},!f(t)))return e;let r="";if(oe(t))e.full=t.value,e.immediate.push(t.value),t.addEventListener("input",o=>{j(o.target)},{once:!0,capture:!0});else{for(let o=t.firstChild;o;o=o.nextSibling){if(o.nodeType===Node.TEXT_NODE){e.full+=o.nodeValue??"",r+=o.nodeValue??"";continue}r&&e.immediate.push(r),r="",o.nodeType===Node.ELEMENT_NODE&&(e.full+=d(o).full)}r&&e.immediate.push(r),t instanceof Element&&t.shadowRoot&&(e.full+=d(t.shadowRoot).full),W.has(t)||(se.observe(t,{childList:!0,characterData:!0,subtree:!0}),W.add(t))}return I.set(t,e),e};var m=function*(t,e){let r=!1;for(let o of t.childNodes)if(o instanceof Element&&f(o)){let n;o.shadowRoot?n=m(o.shadowRoot,e):n=m(o,e);for(let i of n)yield i,r=!0}r||t instanceof Element&&f(t)&&d(t).full.includes(e)&&(yield t)};var k={};l(k,{checkVisibility:()=>le,pierce:()=>T,pierceAll:()=>O});var ie=["hidden","collapse"],le=(t,e)=>{if(!t)return e===!1;if(e===void 0)return t;let r=t.nodeType===Node.TEXT_NODE?t.parentElement:t,o=window.getComputedStyle(r),n=o&&!ie.includes(o.visibility)&&!ae(r);return e===n?t:!1};function ae(t){let e=t.getBoundingClientRect();return e.width===0||e.height===0}var ce=t=>"shadowRoot"in t&&t.shadowRoot instanceof ShadowRoot;function*T(t){ce(t)?yield t.shadowRoot:yield t}function*O(t){t=T(t).next().value,yield t;let e=[document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT)];for(let r of e){let o;for(;o=r.nextNode();)o.shadowRoot&&(yield o.shadowRoot,e.push(document.createTreeWalker(o.shadowRoot,NodeFilter.SHOW_ELEMENT)))}}var Q={};l(Q,{xpathQuerySelectorAll:()=>q});var q=function*(t,e,r=-1){let n=(t.ownerDocument||document).evaluate(e,t,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE),i=[],s;for(;(s=n.iterateNext())&&(i.push(s),!(r&&i.length===r)););for(let h=0;h(r.Descendent=">>>",r.Child=">>>>",r))(H||{}),V=t=>"querySelectorAll"in t,M=class{#e;#r=[];#o=void 0;elements;constructor(e,r){this.elements=[e],this.#e=r,this.#t()}async run(){if(typeof this.#o=="string")switch(this.#o.trimStart()){case":scope":this.#t();break}for(;this.#o!==void 0;this.#t()){let e=this.#o;typeof e=="string"?e[0]&&ue.test(e[0])?this.elements=a.flatMap(this.elements,async function*(r){V(r)&&(yield*r.querySelectorAll(e))}):this.elements=a.flatMap(this.elements,async function*(r){if(!r.parentElement){if(!V(r))return;yield*r.querySelectorAll(e);return}let o=0;for(let n of r.parentElement.children)if(++o,n===r)break;yield*r.parentElement.querySelectorAll(`:scope>:nth-child(${o})${e}`)}):this.elements=a.flatMap(this.elements,async function*(r){switch(e.name){case"text":yield*m(r,e.value);break;case"xpath":yield*q(r,e.value);break;case"aria":yield*b(r,e.value);break;default:let o=P.get(e.name);if(!o)throw new Error(`Unknown selector type: ${e.name}`);yield*o.querySelectorAll(r,e.value)}})}}#t(){if(this.#r.length!==0){this.#o=this.#r.shift();return}if(this.#e.length===0){this.#o=void 0;return}let e=this.#e.shift();switch(e){case">>>>":{this.elements=a.flatMap(this.elements,T),this.#t();break}case">>>":{this.elements=a.flatMap(this.elements,O),this.#t();break}default:this.#r=e,this.#t();break}}},D=class{#e=new WeakMap;calculate(e,r=[]){if(e===null)return r;e instanceof ShadowRoot&&(e=e.host);let o=this.#e.get(e);if(o)return[...o,...r];let n=0;for(let s=e.previousSibling;s;s=s.previousSibling)++n;let i=this.calculate(e.parentNode,[n]);return this.#e.set(e,i),[...i,...r]}},U=(t,e)=>{if(t.length+e.length===0)return 0;let[r=-1,...o]=t,[n=-1,...i]=e;return r===n?U(o,i):r[o,r.calculate(o)]).sort(([,o],[,n])=>U(o,n)).map(([o])=>o)},$=function(t,e){let r=JSON.parse(e);if(r.some(o=>{let n=0;return o.some(i=>(typeof i=="string"?++n:n=0,n>1))}))throw new Error("Multiple deep combinators found in sequence.");return de(a.flatMap(r,o=>{let n=new M(t,o);return n.run(),n.elements}))},fe=async function(t,e){for await(let r of $(t,e))return r;return null};var me=Object.freeze({...x,...A,...R,..._,...C,...k,...Q,...E,Deferred:c,createFunction:F,createTextContent:d,IntervalPoller:S,isSuitableNodeForTextMatching:f,MutationPoller:y,RAFPoller:w}),he=me;\n'; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js var ScriptInjector = class { #updated = false; #amendments = /* @__PURE__ */ new Set(); @@ -4001,7 +4001,7 @@ var ScriptInjector = class { }; var scriptInjector = new ScriptInjector(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js init_cjs_shim(); var __addDisposableResource3 = function(env, value, async2) { if (value !== null && value !== void 0) { @@ -4226,7 +4226,7 @@ function bubble(events) { }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js init_cjs_shim(); var __runInitializers = function(thisArg, initializers, value) { var useValue = arguments.length > 2; @@ -4460,13 +4460,13 @@ var JSHandle = (() => { return JSHandle2 = _classThis; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js init_cjs_shim(); var CSSQueryHandler = class extends QueryHandler { }; @@ -4477,7 +4477,7 @@ __publicField(CSSQueryHandler, "querySelectorAll", (element, selector, { cssQuer return cssQuerySelectorAll(element, selector); }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js init_cjs_shim(); var CustomQueryHandlerRegistry = class { #handlers = /* @__PURE__ */ new Map(); @@ -4561,7 +4561,7 @@ var CustomQueryHandlerRegistry = class { }; var customQueryHandlers = new CustomQueryHandlerRegistry(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js init_cjs_shim(); var PierceQueryHandler = class extends QueryHandler { }; @@ -4572,7 +4572,7 @@ __publicField(PierceQueryHandler, "querySelectorAll", (element, selector, { pier return pierceQuerySelectorAll(element, selector); }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js init_cjs_shim(); var PQueryHandler = class extends QueryHandler { }; @@ -4583,10 +4583,10 @@ __publicField(PQueryHandler, "querySelector", (element, selector, { pQuerySelect return pQuerySelector(element, selector); }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +// node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js init_cjs_shim(); var TOKENS = { attribute: /\[\s*(?:(?\*|[-\w\P{ASCII}]*)\|)?(?[-\w\P{ASCII}]+)\s*(?:(?\W?=)\s*(?.+?)\s*(\s(?[iIsS]))?\s*)?\]/gu, @@ -4765,7 +4765,7 @@ function stringify(listOrNode) { return tokens.map((token) => token.content).join(""); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js TOKENS["nesting"] = /&/g; TOKENS["combinator"] = /\s*(>>>>?|[\s>+~])\s*/g; var ESCAPE_REGEXP = /\\[\s\S]/g; @@ -4863,7 +4863,7 @@ function parsePSelectors(selector) { return [selectors, isPureCSS, hasPseudoClasses, hasAria]; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js init_cjs_shim(); var TextQueryHandler = class extends QueryHandler { }; @@ -4871,7 +4871,7 @@ __publicField(TextQueryHandler, "querySelectorAll", (element, selector, { textQu return textQuerySelectorAll(element, selector); }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js init_cjs_shim(); var XPathQueryHandler = class extends QueryHandler { }; @@ -4885,7 +4885,7 @@ __publicField(XPathQueryHandler, "querySelector", (element, selector, { xpathQue return null; }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js var BUILTIN_QUERY_HANDLERS = { aria: ARIAQueryHandler, pierce: PierceQueryHandler, @@ -4937,7 +4937,7 @@ function getQueryHandlerAndSelector(selector) { } } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js var __runInitializers2 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -6228,10 +6228,10 @@ function intersectBoundingBox(box, width, height) { box.height = Math.max(box.y >= 0 ? Math.min(height - box.y, box.height) : Math.min(height, box.height + box.y), 0); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js init_cjs_shim(); var __addDisposableResource6 = function(env, value, async2) { if (value !== null && value !== void 0) { @@ -6913,7 +6913,7 @@ var RaceLocator = class extends Locator { }; var RETRY_DELAY = 100; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js var __runInitializers3 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -7739,7 +7739,7 @@ var Frame = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js init_cjs_shim(); var HTTPRequest = class { /** @@ -8131,7 +8131,7 @@ function handleError(error) { debugError(error); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js init_cjs_shim(); var HTTPResponse = class { /** @@ -8174,10 +8174,10 @@ var HTTPResponse = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js init_cjs_shim(); function createIncrementalIdGenerator() { let id = 0; @@ -8186,7 +8186,7 @@ function createIncrementalIdGenerator() { }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js var Keyboard = class { /** * @internal @@ -8272,10 +8272,10 @@ var Touchscreen = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js init_cjs_shim(); var DEFAULT_TIMEOUT = 3e4; var TimeoutSettings = class { @@ -8308,7 +8308,7 @@ var TimeoutSettings = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js var __runInitializers4 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -9772,10 +9772,10 @@ function roundRectangle(clip) { return { ...clip, x, y, width, height }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js init_cjs_shim(); var WaitTask = class { #world; @@ -9944,7 +9944,7 @@ var TaskManager = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js var Realm = class { timeoutSettings; taskManager = new TaskManager(); @@ -9979,7 +9979,7 @@ var Realm = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js init_cjs_shim(); var Accessibility = class { #realm; @@ -10353,7 +10353,7 @@ var AXNode = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js init_cjs_shim(); var CallbackRegistry = class { #callbacks = /* @__PURE__ */ new Map(); @@ -10455,7 +10455,7 @@ var Callback = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js init_cjs_shim(); var ConsoleMessage = class { #type; @@ -10505,7 +10505,7 @@ var ConsoleMessage = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js init_cjs_shim(); var Coverage = class { #jsCoverage; @@ -10807,10 +10807,10 @@ function convertToDisjointRanges(nestedRanges) { }); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js init_cjs_shim(); var CDPSessionEvent; (function(CDPSessionEvent2) { @@ -10837,7 +10837,7 @@ var CDPSession = class extends EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js var __runInitializers5 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -11286,7 +11286,7 @@ var EmulationManager = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js init_cjs_shim(); var SecurityDetails = class { #subjectName; @@ -11346,7 +11346,7 @@ var SecurityDetails = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js init_cjs_shim(); var Tracing = class { #client; @@ -11434,7 +11434,7 @@ var Tracing = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js init_cjs_shim(); var Dialog = class { #type; @@ -11498,7 +11498,7 @@ var Dialog = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js init_cjs_shim(); var TargetType; (function(TargetType2) { @@ -11532,7 +11532,7 @@ var Target = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js init_cjs_shim(); var WebWorker = class extends EventEmitter { /** diff --git a/docs/node/chunk-MSVTAS6Q.mjs b/docs/node/chunk-7DTFZFDN.mjs similarity index 99% rename from docs/node/chunk-MSVTAS6Q.mjs rename to docs/node/chunk-7DTFZFDN.mjs index 38c1642f..10dd9e08 100644 --- a/docs/node/chunk-MSVTAS6Q.mjs +++ b/docs/node/chunk-7DTFZFDN.mjs @@ -4,7 +4,7 @@ import { __require, __toESM, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; // node_modules/assertion-error/index.js var require_assertion_error = __commonJS({ diff --git a/docs/node/chunk-PJC2V65J.mjs b/docs/node/chunk-BRBW5YJH.mjs similarity index 91% rename from docs/node/chunk-PJC2V65J.mjs rename to docs/node/chunk-BRBW5YJH.mjs index 1acc5f29..f13a2611 100644 --- a/docs/node/chunk-PJC2V65J.mjs +++ b/docs/node/chunk-BRBW5YJH.mjs @@ -1,17 +1,17 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { packageVersion -} from "./chunk-VDOS7AVZ.mjs"; +} from "./chunk-S5L4ZC6L.mjs"; import { __commonJS, __require, __toESM, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/ws/lib/stream.js +// node_modules/ws/lib/stream.js var require_stream = __commonJS({ - "../testeranto/node_modules/ws/lib/stream.js"(exports, module) { + "node_modules/ws/lib/stream.js"(exports, module) { "use strict"; init_cjs_shim(); var { Duplex } = __require("stream"); @@ -115,9 +115,9 @@ var require_stream = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/constants.js +// node_modules/ws/lib/constants.js var require_constants = __commonJS({ - "../testeranto/node_modules/ws/lib/constants.js"(exports, module) { + "node_modules/ws/lib/constants.js"(exports, module) { "use strict"; init_cjs_shim(); var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"]; @@ -139,9 +139,247 @@ var require_constants = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/buffer-util.js +// node_modules/node-gyp-build/node-gyp-build.js +var require_node_gyp_build = __commonJS({ + "node_modules/node-gyp-build/node-gyp-build.js"(exports, module) { + init_cjs_shim(); + var fs = __require("fs"); + var path = __require("path"); + var os = __require("os"); + var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require; + var vars = process.config && process.config.variables || {}; + var prebuildsOnly = !!process.env.PREBUILDS_ONLY; + var abi = process.versions.modules; + var runtime = isElectron() ? "electron" : isNwjs() ? "node-webkit" : "node"; + var arch = process.env.npm_config_arch || os.arch(); + var platform = process.env.npm_config_platform || os.platform(); + var libc = process.env.LIBC || (isAlpine(platform) ? "musl" : "glibc"); + var armv = process.env.ARM_VERSION || (arch === "arm64" ? "8" : vars.arm_version) || ""; + var uv = (process.versions.uv || "").split(".")[0]; + module.exports = load; + function load(dir) { + return runtimeRequire(load.resolve(dir)); + } + load.resolve = load.path = function(dir) { + dir = path.resolve(dir || "."); + try { + var name = runtimeRequire(path.join(dir, "package.json")).name.toUpperCase().replace(/-/g, "_"); + if (process.env[name + "_PREBUILD"]) + dir = process.env[name + "_PREBUILD"]; + } catch (err) { + } + if (!prebuildsOnly) { + var release = getFirst(path.join(dir, "build/Release"), matchBuild); + if (release) + return release; + var debug = getFirst(path.join(dir, "build/Debug"), matchBuild); + if (debug) + return debug; + } + var prebuild = resolve(dir); + if (prebuild) + return prebuild; + var nearby = resolve(path.dirname(process.execPath)); + if (nearby) + return nearby; + var target = [ + "platform=" + platform, + "arch=" + arch, + "runtime=" + runtime, + "abi=" + abi, + "uv=" + uv, + armv ? "armv=" + armv : "", + "libc=" + libc, + "node=" + process.versions.node, + process.versions.electron ? "electron=" + process.versions.electron : "", + typeof __webpack_require__ === "function" ? "webpack=true" : "" + // eslint-disable-line + ].filter(Boolean).join(" "); + throw new Error("No native build was found for " + target + "\n loaded from: " + dir + "\n"); + function resolve(dir2) { + var tuples = readdirSync(path.join(dir2, "prebuilds")).map(parseTuple); + var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]; + if (!tuple) + return; + var prebuilds = path.join(dir2, "prebuilds", tuple.name); + var parsed = readdirSync(prebuilds).map(parseTags); + var candidates = parsed.filter(matchTags(runtime, abi)); + var winner = candidates.sort(compareTags(runtime))[0]; + if (winner) + return path.join(prebuilds, winner.file); + } + }; + function readdirSync(dir) { + try { + return fs.readdirSync(dir); + } catch (err) { + return []; + } + } + function getFirst(dir, filter) { + var files = readdirSync(dir).filter(filter); + return files[0] && path.join(dir, files[0]); + } + function matchBuild(name) { + return /\.node$/.test(name); + } + function parseTuple(name) { + var arr = name.split("-"); + if (arr.length !== 2) + return; + var platform2 = arr[0]; + var architectures = arr[1].split("+"); + if (!platform2) + return; + if (!architectures.length) + return; + if (!architectures.every(Boolean)) + return; + return { name, platform: platform2, architectures }; + } + function matchTuple(platform2, arch2) { + return function(tuple) { + if (tuple == null) + return false; + if (tuple.platform !== platform2) + return false; + return tuple.architectures.includes(arch2); + }; + } + function compareTuples(a, b) { + return a.architectures.length - b.architectures.length; + } + function parseTags(file) { + var arr = file.split("."); + var extension = arr.pop(); + var tags = { file, specificity: 0 }; + if (extension !== "node") + return; + for (var i = 0; i < arr.length; i++) { + var tag = arr[i]; + if (tag === "node" || tag === "electron" || tag === "node-webkit") { + tags.runtime = tag; + } else if (tag === "napi") { + tags.napi = true; + } else if (tag.slice(0, 3) === "abi") { + tags.abi = tag.slice(3); + } else if (tag.slice(0, 2) === "uv") { + tags.uv = tag.slice(2); + } else if (tag.slice(0, 4) === "armv") { + tags.armv = tag.slice(4); + } else if (tag === "glibc" || tag === "musl") { + tags.libc = tag; + } else { + continue; + } + tags.specificity++; + } + return tags; + } + function matchTags(runtime2, abi2) { + return function(tags) { + if (tags == null) + return false; + if (tags.runtime && tags.runtime !== runtime2 && !runtimeAgnostic(tags)) + return false; + if (tags.abi && tags.abi !== abi2 && !tags.napi) + return false; + if (tags.uv && tags.uv !== uv) + return false; + if (tags.armv && tags.armv !== armv) + return false; + if (tags.libc && tags.libc !== libc) + return false; + return true; + }; + } + function runtimeAgnostic(tags) { + return tags.runtime === "node" && tags.napi; + } + function compareTags(runtime2) { + return function(a, b) { + if (a.runtime !== b.runtime) { + return a.runtime === runtime2 ? -1 : 1; + } else if (a.abi !== b.abi) { + return a.abi ? -1 : 1; + } else if (a.specificity !== b.specificity) { + return a.specificity > b.specificity ? -1 : 1; + } else { + return 0; + } + }; + } + function isNwjs() { + return !!(process.versions && process.versions.nw); + } + function isElectron() { + if (process.versions && process.versions.electron) + return true; + if (process.env.ELECTRON_RUN_AS_NODE) + return true; + return typeof window !== "undefined" && window.process && window.process.type === "renderer"; + } + function isAlpine(platform2) { + return platform2 === "linux" && fs.existsSync("/etc/alpine-release"); + } + load.parseTags = parseTags; + load.matchTags = matchTags; + load.compareTags = compareTags; + load.parseTuple = parseTuple; + load.matchTuple = matchTuple; + load.compareTuples = compareTuples; + } +}); + +// node_modules/node-gyp-build/index.js +var require_node_gyp_build2 = __commonJS({ + "node_modules/node-gyp-build/index.js"(exports, module) { + init_cjs_shim(); + var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require; + if (typeof runtimeRequire.addon === "function") { + module.exports = runtimeRequire.addon.bind(runtimeRequire); + } else { + module.exports = require_node_gyp_build(); + } + } +}); + +// node_modules/bufferutil/fallback.js +var require_fallback = __commonJS({ + "node_modules/bufferutil/fallback.js"(exports, module) { + "use strict"; + init_cjs_shim(); + var mask = (source, mask2, output, offset, length) => { + for (var i = 0; i < length; i++) { + output[offset + i] = source[i] ^ mask2[i & 3]; + } + }; + var unmask = (buffer, mask2) => { + const length = buffer.length; + for (var i = 0; i < length; i++) { + buffer[i] ^= mask2[i & 3]; + } + }; + module.exports = { mask, unmask }; + } +}); + +// node_modules/bufferutil/index.js +var require_bufferutil = __commonJS({ + "node_modules/bufferutil/index.js"(exports, module) { + "use strict"; + init_cjs_shim(); + try { + module.exports = require_node_gyp_build2()(__dirname); + } catch (e) { + module.exports = require_fallback(); + } + } +}); + +// node_modules/ws/lib/buffer-util.js var require_buffer_util = __commonJS({ - "../testeranto/node_modules/ws/lib/buffer-util.js"(exports, module) { + "node_modules/ws/lib/buffer-util.js"(exports, module) { "use strict"; init_cjs_shim(); var { EMPTY_BUFFER } = require_constants(); @@ -203,7 +441,7 @@ var require_buffer_util = __commonJS({ }; if (!process.env.WS_NO_BUFFER_UTIL) { try { - const bufferUtil = __require("bufferutil"); + const bufferUtil = require_bufferutil(); module.exports.mask = function(source, mask, output, offset, length) { if (length < 48) _mask(source, mask, output, offset, length); @@ -222,9 +460,9 @@ var require_buffer_util = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/limiter.js +// node_modules/ws/lib/limiter.js var require_limiter = __commonJS({ - "../testeranto/node_modules/ws/lib/limiter.js"(exports, module) { + "node_modules/ws/lib/limiter.js"(exports, module) { "use strict"; init_cjs_shim(); var kDone = Symbol("kDone"); @@ -274,9 +512,9 @@ var require_limiter = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/permessage-deflate.js +// node_modules/ws/lib/permessage-deflate.js var require_permessage_deflate = __commonJS({ - "../testeranto/node_modules/ws/lib/permessage-deflate.js"(exports, module) { + "node_modules/ws/lib/permessage-deflate.js"(exports, module) { "use strict"; init_cjs_shim(); var zlib = __require("zlib"); @@ -655,9 +893,60 @@ var require_permessage_deflate = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/validation.js +// node_modules/utf-8-validate/fallback.js +var require_fallback2 = __commonJS({ + "node_modules/utf-8-validate/fallback.js"(exports, module) { + "use strict"; + init_cjs_shim(); + function isValidUTF8(buf) { + const len = buf.length; + let i = 0; + while (i < len) { + if ((buf[i] & 128) === 0) { + i++; + } else if ((buf[i] & 224) === 192) { + if (i + 1 === len || (buf[i + 1] & 192) !== 128 || (buf[i] & 254) === 192) { + return false; + } + i += 2; + } else if ((buf[i] & 240) === 224) { + if (i + 2 >= len || (buf[i + 1] & 192) !== 128 || (buf[i + 2] & 192) !== 128 || buf[i] === 224 && (buf[i + 1] & 224) === 128 || // overlong + buf[i] === 237 && (buf[i + 1] & 224) === 160) { + return false; + } + i += 3; + } else if ((buf[i] & 248) === 240) { + if (i + 3 >= len || (buf[i + 1] & 192) !== 128 || (buf[i + 2] & 192) !== 128 || (buf[i + 3] & 192) !== 128 || buf[i] === 240 && (buf[i + 1] & 240) === 128 || // overlong + buf[i] === 244 && buf[i + 1] > 143 || buf[i] > 244) { + return false; + } + i += 4; + } else { + return false; + } + } + return true; + } + module.exports = isValidUTF8; + } +}); + +// node_modules/utf-8-validate/index.js +var require_utf_8_validate = __commonJS({ + "node_modules/utf-8-validate/index.js"(exports, module) { + "use strict"; + init_cjs_shim(); + try { + module.exports = require_node_gyp_build2()(__dirname); + } catch (e) { + module.exports = require_fallback2(); + } + } +}); + +// node_modules/ws/lib/validation.js var require_validation = __commonJS({ - "../testeranto/node_modules/ws/lib/validation.js"(exports, module) { + "node_modules/ws/lib/validation.js"(exports, module) { "use strict"; init_cjs_shim(); var { isUtf8 } = __require("buffer"); @@ -847,7 +1136,7 @@ var require_validation = __commonJS({ }; } else if (!process.env.WS_NO_UTF_8_VALIDATE) { try { - const isValidUTF8 = __require("utf-8-validate"); + const isValidUTF8 = require_utf_8_validate(); module.exports.isValidUTF8 = function(buf) { return buf.length < 32 ? _isValidUTF8(buf) : isValidUTF8(buf); }; @@ -857,9 +1146,9 @@ var require_validation = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/receiver.js +// node_modules/ws/lib/receiver.js var require_receiver = __commonJS({ - "../testeranto/node_modules/ws/lib/receiver.js"(exports, module) { + "node_modules/ws/lib/receiver.js"(exports, module) { "use strict"; init_cjs_shim(); var { Writable } = __require("stream"); @@ -1461,9 +1750,9 @@ var require_receiver = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/sender.js +// node_modules/ws/lib/sender.js var require_sender = __commonJS({ - "../testeranto/node_modules/ws/lib/sender.js"(exports, module) { + "node_modules/ws/lib/sender.js"(exports, module) { "use strict"; init_cjs_shim(); var { Duplex } = __require("stream"); @@ -1956,9 +2245,9 @@ var require_sender = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/event-target.js +// node_modules/ws/lib/event-target.js var require_event_target = __commonJS({ - "../testeranto/node_modules/ws/lib/event-target.js"(exports, module) { + "node_modules/ws/lib/event-target.js"(exports, module) { "use strict"; init_cjs_shim(); var { kForOnEventAttribute, kListener } = require_constants(); @@ -2186,9 +2475,9 @@ var require_event_target = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/extension.js +// node_modules/ws/lib/extension.js var require_extension = __commonJS({ - "../testeranto/node_modules/ws/lib/extension.js"(exports, module) { + "node_modules/ws/lib/extension.js"(exports, module) { "use strict"; init_cjs_shim(); var { tokenChars } = require_validation(); @@ -2357,9 +2646,9 @@ var require_extension = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/websocket.js +// node_modules/ws/lib/websocket.js var require_websocket = __commonJS({ - "../testeranto/node_modules/ws/lib/websocket.js"(exports, module) { + "node_modules/ws/lib/websocket.js"(exports, module) { "use strict"; init_cjs_shim(); var EventEmitter = __require("events"); @@ -3270,9 +3559,9 @@ var require_websocket = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/subprotocol.js +// node_modules/ws/lib/subprotocol.js var require_subprotocol = __commonJS({ - "../testeranto/node_modules/ws/lib/subprotocol.js"(exports, module) { + "node_modules/ws/lib/subprotocol.js"(exports, module) { "use strict"; init_cjs_shim(); var { tokenChars } = require_validation(); @@ -3319,9 +3608,9 @@ var require_subprotocol = __commonJS({ } }); -// ../testeranto/node_modules/ws/lib/websocket-server.js +// node_modules/ws/lib/websocket-server.js var require_websocket_server = __commonJS({ - "../testeranto/node_modules/ws/lib/websocket-server.js"(exports, module) { + "node_modules/ws/lib/websocket-server.js"(exports, module) { "use strict"; init_cjs_shim(); var EventEmitter = __require("events"); @@ -3716,10 +4005,10 @@ var require_websocket_server = __commonJS({ } }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js init_cjs_shim(); -// ../testeranto/node_modules/ws/wrapper.mjs +// node_modules/ws/wrapper.mjs init_cjs_shim(); var import_stream = __toESM(require_stream(), 1); var import_receiver = __toESM(require_receiver(), 1); @@ -3728,7 +4017,7 @@ var import_websocket = __toESM(require_websocket(), 1); var import_websocket_server = __toESM(require_websocket_server(), 1); var wrapper_default = import_websocket.default; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/NodeWebSocketTransport.js var NodeWebSocketTransport = class { static create(url, headers) { return new Promise((resolve, reject) => { @@ -3777,6 +4066,7 @@ var NodeWebSocketTransport = class { }; export { + require_node_gyp_build2 as require_node_gyp_build, NodeWebSocketTransport }; /*! Bundled license information: diff --git a/docs/node/chunk-Z577W6FW.mjs b/docs/node/chunk-CDRQ6FZS.mjs similarity index 98% rename from docs/node/chunk-Z577W6FW.mjs rename to docs/node/chunk-CDRQ6FZS.mjs index 12d2387a..f0120323 100644 --- a/docs/node/chunk-Z577W6FW.mjs +++ b/docs/node/chunk-CDRQ6FZS.mjs @@ -91,13 +91,13 @@ import { timer, validateDialogType, withSourcePuppeteerURLIfNone -} from "./chunk-RBWPBMY4.mjs"; +} from "./chunk-6SZJES2S.mjs"; import { NodeWebSocketTransport -} from "./chunk-PJC2V65J.mjs"; +} from "./chunk-BRBW5YJH.mjs"; import { require_src -} from "./chunk-FLSG3ZVV.mjs"; +} from "./chunk-LE3VN4X4.mjs"; import { __commonJS, __esm, @@ -107,11 +107,11 @@ import { __toCommonJS, __toESM, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/semver/internal/constants.js +// node_modules/semver/internal/constants.js var require_constants = __commonJS({ - "../testeranto/node_modules/semver/internal/constants.js"(exports, module) { + "node_modules/semver/internal/constants.js"(exports, module) { init_cjs_shim(); var SEMVER_SPEC_VERSION = "2.0.0"; var MAX_LENGTH = 256; @@ -141,9 +141,9 @@ var require_constants = __commonJS({ } }); -// ../testeranto/node_modules/semver/internal/debug.js +// node_modules/semver/internal/debug.js var require_debug = __commonJS({ - "../testeranto/node_modules/semver/internal/debug.js"(exports, module) { + "node_modules/semver/internal/debug.js"(exports, module) { init_cjs_shim(); var debug5 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => { }; @@ -151,9 +151,9 @@ var require_debug = __commonJS({ } }); -// ../testeranto/node_modules/semver/internal/re.js +// node_modules/semver/internal/re.js var require_re = __commonJS({ - "../testeranto/node_modules/semver/internal/re.js"(exports, module) { + "node_modules/semver/internal/re.js"(exports, module) { init_cjs_shim(); var { MAX_SAFE_COMPONENT_LENGTH, @@ -237,9 +237,9 @@ var require_re = __commonJS({ } }); -// ../testeranto/node_modules/semver/internal/parse-options.js +// node_modules/semver/internal/parse-options.js var require_parse_options = __commonJS({ - "../testeranto/node_modules/semver/internal/parse-options.js"(exports, module) { + "node_modules/semver/internal/parse-options.js"(exports, module) { init_cjs_shim(); var looseOption = Object.freeze({ loose: true }); var emptyOpts = Object.freeze({}); @@ -256,9 +256,9 @@ var require_parse_options = __commonJS({ } }); -// ../testeranto/node_modules/semver/internal/identifiers.js +// node_modules/semver/internal/identifiers.js var require_identifiers = __commonJS({ - "../testeranto/node_modules/semver/internal/identifiers.js"(exports, module) { + "node_modules/semver/internal/identifiers.js"(exports, module) { init_cjs_shim(); var numeric = /^[0-9]+$/; var compareIdentifiers = (a, b) => { @@ -278,9 +278,9 @@ var require_identifiers = __commonJS({ } }); -// ../testeranto/node_modules/semver/classes/semver.js +// node_modules/semver/classes/semver.js var require_semver = __commonJS({ - "../testeranto/node_modules/semver/classes/semver.js"(exports, module) { + "node_modules/semver/classes/semver.js"(exports, module) { init_cjs_shim(); var debug5 = require_debug(); var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(); @@ -521,9 +521,9 @@ var require_semver = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/parse.js +// node_modules/semver/functions/parse.js var require_parse = __commonJS({ - "../testeranto/node_modules/semver/functions/parse.js"(exports, module) { + "node_modules/semver/functions/parse.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var parse = (version, options, throwErrors = false) => { @@ -543,9 +543,9 @@ var require_parse = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/valid.js +// node_modules/semver/functions/valid.js var require_valid = __commonJS({ - "../testeranto/node_modules/semver/functions/valid.js"(exports, module) { + "node_modules/semver/functions/valid.js"(exports, module) { init_cjs_shim(); var parse = require_parse(); var valid = (version, options) => { @@ -556,9 +556,9 @@ var require_valid = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/clean.js +// node_modules/semver/functions/clean.js var require_clean = __commonJS({ - "../testeranto/node_modules/semver/functions/clean.js"(exports, module) { + "node_modules/semver/functions/clean.js"(exports, module) { init_cjs_shim(); var parse = require_parse(); var clean = (version, options) => { @@ -569,9 +569,9 @@ var require_clean = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/inc.js +// node_modules/semver/functions/inc.js var require_inc = __commonJS({ - "../testeranto/node_modules/semver/functions/inc.js"(exports, module) { + "node_modules/semver/functions/inc.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var inc = (version, release, options, identifier, identifierBase) => { @@ -593,9 +593,9 @@ var require_inc = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/diff.js +// node_modules/semver/functions/diff.js var require_diff = __commonJS({ - "../testeranto/node_modules/semver/functions/diff.js"(exports, module) { + "node_modules/semver/functions/diff.js"(exports, module) { init_cjs_shim(); var parse = require_parse(); var diff = (version1, version2) => { @@ -638,9 +638,9 @@ var require_diff = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/major.js +// node_modules/semver/functions/major.js var require_major = __commonJS({ - "../testeranto/node_modules/semver/functions/major.js"(exports, module) { + "node_modules/semver/functions/major.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var major = (a, loose) => new SemVer(a, loose).major; @@ -648,9 +648,9 @@ var require_major = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/minor.js +// node_modules/semver/functions/minor.js var require_minor = __commonJS({ - "../testeranto/node_modules/semver/functions/minor.js"(exports, module) { + "node_modules/semver/functions/minor.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var minor = (a, loose) => new SemVer(a, loose).minor; @@ -658,9 +658,9 @@ var require_minor = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/patch.js +// node_modules/semver/functions/patch.js var require_patch = __commonJS({ - "../testeranto/node_modules/semver/functions/patch.js"(exports, module) { + "node_modules/semver/functions/patch.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var patch = (a, loose) => new SemVer(a, loose).patch; @@ -668,9 +668,9 @@ var require_patch = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/prerelease.js +// node_modules/semver/functions/prerelease.js var require_prerelease = __commonJS({ - "../testeranto/node_modules/semver/functions/prerelease.js"(exports, module) { + "node_modules/semver/functions/prerelease.js"(exports, module) { init_cjs_shim(); var parse = require_parse(); var prerelease = (version, options) => { @@ -681,9 +681,9 @@ var require_prerelease = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/compare.js +// node_modules/semver/functions/compare.js var require_compare = __commonJS({ - "../testeranto/node_modules/semver/functions/compare.js"(exports, module) { + "node_modules/semver/functions/compare.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)); @@ -691,9 +691,9 @@ var require_compare = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/rcompare.js +// node_modules/semver/functions/rcompare.js var require_rcompare = __commonJS({ - "../testeranto/node_modules/semver/functions/rcompare.js"(exports, module) { + "node_modules/semver/functions/rcompare.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var rcompare = (a, b, loose) => compare(b, a, loose); @@ -701,9 +701,9 @@ var require_rcompare = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/compare-loose.js +// node_modules/semver/functions/compare-loose.js var require_compare_loose = __commonJS({ - "../testeranto/node_modules/semver/functions/compare-loose.js"(exports, module) { + "node_modules/semver/functions/compare-loose.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var compareLoose = (a, b) => compare(a, b, true); @@ -711,9 +711,9 @@ var require_compare_loose = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/compare-build.js +// node_modules/semver/functions/compare-build.js var require_compare_build = __commonJS({ - "../testeranto/node_modules/semver/functions/compare-build.js"(exports, module) { + "node_modules/semver/functions/compare-build.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var compareBuild = (a, b, loose) => { @@ -725,9 +725,9 @@ var require_compare_build = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/sort.js +// node_modules/semver/functions/sort.js var require_sort = __commonJS({ - "../testeranto/node_modules/semver/functions/sort.js"(exports, module) { + "node_modules/semver/functions/sort.js"(exports, module) { init_cjs_shim(); var compareBuild = require_compare_build(); var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)); @@ -735,9 +735,9 @@ var require_sort = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/rsort.js +// node_modules/semver/functions/rsort.js var require_rsort = __commonJS({ - "../testeranto/node_modules/semver/functions/rsort.js"(exports, module) { + "node_modules/semver/functions/rsort.js"(exports, module) { init_cjs_shim(); var compareBuild = require_compare_build(); var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)); @@ -745,9 +745,9 @@ var require_rsort = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/gt.js +// node_modules/semver/functions/gt.js var require_gt = __commonJS({ - "../testeranto/node_modules/semver/functions/gt.js"(exports, module) { + "node_modules/semver/functions/gt.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var gt = (a, b, loose) => compare(a, b, loose) > 0; @@ -755,9 +755,9 @@ var require_gt = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/lt.js +// node_modules/semver/functions/lt.js var require_lt = __commonJS({ - "../testeranto/node_modules/semver/functions/lt.js"(exports, module) { + "node_modules/semver/functions/lt.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var lt = (a, b, loose) => compare(a, b, loose) < 0; @@ -765,9 +765,9 @@ var require_lt = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/eq.js +// node_modules/semver/functions/eq.js var require_eq = __commonJS({ - "../testeranto/node_modules/semver/functions/eq.js"(exports, module) { + "node_modules/semver/functions/eq.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var eq = (a, b, loose) => compare(a, b, loose) === 0; @@ -775,9 +775,9 @@ var require_eq = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/neq.js +// node_modules/semver/functions/neq.js var require_neq = __commonJS({ - "../testeranto/node_modules/semver/functions/neq.js"(exports, module) { + "node_modules/semver/functions/neq.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var neq = (a, b, loose) => compare(a, b, loose) !== 0; @@ -785,9 +785,9 @@ var require_neq = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/gte.js +// node_modules/semver/functions/gte.js var require_gte = __commonJS({ - "../testeranto/node_modules/semver/functions/gte.js"(exports, module) { + "node_modules/semver/functions/gte.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var gte = (a, b, loose) => compare(a, b, loose) >= 0; @@ -795,9 +795,9 @@ var require_gte = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/lte.js +// node_modules/semver/functions/lte.js var require_lte = __commonJS({ - "../testeranto/node_modules/semver/functions/lte.js"(exports, module) { + "node_modules/semver/functions/lte.js"(exports, module) { init_cjs_shim(); var compare = require_compare(); var lte = (a, b, loose) => compare(a, b, loose) <= 0; @@ -805,9 +805,9 @@ var require_lte = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/cmp.js +// node_modules/semver/functions/cmp.js var require_cmp = __commonJS({ - "../testeranto/node_modules/semver/functions/cmp.js"(exports, module) { + "node_modules/semver/functions/cmp.js"(exports, module) { init_cjs_shim(); var eq = require_eq(); var neq = require_neq(); @@ -855,9 +855,9 @@ var require_cmp = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/coerce.js +// node_modules/semver/functions/coerce.js var require_coerce = __commonJS({ - "../testeranto/node_modules/semver/functions/coerce.js"(exports, module) { + "node_modules/semver/functions/coerce.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var parse = require_parse(); @@ -901,9 +901,9 @@ var require_coerce = __commonJS({ } }); -// ../testeranto/node_modules/semver/internal/lrucache.js +// node_modules/semver/internal/lrucache.js var require_lrucache = __commonJS({ - "../testeranto/node_modules/semver/internal/lrucache.js"(exports, module) { + "node_modules/semver/internal/lrucache.js"(exports, module) { init_cjs_shim(); var LRUCache = class { constructor() { @@ -939,9 +939,9 @@ var require_lrucache = __commonJS({ } }); -// ../testeranto/node_modules/semver/classes/range.js +// node_modules/semver/classes/range.js var require_range = __commonJS({ - "../testeranto/node_modules/semver/classes/range.js"(exports, module) { + "node_modules/semver/classes/range.js"(exports, module) { init_cjs_shim(); var SPACE_CHARACTERS = /\s+/g; var Range = class { @@ -1315,9 +1315,9 @@ var require_range = __commonJS({ } }); -// ../testeranto/node_modules/semver/classes/comparator.js +// node_modules/semver/classes/comparator.js var require_comparator = __commonJS({ - "../testeranto/node_modules/semver/classes/comparator.js"(exports, module) { + "node_modules/semver/classes/comparator.js"(exports, module) { init_cjs_shim(); var ANY = Symbol("SemVer ANY"); var Comparator = class { @@ -1428,9 +1428,9 @@ var require_comparator = __commonJS({ } }); -// ../testeranto/node_modules/semver/functions/satisfies.js +// node_modules/semver/functions/satisfies.js var require_satisfies = __commonJS({ - "../testeranto/node_modules/semver/functions/satisfies.js"(exports, module) { + "node_modules/semver/functions/satisfies.js"(exports, module) { init_cjs_shim(); var Range = require_range(); var satisfies = (version, range, options) => { @@ -1445,9 +1445,9 @@ var require_satisfies = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/to-comparators.js +// node_modules/semver/ranges/to-comparators.js var require_to_comparators = __commonJS({ - "../testeranto/node_modules/semver/ranges/to-comparators.js"(exports, module) { + "node_modules/semver/ranges/to-comparators.js"(exports, module) { init_cjs_shim(); var Range = require_range(); var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" ")); @@ -1455,9 +1455,9 @@ var require_to_comparators = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/max-satisfying.js +// node_modules/semver/ranges/max-satisfying.js var require_max_satisfying = __commonJS({ - "../testeranto/node_modules/semver/ranges/max-satisfying.js"(exports, module) { + "node_modules/semver/ranges/max-satisfying.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var Range = require_range(); @@ -1484,9 +1484,9 @@ var require_max_satisfying = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/min-satisfying.js +// node_modules/semver/ranges/min-satisfying.js var require_min_satisfying = __commonJS({ - "../testeranto/node_modules/semver/ranges/min-satisfying.js"(exports, module) { + "node_modules/semver/ranges/min-satisfying.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var Range = require_range(); @@ -1513,9 +1513,9 @@ var require_min_satisfying = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/min-version.js +// node_modules/semver/ranges/min-version.js var require_min_version = __commonJS({ - "../testeranto/node_modules/semver/ranges/min-version.js"(exports, module) { + "node_modules/semver/ranges/min-version.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var Range = require_range(); @@ -1570,9 +1570,9 @@ var require_min_version = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/valid.js +// node_modules/semver/ranges/valid.js var require_valid2 = __commonJS({ - "../testeranto/node_modules/semver/ranges/valid.js"(exports, module) { + "node_modules/semver/ranges/valid.js"(exports, module) { init_cjs_shim(); var Range = require_range(); var validRange = (range, options) => { @@ -1586,9 +1586,9 @@ var require_valid2 = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/outside.js +// node_modules/semver/ranges/outside.js var require_outside = __commonJS({ - "../testeranto/node_modules/semver/ranges/outside.js"(exports, module) { + "node_modules/semver/ranges/outside.js"(exports, module) { init_cjs_shim(); var SemVer = require_semver(); var Comparator = require_comparator(); @@ -1655,9 +1655,9 @@ var require_outside = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/gtr.js +// node_modules/semver/ranges/gtr.js var require_gtr = __commonJS({ - "../testeranto/node_modules/semver/ranges/gtr.js"(exports, module) { + "node_modules/semver/ranges/gtr.js"(exports, module) { init_cjs_shim(); var outside = require_outside(); var gtr = (version, range, options) => outside(version, range, ">", options); @@ -1665,9 +1665,9 @@ var require_gtr = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/ltr.js +// node_modules/semver/ranges/ltr.js var require_ltr = __commonJS({ - "../testeranto/node_modules/semver/ranges/ltr.js"(exports, module) { + "node_modules/semver/ranges/ltr.js"(exports, module) { init_cjs_shim(); var outside = require_outside(); var ltr = (version, range, options) => outside(version, range, "<", options); @@ -1675,9 +1675,9 @@ var require_ltr = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/intersects.js +// node_modules/semver/ranges/intersects.js var require_intersects = __commonJS({ - "../testeranto/node_modules/semver/ranges/intersects.js"(exports, module) { + "node_modules/semver/ranges/intersects.js"(exports, module) { init_cjs_shim(); var Range = require_range(); var intersects = (r1, r2, options) => { @@ -1689,9 +1689,9 @@ var require_intersects = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/simplify.js +// node_modules/semver/ranges/simplify.js var require_simplify = __commonJS({ - "../testeranto/node_modules/semver/ranges/simplify.js"(exports, module) { + "node_modules/semver/ranges/simplify.js"(exports, module) { init_cjs_shim(); var satisfies = require_satisfies(); var compare = require_compare(); @@ -1739,9 +1739,9 @@ var require_simplify = __commonJS({ } }); -// ../testeranto/node_modules/semver/ranges/subset.js +// node_modules/semver/ranges/subset.js var require_subset = __commonJS({ - "../testeranto/node_modules/semver/ranges/subset.js"(exports, module) { + "node_modules/semver/ranges/subset.js"(exports, module) { init_cjs_shim(); var Range = require_range(); var Comparator = require_comparator(); @@ -1902,9 +1902,9 @@ var require_subset = __commonJS({ } }); -// ../testeranto/node_modules/semver/index.js +// node_modules/semver/index.js var require_semver2 = __commonJS({ - "../testeranto/node_modules/semver/index.js"(exports, module) { + "node_modules/semver/index.js"(exports, module) { init_cjs_shim(); var internalRe = require_re(); var constants = require_constants(); @@ -1997,9 +1997,9 @@ var require_semver2 = __commonJS({ } }); -// ../testeranto/node_modules/proxy-agent/node_modules/lru-cache/index.js +// node_modules/proxy-agent/node_modules/lru-cache/index.js var require_lru_cache = __commonJS({ - "../testeranto/node_modules/proxy-agent/node_modules/lru-cache/index.js"(exports, module) { + "node_modules/proxy-agent/node_modules/lru-cache/index.js"(exports, module) { init_cjs_shim(); var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date; var hasAbortController = typeof AbortController === "function"; @@ -3015,9 +3015,9 @@ var require_lru_cache = __commonJS({ } }); -// ../testeranto/node_modules/agent-base/dist/helpers.js +// node_modules/agent-base/dist/helpers.js var require_helpers = __commonJS({ - "../testeranto/node_modules/agent-base/dist/helpers.js"(exports) { + "node_modules/agent-base/dist/helpers.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -3091,9 +3091,9 @@ var require_helpers = __commonJS({ } }); -// ../testeranto/node_modules/agent-base/dist/index.js +// node_modules/agent-base/dist/index.js var require_dist = __commonJS({ - "../testeranto/node_modules/agent-base/dist/index.js"(exports) { + "node_modules/agent-base/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -3251,9 +3251,9 @@ var require_dist = __commonJS({ } }); -// ../testeranto/node_modules/proxy-from-env/index.js +// node_modules/proxy-from-env/index.js var require_proxy_from_env = __commonJS({ - "../testeranto/node_modules/proxy-from-env/index.js"(exports) { + "node_modules/proxy-from-env/index.js"(exports) { "use strict"; init_cjs_shim(); var parseUrl = __require("url").parse; @@ -3322,9 +3322,9 @@ var require_proxy_from_env = __commonJS({ } }); -// ../testeranto/node_modules/http-proxy-agent/dist/index.js +// node_modules/http-proxy-agent/dist/index.js var require_dist2 = __commonJS({ - "../testeranto/node_modules/http-proxy-agent/dist/index.js"(exports) { + "node_modules/http-proxy-agent/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -3458,9 +3458,9 @@ var require_dist2 = __commonJS({ } }); -// ../testeranto/node_modules/https-proxy-agent/dist/parse-proxy-response.js +// node_modules/https-proxy-agent/dist/parse-proxy-response.js var require_parse_proxy_response = __commonJS({ - "../testeranto/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) { + "node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -3555,9 +3555,9 @@ var require_parse_proxy_response = __commonJS({ } }); -// ../testeranto/node_modules/https-proxy-agent/dist/index.js +// node_modules/https-proxy-agent/dist/index.js var require_dist3 = __commonJS({ - "../testeranto/node_modules/https-proxy-agent/dist/index.js"(exports) { + "node_modules/https-proxy-agent/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -3708,9 +3708,9 @@ var require_dist3 = __commonJS({ } }); -// ../testeranto/node_modules/smart-buffer/build/utils.js +// node_modules/smart-buffer/build/utils.js var require_utils = __commonJS({ - "../testeranto/node_modules/smart-buffer/build/utils.js"(exports) { + "node_modules/smart-buffer/build/utils.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -3778,9 +3778,9 @@ var require_utils = __commonJS({ } }); -// ../testeranto/node_modules/smart-buffer/build/smartbuffer.js +// node_modules/smart-buffer/build/smartbuffer.js var require_smartbuffer = __commonJS({ - "../testeranto/node_modules/smart-buffer/build/smartbuffer.js"(exports) { + "node_modules/smart-buffer/build/smartbuffer.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -4937,9 +4937,9 @@ var require_smartbuffer = __commonJS({ } }); -// ../testeranto/node_modules/socks/build/common/constants.js +// node_modules/socks/build/common/constants.js var require_constants2 = __commonJS({ - "../testeranto/node_modules/socks/build/common/constants.js"(exports) { + "node_modules/socks/build/common/constants.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5055,9 +5055,9 @@ var require_constants2 = __commonJS({ } }); -// ../testeranto/node_modules/socks/build/common/util.js +// node_modules/socks/build/common/util.js var require_util = __commonJS({ - "../testeranto/node_modules/socks/build/common/util.js"(exports) { + "node_modules/socks/build/common/util.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5079,9 +5079,9 @@ var require_util = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/common.js +// node_modules/ip-address/dist/common.js var require_common = __commonJS({ - "../testeranto/node_modules/ip-address/dist/common.js"(exports) { + "node_modules/ip-address/dist/common.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5111,9 +5111,9 @@ var require_common = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/v4/constants.js +// node_modules/ip-address/dist/v4/constants.js var require_constants3 = __commonJS({ - "../testeranto/node_modules/ip-address/dist/v4/constants.js"(exports) { + "node_modules/ip-address/dist/v4/constants.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5125,9 +5125,9 @@ var require_constants3 = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/address-error.js +// node_modules/ip-address/dist/address-error.js var require_address_error = __commonJS({ - "../testeranto/node_modules/ip-address/dist/address-error.js"(exports) { + "node_modules/ip-address/dist/address-error.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -5145,9 +5145,9 @@ var require_address_error = __commonJS({ } }); -// ../testeranto/node_modules/jsbn/index.js +// node_modules/ip-address/node_modules/jsbn/index.js var require_jsbn = __commonJS({ - "../testeranto/node_modules/jsbn/index.js"(exports, module) { + "node_modules/ip-address/node_modules/jsbn/index.js"(exports, module) { init_cjs_shim(); (function() { var dbits; @@ -6572,9 +6572,9 @@ var require_jsbn = __commonJS({ } }); -// ../testeranto/node_modules/sprintf-js/src/sprintf.js +// node_modules/sprintf-js/src/sprintf.js var require_sprintf = __commonJS({ - "../testeranto/node_modules/sprintf-js/src/sprintf.js"(exports) { + "node_modules/sprintf-js/src/sprintf.js"(exports) { init_cjs_shim(); !function() { "use strict"; @@ -6776,9 +6776,9 @@ var require_sprintf = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/ipv4.js +// node_modules/ip-address/dist/ipv4.js var require_ipv4 = __commonJS({ - "../testeranto/node_modules/ip-address/dist/ipv4.js"(exports) { + "node_modules/ip-address/dist/ipv4.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -7096,9 +7096,9 @@ var require_ipv4 = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/v6/constants.js +// node_modules/ip-address/dist/v6/constants.js var require_constants4 = __commonJS({ - "../testeranto/node_modules/ip-address/dist/v6/constants.js"(exports) { + "node_modules/ip-address/dist/v6/constants.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -7148,9 +7148,9 @@ var require_constants4 = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/v6/helpers.js +// node_modules/ip-address/dist/v6/helpers.js var require_helpers2 = __commonJS({ - "../testeranto/node_modules/ip-address/dist/v6/helpers.js"(exports) { + "node_modules/ip-address/dist/v6/helpers.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -7189,9 +7189,9 @@ var require_helpers2 = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/v6/regular-expressions.js +// node_modules/ip-address/dist/v6/regular-expressions.js var require_regular_expressions = __commonJS({ - "../testeranto/node_modules/ip-address/dist/v6/regular-expressions.js"(exports) { + "node_modules/ip-address/dist/v6/regular-expressions.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -7288,9 +7288,9 @@ var require_regular_expressions = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/ipv6.js +// node_modules/ip-address/dist/ipv6.js var require_ipv6 = __commonJS({ - "../testeranto/node_modules/ip-address/dist/ipv6.js"(exports) { + "node_modules/ip-address/dist/ipv6.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -8204,9 +8204,9 @@ var require_ipv6 = __commonJS({ } }); -// ../testeranto/node_modules/ip-address/dist/ip-address.js +// node_modules/ip-address/dist/ip-address.js var require_ip_address = __commonJS({ - "../testeranto/node_modules/ip-address/dist/ip-address.js"(exports) { + "node_modules/ip-address/dist/ip-address.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -8260,9 +8260,9 @@ var require_ip_address = __commonJS({ } }); -// ../testeranto/node_modules/socks/build/common/helpers.js +// node_modules/socks/build/common/helpers.js var require_helpers3 = __commonJS({ - "../testeranto/node_modules/socks/build/common/helpers.js"(exports) { + "node_modules/socks/build/common/helpers.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -8368,9 +8368,9 @@ var require_helpers3 = __commonJS({ } }); -// ../testeranto/node_modules/socks/build/common/receivebuffer.js +// node_modules/socks/build/common/receivebuffer.js var require_receivebuffer = __commonJS({ - "../testeranto/node_modules/socks/build/common/receivebuffer.js"(exports) { + "node_modules/socks/build/common/receivebuffer.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -8417,9 +8417,9 @@ var require_receivebuffer = __commonJS({ } }); -// ../testeranto/node_modules/socks/build/client/socksclient.js +// node_modules/socks/build/client/socksclient.js var require_socksclient = __commonJS({ - "../testeranto/node_modules/socks/build/client/socksclient.js"(exports) { + "node_modules/socks/build/client/socksclient.js"(exports) { "use strict"; init_cjs_shim(); var __awaiter2 = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { @@ -9097,9 +9097,9 @@ var require_socksclient = __commonJS({ } }); -// ../testeranto/node_modules/socks/build/index.js +// node_modules/socks/build/index.js var require_build = __commonJS({ - "../testeranto/node_modules/socks/build/index.js"(exports) { + "node_modules/socks/build/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -9127,9 +9127,9 @@ var require_build = __commonJS({ } }); -// ../testeranto/node_modules/socks-proxy-agent/dist/index.js +// node_modules/socks-proxy-agent/dist/index.js var require_dist4 = __commonJS({ - "../testeranto/node_modules/socks-proxy-agent/dist/index.js"(exports) { + "node_modules/socks-proxy-agent/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -9316,9 +9316,9 @@ var require_dist4 = __commonJS({ } }); -// ../testeranto/node_modules/data-uri-to-buffer/dist/common.js +// node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js var require_common2 = __commonJS({ - "../testeranto/node_modules/data-uri-to-buffer/dist/common.js"(exports) { + "node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9365,9 +9365,9 @@ var require_common2 = __commonJS({ } }); -// ../testeranto/node_modules/data-uri-to-buffer/dist/node.js +// node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js var require_node = __commonJS({ - "../testeranto/node_modules/data-uri-to-buffer/dist/node.js"(exports) { + "node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9392,9 +9392,9 @@ var require_node = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/notmodified.js +// node_modules/get-uri/dist/notmodified.js var require_notmodified = __commonJS({ - "../testeranto/node_modules/get-uri/dist/notmodified.js"(exports) { + "node_modules/get-uri/dist/notmodified.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -9408,9 +9408,9 @@ var require_notmodified = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/data.js +// node_modules/get-uri/dist/data.js var require_data = __commonJS({ - "../testeranto/node_modules/get-uri/dist/data.js"(exports) { + "node_modules/get-uri/dist/data.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -9450,9 +9450,9 @@ var require_data = __commonJS({ } }); -// ../testeranto/node_modules/universalify/index.js +// node_modules/universalify/index.js var require_universalify = __commonJS({ - "../testeranto/node_modules/universalify/index.js"(exports) { + "node_modules/universalify/index.js"(exports) { "use strict"; init_cjs_shim(); exports.fromCallback = function(fn) { @@ -9481,9 +9481,9 @@ var require_universalify = __commonJS({ } }); -// ../testeranto/node_modules/graceful-fs/polyfills.js +// node_modules/graceful-fs/polyfills.js var require_polyfills = __commonJS({ - "../testeranto/node_modules/graceful-fs/polyfills.js"(exports, module) { + "node_modules/graceful-fs/polyfills.js"(exports, module) { init_cjs_shim(); var constants = __require("constants"); var origCwd = process.cwd; @@ -9798,9 +9798,9 @@ var require_polyfills = __commonJS({ } }); -// ../testeranto/node_modules/graceful-fs/legacy-streams.js +// node_modules/graceful-fs/legacy-streams.js var require_legacy_streams = __commonJS({ - "../testeranto/node_modules/graceful-fs/legacy-streams.js"(exports, module) { + "node_modules/graceful-fs/legacy-streams.js"(exports, module) { init_cjs_shim(); var Stream = __require("stream").Stream; module.exports = legacy; @@ -9898,9 +9898,9 @@ var require_legacy_streams = __commonJS({ } }); -// ../testeranto/node_modules/graceful-fs/clone.js +// node_modules/graceful-fs/clone.js var require_clone = __commonJS({ - "../testeranto/node_modules/graceful-fs/clone.js"(exports, module) { + "node_modules/graceful-fs/clone.js"(exports, module) { "use strict"; init_cjs_shim(); module.exports = clone; @@ -9922,9 +9922,9 @@ var require_clone = __commonJS({ } }); -// ../testeranto/node_modules/graceful-fs/graceful-fs.js +// node_modules/graceful-fs/graceful-fs.js var require_graceful_fs = __commonJS({ - "../testeranto/node_modules/graceful-fs/graceful-fs.js"(exports, module) { + "node_modules/graceful-fs/graceful-fs.js"(exports, module) { init_cjs_shim(); var fs6 = __require("fs"); var polyfills = require_polyfills(); @@ -10293,9 +10293,9 @@ var require_graceful_fs = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/fs/index.js +// node_modules/fs-extra/lib/fs/index.js var require_fs = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/fs/index.js"(exports) { + "node_modules/fs-extra/lib/fs/index.js"(exports) { "use strict"; init_cjs_shim(); var u = require_universalify().fromCallback; @@ -10410,9 +10410,9 @@ var require_fs = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/mkdirs/utils.js +// node_modules/fs-extra/lib/mkdirs/utils.js var require_utils2 = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module) { + "node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module) { "use strict"; init_cjs_shim(); var path10 = __require("path"); @@ -10429,9 +10429,9 @@ var require_utils2 = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/mkdirs/make-dir.js +// node_modules/fs-extra/lib/mkdirs/make-dir.js var require_make_dir = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports, module) { + "node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_fs(); @@ -10459,9 +10459,9 @@ var require_make_dir = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/mkdirs/index.js +// node_modules/fs-extra/lib/mkdirs/index.js var require_mkdirs = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/mkdirs/index.js"(exports, module) { + "node_modules/fs-extra/lib/mkdirs/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -10479,9 +10479,9 @@ var require_mkdirs = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/path-exists/index.js +// node_modules/fs-extra/lib/path-exists/index.js var require_path_exists = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/path-exists/index.js"(exports, module) { + "node_modules/fs-extra/lib/path-exists/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -10496,9 +10496,9 @@ var require_path_exists = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/util/utimes.js +// node_modules/fs-extra/lib/util/utimes.js var require_utimes = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/util/utimes.js"(exports, module) { + "node_modules/fs-extra/lib/util/utimes.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_fs(); @@ -10531,9 +10531,9 @@ var require_utimes = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/util/stat.js +// node_modules/fs-extra/lib/util/stat.js var require_stat = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/util/stat.js"(exports, module) { + "node_modules/fs-extra/lib/util/stat.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_fs(); @@ -10670,9 +10670,9 @@ var require_stat = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/copy/copy.js +// node_modules/fs-extra/lib/copy/copy.js var require_copy = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/copy/copy.js"(exports, module) { + "node_modules/fs-extra/lib/copy/copy.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_fs(); @@ -10804,9 +10804,9 @@ var require_copy = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/copy/copy-sync.js +// node_modules/fs-extra/lib/copy/copy-sync.js var require_copy_sync = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module) { + "node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_graceful_fs(); @@ -10946,9 +10946,9 @@ var require_copy_sync = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/copy/index.js +// node_modules/fs-extra/lib/copy/index.js var require_copy2 = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/copy/index.js"(exports, module) { + "node_modules/fs-extra/lib/copy/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -10959,9 +10959,9 @@ var require_copy2 = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/remove/index.js +// node_modules/fs-extra/lib/remove/index.js var require_remove = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/remove/index.js"(exports, module) { + "node_modules/fs-extra/lib/remove/index.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_graceful_fs(); @@ -10979,9 +10979,9 @@ var require_remove = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/empty/index.js +// node_modules/fs-extra/lib/empty/index.js var require_empty = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/empty/index.js"(exports, module) { + "node_modules/fs-extra/lib/empty/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11019,9 +11019,9 @@ var require_empty = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/ensure/file.js +// node_modules/fs-extra/lib/ensure/file.js var require_file = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/ensure/file.js"(exports, module) { + "node_modules/fs-extra/lib/ensure/file.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11083,9 +11083,9 @@ var require_file = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/ensure/link.js +// node_modules/fs-extra/lib/ensure/link.js var require_link = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/ensure/link.js"(exports, module) { + "node_modules/fs-extra/lib/ensure/link.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11144,9 +11144,9 @@ var require_link = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/ensure/symlink-paths.js +// node_modules/fs-extra/lib/ensure/symlink-paths.js var require_symlink_paths = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module) { + "node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module) { "use strict"; init_cjs_shim(); var path10 = __require("path"); @@ -11220,9 +11220,9 @@ var require_symlink_paths = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/ensure/symlink-type.js +// node_modules/fs-extra/lib/ensure/symlink-type.js var require_symlink_type = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports, module) { + "node_modules/fs-extra/lib/ensure/symlink-type.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_fs(); @@ -11256,9 +11256,9 @@ var require_symlink_type = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/ensure/symlink.js +// node_modules/fs-extra/lib/ensure/symlink.js var require_symlink = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/ensure/symlink.js"(exports, module) { + "node_modules/fs-extra/lib/ensure/symlink.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11321,9 +11321,9 @@ var require_symlink = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/ensure/index.js +// node_modules/fs-extra/lib/ensure/index.js var require_ensure = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/ensure/index.js"(exports, module) { + "node_modules/fs-extra/lib/ensure/index.js"(exports, module) { "use strict"; init_cjs_shim(); var { createFile, createFileSync } = require_file(); @@ -11349,9 +11349,9 @@ var require_ensure = __commonJS({ } }); -// ../testeranto/node_modules/jsonfile/utils.js +// node_modules/fs-extra/node_modules/jsonfile/utils.js var require_utils3 = __commonJS({ - "../testeranto/node_modules/jsonfile/utils.js"(exports, module) { + "node_modules/fs-extra/node_modules/jsonfile/utils.js"(exports, module) { init_cjs_shim(); function stringify(obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {}) { const EOF = finalEOL ? EOL : ""; @@ -11367,9 +11367,9 @@ var require_utils3 = __commonJS({ } }); -// ../testeranto/node_modules/jsonfile/index.js +// node_modules/fs-extra/node_modules/jsonfile/index.js var require_jsonfile = __commonJS({ - "../testeranto/node_modules/jsonfile/index.js"(exports, module) { + "node_modules/fs-extra/node_modules/jsonfile/index.js"(exports, module) { init_cjs_shim(); var _fs; try { @@ -11441,9 +11441,9 @@ var require_jsonfile = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/json/jsonfile.js +// node_modules/fs-extra/lib/json/jsonfile.js var require_jsonfile2 = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/json/jsonfile.js"(exports, module) { + "node_modules/fs-extra/lib/json/jsonfile.js"(exports, module) { "use strict"; init_cjs_shim(); var jsonFile = require_jsonfile(); @@ -11457,9 +11457,9 @@ var require_jsonfile2 = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/output-file/index.js +// node_modules/fs-extra/lib/output-file/index.js var require_output_file = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/output-file/index.js"(exports, module) { + "node_modules/fs-extra/lib/output-file/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11488,9 +11488,9 @@ var require_output_file = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/json/output-json.js +// node_modules/fs-extra/lib/json/output-json.js var require_output_json = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/json/output-json.js"(exports, module) { + "node_modules/fs-extra/lib/json/output-json.js"(exports, module) { "use strict"; init_cjs_shim(); var { stringify } = require_utils3(); @@ -11503,9 +11503,9 @@ var require_output_json = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/json/output-json-sync.js +// node_modules/fs-extra/lib/json/output-json-sync.js var require_output_json_sync = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/json/output-json-sync.js"(exports, module) { + "node_modules/fs-extra/lib/json/output-json-sync.js"(exports, module) { "use strict"; init_cjs_shim(); var { stringify } = require_utils3(); @@ -11518,9 +11518,9 @@ var require_output_json_sync = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/json/index.js +// node_modules/fs-extra/lib/json/index.js var require_json = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/json/index.js"(exports, module) { + "node_modules/fs-extra/lib/json/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11537,9 +11537,9 @@ var require_json = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/move/move.js +// node_modules/fs-extra/lib/move/move.js var require_move = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/move/move.js"(exports, module) { + "node_modules/fs-extra/lib/move/move.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_fs(); @@ -11590,9 +11590,9 @@ var require_move = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/move/move-sync.js +// node_modules/fs-extra/lib/move/move-sync.js var require_move_sync = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/move/move-sync.js"(exports, module) { + "node_modules/fs-extra/lib/move/move-sync.js"(exports, module) { "use strict"; init_cjs_shim(); var fs6 = require_graceful_fs(); @@ -11648,9 +11648,9 @@ var require_move_sync = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/move/index.js +// node_modules/fs-extra/lib/move/index.js var require_move2 = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/move/index.js"(exports, module) { + "node_modules/fs-extra/lib/move/index.js"(exports, module) { "use strict"; init_cjs_shim(); var u = require_universalify().fromPromise; @@ -11661,9 +11661,9 @@ var require_move2 = __commonJS({ } }); -// ../testeranto/node_modules/fs-extra/lib/index.js +// node_modules/fs-extra/lib/index.js var require_lib = __commonJS({ - "../testeranto/node_modules/fs-extra/lib/index.js"(exports, module) { + "node_modules/fs-extra/lib/index.js"(exports, module) { "use strict"; init_cjs_shim(); module.exports = { @@ -11683,9 +11683,9 @@ var require_lib = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/notfound.js +// node_modules/get-uri/dist/notfound.js var require_notfound = __commonJS({ - "../testeranto/node_modules/get-uri/dist/notfound.js"(exports) { + "node_modules/get-uri/dist/notfound.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -11699,9 +11699,9 @@ var require_notfound = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/file.js +// node_modules/get-uri/dist/file.js var require_file2 = __commonJS({ - "../testeranto/node_modules/get-uri/dist/file.js"(exports) { + "node_modules/get-uri/dist/file.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -11752,9 +11752,9 @@ var require_file2 = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/parseControlResponse.js +// node_modules/basic-ftp/dist/parseControlResponse.js var require_parseControlResponse = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/parseControlResponse.js"(exports) { + "node_modules/basic-ftp/dist/parseControlResponse.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -11806,9 +11806,9 @@ var require_parseControlResponse = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/FtpContext.js +// node_modules/basic-ftp/dist/FtpContext.js var require_FtpContext = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/FtpContext.js"(exports) { + "node_modules/basic-ftp/dist/FtpContext.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12124,9 +12124,9 @@ Closing reason: ${this._closingError.stack}`; } }); -// ../testeranto/node_modules/basic-ftp/dist/FileInfo.js +// node_modules/basic-ftp/dist/FileInfo.js var require_FileInfo = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/FileInfo.js"(exports) { + "node_modules/basic-ftp/dist/FileInfo.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12182,9 +12182,9 @@ var require_FileInfo = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/parseListDOS.js +// node_modules/basic-ftp/dist/parseListDOS.js var require_parseListDOS = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/parseListDOS.js"(exports) { + "node_modules/basic-ftp/dist/parseListDOS.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12227,9 +12227,9 @@ var require_parseListDOS = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/parseListUnix.js +// node_modules/basic-ftp/dist/parseListUnix.js var require_parseListUnix = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/parseListUnix.js"(exports) { + "node_modules/basic-ftp/dist/parseListUnix.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12315,9 +12315,9 @@ var require_parseListUnix = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/parseListMLSD.js +// node_modules/basic-ftp/dist/parseListMLSD.js var require_parseListMLSD = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/parseListMLSD.js"(exports) { + "node_modules/basic-ftp/dist/parseListMLSD.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12480,9 +12480,9 @@ var require_parseListMLSD = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/parseList.js +// node_modules/basic-ftp/dist/parseList.js var require_parseList = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/parseList.js"(exports) { + "node_modules/basic-ftp/dist/parseList.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -12555,9 +12555,9 @@ var require_parseList = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/ProgressTracker.js +// node_modules/basic-ftp/dist/ProgressTracker.js var require_ProgressTracker = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/ProgressTracker.js"(exports) { + "node_modules/basic-ftp/dist/ProgressTracker.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12627,9 +12627,9 @@ var require_ProgressTracker = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/StringWriter.js +// node_modules/basic-ftp/dist/StringWriter.js var require_StringWriter = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/StringWriter.js"(exports) { + "node_modules/basic-ftp/dist/StringWriter.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12656,9 +12656,9 @@ var require_StringWriter = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/netUtils.js +// node_modules/basic-ftp/dist/netUtils.js var require_netUtils = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/netUtils.js"(exports) { + "node_modules/basic-ftp/dist/netUtils.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12709,9 +12709,9 @@ var require_netUtils = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/transfer.js +// node_modules/basic-ftp/dist/transfer.js var require_transfer = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/transfer.js"(exports) { + "node_modules/basic-ftp/dist/transfer.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -12949,9 +12949,9 @@ var require_transfer = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/Client.js +// node_modules/basic-ftp/dist/Client.js var require_Client = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/Client.js"(exports) { + "node_modules/basic-ftp/dist/Client.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -13671,18 +13671,18 @@ var require_Client = __commonJS({ } }); -// ../testeranto/node_modules/basic-ftp/dist/StringEncoding.js +// node_modules/basic-ftp/dist/StringEncoding.js var require_StringEncoding = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/StringEncoding.js"(exports) { + "node_modules/basic-ftp/dist/StringEncoding.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); } }); -// ../testeranto/node_modules/basic-ftp/dist/index.js +// node_modules/basic-ftp/dist/index.js var require_dist5 = __commonJS({ - "../testeranto/node_modules/basic-ftp/dist/index.js"(exports) { + "node_modules/basic-ftp/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -13722,9 +13722,9 @@ var require_dist5 = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/ftp.js +// node_modules/get-uri/dist/ftp.js var require_ftp = __commonJS({ - "../testeranto/node_modules/get-uri/dist/ftp.js"(exports) { + "node_modules/get-uri/dist/ftp.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -13804,9 +13804,9 @@ var require_ftp = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/http-error.js +// node_modules/get-uri/dist/http-error.js var require_http_error = __commonJS({ - "../testeranto/node_modules/get-uri/dist/http-error.js"(exports) { + "node_modules/get-uri/dist/http-error.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -13822,9 +13822,9 @@ var require_http_error = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/http.js +// node_modules/get-uri/dist/http.js var require_http = __commonJS({ - "../testeranto/node_modules/get-uri/dist/http.js"(exports) { + "node_modules/get-uri/dist/http.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -13976,9 +13976,9 @@ var require_http = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/https.js +// node_modules/get-uri/dist/https.js var require_https = __commonJS({ - "../testeranto/node_modules/get-uri/dist/https.js"(exports) { + "node_modules/get-uri/dist/https.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -13995,9 +13995,9 @@ var require_https = __commonJS({ } }); -// ../testeranto/node_modules/get-uri/dist/index.js +// node_modules/get-uri/dist/index.js var require_dist6 = __commonJS({ - "../testeranto/node_modules/get-uri/dist/index.js"(exports) { + "node_modules/get-uri/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -14041,9 +14041,9 @@ var require_dist6 = __commonJS({ } }); -// ../testeranto/node_modules/estraverse/estraverse.js +// node_modules/estraverse/estraverse.js var require_estraverse = __commonJS({ - "../testeranto/node_modules/estraverse/estraverse.js"(exports) { + "node_modules/estraverse/estraverse.js"(exports) { init_cjs_shim(); (function clone(exports2) { "use strict"; @@ -14658,9 +14658,9 @@ var require_estraverse = __commonJS({ } }); -// ../testeranto/node_modules/esutils/lib/ast.js +// node_modules/esutils/lib/ast.js var require_ast = __commonJS({ - "../testeranto/node_modules/esutils/lib/ast.js"(exports, module) { + "node_modules/esutils/lib/ast.js"(exports, module) { init_cjs_shim(); (function() { "use strict"; @@ -14779,9 +14779,9 @@ var require_ast = __commonJS({ } }); -// ../testeranto/node_modules/esutils/lib/code.js +// node_modules/esutils/lib/code.js var require_code = __commonJS({ - "../testeranto/node_modules/esutils/lib/code.js"(exports, module) { + "node_modules/esutils/lib/code.js"(exports, module) { init_cjs_shim(); (function() { "use strict"; @@ -14881,9 +14881,9 @@ var require_code = __commonJS({ } }); -// ../testeranto/node_modules/esutils/lib/keyword.js +// node_modules/esutils/lib/keyword.js var require_keyword = __commonJS({ - "../testeranto/node_modules/esutils/lib/keyword.js"(exports, module) { + "node_modules/esutils/lib/keyword.js"(exports, module) { init_cjs_shim(); (function() { "use strict"; @@ -15010,9 +15010,9 @@ var require_keyword = __commonJS({ } }); -// ../testeranto/node_modules/esutils/lib/utils.js +// node_modules/esutils/lib/utils.js var require_utils4 = __commonJS({ - "../testeranto/node_modules/esutils/lib/utils.js"(exports) { + "node_modules/esutils/lib/utils.js"(exports) { init_cjs_shim(); (function() { "use strict"; @@ -15023,9 +15023,9 @@ var require_utils4 = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/base64.js +// node_modules/escodegen/node_modules/source-map/lib/base64.js var require_base64 = __commonJS({ - "../testeranto/node_modules/source-map/lib/base64.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/base64.js"(exports) { init_cjs_shim(); var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""); exports.encode = function(number) { @@ -15065,9 +15065,9 @@ var require_base64 = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/base64-vlq.js +// node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js var require_base64_vlq = __commonJS({ - "../testeranto/node_modules/source-map/lib/base64-vlq.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(exports) { init_cjs_shim(); var base64 = require_base64(); var VLQ_BASE_SHIFT = 5; @@ -15120,9 +15120,9 @@ var require_base64_vlq = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/util.js +// node_modules/escodegen/node_modules/source-map/lib/util.js var require_util2 = __commonJS({ - "../testeranto/node_modules/source-map/lib/util.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/util.js"(exports) { init_cjs_shim(); function getArg(aArgs, aName, aDefaultValue) { if (aName in aArgs) { @@ -15422,9 +15422,9 @@ var require_util2 = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/array-set.js +// node_modules/escodegen/node_modules/source-map/lib/array-set.js var require_array_set = __commonJS({ - "../testeranto/node_modules/source-map/lib/array-set.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/array-set.js"(exports) { init_cjs_shim(); var util = require_util2(); var has = Object.prototype.hasOwnProperty; @@ -15493,9 +15493,9 @@ var require_array_set = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/mapping-list.js +// node_modules/escodegen/node_modules/source-map/lib/mapping-list.js var require_mapping_list = __commonJS({ - "../testeranto/node_modules/source-map/lib/mapping-list.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(exports) { init_cjs_shim(); var util = require_util2(); function generatedPositionAfter(mappingA, mappingB) { @@ -15533,9 +15533,9 @@ var require_mapping_list = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/source-map-generator.js +// node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js var require_source_map_generator = __commonJS({ - "../testeranto/node_modules/source-map/lib/source-map-generator.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(exports) { init_cjs_shim(); var base64VLQ = require_base64_vlq(); var util = require_util2(); @@ -15810,9 +15810,9 @@ var require_source_map_generator = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/binary-search.js +// node_modules/escodegen/node_modules/source-map/lib/binary-search.js var require_binary_search = __commonJS({ - "../testeranto/node_modules/source-map/lib/binary-search.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(exports) { init_cjs_shim(); exports.GREATEST_LOWER_BOUND = 1; exports.LEAST_UPPER_BOUND = 2; @@ -15867,9 +15867,9 @@ var require_binary_search = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/quick-sort.js +// node_modules/escodegen/node_modules/source-map/lib/quick-sort.js var require_quick_sort = __commonJS({ - "../testeranto/node_modules/source-map/lib/quick-sort.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(exports) { init_cjs_shim(); function swap(ary, x, y) { var temp = ary[x]; @@ -15903,9 +15903,9 @@ var require_quick_sort = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/source-map-consumer.js +// node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js var require_source_map_consumer = __commonJS({ - "../testeranto/node_modules/source-map/lib/source-map-consumer.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(exports) { init_cjs_shim(); var util = require_util2(); var binarySearch = require_binary_search(); @@ -16505,9 +16505,9 @@ var require_source_map_consumer = __commonJS({ } }); -// ../testeranto/node_modules/source-map/lib/source-node.js +// node_modules/escodegen/node_modules/source-map/lib/source-node.js var require_source_node = __commonJS({ - "../testeranto/node_modules/source-map/lib/source-node.js"(exports) { + "node_modules/escodegen/node_modules/source-map/lib/source-node.js"(exports) { init_cjs_shim(); var SourceMapGenerator = require_source_map_generator().SourceMapGenerator; var util = require_util2(); @@ -16772,9 +16772,9 @@ var require_source_node = __commonJS({ } }); -// ../testeranto/node_modules/source-map/source-map.js +// node_modules/escodegen/node_modules/source-map/source-map.js var require_source_map = __commonJS({ - "../testeranto/node_modules/source-map/source-map.js"(exports) { + "node_modules/escodegen/node_modules/source-map/source-map.js"(exports) { init_cjs_shim(); exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator; exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer; @@ -16782,9 +16782,9 @@ var require_source_map = __commonJS({ } }); -// ../testeranto/node_modules/escodegen/package.json +// node_modules/escodegen/package.json var require_package = __commonJS({ - "../testeranto/node_modules/escodegen/package.json"(exports, module) { + "node_modules/escodegen/package.json"(exports, module) { module.exports = { name: "escodegen", description: "ECMAScript code generator", @@ -16851,9 +16851,9 @@ var require_package = __commonJS({ } }); -// ../testeranto/node_modules/escodegen/escodegen.js +// node_modules/escodegen/escodegen.js var require_escodegen = __commonJS({ - "../testeranto/node_modules/escodegen/escodegen.js"(exports) { + "node_modules/escodegen/escodegen.js"(exports) { init_cjs_shim(); (function() { "use strict"; @@ -18936,9 +18936,9 @@ var require_escodegen = __commonJS({ } }); -// ../testeranto/node_modules/esprima/dist/esprima.js +// node_modules/esprima/dist/esprima.js var require_esprima = __commonJS({ - "../testeranto/node_modules/esprima/dist/esprima.js"(exports, module) { + "node_modules/esprima/dist/esprima.js"(exports, module) { init_cjs_shim(); (function webpackUniversalModuleDefinition(root, factory) { if (typeof exports === "object" && typeof module === "object") @@ -25173,7 +25173,7 @@ var require_esprima = __commonJS({ } }); -// ../testeranto/node_modules/tslib/tslib.es6.mjs +// node_modules/tslib/tslib.es6.mjs var tslib_es6_exports = {}; __export(tslib_es6_exports, { __addDisposableResource: () => __addDisposableResource5, @@ -25674,7 +25674,7 @@ function __rewriteRelativeImportExtension(path10, preserveJsx) { } var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default; var init_tslib_es6 = __esm({ - "../testeranto/node_modules/tslib/tslib.es6.mjs"() { + "node_modules/tslib/tslib.es6.mjs"() { init_cjs_shim(); extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { @@ -25769,9 +25769,9 @@ var init_tslib_es6 = __esm({ } }); -// ../testeranto/node_modules/ast-types/lib/types.js +// node_modules/ast-types/lib/types.js var require_types = __commonJS({ - "../testeranto/node_modules/ast-types/lib/types.js"(exports) { + "node_modules/ast-types/lib/types.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -26455,9 +26455,9 @@ var require_types = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/lib/path.js +// node_modules/ast-types/lib/path.js var require_path = __commonJS({ - "../testeranto/node_modules/ast-types/lib/path.js"(exports, module) { + "node_modules/ast-types/lib/path.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -26759,9 +26759,9 @@ var require_path = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/lib/scope.js +// node_modules/ast-types/lib/scope.js var require_scope = __commonJS({ - "../testeranto/node_modules/ast-types/lib/scope.js"(exports, module) { + "node_modules/ast-types/lib/scope.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -27022,9 +27022,9 @@ var require_scope = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/lib/node-path.js +// node_modules/ast-types/lib/node-path.js var require_node_path = __commonJS({ - "../testeranto/node_modules/ast-types/lib/node-path.js"(exports, module) { + "node_modules/ast-types/lib/node-path.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -27378,9 +27378,9 @@ var require_node_path = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/lib/path-visitor.js +// node_modules/ast-types/lib/path-visitor.js var require_path_visitor = __commonJS({ - "../testeranto/node_modules/ast-types/lib/path-visitor.js"(exports, module) { + "node_modules/ast-types/lib/path-visitor.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -27673,9 +27673,9 @@ var require_path_visitor = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/lib/equiv.js +// node_modules/ast-types/lib/equiv.js var require_equiv = __commonJS({ - "../testeranto/node_modules/ast-types/lib/equiv.js"(exports, module) { + "node_modules/ast-types/lib/equiv.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -27825,9 +27825,9 @@ var require_equiv = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/fork.js +// node_modules/ast-types/fork.js var require_fork = __commonJS({ - "../testeranto/node_modules/ast-types/fork.js"(exports, module) { + "node_modules/ast-types/fork.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -27884,9 +27884,9 @@ var require_fork = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/lib/shared.js +// node_modules/ast-types/lib/shared.js var require_shared = __commonJS({ - "../testeranto/node_modules/ast-types/lib/shared.js"(exports, module) { + "node_modules/ast-types/lib/shared.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -27946,9 +27946,9 @@ var require_shared = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/core.js +// node_modules/ast-types/def/core.js var require_core = __commonJS({ - "../testeranto/node_modules/ast-types/def/core.js"(exports, module) { + "node_modules/ast-types/def/core.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28077,9 +28077,9 @@ var require_core = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/es6.js +// node_modules/ast-types/def/es6.js var require_es6 = __commonJS({ - "../testeranto/node_modules/ast-types/def/es6.js"(exports, module) { + "node_modules/ast-types/def/es6.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28143,9 +28143,9 @@ var require_es6 = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/es7.js +// node_modules/ast-types/def/es7.js var require_es7 = __commonJS({ - "../testeranto/node_modules/ast-types/def/es7.js"(exports, module) { + "node_modules/ast-types/def/es7.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28171,9 +28171,9 @@ var require_es7 = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/es2020.js +// node_modules/ast-types/def/es2020.js var require_es2020 = __commonJS({ - "../testeranto/node_modules/ast-types/def/es2020.js"(exports, module) { + "node_modules/ast-types/def/es2020.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28191,9 +28191,9 @@ var require_es2020 = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/jsx.js +// node_modules/ast-types/def/jsx.js var require_jsx = __commonJS({ - "../testeranto/node_modules/ast-types/def/jsx.js"(exports, module) { + "node_modules/ast-types/def/jsx.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28257,9 +28257,9 @@ var require_jsx = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/type-annotations.js +// node_modules/ast-types/def/type-annotations.js var require_type_annotations = __commonJS({ - "../testeranto/node_modules/ast-types/def/type-annotations.js"(exports, module) { + "node_modules/ast-types/def/type-annotations.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28289,9 +28289,9 @@ var require_type_annotations = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/flow.js +// node_modules/ast-types/def/flow.js var require_flow = __commonJS({ - "../testeranto/node_modules/ast-types/def/flow.js"(exports, module) { + "node_modules/ast-types/def/flow.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28386,9 +28386,9 @@ var require_flow = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/esprima.js +// node_modules/ast-types/def/esprima.js var require_esprima2 = __commonJS({ - "../testeranto/node_modules/ast-types/def/esprima.js"(exports, module) { + "node_modules/ast-types/def/esprima.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28446,9 +28446,9 @@ var require_esprima2 = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/babel-core.js +// node_modules/ast-types/def/babel-core.js var require_babel_core = __commonJS({ - "../testeranto/node_modules/ast-types/def/babel-core.js"(exports, module) { + "node_modules/ast-types/def/babel-core.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28571,9 +28571,9 @@ var require_babel_core = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/babel.js +// node_modules/ast-types/def/babel.js var require_babel = __commonJS({ - "../testeranto/node_modules/ast-types/def/babel.js"(exports, module) { + "node_modules/ast-types/def/babel.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28589,9 +28589,9 @@ var require_babel = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/typescript.js +// node_modules/ast-types/def/typescript.js var require_typescript = __commonJS({ - "../testeranto/node_modules/ast-types/def/typescript.js"(exports, module) { + "node_modules/ast-types/def/typescript.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28749,9 +28749,9 @@ var require_typescript = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/def/es-proposals.js +// node_modules/ast-types/def/es-proposals.js var require_es_proposals = __commonJS({ - "../testeranto/node_modules/ast-types/def/es-proposals.js"(exports, module) { + "node_modules/ast-types/def/es-proposals.js"(exports, module) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28777,9 +28777,9 @@ var require_es_proposals = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/gen/namedTypes.js +// node_modules/ast-types/gen/namedTypes.js var require_namedTypes = __commonJS({ - "../testeranto/node_modules/ast-types/gen/namedTypes.js"(exports) { + "node_modules/ast-types/gen/namedTypes.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28790,9 +28790,9 @@ var require_namedTypes = __commonJS({ } }); -// ../testeranto/node_modules/ast-types/main.js +// node_modules/ast-types/main.js var require_main = __commonJS({ - "../testeranto/node_modules/ast-types/main.js"(exports) { + "node_modules/ast-types/main.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28868,9 +28868,9 @@ var require_main = __commonJS({ } }); -// ../testeranto/node_modules/degenerator/dist/degenerator.js +// node_modules/degenerator/dist/degenerator.js var require_degenerator = __commonJS({ - "../testeranto/node_modules/degenerator/dist/degenerator.js"(exports) { + "node_modules/degenerator/dist/degenerator.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -28984,9 +28984,9 @@ var require_degenerator = __commonJS({ } }); -// ../testeranto/node_modules/degenerator/dist/compile.js +// node_modules/degenerator/dist/compile.js var require_compile = __commonJS({ - "../testeranto/node_modules/degenerator/dist/compile.js"(exports) { + "node_modules/degenerator/dist/compile.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29080,9 +29080,9 @@ ${err.cause.stack}`; } }); -// ../testeranto/node_modules/degenerator/dist/index.js +// node_modules/degenerator/dist/index.js var require_dist7 = __commonJS({ - "../testeranto/node_modules/degenerator/dist/index.js"(exports) { + "node_modules/degenerator/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -29111,9 +29111,9 @@ var require_dist7 = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/dateRange.js +// node_modules/pac-resolver/dist/dateRange.js var require_dateRange = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/dateRange.js"(exports) { + "node_modules/pac-resolver/dist/dateRange.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29124,9 +29124,9 @@ var require_dateRange = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/dnsDomainIs.js +// node_modules/pac-resolver/dist/dnsDomainIs.js var require_dnsDomainIs = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/dnsDomainIs.js"(exports) { + "node_modules/pac-resolver/dist/dnsDomainIs.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29139,9 +29139,9 @@ var require_dnsDomainIs = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/dnsDomainLevels.js +// node_modules/pac-resolver/dist/dnsDomainLevels.js var require_dnsDomainLevels = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/dnsDomainLevels.js"(exports) { + "node_modules/pac-resolver/dist/dnsDomainLevels.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29157,9 +29157,9 @@ var require_dnsDomainLevels = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/util.js +// node_modules/pac-resolver/dist/util.js var require_util3 = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/util.js"(exports) { + "node_modules/pac-resolver/dist/util.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29184,9 +29184,9 @@ var require_util3 = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/dnsResolve.js +// node_modules/pac-resolver/dist/dnsResolve.js var require_dnsResolve = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/dnsResolve.js"(exports) { + "node_modules/pac-resolver/dist/dnsResolve.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29206,9 +29206,9 @@ var require_dnsResolve = __commonJS({ } }); -// ../testeranto/node_modules/netmask/lib/netmask.js +// node_modules/netmask/lib/netmask.js var require_netmask = __commonJS({ - "../testeranto/node_modules/netmask/lib/netmask.js"(exports) { + "node_modules/netmask/lib/netmask.js"(exports) { init_cjs_shim(); (function() { var Netmask, atob2, chr, chr0, chrA, chra, ip2long, long2ip; @@ -29402,9 +29402,9 @@ var require_netmask = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/isInNet.js +// node_modules/pac-resolver/dist/isInNet.js var require_isInNet = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/isInNet.js"(exports) { + "node_modules/pac-resolver/dist/isInNet.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29426,9 +29426,9 @@ var require_isInNet = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/isPlainHostName.js +// node_modules/pac-resolver/dist/isPlainHostName.js var require_isPlainHostName = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/isPlainHostName.js"(exports) { + "node_modules/pac-resolver/dist/isPlainHostName.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29439,9 +29439,9 @@ var require_isPlainHostName = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/isResolvable.js +// node_modules/pac-resolver/dist/isResolvable.js var require_isResolvable = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/isResolvable.js"(exports) { + "node_modules/pac-resolver/dist/isResolvable.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29460,9 +29460,9 @@ var require_isResolvable = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/localHostOrDomainIs.js +// node_modules/pac-resolver/dist/localHostOrDomainIs.js var require_localHostOrDomainIs = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/localHostOrDomainIs.js"(exports) { + "node_modules/pac-resolver/dist/localHostOrDomainIs.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29482,9 +29482,9 @@ var require_localHostOrDomainIs = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/ip.js +// node_modules/pac-resolver/dist/ip.js var require_ip = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/ip.js"(exports) { + "node_modules/pac-resolver/dist/ip.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -29532,9 +29532,9 @@ var require_ip = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/myIpAddress.js +// node_modules/pac-resolver/dist/myIpAddress.js var require_myIpAddress = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/myIpAddress.js"(exports) { + "node_modules/pac-resolver/dist/myIpAddress.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -29568,9 +29568,9 @@ var require_myIpAddress = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/shExpMatch.js +// node_modules/pac-resolver/dist/shExpMatch.js var require_shExpMatch = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/shExpMatch.js"(exports) { + "node_modules/pac-resolver/dist/shExpMatch.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29586,9 +29586,9 @@ var require_shExpMatch = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/timeRange.js +// node_modules/pac-resolver/dist/timeRange.js var require_timeRange = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/timeRange.js"(exports) { + "node_modules/pac-resolver/dist/timeRange.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29634,9 +29634,9 @@ var require_timeRange = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/weekdayRange.js +// node_modules/pac-resolver/dist/weekdayRange.js var require_weekdayRange = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/weekdayRange.js"(exports) { + "node_modules/pac-resolver/dist/weekdayRange.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29683,9 +29683,9 @@ var require_weekdayRange = __commonJS({ } }); -// ../testeranto/node_modules/pac-resolver/dist/index.js +// node_modules/pac-resolver/dist/index.js var require_dist8 = __commonJS({ - "../testeranto/node_modules/pac-resolver/dist/index.js"(exports) { + "node_modules/pac-resolver/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __importDefault2 = exports && exports.__importDefault || function(mod) { @@ -29762,9 +29762,9 @@ var require_dist8 = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +// node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js var require_esmHelpers = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29781,9 +29781,9 @@ var require_esmHelpers = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +// node_modules/@tootallnate/quickjs-emscripten/dist/debug.js var require_debug2 = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/debug.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29794,9 +29794,9 @@ var require_debug2 = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +// node_modules/@tootallnate/quickjs-emscripten/dist/errors.js var require_errors = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/errors.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29855,9 +29855,9 @@ var require_errors = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +// node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js var require_asyncify_helpers = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -29898,9 +29898,9 @@ var require_asyncify_helpers = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +// node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js var require_lifetime = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -30106,9 +30106,9 @@ Lifetime used`); } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +// node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js var require_deferred_promise = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -30167,9 +30167,9 @@ var require_deferred_promise = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +// node_modules/@tootallnate/quickjs-emscripten/dist/memory.js var require_memory = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/memory.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -30211,9 +30211,9 @@ var require_memory = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +// node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js var require_types_ffi = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -30254,9 +30254,9 @@ var require_types_ffi = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +// node_modules/@tootallnate/quickjs-emscripten/dist/types.js var require_types2 = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/types.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/types.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -30301,9 +30301,9 @@ var require_types2 = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +// node_modules/@tootallnate/quickjs-emscripten/dist/context.js var require_context = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/context.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/context.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -30902,9 +30902,9 @@ ${cause.stack}Host: ${hostStack}`; } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +// node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js var require_runtime = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -31173,9 +31173,9 @@ var require_runtime = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +// node_modules/@tootallnate/quickjs-emscripten/dist/module.js var require_module = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/module.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/module.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -31438,9 +31438,9 @@ Attempted to suspend at:`); } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +// node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js var require_context_asyncify = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -31490,9 +31490,9 @@ var require_context_asyncify = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +// node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js var require_runtime_asyncify = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -31545,9 +31545,9 @@ var require_runtime_asyncify = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +// node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js var require_module_asyncify = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -31633,9 +31633,9 @@ var require_module_asyncify = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +// node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js var require_ffi_WASM_RELEASE_SYNC = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -31702,9 +31702,9 @@ var require_ffi_WASM_RELEASE_SYNC = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +// node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js var require_emscripten_module_WASM_RELEASE_SYNC = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js"(exports, module) { + "node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js"(exports, module) { "use strict"; init_cjs_shim(); var QuickJSRaw = (() => { @@ -32441,9 +32441,9 @@ var require_emscripten_module_WASM_RELEASE_SYNC = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +// node_modules/@tootallnate/quickjs-emscripten/dist/variants.js var require_variants = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/variants.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -32553,9 +32553,9 @@ var require_variants = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +// node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js var require_vm_interface = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -32571,9 +32571,9 @@ var require_vm_interface = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +// node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js var require_module_test = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js"(exports) { "use strict"; init_cjs_shim(); Object.defineProperty(exports, "__esModule", { value: true }); @@ -32642,9 +32642,9 @@ var require_module_test = __commonJS({ } }); -// ../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +// node_modules/@tootallnate/quickjs-emscripten/dist/index.js var require_dist9 = __commonJS({ - "../testeranto/node_modules/@tootallnate/quickjs-emscripten/dist/index.js"(exports) { + "node_modules/@tootallnate/quickjs-emscripten/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -32747,9 +32747,9 @@ var require_dist9 = __commonJS({ } }); -// ../testeranto/node_modules/pac-proxy-agent/dist/index.js +// node_modules/pac-proxy-agent/dist/index.js var require_dist10 = __commonJS({ - "../testeranto/node_modules/pac-proxy-agent/dist/index.js"(exports) { + "node_modules/pac-proxy-agent/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -32968,9 +32968,9 @@ var require_dist10 = __commonJS({ } }); -// ../testeranto/node_modules/proxy-agent/dist/index.js +// node_modules/proxy-agent/dist/index.js var require_dist11 = __commonJS({ - "../testeranto/node_modules/proxy-agent/dist/index.js"(exports) { + "node_modules/proxy-agent/dist/index.js"(exports) { "use strict"; init_cjs_shim(); var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) { @@ -33094,9 +33094,9 @@ var require_dist11 = __commonJS({ } }); -// ../testeranto/node_modules/wrappy/wrappy.js +// node_modules/wrappy/wrappy.js var require_wrappy = __commonJS({ - "../testeranto/node_modules/wrappy/wrappy.js"(exports, module) { + "node_modules/wrappy/wrappy.js"(exports, module) { init_cjs_shim(); module.exports = wrappy; function wrappy(fn, cb) { @@ -33126,9 +33126,9 @@ var require_wrappy = __commonJS({ } }); -// ../testeranto/node_modules/once/once.js +// node_modules/once/once.js var require_once = __commonJS({ - "../testeranto/node_modules/once/once.js"(exports, module) { + "node_modules/once/once.js"(exports, module) { init_cjs_shim(); var wrappy = require_wrappy(); module.exports = wrappy(once); @@ -33172,9 +33172,9 @@ var require_once = __commonJS({ } }); -// ../testeranto/node_modules/end-of-stream/index.js +// node_modules/end-of-stream/index.js var require_end_of_stream = __commonJS({ - "../testeranto/node_modules/end-of-stream/index.js"(exports, module) { + "node_modules/end-of-stream/index.js"(exports, module) { init_cjs_shim(); var once = require_once(); var noop = function() { @@ -33268,9 +33268,9 @@ var require_end_of_stream = __commonJS({ } }); -// ../testeranto/node_modules/pump/index.js +// node_modules/pump/index.js var require_pump = __commonJS({ - "../testeranto/node_modules/pump/index.js"(exports, module) { + "node_modules/pump/index.js"(exports, module) { init_cjs_shim(); var once = require_once(); var eos = require_end_of_stream(); @@ -33357,9 +33357,9 @@ var require_pump = __commonJS({ } }); -// ../testeranto/node_modules/get-stream/buffer-stream.js +// node_modules/get-stream/buffer-stream.js var require_buffer_stream = __commonJS({ - "../testeranto/node_modules/get-stream/buffer-stream.js"(exports, module) { + "node_modules/get-stream/buffer-stream.js"(exports, module) { "use strict"; init_cjs_shim(); var { PassThrough: PassThroughStream } = __require("stream"); @@ -33403,9 +33403,9 @@ var require_buffer_stream = __commonJS({ } }); -// ../testeranto/node_modules/get-stream/index.js +// node_modules/get-stream/index.js var require_get_stream = __commonJS({ - "../testeranto/node_modules/get-stream/index.js"(exports, module) { + "node_modules/get-stream/index.js"(exports, module) { "use strict"; init_cjs_shim(); var { constants: BufferConstants } = __require("buffer"); @@ -33457,9 +33457,9 @@ var require_get_stream = __commonJS({ } }); -// ../testeranto/node_modules/pend/index.js +// node_modules/pend/index.js var require_pend = __commonJS({ - "../testeranto/node_modules/pend/index.js"(exports, module) { + "node_modules/pend/index.js"(exports, module) { init_cjs_shim(); module.exports = Pend; function Pend() { @@ -33514,9 +33514,9 @@ var require_pend = __commonJS({ } }); -// ../testeranto/node_modules/fd-slicer/index.js +// node_modules/fd-slicer/index.js var require_fd_slicer = __commonJS({ - "../testeranto/node_modules/fd-slicer/index.js"(exports) { + "node_modules/fd-slicer/index.js"(exports) { init_cjs_shim(); var fs6 = __require("fs"); var util = __require("util"); @@ -33783,9 +33783,9 @@ var require_fd_slicer = __commonJS({ } }); -// ../testeranto/node_modules/buffer-crc32/index.js +// node_modules/buffer-crc32/index.js var require_buffer_crc32 = __commonJS({ - "../testeranto/node_modules/buffer-crc32/index.js"(exports, module) { + "node_modules/buffer-crc32/index.js"(exports, module) { init_cjs_shim(); var Buffer2 = __require("buffer").Buffer; var CRC_TABLE = [ @@ -34091,9 +34091,9 @@ var require_buffer_crc32 = __commonJS({ } }); -// ../testeranto/node_modules/yauzl/index.js +// node_modules/yauzl/index.js var require_yauzl = __commonJS({ - "../testeranto/node_modules/yauzl/index.js"(exports) { + "node_modules/yauzl/index.js"(exports) { init_cjs_shim(); var fs6 = __require("fs"); var zlib = __require("zlib"); @@ -34793,9 +34793,9 @@ var require_yauzl = __commonJS({ } }); -// ../testeranto/node_modules/extract-zip/index.js +// node_modules/extract-zip/index.js var require_extract_zip = __commonJS({ - "../testeranto/node_modules/extract-zip/index.js"(exports, module) { + "node_modules/extract-zip/index.js"(exports, module) { init_cjs_shim(); var debug5 = require_src()("extract-zip"); var { createWriteStream, promises: fs6 } = __require("fs"); @@ -34932,25 +34932,25 @@ var require_extract_zip = __commonJS({ } }); -// ../testeranto/node_modules/queue-tick/queue-microtask.js +// node_modules/queue-tick/queue-microtask.js var require_queue_microtask = __commonJS({ - "../testeranto/node_modules/queue-tick/queue-microtask.js"(exports, module) { + "node_modules/queue-tick/queue-microtask.js"(exports, module) { init_cjs_shim(); module.exports = typeof queueMicrotask === "function" ? queueMicrotask : (fn) => Promise.resolve().then(fn); } }); -// ../testeranto/node_modules/queue-tick/process-next-tick.js +// node_modules/queue-tick/process-next-tick.js var require_process_next_tick = __commonJS({ - "../testeranto/node_modules/queue-tick/process-next-tick.js"(exports, module) { + "node_modules/queue-tick/process-next-tick.js"(exports, module) { init_cjs_shim(); module.exports = typeof process !== "undefined" && typeof process.nextTick === "function" ? process.nextTick.bind(process) : require_queue_microtask(); } }); -// ../testeranto/node_modules/fast-fifo/fixed-size.js +// node_modules/fast-fifo/fixed-size.js var require_fixed_size = __commonJS({ - "../testeranto/node_modules/fast-fifo/fixed-size.js"(exports, module) { + "node_modules/fast-fifo/fixed-size.js"(exports, module) { init_cjs_shim(); module.exports = class FixedFIFO { constructor(hwm) { @@ -34992,9 +34992,9 @@ var require_fixed_size = __commonJS({ } }); -// ../testeranto/node_modules/fast-fifo/index.js +// node_modules/fast-fifo/index.js var require_fast_fifo = __commonJS({ - "../testeranto/node_modules/fast-fifo/index.js"(exports, module) { + "node_modules/fast-fifo/index.js"(exports, module) { init_cjs_shim(); var FixedFIFO = require_fixed_size(); module.exports = class FastFIFO { @@ -35042,9 +35042,9 @@ var require_fast_fifo = __commonJS({ } }); -// ../testeranto/node_modules/text-decoder/lib/pass-through-decoder.js +// node_modules/text-decoder/lib/pass-through-decoder.js var require_pass_through_decoder = __commonJS({ - "../testeranto/node_modules/text-decoder/lib/pass-through-decoder.js"(exports, module) { + "node_modules/text-decoder/lib/pass-through-decoder.js"(exports, module) { init_cjs_shim(); module.exports = class PassThroughDecoder { constructor(encoding) { @@ -35063,9 +35063,9 @@ var require_pass_through_decoder = __commonJS({ } }); -// ../testeranto/node_modules/text-decoder/lib/utf8-decoder.js +// node_modules/text-decoder/lib/utf8-decoder.js var require_utf8_decoder = __commonJS({ - "../testeranto/node_modules/text-decoder/lib/utf8-decoder.js"(exports, module) { + "node_modules/text-decoder/lib/utf8-decoder.js"(exports, module) { init_cjs_shim(); module.exports = class UTF8Decoder { constructor() { @@ -35153,9 +35153,9 @@ var require_utf8_decoder = __commonJS({ } }); -// ../testeranto/node_modules/text-decoder/index.js +// node_modules/text-decoder/index.js var require_text_decoder = __commonJS({ - "../testeranto/node_modules/text-decoder/index.js"(exports, module) { + "node_modules/text-decoder/index.js"(exports, module) { init_cjs_shim(); var PassThroughDecoder = require_pass_through_decoder(); var UTF8Decoder = require_utf8_decoder(); @@ -35218,9 +35218,9 @@ var require_text_decoder = __commonJS({ } }); -// ../testeranto/node_modules/streamx/index.js +// node_modules/streamx/index.js var require_streamx = __commonJS({ - "../testeranto/node_modules/streamx/index.js"(exports, module) { + "node_modules/streamx/index.js"(exports, module) { init_cjs_shim(); var { EventEmitter: EventEmitter2 } = __require("events"); var STREAM_DESTROYED = new Error("Stream was destroyed"); @@ -35313,6 +35313,7 @@ var require_streamx = __commonJS({ var WRITE_BACKPRESSURE_STATUS = WRITE_UNDRAINED | DESTROY_STATUS | WRITE_FINISHING | WRITE_DONE; var WRITE_UPDATE_SYNC_STATUS = WRITE_UPDATING | OPEN_STATUS | WRITE_NEXT_TICK | WRITE_PRIMARY; var WRITE_DROP_DATA = WRITE_FINISHING | WRITE_DONE | DESTROY_STATUS; + var DISTURBED_STATUS = OPEN_STATUS | READ_RESUMED_READ_AHEAD | WRITE_QUEUED; var asyncIterator = Symbol.asyncIterator || Symbol("asyncIterator"); var WritableState = class { constructor(stream, { highWaterMark = 16384, map: map2 = null, mapWritable, byteLength, byteLengthWritable } = {}) { @@ -36231,6 +36232,9 @@ var require_streamx = __commonJS({ function isReadStreamx(stream) { return isStreamx(stream) && stream.readable; } + function isDisturbed(stream) { + return (stream._duplexState & DISTURBED_STATUS) !== OPENING; + } function isTypedArray(data) { return typeof data === "object" && data !== null && typeof data.byteLength === "number"; } @@ -36250,6 +36254,7 @@ var require_streamx = __commonJS({ pipelinePromise, isStream, isStreamx, + isDisturbed, isEnded, isFinished, getStreamError, @@ -36264,9 +36269,9 @@ var require_streamx = __commonJS({ } }); -// ../testeranto/node_modules/b4a/index.js +// node_modules/b4a/index.js var require_b4a = __commonJS({ - "../testeranto/node_modules/b4a/index.js"(exports, module) { + "node_modules/b4a/index.js"(exports, module) { init_cjs_shim(); function isBuffer(value) { return Buffer.isBuffer(value) || value instanceof Uint8Array; @@ -36423,9 +36428,9 @@ var require_b4a = __commonJS({ } }); -// ../testeranto/node_modules/tar-stream/headers.js +// node_modules/tar-stream/headers.js var require_headers = __commonJS({ - "../testeranto/node_modules/tar-stream/headers.js"(exports) { + "node_modules/tar-stream/headers.js"(exports) { init_cjs_shim(); var b4a = require_b4a(); var ZEROS = "0000000000000000000"; @@ -36720,9 +36725,9 @@ var require_headers = __commonJS({ } }); -// ../testeranto/node_modules/tar-stream/extract.js +// node_modules/tar-stream/extract.js var require_extract = __commonJS({ - "../testeranto/node_modules/tar-stream/extract.js"(exports, module) { + "node_modules/tar-stream/extract.js"(exports, module) { init_cjs_shim(); var { Writable, Readable, getStreamError } = require_streamx(); var FIFO = require_fast_fifo(); @@ -37080,9 +37085,9 @@ var require_extract = __commonJS({ } }); -// ../testeranto/node_modules/tar-stream/constants.js +// node_modules/tar-stream/constants.js var require_constants5 = __commonJS({ - "../testeranto/node_modules/tar-stream/constants.js"(exports, module) { + "node_modules/tar-stream/constants.js"(exports, module) { init_cjs_shim(); var constants = { // just for envs without fs @@ -37101,9 +37106,9 @@ var require_constants5 = __commonJS({ } }); -// ../testeranto/node_modules/tar-stream/pack.js +// node_modules/tar-stream/pack.js var require_pack = __commonJS({ - "../testeranto/node_modules/tar-stream/pack.js"(exports, module) { + "node_modules/tar-stream/pack.js"(exports, module) { init_cjs_shim(); var { Readable, Writable, getStreamError } = require_streamx(); var b4a = require_b4a(); @@ -37361,18 +37366,18 @@ var require_pack = __commonJS({ } }); -// ../testeranto/node_modules/tar-stream/index.js +// node_modules/tar-stream/index.js var require_tar_stream = __commonJS({ - "../testeranto/node_modules/tar-stream/index.js"(exports) { + "node_modules/tar-stream/index.js"(exports) { init_cjs_shim(); exports.extract = require_extract(); exports.pack = require_pack(); } }); -// ../testeranto/node_modules/tar-fs/index.js +// node_modules/tar-fs/index.js var require_tar_fs = __commonJS({ - "../testeranto/node_modules/tar-fs/index.js"(exports) { + "node_modules/tar-fs/index.js"(exports) { init_cjs_shim(); var tar2 = require_tar_stream(); var pump = require_pump(); @@ -37716,9 +37721,9 @@ var require_tar_fs = __commonJS({ } }); -// ../testeranto/node_modules/through/index.js +// node_modules/through/index.js var require_through = __commonJS({ - "../testeranto/node_modules/through/index.js"(exports, module) { + "node_modules/through/index.js"(exports, module) { init_cjs_shim(); var Stream = __require("stream"); exports = module.exports = through; @@ -37810,9 +37815,9 @@ var require_through = __commonJS({ } }); -// ../testeranto/node_modules/unbzip2-stream/lib/bzip2.js +// node_modules/unbzip2-stream/lib/bzip2.js var require_bzip2 = __commonJS({ - "../testeranto/node_modules/unbzip2-stream/lib/bzip2.js"(exports, module) { + "node_modules/unbzip2-stream/lib/bzip2.js"(exports, module) { init_cjs_shim(); function Bzip2Error(message2) { this.name = "Bzip2Error"; @@ -38355,9 +38360,9 @@ var require_bzip2 = __commonJS({ } }); -// ../testeranto/node_modules/unbzip2-stream/lib/bit_iterator.js +// node_modules/unbzip2-stream/lib/bit_iterator.js var require_bit_iterator = __commonJS({ - "../testeranto/node_modules/unbzip2-stream/lib/bit_iterator.js"(exports, module) { + "node_modules/unbzip2-stream/lib/bit_iterator.js"(exports, module) { init_cjs_shim(); var BITMASK = [0, 1, 3, 7, 15, 31, 63, 127, 255]; module.exports = function bitIterator(nextBuffer) { @@ -38398,9 +38403,9 @@ var require_bit_iterator = __commonJS({ } }); -// ../testeranto/node_modules/unbzip2-stream/index.js +// node_modules/unbzip2-stream/index.js var require_unbzip2_stream = __commonJS({ - "../testeranto/node_modules/unbzip2-stream/index.js"(exports, module) { + "node_modules/unbzip2-stream/index.js"(exports, module) { init_cjs_shim(); var through = require_through(); var bz2 = require_bzip2(); @@ -38482,9 +38487,9 @@ var require_unbzip2_stream = __commonJS({ } }); -// ../testeranto/node_modules/progress/lib/node-progress.js +// node_modules/progress/lib/node-progress.js var require_node_progress = __commonJS({ - "../testeranto/node_modules/progress/lib/node-progress.js"(exports, module) { + "node_modules/progress/lib/node-progress.js"(exports, module) { init_cjs_shim(); exports = module.exports = ProgressBar2; function ProgressBar2(fmt, options) { @@ -38603,30 +38608,30 @@ var require_node_progress = __commonJS({ } }); -// ../testeranto/node_modules/progress/index.js +// node_modules/progress/index.js var require_progress = __commonJS({ - "../testeranto/node_modules/progress/index.js"(exports, module) { + "node_modules/progress/index.js"(exports, module) { init_cjs_shim(); module.exports = require_node_progress(); } }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +// node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +// node_modules/puppeteer-core/lib/esm/puppeteer/index.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +// node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js init_cjs_shim(); var __addDisposableResource = function(env2, value, async) { if (value !== null && value !== void 0) { @@ -38779,10 +38784,10 @@ var Binding = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js init_cjs_shim(); var __addDisposableResource2 = function(env2, value, async) { if (value !== null && value !== void 0) { @@ -38928,13 +38933,13 @@ var CdpBrowserContext = class extends BrowserContext { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ChromeTargetManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ChromeTargetManager.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CDPSession.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CDPSession.js init_cjs_shim(); var CdpCDPSession = class extends CDPSession { #sessionId; @@ -39035,10 +39040,10 @@ var CdpCDPSession = class extends CDPSession { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js init_cjs_shim(); var FileChooser = class { #element; @@ -39085,7 +39090,7 @@ var FileChooser = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js init_cjs_shim(); var NetworkManagerEvent; (function(NetworkManagerEvent2) { @@ -39096,7 +39101,7 @@ var NetworkManagerEvent; NetworkManagerEvent2.RequestFinished = Symbol("NetworkManager.RequestFinished"); })(NetworkManagerEvent || (NetworkManagerEvent = {})); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js init_cjs_shim(); var debugProtocolSend = debug("puppeteer:protocol:SEND \u25BA"); var debugProtocolReceive = debug("puppeteer:protocol:RECV \u25C0"); @@ -39291,7 +39296,7 @@ function isTargetClosedError(error) { return error instanceof TargetCloseError; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js init_cjs_shim(); var CdpDialog = class extends Dialog { #client; @@ -39307,7 +39312,7 @@ var CdpDialog = class extends Dialog { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FirefoxTargetManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FirefoxTargetManager.js init_cjs_shim(); var FirefoxTargetManager = class extends EventEmitter { #connection; @@ -39436,10 +39441,10 @@ var FirefoxTargetManager = class extends EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js init_cjs_shim(); var CdpPreloadScript = class { /** @@ -39472,7 +39477,7 @@ var CdpPreloadScript = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js init_cjs_shim(); var DeviceRequestPromptDevice = class { /** @@ -39651,16 +39656,16 @@ var DeviceRequestPromptManager = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js init_cjs_shim(); function createEvaluationError(details) { let name; @@ -39803,7 +39808,7 @@ function pageBindingInitString(type, name) { return evaluationString(addPageBinding, type, name, CDP_BINDING_PREFIX); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js var CdpJSHandle = class extends JSHandle { #disposed = false; #remoteObject; @@ -39885,7 +39890,7 @@ async function releaseObject(client, remoteObject) { }); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js var __runInitializers = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -40067,7 +40072,7 @@ var CdpElementHandle = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js var __addDisposableResource3 = function(env2, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") @@ -40487,10 +40492,10 @@ var rewriteError = (error) => { throw error; }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js init_cjs_shim(); var FrameManagerEvent; (function(FrameManagerEvent2) { @@ -40504,7 +40509,7 @@ var FrameManagerEvent; FrameManagerEvent2.BindingCalled = Symbol("FrameManager.BindingCalled"); })(FrameManagerEvent || (FrameManagerEvent = {})); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js init_cjs_shim(); var IsolatedWorld = class extends Realm { #context; @@ -40635,12 +40640,12 @@ var IsolatedWorld = class extends Realm { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js init_cjs_shim(); var MAIN_WORLD = Symbol("mainWorld"); var PUPPETEER_WORLD = Symbol("puppeteerWorld"); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js init_cjs_shim(); var puppeteerToProtocolLifecycle = /* @__PURE__ */ new Map([ ["load", "load"], @@ -40788,7 +40793,7 @@ var LifecycleWatcher = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js var __runInitializers2 = function(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { @@ -41117,7 +41122,7 @@ var CdpFrame = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js init_cjs_shim(); var FrameTree = class { #frames = /* @__PURE__ */ new Map(); @@ -41193,10 +41198,10 @@ var FrameTree = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js init_cjs_shim(); var CdpHTTPRequest = class extends HTTPRequest { id; @@ -41356,7 +41361,7 @@ var CdpHTTPRequest = class extends HTTPRequest { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js init_cjs_shim(); var CdpHTTPResponse = class extends HTTPResponse { #request; @@ -41467,7 +41472,7 @@ var CdpHTTPResponse = class extends HTTPResponse { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js init_cjs_shim(); var NetworkEventManager = class { /** @@ -41612,7 +41617,7 @@ var NetworkEventManager = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js var NetworkManager = class extends EventEmitter { #frameManager; #networkEventManager = new NetworkEventManager(); @@ -42035,7 +42040,7 @@ var NetworkManager = class extends EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js var TIME_FOR_WAITING_FOR_SWAP = 100; var FrameManager = class extends EventEmitter { #page; @@ -42421,10 +42426,10 @@ var FrameManager = class extends EventEmitter { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js init_cjs_shim(); var _keyDefinitions = { "0": { keyCode: 48, key: "0", code: "Digit0" }, @@ -42812,7 +42817,7 @@ var _keyDefinitions = { VolumeUp: { keyCode: 183, key: "VolumeUp", code: "VolumeUp", location: 4 } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js var CdpKeyboard = class extends Keyboard { #client; #pressedKeys = /* @__PURE__ */ new Set(); @@ -43280,7 +43285,7 @@ var CdpTouchscreen = class extends Touchscreen { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js init_cjs_shim(); var CdpWebWorker = class extends WebWorker { #world; @@ -43337,7 +43342,7 @@ var CdpWebWorker = class extends WebWorker { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js var __addDisposableResource4 = function(env2, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") @@ -44202,7 +44207,7 @@ function getIntersectionRect(clip, viewport) { }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js var InitializationStatus; (function(InitializationStatus2) { InitializationStatus2["SUCCESS"] = "success"; @@ -44427,7 +44432,7 @@ var WorkerTarget = class extends CdpTarget { var OtherTarget = class extends CdpTarget { }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ChromeTargetManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ChromeTargetManager.js function isPageTargetBecomingPrimary(target, newTargetInfo) { return Boolean(target._subtype()) && !newTargetInfo.subtype; } @@ -44686,7 +44691,7 @@ var ChromeTargetManager = class extends EventEmitter { }; }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js var CdpBrowser = class extends Browser { protocol = "cdp"; static async _create(product, connection, contextIds, acceptInsecureCerts, defaultViewport, downloadBehavior, process2, closeCallback, targetFilterCallback, isPageTargetCallback, waitForInitiallyDiscoveredTargets = true) { @@ -44907,7 +44912,7 @@ var CdpBrowser = class extends Browser { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js init_cjs_shim(); async function _connectToCdpBrowser(connectionTransport, url, options) { const { acceptInsecureCerts = false, defaultViewport = DEFAULT_VIEWPORT, downloadBehavior, targetFilter, _isPageTarget: isPageTarget, slowMo = 0, protocolTimeout } = options; @@ -44921,10 +44926,10 @@ async function _connectToCdpBrowser(connectionTransport, url, options) { return browser; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js init_cjs_shim(); var PredefinedNetworkConditions = Object.freeze({ // Generally aligned with DevTools @@ -44965,13 +44970,13 @@ var PredefinedNetworkConditions = Object.freeze({ } }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +// node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js init_cjs_shim(); var knownDevices = [ { @@ -46553,20 +46558,20 @@ for (const device of knownDevices) { } var KnownDevices = Object.freeze(knownDevicesByName); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +// node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js init_cjs_shim(); async function _connectToBiDiBrowser(connectionTransport, url, options) { const { acceptInsecureCerts = false, defaultViewport = DEFAULT_VIEWPORT } = options; const { bidiConnection, cdpConnection, closeCallback } = await getBiDiConnection(connectionTransport, url, options); const BiDi = await import( /* webpackIgnore: true */ - "./bidi-2I2CA3WT.mjs" + "./bidi-COHEKL2Q.mjs" ); const bidiBrowser = await BiDi.BidiBrowser.create({ connection: bidiConnection, @@ -46582,7 +46587,7 @@ async function _connectToBiDiBrowser(connectionTransport, url, options) { async function getBiDiConnection(connectionTransport, url, options) { const BiDi = await import( /* webpackIgnore: true */ - "./bidi-2I2CA3WT.mjs" + "./bidi-COHEKL2Q.mjs" ); const { slowMo = 0, protocolTimeout } = options; const pureBidiConnection = new BiDi.BidiConnection(url, connectionTransport, slowMo, protocolTimeout); @@ -46617,9 +46622,9 @@ async function getBiDiConnection(connectionTransport, url, options) { }; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js var getWebSocketTransportClass = async () => { - return isNode ? (await import("./NodeWebSocketTransport-UA4FKYLF.mjs")).NodeWebSocketTransport : (await import("./BrowserWebSocketTransport-VT34BAS5.mjs")).BrowserWebSocketTransport; + return isNode ? (await import("./NodeWebSocketTransport-DL6OUWEF.mjs")).NodeWebSocketTransport : (await import("./BrowserWebSocketTransport-T7EHS33P.mjs")).BrowserWebSocketTransport; }; async function _connectToBrowser(options) { const { connectionTransport, endpointUrl } = await getConnectionTransport(options); @@ -46673,7 +46678,7 @@ async function getWSEndpoint(browserURL) { } } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js var Puppeteer = class { /** * Registers a {@link CustomQueryHandler | custom query handler}. @@ -46755,10 +46760,10 @@ var Puppeteer = class { */ __publicField(Puppeteer, "customQueryHandlers", customQueryHandlers); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +// node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js init_cjs_shim(); var PUPPETEER_REVISIONS = Object.freeze({ chrome: "131.0.6778.85", @@ -46766,36 +46771,36 @@ var PUPPETEER_REVISIONS = Object.freeze({ firefox: "stable_132.0.2" }); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +// node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/node.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/node.js init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js init_cjs_shim(); import { mkdtemp } from "fs/promises"; import os5 from "os"; import path7 from "path"; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/main.js +// node_modules/@puppeteer/browsers/lib/esm/main.js init_cjs_shim(); -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/launch.js +// node_modules/@puppeteer/browsers/lib/esm/launch.js init_cjs_shim(); import childProcess from "child_process"; import { accessSync } from "fs"; import os3 from "os"; import readline from "readline"; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js init_cjs_shim(); -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js init_cjs_shim(); import path2 from "path"; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js init_cjs_shim(); var Browser2; (function(Browser3) { @@ -46832,12 +46837,12 @@ var ChromeReleaseChannel; ChromeReleaseChannel2["BETA"] = "beta"; })(ChromeReleaseChannel || (ChromeReleaseChannel = {})); -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js init_cjs_shim(); var import_semver = __toESM(require_semver2(), 1); import path from "path"; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js +// node_modules/@puppeteer/browsers/lib/esm/httpUtil.js init_cjs_shim(); var import_proxy_agent = __toESM(require_dist11(), 1); import * as http from "http"; @@ -46898,7 +46903,7 @@ function getText(url) { }); } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js function folder(platform) { switch (platform) { case BrowserPlatform.LINUX: @@ -47013,7 +47018,7 @@ function compareVersions(a, b) { } } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js function folder2(platform) { switch (platform) { case BrowserPlatform.LINUX: @@ -47051,7 +47056,7 @@ function relativeExecutablePath2(platform, _buildId) { } } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js init_cjs_shim(); import path3 from "path"; function folder3(platform) { @@ -47087,7 +47092,7 @@ function relativeExecutablePath3(platform, _buildId) { } } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js init_cjs_shim(); import path4 from "path"; function archive(platform, buildId) { @@ -47141,7 +47146,7 @@ function compareVersions2(a, b) { return Number(a) - Number(b); } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js init_cjs_shim(); import fs from "fs"; import path5 from "path"; @@ -47478,7 +47483,7 @@ function compareVersions3(a, b) { return parseInt(a.replace(".", ""), 16) - parseInt(b.replace(".", ""), 16); } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js +// node_modules/@puppeteer/browsers/lib/esm/browser-data/browser-data.js var downloadUrls = { [Browser2.CHROMEDRIVER]: resolveDownloadUrl3, [Browser2.CHROMEHEADLESSSHELL]: resolveDownloadUrl2, @@ -47648,14 +47653,14 @@ function getVersionComparator(browser) { return versionComparators[browser]; } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/Cache.js +// node_modules/@puppeteer/browsers/lib/esm/Cache.js init_cjs_shim(); var import_debug = __toESM(require_src(), 1); import fs2 from "fs"; import os2 from "os"; import path6 from "path"; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js +// node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js init_cjs_shim(); import os from "os"; function detectBrowserPlatform() { @@ -47683,7 +47688,7 @@ function isWindows11(version) { return false; } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/Cache.js +// node_modules/@puppeteer/browsers/lib/esm/Cache.js var debugCache = (0, import_debug.default)("puppeteer:browsers:cache"); var InstalledBrowser = class { browser; @@ -47832,11 +47837,11 @@ function parseFolderPath(folderPath) { return { platform, buildId }; } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/debug.js +// node_modules/@puppeteer/browsers/lib/esm/debug.js init_cjs_shim(); var import_debug2 = __toESM(require_src(), 1); -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/launch.js +// node_modules/@puppeteer/browsers/lib/esm/launch.js var debugLaunch = (0, import_debug2.default)("puppeteer:browsers:launcher"); function computeExecutablePath(options) { return new Cache(options.cacheDir).computeExecutablePath(options); @@ -48139,17 +48144,17 @@ var TimeoutError2 = class extends Error { } }; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/install.js +// node_modules/@puppeteer/browsers/lib/esm/install.js init_cjs_shim(); import os4 from "os"; -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/fileUtil.js +// node_modules/@puppeteer/browsers/lib/esm/fileUtil.js init_cjs_shim(); var import_extract_zip = __toESM(require_extract_zip(), 1); var import_tar_fs = __toESM(require_tar_fs(), 1); var import_unbzip2_stream = __toESM(require_unbzip2_stream(), 1); -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/install.js +// node_modules/@puppeteer/browsers/lib/esm/install.js var debugInstall = (0, import_debug2.default)("puppeteer:browsers:install"); async function uninstall(options) { options.platform ??= detectBrowserPlatform(); @@ -48162,21 +48167,21 @@ async function getInstalledBrowsers(options) { return new Cache(options.cacheDir).getInstalledBrowsers(); } -// ../testeranto/node_modules/@puppeteer/browsers/lib/esm/CLI.js +// node_modules/@puppeteer/browsers/lib/esm/CLI.js init_cjs_shim(); var import_progress = __toESM(require_progress(), 1); -// ../testeranto/node_modules/yargs/index.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/index.mjs init_cjs_shim(); -// ../testeranto/node_modules/yargs/lib/platform-shims/esm.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs init_cjs_shim(); import { notStrictEqual, strictEqual } from "assert"; -// ../testeranto/node_modules/cliui/index.mjs +// node_modules/@puppeteer/browsers/node_modules/cliui/index.mjs init_cjs_shim(); -// ../testeranto/node_modules/cliui/build/lib/index.js +// node_modules/@puppeteer/browsers/node_modules/cliui/build/lib/index.js init_cjs_shim(); var align = { right: alignRight, @@ -48433,7 +48438,7 @@ function cliui(opts, _mixin) { }); } -// ../testeranto/node_modules/cliui/build/lib/string-utils.js +// node_modules/@puppeteer/browsers/node_modules/cliui/build/lib/string-utils.js init_cjs_shim(); var ansi = new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)", "g"); function stripAnsi(str) { @@ -48455,7 +48460,7 @@ function wrap(str, width) { return wrapped; } -// ../testeranto/node_modules/cliui/index.mjs +// node_modules/@puppeteer/browsers/node_modules/cliui/index.mjs function ui(opts) { return cliui(opts, { stringWidth: (str) => { @@ -48466,7 +48471,7 @@ function ui(opts) { }); } -// ../testeranto/node_modules/escalade/sync/index.mjs +// node_modules/escalade/sync/index.mjs init_cjs_shim(); import { dirname, resolve } from "path"; import { readdirSync, statSync } from "fs"; @@ -48486,17 +48491,17 @@ function sync_default(start, callback) { } } -// ../testeranto/node_modules/yargs/lib/platform-shims/esm.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs import { inspect } from "util"; import { readFileSync as readFileSync3 } from "fs"; import { fileURLToPath } from "url"; -// ../testeranto/node_modules/yargs-parser/build/lib/index.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/index.js init_cjs_shim(); import { format } from "util"; import { normalize, resolve as resolve2 } from "path"; -// ../testeranto/node_modules/yargs-parser/build/lib/string-utils.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/string-utils.js init_cjs_shim(); function camelCase(str) { const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase(); @@ -48551,10 +48556,10 @@ function looksLikeNumber(x) { return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x); } -// ../testeranto/node_modules/yargs-parser/build/lib/yargs-parser.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/yargs-parser.js init_cjs_shim(); -// ../testeranto/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/tokenize-arg-string.js init_cjs_shim(); function tokenizeArgString(argString) { if (Array.isArray(argString)) { @@ -48587,7 +48592,7 @@ function tokenizeArgString(argString) { return args; } -// ../testeranto/node_modules/yargs-parser/build/lib/yargs-parser-types.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/yargs-parser-types.js init_cjs_shim(); var DefaultValuesForTypeKey; (function(DefaultValuesForTypeKey2) { @@ -48597,7 +48602,7 @@ var DefaultValuesForTypeKey; DefaultValuesForTypeKey2["ARRAY"] = "array"; })(DefaultValuesForTypeKey || (DefaultValuesForTypeKey = {})); -// ../testeranto/node_modules/yargs-parser/build/lib/yargs-parser.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/yargs-parser.js var mixin2; var YargsParser = class { constructor(_mixin) { @@ -49437,7 +49442,7 @@ function stripQuotes(val) { return typeof val === "string" && (val[0] === "'" || val[0] === '"') && val[val.length - 1] === val[0] ? val.substring(1, val.length - 1) : val; } -// ../testeranto/node_modules/yargs-parser/build/lib/index.js +// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/index.js import { readFileSync } from "fs"; var _a; var _b; @@ -49483,10 +49488,10 @@ yargsParser.decamelize = decamelize; yargsParser.looksLikeNumber = looksLikeNumber; var lib_default = yargsParser; -// ../testeranto/node_modules/yargs/lib/platform-shims/esm.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs import { basename, dirname as dirname2, extname, relative, resolve as resolve4 } from "path"; -// ../testeranto/node_modules/yargs/build/lib/utils/process-argv.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/process-argv.js init_cjs_shim(); function getProcessArgvBinIndex() { if (isBundledElectronApp()) @@ -49503,7 +49508,7 @@ function getProcessArgvBin() { return process.argv[getProcessArgvBinIndex()]; } -// ../testeranto/node_modules/yargs/build/lib/yerror.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/yerror.js init_cjs_shim(); var YError = class extends Error { constructor(msg) { @@ -49515,10 +49520,10 @@ var YError = class extends Error { } }; -// ../testeranto/node_modules/y18n/index.mjs +// node_modules/y18n/index.mjs init_cjs_shim(); -// ../testeranto/node_modules/y18n/build/lib/platform-shims/node.js +// node_modules/y18n/build/lib/platform-shims/node.js init_cjs_shim(); import { readFileSync as readFileSync2, statSync as statSync2, writeFile } from "fs"; import { format as format2 } from "util"; @@ -49539,7 +49544,7 @@ var node_default = { } }; -// ../testeranto/node_modules/y18n/build/lib/index.js +// node_modules/y18n/build/lib/index.js init_cjs_shim(); var shim; var Y18N = class { @@ -49701,13 +49706,13 @@ function y18n(opts, _shim) { }; } -// ../testeranto/node_modules/y18n/index.mjs +// node_modules/y18n/index.mjs var y18n2 = (opts) => { return y18n(opts, node_default); }; var y18n_default = y18n2; -// ../testeranto/node_modules/yargs/lib/platform-shims/esm.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs var REQUIRE_ERROR = "require is not supported by ESM"; var REQUIRE_DIRECTORY_ERROR = "loading a directory of commands is not supported yet for ESM"; var __dirname2; @@ -49766,13 +49771,13 @@ var esm_default = { }) }; -// ../testeranto/node_modules/yargs/build/lib/yargs-factory.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/yargs-factory.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/command.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/command.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/typings/common-types.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/typings/common-types.js init_cjs_shim(); function assertNotStrictEqual(actual, expected, shim3, message) { shim3.assert.notStrictEqual(actual, expected, message); @@ -49784,19 +49789,19 @@ function objectKeys(object) { return Object.keys(object); } -// ../testeranto/node_modules/yargs/build/lib/utils/is-promise.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/is-promise.js init_cjs_shim(); function isPromise(maybePromise) { return !!maybePromise && !!maybePromise.then && typeof maybePromise.then === "function"; } -// ../testeranto/node_modules/yargs/build/lib/middleware.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/middleware.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/argsert.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/argsert.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/parse-command.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/parse-command.js init_cjs_shim(); function parseCommand(cmd) { const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, " "); @@ -49830,7 +49835,7 @@ function parseCommand(cmd) { return parsedCommand; } -// ../testeranto/node_modules/yargs/build/lib/argsert.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/argsert.js var positionName = ["first", "second", "third", "fourth", "fifth", "sixth"]; function argsert(arg1, arg2, arg3) { function parseArgs() { @@ -49888,7 +49893,7 @@ function argumentTypeError(observedType, allowedTypes, position) { throw new YError(`Invalid ${positionName[position] || "manyith"} argument. Expected ${allowedTypes.join(" or ")} but received ${observedType}.`); } -// ../testeranto/node_modules/yargs/build/lib/middleware.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/middleware.js var GlobalMiddleware = class { constructor(yargs) { this.globalMiddleware = []; @@ -49970,7 +49975,7 @@ function applyMiddleware(argv, yargs, middlewares, beforeValidation) { }, argv); } -// ../testeranto/node_modules/yargs/build/lib/utils/maybe-async-result.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/maybe-async-result.js init_cjs_shim(); function maybeAsyncResult(getResult, resultHandler, errorHandler = (err) => { throw err; @@ -49986,7 +49991,7 @@ function isFunction(arg) { return typeof arg === "function"; } -// ../testeranto/node_modules/yargs/build/lib/utils/which-module.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/which-module.js init_cjs_shim(); function whichModule(exported) { if (typeof __require === "undefined") @@ -49999,7 +50004,7 @@ function whichModule(exported) { return null; } -// ../testeranto/node_modules/yargs/build/lib/command.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/command.js var DEFAULT_MARKER = /(^\*)|(^\$0)/; var CommandInstance = class { constructor(usage2, validation2, globalMiddleware, shim3) { @@ -50391,10 +50396,10 @@ function isCommandHandlerDefinition(cmd) { return typeof cmd === "object" && !Array.isArray(cmd); } -// ../testeranto/node_modules/yargs/build/lib/usage.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/usage.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/utils/obj-filter.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/obj-filter.js init_cjs_shim(); function objFilter(original = {}, filter2 = () => true) { const obj = {}; @@ -50406,7 +50411,7 @@ function objFilter(original = {}, filter2 = () => true) { return obj; } -// ../testeranto/node_modules/yargs/build/lib/utils/set-blocking.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/set-blocking.js init_cjs_shim(); function setBlocking(blocking) { if (typeof process === "undefined") @@ -50419,7 +50424,7 @@ function setBlocking(blocking) { }); } -// ../testeranto/node_modules/yargs/build/lib/usage.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/usage.js function isBoolean(fail) { return typeof fail === "boolean"; } @@ -50945,10 +50950,10 @@ function getText2(text) { return isIndentedText(text) ? text.text : text; } -// ../testeranto/node_modules/yargs/build/lib/completion.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/completion.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/completion-templates.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/completion-templates.js init_cjs_shim(); var completionShTemplate = `###-begin-{{app_name}}-completions-### # @@ -51000,7 +51005,7 @@ compdef _{{app_name}}_yargs_completions {{app_name}} ###-end-{{app_name}}-completions-### `; -// ../testeranto/node_modules/yargs/build/lib/completion.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/completion.js var Completion = class { constructor(yargs, usage2, command2, shim3) { var _a2, _b2, _c2; @@ -51213,10 +51218,10 @@ function isFallbackCompletionFunction(completionFunction) { return completionFunction.length > 3; } -// ../testeranto/node_modules/yargs/build/lib/validation.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/validation.js init_cjs_shim(); -// ../testeranto/node_modules/yargs/build/lib/utils/levenshtein.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/levenshtein.js init_cjs_shim(); function levenshtein(a, b) { if (a.length === 0) @@ -51248,7 +51253,7 @@ function levenshtein(a, b) { return matrix[b.length][a.length]; } -// ../testeranto/node_modules/yargs/build/lib/validation.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/validation.js var specialKeys = ["$0", "--", "_"]; function validation(yargs, usage2, shim3) { const __ = shim3.y18n.__; @@ -51517,7 +51522,7 @@ ${customMsgs.join("\n")}` : ""; return self2; } -// ../testeranto/node_modules/yargs/build/lib/utils/apply-extends.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/utils/apply-extends.js init_cjs_shim(); var previouslyVisitedConfigs = []; var shim2; @@ -51571,7 +51576,7 @@ function mergeDeep(config1, config2) { return target; } -// ../testeranto/node_modules/yargs/build/lib/yargs-factory.js +// node_modules/@puppeteer/browsers/node_modules/yargs/build/lib/yargs-factory.js var __classPrivateFieldSet2 = function(receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); @@ -53070,19 +53075,19 @@ function isYargsInstance(y) { return !!y && typeof y.getInternalMethods === "function"; } -// ../testeranto/node_modules/yargs/index.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/index.mjs var Yargs = YargsFactory(esm_default); -// ../testeranto/node_modules/yargs/helpers/helpers.mjs +// node_modules/@puppeteer/browsers/node_modules/yargs/helpers/helpers.mjs init_cjs_shim(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js init_cjs_shim(); import { existsSync } from "fs"; import { tmpdir } from "os"; import { join } from "path"; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js init_cjs_shim(); var PipeTransport = class { #pipeWrite; @@ -53147,7 +53152,7 @@ var PipeTransport = class { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js var BrowserLauncher = class { #browser; /** @@ -53307,7 +53312,7 @@ var BrowserLauncher = class { async createBiDiOverCdpBrowser(browserProcess, connection, closeCallback, opts) { const BiDi = await import( /* webpackIgnore: true */ - "./bidi-2I2CA3WT.mjs" + "./bidi-COHEKL2Q.mjs" ); const bidiConnection = await BiDi.connectBidiOverCdp(connection); return await BiDi.BidiBrowser.create({ @@ -53327,7 +53332,7 @@ var BrowserLauncher = class { const transport = await NodeWebSocketTransport.create(browserWSEndpoint); const BiDi = await import( /* webpackIgnore: true */ - "./bidi-2I2CA3WT.mjs" + "./bidi-COHEKL2Q.mjs" ); const bidiConnection = new BiDi.BidiConnection(browserWSEndpoint, transport, opts.slowMo, opts.protocolTimeout); return await BiDi.BidiBrowser.create({ @@ -53395,7 +53400,7 @@ For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/util/fs.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/util/fs.js init_cjs_shim(); import fs3 from "fs"; var rmOptions = { @@ -53407,7 +53412,7 @@ async function rm(path10) { await fs3.promises.rm(path10, rmOptions); } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js var ChromeLauncher = class extends BrowserLauncher { constructor(puppeteer2) { super(puppeteer2, "chrome"); @@ -53617,7 +53622,7 @@ function removeMatchingFlags(array, flag) { return array; } -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.js init_cjs_shim(); import fs4 from "fs"; import { rename, unlink, mkdtemp as mkdtemp2 } from "fs/promises"; @@ -53776,7 +53781,7 @@ var FirefoxLauncher = class extends BrowserLauncher { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/PuppeteerNode.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/PuppeteerNode.js init_cjs_shim(); var PuppeteerNode = class extends Puppeteer { #_launcher; @@ -54000,7 +54005,7 @@ var PuppeteerNode = class extends Puppeteer { } }; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/node/ScreenRecorder.js +// node_modules/puppeteer-core/lib/esm/puppeteer/node/ScreenRecorder.js init_cjs_shim(); var import_debug5 = __toESM(require_src(), 1); import { spawn, spawnSync } from "child_process"; @@ -54223,7 +54228,7 @@ var ScreenRecorder = (() => { }; })(); -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +// node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js import fs5 from "fs"; import path9 from "path"; environment.value = { @@ -54255,6 +54260,9 @@ var { var puppeteer_core_default = puppeteer; export { + require_graceful_fs, + require_once, + require_get_stream, puppeteer_core_default }; /*! Bundled license information: diff --git a/docs/node/chunk-5K2J4QBY.mjs b/docs/node/chunk-EYV3TTNW.mjs similarity index 98% rename from docs/node/chunk-5K2J4QBY.mjs rename to docs/node/chunk-EYV3TTNW.mjs index e25d8b0b..f3c57371 100644 --- a/docs/node/chunk-5K2J4QBY.mjs +++ b/docs/node/chunk-EYV3TTNW.mjs @@ -1,7 +1,7 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; // src/app.test.ts init_cjs_shim(); diff --git a/docs/node/chunk-EP6GCRJ6.mjs b/docs/node/chunk-FWCV2CYO.mjs similarity index 99% rename from docs/node/chunk-EP6GCRJ6.mjs rename to docs/node/chunk-FWCV2CYO.mjs index 6fa1a661..235e832b 100644 --- a/docs/node/chunk-EP6GCRJ6.mjs +++ b/docs/node/chunk-FWCV2CYO.mjs @@ -3,7 +3,7 @@ import { __commonJS, __toESM, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; // node_modules/immer/dist/immer.cjs.production.min.js var require_immer_cjs_production_min = __commonJS({ diff --git a/docs/node/chunk-CTKBT5JH.mjs b/docs/node/chunk-GF7QN4NN.mjs similarity index 88% rename from docs/node/chunk-CTKBT5JH.mjs rename to docs/node/chunk-GF7QN4NN.mjs index 77eade2a..d6831089 100644 --- a/docs/node/chunk-CTKBT5JH.mjs +++ b/docs/node/chunk-GF7QN4NN.mjs @@ -1,9 +1,9 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +// node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js init_cjs_shim(); var BrowserWebSocketTransport = class { static create(url) { diff --git a/docs/node/chunk-RW3YDDAM.mjs b/docs/node/chunk-IAOYGSRV.mjs similarity index 97% rename from docs/node/chunk-RW3YDDAM.mjs rename to docs/node/chunk-IAOYGSRV.mjs index 2cb9dca2..1dae255b 100644 --- a/docs/node/chunk-RW3YDDAM.mjs +++ b/docs/node/chunk-IAOYGSRV.mjs @@ -1,16 +1,16 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { - Node_default -} from "./chunk-2UPDHKQX.mjs"; + puppeteer_core_default +} from "./chunk-CDRQ6FZS.mjs"; import { __commonJS, __toESM, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/react/cjs/react.production.min.js +// node_modules/react/cjs/react.production.min.js var require_react_production_min = __commonJS({ - "../testeranto/node_modules/react/cjs/react.production.min.js"(exports) { + "node_modules/react/cjs/react.production.min.js"(exports) { "use strict"; init_cjs_shim(); var l = Symbol.for("react.element"); @@ -306,9 +306,9 @@ var require_react_production_min = __commonJS({ } }); -// ../testeranto/node_modules/react/cjs/react.development.js +// node_modules/react/cjs/react.development.js var require_react_development = __commonJS({ - "../testeranto/node_modules/react/cjs/react.development.js"(exports, module) { + "node_modules/react/cjs/react.development.js"(exports, module) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV !== "production") { @@ -2180,9 +2180,9 @@ var require_react_development = __commonJS({ } }); -// ../testeranto/node_modules/react/index.js +// node_modules/react/index.js var require_react = __commonJS({ - "../testeranto/node_modules/react/index.js"(exports, module) { + "node_modules/react/index.js"(exports, module) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV === "production") { @@ -2193,9 +2193,9 @@ var require_react = __commonJS({ } }); -// ../testeranto/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +// node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js var require_scheduler_unstable_mock_production_min = __commonJS({ - "../testeranto/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js"(exports) { + "node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js"(exports) { "use strict"; init_cjs_shim(); function f(a, b) { @@ -2523,9 +2523,9 @@ var require_scheduler_unstable_mock_production_min = __commonJS({ } }); -// ../testeranto/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +// node_modules/scheduler/cjs/scheduler-unstable_mock.development.js var require_scheduler_unstable_mock_development = __commonJS({ - "../testeranto/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js"(exports) { + "node_modules/scheduler/cjs/scheduler-unstable_mock.development.js"(exports) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV !== "production") { @@ -3060,9 +3060,9 @@ var require_scheduler_unstable_mock_development = __commonJS({ } }); -// ../testeranto/node_modules/scheduler/unstable_mock.js +// node_modules/scheduler/unstable_mock.js var require_unstable_mock = __commonJS({ - "../testeranto/node_modules/scheduler/unstable_mock.js"(exports, module) { + "node_modules/scheduler/unstable_mock.js"(exports, module) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV === "production") { @@ -3073,9 +3073,9 @@ var require_unstable_mock = __commonJS({ } }); -// ../testeranto/node_modules/scheduler/cjs/scheduler.production.min.js +// node_modules/scheduler/cjs/scheduler.production.min.js var require_scheduler_production_min = __commonJS({ - "../testeranto/node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { + "node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { "use strict"; init_cjs_shim(); function f(a, b) { @@ -3345,9 +3345,9 @@ var require_scheduler_production_min = __commonJS({ } }); -// ../testeranto/node_modules/scheduler/cjs/scheduler.development.js +// node_modules/scheduler/cjs/scheduler.development.js var require_scheduler_development = __commonJS({ - "../testeranto/node_modules/scheduler/cjs/scheduler.development.js"(exports) { + "node_modules/scheduler/cjs/scheduler.development.js"(exports) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV !== "production") { @@ -3796,9 +3796,9 @@ var require_scheduler_development = __commonJS({ } }); -// ../testeranto/node_modules/scheduler/index.js +// node_modules/scheduler/index.js var require_scheduler = __commonJS({ - "../testeranto/node_modules/scheduler/index.js"(exports, module) { + "node_modules/scheduler/index.js"(exports, module) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV === "production") { @@ -3809,9 +3809,9 @@ var require_scheduler = __commonJS({ } }); -// ../testeranto/node_modules/react-test-renderer/cjs/react-test-renderer.production.min.js +// node_modules/react-test-renderer/cjs/react-test-renderer.production.min.js var require_react_test_renderer_production_min = __commonJS({ - "../testeranto/node_modules/react-test-renderer/cjs/react-test-renderer.production.min.js"(exports) { + "node_modules/react-test-renderer/cjs/react-test-renderer.production.min.js"(exports) { "use strict"; init_cjs_shim(); var aa = require_react(); @@ -8395,9 +8395,9 @@ var require_react_test_renderer_production_min = __commonJS({ } }); -// ../testeranto/node_modules/react-test-renderer/cjs/react-test-renderer.development.js +// node_modules/react-test-renderer/cjs/react-test-renderer.development.js var require_react_test_renderer_development = __commonJS({ - "../testeranto/node_modules/react-test-renderer/cjs/react-test-renderer.development.js"(exports) { + "node_modules/react-test-renderer/cjs/react-test-renderer.development.js"(exports) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV !== "production") { @@ -20765,10 +20765,10 @@ var require_react_test_renderer_development = __commonJS({ var setErrorHandler = null; var setSuspenseHandler = null; { - var copyWithDeleteImpl = function(obj, path, index2) { - var key = path[index2]; + var copyWithDeleteImpl = function(obj, path2, index2) { + var key = path2[index2]; var updated = isArray(obj) ? obj.slice() : assign({}, obj); - if (index2 + 1 === path.length) { + if (index2 + 1 === path2.length) { if (isArray(updated)) { updated.splice(key, 1); } else { @@ -20776,11 +20776,11 @@ var require_react_test_renderer_development = __commonJS({ } return updated; } - updated[key] = copyWithDeleteImpl(obj[key], path, index2 + 1); + updated[key] = copyWithDeleteImpl(obj[key], path2, index2 + 1); return updated; }; - var copyWithDelete = function(obj, path) { - return copyWithDeleteImpl(obj, path, 0); + var copyWithDelete = function(obj, path2) { + return copyWithDeleteImpl(obj, path2, 0); }; var copyWithRenameImpl = function(obj, oldPath, newPath, index2) { var oldKey = oldPath[index2]; @@ -20818,17 +20818,17 @@ var require_react_test_renderer_development = __commonJS({ } return copyWithRenameImpl(obj, oldPath, newPath, 0); }; - var copyWithSetImpl = function(obj, path, index2, value) { - if (index2 >= path.length) { + var copyWithSetImpl = function(obj, path2, index2, value) { + if (index2 >= path2.length) { return value; } - var key = path[index2]; + var key = path2[index2]; var updated = isArray(obj) ? obj.slice() : assign({}, obj); - updated[key] = copyWithSetImpl(obj[key], path, index2 + 1, value); + updated[key] = copyWithSetImpl(obj[key], path2, index2 + 1, value); return updated; }; - var copyWithSet = function(obj, path, value) { - return copyWithSetImpl(obj, path, 0, value); + var copyWithSet = function(obj, path2, value) { + return copyWithSetImpl(obj, path2, 0, value); }; var findHook = function(fiber, id) { var currentHook2 = fiber.memoizedState; @@ -20838,10 +20838,10 @@ var require_react_test_renderer_development = __commonJS({ } return currentHook2; }; - overrideHookState = function(fiber, id, path, value) { + overrideHookState = function(fiber, id, path2, value) { var hook = findHook(fiber, id); if (hook !== null) { - var newState = copyWithSet(hook.memoizedState, path, value); + var newState = copyWithSet(hook.memoizedState, path2, value); hook.memoizedState = newState; hook.baseState = newState; fiber.memoizedProps = assign({}, fiber.memoizedProps); @@ -20851,10 +20851,10 @@ var require_react_test_renderer_development = __commonJS({ } } }; - overrideHookStateDeletePath = function(fiber, id, path) { + overrideHookStateDeletePath = function(fiber, id, path2) { var hook = findHook(fiber, id); if (hook !== null) { - var newState = copyWithDelete(hook.memoizedState, path); + var newState = copyWithDelete(hook.memoizedState, path2); hook.memoizedState = newState; hook.baseState = newState; fiber.memoizedProps = assign({}, fiber.memoizedProps); @@ -20877,8 +20877,8 @@ var require_react_test_renderer_development = __commonJS({ } } }; - overrideProps = function(fiber, path, value) { - fiber.pendingProps = copyWithSet(fiber.memoizedProps, path, value); + overrideProps = function(fiber, path2, value) { + fiber.pendingProps = copyWithSet(fiber.memoizedProps, path2, value); if (fiber.alternate) { fiber.alternate.pendingProps = fiber.pendingProps; } @@ -20887,8 +20887,8 @@ var require_react_test_renderer_development = __commonJS({ scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp); } }; - overridePropsDeletePath = function(fiber, path) { - fiber.pendingProps = copyWithDelete(fiber.memoizedProps, path); + overridePropsDeletePath = function(fiber, path2) { + fiber.pendingProps = copyWithDelete(fiber.memoizedProps, path2); if (fiber.alternate) { fiber.alternate.pendingProps = fiber.pendingProps; } @@ -21412,9 +21412,9 @@ var require_react_test_renderer_development = __commonJS({ } }); -// ../testeranto/node_modules/react-test-renderer/index.js +// node_modules/react-test-renderer/index.js var require_react_test_renderer = __commonJS({ - "../testeranto/node_modules/react-test-renderer/index.js"(exports, module) { + "node_modules/react-test-renderer/index.js"(exports, module) { "use strict"; init_cjs_shim(); if (process.env.NODE_ENV === "production") { @@ -21425,10 +21425,598 @@ var require_react_test_renderer = __commonJS({ } }); -// ../testeranto/dist/module/SubPackages/react-test-renderer/jsx/node.js +// node_modules/testeranto/dist/module/SubPackages/react-test-renderer/jsx/node.js init_cjs_shim(); -// ../testeranto/dist/module/SubPackages/react-test-renderer/jsx/index.js +// node_modules/testeranto/dist/module/Node.js +init_cjs_shim(); + +// node_modules/testeranto/dist/module/lib/core.js +init_cjs_shim(); + +// node_modules/testeranto/dist/module/lib/index.js +init_cjs_shim(); +var BaseTestInterface = { + beforeAll: async (s) => s, + beforeEach: async function(subject, initialValues, x, testResource, pm) { + return subject; + }, + afterEach: async (s) => s, + afterAll: (store) => void 0, + butThen: async (store, thenCb) => thenCb(store), + andWhen: (a) => a, + assertThis: () => null +}; +var DefaultTestInterface = (p) => { + return Object.assign(Object.assign({}, BaseTestInterface), p); +}; +var defaultTestResourceRequirement = { + ports: 0 +}; + +// node_modules/testeranto/dist/module/lib/abstractBase.js +init_cjs_shim(); +var BaseSuite = class { + constructor(name, index, givens = {}, checks = []) { + this.name = name; + this.index = index; + this.givens = givens; + this.checks = checks; + this.fails = []; + } + toObj() { + return { + name: this.name, + givens: Object.keys(this.givens).map((k) => this.givens[k].toObj()), + fails: this.fails + }; + } + setup(s, artifactory, tr, pm) { + return new Promise((res) => res(s)); + } + assertThat(t) { + return t; + } + afterAll(store, artifactory, pm) { + return store; + } + async run(input, testResourceConfiguration, artifactory, tLog, pm) { + this.testResourceConfiguration = testResourceConfiguration; + tLog("test resources: ", JSON.stringify(testResourceConfiguration)); + const suiteArtifactory = (fPath, value) => artifactory(`suite-${this.index}-${this.name}/${fPath}`, value); + console.log("\nSuite:", this.index, this.name); + tLog("\nSuite:", this.index, this.name); + const sNdx = this.index; + const sName = this.name; + for (const [gNdx, g] of Object.entries(this.givens)) { + const subject = await this.setup(input, suiteArtifactory, testResourceConfiguration, pm); + const giver = this.givens[gNdx]; + try { + this.store = await giver.give(subject, gNdx, testResourceConfiguration, this.assertThat, suiteArtifactory, tLog, pm, sNdx); + } catch (e) { + console.error(e); + this.fails.push(giver); + } + } + const afterAllProxy = new Proxy(pm, { + get(target, prop, receiver) { + if (prop === "writeFileSync") { + return (fp, contents) => target[prop](`suite-${sNdx}/afterAll/${fp}`, contents); + } + if (prop === "browser") { + return new Proxy(target[prop], { + get(bTarget, bProp, bReceiver) { + if (bProp === "pages") { + return async () => { + return bTarget.pages().then((pages) => { + return pages.map((page) => { + return new Proxy(page, { + get(pTarget, pProp, pReciever) { + if (pProp === "screenshot") { + return async (x) => { + return await window["custom-screenshot"](Object.assign(Object.assign({}, x), { path: `${testResourceConfiguration.fs}/suite-${sNdx}/afterAll/` + x.path })); + }; + } else { + return Reflect.get(...arguments); + } + } + }); + }); + }); + }; + } + } + }); + } + return Reflect.get(...arguments); + } + }); + try { + this.afterAll(this.store, artifactory, afterAllProxy); + } catch (e) { + console.error(e); + } + return this; + } +}; +var BaseGiven = class { + constructor(name, features, whens, thens, givenCB, initialValues) { + this.name = name; + this.features = features; + this.whens = whens; + this.thens = thens; + this.givenCB = givenCB; + this.initialValues = initialValues; + } + beforeAll(store, artifactory) { + return store; + } + toObj() { + return { + name: this.name, + whens: this.whens.map((w) => w.toObj()), + thens: this.thens.map((t) => t.toObj()), + error: this.error ? [this.error, this.error.stack] : null, + // fail: this.fail ? [this.fail] : false, + features: this.features + }; + } + async afterEach(store, key, artifactory, pm) { + return store; + } + async give(subject, key, testResourceConfiguration, tester, artifactory, tLog, pm, suiteNdx) { + tLog(` + Given: ${this.name}`); + const givenArtifactory = (fPath, value) => artifactory(`given-${key}/${fPath}`, value); + try { + const beforeEachProxy = new Proxy(pm, { + get(target, prop, receiver) { + if (prop === "writeFileSync") { + console.log("beforeEachProx", arguments, target[prop]); + return (fp, contents) => target[prop](`suite-${suiteNdx}/given-${key}/when/beforeEach/${fp}`, contents); + } + return Reflect.get(...arguments); + } + }); + this.store = await this.givenThat(subject, testResourceConfiguration, givenArtifactory, this.givenCB, beforeEachProxy); + for (const [whenNdx, whenStep] of this.whens.entries()) { + await whenStep.test(this.store, testResourceConfiguration, tLog, pm, `suite-${suiteNdx}/given-${key}/when/${whenNdx}`); + } + for (const thenStep of this.thens) { + const t = await thenStep.test(this.store, testResourceConfiguration, tLog, pm); + tester(t); + } + } catch (e) { + this.error = e; + tLog(e); + tLog("\x07"); + } finally { + try { + const afterEachProxy = new Proxy(pm, { + get(target, prop, receiver) { + if (prop === "writeFileSync") { + return (fp, contents) => target[prop](`suite-${suiteNdx}/given-${key}/afterAll/${fp}`, contents); + } + if (prop === "browser") { + return new Proxy(target[prop], { + get(bTarget, bProp, bReceiver) { + if (bProp === "pages") { + return async () => { + return bTarget.pages().then((pages) => { + return pages.map((page) => { + return new Proxy(page, { + get(pTarget, pProp, pReciever) { + if (pProp === "screenshot") { + return async (x) => { + return await pTarget[pProp](Object.assign(Object.assign({}, x), { path: `${testResourceConfiguration.fs}/suite-${suiteNdx}/given-${key}/afterEach/` + x.path })); + }; + } else { + return Reflect.get(...arguments); + } + } + }); + }); + }); + }; + } + } + }); + } + return Reflect.get(...arguments); + } + }); + await this.afterEach(this.store, key, givenArtifactory, afterEachProxy); + } catch (e) { + console.error("afterEach failed! no error will be recorded!", e); + } + } + return this.store; + } +}; +var BaseWhen = class { + constructor(name, whenCB) { + this.name = name; + this.whenCB = whenCB; + } + toObj() { + return { + name: this.name, + error: this.error + }; + } + async test(store, testResourceConfiguration, tLog, pm, key) { + tLog(" When:", this.name); + const name = this.name; + const andWhenProxy = new Proxy(pm, { + get(target, prop, receiver) { + if (prop === "writeFileSync") { + console.log("andWhenProxy", arguments, target[prop]); + return (fp, contents) => ( + // target[prop](`${key}/andWhen/${fp}`, contents); + target[prop](`${key}/andWhen/${fp}`, contents) + ); + } + return Reflect.get(...arguments); + } + }); + try { + return await this.andWhen(store, this.whenCB, testResourceConfiguration, andWhenProxy); + } catch (e) { + this.error = true; + throw e; + } + } +}; +var BaseThen = class { + constructor(name, thenCB) { + this.name = name; + this.thenCB = thenCB; + this.error = false; + } + toObj() { + return { + name: this.name, + error: this.error + }; + } + async test(store, testResourceConfiguration, tLog, pm) { + tLog(" Then:", this.name); + try { + const x = await this.butThen(store, this.thenCB, testResourceConfiguration); + return x; + } catch (e) { + console.log("test failed", e); + this.error = e.message; + throw e; + } + } +}; +var BaseCheck = class { + constructor(name, features, checkCB, whens, thens) { + this.name = name; + this.features = features; + this.checkCB = checkCB; + this.whens = whens; + this.thens = thens; + } + async afterEach(store, key, cb, pm) { + return; + } + async check(subject, key, testResourceConfiguration, tester, artifactory, tLog, pm) { + tLog(` + Check: ${this.name}`); + const store = await this.checkThat(subject, testResourceConfiguration, artifactory); + await this.checkCB(Object.entries(this.whens).reduce((a, [key2, when]) => { + a[key2] = async (payload) => { + return await when(payload, testResourceConfiguration).test(store, testResourceConfiguration, tLog, pm, "x"); + }; + return a; + }, {}), Object.entries(this.thens).reduce((a, [key2, then]) => { + a[key2] = async (payload) => { + const t = await then(payload, testResourceConfiguration).test(store, testResourceConfiguration, tLog, pm); + tester(t); + }; + return a; + }, {})); + await this.afterEach(store, key, () => { + }, pm); + return; + } +}; + +// node_modules/testeranto/dist/module/lib/classBuilder.js +init_cjs_shim(); + +// node_modules/testeranto/dist/module/lib/basebuilder.js +init_cjs_shim(); +var BaseBuilder = class { + constructor(input, suitesOverrides, givenOverides, whenOverides, thenOverides, checkOverides, testResourceRequirement, testSpecification) { + this.input = input; + this.artifacts = []; + this.artifacts = []; + this.testResourceRequirement = testResourceRequirement; + this.suitesOverrides = suitesOverrides; + this.givenOverides = givenOverides; + this.whenOverides = whenOverides; + this.thenOverides = thenOverides; + this.checkOverides = checkOverides; + this.testSpecification = testSpecification; + this.specs = testSpecification(this.Suites(), this.Given(), this.When(), this.Then(), this.Check()); + this.testJobs = this.specs.map((suite) => { + const suiteRunner = (suite2) => async (puppetMaster, tLog) => { + await puppetMaster.startPuppeteer({ + browserWSEndpoint: puppetMaster.testResourceConfiguration.browserWSEndpoint + }, puppetMaster.testResourceConfiguration.fs); + return await suite2.run(input, puppetMaster.testResourceConfiguration, (fPath, value) => puppetMaster.testArtiFactoryfileWriter(tLog, (p) => { + this.artifacts.push(p); + })(puppetMaster.testResourceConfiguration.fs + "/" + fPath, value), tLog, puppetMaster); + }; + const runner = suiteRunner(suite); + return { + test: suite, + // testResourceRequirement, + toObj: () => { + return suite.toObj(); + }, + runner, + receiveTestResourceConfig: async function(puppetMaster) { + await puppetMaster.mkdirSync(); + const logFilePath = "log.txt"; + const access = await puppetMaster.createWriteStream(logFilePath); + const tLog = (...l) => { + puppetMaster.write(access, `${l.toString()} +`); + }; + const suiteDone = await runner(puppetMaster, tLog); + const logPromise = new Promise((res, rej) => { + puppetMaster.end(access); + res(true); + }); + const numberOfFailures = Object.keys(suiteDone.givens).filter((k) => { + return suiteDone.givens[k].error; + }).length; + puppetMaster.writeFileSync(`exitcode`, numberOfFailures.toString()); + puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2)); + console.log(`exiting gracefully with ${numberOfFailures} failures.`); + return { + failed: numberOfFailures, + artifacts: this.artifacts || [], + logPromise + }; + } + }; + }); + } + Specs() { + return this.specs; + } + Suites() { + return this.suitesOverrides; + } + Given() { + return this.givenOverides; + } + When() { + return this.whenOverides; + } + Then() { + return this.thenOverides; + } + Check() { + return this.checkOverides; + } +}; + +// node_modules/testeranto/dist/module/lib/classBuilder.js +var ClassBuilder = class extends BaseBuilder { + constructor(testImplementation, testSpecification, input, suiteKlasser, givenKlasser, whenKlasser, thenKlasser, checkKlasser, testResourceRequirement) { + const classySuites = Object.entries(testImplementation.suites).reduce((a, [key], index) => { + a[key] = (somestring, givens, checks) => { + return new suiteKlasser.prototype.constructor(somestring, index, givens, checks); + }; + return a; + }, {}); + const classyGivens = Object.entries(testImplementation.givens).reduce((a, [key, givEn]) => { + a[key] = (features, whens, thens, givEn2) => { + return new givenKlasser.prototype.constructor(key, features, whens, thens, testImplementation.givens[key], givEn2); + }; + return a; + }, {}); + const classyWhens = Object.entries(testImplementation.whens).reduce((a, [key, whEn]) => { + a[key] = (payload) => { + return new whenKlasser.prototype.constructor(`${whEn.name}: ${payload && payload.toString()}`, whEn(payload)); + }; + return a; + }, {}); + const classyThens = Object.entries(testImplementation.thens).reduce((a, [key, thEn]) => { + a[key] = (expected, x) => { + return new thenKlasser.prototype.constructor(`${thEn.name}: ${expected && expected.toString()}`, thEn(expected)); + }; + return a; + }, {}); + const classyChecks = Object.entries(testImplementation.checks).reduce((a, [key, z]) => { + a[key] = (somestring, features, callback) => { + return new checkKlasser.prototype.constructor(somestring, features, callback, classyWhens, classyThens); + }; + return a; + }, {}); + super( + input, + classySuites, + classyGivens, + classyWhens, + classyThens, + classyChecks, + testResourceRequirement, + testSpecification + // puppetMaster + ); + } +}; + +// node_modules/testeranto/dist/module/lib/core.js +var Testeranto = class extends ClassBuilder { + constructor(input, testSpecification, testImplementation, testResourceRequirement = defaultTestResourceRequirement, testInterface2) { + const fullTestInterface = DefaultTestInterface(testInterface2); + super( + testImplementation, + testSpecification, + input, + class extends BaseSuite { + afterAll(store, artifactory, pm) { + return fullTestInterface.afterAll(store, (fPath, value) => { + artifactory(`afterAll4-${this.name}/${fPath}`, value); + }, pm); + } + assertThat(t) { + fullTestInterface.assertThis(t); + } + async setup(s, artifactory, tr, pm) { + return (fullTestInterface.beforeAll || (async (input2, artifactory2, tr2, pm2) => input2))(s, this.testResourceConfiguration, artifactory, pm); + } + }, + class Given extends BaseGiven { + async givenThat(subject, testResource, artifactory, initializer, pm) { + return fullTestInterface.beforeEach(subject, initializer, (fPath, value) => ( + // TODO does not work? + artifactory(`beforeEach/${fPath}`, value) + ), testResource, this.initialValues, pm); + } + afterEach(store, key, artifactory, pm) { + return new Promise((res) => res(fullTestInterface.afterEach(store, key, (fPath, value) => artifactory(`after/${fPath}`, value), pm))); + } + }, + class When extends BaseWhen { + async andWhen(store, whenCB, testResource, pm) { + return await fullTestInterface.andWhen(store, whenCB, testResource, pm); + } + }, + class Then extends BaseThen { + async butThen(store, thenCB, testResourceConfiguration) { + return await fullTestInterface.butThen(store, thenCB, testResourceConfiguration); + } + }, + class Check extends BaseCheck { + constructor(name, features, checkCallback, whens, thens, initialValues) { + super(name, features, checkCallback, whens, thens); + this.initialValues = initialValues; + } + async checkThat(subject, testResourceConfiguration, artifactory, pm) { + return fullTestInterface.beforeEach(subject, this.initialValues, (fPath, value) => artifactory(`before/${fPath}`, value), testResourceConfiguration, this.initialValues, pm); + } + afterEach(store, key, artifactory, pm) { + return new Promise((res) => res(fullTestInterface.afterEach(store, key, (fPath, value) => ( + // TODO does not work? + artifactory(`afterEach2-${this.name}/${fPath}`, value) + ), pm))); + } + }, + testResourceRequirement + // puppetMaster + ); + } +}; + +// node_modules/testeranto/dist/module/PM/node.js +init_cjs_shim(); +import fs from "fs"; +import path from "path"; + +// node_modules/testeranto/dist/module/PM/index.js +init_cjs_shim(); +var PM = class { +}; + +// node_modules/testeranto/dist/module/PM/node.js +var fPaths = []; +var PM_Node = class extends PM { + constructor(t) { + super(); + this.server = {}; + this.testResourceConfiguration = t; + } + existsSync(destFolder) { + return globalThis["existsSync"](this.testResourceConfiguration.fs + "/" + destFolder); + } + mkdirSync() { + return globalThis["mkdirSync"](this.testResourceConfiguration.fs + "/"); + } + write(writeObject, contents) { + return globalThis["write"](writeObject.uid, contents); + } + writeFileSync(filepath, contents) { + return globalThis["writeFileSync"](this.testResourceConfiguration.fs + "/" + filepath, contents, this.testResourceConfiguration.name); + } + createWriteStream(filepath) { + return globalThis["createWriteStream"](this.testResourceConfiguration.fs + "/" + filepath, this.testResourceConfiguration.name); + } + end(writeObject) { + return globalThis["end"](writeObject.uid); + } + customclose() { + globalThis["customclose"](this.testResourceConfiguration.fs, this.testResourceConfiguration.name); + } + testArtiFactoryfileWriter(tLog, callback) { + return (fPath, value) => { + callback(new Promise((res, rej) => { + tLog("testArtiFactory =>", fPath); + const cleanPath = path.resolve(fPath); + fPaths.push(cleanPath.replace(process.cwd(), ``)); + const targetDir = cleanPath.split("/").slice(0, -1).join("/"); + fs.mkdir(targetDir, { recursive: true }, async (error) => { + if (error) { + console.error(`\u2757\uFE0FtestArtiFactory failed`, targetDir, error); + } + fs.writeFileSync(path.resolve(targetDir.split("/").slice(0, -1).join("/"), "manifest"), fPaths.join(` +`), { + encoding: "utf-8" + }); + if (Buffer.isBuffer(value)) { + fs.writeFileSync(fPath, value, "binary"); + res(); + } else if (`string` === typeof value) { + fs.writeFileSync(fPath, value.toString(), { + encoding: "utf-8" + }); + res(); + } else { + const pipeStream = value; + const myFile = fs.createWriteStream(fPath); + pipeStream.pipe(myFile); + pipeStream.on("close", () => { + myFile.close(); + res(); + }); + } + }); + })); + }; + } + // launch(options?: PuppeteerLaunchOptions): Promise; + startPuppeteer(options) { + return puppeteer_core_default.connect(options).then((b) => { + this.browser = b; + }); + } +}; + +// node_modules/testeranto/dist/module/Node.js +var NodeTesteranto = class extends Testeranto { + constructor(input, testSpecification, testImplementation, testResourceRequirement, testInterface2) { + super(input, testSpecification, testImplementation, testResourceRequirement, testInterface2); + } + async receiveTestResourceConfig(partialTestResource) { + const t = JSON.parse(partialTestResource); + const pm = new PM_Node(t); + const { failed, artifacts, logPromise } = await this.testJobs[0].receiveTestResourceConfig(pm); + pm.customclose(); + } +}; +var Node_default = async (input, testSpecification, testImplementation, testInterface2, testResourceRequirement = defaultTestResourceRequirement) => { + return new NodeTesteranto(input, testSpecification, testImplementation, testResourceRequirement, testInterface2); +}; + +// node_modules/testeranto/dist/module/SubPackages/react-test-renderer/jsx/index.js init_cjs_shim(); var import_react = __toESM(require_react(), 1); var import_react_test_renderer = __toESM(require_react_test_renderer(), 1); @@ -21450,12 +22038,15 @@ var testInterface = { } }; -// ../testeranto/dist/module/SubPackages/react-test-renderer/jsx/node.js +// node_modules/testeranto/dist/module/SubPackages/react-test-renderer/jsx/node.js var node_default = (testImplementations, testSpecifications, testInput, testInterface2 = testInterface) => { return Node_default(testInput, testSpecifications, testImplementations, testInterface2); }; export { + require_react, + require_scheduler, + require_react_test_renderer, node_default }; /*! Bundled license information: diff --git a/docs/node/chunk-FLSG3ZVV.mjs b/docs/node/chunk-LE3VN4X4.mjs similarity index 96% rename from docs/node/chunk-FLSG3ZVV.mjs rename to docs/node/chunk-LE3VN4X4.mjs index 2c596f1c..28925c65 100644 --- a/docs/node/chunk-FLSG3ZVV.mjs +++ b/docs/node/chunk-LE3VN4X4.mjs @@ -3,11 +3,11 @@ import { __commonJS, __require, init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/node_modules/ms/index.js +// node_modules/ms/index.js var require_ms = __commonJS({ - "../testeranto/node_modules/ms/index.js"(exports, module) { + "node_modules/ms/index.js"(exports, module) { init_cjs_shim(); var s = 1e3; var m = s * 60; @@ -122,9 +122,9 @@ var require_ms = __commonJS({ } }); -// ../testeranto/node_modules/debug/src/common.js +// node_modules/debug/src/common.js var require_common = __commonJS({ - "../testeranto/node_modules/debug/src/common.js"(exports, module) { + "node_modules/debug/src/common.js"(exports, module) { init_cjs_shim(); function setup(env) { createDebug.debug = createDebug; @@ -286,9 +286,9 @@ var require_common = __commonJS({ } }); -// ../testeranto/node_modules/debug/src/browser.js +// node_modules/debug/src/browser.js var require_browser = __commonJS({ - "../testeranto/node_modules/debug/src/browser.js"(exports, module) { + "node_modules/debug/src/browser.js"(exports, module) { init_cjs_shim(); exports.formatArgs = formatArgs; exports.save = save; @@ -457,9 +457,9 @@ var require_browser = __commonJS({ } }); -// ../testeranto/node_modules/has-flag/index.js +// node_modules/supports-color/node_modules/has-flag/index.js var require_has_flag = __commonJS({ - "../testeranto/node_modules/has-flag/index.js"(exports, module) { + "node_modules/supports-color/node_modules/has-flag/index.js"(exports, module) { "use strict"; init_cjs_shim(); module.exports = (flag, argv) => { @@ -472,9 +472,9 @@ var require_has_flag = __commonJS({ } }); -// ../testeranto/node_modules/supports-color/index.js +// node_modules/supports-color/index.js var require_supports_color = __commonJS({ - "../testeranto/node_modules/supports-color/index.js"(exports, module) { + "node_modules/supports-color/index.js"(exports, module) { "use strict"; init_cjs_shim(); var os = __require("os"); @@ -568,9 +568,9 @@ var require_supports_color = __commonJS({ } }); -// ../testeranto/node_modules/debug/src/node.js +// node_modules/debug/src/node.js var require_node = __commonJS({ - "../testeranto/node_modules/debug/src/node.js"(exports, module) { + "node_modules/debug/src/node.js"(exports, module) { init_cjs_shim(); var tty = __require("tty"); var util = __require("util"); @@ -743,9 +743,9 @@ var require_node = __commonJS({ } }); -// ../testeranto/node_modules/debug/src/index.js +// node_modules/debug/src/index.js var require_src = __commonJS({ - "../testeranto/node_modules/debug/src/index.js"(exports, module) { + "node_modules/debug/src/index.js"(exports, module) { init_cjs_shim(); if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) { module.exports = require_browser(); diff --git a/docs/node/chunk-RBY5JW3M.mjs b/docs/node/chunk-O3OSUFIX.mjs similarity index 94% rename from docs/node/chunk-RBY5JW3M.mjs rename to docs/node/chunk-O3OSUFIX.mjs index f1bf82e9..7ac6dc26 100644 --- a/docs/node/chunk-RBY5JW3M.mjs +++ b/docs/node/chunk-O3OSUFIX.mjs @@ -1,18 +1,18 @@ import { createRequire } from 'module';const require = createRequire(import.meta.url); import { puppeteer_core_default -} from "./chunk-Z577W6FW.mjs"; +} from "./chunk-CDRQ6FZS.mjs"; import { init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; +} from "./chunk-4IESOCHA.mjs"; -// ../testeranto/src/Node.ts +// node_modules/testeranto/src/Node.ts init_cjs_shim(); -// ../testeranto/src/lib/core.ts +// node_modules/testeranto/src/lib/core.ts init_cjs_shim(); -// ../testeranto/src/lib/index.ts +// node_modules/testeranto/src/lib/index.ts init_cjs_shim(); var BaseTestInterface = { beforeAll: async (s) => s, @@ -35,9 +35,16 @@ var defaultTestResourceRequirement = { ports: 0 }; -// ../testeranto/src/lib/abstractBase.ts +// node_modules/testeranto/src/lib/abstractBase.ts init_cjs_shim(); var BaseSuite = class { + name; + givens; + checks; + store; + fails; + testResourceConfiguration; + index; constructor(name, index, givens = {}, checks = []) { this.name = name; this.index = index; @@ -138,6 +145,16 @@ var BaseSuite = class { } }; var BaseGiven = class { + name; + features; + whens; + thens; + error; + fail; + store; + recommendedFsPath; + givenCB; + initialValues; constructor(name, features, whens, thens, givenCB, initialValues) { this.name = name; this.features = features; @@ -258,6 +275,9 @@ var BaseGiven = class { } }; var BaseWhen = class { + name; + whenCB; + error; constructor(name, whenCB) { this.name = name; this.whenCB = whenCB; @@ -297,6 +317,9 @@ var BaseWhen = class { } }; var BaseThen = class { + name; + thenCB; + error; constructor(name, thenCB) { this.name = name; this.thenCB = thenCB; @@ -325,6 +348,11 @@ var BaseThen = class { } }; var BaseCheck = class { + name; + features; + checkCB; + whens; + thens; constructor(name, features, checkCB, whens, thens) { this.name = name; this.features = features; @@ -375,16 +403,15 @@ var BaseCheck = class { } }; -// ../testeranto/src/lib/classBuilder.ts +// node_modules/testeranto/src/lib/classBuilder.ts init_cjs_shim(); -// ../testeranto/src/lib/basebuilder.ts +// node_modules/testeranto/src/lib/basebuilder.ts init_cjs_shim(); var BaseBuilder = class { constructor(input, suitesOverrides, givenOverides, whenOverides, thenOverides, checkOverides, testResourceRequirement, testSpecification) { this.input = input; this.artifacts = []; - this.artifacts = []; this.testResourceRequirement = testResourceRequirement; this.suitesOverrides = suitesOverrides; this.givenOverides = givenOverides; @@ -462,6 +489,18 @@ var BaseBuilder = class { }; }); } + specs; + assertThis; + testResourceRequirement; + artifacts = []; + testJobs; + testSpecification; + suitesOverrides; + givenOverides; + whenOverides; + thenOverides; + checkOverides; + puppetMaster; Specs() { return this.specs; } @@ -482,7 +521,7 @@ var BaseBuilder = class { } }; -// ../testeranto/src/lib/classBuilder.ts +// node_modules/testeranto/src/lib/classBuilder.ts var ClassBuilder = class extends BaseBuilder { constructor(testImplementation, testSpecification, input, suiteKlasser, givenKlasser, whenKlasser, thenKlasser, checkKlasser, testResourceRequirement) { const classySuites = Object.entries(testImplementation.suites).reduce( @@ -568,7 +607,7 @@ var ClassBuilder = class extends BaseBuilder { } }; -// ../testeranto/src/lib/core.ts +// node_modules/testeranto/src/lib/core.ts var Testeranto = class extends ClassBuilder { constructor(input, testSpecification, testImplementation, testResourceRequirement = defaultTestResourceRequirement, testInterface) { const fullTestInterface = DefaultTestInterface(testInterface); @@ -640,6 +679,7 @@ var Testeranto = class extends ClassBuilder { } }, class Check extends BaseCheck { + initialValues; constructor(name, features, checkCallback, whens, thens, initialValues) { super(name, features, checkCallback, whens, thens); this.initialValues = initialValues; @@ -676,14 +716,17 @@ var Testeranto = class extends ClassBuilder { } }; -// ../testeranto/src/PM/node.ts +// node_modules/testeranto/src/PM/node.ts init_cjs_shim(); import fs from "fs"; import path from "path"; -// ../testeranto/src/PM/index.ts +// node_modules/testeranto/src/PM/index.ts init_cjs_shim(); var PM = class { + server; + browser; + testResourceConfiguration; // pages(): Promise; // pages(): Promise { // return new Promise((res, rej) => { @@ -692,9 +735,11 @@ var PM = class { // } }; -// ../testeranto/src/PM/node.ts +// node_modules/testeranto/src/PM/node.ts var fPaths = []; var PM_Node = class extends PM { + server; + testResourceConfiguration; constructor(t) { super(); this.server = {}; @@ -786,7 +831,7 @@ var PM_Node = class extends PM { } }; -// ../testeranto/src/Node.ts +// node_modules/testeranto/src/Node.ts var NodeTesteranto = class extends Testeranto { constructor(input, testSpecification, testImplementation, testResourceRequirement, testInterface) { super( @@ -798,14 +843,9 @@ var NodeTesteranto = class extends Testeranto { ); } async receiveTestResourceConfig(partialTestResource) { - console.log( - "receiveTestResourceConfig!!", - this.testJobs[0].receiveTestResourceConfig - ); const t = JSON.parse(partialTestResource); const pm = new PM_Node(t); const { failed, artifacts, logPromise } = await this.testJobs[0].receiveTestResourceConfig(pm); - console.log("test is done, awaiting test result write to fs"); pm.customclose(); } }; diff --git a/docs/node/chunk-Q7O5F7ZM.mjs b/docs/node/chunk-Q7O5F7ZM.mjs deleted file mode 100644 index 6cb2b064..00000000 --- a/docs/node/chunk-Q7O5F7ZM.mjs +++ /dev/null @@ -1,31777 +0,0 @@ -import { createRequire } from 'module';const require = createRequire(import.meta.url); -import { - require_react -} from "./chunk-2UPDHKQX.mjs"; -import { - app_default -} from "./chunk-EP6GCRJ6.mjs"; -import { - __commonJS, - __toESM, - init_cjs_shim -} from "./chunk-THMF2HPO.mjs"; - -// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js -var require_use_sync_external_store_shim_production_min = __commonJS({ - "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js"(exports) { - "use strict"; - init_cjs_shim(); - var e = require_react(); - function h(a, b) { - return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; - } - var k = "function" === typeof Object.is ? Object.is : h; - var l = e.useState; - var m = e.useEffect; - var n = e.useLayoutEffect; - var p = e.useDebugValue; - function q(a, b) { - var d = b(), f = l({ inst: { value: d, getSnapshot: b } }), c = f[0].inst, g = f[1]; - n(function() { - c.value = d; - c.getSnapshot = b; - r(c) && g({ inst: c }); - }, [a, d, b]); - m(function() { - r(c) && g({ inst: c }); - return a(function() { - r(c) && g({ inst: c }); - }); - }, [a]); - p(d); - return d; - } - function r(a) { - var b = a.getSnapshot; - a = a.value; - try { - var d = b(); - return !k(a, d); - } catch (f) { - return true; - } - } - function t(a, b) { - return b(); - } - var u = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? t : q; - exports.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u; - } -}); - -// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js -var require_use_sync_external_store_shim_development = __commonJS({ - "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV !== "production") { - (function() { - "use strict"; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - } - var React2 = require_react(); - var ReactSharedInternals = React2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function error(format) { - { - { - for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - printWarning("error", format, args); - } - } - } - function printWarning(level, format, args) { - { - var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; - var stack = ReactDebugCurrentFrame.getStackAddendum(); - if (stack !== "") { - format += "%s"; - args = args.concat([stack]); - } - var argsWithFormat = args.map(function(item) { - return String(item); - }); - argsWithFormat.unshift("Warning: " + format); - Function.prototype.apply.call(console[level], console, argsWithFormat); - } - } - function is(x, y) { - return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y; - } - var objectIs = typeof Object.is === "function" ? Object.is : is; - var useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue = React2.useDebugValue; - var didWarnOld18Alpha = false; - var didWarnUncachedGetSnapshot = false; - function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { - { - if (!didWarnOld18Alpha) { - if (React2.startTransition !== void 0) { - didWarnOld18Alpha = true; - error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."); - } - } - } - var value = getSnapshot(); - { - if (!didWarnUncachedGetSnapshot) { - var cachedValue = getSnapshot(); - if (!objectIs(value, cachedValue)) { - error("The result of getSnapshot should be cached to avoid an infinite loop"); - didWarnUncachedGetSnapshot = true; - } - } - } - var _useState = useState({ - inst: { - value, - getSnapshot - } - }), inst = _useState[0].inst, forceUpdate = _useState[1]; - useLayoutEffect(function() { - inst.value = value; - inst.getSnapshot = getSnapshot; - if (checkIfSnapshotChanged(inst)) { - forceUpdate({ - inst - }); - } - }, [subscribe, value, getSnapshot]); - useEffect(function() { - if (checkIfSnapshotChanged(inst)) { - forceUpdate({ - inst - }); - } - var handleStoreChange = function() { - if (checkIfSnapshotChanged(inst)) { - forceUpdate({ - inst - }); - } - }; - return subscribe(handleStoreChange); - }, [subscribe]); - useDebugValue(value); - return value; - } - function checkIfSnapshotChanged(inst) { - var latestGetSnapshot = inst.getSnapshot; - var prevValue = inst.value; - try { - var nextValue = latestGetSnapshot(); - return !objectIs(prevValue, nextValue); - } catch (error2) { - return true; - } - } - function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) { - return getSnapshot(); - } - var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined"); - var isServerEnvironment = !canUseDOM; - var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore; - var useSyncExternalStore$2 = React2.useSyncExternalStore !== void 0 ? React2.useSyncExternalStore : shim; - exports.useSyncExternalStore = useSyncExternalStore$2; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - } - })(); - } - } -}); - -// node_modules/use-sync-external-store/shim/index.js -var require_shim = __commonJS({ - "node_modules/use-sync-external-store/shim/index.js"(exports, module) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV === "production") { - module.exports = require_use_sync_external_store_shim_production_min(); - } else { - module.exports = require_use_sync_external_store_shim_development(); - } - } -}); - -// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js -var require_with_selector_production_min = __commonJS({ - "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js"(exports) { - "use strict"; - init_cjs_shim(); - var h = require_react(); - var n = require_shim(); - function p(a, b) { - return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; - } - var q = "function" === typeof Object.is ? Object.is : p; - var r = n.useSyncExternalStore; - var t = h.useRef; - var u = h.useEffect; - var v = h.useMemo; - var w = h.useDebugValue; - exports.useSyncExternalStoreWithSelector = function(a, b, e, l, g) { - var c = t(null); - if (null === c.current) { - var f = { hasValue: false, value: null }; - c.current = f; - } else - f = c.current; - c = v(function() { - function a2(a3) { - if (!c2) { - c2 = true; - d2 = a3; - a3 = l(a3); - if (void 0 !== g && f.hasValue) { - var b2 = f.value; - if (g(b2, a3)) - return k = b2; - } - return k = a3; - } - b2 = k; - if (q(d2, a3)) - return b2; - var e2 = l(a3); - if (void 0 !== g && g(b2, e2)) - return b2; - d2 = a3; - return k = e2; - } - var c2 = false, d2, k, m = void 0 === e ? null : e; - return [function() { - return a2(b()); - }, null === m ? void 0 : function() { - return a2(m()); - }]; - }, [b, e, l, g]); - var d = r(a, c[0], c[1]); - u(function() { - f.hasValue = true; - f.value = d; - }, [d]); - w(d); - return d; - }; - } -}); - -// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js -var require_with_selector_development = __commonJS({ - "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"(exports) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV !== "production") { - (function() { - "use strict"; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - } - var React2 = require_react(); - var shim = require_shim(); - function is(x, y) { - return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y; - } - var objectIs = typeof Object.is === "function" ? Object.is : is; - var useSyncExternalStore = shim.useSyncExternalStore; - var useRef = React2.useRef, useEffect = React2.useEffect, useMemo = React2.useMemo, useDebugValue = React2.useDebugValue; - function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector2, isEqual) { - var instRef = useRef(null); - var inst; - if (instRef.current === null) { - inst = { - hasValue: false, - value: null - }; - instRef.current = inst; - } else { - inst = instRef.current; - } - var _useMemo = useMemo(function() { - var hasMemo = false; - var memoizedSnapshot; - var memoizedSelection; - var memoizedSelector = function(nextSnapshot) { - if (!hasMemo) { - hasMemo = true; - memoizedSnapshot = nextSnapshot; - var _nextSelection = selector2(nextSnapshot); - if (isEqual !== void 0) { - if (inst.hasValue) { - var currentSelection = inst.value; - if (isEqual(currentSelection, _nextSelection)) { - memoizedSelection = currentSelection; - return currentSelection; - } - } - } - memoizedSelection = _nextSelection; - return _nextSelection; - } - var prevSnapshot = memoizedSnapshot; - var prevSelection = memoizedSelection; - if (objectIs(prevSnapshot, nextSnapshot)) { - return prevSelection; - } - var nextSelection = selector2(nextSnapshot); - if (isEqual !== void 0 && isEqual(prevSelection, nextSelection)) { - return prevSelection; - } - memoizedSnapshot = nextSnapshot; - memoizedSelection = nextSelection; - return nextSelection; - }; - var maybeGetServerSnapshot = getServerSnapshot === void 0 ? null : getServerSnapshot; - var getSnapshotWithSelector = function() { - return memoizedSelector(getSnapshot()); - }; - var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? void 0 : function() { - return memoizedSelector(maybeGetServerSnapshot()); - }; - return [getSnapshotWithSelector, getServerSnapshotWithSelector]; - }, [getSnapshot, getServerSnapshot, selector2, isEqual]), getSelection = _useMemo[0], getServerSelection = _useMemo[1]; - var value = useSyncExternalStore(subscribe, getSelection, getServerSelection); - useEffect(function() { - inst.hasValue = true; - inst.value = value; - }, [value]); - useDebugValue(value); - return value; - } - exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - } - })(); - } - } -}); - -// node_modules/use-sync-external-store/shim/with-selector.js -var require_with_selector = __commonJS({ - "node_modules/use-sync-external-store/shim/with-selector.js"(exports, module) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV === "production") { - module.exports = require_with_selector_production_min(); - } else { - module.exports = require_with_selector_development(); - } - } -}); - -// node_modules/scheduler/cjs/scheduler.production.min.js -var require_scheduler_production_min = __commonJS({ - "node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { - "use strict"; - init_cjs_shim(); - function f(a, b) { - var c = a.length; - a.push(b); - a: - for (; 0 < c; ) { - var d = c - 1 >>> 1, e = a[d]; - if (0 < g(e, b)) - a[d] = b, a[c] = e, c = d; - else - break a; - } - } - function h(a) { - return 0 === a.length ? null : a[0]; - } - function k(a) { - if (0 === a.length) - return null; - var b = a[0], c = a.pop(); - if (c !== b) { - a[0] = c; - a: - for (var d = 0, e = a.length, w = e >>> 1; d < w; ) { - var m = 2 * (d + 1) - 1, C = a[m], n = m + 1, x = a[n]; - if (0 > g(C, c)) - n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m); - else if (n < e && 0 > g(x, c)) - a[d] = x, a[n] = c, d = n; - else - break a; - } - } - return b; - } - function g(a, b) { - var c = a.sortIndex - b.sortIndex; - return 0 !== c ? c : a.id - b.id; - } - if ("object" === typeof performance && "function" === typeof performance.now) { - l = performance; - exports.unstable_now = function() { - return l.now(); - }; - } else { - p = Date, q = p.now(); - exports.unstable_now = function() { - return p.now() - q; - }; - } - var l; - var p; - var q; - var r = []; - var t = []; - var u = 1; - var v = null; - var y = 3; - var z = false; - var A = false; - var B = false; - var D = "function" === typeof setTimeout ? setTimeout : null; - var E = "function" === typeof clearTimeout ? clearTimeout : null; - var F = "undefined" !== typeof setImmediate ? setImmediate : null; - "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); - function G(a) { - for (var b = h(t); null !== b; ) { - if (null === b.callback) - k(t); - else if (b.startTime <= a) - k(t), b.sortIndex = b.expirationTime, f(r, b); - else - break; - b = h(t); - } - } - function H(a) { - B = false; - G(a); - if (!A) - if (null !== h(r)) - A = true, I(J); - else { - var b = h(t); - null !== b && K(H, b.startTime - a); - } - } - function J(a, b) { - A = false; - B && (B = false, E(L), L = -1); - z = true; - var c = y; - try { - G(b); - for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M()); ) { - var d = v.callback; - if ("function" === typeof d) { - v.callback = null; - y = v.priorityLevel; - var e = d(v.expirationTime <= b); - b = exports.unstable_now(); - "function" === typeof e ? v.callback = e : v === h(r) && k(r); - G(b); - } else - k(r); - v = h(r); - } - if (null !== v) - var w = true; - else { - var m = h(t); - null !== m && K(H, m.startTime - b); - w = false; - } - return w; - } finally { - v = null, y = c, z = false; - } - } - var N = false; - var O = null; - var L = -1; - var P = 5; - var Q = -1; - function M() { - return exports.unstable_now() - Q < P ? false : true; - } - function R() { - if (null !== O) { - var a = exports.unstable_now(); - Q = a; - var b = true; - try { - b = O(true, a); - } finally { - b ? S() : (N = false, O = null); - } - } else - N = false; - } - var S; - if ("function" === typeof F) - S = function() { - F(R); - }; - else if ("undefined" !== typeof MessageChannel) { - T = new MessageChannel(), U = T.port2; - T.port1.onmessage = R; - S = function() { - U.postMessage(null); - }; - } else - S = function() { - D(R, 0); - }; - var T; - var U; - function I(a) { - O = a; - N || (N = true, S()); - } - function K(a, b) { - L = D(function() { - a(exports.unstable_now()); - }, b); - } - exports.unstable_IdlePriority = 5; - exports.unstable_ImmediatePriority = 1; - exports.unstable_LowPriority = 4; - exports.unstable_NormalPriority = 3; - exports.unstable_Profiling = null; - exports.unstable_UserBlockingPriority = 2; - exports.unstable_cancelCallback = function(a) { - a.callback = null; - }; - exports.unstable_continueExecution = function() { - A || z || (A = true, I(J)); - }; - exports.unstable_forceFrameRate = function(a) { - 0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1e3 / a) : 5; - }; - exports.unstable_getCurrentPriorityLevel = function() { - return y; - }; - exports.unstable_getFirstCallbackNode = function() { - return h(r); - }; - exports.unstable_next = function(a) { - switch (y) { - case 1: - case 2: - case 3: - var b = 3; - break; - default: - b = y; - } - var c = y; - y = b; - try { - return a(); - } finally { - y = c; - } - }; - exports.unstable_pauseExecution = function() { - }; - exports.unstable_requestPaint = function() { - }; - exports.unstable_runWithPriority = function(a, b) { - switch (a) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - a = 3; - } - var c = y; - y = a; - try { - return b(); - } finally { - y = c; - } - }; - exports.unstable_scheduleCallback = function(a, b, c) { - var d = exports.unstable_now(); - "object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d; - switch (a) { - case 1: - var e = -1; - break; - case 2: - e = 250; - break; - case 5: - e = 1073741823; - break; - case 4: - e = 1e4; - break; - default: - e = 5e3; - } - e = c + e; - a = { id: u++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 }; - c > d ? (a.sortIndex = c, f(t, a), null === h(r) && a === h(t) && (B ? (E(L), L = -1) : B = true, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = true, I(J))); - return a; - }; - exports.unstable_shouldYield = M; - exports.unstable_wrapCallback = function(a) { - var b = y; - return function() { - var c = y; - y = b; - try { - return a.apply(this, arguments); - } finally { - y = c; - } - }; - }; - } -}); - -// node_modules/scheduler/cjs/scheduler.development.js -var require_scheduler_development = __commonJS({ - "node_modules/scheduler/cjs/scheduler.development.js"(exports) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV !== "production") { - (function() { - "use strict"; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - } - var enableSchedulerDebugging = false; - var enableProfiling = false; - var frameYieldMs = 5; - function push(heap, node) { - var index = heap.length; - heap.push(node); - siftUp(heap, node, index); - } - function peek(heap) { - return heap.length === 0 ? null : heap[0]; - } - function pop(heap) { - if (heap.length === 0) { - return null; - } - var first = heap[0]; - var last = heap.pop(); - if (last !== first) { - heap[0] = last; - siftDown(heap, last, 0); - } - return first; - } - function siftUp(heap, node, i) { - var index = i; - while (index > 0) { - var parentIndex = index - 1 >>> 1; - var parent = heap[parentIndex]; - if (compare(parent, node) > 0) { - heap[parentIndex] = node; - heap[index] = parent; - index = parentIndex; - } else { - return; - } - } - } - function siftDown(heap, node, i) { - var index = i; - var length = heap.length; - var halfLength = length >>> 1; - while (index < halfLength) { - var leftIndex = (index + 1) * 2 - 1; - var left = heap[leftIndex]; - var rightIndex = leftIndex + 1; - var right = heap[rightIndex]; - if (compare(left, node) < 0) { - if (rightIndex < length && compare(right, left) < 0) { - heap[index] = right; - heap[rightIndex] = node; - index = rightIndex; - } else { - heap[index] = left; - heap[leftIndex] = node; - index = leftIndex; - } - } else if (rightIndex < length && compare(right, node) < 0) { - heap[index] = right; - heap[rightIndex] = node; - index = rightIndex; - } else { - return; - } - } - } - function compare(a, b) { - var diff = a.sortIndex - b.sortIndex; - return diff !== 0 ? diff : a.id - b.id; - } - var ImmediatePriority = 1; - var UserBlockingPriority = 2; - var NormalPriority = 3; - var LowPriority = 4; - var IdlePriority = 5; - function markTaskErrored(task, ms) { - } - var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function"; - if (hasPerformanceNow) { - var localPerformance = performance; - exports.unstable_now = function() { - return localPerformance.now(); - }; - } else { - var localDate = Date; - var initialTime = localDate.now(); - exports.unstable_now = function() { - return localDate.now() - initialTime; - }; - } - var maxSigned31BitInt = 1073741823; - var IMMEDIATE_PRIORITY_TIMEOUT = -1; - var USER_BLOCKING_PRIORITY_TIMEOUT = 250; - var NORMAL_PRIORITY_TIMEOUT = 5e3; - var LOW_PRIORITY_TIMEOUT = 1e4; - var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt; - var taskQueue = []; - var timerQueue = []; - var taskIdCounter = 1; - var currentTask = null; - var currentPriorityLevel = NormalPriority; - var isPerformingWork = false; - var isHostCallbackScheduled = false; - var isHostTimeoutScheduled = false; - var localSetTimeout = typeof setTimeout === "function" ? setTimeout : null; - var localClearTimeout = typeof clearTimeout === "function" ? clearTimeout : null; - var localSetImmediate = typeof setImmediate !== "undefined" ? setImmediate : null; - var isInputPending = typeof navigator !== "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null; - function advanceTimers(currentTime) { - var timer = peek(timerQueue); - while (timer !== null) { - if (timer.callback === null) { - pop(timerQueue); - } else if (timer.startTime <= currentTime) { - pop(timerQueue); - timer.sortIndex = timer.expirationTime; - push(taskQueue, timer); - } else { - return; - } - timer = peek(timerQueue); - } - } - function handleTimeout(currentTime) { - isHostTimeoutScheduled = false; - advanceTimers(currentTime); - if (!isHostCallbackScheduled) { - if (peek(taskQueue) !== null) { - isHostCallbackScheduled = true; - requestHostCallback(flushWork); - } else { - var firstTimer = peek(timerQueue); - if (firstTimer !== null) { - requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); - } - } - } - } - function flushWork(hasTimeRemaining, initialTime2) { - isHostCallbackScheduled = false; - if (isHostTimeoutScheduled) { - isHostTimeoutScheduled = false; - cancelHostTimeout(); - } - isPerformingWork = true; - var previousPriorityLevel = currentPriorityLevel; - try { - if (enableProfiling) { - try { - return workLoop(hasTimeRemaining, initialTime2); - } catch (error) { - if (currentTask !== null) { - var currentTime = exports.unstable_now(); - markTaskErrored(currentTask, currentTime); - currentTask.isQueued = false; - } - throw error; - } - } else { - return workLoop(hasTimeRemaining, initialTime2); - } - } finally { - currentTask = null; - currentPriorityLevel = previousPriorityLevel; - isPerformingWork = false; - } - } - function workLoop(hasTimeRemaining, initialTime2) { - var currentTime = initialTime2; - advanceTimers(currentTime); - currentTask = peek(taskQueue); - while (currentTask !== null && !enableSchedulerDebugging) { - if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) { - break; - } - var callback = currentTask.callback; - if (typeof callback === "function") { - currentTask.callback = null; - currentPriorityLevel = currentTask.priorityLevel; - var didUserCallbackTimeout = currentTask.expirationTime <= currentTime; - var continuationCallback = callback(didUserCallbackTimeout); - currentTime = exports.unstable_now(); - if (typeof continuationCallback === "function") { - currentTask.callback = continuationCallback; - } else { - if (currentTask === peek(taskQueue)) { - pop(taskQueue); - } - } - advanceTimers(currentTime); - } else { - pop(taskQueue); - } - currentTask = peek(taskQueue); - } - if (currentTask !== null) { - return true; - } else { - var firstTimer = peek(timerQueue); - if (firstTimer !== null) { - requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); - } - return false; - } - } - function unstable_runWithPriority(priorityLevel, eventHandler) { - switch (priorityLevel) { - case ImmediatePriority: - case UserBlockingPriority: - case NormalPriority: - case LowPriority: - case IdlePriority: - break; - default: - priorityLevel = NormalPriority; - } - var previousPriorityLevel = currentPriorityLevel; - currentPriorityLevel = priorityLevel; - try { - return eventHandler(); - } finally { - currentPriorityLevel = previousPriorityLevel; - } - } - function unstable_next(eventHandler) { - var priorityLevel; - switch (currentPriorityLevel) { - case ImmediatePriority: - case UserBlockingPriority: - case NormalPriority: - priorityLevel = NormalPriority; - break; - default: - priorityLevel = currentPriorityLevel; - break; - } - var previousPriorityLevel = currentPriorityLevel; - currentPriorityLevel = priorityLevel; - try { - return eventHandler(); - } finally { - currentPriorityLevel = previousPriorityLevel; - } - } - function unstable_wrapCallback(callback) { - var parentPriorityLevel = currentPriorityLevel; - return function() { - var previousPriorityLevel = currentPriorityLevel; - currentPriorityLevel = parentPriorityLevel; - try { - return callback.apply(this, arguments); - } finally { - currentPriorityLevel = previousPriorityLevel; - } - }; - } - function unstable_scheduleCallback(priorityLevel, callback, options) { - var currentTime = exports.unstable_now(); - var startTime2; - if (typeof options === "object" && options !== null) { - var delay = options.delay; - if (typeof delay === "number" && delay > 0) { - startTime2 = currentTime + delay; - } else { - startTime2 = currentTime; - } - } else { - startTime2 = currentTime; - } - var timeout; - switch (priorityLevel) { - case ImmediatePriority: - timeout = IMMEDIATE_PRIORITY_TIMEOUT; - break; - case UserBlockingPriority: - timeout = USER_BLOCKING_PRIORITY_TIMEOUT; - break; - case IdlePriority: - timeout = IDLE_PRIORITY_TIMEOUT; - break; - case LowPriority: - timeout = LOW_PRIORITY_TIMEOUT; - break; - case NormalPriority: - default: - timeout = NORMAL_PRIORITY_TIMEOUT; - break; - } - var expirationTime = startTime2 + timeout; - var newTask = { - id: taskIdCounter++, - callback, - priorityLevel, - startTime: startTime2, - expirationTime, - sortIndex: -1 - }; - if (startTime2 > currentTime) { - newTask.sortIndex = startTime2; - push(timerQueue, newTask); - if (peek(taskQueue) === null && newTask === peek(timerQueue)) { - if (isHostTimeoutScheduled) { - cancelHostTimeout(); - } else { - isHostTimeoutScheduled = true; - } - requestHostTimeout(handleTimeout, startTime2 - currentTime); - } - } else { - newTask.sortIndex = expirationTime; - push(taskQueue, newTask); - if (!isHostCallbackScheduled && !isPerformingWork) { - isHostCallbackScheduled = true; - requestHostCallback(flushWork); - } - } - return newTask; - } - function unstable_pauseExecution() { - } - function unstable_continueExecution() { - if (!isHostCallbackScheduled && !isPerformingWork) { - isHostCallbackScheduled = true; - requestHostCallback(flushWork); - } - } - function unstable_getFirstCallbackNode() { - return peek(taskQueue); - } - function unstable_cancelCallback(task) { - task.callback = null; - } - function unstable_getCurrentPriorityLevel() { - return currentPriorityLevel; - } - var isMessageLoopRunning = false; - var scheduledHostCallback = null; - var taskTimeoutID = -1; - var frameInterval = frameYieldMs; - var startTime = -1; - function shouldYieldToHost() { - var timeElapsed = exports.unstable_now() - startTime; - if (timeElapsed < frameInterval) { - return false; - } - return true; - } - function requestPaint() { - } - function forceFrameRate(fps) { - if (fps < 0 || fps > 125) { - console["error"]("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"); - return; - } - if (fps > 0) { - frameInterval = Math.floor(1e3 / fps); - } else { - frameInterval = frameYieldMs; - } - } - var performWorkUntilDeadline = function() { - if (scheduledHostCallback !== null) { - var currentTime = exports.unstable_now(); - startTime = currentTime; - var hasTimeRemaining = true; - var hasMoreWork = true; - try { - hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime); - } finally { - if (hasMoreWork) { - schedulePerformWorkUntilDeadline(); - } else { - isMessageLoopRunning = false; - scheduledHostCallback = null; - } - } - } else { - isMessageLoopRunning = false; - } - }; - var schedulePerformWorkUntilDeadline; - if (typeof localSetImmediate === "function") { - schedulePerformWorkUntilDeadline = function() { - localSetImmediate(performWorkUntilDeadline); - }; - } else if (typeof MessageChannel !== "undefined") { - var channel = new MessageChannel(); - var port = channel.port2; - channel.port1.onmessage = performWorkUntilDeadline; - schedulePerformWorkUntilDeadline = function() { - port.postMessage(null); - }; - } else { - schedulePerformWorkUntilDeadline = function() { - localSetTimeout(performWorkUntilDeadline, 0); - }; - } - function requestHostCallback(callback) { - scheduledHostCallback = callback; - if (!isMessageLoopRunning) { - isMessageLoopRunning = true; - schedulePerformWorkUntilDeadline(); - } - } - function requestHostTimeout(callback, ms) { - taskTimeoutID = localSetTimeout(function() { - callback(exports.unstable_now()); - }, ms); - } - function cancelHostTimeout() { - localClearTimeout(taskTimeoutID); - taskTimeoutID = -1; - } - var unstable_requestPaint = requestPaint; - var unstable_Profiling = null; - exports.unstable_IdlePriority = IdlePriority; - exports.unstable_ImmediatePriority = ImmediatePriority; - exports.unstable_LowPriority = LowPriority; - exports.unstable_NormalPriority = NormalPriority; - exports.unstable_Profiling = unstable_Profiling; - exports.unstable_UserBlockingPriority = UserBlockingPriority; - exports.unstable_cancelCallback = unstable_cancelCallback; - exports.unstable_continueExecution = unstable_continueExecution; - exports.unstable_forceFrameRate = forceFrameRate; - exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel; - exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode; - exports.unstable_next = unstable_next; - exports.unstable_pauseExecution = unstable_pauseExecution; - exports.unstable_requestPaint = unstable_requestPaint; - exports.unstable_runWithPriority = unstable_runWithPriority; - exports.unstable_scheduleCallback = unstable_scheduleCallback; - exports.unstable_shouldYield = shouldYieldToHost; - exports.unstable_wrapCallback = unstable_wrapCallback; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - } - })(); - } - } -}); - -// node_modules/scheduler/index.js -var require_scheduler = __commonJS({ - "node_modules/scheduler/index.js"(exports, module) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV === "production") { - module.exports = require_scheduler_production_min(); - } else { - module.exports = require_scheduler_development(); - } - } -}); - -// node_modules/react-dom/cjs/react-dom.production.min.js -var require_react_dom_production_min = __commonJS({ - "node_modules/react-dom/cjs/react-dom.production.min.js"(exports) { - "use strict"; - init_cjs_shim(); - var aa = require_react(); - var ca = require_scheduler(); - function p(a) { - for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) - b += "&args[]=" + encodeURIComponent(arguments[c]); - return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; - } - var da = /* @__PURE__ */ new Set(); - var ea = {}; - function fa(a, b) { - ha(a, b); - ha(a + "Capture", b); - } - function ha(a, b) { - ea[a] = b; - for (a = 0; a < b.length; a++) - da.add(b[a]); - } - var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement); - var ja = Object.prototype.hasOwnProperty; - var ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/; - var la = {}; - var ma = {}; - function oa(a) { - if (ja.call(ma, a)) - return true; - if (ja.call(la, a)) - return false; - if (ka.test(a)) - return ma[a] = true; - la[a] = true; - return false; - } - function pa(a, b, c, d) { - if (null !== c && 0 === c.type) - return false; - switch (typeof b) { - case "function": - case "symbol": - return true; - case "boolean": - if (d) - return false; - if (null !== c) - return !c.acceptsBooleans; - a = a.toLowerCase().slice(0, 5); - return "data-" !== a && "aria-" !== a; - default: - return false; - } - } - function qa(a, b, c, d) { - if (null === b || "undefined" === typeof b || pa(a, b, c, d)) - return true; - if (d) - return false; - if (null !== c) - switch (c.type) { - case 3: - return !b; - case 4: - return false === b; - case 5: - return isNaN(b); - case 6: - return isNaN(b) || 1 > b; - } - return false; - } - function v(a, b, c, d, e, f, g) { - this.acceptsBooleans = 2 === b || 3 === b || 4 === b; - this.attributeName = d; - this.attributeNamespace = e; - this.mustUseProperty = c; - this.propertyName = a; - this.type = b; - this.sanitizeURL = f; - this.removeEmptyString = g; - } - var z = {}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) { - z[a] = new v(a, 0, false, a, null, false, false); - }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) { - var b = a[0]; - z[b] = new v(b, 1, false, a[1], null, false, false); - }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) { - z[a] = new v(a, 2, false, a.toLowerCase(), null, false, false); - }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) { - z[a] = new v(a, 2, false, a, null, false, false); - }); - "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) { - z[a] = new v(a, 3, false, a.toLowerCase(), null, false, false); - }); - ["checked", "multiple", "muted", "selected"].forEach(function(a) { - z[a] = new v(a, 3, true, a, null, false, false); - }); - ["capture", "download"].forEach(function(a) { - z[a] = new v(a, 4, false, a, null, false, false); - }); - ["cols", "rows", "size", "span"].forEach(function(a) { - z[a] = new v(a, 6, false, a, null, false, false); - }); - ["rowSpan", "start"].forEach(function(a) { - z[a] = new v(a, 5, false, a.toLowerCase(), null, false, false); - }); - var ra = /[\-:]([a-z])/g; - function sa(a) { - return a[1].toUpperCase(); - } - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) { - var b = a.replace( - ra, - sa - ); - z[b] = new v(b, 1, false, a, null, false, false); - }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) { - var b = a.replace(ra, sa); - z[b] = new v(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false); - }); - ["xml:base", "xml:lang", "xml:space"].forEach(function(a) { - var b = a.replace(ra, sa); - z[b] = new v(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false); - }); - ["tabIndex", "crossOrigin"].forEach(function(a) { - z[a] = new v(a, 1, false, a.toLowerCase(), null, false, false); - }); - z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); - ["src", "href", "action", "formAction"].forEach(function(a) { - z[a] = new v(a, 1, false, a.toLowerCase(), null, true, true); - }); - function ta(a, b, c, d) { - var e = z.hasOwnProperty(b) ? z[b] : null; - if (null !== e ? 0 !== e.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1]) - qa(b, c, e, d) && (c = null), d || null === e ? oa(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && true === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))); - } - var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - var va = Symbol.for("react.element"); - var wa = Symbol.for("react.portal"); - var ya = Symbol.for("react.fragment"); - var za = Symbol.for("react.strict_mode"); - var Aa = Symbol.for("react.profiler"); - var Ba = Symbol.for("react.provider"); - var Ca = Symbol.for("react.context"); - var Da = Symbol.for("react.forward_ref"); - var Ea = Symbol.for("react.suspense"); - var Fa = Symbol.for("react.suspense_list"); - var Ga = Symbol.for("react.memo"); - var Ha = Symbol.for("react.lazy"); - Symbol.for("react.scope"); - Symbol.for("react.debug_trace_mode"); - var Ia = Symbol.for("react.offscreen"); - Symbol.for("react.legacy_hidden"); - Symbol.for("react.cache"); - Symbol.for("react.tracing_marker"); - var Ja = Symbol.iterator; - function Ka(a) { - if (null === a || "object" !== typeof a) - return null; - a = Ja && a[Ja] || a["@@iterator"]; - return "function" === typeof a ? a : null; - } - var A = Object.assign; - var La; - function Ma(a) { - if (void 0 === La) - try { - throw Error(); - } catch (c) { - var b = c.stack.trim().match(/\n( *(at )?)/); - La = b && b[1] || ""; - } - return "\n" + La + a; - } - var Na = false; - function Oa(a, b) { - if (!a || Na) - return ""; - Na = true; - var c = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - try { - if (b) - if (b = function() { - throw Error(); - }, Object.defineProperty(b.prototype, "props", { set: function() { - throw Error(); - } }), "object" === typeof Reflect && Reflect.construct) { - try { - Reflect.construct(b, []); - } catch (l) { - var d = l; - } - Reflect.construct(a, [], b); - } else { - try { - b.call(); - } catch (l) { - d = l; - } - a.call(b.prototype); - } - else { - try { - throw Error(); - } catch (l) { - d = l; - } - a(); - } - } catch (l) { - if (l && d && "string" === typeof l.stack) { - for (var e = l.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h]; ) - h--; - for (; 1 <= g && 0 <= h; g--, h--) - if (e[g] !== f[h]) { - if (1 !== g || 1 !== h) { - do - if (g--, h--, 0 > h || e[g] !== f[h]) { - var k = "\n" + e[g].replace(" at new ", " at "); - a.displayName && k.includes("") && (k = k.replace("", a.displayName)); - return k; - } - while (1 <= g && 0 <= h); - } - break; - } - } - } finally { - Na = false, Error.prepareStackTrace = c; - } - return (a = a ? a.displayName || a.name : "") ? Ma(a) : ""; - } - function Pa(a) { - switch (a.tag) { - case 5: - return Ma(a.type); - case 16: - return Ma("Lazy"); - case 13: - return Ma("Suspense"); - case 19: - return Ma("SuspenseList"); - case 0: - case 2: - case 15: - return a = Oa(a.type, false), a; - case 11: - return a = Oa(a.type.render, false), a; - case 1: - return a = Oa(a.type, true), a; - default: - return ""; - } - } - function Qa(a) { - if (null == a) - return null; - if ("function" === typeof a) - return a.displayName || a.name || null; - if ("string" === typeof a) - return a; - switch (a) { - case ya: - return "Fragment"; - case wa: - return "Portal"; - case Aa: - return "Profiler"; - case za: - return "StrictMode"; - case Ea: - return "Suspense"; - case Fa: - return "SuspenseList"; - } - if ("object" === typeof a) - switch (a.$$typeof) { - case Ca: - return (a.displayName || "Context") + ".Consumer"; - case Ba: - return (a._context.displayName || "Context") + ".Provider"; - case Da: - var b = a.render; - a = a.displayName; - a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef"); - return a; - case Ga: - return b = a.displayName || null, null !== b ? b : Qa(a.type) || "Memo"; - case Ha: - b = a._payload; - a = a._init; - try { - return Qa(a(b)); - } catch (c) { - } - } - return null; - } - function Ra(a) { - var b = a.type; - switch (a.tag) { - case 24: - return "Cache"; - case 9: - return (b.displayName || "Context") + ".Consumer"; - case 10: - return (b._context.displayName || "Context") + ".Provider"; - case 18: - return "DehydratedFragment"; - case 11: - return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef"); - case 7: - return "Fragment"; - case 5: - return b; - case 4: - return "Portal"; - case 3: - return "Root"; - case 6: - return "Text"; - case 16: - return Qa(b); - case 8: - return b === za ? "StrictMode" : "Mode"; - case 22: - return "Offscreen"; - case 12: - return "Profiler"; - case 21: - return "Scope"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 25: - return "TracingMarker"; - case 1: - case 0: - case 17: - case 2: - case 14: - case 15: - if ("function" === typeof b) - return b.displayName || b.name || null; - if ("string" === typeof b) - return b; - } - return null; - } - function Sa(a) { - switch (typeof a) { - case "boolean": - case "number": - case "string": - case "undefined": - return a; - case "object": - return a; - default: - return ""; - } - } - function Ta(a) { - var b = a.type; - return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b); - } - function Ua(a) { - var b = Ta(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b]; - if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) { - var e = c.get, f = c.set; - Object.defineProperty(a, b, { configurable: true, get: function() { - return e.call(this); - }, set: function(a2) { - d = "" + a2; - f.call(this, a2); - } }); - Object.defineProperty(a, b, { enumerable: c.enumerable }); - return { getValue: function() { - return d; - }, setValue: function(a2) { - d = "" + a2; - }, stopTracking: function() { - a._valueTracker = null; - delete a[b]; - } }; - } - } - function Va(a) { - a._valueTracker || (a._valueTracker = Ua(a)); - } - function Wa(a) { - if (!a) - return false; - var b = a._valueTracker; - if (!b) - return true; - var c = b.getValue(); - var d = ""; - a && (d = Ta(a) ? a.checked ? "true" : "false" : a.value); - a = d; - return a !== c ? (b.setValue(a), true) : false; - } - function Xa(a) { - a = a || ("undefined" !== typeof document ? document : void 0); - if ("undefined" === typeof a) - return null; - try { - return a.activeElement || a.body; - } catch (b) { - return a.body; - } - } - function Ya(a, b) { - var c = b.checked; - return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked }); - } - function Za(a, b) { - var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked; - c = Sa(null != b.value ? b.value : c); - a._wrapperState = { initialChecked: d, initialValue: c, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value }; - } - function ab(a, b) { - b = b.checked; - null != b && ta(a, "checked", b, false); - } - function bb(a, b) { - ab(a, b); - var c = Sa(b.value), d = b.type; - if (null != c) - if ("number" === d) { - if (0 === c && "" === a.value || a.value != c) - a.value = "" + c; - } else - a.value !== "" + c && (a.value = "" + c); - else if ("submit" === d || "reset" === d) { - a.removeAttribute("value"); - return; - } - b.hasOwnProperty("value") ? cb(a, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a, b.type, Sa(b.defaultValue)); - null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked); - } - function db(a, b, c) { - if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) { - var d = b.type; - if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) - return; - b = "" + a._wrapperState.initialValue; - c || b === a.value || (a.value = b); - a.defaultValue = b; - } - c = a.name; - "" !== c && (a.name = ""); - a.defaultChecked = !!a._wrapperState.initialChecked; - "" !== c && (a.name = c); - } - function cb(a, b, c) { - if ("number" !== b || Xa(a.ownerDocument) !== a) - null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c); - } - var eb = Array.isArray; - function fb(a, b, c, d) { - a = a.options; - if (b) { - b = {}; - for (var e = 0; e < c.length; e++) - b["$" + c[e]] = true; - for (c = 0; c < a.length; c++) - e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true); - } else { - c = "" + Sa(c); - b = null; - for (e = 0; e < a.length; e++) { - if (a[e].value === c) { - a[e].selected = true; - d && (a[e].defaultSelected = true); - return; - } - null !== b || a[e].disabled || (b = a[e]); - } - null !== b && (b.selected = true); - } - } - function gb(a, b) { - if (null != b.dangerouslySetInnerHTML) - throw Error(p(91)); - return A({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue }); - } - function hb(a, b) { - var c = b.value; - if (null == c) { - c = b.children; - b = b.defaultValue; - if (null != c) { - if (null != b) - throw Error(p(92)); - if (eb(c)) { - if (1 < c.length) - throw Error(p(93)); - c = c[0]; - } - b = c; - } - null == b && (b = ""); - c = b; - } - a._wrapperState = { initialValue: Sa(c) }; - } - function ib(a, b) { - var c = Sa(b.value), d = Sa(b.defaultValue); - null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c)); - null != d && (a.defaultValue = "" + d); - } - function jb(a) { - var b = a.textContent; - b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b); - } - function kb(a) { - switch (a) { - case "svg": - return "http://www.w3.org/2000/svg"; - case "math": - return "http://www.w3.org/1998/Math/MathML"; - default: - return "http://www.w3.org/1999/xhtml"; - } - } - function lb(a, b) { - return null == a || "http://www.w3.org/1999/xhtml" === a ? kb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a; - } - var mb; - var nb = function(a) { - return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) { - MSApp.execUnsafeLocalFunction(function() { - return a(b, c, d, e); - }); - } : a; - }(function(a, b) { - if ("http://www.w3.org/2000/svg" !== a.namespaceURI || "innerHTML" in a) - a.innerHTML = b; - else { - mb = mb || document.createElement("div"); - mb.innerHTML = "" + b.valueOf().toString() + ""; - for (b = mb.firstChild; a.firstChild; ) - a.removeChild(a.firstChild); - for (; b.firstChild; ) - a.appendChild(b.firstChild); - } - }); - function ob(a, b) { - if (b) { - var c = a.firstChild; - if (c && c === a.lastChild && 3 === c.nodeType) { - c.nodeValue = b; - return; - } - } - a.textContent = b; - } - var pb = { - animationIterationCount: true, - aspectRatio: true, - borderImageOutset: true, - borderImageSlice: true, - borderImageWidth: true, - boxFlex: true, - boxFlexGroup: true, - boxOrdinalGroup: true, - columnCount: true, - columns: true, - flex: true, - flexGrow: true, - flexPositive: true, - flexShrink: true, - flexNegative: true, - flexOrder: true, - gridArea: true, - gridRow: true, - gridRowEnd: true, - gridRowSpan: true, - gridRowStart: true, - gridColumn: true, - gridColumnEnd: true, - gridColumnSpan: true, - gridColumnStart: true, - fontWeight: true, - lineClamp: true, - lineHeight: true, - opacity: true, - order: true, - orphans: true, - tabSize: true, - widows: true, - zIndex: true, - zoom: true, - fillOpacity: true, - floodOpacity: true, - stopOpacity: true, - strokeDasharray: true, - strokeDashoffset: true, - strokeMiterlimit: true, - strokeOpacity: true, - strokeWidth: true - }; - var qb = ["Webkit", "ms", "Moz", "O"]; - Object.keys(pb).forEach(function(a) { - qb.forEach(function(b) { - b = b + a.charAt(0).toUpperCase() + a.substring(1); - pb[b] = pb[a]; - }); - }); - function rb(a, b, c) { - return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a) && pb[a] ? ("" + b).trim() : b + "px"; - } - function sb(a, b) { - a = a.style; - for (var c in b) - if (b.hasOwnProperty(c)) { - var d = 0 === c.indexOf("--"), e = rb(c, b[c], d); - "float" === c && (c = "cssFloat"); - d ? a.setProperty(c, e) : a[c] = e; - } - } - var tb = A({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); - function ub(a, b) { - if (b) { - if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML)) - throw Error(p(137, a)); - if (null != b.dangerouslySetInnerHTML) { - if (null != b.children) - throw Error(p(60)); - if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML)) - throw Error(p(61)); - } - if (null != b.style && "object" !== typeof b.style) - throw Error(p(62)); - } - } - function vb(a, b) { - if (-1 === a.indexOf("-")) - return "string" === typeof b.is; - switch (a) { - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - return false; - default: - return true; - } - } - var wb = null; - function xb(a) { - a = a.target || a.srcElement || window; - a.correspondingUseElement && (a = a.correspondingUseElement); - return 3 === a.nodeType ? a.parentNode : a; - } - var yb = null; - var zb = null; - var Ab = null; - function Bb(a) { - if (a = Cb(a)) { - if ("function" !== typeof yb) - throw Error(p(280)); - var b = a.stateNode; - b && (b = Db(b), yb(a.stateNode, a.type, b)); - } - } - function Eb(a) { - zb ? Ab ? Ab.push(a) : Ab = [a] : zb = a; - } - function Fb() { - if (zb) { - var a = zb, b = Ab; - Ab = zb = null; - Bb(a); - if (b) - for (a = 0; a < b.length; a++) - Bb(b[a]); - } - } - function Gb(a, b) { - return a(b); - } - function Hb() { - } - var Ib = false; - function Jb(a, b, c) { - if (Ib) - return a(b, c); - Ib = true; - try { - return Gb(a, b, c); - } finally { - if (Ib = false, null !== zb || null !== Ab) - Hb(), Fb(); - } - } - function Kb(a, b) { - var c = a.stateNode; - if (null === c) - return null; - var d = Db(c); - if (null === d) - return null; - c = d[b]; - a: - switch (b) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a)); - a = !d; - break a; - default: - a = false; - } - if (a) - return null; - if (c && "function" !== typeof c) - throw Error(p(231, b, typeof c)); - return c; - } - var Lb = false; - if (ia) - try { - Mb = {}; - Object.defineProperty(Mb, "passive", { get: function() { - Lb = true; - } }); - window.addEventListener("test", Mb, Mb); - window.removeEventListener("test", Mb, Mb); - } catch (a) { - Lb = false; - } - var Mb; - function Nb(a, b, c, d, e, f, g, h, k) { - var l = Array.prototype.slice.call(arguments, 3); - try { - b.apply(c, l); - } catch (m) { - this.onError(m); - } - } - var Ob = false; - var Pb = null; - var Qb = false; - var Rb = null; - var Sb = { onError: function(a) { - Ob = true; - Pb = a; - } }; - function Tb(a, b, c, d, e, f, g, h, k) { - Ob = false; - Pb = null; - Nb.apply(Sb, arguments); - } - function Ub(a, b, c, d, e, f, g, h, k) { - Tb.apply(this, arguments); - if (Ob) { - if (Ob) { - var l = Pb; - Ob = false; - Pb = null; - } else - throw Error(p(198)); - Qb || (Qb = true, Rb = l); - } - } - function Vb(a) { - var b = a, c = a; - if (a.alternate) - for (; b.return; ) - b = b.return; - else { - a = b; - do - b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return; - while (a); - } - return 3 === b.tag ? c : null; - } - function Wb(a) { - if (13 === a.tag) { - var b = a.memoizedState; - null === b && (a = a.alternate, null !== a && (b = a.memoizedState)); - if (null !== b) - return b.dehydrated; - } - return null; - } - function Xb(a) { - if (Vb(a) !== a) - throw Error(p(188)); - } - function Yb(a) { - var b = a.alternate; - if (!b) { - b = Vb(a); - if (null === b) - throw Error(p(188)); - return b !== a ? null : a; - } - for (var c = a, d = b; ; ) { - var e = c.return; - if (null === e) - break; - var f = e.alternate; - if (null === f) { - d = e.return; - if (null !== d) { - c = d; - continue; - } - break; - } - if (e.child === f.child) { - for (f = e.child; f; ) { - if (f === c) - return Xb(e), a; - if (f === d) - return Xb(e), b; - f = f.sibling; - } - throw Error(p(188)); - } - if (c.return !== d.return) - c = e, d = f; - else { - for (var g = false, h = e.child; h; ) { - if (h === c) { - g = true; - c = e; - d = f; - break; - } - if (h === d) { - g = true; - d = e; - c = f; - break; - } - h = h.sibling; - } - if (!g) { - for (h = f.child; h; ) { - if (h === c) { - g = true; - c = f; - d = e; - break; - } - if (h === d) { - g = true; - d = f; - c = e; - break; - } - h = h.sibling; - } - if (!g) - throw Error(p(189)); - } - } - if (c.alternate !== d) - throw Error(p(190)); - } - if (3 !== c.tag) - throw Error(p(188)); - return c.stateNode.current === c ? a : b; - } - function Zb(a) { - a = Yb(a); - return null !== a ? $b(a) : null; - } - function $b(a) { - if (5 === a.tag || 6 === a.tag) - return a; - for (a = a.child; null !== a; ) { - var b = $b(a); - if (null !== b) - return b; - a = a.sibling; - } - return null; - } - var ac = ca.unstable_scheduleCallback; - var bc = ca.unstable_cancelCallback; - var cc = ca.unstable_shouldYield; - var dc = ca.unstable_requestPaint; - var B = ca.unstable_now; - var ec = ca.unstable_getCurrentPriorityLevel; - var fc = ca.unstable_ImmediatePriority; - var gc = ca.unstable_UserBlockingPriority; - var hc = ca.unstable_NormalPriority; - var ic = ca.unstable_LowPriority; - var jc = ca.unstable_IdlePriority; - var kc = null; - var lc = null; - function mc(a) { - if (lc && "function" === typeof lc.onCommitFiberRoot) - try { - lc.onCommitFiberRoot(kc, a, void 0, 128 === (a.current.flags & 128)); - } catch (b) { - } - } - var oc = Math.clz32 ? Math.clz32 : nc; - var pc = Math.log; - var qc = Math.LN2; - function nc(a) { - a >>>= 0; - return 0 === a ? 32 : 31 - (pc(a) / qc | 0) | 0; - } - var rc = 64; - var sc = 4194304; - function tc(a) { - switch (a & -a) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return a & 4194240; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return a & 130023424; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 1073741824; - default: - return a; - } - } - function uc(a, b) { - var c = a.pendingLanes; - if (0 === c) - return 0; - var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455; - if (0 !== g) { - var h = g & ~e; - 0 !== h ? d = tc(h) : (f &= g, 0 !== f && (d = tc(f))); - } else - g = c & ~e, 0 !== g ? d = tc(g) : 0 !== f && (d = tc(f)); - if (0 === d) - return 0; - if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f = b & -b, e >= f || 16 === e && 0 !== (f & 4194240))) - return b; - 0 !== (d & 4) && (d |= c & 16); - b = a.entangledLanes; - if (0 !== b) - for (a = a.entanglements, b &= d; 0 < b; ) - c = 31 - oc(b), e = 1 << c, d |= a[c], b &= ~e; - return d; - } - function vc(a, b) { - switch (a) { - case 1: - case 2: - case 4: - return b + 250; - case 8: - case 16: - case 32: - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return b + 5e3; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return -1; - case 134217728: - case 268435456: - case 536870912: - case 1073741824: - return -1; - default: - return -1; - } - } - function wc(a, b) { - for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f; ) { - var g = 31 - oc(f), h = 1 << g, k = e[g]; - if (-1 === k) { - if (0 === (h & c) || 0 !== (h & d)) - e[g] = vc(h, b); - } else - k <= b && (a.expiredLanes |= h); - f &= ~h; - } - } - function xc(a) { - a = a.pendingLanes & -1073741825; - return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0; - } - function yc() { - var a = rc; - rc <<= 1; - 0 === (rc & 4194240) && (rc = 64); - return a; - } - function zc(a) { - for (var b = [], c = 0; 31 > c; c++) - b.push(a); - return b; - } - function Ac(a, b, c) { - a.pendingLanes |= b; - 536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0); - a = a.eventTimes; - b = 31 - oc(b); - a[b] = c; - } - function Bc(a, b) { - var c = a.pendingLanes & ~b; - a.pendingLanes = b; - a.suspendedLanes = 0; - a.pingedLanes = 0; - a.expiredLanes &= b; - a.mutableReadLanes &= b; - a.entangledLanes &= b; - b = a.entanglements; - var d = a.eventTimes; - for (a = a.expirationTimes; 0 < c; ) { - var e = 31 - oc(c), f = 1 << e; - b[e] = 0; - d[e] = -1; - a[e] = -1; - c &= ~f; - } - } - function Cc(a, b) { - var c = a.entangledLanes |= b; - for (a = a.entanglements; c; ) { - var d = 31 - oc(c), e = 1 << d; - e & b | a[d] & b && (a[d] |= b); - c &= ~e; - } - } - var C = 0; - function Dc(a) { - a &= -a; - return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1; - } - var Ec; - var Fc; - var Gc; - var Hc; - var Ic; - var Jc = false; - var Kc = []; - var Lc = null; - var Mc = null; - var Nc = null; - var Oc = /* @__PURE__ */ new Map(); - var Pc = /* @__PURE__ */ new Map(); - var Qc = []; - var Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); - function Sc(a, b) { - switch (a) { - case "focusin": - case "focusout": - Lc = null; - break; - case "dragenter": - case "dragleave": - Mc = null; - break; - case "mouseover": - case "mouseout": - Nc = null; - break; - case "pointerover": - case "pointerout": - Oc.delete(b.pointerId); - break; - case "gotpointercapture": - case "lostpointercapture": - Pc.delete(b.pointerId); - } - } - function Tc(a, b, c, d, e, f) { - if (null === a || a.nativeEvent !== f) - return a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f, targetContainers: [e] }, null !== b && (b = Cb(b), null !== b && Fc(b)), a; - a.eventSystemFlags |= d; - b = a.targetContainers; - null !== e && -1 === b.indexOf(e) && b.push(e); - return a; - } - function Uc(a, b, c, d, e) { - switch (b) { - case "focusin": - return Lc = Tc(Lc, a, b, c, d, e), true; - case "dragenter": - return Mc = Tc(Mc, a, b, c, d, e), true; - case "mouseover": - return Nc = Tc(Nc, a, b, c, d, e), true; - case "pointerover": - var f = e.pointerId; - Oc.set(f, Tc(Oc.get(f) || null, a, b, c, d, e)); - return true; - case "gotpointercapture": - return f = e.pointerId, Pc.set(f, Tc(Pc.get(f) || null, a, b, c, d, e)), true; - } - return false; - } - function Vc(a) { - var b = Wc(a.target); - if (null !== b) { - var c = Vb(b); - if (null !== c) { - if (b = c.tag, 13 === b) { - if (b = Wb(c), null !== b) { - a.blockedOn = b; - Ic(a.priority, function() { - Gc(c); - }); - return; - } - } else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) { - a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null; - return; - } - } - } - a.blockedOn = null; - } - function Xc(a) { - if (null !== a.blockedOn) - return false; - for (var b = a.targetContainers; 0 < b.length; ) { - var c = Yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent); - if (null === c) { - c = a.nativeEvent; - var d = new c.constructor(c.type, c); - wb = d; - c.target.dispatchEvent(d); - wb = null; - } else - return b = Cb(c), null !== b && Fc(b), a.blockedOn = c, false; - b.shift(); - } - return true; - } - function Zc(a, b, c) { - Xc(a) && c.delete(b); - } - function $c() { - Jc = false; - null !== Lc && Xc(Lc) && (Lc = null); - null !== Mc && Xc(Mc) && (Mc = null); - null !== Nc && Xc(Nc) && (Nc = null); - Oc.forEach(Zc); - Pc.forEach(Zc); - } - function ad(a, b) { - a.blockedOn === b && (a.blockedOn = null, Jc || (Jc = true, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c))); - } - function bd(a) { - function b(b2) { - return ad(b2, a); - } - if (0 < Kc.length) { - ad(Kc[0], a); - for (var c = 1; c < Kc.length; c++) { - var d = Kc[c]; - d.blockedOn === a && (d.blockedOn = null); - } - } - null !== Lc && ad(Lc, a); - null !== Mc && ad(Mc, a); - null !== Nc && ad(Nc, a); - Oc.forEach(b); - Pc.forEach(b); - for (c = 0; c < Qc.length; c++) - d = Qc[c], d.blockedOn === a && (d.blockedOn = null); - for (; 0 < Qc.length && (c = Qc[0], null === c.blockedOn); ) - Vc(c), null === c.blockedOn && Qc.shift(); - } - var cd = ua.ReactCurrentBatchConfig; - var dd = true; - function ed(a, b, c, d) { - var e = C, f = cd.transition; - cd.transition = null; - try { - C = 1, fd(a, b, c, d); - } finally { - C = e, cd.transition = f; - } - } - function gd(a, b, c, d) { - var e = C, f = cd.transition; - cd.transition = null; - try { - C = 4, fd(a, b, c, d); - } finally { - C = e, cd.transition = f; - } - } - function fd(a, b, c, d) { - if (dd) { - var e = Yc(a, b, c, d); - if (null === e) - hd(a, b, d, id, c), Sc(a, d); - else if (Uc(e, a, b, c, d)) - d.stopPropagation(); - else if (Sc(a, d), b & 4 && -1 < Rc.indexOf(a)) { - for (; null !== e; ) { - var f = Cb(e); - null !== f && Ec(f); - f = Yc(a, b, c, d); - null === f && hd(a, b, d, id, c); - if (f === e) - break; - e = f; - } - null !== e && d.stopPropagation(); - } else - hd(a, b, d, null, c); - } - } - var id = null; - function Yc(a, b, c, d) { - id = null; - a = xb(d); - a = Wc(a); - if (null !== a) - if (b = Vb(a), null === b) - a = null; - else if (c = b.tag, 13 === c) { - a = Wb(b); - if (null !== a) - return a; - a = null; - } else if (3 === c) { - if (b.stateNode.current.memoizedState.isDehydrated) - return 3 === b.tag ? b.stateNode.containerInfo : null; - a = null; - } else - b !== a && (a = null); - id = a; - return null; - } - function jd(a) { - switch (a) { - case "cancel": - case "click": - case "close": - case "contextmenu": - case "copy": - case "cut": - case "auxclick": - case "dblclick": - case "dragend": - case "dragstart": - case "drop": - case "focusin": - case "focusout": - case "input": - case "invalid": - case "keydown": - case "keypress": - case "keyup": - case "mousedown": - case "mouseup": - case "paste": - case "pause": - case "play": - case "pointercancel": - case "pointerdown": - case "pointerup": - case "ratechange": - case "reset": - case "resize": - case "seeked": - case "submit": - case "touchcancel": - case "touchend": - case "touchstart": - case "volumechange": - case "change": - case "selectionchange": - case "textInput": - case "compositionstart": - case "compositionend": - case "compositionupdate": - case "beforeblur": - case "afterblur": - case "beforeinput": - case "blur": - case "fullscreenchange": - case "focus": - case "hashchange": - case "popstate": - case "select": - case "selectstart": - return 1; - case "drag": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "mousemove": - case "mouseout": - case "mouseover": - case "pointermove": - case "pointerout": - case "pointerover": - case "scroll": - case "toggle": - case "touchmove": - case "wheel": - case "mouseenter": - case "mouseleave": - case "pointerenter": - case "pointerleave": - return 4; - case "message": - switch (ec()) { - case fc: - return 1; - case gc: - return 4; - case hc: - case ic: - return 16; - case jc: - return 536870912; - default: - return 16; - } - default: - return 16; - } - } - var kd = null; - var ld = null; - var md = null; - function nd() { - if (md) - return md; - var a, b = ld, c = b.length, d, e = "value" in kd ? kd.value : kd.textContent, f = e.length; - for (a = 0; a < c && b[a] === e[a]; a++) - ; - var g = c - a; - for (d = 1; d <= g && b[c - d] === e[f - d]; d++) - ; - return md = e.slice(a, 1 < d ? 1 - d : void 0); - } - function od(a) { - var b = a.keyCode; - "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b; - 10 === a && (a = 13); - return 32 <= a || 13 === a ? a : 0; - } - function pd() { - return true; - } - function qd() { - return false; - } - function rd(a) { - function b(b2, d, e, f, g) { - this._reactName = b2; - this._targetInst = e; - this.type = d; - this.nativeEvent = f; - this.target = g; - this.currentTarget = null; - for (var c in a) - a.hasOwnProperty(c) && (b2 = a[c], this[c] = b2 ? b2(f) : f[c]); - this.isDefaultPrevented = (null != f.defaultPrevented ? f.defaultPrevented : false === f.returnValue) ? pd : qd; - this.isPropagationStopped = qd; - return this; - } - A(b.prototype, { preventDefault: function() { - this.defaultPrevented = true; - var a2 = this.nativeEvent; - a2 && (a2.preventDefault ? a2.preventDefault() : "unknown" !== typeof a2.returnValue && (a2.returnValue = false), this.isDefaultPrevented = pd); - }, stopPropagation: function() { - var a2 = this.nativeEvent; - a2 && (a2.stopPropagation ? a2.stopPropagation() : "unknown" !== typeof a2.cancelBubble && (a2.cancelBubble = true), this.isPropagationStopped = pd); - }, persist: function() { - }, isPersistent: pd }); - return b; - } - var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) { - return a.timeStamp || Date.now(); - }, defaultPrevented: 0, isTrusted: 0 }; - var td = rd(sd); - var ud = A({}, sd, { view: 0, detail: 0 }); - var vd = rd(ud); - var wd; - var xd; - var yd; - var Ad = A({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a) { - return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget; - }, movementX: function(a) { - if ("movementX" in a) - return a.movementX; - a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a); - return wd; - }, movementY: function(a) { - return "movementY" in a ? a.movementY : xd; - } }); - var Bd = rd(Ad); - var Cd = A({}, Ad, { dataTransfer: 0 }); - var Dd = rd(Cd); - var Ed = A({}, ud, { relatedTarget: 0 }); - var Fd = rd(Ed); - var Gd = A({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }); - var Hd = rd(Gd); - var Id = A({}, sd, { clipboardData: function(a) { - return "clipboardData" in a ? a.clipboardData : window.clipboardData; - } }); - var Jd = rd(Id); - var Kd = A({}, sd, { data: 0 }); - var Ld = rd(Kd); - var Md = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified" - }; - var Nd = { - 8: "Backspace", - 9: "Tab", - 12: "Clear", - 13: "Enter", - 16: "Shift", - 17: "Control", - 18: "Alt", - 19: "Pause", - 20: "CapsLock", - 27: "Escape", - 32: " ", - 33: "PageUp", - 34: "PageDown", - 35: "End", - 36: "Home", - 37: "ArrowLeft", - 38: "ArrowUp", - 39: "ArrowRight", - 40: "ArrowDown", - 45: "Insert", - 46: "Delete", - 112: "F1", - 113: "F2", - 114: "F3", - 115: "F4", - 116: "F5", - 117: "F6", - 118: "F7", - 119: "F8", - 120: "F9", - 121: "F10", - 122: "F11", - 123: "F12", - 144: "NumLock", - 145: "ScrollLock", - 224: "Meta" - }; - var Od = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; - function Pd(a) { - var b = this.nativeEvent; - return b.getModifierState ? b.getModifierState(a) : (a = Od[a]) ? !!b[a] : false; - } - function zd() { - return Pd; - } - var Qd = A({}, ud, { key: function(a) { - if (a.key) { - var b = Md[a.key] || a.key; - if ("Unidentified" !== b) - return b; - } - return "keypress" === a.type ? (a = od(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? Nd[a.keyCode] || "Unidentified" : ""; - }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd, charCode: function(a) { - return "keypress" === a.type ? od(a) : 0; - }, keyCode: function(a) { - return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; - }, which: function(a) { - return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; - } }); - var Rd = rd(Qd); - var Sd = A({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }); - var Td = rd(Sd); - var Ud = A({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }); - var Vd = rd(Ud); - var Wd = A({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }); - var Xd = rd(Wd); - var Yd = A({}, Ad, { - deltaX: function(a) { - return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0; - }, - deltaY: function(a) { - return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0; - }, - deltaZ: 0, - deltaMode: 0 - }); - var Zd = rd(Yd); - var $d = [9, 13, 27, 32]; - var ae = ia && "CompositionEvent" in window; - var be = null; - ia && "documentMode" in document && (be = document.documentMode); - var ce = ia && "TextEvent" in window && !be; - var de = ia && (!ae || be && 8 < be && 11 >= be); - var ee = String.fromCharCode(32); - var fe = false; - function ge(a, b) { - switch (a) { - case "keyup": - return -1 !== $d.indexOf(b.keyCode); - case "keydown": - return 229 !== b.keyCode; - case "keypress": - case "mousedown": - case "focusout": - return true; - default: - return false; - } - } - function he(a) { - a = a.detail; - return "object" === typeof a && "data" in a ? a.data : null; - } - var ie = false; - function je(a, b) { - switch (a) { - case "compositionend": - return he(b); - case "keypress": - if (32 !== b.which) - return null; - fe = true; - return ee; - case "textInput": - return a = b.data, a === ee && fe ? null : a; - default: - return null; - } - } - function ke(a, b) { - if (ie) - return "compositionend" === a || !ae && ge(a, b) ? (a = nd(), md = ld = kd = null, ie = false, a) : null; - switch (a) { - case "paste": - return null; - case "keypress": - if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) { - if (b.char && 1 < b.char.length) - return b.char; - if (b.which) - return String.fromCharCode(b.which); - } - return null; - case "compositionend": - return de && "ko" !== b.locale ? null : b.data; - default: - return null; - } - } - var le = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; - function me(a) { - var b = a && a.nodeName && a.nodeName.toLowerCase(); - return "input" === b ? !!le[a.type] : "textarea" === b ? true : false; - } - function ne(a, b, c, d) { - Eb(d); - b = oe(b, "onChange"); - 0 < b.length && (c = new td("onChange", "change", null, c, d), a.push({ event: c, listeners: b })); - } - var pe = null; - var qe = null; - function re(a) { - se(a, 0); - } - function te(a) { - var b = ue(a); - if (Wa(b)) - return a; - } - function ve(a, b) { - if ("change" === a) - return b; - } - var we = false; - if (ia) { - if (ia) { - ye = "oninput" in document; - if (!ye) { - ze = document.createElement("div"); - ze.setAttribute("oninput", "return;"); - ye = "function" === typeof ze.oninput; - } - xe = ye; - } else - xe = false; - we = xe && (!document.documentMode || 9 < document.documentMode); - } - var xe; - var ye; - var ze; - function Ae() { - pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null); - } - function Be(a) { - if ("value" === a.propertyName && te(qe)) { - var b = []; - ne(b, qe, a, xb(a)); - Jb(re, b); - } - } - function Ce(a, b, c) { - "focusin" === a ? (Ae(), pe = b, qe = c, pe.attachEvent("onpropertychange", Be)) : "focusout" === a && Ae(); - } - function De(a) { - if ("selectionchange" === a || "keyup" === a || "keydown" === a) - return te(qe); - } - function Ee(a, b) { - if ("click" === a) - return te(b); - } - function Fe(a, b) { - if ("input" === a || "change" === a) - return te(b); - } - function Ge(a, b) { - return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; - } - var He = "function" === typeof Object.is ? Object.is : Ge; - function Ie(a, b) { - if (He(a, b)) - return true; - if ("object" !== typeof a || null === a || "object" !== typeof b || null === b) - return false; - var c = Object.keys(a), d = Object.keys(b); - if (c.length !== d.length) - return false; - for (d = 0; d < c.length; d++) { - var e = c[d]; - if (!ja.call(b, e) || !He(a[e], b[e])) - return false; - } - return true; - } - function Je(a) { - for (; a && a.firstChild; ) - a = a.firstChild; - return a; - } - function Ke(a, b) { - var c = Je(a); - a = 0; - for (var d; c; ) { - if (3 === c.nodeType) { - d = a + c.textContent.length; - if (a <= b && d >= b) - return { node: c, offset: b - a }; - a = d; - } - a: { - for (; c; ) { - if (c.nextSibling) { - c = c.nextSibling; - break a; - } - c = c.parentNode; - } - c = void 0; - } - c = Je(c); - } - } - function Le(a, b) { - return a && b ? a === b ? true : a && 3 === a.nodeType ? false : b && 3 === b.nodeType ? Le(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false; - } - function Me() { - for (var a = window, b = Xa(); b instanceof a.HTMLIFrameElement; ) { - try { - var c = "string" === typeof b.contentWindow.location.href; - } catch (d) { - c = false; - } - if (c) - a = b.contentWindow; - else - break; - b = Xa(a.document); - } - return b; - } - function Ne(a) { - var b = a && a.nodeName && a.nodeName.toLowerCase(); - return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable); - } - function Oe(a) { - var b = Me(), c = a.focusedElem, d = a.selectionRange; - if (b !== c && c && c.ownerDocument && Le(c.ownerDocument.documentElement, c)) { - if (null !== d && Ne(c)) { - if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c) - c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length); - else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) { - a = a.getSelection(); - var e = c.textContent.length, f = Math.min(d.start, e); - d = void 0 === d.end ? f : Math.min(d.end, e); - !a.extend && f > d && (e = d, d = f, f = e); - e = Ke(c, f); - var g = Ke( - c, - d - ); - e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b))); - } - } - b = []; - for (a = c; a = a.parentNode; ) - 1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop }); - "function" === typeof c.focus && c.focus(); - for (c = 0; c < b.length; c++) - a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top; - } - } - var Pe = ia && "documentMode" in document && 11 >= document.documentMode; - var Qe = null; - var Re = null; - var Se = null; - var Te = false; - function Ue(a, b, c) { - var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument; - Te || null == Qe || Qe !== Xa(d) || (d = Qe, "selectionStart" in d && Ne(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Se && Ie(Se, d) || (Se = d, d = oe(Re, "onSelect"), 0 < d.length && (b = new td("onSelect", "select", null, b, c), a.push({ event: b, listeners: d }), b.target = Qe))); - } - function Ve(a, b) { - var c = {}; - c[a.toLowerCase()] = b.toLowerCase(); - c["Webkit" + a] = "webkit" + b; - c["Moz" + a] = "moz" + b; - return c; - } - var We = { animationend: Ve("Animation", "AnimationEnd"), animationiteration: Ve("Animation", "AnimationIteration"), animationstart: Ve("Animation", "AnimationStart"), transitionend: Ve("Transition", "TransitionEnd") }; - var Xe = {}; - var Ye = {}; - ia && (Ye = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition); - function Ze(a) { - if (Xe[a]) - return Xe[a]; - if (!We[a]) - return a; - var b = We[a], c; - for (c in b) - if (b.hasOwnProperty(c) && c in Ye) - return Xe[a] = b[c]; - return a; - } - var $e = Ze("animationend"); - var af = Ze("animationiteration"); - var bf = Ze("animationstart"); - var cf = Ze("transitionend"); - var df = /* @__PURE__ */ new Map(); - var ef = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); - function ff(a, b) { - df.set(a, b); - fa(b, [a]); - } - for (gf = 0; gf < ef.length; gf++) { - hf = ef[gf], jf = hf.toLowerCase(), kf = hf[0].toUpperCase() + hf.slice(1); - ff(jf, "on" + kf); - } - var hf; - var jf; - var kf; - var gf; - ff($e, "onAnimationEnd"); - ff(af, "onAnimationIteration"); - ff(bf, "onAnimationStart"); - ff("dblclick", "onDoubleClick"); - ff("focusin", "onFocus"); - ff("focusout", "onBlur"); - ff(cf, "onTransitionEnd"); - ha("onMouseEnter", ["mouseout", "mouseover"]); - ha("onMouseLeave", ["mouseout", "mouseover"]); - ha("onPointerEnter", ["pointerout", "pointerover"]); - ha("onPointerLeave", ["pointerout", "pointerover"]); - fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); - fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); - fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); - fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); - fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); - fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); - var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "); - var mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf)); - function nf(a, b, c) { - var d = a.type || "unknown-event"; - a.currentTarget = c; - Ub(d, b, void 0, a); - a.currentTarget = null; - } - function se(a, b) { - b = 0 !== (b & 4); - for (var c = 0; c < a.length; c++) { - var d = a[c], e = d.event; - d = d.listeners; - a: { - var f = void 0; - if (b) - for (var g = d.length - 1; 0 <= g; g--) { - var h = d[g], k = h.instance, l = h.currentTarget; - h = h.listener; - if (k !== f && e.isPropagationStopped()) - break a; - nf(e, h, l); - f = k; - } - else - for (g = 0; g < d.length; g++) { - h = d[g]; - k = h.instance; - l = h.currentTarget; - h = h.listener; - if (k !== f && e.isPropagationStopped()) - break a; - nf(e, h, l); - f = k; - } - } - } - if (Qb) - throw a = Rb, Qb = false, Rb = null, a; - } - function D(a, b) { - var c = b[of]; - void 0 === c && (c = b[of] = /* @__PURE__ */ new Set()); - var d = a + "__bubble"; - c.has(d) || (pf(b, a, 2, false), c.add(d)); - } - function qf(a, b, c) { - var d = 0; - b && (d |= 4); - pf(c, a, d, b); - } - var rf = "_reactListening" + Math.random().toString(36).slice(2); - function sf(a) { - if (!a[rf]) { - a[rf] = true; - da.forEach(function(b2) { - "selectionchange" !== b2 && (mf.has(b2) || qf(b2, false, a), qf(b2, true, a)); - }); - var b = 9 === a.nodeType ? a : a.ownerDocument; - null === b || b[rf] || (b[rf] = true, qf("selectionchange", false, b)); - } - } - function pf(a, b, c, d) { - switch (jd(b)) { - case 1: - var e = ed; - break; - case 4: - e = gd; - break; - default: - e = fd; - } - c = e.bind(null, b, c, a); - e = void 0; - !Lb || "touchstart" !== b && "touchmove" !== b && "wheel" !== b || (e = true); - d ? void 0 !== e ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) : void 0 !== e ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false); - } - function hd(a, b, c, d, e) { - var f = d; - if (0 === (b & 1) && 0 === (b & 2) && null !== d) - a: - for (; ; ) { - if (null === d) - return; - var g = d.tag; - if (3 === g || 4 === g) { - var h = d.stateNode.containerInfo; - if (h === e || 8 === h.nodeType && h.parentNode === e) - break; - if (4 === g) - for (g = d.return; null !== g; ) { - var k = g.tag; - if (3 === k || 4 === k) { - if (k = g.stateNode.containerInfo, k === e || 8 === k.nodeType && k.parentNode === e) - return; - } - g = g.return; - } - for (; null !== h; ) { - g = Wc(h); - if (null === g) - return; - k = g.tag; - if (5 === k || 6 === k) { - d = f = g; - continue a; - } - h = h.parentNode; - } - } - d = d.return; - } - Jb(function() { - var d2 = f, e2 = xb(c), g2 = []; - a: { - var h2 = df.get(a); - if (void 0 !== h2) { - var k2 = td, n = a; - switch (a) { - case "keypress": - if (0 === od(c)) - break a; - case "keydown": - case "keyup": - k2 = Rd; - break; - case "focusin": - n = "focus"; - k2 = Fd; - break; - case "focusout": - n = "blur"; - k2 = Fd; - break; - case "beforeblur": - case "afterblur": - k2 = Fd; - break; - case "click": - if (2 === c.button) - break a; - case "auxclick": - case "dblclick": - case "mousedown": - case "mousemove": - case "mouseup": - case "mouseout": - case "mouseover": - case "contextmenu": - k2 = Bd; - break; - case "drag": - case "dragend": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "dragstart": - case "drop": - k2 = Dd; - break; - case "touchcancel": - case "touchend": - case "touchmove": - case "touchstart": - k2 = Vd; - break; - case $e: - case af: - case bf: - k2 = Hd; - break; - case cf: - k2 = Xd; - break; - case "scroll": - k2 = vd; - break; - case "wheel": - k2 = Zd; - break; - case "copy": - case "cut": - case "paste": - k2 = Jd; - break; - case "gotpointercapture": - case "lostpointercapture": - case "pointercancel": - case "pointerdown": - case "pointermove": - case "pointerout": - case "pointerover": - case "pointerup": - k2 = Td; - } - var t = 0 !== (b & 4), J = !t && "scroll" === a, x = t ? null !== h2 ? h2 + "Capture" : null : h2; - t = []; - for (var w = d2, u; null !== w; ) { - u = w; - var F = u.stateNode; - 5 === u.tag && null !== F && (u = F, null !== x && (F = Kb(w, x), null != F && t.push(tf(w, F, u)))); - if (J) - break; - w = w.return; - } - 0 < t.length && (h2 = new k2(h2, n, null, c, e2), g2.push({ event: h2, listeners: t })); - } - } - if (0 === (b & 7)) { - a: { - h2 = "mouseover" === a || "pointerover" === a; - k2 = "mouseout" === a || "pointerout" === a; - if (h2 && c !== wb && (n = c.relatedTarget || c.fromElement) && (Wc(n) || n[uf])) - break a; - if (k2 || h2) { - h2 = e2.window === e2 ? e2 : (h2 = e2.ownerDocument) ? h2.defaultView || h2.parentWindow : window; - if (k2) { - if (n = c.relatedTarget || c.toElement, k2 = d2, n = n ? Wc(n) : null, null !== n && (J = Vb(n), n !== J || 5 !== n.tag && 6 !== n.tag)) - n = null; - } else - k2 = null, n = d2; - if (k2 !== n) { - t = Bd; - F = "onMouseLeave"; - x = "onMouseEnter"; - w = "mouse"; - if ("pointerout" === a || "pointerover" === a) - t = Td, F = "onPointerLeave", x = "onPointerEnter", w = "pointer"; - J = null == k2 ? h2 : ue(k2); - u = null == n ? h2 : ue(n); - h2 = new t(F, w + "leave", k2, c, e2); - h2.target = J; - h2.relatedTarget = u; - F = null; - Wc(e2) === d2 && (t = new t(x, w + "enter", n, c, e2), t.target = u, t.relatedTarget = J, F = t); - J = F; - if (k2 && n) - b: { - t = k2; - x = n; - w = 0; - for (u = t; u; u = vf(u)) - w++; - u = 0; - for (F = x; F; F = vf(F)) - u++; - for (; 0 < w - u; ) - t = vf(t), w--; - for (; 0 < u - w; ) - x = vf(x), u--; - for (; w--; ) { - if (t === x || null !== x && t === x.alternate) - break b; - t = vf(t); - x = vf(x); - } - t = null; - } - else - t = null; - null !== k2 && wf(g2, h2, k2, t, false); - null !== n && null !== J && wf(g2, J, n, t, true); - } - } - } - a: { - h2 = d2 ? ue(d2) : window; - k2 = h2.nodeName && h2.nodeName.toLowerCase(); - if ("select" === k2 || "input" === k2 && "file" === h2.type) - var na = ve; - else if (me(h2)) - if (we) - na = Fe; - else { - na = De; - var xa = Ce; - } - else - (k2 = h2.nodeName) && "input" === k2.toLowerCase() && ("checkbox" === h2.type || "radio" === h2.type) && (na = Ee); - if (na && (na = na(a, d2))) { - ne(g2, na, c, e2); - break a; - } - xa && xa(a, h2, d2); - "focusout" === a && (xa = h2._wrapperState) && xa.controlled && "number" === h2.type && cb(h2, "number", h2.value); - } - xa = d2 ? ue(d2) : window; - switch (a) { - case "focusin": - if (me(xa) || "true" === xa.contentEditable) - Qe = xa, Re = d2, Se = null; - break; - case "focusout": - Se = Re = Qe = null; - break; - case "mousedown": - Te = true; - break; - case "contextmenu": - case "mouseup": - case "dragend": - Te = false; - Ue(g2, c, e2); - break; - case "selectionchange": - if (Pe) - break; - case "keydown": - case "keyup": - Ue(g2, c, e2); - } - var $a; - if (ae) - b: { - switch (a) { - case "compositionstart": - var ba = "onCompositionStart"; - break b; - case "compositionend": - ba = "onCompositionEnd"; - break b; - case "compositionupdate": - ba = "onCompositionUpdate"; - break b; - } - ba = void 0; - } - else - ie ? ge(a, c) && (ba = "onCompositionEnd") : "keydown" === a && 229 === c.keyCode && (ba = "onCompositionStart"); - ba && (de && "ko" !== c.locale && (ie || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie && ($a = nd()) : (kd = e2, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), xa = oe(d2, ba), 0 < xa.length && (ba = new Ld(ba, a, null, c, e2), g2.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he(c), null !== $a && (ba.data = $a)))); - if ($a = ce ? je(a, c) : ke(a, c)) - d2 = oe(d2, "onBeforeInput"), 0 < d2.length && (e2 = new Ld("onBeforeInput", "beforeinput", null, c, e2), g2.push({ event: e2, listeners: d2 }), e2.data = $a); - } - se(g2, b); - }); - } - function tf(a, b, c) { - return { instance: a, listener: b, currentTarget: c }; - } - function oe(a, b) { - for (var c = b + "Capture", d = []; null !== a; ) { - var e = a, f = e.stateNode; - 5 === e.tag && null !== f && (e = f, f = Kb(a, c), null != f && d.unshift(tf(a, f, e)), f = Kb(a, b), null != f && d.push(tf(a, f, e))); - a = a.return; - } - return d; - } - function vf(a) { - if (null === a) - return null; - do - a = a.return; - while (a && 5 !== a.tag); - return a ? a : null; - } - function wf(a, b, c, d, e) { - for (var f = b._reactName, g = []; null !== c && c !== d; ) { - var h = c, k = h.alternate, l = h.stateNode; - if (null !== k && k === d) - break; - 5 === h.tag && null !== l && (h = l, e ? (k = Kb(c, f), null != k && g.unshift(tf(c, k, h))) : e || (k = Kb(c, f), null != k && g.push(tf(c, k, h)))); - c = c.return; - } - 0 !== g.length && a.push({ event: b, listeners: g }); - } - var xf = /\r\n?/g; - var yf = /\u0000|\uFFFD/g; - function zf(a) { - return ("string" === typeof a ? a : "" + a).replace(xf, "\n").replace(yf, ""); - } - function Af(a, b, c) { - b = zf(b); - if (zf(a) !== b && c) - throw Error(p(425)); - } - function Bf() { - } - var Cf = null; - var Df = null; - function Ef(a, b) { - return "textarea" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html; - } - var Ff = "function" === typeof setTimeout ? setTimeout : void 0; - var Gf = "function" === typeof clearTimeout ? clearTimeout : void 0; - var Hf = "function" === typeof Promise ? Promise : void 0; - var Jf = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf ? function(a) { - return Hf.resolve(null).then(a).catch(If); - } : Ff; - function If(a) { - setTimeout(function() { - throw a; - }); - } - function Kf(a, b) { - var c = b, d = 0; - do { - var e = c.nextSibling; - a.removeChild(c); - if (e && 8 === e.nodeType) - if (c = e.data, "/$" === c) { - if (0 === d) { - a.removeChild(e); - bd(b); - return; - } - d--; - } else - "$" !== c && "$?" !== c && "$!" !== c || d++; - c = e; - } while (c); - bd(b); - } - function Lf(a) { - for (; null != a; a = a.nextSibling) { - var b = a.nodeType; - if (1 === b || 3 === b) - break; - if (8 === b) { - b = a.data; - if ("$" === b || "$!" === b || "$?" === b) - break; - if ("/$" === b) - return null; - } - } - return a; - } - function Mf(a) { - a = a.previousSibling; - for (var b = 0; a; ) { - if (8 === a.nodeType) { - var c = a.data; - if ("$" === c || "$!" === c || "$?" === c) { - if (0 === b) - return a; - b--; - } else - "/$" === c && b++; - } - a = a.previousSibling; - } - return null; - } - var Nf = Math.random().toString(36).slice(2); - var Of = "__reactFiber$" + Nf; - var Pf = "__reactProps$" + Nf; - var uf = "__reactContainer$" + Nf; - var of = "__reactEvents$" + Nf; - var Qf = "__reactListeners$" + Nf; - var Rf = "__reactHandles$" + Nf; - function Wc(a) { - var b = a[Of]; - if (b) - return b; - for (var c = a.parentNode; c; ) { - if (b = c[uf] || c[Of]) { - c = b.alternate; - if (null !== b.child || null !== c && null !== c.child) - for (a = Mf(a); null !== a; ) { - if (c = a[Of]) - return c; - a = Mf(a); - } - return b; - } - a = c; - c = a.parentNode; - } - return null; - } - function Cb(a) { - a = a[Of] || a[uf]; - return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a; - } - function ue(a) { - if (5 === a.tag || 6 === a.tag) - return a.stateNode; - throw Error(p(33)); - } - function Db(a) { - return a[Pf] || null; - } - var Sf = []; - var Tf = -1; - function Uf(a) { - return { current: a }; - } - function E(a) { - 0 > Tf || (a.current = Sf[Tf], Sf[Tf] = null, Tf--); - } - function G(a, b) { - Tf++; - Sf[Tf] = a.current; - a.current = b; - } - var Vf = {}; - var H = Uf(Vf); - var Wf = Uf(false); - var Xf = Vf; - function Yf(a, b) { - var c = a.type.contextTypes; - if (!c) - return Vf; - var d = a.stateNode; - if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) - return d.__reactInternalMemoizedMaskedChildContext; - var e = {}, f; - for (f in c) - e[f] = b[f]; - d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e); - return e; - } - function Zf(a) { - a = a.childContextTypes; - return null !== a && void 0 !== a; - } - function $f() { - E(Wf); - E(H); - } - function ag(a, b, c) { - if (H.current !== Vf) - throw Error(p(168)); - G(H, b); - G(Wf, c); - } - function bg(a, b, c) { - var d = a.stateNode; - b = b.childContextTypes; - if ("function" !== typeof d.getChildContext) - return c; - d = d.getChildContext(); - for (var e in d) - if (!(e in b)) - throw Error(p(108, Ra(a) || "Unknown", e)); - return A({}, c, d); - } - function cg(a) { - a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Vf; - Xf = H.current; - G(H, a); - G(Wf, Wf.current); - return true; - } - function dg(a, b, c) { - var d = a.stateNode; - if (!d) - throw Error(p(169)); - c ? (a = bg(a, b, Xf), d.__reactInternalMemoizedMergedChildContext = a, E(Wf), E(H), G(H, a)) : E(Wf); - G(Wf, c); - } - var eg = null; - var fg = false; - var gg = false; - function hg(a) { - null === eg ? eg = [a] : eg.push(a); - } - function ig(a) { - fg = true; - hg(a); - } - function jg() { - if (!gg && null !== eg) { - gg = true; - var a = 0, b = C; - try { - var c = eg; - for (C = 1; a < c.length; a++) { - var d = c[a]; - do - d = d(true); - while (null !== d); - } - eg = null; - fg = false; - } catch (e) { - throw null !== eg && (eg = eg.slice(a + 1)), ac(fc, jg), e; - } finally { - C = b, gg = false; - } - } - return null; - } - var kg = []; - var lg = 0; - var mg = null; - var ng = 0; - var og = []; - var pg = 0; - var qg = null; - var rg = 1; - var sg = ""; - function tg(a, b) { - kg[lg++] = ng; - kg[lg++] = mg; - mg = a; - ng = b; - } - function ug(a, b, c) { - og[pg++] = rg; - og[pg++] = sg; - og[pg++] = qg; - qg = a; - var d = rg; - a = sg; - var e = 32 - oc(d) - 1; - d &= ~(1 << e); - c += 1; - var f = 32 - oc(b) + e; - if (30 < f) { - var g = e - e % 5; - f = (d & (1 << g) - 1).toString(32); - d >>= g; - e -= g; - rg = 1 << 32 - oc(b) + e | c << e | d; - sg = f + a; - } else - rg = 1 << f | c << e | d, sg = a; - } - function vg(a) { - null !== a.return && (tg(a, 1), ug(a, 1, 0)); - } - function wg(a) { - for (; a === mg; ) - mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null; - for (; a === qg; ) - qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null; - } - var xg = null; - var yg = null; - var I = false; - var zg = null; - function Ag(a, b) { - var c = Bg(5, null, null, 0); - c.elementType = "DELETED"; - c.stateNode = b; - c.return = a; - b = a.deletions; - null === b ? (a.deletions = [c], a.flags |= 16) : b.push(c); - } - function Cg(a, b) { - switch (a.tag) { - case 5: - var c = a.type; - b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b; - return null !== b ? (a.stateNode = b, xg = a, yg = Lf(b.firstChild), true) : false; - case 6: - return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, xg = a, yg = null, true) : false; - case 13: - return b = 8 !== b.nodeType ? null : b, null !== b ? (c = null !== qg ? { id: rg, overflow: sg } : null, a.memoizedState = { dehydrated: b, treeContext: c, retryLane: 1073741824 }, c = Bg(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, xg = a, yg = null, true) : false; - default: - return false; - } - } - function Dg(a) { - return 0 !== (a.mode & 1) && 0 === (a.flags & 128); - } - function Eg(a) { - if (I) { - var b = yg; - if (b) { - var c = b; - if (!Cg(a, b)) { - if (Dg(a)) - throw Error(p(418)); - b = Lf(c.nextSibling); - var d = xg; - b && Cg(a, b) ? Ag(d, c) : (a.flags = a.flags & -4097 | 2, I = false, xg = a); - } - } else { - if (Dg(a)) - throw Error(p(418)); - a.flags = a.flags & -4097 | 2; - I = false; - xg = a; - } - } - } - function Fg(a) { - for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; ) - a = a.return; - xg = a; - } - function Gg(a) { - if (a !== xg) - return false; - if (!I) - return Fg(a), I = true, false; - var b; - (b = 3 !== a.tag) && !(b = 5 !== a.tag) && (b = a.type, b = "head" !== b && "body" !== b && !Ef(a.type, a.memoizedProps)); - if (b && (b = yg)) { - if (Dg(a)) - throw Hg(), Error(p(418)); - for (; b; ) - Ag(a, b), b = Lf(b.nextSibling); - } - Fg(a); - if (13 === a.tag) { - a = a.memoizedState; - a = null !== a ? a.dehydrated : null; - if (!a) - throw Error(p(317)); - a: { - a = a.nextSibling; - for (b = 0; a; ) { - if (8 === a.nodeType) { - var c = a.data; - if ("/$" === c) { - if (0 === b) { - yg = Lf(a.nextSibling); - break a; - } - b--; - } else - "$" !== c && "$!" !== c && "$?" !== c || b++; - } - a = a.nextSibling; - } - yg = null; - } - } else - yg = xg ? Lf(a.stateNode.nextSibling) : null; - return true; - } - function Hg() { - for (var a = yg; a; ) - a = Lf(a.nextSibling); - } - function Ig() { - yg = xg = null; - I = false; - } - function Jg(a) { - null === zg ? zg = [a] : zg.push(a); - } - var Kg = ua.ReactCurrentBatchConfig; - function Lg(a, b) { - if (a && a.defaultProps) { - b = A({}, b); - a = a.defaultProps; - for (var c in a) - void 0 === b[c] && (b[c] = a[c]); - return b; - } - return b; - } - var Mg = Uf(null); - var Ng = null; - var Og = null; - var Pg = null; - function Qg() { - Pg = Og = Ng = null; - } - function Rg(a) { - var b = Mg.current; - E(Mg); - a._currentValue = b; - } - function Sg(a, b, c) { - for (; null !== a; ) { - var d = a.alternate; - (a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b); - if (a === c) - break; - a = a.return; - } - } - function Tg(a, b) { - Ng = a; - Pg = Og = null; - a = a.dependencies; - null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (Ug = true), a.firstContext = null); - } - function Vg(a) { - var b = a._currentValue; - if (Pg !== a) - if (a = { context: a, memoizedValue: b, next: null }, null === Og) { - if (null === Ng) - throw Error(p(308)); - Og = a; - Ng.dependencies = { lanes: 0, firstContext: a }; - } else - Og = Og.next = a; - return b; - } - var Wg = null; - function Xg(a) { - null === Wg ? Wg = [a] : Wg.push(a); - } - function Yg(a, b, c, d) { - var e = b.interleaved; - null === e ? (c.next = c, Xg(b)) : (c.next = e.next, e.next = c); - b.interleaved = c; - return Zg(a, d); - } - function Zg(a, b) { - a.lanes |= b; - var c = a.alternate; - null !== c && (c.lanes |= b); - c = a; - for (a = a.return; null !== a; ) - a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return; - return 3 === c.tag ? c.stateNode : null; - } - var $g = false; - function ah(a) { - a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; - } - function bh(a, b) { - a = a.updateQueue; - b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects }); - } - function ch(a, b) { - return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null }; - } - function dh(a, b, c) { - var d = a.updateQueue; - if (null === d) - return null; - d = d.shared; - if (0 !== (K & 2)) { - var e = d.pending; - null === e ? b.next = b : (b.next = e.next, e.next = b); - d.pending = b; - return Zg(a, c); - } - e = d.interleaved; - null === e ? (b.next = b, Xg(d)) : (b.next = e.next, e.next = b); - d.interleaved = b; - return Zg(a, c); - } - function eh(a, b, c) { - b = b.updateQueue; - if (null !== b && (b = b.shared, 0 !== (c & 4194240))) { - var d = b.lanes; - d &= a.pendingLanes; - c |= d; - b.lanes = c; - Cc(a, c); - } - } - function fh(a, b) { - var c = a.updateQueue, d = a.alternate; - if (null !== d && (d = d.updateQueue, c === d)) { - var e = null, f = null; - c = c.firstBaseUpdate; - if (null !== c) { - do { - var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null }; - null === f ? e = f = g : f = f.next = g; - c = c.next; - } while (null !== c); - null === f ? e = f = b : f = f.next = b; - } else - e = f = b; - c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f, shared: d.shared, effects: d.effects }; - a.updateQueue = c; - return; - } - a = c.lastBaseUpdate; - null === a ? c.firstBaseUpdate = b : a.next = b; - c.lastBaseUpdate = b; - } - function gh(a, b, c, d) { - var e = a.updateQueue; - $g = false; - var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending; - if (null !== h) { - e.shared.pending = null; - var k = h, l = k.next; - k.next = null; - null === g ? f = l : g.next = l; - g = k; - var m = a.alternate; - null !== m && (m = m.updateQueue, h = m.lastBaseUpdate, h !== g && (null === h ? m.firstBaseUpdate = l : h.next = l, m.lastBaseUpdate = k)); - } - if (null !== f) { - var q = e.baseState; - g = 0; - m = l = k = null; - h = f; - do { - var r = h.lane, y = h.eventTime; - if ((d & r) === r) { - null !== m && (m = m.next = { - eventTime: y, - lane: 0, - tag: h.tag, - payload: h.payload, - callback: h.callback, - next: null - }); - a: { - var n = a, t = h; - r = b; - y = c; - switch (t.tag) { - case 1: - n = t.payload; - if ("function" === typeof n) { - q = n.call(y, q, r); - break a; - } - q = n; - break a; - case 3: - n.flags = n.flags & -65537 | 128; - case 0: - n = t.payload; - r = "function" === typeof n ? n.call(y, q, r) : n; - if (null === r || void 0 === r) - break a; - q = A({}, q, r); - break a; - case 2: - $g = true; - } - } - null !== h.callback && 0 !== h.lane && (a.flags |= 64, r = e.effects, null === r ? e.effects = [h] : r.push(h)); - } else - y = { eventTime: y, lane: r, tag: h.tag, payload: h.payload, callback: h.callback, next: null }, null === m ? (l = m = y, k = q) : m = m.next = y, g |= r; - h = h.next; - if (null === h) - if (h = e.shared.pending, null === h) - break; - else - r = h, h = r.next, r.next = null, e.lastBaseUpdate = r, e.shared.pending = null; - } while (1); - null === m && (k = q); - e.baseState = k; - e.firstBaseUpdate = l; - e.lastBaseUpdate = m; - b = e.shared.interleaved; - if (null !== b) { - e = b; - do - g |= e.lane, e = e.next; - while (e !== b); - } else - null === f && (e.shared.lanes = 0); - hh |= g; - a.lanes = g; - a.memoizedState = q; - } - } - function ih(a, b, c) { - a = b.effects; - b.effects = null; - if (null !== a) - for (b = 0; b < a.length; b++) { - var d = a[b], e = d.callback; - if (null !== e) { - d.callback = null; - d = c; - if ("function" !== typeof e) - throw Error(p(191, e)); - e.call(d); - } - } - } - var jh = new aa.Component().refs; - function kh(a, b, c, d) { - b = a.memoizedState; - c = c(d, b); - c = null === c || void 0 === c ? b : A({}, b, c); - a.memoizedState = c; - 0 === a.lanes && (a.updateQueue.baseState = c); - } - var nh = { isMounted: function(a) { - return (a = a._reactInternals) ? Vb(a) === a : false; - }, enqueueSetState: function(a, b, c) { - a = a._reactInternals; - var d = L(), e = lh(a), f = ch(d, e); - f.payload = b; - void 0 !== c && null !== c && (f.callback = c); - b = dh(a, f, e); - null !== b && (mh(b, a, e, d), eh(b, a, e)); - }, enqueueReplaceState: function(a, b, c) { - a = a._reactInternals; - var d = L(), e = lh(a), f = ch(d, e); - f.tag = 1; - f.payload = b; - void 0 !== c && null !== c && (f.callback = c); - b = dh(a, f, e); - null !== b && (mh(b, a, e, d), eh(b, a, e)); - }, enqueueForceUpdate: function(a, b) { - a = a._reactInternals; - var c = L(), d = lh(a), e = ch(c, d); - e.tag = 2; - void 0 !== b && null !== b && (e.callback = b); - b = dh(a, e, d); - null !== b && (mh(b, a, d, c), eh(b, a, d)); - } }; - function oh(a, b, c, d, e, f, g) { - a = a.stateNode; - return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Ie(c, d) || !Ie(e, f) : true; - } - function ph(a, b, c) { - var d = false, e = Vf; - var f = b.contextType; - "object" === typeof f && null !== f ? f = Vg(f) : (e = Zf(b) ? Xf : H.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf); - b = new b(c, f); - a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null; - b.updater = nh; - a.stateNode = b; - b._reactInternals = a; - d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f); - return b; - } - function qh(a, b, c, d) { - a = b.state; - "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d); - "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d); - b.state !== a && nh.enqueueReplaceState(b, b.state, null); - } - function rh(a, b, c, d) { - var e = a.stateNode; - e.props = c; - e.state = a.memoizedState; - e.refs = jh; - ah(a); - var f = b.contextType; - "object" === typeof f && null !== f ? e.context = Vg(f) : (f = Zf(b) ? Xf : H.current, e.context = Yf(a, f)); - e.state = a.memoizedState; - f = b.getDerivedStateFromProps; - "function" === typeof f && (kh(a, b, f, c), e.state = a.memoizedState); - "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && nh.enqueueReplaceState(e, e.state, null), gh(a, c, e, d), e.state = a.memoizedState); - "function" === typeof e.componentDidMount && (a.flags |= 4194308); - } - function sh(a, b, c) { - a = c.ref; - if (null !== a && "function" !== typeof a && "object" !== typeof a) { - if (c._owner) { - c = c._owner; - if (c) { - if (1 !== c.tag) - throw Error(p(309)); - var d = c.stateNode; - } - if (!d) - throw Error(p(147, a)); - var e = d, f = "" + a; - if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f) - return b.ref; - b = function(a2) { - var b2 = e.refs; - b2 === jh && (b2 = e.refs = {}); - null === a2 ? delete b2[f] : b2[f] = a2; - }; - b._stringRef = f; - return b; - } - if ("string" !== typeof a) - throw Error(p(284)); - if (!c._owner) - throw Error(p(290, a)); - } - return a; - } - function th(a, b) { - a = Object.prototype.toString.call(b); - throw Error(p(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a)); - } - function uh(a) { - var b = a._init; - return b(a._payload); - } - function vh(a) { - function b(b2, c2) { - if (a) { - var d2 = b2.deletions; - null === d2 ? (b2.deletions = [c2], b2.flags |= 16) : d2.push(c2); - } - } - function c(c2, d2) { - if (!a) - return null; - for (; null !== d2; ) - b(c2, d2), d2 = d2.sibling; - return null; - } - function d(a2, b2) { - for (a2 = /* @__PURE__ */ new Map(); null !== b2; ) - null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling; - return a2; - } - function e(a2, b2) { - a2 = wh(a2, b2); - a2.index = 0; - a2.sibling = null; - return a2; - } - function f(b2, c2, d2) { - b2.index = d2; - if (!a) - return b2.flags |= 1048576, c2; - d2 = b2.alternate; - if (null !== d2) - return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2; - b2.flags |= 2; - return c2; - } - function g(b2) { - a && null === b2.alternate && (b2.flags |= 2); - return b2; - } - function h(a2, b2, c2, d2) { - if (null === b2 || 6 !== b2.tag) - return b2 = xh(c2, a2.mode, d2), b2.return = a2, b2; - b2 = e(b2, c2); - b2.return = a2; - return b2; - } - function k(a2, b2, c2, d2) { - var f2 = c2.type; - if (f2 === ya) - return m(a2, b2, c2.props.children, d2, c2.key); - if (null !== b2 && (b2.elementType === f2 || "object" === typeof f2 && null !== f2 && f2.$$typeof === Ha && uh(f2) === b2.type)) - return d2 = e(b2, c2.props), d2.ref = sh(a2, b2, c2), d2.return = a2, d2; - d2 = yh(c2.type, c2.key, c2.props, null, a2.mode, d2); - d2.ref = sh(a2, b2, c2); - d2.return = a2; - return d2; - } - function l(a2, b2, c2, d2) { - if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation) - return b2 = zh(c2, a2.mode, d2), b2.return = a2, b2; - b2 = e(b2, c2.children || []); - b2.return = a2; - return b2; - } - function m(a2, b2, c2, d2, f2) { - if (null === b2 || 7 !== b2.tag) - return b2 = Ah(c2, a2.mode, d2, f2), b2.return = a2, b2; - b2 = e(b2, c2); - b2.return = a2; - return b2; - } - function q(a2, b2, c2) { - if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2) - return b2 = xh("" + b2, a2.mode, c2), b2.return = a2, b2; - if ("object" === typeof b2 && null !== b2) { - switch (b2.$$typeof) { - case va: - return c2 = yh(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = sh(a2, null, b2), c2.return = a2, c2; - case wa: - return b2 = zh(b2, a2.mode, c2), b2.return = a2, b2; - case Ha: - var d2 = b2._init; - return q(a2, d2(b2._payload), c2); - } - if (eb(b2) || Ka(b2)) - return b2 = Ah(b2, a2.mode, c2, null), b2.return = a2, b2; - th(a2, b2); - } - return null; - } - function r(a2, b2, c2, d2) { - var e2 = null !== b2 ? b2.key : null; - if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2) - return null !== e2 ? null : h(a2, b2, "" + c2, d2); - if ("object" === typeof c2 && null !== c2) { - switch (c2.$$typeof) { - case va: - return c2.key === e2 ? k(a2, b2, c2, d2) : null; - case wa: - return c2.key === e2 ? l(a2, b2, c2, d2) : null; - case Ha: - return e2 = c2._init, r( - a2, - b2, - e2(c2._payload), - d2 - ); - } - if (eb(c2) || Ka(c2)) - return null !== e2 ? null : m(a2, b2, c2, d2, null); - th(a2, c2); - } - return null; - } - function y(a2, b2, c2, d2, e2) { - if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2) - return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2); - if ("object" === typeof d2 && null !== d2) { - switch (d2.$$typeof) { - case va: - return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k(b2, a2, d2, e2); - case wa: - return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l(b2, a2, d2, e2); - case Ha: - var f2 = d2._init; - return y(a2, b2, c2, f2(d2._payload), e2); - } - if (eb(d2) || Ka(d2)) - return a2 = a2.get(c2) || null, m(b2, a2, d2, e2, null); - th(b2, d2); - } - return null; - } - function n(e2, g2, h2, k2) { - for (var l2 = null, m2 = null, u = g2, w = g2 = 0, x = null; null !== u && w < h2.length; w++) { - u.index > w ? (x = u, u = null) : x = u.sibling; - var n2 = r(e2, u, h2[w], k2); - if (null === n2) { - null === u && (u = x); - break; - } - a && u && null === n2.alternate && b(e2, u); - g2 = f(n2, g2, w); - null === m2 ? l2 = n2 : m2.sibling = n2; - m2 = n2; - u = x; - } - if (w === h2.length) - return c(e2, u), I && tg(e2, w), l2; - if (null === u) { - for (; w < h2.length; w++) - u = q(e2, h2[w], k2), null !== u && (g2 = f(u, g2, w), null === m2 ? l2 = u : m2.sibling = u, m2 = u); - I && tg(e2, w); - return l2; - } - for (u = d(e2, u); w < h2.length; w++) - x = y(u, e2, w, h2[w], k2), null !== x && (a && null !== x.alternate && u.delete(null === x.key ? w : x.key), g2 = f(x, g2, w), null === m2 ? l2 = x : m2.sibling = x, m2 = x); - a && u.forEach(function(a2) { - return b(e2, a2); - }); - I && tg(e2, w); - return l2; - } - function t(e2, g2, h2, k2) { - var l2 = Ka(h2); - if ("function" !== typeof l2) - throw Error(p(150)); - h2 = l2.call(h2); - if (null == h2) - throw Error(p(151)); - for (var u = l2 = null, m2 = g2, w = g2 = 0, x = null, n2 = h2.next(); null !== m2 && !n2.done; w++, n2 = h2.next()) { - m2.index > w ? (x = m2, m2 = null) : x = m2.sibling; - var t2 = r(e2, m2, n2.value, k2); - if (null === t2) { - null === m2 && (m2 = x); - break; - } - a && m2 && null === t2.alternate && b(e2, m2); - g2 = f(t2, g2, w); - null === u ? l2 = t2 : u.sibling = t2; - u = t2; - m2 = x; - } - if (n2.done) - return c( - e2, - m2 - ), I && tg(e2, w), l2; - if (null === m2) { - for (; !n2.done; w++, n2 = h2.next()) - n2 = q(e2, n2.value, k2), null !== n2 && (g2 = f(n2, g2, w), null === u ? l2 = n2 : u.sibling = n2, u = n2); - I && tg(e2, w); - return l2; - } - for (m2 = d(e2, m2); !n2.done; w++, n2 = h2.next()) - n2 = y(m2, e2, w, n2.value, k2), null !== n2 && (a && null !== n2.alternate && m2.delete(null === n2.key ? w : n2.key), g2 = f(n2, g2, w), null === u ? l2 = n2 : u.sibling = n2, u = n2); - a && m2.forEach(function(a2) { - return b(e2, a2); - }); - I && tg(e2, w); - return l2; - } - function J(a2, d2, f2, h2) { - "object" === typeof f2 && null !== f2 && f2.type === ya && null === f2.key && (f2 = f2.props.children); - if ("object" === typeof f2 && null !== f2) { - switch (f2.$$typeof) { - case va: - a: { - for (var k2 = f2.key, l2 = d2; null !== l2; ) { - if (l2.key === k2) { - k2 = f2.type; - if (k2 === ya) { - if (7 === l2.tag) { - c(a2, l2.sibling); - d2 = e(l2, f2.props.children); - d2.return = a2; - a2 = d2; - break a; - } - } else if (l2.elementType === k2 || "object" === typeof k2 && null !== k2 && k2.$$typeof === Ha && uh(k2) === l2.type) { - c(a2, l2.sibling); - d2 = e(l2, f2.props); - d2.ref = sh(a2, l2, f2); - d2.return = a2; - a2 = d2; - break a; - } - c(a2, l2); - break; - } else - b(a2, l2); - l2 = l2.sibling; - } - f2.type === ya ? (d2 = Ah(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = yh(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = sh(a2, d2, f2), h2.return = a2, a2 = h2); - } - return g(a2); - case wa: - a: { - for (l2 = f2.key; null !== d2; ) { - if (d2.key === l2) - if (4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) { - c(a2, d2.sibling); - d2 = e(d2, f2.children || []); - d2.return = a2; - a2 = d2; - break a; - } else { - c(a2, d2); - break; - } - else - b(a2, d2); - d2 = d2.sibling; - } - d2 = zh(f2, a2.mode, h2); - d2.return = a2; - a2 = d2; - } - return g(a2); - case Ha: - return l2 = f2._init, J(a2, d2, l2(f2._payload), h2); - } - if (eb(f2)) - return n(a2, d2, f2, h2); - if (Ka(f2)) - return t(a2, d2, f2, h2); - th(a2, f2); - } - return "string" === typeof f2 && "" !== f2 || "number" === typeof f2 ? (f2 = "" + f2, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = xh(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2); - } - return J; - } - var Bh = vh(true); - var Ch = vh(false); - var Dh = {}; - var Eh = Uf(Dh); - var Fh = Uf(Dh); - var Gh = Uf(Dh); - function Hh(a) { - if (a === Dh) - throw Error(p(174)); - return a; - } - function Ih(a, b) { - G(Gh, b); - G(Fh, a); - G(Eh, Dh); - a = b.nodeType; - switch (a) { - case 9: - case 11: - b = (b = b.documentElement) ? b.namespaceURI : lb(null, ""); - break; - default: - a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = lb(b, a); - } - E(Eh); - G(Eh, b); - } - function Jh() { - E(Eh); - E(Fh); - E(Gh); - } - function Kh(a) { - Hh(Gh.current); - var b = Hh(Eh.current); - var c = lb(b, a.type); - b !== c && (G(Fh, a), G(Eh, c)); - } - function Lh(a) { - Fh.current === a && (E(Eh), E(Fh)); - } - var M = Uf(0); - function Mh(a) { - for (var b = a; null !== b; ) { - if (13 === b.tag) { - var c = b.memoizedState; - if (null !== c && (c = c.dehydrated, null === c || "$?" === c.data || "$!" === c.data)) - return b; - } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) { - if (0 !== (b.flags & 128)) - return b; - } else if (null !== b.child) { - b.child.return = b; - b = b.child; - continue; - } - if (b === a) - break; - for (; null === b.sibling; ) { - if (null === b.return || b.return === a) - return null; - b = b.return; - } - b.sibling.return = b.return; - b = b.sibling; - } - return null; - } - var Nh = []; - function Oh() { - for (var a = 0; a < Nh.length; a++) - Nh[a]._workInProgressVersionPrimary = null; - Nh.length = 0; - } - var Ph = ua.ReactCurrentDispatcher; - var Qh = ua.ReactCurrentBatchConfig; - var Rh = 0; - var N = null; - var O = null; - var P = null; - var Sh = false; - var Th = false; - var Uh = 0; - var Vh = 0; - function Q() { - throw Error(p(321)); - } - function Wh(a, b) { - if (null === b) - return false; - for (var c = 0; c < b.length && c < a.length; c++) - if (!He(a[c], b[c])) - return false; - return true; - } - function Xh(a, b, c, d, e, f) { - Rh = f; - N = b; - b.memoizedState = null; - b.updateQueue = null; - b.lanes = 0; - Ph.current = null === a || null === a.memoizedState ? Yh : Zh; - a = c(d, e); - if (Th) { - f = 0; - do { - Th = false; - Uh = 0; - if (25 <= f) - throw Error(p(301)); - f += 1; - P = O = null; - b.updateQueue = null; - Ph.current = $h; - a = c(d, e); - } while (Th); - } - Ph.current = ai; - b = null !== O && null !== O.next; - Rh = 0; - P = O = N = null; - Sh = false; - if (b) - throw Error(p(300)); - return a; - } - function bi() { - var a = 0 !== Uh; - Uh = 0; - return a; - } - function ci() { - var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; - null === P ? N.memoizedState = P = a : P = P.next = a; - return P; - } - function di() { - if (null === O) { - var a = N.alternate; - a = null !== a ? a.memoizedState : null; - } else - a = O.next; - var b = null === P ? N.memoizedState : P.next; - if (null !== b) - P = b, O = a; - else { - if (null === a) - throw Error(p(310)); - O = a; - a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null }; - null === P ? N.memoizedState = P = a : P = P.next = a; - } - return P; - } - function ei(a, b) { - return "function" === typeof b ? b(a) : b; - } - function fi(a) { - var b = di(), c = b.queue; - if (null === c) - throw Error(p(311)); - c.lastRenderedReducer = a; - var d = O, e = d.baseQueue, f = c.pending; - if (null !== f) { - if (null !== e) { - var g = e.next; - e.next = f.next; - f.next = g; - } - d.baseQueue = e = f; - c.pending = null; - } - if (null !== e) { - f = e.next; - d = d.baseState; - var h = g = null, k = null, l = f; - do { - var m = l.lane; - if ((Rh & m) === m) - null !== k && (k = k.next = { lane: 0, action: l.action, hasEagerState: l.hasEagerState, eagerState: l.eagerState, next: null }), d = l.hasEagerState ? l.eagerState : a(d, l.action); - else { - var q = { - lane: m, - action: l.action, - hasEagerState: l.hasEagerState, - eagerState: l.eagerState, - next: null - }; - null === k ? (h = k = q, g = d) : k = k.next = q; - N.lanes |= m; - hh |= m; - } - l = l.next; - } while (null !== l && l !== f); - null === k ? g = d : k.next = h; - He(d, b.memoizedState) || (Ug = true); - b.memoizedState = d; - b.baseState = g; - b.baseQueue = k; - c.lastRenderedState = d; - } - a = c.interleaved; - if (null !== a) { - e = a; - do - f = e.lane, N.lanes |= f, hh |= f, e = e.next; - while (e !== a); - } else - null === e && (c.lanes = 0); - return [b.memoizedState, c.dispatch]; - } - function gi(a) { - var b = di(), c = b.queue; - if (null === c) - throw Error(p(311)); - c.lastRenderedReducer = a; - var d = c.dispatch, e = c.pending, f = b.memoizedState; - if (null !== e) { - c.pending = null; - var g = e = e.next; - do - f = a(f, g.action), g = g.next; - while (g !== e); - He(f, b.memoizedState) || (Ug = true); - b.memoizedState = f; - null === b.baseQueue && (b.baseState = f); - c.lastRenderedState = f; - } - return [f, d]; - } - function hi() { - } - function ii(a, b) { - var c = N, d = di(), e = b(), f = !He(d.memoizedState, e); - f && (d.memoizedState = e, Ug = true); - d = d.queue; - ji(ki.bind(null, c, d, a), [a]); - if (d.getSnapshot !== b || f || null !== P && P.memoizedState.tag & 1) { - c.flags |= 2048; - li(9, mi.bind(null, c, d, e, b), void 0, null); - if (null === R) - throw Error(p(349)); - 0 !== (Rh & 30) || ni(c, b, e); - } - return e; - } - function ni(a, b, c) { - a.flags |= 16384; - a = { getSnapshot: b, value: c }; - b = N.updateQueue; - null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a)); - } - function mi(a, b, c, d) { - b.value = c; - b.getSnapshot = d; - oi(b) && pi(a); - } - function ki(a, b, c) { - return c(function() { - oi(b) && pi(a); - }); - } - function oi(a) { - var b = a.getSnapshot; - a = a.value; - try { - var c = b(); - return !He(a, c); - } catch (d) { - return true; - } - } - function pi(a) { - var b = Zg(a, 1); - null !== b && mh(b, a, 1, -1); - } - function qi(a) { - var b = ci(); - "function" === typeof a && (a = a()); - b.memoizedState = b.baseState = a; - a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei, lastRenderedState: a }; - b.queue = a; - a = a.dispatch = ri.bind(null, N, a); - return [b.memoizedState, a]; - } - function li(a, b, c, d) { - a = { tag: a, create: b, destroy: c, deps: d, next: null }; - b = N.updateQueue; - null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a)); - return a; - } - function si() { - return di().memoizedState; - } - function ti(a, b, c, d) { - var e = ci(); - N.flags |= a; - e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d); - } - function ui(a, b, c, d) { - var e = di(); - d = void 0 === d ? null : d; - var f = void 0; - if (null !== O) { - var g = O.memoizedState; - f = g.destroy; - if (null !== d && Wh(d, g.deps)) { - e.memoizedState = li(b, c, f, d); - return; - } - } - N.flags |= a; - e.memoizedState = li(1 | b, c, f, d); - } - function vi(a, b) { - return ti(8390656, 8, a, b); - } - function ji(a, b) { - return ui(2048, 8, a, b); - } - function wi(a, b) { - return ui(4, 2, a, b); - } - function xi(a, b) { - return ui(4, 4, a, b); - } - function yi(a, b) { - if ("function" === typeof b) - return a = a(), b(a), function() { - b(null); - }; - if (null !== b && void 0 !== b) - return a = a(), b.current = a, function() { - b.current = null; - }; - } - function zi(a, b, c) { - c = null !== c && void 0 !== c ? c.concat([a]) : null; - return ui(4, 4, yi.bind(null, b, a), c); - } - function Ai() { - } - function Bi(a, b) { - var c = di(); - b = void 0 === b ? null : b; - var d = c.memoizedState; - if (null !== d && null !== b && Wh(b, d[1])) - return d[0]; - c.memoizedState = [a, b]; - return a; - } - function Ci(a, b) { - var c = di(); - b = void 0 === b ? null : b; - var d = c.memoizedState; - if (null !== d && null !== b && Wh(b, d[1])) - return d[0]; - a = a(); - c.memoizedState = [a, b]; - return a; - } - function Di(a, b, c) { - if (0 === (Rh & 21)) - return a.baseState && (a.baseState = false, Ug = true), a.memoizedState = c; - He(c, b) || (c = yc(), N.lanes |= c, hh |= c, a.baseState = true); - return b; - } - function Ei(a, b) { - var c = C; - C = 0 !== c && 4 > c ? c : 4; - a(true); - var d = Qh.transition; - Qh.transition = {}; - try { - a(false), b(); - } finally { - C = c, Qh.transition = d; - } - } - function Fi() { - return di().memoizedState; - } - function Gi(a, b, c) { - var d = lh(a); - c = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null }; - if (Hi(a)) - Ii(b, c); - else if (c = Yg(a, b, c, d), null !== c) { - var e = L(); - mh(c, a, d, e); - Ji(c, b, d); - } - } - function ri(a, b, c) { - var d = lh(a), e = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null }; - if (Hi(a)) - Ii(b, e); - else { - var f = a.alternate; - if (0 === a.lanes && (null === f || 0 === f.lanes) && (f = b.lastRenderedReducer, null !== f)) - try { - var g = b.lastRenderedState, h = f(g, c); - e.hasEagerState = true; - e.eagerState = h; - if (He(h, g)) { - var k = b.interleaved; - null === k ? (e.next = e, Xg(b)) : (e.next = k.next, k.next = e); - b.interleaved = e; - return; - } - } catch (l) { - } finally { - } - c = Yg(a, b, e, d); - null !== c && (e = L(), mh(c, a, d, e), Ji(c, b, d)); - } - } - function Hi(a) { - var b = a.alternate; - return a === N || null !== b && b === N; - } - function Ii(a, b) { - Th = Sh = true; - var c = a.pending; - null === c ? b.next = b : (b.next = c.next, c.next = b); - a.pending = b; - } - function Ji(a, b, c) { - if (0 !== (c & 4194240)) { - var d = b.lanes; - d &= a.pendingLanes; - c |= d; - b.lanes = c; - Cc(a, c); - } - } - var ai = { readContext: Vg, useCallback: Q, useContext: Q, useEffect: Q, useImperativeHandle: Q, useInsertionEffect: Q, useLayoutEffect: Q, useMemo: Q, useReducer: Q, useRef: Q, useState: Q, useDebugValue: Q, useDeferredValue: Q, useTransition: Q, useMutableSource: Q, useSyncExternalStore: Q, useId: Q, unstable_isNewReconciler: false }; - var Yh = { readContext: Vg, useCallback: function(a, b) { - ci().memoizedState = [a, void 0 === b ? null : b]; - return a; - }, useContext: Vg, useEffect: vi, useImperativeHandle: function(a, b, c) { - c = null !== c && void 0 !== c ? c.concat([a]) : null; - return ti( - 4194308, - 4, - yi.bind(null, b, a), - c - ); - }, useLayoutEffect: function(a, b) { - return ti(4194308, 4, a, b); - }, useInsertionEffect: function(a, b) { - return ti(4, 2, a, b); - }, useMemo: function(a, b) { - var c = ci(); - b = void 0 === b ? null : b; - a = a(); - c.memoizedState = [a, b]; - return a; - }, useReducer: function(a, b, c) { - var d = ci(); - b = void 0 !== c ? c(b) : b; - d.memoizedState = d.baseState = b; - a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b }; - d.queue = a; - a = a.dispatch = Gi.bind(null, N, a); - return [d.memoizedState, a]; - }, useRef: function(a) { - var b = ci(); - a = { current: a }; - return b.memoizedState = a; - }, useState: qi, useDebugValue: Ai, useDeferredValue: function(a) { - return ci().memoizedState = a; - }, useTransition: function() { - var a = qi(false), b = a[0]; - a = Ei.bind(null, a[1]); - ci().memoizedState = a; - return [b, a]; - }, useMutableSource: function() { - }, useSyncExternalStore: function(a, b, c) { - var d = N, e = ci(); - if (I) { - if (void 0 === c) - throw Error(p(407)); - c = c(); - } else { - c = b(); - if (null === R) - throw Error(p(349)); - 0 !== (Rh & 30) || ni(d, b, c); - } - e.memoizedState = c; - var f = { value: c, getSnapshot: b }; - e.queue = f; - vi(ki.bind( - null, - d, - f, - a - ), [a]); - d.flags |= 2048; - li(9, mi.bind(null, d, f, c, b), void 0, null); - return c; - }, useId: function() { - var a = ci(), b = R.identifierPrefix; - if (I) { - var c = sg; - var d = rg; - c = (d & ~(1 << 32 - oc(d) - 1)).toString(32) + c; - b = ":" + b + "R" + c; - c = Uh++; - 0 < c && (b += "H" + c.toString(32)); - b += ":"; - } else - c = Vh++, b = ":" + b + "r" + c.toString(32) + ":"; - return a.memoizedState = b; - }, unstable_isNewReconciler: false }; - var Zh = { - readContext: Vg, - useCallback: Bi, - useContext: Vg, - useEffect: ji, - useImperativeHandle: zi, - useInsertionEffect: wi, - useLayoutEffect: xi, - useMemo: Ci, - useReducer: fi, - useRef: si, - useState: function() { - return fi(ei); - }, - useDebugValue: Ai, - useDeferredValue: function(a) { - var b = di(); - return Di(b, O.memoizedState, a); - }, - useTransition: function() { - var a = fi(ei)[0], b = di().memoizedState; - return [a, b]; - }, - useMutableSource: hi, - useSyncExternalStore: ii, - useId: Fi, - unstable_isNewReconciler: false - }; - var $h = { readContext: Vg, useCallback: Bi, useContext: Vg, useEffect: ji, useImperativeHandle: zi, useInsertionEffect: wi, useLayoutEffect: xi, useMemo: Ci, useReducer: gi, useRef: si, useState: function() { - return gi(ei); - }, useDebugValue: Ai, useDeferredValue: function(a) { - var b = di(); - return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a); - }, useTransition: function() { - var a = gi(ei)[0], b = di().memoizedState; - return [a, b]; - }, useMutableSource: hi, useSyncExternalStore: ii, useId: Fi, unstable_isNewReconciler: false }; - function Ki(a, b) { - try { - var c = "", d = b; - do - c += Pa(d), d = d.return; - while (d); - var e = c; - } catch (f) { - e = "\nError generating stack: " + f.message + "\n" + f.stack; - } - return { value: a, source: b, stack: e, digest: null }; - } - function Li(a, b, c) { - return { value: a, source: null, stack: null != c ? c : null, digest: null != b ? b : null }; - } - function Mi(a, b) { - try { - console.error(b.value); - } catch (c) { - setTimeout(function() { - throw c; - }); - } - } - var Ni = "function" === typeof WeakMap ? WeakMap : Map; - function Oi(a, b, c) { - c = ch(-1, c); - c.tag = 3; - c.payload = { element: null }; - var d = b.value; - c.callback = function() { - Pi || (Pi = true, Qi = d); - Mi(a, b); - }; - return c; - } - function Ri(a, b, c) { - c = ch(-1, c); - c.tag = 3; - var d = a.type.getDerivedStateFromError; - if ("function" === typeof d) { - var e = b.value; - c.payload = function() { - return d(e); - }; - c.callback = function() { - Mi(a, b); - }; - } - var f = a.stateNode; - null !== f && "function" === typeof f.componentDidCatch && (c.callback = function() { - Mi(a, b); - "function" !== typeof d && (null === Si ? Si = /* @__PURE__ */ new Set([this]) : Si.add(this)); - var c2 = b.stack; - this.componentDidCatch(b.value, { componentStack: null !== c2 ? c2 : "" }); - }); - return c; - } - function Ti(a, b, c) { - var d = a.pingCache; - if (null === d) { - d = a.pingCache = new Ni(); - var e = /* @__PURE__ */ new Set(); - d.set(b, e); - } else - e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e)); - e.has(c) || (e.add(c), a = Ui.bind(null, a, b, c), b.then(a, a)); - } - function Vi(a) { - do { - var b; - if (b = 13 === a.tag) - b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true; - if (b) - return a; - a = a.return; - } while (null !== a); - return null; - } - function Wi(a, b, c, d, e) { - if (0 === (a.mode & 1)) - return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a; - a.flags |= 65536; - a.lanes = e; - return a; - } - var Xi = ua.ReactCurrentOwner; - var Ug = false; - function Yi(a, b, c, d) { - b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d); - } - function Zi(a, b, c, d, e) { - c = c.render; - var f = b.ref; - Tg(b, e); - d = Xh(a, b, c, d, f, e); - c = bi(); - if (null !== a && !Ug) - return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e); - I && c && vg(b); - b.flags |= 1; - Yi(a, b, d, e); - return b.child; - } - function aj(a, b, c, d, e) { - if (null === a) { - var f = c.type; - if ("function" === typeof f && !bj(f) && void 0 === f.defaultProps && null === c.compare && void 0 === c.defaultProps) - return b.tag = 15, b.type = f, cj(a, b, f, d, e); - a = yh(c.type, null, d, b, b.mode, e); - a.ref = b.ref; - a.return = b; - return b.child = a; - } - f = a.child; - if (0 === (a.lanes & e)) { - var g = f.memoizedProps; - c = c.compare; - c = null !== c ? c : Ie; - if (c(g, d) && a.ref === b.ref) - return $i(a, b, e); - } - b.flags |= 1; - a = wh(f, d); - a.ref = b.ref; - a.return = b; - return b.child = a; - } - function cj(a, b, c, d, e) { - if (null !== a) { - var f = a.memoizedProps; - if (Ie(f, d) && a.ref === b.ref) - if (Ug = false, b.pendingProps = d = f, 0 !== (a.lanes & e)) - 0 !== (a.flags & 131072) && (Ug = true); - else - return b.lanes = a.lanes, $i(a, b, e); - } - return dj(a, b, c, d, e); - } - function ej(a, b, c) { - var d = b.pendingProps, e = d.children, f = null !== a ? a.memoizedState : null; - if ("hidden" === d.mode) - if (0 === (b.mode & 1)) - b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(fj, gj), gj |= c; - else { - if (0 === (c & 1073741824)) - return a = null !== f ? f.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = { baseLanes: a, cachePool: null, transitions: null }, b.updateQueue = null, G(fj, gj), gj |= a, null; - b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }; - d = null !== f ? f.baseLanes : c; - G(fj, gj); - gj |= d; - } - else - null !== f ? (d = f.baseLanes | c, b.memoizedState = null) : d = c, G(fj, gj), gj |= d; - Yi(a, b, e, c); - return b.child; - } - function hj(a, b) { - var c = b.ref; - if (null === a && null !== c || null !== a && a.ref !== c) - b.flags |= 512, b.flags |= 2097152; - } - function dj(a, b, c, d, e) { - var f = Zf(c) ? Xf : H.current; - f = Yf(b, f); - Tg(b, e); - c = Xh(a, b, c, d, f, e); - d = bi(); - if (null !== a && !Ug) - return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e); - I && d && vg(b); - b.flags |= 1; - Yi(a, b, c, e); - return b.child; - } - function ij(a, b, c, d, e) { - if (Zf(c)) { - var f = true; - cg(b); - } else - f = false; - Tg(b, e); - if (null === b.stateNode) - jj(a, b), ph(b, c, d), rh(b, c, d, e), d = true; - else if (null === a) { - var g = b.stateNode, h = b.memoizedProps; - g.props = h; - var k = g.context, l = c.contextType; - "object" === typeof l && null !== l ? l = Vg(l) : (l = Zf(c) ? Xf : H.current, l = Yf(b, l)); - var m = c.getDerivedStateFromProps, q = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate; - q || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && qh(b, g, d, l); - $g = false; - var r = b.memoizedState; - g.state = r; - gh(b, d, g, e); - k = b.memoizedState; - h !== d || r !== k || Wf.current || $g ? ("function" === typeof m && (kh(b, c, m, d), k = b.memoizedState), (h = $g || oh(b, c, h, d, r, k, l)) ? (q || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false); - } else { - g = b.stateNode; - bh(a, b); - h = b.memoizedProps; - l = b.type === b.elementType ? h : Lg(b.type, h); - g.props = l; - q = b.pendingProps; - r = g.context; - k = c.contextType; - "object" === typeof k && null !== k ? k = Vg(k) : (k = Zf(c) ? Xf : H.current, k = Yf(b, k)); - var y = c.getDerivedStateFromProps; - (m = "function" === typeof y || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== q || r !== k) && qh(b, g, d, k); - $g = false; - r = b.memoizedState; - g.state = r; - gh(b, d, g, e); - var n = b.memoizedState; - h !== q || r !== n || Wf.current || $g ? ("function" === typeof y && (kh(b, c, y, d), n = b.memoizedState), (l = $g || oh(b, c, l, d, r, n, k) || false) ? (m || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, n, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, n, k)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = n), g.props = d, g.state = n, g.context = k, d = l) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), d = false); - } - return kj(a, b, c, d, f, e); - } - function kj(a, b, c, d, e, f) { - hj(a, b); - var g = 0 !== (b.flags & 128); - if (!d && !g) - return e && dg(b, c, false), $i(a, b, f); - d = b.stateNode; - Xi.current = b; - var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render(); - b.flags |= 1; - null !== a && g ? (b.child = Bh(b, a.child, null, f), b.child = Bh(b, null, h, f)) : Yi(a, b, h, f); - b.memoizedState = d.state; - e && dg(b, c, true); - return b.child; - } - function lj(a) { - var b = a.stateNode; - b.pendingContext ? ag(a, b.pendingContext, b.pendingContext !== b.context) : b.context && ag(a, b.context, false); - Ih(a, b.containerInfo); - } - function mj(a, b, c, d, e) { - Ig(); - Jg(e); - b.flags |= 256; - Yi(a, b, c, d); - return b.child; - } - var nj = { dehydrated: null, treeContext: null, retryLane: 0 }; - function oj(a) { - return { baseLanes: a, cachePool: null, transitions: null }; - } - function pj(a, b, c) { - var d = b.pendingProps, e = M.current, f = false, g = 0 !== (b.flags & 128), h; - (h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2)); - if (h) - f = true, b.flags &= -129; - else if (null === a || null !== a.memoizedState) - e |= 1; - G(M, e & 1); - if (null === a) { - Eg(b); - a = b.memoizedState; - if (null !== a && (a = a.dehydrated, null !== a)) - return 0 === (b.mode & 1) ? b.lanes = 1 : "$!" === a.data ? b.lanes = 8 : b.lanes = 1073741824, null; - g = d.children; - a = d.fallback; - return f ? (d = b.mode, f = b.child, g = { mode: "hidden", children: g }, 0 === (d & 1) && null !== f ? (f.childLanes = 0, f.pendingProps = g) : f = qj(g, d, 0, null), a = Ah(a, d, c, null), f.return = b, a.return = b, f.sibling = a, b.child = f, b.child.memoizedState = oj(c), b.memoizedState = nj, a) : rj(b, g); - } - e = a.memoizedState; - if (null !== e && (h = e.dehydrated, null !== h)) - return sj(a, b, g, d, h, e, c); - if (f) { - f = d.fallback; - g = b.mode; - e = a.child; - h = e.sibling; - var k = { mode: "hidden", children: d.children }; - 0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k, b.deletions = null) : (d = wh(e, k), d.subtreeFlags = e.subtreeFlags & 14680064); - null !== h ? f = wh(h, f) : (f = Ah(f, g, c, null), f.flags |= 2); - f.return = b; - d.return = b; - d.sibling = f; - b.child = d; - d = f; - f = b.child; - g = a.child.memoizedState; - g = null === g ? oj(c) : { baseLanes: g.baseLanes | c, cachePool: null, transitions: g.transitions }; - f.memoizedState = g; - f.childLanes = a.childLanes & ~c; - b.memoizedState = nj; - return d; - } - f = a.child; - a = f.sibling; - d = wh(f, { mode: "visible", children: d.children }); - 0 === (b.mode & 1) && (d.lanes = c); - d.return = b; - d.sibling = null; - null !== a && (c = b.deletions, null === c ? (b.deletions = [a], b.flags |= 16) : c.push(a)); - b.child = d; - b.memoizedState = null; - return d; - } - function rj(a, b) { - b = qj({ mode: "visible", children: b }, a.mode, 0, null); - b.return = a; - return a.child = b; - } - function tj(a, b, c, d) { - null !== d && Jg(d); - Bh(b, a.child, null, c); - a = rj(b, b.pendingProps.children); - a.flags |= 2; - b.memoizedState = null; - return a; - } - function sj(a, b, c, d, e, f, g) { - if (c) { - if (b.flags & 256) - return b.flags &= -257, d = Li(Error(p(422))), tj(a, b, g, d); - if (null !== b.memoizedState) - return b.child = a.child, b.flags |= 128, null; - f = d.fallback; - e = b.mode; - d = qj({ mode: "visible", children: d.children }, e, 0, null); - f = Ah(f, e, g, null); - f.flags |= 2; - d.return = b; - f.return = b; - d.sibling = f; - b.child = d; - 0 !== (b.mode & 1) && Bh(b, a.child, null, g); - b.child.memoizedState = oj(g); - b.memoizedState = nj; - return f; - } - if (0 === (b.mode & 1)) - return tj(a, b, g, null); - if ("$!" === e.data) { - d = e.nextSibling && e.nextSibling.dataset; - if (d) - var h = d.dgst; - d = h; - f = Error(p(419)); - d = Li(f, d, void 0); - return tj(a, b, g, d); - } - h = 0 !== (g & a.childLanes); - if (Ug || h) { - d = R; - if (null !== d) { - switch (g & -g) { - case 4: - e = 2; - break; - case 16: - e = 8; - break; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - e = 32; - break; - case 536870912: - e = 268435456; - break; - default: - e = 0; - } - e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e; - 0 !== e && e !== f.retryLane && (f.retryLane = e, Zg(a, e), mh(d, a, e, -1)); - } - uj(); - d = Li(Error(p(421))); - return tj(a, b, g, d); - } - if ("$?" === e.data) - return b.flags |= 128, b.child = a.child, b = vj.bind(null, a), e._reactRetry = b, null; - a = f.treeContext; - yg = Lf(e.nextSibling); - xg = b; - I = true; - zg = null; - null !== a && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = a.id, sg = a.overflow, qg = b); - b = rj(b, d.children); - b.flags |= 4096; - return b; - } - function wj(a, b, c) { - a.lanes |= b; - var d = a.alternate; - null !== d && (d.lanes |= b); - Sg(a.return, b, c); - } - function xj(a, b, c, d, e) { - var f = a.memoizedState; - null === f ? a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, tailMode: e } : (f.isBackwards = b, f.rendering = null, f.renderingStartTime = 0, f.last = d, f.tail = c, f.tailMode = e); - } - function yj(a, b, c) { - var d = b.pendingProps, e = d.revealOrder, f = d.tail; - Yi(a, b, d.children, c); - d = M.current; - if (0 !== (d & 2)) - d = d & 1 | 2, b.flags |= 128; - else { - if (null !== a && 0 !== (a.flags & 128)) - a: - for (a = b.child; null !== a; ) { - if (13 === a.tag) - null !== a.memoizedState && wj(a, c, b); - else if (19 === a.tag) - wj(a, c, b); - else if (null !== a.child) { - a.child.return = a; - a = a.child; - continue; - } - if (a === b) - break a; - for (; null === a.sibling; ) { - if (null === a.return || a.return === b) - break a; - a = a.return; - } - a.sibling.return = a.return; - a = a.sibling; - } - d &= 1; - } - G(M, d); - if (0 === (b.mode & 1)) - b.memoizedState = null; - else - switch (e) { - case "forwards": - c = b.child; - for (e = null; null !== c; ) - a = c.alternate, null !== a && null === Mh(a) && (e = c), c = c.sibling; - c = e; - null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null); - xj(b, false, e, c, f); - break; - case "backwards": - c = null; - e = b.child; - for (b.child = null; null !== e; ) { - a = e.alternate; - if (null !== a && null === Mh(a)) { - b.child = e; - break; - } - a = e.sibling; - e.sibling = c; - c = e; - e = a; - } - xj(b, true, c, null, f); - break; - case "together": - xj(b, false, null, null, void 0); - break; - default: - b.memoizedState = null; - } - return b.child; - } - function jj(a, b) { - 0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2); - } - function $i(a, b, c) { - null !== a && (b.dependencies = a.dependencies); - hh |= b.lanes; - if (0 === (c & b.childLanes)) - return null; - if (null !== a && b.child !== a.child) - throw Error(p(153)); - if (null !== b.child) { - a = b.child; - c = wh(a, a.pendingProps); - b.child = c; - for (c.return = b; null !== a.sibling; ) - a = a.sibling, c = c.sibling = wh(a, a.pendingProps), c.return = b; - c.sibling = null; - } - return b.child; - } - function zj(a, b, c) { - switch (b.tag) { - case 3: - lj(b); - Ig(); - break; - case 5: - Kh(b); - break; - case 1: - Zf(b.type) && cg(b); - break; - case 4: - Ih(b, b.stateNode.containerInfo); - break; - case 10: - var d = b.type._context, e = b.memoizedProps.value; - G(Mg, d._currentValue); - d._currentValue = e; - break; - case 13: - d = b.memoizedState; - if (null !== d) { - if (null !== d.dehydrated) - return G(M, M.current & 1), b.flags |= 128, null; - if (0 !== (c & b.child.childLanes)) - return pj(a, b, c); - G(M, M.current & 1); - a = $i(a, b, c); - return null !== a ? a.sibling : null; - } - G(M, M.current & 1); - break; - case 19: - d = 0 !== (c & b.childLanes); - if (0 !== (a.flags & 128)) { - if (d) - return yj(a, b, c); - b.flags |= 128; - } - e = b.memoizedState; - null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null); - G(M, M.current); - if (d) - break; - else - return null; - case 22: - case 23: - return b.lanes = 0, ej(a, b, c); - } - return $i(a, b, c); - } - var Aj; - var Bj; - var Cj; - var Dj; - Aj = function(a, b) { - for (var c = b.child; null !== c; ) { - if (5 === c.tag || 6 === c.tag) - a.appendChild(c.stateNode); - else if (4 !== c.tag && null !== c.child) { - c.child.return = c; - c = c.child; - continue; - } - if (c === b) - break; - for (; null === c.sibling; ) { - if (null === c.return || c.return === b) - return; - c = c.return; - } - c.sibling.return = c.return; - c = c.sibling; - } - }; - Bj = function() { - }; - Cj = function(a, b, c, d) { - var e = a.memoizedProps; - if (e !== d) { - a = b.stateNode; - Hh(Eh.current); - var f = null; - switch (c) { - case "input": - e = Ya(a, e); - d = Ya(a, d); - f = []; - break; - case "select": - e = A({}, e, { value: void 0 }); - d = A({}, d, { value: void 0 }); - f = []; - break; - case "textarea": - e = gb(a, e); - d = gb(a, d); - f = []; - break; - default: - "function" !== typeof e.onClick && "function" === typeof d.onClick && (a.onclick = Bf); - } - ub(c, d); - var g; - c = null; - for (l in e) - if (!d.hasOwnProperty(l) && e.hasOwnProperty(l) && null != e[l]) - if ("style" === l) { - var h = e[l]; - for (g in h) - h.hasOwnProperty(g) && (c || (c = {}), c[g] = ""); - } else - "dangerouslySetInnerHTML" !== l && "children" !== l && "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && "autoFocus" !== l && (ea.hasOwnProperty(l) ? f || (f = []) : (f = f || []).push(l, null)); - for (l in d) { - var k = d[l]; - h = null != e ? e[l] : void 0; - if (d.hasOwnProperty(l) && k !== h && (null != k || null != h)) - if ("style" === l) - if (h) { - for (g in h) - !h.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (c || (c = {}), c[g] = ""); - for (g in k) - k.hasOwnProperty(g) && h[g] !== k[g] && (c || (c = {}), c[g] = k[g]); - } else - c || (f || (f = []), f.push( - l, - c - )), c = k; - else - "dangerouslySetInnerHTML" === l ? (k = k ? k.__html : void 0, h = h ? h.__html : void 0, null != k && h !== k && (f = f || []).push(l, k)) : "children" === l ? "string" !== typeof k && "number" !== typeof k || (f = f || []).push(l, "" + k) : "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && (ea.hasOwnProperty(l) ? (null != k && "onScroll" === l && D("scroll", a), f || h === k || (f = [])) : (f = f || []).push(l, k)); - } - c && (f = f || []).push("style", c); - var l = f; - if (b.updateQueue = l) - b.flags |= 4; - } - }; - Dj = function(a, b, c, d) { - c !== d && (b.flags |= 4); - }; - function Ej(a, b) { - if (!I) - switch (a.tailMode) { - case "hidden": - b = a.tail; - for (var c = null; null !== b; ) - null !== b.alternate && (c = b), b = b.sibling; - null === c ? a.tail = null : c.sibling = null; - break; - case "collapsed": - c = a.tail; - for (var d = null; null !== c; ) - null !== c.alternate && (d = c), c = c.sibling; - null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null; - } - } - function S(a) { - var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0; - if (b) - for (var e = a.child; null !== e; ) - c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling; - else - for (e = a.child; null !== e; ) - c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling; - a.subtreeFlags |= d; - a.childLanes = c; - return b; - } - function Fj(a, b, c) { - var d = b.pendingProps; - wg(b); - switch (b.tag) { - case 2: - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return S(b), null; - case 1: - return Zf(b.type) && $f(), S(b), null; - case 3: - d = b.stateNode; - Jh(); - E(Wf); - E(H); - Oh(); - d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null); - if (null === a || null === a.child) - Gg(b) ? b.flags |= 4 : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== zg && (Gj(zg), zg = null)); - Bj(a, b); - S(b); - return null; - case 5: - Lh(b); - var e = Hh(Gh.current); - c = b.type; - if (null !== a && null != b.stateNode) - Cj(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152); - else { - if (!d) { - if (null === b.stateNode) - throw Error(p(166)); - S(b); - return null; - } - a = Hh(Eh.current); - if (Gg(b)) { - d = b.stateNode; - c = b.type; - var f = b.memoizedProps; - d[Of] = b; - d[Pf] = f; - a = 0 !== (b.mode & 1); - switch (c) { - case "dialog": - D("cancel", d); - D("close", d); - break; - case "iframe": - case "object": - case "embed": - D("load", d); - break; - case "video": - case "audio": - for (e = 0; e < lf.length; e++) - D(lf[e], d); - break; - case "source": - D("error", d); - break; - case "img": - case "image": - case "link": - D( - "error", - d - ); - D("load", d); - break; - case "details": - D("toggle", d); - break; - case "input": - Za(d, f); - D("invalid", d); - break; - case "select": - d._wrapperState = { wasMultiple: !!f.multiple }; - D("invalid", d); - break; - case "textarea": - hb(d, f), D("invalid", d); - } - ub(c, f); - e = null; - for (var g in f) - if (f.hasOwnProperty(g)) { - var h = f[g]; - "children" === g ? "string" === typeof h ? d.textContent !== h && (true !== f.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (true !== f.suppressHydrationWarning && Af( - d.textContent, - h, - a - ), e = ["children", "" + h]) : ea.hasOwnProperty(g) && null != h && "onScroll" === g && D("scroll", d); - } - switch (c) { - case "input": - Va(d); - db(d, f, true); - break; - case "textarea": - Va(d); - jb(d); - break; - case "select": - case "option": - break; - default: - "function" === typeof f.onClick && (d.onclick = Bf); - } - d = e; - b.updateQueue = d; - null !== d && (b.flags |= 4); - } else { - g = 9 === e.nodeType ? e : e.ownerDocument; - "http://www.w3.org/1999/xhtml" === a && (a = kb(c)); - "http://www.w3.org/1999/xhtml" === a ? "script" === c ? (a = g.createElement("div"), a.innerHTML = "", a = a.removeChild(a.firstChild)) : "string" === typeof d.is ? a = g.createElement(c, { is: d.is }) : (a = g.createElement(c), "select" === c && (g = a, d.multiple ? g.multiple = true : d.size && (g.size = d.size))) : a = g.createElementNS(a, c); - a[Of] = b; - a[Pf] = d; - Aj(a, b, false, false); - b.stateNode = a; - a: { - g = vb(c, d); - switch (c) { - case "dialog": - D("cancel", a); - D("close", a); - e = d; - break; - case "iframe": - case "object": - case "embed": - D("load", a); - e = d; - break; - case "video": - case "audio": - for (e = 0; e < lf.length; e++) - D(lf[e], a); - e = d; - break; - case "source": - D("error", a); - e = d; - break; - case "img": - case "image": - case "link": - D( - "error", - a - ); - D("load", a); - e = d; - break; - case "details": - D("toggle", a); - e = d; - break; - case "input": - Za(a, d); - e = Ya(a, d); - D("invalid", a); - break; - case "option": - e = d; - break; - case "select": - a._wrapperState = { wasMultiple: !!d.multiple }; - e = A({}, d, { value: void 0 }); - D("invalid", a); - break; - case "textarea": - hb(a, d); - e = gb(a, d); - D("invalid", a); - break; - default: - e = d; - } - ub(c, e); - h = e; - for (f in h) - if (h.hasOwnProperty(f)) { - var k = h[f]; - "style" === f ? sb(a, k) : "dangerouslySetInnerHTML" === f ? (k = k ? k.__html : void 0, null != k && nb(a, k)) : "children" === f ? "string" === typeof k ? ("textarea" !== c || "" !== k) && ob(a, k) : "number" === typeof k && ob(a, "" + k) : "suppressContentEditableWarning" !== f && "suppressHydrationWarning" !== f && "autoFocus" !== f && (ea.hasOwnProperty(f) ? null != k && "onScroll" === f && D("scroll", a) : null != k && ta(a, f, k, g)); - } - switch (c) { - case "input": - Va(a); - db(a, d, false); - break; - case "textarea": - Va(a); - jb(a); - break; - case "option": - null != d.value && a.setAttribute("value", "" + Sa(d.value)); - break; - case "select": - a.multiple = !!d.multiple; - f = d.value; - null != f ? fb(a, !!d.multiple, f, false) : null != d.defaultValue && fb( - a, - !!d.multiple, - d.defaultValue, - true - ); - break; - default: - "function" === typeof e.onClick && (a.onclick = Bf); - } - switch (c) { - case "button": - case "input": - case "select": - case "textarea": - d = !!d.autoFocus; - break a; - case "img": - d = true; - break a; - default: - d = false; - } - } - d && (b.flags |= 4); - } - null !== b.ref && (b.flags |= 512, b.flags |= 2097152); - } - S(b); - return null; - case 6: - if (a && null != b.stateNode) - Dj(a, b, a.memoizedProps, d); - else { - if ("string" !== typeof d && null === b.stateNode) - throw Error(p(166)); - c = Hh(Gh.current); - Hh(Eh.current); - if (Gg(b)) { - d = b.stateNode; - c = b.memoizedProps; - d[Of] = b; - if (f = d.nodeValue !== c) { - if (a = xg, null !== a) - switch (a.tag) { - case 3: - Af(d.nodeValue, c, 0 !== (a.mode & 1)); - break; - case 5: - true !== a.memoizedProps.suppressHydrationWarning && Af(d.nodeValue, c, 0 !== (a.mode & 1)); - } - } - f && (b.flags |= 4); - } else - d = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), d[Of] = b, b.stateNode = d; - } - S(b); - return null; - case 13: - E(M); - d = b.memoizedState; - if (null === a || null !== a.memoizedState && null !== a.memoizedState.dehydrated) { - if (I && null !== yg && 0 !== (b.mode & 1) && 0 === (b.flags & 128)) - Hg(), Ig(), b.flags |= 98560, f = false; - else if (f = Gg(b), null !== d && null !== d.dehydrated) { - if (null === a) { - if (!f) - throw Error(p(318)); - f = b.memoizedState; - f = null !== f ? f.dehydrated : null; - if (!f) - throw Error(p(317)); - f[Of] = b; - } else - Ig(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4; - S(b); - f = false; - } else - null !== zg && (Gj(zg), zg = null), f = true; - if (!f) - return b.flags & 65536 ? b : null; - } - if (0 !== (b.flags & 128)) - return b.lanes = c, b; - d = null !== d; - d !== (null !== a && null !== a.memoizedState) && d && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (M.current & 1) ? 0 === T && (T = 3) : uj())); - null !== b.updateQueue && (b.flags |= 4); - S(b); - return null; - case 4: - return Jh(), Bj(a, b), null === a && sf(b.stateNode.containerInfo), S(b), null; - case 10: - return Rg(b.type._context), S(b), null; - case 17: - return Zf(b.type) && $f(), S(b), null; - case 19: - E(M); - f = b.memoizedState; - if (null === f) - return S(b), null; - d = 0 !== (b.flags & 128); - g = f.rendering; - if (null === g) - if (d) - Ej(f, false); - else { - if (0 !== T || null !== a && 0 !== (a.flags & 128)) - for (a = b.child; null !== a; ) { - g = Mh(a); - if (null !== g) { - b.flags |= 128; - Ej(f, false); - d = g.updateQueue; - null !== d && (b.updateQueue = d, b.flags |= 4); - b.subtreeFlags = 0; - d = c; - for (c = b.child; null !== c; ) - f = c, a = d, f.flags &= 14680066, g = f.alternate, null === g ? (f.childLanes = 0, f.lanes = a, f.child = null, f.subtreeFlags = 0, f.memoizedProps = null, f.memoizedState = null, f.updateQueue = null, f.dependencies = null, f.stateNode = null) : (f.childLanes = g.childLanes, f.lanes = g.lanes, f.child = g.child, f.subtreeFlags = 0, f.deletions = null, f.memoizedProps = g.memoizedProps, f.memoizedState = g.memoizedState, f.updateQueue = g.updateQueue, f.type = g.type, a = g.dependencies, f.dependencies = null === a ? null : { lanes: a.lanes, firstContext: a.firstContext }), c = c.sibling; - G(M, M.current & 1 | 2); - return b.child; - } - a = a.sibling; - } - null !== f.tail && B() > Hj && (b.flags |= 128, d = true, Ej(f, false), b.lanes = 4194304); - } - else { - if (!d) - if (a = Mh(g), null !== a) { - if (b.flags |= 128, d = true, c = a.updateQueue, null !== c && (b.updateQueue = c, b.flags |= 4), Ej(f, true), null === f.tail && "hidden" === f.tailMode && !g.alternate && !I) - return S(b), null; - } else - 2 * B() - f.renderingStartTime > Hj && 1073741824 !== c && (b.flags |= 128, d = true, Ej(f, false), b.lanes = 4194304); - f.isBackwards ? (g.sibling = b.child, b.child = g) : (c = f.last, null !== c ? c.sibling = g : b.child = g, f.last = g); - } - if (null !== f.tail) - return b = f.tail, f.rendering = b, f.tail = b.sibling, f.renderingStartTime = B(), b.sibling = null, c = M.current, G(M, d ? c & 1 | 2 : c & 1), b; - S(b); - return null; - case 22: - case 23: - return Ij(), d = null !== b.memoizedState, null !== a && null !== a.memoizedState !== d && (b.flags |= 8192), d && 0 !== (b.mode & 1) ? 0 !== (gj & 1073741824) && (S(b), b.subtreeFlags & 6 && (b.flags |= 8192)) : S(b), null; - case 24: - return null; - case 25: - return null; - } - throw Error(p(156, b.tag)); - } - function Jj(a, b) { - wg(b); - switch (b.tag) { - case 1: - return Zf(b.type) && $f(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null; - case 3: - return Jh(), E(Wf), E(H), Oh(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null; - case 5: - return Lh(b), null; - case 13: - E(M); - a = b.memoizedState; - if (null !== a && null !== a.dehydrated) { - if (null === b.alternate) - throw Error(p(340)); - Ig(); - } - a = b.flags; - return a & 65536 ? (b.flags = a & -65537 | 128, b) : null; - case 19: - return E(M), null; - case 4: - return Jh(), null; - case 10: - return Rg(b.type._context), null; - case 22: - case 23: - return Ij(), null; - case 24: - return null; - default: - return null; - } - } - var Kj = false; - var U = false; - var Lj = "function" === typeof WeakSet ? WeakSet : Set; - var V = null; - function Mj(a, b) { - var c = a.ref; - if (null !== c) - if ("function" === typeof c) - try { - c(null); - } catch (d) { - W(a, b, d); - } - else - c.current = null; - } - function Nj(a, b, c) { - try { - c(); - } catch (d) { - W(a, b, d); - } - } - var Oj = false; - function Pj(a, b) { - Cf = dd; - a = Me(); - if (Ne(a)) { - if ("selectionStart" in a) - var c = { start: a.selectionStart, end: a.selectionEnd }; - else - a: { - c = (c = a.ownerDocument) && c.defaultView || window; - var d = c.getSelection && c.getSelection(); - if (d && 0 !== d.rangeCount) { - c = d.anchorNode; - var e = d.anchorOffset, f = d.focusNode; - d = d.focusOffset; - try { - c.nodeType, f.nodeType; - } catch (F) { - c = null; - break a; - } - var g = 0, h = -1, k = -1, l = 0, m = 0, q = a, r = null; - b: - for (; ; ) { - for (var y; ; ) { - q !== c || 0 !== e && 3 !== q.nodeType || (h = g + e); - q !== f || 0 !== d && 3 !== q.nodeType || (k = g + d); - 3 === q.nodeType && (g += q.nodeValue.length); - if (null === (y = q.firstChild)) - break; - r = q; - q = y; - } - for (; ; ) { - if (q === a) - break b; - r === c && ++l === e && (h = g); - r === f && ++m === d && (k = g); - if (null !== (y = q.nextSibling)) - break; - q = r; - r = q.parentNode; - } - q = y; - } - c = -1 === h || -1 === k ? null : { start: h, end: k }; - } else - c = null; - } - c = c || { start: 0, end: 0 }; - } else - c = null; - Df = { focusedElem: a, selectionRange: c }; - dd = false; - for (V = b; null !== V; ) - if (b = V, a = b.child, 0 !== (b.subtreeFlags & 1028) && null !== a) - a.return = b, V = a; - else - for (; null !== V; ) { - b = V; - try { - var n = b.alternate; - if (0 !== (b.flags & 1024)) - switch (b.tag) { - case 0: - case 11: - case 15: - break; - case 1: - if (null !== n) { - var t = n.memoizedProps, J = n.memoizedState, x = b.stateNode, w = x.getSnapshotBeforeUpdate(b.elementType === b.type ? t : Lg(b.type, t), J); - x.__reactInternalSnapshotBeforeUpdate = w; - } - break; - case 3: - var u = b.stateNode.containerInfo; - 1 === u.nodeType ? u.textContent = "" : 9 === u.nodeType && u.documentElement && u.removeChild(u.documentElement); - break; - case 5: - case 6: - case 4: - case 17: - break; - default: - throw Error(p(163)); - } - } catch (F) { - W(b, b.return, F); - } - a = b.sibling; - if (null !== a) { - a.return = b.return; - V = a; - break; - } - V = b.return; - } - n = Oj; - Oj = false; - return n; - } - function Qj(a, b, c) { - var d = b.updateQueue; - d = null !== d ? d.lastEffect : null; - if (null !== d) { - var e = d = d.next; - do { - if ((e.tag & a) === a) { - var f = e.destroy; - e.destroy = void 0; - void 0 !== f && Nj(b, c, f); - } - e = e.next; - } while (e !== d); - } - } - function Rj(a, b) { - b = b.updateQueue; - b = null !== b ? b.lastEffect : null; - if (null !== b) { - var c = b = b.next; - do { - if ((c.tag & a) === a) { - var d = c.create; - c.destroy = d(); - } - c = c.next; - } while (c !== b); - } - } - function Sj(a) { - var b = a.ref; - if (null !== b) { - var c = a.stateNode; - switch (a.tag) { - case 5: - a = c; - break; - default: - a = c; - } - "function" === typeof b ? b(a) : b.current = a; - } - } - function Tj(a) { - var b = a.alternate; - null !== b && (a.alternate = null, Tj(b)); - a.child = null; - a.deletions = null; - a.sibling = null; - 5 === a.tag && (b = a.stateNode, null !== b && (delete b[Of], delete b[Pf], delete b[of], delete b[Qf], delete b[Rf])); - a.stateNode = null; - a.return = null; - a.dependencies = null; - a.memoizedProps = null; - a.memoizedState = null; - a.pendingProps = null; - a.stateNode = null; - a.updateQueue = null; - } - function Uj(a) { - return 5 === a.tag || 3 === a.tag || 4 === a.tag; - } - function Vj(a) { - a: - for (; ; ) { - for (; null === a.sibling; ) { - if (null === a.return || Uj(a.return)) - return null; - a = a.return; - } - a.sibling.return = a.return; - for (a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag; ) { - if (a.flags & 2) - continue a; - if (null === a.child || 4 === a.tag) - continue a; - else - a.child.return = a, a = a.child; - } - if (!(a.flags & 2)) - return a.stateNode; - } - } - function Wj(a, b, c) { - var d = a.tag; - if (5 === d || 6 === d) - a = a.stateNode, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = Bf)); - else if (4 !== d && (a = a.child, null !== a)) - for (Wj(a, b, c), a = a.sibling; null !== a; ) - Wj(a, b, c), a = a.sibling; - } - function Xj(a, b, c) { - var d = a.tag; - if (5 === d || 6 === d) - a = a.stateNode, b ? c.insertBefore(a, b) : c.appendChild(a); - else if (4 !== d && (a = a.child, null !== a)) - for (Xj(a, b, c), a = a.sibling; null !== a; ) - Xj(a, b, c), a = a.sibling; - } - var X = null; - var Yj = false; - function Zj(a, b, c) { - for (c = c.child; null !== c; ) - ak(a, b, c), c = c.sibling; - } - function ak(a, b, c) { - if (lc && "function" === typeof lc.onCommitFiberUnmount) - try { - lc.onCommitFiberUnmount(kc, c); - } catch (h) { - } - switch (c.tag) { - case 5: - U || Mj(c, b); - case 6: - var d = X, e = Yj; - X = null; - Zj(a, b, c); - X = d; - Yj = e; - null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? a.parentNode.removeChild(c) : a.removeChild(c)) : X.removeChild(c.stateNode)); - break; - case 18: - null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? Kf(a.parentNode, c) : 1 === a.nodeType && Kf(a, c), bd(a)) : Kf(X, c.stateNode)); - break; - case 4: - d = X; - e = Yj; - X = c.stateNode.containerInfo; - Yj = true; - Zj(a, b, c); - X = d; - Yj = e; - break; - case 0: - case 11: - case 14: - case 15: - if (!U && (d = c.updateQueue, null !== d && (d = d.lastEffect, null !== d))) { - e = d = d.next; - do { - var f = e, g = f.destroy; - f = f.tag; - void 0 !== g && (0 !== (f & 2) ? Nj(c, b, g) : 0 !== (f & 4) && Nj(c, b, g)); - e = e.next; - } while (e !== d); - } - Zj(a, b, c); - break; - case 1: - if (!U && (Mj(c, b), d = c.stateNode, "function" === typeof d.componentWillUnmount)) - try { - d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount(); - } catch (h) { - W(c, b, h); - } - Zj(a, b, c); - break; - case 21: - Zj(a, b, c); - break; - case 22: - c.mode & 1 ? (U = (d = U) || null !== c.memoizedState, Zj(a, b, c), U = d) : Zj(a, b, c); - break; - default: - Zj(a, b, c); - } - } - function bk(a) { - var b = a.updateQueue; - if (null !== b) { - a.updateQueue = null; - var c = a.stateNode; - null === c && (c = a.stateNode = new Lj()); - b.forEach(function(b2) { - var d = ck.bind(null, a, b2); - c.has(b2) || (c.add(b2), b2.then(d, d)); - }); - } - } - function dk(a, b) { - var c = b.deletions; - if (null !== c) - for (var d = 0; d < c.length; d++) { - var e = c[d]; - try { - var f = a, g = b, h = g; - a: - for (; null !== h; ) { - switch (h.tag) { - case 5: - X = h.stateNode; - Yj = false; - break a; - case 3: - X = h.stateNode.containerInfo; - Yj = true; - break a; - case 4: - X = h.stateNode.containerInfo; - Yj = true; - break a; - } - h = h.return; - } - if (null === X) - throw Error(p(160)); - ak(f, g, e); - X = null; - Yj = false; - var k = e.alternate; - null !== k && (k.return = null); - e.return = null; - } catch (l) { - W(e, b, l); - } - } - if (b.subtreeFlags & 12854) - for (b = b.child; null !== b; ) - ek(b, a), b = b.sibling; - } - function ek(a, b) { - var c = a.alternate, d = a.flags; - switch (a.tag) { - case 0: - case 11: - case 14: - case 15: - dk(b, a); - fk(a); - if (d & 4) { - try { - Qj(3, a, a.return), Rj(3, a); - } catch (t) { - W(a, a.return, t); - } - try { - Qj(5, a, a.return); - } catch (t) { - W(a, a.return, t); - } - } - break; - case 1: - dk(b, a); - fk(a); - d & 512 && null !== c && Mj(c, c.return); - break; - case 5: - dk(b, a); - fk(a); - d & 512 && null !== c && Mj(c, c.return); - if (a.flags & 32) { - var e = a.stateNode; - try { - ob(e, ""); - } catch (t) { - W(a, a.return, t); - } - } - if (d & 4 && (e = a.stateNode, null != e)) { - var f = a.memoizedProps, g = null !== c ? c.memoizedProps : f, h = a.type, k = a.updateQueue; - a.updateQueue = null; - if (null !== k) - try { - "input" === h && "radio" === f.type && null != f.name && ab(e, f); - vb(h, g); - var l = vb(h, f); - for (g = 0; g < k.length; g += 2) { - var m = k[g], q = k[g + 1]; - "style" === m ? sb(e, q) : "dangerouslySetInnerHTML" === m ? nb(e, q) : "children" === m ? ob(e, q) : ta(e, m, q, l); - } - switch (h) { - case "input": - bb(e, f); - break; - case "textarea": - ib(e, f); - break; - case "select": - var r = e._wrapperState.wasMultiple; - e._wrapperState.wasMultiple = !!f.multiple; - var y = f.value; - null != y ? fb(e, !!f.multiple, y, false) : r !== !!f.multiple && (null != f.defaultValue ? fb( - e, - !!f.multiple, - f.defaultValue, - true - ) : fb(e, !!f.multiple, f.multiple ? [] : "", false)); - } - e[Pf] = f; - } catch (t) { - W(a, a.return, t); - } - } - break; - case 6: - dk(b, a); - fk(a); - if (d & 4) { - if (null === a.stateNode) - throw Error(p(162)); - e = a.stateNode; - f = a.memoizedProps; - try { - e.nodeValue = f; - } catch (t) { - W(a, a.return, t); - } - } - break; - case 3: - dk(b, a); - fk(a); - if (d & 4 && null !== c && c.memoizedState.isDehydrated) - try { - bd(b.containerInfo); - } catch (t) { - W(a, a.return, t); - } - break; - case 4: - dk(b, a); - fk(a); - break; - case 13: - dk(b, a); - fk(a); - e = a.child; - e.flags & 8192 && (f = null !== e.memoizedState, e.stateNode.isHidden = f, !f || null !== e.alternate && null !== e.alternate.memoizedState || (gk = B())); - d & 4 && bk(a); - break; - case 22: - m = null !== c && null !== c.memoizedState; - a.mode & 1 ? (U = (l = U) || m, dk(b, a), U = l) : dk(b, a); - fk(a); - if (d & 8192) { - l = null !== a.memoizedState; - if ((a.stateNode.isHidden = l) && !m && 0 !== (a.mode & 1)) - for (V = a, m = a.child; null !== m; ) { - for (q = V = m; null !== V; ) { - r = V; - y = r.child; - switch (r.tag) { - case 0: - case 11: - case 14: - case 15: - Qj(4, r, r.return); - break; - case 1: - Mj(r, r.return); - var n = r.stateNode; - if ("function" === typeof n.componentWillUnmount) { - d = r; - c = r.return; - try { - b = d, n.props = b.memoizedProps, n.state = b.memoizedState, n.componentWillUnmount(); - } catch (t) { - W(d, c, t); - } - } - break; - case 5: - Mj(r, r.return); - break; - case 22: - if (null !== r.memoizedState) { - hk(q); - continue; - } - } - null !== y ? (y.return = r, V = y) : hk(q); - } - m = m.sibling; - } - a: - for (m = null, q = a; ; ) { - if (5 === q.tag) { - if (null === m) { - m = q; - try { - e = q.stateNode, l ? (f = e.style, "function" === typeof f.setProperty ? f.setProperty("display", "none", "important") : f.display = "none") : (h = q.stateNode, k = q.memoizedProps.style, g = void 0 !== k && null !== k && k.hasOwnProperty("display") ? k.display : null, h.style.display = rb("display", g)); - } catch (t) { - W(a, a.return, t); - } - } - } else if (6 === q.tag) { - if (null === m) - try { - q.stateNode.nodeValue = l ? "" : q.memoizedProps; - } catch (t) { - W(a, a.return, t); - } - } else if ((22 !== q.tag && 23 !== q.tag || null === q.memoizedState || q === a) && null !== q.child) { - q.child.return = q; - q = q.child; - continue; - } - if (q === a) - break a; - for (; null === q.sibling; ) { - if (null === q.return || q.return === a) - break a; - m === q && (m = null); - q = q.return; - } - m === q && (m = null); - q.sibling.return = q.return; - q = q.sibling; - } - } - break; - case 19: - dk(b, a); - fk(a); - d & 4 && bk(a); - break; - case 21: - break; - default: - dk( - b, - a - ), fk(a); - } - } - function fk(a) { - var b = a.flags; - if (b & 2) { - try { - a: { - for (var c = a.return; null !== c; ) { - if (Uj(c)) { - var d = c; - break a; - } - c = c.return; - } - throw Error(p(160)); - } - switch (d.tag) { - case 5: - var e = d.stateNode; - d.flags & 32 && (ob(e, ""), d.flags &= -33); - var f = Vj(a); - Xj(a, f, e); - break; - case 3: - case 4: - var g = d.stateNode.containerInfo, h = Vj(a); - Wj(a, h, g); - break; - default: - throw Error(p(161)); - } - } catch (k) { - W(a, a.return, k); - } - a.flags &= -3; - } - b & 4096 && (a.flags &= -4097); - } - function ik(a, b, c) { - V = a; - jk(a, b, c); - } - function jk(a, b, c) { - for (var d = 0 !== (a.mode & 1); null !== V; ) { - var e = V, f = e.child; - if (22 === e.tag && d) { - var g = null !== e.memoizedState || Kj; - if (!g) { - var h = e.alternate, k = null !== h && null !== h.memoizedState || U; - h = Kj; - var l = U; - Kj = g; - if ((U = k) && !l) - for (V = e; null !== V; ) - g = V, k = g.child, 22 === g.tag && null !== g.memoizedState ? kk(e) : null !== k ? (k.return = g, V = k) : kk(e); - for (; null !== f; ) - V = f, jk(f, b, c), f = f.sibling; - V = e; - Kj = h; - U = l; - } - lk(a, b, c); - } else - 0 !== (e.subtreeFlags & 8772) && null !== f ? (f.return = e, V = f) : lk(a, b, c); - } - } - function lk(a) { - for (; null !== V; ) { - var b = V; - if (0 !== (b.flags & 8772)) { - var c = b.alternate; - try { - if (0 !== (b.flags & 8772)) - switch (b.tag) { - case 0: - case 11: - case 15: - U || Rj(5, b); - break; - case 1: - var d = b.stateNode; - if (b.flags & 4 && !U) - if (null === c) - d.componentDidMount(); - else { - var e = b.elementType === b.type ? c.memoizedProps : Lg(b.type, c.memoizedProps); - d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate); - } - var f = b.updateQueue; - null !== f && ih(b, f, d); - break; - case 3: - var g = b.updateQueue; - if (null !== g) { - c = null; - if (null !== b.child) - switch (b.child.tag) { - case 5: - c = b.child.stateNode; - break; - case 1: - c = b.child.stateNode; - } - ih(b, g, c); - } - break; - case 5: - var h = b.stateNode; - if (null === c && b.flags & 4) { - c = h; - var k = b.memoizedProps; - switch (b.type) { - case "button": - case "input": - case "select": - case "textarea": - k.autoFocus && c.focus(); - break; - case "img": - k.src && (c.src = k.src); - } - } - break; - case 6: - break; - case 4: - break; - case 12: - break; - case 13: - if (null === b.memoizedState) { - var l = b.alternate; - if (null !== l) { - var m = l.memoizedState; - if (null !== m) { - var q = m.dehydrated; - null !== q && bd(q); - } - } - } - break; - case 19: - case 17: - case 21: - case 22: - case 23: - case 25: - break; - default: - throw Error(p(163)); - } - U || b.flags & 512 && Sj(b); - } catch (r) { - W(b, b.return, r); - } - } - if (b === a) { - V = null; - break; - } - c = b.sibling; - if (null !== c) { - c.return = b.return; - V = c; - break; - } - V = b.return; - } - } - function hk(a) { - for (; null !== V; ) { - var b = V; - if (b === a) { - V = null; - break; - } - var c = b.sibling; - if (null !== c) { - c.return = b.return; - V = c; - break; - } - V = b.return; - } - } - function kk(a) { - for (; null !== V; ) { - var b = V; - try { - switch (b.tag) { - case 0: - case 11: - case 15: - var c = b.return; - try { - Rj(4, b); - } catch (k) { - W(b, c, k); - } - break; - case 1: - var d = b.stateNode; - if ("function" === typeof d.componentDidMount) { - var e = b.return; - try { - d.componentDidMount(); - } catch (k) { - W(b, e, k); - } - } - var f = b.return; - try { - Sj(b); - } catch (k) { - W(b, f, k); - } - break; - case 5: - var g = b.return; - try { - Sj(b); - } catch (k) { - W(b, g, k); - } - } - } catch (k) { - W(b, b.return, k); - } - if (b === a) { - V = null; - break; - } - var h = b.sibling; - if (null !== h) { - h.return = b.return; - V = h; - break; - } - V = b.return; - } - } - var mk = Math.ceil; - var nk = ua.ReactCurrentDispatcher; - var ok = ua.ReactCurrentOwner; - var pk = ua.ReactCurrentBatchConfig; - var K = 0; - var R = null; - var Y = null; - var Z = 0; - var gj = 0; - var fj = Uf(0); - var T = 0; - var qk = null; - var hh = 0; - var rk = 0; - var sk = 0; - var tk = null; - var uk = null; - var gk = 0; - var Hj = Infinity; - var vk = null; - var Pi = false; - var Qi = null; - var Si = null; - var wk = false; - var xk = null; - var yk = 0; - var zk = 0; - var Ak = null; - var Bk = -1; - var Ck = 0; - function L() { - return 0 !== (K & 6) ? B() : -1 !== Bk ? Bk : Bk = B(); - } - function lh(a) { - if (0 === (a.mode & 1)) - return 1; - if (0 !== (K & 2) && 0 !== Z) - return Z & -Z; - if (null !== Kg.transition) - return 0 === Ck && (Ck = yc()), Ck; - a = C; - if (0 !== a) - return a; - a = window.event; - a = void 0 === a ? 16 : jd(a.type); - return a; - } - function mh(a, b, c, d) { - if (50 < zk) - throw zk = 0, Ak = null, Error(p(185)); - Ac(a, c, d); - if (0 === (K & 2) || a !== R) - a === R && (0 === (K & 2) && (rk |= c), 4 === T && Dk(a, Z)), Ek(a, d), 1 === c && 0 === K && 0 === (b.mode & 1) && (Hj = B() + 500, fg && jg()); - } - function Ek(a, b) { - var c = a.callbackNode; - wc(a, b); - var d = uc(a, a === R ? Z : 0); - if (0 === d) - null !== c && bc(c), a.callbackNode = null, a.callbackPriority = 0; - else if (b = d & -d, a.callbackPriority !== b) { - null != c && bc(c); - if (1 === b) - 0 === a.tag ? ig(Fk.bind(null, a)) : hg(Fk.bind(null, a)), Jf(function() { - 0 === (K & 6) && jg(); - }), c = null; - else { - switch (Dc(d)) { - case 1: - c = fc; - break; - case 4: - c = gc; - break; - case 16: - c = hc; - break; - case 536870912: - c = jc; - break; - default: - c = hc; - } - c = Gk(c, Hk.bind(null, a)); - } - a.callbackPriority = b; - a.callbackNode = c; - } - } - function Hk(a, b) { - Bk = -1; - Ck = 0; - if (0 !== (K & 6)) - throw Error(p(327)); - var c = a.callbackNode; - if (Ik() && a.callbackNode !== c) - return null; - var d = uc(a, a === R ? Z : 0); - if (0 === d) - return null; - if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b) - b = Jk(a, d); - else { - b = d; - var e = K; - K |= 2; - var f = Kk(); - if (R !== a || Z !== b) - vk = null, Hj = B() + 500, Lk(a, b); - do - try { - Mk(); - break; - } catch (h) { - Nk(a, h); - } - while (1); - Qg(); - nk.current = f; - K = e; - null !== Y ? b = 0 : (R = null, Z = 0, b = T); - } - if (0 !== b) { - 2 === b && (e = xc(a), 0 !== e && (d = e, b = Ok(a, e))); - if (1 === b) - throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c; - if (6 === b) - Dk(a, d); - else { - e = a.current.alternate; - if (0 === (d & 30) && !Pk(e) && (b = Jk(a, d), 2 === b && (f = xc(a), 0 !== f && (d = f, b = Ok(a, f))), 1 === b)) - throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c; - a.finishedWork = e; - a.finishedLanes = d; - switch (b) { - case 0: - case 1: - throw Error(p(345)); - case 2: - Qk(a, uk, vk); - break; - case 3: - Dk(a, d); - if ((d & 130023424) === d && (b = gk + 500 - B(), 10 < b)) { - if (0 !== uc(a, 0)) - break; - e = a.suspendedLanes; - if ((e & d) !== d) { - L(); - a.pingedLanes |= a.suspendedLanes & e; - break; - } - a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), b); - break; - } - Qk(a, uk, vk); - break; - case 4: - Dk(a, d); - if ((d & 4194240) === d) - break; - b = a.eventTimes; - for (e = -1; 0 < d; ) { - var g = 31 - oc(d); - f = 1 << g; - g = b[g]; - g > e && (e = g); - d &= ~f; - } - d = e; - d = B() - d; - d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * mk(d / 1960)) - d; - if (10 < d) { - a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), d); - break; - } - Qk(a, uk, vk); - break; - case 5: - Qk(a, uk, vk); - break; - default: - throw Error(p(329)); - } - } - } - Ek(a, B()); - return a.callbackNode === c ? Hk.bind(null, a) : null; - } - function Ok(a, b) { - var c = tk; - a.current.memoizedState.isDehydrated && (Lk(a, b).flags |= 256); - a = Jk(a, b); - 2 !== a && (b = uk, uk = c, null !== b && Gj(b)); - return a; - } - function Gj(a) { - null === uk ? uk = a : uk.push.apply(uk, a); - } - function Pk(a) { - for (var b = a; ; ) { - if (b.flags & 16384) { - var c = b.updateQueue; - if (null !== c && (c = c.stores, null !== c)) - for (var d = 0; d < c.length; d++) { - var e = c[d], f = e.getSnapshot; - e = e.value; - try { - if (!He(f(), e)) - return false; - } catch (g) { - return false; - } - } - } - c = b.child; - if (b.subtreeFlags & 16384 && null !== c) - c.return = b, b = c; - else { - if (b === a) - break; - for (; null === b.sibling; ) { - if (null === b.return || b.return === a) - return true; - b = b.return; - } - b.sibling.return = b.return; - b = b.sibling; - } - } - return true; - } - function Dk(a, b) { - b &= ~sk; - b &= ~rk; - a.suspendedLanes |= b; - a.pingedLanes &= ~b; - for (a = a.expirationTimes; 0 < b; ) { - var c = 31 - oc(b), d = 1 << c; - a[c] = -1; - b &= ~d; - } - } - function Fk(a) { - if (0 !== (K & 6)) - throw Error(p(327)); - Ik(); - var b = uc(a, 0); - if (0 === (b & 1)) - return Ek(a, B()), null; - var c = Jk(a, b); - if (0 !== a.tag && 2 === c) { - var d = xc(a); - 0 !== d && (b = d, c = Ok(a, d)); - } - if (1 === c) - throw c = qk, Lk(a, 0), Dk(a, b), Ek(a, B()), c; - if (6 === c) - throw Error(p(345)); - a.finishedWork = a.current.alternate; - a.finishedLanes = b; - Qk(a, uk, vk); - Ek(a, B()); - return null; - } - function Rk(a, b) { - var c = K; - K |= 1; - try { - return a(b); - } finally { - K = c, 0 === K && (Hj = B() + 500, fg && jg()); - } - } - function Sk(a) { - null !== xk && 0 === xk.tag && 0 === (K & 6) && Ik(); - var b = K; - K |= 1; - var c = pk.transition, d = C; - try { - if (pk.transition = null, C = 1, a) - return a(); - } finally { - C = d, pk.transition = c, K = b, 0 === (K & 6) && jg(); - } - } - function Ij() { - gj = fj.current; - E(fj); - } - function Lk(a, b) { - a.finishedWork = null; - a.finishedLanes = 0; - var c = a.timeoutHandle; - -1 !== c && (a.timeoutHandle = -1, Gf(c)); - if (null !== Y) - for (c = Y.return; null !== c; ) { - var d = c; - wg(d); - switch (d.tag) { - case 1: - d = d.type.childContextTypes; - null !== d && void 0 !== d && $f(); - break; - case 3: - Jh(); - E(Wf); - E(H); - Oh(); - break; - case 5: - Lh(d); - break; - case 4: - Jh(); - break; - case 13: - E(M); - break; - case 19: - E(M); - break; - case 10: - Rg(d.type._context); - break; - case 22: - case 23: - Ij(); - } - c = c.return; - } - R = a; - Y = a = wh(a.current, null); - Z = gj = b; - T = 0; - qk = null; - sk = rk = hh = 0; - uk = tk = null; - if (null !== Wg) { - for (b = 0; b < Wg.length; b++) - if (c = Wg[b], d = c.interleaved, null !== d) { - c.interleaved = null; - var e = d.next, f = c.pending; - if (null !== f) { - var g = f.next; - f.next = e; - d.next = g; - } - c.pending = d; - } - Wg = null; - } - return a; - } - function Nk(a, b) { - do { - var c = Y; - try { - Qg(); - Ph.current = ai; - if (Sh) { - for (var d = N.memoizedState; null !== d; ) { - var e = d.queue; - null !== e && (e.pending = null); - d = d.next; - } - Sh = false; - } - Rh = 0; - P = O = N = null; - Th = false; - Uh = 0; - ok.current = null; - if (null === c || null === c.return) { - T = 1; - qk = b; - Y = null; - break; - } - a: { - var f = a, g = c.return, h = c, k = b; - b = Z; - h.flags |= 32768; - if (null !== k && "object" === typeof k && "function" === typeof k.then) { - var l = k, m = h, q = m.tag; - if (0 === (m.mode & 1) && (0 === q || 11 === q || 15 === q)) { - var r = m.alternate; - r ? (m.updateQueue = r.updateQueue, m.memoizedState = r.memoizedState, m.lanes = r.lanes) : (m.updateQueue = null, m.memoizedState = null); - } - var y = Vi(g); - if (null !== y) { - y.flags &= -257; - Wi(y, g, h, f, b); - y.mode & 1 && Ti(f, l, b); - b = y; - k = l; - var n = b.updateQueue; - if (null === n) { - var t = /* @__PURE__ */ new Set(); - t.add(k); - b.updateQueue = t; - } else - n.add(k); - break a; - } else { - if (0 === (b & 1)) { - Ti(f, l, b); - uj(); - break a; - } - k = Error(p(426)); - } - } else if (I && h.mode & 1) { - var J = Vi(g); - if (null !== J) { - 0 === (J.flags & 65536) && (J.flags |= 256); - Wi(J, g, h, f, b); - Jg(Ki(k, h)); - break a; - } - } - f = k = Ki(k, h); - 4 !== T && (T = 2); - null === tk ? tk = [f] : tk.push(f); - f = g; - do { - switch (f.tag) { - case 3: - f.flags |= 65536; - b &= -b; - f.lanes |= b; - var x = Oi(f, k, b); - fh(f, x); - break a; - case 1: - h = k; - var w = f.type, u = f.stateNode; - if (0 === (f.flags & 128) && ("function" === typeof w.getDerivedStateFromError || null !== u && "function" === typeof u.componentDidCatch && (null === Si || !Si.has(u)))) { - f.flags |= 65536; - b &= -b; - f.lanes |= b; - var F = Ri(f, h, b); - fh(f, F); - break a; - } - } - f = f.return; - } while (null !== f); - } - Tk(c); - } catch (na) { - b = na; - Y === c && null !== c && (Y = c = c.return); - continue; - } - break; - } while (1); - } - function Kk() { - var a = nk.current; - nk.current = ai; - return null === a ? ai : a; - } - function uj() { - if (0 === T || 3 === T || 2 === T) - T = 4; - null === R || 0 === (hh & 268435455) && 0 === (rk & 268435455) || Dk(R, Z); - } - function Jk(a, b) { - var c = K; - K |= 2; - var d = Kk(); - if (R !== a || Z !== b) - vk = null, Lk(a, b); - do - try { - Uk(); - break; - } catch (e) { - Nk(a, e); - } - while (1); - Qg(); - K = c; - nk.current = d; - if (null !== Y) - throw Error(p(261)); - R = null; - Z = 0; - return T; - } - function Uk() { - for (; null !== Y; ) - Vk(Y); - } - function Mk() { - for (; null !== Y && !cc(); ) - Vk(Y); - } - function Vk(a) { - var b = Wk(a.alternate, a, gj); - a.memoizedProps = a.pendingProps; - null === b ? Tk(a) : Y = b; - ok.current = null; - } - function Tk(a) { - var b = a; - do { - var c = b.alternate; - a = b.return; - if (0 === (b.flags & 32768)) { - if (c = Fj(c, b, gj), null !== c) { - Y = c; - return; - } - } else { - c = Jj(c, b); - if (null !== c) { - c.flags &= 32767; - Y = c; - return; - } - if (null !== a) - a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null; - else { - T = 6; - Y = null; - return; - } - } - b = b.sibling; - if (null !== b) { - Y = b; - return; - } - Y = b = a; - } while (null !== b); - 0 === T && (T = 5); - } - function Qk(a, b, c) { - var d = C, e = pk.transition; - try { - pk.transition = null, C = 1, Xk(a, b, c, d); - } finally { - pk.transition = e, C = d; - } - return null; - } - function Xk(a, b, c, d) { - do - Ik(); - while (null !== xk); - if (0 !== (K & 6)) - throw Error(p(327)); - c = a.finishedWork; - var e = a.finishedLanes; - if (null === c) - return null; - a.finishedWork = null; - a.finishedLanes = 0; - if (c === a.current) - throw Error(p(177)); - a.callbackNode = null; - a.callbackPriority = 0; - var f = c.lanes | c.childLanes; - Bc(a, f); - a === R && (Y = R = null, Z = 0); - 0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064) || wk || (wk = true, Gk(hc, function() { - Ik(); - return null; - })); - f = 0 !== (c.flags & 15990); - if (0 !== (c.subtreeFlags & 15990) || f) { - f = pk.transition; - pk.transition = null; - var g = C; - C = 1; - var h = K; - K |= 4; - ok.current = null; - Pj(a, c); - ek(c, a); - Oe(Df); - dd = !!Cf; - Df = Cf = null; - a.current = c; - ik(c, a, e); - dc(); - K = h; - C = g; - pk.transition = f; - } else - a.current = c; - wk && (wk = false, xk = a, yk = e); - f = a.pendingLanes; - 0 === f && (Si = null); - mc(c.stateNode, d); - Ek(a, B()); - if (null !== b) - for (d = a.onRecoverableError, c = 0; c < b.length; c++) - e = b[c], d(e.value, { componentStack: e.stack, digest: e.digest }); - if (Pi) - throw Pi = false, a = Qi, Qi = null, a; - 0 !== (yk & 1) && 0 !== a.tag && Ik(); - f = a.pendingLanes; - 0 !== (f & 1) ? a === Ak ? zk++ : (zk = 0, Ak = a) : zk = 0; - jg(); - return null; - } - function Ik() { - if (null !== xk) { - var a = Dc(yk), b = pk.transition, c = C; - try { - pk.transition = null; - C = 16 > a ? 16 : a; - if (null === xk) - var d = false; - else { - a = xk; - xk = null; - yk = 0; - if (0 !== (K & 6)) - throw Error(p(331)); - var e = K; - K |= 4; - for (V = a.current; null !== V; ) { - var f = V, g = f.child; - if (0 !== (V.flags & 16)) { - var h = f.deletions; - if (null !== h) { - for (var k = 0; k < h.length; k++) { - var l = h[k]; - for (V = l; null !== V; ) { - var m = V; - switch (m.tag) { - case 0: - case 11: - case 15: - Qj(8, m, f); - } - var q = m.child; - if (null !== q) - q.return = m, V = q; - else - for (; null !== V; ) { - m = V; - var r = m.sibling, y = m.return; - Tj(m); - if (m === l) { - V = null; - break; - } - if (null !== r) { - r.return = y; - V = r; - break; - } - V = y; - } - } - } - var n = f.alternate; - if (null !== n) { - var t = n.child; - if (null !== t) { - n.child = null; - do { - var J = t.sibling; - t.sibling = null; - t = J; - } while (null !== t); - } - } - V = f; - } - } - if (0 !== (f.subtreeFlags & 2064) && null !== g) - g.return = f, V = g; - else - b: - for (; null !== V; ) { - f = V; - if (0 !== (f.flags & 2048)) - switch (f.tag) { - case 0: - case 11: - case 15: - Qj(9, f, f.return); - } - var x = f.sibling; - if (null !== x) { - x.return = f.return; - V = x; - break b; - } - V = f.return; - } - } - var w = a.current; - for (V = w; null !== V; ) { - g = V; - var u = g.child; - if (0 !== (g.subtreeFlags & 2064) && null !== u) - u.return = g, V = u; - else - b: - for (g = w; null !== V; ) { - h = V; - if (0 !== (h.flags & 2048)) - try { - switch (h.tag) { - case 0: - case 11: - case 15: - Rj(9, h); - } - } catch (na) { - W(h, h.return, na); - } - if (h === g) { - V = null; - break b; - } - var F = h.sibling; - if (null !== F) { - F.return = h.return; - V = F; - break b; - } - V = h.return; - } - } - K = e; - jg(); - if (lc && "function" === typeof lc.onPostCommitFiberRoot) - try { - lc.onPostCommitFiberRoot(kc, a); - } catch (na) { - } - d = true; - } - return d; - } finally { - C = c, pk.transition = b; - } - } - return false; - } - function Yk(a, b, c) { - b = Ki(c, b); - b = Oi(a, b, 1); - a = dh(a, b, 1); - b = L(); - null !== a && (Ac(a, 1, b), Ek(a, b)); - } - function W(a, b, c) { - if (3 === a.tag) - Yk(a, a, c); - else - for (; null !== b; ) { - if (3 === b.tag) { - Yk(b, a, c); - break; - } else if (1 === b.tag) { - var d = b.stateNode; - if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Si || !Si.has(d))) { - a = Ki(c, a); - a = Ri(b, a, 1); - b = dh(b, a, 1); - a = L(); - null !== b && (Ac(b, 1, a), Ek(b, a)); - break; - } - } - b = b.return; - } - } - function Ui(a, b, c) { - var d = a.pingCache; - null !== d && d.delete(b); - b = L(); - a.pingedLanes |= a.suspendedLanes & c; - R === a && (Z & c) === c && (4 === T || 3 === T && (Z & 130023424) === Z && 500 > B() - gk ? Lk(a, 0) : sk |= c); - Ek(a, b); - } - function Zk(a, b) { - 0 === b && (0 === (a.mode & 1) ? b = 1 : (b = sc, sc <<= 1, 0 === (sc & 130023424) && (sc = 4194304))); - var c = L(); - a = Zg(a, b); - null !== a && (Ac(a, b, c), Ek(a, c)); - } - function vj(a) { - var b = a.memoizedState, c = 0; - null !== b && (c = b.retryLane); - Zk(a, c); - } - function ck(a, b) { - var c = 0; - switch (a.tag) { - case 13: - var d = a.stateNode; - var e = a.memoizedState; - null !== e && (c = e.retryLane); - break; - case 19: - d = a.stateNode; - break; - default: - throw Error(p(314)); - } - null !== d && d.delete(b); - Zk(a, c); - } - var Wk; - Wk = function(a, b, c) { - if (null !== a) - if (a.memoizedProps !== b.pendingProps || Wf.current) - Ug = true; - else { - if (0 === (a.lanes & c) && 0 === (b.flags & 128)) - return Ug = false, zj(a, b, c); - Ug = 0 !== (a.flags & 131072) ? true : false; - } - else - Ug = false, I && 0 !== (b.flags & 1048576) && ug(b, ng, b.index); - b.lanes = 0; - switch (b.tag) { - case 2: - var d = b.type; - jj(a, b); - a = b.pendingProps; - var e = Yf(b, H.current); - Tg(b, c); - e = Xh(null, b, d, a, e, c); - var f = bi(); - b.flags |= 1; - "object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, Zf(d) ? (f = true, cg(b)) : f = false, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, ah(b), e.updater = nh, b.stateNode = e, e._reactInternals = b, rh(b, d, a, c), b = kj(null, b, d, true, f, c)) : (b.tag = 0, I && f && vg(b), Yi(null, b, e, c), b = b.child); - return b; - case 16: - d = b.elementType; - a: { - jj(a, b); - a = b.pendingProps; - e = d._init; - d = e(d._payload); - b.type = d; - e = b.tag = $k(d); - a = Lg(d, a); - switch (e) { - case 0: - b = dj(null, b, d, a, c); - break a; - case 1: - b = ij(null, b, d, a, c); - break a; - case 11: - b = Zi(null, b, d, a, c); - break a; - case 14: - b = aj(null, b, d, Lg(d.type, a), c); - break a; - } - throw Error(p( - 306, - d, - "" - )); - } - return b; - case 0: - return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), dj(a, b, d, e, c); - case 1: - return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), ij(a, b, d, e, c); - case 3: - a: { - lj(b); - if (null === a) - throw Error(p(387)); - d = b.pendingProps; - f = b.memoizedState; - e = f.element; - bh(a, b); - gh(b, d, null, c); - var g = b.memoizedState; - d = g.element; - if (f.isDehydrated) - if (f = { element: d, isDehydrated: false, cache: g.cache, pendingSuspenseBoundaries: g.pendingSuspenseBoundaries, transitions: g.transitions }, b.updateQueue.baseState = f, b.memoizedState = f, b.flags & 256) { - e = Ki(Error(p(423)), b); - b = mj(a, b, d, c, e); - break a; - } else if (d !== e) { - e = Ki(Error(p(424)), b); - b = mj(a, b, d, c, e); - break a; - } else - for (yg = Lf(b.stateNode.containerInfo.firstChild), xg = b, I = true, zg = null, c = Ch(b, null, d, c), b.child = c; c; ) - c.flags = c.flags & -3 | 4096, c = c.sibling; - else { - Ig(); - if (d === e) { - b = $i(a, b, c); - break a; - } - Yi(a, b, d, c); - } - b = b.child; - } - return b; - case 5: - return Kh(b), null === a && Eg(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Ef(d, e) ? g = null : null !== f && Ef(d, f) && (b.flags |= 32), hj(a, b), Yi(a, b, g, c), b.child; - case 6: - return null === a && Eg(b), null; - case 13: - return pj(a, b, c); - case 4: - return Ih(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Bh(b, null, d, c) : Yi(a, b, d, c), b.child; - case 11: - return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), Zi(a, b, d, e, c); - case 7: - return Yi(a, b, b.pendingProps, c), b.child; - case 8: - return Yi(a, b, b.pendingProps.children, c), b.child; - case 12: - return Yi(a, b, b.pendingProps.children, c), b.child; - case 10: - a: { - d = b.type._context; - e = b.pendingProps; - f = b.memoizedProps; - g = e.value; - G(Mg, d._currentValue); - d._currentValue = g; - if (null !== f) - if (He(f.value, g)) { - if (f.children === e.children && !Wf.current) { - b = $i(a, b, c); - break a; - } - } else - for (f = b.child, null !== f && (f.return = b); null !== f; ) { - var h = f.dependencies; - if (null !== h) { - g = f.child; - for (var k = h.firstContext; null !== k; ) { - if (k.context === d) { - if (1 === f.tag) { - k = ch(-1, c & -c); - k.tag = 2; - var l = f.updateQueue; - if (null !== l) { - l = l.shared; - var m = l.pending; - null === m ? k.next = k : (k.next = m.next, m.next = k); - l.pending = k; - } - } - f.lanes |= c; - k = f.alternate; - null !== k && (k.lanes |= c); - Sg( - f.return, - c, - b - ); - h.lanes |= c; - break; - } - k = k.next; - } - } else if (10 === f.tag) - g = f.type === b.type ? null : f.child; - else if (18 === f.tag) { - g = f.return; - if (null === g) - throw Error(p(341)); - g.lanes |= c; - h = g.alternate; - null !== h && (h.lanes |= c); - Sg(g, c, b); - g = f.sibling; - } else - g = f.child; - if (null !== g) - g.return = f; - else - for (g = f; null !== g; ) { - if (g === b) { - g = null; - break; - } - f = g.sibling; - if (null !== f) { - f.return = g.return; - g = f; - break; - } - g = g.return; - } - f = g; - } - Yi(a, b, e.children, c); - b = b.child; - } - return b; - case 9: - return e = b.type, d = b.pendingProps.children, Tg(b, c), e = Vg(e), d = d(e), b.flags |= 1, Yi(a, b, d, c), b.child; - case 14: - return d = b.type, e = Lg(d, b.pendingProps), e = Lg(d.type, e), aj(a, b, d, e, c); - case 15: - return cj(a, b, b.type, b.pendingProps, c); - case 17: - return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), jj(a, b), b.tag = 1, Zf(d) ? (a = true, cg(b)) : a = false, Tg(b, c), ph(b, d, e), rh(b, d, e, c), kj(null, b, d, true, a, c); - case 19: - return yj(a, b, c); - case 22: - return ej(a, b, c); - } - throw Error(p(156, b.tag)); - }; - function Gk(a, b) { - return ac(a, b); - } - function al(a, b, c, d) { - this.tag = a; - this.key = c; - this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null; - this.index = 0; - this.ref = null; - this.pendingProps = b; - this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null; - this.mode = d; - this.subtreeFlags = this.flags = 0; - this.deletions = null; - this.childLanes = this.lanes = 0; - this.alternate = null; - } - function Bg(a, b, c, d) { - return new al(a, b, c, d); - } - function bj(a) { - a = a.prototype; - return !(!a || !a.isReactComponent); - } - function $k(a) { - if ("function" === typeof a) - return bj(a) ? 1 : 0; - if (void 0 !== a && null !== a) { - a = a.$$typeof; - if (a === Da) - return 11; - if (a === Ga) - return 14; - } - return 2; - } - function wh(a, b) { - var c = a.alternate; - null === c ? (c = Bg(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null); - c.flags = a.flags & 14680064; - c.childLanes = a.childLanes; - c.lanes = a.lanes; - c.child = a.child; - c.memoizedProps = a.memoizedProps; - c.memoizedState = a.memoizedState; - c.updateQueue = a.updateQueue; - b = a.dependencies; - c.dependencies = null === b ? null : { lanes: b.lanes, firstContext: b.firstContext }; - c.sibling = a.sibling; - c.index = a.index; - c.ref = a.ref; - return c; - } - function yh(a, b, c, d, e, f) { - var g = 2; - d = a; - if ("function" === typeof a) - bj(a) && (g = 1); - else if ("string" === typeof a) - g = 5; - else - a: - switch (a) { - case ya: - return Ah(c.children, e, f, b); - case za: - g = 8; - e |= 8; - break; - case Aa: - return a = Bg(12, c, b, e | 2), a.elementType = Aa, a.lanes = f, a; - case Ea: - return a = Bg(13, c, b, e), a.elementType = Ea, a.lanes = f, a; - case Fa: - return a = Bg(19, c, b, e), a.elementType = Fa, a.lanes = f, a; - case Ia: - return qj(c, e, f, b); - default: - if ("object" === typeof a && null !== a) - switch (a.$$typeof) { - case Ba: - g = 10; - break a; - case Ca: - g = 9; - break a; - case Da: - g = 11; - break a; - case Ga: - g = 14; - break a; - case Ha: - g = 16; - d = null; - break a; - } - throw Error(p(130, null == a ? a : typeof a, "")); - } - b = Bg(g, c, b, e); - b.elementType = a; - b.type = d; - b.lanes = f; - return b; - } - function Ah(a, b, c, d) { - a = Bg(7, a, d, b); - a.lanes = c; - return a; - } - function qj(a, b, c, d) { - a = Bg(22, a, d, b); - a.elementType = Ia; - a.lanes = c; - a.stateNode = { isHidden: false }; - return a; - } - function xh(a, b, c) { - a = Bg(6, a, null, b); - a.lanes = c; - return a; - } - function zh(a, b, c) { - b = Bg(4, null !== a.children ? a.children : [], a.key, b); - b.lanes = c; - b.stateNode = { containerInfo: a.containerInfo, pendingChildren: null, implementation: a.implementation }; - return b; - } - function bl(a, b, c, d, e) { - this.tag = b; - this.containerInfo = a; - this.finishedWork = this.pingCache = this.current = this.pendingChildren = null; - this.timeoutHandle = -1; - this.callbackNode = this.pendingContext = this.context = null; - this.callbackPriority = 0; - this.eventTimes = zc(0); - this.expirationTimes = zc(-1); - this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0; - this.entanglements = zc(0); - this.identifierPrefix = d; - this.onRecoverableError = e; - this.mutableSourceEagerHydrationData = null; - } - function cl(a, b, c, d, e, f, g, h, k) { - a = new bl(a, b, c, h, k); - 1 === b ? (b = 1, true === f && (b |= 8)) : b = 0; - f = Bg(3, null, null, b); - a.current = f; - f.stateNode = a; - f.memoizedState = { element: d, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null }; - ah(f); - return a; - } - function dl(a, b, c) { - var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; - return { $$typeof: wa, key: null == d ? null : "" + d, children: a, containerInfo: b, implementation: c }; - } - function el(a) { - if (!a) - return Vf; - a = a._reactInternals; - a: { - if (Vb(a) !== a || 1 !== a.tag) - throw Error(p(170)); - var b = a; - do { - switch (b.tag) { - case 3: - b = b.stateNode.context; - break a; - case 1: - if (Zf(b.type)) { - b = b.stateNode.__reactInternalMemoizedMergedChildContext; - break a; - } - } - b = b.return; - } while (null !== b); - throw Error(p(171)); - } - if (1 === a.tag) { - var c = a.type; - if (Zf(c)) - return bg(a, c, b); - } - return b; - } - function fl(a, b, c, d, e, f, g, h, k) { - a = cl(c, d, true, a, e, f, g, h, k); - a.context = el(null); - c = a.current; - d = L(); - e = lh(c); - f = ch(d, e); - f.callback = void 0 !== b && null !== b ? b : null; - dh(c, f, e); - a.current.lanes = e; - Ac(a, e, d); - Ek(a, d); - return a; - } - function gl(a, b, c, d) { - var e = b.current, f = L(), g = lh(e); - c = el(c); - null === b.context ? b.context = c : b.pendingContext = c; - b = ch(f, g); - b.payload = { element: a }; - d = void 0 === d ? null : d; - null !== d && (b.callback = d); - a = dh(e, b, g); - null !== a && (mh(a, e, g, f), eh(a, e, g)); - return g; - } - function hl(a) { - a = a.current; - if (!a.child) - return null; - switch (a.child.tag) { - case 5: - return a.child.stateNode; - default: - return a.child.stateNode; - } - } - function il(a, b) { - a = a.memoizedState; - if (null !== a && null !== a.dehydrated) { - var c = a.retryLane; - a.retryLane = 0 !== c && c < b ? c : b; - } - } - function jl(a, b) { - il(a, b); - (a = a.alternate) && il(a, b); - } - function kl() { - return null; - } - var ll = "function" === typeof reportError ? reportError : function(a) { - console.error(a); - }; - function ml(a) { - this._internalRoot = a; - } - nl.prototype.render = ml.prototype.render = function(a) { - var b = this._internalRoot; - if (null === b) - throw Error(p(409)); - gl(a, b, null, null); - }; - nl.prototype.unmount = ml.prototype.unmount = function() { - var a = this._internalRoot; - if (null !== a) { - this._internalRoot = null; - var b = a.containerInfo; - Sk(function() { - gl(null, a, null, null); - }); - b[uf] = null; - } - }; - function nl(a) { - this._internalRoot = a; - } - nl.prototype.unstable_scheduleHydration = function(a) { - if (a) { - var b = Hc(); - a = { blockedOn: null, target: a, priority: b }; - for (var c = 0; c < Qc.length && 0 !== b && b < Qc[c].priority; c++) - ; - Qc.splice(c, 0, a); - 0 === c && Vc(a); - } - }; - function ol(a) { - return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType); - } - function pl(a) { - return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue)); - } - function ql() { - } - function rl(a, b, c, d, e) { - if (e) { - if ("function" === typeof d) { - var f = d; - d = function() { - var a2 = hl(g); - f.call(a2); - }; - } - var g = fl(b, d, a, 0, null, false, false, "", ql); - a._reactRootContainer = g; - a[uf] = g.current; - sf(8 === a.nodeType ? a.parentNode : a); - Sk(); - return g; - } - for (; e = a.lastChild; ) - a.removeChild(e); - if ("function" === typeof d) { - var h = d; - d = function() { - var a2 = hl(k); - h.call(a2); - }; - } - var k = cl(a, 0, false, null, null, false, false, "", ql); - a._reactRootContainer = k; - a[uf] = k.current; - sf(8 === a.nodeType ? a.parentNode : a); - Sk(function() { - gl(b, k, c, d); - }); - return k; - } - function sl(a, b, c, d, e) { - var f = c._reactRootContainer; - if (f) { - var g = f; - if ("function" === typeof e) { - var h = e; - e = function() { - var a2 = hl(g); - h.call(a2); - }; - } - gl(b, g, a, e); - } else - g = rl(c, b, a, e, d); - return hl(g); - } - Ec = function(a) { - switch (a.tag) { - case 3: - var b = a.stateNode; - if (b.current.memoizedState.isDehydrated) { - var c = tc(b.pendingLanes); - 0 !== c && (Cc(b, c | 1), Ek(b, B()), 0 === (K & 6) && (Hj = B() + 500, jg())); - } - break; - case 13: - Sk(function() { - var b2 = Zg(a, 1); - if (null !== b2) { - var c2 = L(); - mh(b2, a, 1, c2); - } - }), jl(a, 1); - } - }; - Fc = function(a) { - if (13 === a.tag) { - var b = Zg(a, 134217728); - if (null !== b) { - var c = L(); - mh(b, a, 134217728, c); - } - jl(a, 134217728); - } - }; - Gc = function(a) { - if (13 === a.tag) { - var b = lh(a), c = Zg(a, b); - if (null !== c) { - var d = L(); - mh(c, a, b, d); - } - jl(a, b); - } - }; - Hc = function() { - return C; - }; - Ic = function(a, b) { - var c = C; - try { - return C = a, b(); - } finally { - C = c; - } - }; - yb = function(a, b, c) { - switch (b) { - case "input": - bb(a, c); - b = c.name; - if ("radio" === c.type && null != b) { - for (c = a; c.parentNode; ) - c = c.parentNode; - c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]'); - for (b = 0; b < c.length; b++) { - var d = c[b]; - if (d !== a && d.form === a.form) { - var e = Db(d); - if (!e) - throw Error(p(90)); - Wa(d); - bb(d, e); - } - } - } - break; - case "textarea": - ib(a, c); - break; - case "select": - b = c.value, null != b && fb(a, !!c.multiple, b, false); - } - }; - Gb = Rk; - Hb = Sk; - var tl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Rk] }; - var ul = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }; - var vl = { bundleType: ul.bundleType, version: ul.version, rendererPackageName: ul.rendererPackageName, rendererConfig: ul.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) { - a = Zb(a); - return null === a ? null : a.stateNode; - }, findFiberByHostInstance: ul.findFiberByHostInstance || kl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" }; - if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - wl = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (!wl.isDisabled && wl.supportsFiber) - try { - kc = wl.inject(vl), lc = wl; - } catch (a) { - } - } - var wl; - exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl; - exports.createPortal = function(a, b) { - var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; - if (!ol(b)) - throw Error(p(200)); - return dl(a, b, null, c); - }; - exports.createRoot = function(a, b) { - if (!ol(a)) - throw Error(p(299)); - var c = false, d = "", e = ll; - null !== b && void 0 !== b && (true === b.unstable_strictMode && (c = true), void 0 !== b.identifierPrefix && (d = b.identifierPrefix), void 0 !== b.onRecoverableError && (e = b.onRecoverableError)); - b = cl(a, 1, false, null, null, c, false, d, e); - a[uf] = b.current; - sf(8 === a.nodeType ? a.parentNode : a); - return new ml(b); - }; - exports.findDOMNode = function(a) { - if (null == a) - return null; - if (1 === a.nodeType) - return a; - var b = a._reactInternals; - if (void 0 === b) { - if ("function" === typeof a.render) - throw Error(p(188)); - a = Object.keys(a).join(","); - throw Error(p(268, a)); - } - a = Zb(b); - a = null === a ? null : a.stateNode; - return a; - }; - exports.flushSync = function(a) { - return Sk(a); - }; - exports.hydrate = function(a, b, c) { - if (!pl(b)) - throw Error(p(200)); - return sl(null, a, b, true, c); - }; - exports.hydrateRoot = function(a, b, c) { - if (!ol(a)) - throw Error(p(405)); - var d = null != c && c.hydratedSources || null, e = false, f = "", g = ll; - null !== c && void 0 !== c && (true === c.unstable_strictMode && (e = true), void 0 !== c.identifierPrefix && (f = c.identifierPrefix), void 0 !== c.onRecoverableError && (g = c.onRecoverableError)); - b = fl(b, null, a, 1, null != c ? c : null, e, false, f, g); - a[uf] = b.current; - sf(a); - if (d) - for (a = 0; a < d.length; a++) - c = d[a], e = c._getVersion, e = e(c._source), null == b.mutableSourceEagerHydrationData ? b.mutableSourceEagerHydrationData = [c, e] : b.mutableSourceEagerHydrationData.push( - c, - e - ); - return new nl(b); - }; - exports.render = function(a, b, c) { - if (!pl(b)) - throw Error(p(200)); - return sl(null, a, b, false, c); - }; - exports.unmountComponentAtNode = function(a) { - if (!pl(a)) - throw Error(p(40)); - return a._reactRootContainer ? (Sk(function() { - sl(null, null, a, false, function() { - a._reactRootContainer = null; - a[uf] = null; - }); - }), true) : false; - }; - exports.unstable_batchedUpdates = Rk; - exports.unstable_renderSubtreeIntoContainer = function(a, b, c, d) { - if (!pl(c)) - throw Error(p(200)); - if (null == a || void 0 === a._reactInternals) - throw Error(p(38)); - return sl(a, b, c, false, d); - }; - exports.version = "18.2.0-next-9e3b772b8-20220608"; - } -}); - -// node_modules/react-dom/cjs/react-dom.development.js -var require_react_dom_development = __commonJS({ - "node_modules/react-dom/cjs/react-dom.development.js"(exports) { - "use strict"; - init_cjs_shim(); - if (process.env.NODE_ENV !== "production") { - (function() { - "use strict"; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - } - var React2 = require_react(); - var Scheduler = require_scheduler(); - var ReactSharedInternals = React2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - var suppressWarning = false; - function setSuppressWarning(newSuppressWarning) { - { - suppressWarning = newSuppressWarning; - } - } - function warn(format) { - { - if (!suppressWarning) { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - printWarning("warn", format, args); - } - } - } - function error(format) { - { - if (!suppressWarning) { - for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - printWarning("error", format, args); - } - } - } - function printWarning(level, format, args) { - { - var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame; - var stack = ReactDebugCurrentFrame2.getStackAddendum(); - if (stack !== "") { - format += "%s"; - args = args.concat([stack]); - } - var argsWithFormat = args.map(function(item) { - return String(item); - }); - argsWithFormat.unshift("Warning: " + format); - Function.prototype.apply.call(console[level], console, argsWithFormat); - } - } - var FunctionComponent = 0; - var ClassComponent = 1; - var IndeterminateComponent = 2; - var HostRoot = 3; - var HostPortal = 4; - var HostComponent = 5; - var HostText = 6; - var Fragment = 7; - var Mode = 8; - var ContextConsumer = 9; - var ContextProvider = 10; - var ForwardRef = 11; - var Profiler = 12; - var SuspenseComponent = 13; - var MemoComponent = 14; - var SimpleMemoComponent = 15; - var LazyComponent = 16; - var IncompleteClassComponent = 17; - var DehydratedFragment = 18; - var SuspenseListComponent = 19; - var ScopeComponent = 21; - var OffscreenComponent = 22; - var LegacyHiddenComponent = 23; - var CacheComponent = 24; - var TracingMarkerComponent = 25; - var enableClientRenderFallbackOnTextMismatch = true; - var enableNewReconciler = false; - var enableLazyContextPropagation = false; - var enableLegacyHidden = false; - var enableSuspenseAvoidThisFallback = false; - var disableCommentsAsDOMContainers = true; - var enableCustomElementPropertySupport = false; - var warnAboutStringRefs = false; - var enableSchedulingProfiler = true; - var enableProfilerTimer = true; - var enableProfilerCommitHooks = true; - var allNativeEvents = /* @__PURE__ */ new Set(); - var registrationNameDependencies = {}; - var possibleRegistrationNames = {}; - function registerTwoPhaseEvent(registrationName, dependencies) { - registerDirectEvent(registrationName, dependencies); - registerDirectEvent(registrationName + "Capture", dependencies); - } - function registerDirectEvent(registrationName, dependencies) { - { - if (registrationNameDependencies[registrationName]) { - error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", registrationName); - } - } - registrationNameDependencies[registrationName] = dependencies; - { - var lowerCasedName = registrationName.toLowerCase(); - possibleRegistrationNames[lowerCasedName] = registrationName; - if (registrationName === "onDoubleClick") { - possibleRegistrationNames.ondblclick = registrationName; - } - } - for (var i = 0; i < dependencies.length; i++) { - allNativeEvents.add(dependencies[i]); - } - } - var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined"); - var hasOwnProperty = Object.prototype.hasOwnProperty; - function typeName(value) { - { - var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag; - var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - return type; - } - } - function willCoercionThrow(value) { - { - try { - testStringCoercion(value); - return false; - } catch (e) { - return true; - } - } - } - function testStringCoercion(value) { - return "" + value; - } - function checkAttributeStringCoercion(value, attributeName) { - { - if (willCoercionThrow(value)) { - error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", attributeName, typeName(value)); - return testStringCoercion(value); - } - } - } - function checkKeyStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); - } - } - } - function checkPropStringCoercion(value, propName) { - { - if (willCoercionThrow(value)) { - error("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value)); - return testStringCoercion(value); - } - } - } - function checkCSSPropertyStringCoercion(value, propName) { - { - if (willCoercionThrow(value)) { - error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value)); - return testStringCoercion(value); - } - } - } - function checkHtmlStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); - } - } - } - function checkFormFieldValueStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); - } - } - } - var RESERVED = 0; - var STRING = 1; - var BOOLEANISH_STRING = 2; - var BOOLEAN = 3; - var OVERLOADED_BOOLEAN = 4; - var NUMERIC = 5; - var POSITIVE_NUMERIC = 6; - var ATTRIBUTE_NAME_START_CHAR = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"; - var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040"; - var VALID_ATTRIBUTE_NAME_REGEX = new RegExp("^[" + ATTRIBUTE_NAME_START_CHAR + "][" + ATTRIBUTE_NAME_CHAR + "]*$"); - var illegalAttributeNameCache = {}; - var validatedAttributeNameCache = {}; - function isAttributeNameSafe(attributeName) { - if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) { - return true; - } - if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) { - return false; - } - if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) { - validatedAttributeNameCache[attributeName] = true; - return true; - } - illegalAttributeNameCache[attributeName] = true; - { - error("Invalid attribute name: `%s`", attributeName); - } - return false; - } - function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { - if (propertyInfo !== null) { - return propertyInfo.type === RESERVED; - } - if (isCustomComponentTag) { - return false; - } - if (name.length > 2 && (name[0] === "o" || name[0] === "O") && (name[1] === "n" || name[1] === "N")) { - return true; - } - return false; - } - function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { - if (propertyInfo !== null && propertyInfo.type === RESERVED) { - return false; - } - switch (typeof value) { - case "function": - case "symbol": - return true; - case "boolean": { - if (isCustomComponentTag) { - return false; - } - if (propertyInfo !== null) { - return !propertyInfo.acceptsBooleans; - } else { - var prefix2 = name.toLowerCase().slice(0, 5); - return prefix2 !== "data-" && prefix2 !== "aria-"; - } - } - default: - return false; - } - } - function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) { - if (value === null || typeof value === "undefined") { - return true; - } - if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) { - return true; - } - if (isCustomComponentTag) { - return false; - } - if (propertyInfo !== null) { - switch (propertyInfo.type) { - case BOOLEAN: - return !value; - case OVERLOADED_BOOLEAN: - return value === false; - case NUMERIC: - return isNaN(value); - case POSITIVE_NUMERIC: - return isNaN(value) || value < 1; - } - } - return false; - } - function getPropertyInfo(name) { - return properties.hasOwnProperty(name) ? properties[name] : null; - } - function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL2, removeEmptyString) { - this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN; - this.attributeName = attributeName; - this.attributeNamespace = attributeNamespace; - this.mustUseProperty = mustUseProperty; - this.propertyName = name; - this.type = type; - this.sanitizeURL = sanitizeURL2; - this.removeEmptyString = removeEmptyString; - } - var properties = {}; - var reservedProps = [ - "children", - "dangerouslySetInnerHTML", - // TODO: This prevents the assignment of defaultValue to regular - // elements (not just inputs). Now that ReactDOMInput assigns to the - // defaultValue property -- do we need this? - "defaultValue", - "defaultChecked", - "innerHTML", - "suppressContentEditableWarning", - "suppressHydrationWarning", - "style" - ]; - reservedProps.forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - RESERVED, - false, - // mustUseProperty - name, - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(_ref) { - var name = _ref[0], attributeName = _ref[1]; - properties[name] = new PropertyInfoRecord( - name, - STRING, - false, - // mustUseProperty - attributeName, - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - BOOLEANISH_STRING, - false, - // mustUseProperty - name.toLowerCase(), - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - BOOLEANISH_STRING, - false, - // mustUseProperty - name, - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - [ - "allowFullScreen", - "async", - // Note: there is a special case that prevents it from being written to the DOM - // on the client side because the browsers are inconsistent. Instead we call focus(). - "autoFocus", - "autoPlay", - "controls", - "default", - "defer", - "disabled", - "disablePictureInPicture", - "disableRemotePlayback", - "formNoValidate", - "hidden", - "loop", - "noModule", - "noValidate", - "open", - "playsInline", - "readOnly", - "required", - "reversed", - "scoped", - "seamless", - // Microdata - "itemScope" - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - BOOLEAN, - false, - // mustUseProperty - name.toLowerCase(), - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - [ - "checked", - // Note: `option.selected` is not updated if `select.multiple` is - // disabled with `removeAttribute`. We have special logic for handling this. - "multiple", - "muted", - "selected" - // NOTE: if you add a camelCased prop to this list, - // you'll need to set attributeName to name.toLowerCase() - // instead in the assignment below. - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - BOOLEAN, - true, - // mustUseProperty - name, - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - [ - "capture", - "download" - // NOTE: if you add a camelCased prop to this list, - // you'll need to set attributeName to name.toLowerCase() - // instead in the assignment below. - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - OVERLOADED_BOOLEAN, - false, - // mustUseProperty - name, - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - [ - "cols", - "rows", - "size", - "span" - // NOTE: if you add a camelCased prop to this list, - // you'll need to set attributeName to name.toLowerCase() - // instead in the assignment below. - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - POSITIVE_NUMERIC, - false, - // mustUseProperty - name, - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - ["rowSpan", "start"].forEach(function(name) { - properties[name] = new PropertyInfoRecord( - name, - NUMERIC, - false, - // mustUseProperty - name.toLowerCase(), - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - var CAMELIZE = /[\-\:]([a-z])/g; - var capitalize = function(token) { - return token[1].toUpperCase(); - }; - [ - "accent-height", - "alignment-baseline", - "arabic-form", - "baseline-shift", - "cap-height", - "clip-path", - "clip-rule", - "color-interpolation", - "color-interpolation-filters", - "color-profile", - "color-rendering", - "dominant-baseline", - "enable-background", - "fill-opacity", - "fill-rule", - "flood-color", - "flood-opacity", - "font-family", - "font-size", - "font-size-adjust", - "font-stretch", - "font-style", - "font-variant", - "font-weight", - "glyph-name", - "glyph-orientation-horizontal", - "glyph-orientation-vertical", - "horiz-adv-x", - "horiz-origin-x", - "image-rendering", - "letter-spacing", - "lighting-color", - "marker-end", - "marker-mid", - "marker-start", - "overline-position", - "overline-thickness", - "paint-order", - "panose-1", - "pointer-events", - "rendering-intent", - "shape-rendering", - "stop-color", - "stop-opacity", - "strikethrough-position", - "strikethrough-thickness", - "stroke-dasharray", - "stroke-dashoffset", - "stroke-linecap", - "stroke-linejoin", - "stroke-miterlimit", - "stroke-opacity", - "stroke-width", - "text-anchor", - "text-decoration", - "text-rendering", - "underline-position", - "underline-thickness", - "unicode-bidi", - "unicode-range", - "units-per-em", - "v-alphabetic", - "v-hanging", - "v-ideographic", - "v-mathematical", - "vector-effect", - "vert-adv-y", - "vert-origin-x", - "vert-origin-y", - "word-spacing", - "writing-mode", - "xmlns:xlink", - "x-height" - // NOTE: if you add a camelCased prop to this list, - // you'll need to set attributeName to name.toLowerCase() - // instead in the assignment below. - ].forEach(function(attributeName) { - var name = attributeName.replace(CAMELIZE, capitalize); - properties[name] = new PropertyInfoRecord( - name, - STRING, - false, - // mustUseProperty - attributeName, - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - [ - "xlink:actuate", - "xlink:arcrole", - "xlink:role", - "xlink:show", - "xlink:title", - "xlink:type" - // NOTE: if you add a camelCased prop to this list, - // you'll need to set attributeName to name.toLowerCase() - // instead in the assignment below. - ].forEach(function(attributeName) { - var name = attributeName.replace(CAMELIZE, capitalize); - properties[name] = new PropertyInfoRecord( - name, - STRING, - false, - // mustUseProperty - attributeName, - "http://www.w3.org/1999/xlink", - false, - // sanitizeURL - false - ); - }); - [ - "xml:base", - "xml:lang", - "xml:space" - // NOTE: if you add a camelCased prop to this list, - // you'll need to set attributeName to name.toLowerCase() - // instead in the assignment below. - ].forEach(function(attributeName) { - var name = attributeName.replace(CAMELIZE, capitalize); - properties[name] = new PropertyInfoRecord( - name, - STRING, - false, - // mustUseProperty - attributeName, - "http://www.w3.org/XML/1998/namespace", - false, - // sanitizeURL - false - ); - }); - ["tabIndex", "crossOrigin"].forEach(function(attributeName) { - properties[attributeName] = new PropertyInfoRecord( - attributeName, - STRING, - false, - // mustUseProperty - attributeName.toLowerCase(), - // attributeName - null, - // attributeNamespace - false, - // sanitizeURL - false - ); - }); - var xlinkHref = "xlinkHref"; - properties[xlinkHref] = new PropertyInfoRecord( - "xlinkHref", - STRING, - false, - // mustUseProperty - "xlink:href", - "http://www.w3.org/1999/xlink", - true, - // sanitizeURL - false - ); - ["src", "href", "action", "formAction"].forEach(function(attributeName) { - properties[attributeName] = new PropertyInfoRecord( - attributeName, - STRING, - false, - // mustUseProperty - attributeName.toLowerCase(), - // attributeName - null, - // attributeNamespace - true, - // sanitizeURL - true - ); - }); - var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i; - var didWarn = false; - function sanitizeURL(url) { - { - if (!didWarn && isJavaScriptProtocol.test(url)) { - didWarn = true; - error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(url)); - } - } - } - function getValueForProperty(node, name, expected, propertyInfo) { - { - if (propertyInfo.mustUseProperty) { - var propertyName = propertyInfo.propertyName; - return node[propertyName]; - } else { - { - checkAttributeStringCoercion(expected, name); - } - if (propertyInfo.sanitizeURL) { - sanitizeURL("" + expected); - } - var attributeName = propertyInfo.attributeName; - var stringValue = null; - if (propertyInfo.type === OVERLOADED_BOOLEAN) { - if (node.hasAttribute(attributeName)) { - var value = node.getAttribute(attributeName); - if (value === "") { - return true; - } - if (shouldRemoveAttribute(name, expected, propertyInfo, false)) { - return value; - } - if (value === "" + expected) { - return expected; - } - return value; - } - } else if (node.hasAttribute(attributeName)) { - if (shouldRemoveAttribute(name, expected, propertyInfo, false)) { - return node.getAttribute(attributeName); - } - if (propertyInfo.type === BOOLEAN) { - return expected; - } - stringValue = node.getAttribute(attributeName); - } - if (shouldRemoveAttribute(name, expected, propertyInfo, false)) { - return stringValue === null ? expected : stringValue; - } else if (stringValue === "" + expected) { - return expected; - } else { - return stringValue; - } - } - } - } - function getValueForAttribute(node, name, expected, isCustomComponentTag) { - { - if (!isAttributeNameSafe(name)) { - return; - } - if (!node.hasAttribute(name)) { - return expected === void 0 ? void 0 : null; - } - var value = node.getAttribute(name); - { - checkAttributeStringCoercion(expected, name); - } - if (value === "" + expected) { - return expected; - } - return value; - } - } - function setValueForProperty(node, name, value, isCustomComponentTag) { - var propertyInfo = getPropertyInfo(name); - if (shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag)) { - return; - } - if (shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)) { - value = null; - } - if (isCustomComponentTag || propertyInfo === null) { - if (isAttributeNameSafe(name)) { - var _attributeName = name; - if (value === null) { - node.removeAttribute(_attributeName); - } else { - { - checkAttributeStringCoercion(value, name); - } - node.setAttribute(_attributeName, "" + value); - } - } - return; - } - var mustUseProperty = propertyInfo.mustUseProperty; - if (mustUseProperty) { - var propertyName = propertyInfo.propertyName; - if (value === null) { - var type = propertyInfo.type; - node[propertyName] = type === BOOLEAN ? false : ""; - } else { - node[propertyName] = value; - } - return; - } - var attributeName = propertyInfo.attributeName, attributeNamespace = propertyInfo.attributeNamespace; - if (value === null) { - node.removeAttribute(attributeName); - } else { - var _type = propertyInfo.type; - var attributeValue; - if (_type === BOOLEAN || _type === OVERLOADED_BOOLEAN && value === true) { - attributeValue = ""; - } else { - { - { - checkAttributeStringCoercion(value, attributeName); - } - attributeValue = "" + value; - } - if (propertyInfo.sanitizeURL) { - sanitizeURL(attributeValue.toString()); - } - } - if (attributeNamespace) { - node.setAttributeNS(attributeNamespace, attributeName, attributeValue); - } else { - node.setAttribute(attributeName, attributeValue); - } - } - } - var REACT_ELEMENT_TYPE = Symbol.for("react.element"); - var REACT_PORTAL_TYPE = Symbol.for("react.portal"); - var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); - var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"); - var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); - var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); - var REACT_CONTEXT_TYPE = Symbol.for("react.context"); - var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); - var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); - var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); - var REACT_MEMO_TYPE = Symbol.for("react.memo"); - var REACT_LAZY_TYPE = Symbol.for("react.lazy"); - var REACT_SCOPE_TYPE = Symbol.for("react.scope"); - var REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"); - var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); - var REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); - var REACT_CACHE_TYPE = Symbol.for("react.cache"); - var REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"); - var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; - var FAUX_ITERATOR_SYMBOL = "@@iterator"; - function getIteratorFn(maybeIterable) { - if (maybeIterable === null || typeof maybeIterable !== "object") { - return null; - } - var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; - if (typeof maybeIterator === "function") { - return maybeIterator; - } - return null; - } - var assign = Object.assign; - var disabledDepth = 0; - var prevLog; - var prevInfo; - var prevWarn; - var prevError; - var prevGroup; - var prevGroupCollapsed; - var prevGroupEnd; - function disabledLog() { - } - disabledLog.__reactDisabledLog = true; - function disableLogs() { - { - if (disabledDepth === 0) { - prevLog = console.log; - prevInfo = console.info; - prevWarn = console.warn; - prevError = console.error; - prevGroup = console.group; - prevGroupCollapsed = console.groupCollapsed; - prevGroupEnd = console.groupEnd; - var props = { - configurable: true, - enumerable: true, - value: disabledLog, - writable: true - }; - Object.defineProperties(console, { - info: props, - log: props, - warn: props, - error: props, - group: props, - groupCollapsed: props, - groupEnd: props - }); - } - disabledDepth++; - } - } - function reenableLogs() { - { - disabledDepth--; - if (disabledDepth === 0) { - var props = { - configurable: true, - enumerable: true, - writable: true - }; - Object.defineProperties(console, { - log: assign({}, props, { - value: prevLog - }), - info: assign({}, props, { - value: prevInfo - }), - warn: assign({}, props, { - value: prevWarn - }), - error: assign({}, props, { - value: prevError - }), - group: assign({}, props, { - value: prevGroup - }), - groupCollapsed: assign({}, props, { - value: prevGroupCollapsed - }), - groupEnd: assign({}, props, { - value: prevGroupEnd - }) - }); - } - if (disabledDepth < 0) { - error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - } - } - var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; - var prefix; - function describeBuiltInComponentFrame(name, source, ownerFn) { - { - if (prefix === void 0) { - try { - throw Error(); - } catch (x) { - var match = x.stack.trim().match(/\n( *(at )?)/); - prefix = match && match[1] || ""; - } - } - return "\n" + prefix + name; - } - } - var reentry = false; - var componentFrameCache; - { - var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map; - componentFrameCache = new PossiblyWeakMap(); - } - function describeNativeComponentFrame(fn, construct) { - if (!fn || reentry) { - return ""; - } - { - var frame = componentFrameCache.get(fn); - if (frame !== void 0) { - return frame; - } - } - var control; - reentry = true; - var previousPrepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var previousDispatcher; - { - previousDispatcher = ReactCurrentDispatcher.current; - ReactCurrentDispatcher.current = null; - disableLogs(); - } - try { - if (construct) { - var Fake = function() { - throw Error(); - }; - Object.defineProperty(Fake.prototype, "props", { - set: function() { - throw Error(); - } - }); - if (typeof Reflect === "object" && Reflect.construct) { - try { - Reflect.construct(Fake, []); - } catch (x) { - control = x; - } - Reflect.construct(fn, [], Fake); - } else { - try { - Fake.call(); - } catch (x) { - control = x; - } - fn.call(Fake.prototype); - } - } else { - try { - throw Error(); - } catch (x) { - control = x; - } - fn(); - } - } catch (sample) { - if (sample && control && typeof sample.stack === "string") { - var sampleLines = sample.stack.split("\n"); - var controlLines = control.stack.split("\n"); - var s = sampleLines.length - 1; - var c = controlLines.length - 1; - while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) { - c--; - } - for (; s >= 1 && c >= 0; s--, c--) { - if (sampleLines[s] !== controlLines[c]) { - if (s !== 1 || c !== 1) { - do { - s--; - c--; - if (c < 0 || sampleLines[s] !== controlLines[c]) { - var _frame = "\n" + sampleLines[s].replace(" at new ", " at "); - if (fn.displayName && _frame.includes("")) { - _frame = _frame.replace("", fn.displayName); - } - { - if (typeof fn === "function") { - componentFrameCache.set(fn, _frame); - } - } - return _frame; - } - } while (s >= 1 && c >= 0); - } - break; - } - } - } - } finally { - reentry = false; - { - ReactCurrentDispatcher.current = previousDispatcher; - reenableLogs(); - } - Error.prepareStackTrace = previousPrepareStackTrace; - } - var name = fn ? fn.displayName || fn.name : ""; - var syntheticFrame = name ? describeBuiltInComponentFrame(name) : ""; - { - if (typeof fn === "function") { - componentFrameCache.set(fn, syntheticFrame); - } - } - return syntheticFrame; - } - function describeClassComponentFrame(ctor, source, ownerFn) { - { - return describeNativeComponentFrame(ctor, true); - } - } - function describeFunctionComponentFrame(fn, source, ownerFn) { - { - return describeNativeComponentFrame(fn, false); - } - } - function shouldConstruct(Component) { - var prototype = Component.prototype; - return !!(prototype && prototype.isReactComponent); - } - function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { - if (type == null) { - return ""; - } - if (typeof type === "function") { - { - return describeNativeComponentFrame(type, shouldConstruct(type)); - } - } - if (typeof type === "string") { - return describeBuiltInComponentFrame(type); - } - switch (type) { - case REACT_SUSPENSE_TYPE: - return describeBuiltInComponentFrame("Suspense"); - case REACT_SUSPENSE_LIST_TYPE: - return describeBuiltInComponentFrame("SuspenseList"); - } - if (typeof type === "object") { - switch (type.$$typeof) { - case REACT_FORWARD_REF_TYPE: - return describeFunctionComponentFrame(type.render); - case REACT_MEMO_TYPE: - return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); - case REACT_LAZY_TYPE: { - var lazyComponent = type; - var payload = lazyComponent._payload; - var init = lazyComponent._init; - try { - return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn); - } catch (x) { - } - } - } - } - return ""; - } - function describeFiber(fiber) { - var owner = fiber._debugOwner ? fiber._debugOwner.type : null; - var source = fiber._debugSource; - switch (fiber.tag) { - case HostComponent: - return describeBuiltInComponentFrame(fiber.type); - case LazyComponent: - return describeBuiltInComponentFrame("Lazy"); - case SuspenseComponent: - return describeBuiltInComponentFrame("Suspense"); - case SuspenseListComponent: - return describeBuiltInComponentFrame("SuspenseList"); - case FunctionComponent: - case IndeterminateComponent: - case SimpleMemoComponent: - return describeFunctionComponentFrame(fiber.type); - case ForwardRef: - return describeFunctionComponentFrame(fiber.type.render); - case ClassComponent: - return describeClassComponentFrame(fiber.type); - default: - return ""; - } - } - function getStackByFiberInDevAndProd(workInProgress2) { - try { - var info = ""; - var node = workInProgress2; - do { - info += describeFiber(node); - node = node.return; - } while (node); - return info; - } catch (x) { - return "\nError generating stack: " + x.message + "\n" + x.stack; - } - } - function getWrappedName(outerType, innerType, wrapperName) { - var displayName = outerType.displayName; - if (displayName) { - return displayName; - } - var functionName = innerType.displayName || innerType.name || ""; - return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName; - } - function getContextName(type) { - return type.displayName || "Context"; - } - function getComponentNameFromType(type) { - if (type == null) { - return null; - } - { - if (typeof type.tag === "number") { - error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."); - } - } - if (typeof type === "function") { - return type.displayName || type.name || null; - } - if (typeof type === "string") { - return type; - } - switch (type) { - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - } - if (typeof type === "object") { - switch (type.$$typeof) { - case REACT_CONTEXT_TYPE: - var context = type; - return getContextName(context) + ".Consumer"; - case REACT_PROVIDER_TYPE: - var provider = type; - return getContextName(provider._context) + ".Provider"; - case REACT_FORWARD_REF_TYPE: - return getWrappedName(type, type.render, "ForwardRef"); - case REACT_MEMO_TYPE: - var outerName = type.displayName || null; - if (outerName !== null) { - return outerName; - } - return getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: { - var lazyComponent = type; - var payload = lazyComponent._payload; - var init = lazyComponent._init; - try { - return getComponentNameFromType(init(payload)); - } catch (x) { - return null; - } - } - } - } - return null; - } - function getWrappedName$1(outerType, innerType, wrapperName) { - var functionName = innerType.displayName || innerType.name || ""; - return outerType.displayName || (functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName); - } - function getContextName$1(type) { - return type.displayName || "Context"; - } - function getComponentNameFromFiber(fiber) { - var tag = fiber.tag, type = fiber.type; - switch (tag) { - case CacheComponent: - return "Cache"; - case ContextConsumer: - var context = type; - return getContextName$1(context) + ".Consumer"; - case ContextProvider: - var provider = type; - return getContextName$1(provider._context) + ".Provider"; - case DehydratedFragment: - return "DehydratedFragment"; - case ForwardRef: - return getWrappedName$1(type, type.render, "ForwardRef"); - case Fragment: - return "Fragment"; - case HostComponent: - return type; - case HostPortal: - return "Portal"; - case HostRoot: - return "Root"; - case HostText: - return "Text"; - case LazyComponent: - return getComponentNameFromType(type); - case Mode: - if (type === REACT_STRICT_MODE_TYPE) { - return "StrictMode"; - } - return "Mode"; - case OffscreenComponent: - return "Offscreen"; - case Profiler: - return "Profiler"; - case ScopeComponent: - return "Scope"; - case SuspenseComponent: - return "Suspense"; - case SuspenseListComponent: - return "SuspenseList"; - case TracingMarkerComponent: - return "TracingMarker"; - case ClassComponent: - case FunctionComponent: - case IncompleteClassComponent: - case IndeterminateComponent: - case MemoComponent: - case SimpleMemoComponent: - if (typeof type === "function") { - return type.displayName || type.name || null; - } - if (typeof type === "string") { - return type; - } - break; - } - return null; - } - var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; - var current = null; - var isRendering = false; - function getCurrentFiberOwnerNameInDevOrNull() { - { - if (current === null) { - return null; - } - var owner = current._debugOwner; - if (owner !== null && typeof owner !== "undefined") { - return getComponentNameFromFiber(owner); - } - } - return null; - } - function getCurrentFiberStackInDev() { - { - if (current === null) { - return ""; - } - return getStackByFiberInDevAndProd(current); - } - } - function resetCurrentFiber() { - { - ReactDebugCurrentFrame.getCurrentStack = null; - current = null; - isRendering = false; - } - } - function setCurrentFiber(fiber) { - { - ReactDebugCurrentFrame.getCurrentStack = fiber === null ? null : getCurrentFiberStackInDev; - current = fiber; - isRendering = false; - } - } - function getCurrentFiber() { - { - return current; - } - } - function setIsRendering(rendering) { - { - isRendering = rendering; - } - } - function toString(value) { - return "" + value; - } - function getToStringValue(value) { - switch (typeof value) { - case "boolean": - case "number": - case "string": - case "undefined": - return value; - case "object": - { - checkFormFieldValueStringCoercion(value); - } - return value; - default: - return ""; - } - } - var hasReadOnlyValue = { - button: true, - checkbox: true, - image: true, - hidden: true, - radio: true, - reset: true, - submit: true - }; - function checkControlledValueProps(tagName, props) { - { - if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) { - error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."); - } - if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) { - error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."); - } - } - } - function isCheckable(elem) { - var type = elem.type; - var nodeName = elem.nodeName; - return nodeName && nodeName.toLowerCase() === "input" && (type === "checkbox" || type === "radio"); - } - function getTracker(node) { - return node._valueTracker; - } - function detachTracker(node) { - node._valueTracker = null; - } - function getValueFromNode(node) { - var value = ""; - if (!node) { - return value; - } - if (isCheckable(node)) { - value = node.checked ? "true" : "false"; - } else { - value = node.value; - } - return value; - } - function trackValueOnNode(node) { - var valueField = isCheckable(node) ? "checked" : "value"; - var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField); - { - checkFormFieldValueStringCoercion(node[valueField]); - } - var currentValue = "" + node[valueField]; - if (node.hasOwnProperty(valueField) || typeof descriptor === "undefined" || typeof descriptor.get !== "function" || typeof descriptor.set !== "function") { - return; - } - var get2 = descriptor.get, set2 = descriptor.set; - Object.defineProperty(node, valueField, { - configurable: true, - get: function() { - return get2.call(this); - }, - set: function(value) { - { - checkFormFieldValueStringCoercion(value); - } - currentValue = "" + value; - set2.call(this, value); - } - }); - Object.defineProperty(node, valueField, { - enumerable: descriptor.enumerable - }); - var tracker = { - getValue: function() { - return currentValue; - }, - setValue: function(value) { - { - checkFormFieldValueStringCoercion(value); - } - currentValue = "" + value; - }, - stopTracking: function() { - detachTracker(node); - delete node[valueField]; - } - }; - return tracker; - } - function track(node) { - if (getTracker(node)) { - return; - } - node._valueTracker = trackValueOnNode(node); - } - function updateValueIfChanged(node) { - if (!node) { - return false; - } - var tracker = getTracker(node); - if (!tracker) { - return true; - } - var lastValue = tracker.getValue(); - var nextValue = getValueFromNode(node); - if (nextValue !== lastValue) { - tracker.setValue(nextValue); - return true; - } - return false; - } - function getActiveElement(doc) { - doc = doc || (typeof document !== "undefined" ? document : void 0); - if (typeof doc === "undefined") { - return null; - } - try { - return doc.activeElement || doc.body; - } catch (e) { - return doc.body; - } - } - var didWarnValueDefaultValue = false; - var didWarnCheckedDefaultChecked = false; - var didWarnControlledToUncontrolled = false; - var didWarnUncontrolledToControlled = false; - function isControlled(props) { - var usesChecked = props.type === "checkbox" || props.type === "radio"; - return usesChecked ? props.checked != null : props.value != null; - } - function getHostProps(element, props) { - var node = element; - var checked = props.checked; - var hostProps = assign({}, props, { - defaultChecked: void 0, - defaultValue: void 0, - value: void 0, - checked: checked != null ? checked : node._wrapperState.initialChecked - }); - return hostProps; - } - function initWrapperState(element, props) { - { - checkControlledValueProps("input", props); - if (props.checked !== void 0 && props.defaultChecked !== void 0 && !didWarnCheckedDefaultChecked) { - error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type); - didWarnCheckedDefaultChecked = true; - } - if (props.value !== void 0 && props.defaultValue !== void 0 && !didWarnValueDefaultValue) { - error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type); - didWarnValueDefaultValue = true; - } - } - var node = element; - var defaultValue = props.defaultValue == null ? "" : props.defaultValue; - node._wrapperState = { - initialChecked: props.checked != null ? props.checked : props.defaultChecked, - initialValue: getToStringValue(props.value != null ? props.value : defaultValue), - controlled: isControlled(props) - }; - } - function updateChecked(element, props) { - var node = element; - var checked = props.checked; - if (checked != null) { - setValueForProperty(node, "checked", checked, false); - } - } - function updateWrapper(element, props) { - var node = element; - { - var controlled = isControlled(props); - if (!node._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) { - error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"); - didWarnUncontrolledToControlled = true; - } - if (node._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) { - error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"); - didWarnControlledToUncontrolled = true; - } - } - updateChecked(element, props); - var value = getToStringValue(props.value); - var type = props.type; - if (value != null) { - if (type === "number") { - if (value === 0 && node.value === "" || // We explicitly want to coerce to number here if possible. - // eslint-disable-next-line - node.value != value) { - node.value = toString(value); - } - } else if (node.value !== toString(value)) { - node.value = toString(value); - } - } else if (type === "submit" || type === "reset") { - node.removeAttribute("value"); - return; - } - { - if (props.hasOwnProperty("value")) { - setDefaultValue(node, props.type, value); - } else if (props.hasOwnProperty("defaultValue")) { - setDefaultValue(node, props.type, getToStringValue(props.defaultValue)); - } - } - { - if (props.checked == null && props.defaultChecked != null) { - node.defaultChecked = !!props.defaultChecked; - } - } - } - function postMountWrapper(element, props, isHydrating2) { - var node = element; - if (props.hasOwnProperty("value") || props.hasOwnProperty("defaultValue")) { - var type = props.type; - var isButton = type === "submit" || type === "reset"; - if (isButton && (props.value === void 0 || props.value === null)) { - return; - } - var initialValue = toString(node._wrapperState.initialValue); - if (!isHydrating2) { - { - if (initialValue !== node.value) { - node.value = initialValue; - } - } - } - { - node.defaultValue = initialValue; - } - } - var name = node.name; - if (name !== "") { - node.name = ""; - } - { - node.defaultChecked = !node.defaultChecked; - node.defaultChecked = !!node._wrapperState.initialChecked; - } - if (name !== "") { - node.name = name; - } - } - function restoreControlledState(element, props) { - var node = element; - updateWrapper(node, props); - updateNamedCousins(node, props); - } - function updateNamedCousins(rootNode, props) { - var name = props.name; - if (props.type === "radio" && name != null) { - var queryRoot = rootNode; - while (queryRoot.parentNode) { - queryRoot = queryRoot.parentNode; - } - { - checkAttributeStringCoercion(name, "name"); - } - var group = queryRoot.querySelectorAll("input[name=" + JSON.stringify("" + name) + '][type="radio"]'); - for (var i = 0; i < group.length; i++) { - var otherNode = group[i]; - if (otherNode === rootNode || otherNode.form !== rootNode.form) { - continue; - } - var otherProps = getFiberCurrentPropsFromNode(otherNode); - if (!otherProps) { - throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."); - } - updateValueIfChanged(otherNode); - updateWrapper(otherNode, otherProps); - } - } - } - function setDefaultValue(node, type, value) { - if ( - // Focused number inputs synchronize on blur. See ChangeEventPlugin.js - type !== "number" || getActiveElement(node.ownerDocument) !== node - ) { - if (value == null) { - node.defaultValue = toString(node._wrapperState.initialValue); - } else if (node.defaultValue !== toString(value)) { - node.defaultValue = toString(value); - } - } - } - var didWarnSelectedSetOnOption = false; - var didWarnInvalidChild = false; - var didWarnInvalidInnerHTML = false; - function validateProps(element, props) { - { - if (props.value == null) { - if (typeof props.children === "object" && props.children !== null) { - React2.Children.forEach(props.children, function(child) { - if (child == null) { - return; - } - if (typeof child === "string" || typeof child === "number") { - return; - } - if (!didWarnInvalidChild) { - didWarnInvalidChild = true; - error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to