refyard 0.1.1 → 0.3.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/README.md +34 -17
- package/dist/build-info.json +4 -4
- package/dist/cli.mjs +57893 -28225
- package/dist/web/200.html +99 -0
- package/dist/web/200.html.br +0 -0
- package/dist/web/200.html.gz +0 -0
- package/dist/web/_app/immutable/assets/0.BsE2BCQe.css +2 -0
- package/dist/web/_app/immutable/assets/0.BsE2BCQe.css.br +0 -0
- package/dist/web/_app/immutable/assets/0.BsE2BCQe.css.gz +0 -0
- package/dist/web/_app/immutable/assets/2.QE5ZuEV4.css +1 -0
- package/dist/web/_app/immutable/assets/2.QE5ZuEV4.css.br +0 -0
- package/dist/web/_app/immutable/assets/2.QE5ZuEV4.css.gz +0 -0
- package/dist/web/_app/immutable/assets/xterm.kHJ-D0s7.css +1 -0
- package/dist/web/_app/immutable/assets/xterm.kHJ-D0s7.css.br +0 -0
- package/dist/web/_app/immutable/assets/xterm.kHJ-D0s7.css.gz +0 -0
- package/{web → dist/web}/_app/immutable/chunks/Bjy-W4x2.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/CDQzW5Oj.js +1 -0
- package/dist/web/_app/immutable/chunks/CDQzW5Oj.js.br +0 -0
- package/dist/web/_app/immutable/chunks/CDQzW5Oj.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/CSY9ZclT.js +1 -0
- package/dist/web/_app/immutable/chunks/CSY9ZclT.js.br +0 -0
- package/dist/web/_app/immutable/chunks/CSY9ZclT.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/CYtAL_kF.js +1 -0
- package/dist/web/_app/immutable/chunks/CYtAL_kF.js.br +0 -0
- package/dist/web/_app/immutable/chunks/CYtAL_kF.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/ClsEgVPp.js +3 -0
- package/dist/web/_app/immutable/chunks/ClsEgVPp.js.br +0 -0
- package/dist/web/_app/immutable/chunks/ClsEgVPp.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/CtPrHG4T.js +1 -0
- package/dist/web/_app/immutable/chunks/CtPrHG4T.js.br +2 -0
- package/dist/web/_app/immutable/chunks/CtPrHG4T.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/DXXFsMST.js +1 -0
- package/dist/web/_app/immutable/chunks/DXXFsMST.js.br +0 -0
- package/dist/web/_app/immutable/chunks/DXXFsMST.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/Dah7ab14.js +1 -0
- package/dist/web/_app/immutable/chunks/Dah7ab14.js.br +0 -0
- package/dist/web/_app/immutable/chunks/Dah7ab14.js.gz +0 -0
- package/{web/_app/immutable/chunks/DVxI7FjX.js → dist/web/_app/immutable/chunks/GwujfEBQ.js} +1 -1
- package/dist/web/_app/immutable/chunks/GwujfEBQ.js.br +0 -0
- package/dist/web/_app/immutable/chunks/GwujfEBQ.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/IMIG4P6B.js +1 -0
- package/dist/web/_app/immutable/chunks/IMIG4P6B.js.br +1 -0
- package/dist/web/_app/immutable/chunks/IMIG4P6B.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/SwWLTXZB.js +1 -0
- package/dist/web/_app/immutable/chunks/SwWLTXZB.js.br +0 -0
- package/dist/web/_app/immutable/chunks/SwWLTXZB.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/TEfoMipm.js +1 -0
- package/dist/web/_app/immutable/chunks/TEfoMipm.js.br +0 -0
- package/dist/web/_app/immutable/chunks/TEfoMipm.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/Xmh5ujje.js +7 -0
- package/dist/web/_app/immutable/chunks/Xmh5ujje.js.br +0 -0
- package/dist/web/_app/immutable/chunks/Xmh5ujje.js.gz +0 -0
- package/{web/web-hidden/_app/immutable/chunks/B6IhHwpx.js → dist/web/_app/immutable/chunks/kOvMIdhB.js} +3 -3
- package/dist/web/_app/immutable/chunks/kOvMIdhB.js.br +0 -0
- package/dist/web/_app/immutable/chunks/kOvMIdhB.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/uBIymjUX.js +1 -0
- package/dist/web/_app/immutable/chunks/uBIymjUX.js.br +0 -0
- package/dist/web/_app/immutable/chunks/uBIymjUX.js.gz +0 -0
- package/dist/web/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/dist/web/_app/immutable/entry/app.C14d3q-F.js +2 -0
- package/dist/web/_app/immutable/entry/app.C14d3q-F.js.br +0 -0
- package/dist/web/_app/immutable/entry/app.C14d3q-F.js.gz +0 -0
- package/dist/web/_app/immutable/entry/start.297E1AjE.js +1 -0
- package/dist/web/_app/immutable/entry/start.297E1AjE.js.br +0 -0
- package/dist/web/_app/immutable/entry/start.297E1AjE.js.gz +0 -0
- package/dist/web/_app/immutable/nodes/0.CpN8gh0M.js +1 -0
- package/dist/web/_app/immutable/nodes/0.CpN8gh0M.js.br +0 -0
- package/dist/web/_app/immutable/nodes/0.CpN8gh0M.js.gz +0 -0
- package/dist/web/_app/immutable/nodes/1.B-4Ylyp2.js +1 -0
- package/dist/web/_app/immutable/nodes/1.B-4Ylyp2.js.br +0 -0
- package/dist/web/_app/immutable/nodes/1.B-4Ylyp2.js.gz +0 -0
- package/dist/web/_app/immutable/nodes/2.kgR1XTpw.js +99 -0
- package/dist/web/_app/immutable/nodes/2.kgR1XTpw.js.br +0 -0
- package/dist/web/_app/immutable/nodes/2.kgR1XTpw.js.gz +0 -0
- package/dist/web/_app/version.json +1 -0
- package/dist/web/_app/version.json.br +0 -0
- package/dist/web/_app/version.json.gz +0 -0
- package/dist/web/_headers +25 -0
- package/{web → dist/web}/backgrounds/aurora.svg.gz +0 -0
- package/{web → dist/web}/backgrounds/mountain-mist.svg.gz +0 -0
- package/{web/web-hidden → dist/web}/favicon.svg.gz +0 -0
- package/dist/web/index.html +101 -0
- package/dist/web/index.html.br +0 -0
- package/dist/web/index.html.gz +0 -0
- package/{web → dist/web}/refyard-app-icon.svg.gz +0 -0
- package/{web → dist/web}/refyard-logo.svg.gz +0 -0
- package/{web → dist/web}/refyard-mark.svg.gz +0 -0
- package/dist/web/service-worker.js +1 -0
- package/dist/web/service-worker.js.br +0 -0
- package/dist/web/service-worker.js.gz +0 -0
- package/package.json +8 -4
- package/web/200.html +0 -68
- package/web/200.html.br +0 -0
- package/web/200.html.gz +0 -0
- package/web/_app/immutable/assets/0.BR25fKiu.css +0 -2
- package/web/_app/immutable/assets/0.BR25fKiu.css.br +0 -0
- package/web/_app/immutable/assets/0.BR25fKiu.css.gz +0 -0
- package/web/_app/immutable/assets/0.Bi1Rt_8R.css +0 -2
- package/web/_app/immutable/assets/0.Bi1Rt_8R.css.br +0 -0
- package/web/_app/immutable/assets/0.Bi1Rt_8R.css.gz +0 -0
- package/web/_app/immutable/assets/0.BnGguWko.css +0 -2
- package/web/_app/immutable/assets/0.BnGguWko.css.br +0 -0
- package/web/_app/immutable/assets/0.BnGguWko.css.gz +0 -0
- package/web/_app/immutable/assets/0.HjGL8PN4.css +0 -2
- package/web/_app/immutable/assets/0.HjGL8PN4.css.br +0 -0
- package/web/_app/immutable/assets/0.HjGL8PN4.css.gz +0 -0
- package/web/_app/immutable/chunks/B6IhHwpx.js +0 -9
- package/web/_app/immutable/chunks/B6IhHwpx.js.br +0 -0
- package/web/_app/immutable/chunks/B6IhHwpx.js.gz +0 -0
- package/web/_app/immutable/chunks/BHE-zqAh.js +0 -3
- package/web/_app/immutable/chunks/BHE-zqAh.js.br +0 -0
- package/web/_app/immutable/chunks/BHE-zqAh.js.gz +0 -0
- package/web/_app/immutable/chunks/BO3YXcks.js +0 -9
- package/web/_app/immutable/chunks/BO3YXcks.js.br +0 -0
- package/web/_app/immutable/chunks/BO3YXcks.js.gz +0 -0
- package/web/_app/immutable/chunks/BWSABaP6.js +0 -1
- package/web/_app/immutable/chunks/BWSABaP6.js.br +0 -2
- package/web/_app/immutable/chunks/BWSABaP6.js.gz +0 -0
- package/web/_app/immutable/chunks/C9brEZY-.js +0 -1
- package/web/_app/immutable/chunks/C9brEZY-.js.br +0 -0
- package/web/_app/immutable/chunks/C9brEZY-.js.gz +0 -0
- package/web/_app/immutable/chunks/CRo29nwv.js +0 -1
- package/web/_app/immutable/chunks/CRo29nwv.js.br +0 -0
- package/web/_app/immutable/chunks/CRo29nwv.js.gz +0 -0
- package/web/_app/immutable/chunks/Cyi7j60q.js +0 -1
- package/web/_app/immutable/chunks/Cyi7j60q.js.br +0 -0
- package/web/_app/immutable/chunks/Cyi7j60q.js.gz +0 -0
- package/web/_app/immutable/chunks/D4ZE_w5G.js +0 -1
- package/web/_app/immutable/chunks/D4ZE_w5G.js.br +0 -2
- package/web/_app/immutable/chunks/D4ZE_w5G.js.gz +0 -0
- package/web/_app/immutable/chunks/D7u_fFb3.js +0 -1
- package/web/_app/immutable/chunks/D7u_fFb3.js.br +0 -0
- package/web/_app/immutable/chunks/D7u_fFb3.js.gz +0 -0
- package/web/_app/immutable/chunks/DCwknGt_.js +0 -1
- package/web/_app/immutable/chunks/DCwknGt_.js.br +0 -0
- package/web/_app/immutable/chunks/DCwknGt_.js.gz +0 -0
- package/web/_app/immutable/chunks/DREfnWsX.js +0 -3
- package/web/_app/immutable/chunks/DREfnWsX.js.br +0 -0
- package/web/_app/immutable/chunks/DREfnWsX.js.gz +0 -0
- package/web/_app/immutable/chunks/DVxI7FjX.js.br +0 -0
- package/web/_app/immutable/chunks/DVxI7FjX.js.gz +0 -0
- package/web/_app/immutable/chunks/hjSwzK9h.js +0 -1
- package/web/_app/immutable/chunks/hjSwzK9h.js.br +0 -0
- package/web/_app/immutable/chunks/hjSwzK9h.js.gz +0 -0
- package/web/_app/immutable/chunks/w7h4XsZJ.js +0 -1
- package/web/_app/immutable/chunks/w7h4XsZJ.js.br +0 -0
- package/web/_app/immutable/chunks/w7h4XsZJ.js.gz +0 -0
- package/web/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/web/_app/immutable/chunks/zP3xFRQe.js +0 -1
- package/web/_app/immutable/chunks/zP3xFRQe.js.br +0 -0
- package/web/_app/immutable/chunks/zP3xFRQe.js.gz +0 -0
- package/web/_app/immutable/entry/app.3dW0aZ0C.js +0 -2
- package/web/_app/immutable/entry/app.3dW0aZ0C.js.br +0 -0
- package/web/_app/immutable/entry/app.3dW0aZ0C.js.gz +0 -0
- package/web/_app/immutable/entry/app.9AAnS-yI.js +0 -2
- package/web/_app/immutable/entry/app.9AAnS-yI.js.br +0 -0
- package/web/_app/immutable/entry/app.9AAnS-yI.js.gz +0 -0
- package/web/_app/immutable/entry/app.ANGXLFom.js +0 -2
- package/web/_app/immutable/entry/app.ANGXLFom.js.br +0 -0
- package/web/_app/immutable/entry/app.ANGXLFom.js.gz +0 -0
- package/web/_app/immutable/entry/app.BKNmmlfE.js +0 -2
- package/web/_app/immutable/entry/app.BKNmmlfE.js.br +0 -0
- package/web/_app/immutable/entry/app.BKNmmlfE.js.gz +0 -0
- package/web/_app/immutable/entry/app.BpTzfcQ0.js +0 -2
- package/web/_app/immutable/entry/app.BpTzfcQ0.js.br +0 -0
- package/web/_app/immutable/entry/app.BpTzfcQ0.js.gz +0 -0
- package/web/_app/immutable/entry/app.C4bjxeWO.js +0 -2
- package/web/_app/immutable/entry/app.C4bjxeWO.js.br +0 -0
- package/web/_app/immutable/entry/app.C4bjxeWO.js.gz +0 -0
- package/web/_app/immutable/entry/app.DtLHzw3z.js +0 -2
- package/web/_app/immutable/entry/app.DtLHzw3z.js.br +0 -0
- package/web/_app/immutable/entry/app.DtLHzw3z.js.gz +0 -0
- package/web/_app/immutable/entry/app.JdGZOJP9.js +0 -2
- package/web/_app/immutable/entry/app.JdGZOJP9.js.br +0 -0
- package/web/_app/immutable/entry/app.JdGZOJP9.js.gz +0 -0
- package/web/_app/immutable/entry/app.Y2xfcThE.js +0 -2
- package/web/_app/immutable/entry/app.Y2xfcThE.js.br +0 -0
- package/web/_app/immutable/entry/app.Y2xfcThE.js.gz +0 -0
- package/web/_app/immutable/entry/start.1MYCJ1tF.js +0 -1
- package/web/_app/immutable/entry/start.1MYCJ1tF.js.br +0 -0
- package/web/_app/immutable/entry/start.1MYCJ1tF.js.gz +0 -0
- package/web/_app/immutable/entry/start.BVXsRwK_.js +0 -1
- package/web/_app/immutable/entry/start.BVXsRwK_.js.br +0 -0
- package/web/_app/immutable/entry/start.BVXsRwK_.js.gz +0 -0
- package/web/_app/immutable/entry/start.Ba5Uc8eb.js +0 -1
- package/web/_app/immutable/entry/start.Ba5Uc8eb.js.br +0 -0
- package/web/_app/immutable/entry/start.Ba5Uc8eb.js.gz +0 -0
- package/web/_app/immutable/entry/start.C4d7oVbO.js +0 -1
- package/web/_app/immutable/entry/start.C4d7oVbO.js.br +0 -0
- package/web/_app/immutable/entry/start.C4d7oVbO.js.gz +0 -0
- package/web/_app/immutable/entry/start.C9fvD1Aa.js +0 -1
- package/web/_app/immutable/entry/start.C9fvD1Aa.js.br +0 -0
- package/web/_app/immutable/entry/start.C9fvD1Aa.js.gz +0 -0
- package/web/_app/immutable/entry/start.CBdKJ8OJ.js +0 -1
- package/web/_app/immutable/entry/start.CBdKJ8OJ.js.br +0 -0
- package/web/_app/immutable/entry/start.CBdKJ8OJ.js.gz +0 -0
- package/web/_app/immutable/entry/start.CGqxdIky.js +0 -1
- package/web/_app/immutable/entry/start.CGqxdIky.js.br +0 -1
- package/web/_app/immutable/entry/start.CGqxdIky.js.gz +0 -0
- package/web/_app/immutable/entry/start.DCAnDkJ4.js +0 -1
- package/web/_app/immutable/entry/start.DCAnDkJ4.js.br +0 -1
- package/web/_app/immutable/entry/start.DCAnDkJ4.js.gz +0 -0
- package/web/_app/immutable/entry/start.uHHh6TGv.js +0 -1
- package/web/_app/immutable/entry/start.uHHh6TGv.js.br +0 -0
- package/web/_app/immutable/entry/start.uHHh6TGv.js.gz +0 -0
- package/web/_app/immutable/nodes/0.BCmcuSUd.js +0 -1
- package/web/_app/immutable/nodes/0.BCmcuSUd.js.br +0 -0
- package/web/_app/immutable/nodes/0.BCmcuSUd.js.gz +0 -0
- package/web/_app/immutable/nodes/0.BmeajISn.js +0 -1
- package/web/_app/immutable/nodes/0.BmeajISn.js.br +0 -0
- package/web/_app/immutable/nodes/0.BmeajISn.js.gz +0 -0
- package/web/_app/immutable/nodes/0.CEWfXkRu.js +0 -1
- package/web/_app/immutable/nodes/0.CEWfXkRu.js.br +0 -0
- package/web/_app/immutable/nodes/0.CEWfXkRu.js.gz +0 -0
- package/web/_app/immutable/nodes/0.CXcGyd5i.js +0 -1
- package/web/_app/immutable/nodes/0.CXcGyd5i.js.br +0 -0
- package/web/_app/immutable/nodes/0.CXcGyd5i.js.gz +0 -0
- package/web/_app/immutable/nodes/1.4qcY1DUg.js +0 -1
- package/web/_app/immutable/nodes/1.4qcY1DUg.js.br +0 -0
- package/web/_app/immutable/nodes/1.4qcY1DUg.js.gz +0 -0
- package/web/_app/immutable/nodes/1.B40KP6gd.js +0 -1
- package/web/_app/immutable/nodes/1.B40KP6gd.js.br +0 -0
- package/web/_app/immutable/nodes/1.B40KP6gd.js.gz +0 -0
- package/web/_app/immutable/nodes/1.B7Jv5SBo.js +0 -1
- package/web/_app/immutable/nodes/1.B7Jv5SBo.js.br +0 -0
- package/web/_app/immutable/nodes/1.B7Jv5SBo.js.gz +0 -0
- package/web/_app/immutable/nodes/1.BCMVGOd6.js +0 -1
- package/web/_app/immutable/nodes/1.BCMVGOd6.js.br +0 -0
- package/web/_app/immutable/nodes/1.BCMVGOd6.js.gz +0 -0
- package/web/_app/immutable/nodes/1.BDxkv2-K.js +0 -1
- package/web/_app/immutable/nodes/1.BDxkv2-K.js.br +0 -0
- package/web/_app/immutable/nodes/1.BDxkv2-K.js.gz +0 -0
- package/web/_app/immutable/nodes/1.BQCwMtd1.js +0 -1
- package/web/_app/immutable/nodes/1.BQCwMtd1.js.br +0 -0
- package/web/_app/immutable/nodes/1.BQCwMtd1.js.gz +0 -0
- package/web/_app/immutable/nodes/1.BxDYsu6O.js +0 -1
- package/web/_app/immutable/nodes/1.BxDYsu6O.js.br +0 -0
- package/web/_app/immutable/nodes/1.BxDYsu6O.js.gz +0 -0
- package/web/_app/immutable/nodes/1.C0St-5Zi.js +0 -1
- package/web/_app/immutable/nodes/1.C0St-5Zi.js.br +0 -0
- package/web/_app/immutable/nodes/1.C0St-5Zi.js.gz +0 -0
- package/web/_app/immutable/nodes/1.GyfleLtG.js +0 -1
- package/web/_app/immutable/nodes/1.GyfleLtG.js.br +0 -0
- package/web/_app/immutable/nodes/1.GyfleLtG.js.gz +0 -0
- package/web/_app/immutable/nodes/2.CuBCKUhI.js +0 -85
- package/web/_app/immutable/nodes/2.CuBCKUhI.js.br +0 -0
- package/web/_app/immutable/nodes/2.CuBCKUhI.js.gz +0 -0
- package/web/_app/immutable/nodes/2.DPbUW6ig.js +0 -84
- package/web/_app/immutable/nodes/2.DPbUW6ig.js.br +0 -0
- package/web/_app/immutable/nodes/2.DPbUW6ig.js.gz +0 -0
- package/web/_app/immutable/nodes/2.D_qyhBWp.js +0 -84
- package/web/_app/immutable/nodes/2.D_qyhBWp.js.br +0 -0
- package/web/_app/immutable/nodes/2.D_qyhBWp.js.gz +0 -0
- package/web/_app/immutable/nodes/2.DkQYWKMk.js +0 -84
- package/web/_app/immutable/nodes/2.DkQYWKMk.js.br +0 -0
- package/web/_app/immutable/nodes/2.DkQYWKMk.js.gz +0 -0
- package/web/_app/version.json +0 -1
- package/web/_app/version.json.br +0 -0
- package/web/_app/version.json.gz +0 -0
- package/web/favicon.svg.gz +0 -0
- package/web/index.html +0 -69
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/web/service-worker.js +0 -1
- package/web/service-worker.js.br +0 -0
- package/web/service-worker.js.gz +0 -0
- package/web/web-hidden/200.html +0 -68
- package/web/web-hidden/200.html.br +0 -0
- package/web/web-hidden/200.html.gz +0 -0
- package/web/web-hidden/_app/immutable/assets/0.BR25fKiu.css +0 -2
- package/web/web-hidden/_app/immutable/assets/0.BR25fKiu.css.br +0 -0
- package/web/web-hidden/_app/immutable/assets/0.BR25fKiu.css.gz +0 -0
- package/web/web-hidden/_app/immutable/chunks/B6IhHwpx.js.br +0 -0
- package/web/web-hidden/_app/immutable/chunks/B6IhHwpx.js.gz +0 -0
- package/web/web-hidden/_app/immutable/chunks/BHE-zqAh.js +0 -3
- package/web/web-hidden/_app/immutable/chunks/BHE-zqAh.js.br +0 -0
- package/web/web-hidden/_app/immutable/chunks/BHE-zqAh.js.gz +0 -0
- package/web/web-hidden/_app/immutable/chunks/BWSABaP6.js +0 -1
- package/web/web-hidden/_app/immutable/chunks/BWSABaP6.js.br +0 -2
- package/web/web-hidden/_app/immutable/chunks/BWSABaP6.js.gz +0 -0
- package/web/web-hidden/_app/immutable/chunks/Bjy-W4x2.js +0 -81
- package/web/web-hidden/_app/immutable/chunks/Bjy-W4x2.js.br +0 -0
- package/web/web-hidden/_app/immutable/chunks/Bjy-W4x2.js.gz +0 -0
- package/web/web-hidden/_app/immutable/chunks/DCwknGt_.js +0 -1
- package/web/web-hidden/_app/immutable/chunks/DCwknGt_.js.br +0 -0
- package/web/web-hidden/_app/immutable/chunks/DCwknGt_.js.gz +0 -0
- package/web/web-hidden/_app/immutable/chunks/xihTtKlq.js +0 -1
- package/web/web-hidden/_app/immutable/chunks/xihTtKlq.js.br +0 -1
- package/web/web-hidden/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/web/web-hidden/_app/immutable/entry/app.3dW0aZ0C.js +0 -2
- package/web/web-hidden/_app/immutable/entry/app.3dW0aZ0C.js.br +0 -0
- package/web/web-hidden/_app/immutable/entry/app.3dW0aZ0C.js.gz +0 -0
- package/web/web-hidden/_app/immutable/entry/start.1MYCJ1tF.js +0 -1
- package/web/web-hidden/_app/immutable/entry/start.1MYCJ1tF.js.br +0 -0
- package/web/web-hidden/_app/immutable/entry/start.1MYCJ1tF.js.gz +0 -0
- package/web/web-hidden/_app/immutable/nodes/0.CXcGyd5i.js +0 -1
- package/web/web-hidden/_app/immutable/nodes/0.CXcGyd5i.js.br +0 -0
- package/web/web-hidden/_app/immutable/nodes/0.CXcGyd5i.js.gz +0 -0
- package/web/web-hidden/_app/immutable/nodes/1.BDxkv2-K.js +0 -1
- package/web/web-hidden/_app/immutable/nodes/1.BDxkv2-K.js.br +0 -0
- package/web/web-hidden/_app/immutable/nodes/1.BDxkv2-K.js.gz +0 -0
- package/web/web-hidden/_app/immutable/nodes/2.DkQYWKMk.js +0 -84
- package/web/web-hidden/_app/immutable/nodes/2.DkQYWKMk.js.br +0 -0
- package/web/web-hidden/_app/immutable/nodes/2.DkQYWKMk.js.gz +0 -0
- package/web/web-hidden/_app/version.json +0 -1
- package/web/web-hidden/_app/version.json.br +0 -0
- package/web/web-hidden/_app/version.json.gz +0 -0
- package/web/web-hidden/backgrounds/aurora.svg +0 -71
- package/web/web-hidden/backgrounds/aurora.svg.br +0 -0
- package/web/web-hidden/backgrounds/aurora.svg.gz +0 -0
- package/web/web-hidden/backgrounds/mountain-mist.svg +0 -101
- package/web/web-hidden/backgrounds/mountain-mist.svg.br +0 -0
- package/web/web-hidden/backgrounds/mountain-mist.svg.gz +0 -0
- package/web/web-hidden/favicon.svg +0 -93
- package/web/web-hidden/favicon.svg.br +0 -0
- package/web/web-hidden/index.html +0 -69
- package/web/web-hidden/index.html.br +0 -0
- package/web/web-hidden/index.html.gz +0 -0
- package/web/web-hidden/manifest.webmanifest +0 -17
- package/web/web-hidden/refyard-app-icon.svg +0 -103
- package/web/web-hidden/refyard-app-icon.svg.br +0 -0
- package/web/web-hidden/refyard-app-icon.svg.gz +0 -0
- package/web/web-hidden/refyard-logo.svg +0 -103
- package/web/web-hidden/refyard-logo.svg.br +0 -0
- package/web/web-hidden/refyard-logo.svg.gz +0 -0
- package/web/web-hidden/refyard-mark.svg +0 -93
- package/web/web-hidden/refyard-mark.svg.br +0 -0
- package/web/web-hidden/refyard-mark.svg.gz +0 -0
- package/web/web-hidden/service-worker.js +0 -1
- package/web/web-hidden/service-worker.js.br +0 -0
- package/web/web-hidden/service-worker.js.gz +0 -0
- /package/{web → dist/web}/_app/immutable/chunks/Bjy-W4x2.js +0 -0
- /package/{web → dist/web}/_app/immutable/chunks/Bjy-W4x2.js.br +0 -0
- /package/{web → dist/web}/_app/immutable/chunks/xihTtKlq.js +0 -0
- /package/{web → dist/web}/_app/immutable/chunks/xihTtKlq.js.br +0 -0
- /package/{web → dist/web}/backgrounds/aurora.svg +0 -0
- /package/{web → dist/web}/backgrounds/aurora.svg.br +0 -0
- /package/{web → dist/web}/backgrounds/mountain-mist.svg +0 -0
- /package/{web → dist/web}/backgrounds/mountain-mist.svg.br +0 -0
- /package/{web → dist/web}/favicon.svg +0 -0
- /package/{web → dist/web}/favicon.svg.br +0 -0
- /package/{web → dist/web}/manifest.webmanifest +0 -0
- /package/{web → dist/web}/refyard-app-icon.svg +0 -0
- /package/{web → dist/web}/refyard-app-icon.svg.br +0 -0
- /package/{web → dist/web}/refyard-logo.svg +0 -0
- /package/{web → dist/web}/refyard-logo.svg.br +0 -0
- /package/{web → dist/web}/refyard-mark.svg +0 -0
- /package/{web → dist/web}/refyard-mark.svg.br +0 -0
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"../chunks/hjSwzK9h.js";export{e as load_css,t as start};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"../chunks/C9brEZY-.js";export{e as load_css,t as start};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"../chunks/w7h4XsZJ.js";export{e as load_css,t as start};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
&�import{i as e,t}from"../chunks/w7h4XsZJ.js";export{e as load_css,t as start};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"../chunks/CRo29nwv.js";export{e as load_css,t as start};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
&�import{i as e,t}from"../chunks/CRo29nwv.js";export{e as load_css,t as start};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"../chunks/Cyi7j60q.js";export{e as load_css,t as start};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,I as t,L as n,T as r,a as i,bt as a,kt as o,n as s,r as c,rt as l,tt as u,yt as d}from"../chunks/DREfnWsX.js";import"../chunks/xihTtKlq.js";import{E as f,S as p,_ as m,b as h,c as g,d as _,f as v,g as y,h as b,i as x,k as S,l as C,p as w,r as T,u as E,w as D,x as O,y as k}from"../chunks/BO3YXcks.js";var A=o({prerender:()=>!0,ssr:()=>!1}),j=class extends g{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||M(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=C({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),_.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function M(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var N=class extends w{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new j({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=P(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){_.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>k(t,e))}findAll(e={}){return this.getAll().filter(t=>k(e,t))}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return _.batch(()=>Promise.all(e.map(e=>e.continue().catch(O))))}};function P(e){return e.options.scope?.id}var F=class extends w{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??m(r,t),a=this.get(i);return a||(a=new x({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){_.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>h(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>h(e,t)):t}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){_.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){_.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},I=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new F,this.#t=e.mutationCache||new N,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=v.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=E.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(D(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=b(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return _.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;_.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return _.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=_.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(O).catch(O)}invalidateQueries(e,t={}){return _.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=_.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(O)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(O)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(D(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(D(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(O).catch(O)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(O).catch(O)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return E.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(y(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{p(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(y(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{p(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=m(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===f&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function L(n,o){a(o,!0);let l=i(o,`client`,19,()=>new I);c(()=>{l().mount()}),T(l()),s(()=>{l().unmount()});var f=t(),p=u(f);r(p,()=>o.children),e(n,f),d()}var R=n(`<!> <!>`,1);function z(t,n){a(n,!0);let i=new I({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1,staleTime:2e3}}});L(t,{get client(){return i},children:(t,i)=>{var a=R(),o=u(a);S(o,{});var s=l(o,2);r(s,()=>n.children),e(t,a)},$$slots:{default:!0}}),d()}export{z as component,A as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,I as t,L as n,T as r,a as i,bt as a,kt as o,n as s,r as c,rt as l,tt as u,yt as d}from"../chunks/DREfnWsX.js";import"../chunks/xihTtKlq.js";import{E as f,S as p,_ as m,b as h,c as g,d as _,f as v,g as y,h as b,i as x,k as S,l as C,p as w,r as T,u as E,w as D,x as O,y as k}from"../chunks/BO3YXcks.js";var A=o({prerender:()=>!0,ssr:()=>!1}),j=class extends g{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||M(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=C({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),_.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function M(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var N=class extends w{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new j({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=P(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){_.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>k(t,e))}findAll(e={}){return this.getAll().filter(t=>k(e,t))}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return _.batch(()=>Promise.all(e.map(e=>e.continue().catch(O))))}};function P(e){return e.options.scope?.id}var F=class extends w{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??m(r,t),a=this.get(i);return a||(a=new x({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){_.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>h(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>h(e,t)):t}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){_.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){_.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},I=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new F,this.#t=e.mutationCache||new N,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=v.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=E.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(D(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=b(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return _.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;_.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return _.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=_.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(O).catch(O)}invalidateQueries(e,t={}){return _.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=_.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(O)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(O)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(D(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(D(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(O).catch(O)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(O).catch(O)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return E.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(y(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{p(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(y(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{p(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=m(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===f&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function L(n,o){a(o,!0);let l=i(o,`client`,19,()=>new I);c(()=>{l().mount()}),T(l()),s(()=>{l().unmount()});var f=t(),p=u(f);r(p,()=>o.children),e(n,f),d()}var R=n(`<!> <!>`,1);function z(t,n){a(n,!0);let i=new I({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1,staleTime:2e3}}});L(t,{get client(){return i},children:(t,i)=>{var a=R(),o=u(a);S(o,{});var s=l(o,2);r(s,()=>n.children),e(t,a)},$$slots:{default:!0}}),d()}export{z as component,A as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,I as t,L as n,T as r,a as i,bt as a,kt as o,n as s,r as c,rt as l,tt as u,yt as d}from"../chunks/DREfnWsX.js";import"../chunks/xihTtKlq.js";import{E as f,S as p,_ as m,b as h,c as g,d as _,f as v,g as y,h as b,i as x,k as S,l as C,p as w,r as T,u as E,w as D,x as O,y as k}from"../chunks/BO3YXcks.js";var A=o({prerender:()=>!0,ssr:()=>!1}),j=class extends g{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||M(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=C({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),_.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function M(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var N=class extends w{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new j({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=P(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){_.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>k(t,e))}findAll(e={}){return this.getAll().filter(t=>k(e,t))}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return _.batch(()=>Promise.all(e.map(e=>e.continue().catch(O))))}};function P(e){return e.options.scope?.id}var F=class extends w{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??m(r,t),a=this.get(i);return a||(a=new x({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){_.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>h(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>h(e,t)):t}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){_.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){_.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},I=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new F,this.#t=e.mutationCache||new N,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=v.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=E.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(D(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=b(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return _.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;_.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return _.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=_.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(O).catch(O)}invalidateQueries(e,t={}){return _.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=_.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(O)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(O)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(D(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(D(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(O).catch(O)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(O).catch(O)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return E.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(y(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{p(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(y(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{p(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=m(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===f&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function L(n,o){a(o,!0);let l=i(o,`client`,19,()=>new I);c(()=>{l().mount()}),T(l()),s(()=>{l().unmount()});var f=t(),p=u(f);r(p,()=>o.children),e(n,f),d()}var R=n(`<!> <!>`,1);function z(t,n){a(n,!0);let i=new I({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1,staleTime:2e3}}});L(t,{get client(){return i},children:(t,i)=>{var a=R(),o=u(a);S(o,{});var s=l(o,2);r(s,()=>n.children),e(t,a)},$$slots:{default:!0}}),d()}export{z as component,A as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{At as e,E as t,I as n,L as r,R as i,a,bt as o,it as s,n as c,nt as l,r as u,xt as d}from"../chunks/BHE-zqAh.js";import"../chunks/xihTtKlq.js";import{E as f,S as p,_ as m,b as h,c as g,d as _,f as v,g as y,h as b,i as x,k as S,l as C,p as w,r as T,u as E,w as D,x as O,y as k}from"../chunks/B6IhHwpx.js";var A=e({prerender:()=>!0,ssr:()=>!1}),j=class extends g{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||M(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=C({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),_.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function M(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var N=class extends w{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new j({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=P(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=P(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){_.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>k(t,e))}findAll(e={}){return this.getAll().filter(t=>k(e,t))}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return _.batch(()=>Promise.all(e.map(e=>e.continue().catch(O))))}};function P(e){return e.options.scope?.id}var F=class extends w{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??m(r,t),a=this.get(i);return a||(a=new x({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){_.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>h(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>h(e,t)):t}notify(e){_.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){_.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){_.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},I=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new F,this.#t=e.mutationCache||new N,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=v.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=E.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(D(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=b(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return _.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;_.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return _.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=_.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(O).catch(O)}invalidateQueries(e,t={}){return _.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=_.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(O)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(O)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(D(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(D(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(O).catch(O)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(O).catch(O)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return E.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(y(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{p(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(y(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{p(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=m(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===f&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function L(e,i){d(i,!0);let s=a(i,`client`,19,()=>new I);u(()=>{s().mount()}),T(s()),c(()=>{s().unmount()});var f=r(),p=l(f);t(p,()=>i.children),n(e,f),o()}var R=i(`<!> <!>`,1);function z(e,r){d(r,!0);let i=new I({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1,staleTime:2e3}}});L(e,{get client(){return i},children:(e,i)=>{var a=R(),o=l(a);S(o,{});var c=s(o,2);t(c,()=>r.children),n(e,a)},$$slots:{default:!0}}),o()}export{z as component,A as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/w7h4XsZJ.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as e,N as t,Q as n,R as r,bt as i,it as a,nt as o,rt as s,xt as c}from"../chunks/BHE-zqAh.js";import{r as l}from"../chunks/Cyi7j60q.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=r(`<h1> </h1> <p> </p>`,1);function f(r,l){c(l,!0);var f=d(),p=o(f),m=s(p,!0),h=a(p,2),g=s(h,!0);n(()=>{t(m,u.status),t(g,u.error?.message)}),e(r,f),i()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/D7u_fFb3.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/C9brEZY-.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as e,N as t,Q as n,R as r,bt as i,it as a,nt as o,rt as s,xt as c}from"../chunks/BHE-zqAh.js";import{r as l}from"../chunks/DCwknGt_.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=r(`<h1> </h1> <p> </p>`,1);function f(r,l){c(l,!0);var f=d(),p=o(f),m=s(p,!0),h=a(p,2),g=s(h,!0);n(()=>{t(m,u.status),t(g,u.error?.message)}),e(r,f),i()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/hjSwzK9h.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/DVxI7FjX.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/zP3xFRQe.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,L as t,M as n,Z as r,bt as i,nt as a,rt as o,tt as s,yt as c}from"../chunks/DREfnWsX.js";import{r as l}from"../chunks/CRo29nwv.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=t(`<h1> </h1> <p> </p>`,1);function f(t,l){i(l,!0);var f=d(),p=s(f),m=a(p,!0),h=o(p,2),g=a(h,!0);r(()=>{n(m,u.status),n(g,u.error?.message)}),e(t,f),c()}export{f as component};
|
|
Binary file
|
|
Binary file
|