@alivault/pico 0.14.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/public/_shell.html +19 -0
- package/.output/public/assets/PatchDiff-SN-mXa3p.js +343 -0
- package/.output/public/assets/{angular-html-BZNntD0J.js → angular-html-B9LEBPKs.js} +1 -1
- package/.output/public/assets/{angular-ts-SQQMYL2C.js → angular-ts-CD6u-Ij9.js} +1 -1
- package/.output/public/assets/{apl-D5V6uPDr.js → apl-VeDHIFIx.js} +1 -1
- package/.output/public/assets/app-shell-common-0xa28gDm.js +1 -0
- package/.output/public/assets/{astro-DeXKSaFP.js → astro-Dd8L1z6M.js} +1 -1
- package/.output/public/assets/{blade-Bu5re0Vg.js → blade-BNxrbiva.js} +1 -1
- package/.output/public/assets/{bsl-B1qbqNES.js → bsl-B0twaj2j.js} +1 -1
- package/.output/public/assets/{cairo-BDj8wWhy.js → cairo-DASKFAWI.js} +1 -1
- package/.output/public/assets/{cobol-nvZDS9LT.js → cobol-D_qN8j4K.js} +1 -1
- package/.output/public/assets/{coffee-BKLOTq4e.js → coffee-60nIQewd.js} +1 -1
- package/.output/public/assets/{cpp-D6g1DVNt.js → cpp-e1j1tDCV.js} +1 -1
- package/.output/public/assets/{crystal-DfoZI57w.js → crystal-brDfRjQ_.js} +1 -1
- package/.output/public/assets/{edge-DwocGnOF.js → edge-DadfRK3Q.js} +1 -1
- package/.output/public/assets/{elixir-Dtbfds1r.js → elixir-CsoHPmz3.js} +1 -1
- package/.output/public/assets/{elm-CpPtm471.js → elm-BLTa0sZG.js} +1 -1
- package/.output/public/assets/{erb--z3IM9Cb.js → erb-DIR2QRkp.js} +1 -1
- package/.output/public/assets/{erlang-Bc4hQuqa.js → erlang-DnbJbitJ.js} +1 -1
- package/.output/public/assets/{fortran-fixed-form-B02FOYI-.js → fortran-fixed-form-Bse4XUyD.js} +1 -1
- package/.output/public/assets/{fsharp-DhdR18vN.js → fsharp-Dy8OnZ0O.js} +1 -1
- package/.output/public/assets/{gdresource-DgnrMPIx.js → gdresource-BD_7yRHA.js} +1 -1
- package/.output/public/assets/{git-commit-DGJi7qBD.js → git-commit-CIMjlyHf.js} +1 -1
- package/.output/public/assets/{git-rebase-Ce47xoa6.js → git-rebase-DV2DyQK7.js} +1 -1
- package/.output/public/assets/{glimmer-js-C0BuzxQC.js → glimmer-js-DVG5pFvd.js} +1 -1
- package/.output/public/assets/{glimmer-ts-irOZ-cAQ.js → glimmer-ts-BeWaLARz.js} +1 -1
- package/.output/public/assets/{glsl-JAhLUe0P.js → glsl-BrOWUUEh.js} +1 -1
- package/.output/public/assets/{graphql-D2ba3BkR.js → graphql-B_3o81z5.js} +1 -1
- package/.output/public/assets/{hack-CgzUpY8l.js → hack-BW-0PxQy.js} +1 -1
- package/.output/public/assets/{haml-C-oIZcDo.js → haml-DnNXiHAO.js} +1 -1
- package/.output/public/assets/{handlebars-CbP-Mhzf.js → handlebars-CftcPtku.js} +1 -1
- package/.output/public/assets/{html-ddqpqPg0.js → html-D5IqfVuz.js} +1 -1
- package/.output/public/assets/{html-derivative-DWGxf_At.js → html-derivative-QNqmMkaY.js} +1 -1
- package/.output/public/assets/{http-Bg1nG1nG.js → http-Dd7eRKUa.js} +1 -1
- package/.output/public/assets/{hurl-zm47Pi1n.js → hurl-kBs5Ibg1.js} +1 -1
- package/.output/public/assets/{hxml-adC65L_J.js → hxml-CGx66ebi.js} +1 -1
- package/.output/public/assets/index-C-mxWGZ5.css +2 -0
- package/.output/public/assets/index-FOqZaR4L.js +48 -0
- package/.output/public/assets/{jinja-Bnj4awH5.js → jinja-BPoCSjyd.js} +1 -1
- package/.output/public/assets/{jison-CuCNs9Q3.js → jison-WHPVy3Jl.js} +1 -1
- package/.output/public/assets/{julia-DNYHzXlE.js → julia-BaKiQMPf.js} +1 -1
- package/.output/public/assets/{just-BlWkkmf2.js → just-BKMc7tVT.js} +1 -1
- package/.output/public/assets/{latex-DqPzjMIt.js → latex-Cczzu1HI.js} +1 -1
- package/.output/public/assets/{liquid-BURJK16h.js → liquid-DrJZrMEf.js} +1 -1
- package/.output/public/assets/{lua-31hdJClp.js → lua-CFIwCMnP.js} +1 -1
- package/.output/public/assets/{marko-C2ZcdSLh.js → marko-BreagErn.js} +1 -1
- package/.output/public/assets/{mdc-N1ii9pk5.js → mdc-CBcMHZUq.js} +1 -1
- package/.output/public/assets/{nextflow-JEyYUlIq.js → nextflow-CZbrTmS2.js} +1 -1
- package/.output/public/assets/{nginx-BuomO0W8.js → nginx-CMOi8dTH.js} +1 -1
- package/.output/public/assets/{nim-hKoEPsYL.js → nim-DbDZ9Wa-.js} +1 -1
- package/.output/public/assets/{perl-CAGVW6Ra.js → perl-DyRCGnKu.js} +1 -1
- package/.output/public/assets/{php-BycclmzS.js → php-Ciarv7b4.js} +1 -1
- package/.output/public/assets/plus-B1rJPgNv.js +1 -0
- package/.output/public/assets/preload-helper-Csz9R64u.js +5 -0
- package/.output/public/assets/{pug-4maJHz9G.js → pug-CVCqbfEm.js} +1 -1
- package/.output/public/assets/{qml-JLIQfzyb.js → qml-DechmdFA.js} +1 -1
- package/.output/public/assets/query-keys-C9jMaRnO.js +1 -0
- package/.output/public/assets/{razor-P8rbooCh.js → razor-bgzHke67.js} +1 -1
- package/.output/public/assets/right-sidebar-CWvXcZzC.js +1831 -0
- package/.output/public/assets/routes-CXlaorp4.js +23 -0
- package/.output/public/assets/{rst-C6GHyL-N.js → rst-Ce6_XwFd.js} +1 -1
- package/.output/public/assets/{ruby-Cl8PVkbY.js → ruby-BtLKlt8E.js} +1 -1
- package/.output/public/assets/{sas-CXoVwlZN.js → sas-Bco5tnse.js} +1 -1
- package/.output/public/assets/{scss-DNczJ95n.js → scss-KPCA05M8.js} +1 -1
- package/.output/public/assets/{shaderlab-DZ3Lsiak.js → shaderlab-uUHiM5Mm.js} +1 -1
- package/.output/public/assets/{shellsession-COm1V40U.js → shellsession-BnUZVYXU.js} +1 -1
- package/.output/public/assets/{soy-DwewhJ_3.js → soy-Dsrg4bVI.js} +1 -1
- package/.output/public/assets/{sparql-B9c85a_o.js → sparql-D5zsvcbT.js} +1 -1
- package/.output/public/assets/{stata-Bl--TAbZ.js → stata-BdK5CFUf.js} +1 -1
- package/.output/public/assets/{surrealql-BW79EE-U.js → surrealql-Blm5wp47.js} +1 -1
- package/.output/public/assets/{svelte-ziMErdPi.js → svelte-DZrj_gMz.js} +1 -1
- package/.output/public/assets/{templ-C_9I6ncv.js → templ-CJ7sDrtu.js} +1 -1
- package/.output/public/assets/terminal-panel-YGR6v-ZH.js +1 -0
- package/.output/public/assets/{tex-D8LVuLf5.js → tex-CvSRdXZA.js} +1 -1
- package/.output/public/assets/{ts-tags-DKuFCGsc.js → ts-tags-DgGFCSef.js} +1 -1
- package/.output/public/assets/{twig-Bs1kcsO6.js → twig-D8_PS89g.js} +1 -1
- package/.output/public/assets/{vue-Dnf0y5RU.js → vue-KvGEuYod.js} +1 -1
- package/.output/public/assets/{vue-html-CRtKS76J.js → vue-html-qAt9D-IF.js} +1 -1
- package/.output/public/assets/{vue-vine-BxjPqU7T.js → vue-vine-j1nOqxMu.js} +1 -1
- package/.output/public/assets/{xml-eU7M3iZJ.js → xml-BrFkMwfd.js} +1 -1
- package/.output/public/assets/{xsl-DSqe4nTO.js → xsl-OmCo2PyZ.js} +1 -1
- package/.output/public/index.html +19 -0
- package/README.md +171 -46
- package/bin/native-runtime.mjs +265 -0
- package/bin/pico.mjs +289 -222
- package/package.json +34 -31
- package/.output/nitro.json +0 -17
- package/.output/public/assets/index-DBVxXDtw.js +0 -54
- package/.output/public/assets/routes-yUxD2q-l.js +0 -2194
- package/.output/public/assets/styles-CUVz7jV9.css +0 -2
- package/.output/server/__23tanstack-start-plugin-adapters-y_fshQDY.mjs +0 -5
- package/.output/server/_chunks/ssr-renderer.mjs +0 -15
- package/.output/server/_libs/@base-ui/react+[...].mjs +0 -14512
- package/.output/server/_libs/@dnd-kit/core+[...].mjs +0 -2748
- package/.output/server/_libs/@pierre/diffs+[...].mjs +0 -19314
- package/.output/server/_libs/@pierre/trees+[...].mjs +0 -9236
- package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +0 -1789
- package/.output/server/_libs/@radix-ui/react-primitive+[...].mjs +0 -136
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +0 -196
- package/.output/server/_libs/@tanstack/hotkeys+[...].mjs +0 -1607
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +0 -13950
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +0 -90
- package/.output/server/_libs/bail.mjs +0 -13
- package/.output/server/_libs/character-entities.mjs +0 -2135
- package/.output/server/_libs/class-variance-authority+clsx.mjs +0 -69
- package/.output/server/_libs/cmdk.mjs +0 -473
- package/.output/server/_libs/crossws.mjs +0 -2929
- package/.output/server/_libs/decode-named-character-reference+[...].mjs +0 -19
- package/.output/server/_libs/devlop.mjs +0 -5
- package/.output/server/_libs/diff.mjs +0 -732
- package/.output/server/_libs/dnd-kit__accessibility.mjs +0 -46
- package/.output/server/_libs/dnd-kit__sortable.mjs +0 -400
- package/.output/server/_libs/entities.mjs +0 -372
- package/.output/server/_libs/escape-string-regexp.mjs +0 -7
- package/.output/server/_libs/estree-util-is-identifier-name.mjs +0 -20
- package/.output/server/_libs/extend.mjs +0 -75
- package/.output/server/_libs/h3+rou3+srvx.mjs +0 -1216
- package/.output/server/_libs/hast-util-from-parse5+[...].mjs +0 -741
- package/.output/server/_libs/hast-util-raw+[...].mjs +0 -7897
- package/.output/server/_libs/hast-util-sanitize.mjs +0 -780
- package/.output/server/_libs/hast-util-to-jsx-runtime+[...].mjs +0 -1165
- package/.output/server/_libs/hookable.mjs +0 -41
- package/.output/server/_libs/html-url-attributes.mjs +0 -44
- package/.output/server/_libs/is-plain-obj.mjs +0 -8
- package/.output/server/_libs/longest-streak.mjs +0 -29
- package/.output/server/_libs/lucide-react.mjs +0 -788
- package/.output/server/_libs/markdown-table.mjs +0 -289
- package/.output/server/_libs/mdast-util-find-and-replace.mjs +0 -198
- package/.output/server/_libs/mdast-util-from-markdown+[...].mjs +0 -8409
- package/.output/server/_libs/mdast-util-gfm+[...].mjs +0 -2062
- package/.output/server/_libs/mdast-util-to-hast+[...].mjs +0 -1771
- package/.output/server/_libs/micromark-extension-gfm+[...].mjs +0 -2234
- package/.output/server/_libs/next-themes.mjs +0 -124
- package/.output/server/_libs/pierre__theme.mjs +0 -10
- package/.output/server/_libs/radix-ui__primitive.mjs +0 -9
- package/.output/server/_libs/radix-ui__react-compose-refs.mjs +0 -30
- package/.output/server/_libs/radix-ui__react-context.mjs +0 -88
- package/.output/server/_libs/react-markdown+[...].mjs +0 -2316
- package/.output/server/_libs/rehype-raw.mjs +0 -37
- package/.output/server/_libs/rehype-sanitize.mjs +0 -27
- package/.output/server/_libs/remark-gfm.mjs +0 -34
- package/.output/server/_libs/shiki.mjs +0 -16
- package/.output/server/_libs/shikijs__langs.mjs +0 -1355
- package/.output/server/_libs/shikijs__themes.mjs +0 -262
- package/.output/server/_libs/sonner.mjs +0 -908
- package/.output/server/_libs/tailwind-merge.mjs +0 -1962
- package/.output/server/_libs/tanstack__history.mjs +0 -342
- package/.output/server/_libs/tanstack__pacer.mjs +0 -1111
- package/.output/server/_libs/tanstack__query-core.mjs +0 -2202
- package/.output/server/_libs/tanstack__react-hotkeys.mjs +0 -152
- package/.output/server/_libs/tanstack__react-query.mjs +0 -180
- package/.output/server/_libs/tanstack__react-store.mjs +0 -39
- package/.output/server/_libs/tanstack__router-core.mjs +0 -6
- package/.output/server/_libs/tanstack__store.mjs +0 -28
- package/.output/server/_libs/ufo.mjs +0 -64
- package/.output/server/_libs/unctx.mjs +0 -82
- package/.output/server/_libs/ungap__structured-clone.mjs +0 -197
- package/.output/server/_libs/vaul.mjs +0 -1250
- package/.output/server/_libs/xterm__addon-fit.mjs +0 -44
- package/.output/server/_libs/xterm__xterm.mjs +0 -10234
- package/.output/server/_libs/zod.mjs +0 -3341
- package/.output/server/_routes/api/terminal/[id]/ws.mjs +0 -8874
- package/.output/server/_runtime.mjs +0 -35
- package/.output/server/_ssr/router-CN4JMm2A.mjs +0 -9733
- package/.output/server/_ssr/routes-BsQ26pbY.mjs +0 -29306
- package/.output/server/_ssr/routes-DbjuMLFI.mjs +0 -3400
- package/.output/server/_ssr/ssr.mjs +0 -5176
- package/.output/server/_ssr/start-jIczsXlR.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-Bs4g_j1_.mjs +0 -77
- package/.output/server/index.mjs +0 -2670
- package/.output/server/node_modules/node-pty/LICENSE +0 -69
- package/.output/server/node_modules/node-pty/README.md +0 -165
- package/.output/server/node_modules/node-pty/binding.gyp +0 -111
- package/.output/server/node_modules/node-pty/build/Makefile +0 -369
- package/.output/server/node_modules/node-pty/build/Release/pty.node +0 -0
- package/.output/server/node_modules/node-pty/build/binding.Makefile +0 -6
- package/.output/server/node_modules/node-pty/build/pty.target.mk +0 -168
- package/.output/server/node_modules/node-pty/deps/.editorconfig +0 -2
- package/.output/server/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
- package/.output/server/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/Makefile +0 -166
- package/.output/server/node_modules/node-pty/deps/winpty/README.md +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
- package/.output/server/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
- package/.output/server/node_modules/node-pty/deps/winpty/configure +0 -167
- package/.output/server/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
- package/.output/server/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/.output/server/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
- package/.output/server/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
- package/.output/server/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
- package/.output/server/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
- package/.output/server/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
- package/.output/server/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -16
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js +0 -47
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/index.js +0 -52
- package/.output/server/node_modules/node-pty/lib/index.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/interfaces.js +0 -7
- package/.output/server/node_modules/node-pty/lib/interfaces.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/shared/conout.js +0 -11
- package/.output/server/node_modules/node-pty/lib/shared/conout.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.js +0 -190
- package/.output/server/node_modules/node-pty/lib/terminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/.output/server/node_modules/node-pty/lib/terminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/types.js +0 -7
- package/.output/server/node_modules/node-pty/lib/types.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js +0 -346
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/utils.js +0 -39
- package/.output/server/node_modules/node-pty/lib/utils.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js +0 -125
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js +0 -320
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js +0 -199
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
- package/.output/server/node_modules/node-pty/package.json +0 -64
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/.output/server/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/.output/server/node_modules/node-pty/scripts/post-install.js +0 -80
- package/.output/server/node_modules/node-pty/scripts/prebuild.js +0 -34
- package/.output/server/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
- package/.output/server/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
- package/.output/server/node_modules/node-pty/src/eventEmitter2.ts +0 -48
- package/.output/server/node_modules/node-pty/src/index.ts +0 -52
- package/.output/server/node_modules/node-pty/src/interfaces.ts +0 -130
- package/.output/server/node_modules/node-pty/src/native.d.ts +0 -54
- package/.output/server/node_modules/node-pty/src/shared/conout.ts +0 -15
- package/.output/server/node_modules/node-pty/src/terminal.test.ts +0 -119
- package/.output/server/node_modules/node-pty/src/terminal.ts +0 -211
- package/.output/server/node_modules/node-pty/src/testUtils.test.ts +0 -23
- package/.output/server/node_modules/node-pty/src/tsconfig.json +0 -22
- package/.output/server/node_modules/node-pty/src/types.ts +0 -15
- package/.output/server/node_modules/node-pty/src/unix/pty.cc +0 -799
- package/.output/server/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
- package/.output/server/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
- package/.output/server/node_modules/node-pty/src/unixTerminal.ts +0 -388
- package/.output/server/node_modules/node-pty/src/utils.ts +0 -29
- package/.output/server/node_modules/node-pty/src/win/conpty.cc +0 -583
- package/.output/server/node_modules/node-pty/src/win/conpty.h +0 -41
- package/.output/server/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
- package/.output/server/node_modules/node-pty/src/win/path_util.cc +0 -95
- package/.output/server/node_modules/node-pty/src/win/path_util.h +0 -26
- package/.output/server/node_modules/node-pty/src/win/winpty.cc +0 -333
- package/.output/server/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
- package/.output/server/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
- package/.output/server/node_modules/node-pty/src/windowsTerminal.ts +0 -203
- package/.output/server/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/typings/node-pty.d.ts +0 -211
- package/.output/server/node_modules/tslib/modules/index.js +0 -70
- package/.output/server/node_modules/tslib/modules/package.json +0 -3
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/package.json +0 -10
- package/scripts/release.mjs +0 -173
- package/vendor/node-domexception/index.js +0 -3
- package/vendor/node-domexception/package.json +0 -10
- /package/.output/public/assets/{abap-smLpETzL.js → abap-CglpPUUh.js} +0 -0
- /package/.output/public/assets/{actionscript-3-o-aRvjY5.js → actionscript-3-CGv72Q9E.js} +0 -0
- /package/.output/public/assets/{ada-D5RRX1i4.js → ada-CfxXaXwr.js} +0 -0
- /package/.output/public/assets/{addon-fit-CMMXLNsg.js → addon-fit-C9RD8ot3.js} +0 -0
- /package/.output/public/assets/{andromeeda-N4z3YzmR.js → andromeeda-DXsn6mTE.js} +0 -0
- /package/.output/public/assets/{apache-DttKlSqg.js → apache-D5xAQKSB.js} +0 -0
- /package/.output/public/assets/{apex-DL7j-a2n.js → apex-qgfedJV2.js} +0 -0
- /package/.output/public/assets/{applescript-DCbL_2FX.js → applescript-DqumQxTt.js} +0 -0
- /package/.output/public/assets/{ara-DqheWJCe.js → ara-Ditv3ow6.js} +0 -0
- /package/.output/public/assets/{asciidoc-BH2sf2K4.js → asciidoc-DL8QwiT7.js} +0 -0
- /package/.output/public/assets/{asm-rfjOMz3U.js → asm-K6TMxl3o.js} +0 -0
- /package/.output/public/assets/{aurora-x-CND-FqEb.js → aurora-x-DGv-xZaa.js} +0 -0
- /package/.output/public/assets/{awk-CMV5n9Z7.js → awk-CYSfQSDT.js} +0 -0
- /package/.output/public/assets/{ayu-dark-on7xzq_B.js → ayu-dark-DGBaJbpH.js} +0 -0
- /package/.output/public/assets/{ayu-light-DnGeGGc2.js → ayu-light-BQrGPVs2.js} +0 -0
- /package/.output/public/assets/{ayu-mirage-DG3LlYC_.js → ayu-mirage-Do-5o2VL.js} +0 -0
- /package/.output/public/assets/{ballerina-BjMqJjlr.js → ballerina-BE-8n54s.js} +0 -0
- /package/.output/public/assets/{bat-BaVbo_qw.js → bat-B1zTc1QZ.js} +0 -0
- /package/.output/public/assets/{beancount-DBt5Mbc_.js → beancount-DhObrvif.js} +0 -0
- /package/.output/public/assets/{berry-Cyjuxiss.js → berry-Cnbvthv1.js} +0 -0
- /package/.output/public/assets/{bibtex-BV_0nsPq.js → bibtex-pp5SrwZy.js} +0 -0
- /package/.output/public/assets/{bicep-C2gEwu4J.js → bicep-BL6eYxbs.js} +0 -0
- /package/.output/public/assets/{bird2-BRyaEJd0.js → bird2-BQaXYY9n.js} +0 -0
- /package/.output/public/assets/{c-Nc9zJT78.js → c-BHFJ4Jk3.js} +0 -0
- /package/.output/public/assets/{c3-DTTbp5N2.js → c3-BHTco5Hb.js} +0 -0
- /package/.output/public/assets/{cadence-CPz83cmI.js → cadence-CoPxW0qb.js} +0 -0
- /package/.output/public/assets/{catppuccin-frappe-Dr22sraq.js → catppuccin-frappe-9fYwMJCf.js} +0 -0
- /package/.output/public/assets/{catppuccin-latte-C57EeX8c.js → catppuccin-latte-BUiKH1yZ.js} +0 -0
- /package/.output/public/assets/{catppuccin-macchiato-CpheI4uD.js → catppuccin-macchiato-ZmO2e0M_.js} +0 -0
- /package/.output/public/assets/{catppuccin-mocha-D8Lmdks_.js → catppuccin-mocha-CFwbXQfO.js} +0 -0
- /package/.output/public/assets/{clarity-CFJ2Yc3q.js → clarity-DVUGm1xP.js} +0 -0
- /package/.output/public/assets/{clojure-6R01QgJC.js → clojure-BgXJG6FG.js} +0 -0
- /package/.output/public/assets/{cmake-D5rSbMir.js → cmake-CZndsvm6.js} +0 -0
- /package/.output/public/assets/{codeowners-_3A-ClkN.js → codeowners-Dd7a447M.js} +0 -0
- /package/.output/public/assets/{codeql-DlIhJTR7.js → codeql-XJR6llG-.js} +0 -0
- /package/.output/public/assets/{common-lisp-BvQzz173.js → common-lisp-BOMbLvgT.js} +0 -0
- /package/.output/public/assets/{coq-DTNXReIC.js → coq-DnhmQYDa.js} +0 -0
- /package/.output/public/assets/{csharp-BDKQY1K9.js → csharp-BdEyRqBm.js} +0 -0
- /package/.output/public/assets/{css-DRmnABqB.js → css-CsTDDTLq.js} +0 -0
- /package/.output/public/assets/{csv-DNUpVBxl.js → csv-CXchYFbz.js} +0 -0
- /package/.output/public/assets/{cue-DDdBc2s3.js → cue-D7YpBZvd.js} +0 -0
- /package/.output/public/assets/{cypher-CguaznO2.js → cypher-XIm1N8YJ.js} +0 -0
- /package/.output/public/assets/{d-CHcoyjv3.js → d-DvB0pbZH.js} +0 -0
- /package/.output/public/assets/{dark-plus-CqeW_0kH.js → dark-plus-BUdpMFIA.js} +0 -0
- /package/.output/public/assets/{dart-RM3aRphk.js → dart-CwpSKTMB.js} +0 -0
- /package/.output/public/assets/{dax-nbnY1d79.js → dax-CEynWJsU.js} +0 -0
- /package/.output/public/assets/{desktop-BD76cvxT.js → desktop-Dk-YiYS_.js} +0 -0
- /package/.output/public/assets/{diff-CdkWtnkL.js → diff-abLZ-xM1.js} +0 -0
- /package/.output/public/assets/{docker-ZyPHc6zB.js → docker-BT48KsRJ.js} +0 -0
- /package/.output/public/assets/{dotenv-BdJZEwA6.js → dotenv-NOMQQbM0.js} +0 -0
- /package/.output/public/assets/{dracula-CtqCPLGa.js → dracula-BUW0ZyNO.js} +0 -0
- /package/.output/public/assets/{dracula-soft-DmBpwRAy.js → dracula-soft-BMjAt1_u.js} +0 -0
- /package/.output/public/assets/{dream-maker-BJL4qlg3.js → dream-maker-D26TP1Q3.js} +0 -0
- /package/.output/public/assets/{emacs-lisp-_LyYa2Ky.js → emacs-lisp-C2EvfotR.js} +0 -0
- /package/.output/public/assets/{everforest-dark-CrbyKk4n.js → everforest-dark-hC6a272f.js} +0 -0
- /package/.output/public/assets/{everforest-light-DRbSh8Tm.js → everforest-light-BTpbYY5G.js} +0 -0
- /package/.output/public/assets/{fennel-CC2BkRsS.js → fennel-DWOL-Ewx.js} +0 -0
- /package/.output/public/assets/{fish-D2ZCzqcE.js → fish-CQPQq0pQ.js} +0 -0
- /package/.output/public/assets/{fluent-DKAm3m7q.js → fluent-BYdsr2M8.js} +0 -0
- /package/.output/public/assets/{fortran-free-form-BPTf0lbT.js → fortran-free-form-C_EtY4F9.js} +0 -0
- /package/.output/public/assets/{gdscript-CsadCSaZ.js → gdscript-CH_tD-VB.js} +0 -0
- /package/.output/public/assets/{gdshader-PfnN_8tR.js → gdshader-BemFblFP.js} +0 -0
- /package/.output/public/assets/{genie-Bj-orPAV.js → genie-hCPg_eq7.js} +0 -0
- /package/.output/public/assets/{gherkin-COVWpJ-Q.js → gherkin-CO0ypD1P.js} +0 -0
- /package/.output/public/assets/{github-dark-ipGuFGYC.js → github-dark-cA72fqmI.js} +0 -0
- /package/.output/public/assets/{github-dark-default-DX3IG_X0.js → github-dark-default-DiYTFvY5.js} +0 -0
- /package/.output/public/assets/{github-dark-dimmed-CH6p_7ez.js → github-dark-dimmed-D-uBHzyG.js} +0 -0
- /package/.output/public/assets/{github-dark-high-contrast-Bg2sSao5.js → github-dark-high-contrast-BrUSkckI.js} +0 -0
- /package/.output/public/assets/{github-light-default-DwpDd1IQ.js → github-light-default-BT-6Vf7C.js} +0 -0
- /package/.output/public/assets/{github-light-high-contrast-C0QeixPf.js → github-light-high-contrast-DqmEyTTc.js} +0 -0
- /package/.output/public/assets/{github-light-BxjqOQl0.js → github-light-piFPqU8R.js} +0 -0
- /package/.output/public/assets/{gleam-BF2NigGj.js → gleam-CWJA_H5i.js} +0 -0
- /package/.output/public/assets/{gn-CMIt9roj.js → gn-nlTwLSjP.js} +0 -0
- /package/.output/public/assets/{gnuplot-DgWlRTEj.js → gnuplot-wYV0MbPl.js} +0 -0
- /package/.output/public/assets/{go-DLnOLj8q.js → go-BUPBDRDo.js} +0 -0
- /package/.output/public/assets/{groovy-B9qLWIkE.js → groovy-BusafOA8.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-hard-BIMX9ePb.js → gruvbox-dark-hard-BrrZYoPF.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-medium-DxuwyVzM.js → gruvbox-dark-medium-DsxcLuUs.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-soft-ba2fjht0.js → gruvbox-dark-soft-DQXOs_GH.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-hard-DAJK2PqC.js → gruvbox-light-hard-CtHwj_cB.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-medium-WRifDAJD.js → gruvbox-light-medium-CPJMdgXQ.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-soft-B0dBOoVB.js → gruvbox-light-soft-C4Xh9Hc-.js} +0 -0
- /package/.output/public/assets/{haskell-BaGpmm_c.js → haskell-CaDqJkn4.js} +0 -0
- /package/.output/public/assets/{haxe-DfXTCEOz.js → haxe-Dxg-8_J7.js} +0 -0
- /package/.output/public/assets/{hcl-CbCtpSbi.js → hcl-Bjg-rMJ0.js} +0 -0
- /package/.output/public/assets/{hjson-_4-w-pHU.js → hjson-BMbeOOMg.js} +0 -0
- /package/.output/public/assets/{hlsl-DpuYn7pp.js → hlsl-D-cuwCFV.js} +0 -0
- /package/.output/public/assets/{horizon-C5RtD1fY.js → horizon-BofYY9of.js} +0 -0
- /package/.output/public/assets/{horizon-bright-pEOice34.js → horizon-bright-CFOVQsf2.js} +0 -0
- /package/.output/public/assets/{houston-A0zg9vNP.js → houston-BIBYxFpQ.js} +0 -0
- /package/.output/public/assets/{hy-t9zDXBje.js → hy-Cye3Jt7O.js} +0 -0
- /package/.output/public/assets/{imba-Bxu-TDfw.js → imba-CjkQtgD2.js} +0 -0
- /package/.output/public/assets/{ini-D-v34c8N.js → ini-BvMtfDNl.js} +0 -0
- /package/.output/public/assets/{java-DVLnIrqC.js → java-BYO3uQJZ.js} +0 -0
- /package/.output/public/assets/{javascript-Cop1kpy_.js → javascript-BsdGTPv_.js} +0 -0
- /package/.output/public/assets/{json-CTw4n7kn.js → json-Kp2u6f_f.js} +0 -0
- /package/.output/public/assets/{json5-D0XL1D5m.js → json5-BCxDPjxU.js} +0 -0
- /package/.output/public/assets/{jsonc-BBgf3TX3.js → jsonc-BV8VFjqO.js} +0 -0
- /package/.output/public/assets/{jsonl-KrKLbtB7.js → jsonl-DHrr7c-M.js} +0 -0
- /package/.output/public/assets/{jsonnet-B2ZwWMOt.js → jsonnet-xURar8mu.js} +0 -0
- /package/.output/public/assets/{jssm-ByRpI9-B.js → jssm-DtoLUQAt.js} +0 -0
- /package/.output/public/assets/{jsx-0oMUGqZj.js → jsx-CyrO086S.js} +0 -0
- /package/.output/public/assets/{kanagawa-dragon-CtPmcCMp.js → kanagawa-dragon-COwlYgQB.js} +0 -0
- /package/.output/public/assets/{kanagawa-lotus-DpOXEGCa.js → kanagawa-lotus-GZWqyq_E.js} +0 -0
- /package/.output/public/assets/{kanagawa-wave-CLVCyc-n.js → kanagawa-wave-CP4uw3DX.js} +0 -0
- /package/.output/public/assets/{kdl-6FPPEH4H.js → kdl-DGo2N7N5.js} +0 -0
- /package/.output/public/assets/{kotlin-D4L3Nd2D.js → kotlin-Cm4W8Bbs.js} +0 -0
- /package/.output/public/assets/{kusto-D-mmc07O.js → kusto-DQ22_tcT.js} +0 -0
- /package/.output/public/assets/{laserwave-7fEj4XGb.js → laserwave-DfABGYsD.js} +0 -0
- /package/.output/public/assets/{lean-BMVMuP2E.js → lean-D-8a6Wwv.js} +0 -0
- /package/.output/public/assets/{less-C95PyOu0.js → less-B-qZzFKw.js} +0 -0
- /package/.output/public/assets/{light-plus-DHI2dh3p.js → light-plus-DS_rmE1N.js} +0 -0
- /package/.output/public/assets/{llvm-Dy3qORTl.js → llvm-Ch-k6TUk.js} +0 -0
- /package/.output/public/assets/{log-BQop7fzg.js → log-BGwbCG2S.js} +0 -0
- /package/.output/public/assets/{logo-DKtnYmrp.js → logo-DHGHbFWy.js} +0 -0
- /package/.output/public/assets/{luau-Dha4KG0q.js → luau-qsvm_nYh.js} +0 -0
- /package/.output/public/assets/{make-DfmS6buu.js → make-Dlfjp_Q8.js} +0 -0
- /package/.output/public/assets/{markdown-BaI9LyM4.js → markdown-COh4ruD_.js} +0 -0
- /package/.output/public/assets/{material-theme-Dm6ETY8i.js → material-theme-Ccrl1jie.js} +0 -0
- /package/.output/public/assets/{material-theme-darker-BeyjmM5Z.js → material-theme-darker-CcOH0iHe.js} +0 -0
- /package/.output/public/assets/{material-theme-lighter-CCOYYzKL.js → material-theme-lighter-DoKpC7NM.js} +0 -0
- /package/.output/public/assets/{material-theme-ocean-CUtPiiX3.js → material-theme-ocean-BcvBZHgH.js} +0 -0
- /package/.output/public/assets/{material-theme-palenight-2L4zMwIM.js → material-theme-palenight-DIL4EAzl.js} +0 -0
- /package/.output/public/assets/{matlab-BT79Cq_j.js → matlab-CBqMuw7w.js} +0 -0
- /package/.output/public/assets/{mdx-CxGBwLNt.js → mdx-BjoJxHxW.js} +0 -0
- /package/.output/public/assets/{mermaid-DLf3axBN.js → mermaid-DjAh2yR5.js} +0 -0
- /package/.output/public/assets/{min-dark-B8TUPGHg.js → min-dark-CbwghdE5.js} +0 -0
- /package/.output/public/assets/{min-light-BDOoBxcA.js → min-light-_F39d_94.js} +0 -0
- /package/.output/public/assets/{mipsasm-DXuU_0cI.js → mipsasm-DA1H0O78.js} +0 -0
- /package/.output/public/assets/{mojo-1Omp2pIo.js → mojo-BVgjRjTn.js} +0 -0
- /package/.output/public/assets/{monokai-E_VBmXGZ.js → monokai-CxgvaWkX.js} +0 -0
- /package/.output/public/assets/{moonbit-DZzq699o.js → moonbit-tKY94ZOM.js} +0 -0
- /package/.output/public/assets/{move-DxDAOJVd.js → move-B5WspEjG.js} +0 -0
- /package/.output/public/assets/{narrat-CxDcPPb9.js → narrat-CDPRStf_.js} +0 -0
- /package/.output/public/assets/{nextflow-groovy-wvmJO4hi.js → nextflow-groovy-1GYTZoD5.js} +0 -0
- /package/.output/public/assets/{night-owl-DefhalNX.js → night-owl-CCydx7ZR.js} +0 -0
- /package/.output/public/assets/{night-owl-light-byb3AbEn.js → night-owl-light-CLM7UUPY.js} +0 -0
- /package/.output/public/assets/{nix-DsFTDHWT.js → nix-DXFN4IwW.js} +0 -0
- /package/.output/public/assets/{nord-D5rQzHT-.js → nord-CiCWZ1de.js} +0 -0
- /package/.output/public/assets/{nushell-BQ_rO0AM.js → nushell-Ck9o2qOx.js} +0 -0
- /package/.output/public/assets/{objective-c-BMq6JT_m.js → objective-c-4koxci9E.js} +0 -0
- /package/.output/public/assets/{objective-cpp-DRwojuGv.js → objective-cpp-BPFAgSN9.js} +0 -0
- /package/.output/public/assets/{ocaml-e4_gKO6E.js → ocaml-BdlBLhZV.js} +0 -0
- /package/.output/public/assets/{odin-mdTPwYOg.js → odin-BcGOLCqZ.js} +0 -0
- /package/.output/public/assets/{one-dark-pro-DxXww9jg.js → one-dark-pro-DEMdTgiO.js} +0 -0
- /package/.output/public/assets/{one-light-D9c03w7t.js → one-light-Cmpe9X1u.js} +0 -0
- /package/.output/public/assets/{openscad-D2aTdNfr.js → openscad-DBveSHYE.js} +0 -0
- /package/.output/public/assets/{pascal-D4n_G8vj.js → pascal-DxOVE99u.js} +0 -0
- /package/.output/public/assets/{pierre-dark-CizZ1Z5z.js → pierre-dark-DIUCKU6U.js} +0 -0
- /package/.output/public/assets/{pierre-light-CHMWfAMe.js → pierre-light-DVO2KPlh.js} +0 -0
- /package/.output/public/assets/{pkl-DcjhAp0L.js → pkl-pIvtf7Vu.js} +0 -0
- /package/.output/public/assets/{plastic-uOsw7z1x.js → plastic-Dvdf8qVN.js} +0 -0
- /package/.output/public/assets/{plsql-BSy3Ag0J.js → plsql-d50MFTFK.js} +0 -0
- /package/.output/public/assets/{po-Be96RYkA.js → po-CboxWwYg.js} +0 -0
- /package/.output/public/assets/{poimandres-CyO4HORD.js → poimandres-DHgQGH4M.js} +0 -0
- /package/.output/public/assets/{polar-BmhMKWum.js → polar-DNp7Oek8.js} +0 -0
- /package/.output/public/assets/{postcss-BTQso3H9.js → postcss-LpmI6XQv.js} +0 -0
- /package/.output/public/assets/{powerquery-DVyQv3M2.js → powerquery-BNCl8Uwz.js} +0 -0
- /package/.output/public/assets/{powershell-BmtCGJVD.js → powershell-CZ9J0XuS.js} +0 -0
- /package/.output/public/assets/{prisma-CCFA9rEj.js → prisma-AELUiJCl.js} +0 -0
- /package/.output/public/assets/{prolog-DWGEEo78.js → prolog-BlqwejRD.js} +0 -0
- /package/.output/public/assets/{proto-C3eop1kM.js → proto-DRQC3swD.js} +0 -0
- /package/.output/public/assets/{puppet-C0_7Nv5A.js → puppet-DBKR8MlH.js} +0 -0
- /package/.output/public/assets/{purescript-Bv-B8yRw.js → purescript-DItLzxZS.js} +0 -0
- /package/.output/public/assets/{python-CKg5r0C3.js → python-D9t_ETu8.js} +0 -0
- /package/.output/public/assets/{qmldir-Cqfb4Lox.js → qmldir-DP_KD1nk.js} +0 -0
- /package/.output/public/assets/{qss-Csho9BH8.js → qss-CL02opOd.js} +0 -0
- /package/.output/public/assets/{r-UcxRcvcA.js → r-DmmrCFmB.js} +0 -0
- /package/.output/public/assets/{racket-D8-uWeQH.js → racket-K0frLTWj.js} +0 -0
- /package/.output/public/assets/{raku-Cj4JSa8p.js → raku-DwgLlPg9.js} +0 -0
- /package/.output/public/assets/{red-z4H4llUY.js → red-DzDu-aXc.js} +0 -0
- /package/.output/public/assets/{reg-DXGFiJSl.js → reg-B_y3c7di.js} +0 -0
- /package/.output/public/assets/{regexp-3-A0406L.js → regexp--eMB47Xx.js} +0 -0
- /package/.output/public/assets/{rel-CunnVTBK.js → rel-CT65ywJp.js} +0 -0
- /package/.output/public/assets/{riscv-C8BcOCkS.js → riscv-Qv5W2vIg.js} +0 -0
- /package/.output/public/assets/{ron-DiDyR9oa.js → ron-cRHu9zPp.js} +0 -0
- /package/.output/public/assets/{rose-pine-BADquuIH.js → rose-pine-DFmTJHIJ.js} +0 -0
- /package/.output/public/assets/{rose-pine-dawn-BLcEeBoh.js → rose-pine-dawn-YIuK9wUm.js} +0 -0
- /package/.output/public/assets/{rose-pine-moon-BK_tLY1Y.js → rose-pine-moon-BYEHfkUB.js} +0 -0
- /package/.output/public/assets/{rosmsg-CHmL1Uyj.js → rosmsg-_L1z4wrx.js} +0 -0
- /package/.output/public/assets/{rust-DjJFInu3.js → rust-BA5wQ_EY.js} +0 -0
- /package/.output/public/assets/{sass-D3xZ5o-v.js → sass-sd__ov8V.js} +0 -0
- /package/.output/public/assets/{scala-B0IRml5w.js → scala--cVG4U7H.js} +0 -0
- /package/.output/public/assets/{scheme-BhwcV3Av.js → scheme-D6Q1O-kY.js} +0 -0
- /package/.output/public/assets/{sdbl-BmWYR-pI.js → sdbl-jB0DUrL_.js} +0 -0
- /package/.output/public/assets/{shellscript-DaVPunOM.js → shellscript-DyWRuzkj.js} +0 -0
- /package/.output/public/assets/{slack-dark-DOnVms5P.js → slack-dark-DHhAlQBa.js} +0 -0
- /package/.output/public/assets/{slack-ochin-DcRTft4q.js → slack-ochin-PZXbcZaN.js} +0 -0
- /package/.output/public/assets/{smalltalk-DVQuUMII.js → smalltalk-C7VkdTlv.js} +0 -0
- /package/.output/public/assets/{snazzy-light-x9CLJ1W9.js → snazzy-light-CPc_Qts9.js} +0 -0
- /package/.output/public/assets/{solarized-dark-BB1sh-pe.js → solarized-dark-DCCfKtTh.js} +0 -0
- /package/.output/public/assets/{solarized-light-9-RPS998.js → solarized-light-B84T-R9X.js} +0 -0
- /package/.output/public/assets/{solidity-gQ4WXILB.js → solidity-DVsDPpDS.js} +0 -0
- /package/.output/public/assets/{splunk-OB48_RcD.js → splunk-A-BwP6Va.js} +0 -0
- /package/.output/public/assets/{sql-CrTmZCMa.js → sql-CRzu7iKx.js} +0 -0
- /package/.output/public/assets/{ssh-config-DA9YMRGV.js → ssh-config-CFPv6mTy.js} +0 -0
- /package/.output/public/assets/{stylus-sKwvsUaC.js → stylus-CUf3IESt.js} +0 -0
- /package/.output/public/assets/{swift-C72NbAtg.js → swift-CSiiYB_Q.js} +0 -0
- /package/.output/public/assets/{synthwave-84-eJ9uRN_S.js → synthwave-84-uJp1j2Jd.js} +0 -0
- /package/.output/public/assets/{system-verilog-CnWMF7Nq.js → system-verilog-rMjKy-O9.js} +0 -0
- /package/.output/public/assets/{systemd-DMzItW5N.js → systemd-R-KDM4-t.js} +0 -0
- /package/.output/public/assets/{talonscript-DopQCWDL.js → talonscript-D666vCtm.js} +0 -0
- /package/.output/public/assets/{tasl-C28SYKbq.js → tasl-68cbBocU.js} +0 -0
- /package/.output/public/assets/{tcl-DHq7zmoF.js → tcl-Y39dJ_pX.js} +0 -0
- /package/.output/public/assets/{terraform-CogS1YKX.js → terraform-BF7wAo-b.js} +0 -0
- /package/.output/public/assets/{tokyo-night-B9N7LyrF.js → tokyo-night-EeABtN82.js} +0 -0
- /package/.output/public/assets/{toml-BH_iPsgK.js → toml-BrMFN1JF.js} +0 -0
- /package/.output/public/assets/{tsv-BIkdBZX1.js → tsv-Dp2l5v7f.js} +0 -0
- /package/.output/public/assets/{tsx-BjkCKOtw.js → tsx-CQqypS0k.js} +0 -0
- /package/.output/public/assets/{turtle-CqNXyJWZ.js → turtle-_N1aDtpV.js} +0 -0
- /package/.output/public/assets/{typescript-BoHeP9q1.js → typescript-CPmDkqmE.js} +0 -0
- /package/.output/public/assets/{typespec-CQ9LYD_e.js → typespec-ghgF2GAI.js} +0 -0
- /package/.output/public/assets/{typst-T-Fsk-Sv.js → typst-DP_izaNK.js} +0 -0
- /package/.output/public/assets/{v-BhMEOw9x.js → v-CdNC_Wok.js} +0 -0
- /package/.output/public/assets/{vala-DzajMnwt.js → vala-Bu4pYkLC.js} +0 -0
- /package/.output/public/assets/{vb-7Xr8dEYW.js → vb-u84IyWSS.js} +0 -0
- /package/.output/public/assets/{verilog-AvXtwZir.js → verilog-BC33pi7Z.js} +0 -0
- /package/.output/public/assets/{vesper-CtgQQ2sf.js → vesper-7-XtS0Kg.js} +0 -0
- /package/.output/public/assets/{vhdl-BHu0zg1P.js → vhdl-BBxTOQe0.js} +0 -0
- /package/.output/public/assets/{viml-Di0QpLfC.js → viml-X_r-ivXA.js} +0 -0
- /package/.output/public/assets/{vitesse-black-jXdfyqgD.js → vitesse-black-DRdlY-cW.js} +0 -0
- /package/.output/public/assets/{vitesse-dark-B88PxG1r.js → vitesse-dark-Bz0hOFHJ.js} +0 -0
- /package/.output/public/assets/{vitesse-light-BXxZh2iV.js → vitesse-light-7kCLd0yn.js} +0 -0
- /package/.output/public/assets/{vyper-C3R5yXgx.js → vyper-E7qIwMXy.js} +0 -0
- /package/.output/public/assets/{wasm-D_MQmneJ.js → wasm-BqG9CUph.js} +0 -0
- /package/.output/public/assets/{wasm-Chsuwt1A.js → wasm-C18OEcCL.js} +0 -0
- /package/.output/public/assets/{wenyan-BonVcr2i.js → wenyan-siXAC4el.js} +0 -0
- /package/.output/public/assets/{wgsl-D59WYmNq.js → wgsl-BJQt8Uld.js} +0 -0
- /package/.output/public/assets/{wikitext-ariTI2Wk.js → wikitext-Ci0ePJmf.js} +0 -0
- /package/.output/public/assets/{wit-EA4fa3Dt.js → wit-BdDJ7geN.js} +0 -0
- /package/.output/public/assets/{wolfram-DDp7LhyU.js → wolfram-Bi-O1IUM.js} +0 -0
- /package/.output/public/assets/{xterm-CCMwI7sy.js → xterm-TTe2Bv9Z.js} +0 -0
- /package/.output/public/assets/{yaml-BTD1XHJG.js → yaml-DgkO7CC2.js} +0 -0
- /package/.output/public/assets/{zenscript-4WaROUyc.js → zenscript-CnkrxCBw.js} +0 -0
- /package/.output/public/assets/{zig-CJoLJGwV.js → zig-CgMsxF9-.js} +0 -0
|
@@ -1,2202 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
2
|
-
var Subscribable = class {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.listeners = /* @__PURE__ */ new Set();
|
|
5
|
-
this.subscribe = this.subscribe.bind(this);
|
|
6
|
-
}
|
|
7
|
-
subscribe(listener) {
|
|
8
|
-
this.listeners.add(listener);
|
|
9
|
-
this.onSubscribe();
|
|
10
|
-
return () => {
|
|
11
|
-
this.listeners.delete(listener);
|
|
12
|
-
this.onUnsubscribe();
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
hasListeners() {
|
|
16
|
-
return this.listeners.size > 0;
|
|
17
|
-
}
|
|
18
|
-
onSubscribe() {}
|
|
19
|
-
onUnsubscribe() {}
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/focusManager.js
|
|
23
|
-
var FocusManager = class extends Subscribable {
|
|
24
|
-
#focused;
|
|
25
|
-
#cleanup;
|
|
26
|
-
#setup;
|
|
27
|
-
constructor() {
|
|
28
|
-
super();
|
|
29
|
-
this.#setup = (onFocus) => {
|
|
30
|
-
if (typeof window !== "undefined" && window.addEventListener) {
|
|
31
|
-
const listener = () => onFocus();
|
|
32
|
-
window.addEventListener("visibilitychange", listener, false);
|
|
33
|
-
return () => {
|
|
34
|
-
window.removeEventListener("visibilitychange", listener);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
onSubscribe() {
|
|
40
|
-
if (!this.#cleanup) this.setEventListener(this.#setup);
|
|
41
|
-
}
|
|
42
|
-
onUnsubscribe() {
|
|
43
|
-
if (!this.hasListeners()) {
|
|
44
|
-
this.#cleanup?.();
|
|
45
|
-
this.#cleanup = void 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
setEventListener(setup) {
|
|
49
|
-
this.#setup = setup;
|
|
50
|
-
this.#cleanup?.();
|
|
51
|
-
this.#cleanup = setup((focused) => {
|
|
52
|
-
if (typeof focused === "boolean") this.setFocused(focused);
|
|
53
|
-
else this.onFocus();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
setFocused(focused) {
|
|
57
|
-
if (this.#focused !== focused) {
|
|
58
|
-
this.#focused = focused;
|
|
59
|
-
this.onFocus();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
onFocus() {
|
|
63
|
-
const isFocused = this.isFocused();
|
|
64
|
-
this.listeners.forEach((listener) => {
|
|
65
|
-
listener(isFocused);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
isFocused() {
|
|
69
|
-
if (typeof this.#focused === "boolean") return this.#focused;
|
|
70
|
-
return globalThis.document?.visibilityState !== "hidden";
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
var focusManager = new FocusManager();
|
|
74
|
-
//#endregion
|
|
75
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/timeoutManager.js
|
|
76
|
-
var defaultTimeoutProvider = {
|
|
77
|
-
setTimeout: (callback, delay) => setTimeout(callback, delay),
|
|
78
|
-
clearTimeout: (timeoutId) => clearTimeout(timeoutId),
|
|
79
|
-
setInterval: (callback, delay) => setInterval(callback, delay),
|
|
80
|
-
clearInterval: (intervalId) => clearInterval(intervalId)
|
|
81
|
-
};
|
|
82
|
-
var TimeoutManager = class {
|
|
83
|
-
#provider = defaultTimeoutProvider;
|
|
84
|
-
#providerCalled = false;
|
|
85
|
-
setTimeoutProvider(provider) {
|
|
86
|
-
this.#provider = provider;
|
|
87
|
-
}
|
|
88
|
-
setTimeout(callback, delay) {
|
|
89
|
-
return this.#provider.setTimeout(callback, delay);
|
|
90
|
-
}
|
|
91
|
-
clearTimeout(timeoutId) {
|
|
92
|
-
this.#provider.clearTimeout(timeoutId);
|
|
93
|
-
}
|
|
94
|
-
setInterval(callback, delay) {
|
|
95
|
-
return this.#provider.setInterval(callback, delay);
|
|
96
|
-
}
|
|
97
|
-
clearInterval(intervalId) {
|
|
98
|
-
this.#provider.clearInterval(intervalId);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
var timeoutManager = new TimeoutManager();
|
|
102
|
-
function systemSetTimeoutZero(callback) {
|
|
103
|
-
setTimeout(callback, 0);
|
|
104
|
-
}
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/utils.js
|
|
107
|
-
var isServer = typeof window === "undefined" || "Deno" in globalThis;
|
|
108
|
-
function noop() {}
|
|
109
|
-
function functionalUpdate(updater, input) {
|
|
110
|
-
return typeof updater === "function" ? updater(input) : updater;
|
|
111
|
-
}
|
|
112
|
-
function isValidTimeout(value) {
|
|
113
|
-
return typeof value === "number" && value >= 0 && value !== Infinity;
|
|
114
|
-
}
|
|
115
|
-
function timeUntilStale(updatedAt, staleTime) {
|
|
116
|
-
return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0);
|
|
117
|
-
}
|
|
118
|
-
function resolveStaleTime(staleTime, query) {
|
|
119
|
-
return typeof staleTime === "function" ? staleTime(query) : staleTime;
|
|
120
|
-
}
|
|
121
|
-
function resolveEnabled(enabled, query) {
|
|
122
|
-
return typeof enabled === "function" ? enabled(query) : enabled;
|
|
123
|
-
}
|
|
124
|
-
function matchQuery(filters, query) {
|
|
125
|
-
const { type = "all", exact, fetchStatus, predicate, queryKey, stale } = filters;
|
|
126
|
-
if (queryKey) {
|
|
127
|
-
if (exact) {
|
|
128
|
-
if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) return false;
|
|
129
|
-
} else if (!partialMatchKey(query.queryKey, queryKey)) return false;
|
|
130
|
-
}
|
|
131
|
-
if (type !== "all") {
|
|
132
|
-
const isActive = query.isActive();
|
|
133
|
-
if (type === "active" && !isActive) return false;
|
|
134
|
-
if (type === "inactive" && isActive) return false;
|
|
135
|
-
}
|
|
136
|
-
if (typeof stale === "boolean" && query.isStale() !== stale) return false;
|
|
137
|
-
if (fetchStatus && fetchStatus !== query.state.fetchStatus) return false;
|
|
138
|
-
if (predicate && !predicate(query)) return false;
|
|
139
|
-
return true;
|
|
140
|
-
}
|
|
141
|
-
function matchMutation(filters, mutation) {
|
|
142
|
-
const { exact, status, predicate, mutationKey } = filters;
|
|
143
|
-
if (mutationKey) {
|
|
144
|
-
if (!mutation.options.mutationKey) return false;
|
|
145
|
-
if (exact) {
|
|
146
|
-
if (hashKey(mutation.options.mutationKey) !== hashKey(mutationKey)) return false;
|
|
147
|
-
} else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) return false;
|
|
148
|
-
}
|
|
149
|
-
if (status && mutation.state.status !== status) return false;
|
|
150
|
-
if (predicate && !predicate(mutation)) return false;
|
|
151
|
-
return true;
|
|
152
|
-
}
|
|
153
|
-
function hashQueryKeyByOptions(queryKey, options) {
|
|
154
|
-
return (options?.queryKeyHashFn || hashKey)(queryKey);
|
|
155
|
-
}
|
|
156
|
-
function hashKey(queryKey) {
|
|
157
|
-
return JSON.stringify(queryKey, (_, val) => isPlainObject(val) ? Object.keys(val).sort().reduce((result, key) => {
|
|
158
|
-
result[key] = val[key];
|
|
159
|
-
return result;
|
|
160
|
-
}, {}) : val);
|
|
161
|
-
}
|
|
162
|
-
function partialMatchKey(a, b) {
|
|
163
|
-
if (a === b) return true;
|
|
164
|
-
if (typeof a !== typeof b) return false;
|
|
165
|
-
if (a && b && typeof a === "object" && typeof b === "object") return Object.keys(b).every((key) => partialMatchKey(a[key], b[key]));
|
|
166
|
-
return false;
|
|
167
|
-
}
|
|
168
|
-
var hasOwn = Object.prototype.hasOwnProperty;
|
|
169
|
-
function replaceEqualDeep(a, b, depth = 0) {
|
|
170
|
-
if (a === b) return a;
|
|
171
|
-
if (depth > 500) return b;
|
|
172
|
-
const array = isPlainArray(a) && isPlainArray(b);
|
|
173
|
-
if (!array && !(isPlainObject(a) && isPlainObject(b))) return b;
|
|
174
|
-
const aSize = (array ? a : Object.keys(a)).length;
|
|
175
|
-
const bItems = array ? b : Object.keys(b);
|
|
176
|
-
const bSize = bItems.length;
|
|
177
|
-
const copy = array ? new Array(bSize) : {};
|
|
178
|
-
let equalItems = 0;
|
|
179
|
-
for (let i = 0; i < bSize; i++) {
|
|
180
|
-
const key = array ? i : bItems[i];
|
|
181
|
-
const aItem = a[key];
|
|
182
|
-
const bItem = b[key];
|
|
183
|
-
if (aItem === bItem) {
|
|
184
|
-
copy[key] = aItem;
|
|
185
|
-
if (array ? i < aSize : hasOwn.call(a, key)) equalItems++;
|
|
186
|
-
continue;
|
|
187
|
-
}
|
|
188
|
-
if (aItem === null || bItem === null || typeof aItem !== "object" || typeof bItem !== "object") {
|
|
189
|
-
copy[key] = bItem;
|
|
190
|
-
continue;
|
|
191
|
-
}
|
|
192
|
-
const v = replaceEqualDeep(aItem, bItem, depth + 1);
|
|
193
|
-
copy[key] = v;
|
|
194
|
-
if (v === aItem) equalItems++;
|
|
195
|
-
}
|
|
196
|
-
return aSize === bSize && equalItems === aSize ? a : copy;
|
|
197
|
-
}
|
|
198
|
-
function shallowEqualObjects(a, b) {
|
|
199
|
-
if (!b || Object.keys(a).length !== Object.keys(b).length) return false;
|
|
200
|
-
for (const key in a) if (a[key] !== b[key]) return false;
|
|
201
|
-
return true;
|
|
202
|
-
}
|
|
203
|
-
function isPlainArray(value) {
|
|
204
|
-
return Array.isArray(value) && value.length === Object.keys(value).length;
|
|
205
|
-
}
|
|
206
|
-
function isPlainObject(o) {
|
|
207
|
-
if (!hasObjectPrototype(o)) return false;
|
|
208
|
-
const ctor = o.constructor;
|
|
209
|
-
if (ctor === void 0) return true;
|
|
210
|
-
const prot = ctor.prototype;
|
|
211
|
-
if (!hasObjectPrototype(prot)) return false;
|
|
212
|
-
if (!prot.hasOwnProperty("isPrototypeOf")) return false;
|
|
213
|
-
if (Object.getPrototypeOf(o) !== Object.prototype) return false;
|
|
214
|
-
return true;
|
|
215
|
-
}
|
|
216
|
-
function hasObjectPrototype(o) {
|
|
217
|
-
return Object.prototype.toString.call(o) === "[object Object]";
|
|
218
|
-
}
|
|
219
|
-
function sleep(timeout) {
|
|
220
|
-
return new Promise((resolve) => {
|
|
221
|
-
timeoutManager.setTimeout(resolve, timeout);
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
function replaceData(prevData, data, options) {
|
|
225
|
-
if (typeof options.structuralSharing === "function") return options.structuralSharing(prevData, data);
|
|
226
|
-
else if (options.structuralSharing !== false) return replaceEqualDeep(prevData, data);
|
|
227
|
-
return data;
|
|
228
|
-
}
|
|
229
|
-
function addToEnd(items, item, max = 0) {
|
|
230
|
-
const newItems = [...items, item];
|
|
231
|
-
return max && newItems.length > max ? newItems.slice(1) : newItems;
|
|
232
|
-
}
|
|
233
|
-
function addToStart(items, item, max = 0) {
|
|
234
|
-
const newItems = [item, ...items];
|
|
235
|
-
return max && newItems.length > max ? newItems.slice(0, -1) : newItems;
|
|
236
|
-
}
|
|
237
|
-
var skipToken = /* @__PURE__ */ Symbol();
|
|
238
|
-
function ensureQueryFn(options, fetchOptions) {
|
|
239
|
-
if (!options.queryFn && fetchOptions?.initialPromise) return () => fetchOptions.initialPromise;
|
|
240
|
-
if (!options.queryFn || options.queryFn === skipToken) return () => Promise.reject(/* @__PURE__ */ new Error(`Missing queryFn: '${options.queryHash}'`));
|
|
241
|
-
return options.queryFn;
|
|
242
|
-
}
|
|
243
|
-
function shouldThrowError(throwOnError, params) {
|
|
244
|
-
if (typeof throwOnError === "function") return throwOnError(...params);
|
|
245
|
-
return !!throwOnError;
|
|
246
|
-
}
|
|
247
|
-
function addConsumeAwareSignal(object, getSignal, onCancelled) {
|
|
248
|
-
let consumed = false;
|
|
249
|
-
let signal;
|
|
250
|
-
Object.defineProperty(object, "signal", {
|
|
251
|
-
enumerable: true,
|
|
252
|
-
get: () => {
|
|
253
|
-
signal ??= getSignal();
|
|
254
|
-
if (consumed) return signal;
|
|
255
|
-
consumed = true;
|
|
256
|
-
if (signal.aborted) onCancelled();
|
|
257
|
-
else signal.addEventListener("abort", onCancelled, { once: true });
|
|
258
|
-
return signal;
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
return object;
|
|
262
|
-
}
|
|
263
|
-
//#endregion
|
|
264
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
265
|
-
var environmentManager = /* @__PURE__ */ (() => {
|
|
266
|
-
let isServerFn = () => isServer;
|
|
267
|
-
return {
|
|
268
|
-
isServer() {
|
|
269
|
-
return isServerFn();
|
|
270
|
-
},
|
|
271
|
-
setIsServer(isServerValue) {
|
|
272
|
-
isServerFn = isServerValue;
|
|
273
|
-
}
|
|
274
|
-
};
|
|
275
|
-
})();
|
|
276
|
-
//#endregion
|
|
277
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
278
|
-
function pendingThenable() {
|
|
279
|
-
let resolve;
|
|
280
|
-
let reject;
|
|
281
|
-
const thenable = new Promise((_resolve, _reject) => {
|
|
282
|
-
resolve = _resolve;
|
|
283
|
-
reject = _reject;
|
|
284
|
-
});
|
|
285
|
-
thenable.status = "pending";
|
|
286
|
-
thenable.catch(() => {});
|
|
287
|
-
function finalize(data) {
|
|
288
|
-
Object.assign(thenable, data);
|
|
289
|
-
delete thenable.resolve;
|
|
290
|
-
delete thenable.reject;
|
|
291
|
-
}
|
|
292
|
-
thenable.resolve = (value) => {
|
|
293
|
-
finalize({
|
|
294
|
-
status: "fulfilled",
|
|
295
|
-
value
|
|
296
|
-
});
|
|
297
|
-
resolve(value);
|
|
298
|
-
};
|
|
299
|
-
thenable.reject = (reason) => {
|
|
300
|
-
finalize({
|
|
301
|
-
status: "rejected",
|
|
302
|
-
reason
|
|
303
|
-
});
|
|
304
|
-
reject(reason);
|
|
305
|
-
};
|
|
306
|
-
return thenable;
|
|
307
|
-
}
|
|
308
|
-
function tryResolveSync(promise) {
|
|
309
|
-
let data;
|
|
310
|
-
promise.then((result) => {
|
|
311
|
-
data = result;
|
|
312
|
-
return result;
|
|
313
|
-
}, noop)?.catch(noop);
|
|
314
|
-
if (data !== void 0) return { data };
|
|
315
|
-
}
|
|
316
|
-
//#endregion
|
|
317
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/hydration.js
|
|
318
|
-
function defaultTransformerFn(data) {
|
|
319
|
-
return data;
|
|
320
|
-
}
|
|
321
|
-
function dehydrateMutation(mutation) {
|
|
322
|
-
return {
|
|
323
|
-
mutationKey: mutation.options.mutationKey,
|
|
324
|
-
state: mutation.state,
|
|
325
|
-
...mutation.options.scope && { scope: mutation.options.scope },
|
|
326
|
-
...mutation.meta && { meta: mutation.meta }
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
function dehydrateQuery(query, serializeData, shouldRedactErrors) {
|
|
330
|
-
const dehydratePromise = () => {
|
|
331
|
-
const promise = query.promise?.then(serializeData).catch((error) => {
|
|
332
|
-
if (!shouldRedactErrors(error)) return Promise.reject(error);
|
|
333
|
-
return Promise.reject(/* @__PURE__ */ new Error("redacted"));
|
|
334
|
-
});
|
|
335
|
-
promise?.catch(noop);
|
|
336
|
-
return promise;
|
|
337
|
-
};
|
|
338
|
-
return {
|
|
339
|
-
dehydratedAt: Date.now(),
|
|
340
|
-
state: {
|
|
341
|
-
...query.state,
|
|
342
|
-
...query.state.data !== void 0 && { data: serializeData(query.state.data) }
|
|
343
|
-
},
|
|
344
|
-
queryKey: query.queryKey,
|
|
345
|
-
queryHash: query.queryHash,
|
|
346
|
-
...query.state.status === "pending" && { promise: dehydratePromise() },
|
|
347
|
-
...query.meta && { meta: query.meta }
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
function defaultShouldDehydrateMutation(mutation) {
|
|
351
|
-
return mutation.state.isPaused;
|
|
352
|
-
}
|
|
353
|
-
function defaultShouldDehydrateQuery(query) {
|
|
354
|
-
return query.state.status === "success";
|
|
355
|
-
}
|
|
356
|
-
function defaultShouldRedactErrors(_) {
|
|
357
|
-
return true;
|
|
358
|
-
}
|
|
359
|
-
function dehydrate(client, options = {}) {
|
|
360
|
-
const filterMutation = options.shouldDehydrateMutation ?? client.getDefaultOptions().dehydrate?.shouldDehydrateMutation ?? defaultShouldDehydrateMutation;
|
|
361
|
-
const mutations = client.getMutationCache().getAll().flatMap((mutation) => filterMutation(mutation) ? [dehydrateMutation(mutation)] : []);
|
|
362
|
-
const filterQuery = options.shouldDehydrateQuery ?? client.getDefaultOptions().dehydrate?.shouldDehydrateQuery ?? defaultShouldDehydrateQuery;
|
|
363
|
-
const shouldRedactErrors = options.shouldRedactErrors ?? client.getDefaultOptions().dehydrate?.shouldRedactErrors ?? defaultShouldRedactErrors;
|
|
364
|
-
const serializeData = options.serializeData ?? client.getDefaultOptions().dehydrate?.serializeData ?? defaultTransformerFn;
|
|
365
|
-
return {
|
|
366
|
-
mutations,
|
|
367
|
-
queries: client.getQueryCache().getAll().flatMap((query) => filterQuery(query) ? [dehydrateQuery(query, serializeData, shouldRedactErrors)] : [])
|
|
368
|
-
};
|
|
369
|
-
}
|
|
370
|
-
function hydrate(client, dehydratedState, options) {
|
|
371
|
-
if (typeof dehydratedState !== "object" || dehydratedState === null) return;
|
|
372
|
-
const mutationCache = client.getMutationCache();
|
|
373
|
-
const queryCache = client.getQueryCache();
|
|
374
|
-
const deserializeData = options?.defaultOptions?.deserializeData ?? client.getDefaultOptions().hydrate?.deserializeData ?? defaultTransformerFn;
|
|
375
|
-
const mutations = dehydratedState.mutations || [];
|
|
376
|
-
const queries = dehydratedState.queries || [];
|
|
377
|
-
mutations.forEach(({ state, ...mutationOptions }) => {
|
|
378
|
-
mutationCache.build(client, {
|
|
379
|
-
...client.getDefaultOptions().hydrate?.mutations,
|
|
380
|
-
...options?.defaultOptions?.mutations,
|
|
381
|
-
...mutationOptions
|
|
382
|
-
}, state);
|
|
383
|
-
});
|
|
384
|
-
queries.forEach(({ queryKey, state, queryHash, meta, promise, dehydratedAt }) => {
|
|
385
|
-
const syncData = promise ? tryResolveSync(promise) : void 0;
|
|
386
|
-
const rawData = state.data === void 0 ? syncData?.data : state.data;
|
|
387
|
-
const data = rawData === void 0 ? rawData : deserializeData(rawData);
|
|
388
|
-
let query = queryCache.get(queryHash);
|
|
389
|
-
const existingQueryIsPending = query?.state.status === "pending";
|
|
390
|
-
const existingQueryIsFetching = query?.state.fetchStatus === "fetching";
|
|
391
|
-
if (query) {
|
|
392
|
-
const hasNewerSyncData = syncData && dehydratedAt !== void 0 && dehydratedAt > query.state.dataUpdatedAt;
|
|
393
|
-
if (state.dataUpdatedAt > query.state.dataUpdatedAt || hasNewerSyncData) {
|
|
394
|
-
const { fetchStatus: _ignored, ...serializedState } = state;
|
|
395
|
-
query.setState({
|
|
396
|
-
...serializedState,
|
|
397
|
-
data
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
} else query = queryCache.build(client, {
|
|
401
|
-
...client.getDefaultOptions().hydrate?.queries,
|
|
402
|
-
...options?.defaultOptions?.queries,
|
|
403
|
-
queryKey,
|
|
404
|
-
queryHash,
|
|
405
|
-
meta
|
|
406
|
-
}, {
|
|
407
|
-
...state,
|
|
408
|
-
data,
|
|
409
|
-
fetchStatus: "idle",
|
|
410
|
-
status: data !== void 0 ? "success" : state.status
|
|
411
|
-
});
|
|
412
|
-
if (promise && !existingQueryIsPending && !existingQueryIsFetching && (dehydratedAt === void 0 || dehydratedAt > query.state.dataUpdatedAt)) query.fetch(void 0, { initialPromise: Promise.resolve(promise).then(deserializeData) }).catch(noop);
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
//#endregion
|
|
416
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
417
|
-
var defaultScheduler = systemSetTimeoutZero;
|
|
418
|
-
function createNotifyManager() {
|
|
419
|
-
let queue = [];
|
|
420
|
-
let transactions = 0;
|
|
421
|
-
let notifyFn = (callback) => {
|
|
422
|
-
callback();
|
|
423
|
-
};
|
|
424
|
-
let batchNotifyFn = (callback) => {
|
|
425
|
-
callback();
|
|
426
|
-
};
|
|
427
|
-
let scheduleFn = defaultScheduler;
|
|
428
|
-
const schedule = (callback) => {
|
|
429
|
-
if (transactions) queue.push(callback);
|
|
430
|
-
else scheduleFn(() => {
|
|
431
|
-
notifyFn(callback);
|
|
432
|
-
});
|
|
433
|
-
};
|
|
434
|
-
const flush = () => {
|
|
435
|
-
const originalQueue = queue;
|
|
436
|
-
queue = [];
|
|
437
|
-
if (originalQueue.length) scheduleFn(() => {
|
|
438
|
-
batchNotifyFn(() => {
|
|
439
|
-
originalQueue.forEach((callback) => {
|
|
440
|
-
notifyFn(callback);
|
|
441
|
-
});
|
|
442
|
-
});
|
|
443
|
-
});
|
|
444
|
-
};
|
|
445
|
-
return {
|
|
446
|
-
batch: (callback) => {
|
|
447
|
-
let result;
|
|
448
|
-
transactions++;
|
|
449
|
-
try {
|
|
450
|
-
result = callback();
|
|
451
|
-
} finally {
|
|
452
|
-
transactions--;
|
|
453
|
-
if (!transactions) flush();
|
|
454
|
-
}
|
|
455
|
-
return result;
|
|
456
|
-
},
|
|
457
|
-
batchCalls: (callback) => {
|
|
458
|
-
return (...args) => {
|
|
459
|
-
schedule(() => {
|
|
460
|
-
callback(...args);
|
|
461
|
-
});
|
|
462
|
-
};
|
|
463
|
-
},
|
|
464
|
-
schedule,
|
|
465
|
-
setNotifyFunction: (fn) => {
|
|
466
|
-
notifyFn = fn;
|
|
467
|
-
},
|
|
468
|
-
setBatchNotifyFunction: (fn) => {
|
|
469
|
-
batchNotifyFn = fn;
|
|
470
|
-
},
|
|
471
|
-
setScheduler: (fn) => {
|
|
472
|
-
scheduleFn = fn;
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
var notifyManager = createNotifyManager();
|
|
477
|
-
//#endregion
|
|
478
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/onlineManager.js
|
|
479
|
-
var OnlineManager = class extends Subscribable {
|
|
480
|
-
#online = true;
|
|
481
|
-
#cleanup;
|
|
482
|
-
#setup;
|
|
483
|
-
constructor() {
|
|
484
|
-
super();
|
|
485
|
-
this.#setup = (onOnline) => {
|
|
486
|
-
if (typeof window !== "undefined" && window.addEventListener) {
|
|
487
|
-
const onlineListener = () => onOnline(true);
|
|
488
|
-
const offlineListener = () => onOnline(false);
|
|
489
|
-
window.addEventListener("online", onlineListener, false);
|
|
490
|
-
window.addEventListener("offline", offlineListener, false);
|
|
491
|
-
return () => {
|
|
492
|
-
window.removeEventListener("online", onlineListener);
|
|
493
|
-
window.removeEventListener("offline", offlineListener);
|
|
494
|
-
};
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
}
|
|
498
|
-
onSubscribe() {
|
|
499
|
-
if (!this.#cleanup) this.setEventListener(this.#setup);
|
|
500
|
-
}
|
|
501
|
-
onUnsubscribe() {
|
|
502
|
-
if (!this.hasListeners()) {
|
|
503
|
-
this.#cleanup?.();
|
|
504
|
-
this.#cleanup = void 0;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
setEventListener(setup) {
|
|
508
|
-
this.#setup = setup;
|
|
509
|
-
this.#cleanup?.();
|
|
510
|
-
this.#cleanup = setup(this.setOnline.bind(this));
|
|
511
|
-
}
|
|
512
|
-
setOnline(online) {
|
|
513
|
-
if (this.#online !== online) {
|
|
514
|
-
this.#online = online;
|
|
515
|
-
this.listeners.forEach((listener) => {
|
|
516
|
-
listener(online);
|
|
517
|
-
});
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
isOnline() {
|
|
521
|
-
return this.#online;
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
var onlineManager = new OnlineManager();
|
|
525
|
-
//#endregion
|
|
526
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
527
|
-
function defaultRetryDelay(failureCount) {
|
|
528
|
-
return Math.min(1e3 * 2 ** failureCount, 3e4);
|
|
529
|
-
}
|
|
530
|
-
function canFetch(networkMode) {
|
|
531
|
-
return (networkMode ?? "online") === "online" ? onlineManager.isOnline() : true;
|
|
532
|
-
}
|
|
533
|
-
var CancelledError = class extends Error {
|
|
534
|
-
constructor(options) {
|
|
535
|
-
super("CancelledError");
|
|
536
|
-
this.revert = options?.revert;
|
|
537
|
-
this.silent = options?.silent;
|
|
538
|
-
}
|
|
539
|
-
};
|
|
540
|
-
function createRetryer(config) {
|
|
541
|
-
let isRetryCancelled = false;
|
|
542
|
-
let failureCount = 0;
|
|
543
|
-
let continueFn;
|
|
544
|
-
const thenable = pendingThenable();
|
|
545
|
-
const isResolved = () => thenable.status !== "pending";
|
|
546
|
-
const cancel = (cancelOptions) => {
|
|
547
|
-
if (!isResolved()) {
|
|
548
|
-
const error = new CancelledError(cancelOptions);
|
|
549
|
-
reject(error);
|
|
550
|
-
config.onCancel?.(error);
|
|
551
|
-
}
|
|
552
|
-
};
|
|
553
|
-
const cancelRetry = () => {
|
|
554
|
-
isRetryCancelled = true;
|
|
555
|
-
};
|
|
556
|
-
const continueRetry = () => {
|
|
557
|
-
isRetryCancelled = false;
|
|
558
|
-
};
|
|
559
|
-
const canContinue = () => focusManager.isFocused() && (config.networkMode === "always" || onlineManager.isOnline()) && config.canRun();
|
|
560
|
-
const canStart = () => canFetch(config.networkMode) && config.canRun();
|
|
561
|
-
const resolve = (value) => {
|
|
562
|
-
if (!isResolved()) {
|
|
563
|
-
continueFn?.();
|
|
564
|
-
thenable.resolve(value);
|
|
565
|
-
}
|
|
566
|
-
};
|
|
567
|
-
const reject = (value) => {
|
|
568
|
-
if (!isResolved()) {
|
|
569
|
-
continueFn?.();
|
|
570
|
-
thenable.reject(value);
|
|
571
|
-
}
|
|
572
|
-
};
|
|
573
|
-
const pause = () => {
|
|
574
|
-
return new Promise((continueResolve) => {
|
|
575
|
-
continueFn = (value) => {
|
|
576
|
-
if (isResolved() || canContinue()) continueResolve(value);
|
|
577
|
-
};
|
|
578
|
-
config.onPause?.();
|
|
579
|
-
}).then(() => {
|
|
580
|
-
continueFn = void 0;
|
|
581
|
-
if (!isResolved()) config.onContinue?.();
|
|
582
|
-
});
|
|
583
|
-
};
|
|
584
|
-
const run = () => {
|
|
585
|
-
if (isResolved()) return;
|
|
586
|
-
let promiseOrValue;
|
|
587
|
-
const initialPromise = failureCount === 0 ? config.initialPromise : void 0;
|
|
588
|
-
try {
|
|
589
|
-
promiseOrValue = initialPromise ?? config.fn();
|
|
590
|
-
} catch (error) {
|
|
591
|
-
promiseOrValue = Promise.reject(error);
|
|
592
|
-
}
|
|
593
|
-
Promise.resolve(promiseOrValue).then(resolve).catch((error) => {
|
|
594
|
-
if (isResolved()) return;
|
|
595
|
-
const retry = config.retry ?? (environmentManager.isServer() ? 0 : 3);
|
|
596
|
-
const retryDelay = config.retryDelay ?? defaultRetryDelay;
|
|
597
|
-
const delay = typeof retryDelay === "function" ? retryDelay(failureCount, error) : retryDelay;
|
|
598
|
-
const shouldRetry = retry === true || typeof retry === "number" && failureCount < retry || typeof retry === "function" && retry(failureCount, error);
|
|
599
|
-
if (isRetryCancelled || !shouldRetry) {
|
|
600
|
-
reject(error);
|
|
601
|
-
return;
|
|
602
|
-
}
|
|
603
|
-
failureCount++;
|
|
604
|
-
config.onFail?.(failureCount, error);
|
|
605
|
-
sleep(delay).then(() => {
|
|
606
|
-
return canContinue() ? void 0 : pause();
|
|
607
|
-
}).then(() => {
|
|
608
|
-
if (isRetryCancelled) reject(error);
|
|
609
|
-
else run();
|
|
610
|
-
});
|
|
611
|
-
});
|
|
612
|
-
};
|
|
613
|
-
return {
|
|
614
|
-
promise: thenable,
|
|
615
|
-
status: () => thenable.status,
|
|
616
|
-
cancel,
|
|
617
|
-
continue: () => {
|
|
618
|
-
continueFn?.();
|
|
619
|
-
return thenable;
|
|
620
|
-
},
|
|
621
|
-
cancelRetry,
|
|
622
|
-
continueRetry,
|
|
623
|
-
canStart,
|
|
624
|
-
start: () => {
|
|
625
|
-
if (canStart()) run();
|
|
626
|
-
else pause().then(run);
|
|
627
|
-
return thenable;
|
|
628
|
-
}
|
|
629
|
-
};
|
|
630
|
-
}
|
|
631
|
-
//#endregion
|
|
632
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/removable.js
|
|
633
|
-
var Removable = class {
|
|
634
|
-
#gcTimeout;
|
|
635
|
-
destroy() {
|
|
636
|
-
this.clearGcTimeout();
|
|
637
|
-
}
|
|
638
|
-
scheduleGc() {
|
|
639
|
-
this.clearGcTimeout();
|
|
640
|
-
if (isValidTimeout(this.gcTime)) this.#gcTimeout = timeoutManager.setTimeout(() => {
|
|
641
|
-
this.optionalRemove();
|
|
642
|
-
}, this.gcTime);
|
|
643
|
-
}
|
|
644
|
-
updateGcTime(newGcTime) {
|
|
645
|
-
this.gcTime = Math.max(this.gcTime || 0, newGcTime ?? (environmentManager.isServer() ? Infinity : 300 * 1e3));
|
|
646
|
-
}
|
|
647
|
-
clearGcTimeout() {
|
|
648
|
-
if (this.#gcTimeout !== void 0) {
|
|
649
|
-
timeoutManager.clearTimeout(this.#gcTimeout);
|
|
650
|
-
this.#gcTimeout = void 0;
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
};
|
|
654
|
-
//#endregion
|
|
655
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/query.js
|
|
656
|
-
var Query = class extends Removable {
|
|
657
|
-
#initialState;
|
|
658
|
-
#revertState;
|
|
659
|
-
#cache;
|
|
660
|
-
#client;
|
|
661
|
-
#retryer;
|
|
662
|
-
#defaultOptions;
|
|
663
|
-
#abortSignalConsumed;
|
|
664
|
-
constructor(config) {
|
|
665
|
-
super();
|
|
666
|
-
this.#abortSignalConsumed = false;
|
|
667
|
-
this.#defaultOptions = config.defaultOptions;
|
|
668
|
-
this.setOptions(config.options);
|
|
669
|
-
this.observers = [];
|
|
670
|
-
this.#client = config.client;
|
|
671
|
-
this.#cache = this.#client.getQueryCache();
|
|
672
|
-
this.queryKey = config.queryKey;
|
|
673
|
-
this.queryHash = config.queryHash;
|
|
674
|
-
this.#initialState = getDefaultState$1(this.options);
|
|
675
|
-
this.state = config.state ?? this.#initialState;
|
|
676
|
-
this.scheduleGc();
|
|
677
|
-
}
|
|
678
|
-
get meta() {
|
|
679
|
-
return this.options.meta;
|
|
680
|
-
}
|
|
681
|
-
get promise() {
|
|
682
|
-
return this.#retryer?.promise;
|
|
683
|
-
}
|
|
684
|
-
setOptions(options) {
|
|
685
|
-
this.options = {
|
|
686
|
-
...this.#defaultOptions,
|
|
687
|
-
...options
|
|
688
|
-
};
|
|
689
|
-
this.updateGcTime(this.options.gcTime);
|
|
690
|
-
if (this.state && this.state.data === void 0) {
|
|
691
|
-
const defaultState = getDefaultState$1(this.options);
|
|
692
|
-
if (defaultState.data !== void 0) {
|
|
693
|
-
this.setState(successState(defaultState.data, defaultState.dataUpdatedAt));
|
|
694
|
-
this.#initialState = defaultState;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
optionalRemove() {
|
|
699
|
-
if (!this.observers.length && this.state.fetchStatus === "idle") this.#cache.remove(this);
|
|
700
|
-
}
|
|
701
|
-
setData(newData, options) {
|
|
702
|
-
const data = replaceData(this.state.data, newData, this.options);
|
|
703
|
-
this.#dispatch({
|
|
704
|
-
data,
|
|
705
|
-
type: "success",
|
|
706
|
-
dataUpdatedAt: options?.updatedAt,
|
|
707
|
-
manual: options?.manual
|
|
708
|
-
});
|
|
709
|
-
return data;
|
|
710
|
-
}
|
|
711
|
-
setState(state, setStateOptions) {
|
|
712
|
-
this.#dispatch({
|
|
713
|
-
type: "setState",
|
|
714
|
-
state,
|
|
715
|
-
setStateOptions
|
|
716
|
-
});
|
|
717
|
-
}
|
|
718
|
-
cancel(options) {
|
|
719
|
-
const promise = this.#retryer?.promise;
|
|
720
|
-
this.#retryer?.cancel(options);
|
|
721
|
-
return promise ? promise.then(noop).catch(noop) : Promise.resolve();
|
|
722
|
-
}
|
|
723
|
-
destroy() {
|
|
724
|
-
super.destroy();
|
|
725
|
-
this.cancel({ silent: true });
|
|
726
|
-
}
|
|
727
|
-
get resetState() {
|
|
728
|
-
return this.#initialState;
|
|
729
|
-
}
|
|
730
|
-
reset() {
|
|
731
|
-
this.destroy();
|
|
732
|
-
this.setState(this.resetState);
|
|
733
|
-
}
|
|
734
|
-
isActive() {
|
|
735
|
-
return this.observers.some((observer) => resolveEnabled(observer.options.enabled, this) !== false);
|
|
736
|
-
}
|
|
737
|
-
isDisabled() {
|
|
738
|
-
if (this.getObserversCount() > 0) return !this.isActive();
|
|
739
|
-
return this.options.queryFn === skipToken || !this.isFetched();
|
|
740
|
-
}
|
|
741
|
-
isFetched() {
|
|
742
|
-
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
743
|
-
}
|
|
744
|
-
isStatic() {
|
|
745
|
-
if (this.getObserversCount() > 0) return this.observers.some((observer) => resolveStaleTime(observer.options.staleTime, this) === "static");
|
|
746
|
-
return false;
|
|
747
|
-
}
|
|
748
|
-
isStale() {
|
|
749
|
-
if (this.getObserversCount() > 0) return this.observers.some((observer) => observer.getCurrentResult().isStale);
|
|
750
|
-
return this.state.data === void 0 || this.state.isInvalidated;
|
|
751
|
-
}
|
|
752
|
-
isStaleByTime(staleTime = 0) {
|
|
753
|
-
if (this.state.data === void 0) return true;
|
|
754
|
-
if (staleTime === "static") return false;
|
|
755
|
-
if (this.state.isInvalidated) return true;
|
|
756
|
-
return !timeUntilStale(this.state.dataUpdatedAt, staleTime);
|
|
757
|
-
}
|
|
758
|
-
onFocus() {
|
|
759
|
-
this.observers.find((x) => x.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: false });
|
|
760
|
-
this.#retryer?.continue();
|
|
761
|
-
}
|
|
762
|
-
onOnline() {
|
|
763
|
-
this.observers.find((x) => x.shouldFetchOnReconnect())?.refetch({ cancelRefetch: false });
|
|
764
|
-
this.#retryer?.continue();
|
|
765
|
-
}
|
|
766
|
-
addObserver(observer) {
|
|
767
|
-
if (!this.observers.includes(observer)) {
|
|
768
|
-
this.observers.push(observer);
|
|
769
|
-
this.clearGcTimeout();
|
|
770
|
-
this.#cache.notify({
|
|
771
|
-
type: "observerAdded",
|
|
772
|
-
query: this,
|
|
773
|
-
observer
|
|
774
|
-
});
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
removeObserver(observer) {
|
|
778
|
-
if (this.observers.includes(observer)) {
|
|
779
|
-
this.observers = this.observers.filter((x) => x !== observer);
|
|
780
|
-
if (!this.observers.length) {
|
|
781
|
-
if (this.#retryer) if (this.#abortSignalConsumed || this.#isInitialPausedFetch()) this.#retryer.cancel({ revert: true });
|
|
782
|
-
else this.#retryer.cancelRetry();
|
|
783
|
-
this.scheduleGc();
|
|
784
|
-
}
|
|
785
|
-
this.#cache.notify({
|
|
786
|
-
type: "observerRemoved",
|
|
787
|
-
query: this,
|
|
788
|
-
observer
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
getObserversCount() {
|
|
793
|
-
return this.observers.length;
|
|
794
|
-
}
|
|
795
|
-
#isInitialPausedFetch() {
|
|
796
|
-
return this.state.fetchStatus === "paused" && this.state.status === "pending";
|
|
797
|
-
}
|
|
798
|
-
invalidate() {
|
|
799
|
-
if (!this.state.isInvalidated) this.#dispatch({ type: "invalidate" });
|
|
800
|
-
}
|
|
801
|
-
async fetch(options, fetchOptions) {
|
|
802
|
-
if (this.state.fetchStatus !== "idle" && this.#retryer?.status() !== "rejected") {
|
|
803
|
-
if (this.state.data !== void 0 && fetchOptions?.cancelRefetch) this.cancel({ silent: true });
|
|
804
|
-
else if (this.#retryer) {
|
|
805
|
-
this.#retryer.continueRetry();
|
|
806
|
-
return this.#retryer.promise;
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
if (options) this.setOptions(options);
|
|
810
|
-
if (!this.options.queryFn) {
|
|
811
|
-
const observer = this.observers.find((x) => x.options.queryFn);
|
|
812
|
-
if (observer) this.setOptions(observer.options);
|
|
813
|
-
}
|
|
814
|
-
const abortController = new AbortController();
|
|
815
|
-
const addSignalProperty = (object) => {
|
|
816
|
-
Object.defineProperty(object, "signal", {
|
|
817
|
-
enumerable: true,
|
|
818
|
-
get: () => {
|
|
819
|
-
this.#abortSignalConsumed = true;
|
|
820
|
-
return abortController.signal;
|
|
821
|
-
}
|
|
822
|
-
});
|
|
823
|
-
};
|
|
824
|
-
const fetchFn = () => {
|
|
825
|
-
const queryFn = ensureQueryFn(this.options, fetchOptions);
|
|
826
|
-
const createQueryFnContext = () => {
|
|
827
|
-
const queryFnContext2 = {
|
|
828
|
-
client: this.#client,
|
|
829
|
-
queryKey: this.queryKey,
|
|
830
|
-
meta: this.meta
|
|
831
|
-
};
|
|
832
|
-
addSignalProperty(queryFnContext2);
|
|
833
|
-
return queryFnContext2;
|
|
834
|
-
};
|
|
835
|
-
const queryFnContext = createQueryFnContext();
|
|
836
|
-
this.#abortSignalConsumed = false;
|
|
837
|
-
if (this.options.persister) return this.options.persister(queryFn, queryFnContext, this);
|
|
838
|
-
return queryFn(queryFnContext);
|
|
839
|
-
};
|
|
840
|
-
const createFetchContext = () => {
|
|
841
|
-
const context2 = {
|
|
842
|
-
fetchOptions,
|
|
843
|
-
options: this.options,
|
|
844
|
-
queryKey: this.queryKey,
|
|
845
|
-
client: this.#client,
|
|
846
|
-
state: this.state,
|
|
847
|
-
fetchFn
|
|
848
|
-
};
|
|
849
|
-
addSignalProperty(context2);
|
|
850
|
-
return context2;
|
|
851
|
-
};
|
|
852
|
-
const context = createFetchContext();
|
|
853
|
-
this.options.behavior?.onFetch(context, this);
|
|
854
|
-
this.#revertState = this.state;
|
|
855
|
-
if (this.state.fetchStatus === "idle" || this.state.fetchMeta !== context.fetchOptions?.meta) this.#dispatch({
|
|
856
|
-
type: "fetch",
|
|
857
|
-
meta: context.fetchOptions?.meta
|
|
858
|
-
});
|
|
859
|
-
this.#retryer = createRetryer({
|
|
860
|
-
initialPromise: fetchOptions?.initialPromise,
|
|
861
|
-
fn: context.fetchFn,
|
|
862
|
-
onCancel: (error) => {
|
|
863
|
-
if (error instanceof CancelledError && error.revert) this.setState({
|
|
864
|
-
...this.#revertState,
|
|
865
|
-
fetchStatus: "idle"
|
|
866
|
-
});
|
|
867
|
-
abortController.abort();
|
|
868
|
-
},
|
|
869
|
-
onFail: (failureCount, error) => {
|
|
870
|
-
this.#dispatch({
|
|
871
|
-
type: "failed",
|
|
872
|
-
failureCount,
|
|
873
|
-
error
|
|
874
|
-
});
|
|
875
|
-
},
|
|
876
|
-
onPause: () => {
|
|
877
|
-
this.#dispatch({ type: "pause" });
|
|
878
|
-
},
|
|
879
|
-
onContinue: () => {
|
|
880
|
-
this.#dispatch({ type: "continue" });
|
|
881
|
-
},
|
|
882
|
-
retry: context.options.retry,
|
|
883
|
-
retryDelay: context.options.retryDelay,
|
|
884
|
-
networkMode: context.options.networkMode,
|
|
885
|
-
canRun: () => true
|
|
886
|
-
});
|
|
887
|
-
try {
|
|
888
|
-
const data = await this.#retryer.start();
|
|
889
|
-
if (data === void 0) throw new Error(`${this.queryHash} data is undefined`);
|
|
890
|
-
this.setData(data);
|
|
891
|
-
this.#cache.config.onSuccess?.(data, this);
|
|
892
|
-
this.#cache.config.onSettled?.(data, this.state.error, this);
|
|
893
|
-
return data;
|
|
894
|
-
} catch (error) {
|
|
895
|
-
if (error instanceof CancelledError) {
|
|
896
|
-
if (error.silent) return this.#retryer.promise;
|
|
897
|
-
else if (error.revert) {
|
|
898
|
-
if (this.state.data === void 0) throw error;
|
|
899
|
-
return this.state.data;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
this.#dispatch({
|
|
903
|
-
type: "error",
|
|
904
|
-
error
|
|
905
|
-
});
|
|
906
|
-
this.#cache.config.onError?.(error, this);
|
|
907
|
-
this.#cache.config.onSettled?.(this.state.data, error, this);
|
|
908
|
-
throw error;
|
|
909
|
-
} finally {
|
|
910
|
-
this.scheduleGc();
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
#dispatch(action) {
|
|
914
|
-
const reducer = (state) => {
|
|
915
|
-
switch (action.type) {
|
|
916
|
-
case "failed": return {
|
|
917
|
-
...state,
|
|
918
|
-
fetchFailureCount: action.failureCount,
|
|
919
|
-
fetchFailureReason: action.error
|
|
920
|
-
};
|
|
921
|
-
case "pause": return {
|
|
922
|
-
...state,
|
|
923
|
-
fetchStatus: "paused"
|
|
924
|
-
};
|
|
925
|
-
case "continue": return {
|
|
926
|
-
...state,
|
|
927
|
-
fetchStatus: "fetching"
|
|
928
|
-
};
|
|
929
|
-
case "fetch": return {
|
|
930
|
-
...state,
|
|
931
|
-
...fetchState(state.data, this.options),
|
|
932
|
-
fetchMeta: action.meta ?? null
|
|
933
|
-
};
|
|
934
|
-
case "success":
|
|
935
|
-
const newState = {
|
|
936
|
-
...state,
|
|
937
|
-
...successState(action.data, action.dataUpdatedAt),
|
|
938
|
-
dataUpdateCount: state.dataUpdateCount + 1,
|
|
939
|
-
...!action.manual && {
|
|
940
|
-
fetchStatus: "idle",
|
|
941
|
-
fetchFailureCount: 0,
|
|
942
|
-
fetchFailureReason: null
|
|
943
|
-
}
|
|
944
|
-
};
|
|
945
|
-
this.#revertState = action.manual ? newState : void 0;
|
|
946
|
-
return newState;
|
|
947
|
-
case "error":
|
|
948
|
-
const error = action.error;
|
|
949
|
-
return {
|
|
950
|
-
...state,
|
|
951
|
-
error,
|
|
952
|
-
errorUpdateCount: state.errorUpdateCount + 1,
|
|
953
|
-
errorUpdatedAt: Date.now(),
|
|
954
|
-
fetchFailureCount: state.fetchFailureCount + 1,
|
|
955
|
-
fetchFailureReason: error,
|
|
956
|
-
fetchStatus: "idle",
|
|
957
|
-
status: "error",
|
|
958
|
-
isInvalidated: true
|
|
959
|
-
};
|
|
960
|
-
case "invalidate": return {
|
|
961
|
-
...state,
|
|
962
|
-
isInvalidated: true
|
|
963
|
-
};
|
|
964
|
-
case "setState": return {
|
|
965
|
-
...state,
|
|
966
|
-
...action.state
|
|
967
|
-
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
this.state = reducer(this.state);
|
|
971
|
-
notifyManager.batch(() => {
|
|
972
|
-
this.observers.forEach((observer) => {
|
|
973
|
-
observer.onQueryUpdate();
|
|
974
|
-
});
|
|
975
|
-
this.#cache.notify({
|
|
976
|
-
query: this,
|
|
977
|
-
type: "updated",
|
|
978
|
-
action
|
|
979
|
-
});
|
|
980
|
-
});
|
|
981
|
-
}
|
|
982
|
-
};
|
|
983
|
-
function fetchState(data, options) {
|
|
984
|
-
return {
|
|
985
|
-
fetchFailureCount: 0,
|
|
986
|
-
fetchFailureReason: null,
|
|
987
|
-
fetchStatus: canFetch(options.networkMode) ? "fetching" : "paused",
|
|
988
|
-
...data === void 0 && {
|
|
989
|
-
error: null,
|
|
990
|
-
status: "pending"
|
|
991
|
-
}
|
|
992
|
-
};
|
|
993
|
-
}
|
|
994
|
-
function successState(data, dataUpdatedAt) {
|
|
995
|
-
return {
|
|
996
|
-
data,
|
|
997
|
-
dataUpdatedAt: dataUpdatedAt ?? Date.now(),
|
|
998
|
-
error: null,
|
|
999
|
-
isInvalidated: false,
|
|
1000
|
-
status: "success"
|
|
1001
|
-
};
|
|
1002
|
-
}
|
|
1003
|
-
function getDefaultState$1(options) {
|
|
1004
|
-
const data = typeof options.initialData === "function" ? options.initialData() : options.initialData;
|
|
1005
|
-
const hasData = data !== void 0;
|
|
1006
|
-
const initialDataUpdatedAt = hasData ? typeof options.initialDataUpdatedAt === "function" ? options.initialDataUpdatedAt() : options.initialDataUpdatedAt : 0;
|
|
1007
|
-
return {
|
|
1008
|
-
data,
|
|
1009
|
-
dataUpdateCount: 0,
|
|
1010
|
-
dataUpdatedAt: hasData ? initialDataUpdatedAt ?? Date.now() : 0,
|
|
1011
|
-
error: null,
|
|
1012
|
-
errorUpdateCount: 0,
|
|
1013
|
-
errorUpdatedAt: 0,
|
|
1014
|
-
fetchFailureCount: 0,
|
|
1015
|
-
fetchFailureReason: null,
|
|
1016
|
-
fetchMeta: null,
|
|
1017
|
-
isInvalidated: false,
|
|
1018
|
-
status: hasData ? "success" : "pending",
|
|
1019
|
-
fetchStatus: "idle"
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
//#endregion
|
|
1023
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
1024
|
-
var QueryObserver = class extends Subscribable {
|
|
1025
|
-
constructor(client, options) {
|
|
1026
|
-
super();
|
|
1027
|
-
this.options = options;
|
|
1028
|
-
this.#client = client;
|
|
1029
|
-
this.#selectError = null;
|
|
1030
|
-
this.#currentThenable = pendingThenable();
|
|
1031
|
-
this.bindMethods();
|
|
1032
|
-
this.setOptions(options);
|
|
1033
|
-
}
|
|
1034
|
-
#client;
|
|
1035
|
-
#currentQuery = void 0;
|
|
1036
|
-
#currentQueryInitialState = void 0;
|
|
1037
|
-
#currentResult = void 0;
|
|
1038
|
-
#currentResultState;
|
|
1039
|
-
#currentResultOptions;
|
|
1040
|
-
#currentThenable;
|
|
1041
|
-
#selectError;
|
|
1042
|
-
#selectFn;
|
|
1043
|
-
#selectResult;
|
|
1044
|
-
#lastQueryWithDefinedData;
|
|
1045
|
-
#staleTimeoutId;
|
|
1046
|
-
#refetchIntervalId;
|
|
1047
|
-
#currentRefetchInterval;
|
|
1048
|
-
#trackedProps = /* @__PURE__ */ new Set();
|
|
1049
|
-
bindMethods() {
|
|
1050
|
-
this.refetch = this.refetch.bind(this);
|
|
1051
|
-
}
|
|
1052
|
-
onSubscribe() {
|
|
1053
|
-
if (this.listeners.size === 1) {
|
|
1054
|
-
this.#currentQuery.addObserver(this);
|
|
1055
|
-
if (shouldFetchOnMount(this.#currentQuery, this.options)) this.#executeFetch();
|
|
1056
|
-
else this.updateResult();
|
|
1057
|
-
this.#updateTimers();
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
onUnsubscribe() {
|
|
1061
|
-
if (!this.hasListeners()) this.destroy();
|
|
1062
|
-
}
|
|
1063
|
-
shouldFetchOnReconnect() {
|
|
1064
|
-
return shouldFetchOn(this.#currentQuery, this.options, this.options.refetchOnReconnect);
|
|
1065
|
-
}
|
|
1066
|
-
shouldFetchOnWindowFocus() {
|
|
1067
|
-
return shouldFetchOn(this.#currentQuery, this.options, this.options.refetchOnWindowFocus);
|
|
1068
|
-
}
|
|
1069
|
-
destroy() {
|
|
1070
|
-
this.listeners = /* @__PURE__ */ new Set();
|
|
1071
|
-
this.#clearStaleTimeout();
|
|
1072
|
-
this.#clearRefetchInterval();
|
|
1073
|
-
this.#currentQuery.removeObserver(this);
|
|
1074
|
-
}
|
|
1075
|
-
setOptions(options) {
|
|
1076
|
-
const prevOptions = this.options;
|
|
1077
|
-
const prevQuery = this.#currentQuery;
|
|
1078
|
-
this.options = this.#client.defaultQueryOptions(options);
|
|
1079
|
-
if (this.options.enabled !== void 0 && typeof this.options.enabled !== "boolean" && typeof this.options.enabled !== "function" && typeof resolveEnabled(this.options.enabled, this.#currentQuery) !== "boolean") throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");
|
|
1080
|
-
this.#updateQuery();
|
|
1081
|
-
this.#currentQuery.setOptions(this.options);
|
|
1082
|
-
if (prevOptions._defaulted && !shallowEqualObjects(this.options, prevOptions)) this.#client.getQueryCache().notify({
|
|
1083
|
-
type: "observerOptionsUpdated",
|
|
1084
|
-
query: this.#currentQuery,
|
|
1085
|
-
observer: this
|
|
1086
|
-
});
|
|
1087
|
-
const mounted = this.hasListeners();
|
|
1088
|
-
if (mounted && shouldFetchOptionally(this.#currentQuery, prevQuery, this.options, prevOptions)) this.#executeFetch();
|
|
1089
|
-
this.updateResult();
|
|
1090
|
-
if (mounted && (this.#currentQuery !== prevQuery || resolveEnabled(this.options.enabled, this.#currentQuery) !== resolveEnabled(prevOptions.enabled, this.#currentQuery) || resolveStaleTime(this.options.staleTime, this.#currentQuery) !== resolveStaleTime(prevOptions.staleTime, this.#currentQuery))) this.#updateStaleTimeout();
|
|
1091
|
-
const nextRefetchInterval = this.#computeRefetchInterval();
|
|
1092
|
-
if (mounted && (this.#currentQuery !== prevQuery || resolveEnabled(this.options.enabled, this.#currentQuery) !== resolveEnabled(prevOptions.enabled, this.#currentQuery) || nextRefetchInterval !== this.#currentRefetchInterval)) this.#updateRefetchInterval(nextRefetchInterval);
|
|
1093
|
-
}
|
|
1094
|
-
getOptimisticResult(options) {
|
|
1095
|
-
const query = this.#client.getQueryCache().build(this.#client, options);
|
|
1096
|
-
const result = this.createResult(query, options);
|
|
1097
|
-
if (shouldAssignObserverCurrentProperties(this, result)) {
|
|
1098
|
-
this.#currentResult = result;
|
|
1099
|
-
this.#currentResultOptions = this.options;
|
|
1100
|
-
this.#currentResultState = this.#currentQuery.state;
|
|
1101
|
-
}
|
|
1102
|
-
return result;
|
|
1103
|
-
}
|
|
1104
|
-
getCurrentResult() {
|
|
1105
|
-
return this.#currentResult;
|
|
1106
|
-
}
|
|
1107
|
-
trackResult(result, onPropTracked) {
|
|
1108
|
-
return new Proxy(result, { get: (target, key) => {
|
|
1109
|
-
this.trackProp(key);
|
|
1110
|
-
onPropTracked?.(key);
|
|
1111
|
-
if (key === "promise") {
|
|
1112
|
-
this.trackProp("data");
|
|
1113
|
-
if (!this.options.experimental_prefetchInRender && this.#currentThenable.status === "pending") this.#currentThenable.reject(/* @__PURE__ */ new Error("experimental_prefetchInRender feature flag is not enabled"));
|
|
1114
|
-
}
|
|
1115
|
-
return Reflect.get(target, key);
|
|
1116
|
-
} });
|
|
1117
|
-
}
|
|
1118
|
-
trackProp(key) {
|
|
1119
|
-
this.#trackedProps.add(key);
|
|
1120
|
-
}
|
|
1121
|
-
getCurrentQuery() {
|
|
1122
|
-
return this.#currentQuery;
|
|
1123
|
-
}
|
|
1124
|
-
refetch({ ...options } = {}) {
|
|
1125
|
-
return this.fetch({ ...options });
|
|
1126
|
-
}
|
|
1127
|
-
fetchOptimistic(options) {
|
|
1128
|
-
const defaultedOptions = this.#client.defaultQueryOptions(options);
|
|
1129
|
-
const query = this.#client.getQueryCache().build(this.#client, defaultedOptions);
|
|
1130
|
-
return query.fetch().then(() => this.createResult(query, defaultedOptions));
|
|
1131
|
-
}
|
|
1132
|
-
fetch(fetchOptions) {
|
|
1133
|
-
return this.#executeFetch({
|
|
1134
|
-
...fetchOptions,
|
|
1135
|
-
cancelRefetch: fetchOptions.cancelRefetch ?? true
|
|
1136
|
-
}).then(() => {
|
|
1137
|
-
this.updateResult();
|
|
1138
|
-
return this.#currentResult;
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
#executeFetch(fetchOptions) {
|
|
1142
|
-
this.#updateQuery();
|
|
1143
|
-
let promise = this.#currentQuery.fetch(this.options, fetchOptions);
|
|
1144
|
-
if (!fetchOptions?.throwOnError) promise = promise.catch(noop);
|
|
1145
|
-
return promise;
|
|
1146
|
-
}
|
|
1147
|
-
#updateStaleTimeout() {
|
|
1148
|
-
this.#clearStaleTimeout();
|
|
1149
|
-
const staleTime = resolveStaleTime(this.options.staleTime, this.#currentQuery);
|
|
1150
|
-
if (environmentManager.isServer() || this.#currentResult.isStale || !isValidTimeout(staleTime)) return;
|
|
1151
|
-
const timeout = timeUntilStale(this.#currentResult.dataUpdatedAt, staleTime) + 1;
|
|
1152
|
-
this.#staleTimeoutId = timeoutManager.setTimeout(() => {
|
|
1153
|
-
if (!this.#currentResult.isStale) this.updateResult();
|
|
1154
|
-
}, timeout);
|
|
1155
|
-
}
|
|
1156
|
-
#computeRefetchInterval() {
|
|
1157
|
-
return (typeof this.options.refetchInterval === "function" ? this.options.refetchInterval(this.#currentQuery) : this.options.refetchInterval) ?? false;
|
|
1158
|
-
}
|
|
1159
|
-
#updateRefetchInterval(nextInterval) {
|
|
1160
|
-
this.#clearRefetchInterval();
|
|
1161
|
-
this.#currentRefetchInterval = nextInterval;
|
|
1162
|
-
if (environmentManager.isServer() || resolveEnabled(this.options.enabled, this.#currentQuery) === false || !isValidTimeout(this.#currentRefetchInterval) || this.#currentRefetchInterval === 0) return;
|
|
1163
|
-
this.#refetchIntervalId = timeoutManager.setInterval(() => {
|
|
1164
|
-
if (this.options.refetchIntervalInBackground || focusManager.isFocused()) this.#executeFetch();
|
|
1165
|
-
}, this.#currentRefetchInterval);
|
|
1166
|
-
}
|
|
1167
|
-
#updateTimers() {
|
|
1168
|
-
this.#updateStaleTimeout();
|
|
1169
|
-
this.#updateRefetchInterval(this.#computeRefetchInterval());
|
|
1170
|
-
}
|
|
1171
|
-
#clearStaleTimeout() {
|
|
1172
|
-
if (this.#staleTimeoutId !== void 0) {
|
|
1173
|
-
timeoutManager.clearTimeout(this.#staleTimeoutId);
|
|
1174
|
-
this.#staleTimeoutId = void 0;
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
#clearRefetchInterval() {
|
|
1178
|
-
if (this.#refetchIntervalId !== void 0) {
|
|
1179
|
-
timeoutManager.clearInterval(this.#refetchIntervalId);
|
|
1180
|
-
this.#refetchIntervalId = void 0;
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
createResult(query, options) {
|
|
1184
|
-
const prevQuery = this.#currentQuery;
|
|
1185
|
-
const prevOptions = this.options;
|
|
1186
|
-
const prevResult = this.#currentResult;
|
|
1187
|
-
const prevResultState = this.#currentResultState;
|
|
1188
|
-
const prevResultOptions = this.#currentResultOptions;
|
|
1189
|
-
const queryInitialState = query !== prevQuery ? query.state : this.#currentQueryInitialState;
|
|
1190
|
-
const { state } = query;
|
|
1191
|
-
let newState = { ...state };
|
|
1192
|
-
let isPlaceholderData = false;
|
|
1193
|
-
let data;
|
|
1194
|
-
if (options._optimisticResults) {
|
|
1195
|
-
const mounted = this.hasListeners();
|
|
1196
|
-
const fetchOnMount = !mounted && shouldFetchOnMount(query, options);
|
|
1197
|
-
const fetchOptionally = mounted && shouldFetchOptionally(query, prevQuery, options, prevOptions);
|
|
1198
|
-
if (fetchOnMount || fetchOptionally) newState = {
|
|
1199
|
-
...newState,
|
|
1200
|
-
...fetchState(state.data, query.options)
|
|
1201
|
-
};
|
|
1202
|
-
if (options._optimisticResults === "isRestoring") newState.fetchStatus = "idle";
|
|
1203
|
-
}
|
|
1204
|
-
let { error, errorUpdatedAt, status } = newState;
|
|
1205
|
-
data = newState.data;
|
|
1206
|
-
let skipSelect = false;
|
|
1207
|
-
if (options.placeholderData !== void 0 && data === void 0 && status === "pending") {
|
|
1208
|
-
let placeholderData;
|
|
1209
|
-
if (prevResult?.isPlaceholderData && options.placeholderData === prevResultOptions?.placeholderData) {
|
|
1210
|
-
placeholderData = prevResult.data;
|
|
1211
|
-
skipSelect = true;
|
|
1212
|
-
} else placeholderData = typeof options.placeholderData === "function" ? options.placeholderData(this.#lastQueryWithDefinedData?.state.data, this.#lastQueryWithDefinedData) : options.placeholderData;
|
|
1213
|
-
if (placeholderData !== void 0) {
|
|
1214
|
-
status = "success";
|
|
1215
|
-
data = replaceData(prevResult?.data, placeholderData, options);
|
|
1216
|
-
isPlaceholderData = true;
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
if (options.select && data !== void 0 && !skipSelect) if (prevResult && data === prevResultState?.data && options.select === this.#selectFn) data = this.#selectResult;
|
|
1220
|
-
else try {
|
|
1221
|
-
this.#selectFn = options.select;
|
|
1222
|
-
data = options.select(data);
|
|
1223
|
-
data = replaceData(prevResult?.data, data, options);
|
|
1224
|
-
this.#selectResult = data;
|
|
1225
|
-
this.#selectError = null;
|
|
1226
|
-
} catch (selectError) {
|
|
1227
|
-
this.#selectError = selectError;
|
|
1228
|
-
}
|
|
1229
|
-
if (this.#selectError) {
|
|
1230
|
-
error = this.#selectError;
|
|
1231
|
-
data = this.#selectResult;
|
|
1232
|
-
errorUpdatedAt = Date.now();
|
|
1233
|
-
status = "error";
|
|
1234
|
-
}
|
|
1235
|
-
const isFetching = newState.fetchStatus === "fetching";
|
|
1236
|
-
const isPending = status === "pending";
|
|
1237
|
-
const isError = status === "error";
|
|
1238
|
-
const isLoading = isPending && isFetching;
|
|
1239
|
-
const hasData = data !== void 0;
|
|
1240
|
-
const nextResult = {
|
|
1241
|
-
status,
|
|
1242
|
-
fetchStatus: newState.fetchStatus,
|
|
1243
|
-
isPending,
|
|
1244
|
-
isSuccess: status === "success",
|
|
1245
|
-
isError,
|
|
1246
|
-
isInitialLoading: isLoading,
|
|
1247
|
-
isLoading,
|
|
1248
|
-
data,
|
|
1249
|
-
dataUpdatedAt: newState.dataUpdatedAt,
|
|
1250
|
-
error,
|
|
1251
|
-
errorUpdatedAt,
|
|
1252
|
-
failureCount: newState.fetchFailureCount,
|
|
1253
|
-
failureReason: newState.fetchFailureReason,
|
|
1254
|
-
errorUpdateCount: newState.errorUpdateCount,
|
|
1255
|
-
isFetched: query.isFetched(),
|
|
1256
|
-
isFetchedAfterMount: newState.dataUpdateCount > queryInitialState.dataUpdateCount || newState.errorUpdateCount > queryInitialState.errorUpdateCount,
|
|
1257
|
-
isFetching,
|
|
1258
|
-
isRefetching: isFetching && !isPending,
|
|
1259
|
-
isLoadingError: isError && !hasData,
|
|
1260
|
-
isPaused: newState.fetchStatus === "paused",
|
|
1261
|
-
isPlaceholderData,
|
|
1262
|
-
isRefetchError: isError && hasData,
|
|
1263
|
-
isStale: isStale(query, options),
|
|
1264
|
-
refetch: this.refetch,
|
|
1265
|
-
promise: this.#currentThenable,
|
|
1266
|
-
isEnabled: resolveEnabled(options.enabled, query) !== false
|
|
1267
|
-
};
|
|
1268
|
-
if (this.options.experimental_prefetchInRender) {
|
|
1269
|
-
const hasResultData = nextResult.data !== void 0;
|
|
1270
|
-
const isErrorWithoutData = nextResult.status === "error" && !hasResultData;
|
|
1271
|
-
const finalizeThenableIfPossible = (thenable) => {
|
|
1272
|
-
if (isErrorWithoutData) thenable.reject(nextResult.error);
|
|
1273
|
-
else if (hasResultData) thenable.resolve(nextResult.data);
|
|
1274
|
-
};
|
|
1275
|
-
const recreateThenable = () => {
|
|
1276
|
-
finalizeThenableIfPossible(this.#currentThenable = nextResult.promise = pendingThenable());
|
|
1277
|
-
};
|
|
1278
|
-
const prevThenable = this.#currentThenable;
|
|
1279
|
-
switch (prevThenable.status) {
|
|
1280
|
-
case "pending":
|
|
1281
|
-
if (query.queryHash === prevQuery.queryHash) finalizeThenableIfPossible(prevThenable);
|
|
1282
|
-
break;
|
|
1283
|
-
case "fulfilled":
|
|
1284
|
-
if (isErrorWithoutData || nextResult.data !== prevThenable.value) recreateThenable();
|
|
1285
|
-
break;
|
|
1286
|
-
case "rejected":
|
|
1287
|
-
if (!isErrorWithoutData || nextResult.error !== prevThenable.reason) recreateThenable();
|
|
1288
|
-
break;
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
return nextResult;
|
|
1292
|
-
}
|
|
1293
|
-
updateResult() {
|
|
1294
|
-
const prevResult = this.#currentResult;
|
|
1295
|
-
const nextResult = this.createResult(this.#currentQuery, this.options);
|
|
1296
|
-
this.#currentResultState = this.#currentQuery.state;
|
|
1297
|
-
this.#currentResultOptions = this.options;
|
|
1298
|
-
if (this.#currentResultState.data !== void 0) this.#lastQueryWithDefinedData = this.#currentQuery;
|
|
1299
|
-
if (shallowEqualObjects(nextResult, prevResult)) return;
|
|
1300
|
-
this.#currentResult = nextResult;
|
|
1301
|
-
const shouldNotifyListeners = () => {
|
|
1302
|
-
if (!prevResult) return true;
|
|
1303
|
-
const { notifyOnChangeProps } = this.options;
|
|
1304
|
-
const notifyOnChangePropsValue = typeof notifyOnChangeProps === "function" ? notifyOnChangeProps() : notifyOnChangeProps;
|
|
1305
|
-
if (notifyOnChangePropsValue === "all" || !notifyOnChangePropsValue && !this.#trackedProps.size) return true;
|
|
1306
|
-
const includedProps = new Set(notifyOnChangePropsValue ?? this.#trackedProps);
|
|
1307
|
-
if (this.options.throwOnError) includedProps.add("error");
|
|
1308
|
-
return Object.keys(this.#currentResult).some((key) => {
|
|
1309
|
-
const typedKey = key;
|
|
1310
|
-
return this.#currentResult[typedKey] !== prevResult[typedKey] && includedProps.has(typedKey);
|
|
1311
|
-
});
|
|
1312
|
-
};
|
|
1313
|
-
this.#notify({ listeners: shouldNotifyListeners() });
|
|
1314
|
-
}
|
|
1315
|
-
#updateQuery() {
|
|
1316
|
-
const query = this.#client.getQueryCache().build(this.#client, this.options);
|
|
1317
|
-
if (query === this.#currentQuery) return;
|
|
1318
|
-
const prevQuery = this.#currentQuery;
|
|
1319
|
-
this.#currentQuery = query;
|
|
1320
|
-
this.#currentQueryInitialState = query.state;
|
|
1321
|
-
if (this.hasListeners()) {
|
|
1322
|
-
prevQuery?.removeObserver(this);
|
|
1323
|
-
query.addObserver(this);
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
onQueryUpdate() {
|
|
1327
|
-
this.updateResult();
|
|
1328
|
-
if (this.hasListeners()) this.#updateTimers();
|
|
1329
|
-
}
|
|
1330
|
-
#notify(notifyOptions) {
|
|
1331
|
-
notifyManager.batch(() => {
|
|
1332
|
-
if (notifyOptions.listeners) this.listeners.forEach((listener) => {
|
|
1333
|
-
listener(this.#currentResult);
|
|
1334
|
-
});
|
|
1335
|
-
this.#client.getQueryCache().notify({
|
|
1336
|
-
query: this.#currentQuery,
|
|
1337
|
-
type: "observerResultsUpdated"
|
|
1338
|
-
});
|
|
1339
|
-
});
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
function shouldLoadOnMount(query, options) {
|
|
1343
|
-
return resolveEnabled(options.enabled, query) !== false && query.state.data === void 0 && !(query.state.status === "error" && options.retryOnMount === false);
|
|
1344
|
-
}
|
|
1345
|
-
function shouldFetchOnMount(query, options) {
|
|
1346
|
-
return shouldLoadOnMount(query, options) || query.state.data !== void 0 && shouldFetchOn(query, options, options.refetchOnMount);
|
|
1347
|
-
}
|
|
1348
|
-
function shouldFetchOn(query, options, field) {
|
|
1349
|
-
if (resolveEnabled(options.enabled, query) !== false && resolveStaleTime(options.staleTime, query) !== "static") {
|
|
1350
|
-
const value = typeof field === "function" ? field(query) : field;
|
|
1351
|
-
return value === "always" || value !== false && isStale(query, options);
|
|
1352
|
-
}
|
|
1353
|
-
return false;
|
|
1354
|
-
}
|
|
1355
|
-
function shouldFetchOptionally(query, prevQuery, options, prevOptions) {
|
|
1356
|
-
return (query !== prevQuery || resolveEnabled(prevOptions.enabled, query) === false) && (!options.suspense || query.state.status !== "error") && isStale(query, options);
|
|
1357
|
-
}
|
|
1358
|
-
function isStale(query, options) {
|
|
1359
|
-
return resolveEnabled(options.enabled, query) !== false && query.isStaleByTime(resolveStaleTime(options.staleTime, query));
|
|
1360
|
-
}
|
|
1361
|
-
function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
1362
|
-
if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) return true;
|
|
1363
|
-
return false;
|
|
1364
|
-
}
|
|
1365
|
-
//#endregion
|
|
1366
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
1367
|
-
function infiniteQueryBehavior(pages) {
|
|
1368
|
-
return { onFetch: (context, query) => {
|
|
1369
|
-
const options = context.options;
|
|
1370
|
-
const direction = context.fetchOptions?.meta?.fetchMore?.direction;
|
|
1371
|
-
const oldPages = context.state.data?.pages || [];
|
|
1372
|
-
const oldPageParams = context.state.data?.pageParams || [];
|
|
1373
|
-
let result = {
|
|
1374
|
-
pages: [],
|
|
1375
|
-
pageParams: []
|
|
1376
|
-
};
|
|
1377
|
-
let currentPage = 0;
|
|
1378
|
-
const fetchFn = async () => {
|
|
1379
|
-
let cancelled = false;
|
|
1380
|
-
const addSignalProperty = (object) => {
|
|
1381
|
-
addConsumeAwareSignal(object, () => context.signal, () => cancelled = true);
|
|
1382
|
-
};
|
|
1383
|
-
const queryFn = ensureQueryFn(context.options, context.fetchOptions);
|
|
1384
|
-
const fetchPage = async (data, param, previous) => {
|
|
1385
|
-
if (cancelled) return Promise.reject();
|
|
1386
|
-
if (param == null && data.pages.length) return Promise.resolve(data);
|
|
1387
|
-
const createQueryFnContext = () => {
|
|
1388
|
-
const queryFnContext2 = {
|
|
1389
|
-
client: context.client,
|
|
1390
|
-
queryKey: context.queryKey,
|
|
1391
|
-
pageParam: param,
|
|
1392
|
-
direction: previous ? "backward" : "forward",
|
|
1393
|
-
meta: context.options.meta
|
|
1394
|
-
};
|
|
1395
|
-
addSignalProperty(queryFnContext2);
|
|
1396
|
-
return queryFnContext2;
|
|
1397
|
-
};
|
|
1398
|
-
const page = await queryFn(createQueryFnContext());
|
|
1399
|
-
const { maxPages } = context.options;
|
|
1400
|
-
const addTo = previous ? addToStart : addToEnd;
|
|
1401
|
-
return {
|
|
1402
|
-
pages: addTo(data.pages, page, maxPages),
|
|
1403
|
-
pageParams: addTo(data.pageParams, param, maxPages)
|
|
1404
|
-
};
|
|
1405
|
-
};
|
|
1406
|
-
if (direction && oldPages.length) {
|
|
1407
|
-
const previous = direction === "backward";
|
|
1408
|
-
const pageParamFn = previous ? getPreviousPageParam : getNextPageParam;
|
|
1409
|
-
const oldData = {
|
|
1410
|
-
pages: oldPages,
|
|
1411
|
-
pageParams: oldPageParams
|
|
1412
|
-
};
|
|
1413
|
-
result = await fetchPage(oldData, pageParamFn(options, oldData), previous);
|
|
1414
|
-
} else {
|
|
1415
|
-
const remainingPages = pages ?? oldPages.length;
|
|
1416
|
-
do {
|
|
1417
|
-
const param = currentPage === 0 ? oldPageParams[0] ?? options.initialPageParam : getNextPageParam(options, result);
|
|
1418
|
-
if (currentPage > 0 && param == null) break;
|
|
1419
|
-
result = await fetchPage(result, param);
|
|
1420
|
-
currentPage++;
|
|
1421
|
-
} while (currentPage < remainingPages);
|
|
1422
|
-
}
|
|
1423
|
-
return result;
|
|
1424
|
-
};
|
|
1425
|
-
if (context.options.persister) context.fetchFn = () => {
|
|
1426
|
-
return context.options.persister?.(fetchFn, {
|
|
1427
|
-
client: context.client,
|
|
1428
|
-
queryKey: context.queryKey,
|
|
1429
|
-
meta: context.options.meta,
|
|
1430
|
-
signal: context.signal
|
|
1431
|
-
}, query);
|
|
1432
|
-
};
|
|
1433
|
-
else context.fetchFn = fetchFn;
|
|
1434
|
-
} };
|
|
1435
|
-
}
|
|
1436
|
-
function getNextPageParam(options, { pages, pageParams }) {
|
|
1437
|
-
const lastIndex = pages.length - 1;
|
|
1438
|
-
return pages.length > 0 ? options.getNextPageParam(pages[lastIndex], pages, pageParams[lastIndex], pageParams) : void 0;
|
|
1439
|
-
}
|
|
1440
|
-
function getPreviousPageParam(options, { pages, pageParams }) {
|
|
1441
|
-
return pages.length > 0 ? options.getPreviousPageParam?.(pages[0], pages, pageParams[0], pageParams) : void 0;
|
|
1442
|
-
}
|
|
1443
|
-
//#endregion
|
|
1444
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1445
|
-
var Mutation = class extends Removable {
|
|
1446
|
-
#client;
|
|
1447
|
-
#observers;
|
|
1448
|
-
#mutationCache;
|
|
1449
|
-
#retryer;
|
|
1450
|
-
constructor(config) {
|
|
1451
|
-
super();
|
|
1452
|
-
this.#client = config.client;
|
|
1453
|
-
this.mutationId = config.mutationId;
|
|
1454
|
-
this.#mutationCache = config.mutationCache;
|
|
1455
|
-
this.#observers = [];
|
|
1456
|
-
this.state = config.state || getDefaultState();
|
|
1457
|
-
this.setOptions(config.options);
|
|
1458
|
-
this.scheduleGc();
|
|
1459
|
-
}
|
|
1460
|
-
setOptions(options) {
|
|
1461
|
-
this.options = options;
|
|
1462
|
-
this.updateGcTime(this.options.gcTime);
|
|
1463
|
-
}
|
|
1464
|
-
get meta() {
|
|
1465
|
-
return this.options.meta;
|
|
1466
|
-
}
|
|
1467
|
-
addObserver(observer) {
|
|
1468
|
-
if (!this.#observers.includes(observer)) {
|
|
1469
|
-
this.#observers.push(observer);
|
|
1470
|
-
this.clearGcTimeout();
|
|
1471
|
-
this.#mutationCache.notify({
|
|
1472
|
-
type: "observerAdded",
|
|
1473
|
-
mutation: this,
|
|
1474
|
-
observer
|
|
1475
|
-
});
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
removeObserver(observer) {
|
|
1479
|
-
this.#observers = this.#observers.filter((x) => x !== observer);
|
|
1480
|
-
this.scheduleGc();
|
|
1481
|
-
this.#mutationCache.notify({
|
|
1482
|
-
type: "observerRemoved",
|
|
1483
|
-
mutation: this,
|
|
1484
|
-
observer
|
|
1485
|
-
});
|
|
1486
|
-
}
|
|
1487
|
-
optionalRemove() {
|
|
1488
|
-
if (!this.#observers.length) if (this.state.status === "pending") this.scheduleGc();
|
|
1489
|
-
else this.#mutationCache.remove(this);
|
|
1490
|
-
}
|
|
1491
|
-
continue() {
|
|
1492
|
-
return this.#retryer?.continue() ?? this.execute(this.state.variables);
|
|
1493
|
-
}
|
|
1494
|
-
async execute(variables) {
|
|
1495
|
-
const onContinue = () => {
|
|
1496
|
-
this.#dispatch({ type: "continue" });
|
|
1497
|
-
};
|
|
1498
|
-
const mutationFnContext = {
|
|
1499
|
-
client: this.#client,
|
|
1500
|
-
meta: this.options.meta,
|
|
1501
|
-
mutationKey: this.options.mutationKey
|
|
1502
|
-
};
|
|
1503
|
-
this.#retryer = createRetryer({
|
|
1504
|
-
fn: () => {
|
|
1505
|
-
if (!this.options.mutationFn) return Promise.reject(/* @__PURE__ */ new Error("No mutationFn found"));
|
|
1506
|
-
return this.options.mutationFn(variables, mutationFnContext);
|
|
1507
|
-
},
|
|
1508
|
-
onFail: (failureCount, error) => {
|
|
1509
|
-
this.#dispatch({
|
|
1510
|
-
type: "failed",
|
|
1511
|
-
failureCount,
|
|
1512
|
-
error
|
|
1513
|
-
});
|
|
1514
|
-
},
|
|
1515
|
-
onPause: () => {
|
|
1516
|
-
this.#dispatch({ type: "pause" });
|
|
1517
|
-
},
|
|
1518
|
-
onContinue,
|
|
1519
|
-
retry: this.options.retry ?? 0,
|
|
1520
|
-
retryDelay: this.options.retryDelay,
|
|
1521
|
-
networkMode: this.options.networkMode,
|
|
1522
|
-
canRun: () => this.#mutationCache.canRun(this)
|
|
1523
|
-
});
|
|
1524
|
-
const restored = this.state.status === "pending";
|
|
1525
|
-
const isPaused = !this.#retryer.canStart();
|
|
1526
|
-
try {
|
|
1527
|
-
if (restored) onContinue();
|
|
1528
|
-
else {
|
|
1529
|
-
this.#dispatch({
|
|
1530
|
-
type: "pending",
|
|
1531
|
-
variables,
|
|
1532
|
-
isPaused
|
|
1533
|
-
});
|
|
1534
|
-
if (this.#mutationCache.config.onMutate) await this.#mutationCache.config.onMutate(variables, this, mutationFnContext);
|
|
1535
|
-
const context = await this.options.onMutate?.(variables, mutationFnContext);
|
|
1536
|
-
if (context !== this.state.context) this.#dispatch({
|
|
1537
|
-
type: "pending",
|
|
1538
|
-
context,
|
|
1539
|
-
variables,
|
|
1540
|
-
isPaused
|
|
1541
|
-
});
|
|
1542
|
-
}
|
|
1543
|
-
const data = await this.#retryer.start();
|
|
1544
|
-
await this.#mutationCache.config.onSuccess?.(data, variables, this.state.context, this, mutationFnContext);
|
|
1545
|
-
await this.options.onSuccess?.(data, variables, this.state.context, mutationFnContext);
|
|
1546
|
-
await this.#mutationCache.config.onSettled?.(data, null, this.state.variables, this.state.context, this, mutationFnContext);
|
|
1547
|
-
await this.options.onSettled?.(data, null, variables, this.state.context, mutationFnContext);
|
|
1548
|
-
this.#dispatch({
|
|
1549
|
-
type: "success",
|
|
1550
|
-
data
|
|
1551
|
-
});
|
|
1552
|
-
return data;
|
|
1553
|
-
} catch (error) {
|
|
1554
|
-
try {
|
|
1555
|
-
await this.#mutationCache.config.onError?.(error, variables, this.state.context, this, mutationFnContext);
|
|
1556
|
-
} catch (e) {
|
|
1557
|
-
Promise.reject(e);
|
|
1558
|
-
}
|
|
1559
|
-
try {
|
|
1560
|
-
await this.options.onError?.(error, variables, this.state.context, mutationFnContext);
|
|
1561
|
-
} catch (e) {
|
|
1562
|
-
Promise.reject(e);
|
|
1563
|
-
}
|
|
1564
|
-
try {
|
|
1565
|
-
await this.#mutationCache.config.onSettled?.(void 0, error, this.state.variables, this.state.context, this, mutationFnContext);
|
|
1566
|
-
} catch (e) {
|
|
1567
|
-
Promise.reject(e);
|
|
1568
|
-
}
|
|
1569
|
-
try {
|
|
1570
|
-
await this.options.onSettled?.(void 0, error, variables, this.state.context, mutationFnContext);
|
|
1571
|
-
} catch (e) {
|
|
1572
|
-
Promise.reject(e);
|
|
1573
|
-
}
|
|
1574
|
-
this.#dispatch({
|
|
1575
|
-
type: "error",
|
|
1576
|
-
error
|
|
1577
|
-
});
|
|
1578
|
-
throw error;
|
|
1579
|
-
} finally {
|
|
1580
|
-
this.#mutationCache.runNext(this);
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
#dispatch(action) {
|
|
1584
|
-
const reducer = (state) => {
|
|
1585
|
-
switch (action.type) {
|
|
1586
|
-
case "failed": return {
|
|
1587
|
-
...state,
|
|
1588
|
-
failureCount: action.failureCount,
|
|
1589
|
-
failureReason: action.error
|
|
1590
|
-
};
|
|
1591
|
-
case "pause": return {
|
|
1592
|
-
...state,
|
|
1593
|
-
isPaused: true
|
|
1594
|
-
};
|
|
1595
|
-
case "continue": return {
|
|
1596
|
-
...state,
|
|
1597
|
-
isPaused: false
|
|
1598
|
-
};
|
|
1599
|
-
case "pending": return {
|
|
1600
|
-
...state,
|
|
1601
|
-
context: action.context,
|
|
1602
|
-
data: void 0,
|
|
1603
|
-
failureCount: 0,
|
|
1604
|
-
failureReason: null,
|
|
1605
|
-
error: null,
|
|
1606
|
-
isPaused: action.isPaused,
|
|
1607
|
-
status: "pending",
|
|
1608
|
-
variables: action.variables,
|
|
1609
|
-
submittedAt: Date.now()
|
|
1610
|
-
};
|
|
1611
|
-
case "success": return {
|
|
1612
|
-
...state,
|
|
1613
|
-
data: action.data,
|
|
1614
|
-
failureCount: 0,
|
|
1615
|
-
failureReason: null,
|
|
1616
|
-
error: null,
|
|
1617
|
-
status: "success",
|
|
1618
|
-
isPaused: false
|
|
1619
|
-
};
|
|
1620
|
-
case "error": return {
|
|
1621
|
-
...state,
|
|
1622
|
-
data: void 0,
|
|
1623
|
-
error: action.error,
|
|
1624
|
-
failureCount: state.failureCount + 1,
|
|
1625
|
-
failureReason: action.error,
|
|
1626
|
-
isPaused: false,
|
|
1627
|
-
status: "error"
|
|
1628
|
-
};
|
|
1629
|
-
}
|
|
1630
|
-
};
|
|
1631
|
-
this.state = reducer(this.state);
|
|
1632
|
-
notifyManager.batch(() => {
|
|
1633
|
-
this.#observers.forEach((observer) => {
|
|
1634
|
-
observer.onMutationUpdate(action);
|
|
1635
|
-
});
|
|
1636
|
-
this.#mutationCache.notify({
|
|
1637
|
-
mutation: this,
|
|
1638
|
-
type: "updated",
|
|
1639
|
-
action
|
|
1640
|
-
});
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
};
|
|
1644
|
-
function getDefaultState() {
|
|
1645
|
-
return {
|
|
1646
|
-
context: void 0,
|
|
1647
|
-
data: void 0,
|
|
1648
|
-
error: null,
|
|
1649
|
-
failureCount: 0,
|
|
1650
|
-
failureReason: null,
|
|
1651
|
-
isPaused: false,
|
|
1652
|
-
status: "idle",
|
|
1653
|
-
variables: void 0,
|
|
1654
|
-
submittedAt: 0
|
|
1655
|
-
};
|
|
1656
|
-
}
|
|
1657
|
-
//#endregion
|
|
1658
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1659
|
-
var MutationCache = class extends Subscribable {
|
|
1660
|
-
constructor(config = {}) {
|
|
1661
|
-
super();
|
|
1662
|
-
this.config = config;
|
|
1663
|
-
this.#mutations = /* @__PURE__ */ new Set();
|
|
1664
|
-
this.#scopes = /* @__PURE__ */ new Map();
|
|
1665
|
-
this.#mutationId = 0;
|
|
1666
|
-
}
|
|
1667
|
-
#mutations;
|
|
1668
|
-
#scopes;
|
|
1669
|
-
#mutationId;
|
|
1670
|
-
build(client, options, state) {
|
|
1671
|
-
const mutation = new Mutation({
|
|
1672
|
-
client,
|
|
1673
|
-
mutationCache: this,
|
|
1674
|
-
mutationId: ++this.#mutationId,
|
|
1675
|
-
options: client.defaultMutationOptions(options),
|
|
1676
|
-
state
|
|
1677
|
-
});
|
|
1678
|
-
this.add(mutation);
|
|
1679
|
-
return mutation;
|
|
1680
|
-
}
|
|
1681
|
-
add(mutation) {
|
|
1682
|
-
this.#mutations.add(mutation);
|
|
1683
|
-
const scope = scopeFor(mutation);
|
|
1684
|
-
if (typeof scope === "string") {
|
|
1685
|
-
const scopedMutations = this.#scopes.get(scope);
|
|
1686
|
-
if (scopedMutations) scopedMutations.push(mutation);
|
|
1687
|
-
else this.#scopes.set(scope, [mutation]);
|
|
1688
|
-
}
|
|
1689
|
-
this.notify({
|
|
1690
|
-
type: "added",
|
|
1691
|
-
mutation
|
|
1692
|
-
});
|
|
1693
|
-
}
|
|
1694
|
-
remove(mutation) {
|
|
1695
|
-
if (this.#mutations.delete(mutation)) {
|
|
1696
|
-
const scope = scopeFor(mutation);
|
|
1697
|
-
if (typeof scope === "string") {
|
|
1698
|
-
const scopedMutations = this.#scopes.get(scope);
|
|
1699
|
-
if (scopedMutations) {
|
|
1700
|
-
if (scopedMutations.length > 1) {
|
|
1701
|
-
const index = scopedMutations.indexOf(mutation);
|
|
1702
|
-
if (index !== -1) scopedMutations.splice(index, 1);
|
|
1703
|
-
} else if (scopedMutations[0] === mutation) this.#scopes.delete(scope);
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
}
|
|
1707
|
-
this.notify({
|
|
1708
|
-
type: "removed",
|
|
1709
|
-
mutation
|
|
1710
|
-
});
|
|
1711
|
-
}
|
|
1712
|
-
canRun(mutation) {
|
|
1713
|
-
const scope = scopeFor(mutation);
|
|
1714
|
-
if (typeof scope === "string") {
|
|
1715
|
-
const firstPendingMutation = this.#scopes.get(scope)?.find((m) => m.state.status === "pending");
|
|
1716
|
-
return !firstPendingMutation || firstPendingMutation === mutation;
|
|
1717
|
-
} else return true;
|
|
1718
|
-
}
|
|
1719
|
-
runNext(mutation) {
|
|
1720
|
-
const scope = scopeFor(mutation);
|
|
1721
|
-
if (typeof scope === "string") return (this.#scopes.get(scope)?.find((m) => m !== mutation && m.state.isPaused))?.continue() ?? Promise.resolve();
|
|
1722
|
-
else return Promise.resolve();
|
|
1723
|
-
}
|
|
1724
|
-
clear() {
|
|
1725
|
-
notifyManager.batch(() => {
|
|
1726
|
-
this.#mutations.forEach((mutation) => {
|
|
1727
|
-
this.notify({
|
|
1728
|
-
type: "removed",
|
|
1729
|
-
mutation
|
|
1730
|
-
});
|
|
1731
|
-
});
|
|
1732
|
-
this.#mutations.clear();
|
|
1733
|
-
this.#scopes.clear();
|
|
1734
|
-
});
|
|
1735
|
-
}
|
|
1736
|
-
getAll() {
|
|
1737
|
-
return Array.from(this.#mutations);
|
|
1738
|
-
}
|
|
1739
|
-
find(filters) {
|
|
1740
|
-
const defaultedFilters = {
|
|
1741
|
-
exact: true,
|
|
1742
|
-
...filters
|
|
1743
|
-
};
|
|
1744
|
-
return this.getAll().find((mutation) => matchMutation(defaultedFilters, mutation));
|
|
1745
|
-
}
|
|
1746
|
-
findAll(filters = {}) {
|
|
1747
|
-
return this.getAll().filter((mutation) => matchMutation(filters, mutation));
|
|
1748
|
-
}
|
|
1749
|
-
notify(event) {
|
|
1750
|
-
notifyManager.batch(() => {
|
|
1751
|
-
this.listeners.forEach((listener) => {
|
|
1752
|
-
listener(event);
|
|
1753
|
-
});
|
|
1754
|
-
});
|
|
1755
|
-
}
|
|
1756
|
-
resumePausedMutations() {
|
|
1757
|
-
const pausedMutations = this.getAll().filter((x) => x.state.isPaused);
|
|
1758
|
-
return notifyManager.batch(() => Promise.all(pausedMutations.map((mutation) => mutation.continue().catch(noop))));
|
|
1759
|
-
}
|
|
1760
|
-
};
|
|
1761
|
-
function scopeFor(mutation) {
|
|
1762
|
-
return mutation.options.scope?.id;
|
|
1763
|
-
}
|
|
1764
|
-
//#endregion
|
|
1765
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/mutationObserver.js
|
|
1766
|
-
var MutationObserver = class extends Subscribable {
|
|
1767
|
-
#client;
|
|
1768
|
-
#currentResult = void 0;
|
|
1769
|
-
#currentMutation;
|
|
1770
|
-
#mutateOptions;
|
|
1771
|
-
constructor(client, options) {
|
|
1772
|
-
super();
|
|
1773
|
-
this.#client = client;
|
|
1774
|
-
this.setOptions(options);
|
|
1775
|
-
this.bindMethods();
|
|
1776
|
-
this.#updateResult();
|
|
1777
|
-
}
|
|
1778
|
-
bindMethods() {
|
|
1779
|
-
this.mutate = this.mutate.bind(this);
|
|
1780
|
-
this.reset = this.reset.bind(this);
|
|
1781
|
-
}
|
|
1782
|
-
setOptions(options) {
|
|
1783
|
-
const prevOptions = this.options;
|
|
1784
|
-
this.options = this.#client.defaultMutationOptions(options);
|
|
1785
|
-
if (!shallowEqualObjects(this.options, prevOptions)) this.#client.getMutationCache().notify({
|
|
1786
|
-
type: "observerOptionsUpdated",
|
|
1787
|
-
mutation: this.#currentMutation,
|
|
1788
|
-
observer: this
|
|
1789
|
-
});
|
|
1790
|
-
if (prevOptions?.mutationKey && this.options.mutationKey && hashKey(prevOptions.mutationKey) !== hashKey(this.options.mutationKey)) this.reset();
|
|
1791
|
-
else if (this.#currentMutation?.state.status === "pending") this.#currentMutation.setOptions(this.options);
|
|
1792
|
-
}
|
|
1793
|
-
onUnsubscribe() {
|
|
1794
|
-
if (!this.hasListeners()) this.#currentMutation?.removeObserver(this);
|
|
1795
|
-
}
|
|
1796
|
-
onMutationUpdate(action) {
|
|
1797
|
-
this.#updateResult();
|
|
1798
|
-
this.#notify(action);
|
|
1799
|
-
}
|
|
1800
|
-
getCurrentResult() {
|
|
1801
|
-
return this.#currentResult;
|
|
1802
|
-
}
|
|
1803
|
-
reset() {
|
|
1804
|
-
this.#currentMutation?.removeObserver(this);
|
|
1805
|
-
this.#currentMutation = void 0;
|
|
1806
|
-
this.#updateResult();
|
|
1807
|
-
this.#notify();
|
|
1808
|
-
}
|
|
1809
|
-
mutate(variables, options) {
|
|
1810
|
-
this.#mutateOptions = options;
|
|
1811
|
-
this.#currentMutation?.removeObserver(this);
|
|
1812
|
-
this.#currentMutation = this.#client.getMutationCache().build(this.#client, this.options);
|
|
1813
|
-
this.#currentMutation.addObserver(this);
|
|
1814
|
-
return this.#currentMutation.execute(variables);
|
|
1815
|
-
}
|
|
1816
|
-
#updateResult() {
|
|
1817
|
-
const state = this.#currentMutation?.state ?? getDefaultState();
|
|
1818
|
-
this.#currentResult = {
|
|
1819
|
-
...state,
|
|
1820
|
-
isPending: state.status === "pending",
|
|
1821
|
-
isSuccess: state.status === "success",
|
|
1822
|
-
isError: state.status === "error",
|
|
1823
|
-
isIdle: state.status === "idle",
|
|
1824
|
-
mutate: this.mutate,
|
|
1825
|
-
reset: this.reset
|
|
1826
|
-
};
|
|
1827
|
-
}
|
|
1828
|
-
#notify(action) {
|
|
1829
|
-
notifyManager.batch(() => {
|
|
1830
|
-
if (this.#mutateOptions && this.hasListeners()) {
|
|
1831
|
-
const variables = this.#currentResult.variables;
|
|
1832
|
-
const onMutateResult = this.#currentResult.context;
|
|
1833
|
-
const context = {
|
|
1834
|
-
client: this.#client,
|
|
1835
|
-
meta: this.options.meta,
|
|
1836
|
-
mutationKey: this.options.mutationKey
|
|
1837
|
-
};
|
|
1838
|
-
if (action?.type === "success") {
|
|
1839
|
-
try {
|
|
1840
|
-
this.#mutateOptions.onSuccess?.(action.data, variables, onMutateResult, context);
|
|
1841
|
-
} catch (e) {
|
|
1842
|
-
Promise.reject(e);
|
|
1843
|
-
}
|
|
1844
|
-
try {
|
|
1845
|
-
this.#mutateOptions.onSettled?.(action.data, null, variables, onMutateResult, context);
|
|
1846
|
-
} catch (e) {
|
|
1847
|
-
Promise.reject(e);
|
|
1848
|
-
}
|
|
1849
|
-
} else if (action?.type === "error") {
|
|
1850
|
-
try {
|
|
1851
|
-
this.#mutateOptions.onError?.(action.error, variables, onMutateResult, context);
|
|
1852
|
-
} catch (e) {
|
|
1853
|
-
Promise.reject(e);
|
|
1854
|
-
}
|
|
1855
|
-
try {
|
|
1856
|
-
this.#mutateOptions.onSettled?.(void 0, action.error, variables, onMutateResult, context);
|
|
1857
|
-
} catch (e) {
|
|
1858
|
-
Promise.reject(e);
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
this.listeners.forEach((listener) => {
|
|
1863
|
-
listener(this.#currentResult);
|
|
1864
|
-
});
|
|
1865
|
-
});
|
|
1866
|
-
}
|
|
1867
|
-
};
|
|
1868
|
-
//#endregion
|
|
1869
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1870
|
-
var QueryCache = class extends Subscribable {
|
|
1871
|
-
constructor(config = {}) {
|
|
1872
|
-
super();
|
|
1873
|
-
this.config = config;
|
|
1874
|
-
this.#queries = /* @__PURE__ */ new Map();
|
|
1875
|
-
}
|
|
1876
|
-
#queries;
|
|
1877
|
-
build(client, options, state) {
|
|
1878
|
-
const queryKey = options.queryKey;
|
|
1879
|
-
const queryHash = options.queryHash ?? hashQueryKeyByOptions(queryKey, options);
|
|
1880
|
-
let query = this.get(queryHash);
|
|
1881
|
-
if (!query) {
|
|
1882
|
-
query = new Query({
|
|
1883
|
-
client,
|
|
1884
|
-
queryKey,
|
|
1885
|
-
queryHash,
|
|
1886
|
-
options: client.defaultQueryOptions(options),
|
|
1887
|
-
state,
|
|
1888
|
-
defaultOptions: client.getQueryDefaults(queryKey)
|
|
1889
|
-
});
|
|
1890
|
-
this.add(query);
|
|
1891
|
-
}
|
|
1892
|
-
return query;
|
|
1893
|
-
}
|
|
1894
|
-
add(query) {
|
|
1895
|
-
if (!this.#queries.has(query.queryHash)) {
|
|
1896
|
-
this.#queries.set(query.queryHash, query);
|
|
1897
|
-
this.notify({
|
|
1898
|
-
type: "added",
|
|
1899
|
-
query
|
|
1900
|
-
});
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1903
|
-
remove(query) {
|
|
1904
|
-
const queryInMap = this.#queries.get(query.queryHash);
|
|
1905
|
-
if (queryInMap) {
|
|
1906
|
-
query.destroy();
|
|
1907
|
-
if (queryInMap === query) this.#queries.delete(query.queryHash);
|
|
1908
|
-
this.notify({
|
|
1909
|
-
type: "removed",
|
|
1910
|
-
query
|
|
1911
|
-
});
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
clear() {
|
|
1915
|
-
notifyManager.batch(() => {
|
|
1916
|
-
this.getAll().forEach((query) => {
|
|
1917
|
-
this.remove(query);
|
|
1918
|
-
});
|
|
1919
|
-
});
|
|
1920
|
-
}
|
|
1921
|
-
get(queryHash) {
|
|
1922
|
-
return this.#queries.get(queryHash);
|
|
1923
|
-
}
|
|
1924
|
-
getAll() {
|
|
1925
|
-
return [...this.#queries.values()];
|
|
1926
|
-
}
|
|
1927
|
-
find(filters) {
|
|
1928
|
-
const defaultedFilters = {
|
|
1929
|
-
exact: true,
|
|
1930
|
-
...filters
|
|
1931
|
-
};
|
|
1932
|
-
return this.getAll().find((query) => matchQuery(defaultedFilters, query));
|
|
1933
|
-
}
|
|
1934
|
-
findAll(filters = {}) {
|
|
1935
|
-
const queries = this.getAll();
|
|
1936
|
-
return Object.keys(filters).length > 0 ? queries.filter((query) => matchQuery(filters, query)) : queries;
|
|
1937
|
-
}
|
|
1938
|
-
notify(event) {
|
|
1939
|
-
notifyManager.batch(() => {
|
|
1940
|
-
this.listeners.forEach((listener) => {
|
|
1941
|
-
listener(event);
|
|
1942
|
-
});
|
|
1943
|
-
});
|
|
1944
|
-
}
|
|
1945
|
-
onFocus() {
|
|
1946
|
-
notifyManager.batch(() => {
|
|
1947
|
-
this.getAll().forEach((query) => {
|
|
1948
|
-
query.onFocus();
|
|
1949
|
-
});
|
|
1950
|
-
});
|
|
1951
|
-
}
|
|
1952
|
-
onOnline() {
|
|
1953
|
-
notifyManager.batch(() => {
|
|
1954
|
-
this.getAll().forEach((query) => {
|
|
1955
|
-
query.onOnline();
|
|
1956
|
-
});
|
|
1957
|
-
});
|
|
1958
|
-
}
|
|
1959
|
-
};
|
|
1960
|
-
//#endregion
|
|
1961
|
-
//#region node_modules/.pnpm/@tanstack+query-core@5.99.0/node_modules/@tanstack/query-core/build/modern/queryClient.js
|
|
1962
|
-
var QueryClient = class {
|
|
1963
|
-
#queryCache;
|
|
1964
|
-
#mutationCache;
|
|
1965
|
-
#defaultOptions;
|
|
1966
|
-
#queryDefaults;
|
|
1967
|
-
#mutationDefaults;
|
|
1968
|
-
#mountCount;
|
|
1969
|
-
#unsubscribeFocus;
|
|
1970
|
-
#unsubscribeOnline;
|
|
1971
|
-
constructor(config = {}) {
|
|
1972
|
-
this.#queryCache = config.queryCache || new QueryCache();
|
|
1973
|
-
this.#mutationCache = config.mutationCache || new MutationCache();
|
|
1974
|
-
this.#defaultOptions = config.defaultOptions || {};
|
|
1975
|
-
this.#queryDefaults = /* @__PURE__ */ new Map();
|
|
1976
|
-
this.#mutationDefaults = /* @__PURE__ */ new Map();
|
|
1977
|
-
this.#mountCount = 0;
|
|
1978
|
-
}
|
|
1979
|
-
mount() {
|
|
1980
|
-
this.#mountCount++;
|
|
1981
|
-
if (this.#mountCount !== 1) return;
|
|
1982
|
-
this.#unsubscribeFocus = focusManager.subscribe(async (focused) => {
|
|
1983
|
-
if (focused) {
|
|
1984
|
-
await this.resumePausedMutations();
|
|
1985
|
-
this.#queryCache.onFocus();
|
|
1986
|
-
}
|
|
1987
|
-
});
|
|
1988
|
-
this.#unsubscribeOnline = onlineManager.subscribe(async (online) => {
|
|
1989
|
-
if (online) {
|
|
1990
|
-
await this.resumePausedMutations();
|
|
1991
|
-
this.#queryCache.onOnline();
|
|
1992
|
-
}
|
|
1993
|
-
});
|
|
1994
|
-
}
|
|
1995
|
-
unmount() {
|
|
1996
|
-
this.#mountCount--;
|
|
1997
|
-
if (this.#mountCount !== 0) return;
|
|
1998
|
-
this.#unsubscribeFocus?.();
|
|
1999
|
-
this.#unsubscribeFocus = void 0;
|
|
2000
|
-
this.#unsubscribeOnline?.();
|
|
2001
|
-
this.#unsubscribeOnline = void 0;
|
|
2002
|
-
}
|
|
2003
|
-
isFetching(filters) {
|
|
2004
|
-
return this.#queryCache.findAll({
|
|
2005
|
-
...filters,
|
|
2006
|
-
fetchStatus: "fetching"
|
|
2007
|
-
}).length;
|
|
2008
|
-
}
|
|
2009
|
-
isMutating(filters) {
|
|
2010
|
-
return this.#mutationCache.findAll({
|
|
2011
|
-
...filters,
|
|
2012
|
-
status: "pending"
|
|
2013
|
-
}).length;
|
|
2014
|
-
}
|
|
2015
|
-
/**
|
|
2016
|
-
* Imperative (non-reactive) way to retrieve data for a QueryKey.
|
|
2017
|
-
* Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.
|
|
2018
|
-
*
|
|
2019
|
-
* Hint: Do not use this function inside a component, because it won't receive updates.
|
|
2020
|
-
* Use `useQuery` to create a `QueryObserver` that subscribes to changes.
|
|
2021
|
-
*/
|
|
2022
|
-
getQueryData(queryKey) {
|
|
2023
|
-
const options = this.defaultQueryOptions({ queryKey });
|
|
2024
|
-
return this.#queryCache.get(options.queryHash)?.state.data;
|
|
2025
|
-
}
|
|
2026
|
-
ensureQueryData(options) {
|
|
2027
|
-
const defaultedOptions = this.defaultQueryOptions(options);
|
|
2028
|
-
const query = this.#queryCache.build(this, defaultedOptions);
|
|
2029
|
-
const cachedData = query.state.data;
|
|
2030
|
-
if (cachedData === void 0) return this.fetchQuery(options);
|
|
2031
|
-
if (options.revalidateIfStale && query.isStaleByTime(resolveStaleTime(defaultedOptions.staleTime, query))) this.prefetchQuery(defaultedOptions);
|
|
2032
|
-
return Promise.resolve(cachedData);
|
|
2033
|
-
}
|
|
2034
|
-
getQueriesData(filters) {
|
|
2035
|
-
return this.#queryCache.findAll(filters).map(({ queryKey, state }) => {
|
|
2036
|
-
return [queryKey, state.data];
|
|
2037
|
-
});
|
|
2038
|
-
}
|
|
2039
|
-
setQueryData(queryKey, updater, options) {
|
|
2040
|
-
const defaultedOptions = this.defaultQueryOptions({ queryKey });
|
|
2041
|
-
const prevData = this.#queryCache.get(defaultedOptions.queryHash)?.state.data;
|
|
2042
|
-
const data = functionalUpdate(updater, prevData);
|
|
2043
|
-
if (data === void 0) return;
|
|
2044
|
-
return this.#queryCache.build(this, defaultedOptions).setData(data, {
|
|
2045
|
-
...options,
|
|
2046
|
-
manual: true
|
|
2047
|
-
});
|
|
2048
|
-
}
|
|
2049
|
-
setQueriesData(filters, updater, options) {
|
|
2050
|
-
return notifyManager.batch(() => this.#queryCache.findAll(filters).map(({ queryKey }) => [queryKey, this.setQueryData(queryKey, updater, options)]));
|
|
2051
|
-
}
|
|
2052
|
-
getQueryState(queryKey) {
|
|
2053
|
-
const options = this.defaultQueryOptions({ queryKey });
|
|
2054
|
-
return this.#queryCache.get(options.queryHash)?.state;
|
|
2055
|
-
}
|
|
2056
|
-
removeQueries(filters) {
|
|
2057
|
-
const queryCache = this.#queryCache;
|
|
2058
|
-
notifyManager.batch(() => {
|
|
2059
|
-
queryCache.findAll(filters).forEach((query) => {
|
|
2060
|
-
queryCache.remove(query);
|
|
2061
|
-
});
|
|
2062
|
-
});
|
|
2063
|
-
}
|
|
2064
|
-
resetQueries(filters, options) {
|
|
2065
|
-
const queryCache = this.#queryCache;
|
|
2066
|
-
return notifyManager.batch(() => {
|
|
2067
|
-
queryCache.findAll(filters).forEach((query) => {
|
|
2068
|
-
query.reset();
|
|
2069
|
-
});
|
|
2070
|
-
return this.refetchQueries({
|
|
2071
|
-
type: "active",
|
|
2072
|
-
...filters
|
|
2073
|
-
}, options);
|
|
2074
|
-
});
|
|
2075
|
-
}
|
|
2076
|
-
cancelQueries(filters, cancelOptions = {}) {
|
|
2077
|
-
const defaultedCancelOptions = {
|
|
2078
|
-
revert: true,
|
|
2079
|
-
...cancelOptions
|
|
2080
|
-
};
|
|
2081
|
-
const promises = notifyManager.batch(() => this.#queryCache.findAll(filters).map((query) => query.cancel(defaultedCancelOptions)));
|
|
2082
|
-
return Promise.all(promises).then(noop).catch(noop);
|
|
2083
|
-
}
|
|
2084
|
-
invalidateQueries(filters, options = {}) {
|
|
2085
|
-
return notifyManager.batch(() => {
|
|
2086
|
-
this.#queryCache.findAll(filters).forEach((query) => {
|
|
2087
|
-
query.invalidate();
|
|
2088
|
-
});
|
|
2089
|
-
if (filters?.refetchType === "none") return Promise.resolve();
|
|
2090
|
-
return this.refetchQueries({
|
|
2091
|
-
...filters,
|
|
2092
|
-
type: filters?.refetchType ?? filters?.type ?? "active"
|
|
2093
|
-
}, options);
|
|
2094
|
-
});
|
|
2095
|
-
}
|
|
2096
|
-
refetchQueries(filters, options = {}) {
|
|
2097
|
-
const fetchOptions = {
|
|
2098
|
-
...options,
|
|
2099
|
-
cancelRefetch: options.cancelRefetch ?? true
|
|
2100
|
-
};
|
|
2101
|
-
const promises = notifyManager.batch(() => this.#queryCache.findAll(filters).filter((query) => !query.isDisabled() && !query.isStatic()).map((query) => {
|
|
2102
|
-
let promise = query.fetch(void 0, fetchOptions);
|
|
2103
|
-
if (!fetchOptions.throwOnError) promise = promise.catch(noop);
|
|
2104
|
-
return query.state.fetchStatus === "paused" ? Promise.resolve() : promise;
|
|
2105
|
-
}));
|
|
2106
|
-
return Promise.all(promises).then(noop);
|
|
2107
|
-
}
|
|
2108
|
-
fetchQuery(options) {
|
|
2109
|
-
const defaultedOptions = this.defaultQueryOptions(options);
|
|
2110
|
-
if (defaultedOptions.retry === void 0) defaultedOptions.retry = false;
|
|
2111
|
-
const query = this.#queryCache.build(this, defaultedOptions);
|
|
2112
|
-
return query.isStaleByTime(resolveStaleTime(defaultedOptions.staleTime, query)) ? query.fetch(defaultedOptions) : Promise.resolve(query.state.data);
|
|
2113
|
-
}
|
|
2114
|
-
prefetchQuery(options) {
|
|
2115
|
-
return this.fetchQuery(options).then(noop).catch(noop);
|
|
2116
|
-
}
|
|
2117
|
-
fetchInfiniteQuery(options) {
|
|
2118
|
-
options.behavior = infiniteQueryBehavior(options.pages);
|
|
2119
|
-
return this.fetchQuery(options);
|
|
2120
|
-
}
|
|
2121
|
-
prefetchInfiniteQuery(options) {
|
|
2122
|
-
return this.fetchInfiniteQuery(options).then(noop).catch(noop);
|
|
2123
|
-
}
|
|
2124
|
-
ensureInfiniteQueryData(options) {
|
|
2125
|
-
options.behavior = infiniteQueryBehavior(options.pages);
|
|
2126
|
-
return this.ensureQueryData(options);
|
|
2127
|
-
}
|
|
2128
|
-
resumePausedMutations() {
|
|
2129
|
-
if (onlineManager.isOnline()) return this.#mutationCache.resumePausedMutations();
|
|
2130
|
-
return Promise.resolve();
|
|
2131
|
-
}
|
|
2132
|
-
getQueryCache() {
|
|
2133
|
-
return this.#queryCache;
|
|
2134
|
-
}
|
|
2135
|
-
getMutationCache() {
|
|
2136
|
-
return this.#mutationCache;
|
|
2137
|
-
}
|
|
2138
|
-
getDefaultOptions() {
|
|
2139
|
-
return this.#defaultOptions;
|
|
2140
|
-
}
|
|
2141
|
-
setDefaultOptions(options) {
|
|
2142
|
-
this.#defaultOptions = options;
|
|
2143
|
-
}
|
|
2144
|
-
setQueryDefaults(queryKey, options) {
|
|
2145
|
-
this.#queryDefaults.set(hashKey(queryKey), {
|
|
2146
|
-
queryKey,
|
|
2147
|
-
defaultOptions: options
|
|
2148
|
-
});
|
|
2149
|
-
}
|
|
2150
|
-
getQueryDefaults(queryKey) {
|
|
2151
|
-
const defaults = [...this.#queryDefaults.values()];
|
|
2152
|
-
const result = {};
|
|
2153
|
-
defaults.forEach((queryDefault) => {
|
|
2154
|
-
if (partialMatchKey(queryKey, queryDefault.queryKey)) Object.assign(result, queryDefault.defaultOptions);
|
|
2155
|
-
});
|
|
2156
|
-
return result;
|
|
2157
|
-
}
|
|
2158
|
-
setMutationDefaults(mutationKey, options) {
|
|
2159
|
-
this.#mutationDefaults.set(hashKey(mutationKey), {
|
|
2160
|
-
mutationKey,
|
|
2161
|
-
defaultOptions: options
|
|
2162
|
-
});
|
|
2163
|
-
}
|
|
2164
|
-
getMutationDefaults(mutationKey) {
|
|
2165
|
-
const defaults = [...this.#mutationDefaults.values()];
|
|
2166
|
-
const result = {};
|
|
2167
|
-
defaults.forEach((queryDefault) => {
|
|
2168
|
-
if (partialMatchKey(mutationKey, queryDefault.mutationKey)) Object.assign(result, queryDefault.defaultOptions);
|
|
2169
|
-
});
|
|
2170
|
-
return result;
|
|
2171
|
-
}
|
|
2172
|
-
defaultQueryOptions(options) {
|
|
2173
|
-
if (options._defaulted) return options;
|
|
2174
|
-
const defaultedOptions = {
|
|
2175
|
-
...this.#defaultOptions.queries,
|
|
2176
|
-
...this.getQueryDefaults(options.queryKey),
|
|
2177
|
-
...options,
|
|
2178
|
-
_defaulted: true
|
|
2179
|
-
};
|
|
2180
|
-
if (!defaultedOptions.queryHash) defaultedOptions.queryHash = hashQueryKeyByOptions(defaultedOptions.queryKey, defaultedOptions);
|
|
2181
|
-
if (defaultedOptions.refetchOnReconnect === void 0) defaultedOptions.refetchOnReconnect = defaultedOptions.networkMode !== "always";
|
|
2182
|
-
if (defaultedOptions.throwOnError === void 0) defaultedOptions.throwOnError = !!defaultedOptions.suspense;
|
|
2183
|
-
if (!defaultedOptions.networkMode && defaultedOptions.persister) defaultedOptions.networkMode = "offlineFirst";
|
|
2184
|
-
if (defaultedOptions.queryFn === skipToken) defaultedOptions.enabled = false;
|
|
2185
|
-
return defaultedOptions;
|
|
2186
|
-
}
|
|
2187
|
-
defaultMutationOptions(options) {
|
|
2188
|
-
if (options?._defaulted) return options;
|
|
2189
|
-
return {
|
|
2190
|
-
...this.#defaultOptions.mutations,
|
|
2191
|
-
...options?.mutationKey && this.getMutationDefaults(options.mutationKey),
|
|
2192
|
-
...options,
|
|
2193
|
-
_defaulted: true
|
|
2194
|
-
};
|
|
2195
|
-
}
|
|
2196
|
-
clear() {
|
|
2197
|
-
this.#queryCache.clear();
|
|
2198
|
-
this.#mutationCache.clear();
|
|
2199
|
-
}
|
|
2200
|
-
};
|
|
2201
|
-
//#endregion
|
|
2202
|
-
export { dehydrate as a, noop as c, notifyManager as i, replaceEqualDeep as l, MutationObserver as n, hydrate as o, QueryObserver as r, environmentManager as s, QueryClient as t, shouldThrowError as u };
|