@selvajs/selva 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/.!34937!selva_example_0_1_0.gh +0 -0
- package/build/client/_app/immutable/assets/0.B0phAlf7.css.gz +0 -0
- package/build/client/_app/immutable/assets/20.5bKkcx-V.css +1 -0
- package/build/client/_app/immutable/assets/20.5bKkcx-V.css.br +0 -0
- package/build/client/_app/immutable/assets/20.5bKkcx-V.css.gz +0 -0
- package/build/client/_app/immutable/assets/index.CV-KWLNP.css.gz +0 -0
- package/build/client/_app/immutable/chunks/1s2jTHrf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2XlIPTRw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2_FEXmq1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2dX6Wjni.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4tskcAVN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AEyooZaf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1aRL9Hz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8uG8z2c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8zY50Bc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BCse3N0b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BGxzXVpM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BM4_iXSA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMGykAfL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNScKugQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNzEBMy8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BU9URCkw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BW4xleRz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZmrLQwT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_Lmgh7q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BapAUJpM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bb9xebuT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjkQG7dw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bmz9gLBz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bnpwcepm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BoR6OKl6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Br5bpmJC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxCHY0iG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{ChSMnQMB.js → C-pNJcZ1.js} +1 -1
- package/build/client/_app/immutable/chunks/C-pNJcZ1.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-pNJcZ1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1Sz0rtw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1aQuqo_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C26nmevH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8ko2SLk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CAMhfNhW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEnIp_6Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMjc_m7Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CRRzXoPz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXh1ITwj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZ1oTCKP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cbu9Tg11.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcYNc8-G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cdcajer6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ce2MupFq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfP1DoGT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfhPDo21.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkW8YtSm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoR7xVWs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CpGv0MSX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D7PHp8xb.js → CqdlMl9v.js} +1 -1
- package/build/client/_app/immutable/chunks/CqdlMl9v.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqdlMl9v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{4y4xLOS_.js → Cvkx15k5.js} +1 -1
- package/build/client/_app/immutable/chunks/Cvkx15k5.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cvkx15k5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cvr8AlQE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D0QMYypb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D40b34QZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6MI_dhi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7l1JayF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D99uXqZb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DEBBEmC0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNsLImlA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRDjLZb3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTJeGfAL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZFqETAQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_wr-JLf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dl4WTuMB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Doks8ISn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DsnmJJEf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DdaJZmuM.js → Dw1n4e1Z.js} +1 -1
- package/build/client/_app/immutable/chunks/Dw1n4e1Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dw1n4e1Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/E3yOQTT0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Gxlzmh6y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ib-7xmHT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/P4Np3c9O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Zf7VV5ZB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_OLpdTiI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/azBeeLR0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DHWrMZkd.js → ej-X2XiW.js} +1 -1
- package/build/client/_app/immutable/chunks/ej-X2XiW.js.br +0 -0
- package/build/client/_app/immutable/chunks/ej-X2XiW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gMllmzma.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hRoV10UM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/iEBlyxZv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/jFKgkeON.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ooPBmYPj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pRg-f8xU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uINs3xv3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wamM80bu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xe-rGDG8.js +3 -0
- package/build/client/_app/immutable/chunks/xe-rGDG8.js.br +0 -0
- package/build/client/_app/immutable/chunks/xe-rGDG8.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.CY1cyDxx.js → app.CFLPIelF.js} +2 -2
- package/build/client/_app/immutable/entry/app.CFLPIelF.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CFLPIelF.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CrhtzCz1.js +1 -0
- package/build/client/_app/immutable/entry/start.CrhtzCz1.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CrhtzCz1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.KJ-PiM1c.js +1 -0
- package/build/client/_app/immutable/nodes/0.KJ-PiM1c.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.KJ-PiM1c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.WcE6FOcF.js → 1.B4cNXFZe.js} +1 -1
- package/build/client/_app/immutable/nodes/1.B4cNXFZe.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.B4cNXFZe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.C5pTC9MT.js +3 -0
- package/build/client/_app/immutable/nodes/10.C5pTC9MT.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C5pTC9MT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.kVvSmSNV.js → 11.DO9irQLl.js} +1 -1
- package/build/client/_app/immutable/nodes/11.DO9irQLl.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DO9irQLl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BoPfAFdi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.JyGUEsdb.js → 13.Cmx49Kub.js} +1 -1
- package/build/client/_app/immutable/nodes/13.Cmx49Kub.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.Cmx49Kub.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.BbJglRXt.js → 14.DtWKU29l.js} +1 -1
- package/build/client/_app/immutable/nodes/14.DtWKU29l.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DtWKU29l.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.CgB8Kdm8.js +13 -0
- package/build/client/_app/immutable/nodes/15.CgB8Kdm8.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CgB8Kdm8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.DRADdurD.js → 16.CdiaMjqd.js} +2 -2
- package/build/client/_app/immutable/nodes/16.CdiaMjqd.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.CdiaMjqd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.DOsqdwdd.js → 17.fdmJDdhR.js} +1 -1
- package/build/client/_app/immutable/nodes/17.fdmJDdhR.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.fdmJDdhR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.BpVlwZ30.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.S2J54AdY.js → 19.CSLP9qPo.js} +1 -1
- package/build/client/_app/immutable/nodes/19.CSLP9qPo.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CSLP9qPo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.CKVtP2Ky.js → 2.BDo-orPp.js} +1 -1
- package/build/client/_app/immutable/nodes/2.BDo-orPp.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BDo-orPp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.BCasu2g4.js → 20.vMa5OYGG.js} +6 -6
- package/build/client/_app/immutable/nodes/20.vMa5OYGG.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.vMa5OYGG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.C1aTaoAB.js → 21.BXpF6SCn.js} +1 -1
- package/build/client/_app/immutable/nodes/21.BXpF6SCn.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BXpF6SCn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.DP5Be3HR.js → 23.sYDue3fB.js} +1 -1
- package/build/client/_app/immutable/nodes/23.sYDue3fB.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.sYDue3fB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.BB6fXxnh.js → 24.CMNCTbEg.js} +1 -1
- package/build/client/_app/immutable/nodes/24.CMNCTbEg.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.CMNCTbEg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.oeBaWIUn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.lPx5SjN1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{27.DB7PVQXo.js → 27.Cx5OgRDj.js} +1 -1
- package/build/client/_app/immutable/nodes/27.Cx5OgRDj.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.Cx5OgRDj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.Cf2R7A3f.js → 28.CGYOjnep.js} +1 -1
- package/build/client/_app/immutable/nodes/28.CGYOjnep.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.CGYOjnep.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{29.CyJS5sye.js → 29.CLf8RvpY.js} +1 -1
- package/build/client/_app/immutable/nodes/29.CLf8RvpY.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.CLf8RvpY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.DWyky0UV.js → 3.BlV_x8MJ.js} +1 -1
- package/build/client/_app/immutable/nodes/3.BlV_x8MJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BlV_x8MJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{30.BFpYKBJh.js → 30.R_e5369k.js} +1 -1
- package/build/client/_app/immutable/nodes/30.R_e5369k.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.R_e5369k.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.DKnO7o1W.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.D4xYDWvG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.0a-qdY5B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.BzQBSRbS.js → 5.BkfXGrZY.js} +1 -1
- package/build/client/_app/immutable/nodes/5.BkfXGrZY.js.br +1 -0
- package/build/client/_app/immutable/nodes/5.BkfXGrZY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.gJ2nhxWc.js → 6.CrYuHI6-.js} +1 -1
- package/build/client/_app/immutable/nodes/6.CrYuHI6-.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CrYuHI6-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.tBTDolnc.js → 7.CMw8RqJb.js} +1 -1
- package/build/client/_app/immutable/nodes/7.CMw8RqJb.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.CMw8RqJb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.BJK9n85D.js → 8.BFOXhEsE.js} +1 -1
- package/build/client/_app/immutable/nodes/8.BFOXhEsE.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BFOXhEsE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CDfx0uL-.js +1 -0
- package/build/client/_app/immutable/nodes/9.CDfx0uL-.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CDfx0uL-.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/favicon/favicon.svg.gz +0 -0
- package/build/client/robots.txt.gz +0 -0
- package/build/server/chunks/{0-BRU03dEw.js → 0-wC8vebb2.js} +4 -4
- package/build/server/chunks/{0-BRU03dEw.js.map → 0-wC8vebb2.js.map} +1 -1
- package/build/server/chunks/{1-m_oCIIXD.js → 1-BuhU5ws5.js} +2 -2
- package/build/server/chunks/{1-m_oCIIXD.js.map → 1-BuhU5ws5.js.map} +1 -1
- package/build/server/chunks/{10-J_ZMrbXX.js → 10-8FzClb5u.js} +6 -6
- package/build/server/chunks/{10-J_ZMrbXX.js.map → 10-8FzClb5u.js.map} +1 -1
- package/build/server/chunks/{11-Dz77N9MO.js → 11-DDY_rtxo.js} +6 -6
- package/build/server/chunks/{11-Dz77N9MO.js.map → 11-DDY_rtxo.js.map} +1 -1
- package/build/server/chunks/{12-CrOqT0Q5.js → 12-C_P4jkDv.js} +2 -2
- package/build/server/chunks/{12-CrOqT0Q5.js.map → 12-C_P4jkDv.js.map} +1 -1
- package/build/server/chunks/{13-DQGOyx8W.js → 13-B5aiYDRf.js} +3 -3
- package/build/server/chunks/{13-DQGOyx8W.js.map → 13-B5aiYDRf.js.map} +1 -1
- package/build/server/chunks/{14-Dl5jyPyO.js → 14-BaOmOh6D.js} +3 -3
- package/build/server/chunks/{14-Dl5jyPyO.js.map → 14-BaOmOh6D.js.map} +1 -1
- package/build/server/chunks/{15-CNzxJkd-.js → 15-DHGAmNDS.js} +4 -4
- package/build/server/chunks/{15-CNzxJkd-.js.map → 15-DHGAmNDS.js.map} +1 -1
- package/build/server/chunks/{16-5ZcnQNjK.js → 16-CzffXXom.js} +6 -6
- package/build/server/chunks/{16-5ZcnQNjK.js.map → 16-CzffXXom.js.map} +1 -1
- package/build/server/chunks/{17-C4Zpziyd.js → 17-DZkJ_eHV.js} +2 -2
- package/build/server/chunks/{17-C4Zpziyd.js.map → 17-DZkJ_eHV.js.map} +1 -1
- package/build/server/chunks/{18-DFxW4YE_.js → 18-DeVS-pOT.js} +2 -2
- package/build/server/chunks/{18-DFxW4YE_.js.map → 18-DeVS-pOT.js.map} +1 -1
- package/build/server/chunks/{19-C8RtlFzY.js → 19-Dp3tqQ1t.js} +3 -3
- package/build/server/chunks/{19-C8RtlFzY.js.map → 19-Dp3tqQ1t.js.map} +1 -1
- package/build/server/chunks/{2-tPIqsVg3.js → 2-ByzJzwtP.js} +5 -5
- package/build/server/chunks/{2-tPIqsVg3.js.map → 2-ByzJzwtP.js.map} +1 -1
- package/build/server/chunks/{20-DLtIYsB6.js → 20-B0yVR9Gt.js} +12 -12
- package/build/server/chunks/{20-DLtIYsB6.js.map → 20-B0yVR9Gt.js.map} +1 -1
- package/build/server/chunks/{21-Bs7WlXoO.js → 21-C1DQ27EI.js} +3 -3
- package/build/server/chunks/{21-Bs7WlXoO.js.map → 21-C1DQ27EI.js.map} +1 -1
- package/build/server/chunks/{23-dTtOINB8.js → 23-Cu3Wc2EB.js} +6 -6
- package/build/server/chunks/{23-dTtOINB8.js.map → 23-Cu3Wc2EB.js.map} +1 -1
- package/build/server/chunks/{24-DFoVUKXD.js → 24-BT4UP2RT.js} +4 -4
- package/build/server/chunks/{24-DFoVUKXD.js.map → 24-BT4UP2RT.js.map} +1 -1
- package/build/server/chunks/{25-DstWRI72.js → 25-ef6c33Ul.js} +2 -2
- package/build/server/chunks/{25-DstWRI72.js.map → 25-ef6c33Ul.js.map} +1 -1
- package/build/server/chunks/{27-CpQEotb7.js → 27-2TZYrjFq.js} +4 -4
- package/build/server/chunks/{27-CpQEotb7.js.map → 27-2TZYrjFq.js.map} +1 -1
- package/build/server/chunks/{28-B-G5uvxa.js → 28-CgAgC0Z2.js} +3 -3
- package/build/server/chunks/{28-B-G5uvxa.js.map → 28-CgAgC0Z2.js.map} +1 -1
- package/build/server/chunks/{29-BFo4HkLa.js → 29-B5T9cb-n.js} +3 -3
- package/build/server/chunks/{29-BFo4HkLa.js.map → 29-B5T9cb-n.js.map} +1 -1
- package/build/server/chunks/{3-BU-Ucrf8.js → 3-DADb713A.js} +2 -2
- package/build/server/chunks/{3-BU-Ucrf8.js.map → 3-DADb713A.js.map} +1 -1
- package/build/server/chunks/{30-zdVVQ-al.js → 30-DltbcIRy.js} +3 -3
- package/build/server/chunks/{30-zdVVQ-al.js.map → 30-DltbcIRy.js.map} +1 -1
- package/build/server/chunks/{31-Cba3pMW9.js → 31-CirH19D6.js} +2 -2
- package/build/server/chunks/{31-Cba3pMW9.js.map → 31-CirH19D6.js.map} +1 -1
- package/build/server/chunks/{32-BmfoNY4G.js → 32-CZojKYOy.js} +2 -2
- package/build/server/chunks/{32-BmfoNY4G.js.map → 32-CZojKYOy.js.map} +1 -1
- package/build/server/chunks/{5-CsoWfpGS.js → 5-BPpDRjc1.js} +2 -2
- package/build/server/chunks/{5-CsoWfpGS.js.map → 5-BPpDRjc1.js.map} +1 -1
- package/build/server/chunks/{6-D7wR-syA.js → 6-BNfcWbqm.js} +3 -3
- package/build/server/chunks/{6-D7wR-syA.js.map → 6-BNfcWbqm.js.map} +1 -1
- package/build/server/chunks/{7-uEz6AFkY.js → 7-C5iTPe4g.js} +2 -2
- package/build/server/chunks/{7-uEz6AFkY.js.map → 7-C5iTPe4g.js.map} +1 -1
- package/build/server/chunks/{8-BF-aCqND.js → 8-Cw1nSIV4.js} +3 -3
- package/build/server/chunks/{8-BF-aCqND.js.map → 8-Cw1nSIV4.js.map} +1 -1
- package/build/server/chunks/{9-BSxBuZbd.js → 9-6pRErmUa.js} +4 -4
- package/build/server/chunks/{9-BSxBuZbd.js.map → 9-6pRErmUa.js.map} +1 -1
- package/build/server/chunks/{_layout.svelte-Czx3WsTK.js → _layout.svelte-xYAKGoE5.js} +4 -4
- package/build/server/chunks/_layout.svelte-xYAKGoE5.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BO2coOCw.js → _page.svelte-BR8dze-7.js} +14 -14
- package/build/server/chunks/_page.svelte-BR8dze-7.js.map +1 -0
- package/build/server/chunks/{_page.svelte-KapMJV5_.js → _page.svelte-BsU27A26.js} +3 -3
- package/build/server/chunks/_page.svelte-BsU27A26.js.map +1 -0
- package/build/server/chunks/{_page.svelte-5X2iRv32.js → _page.svelte-CaOLJFdL.js} +2 -2
- package/build/server/chunks/_page.svelte-CaOLJFdL.js.map +1 -0
- package/build/server/chunks/{_page.svelte-CGuEBnqj.js → _page.svelte-DG_7CM7u.js} +5 -5
- package/build/server/chunks/_page.svelte-DG_7CM7u.js.map +1 -0
- package/build/server/chunks/{_page.svelte-CX9DKxIH.js → _page.svelte-DS9orYLw.js} +2 -2
- package/build/server/chunks/_page.svelte-DS9orYLw.js.map +1 -0
- package/build/server/chunks/{_server.ts-CmUr8pln.js → _server.ts-1HIleN3S.js} +4 -4
- package/build/server/chunks/{_server.ts-CmUr8pln.js.map → _server.ts-1HIleN3S.js.map} +1 -1
- package/build/server/chunks/{_server.ts-C-XniPo8.js → _server.ts-1nksAmT8.js} +4 -4
- package/build/server/chunks/{_server.ts-C-XniPo8.js.map → _server.ts-1nksAmT8.js.map} +1 -1
- package/build/server/chunks/{_server.ts-7hKc3tb_.js → _server.ts-AE1drj36.js} +4 -4
- package/build/server/chunks/{_server.ts-7hKc3tb_.js.map → _server.ts-AE1drj36.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DBh0rJrm.js → _server.ts-B0gZCMdj.js} +4 -4
- package/build/server/chunks/{_server.ts-DBh0rJrm.js.map → _server.ts-B0gZCMdj.js.map} +1 -1
- package/build/server/chunks/{_server.ts-_NTv7i9z.js → _server.ts-BSoy1Ljl.js} +4 -4
- package/build/server/chunks/{_server.ts-_NTv7i9z.js.map → _server.ts-BSoy1Ljl.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CAcgx11J.js → _server.ts-BTi2idVf.js} +4 -4
- package/build/server/chunks/{_server.ts-CAcgx11J.js.map → _server.ts-BTi2idVf.js.map} +1 -1
- package/build/server/chunks/{_server.ts-D-QkfF2o.js → _server.ts-BYlDwqEg.js} +5 -5
- package/build/server/chunks/{_server.ts-D-QkfF2o.js.map → _server.ts-BYlDwqEg.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CcQbKaET.js → _server.ts-BbzbsVfr.js} +4 -4
- package/build/server/chunks/{_server.ts-CcQbKaET.js.map → _server.ts-BbzbsVfr.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BLHjzdRp.js → _server.ts-BdKZ7aOG.js} +4 -4
- package/build/server/chunks/{_server.ts-BLHjzdRp.js.map → _server.ts-BdKZ7aOG.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BpkR7TzP.js → _server.ts-BgsmlYb6.js} +3 -3
- package/build/server/chunks/{_server.ts-BpkR7TzP.js.map → _server.ts-BgsmlYb6.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BUc1sqlR.js → _server.ts-BnN8EQwQ.js} +4 -4
- package/build/server/chunks/{_server.ts-BUc1sqlR.js.map → _server.ts-BnN8EQwQ.js.map} +1 -1
- package/build/server/chunks/{_server.ts-pDmNGXOa.js → _server.ts-ByhZiyPJ.js} +4 -4
- package/build/server/chunks/{_server.ts-pDmNGXOa.js.map → _server.ts-ByhZiyPJ.js.map} +1 -1
- package/build/server/chunks/{_server.ts-D1AD48e8.js → _server.ts-C2YLv0RS.js} +4 -4
- package/build/server/chunks/{_server.ts-D1AD48e8.js.map → _server.ts-C2YLv0RS.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Ch_RLYHQ.js → _server.ts-C3Cn_AWJ.js} +4 -4
- package/build/server/chunks/{_server.ts-Ch_RLYHQ.js.map → _server.ts-C3Cn_AWJ.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Z87uowZI.js → _server.ts-C9ggXEGb.js} +4 -4
- package/build/server/chunks/{_server.ts-Z87uowZI.js.map → _server.ts-C9ggXEGb.js.map} +1 -1
- package/build/server/chunks/{_server.ts-B0wiCYbB.js → _server.ts-CKHs57oZ.js} +2 -2
- package/build/server/chunks/{_server.ts-B0wiCYbB.js.map → _server.ts-CKHs57oZ.js.map} +1 -1
- package/build/server/chunks/{_server.ts-C4WRZSco.js → _server.ts-CM4aZGc-.js} +3 -3
- package/build/server/chunks/{_server.ts-C4WRZSco.js.map → _server.ts-CM4aZGc-.js.map} +1 -1
- package/build/server/chunks/{_server.ts-la-ySldK.js → _server.ts-CN851WSH.js} +4 -4
- package/build/server/chunks/{_server.ts-la-ySldK.js.map → _server.ts-CN851WSH.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Dmo73WWA.js → _server.ts-CNPmzTy6.js} +4 -4
- package/build/server/chunks/{_server.ts-Dmo73WWA.js.map → _server.ts-CNPmzTy6.js.map} +1 -1
- package/build/server/chunks/{_server.ts-C0F30GT4.js → _server.ts-CZW4ge6f.js} +4 -4
- package/build/server/chunks/{_server.ts-C0F30GT4.js.map → _server.ts-CZW4ge6f.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DxKERFAd.js → _server.ts-CaERLUlr.js} +3 -3
- package/build/server/chunks/{_server.ts-DxKERFAd.js.map → _server.ts-CaERLUlr.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CmGWhrdf.js → _server.ts-Cb4DODkC.js} +5 -5
- package/build/server/chunks/{_server.ts-CmGWhrdf.js.map → _server.ts-Cb4DODkC.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DNPb5zS6.js → _server.ts-CbQpXSqd.js} +4 -4
- package/build/server/chunks/{_server.ts-DNPb5zS6.js.map → _server.ts-CbQpXSqd.js.map} +1 -1
- package/build/server/chunks/{_server.ts-Bb3Kpo0Y.js → _server.ts-Ch4yLIuo.js} +3 -3
- package/build/server/chunks/{_server.ts-Bb3Kpo0Y.js.map → _server.ts-Ch4yLIuo.js.map} +1 -1
- package/build/server/chunks/{_server.ts-B_MVq_5r.js → _server.ts-Cjz2LZbt.js} +4 -4
- package/build/server/chunks/{_server.ts-B_MVq_5r.js.map → _server.ts-Cjz2LZbt.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BJWFkEuu.js → _server.ts-CyhcRpfW.js} +5 -5
- package/build/server/chunks/{_server.ts-BJWFkEuu.js.map → _server.ts-CyhcRpfW.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BemU6FO1.js → _server.ts-CzJ60KtY.js} +5 -5
- package/build/server/chunks/{_server.ts-BemU6FO1.js.map → _server.ts-CzJ60KtY.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BpAINcOs.js → _server.ts-D71yVIcY.js} +5 -15
- package/build/server/chunks/_server.ts-D71yVIcY.js.map +1 -0
- package/build/server/chunks/{_server.ts-CkXnisqg.js → _server.ts-DWL7YPsQ.js} +5 -5
- package/build/server/chunks/{_server.ts-CkXnisqg.js.map → _server.ts-DWL7YPsQ.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BkKg2yyC.js → _server.ts-DnpbPKKN.js} +4 -4
- package/build/server/chunks/{_server.ts-BkKg2yyC.js.map → _server.ts-DnpbPKKN.js.map} +1 -1
- package/build/server/chunks/{_server.ts-gic0t4mu.js → _server.ts-Dnqx5-qU.js} +6 -6
- package/build/server/chunks/{_server.ts-gic0t4mu.js.map → _server.ts-Dnqx5-qU.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CaHe7mo6.js → _server.ts-DrYz0SSH.js} +4 -4
- package/build/server/chunks/{_server.ts-CaHe7mo6.js.map → _server.ts-DrYz0SSH.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DJUYnHrj.js → _server.ts-DraBBcmz.js} +4 -4
- package/build/server/chunks/{_server.ts-DJUYnHrj.js.map → _server.ts-DraBBcmz.js.map} +1 -1
- package/build/server/chunks/{_server.ts-MOiQ4br_.js → _server.ts-I3zLnhsz.js} +4 -4
- package/build/server/chunks/{_server.ts-MOiQ4br_.js.map → _server.ts-I3zLnhsz.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DXPhlUCi.js → _server.ts-gCCprE5T.js} +4 -4
- package/build/server/chunks/{_server.ts-DXPhlUCi.js.map → _server.ts-gCCprE5T.js.map} +1 -1
- package/build/server/chunks/{_server.ts-BrZXNFlK.js → _server.ts-k0TOB-E9.js} +5 -5
- package/build/server/chunks/{_server.ts-BrZXNFlK.js.map → _server.ts-k0TOB-E9.js.map} +1 -1
- package/build/server/chunks/{_server.ts-CFIgn6q6.js → _server.ts-qFzkA4h-.js} +8 -8
- package/build/server/chunks/{_server.ts-CFIgn6q6.js.map → _server.ts-qFzkA4h-.js.map} +1 -1
- package/build/server/chunks/{_server.ts-0ncRaWJ_.js → _server.ts-v9eUA-cx.js} +4 -4
- package/build/server/chunks/{_server.ts-0ncRaWJ_.js.map → _server.ts-v9eUA-cx.js.map} +1 -1
- package/build/server/chunks/{access.server-GvriCjXN.js → access.server-DVG3xnR_.js} +3 -3
- package/build/server/chunks/{access.server-GvriCjXN.js.map → access.server-DVG3xnR_.js.map} +1 -1
- package/build/server/chunks/{api-errors-Dk5z97zb.js → api-errors-DGHmIOGJ.js} +2 -2
- package/build/server/chunks/{api-errors-Dk5z97zb.js.map → api-errors-DGHmIOGJ.js.map} +1 -1
- package/build/server/chunks/{auth-bootstrap.server-CfD5CPTj.js → auth-bootstrap.server-oox9p1sN.js} +10 -3
- package/build/server/chunks/auth-bootstrap.server-oox9p1sN.js.map +1 -0
- package/build/server/chunks/{bootHealth.server-Bn7taneH.js → bootHealth.server-DQx_qsNh.js} +2 -2
- package/build/server/chunks/{bootHealth.server-Bn7taneH.js.map → bootHealth.server-DQx_qsNh.js.map} +1 -1
- package/build/server/chunks/{hooks.server-CMWyl1Gd.js → hooks.server-aaRldGQ_.js} +4 -4
- package/build/server/chunks/{hooks.server-CMWyl1Gd.js.map → hooks.server-aaRldGQ_.js.map} +1 -1
- package/build/server/chunks/{permissions.server-Co6VKW9f.js → permissions.server-qrbshNHz.js} +2 -2
- package/build/server/chunks/{permissions.server-Co6VKW9f.js.map → permissions.server-qrbshNHz.js.map} +1 -1
- package/build/server/chunks/{providers.server-C32WKtDL.js → providers.server-Duyx-08B.js} +68 -68
- package/build/server/chunks/providers.server-Duyx-08B.js.map +1 -0
- package/build/server/chunks/{resolve.server-DYsU4jL3.js → resolve.server-BwfjDyaT.js} +3 -3
- package/build/server/chunks/{resolve.server-DYsU4jL3.js.map → resolve.server-BwfjDyaT.js.map} +1 -1
- package/build/server/chunks/{resolve.server2-Co65XNMI.js → resolve.server2-DjZg4oZg.js} +3 -3
- package/build/server/chunks/{resolve.server2-Co65XNMI.js.map → resolve.server2-DjZg4oZg.js.map} +1 -1
- package/build/server/chunks/{token.server-B8XVPI0F.js → token.server-CBtuQZt0.js} +2 -2
- package/build/server/chunks/token.server-CBtuQZt0.js.map +1 -0
- package/build/server/chunks/{utils2-Sy-_rI-0.js → utils2-QuTTpZq0.js} +2 -2
- package/build/server/chunks/{utils2-Sy-_rI-0.js.map → utils2-QuTTpZq0.js.map} +1 -1
- package/build/server/index.js +2 -2
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +70 -70
- package/build/server/manifest.js.map +1 -1
- package/package.json +7 -8
- package/templates/.env.example +3 -2
- package/templates/ecosystem.config.cjs +7 -5
- package/build/client/_app/immutable/assets/20.DzF5JyuX.css +0 -1
- package/build/client/_app/immutable/assets/20.DzF5JyuX.css.br +0 -0
- package/build/client/_app/immutable/assets/20.DzF5JyuX.css.gz +0 -0
- package/build/client/_app/immutable/chunks/4y4xLOS_.js.br +0 -0
- package/build/client/_app/immutable/chunks/4y4xLOS_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BFXFuY-o.js +0 -3
- package/build/client/_app/immutable/chunks/BFXFuY-o.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFXFuY-o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ChSMnQMB.js.br +0 -0
- package/build/client/_app/immutable/chunks/ChSMnQMB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7PHp8xb.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7PHp8xb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHWrMZkd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHWrMZkd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdaJZmuM.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdaJZmuM.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CY1cyDxx.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CY1cyDxx.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.ByTVZFMZ.js +0 -1
- package/build/client/_app/immutable/entry/start.ByTVZFMZ.js.br +0 -2
- package/build/client/_app/immutable/entry/start.ByTVZFMZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CQbbSrko.js +0 -1
- package/build/client/_app/immutable/nodes/0.CQbbSrko.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CQbbSrko.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.WcE6FOcF.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.WcE6FOcF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Bl4yPogx.js +0 -3
- package/build/client/_app/immutable/nodes/10.Bl4yPogx.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Bl4yPogx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.kVvSmSNV.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.kVvSmSNV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.JyGUEsdb.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.JyGUEsdb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BbJglRXt.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BbJglRXt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.94-Zje0s.js +0 -13
- package/build/client/_app/immutable/nodes/15.94-Zje0s.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.94-Zje0s.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.DRADdurD.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DRADdurD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DOsqdwdd.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DOsqdwdd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.S2J54AdY.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.S2J54AdY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CKVtP2Ky.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CKVtP2Ky.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.BCasu2g4.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.BCasu2g4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.C1aTaoAB.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.C1aTaoAB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.DP5Be3HR.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DP5Be3HR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.BB6fXxnh.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.BB6fXxnh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.DB7PVQXo.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.DB7PVQXo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.Cf2R7A3f.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.Cf2R7A3f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.CyJS5sye.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.CyJS5sye.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DWyky0UV.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DWyky0UV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.BFpYKBJh.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.BFpYKBJh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BzQBSRbS.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BzQBSRbS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.gJ2nhxWc.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.gJ2nhxWc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.tBTDolnc.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.tBTDolnc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BJK9n85D.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BJK9n85D.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.un0j6nRP.js +0 -1
- package/build/client/_app/immutable/nodes/9.un0j6nRP.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.un0j6nRP.js.gz +0 -0
- package/build/server/chunks/_layout.svelte-Czx3WsTK.js.map +0 -1
- package/build/server/chunks/_page.svelte-5X2iRv32.js.map +0 -1
- package/build/server/chunks/_page.svelte-BO2coOCw.js.map +0 -1
- package/build/server/chunks/_page.svelte-CGuEBnqj.js.map +0 -1
- package/build/server/chunks/_page.svelte-CX9DKxIH.js.map +0 -1
- package/build/server/chunks/_page.svelte-KapMJV5_.js.map +0 -1
- package/build/server/chunks/_server.ts-BpAINcOs.js.map +0 -1
- package/build/server/chunks/auth-bootstrap.server-CfD5CPTj.js.map +0 -1
- package/build/server/chunks/providers.server-C32WKtDL.js.map +0 -1
- package/build/server/chunks/token.server-B8XVPI0F.js.map +0 -1
- package/templates/selva.config.example.js +0 -338
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selvajs/selva",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Selva — self-contained Grasshopper-driven web app. Install
|
|
3
|
+
"version": "2.0.2",
|
|
4
|
+
"description": "Selva — self-contained Grasshopper-driven web app. Install, configure via .env, deploy.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -32,16 +32,15 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@sveltejs/adapter-node": "^5.5.4",
|
|
34
34
|
"@types/three": "^0.184.0",
|
|
35
|
-
"esbuild": "^0.25.0",
|
|
36
35
|
"tw-animate-css": "^1.4.0",
|
|
37
36
|
"vitest": "^3.2.4",
|
|
38
|
-
"@selvajs/
|
|
37
|
+
"@selvajs/schemas": "2.0.2",
|
|
38
|
+
"@selvajs/ui": "2.0.2",
|
|
39
39
|
"@selvajs/header-auth-provider": "0.11.0",
|
|
40
|
+
"@selvajs/supabase-provider": "0.10.0",
|
|
41
|
+
"@selvajs/config": "0.0.0",
|
|
40
42
|
"@selvajs/local-provider": "0.10.0",
|
|
41
|
-
"@selvajs/platform": "0.10.0"
|
|
42
|
-
"@selvajs/schemas": "2.0.0",
|
|
43
|
-
"@selvajs/ui": "2.0.0",
|
|
44
|
-
"@selvajs/supabase-provider": "0.10.0"
|
|
43
|
+
"@selvajs/platform": "0.10.0"
|
|
45
44
|
},
|
|
46
45
|
"scripts": {
|
|
47
46
|
"dev": "vite dev",
|
package/templates/.env.example
CHANGED
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
# Vars labeled "[local]" further down are only read by the local provider;
|
|
17
17
|
# "[supabase]" only by the Supabase provider.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
19
|
+
# For a custom provider not shipped in the box, point SELVA_CONFIG_PATH at a
|
|
20
|
+
# .js file exporting a defineConfig() result. The defaults below cover the
|
|
21
|
+
# three bundled stacks.
|
|
21
22
|
#
|
|
22
23
|
# SELVA_AUTH_PROVIDER local | supabase | header (default: local)
|
|
23
24
|
# SELVA_DATA_PROVIDER local | supabase (default: local)
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// PM2 process file — runtime template shipped with @selvajs/selva.
|
|
2
2
|
//
|
|
3
|
-
// Drop this into a deployment directory alongside
|
|
4
|
-
//
|
|
3
|
+
// Drop this into a deployment directory alongside .env, then
|
|
4
|
+
// `pm2 start ecosystem.config.cjs`.
|
|
5
5
|
//
|
|
6
6
|
// Runtime config is loaded from .env via Node's --env-file flag (Node >= 20.6).
|
|
7
7
|
// PM2's own env_file option is silently ignored by `pm2 start` (only works
|
|
8
8
|
// under pm2-runtime) — using --env-file via node_args avoids that footgun.
|
|
9
9
|
//
|
|
10
|
-
//
|
|
10
|
+
// Providers are picked from SELVA_AUTH_PROVIDER / SELVA_DATA_PROVIDER /
|
|
11
|
+
// SELVA_STORAGE_PROVIDER in .env. For custom providers not shipped in the box,
|
|
12
|
+
// set SELVA_CONFIG_PATH to a .js file exporting a defineConfig() result.
|
|
13
|
+
//
|
|
11
14
|
// Rhino.Compute server URL + API key are configured in /admin/compute.
|
|
12
15
|
module.exports = {
|
|
13
16
|
apps: [
|
|
@@ -44,8 +47,7 @@ module.exports = {
|
|
|
44
47
|
merge_logs: true,
|
|
45
48
|
|
|
46
49
|
env: {
|
|
47
|
-
NODE_ENV: 'production'
|
|
48
|
-
SELVA_CONFIG_PATH: './selva.config.js'
|
|
50
|
+
NODE_ENV: 'production'
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[data-scroll-area-viewport]{scrollbar-width:none!important;-ms-overflow-style:none!important;-webkit-overflow-scrolling:touch!important}[data-scroll-area-viewport]::-webkit-scrollbar{display:none!important}:where([data-scroll-area-viewport]){display:flex;flex-direction:column;align-items:stretch}:where([data-scroll-area-content]){flex-grow:1}div.svelte-ipyz6v::-webkit-scrollbar{width:4px}div.svelte-ipyz6v::-webkit-scrollbar-track{background:transparent}div.svelte-ipyz6v::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground) / .15);border-radius:2px}[data-viewer-fullscreen] [data-slot=dialog-content],[data-viewer-fullscreen] [data-slot=dialog-overlay]{z-index:10001}.fullscreen-viewer.svelte-1w06wj0{position:fixed;inset:0;z-index:10000;border-radius:0!important}.blur-overlay.svelte-1w06wj0{pointer-events:none}.blur-overlay-active.svelte-1w06wj0{animation:svelte-1w06wj0-blur-in .35s cubic-bezier(.32,.72,0,1) forwards}.blur-overlay-inactive.svelte-1w06wj0{animation:svelte-1w06wj0-blur-out .35s cubic-bezier(.32,.72,0,1) forwards}@keyframes svelte-1w06wj0-blur-in{0%{-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}to{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}}@keyframes svelte-1w06wj0-blur-out{0%{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}to{-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}}@keyframes svelte-1w06wj0-selva-viewer-fade-in{0%{opacity:0}to{opacity:1}}@keyframes svelte-1m1w05h-selva-slideInLeft{0%{transform:translate(-110%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-1m1w05h-selva-sweep{0%{width:0%;margin-left:0%}50%{width:60%;margin-left:20%}to{width:0%;margin-left:100%}}.content-wrapper.svelte-lllndz{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1)}.content-wrapper.collapsed.svelte-lllndz{grid-template-rows:0fr}.content-inner.svelte-lllndz{min-height:0}.schema-grid.svelte-lllndz{grid-template-columns:repeat(var(--schema-cols),minmax(0,1fr))}.col-divider.svelte-lllndz{border-left:1px solid var(--border);padding-left:12px;margin-left:-12px}@container (max-width: 320px){.col-divider.svelte-lllndz{border-left:0;padding-left:0;margin-left:0}}.tab-content-container.svelte-qi3fhy{container-type:inline-size}@container (max-width: 320px){.schema-grid{grid-template-columns:1fr}}@container (min-width: 321px) and (max-width: 560px){.schema-grid{grid-template-columns:repeat(min(2,var(--schema-cols)),minmax(0,1fr))}}@supports not (container-type: inline-size){@media(max-width:639px){.schema-grid{grid-template-columns:1fr}}@media(min-width:640px)and (max-width:1023px){.schema-grid{grid-template-columns:repeat(min(2,var(--schema-cols)),minmax(0,1fr))}}}div.svelte-6spcw6{min-width:0}@media(min-width:1024px){div.svelte-6spcw6{width:var(--collapsed-w)}}.fullscreen-layout.svelte-1o1i532{position:fixed;inset:0;z-index:9999;padding:0!important}[data-pane-resizer][data-collapsed=true]{cursor:pointer!important}.panel-content-wrapper.svelte-1o1i532{display:flex;flex-direction:column;height:100%;min-height:0}.panel-footer.svelte-1o1i532{flex-shrink:0;padding-top:1.5rem;padding-bottom:1rem;display:flex;flex-direction:column;gap:.5rem}.drawer-container.svelte-1o1i532{position:absolute;bottom:0;left:0;right:0;z-index:100;display:flex;flex-direction:column;border-radius:1rem 1rem 0 0;background:var(--background);border-top:1px solid var(--border);box-shadow:0 -4px 24px #0000001f;transition:height .35s cubic-bezier(.32,.72,0,1);overflow:hidden}.drawer-closed.svelte-1o1i532{height:60px}.drawer-open.svelte-1o1i532{height:60svh}.drawer-handle-bar.svelte-1o1i532{position:relative;height:60px;padding:20px 1rem 0;display:flex;align-items:center;gap:.5rem;cursor:pointer;background:transparent;border:none;width:100%;flex-shrink:0;-webkit-tap-highlight-color:transparent}.drawer-handle-bar.svelte-1o1i532:active{background:var(--muted)}.drawer-pill.svelte-1o1i532{position:absolute;top:8px;left:50%;transform:translate(-50%);width:2.5rem;height:4px;border-radius:9999px;background:var(--muted-foreground);opacity:.4}.drawer-content.svelte-1o1i532{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.drawer-footer.svelte-1o1i532{flex-shrink:0;padding:0rem 1rem;border-top:1px solid var(--border)}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{o as ze,s as It}from"./D0QMYypb.js";import{w as xe}from"./BMGykAfL.js";import{e as P,g as j,j as O,J as ue,U as Ut}from"./ooPBmYPj.js";class ve{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ce{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class De extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function Tt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Lt(e){return e.split("%25").map(decodeURI).join("%25")}function Pt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Re({href:e}){return e.split("#")[0]}function C(){}function jt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;const Ot=new TextDecoder;function Nt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const $t=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Z.delete(Be(e)),$t(e,t));const Z=new Map;function xt(e,t){const n=Be(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&Z.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Nt(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function Ct(e,t,n){if(Z.size>0){const r=Be(e,n),a=Z.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);Z.delete(r)}}return window.fetch(t,n)}function Be(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${jt(...a)}"]`}return r}const Dt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Bt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Mt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((i,l)=>{if(l%2){if(i.startsWith("x+"))return Ie(String.fromCharCode(parseInt(i.slice(2),16)));if(i.startsWith("u+"))return Ie(String.fromCharCode(...i.slice(2).split("-").map(m=>parseInt(m,16))));const u=Dt.exec(i),[,d,p,h,f]=u;return t.push({name:h,matcher:f,optional:!!d,rest:!!p,chained:p?l===1&&o[0]==="":!1}),p?"([^]*?)":d?"([^/]*)?":"([^/]+?)"}return Ie(i)}).join("")}).join("")}/?$`),params:t}}function Ft(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Mt(e){return e.slice(1).split("/").filter(Ft)}function Vt(e,t,n){const r={},a=e.slice(1),s=a.filter(c=>c!==void 0);let o=0;for(let c=0;c<t.length;c+=1){const i=t[c];let l=a[c-o];if(i.chained&&i.rest&&o&&(l=a.slice(c-o,c+1).filter(u=>u).join("/"),o=0),l===void 0)if(i.rest)l="";else continue;if(!i.matcher||n[i.matcher](l)){r[i.name]=l;const u=t[c+1],d=a[c+1];u&&!u.rest&&u.optional&&d&&i.chained&&(o=0),!u&&!d&&Object.keys(r).length===s.length&&(o=0);continue}if(i.optional&&i.chained){o++;continue}return}if(!o)return r}function Ie(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function qt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([c,[i,l,u]])=>{const{pattern:d,params:p}=Bt(c),h={id:c,exec:f=>{const m=d.exec(f);if(m)return Vt(m,p,r)},errors:[1,...u||[]].map(f=>e[f]),layouts:[0,...l||[]].map(o),leaf:s(i)};return h.errors.length=h.layouts.length=Math.max(h.errors.length,h.layouts.length),h});function s(c){const i=c<0;return i&&(c=~c),[i,e[c]]}function o(c){return c===void 0?c:[a.has(c),e[c]]}}function ot(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Xe(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_1f628o?.base??"",Gt=globalThis.__sveltekit_1f628o?.assets??L??"",Ht="1778764328080",st="sveltekit:snapshot",it="sveltekit:scroll",ct="sveltekit:states",Jt="sveltekit:pageurl",G="sveltekit:history",te="sveltekit:navigation",M={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ie=location.origin;function Fe(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function V(){return{x:pageXOffset,y:pageYOffset}}function q(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Ze={...M,"":M.hover};function lt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ft(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=lt(e)}}function Pe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const c=location.hash.split("#")[1]||"/";r.hash=`#${c}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||be(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=r?.origin===ie&&e.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function de(e){let t=null,n=null,r=null,a=null,s=null,o=null,c=e;for(;c&&c!==document.documentElement;)r===null&&(r=q(c,"preload-code")),a===null&&(a=q(c,"preload-data")),t===null&&(t=q(c,"keepfocus")),n===null&&(n=q(c,"noscroll")),s===null&&(s=q(c,"reload")),o===null&&(o=q(c,"replacestate")),c=lt(c);function i(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Ze[r??"off"],preload_data:Ze[a??"off"],keepfocus:i(t),noscroll:i(n),reload:i(s),replace_state:i(o)}}function Qe(e){const t=xe(e);let n=!0;function r(){n=!0,t.update(o=>o)}function a(o){n=!1,t.set(o)}function s(o){let c;return t.subscribe(i=>{(c===void 0||n&&i!==c)&&o(c=i)})}return{notify:r,set:a,subscribe:s}}const ut={v:C};function Kt(){const{set:e,subscribe:t}=xe(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Gt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Ht;return o&&(e(!0),ut.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:r}}function be(e,t,n){return e.origin!==ie||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function $n(e){}function Wt(e){return Uint8Array.fromBase64(e).buffer}function Yt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function zt(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let a=0;a<n;a++)r[a]=t.charCodeAt(a);return r.buffer}const Xt=typeof Uint8Array.fromBase64=="function",Zt=typeof process=="object"&&process.versions?.node!==void 0,Qt=Xt?Wt:Zt?Yt:zt,en=-1,tn=-2,nn=-3,rn=-4,an=-5,on=-6,sn=-7;function xn(e,t){return dt(JSON.parse(e),t)}function dt(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let a=null;function s(o,c=!1){if(o===en)return;if(o===nn)return NaN;if(o===rn)return 1/0;if(o===an)return-1/0;if(o===on)return-0;if(c||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const i=n[o];if(!i||typeof i!="object")r[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const l=i[0],u=t&&Object.hasOwn(t,l)?t[l]:void 0;if(u){let d=i[1];if(typeof d!="number"&&(d=n.push(i[1])-1),a??=new Set,a.has(d))throw new Error("Invalid circular reference");return a.add(d),r[o]=u(s(d)),a.delete(d),r[o]}switch(l){case"Date":r[o]=new Date(i[1]);break;case"Set":const d=new Set;r[o]=d;for(let f=1;f<i.length;f+=1)d.add(s(i[f]));break;case"Map":const p=new Map;r[o]=p;for(let f=1;f<i.length;f+=2)p.set(s(i[f]),s(i[f+1]));break;case"RegExp":r[o]=new RegExp(i[1],i[2]);break;case"Object":{const f=i[1];if(typeof n[f]=="object"&&n[f][0]!=="BigInt")throw new Error("Invalid input");r[o]=Object(s(f));break}case"BigInt":r[o]=BigInt(i[1]);break;case"null":const h=Object.create(null);r[o]=h;for(let f=1;f<i.length;f+=2){if(i[f]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");h[i[f]]=s(i[f+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[i[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const f=globalThis[l],m=s(i[1]);r[o]=i[2]!==void 0?new f(m,i[2],i[3]):new f(m);break}case"ArrayBuffer":{const f=i[1];if(typeof f!="string")throw new Error("Invalid ArrayBuffer encoding");const m=Qt(f);r[o]=m;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const f=l.slice(9);r[o]=Temporal[f].from(i[1]);break}case"URL":{const f=new URL(i[1]);r[o]=f;break}case"URLSearchParams":{const f=new URLSearchParams(i[1]);r[o]=f;break}default:throw new Error(`Unknown type ${l}`)}}else if(i[0]===sn){const l=i[1];if(!Number.isInteger(l)||l<0)throw new Error("Invalid input");const u=new Array(l);r[o]=u;for(let d=2;d<i.length;d+=2){const p=i[d];if(!Number.isInteger(p)||p<0||p>=l)throw new Error("Invalid input");u[p]=s(i[d+1])}}else{const l=new Array(i.length);r[o]=l;for(let u=0;u<i.length;u+=1){const d=i[u];d!==tn&&(l[u]=s(d))}}else{const l={};r[o]=l;for(const u of Object.keys(i)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const d=i[u];l[u]=s(d)}}return r[o]}return s(0)}const ht=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ht];const cn=new Set([...ht]);[...cn];function ln(e){return e.filter(t=>t!=null)}const fn="x-sveltekit-invalidated",un="x-sveltekit-trailing-slash";function he(e){return e instanceof ve||e instanceof De?e.status:500}function dn(e){return e instanceof De?e.text:"Internal Error"}let k,ne,Ue;const hn=ze.toString().includes("$$")||/function \w+\(\) \{\}/.test(ze.toString()),et="a:";hn?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(et)},ne={current:null},Ue={current:!1}):(k=new class{#e=P({});get data(){return j(this.#e)}set data(t){O(this.#e,t)}#t=P(null);get form(){return j(this.#t)}set form(t){O(this.#t,t)}#n=P(null);get error(){return j(this.#n)}set error(t){O(this.#n,t)}#r=P({});get params(){return j(this.#r)}set params(t){O(this.#r,t)}#a=P({id:null});get route(){return j(this.#a)}set route(t){O(this.#a,t)}#o=P({});get state(){return j(this.#o)}set state(t){O(this.#o,t)}#s=P(-1);get status(){return j(this.#s)}set status(t){O(this.#s,t)}#i=P(new URL(et));get url(){return j(this.#i)}set url(t){O(this.#i,t)}},ne=new class{#e=P(null);get current(){return j(this.#e)}set current(t){O(this.#e,t)}},Ue=new class{#e=P(!1);get current(){return j(this.#e)}set current(t){O(this.#e,t)}},ut.v=()=>Ue.current=!0);function Me(e){Object.assign(k,e)}const pn="/__data.json",_n=".html__data.json";function gn(e){return e.endsWith(".html")?e.replace(/\.html$/,_n):e.replace(/\/$/,"")+pn}const{tick:pt}=It,mn=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const B=ot(it)??{},re=ot(st)??{},D={url:Qe({}),page:Qe({}),navigating:xe(null),updated:Kt()};function Ve(e){B[e]=V()}function wn(e,t){let n=e+1;for(;B[n];)delete B[n],n+=1;for(n=t+1;re[n];)delete re[n],n+=1}function K(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function _t(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let qe,je,pe,$,Oe,E;const _e=[],ge=[];let U=null;function ae(){U?.fork?.then(e=>e?.discard()),U=null}const fe=new Map,gt=new Set,yn=new Set,Q=new Set;let _={branch:[],error:null,url:null,nav:null},Ge=!1,me=!1,tt=!0,oe=!1,X=!1,mt=!1,ce=!1,W,R,T,x;const ee=new Set;let Te;const we=new Map;async function Fn(e,t,n){globalThis.__sveltekit_1f628o&&(globalThis.__sveltekit_1f628o.query,globalThis.__sveltekit_1f628o.prerender),document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),qe=qt(e),$=document.documentElement,Oe=t,je=e.nodes[0],pe=e.nodes[1],je(),pe(),R=history.state?.[G],T=history.state?.[te],R||(R=T=Date.now(),history.replaceState({...history.state,[G]:R,[te]:T},""));const r=B[R];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Ln(Oe,n)):(await H({type:"enter",url:Fe(E.hash?Pn(new URL(location.href)):location.href),replace_state:!0}),a()),Tn()}async function vn(e=!0,t=!0){if(await(Te||=Promise.resolve()),!Te)return;Te=null;const n=x={},r=await le(_.url,!0);if(ae(),ce&&we.forEach(a=>{a.forEach(({resource:s})=>{s.refresh?.()})}),e){const a=k.state,s=r&&await Ke(r);if(!s||n!==x)return;if(s.type==="redirect")return ke(new URL(s.location,_.url).href,{replaceState:!0},1,n);t||(s.props.page.state=a),Me(s.props.page),_={...s.state,nav:_.nav},Ne(),W.$set(s.props)}else Ne();await Promise.all([...we.values()].flatMap(a=>[...a.values()].map(({resource:s})=>s))).catch(C)}function Ne(){_e.length=0,ce=!1}function wt(e){ge.some(t=>t?.snapshot)&&(re[e]=ge.map(t=>t?.snapshot?.capture()))}function yt(e){re[e]?.forEach((t,n)=>{ge[n]?.snapshot?.restore(t)})}function nt(){Ve(R),Xe(it,B),wt(T),Xe(st,re)}async function ke(e,t,n,r){let a;t.invalidateAll&&ae(),await H({type:"goto",url:Fe(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ce=!0,a=[],we.forEach((s,o)=>{for(const c of s.keys())a.push(o+"/"+c)})),t.invalidate&&t.invalidate.forEach(In)}}),t.invalidateAll&&ue().then(ue).then(()=>{we.forEach((s,o)=>{s.forEach(({resource:c},i)=>{a?.includes(o+"/"+i)&&c.refresh?.()})})})}async function bn(e){if(e.id!==U?.id){ae();const t={};ee.add(t),U={id:e.id,token:t,promise:Ke({...e,preload:t}).then(n=>(ee.delete(t),n.type==="loaded"&&n.state.error&&ae(),n)),fork:null}}return U.promise}async function Le(e){const t=(await le(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function vt(e,t,n){const r={params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)};_={...e.state,nav:r};const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(k,e.props.page),W=new E.root({target:t,props:{...e.props,stores:D,components:ge},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),yt(T),n){const s={from:null,to:{...r,scroll:B[R]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};Q.forEach(o=>o(s))}me=!0}async function se({url:e,params:t,branch:n,errors:r,status:a,error:s,route:o,form:c}){let i="never";if(L&&(e.pathname===L||e.pathname===L+"/"))i="always";else for(const f of n)f?.slash!==void 0&&(i=f.slash);e.pathname=Tt(e.pathname,i),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:s,route:o},props:{constructors:ln(n).map(f=>f.node.component),page:Ae(k)}};c!==void 0&&(l.props.form=c);let u={},d=!k,p=0;for(let f=0;f<Math.max(n.length,_.branch.length);f+=1){const m=n[f],b=_.branch[f];m?.data!==b?.data&&(d=!0),m&&(u={...u,...m.data},d&&(l.props[`data_${p}`]=u),p+=1)}return(!_.url||e.href!==_.url.href||_.error!==s||c!==void 0&&c!==k.form||d)&&(l.props.page={error:s,params:t,route:{id:o?.id??null},state:{},status:a,url:new URL(e),form:c??null,data:d?u:k.data}),l}async function He({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let o=null;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},i=await e();return{node:i,loader:e,server:s,universal:i.universal?.load?{type:"data",data:o,uses:c}:null,data:o??s?.data??null,slash:i.universal?.trailingSlash??s?.slash}}function kn(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=me?Ct(r,a.href,t):xt(r,t);return{resolved:a,promise:s}}function rt(e,t,n,r,a,s){if(ce)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const o of a.search_params)if(r.has(o))return!0;for(const o of a.params)if(s[o]!==_.params[o])return!0;for(const o of a.dependencies)if(_e.some(c=>c(new URL(o))))return!0;return!1}function Je(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function En(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function at({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Ae(k),constructors:[]}}}async function Ke({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(U?.id===e)return ee.delete(U.token),U.promise;const{errors:o,layouts:c,leaf:i}=a,l=[...c,i];o.forEach(w=>w?.().catch(C)),l.forEach(w=>w?.[1]().catch(C));let u=null;const d=_.url?e!==ye(_.url):!1,p=_.route?a.id!==_.route.id:!1,h=En(_.url,n);let f=!1;{const w=l.map((y,A)=>{const S=_.branch[A],v=!!y?.[0]&&(S?.loader!==y[1]||rt(f,p,d,h,S.server?.uses,r));return v&&(f=!0),v});if(w.some(Boolean)){try{u=await At(n,w)}catch(y){const A=await J(y,{url:n,params:r,route:{id:e}});return ee.has(s)?at({error:A,url:n,params:r,route:a}):Ee({status:he(y),error:A,url:n,route:a})}if(u.type==="redirect")return u}}const m=u?.nodes;let b=!1;const g=l.map(async(w,y)=>{if(!w)return;const A=_.branch[y],S=m?.[y];if((!S||S.type==="skip")&&w[1]===A?.loader&&!rt(b,p,d,h,A.universal?.uses,r))return A;if(b=!0,S?.type==="error")throw S;return He({loader:w[1],url:n,params:r,route:a,parent:async()=>{const N={};for(let F=0;F<y;F+=1)Object.assign(N,(await g[F])?.data);return N},server_data_node:Je(S===void 0&&w[0]?{type:"skip"}:S??null,w[0]?A?.server:void 0)})});for(const w of g)w.catch(C);const I=[];for(let w=0;w<l.length;w+=1)if(l[w])try{I.push(await g[w])}catch(y){if(y instanceof Ce)return{type:"redirect",location:y.location};if(ee.has(s))return at({error:await J(y,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let A=he(y),S;if(m?.includes(y))A=y.status??A,S=y.error;else if(y instanceof ve)S=y.body;else{if(await D.updated.check())return await _t(),await K(n);S=await J(y,{params:r,url:n,route:{id:a.id}})}const v=await bt(w,I,o);return v?se({url:n,params:r,branch:I.slice(0,v.idx).concat(v.node),errors:o,status:A,error:S,route:a}):await Et(n,{id:a.id},S,A)}else I.push(void 0);return se({url:n,params:r,branch:I,errors:o,status:200,error:null,route:a,form:t?void 0:null})}async function bt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Ee({status:e,error:t,url:n,route:r}){const a={};let s=null;if(E.server_loads[0]===0)try{const c=await At(n,[!0]);if(c.type!=="data"||c.nodes[0]&&c.nodes[0].type!=="data")throw 0;s=c.nodes[0]??null}catch{(n.origin!==ie||n.pathname!==location.pathname||Ge)&&await K(n)}try{const o=await He({loader:je,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Je(s)}),c={node:await pe(),loader:pe,universal:null,server:null,data:null};return se({url:n,params:a,branch:[o,c],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof Ce)return ke(new URL(o.location,location.href),{},0);throw o}}async function An(e){const t=e.href;if(fe.has(t))return fe.get(t);let n;try{const r=(async()=>{let a=await E.hooks.reroute({url:new URL(e),fetch:async(s,o)=>kn(s,o,e).promise})??e;if(typeof a=="string"){const s=new URL(e);E.hash?s.hash=a:s.pathname=a,a=s}return a})();fe.set(t,r),n=await r}catch{fe.delete(t);return}return n}async function le(e,t){if(e&&!be(e,L,E.hash)){const n=await An(e);if(!n)return;const r=Sn(n);for(const a of qe){const s=a.exec(r);if(s)return{id:ye(e),invalidating:t,route:a,params:Pt(s),url:e}}}}function Sn(e){return Lt(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function ye(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function kt({url:e,type:t,intent:n,delta:r,event:a,scroll:s}){let o=!1;const c=Ye(_,n,e,t,s??null);r!==void 0&&(c.navigation.delta=r),a!==void 0&&(c.navigation.event=a);const i={...c.navigation,cancel:()=>{o=!0,c.reject(new Error("navigation cancelled"))}};return oe||gt.forEach(l=>l(i)),o?null:c}async function H({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:c=0,nav_token:i={},accept:l=C,block:u=C,event:d}){const p=x;x=i;const h=await le(t,!1),f=e==="enter"?Ye(_,h,t,e):kt({url:t,type:e,delta:n?.delta,intent:h,scroll:n?.scroll,event:d});if(!f){u(),x===i&&(x=p);return}const m=R,b=T;l(),oe=!0,me&&f.navigation.type!=="enter"&&D.navigating.set(ne.current=f.navigation);let g=h&&await Ke(h);if(!g){if(be(t,L,E.hash))return await K(t,s);g=await Et(t,{id:null},await J(new De(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=h?.url||t,x!==i)return f.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(c<20){await H({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:c+1,nav_token:i}),f.fulfil(void 0);return}g=await Ee({status:500,error:await J(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await D.updated.check()&&(await _t(),await K(t,s));if(Ne(),Ve(m),wt(b),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),o=n?n.state:o,!n){const v=s?0:1,N={[G]:R+=v,[te]:T+=v,[ct]:o};(s?history.replaceState:history.pushState).call(history,N,"",t),s||wn(R,T)}const I=h&&U?.id===h.id?U.fork:null;U?.fork&&!I&&ae(),U=null,g.props.page.state=o;let w;if(me){const v=(await Promise.all(Array.from(yn,Y=>Y(f.navigation)))).filter(Y=>typeof Y=="function");if(v.length>0){let Y=function(){v.forEach(Se=>{Q.delete(Se)})};v.push(Y),v.forEach(Se=>{Q.add(Se)})}const N=f.navigation.to;_={...g.state,nav:{params:N.params,route:N.route,url:N.url}},g.props.page&&(g.props.page.url=t);const F=I&&await I;F?w=F.commit():(z=null,W.$set(g.props),z&&Object.assign(g.props.page,z),Me(g.props.page),w=Ut?.()),mt=!0}else await vt(g,Oe,!1);const{activeElement:y}=document;await w,await ue(),await ue();let A=null;if(tt){const v=n?n.scroll:a?V():null;v?scrollTo(v.x,v.y):(A=t.hash&&document.getElementById(Rt(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==y&&document.activeElement!==document.body;!r&&!S&&We(t,!A),tt=!0,g.props.page&&(z&&Object.assign(g.props.page,z),Object.assign(k,g.props.page)),oe=!1,e==="popstate"&&yt(T),f.fulfil(void 0),f.navigation.to&&(f.navigation.to.scroll=V()),Q.forEach(v=>v(f.navigation)),D.navigating.set(ne.current=null)}async function Et(e,t,n,r,a){return e.origin===ie&&e.pathname===location.pathname&&!Ge?await Ee({status:r,error:n,url:e,route:t}):await K(e,a)}function Rn(){let e,t={element:void 0,href:void 0},n;$.addEventListener("mousemove",c=>{const i=c.target;clearTimeout(e),e=setTimeout(()=>{s(i,M.hover)},20)});function r(c){c.defaultPrevented||s(c.composedPath()[0],M.tap)}$.addEventListener("mousedown",r),$.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(c=>{for(const i of c)i.isIntersecting&&(Le(new URL(i.target.href)),a.unobserve(i.target))},{threshold:0});async function s(c,i){const l=ft(c,$),u=l===t.element&&l?.href===t.href&&i>=n;if(!l||u)return;const{url:d,external:p,download:h}=Pe(l,L,E.hash);if(p||h)return;const f=de(l),m=d&&ye(_.url)===ye(d);if(!(f.reload||m))if(i<=f.preload_data){t={element:l,href:l.href},n=M.tap;const b=await le(d,!1);if(!b)return;bn(b)}else i<=f.preload_code&&(t={element:l,href:l.href},n=i,Le(d))}function o(){a.disconnect();for(const c of $.querySelectorAll("a")){const{url:i,external:l,download:u}=Pe(c,L,E.hash);if(l||u)continue;const d=de(c);d.reload||(d.preload_code===M.viewport&&a.observe(c),d.preload_code===M.eager&&Le(i))}}Q.add(o),o()}function J(e,t){if(e instanceof ve)return e.body;const n=he(e),r=dn(e);return E.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Mn(e,t={}){return e=new URL(Fe(e)),e.origin!==ie?Promise.reject(new Error("goto: invalid URL")):ke(e,t,0)}function In(e){if(typeof e=="function")_e.push(e);else{const{href:t}=new URL(e,location.href);_e.push(n=>n.href===t)}}function Vn(){return ce=!0,vn()}async function qn(e){e.type==="error"?await Un(e.error,e.status):e.type==="redirect"?await ke(e.location,{invalidateAll:!0},0):(k.form=e.data,k.status=e.status,W.$set({form:null,page:Ae(k)}),await pt(),W.$set({form:e.data}),e.type==="success"&&We(k.url))}async function Un(e,t=500){const n=new URL(location.href),{branch:r,route:a}=_;if(!a)return;const s=await bt(_.branch.length,r,a.errors);if(s){const o=await se({url:n,params:_.params,branch:r.slice(0,s.idx).concat(s.node),status:t,error:e,route:a});_={...o.state,nav:_.nav},W.$set(o.props),Me(o.props.page),pt().then(()=>We(_.url))}}function Tn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(nt(),!oe){const r=Ye(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};gt.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&nt()}),navigator.connection?.saveData||Rn(),$.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=ft(t.composedPath()[0],$);if(!n)return;const{url:r,external:a,target:s,download:o}=Pe(n,L,E.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=de(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[l,u]=(E.hash?r.hash.replace(/^#/,""):r.href).split("#"),d=l===Re(location);if(a||c.reload&&(!d||!u)){kt({url:r,type:"link",event:t})?oe=!0:t.preventDefault();return}if(u!==void 0&&d){const[,p]=_.url.href.split("#");if(p===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=n.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(X=!0,Ve(R),e(r),!c.replace_state)return;X=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await H({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href,event:t})}),$.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const o=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(be(o,L,!1))return;const c=t.target,i=de(c);if(i.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(c,r);o.search=new URLSearchParams(l).toString(),H({type:"form",url:o,keepfocus:i.keepfocus,noscroll:i.noscroll,replace_state:i.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!$e){if(t.state?.[G]){const n=t.state[G];if(x={},n===R)return;const r=B[n],a=t.state[ct]??{},s=new URL(t.state[Jt]??location.href),o=t.state[te],c=_.url?Re(location)===Re(_.url):!1;if(o===T&&(mt||c)){a!==k.state&&(k.state=a),e(s),B[R]=V(),r&&scrollTo(r.x,r.y),R=n;return}const l=n-R;await H({type:"popstate",url:s,popped:{state:a,scroll:r,delta:l},accept:()=>{R=n,T=o},block:()=>{history.go(-l)},nav_token:x,event:t})}else if(!X){const n=new URL(location.href);e(n),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{X&&(X=!1,history.replaceState({...history.state,[G]:++R,[te]:T},"",location.href))});for(const t of document.querySelectorAll("link"))mn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(ne.current=null)});function e(t){_.url=k.url=t,D.page.set(Ae(k)),D.page.notify()}}async function Ln(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:c,form:i}){Ge=!0;const l=new URL(location.href);let u;({params:a={},route:s={id:null}}=await le(l,!1)||{}),u=qe.find(({id:h})=>h===s.id);let d,p=!0;try{const h=r.map(async(m,b)=>{const g=c[b];return g?.uses&&(g.uses=St(g.uses)),He({loader:E.nodes[m],url:l,params:a,route:s,parent:async()=>{const I={};for(let w=0;w<b;w+=1)Object.assign(I,(await h[w]).data);return I},server_data_node:Je(g)})}),f=await Promise.all(h);if(u){const m=u.layouts;for(let b=0;b<m.length;b++)m[b]||f.splice(b,0,void 0)}d=await se({url:l,params:a,branch:f,status:t,error:n,errors:u?.errors,form:i,route:u??null})}catch(h){if(h instanceof Ce){await K(new URL(h.location,location.href));return}d=await Ee({status:he(h),error:await J(h,{url:l,params:a,route:s}),url:l,route:s}),e.textContent="",p=!1}d.props.page&&(d.props.page.state={}),await vt(d,e,p)}async function At(e,t){const n=new URL(e);n.pathname=gn(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(un,"1"),n.searchParams.append(fn,t.map(s=>s?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let s;throw a.headers.get("content-type")?.includes("application/json")?s=await a.json():a.status===404?s="Not Found":a.status===500&&(s="Internal Error"),new ve(a.status,s)}return new Promise(async s=>{const o=new Map,c=a.body.getReader();function i(u){return dt(u,{...E.decoders,Promise:d=>new Promise((p,h)=>{o.set(d,{fulfil:p,reject:h})})})}let l="";for(;;){const{done:u,value:d}=await c.read();if(u&&!l)break;for(l+=!d&&l?`
|
|
2
|
-
`:Ot.decode(d,{stream:!0});;){const p=l.indexOf(`
|
|
3
|
-
`);if(p===-1)break;const h=JSON.parse(l.slice(0,p));if(l=l.slice(p+1),h.type==="redirect")return s(h);if(h.type==="data")h.nodes?.forEach(f=>{f?.type==="data"&&(f.uses=St(f.uses),f.data=i(f.data))}),s(h);else if(h.type==="chunk"){const{id:f,data:m,error:b}=h,g=o.get(f);o.delete(f),b?g.reject(i(b)):g.fulfil(i(m))}}}})}function St(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let $e=!1;function We(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=Rt(e);if(r&&document.getElementById(r)){const{x:s,y:o}=V();setTimeout(()=>{const c=history.state;$e=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(c,"",e),t&&scrollTo(s,o),$e=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o<a.rangeCount;o+=1)s.push(a.getRangeAt(o));setTimeout(()=>{if(a.rangeCount===s.length){for(let o=0;o<a.rangeCount;o+=1){const c=s[o],i=a.getRangeAt(o);if(c.commonAncestorContainer!==i.commonAncestorContainer||c.startContainer!==i.startContainer||c.endContainer!==i.endContainer||c.startOffset!==i.startOffset||c.endOffset!==i.endOffset)return}a.removeAllRanges()}})}}}function Ye(e,t,n,r,a=null){let s,o;const c=new Promise((l,u)=>{s=l,o=u});return c.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:V()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:c},fulfil:s,reject:o}}function Ae(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Pn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function Rt(e){let t;if(E.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{qn as a,xn as b,E as c,Fn as d,Mn as g,Vn as i,$n as l,C as n,k as p,D as s};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,d as r}from"../chunks/BFXFuY-o.js";export{o as load_css,r as start};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as Bt,f,a as Et,t as Y,s as yt,ax as Mt,g as e,u as c,c as rt,r as $,S as je,R as Ie,T as We,e as R,h as ke,k as wt,j as r,K as ne,n as lt,b as ze,d as Ve,$ as Ue}from"../chunks/ooPBmYPj.js";import{c as y,a,f as W,t as Te,d as zt}from"../chunks/_OLpdTiI.js";import{s as nt}from"../chunks/BNScKugQ.js";import{h as Ae}from"../chunks/BM4_iXSA.js";import{a as x,e as be,d as ft,c as mt,j as he,f as Ye,S as Ze}from"../chunks/C1aQuqo_.js";import{s as Ge,m as qt,a as Jt,d as Ce,l as Se,b as Me,c as Qt,e as Be,f as He,g as Xe,h as qe,i as Ee,j as Je,k as Qe,n as pe,o as $e}from"../chunks/2_FEXmq1.js";import{o as ye}from"../chunks/D0QMYypb.js";import{i as C}from"../chunks/C8ko2SLk.js";import{p as m,b as Le,c as Lt,s as ee,r as Oe}from"../chunks/CcYNc8-G.js";import{h as tn}from"../chunks/iEBlyxZv.js";import{c as en,o as ae,a as Ft,e as nn,d as an,s as pt}from"../chunks/BMGykAfL.js";import{a as j,c as ut,S as on}from"../chunks/Ce2MupFq.js";var sn=W('<meta name="theme-color"/>');function rn(d,t){Bt(t,!0);var l=y(),I=f(l);{var S=T=>{var D=sn();Y(()=>x(D,"content",t.themeColors.dark)),a(T,D)};C(I,T=>{t.themeColors&&T(S)})}a(d,l),Et()}var ln=W('<meta name="theme-color"/>'),cn=W("<!> <!>",1);function dn(d,t){Bt(t,!0);let l=m(t,"trueNonce",3,"");Ae("12b2if8",I=>{var S=cn(),T=f(S);{var D=q=>{var A=ln();Y(()=>x(A,"content",t.themeColors.dark)),a(q,A)};C(T,q=>{t.themeColors&&q(D)})}var X=yt(T,2);tn(X,()=>`<script${l()?` nonce=${l()}`:""}>(`+Ge.toString()+")("+JSON.stringify(t.initConfig)+");<\/script>"),a(I,S)}),Et()}function un(d,t){Bt(t,!0);let l=m(t,"track",3,!0),I=m(t,"defaultMode",3,"system"),S=m(t,"disableTransitions",3,!0),T=m(t,"darkClassNames",19,()=>["dark"]),D=m(t,"lightClassNames",19,()=>[]),X=m(t,"defaultTheme",3,""),q=m(t,"nonce",3,""),A=m(t,"themeStorageKey",3,"mode-watcher-theme"),H=m(t,"modeStorageKey",3,"mode-watcher-mode"),xt=m(t,"disableHeadScriptInjection",3,!1),It=m(t,"synchronousModeChanges",3,!1);qt.current=H(),Jt.current=A(),Ce.current=T(),Se.current=D(),Me.current=S(),Qt.current=t.themeColors,Be.current=It(),Mt(()=>{Be.current=It()}),Mt(()=>{Me.current=S()}),Mt(()=>{Qt.current=t.themeColors}),Mt(()=>{Ce.current=T()}),Mt(()=>{Se.current=D()}),Mt(()=>{qt.current=H()}),Mt(()=>{Jt.current=A()}),Mt(()=>{He.current,qt.current,Jt.current,Xe.current}),ye(()=>{Ee.tracking(l()),Ee.query();const Z=localStorage.getItem(qt.current);Je(Qe(Z)?Z:I());const Kt=localStorage.getItem(Jt.current);pe(Kt||X())});const Dt=qe({defaultMode:I(),themeColors:t.themeColors,darkClassNames:T(),lightClassNames:D(),defaultTheme:X(),modeStorageKey:H(),themeStorageKey:A()}),z=c(()=>typeof window>"u"?q():"");var tt=y(),Tt=f(tt);{var J=Z=>{rn(Z,{get themeColors(){return Qt.current}})},et=Z=>{dn(Z,{get trueNonce(){return e(z)},get initConfig(){return Dt},get themeColors(){return Qt.current}})};C(Tt,Z=>{xt()?Z(J):Z(et,-1)})}a(d,tt),Et()}const fn=Array(12).fill(0);var mn=W('<div class="sonner-loading-bar"></div>'),vn=W('<div><div class="sonner-spinner"></div></div>');function gn(d,t){Bt(t,!0);var l=vn(),I=rt(l);be(I,23,()=>fn,(S,T)=>`spinner-bar-${T}`,(S,T)=>{var D=mn();a(S,D)}),$(I),$(l),Y(S=>{mt(l,1,S),x(l,"data-visible",t.visible)},[()=>ft(["sonner-loading-wrapper",t.class].filter(Boolean).join(" "))]),a(d,l),Et()}const hn=typeof window<"u"?window:void 0;function _n(d){let t=d.activeElement;for(;t?.shadowRoot;){const l=t.shadowRoot.activeElement;if(l===t)break;t=l}return t}class bn{#e;#t;constructor(t={}){const{window:l=hn,document:I=l?.document}=t;l!==void 0&&(this.#e=I,this.#t=en(S=>{const T=ae(l,"focusin",S),D=ae(l,"focusout",S);return()=>{T(),D()}}))}get current(){return this.#t?.(),this.#e?_n(this.#e):null}}new bn;class yn{#e;#t;constructor(t){this.#e=t,this.#t=Symbol(t)}get key(){return this.#t}exists(){return je(this.#t)}get(){const t=Ie(this.#t);if(t===void 0)throw new Error(`Context "${this.#e}" not found`);return t}getOr(t){const l=Ie(this.#t);return l===void 0?t:l}set(t){return We(this.#t,t)}}const wn=new yn("<Toaster/>");function $t(d){return d.label!==void 0}function xn(){let d=R(ke(typeof document<"u"?document.hidden:!1));return wt(()=>ae(document,"visibilitychange",()=>{r(d,document.hidden,!0)})),{get current(){return e(d)}}}const De=4e3,In=14,Tn=45,Cn=200,Sn=.05,Mn={toast:"",title:"",description:"",loader:"",closeButton:"",cancelButton:"",actionButton:"",action:"",warning:"",error:"",success:"",default:"",info:"",loading:""};function Bn(d){const[t,l]=d.split("-"),I=[];return t&&I.push(t),l&&I.push(l),I}function Pe(d){return 1/(1.5+Math.abs(d)/20)}var En=W("<div><!></div>"),Dn=W('<button data-close-button=""><!></button>'),Pn=W('<div data-icon=""><!> <!></div>'),kn=W('<div data-description=""><!></div>'),An=W('<button data-button="" data-cancel=""> </button>'),Hn=W('<button data-button=""> </button>'),Ln=W('<!> <div data-content=""><div data-title=""><!></div> <!></div> <!> <!>',1),On=W('<li aria-atomic="true" data-sonner-toast=""><!> <!></li>');function Nn(d,t){Bt(t,!0);const l=s=>{var u=y(),_=f(u);{var M=w=>{var F=En(),Ht=rt(F);nt(Ht,()=>t.loadingIcon),$(F),Y(Wt=>{mt(F,1,Wt),x(F,"data-visible",e(P)==="loading")},[()=>ft(ut(e(p)?.loader,t.toast?.classes?.loader,"sonner-loader"))]),a(w,F)},B=w=>{{let F=c(()=>ut(e(p)?.loader,t.toast.classes?.loader)),Ht=c(()=>e(P)==="loading");gn(w,{get class(){return e(F)},get visible(){return e(Ht)}})}};C(_,w=>{t.loadingIcon?w(M):w(B,-1)})}a(s,u)};let I=m(t,"cancelButtonStyle",3,""),S=m(t,"actionButtonStyle",3,""),T=m(t,"descriptionClass",3,""),D=m(t,"unstyled",3,!1),X=m(t,"defaultRichColors",3,!1);const q={...Mn};let A=R(!1),H=R(!1),xt=R(!1),It=R(!1),Dt=R(!1),z=R(0),tt=R(0),Tt=t.toast.duration||t.duration||De,J=R(void 0),et=R(null),Z=R(null);const Kt=c(()=>t.index===0),oe=c(()=>t.index+1<=t.visibleToasts),P=c(()=>t.toast.type),Q=c(()=>t.toast.dismissible!==void 0?t.toast.dismissible!==!1:t.toast.dismissable!==!1),Ot=c(()=>t.toast.class||""),Pt=c(()=>t.toast.descriptionClass||""),vt=c(()=>j.heights.findIndex(s=>s.toastId===t.toast.id)||0),gt=c(()=>t.toast.closeButton??t.closeButton),kt=c(()=>t.toast.duration??t.duration??De);let Ct=null;const Vt=c(()=>t.position.split("-")),ie=c(()=>j.heights.reduce((s,u,_)=>_>=e(vt)?s:s+u.height,0)),se=xn(),re=c(()=>t.toast.invert||t.invert),jt=c(()=>e(P)==="loading"),p=c(()=>({...q,...t.classes})),le=c(()=>t.toast.title),ce=c(()=>t.toast.description);let ht=R(0),Ut=R(0);const Nt=c(()=>Math.round(e(vt)*In+e(ie)));wt(()=>{e(le),e(ce);let s;t.expanded||t.expandByDefault?s=1:s=1-t.index*Sn;const u=ne(()=>e(J));if(u===void 0)return;u.style.setProperty("height","auto");const _=u.offsetHeight,M=u.getBoundingClientRect().height,B=Math.round(M/s+Number.EPSILON&100)/100;u.style.removeProperty("height");let w;Math.abs(B-_)<1?w=B:w=_,r(tt,w,!0),j.setHeight({toastId:t.toast.id,height:w})});function n(){r(H,!0),r(z,e(Nt),!0),j.removeHeight(t.toast.id),setTimeout(()=>{j.remove(t.toast.id)},Cn)}let L;const at=c(()=>t.toast.promise&&e(P)==="loading"||t.toast.duration===Number.POSITIVE_INFINITY);function ct(){r(ht,new Date().getTime(),!0),L=setTimeout(()=>{t.toast.onAutoClose?.(t.toast),n()},Tt)}function At(){if(e(Ut)<e(ht)){const s=new Date().getTime()-e(ht);Tt=Tt-s}r(Ut,new Date().getTime(),!0)}wt(()=>{t.toast.updated&&(clearTimeout(L),Tt=e(kt),e(at)||ct())}),wt(()=>(e(at)||(t.expanded||t.interacting||t.pauseWhenPageIsHidden&&se.current?At():ct()),()=>clearTimeout(L))),ye(()=>{r(A,!0);const s=e(J)?.getBoundingClientRect().height;return r(tt,s,!0),j.setHeight({toastId:t.toast.id,height:s}),()=>{j.removeHeight(t.toast.id)}}),wt(()=>{t.toast.delete&&ne(()=>{n(),t.toast.onDismiss?.(t.toast)})});const de=s=>{if(e(jt))return;r(z,e(Nt),!0);const u=s.target;u.setPointerCapture(s.pointerId),u.tagName!=="BUTTON"&&(r(xt,!0),Ct={x:s.clientX,y:s.clientY})},we=()=>{if(e(It)||!e(Q))return;Ct=null;const s=Number(e(J)?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),u=Number(e(J)?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),_=new Date().getTime()-0,M=e(et)==="x"?s:u,B=Math.abs(M)/_;if(Math.abs(M)>=Tn||B>.11){r(z,e(Nt),!0),t.toast.onDismiss?.(t.toast),e(et)==="x"?r(Z,s>0?"right":"left",!0):r(Z,u>0?"down":"up",!0),n(),r(It,!0);return}else e(J)?.style.setProperty("--swipe-amount-x","0px"),e(J)?.style.setProperty("--swipe-amount-y","0px");r(Dt,!1),r(xt,!1),r(et,null)},Yt=s=>{if(!Ct||!e(Q)||(window.getSelection()?.toString().length??-1)>0)return;const _=s.clientY-Ct.y,M=s.clientX-Ct.x,B=t.swipeDirections??Bn(t.position);!e(et)&&(Math.abs(M)>1||Math.abs(_)>1)&&r(et,Math.abs(M)>Math.abs(_)?"x":"y",!0);let w={x:0,y:0};if(e(et)==="y"){if(B.includes("top")||B.includes("bottom"))if(B.includes("top")&&_<0||B.includes("bottom")&&_>0)w.y=_;else{const F=_*Pe(_);w.y=Math.abs(F)<Math.abs(_)?F:_}}else if(e(et)==="x"&&(B.includes("left")||B.includes("right")))if(B.includes("left")&&M<0||B.includes("right")&&M>0)w.x=M;else{const F=M*Pe(M);w.x=Math.abs(F)<Math.abs(M)?F:M}(Math.abs(w.x)>0||Math.abs(w.y)>0)&&r(Dt,!0),e(J)?.style.setProperty("--swipe-amount-x",`${w.x}px`),e(J)?.style.setProperty("--swipe-amount-y",`${w.y}px`)},dt=()=>{r(xt,!1),r(et,null),Ct=null},_t=c(()=>t.toast.icon?t.toast.icon:e(P)==="success"?t.successIcon:e(P)==="error"?t.errorIcon:e(P)==="warning"?t.warningIcon:e(P)==="info"?t.infoIcon:e(P)==="loading"?t.loadingIcon:null);var i=On();x(i,"tabindex",0);let Rt;var Zt=rt(i);{var xe=s=>{var u=Dn(),_=rt(u);nt(_,()=>t.closeIcon??lt),$(u),Y(M=>{x(u,"aria-label",t.closeButtonAriaLabel),x(u,"data-disabled",e(jt)),mt(u,1,M)},[()=>ft(ut(e(p)?.closeButton,t.toast?.classes?.closeButton))]),Ft("click",u,()=>{e(jt)||!e(Q)||(n(),t.toast.onDismiss?.(t.toast))}),a(s,u)};C(Zt,s=>{e(gt)&&!t.toast.component&&e(P)!=="loading"&&t.closeIcon!==null&&s(xe)})}var ue=yt(Zt,2);{var fe=s=>{const u=c(()=>t.toast.component);var _=y(),M=f(_);Lt(M,()=>e(u),(B,w)=>{w(B,ee(()=>t.toast.componentProps,{closeToast:n}))}),a(s,_)},me=s=>{var u=Ln(),_=f(u);{var M=g=>{var b=Pn(),o=rt(b);{var E=v=>{var h=y(),G=f(h);{var O=St=>{var Xt=y(),ge=f(Xt);Lt(ge,()=>t.toast.icon,(K,U)=>{U(K,{})}),a(St,Xt)},st=St=>{l(St)};C(G,St=>{t.toast.icon?St(O):St(st,-1)})}a(v,h)};C(o,v=>{(t.toast.promise||e(P)==="loading")&&v(E)})}var N=yt(o,2);{var k=v=>{var h=y(),G=f(h);{var O=K=>{var U=y(),bt=f(U);Lt(bt,()=>t.toast.icon,(Fe,Ke)=>{Ke(Fe,{})}),a(K,U)},st=K=>{var U=y(),bt=f(U);nt(bt,()=>t.successIcon??lt),a(K,U)},St=K=>{var U=y(),bt=f(U);nt(bt,()=>t.errorIcon??lt),a(K,U)},Xt=K=>{var U=y(),bt=f(U);nt(bt,()=>t.warningIcon??lt),a(K,U)},ge=K=>{var U=y(),bt=f(U);nt(bt,()=>t.infoIcon??lt),a(K,U)};C(G,K=>{t.toast.icon?K(O):e(P)==="success"?K(st,1):e(P)==="error"?K(St,2):e(P)==="warning"?K(Xt,3):e(P)==="info"&&K(ge,4)})}a(v,h)};C(N,v=>{t.toast.type!=="loading"&&v(k)})}$(b),Y(v=>mt(b,1,v),[()=>ft(ut(e(p)?.icon,t.toast?.classes?.icon))]),a(g,b)};C(_,g=>{(e(P)||t.toast.icon||t.toast.promise)&&t.toast.icon!==null&&(e(_t)!==null||t.toast.icon)&&g(M)})}var B=yt(_,2),w=rt(B),F=rt(w);{var Ht=g=>{var b=y(),o=f(b);{var E=k=>{const v=c(()=>t.toast.title);var h=y(),G=f(h);Lt(G,()=>e(v),(O,st)=>{st(O,ee(()=>t.toast.componentProps))}),a(k,h)},N=k=>{var v=Te();Y(()=>pt(v,t.toast.title)),a(k,v)};C(o,k=>{typeof t.toast.title!="string"?k(E):k(N,-1)})}a(g,b)};C(F,g=>{t.toast.title&&g(Ht)})}$(w);var Wt=yt(w,2);{var ve=g=>{var b=kn(),o=rt(b);{var E=k=>{const v=c(()=>t.toast.description);var h=y(),G=f(h);Lt(G,()=>e(v),(O,st)=>{st(O,ee(()=>t.toast.componentProps))}),a(k,h)},N=k=>{var v=Te();Y(()=>pt(v,t.toast.description)),a(k,v)};C(o,k=>{typeof t.toast.description!="string"?k(E):k(N,-1)})}$(b),Y(k=>mt(b,1,k),[()=>ft(ut(T(),e(Pt),e(p)?.description,t.toast.classes?.description))]),a(g,b)};C(Wt,g=>{t.toast.description&&g(ve)})}$(B);var Gt=yt(B,2);{var ot=g=>{var b=y(),o=f(b);{var E=v=>{var h=y(),G=f(h);Lt(G,()=>t.toast.cancel,(O,st)=>{st(O,{})}),a(v,h)},N=v=>{var h=An(),G=rt(h,!0);$(h),Y(O=>{he(h,t.toast.cancelButtonStyle??I()),mt(h,1,O),pt(G,t.toast.cancel.label)},[()=>ft(ut(e(p)?.cancelButton,t.toast?.classes?.cancelButton))]),Ft("click",h,O=>{$t(t.toast.cancel)&&e(Q)&&(t.toast.cancel?.onClick?.(O),n())}),a(v,h)},k=c(()=>$t(t.toast.cancel));C(o,v=>{typeof t.toast.cancel=="function"?v(E):e(k)&&v(N,1)})}a(g,b)};C(Gt,g=>{t.toast.cancel&&g(ot)})}var V=yt(Gt,2);{var it=g=>{var b=y(),o=f(b);{var E=v=>{var h=y(),G=f(h);Lt(G,()=>t.toast.action,(O,st)=>{st(O,{})}),a(v,h)},N=v=>{var h=Hn(),G=rt(h,!0);$(h),Y(O=>{he(h,t.toast.actionButtonStyle??S()),mt(h,1,O),pt(G,t.toast.action.label)},[()=>ft(ut(e(p)?.actionButton,t.toast?.classes?.actionButton))]),Ft("click",h,O=>{$t(t.toast.action)&&(t.toast.action?.onClick(O),!O.defaultPrevented&&n())}),a(v,h)},k=c(()=>$t(t.toast.action));C(o,v=>{typeof t.toast.action=="function"?v(E):e(k)&&v(N,1)})}a(g,b)};C(V,g=>{t.toast.action&&g(it)})}Y((g,b)=>{mt(B,1,g),mt(w,1,b)},[()=>ft(ut(e(p)?.content,t.toast?.classes?.content)),()=>ft(ut(e(p)?.title,t.toast?.classes?.title))]),a(s,u)};C(ue,s=>{t.toast.component?s(fe):s(me,-1)})}$(i),Le(i,s=>r(J,s),()=>e(J)),Y((s,u,_)=>{mt(i,1,s),x(i,"aria-live",t.toast.important?"assertive":"polite"),x(i,"data-rich-colors",t.toast.richColors??X()),x(i,"data-styled",!(t.toast.component||t.toast.unstyled||D())),x(i,"data-mounted",e(A)),x(i,"data-promise",u),x(i,"data-swiped",e(Dt)),x(i,"data-removed",e(H)),x(i,"data-visible",e(oe)),x(i,"data-y-position",e(Vt)[0]),x(i,"data-x-position",e(Vt)[1]),x(i,"data-index",t.index),x(i,"data-front",e(Kt)),x(i,"data-swiping",e(xt)),x(i,"data-dismissible",e(Q)),x(i,"data-type",e(P)),x(i,"data-invert",e(re)),x(i,"data-swipe-out",e(It)),x(i,"data-swipe-direction",e(Z)),x(i,"data-expanded",_),Rt=he(i,`${t.style} ${t.toast.style}`,Rt,{"--index":t.index,"--toasts-before":t.index,"--z-index":j.toasts.length-t.index,"--offset":`${e(H)?e(z):e(Nt)}px`,"--initial-height":t.expandByDefault?"auto":`${e(tt)}px`})},[()=>ft(ut(t.class,e(Ot),e(p)?.toast,t.toast?.classes?.toast,e(p)?.[e(P)],t.toast?.classes?.[e(P)])),()=>!!t.toast.promise,()=>!!(t.expanded||t.expandByDefault&&e(A))]),Ft("pointermove",i,Yt),Ft("pointerup",i,we),Ft("pointerdown",i,de),nn("dragend",i,dt),a(d,i),Et()}an(["pointermove","pointerup","pointerdown","click"]);var Rn=zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-success-icon=""><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg>');function Fn(d){var t=Rn();a(d,t)}var Kn=zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>');function jn(d){var t=Kn();a(d,t)}var Wn=zt('<svg viewBox="0 0 64 64" fill="currentColor" height="20" width="20" data-sonner-warning-icon="" xmlns="http://www.w3.org/2000/svg"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg>');function zn(d){var t=Wn();a(d,t)}var Vn=zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-info-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg>');function Un(d){var t=Vn();a(d,t)}var Yn=zt('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-sonner-close-icon=""><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');function Zn(d){var t=Yn();a(d,t)}const Gn=3,Ne="24px",Re="16px",Xn=4e3,qn=356,Jn=14,_e="dark",te="light";function Qn(d,t){const l={};return[d,t].forEach((I,S)=>{const T=S===1,D=T?"--mobile-offset":"--offset",X=T?Re:Ne;function q(A){["top","right","bottom","left"].forEach(H=>{l[`${D}-${H}`]=typeof A=="number"?`${A}px`:A})}typeof I=="number"||typeof I=="string"?q(I):typeof I=="object"?["top","right","bottom","left"].forEach(A=>{const H=I[A];H===void 0?l[`${D}-${A}`]=X:l[`${D}-${A}`]=typeof H=="number"?`${H}px`:H}):q(X)}),l}var pn=W("<ol></ol>"),$n=W('<section aria-live="polite" aria-relevant="additions text" aria-atomic="false" class="svelte-194dcja"><!></section>');function ta(d,t){Bt(t,!0);function l(n){return n!=="system"?n:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?_e:te}let I=m(t,"invert",3,!1),S=m(t,"position",3,"bottom-right"),T=m(t,"hotkey",19,()=>["altKey","KeyT"]),D=m(t,"expand",3,!1),X=m(t,"closeButton",3,!1),q=m(t,"offset",3,Ne),A=m(t,"mobileOffset",3,Re),H=m(t,"theme",3,"light"),xt=m(t,"richColors",3,!1),It=m(t,"duration",3,Xn),Dt=m(t,"visibleToasts",3,Gn),z=m(t,"toastOptions",19,()=>({})),tt=m(t,"dir",7,"auto"),Tt=m(t,"gap",3,Jn),J=m(t,"pauseWhenPageIsHidden",3,!1),et=m(t,"containerAriaLabel",3,"Notifications"),Z=m(t,"closeButtonAriaLabel",3,"Close toast"),Kt=Oe(t,["$$slots","$$events","$$legacy","invert","position","hotkey","expand","closeButton","offset","mobileOffset","theme","richColors","duration","visibleToasts","toastOptions","dir","gap","pauseWhenPageIsHidden","loadingIcon","successIcon","errorIcon","warningIcon","closeIcon","infoIcon","containerAriaLabel","class","closeButtonAriaLabel","onblur","onfocus","onmouseenter","onmousemove","onmouseleave","ondragend","onpointerdown","onpointerup"]);function oe(){if(tt()!=="auto")return tt();if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?(ne(()=>tt(window.getComputedStyle(document.documentElement).direction??"ltr")),tt()):(ne(()=>tt(n)),n)}const P=c(()=>Array.from(new Set([S(),...j.toasts.filter(n=>n.position).map(n=>n.position)].filter(Boolean))));let Q=R(!1),Ot=R(!1),Pt=R(ke(l(H()))),vt=R(void 0),gt=R(null),kt=R(!1);const Ct=c(()=>T().join("+").replace(/Key/g,"").replace(/Digit/g,""));wt(()=>{j.toasts.length<=1&&r(Q,!1)}),wt(()=>{const n=j.toasts.filter(L=>L.dismiss&&!L.delete);if(n.length>0){const L=j.toasts.map(at=>n.find(At=>At.id===at.id)?{...at,delete:!0}:at);j.toasts=L}}),wt(()=>()=>{e(vt)&&e(gt)&&(e(gt).focus({preventScroll:!0}),r(gt,null),r(kt,!1))}),ye(()=>(j.reset(),ae(document,"keydown",L=>{T().every(ct=>L[ct]||L.code===ct)&&(r(Q,!0),e(vt)?.focus()),L.code==="Escape"&&(document.activeElement===e(vt)||e(vt)?.contains(document.activeElement))&&r(Q,!1)}))),wt(()=>{if(H()!=="system"&&r(Pt,H()),typeof window<"u"){H()==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?r(Pt,_e):r(Pt,te));const n=window.matchMedia("(prefers-color-scheme: dark)"),L=({matches:at})=>{H()==="system"&&r(Pt,at?_e:te,!0)};"addEventListener"in n?n.addEventListener("change",L):n.addListener(L)}});const Vt=n=>{t.onblur?.(n),e(kt)&&!n.currentTarget.contains(n.relatedTarget)&&(r(kt,!1),e(gt)&&(e(gt).focus({preventScroll:!0}),r(gt,null)))},ie=n=>{t.onfocus?.(n),!(n.target instanceof HTMLElement&&n.target.dataset.dismissible==="false")&&(e(kt)||(r(kt,!0),r(gt,n.relatedTarget,!0)))},se=n=>{t.onpointerdown?.(n),!(n.target instanceof HTMLElement&&n.target.dataset.dismissible==="false")&&r(Ot,!0)},re=n=>{t.onmouseenter?.(n),r(Q,!0)},jt=n=>{t.onmouseleave?.(n),e(Ot)||r(Q,!1)},p=n=>{t.onmousemove?.(n),r(Q,!0)},le=n=>{t.ondragend?.(n),r(Q,!1)},ce=n=>{t.onpointerup?.(n),r(Ot,!1)};wn.set(new on);var ht=$n();x(ht,"tabindex",-1);var Ut=rt(ht);{var Nt=n=>{var L=y(),at=f(L);be(at,18,()=>e(P),ct=>ct,(ct,At,de,we)=>{const Yt=c(()=>{const[i,Rt]=At.split("-");return{y:i,x:Rt}}),dt=c(()=>Qn(q(),A()));var _t=pn();Ye(_t,i=>({tabindex:-1,dir:i,class:t.class,"data-sonner-toaster":!0,"data-sonner-theme":e(Pt),"data-y-position":e(Yt).y,"data-x-position":e(Yt).x,style:t.style,onblur:Vt,onfocus:ie,onmouseenter:re,onmousemove:p,onmouseleave:jt,ondragend:le,onpointerdown:se,onpointerup:ce,...Kt,[Ze]:{"--front-toast-height":`${j.heights[0]?.height}px`,"--width":`${qn}px`,"--gap":`${Tt()}px`,"--offset-top":e(dt)["--offset-top"],"--offset-right":e(dt)["--offset-right"],"--offset-bottom":e(dt)["--offset-bottom"],"--offset-left":e(dt)["--offset-left"],"--mobile-offset-top":e(dt)["--mobile-offset-top"],"--mobile-offset-right":e(dt)["--mobile-offset-right"],"--mobile-offset-bottom":e(dt)["--mobile-offset-bottom"],"--mobile-offset-left":e(dt)["--mobile-offset-left"]}}),[()=>oe()],void 0,void 0,"svelte-194dcja"),be(_t,23,()=>j.toasts.filter(i=>!i.position&&e(de)===0||i.position===At),i=>i.id,(i,Rt,Zt,xe)=>{{const ue=ot=>{var V=y(),it=f(V);{var g=o=>{var E=y(),N=f(E);nt(N,()=>t.successIcon??lt),a(o,E)},b=o=>{Fn(o)};C(it,o=>{t.successIcon?o(g):t.successIcon!==null&&o(b,1)})}a(ot,V)},fe=ot=>{var V=y(),it=f(V);{var g=o=>{var E=y(),N=f(E);nt(N,()=>t.errorIcon??lt),a(o,E)},b=o=>{jn(o)};C(it,o=>{t.errorIcon?o(g):t.errorIcon!==null&&o(b,1)})}a(ot,V)},me=ot=>{var V=y(),it=f(V);{var g=o=>{var E=y(),N=f(E);nt(N,()=>t.warningIcon??lt),a(o,E)},b=o=>{zn(o)};C(it,o=>{t.warningIcon?o(g):t.warningIcon!==null&&o(b,1)})}a(ot,V)},s=ot=>{var V=y(),it=f(V);{var g=o=>{var E=y(),N=f(E);nt(N,()=>t.infoIcon??lt),a(o,E)},b=o=>{Un(o)};C(it,o=>{t.infoIcon?o(g):t.infoIcon!==null&&o(b,1)})}a(ot,V)},u=ot=>{var V=y(),it=f(V);{var g=o=>{var E=y(),N=f(E);nt(N,()=>t.closeIcon??lt),a(o,E)},b=o=>{Zn(o)};C(it,o=>{t.closeIcon?o(g):t.closeIcon!==null&&o(b,1)})}a(ot,V)};let _=c(()=>z()?.duration??It()),M=c(()=>z()?.class??""),B=c(()=>z()?.descriptionClass||""),w=c(()=>z()?.style??""),F=c(()=>z().classes||{}),Ht=c(()=>z().unstyled??!1),Wt=c(()=>z()?.cancelButtonStyle??""),ve=c(()=>z()?.actionButtonStyle??""),Gt=c(()=>z()?.closeButtonAriaLabel??Z());Nn(i,{get index(){return e(Zt)},get toast(){return e(Rt)},get defaultRichColors(){return xt()},get duration(){return e(_)},get class(){return e(M)},get descriptionClass(){return e(B)},get invert(){return I()},get visibleToasts(){return Dt()},get closeButton(){return X()},get interacting(){return e(Ot)},get position(){return At},get style(){return e(w)},get classes(){return e(F)},get unstyled(){return e(Ht)},get cancelButtonStyle(){return e(Wt)},get actionButtonStyle(){return e(ve)},get closeButtonAriaLabel(){return e(Gt)},get expandByDefault(){return D()},get expanded(){return e(Q)},get pauseWhenPageIsHidden(){return J()},get loadingIcon(){return t.loadingIcon},successIcon:ue,errorIcon:fe,warningIcon:me,infoIcon:s,closeIcon:u,$$slots:{successIcon:!0,errorIcon:!0,warningIcon:!0,infoIcon:!0,closeIcon:!0}})}}),$(_t),Le(_t,i=>r(vt,i),()=>e(vt)),Y(()=>_t.dir=_t.dir),a(ct,_t)}),a(n,L)};C(Ut,n=>{j.toasts.length>0&&n(Nt)})}$(ht),Y(()=>x(ht,"aria-label",`${et()??""} ${e(Ct)??""}`)),a(d,ht),Et()}function ea(d,t){Bt(t,!0);let l=Oe(t,["$$slots","$$events","$$legacy"]);ta(d,ee({get theme(){return He.current},class:"toaster group",style:"--normal-bg: var(--color-popover); --normal-text: var(--color-popover-foreground); --normal-border: var(--color-border);"},()=>l)),Et()}var na=W('<meta name="description"/> <link rel="icon" type="image/svg+xml" href="/favicon.svg"/>',1),aa=W("<!> <!> <!>",1);function _a(d,t){Bt(t,!0),$e();var l=aa();Ae("12qhfyh",D=>{var X=na(),q=f(X);ze(2),Y(()=>x(q,"content",t.data.branding.description)),Ve(()=>{Ue.title=t.data.branding.name??""}),a(D,X)});var I=f(l);un(I,{});var S=yt(I,2);ea(S,{});var T=yt(S,2);nt(T,()=>t.children??lt),a(d,l),Et()}export{_a as component};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as Jt,e as Yt,h as At,a as qt,i as Ft,c as o,$ as Gt,s,r as a,f as g,b as y,t as L,g as n,j as Kt,u as $t}from"../chunks/ooPBmYPj.js";import{d as Qt,s as S,a as Xt}from"../chunks/BMGykAfL.js";import{a as t,f as v,c as lt,t as T}from"../chunks/_OLpdTiI.js";import{i as w}from"../chunks/C8ko2SLk.js";import{e as jt,r as zt,s as Mt,a as Wt}from"../chunks/C1aQuqo_.js";import{c as x}from"../chunks/CcYNc8-G.js";import{h as Zt}from"../chunks/BM4_iXSA.js";import{S as te}from"../chunks/BZmrLQwT.js";import{C as Pt,a as It}from"../chunks/wamM80bu.js";import{S as ee}from"../chunks/BCse3N0b.js";import{L as ft}from"../chunks/B8uG8z2c.js";import{R as re,S as ae,a as oe,b as Lt}from"../chunks/BGxzXVpM.js";import{I as St}from"../chunks/jFKgkeON.js";import{B as kt}from"../chunks/azBeeLR0.js";import{X as se}from"../chunks/CEnIp_6Y.js";import{C as de,a as ne}from"../chunks/uINs3xv3.js";import{S as le}from"../chunks/2dX6Wjni.js";import{B as Tt}from"../chunks/B8zY50Bc.js";import{C as ie}from"../chunks/BU9URCkw.js";import{C as ce}from"../chunks/hRoV10UM.js";var ve=v(`<div class="bg-muted/30 flex items-start gap-4 rounded-lg border p-5"><div class="bg-accent text-accent-foreground rounded-md p-2.5"><!></div> <div class="min-w-0 flex-1"><p class="text-sm font-medium">Audit log not available on this deployment</p> <p class="text-muted-foreground mt-1 text-sm">This provider doesn't support audit queries. To enable audit logs, configure a
|
|
2
|
-
provider with <code class="bg-muted rounded px-1 py-0.5 font-mono text-xs">auditQuery</code> in your <code class="bg-muted rounded px-1 py-0.5 font-mono text-xs">selva.config.ts</code>.</p></div></div>`),ue=v('<span class="truncate"> </span>'),me=v("<!> <!>",1),fe=v("<!> <!>",1),_e=v('<input type="hidden" name="type"/>'),pe=v("<!> Reset",1),ge=v('<form method="get" class="grid gap-4 md:grid-cols-[1fr_1fr_auto_auto_auto]"><div class="flex flex-col gap-1.5"><!> <!> <!></div> <div class="flex flex-col gap-1.5"><!> <!></div> <div class="flex flex-col gap-1.5"><!> <!></div> <div class="flex flex-col gap-1.5"><!> <!></div> <div class="flex items-end gap-2"><!> <!></div></form>'),he=v('Events <span class="text-muted-foreground ml-2 font-normal"> </span>',1),xe=v('<div class="text-muted-foreground flex flex-col items-center gap-2 py-12 text-sm"><!> <p>No events match these filters.</p></div>'),be=v('<span> </span> <span class="text-muted-foreground ml-1 font-mono text-xs"> </span>',1),ye=v('<span class="text-muted-foreground italic">Deleted user</span> <span class="text-muted-foreground ml-1 font-mono text-xs"> </span>',1),$e=v('<tr class="bg-muted/20 border-b"><td></td><td colspan="4" class="py-2 pr-4"><pre class="text-muted-foreground max-w-full overflow-x-auto text-xs"> </pre></td></tr>'),Pe=v('<tr class="hover:bg-muted/30 border-b"><td class="py-2"><button type="button" class="text-muted-foreground hover:text-foreground"><!></button></td><td class="py-2 pr-4 font-mono text-xs whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td></tr> <!>',1),Ie=v('<div class="overflow-x-auto"><table class="w-full text-sm"><thead class="text-muted-foreground border-b text-left text-xs uppercase"><tr><th class="w-8 py-2"></th><th class="py-2 pr-4">Time</th><th class="py-2 pr-4">Type</th><th class="py-2 pr-4">Actor</th><th class="py-2 pr-4">Target</th></tr></thead><tbody></tbody></table></div>'),Se=v('<div class="mt-4 flex justify-center"><!></div>'),ke=v("<!> <!>",1),Ce=v("<!> <!>",1),Ae=v("<!> <!>",1),je=v('<div class="space-y-6"><!> <!></div>');function Me(Dt,l){Jt(l,!0);const _t={"org.created":"Org · created","org.deleted":"Org · deleted","org_member.added":"Org member · added","org_member.removed":"Org member · removed","org_member.role_changed":"Org member · role changed","org_member.permissions_changed":"Org member · permissions changed","project.created":"Project · created","project.deleted":"Project · deleted","project_member.added":"Project member · added","project_member.removed":"Project member · removed","project_member.role_changed":"Project member · role changed","definition.created":"Definition · created","definition.deleted":"Definition · deleted","definition.published":"Definition · published","definition_version.created":"Version · created","definition_version.deleted":"Version · deleted","share_link.minted":"Share link · minted","share_link.revoked":"Share link · revoked","invite.created":"Invite · created","invite.accepted":"Invite · accepted","invite.revoked":"Invite · revoked"},Et={org:"Org",project:"Project",definition:"Definition",definition_version:"Version",share_link:"Share link",invite:"Invite",user:"User"};function it(e){if(!e)return"";const u=e.match(/^(\d{4}-\d{2}-\d{2})/);return u?u[1]:""}const Q="__all__";let D=Yt(At(l.data.filters.types[0]??Q));const X=At({});function Ot(e){X[e]=!X[e]}const Vt=$t(()=>{if(!l.data.nextCursor)return"";const e=[],u=(k,z)=>e.push(`${encodeURIComponent(k)}=${encodeURIComponent(z)}`);for(const k of l.data.filters.types)u("type",k);return l.data.filters.actorId&&u("actor",l.data.filters.actorId),l.data.filters.sinceIso&&u("since",it(l.data.filters.sinceIso)),l.data.filters.untilIso&&u("until",it(l.data.filters.untilIso)),u("cursor",JSON.stringify(l.data.nextCursor)),`?${e.join("&")}`});function Bt(e){try{return new Date(e).toLocaleString()}catch{return e}}function pt(e){return e.length<=8?e:e.slice(0,8)+"…"}function Rt(e){if(!e.target)return"—";const u=Et[e.target.kind]??e.target.kind;return e.target.name?`${u}: ${e.target.name}`:`${u}: ${pt(e.target.id)} (deleted)`}var gt=je();Zt("5hb2v4",e=>{Ft(()=>{Gt.title="Admin · Audit log"})});var Ct=o(gt);te(Ct,{eyebrow:"Admin",title:"Audit log",description:"Every domain event recorded on this instance — actor, type, target, timestamp."});var Ut=s(Ct,2);{var wt=e=>{var u=lt(),k=g(u);x(k,()=>It,(z,M)=>{M(z,{children:(W,ct)=>{var vt=lt(),E=g(vt);x(E,()=>Pt,(N,Z)=>{Z(N,{class:"pt-6",children:(O,H)=>{var C=ve(),A=o(C),$=o(A);ee($,{class:"h-4 w-4"}),a(A),y(2),a(C),t(O,C)},$$slots:{default:!0}})}),t(W,vt)},$$slots:{default:!0}})}),t(e,u)},Nt=e=>{var u=Ae(),k=g(u);x(k,()=>It,(M,W)=>{W(M,{children:(ct,vt)=>{var E=lt(),N=g(E);x(N,()=>Pt,(Z,O)=>{O(Z,{class:"pt-6",children:(H,C)=>{var A=ge(),$=o(A),V=o($);ft(V,{for:"audit-type",children:(d,h)=>{y();var c=T("Event type");t(d,c)},$$slots:{default:!0}});var J=s(V,2);x(J,()=>re,(d,h)=>{h(d,{type:"single",get value(){return n(D)},onValueChange:c=>Kt(D,c??Q,!0),children:(c,ut)=>{var G=fe(),mt=g(G);x(mt,()=>ae,(st,dt)=>{dt(st,{id:"audit-type",class:"h-9 text-sm",children:(nt,xt)=>{var I=ue(),K=o(I,!0);a(I),L(()=>S(K,n(D)===Q?"All event types":_t[n(D)]??n(D))),t(nt,I)},$$slots:{default:!0}})});var ot=s(mt,2);x(ot,()=>oe,(st,dt)=>{dt(st,{children:(nt,xt)=>{var I=me(),K=g(I);x(K,()=>Lt,(U,r)=>{r(U,{value:Q,label:"All event types"})});var bt=s(K,2);jt(bt,16,()=>l.data.knownTypes,U=>U,(U,r)=>{var m=lt(),p=g(m);x(p,()=>Lt,(P,j)=>{j(P,{get value(){return r},get label(){return _t[r]}})}),t(U,m)}),t(nt,I)},$$slots:{default:!0}})}),t(c,G)},$$slots:{default:!0}})});var tt=s(J,2);{var et=d=>{var h=_e();zt(h),L(()=>Mt(h,n(D))),t(d,h)};w(tt,d=>{n(D)!==Q&&d(et)})}a($);var Y=s($,2),f=o(Y);ft(f,{for:"audit-actor",children:(d,h)=>{y();var c=T("Actor user ID");t(d,c)},$$slots:{default:!0}});var _=s(f,2);St(_,{id:"audit-actor",name:"actor",placeholder:"User ID, or 'system'",get defaultValue(){return l.data.filters.actorId},class:"h-9 text-sm"}),a(Y);var b=s(Y,2),B=o(b);ft(B,{for:"audit-since",children:(d,h)=>{y();var c=T("From");t(d,c)},$$slots:{default:!0}});var q=s(B,2);{let d=$t(()=>it(l.data.filters.sinceIso));St(q,{id:"audit-since",name:"since",type:"date",get defaultValue(){return n(d)},class:"h-9 text-sm"})}a(b);var i=s(b,2),rt=o(i);ft(rt,{for:"audit-until",children:(d,h)=>{y();var c=T("To");t(d,c)},$$slots:{default:!0}});var at=s(rt,2);{let d=$t(()=>it(l.data.filters.untilIso));St(at,{id:"audit-until",name:"until",type:"date",get defaultValue(){return n(d)},class:"h-9 text-sm"})}a(i);var F=s(i,2),R=o(F);kt(R,{type:"submit",class:"h-9",children:(d,h)=>{y();var c=T("Apply");t(d,c)},$$slots:{default:!0}});var ht=s(R,2);kt(ht,{type:"button",variant:"ghost",href:"/admin/audit",class:"h-9",children:(d,h)=>{var c=pe(),ut=g(c);se(ut,{class:"h-4 w-4"}),y(),t(d,c)},$$slots:{default:!0}}),a(F),a(A),t(H,A)},$$slots:{default:!0}})}),t(ct,E)},$$slots:{default:!0}})});var z=s(k,2);x(z,()=>It,(M,W)=>{W(M,{children:(ct,vt)=>{var E=Ce(),N=g(E);x(N,()=>de,(O,H)=>{H(O,{children:(C,A)=>{var $=lt(),V=g($);x(V,()=>ne,(J,tt)=>{tt(J,{class:"text-sm font-medium",children:(et,Y)=>{y();var f=he(),_=s(g(f)),b=o(_);a(_),L(()=>S(b,`${l.data.rows.length??""}
|
|
3
|
-
${l.data.rows.length===1?"event":"events"}`)),t(et,f)},$$slots:{default:!0}})}),t(C,$)},$$slots:{default:!0}})});var Z=s(N,2);x(Z,()=>Pt,(O,H)=>{H(O,{children:(C,A)=>{var $=ke(),V=g($);{var J=f=>{var _=xe(),b=o(_);le(b,{class:"h-8 w-8 opacity-40"}),y(2),a(_),t(f,_)},tt=f=>{var _=Ie(),b=o(_),B=s(o(b));jt(B,21,()=>l.data.rows,q=>q.id,(q,i)=>{var rt=Pe(),at=g(rt),F=o(at),R=o(F),ht=o(R);{var d=r=>{ie(r,{class:"h-4 w-4"})},h=r=>{ce(r,{class:"h-4 w-4"})};w(ht,r=>{X[n(i).id]?r(d):r(h,-1)})}a(R),a(F);var c=s(F),ut=o(c,!0);a(c);var G=s(c),mt=o(G);Tt(mt,{variant:"outline",class:"font-mono text-[10px]",children:(r,m)=>{y();var p=T();L(()=>S(p,_t[n(i).type]??n(i).type)),t(r,p)},$$slots:{default:!0}}),a(G);var ot=s(G),st=o(ot);{var dt=r=>{Tt(r,{variant:"secondary",children:(m,p)=>{y();var P=T("System");t(m,P)},$$slots:{default:!0}})},nt=r=>{var m=be(),p=g(m),P=o(p,!0);a(p);var j=s(p,2),yt=o(j,!0);a(j),L(Ht=>{S(P,n(i).actor.name),S(yt,Ht)},[()=>pt(n(i).actor.id)]),t(r,m)},xt=r=>{var m=ye(),p=s(g(m),2),P=o(p,!0);a(p),L(j=>S(P,j),[()=>pt(n(i).actor.id)]),t(r,m)};w(st,r=>{n(i).actor.isSystem?r(dt):n(i).actor.name?r(nt,1):r(xt,-1)})}a(ot);var I=s(ot),K=o(I,!0);a(I),a(at);var bt=s(at,2);{var U=r=>{var m=$e(),p=s(o(m)),P=o(p),j=o(P,!0);a(P),a(p),a(m),L(yt=>S(j,yt),[()=>JSON.stringify(n(i).data,null,2)]),t(r,m)};w(bt,r=>{X[n(i).id]&&r(U)})}L((r,m)=>{Wt(R,"aria-label",X[n(i).id]?"Collapse details":"Expand details"),S(ut,r),S(K,m)},[()=>Bt(n(i).occurredAt),()=>Rt(n(i))]),Xt("click",R,()=>Ot(n(i).id)),t(q,rt)}),a(B),a(b),a(_),t(f,_)};w(V,f=>{l.data.rows.length===0?f(J):f(tt,-1)})}var et=s(V,2);{var Y=f=>{var _=Se(),b=o(_);kt(b,{variant:"outline",get href(){return n(Vt)},class:"h-9",children:(B,q)=>{y();var i=T("Load older");t(B,i)},$$slots:{default:!0}}),a(_),t(f,_)};w(et,f=>{l.data.nextCursor&&f(Y)})}t(C,$)},$$slots:{default:!0}})}),t(ct,E)},$$slots:{default:!0}})}),t(e,u)};w(Ut,e=>{l.data.available?e(Nt,-1):e(wt)})}a(gt),t(Dt,gt),qt()}Qt(["click"]);export{Me as component};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as ne,k as me,g as a,f as U,b as H,s as v,t as K,c as W,r as T,j as e,a as ie,e as F,u as se,i as _e,$ as ge,a8 as he}from"../chunks/ooPBmYPj.js";import{s as D}from"../chunks/BMGykAfL.js";import{t as N,a as r,c as $e,f as $}from"../chunks/_OLpdTiI.js";import{i as Q}from"../chunks/C8ko2SLk.js";import{c as le,e as xe}from"../chunks/C1aQuqo_.js";import{s as we,r as be,p as te,c as d,b as ye}from"../chunks/CcYNc8-G.js";import{h as Re}from"../chunks/BM4_iXSA.js";import{C as de,a as ce}from"../chunks/uINs3xv3.js";import{C as ue}from"../chunks/D7l1JayF.js";import{C as fe,a as pe}from"../chunks/wamM80bu.js";import{B as Pe}from"../chunks/azBeeLR0.js";import{I as Ce}from"../chunks/Bnpwcepm.js";import{A as Ae,a as ke,b as Oe,c as Le,d as Ee,e as Ue,f as Te,R as Me}from"../chunks/Ib-7xmHT.js";import{S as Se}from"../chunks/BZmrLQwT.js";function oe(q,L){let B=be(L,["$$slots","$$events","$$legacy"]);const c=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"}],["path",{d:"M21 3v5h-5"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"}],["path",{d:"M8 16H3v5"}]];Ce(q,we({name:"refresh-cw"},()=>B,{get iconNode(){return c}}))}var We=$("<!> <!>",1),He=$("<!> ",1),Ie=$('<div class="border-border bg-muted/50 text-muted-foreground flex items-center gap-2 rounded-md border px-3 py-2 text-sm"><!> <span>PM2 is restarting the app — waiting for the new process to come online…</span></div>'),je=$("<p> </p>"),Ne=$('<div class="space-y-2"><h4 class="text-sm font-medium">Update Logs</h4> <pre class="bg-muted text-foreground max-h-96 overflow-auto rounded-md p-4 font-mono text-xs"> </pre> <!></div>'),Be=$("<!> <!> <!>",1),Ge=$("<!> <!>",1),De=$("<!> <!>",1),Fe=$("<!> <!>",1),qe=$("<!> <!>",1),ze=$("<!> <!>",1);function Je(q,L){ne(L,!0);let B=te(L,"isRunning",3,!1),c=te(L,"isRestarting",3,!1),o=te(L,"logs",3,""),m=te(L,"exitCode",3,null),P=F(void 0),G=F(!1);me(()=>{o()&&a(P)&&(a(P).scrollTop=a(P).scrollHeight)});function z(){return c()?"Restarting & verifying…":B()?"Running…":"Run Update"}function X(){return m()===null?null:m()===0?{text:"✓ Update completed successfully",tone:"success"}:m()===-2?{text:"⚠ App did not respond within 90s after restart — check PM2 logs",tone:"destructive"}:{text:`Update failed (exit code ${m()})`,tone:"destructive"}}function J(){e(G,!0)}function Y(){e(G,!1),L.onRun?.()}var V=ze(),Z=U(V);d(Z,()=>pe,(u,E)=>{E(u,{children:(i,M)=>{var x=Ge(),C=U(x);d(C,()=>de,(A,k)=>{k(A,{children:(S,j)=>{var l=We(),f=U(l);d(f,()=>ce,(_,g)=>{g(_,{children:(b,s)=>{H();var t=N("Application Update");r(b,t)},$$slots:{default:!0}})});var n=v(f,2);d(n,()=>ue,(_,g)=>{g(_,{children:(b,s)=>{H();var t=N("Run the update script to pull latest changes and restart");r(b,t)},$$slots:{default:!0}})}),r(S,l)},$$slots:{default:!0}})});var I=v(C,2);d(I,()=>fe,(A,k)=>{k(A,{class:"space-y-4",children:(S,j)=>{var l=Be(),f=U(l);Pe(f,{onclick:J,get disabled(){return B()},variant:"destructive",children:(s,t)=>{var p=He(),y=U(p);{var R=w=>{oe(w,{class:"mr-2 h-4 w-4 animate-spin"})};Q(y,w=>{c()&&w(R)})}var O=v(y);K(w=>D(O,` ${w??""}`),[()=>z()]),r(s,p)},$$slots:{default:!0}});var n=v(f,2);{var _=s=>{var t=Ie(),p=W(t);oe(p,{class:"h-4 w-4 animate-spin"}),H(2),T(t),r(s,t)};Q(n,s=>{c()&&m()===null&&s(_)})}var g=v(n,2);{var b=s=>{var t=Ne(),p=v(W(t),2),y=W(p,!0);T(p),ye(p,h=>e(P,h),()=>a(P));var R=v(p,2);{var O=h=>{const ae=se(X);var ee=je(),ve=W(ee,!0);T(ee),K(()=>{le(ee,1,`text-sm font-medium ${a(ae).tone==="success"?"text-success":a(ae).tone==="destructive"?"text-destructive":"text-muted-foreground"}`),D(ve,a(ae).text)}),r(h,ee)},w=se(()=>X());Q(R,h=>{a(w)&&h(O)})}T(t),K(()=>D(y,o())),r(s,t)};Q(g,s=>{o()&&s(b)})}r(S,l)},$$slots:{default:!0}})}),r(i,x)},$$slots:{default:!0}})});var re=v(Z,2);d(re,()=>Me,(u,E)=>{E(u,{get open(){return a(G)},onOpenChange:i=>e(G,i,!0),children:(i,M)=>{var x=$e(),C=U(x);d(C,()=>Ae,(I,A)=>{A(I,{children:(k,S)=>{var j=qe(),l=U(j);d(l,()=>ke,(n,_)=>{_(n,{children:(g,b)=>{var s=De(),t=U(s);d(t,()=>Oe,(y,R)=>{R(y,{children:(O,w)=>{H();var h=N("Run Update?");r(O,h)},$$slots:{default:!0}})});var p=v(t,2);d(p,()=>Le,(y,R)=>{R(y,{children:(O,w)=>{H();var h=N(`This will pull the latest changes and restart the application. The service will be
|
|
2
|
-
temporarily unavailable.`);r(O,h)},$$slots:{default:!0}})}),r(g,s)},$$slots:{default:!0}})});var f=v(l,2);d(f,()=>Ee,(n,_)=>{_(n,{children:(g,b)=>{var s=Fe(),t=U(s);d(t,()=>Ue,(y,R)=>{R(y,{children:(O,w)=>{H();var h=N("Cancel");r(O,h)},$$slots:{default:!0}})});var p=v(t,2);d(p,()=>Te,(y,R)=>{R(y,{onclick:Y,get disabled(){return B()},children:(O,w)=>{H();var h=N();K(()=>D(h,c()?"Restarting…":"Continue")),r(O,h)},$$slots:{default:!0}})}),r(g,s)},$$slots:{default:!0}})}),r(k,j)},$$slots:{default:!0}})}),r(i,x)},$$slots:{default:!0}})}),r(q,V),ie()}var Ve=$("<!> <!>",1),Ke=$('<div class="flex items-start justify-between gap-4 px-4 py-3"><div class="min-w-0 flex-1"><code class="text-foreground font-mono text-xs"> </code> <p class="text-muted-foreground mt-1 text-xs"> </p></div> <span> </span></div>'),Qe=$('<div class="divide-y rounded-lg border"></div>'),Xe=$("<!> <!>",1),Ye=$('<div class="space-y-6"><!> <!> <!></div>');function vt(q,L){ne(L,!0);const B={ALLOW_CROSS_ORG_PUBLIC:"When on, projects can be made visible to every authenticated user on the instance, not just their own org.",ALLOW_ORG_COMPUTE_OVERRIDE:"When on, individual orgs can configure their own Rhino.Compute server instead of the instance pool.",ALLOW_ORG_CREATION:'When on, signed-in users see a "Create organization" action. Off by default in self-hosted instances.',ENABLE_SHARING:"When on, editors can mint per-definition share links that grant anonymous external access. When off, the mint/list/revoke routes return 404 and any previously-minted tokens stop resolving."};let c=F(!1),o=F(""),m=F(null),P=F(!1);async function G(){try{const u=await fetch("/api/health",{cache:"no-store"});return u.ok?await u.json():null}catch{return null}}async function z(u){e(o,a(o)+`
|
|
3
|
-
Waiting for app to come back online…
|
|
4
|
-
`),await new Promise(M=>setTimeout(M,2e3));const E=45;let i=0;for(let M=0;M<E;M++){const x=await G();if(x){if(u&&x.commit){if(x.commit!==u){e(o,a(o)+`✓ App is back online on new commit ${x.commit.slice(0,7)}
|
|
5
|
-
`),e(m,0),e(c,!1),e(P,!1);return}i=0}else if(i+=1,i>=2){e(o,a(o)+`✓ App is back online!
|
|
6
|
-
`),e(m,0),e(c,!1),e(P,!1);return}}else i=0;await new Promise(C=>setTimeout(C,2e3))}e(o,a(o)+`⚠ App did not come back within 90s — check PM2 logs.
|
|
7
|
-
`),e(m,-2),e(c,!1),e(P,!1)}async function X(){e(c,!0),e(P,!1),e(o,""),e(m,null);const E=(await G())?.commit??null;try{const i=await fetch("/admin/api/system/update",{method:"POST"});if(!i.ok){e(o,"Failed to start update process"),e(m,i.status,!0),e(c,!1);return}const M=i.body?.getReader(),x=new TextDecoder;if(!M){e(o,"Failed to read response"),e(m,-1),e(c,!1);return}let C="",I=!1,A=!1,k=null;for(;;){const{done:S,value:j}=await M.read();if(S)break;C+=x.decode(j,{stream:!0});const l=C.split(`
|
|
8
|
-
|
|
9
|
-
`);C=l.pop();for(const f of l)if(f.startsWith("data: "))try{const n=JSON.parse(f.slice(6));n.type==="log"?e(o,a(o)+(n.data+`
|
|
10
|
-
`)):n.type==="restarting"?(e(o,a(o)+(n.data+`
|
|
11
|
-
`)),e(P,!0),I=!0):n.type==="exit"&&(A=!0,k=n.code)}catch{}}I?await z(E):A&&k===0?(e(m,0),e(c,!1)):A?(e(m,k??-1,!0),e(c,!1)):await z(E)}catch(i){a(P)?await z(E):(e(o,a(o)+(`
|
|
12
|
-
Error: `+(i instanceof Error?i.message:"Unknown error"))),e(m,-1),e(c,!1))}}var J=Ye();Re("1uq49ma",u=>{_e(()=>{ge.title="Admin · System"})});var Y=W(J);Se(Y,{eyebrow:"Admin",title:"System settings",description:"Instance-wide configuration, platform flags, and the update runner. To change platform flags, edit your selva.config.ts configuration and restart the app."});var V=v(Y,2);d(V,()=>pe,(u,E)=>{E(u,{children:(i,M)=>{var x=Xe(),C=U(x);d(C,()=>de,(A,k)=>{k(A,{children:(S,j)=>{var l=Ve(),f=U(l);d(f,()=>ce,(_,g)=>{g(_,{class:"text-sm font-medium",children:(b,s)=>{H();var t=N("Platform flags");r(b,t)},$$slots:{default:!0}})});var n=v(f,2);d(n,()=>ue,(_,g)=>{g(_,{children:(b,s)=>{H();var t=N(`Resolved state of the env-driven flags that control instance behavior. To change a flag,
|
|
13
|
-
edit your environment configuration and restart the app.`);r(b,t)},$$slots:{default:!0}})}),r(S,l)},$$slots:{default:!0}})});var I=v(C,2);d(I,()=>fe,(A,k)=>{k(A,{children:(S,j)=>{var l=Qe();xe(l,21,()=>Object.entries(L.data.flags),([f,n])=>f,(f,n)=>{var _=se(()=>he(a(n),2));let g=()=>a(_)[0],b=()=>a(_)[1];var s=Ke(),t=W(s),p=W(t),y=W(p,!0);T(p);var R=v(p,2),O=W(R,!0);T(R),T(t);var w=v(t,2),h=W(w,!0);T(w),T(s),K(()=>{D(y,g()),D(O,B[g()]),le(w,1,`rounded-full border px-2 py-0.5 font-mono text-[10px] tracking-wide uppercase ${b()?"border-success/40 bg-success/10 text-success":"border-border text-muted-foreground"}`),D(h,b()?"On":"Off")}),r(f,s)}),T(l),r(S,l)},$$slots:{default:!0}})}),r(i,x)},$$slots:{default:!0}})});var Z=v(V,2);{var re=u=>{Je(u,{get isRunning(){return a(c)},get isRestarting(){return a(P)},get logs(){return a(o)},get exitCode(){return a(m)},onRun:X})};Q(Z,u=>{L.data.canManageUpdates&&u(re)})}T(J),r(q,J),ie()}export{vt as component};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as W,a as q,i as E,$ as F,c as l,g as S,s as c,r as o,f as P,b as J,t as K,u as G}from"../chunks/ooPBmYPj.js";import{s as N}from"../chunks/BMGykAfL.js";import{a as m,f as h,c as M}from"../chunks/_OLpdTiI.js";import{e as Q,a as T}from"../chunks/C1aQuqo_.js";import{s as z,r as H,c as p}from"../chunks/CcYNc8-G.js";import{h as V}from"../chunks/BM4_iXSA.js";import{p as X}from"../chunks/D7PHp8xb.js";import{S as Y}from"../chunks/B_Lmgh7q.js";import{S as Z}from"../chunks/BZmrLQwT.js";import{C as ee,a as te}from"../chunks/uINs3xv3.js";import{I as B}from"../chunks/Bnpwcepm.js";import{C as ae,a as se}from"../chunks/wamM80bu.js";import{U as re}from"../chunks/BxCHY0iG.js";import{B as oe}from"../chunks/BNzEBMy8.js";import{S as ne}from"../chunks/DRDjLZb3.js";function ie(n,e){let i=H(e,["$$slots","$$events","$$legacy"]);const a=[["circle",{cx:"12",cy:"12",r:"3"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12"}]];B(n,z({name:"git-commit-horizontal"},()=>i,{get iconNode(){return a}}))}function de(n,e){let i=H(e,["$$slots","$$events","$$legacy"]);const a=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1"}]];B(n,z({name:"layout-dashboard"},()=>i,{get iconNode(){return a}}))}var le=h("<!> Web app build",1),ce=h('<div class="flex flex-wrap items-baseline gap-x-3 gap-y-1"><code class="text-foreground font-mono text-xs"> </code> <span class="text-muted-foreground text-xs"> </span> <span class="text-muted-foreground text-xs"> </span></div>'),me=h("<!> <!>",1),fe=h('<div class="space-y-6"><!> <div class="grid gap-3 sm:grid-cols-2 lg:grid-cols-3"></div> <!></div>');function Ue(n,e){W(e,!0);const i=G(()=>X.data.branding.name),a={hash:"1c434f5",fullHash:"1c434f5f59fa1a529d68a53320e5f1c39a98719d",message:"fix: add dummy environment variables to release workflow to prevent SSR crashes",date:"2026-05-14 15:08:40 +0200"},f=t=>e.data.platformPermissions.includes("instance_admin")||e.data.platformPermissions.includes(t),I=G(()=>[{href:"/admin/users",icon:re,value:e.data.stats.users??"—",label:e.data.stats.users===null?"User store unavailable":`User${e.data.stats.users===1?"":"s"}`,show:f("manage_instance_users")},{href:"/admin/organizations",icon:oe,value:"Organizations",label:"All orgs on this instance",show:f("instance_admin")},{href:"/admin/compute",icon:ne,value:"Compute",label:"Servers, status & config",show:f("manage_compute")},{href:"/projects",icon:de,value:"Content",label:"Definitions & projects",show:f("instance_admin")}].filter(t=>t.show));var v=fe();V("1jef3w8",t=>{E(()=>{F.title="Admin · General"})});var A=l(v);Z(A,{eyebrow:"Admin",title:"General",get description(){return`At-a-glance health of this ${S(i)??""} instance — users, compute, and content.`}});var g=c(A,2);Q(g,21,()=>S(I),t=>t.href,(t,_)=>{Y(t,z(()=>S(_)))}),o(g);var k=c(g,2);p(k,()=>se,(t,_)=>{_(t,{children:(D,ue)=>{var U=me(),j=P(U);p(j,()=>ee,(x,$)=>{$(x,{children:(b,O)=>{var s=M(),r=P(s);p(r,()=>te,(y,d)=>{d(y,{class:"flex items-center gap-2 text-sm font-medium",children:(w,C)=>{var u=le(),R=P(u);ie(R,{class:"text-muted-foreground h-4 w-4"}),J(),m(w,u)},$$slots:{default:!0}})}),m(b,s)},$$slots:{default:!0}})});var L=c(j,2);p(L,()=>ae,(x,$)=>{$(x,{children:(b,O)=>{var s=ce(),r=l(s),y=l(r,!0);o(r);var d=c(r,2),w=l(d,!0);o(d);var C=c(d,2),u=l(C,!0);o(C),o(s),K(()=>{T(r,"title",a.fullHash),N(y,a.hash),N(w,a.message),N(u,a.date)}),m(b,s)},$$slots:{default:!0}})}),m(D,U)},$$slots:{default:!0}})}),o(v),m(n,v),q()}export{Ue as component};
|
|
Binary file
|
|
Binary file
|