rssany 0.1.1 → 0.1.4
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/.env.example +1 -1
- package/README.md +32 -50
- package/app/plugins/builtin/rss.rssany.js +107 -24
- package/app/plugins/site.rssany.js +1 -1
- package/dist/index.js +1003 -271
- package/dist/index.js.map +1 -1
- package/{config.examples.json → init/config.json} +7 -1
- package/init/sources.json +353 -0
- package/package.json +4 -6
- package/statics/401.html +1 -1
- package/statics/README.md +1 -1
- package/webui/build/200.html +16 -18
- package/webui/build/_app/immutable/assets/0.DjU2hdCQ.css +1 -0
- package/webui/build/_app/immutable/assets/10.Dj8_pmut.css +1 -0
- package/webui/build/_app/immutable/assets/11.qYZMiTb0.css +1 -0
- package/webui/build/_app/immutable/assets/12.Ct59LCqW.css +1 -0
- package/webui/build/_app/immutable/assets/13.BhO9zvFi.css +1 -0
- package/webui/build/_app/immutable/assets/14.CujIhjQK.css +1 -0
- package/webui/build/_app/immutable/assets/15.nNGjXhCQ.css +1 -0
- package/webui/build/_app/immutable/assets/16.PP9XLDf7.css +1 -0
- package/webui/build/_app/immutable/assets/4.9wPHhVwv.css +1 -0
- package/webui/build/_app/immutable/assets/6.DSJfjJwx.css +1 -0
- package/webui/build/_app/immutable/assets/7.CrNxmd8B.css +1 -0
- package/webui/build/_app/immutable/assets/8.Ba5_jYIY.css +1 -0
- package/webui/build/_app/immutable/assets/{9.BZheTlzZ.css → 9.m-LCx_kl.css} +1 -1
- package/webui/build/_app/immutable/assets/BackToParentRoute.DGk-X5ow.css +1 -0
- package/webui/build/_app/immutable/assets/SourcesList.yTBBi3_m.css +1 -0
- package/webui/build/_app/immutable/assets/homeFeedPanelStore.BopJZtHu.css +1 -0
- package/webui/build/_app/immutable/chunks/{V2-VOe88.js → B-OsL1Ct.js} +1 -1
- package/webui/build/_app/immutable/chunks/B2Q1a1-H.js +2 -0
- package/webui/build/_app/immutable/chunks/BK3WtZwv.js +1 -0
- package/webui/build/_app/immutable/chunks/BQqoDzLx.js +1 -0
- package/webui/build/_app/immutable/chunks/BbWUOQ_m.js +1 -0
- package/webui/build/_app/immutable/chunks/Bp63qm3L.js +1 -0
- package/webui/build/_app/immutable/chunks/{CZDFXKiF.js → C85CNwD2.js} +1 -1
- package/webui/build/_app/immutable/chunks/CVzlFH44.js +1 -0
- package/webui/build/_app/immutable/chunks/CWNeClHp.js +6 -0
- package/webui/build/_app/immutable/chunks/CdMsRjxJ.js +1 -0
- package/webui/build/_app/immutable/chunks/Cihqbfi5.js +1 -0
- package/webui/build/_app/immutable/chunks/CllQAdvt.js +1 -0
- package/webui/build/_app/immutable/chunks/CtijX1u3.js +31 -0
- package/webui/build/_app/immutable/chunks/D5GvRCv7.js +1 -0
- package/webui/build/_app/immutable/chunks/DEDI7Ecm.js +1 -0
- package/webui/build/_app/immutable/chunks/DFuhmi31.js +1 -0
- package/webui/build/_app/immutable/chunks/DMWEh-Ek.js +2 -0
- package/webui/build/_app/immutable/chunks/DjNLq3TF.js +1 -0
- package/webui/build/_app/immutable/chunks/Dt2CddFe.js +1 -0
- package/webui/build/_app/immutable/chunks/Dv1VCsiB.js +41 -0
- package/webui/build/_app/immutable/chunks/Dw782Tjs.js +1 -0
- package/webui/build/_app/immutable/chunks/Xy_fhzQq.js +1 -0
- package/webui/build/_app/immutable/chunks/lk5LaiqA.js +1 -0
- package/webui/build/_app/immutable/chunks/mW5RwvnK.js +13 -0
- package/webui/build/_app/immutable/chunks/{CtHRh_pJ.js → tB7QMF3U.js} +1 -1
- package/webui/build/_app/immutable/chunks/xtNWTdbD.js +1 -0
- package/webui/build/_app/immutable/entry/app.BcD2eSsQ.js +2 -0
- package/webui/build/_app/immutable/entry/start.CbkdJdz1.js +1 -0
- package/webui/build/_app/immutable/nodes/0.DSUDmOx2.js +11 -0
- package/webui/build/_app/immutable/nodes/1.DU9aYGAb.js +1 -0
- package/webui/build/_app/immutable/nodes/10.Db6vw7Ih.js +1 -0
- package/webui/build/_app/immutable/nodes/11.BaAcorz3.js +1 -0
- package/webui/build/_app/immutable/nodes/12.Cg8AeCSH.js +1 -0
- package/webui/build/_app/immutable/nodes/13.nT3SOzEB.js +1 -0
- package/webui/build/_app/immutable/nodes/14.DqT4pcrQ.js +1 -0
- package/webui/build/_app/immutable/nodes/15.CCLbjxnH.js +1 -0
- package/webui/build/_app/immutable/nodes/{12.CMcby_lY.js → 16.DiigpVdP.js} +15 -15
- package/webui/build/_app/immutable/nodes/2.BYWOpaxy.js +1 -0
- package/webui/build/_app/immutable/nodes/3.DEcYOQc-.js +1 -0
- package/webui/build/_app/immutable/nodes/4.DTSxpKm7.js +2 -0
- package/webui/build/_app/immutable/nodes/5.CvM1TkLG.js +1 -0
- package/webui/build/_app/immutable/nodes/6.Dscr6LkS.js +1 -0
- package/webui/build/_app/immutable/nodes/7.Bp60MobD.js +1 -0
- package/webui/build/_app/immutable/nodes/8.DwSg0MHh.js +1 -0
- package/webui/build/_app/immutable/nodes/9.BeYOUjxR.js +1 -0
- package/webui/build/_app/version.json +1 -1
- package/sources.example.json +0 -562
- package/webui/build/_app/immutable/assets/0.BUAXpTm6.css +0 -1
- package/webui/build/_app/immutable/assets/10.I1OuCLrU.css +0 -1
- package/webui/build/_app/immutable/assets/11.CrO9xaki.css +0 -1
- package/webui/build/_app/immutable/assets/12.BEi6fInA.css +0 -1
- package/webui/build/_app/immutable/assets/14.Ctlgn1LZ.css +0 -1
- package/webui/build/_app/immutable/assets/2.eJ80XOGm.css +0 -1
- package/webui/build/_app/immutable/assets/4.B8-jYAVj.css +0 -1
- package/webui/build/_app/immutable/assets/6.Drn-0DON.css +0 -1
- package/webui/build/_app/immutable/assets/7.ms2diq_q.css +0 -1
- package/webui/build/_app/immutable/assets/8.DKymkjjs.css +0 -1
- package/webui/build/_app/immutable/assets/SourcesList.BhtYlRsQ.css +0 -1
- package/webui/build/_app/immutable/chunks/BUngiKFg.js +0 -1
- package/webui/build/_app/immutable/chunks/Bt0fzibd.js +0 -1
- package/webui/build/_app/immutable/chunks/BxHqDcpw.js +0 -1
- package/webui/build/_app/immutable/chunks/ByQRbEUX.js +0 -1
- package/webui/build/_app/immutable/chunks/C12mHcUp.js +0 -6
- package/webui/build/_app/immutable/chunks/C1kQ4pHy.js +0 -1
- package/webui/build/_app/immutable/chunks/C74gbb4Q.js +0 -1
- package/webui/build/_app/immutable/chunks/CAtemnMo.js +0 -1
- package/webui/build/_app/immutable/chunks/CVjCNJia.js +0 -1
- package/webui/build/_app/immutable/chunks/CjQQ9_Q2.js +0 -2
- package/webui/build/_app/immutable/chunks/D-6mYMI1.js +0 -1
- package/webui/build/_app/immutable/chunks/D1Gs8-g3.js +0 -1
- package/webui/build/_app/immutable/chunks/D9dRVKgL.js +0 -1
- package/webui/build/_app/immutable/chunks/DCEY1XiC.js +0 -1
- package/webui/build/_app/immutable/chunks/DI-t-G_K.js +0 -2
- package/webui/build/_app/immutable/chunks/DTUxjyWL.js +0 -1
- package/webui/build/_app/immutable/chunks/DWJZOHke.js +0 -1
- package/webui/build/_app/immutable/chunks/Dgs6d7X5.js +0 -1
- package/webui/build/_app/immutable/chunks/DjpPK99f.js +0 -71
- package/webui/build/_app/immutable/chunks/DjzVVxpy.js +0 -1
- package/webui/build/_app/immutable/chunks/DvtNA-3X.js +0 -1
- package/webui/build/_app/immutable/chunks/LQVMBmDN.js +0 -1
- package/webui/build/_app/immutable/chunks/Qw0Qgx6J.js +0 -1
- package/webui/build/_app/immutable/chunks/bohabpgg.js +0 -1
- package/webui/build/_app/immutable/chunks/c-YfbAB_.js +0 -8
- package/webui/build/_app/immutable/chunks/tpTQfoNn.js +0 -1
- package/webui/build/_app/immutable/entry/app.Cra5Zsz4.js +0 -2
- package/webui/build/_app/immutable/entry/start.ToY0Qh0_.js +0 -1
- package/webui/build/_app/immutable/nodes/0.D2-xzG_8.js +0 -11
- package/webui/build/_app/immutable/nodes/1.CFixzRR6.js +0 -1
- package/webui/build/_app/immutable/nodes/10.ayxWydPr.js +0 -1
- package/webui/build/_app/immutable/nodes/11.B0JS3E2j.js +0 -1
- package/webui/build/_app/immutable/nodes/13.DRpZV72T.js +0 -1
- package/webui/build/_app/immutable/nodes/14.DVeJW6bd.js +0 -1
- package/webui/build/_app/immutable/nodes/2.DIZ4IPNm.js +0 -1
- package/webui/build/_app/immutable/nodes/3.BFSNf0FK.js +0 -1
- package/webui/build/_app/immutable/nodes/4.BSsIjejE.js +0 -2
- package/webui/build/_app/immutable/nodes/5.COxRT9Oe.js +0 -1
- package/webui/build/_app/immutable/nodes/6.CBgQ4YzB.js +0 -1
- package/webui/build/_app/immutable/nodes/7.BbzWOL0V.js +0 -6
- package/webui/build/_app/immutable/nodes/8.C8120200.js +0 -1
- package/webui/build/_app/immutable/nodes/9.BH_BGQQ4.js +0 -1
- /package/webui/build/_app/immutable/nodes/{15.BtYZF6FM.js → 17.BtYZF6FM.js} +0 -0
- /package/webui/build/_app/immutable/nodes/{16.Ba_qJjp6.js → 18.Ba_qJjp6.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-wrap.svelte-1beoyzy{--feed-sticky-gap-after: 0;margin-top:calc(-1 * var(--main-padding-top));margin-left:calc(-1 * var(--shell-gutter));margin-right:calc(-1 * var(--shell-gutter));width:calc(100% + 2 * var(--shell-gutter));max-width:none;box-sizing:border-box;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.feed-col.svelte-1beoyzy{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:transparent}.feed-toolbar-block.svelte-1beoyzy{flex-shrink:0;padding-top:var(--main-padding-top);padding-bottom:var(--feed-sticky-gap-after);padding-inline:var(--shell-gutter);box-sizing:border-box}.feed-body-scroll.svelte-1beoyzy{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.feed-header.svelte-1beoyzy{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;flex-shrink:0}.header-left.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem;flex:0 1 auto;min-width:0}.header-right.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem;flex-shrink:0;margin-left:auto}.filter-input.svelte-1beoyzy{flex:0 1 auto;width:100%;min-width:6.5rem;max-width:12rem;padding:.35rem .6rem;font-size:.8125rem;border:1px solid var(--color-input);border-radius:var(--radius-sm);outline:none;background:var(--color-card-elevated);color:var(--color-foreground);transition:border-color .15s,background .15s}.filter-input.svelte-1beoyzy:focus{border-color:var(--color-primary);background:var(--color-card)}.filter-input.svelte-1beoyzy::placeholder{color:var(--color-muted-foreground-soft)}.btn-sort{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;flex-shrink:0;font:inherit;color:var(--color-muted-foreground-strong);background:transparent;border:1px solid var(--color-input);border-radius:var(--radius-sm);box-shadow:none;cursor:pointer;transition:color .15s,border-color .15s,background .15s}.btn-sort:hover{color:var(--color-primary);border-color:var(--color-primary);background:transparent}.btn-sort:focus-visible{outline:2px solid color-mix(in srgb,var(--color-primary) 45%,transparent);outline-offset:1px}.sort-menu{min-width:10.5rem;padding:.3rem;box-sizing:border-box}.sort-menu-item.svelte-1beoyzy{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.4rem .55rem;font-size:.8125rem;text-align:left;border:none;border-radius:6px;cursor:pointer;background:transparent;color:var(--color-muted-foreground-strong);transition:background .12s,color .12s}.sort-menu-item.svelte-1beoyzy:hover{background:var(--color-muted);color:var(--color-accent-foreground)}.sort-menu-item.active.svelte-1beoyzy{color:var(--color-primary);font-weight:500}.sort-menu-dir.svelte-1beoyzy{font-size:.75rem;font-variant-numeric:tabular-nums;opacity:.9}.btn-add.svelte-1beoyzy{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;flex-shrink:0;color:var(--color-primary-foreground);background:var(--color-primary);border:none;border-radius:var(--radius-sm);cursor:pointer;transition:opacity .15s,background .15s}.btn-add.svelte-1beoyzy:hover{opacity:.9;background:var(--color-primary-hover, var(--color-primary))}.dropdown-panel{z-index:50;background:var(--color-card);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:var(--shadow-panel)}.more-menu{width:11.5rem;min-width:11.5rem;padding:.25rem;box-sizing:border-box}.more-menu-item.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem;width:100%;padding:.4rem .65rem;font-size:.8125rem;text-align:left;border:none;border-radius:6px;cursor:pointer;background:transparent;color:var(--color-muted-foreground-strong);text-decoration:none;transition:background .15s,color .15s}.more-menu-item.svelte-1beoyzy:hover:not(:disabled){background:var(--color-muted);color:var(--color-accent-foreground)}.more-menu-item.svelte-1beoyzy:disabled{opacity:.6;cursor:not-allowed}.more-menu-item-danger.svelte-1beoyzy:hover:not(:disabled){color:var(--color-destructive);background:color-mix(in srgb,var(--color-destructive) 14%,transparent)}.more-menu-item-remove.svelte-1beoyzy{color:var(--color-destructive)}.more-menu-item-remove.svelte-1beoyzy svg{color:var(--color-destructive)}.more-menu-item-remove.svelte-1beoyzy:hover:not(:disabled){background:color-mix(in srgb,var(--color-destructive) 14%,transparent);color:var(--color-destructive)}.more-menu-item.pulling.svelte-1beoyzy svg{animation:svelte-1beoyzy-spin .8s linear infinite}.state.svelte-1beoyzy{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:1.5rem calc(var(--shell-gutter) + 1rem);color:var(--color-muted-foreground);font-size:.875rem;gap:.25rem}.state.error.svelte-1beoyzy{color:var(--color-destructive)}.link-btn.svelte-1beoyzy{background:none;border:none;padding:0;color:var(--color-primary);font-size:inherit;cursor:pointer;text-decoration:underline}.link-btn.svelte-1beoyzy:hover{text-decoration:underline}.feed-body-scroll.svelte-1beoyzy>.list:where(.svelte-1beoyzy){flex-shrink:0}.list.svelte-1beoyzy{min-width:0;width:100%;display:flex;flex-direction:column;border-top:1px solid var(--color-border-muted)}.row-grid.svelte-1beoyzy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem .75rem;align-items:center;padding:.55rem var(--shell-gutter);box-sizing:border-box}.card.svelte-1beoyzy{border-bottom:1px solid var(--color-border-muted);transition:background .15s;cursor:pointer}.card.svelte-1beoyzy:hover{background:var(--color-muted)}.card.svelte-1beoyzy:focus-visible{outline:1px solid color-mix(in srgb,var(--color-primary) 55%,transparent);outline-offset:-1px}.card.svelte-1beoyzy:last-child{border-bottom:none}.cell-title.svelte-1beoyzy{min-width:0}.title-block.svelte-1beoyzy{display:flex;align-items:center;gap:.35rem;min-width:0;max-width:100%;width:100%;box-sizing:border-box;color:inherit}.title-line.svelte-1beoyzy{display:flex;align-items:baseline;gap:.35rem;min-width:0;flex:1 1 0%}.title-item-count.svelte-1beoyzy{flex-shrink:0;font-size:.72rem;font-weight:500;font-variant-numeric:tabular-nums;color:var(--color-muted-foreground-soft);line-height:1.2}.source-title-favicon-slot.svelte-1beoyzy{flex-shrink:0;box-sizing:border-box;width:1rem;height:1rem;border-radius:3px;background:var(--color-muted);overflow:hidden}.source-title-favicon.svelte-1beoyzy{display:block;width:100%;height:100%;object-fit:contain}.title-text.svelte-1beoyzy{font-size:.875rem;font-weight:500;line-height:1.2;color:var(--color-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.cell-actions.svelte-1beoyzy{display:inline-flex;align-items:center;justify-content:flex-end;flex-shrink:0}@keyframes svelte-1beoyzy-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:var(--color-muted-foreground);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:color .15s,background .15s}.btn-icon:hover{color:var(--color-foreground);background:var(--color-muted)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:100}.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--color-card-elevated);border-radius:10px;width:calc(100% - 2rem);max-width:460px;box-shadow:var(--shadow-panel);border:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden;z-index:101}.modal .modal-header.svelte-1beoyzy{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem .75rem;border-bottom:1px solid var(--color-border-muted)}.modal-title{font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground)}.modal-close{background:none;border:none;padding:.25rem;font-size:1rem;color:var(--color-muted-foreground);cursor:pointer;line-height:1;border-radius:4px}.modal-close:hover{color:var(--color-foreground);background:var(--color-muted)}.modal-body.svelte-1beoyzy{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}.field.svelte-1beoyzy{display:flex;flex-direction:column;gap:.3rem}.field-row.svelte-1beoyzy{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.field-label.svelte-1beoyzy{font-size:.8rem;font-weight:500;color:var(--color-muted-foreground-strong)}.required.svelte-1beoyzy{color:var(--color-destructive)}.ref-input-wrap.svelte-1beoyzy{display:flex;align-items:center;gap:.35rem;width:100%}.ref-input-wrap.svelte-1beoyzy .field-input:where(.svelte-1beoyzy){flex:1;min-width:0}.parse-hints.svelte-1beoyzy{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem}.parse-hint.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .45rem;font-size:.72rem;font-weight:500;color:var(--color-muted-foreground-soft);border-radius:5px;border:1px solid transparent;background:transparent;transition:color .15s,border-color .15s,background .15s}.parse-hint.active.svelte-1beoyzy{color:var(--color-primary);border-color:color-mix(in srgb,var(--color-primary) 35%,transparent);background:color-mix(in srgb,var(--color-primary) 10%,transparent)}.field-input.svelte-1beoyzy{padding:.4rem .65rem;font-size:.875rem;border:1px solid var(--color-input);border-radius:var(--radius-sm);outline:none;background:var(--color-card);color:var(--color-foreground);font-family:inherit;transition:border-color .15s,background .15s;width:100%}.field-input.svelte-1beoyzy:focus{border-color:var(--color-primary);background:var(--color-card-elevated)}.field-input--weight.svelte-1beoyzy{-moz-appearance:textfield}.field-input--weight.svelte-1beoyzy::-webkit-outer-spin-button,.field-input--weight.svelte-1beoyzy::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.save-error.svelte-1beoyzy{font-size:.8rem;color:var(--color-destructive);margin:0}.modal-footer.svelte-1beoyzy{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 1.25rem;border-top:1px solid var(--color-border-muted)}.remove-dialog-footer.svelte-1beoyzy{justify-content:flex-end}.remove-dialog-text.svelte-1beoyzy{margin:0;font-size:.875rem;line-height:1.5;color:var(--color-foreground)}.remove-dialog-target.svelte-1beoyzy{margin:0;margin-top:.5rem;font-size:.8125rem;color:var(--color-muted-foreground-strong);word-break:break-all}.modal-footer-left.svelte-1beoyzy{display:flex;align-items:center}.modal-footer-right.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem}.btn-delete.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.3rem;padding:.4rem .8rem;font-size:.875rem;color:var(--color-destructive);background:transparent;border:1px solid color-mix(in srgb,var(--color-destructive) 45%,transparent);border-radius:var(--radius-sm);cursor:pointer;transition:background .15s}.btn-delete.svelte-1beoyzy:hover:not(:disabled){background:color-mix(in srgb,var(--color-destructive) 12%,transparent)}.confirm-delete-row.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem}.confirm-delete-text.svelte-1beoyzy{color:var(--color-destructive);font-weight:500}.btn-confirm-yes.svelte-1beoyzy{padding:.3rem .7rem;font-size:.8rem;color:var(--color-destructive-foreground);background:var(--color-destructive);border:none;border-radius:5px;cursor:pointer}.btn-confirm-yes.svelte-1beoyzy:disabled{opacity:.6;cursor:not-allowed}.btn-confirm-no.svelte-1beoyzy{padding:.3rem .6rem;font-size:.8rem;color:var(--color-foreground);background:var(--color-muted);border:1px solid var(--color-border);border-radius:5px;cursor:pointer}.btn-cancel{padding:.4rem 1rem;font-size:.875rem;color:var(--color-foreground);background:var(--color-muted);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer}.btn-cancel:hover:not(:disabled){background:var(--color-accent)}.btn-save.svelte-1beoyzy{padding:.4rem 1.2rem;font-size:.875rem;color:var(--color-primary-foreground);background:var(--color-primary);border:none;border-radius:6px;cursor:pointer;transition:opacity .15s}.btn-save.svelte-1beoyzy:hover:not(:disabled){opacity:.85}.btn-save.svelte-1beoyzy:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.feed-wrap.svelte-1beoyzy{max-width:100%}.field-row.svelte-1beoyzy{grid-template-columns:1fr}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@keyframes svelte-ypseth-source-sheet-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes svelte-ypseth-source-sheet-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes svelte-ypseth-source-sheet-panel-in{0%{opacity:.92;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes svelte-ypseth-source-sheet-panel-out{0%{opacity:1;transform:translateZ(0)}to{opacity:.92;transform:translate3d(100%,0,0)}}.source-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:110}.source-sheet-overlay[data-state=open]{animation:svelte-ypseth-source-sheet-overlay-in .28s cubic-bezier(.32,.72,0,1) both}.source-sheet-overlay[data-state=closed]{animation:svelte-ypseth-source-sheet-overlay-out .22s cubic-bezier(.36,0,.2,1) both}.source-sheet-panel{position:fixed;top:0;right:0;bottom:0;width:min(28rem,100vw);max-width:100%;z-index:111;display:flex;flex-direction:column;background:var(--color-card-elevated);border-left:1px solid var(--color-border);box-shadow:-8px 0 40px #00000059;outline:none;will-change:transform,opacity;backface-visibility:hidden}.source-sheet-panel[data-state=open]{animation:svelte-ypseth-source-sheet-panel-in .34s cubic-bezier(.32,.72,0,1) both}.source-sheet-panel[data-state=closed]{animation:svelte-ypseth-source-sheet-panel-out .28s cubic-bezier(.36,0,.2,1) both}@media(prefers-reduced-motion:reduce){.source-sheet-overlay[data-state=open],.source-sheet-overlay[data-state=closed],.source-sheet-panel[data-state=open],.source-sheet-panel[data-state=closed]{animation-duration:.01ms;animation-iteration-count:1}}.source-feed-panel-inline.svelte-ypseth{box-sizing:border-box;flex:1 1 auto;min-width:0;width:100%;max-width:none;display:flex;flex-direction:column;min-height:0;background:transparent;border-left:none;border-right:none}.source-sheet-inline-empty.svelte-ypseth{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem 1.25rem;text-align:center}.source-sheet-inline-empty-title.svelte-ypseth{margin:0;font-size:.875rem;font-weight:600;color:var(--color-muted-foreground-strong)}.source-sheet-inline-empty-hint.svelte-ypseth{margin:0;font-size:.78rem;line-height:1.45;color:var(--color-muted-foreground-soft);max-width:16rem}.source-feed-panel-inline.svelte-ypseth .source-sheet-header-inline:where(.svelte-ypseth){padding:0 .85rem .75rem 1rem;align-items:flex-start}.source-feed-panel-inline.svelte-ypseth h2.source-sheet-title:where(.svelte-ypseth){font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-pull-status.svelte-ypseth{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;margin:-.1rem 0 0;color:var(--color-primary)}.source-sheet-pull-status.svelte-ypseth svg{animation:svelte-ypseth-source-sheet-spin .8s linear infinite}@keyframes svelte-ypseth-source-sheet-spin{to{transform:rotate(360deg)}}@media(max-width:720px){.source-feed-panel-inline.svelte-ypseth{flex:1 1 auto;max-width:none;min-width:0;min-height:12rem;max-height:min(42vh,22rem);border-left:none;border-right:none;border-top:none}}.source-sheet-header.svelte-ypseth{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1rem 1rem .75rem 1.25rem;border-bottom:1px solid var(--color-border-muted)}.source-sheet-title-wrap.svelte-ypseth{flex:1 1 auto;min-width:0}.source-sheet-title-row.svelte-ypseth{min-width:0}.source-sheet-title-cluster.svelte-ypseth{display:flex;align-items:center;gap:.35rem;min-width:0;max-width:100%}.source-sheet-title-cluster.svelte-ypseth .source-sheet-title,.source-sheet-title-cluster.svelte-ypseth h2.source-sheet-title:where(.svelte-ypseth){flex:1 1 0%;min-width:0}.source-sheet-proxy.svelte-ypseth{flex-shrink:0;display:inline-flex;align-items:center;line-height:0;color:var(--color-muted-foreground-soft)}.source-sheet-proxy-globe{opacity:.9}.source-sheet-title{font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-sub.svelte-ypseth{margin:.35rem 0 0;font-size:.72rem;color:var(--color-muted-foreground-soft);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-sub.source-sheet-sub-desc.svelte-ypseth{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;word-break:break-word;text-overflow:unset}.source-sheet-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:.35rem;color:var(--color-muted-foreground);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:color .15s,background .15s}.source-sheet-close:hover{color:var(--color-foreground);background:var(--color-muted)}.source-sheet-body.svelte-ypseth{flex:1;min-height:0;overflow-y:auto;padding:.5rem 0 1rem}.source-sheet-body.svelte-ypseth::-webkit-scrollbar{width:5px}.source-sheet-body.svelte-ypseth::-webkit-scrollbar-thumb{background:var(--color-scrollbar-thumb);border-radius:4px}.source-sheet-state.svelte-ypseth{padding:2rem 1.25rem;text-align:center;font-size:.875rem;color:var(--color-muted-foreground)}.source-sheet-state.err.svelte-ypseth{color:var(--color-destructive)}.source-feed-list.svelte-ypseth{list-style:none;margin:0;padding:0}.source-feed-row.svelte-ypseth{border-bottom:1px solid var(--color-border-muted)}.source-feed-row.svelte-ypseth:last-child{border-bottom:none}.source-feed-link.svelte-ypseth{display:flex;flex-direction:column;align-items:stretch;gap:.25rem;padding:.65rem 1.25rem;min-width:0;text-decoration:none;color:inherit;transition:background .12s}.source-feed-link.svelte-ypseth:hover{background:var(--color-muted)}.source-feed-title.svelte-ypseth{font-size:.8125rem;font-weight:500;color:var(--color-foreground);line-height:1.4;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-feed-link.svelte-ypseth:hover .source-feed-title:where(.svelte-ypseth){color:var(--color-primary)}.source-feed-meta.svelte-ypseth{display:inline-flex;align-items:center;align-self:flex-start;gap:.35rem;flex-shrink:0;font-size:.7rem;color:var(--color-muted-foreground-soft);font-variant-numeric:tabular-nums}.source-feed-ext.svelte-ypseth{opacity:.65;flex-shrink:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as s,a as l}from"./
|
|
1
|
+
import{h as s,a as l}from"./BbWUOQ_m.js";function h(n,a,r,t,d){var i;s&&l();var e=(i=a.$$slots)==null?void 0:i[r],f=!1;e===!0&&(e=a.children,f=!0),e===void 0||e(n,f?()=>t:t)}export{h as s};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b5 as Y,M as U,p as X,X as G,h as T,S as x,m as P,ah as rr,v as ir,b6 as fr,b7 as ar,b8 as tr,b9 as er,ba as ur,i as sr,bb as or,bc as cr,bd as M,e as V,be as lr,bf as nr,O as vr,bg as dr,bh as br}from"./BbWUOQ_m.js";import{i as hr,a as gr,d as _r,c as Ar,n as Sr,b as Tr}from"./DMWEh-Ek.js";function Nr(r,f){var i=void 0,a;Y(()=>{i!==(i=f())&&(a&&(U(a),a=null),i&&(a=X(()=>{G(()=>i(r))})))})}function z(r){var f,i,a="";if(typeof r=="string"||typeof r=="number")a+=r;else if(typeof r=="object")if(Array.isArray(r)){var t=r.length;for(f=0;f<t;f++)r[f]&&(i=z(r[f]))&&(a&&(a+=" "),a+=i)}else for(i in r)r[i]&&(a&&(a+=" "),a+=i);return a}function Or(){for(var r,f,i=0,a="",t=arguments.length;i<t;i++)(r=arguments[i])&&(f=z(r))&&(a&&(a+=" "),a+=f);return a}function pr(r){return typeof r=="object"?Or(r):r??""}const B=[...`
|
|
2
|
+
\r\f \v\uFEFF`];function Er(r,f,i){var a=r==null?"":""+r;if(f&&(a=a?a+" "+f:f),i){for(var t of Object.keys(i))if(i[t])a=a?a+" "+t:t;else if(a.length)for(var e=t.length,u=0;(u=a.indexOf(t,u))>=0;){var o=u+e;(u===0||B.includes(a[u-1]))&&(o===a.length||B.includes(a[o]))?a=(u===0?"":a.substring(0,u))+a.substring(o+1):u=o}}return a===""?null:a}function D(r,f=!1){var i=f?" !important;":";",a="";for(var t of Object.keys(r)){var e=r[t];e!=null&&e!==""&&(a+=" "+t+": "+e+i)}return a}function w(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function Ir(r,f){if(f){var i="",a,t;if(Array.isArray(f)?(a=f[0],t=f[1]):a=f,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var e=!1,u=0,o=!1,n=[];a&&n.push(...Object.keys(a).map(w)),t&&n.push(...Object.keys(t).map(w));var v=0,g=-1;const O=r.length;for(var d=0;d<O;d++){var s=r[d];if(o?s==="/"&&r[d-1]==="*"&&(o=!1):e?e===s&&(e=!1):s==="/"&&r[d+1]==="*"?o=!0:s==='"'||s==="'"?e=s:s==="("?u++:s===")"&&u--,!o&&e===!1&&u===0){if(s===":"&&g===-1)g=d;else if(s===";"||d===O-1){if(g!==-1){var N=w(r.substring(v,g).trim());if(!n.includes(N)){s!==";"&&d++;var S=r.substring(v,d).trim();i+=" "+S+";"}}v=d+1,g=-1}}}}return a&&(i+=D(a)),t&&(i+=D(t,!0)),i=i.trim(),i===""?null:i}return r==null?null:String(r)}function Lr(r,f,i,a,t,e){var u=r.__className;if(T||u!==i||u===void 0){var o=Er(i,a,e);(!T||o!==r.getAttribute("class"))&&(o==null?r.removeAttribute("class"):f?r.className=o:r.setAttribute("class",o)),r.__className=i}else if(e&&t!==e)for(var n in e){var v=!!e[n];(t==null||v!==!!t[n])&&r.classList.toggle(n,v)}return e}function j(r,f={},i,a){for(var t in i){var e=i[t];f[t]!==e&&(i[t]==null?r.style.removeProperty(t):r.style.setProperty(t,e,a))}}function kr(r,f,i,a){var t=r.__style;if(T||t!==f){var e=Ir(f,a);(!T||e!==r.getAttribute("style"))&&(e==null?r.removeAttribute("style"):r.style.cssText=e),r.__style=f}else a&&(Array.isArray(a)?(j(r,i==null?void 0:i[0],a[0]),j(r,i==null?void 0:i[1],a[1],"important")):j(r,i,a));return a}function y(r,f,i=!1){if(r.multiple){if(f==null)return;if(!ir(f))return fr();for(var a of r.options)a.selected=f.includes(k(a));return}for(a of r.options){var t=k(a);if(ar(t,f)){a.selected=!0;return}}(!i||f!==void 0)&&(r.selectedIndex=-1)}function F(r){var f=new MutationObserver(()=>{y(r,r.__value)});f.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),rr(()=>{f.disconnect()})}function Rr(r,f,i=f){var a=new WeakSet,t=!0;x(r,"change",e=>{var u=e?"[selected]":":checked",o;if(r.multiple)o=[].map.call(r.querySelectorAll(u),k);else{var n=r.querySelector(u)??r.querySelector("option:not([disabled])");o=n&&k(n)}i(o),r.__value=o,P!==null&&a.add(P)}),G(()=>{var e=f();if(r===document.activeElement){var u=P;if(a.has(u))return}if(y(r,e,t),t&&e===void 0){var o=r.querySelector(":checked");o!==null&&(e=k(o),i(e))}r.__value=e,t=!1}),F(r)}function k(r){return"__value"in r?r.__value:r.value}const I=Symbol("class"),L=Symbol("style"),W=Symbol("is custom element"),Z=Symbol("is html"),yr=M?"link":"LINK",Cr=M?"input":"INPUT",Mr=M?"option":"OPTION",Pr=M?"select":"SELECT";function wr(r){if(T){var f=!1,i=()=>{if(!f){if(f=!0,r.hasAttribute("value")){var a=r.value;C(r,"value",null),r.value=a}if(r.hasAttribute("checked")){var t=r.checked;C(r,"checked",null),r.checked=t}}};r.__on_r=i,vr(i),dr()}}function Hr(r,f){var i=q(r);i.checked!==(i.checked=f??void 0)&&(r.checked=f)}function jr(r,f){f?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function C(r,f,i,a){var t=q(r);T&&(t[f]=r.getAttribute(f),f==="src"||f==="srcset"||f==="href"&&r.nodeName===yr)||t[f]!==(t[f]=i)&&(f==="loading"&&(r[br]=i),i==null?r.removeAttribute(f):typeof i!="string"&&J(r).includes(f)?r[f]=i:r.setAttribute(f,i))}function Ur(r,f,i,a,t=!1,e=!1){if(T&&t&&r.nodeName===Cr){var u=r,o=u.type==="checkbox"?"defaultChecked":"defaultValue";o in i||wr(u)}var n=q(r),v=n[W],g=!n[Z];let d=T&&v;d&&V(!1);var s=f||{},N=r.nodeName===Mr;for(var S in f)S in i||(i[S]=null);i.class?i.class=pr(i.class):i[I]&&(i.class=null),i[L]&&(i.style??(i.style=null));var O=J(r);for(const c in i){let l=i[c];if(N&&c==="value"&&l==null){r.value=r.__value="",s[c]=l;continue}if(c==="class"){var E=r.namespaceURI==="http://www.w3.org/1999/xhtml";Lr(r,E,l,a,f==null?void 0:f[I],i[I]),s[c]=l,s[I]=i[I];continue}if(c==="style"){kr(r,l,f==null?void 0:f[L],i[L]),s[c]=l,s[L]=i[L];continue}var _=s[c];if(!(l===_&&!(l===void 0&&r.hasAttribute(c)))){s[c]=l;var R=c[0]+c[1];if(R!=="$$")if(R==="on"){const A={},p="$$"+c;let h=c.slice(2);var H=Tr(h);if(hr(h)&&(h=h.slice(0,-7),A.capture=!0),!H&&_){if(l!=null)continue;r.removeEventListener(h,s[p],A),s[p]=null}if(H)gr(h,r,l),_r([h]);else if(l!=null){let Q=function(m){s[c].call(this,m)};s[p]=Ar(h,r,Q,A)}}else if(c==="style")C(r,c,l);else if(c==="autofocus")lr(r,!!l);else if(!v&&(c==="__value"||c==="value"&&l!=null))r.value=r.__value=l;else if(c==="selected"&&N)jr(r,l);else{var b=c;g||(b=Sr(b));var $=b==="defaultValue"||b==="defaultChecked";if(l==null&&!v&&!$)if(n[c]=null,b==="value"||b==="checked"){let A=r;const p=f===void 0;if(b==="value"){let h=A.defaultValue;A.removeAttribute(b),A.defaultValue=h,A.value=A.__value=p?h:null}else{let h=A.defaultChecked;A.removeAttribute(b),A.defaultChecked=h,A.checked=p?h:!1}}else r.removeAttribute(c);else $||O.includes(b)&&(v||typeof l!="string")?(r[b]=l,b in n&&(n[b]=nr)):typeof l!="function"&&C(r,b,l)}}}return d&&V(!0),s}function $r(r,f,i=[],a=[],t=[],e,u=!1,o=!1){tr(t,i,a,n=>{var v=void 0,g={},d=r.nodeName===Pr,s=!1;if(Y(()=>{var S=f(...n.map(sr)),O=Ur(r,v,S,e,u,o);s&&d&&"value"in S&&y(r,S.value);for(let _ of Object.getOwnPropertySymbols(g))S[_]||U(g[_]);for(let _ of Object.getOwnPropertySymbols(S)){var E=S[_];_.description===or&&(!v||E!==v[_])&&(g[_]&&U(g[_]),g[_]=X(()=>Nr(r,()=>E))),O[_]=E}v=O}),d){var N=r;G(()=>{y(N,v.value,!0),F(N)})}s=!0})}function q(r){return r.__attributes??(r.__attributes={[W]:r.nodeName.includes("-"),[Z]:r.namespaceURI===er})}var K=new Map;function J(r){var f=r.getAttribute("is")||r.nodeName,i=K.get(f);if(i)return i;K.set(f,i=[]);for(var a,t=r,e=Element.prototype;e!==t;){a=cr(t);for(var u in a)a[u].set&&i.push(u);t=ur(t)}return i}const Vr="rssany",Br="https://github.com/joohw/rssany";export{Br as G,Vr as P,Lr as a,Hr as b,Rr as c,kr as d,$r as e,Or as f,wr as r,C as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aF as w,n as v,N as f,aG as E,Y as T,aH as N,aI as y,h as i,g as n,aJ as M,c as x,aK as C,aL as L,a as h,C as O}from"./BbWUOQ_m.js";var m;const c=((m=globalThis==null?void 0:globalThis.window)==null?void 0:m.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function b(e){return(c==null?void 0:c.createHTML(e))??e}function g(e){var r=w("template");return r.innerHTML=b(e.replaceAll("<!>","<!---->")),r.content}function a(e,r){var t=T;t.nodes===null&&(t.nodes={start:e,end:r,a:null,t:null})}function R(e,r){var t=(r&N)!==0,l=(r&y)!==0,s,u=!e.startsWith("<!>");return()=>{if(i)return a(n,null),n;s===void 0&&(s=g(u?e:"<!>"+e),t||(s=f(s)));var o=l||E?document.importNode(s,!0):s.cloneNode(!0);if(t){var _=f(o),d=o.lastChild;a(_,d)}else a(o,o);return o}}function A(e,r,t="svg"){var l=!e.startsWith("<!>"),s=`<${t}>${l?e:"<!>"+e}</${t}>`,u;return()=>{if(i)return a(n,null),n;if(!u){var o=g(s),_=f(o);u=f(_)}var d=u.cloneNode(!0);return a(d,d),d}}function $(e,r){return A(e,r,"svg")}function D(e=""){if(!i){var r=v(e+"");return a(r,r),r}var t=n;return t.nodeType!==M?(t.before(t=v()),x(t)):C(t),a(t,t),t}function H(){if(i)return a(n,null),n;var e=document.createDocumentFragment(),r=document.createComment(""),t=v();return e.append(r,t),a(r,t),e}function F(e,r){if(i){var t=T;((t.f&L)===0||t.nodes.end===null)&&(t.nodes.end=n),h();return}e!==null&&e.before(r)}function S(){var e,r;if(i&&n&&n.nodeType===O&&((e=n.textContent)!=null&&e.startsWith("$"))){const t=n.textContent.substring(1);return h(),t}return(r=window.__svelte??(window.__svelte={})).uid??(r.uid=1),`c${window.__svelte.uid++}`}const I="5";var p;typeof window<"u"&&((p=window.__svelte??(window.__svelte={})).v??(p.v=new Set)).add(I);export{F as a,a as b,H as c,$ as d,R as f,S as p,D as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as ae,h as M,a as ie,i as W,r as le,j as ue,s as Z,c as q,e as B,g as L,C as se,k as oe,l as $,m as ve,n as Y,o as w,p as y,q as de,t as te,u as ce,v as pe,w as J,x as ge,y as he,z as _e,A as j,B as Ee,D as me,F as ne,G as re,I as V,J as Te,K as we,L as Ae,M as Ce,N as Se,O as Ie,P as Ne,Q as fe,R as xe}from"./BbWUOQ_m.js";function Oe(e,r){return r}function De(e,r,u){for(var s=[],c=r.length,l,i=r.length,p=0;p<c;p++){let E=r[p];re(E,()=>{if(l){if(l.pending.delete(E),l.done.add(E),l.pending.size===0){var v=e.outrogroups;G(e,J(l.done)),v.delete(l),v.size===0&&(e.outrogroups=null)}}else i-=1},!1)}if(i===0){var a=s.length===0&&u!==null;if(a){var t=u,f=t.parentNode;we(f),f.append(t),e.items.clear()}G(e,r,!a)}else l={pending:new Set(r),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(l)}function G(e,r,u=!0){var s;if(e.pending.size>0){s=new Set;for(const i of e.pending.values())for(const p of i)s.add(e.items.get(p).e)}for(var c=0;c<r.length;c++){var l=r[c];if(s!=null&&s.has(l)){l.f|=w;const i=document.createDocumentFragment();Ae(l,i)}else Ce(r[c],u)}}var ee;function be(e,r,u,s,c,l=null){var i=e,p=new Map,a=(r&fe)!==0;if(a){var t=e;i=M?q(Se(t)):t.appendChild(Y())}M&&ie();var f=null,E=ce(()=>{var d=u();return pe(d)?d:d==null?[]:J(d)}),v,m=new Map,T=!0;function x(d){(C.effect.f&me)===0&&(C.pending.delete(d),C.fallback=f,Re(C,v,i,r,s),f!==null&&(v.length===0?(f.f&w)===0?ne(f):(f.f^=w,b(f,null,i)):re(f,()=>{f=null})))}function n(d){C.pending.delete(d)}var o=ae(()=>{v=W(E);var d=v.length;let h=!1;if(M){var F=le(i)===ue;F!==(d===0)&&(i=Z(),q(i),B(!1),h=!0)}for(var S=new Set,g=ve,R=te(),I=0;I<d;I+=1){M&&L.nodeType===se&&L.data===oe&&(i=L,h=!0,B(!1));var k=v[I],D=s(k,I),_=T?null:p.get(D);_?(_.v&&$(_.v,k),_.i&&$(_.i,I),R&&g.unskip_effect(_.e)):(_=ke(p,T?i:ee??(ee=Y()),k,D,I,c,r,u),T||(_.e.f|=w),p.set(D,_)),S.add(D)}if(d===0&&l&&!f&&(T?f=y(()=>l(i)):(f=y(()=>l(ee??(ee=Y()))),f.f|=w)),d>S.size&&de(),M&&d>0&&q(Z()),!T)if(m.set(g,S),R){for(const[H,z]of p)S.has(H)||g.skip_effect(z.e);g.oncommit(x),g.ondiscard(n)}else x(g);h&&B(!0),W(E)}),C={effect:o,items:p,pending:m,outrogroups:null,fallback:f};T=!1,M&&(i=L)}function O(e){for(;e!==null&&(e.f&Te)===0;)e=e.next;return e}function Re(e,r,u,s,c){var k,D,_,H,z,K,P,Q,U;var l=(s&xe)!==0,i=r.length,p=e.items,a=O(e.effect.first),t,f=null,E,v=[],m=[],T,x,n,o;if(l)for(o=0;o<i;o+=1)T=r[o],x=c(T,o),n=p.get(x).e,(n.f&w)===0&&((D=(k=n.nodes)==null?void 0:k.a)==null||D.measure(),(E??(E=new Set)).add(n));for(o=0;o<i;o+=1){if(T=r[o],x=c(T,o),n=p.get(x).e,e.outrogroups!==null)for(const A of e.outrogroups)A.pending.delete(n),A.done.delete(n);if((n.f&V)!==0&&(ne(n),l&&((H=(_=n.nodes)==null?void 0:_.a)==null||H.unfix(),(E??(E=new Set)).delete(n))),(n.f&w)!==0)if(n.f^=w,n===a)b(n,null,u);else{var C=f?f.next:a;n===e.effect.last&&(e.effect.last=n.prev),n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev),N(e,f,n),N(e,n,C),b(n,C,u),f=n,v=[],m=[],a=O(f.next);continue}if(n!==a){if(t!==void 0&&t.has(n)){if(v.length<m.length){var d=m[0],h;f=d.prev;var F=v[0],S=v[v.length-1];for(h=0;h<v.length;h+=1)b(v[h],d,u);for(h=0;h<m.length;h+=1)t.delete(m[h]);N(e,F.prev,S.next),N(e,f,F),N(e,S,d),a=d,f=S,o-=1,v=[],m=[]}else t.delete(n),b(n,a,u),N(e,n.prev,n.next),N(e,n,f===null?e.effect.first:f.next),N(e,f,n),f=n;continue}for(v=[],m=[];a!==null&&a!==n;)(t??(t=new Set)).add(a),m.push(a),a=O(a.next);if(a===null)continue}(n.f&w)===0&&v.push(n),f=n,a=O(n.next)}if(e.outrogroups!==null){for(const A of e.outrogroups)A.pending.size===0&&(G(e,J(A.done)),(z=e.outrogroups)==null||z.delete(A));e.outrogroups.size===0&&(e.outrogroups=null)}if(a!==null||t!==void 0){var g=[];if(t!==void 0)for(n of t)(n.f&V)===0&&g.push(n);for(;a!==null;)(a.f&V)===0&&a!==e.fallback&&g.push(a),a=O(a.next);var R=g.length;if(R>0){var I=(s&fe)!==0&&i===0?u:null;if(l){for(o=0;o<R;o+=1)(P=(K=g[o].nodes)==null?void 0:K.a)==null||P.measure();for(o=0;o<R;o+=1)(U=(Q=g[o].nodes)==null?void 0:Q.a)==null||U.fix()}De(e,g,I)}}l&&Ie(()=>{var A,X;if(E!==void 0)for(n of E)(X=(A=n.nodes)==null?void 0:A.a)==null||X.apply()})}function ke(e,r,u,s,c,l,i,p){var a=(i&ge)!==0?(i&he)===0?_e(u,!1,!1):j(u):null,t=(i&Ee)!==0?j(c):null;return{v:a,i:t,e:y(()=>(l(r,a??u,t??c,p),()=>{e.delete(s)}))}}function b(e,r,u){if(e.nodes)for(var s=e.nodes.start,c=e.nodes.end,l=r&&(r.f&w)===0?r.nodes.start:u;s!==null;){var i=Ne(s);if(l.before(s),s===c)return;s=i}}function N(e,r,u){r===null?e.effect.first=u:r.next=u,u===null?e.effect.last=r:u.prev=r}export{be as e,Oe as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var mn=Object.defineProperty;var Nt=e=>{throw TypeError(e)};var bn=(e,t,n)=>t in e?mn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var oe=(e,t,n)=>bn(e,typeof t!="symbol"?t+"":t,n),tt=(e,t,n)=>t.has(e)||Nt("Cannot "+n);var u=(e,t,n)=>(tt(e,t,"read from private field"),n?n.call(e):t.get(e)),k=(e,t,n)=>t.has(e)?Nt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),be=(e,t,n,r)=>(tt(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),D=(e,t,n)=>(tt(e,t,"access private method"),n);var Tn=Array.isArray,An=Array.prototype.indexOf,Re=Array.prototype.includes,Er=Array.from,mr=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,Sn=Object.getOwnPropertyDescriptors,xn=Object.prototype,Rn=Array.prototype,Yt=Object.getPrototypeOf,Ot=Object.isExtensible;function br(e){return typeof e=="function"}const Nn=()=>{};function Tr(e){return e()}function On(e){for(var t=0;t<e.length;t++)e[t]()}function Ht(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Ar(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const A=2,pe=4,Ye=8,dt=1<<24,Z=16,z=32,re=64,kn=128,L=512,m=1024,N=2048,V=4096,q=8192,U=16384,me=32768,kt=1<<25,Ge=65536,st=1<<17,Cn=1<<18,Oe=1<<19,qt=1<<20,Sr=1<<25,we=65536,it=1<<21,We=1<<22,te=1<<23,de=Symbol("$state"),xr=Symbol("legacy props"),Rr=Symbol(""),K=new class extends Error{constructor(){super(...arguments);oe(this,"name","StaleReactionError");oe(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};var jt;const Or=!!((jt=globalThis.document)!=null&&jt.contentType)&&globalThis.document.contentType.includes("xml"),kr=1,Je=3,Ut=8;function Dn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function In(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Cr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Pn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Mn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Fn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ln(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ir(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function jn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Yn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Hn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Mr=1,Fr=2,Lr=4,jr=8,Yr=16,Hr=1,qr=2,Ur=4,Vr=8,Br=16,Gr=1,zr=2,qn="[",Un="[!",Kr="[?",Vn="]",ht={},S=Symbol(),Bn="http://www.w3.org/1999/xhtml",$r="http://www.w3.org/2000/svg",Xr="@attach";function pt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Zr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Wr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let ye=!1;function Jr(e){ye=e}let T;function Ne(e){if(e===null)throw pt(),ht;return T=e}function Qr(){return Ne(le(T))}function es(e){if(ye){if(le(T)!==null)throw pt(),ht;T=e}}function ts(e=1){if(ye){for(var t=e,n=T;t--;)n=le(n);T=n}}function ns(e=!0){for(var t=0,n=T;;){if(n.nodeType===Ut){var r=n.data;if(r===Vn){if(t===0)return n;t-=1}else(r===qn||r===Un||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=le(n);e&&n.remove(),n=s}}function rs(e){if(!e||e.nodeType!==Ut)throw pt(),ht;return e.data}function Vt(e){return e===this.v}function Gn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Bt(e){return!Gn(e,this.v)}let Qe=!1;function ss(){Qe=!0}let g=null;function ze(e){g=e}function is(e){return et().get(e)}function as(e,t){return et().set(e,t),t}function fs(e){return et().has(e)}function ls(){return et()}function os(e,t=!1,n){g={p:g,i:!1,c:null,e:null,s:e,x:null,r:y,l:Qe&&!t?{s:null,u:null,$:[]}:null}}function us(e){var t=g,n=t.e;if(n!==null){t.e=null;for(var r of n)ln(r)}return t.i=!0,g=t.p,{}}function He(){return!Qe||g!==null&&g.l===null}function et(e){return g===null&&Dn(),g.c??(g.c=new Map(zn(g)||void 0))}function zn(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let ue=[];function Gt(){var e=ue;ue=[],On(e)}function at(e){if(ue.length===0&&!Me){var t=ue;queueMicrotask(()=>{t===ue&&Gt()})}ue.push(e)}function Kn(){for(;ue.length>0;)Gt()}function $n(e){var t=y;if(t===null)return p.f|=te,e;if((t.f&me)===0&&(t.f&pe)===0)throw e;Ke(e,t)}function Ke(e,t){for(;t!==null;){if((t.f&kn)!==0){if((t.f&me)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Xn=-7169;function E(e,t){e.f=e.f&Xn|t}function wt(e){(e.f&L)!==0||e.deps===null?E(e,m):E(e,V)}function zt(e){if(e!==null)for(const t of e)(t.f&A)===0||(t.f&we)===0||(t.f^=we,zt(t.deps))}function Zn(e,t,n){(e.f&N)!==0?t.add(e):(e.f&V)!==0&&n.add(e),zt(e.deps),E(e,m)}const W=new Set;let w=null,x=null,ft=null,Me=!1,nt=!1,Te=null,qe=null;var Ct=0;let Wn=1;var Ae,Se,$,B,Le,P,je,ee,X,G,xe,ve,b,Ue,Kt,Ve,lt,ot,$t;const Ze=class Ze{constructor(){k(this,b);oe(this,"id",Wn++);oe(this,"current",new Map);oe(this,"previous",new Map);k(this,Ae,new Set);k(this,Se,new Set);k(this,$,new Map);k(this,B,new Map);k(this,Le,null);k(this,P,[]);k(this,je,[]);k(this,ee,new Set);k(this,X,new Set);k(this,G,new Map);oe(this,"is_fork",!1);k(this,xe,!1);k(this,ve,new Set)}skip_effect(t){u(this,G).has(t)||u(this,G).set(t,{d:[],m:[]})}unskip_effect(t){var n=u(this,G).get(t);if(n){u(this,G).delete(t);for(var r of n.d)E(r,N),this.schedule(r);for(r of n.m)E(r,V),this.schedule(r)}}capture(t,n,r=!1){n!==S&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&te)===0&&(this.current.set(t,[t.v,r]),x==null||x.set(t,t.v))}activate(){w=this}deactivate(){w=null,x=null}flush(){try{nt=!0,w=this,D(this,b,Ve).call(this)}finally{Ct=0,ft=null,Te=null,qe=null,nt=!1,w=null,x=null,ne.clear()}}discard(){for(const t of u(this,Se))t(this);u(this,Se).clear(),W.delete(this)}register_created_effect(t){u(this,je).push(t)}increment(t,n){let r=u(this,$).get(n)??0;if(u(this,$).set(n,r+1),t){let s=u(this,B).get(n)??0;u(this,B).set(n,s+1)}}decrement(t,n,r){let s=u(this,$).get(n)??0;if(s===1?u(this,$).delete(n):u(this,$).set(n,s-1),t){let i=u(this,B).get(n)??0;i===1?u(this,B).delete(n):u(this,B).set(n,i-1)}u(this,xe)||r||(be(this,xe,!0),at(()=>{be(this,xe,!1),this.flush()}))}transfer_effects(t,n){for(const r of t)u(this,ee).add(r);for(const r of n)u(this,X).add(r);t.clear(),n.clear()}oncommit(t){u(this,Ae).add(t)}ondiscard(t){u(this,Se).add(t)}settled(){return(u(this,Le)??be(this,Le,Ht())).promise}static ensure(){if(w===null){const t=w=new Ze;nt||(W.add(w),Me||at(()=>{w===t&&t.flush()}))}return w}apply(){{x=null;return}}schedule(t){var s;if(ft=t,(s=t.b)!=null&&s.is_pending&&(t.f&(pe|Ye|dt))!==0&&(t.f&me)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Te!==null&&n===y&&(p===null||(p.f&A)===0))return;if((r&(re|z))!==0){if((r&m)===0)return;n.f^=m}}u(this,P).push(n)}};Ae=new WeakMap,Se=new WeakMap,$=new WeakMap,B=new WeakMap,Le=new WeakMap,P=new WeakMap,je=new WeakMap,ee=new WeakMap,X=new WeakMap,G=new WeakMap,xe=new WeakMap,ve=new WeakMap,b=new WeakSet,Ue=function(){return this.is_fork||u(this,B).size>0},Kt=function(){for(const r of u(this,ve))for(const s of u(r,B).keys()){for(var t=!1,n=s;n.parent!==null;){if(u(this,G).has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1},Ve=function(){var l,f;if(Ct++>1e3&&(W.delete(this),Qn()),!D(this,b,Ue).call(this)){for(const a of u(this,ee))u(this,X).delete(a),E(a,N),this.schedule(a);for(const a of u(this,X))E(a,V),this.schedule(a)}const t=u(this,P);be(this,P,[]),this.apply();var n=Te=[],r=[],s=qe=[];for(const a of t)try{D(this,b,lt).call(this,a,n,r)}catch(c){throw Wt(a),c}if(w=null,s.length>0){var i=Ze.ensure();for(const a of s)i.schedule(a)}if(Te=null,qe=null,D(this,b,Ue).call(this)||D(this,b,Kt).call(this)){D(this,b,ot).call(this,r),D(this,b,ot).call(this,n);for(const[a,c]of u(this,G))Zt(a,c)}else{u(this,$).size===0&&W.delete(this),u(this,ee).clear(),u(this,X).clear();for(const a of u(this,Ae))a(this);u(this,Ae).clear(),Dt(r),Dt(n),(l=u(this,Le))==null||l.resolve()}var o=w;if(u(this,P).length>0){const a=o??(o=this);u(a,P).push(...u(this,P).filter(c=>!u(a,P).includes(c)))}o!==null&&(W.add(o),D(f=o,b,Ve).call(f)),W.has(this)||D(this,b,$t).call(this)},lt=function(t,n,r){t.f^=m;for(var s=t.first;s!==null;){var i=s.f,o=(i&(z|re))!==0,l=o&&(i&m)!==0,f=l||(i&q)!==0||u(this,G).has(s);if(!f&&s.fn!==null){o?s.f^=m:(i&pe)!==0?n.push(s):ke(s)&&((i&Z)!==0&&u(this,X).add(s),Ee(s));var a=s.first;if(a!==null){s=a;continue}}for(;s!==null;){var c=s.next;if(c!==null){s=c;break}s=s.parent}}},ot=function(t){for(var n=0;n<t.length;n+=1)Zn(t[n],u(this,ee),u(this,X))},$t=function(){var c,h,v;for(const d of W){var t=d.id<this.id,n=[];for(const[_,[O,R]]of this.current){if(d.current.has(_)){var r=d.current.get(_)[0];if(t&&O!==r)d.current.set(_,[O,R]);else continue}n.push(_)}var s=[...d.current.keys()].filter(_=>!this.current.has(_));if(s.length===0)t&&d.discard();else if(n.length>0){d.activate();var i=new Set,o=new Map;for(var l of n)Xt(l,s,i,o);o=new Map;var f=[...d.current.keys()].filter(_=>this.current.has(_)?this.current.get(_)[0]!==_:!0);for(const _ of u(this,je))(_.f&(U|q|st))===0&&yt(_,f,o)&&((_.f&(We|Z))!==0?(E(_,N),d.schedule(_)):u(d,ee).add(_));if(u(d,P).length>0){d.apply();for(var a of u(d,P))D(c=d,b,lt).call(c,a,[],[]);be(d,P,[])}d.deactivate()}}for(const d of W)u(d,ve).has(this)&&(u(d,ve).delete(this),u(d,ve).size===0&&!D(h=d,b,Ue).call(h)&&(d.activate(),D(v=d,b,Ve).call(v)))};let se=Ze;function Jn(e){var t=Me;Me=!0;try{for(var n;;){if(Kn(),w===null)return n;w.flush()}}finally{Me=t}}function Qn(){try{Ln()}catch(e){Ke(e,ft)}}let Y=null;function Dt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(U|q))===0&&ke(r)&&(Y=new Set,Ee(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&cn(r),(Y==null?void 0:Y.size)>0)){ne.clear();for(const s of Y){if((s.f&(U|q))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)Y.has(o)&&(Y.delete(o),i.push(o)),o=o.parent;for(let l=i.length-1;l>=0;l--){const f=i[l];(f.f&(U|q))===0&&Ee(f)}}Y.clear()}}Y=null}}function Xt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&A)!==0?Xt(s,t,n,r):(i&(We|Z))!==0&&(i&N)===0&&yt(s,t,r)&&(E(s,N),gt(s))}}function yt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(Re.call(t,s))return!0;if((s.f&A)!==0&&yt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function gt(e){w.schedule(e)}function Zt(e,t){if(!((e.f&z)!==0&&(e.f&m)!==0)){(e.f&N)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),E(e,m);for(var n=e.first;n!==null;)Zt(n,t),n=n.next}}function Wt(e){E(e,m);for(var t=e.first;t!==null;)Wt(t),t=t.next}function Jt(e,t,n,r){const s=He()?mt:nr;var i=e.filter(v=>!v.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var o=y,l=er(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(v=>v.promise)):null;function a(v){l();try{r(v)}catch(d){(o.f&U)===0&&Ke(d,o)}$e()}if(n.length===0){f.then(()=>a(t.map(s)));return}var c=Et();function h(){Promise.all(n.map(v=>tr(v))).then(v=>a([...t.map(s),...v])).catch(v=>Ke(v,o)).finally(()=>c())}f?f.then(()=>{l(),h(),$e()}):h()}function er(){var e=y,t=p,n=g,r=w;return function(i=!0){fe(e),ae(t),ze(n),i&&(e.f&U)===0&&(r==null||r.activate(),r==null||r.apply())}}function $e(e=!0){fe(null),ae(null),ze(null),e&&(w==null||w.deactivate())}function Et(){var e=y,t=e.b,n=w,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(s=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,s)}}function mt(e){var t=A|N,n=p!==null&&(p.f&A)!==0?p:null;return y!==null&&(y.f|=Oe),{ctx:g,deps:null,effects:null,equals:Vt,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??y,ac:null}}function tr(e,t,n){let r=y;r===null&&In();var s=void 0,i=Tt(S),o=!p,l=new Map;return _r(()=>{var d;var f=y,a=Ht();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally($e)}catch(_){a.reject(_),$e()}var c=w;if(o){if((f.f&me)!==0)var h=Et();if(r.b.is_rendered())(d=l.get(c))==null||d.reject(K),l.delete(c);else{for(const _ of l.values())_.reject(K);l.clear()}l.set(c,a)}const v=(_,O=void 0)=>{if(h){var R=O===K;h(R)}if(!(O===K||(f.f&U)!==0)){if(c.activate(),O)i.f|=te,ct(i,O);else{(i.f&te)!==0&&(i.f^=te),ct(i,_);for(const[Ce,De]of l){if(l.delete(Ce),Ce===c)break;De.reject(K)}}c.deactivate()}};a.promise.then(v,_=>v(null,_||"unknown"))}),cr(()=>{for(const f of l.values())f.reject(K)}),new Promise(f=>{function a(c){function h(){c===s?f(i):a(s)}c.then(h,h)}a(s)})}function cs(e){const t=mt(e);return dn(t),t}function nr(e){const t=mt(e);return t.equals=Bt,t}function rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ie(t[n])}}function sr(e){for(var t=e.parent;t!==null;){if((t.f&A)===0)return(t.f&U)===0?t:null;t=t.parent}return null}function bt(e){var t,n=y;fe(sr(e));try{e.f&=~we,rr(e),t=yn(e)}finally{fe(n)}return t}function Qt(e){var t=e.v,n=bt(e);if(!e.equals(n)&&(e.wv=pn(),(!(w!=null&&w.is_fork)||e.deps===null)&&(e.v=n,w==null||w.capture(e,t,!0),e.deps===null))){E(e,m);return}ge||(x!==null?(fn()||w!=null&&w.is_fork)&&x.set(e,n):wt(e))}function ir(e){var t,n;if(e.effects!==null)for(const r of e.effects)(r.teardown||r.ac)&&((t=r.teardown)==null||t.call(r),(n=r.ac)==null||n.abort(K),r.teardown=Nn,r.ac=null,Fe(r,0),xt(r))}function en(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ee(t)}let ut=new Set;const ne=new Map;let tn=!1;function Tt(e,t){var n={f:0,v:e,reactions:null,equals:Vt,rv:0,wv:0};return n}function J(e,t){const n=Tt(e);return dn(n),n}function _s(e,t=!1,n=!0){var s;const r=Tt(e);return t||(r.equals=Bt),Qe&&n&&g!==null&&g.l!==null&&((s=g.l).s??(s.s=[])).push(r),r}function Q(e,t,n=!1){p!==null&&(!H||(p.f&st)!==0)&&He()&&(p.f&(A|Z|We|st))!==0&&(j===null||!Re.call(j,e))&&Hn();let r=n?Ie(t):t;return ct(e,r,qe)}function ct(e,t,n=null){if(!e.equals(t)){var r=e.v;ge?ne.set(e,t):ne.set(e,r),e.v=t;var s=se.ensure();if(s.capture(e,r),(e.f&A)!==0){const i=e;(e.f&N)!==0&&bt(i),x===null&&wt(i)}e.wv=pn(),nn(e,N,n),He()&&y!==null&&(y.f&m)!==0&&(y.f&(z|re))===0&&(F===null?pr([e]):F.push(e)),!s.is_fork&&ut.size>0&&!tn&&ar()}return t}function ar(){tn=!1;for(const e of ut)(e.f&m)!==0&&E(e,V),ke(e)&&Ee(e);ut.clear()}function vs(e,t=1){var n=_e(e),r=t===1?n++:n--;return Q(e,n),r}function rt(e){Q(e,e.v+1)}function nn(e,t,n){var r=e.reactions;if(r!==null)for(var s=He(),i=r.length,o=0;o<i;o++){var l=r[o],f=l.f;if(!(!s&&l===y)){var a=(f&N)===0;if(a&&E(l,t),(f&A)!==0){var c=l;x==null||x.delete(c),(f&we)===0&&(f&L&&(l.f|=we),nn(c,V,n))}else if(a){var h=l;(f&Z)!==0&&Y!==null&&Y.add(h),n!==null?n.push(h):gt(h)}}}}function Ie(e){if(typeof e!="object"||e===null||de in e)return e;const t=Yt(e);if(t!==xn&&t!==Rn)return e;var n=new Map,r=Tn(e),s=J(0),i=he,o=l=>{if(he===i)return l();var f=p,a=he;ae(null),Lt(i);var c=l();return ae(f),Lt(a),c};return r&&n.set("length",J(e.length)),new Proxy(e,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&jn();var c=n.get(f);return c===void 0?o(()=>{var h=J(a.value);return n.set(f,h),h}):Q(c,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const c=o(()=>J(S));n.set(f,c),rt(s)}}else Q(a,S),rt(s);return!0},get(l,f,a){var d;if(f===de)return e;var c=n.get(f),h=f in l;if(c===void 0&&(!h||(d=Pe(l,f))!=null&&d.writable)&&(c=o(()=>{var _=Ie(h?l[f]:S),O=J(_);return O}),n.set(f,c)),c!==void 0){var v=_e(c);return v===S?void 0:v}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var c=n.get(f);c&&(a.value=_e(c))}else if(a===void 0){var h=n.get(f),v=h==null?void 0:h.v;if(h!==void 0&&v!==S)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return a},has(l,f){var v;if(f===de)return!0;var a=n.get(f),c=a!==void 0&&a.v!==S||Reflect.has(l,f);if(a!==void 0||y!==null&&(!c||(v=Pe(l,f))!=null&&v.writable)){a===void 0&&(a=o(()=>{var d=c?Ie(l[f]):S,_=J(d);return _}),n.set(f,a));var h=_e(a);if(h===S)return!1}return c},set(l,f,a,c){var Rt;var h=n.get(f),v=f in l;if(r&&f==="length")for(var d=a;d<h.v;d+=1){var _=n.get(d+"");_!==void 0?Q(_,S):d in l&&(_=o(()=>J(S)),n.set(d+"",_))}if(h===void 0)(!v||(Rt=Pe(l,f))!=null&&Rt.writable)&&(h=o(()=>J(void 0)),Q(h,Ie(a)),n.set(f,h));else{v=h.v!==S;var O=o(()=>Ie(a));Q(h,O)}var R=Reflect.getOwnPropertyDescriptor(l,f);if(R!=null&&R.set&&R.set.call(c,a),!v){if(r&&typeof f=="string"){var Ce=n.get("length"),De=Number(f);Number.isInteger(De)&&De>=Ce.v&&Q(Ce,De+1)}rt(s)}return!0},ownKeys(l){_e(s);var f=Reflect.ownKeys(l).filter(h=>{var v=n.get(h);return v===void 0||v.v!==S});for(var[a,c]of n)c.v!==S&&!(a in l)&&f.push(a);return f},setPrototypeOf(){Yn()}})}function It(e){try{if(e!==null&&typeof e=="object"&&de in e)return e[de]}catch{}return e}function ds(e,t){return Object.is(It(e),It(t))}var Pt,fr,lr,rn,sn;function hs(){if(Pt===void 0){Pt=window,fr=document,lr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;rn=Pe(t,"firstChild").get,sn=Pe(t,"nextSibling").get,Ot(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ot(n)&&(n.__t=void 0)}}function Xe(e=""){return document.createTextNode(e)}function _t(e){return rn.call(e)}function le(e){return sn.call(e)}function ps(e,t){if(!ye)return _t(e);var n=_t(T);if(n===null)n=T.appendChild(Xe());else if(t&&n.nodeType!==Je){var r=Xe();return n==null||n.before(r),Ne(r),r}return t&&At(n),Ne(n),n}function ws(e,t=!1){if(!ye){var n=_t(e);return n instanceof Comment&&n.data===""?le(n):n}if(t){if((T==null?void 0:T.nodeType)!==Je){var r=Xe();return T==null||T.before(r),Ne(r),r}At(T)}return T}function ys(e,t=1,n=!1){let r=ye?T:e;for(var s;t--;)s=r,r=le(r);if(!ye)return r;if(n){if((r==null?void 0:r.nodeType)!==Je){var i=Xe();return r===null?s==null||s.after(i):r.before(i),Ne(i),i}At(r)}return Ne(r),r}function gs(e){e.textContent=""}function Es(){return!1}function ms(e,t,n){return document.createElementNS(t??Bn,e,void 0)}function At(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Je;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function bs(e,t){if(t){const n=document.body;e.autofocus=!0,at(()=>{document.activeElement===n&&e.focus()})}}let Mt=!1;function or(){Mt||(Mt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function St(e){var t=p,n=y;ae(null),fe(null);try{return e()}finally{ae(t),fe(n)}}function Ts(e,t,n,r=n){e.addEventListener(t,()=>St(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),or()}function an(e){y===null&&(p===null&&Fn(),Mn()),ge&&Pn()}function ur(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function M(e,t){var n=y;n!==null&&(n.f&q)!==0&&(e|=q);var r={ctx:g,deps:null,nodes:null,f:e|N|L,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};w==null||w.register_created_effect(r);var s=r;if((e&pe)!==0)Te!==null?Te.push(r):se.ensure().schedule(r);else if(t!==null){try{Ee(r)}catch(o){throw ie(r),o}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&Oe)===0&&(s=s.first,(e&Z)!==0&&(e&Ge)!==0&&s!==null&&(s.f|=Ge))}if(s!==null&&(s.parent=n,n!==null&&ur(s,n),p!==null&&(p.f&A)!==0&&(e&re)===0)){var i=p;(i.effects??(i.effects=[])).push(s)}return r}function fn(){return p!==null&&!H}function cr(e){const t=M(Ye,null);return E(t,m),t.teardown=e,t}function As(e){an();var t=y.f,n=!p&&(t&z)!==0&&(t&me)===0;if(n){var r=g;(r.e??(r.e=[])).push(e)}else return ln(e)}function ln(e){return M(pe|qt,e)}function Ss(e){return an(),M(Ye|qt,e)}function xs(e){se.ensure();const t=M(re|Oe,e);return()=>{ie(t)}}function Rs(e){se.ensure();const t=M(re|Oe,e);return(n={})=>new Promise(r=>{n.outro?hr(t,()=>{ie(t),r(void 0)}):(ie(t),r(void 0))})}function Ns(e){return M(pe,e)}function Os(e,t){var n=g,r={effect:null,ran:!1,deps:e};n.l.$.push(r),r.effect=on(()=>{if(e(),!r.ran){r.ran=!0;var s=y;try{fe(s.parent),yr(t)}finally{fe(s)}}})}function ks(){var e=g;on(()=>{for(var t of e.l.$){t.deps();var n=t.effect;(n.f&m)!==0&&n.deps!==null&&E(n,V),ke(n)&&Ee(n),t.ran=!1}})}function _r(e){return M(We|Oe,e)}function on(e,t=0){return M(Ye|t,e)}function Cs(e,t=[],n=[],r=[]){Jt(r,t,n,s=>{M(Ye,()=>e(...s.map(_e)))})}function Ds(e,t=[],n=[],r=[]){if(n.length>0||r.length>0)var s=Et();Jt(r,t,n,i=>{M(pe,()=>e(...i.map(_e))),s&&s()})}function Is(e,t=0){var n=M(Z|t,e);return n}function Ps(e,t=0){var n=M(dt|t,e);return n}function Ms(e){return M(z|Oe,e)}function un(e){var t=e.teardown;if(t!==null){const n=ge,r=p;Ft(!0),ae(null);try{t.call(null)}finally{Ft(n),ae(r)}}}function xt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&St(()=>{s.abort(K)});var r=n.next;(n.f&re)!==0?n.parent=null:ie(n,t),n=r}}function vr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&z)===0&&ie(t),t=n}}function ie(e,t=!0){var n=!1;(t||(e.f&Cn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(dr(e.nodes.start,e.nodes.end),n=!0),E(e,kt),xt(e,t&&!n),Fe(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();un(e),e.f^=kt,e.f|=U;var s=e.parent;s!==null&&s.first!==null&&cn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function dr(e,t){for(;e!==null;){var n=e===t?null:le(e);e.remove(),e=n}}function cn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function hr(e,t,n=!0){var r=[];_n(e,r,!0);var s=()=>{n&&ie(e),t&&t()},i=r.length;if(i>0){var o=()=>--i||s();for(var l of r)l.out(o)}else s()}function _n(e,t,n){if((e.f&q)===0){e.f^=q;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,o=(s.f&Ge)!==0||(s.f&z)!==0&&(e.f&Z)!==0;_n(s,t,o?n:!1),s=i}}}function Fs(e){vn(e,!0)}function vn(e,t){if((e.f&q)!==0){e.f^=q,(e.f&m)===0&&(E(e,N),se.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Ge)!==0||(n.f&z)!==0;vn(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const o of i)(o.is_global||t)&&o.in()}}function Ls(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:le(n);t.append(n),n=s}}let Be=!1,ge=!1;function Ft(e){ge=e}let p=null,H=!1;function ae(e){p=e}let y=null;function fe(e){y=e}let j=null;function dn(e){p!==null&&(j===null?j=[e]:j.push(e))}let C=null,I=0,F=null;function pr(e){F=e}let hn=1,ce=0,he=ce;function Lt(e){he=e}function pn(){return++hn}function ke(e){var t=e.f;if((t&N)!==0)return!0;if(t&A&&(e.f&=~we),(t&V)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(ke(i)&&Qt(i),i.wv>e.wv)return!0}(t&L)!==0&&x===null&&E(e,m)}return!1}function wn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(j!==null&&Re.call(j,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&A)!==0?wn(i,t,!1):t===i&&(n?E(i,N):(i.f&m)!==0&&E(i,V),gt(i))}}function yn(e){var O;var t=C,n=I,r=F,s=p,i=j,o=g,l=H,f=he,a=e.f;C=null,I=0,F=null,p=(a&(z|re))===0?e:null,j=null,ze(e.ctx),H=!1,he=++ce,e.ac!==null&&(St(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=it;var c=e.fn,h=c();e.f|=me;var v=e.deps,d=w==null?void 0:w.is_fork;if(C!==null){var _;if(d||Fe(e,I),v!==null&&I>0)for(v.length=I+C.length,_=0;_<C.length;_++)v[I+_]=C[_];else e.deps=v=C;if(fn()&&(e.f&L)!==0)for(_=I;_<v.length;_++)((O=v[_]).reactions??(O.reactions=[])).push(e)}else!d&&v!==null&&I<v.length&&(Fe(e,I),v.length=I);if(He()&&F!==null&&!H&&v!==null&&(e.f&(A|V|N))===0)for(_=0;_<F.length;_++)wn(F[_],e);if(s!==null&&s!==e){if(ce++,s.deps!==null)for(let R=0;R<n;R+=1)s.deps[R].rv=ce;if(t!==null)for(const R of t)R.rv=ce;F!==null&&(r===null?r=F:r.push(...F))}return(e.f&te)!==0&&(e.f^=te),h}catch(R){return $n(R)}finally{e.f^=it,C=t,I=n,F=r,p=s,j=i,ze(o),H=l,he=f}}function wr(e,t){let n=t.reactions;if(n!==null){var r=An.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&A)!==0&&(C===null||!Re.call(C,t))){var i=t;(i.f&L)!==0&&(i.f^=L,i.f&=~we),wt(i),ir(i),Fe(i,0)}}function Fe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)wr(e,n[r])}function Ee(e){var t=e.f;if((t&U)===0){E(e,m);var n=y,r=Be;y=e,Be=!0;try{(t&(Z|dt))!==0?vr(e):xt(e),un(e);var s=yn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var i}finally{Be=r,y=n}}}async function js(){await Promise.resolve(),Jn()}function Ys(){return se.ensure().settled()}function _e(e){var t=e.f,n=(t&A)!==0;if(p!==null&&!H){var r=y!==null&&(y.f&U)!==0;if(!r&&(j===null||!Re.call(j,e))){var s=p.deps;if((p.f&it)!==0)e.rv<ce&&(e.rv=ce,C===null&&s!==null&&s[I]===e?I++:C===null?C=[e]:C.push(e));else{(p.deps??(p.deps=[])).push(e);var i=e.reactions;i===null?e.reactions=[p]:Re.call(i,p)||i.push(p)}}}if(ge&&ne.has(e))return ne.get(e);if(n){var o=e;if(ge){var l=o.v;return((o.f&m)===0&&o.reactions!==null||En(o))&&(l=bt(o)),ne.set(o,l),l}var f=(o.f&L)===0&&!H&&p!==null&&(Be||(p.f&L)!==0),a=(o.f&me)===0;ke(o)&&(f&&(o.f|=L),Qt(o)),f&&!a&&(en(o),gn(o))}if(x!=null&&x.has(e))return x.get(e);if((e.f&te)!==0)throw e.v;return e.v}function gn(e){if(e.f|=L,e.deps!==null)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),(t.f&A)!==0&&(t.f&L)===0&&(en(t),gn(t))}function En(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ne.has(t)||(t.f&A)!==0&&En(t))return!0;return!1}function yr(e){var t=H;try{return H=!0,e()}finally{H=t}}function Hs(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(de in e)vt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&de in n&&vt(n)}}}function vt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{vt(e[r],t)}catch{}const n=Yt(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Sn(n);for(let s in r){const i=r[s].get;if(i)try{i.call(e)}catch{}}}}}export{fr as $,Tt as A,Fr as B,Ut as C,U as D,Ge as E,Fs as F,hr as G,qn as H,q as I,z as J,gs as K,Ls as L,ie as M,_t as N,at as O,le as P,Lr as Q,jr as R,Ts as S,js as T,yr as U,on as V,g as W,Ns as X,y as Y,kt as Z,de as _,Qr as a,ht as a$,He as a0,Pe as a1,Ir as a2,Ur as a3,Ie as a4,Q as a5,ge as a6,vs as a7,fe as a8,Vr as a9,cs as aA,Ar as aB,Os as aC,ks as aD,Gn as aE,ms as aF,lr as aG,Gr as aH,zr as aI,Je as aJ,At as aK,me as aL,fn as aM,rt as aN,kn as aO,Kr as aP,Zn as aQ,ae as aR,ze as aS,se as aT,$n as aU,p as aV,Ke as aW,Pr as aX,Wr as aY,St as aZ,hs as a_,Qe as aa,qr as ab,Hr as ac,mt as ad,br as ae,xr as af,Br as ag,cr as ah,mr as ai,Nn as aj,Cn as ak,Oe as al,Ss as am,As as an,On as ao,Tr as ap,Hs as aq,Dn as ar,ss as as,os as at,us as au,ps as av,ys as aw,es as ax,ts as ay,Cs as az,Is as b,Dr as b0,Rs as b1,pt as b2,Jn as b3,J as b4,Ps as b5,Zr as b6,ds as b7,Jt as b8,Bn as b9,Yt as ba,Xr as bb,Sn as bc,Or as bd,bs as be,S as bf,or as bg,Rr as bh,kr as bi,$r as bj,he as bk,fs as bl,is as bm,as as bn,ls as bo,xs as bp,Ys as bq,Ne as c,Ds as d,Jr as e,ws as f,T as g,ye as h,_e as i,Un as j,Vn as k,ct as l,w as m,Xe as n,Sr as o,Ms as p,Cr as q,rs as r,ns as s,Es as t,nr as u,Tn as v,Er as w,Mr as x,Yr as y,_s as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ar as t,an as u,W as o,aa as c,U as e}from"./BbWUOQ_m.js";function l(n){o===null&&t(),c&&o.l!==null?s(o).m.push(n):u(()=>{const a=e(n);if(typeof a=="function")return a})}function i(n){o===null&&t(),l(()=>()=>e(n))}function s(n){var a=n.l;return a.u??(a.u={a:[],b:[],m:[]})}export{i as a,l as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./
|
|
1
|
+
import{s as e}from"./CdMsRjxJ.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{W as d,am as m,an as c,U as g,ao as l,ap as b,i as u,aq as v,ad as h}from"./BbWUOQ_m.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let f=()=>v(s.s);if(n){let a=0,t={};const _=h(()=>{let i=!1;const r=s.s;for(const o in r)r[o]!==t[o]&&(t[o]=r[o],i=!0);return i&&a++,a});f=()=>u(_)}e.b.length&&m(()=>{p(s,f),l(e.b)}),c(()=>{const a=g(()=>e.m.map(b));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&c(()=>{p(s,f),l(e.a)})}function p(n,s){if(n.l.s)for(const e of n.l.s)u(e);s()}export{x as i};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{c as n,a as i}from"./BK3WtZwv.js";import"./lk5LaiqA.js";import{f as m}from"./BbWUOQ_m.js";import{s as l}from"./B-OsL1Ct.js";import{l as c,s as d}from"./xtNWTdbD.js";import{I as f}from"./mW5RwvnK.js";function y(t,o){const r=c(o,["children","$$slots","$$events","$$legacy"]);/**
|
|
2
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const a=[["path",{d:"M5 12h14"}],["path",{d:"M12 5v14"}]];f(t,d({name:"plus"},()=>r,{get iconNode(){return a},children:(e,$)=>{var s=n(),p=m(s);l(p,o,"default",{}),i(e,s)},$$slots:{default:!0}}))}export{y as P};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var Zt=t=>{throw TypeError(t)};var Ne=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var v=(t,e,n)=>(Ne(t,e,"read from private field"),n?n.call(t):e.get(t)),A=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b4 as P,i as T,a5 as I,T as gt,bq as De}from"./BbWUOQ_m.js";import{w as Dt}from"./D5GvRCv7.js";import{b as qe,H as qt,S as Vt,R as zt}from"./BUApaBEI.js";import{o as te}from"./Bp63qm3L.js";new URL("sveltekit-internal://");function Ve(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function ze(t){return t.split("%25").map(decodeURI).join("%25")}function Be(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function At({href:t}){return t.split("#")[0]}function Ke(t,e,n,a=!1){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...p)=>(n(c),i[o](c,...p));e();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];a&&s.push("hash");for(const i of s)Object.defineProperty(r,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return r}function Fe(...t){let e=5381;for(const n of t)if(typeof n=="string"){let a=n.length;for(;a;)e=e*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)e=e*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}const Ge=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete(Bt(t)),Ge(t,e));const Y=new Map;function He(t,e){const n=Bt(t,e),a=document.querySelector(n);if(a!=null&&a.textContent){a.remove();let{body:r,...s}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&Y.set(n,{body:r,init:s,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=qe(r)),Promise.resolve(new Response(r,s))}return window.fetch(t,e)}function Me(t,e,n){if(Y.size>0){const a=Bt(t,n),r=Y.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(r.body,r.init);Y.delete(a)}}return window.fetch(e,n)}function Bt(t,e){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e!=null&&e.headers||e!=null&&e.body){const r=[];e.headers&&r.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&r.push(e.body),a+=`[data-hash="${Fe(...r)}"]`}return a}const We=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Ye(t){const e=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${Xe(t).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return Pt(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return Pt(String.fromCharCode(...l.slice(2).split("-").map(f=>parseInt(f,16))));const p=We.exec(l),[,h,_,g,d]=p;return e.push({name:g,matcher:d,optional:!!h,rest:!!_,chained:_?c===1&&i[0]==="":!1}),_?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Pt(l)}).join("")}).join("")}/?$`),params:e}}function Je(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function Xe(t){return t.slice(1).split("/").filter(Je)}function Qe(t,e,n){const a={},r=t.slice(1),s=r.filter(o=>o!==void 0);let i=0;for(let o=0;o<e.length;o+=1){const l=e[o];let c=r[o-i];if(l.chained&&l.rest&&i&&(c=r.slice(o-i,o+1).filter(p=>p).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){a[l.name]=c;const p=e[o+1],h=r[o+1];p&&!p.rest&&p.optional&&h&&l.chained&&(i=0),!p&&!h&&Object.keys(a).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return a}function Pt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ze({nodes:t,server_loads:e,dictionary:n,matchers:a}){const r=new Set(e);return Object.entries(n).map(([o,[l,c,p]])=>{const{pattern:h,params:_}=Ye(o),g={id:o,exec:d=>{const f=h.exec(d);if(f)return Qe(f,_,a)},errors:[1,...p||[]].map(d=>t[d]),layouts:[0,...c||[]].map(i),leaf:s(l)};return g.errors.length=g.layouts.length=Math.max(g.errors.length,g.layouts.length),g});function s(o){const l=o<0;return l&&(o=~o),[l,t[o]]}function i(o){return o===void 0?o:[r.has(o),t[o]]}}function ge(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ee(t,e,n=JSON.stringify){const a=n(e);try{sessionStorage[t]=a}catch{}}var fe;const U=((fe=globalThis.__sveltekit_91j5zs)==null?void 0:fe.base)??"";var ue;const tn=((ue=globalThis.__sveltekit_91j5zs)==null?void 0:ue.assets)??U??"",en="1775930177938",me="sveltekit:snapshot",_e="sveltekit:scroll",we="sveltekit:states",nn="sveltekit:pageurl",K="sveltekit:history",X="sveltekit:navigation",D={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Et=location.origin;function Kt(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function V(){return{x:pageXOffset,y:pageYOffset}}function B(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ne={...D,"":D.hover};function ve(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ye(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ve(t)}}function Ot(t,e,n){let a;try{if(a=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";a.hash=`#${o}${a.hash}`}}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,s=!a||!!r||St(a,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(a==null?void 0:a.origin)===Et&&t.hasAttribute("download");return{url:a,external:s,target:r,download:i}}function mt(t){let e=null,n=null,a=null,r=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)a===null&&(a=B(o,"preload-code")),r===null&&(r=B(o,"preload-data")),e===null&&(e=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=ve(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ne[a??"off"],preload_data:ne[r??"off"],keepfocus:l(e),noscroll:l(n),reload:l(s),replace_state:l(i)}}function re(t){const e=Dt(t);let n=!0;function a(){n=!0,e.update(i=>i)}function r(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:a,set:r,subscribe:s}}const be={v:()=>{}};function rn(){const{set:t,subscribe:e}=Dt(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${tn}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==en;return i&&(t(!0),be.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:a}}function St(t,e,n){return t.origin!==Et||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function jn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const an=new Set([...ke]);[...an];function on(t){return t.filter(e=>e!=null)}function Ft(t){return t instanceof qt||t instanceof Vt?t.status:500}function sn(t){return t instanceof Vt?t.text:"Internal Error"}let S,Q,Tt;const ln=te.toString().includes("$$")||/function \w+\(\) \{\}/.test(te.toString()),ae="a:";var rt,at,ot,it,st,lt,ct,ft,de,ut,he,dt,pe;ln?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(ae)},Q={current:null},Tt={current:!1}):(S=new(de=class{constructor(){A(this,rt,P({}));A(this,at,P(null));A(this,ot,P(null));A(this,it,P({}));A(this,st,P({id:null}));A(this,lt,P({}));A(this,ct,P(-1));A(this,ft,P(new URL(ae)))}get data(){return T(v(this,rt))}set data(e){I(v(this,rt),e)}get form(){return T(v(this,at))}set form(e){I(v(this,at),e)}get error(){return T(v(this,ot))}set error(e){I(v(this,ot),e)}get params(){return T(v(this,it))}set params(e){I(v(this,it),e)}get route(){return T(v(this,st))}set route(e){I(v(this,st),e)}get state(){return T(v(this,lt))}set state(e){I(v(this,lt),e)}get status(){return T(v(this,ct))}set status(e){I(v(this,ct),e)}get url(){return T(v(this,ft))}set url(e){I(v(this,ft),e)}},rt=new WeakMap,at=new WeakMap,ot=new WeakMap,it=new WeakMap,st=new WeakMap,lt=new WeakMap,ct=new WeakMap,ft=new WeakMap,de),Q=new(he=class{constructor(){A(this,ut,P(null))}get current(){return T(v(this,ut))}set current(e){I(v(this,ut),e)}},ut=new WeakMap,he),Tt=new(pe=class{constructor(){A(this,dt,P(!1))}get current(){return T(v(this,dt))}set current(e){I(v(this,dt),e)}},dt=new WeakMap,pe),be.v=()=>Tt.current=!0);function cn(t){Object.assign(S,t)}const oe={spanContext(){return fn},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},fn={traceId:"",spanId:"",traceFlags:0},un=new Set(["icon","shortcut icon","apple-touch-icon"]);let M=null;const $=ge(_e)??{},Z=ge(me)??{},C={url:re({}),page:re({}),navigating:Dt(null),updated:rn()};function Gt(t){$[t]=V()}function dn(t,e){let n=t+1;for(;$[n];)delete $[n],n+=1;for(n=e+1;Z[n];)delete Z[n],n+=1}function tt(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Re(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(U||"/");t&&await t.update()}}function ie(){}let Ht,jt,_t,O,Ct,k;const wt=[],vt=[];let b=null;function $t(){var t;(t=b==null?void 0:b.fork)==null||t.then(e=>e==null?void 0:e.discard()),b=null}const pt=new Map,Ee=new Set,hn=new Set,J=new Set;let w={branch:[],error:null,url:null},Se=!1,yt=!1,se=!0,et=!1,W=!1,xe=!1,Mt=!1,Le,R,L,q;const bt=new Set,le=new Map;async function Dn(t,e,n){var s,i,o,l,c;(s=globalThis.__sveltekit_91j5zs)!=null&&s.data&&globalThis.__sveltekit_91j5zs.data,document.URL!==location.href&&(location.href=location.href),k=t,await((o=(i=t.hooks).init)==null?void 0:o.call(i)),Ht=Ze(t),O=document.documentElement,Ct=e,jt=t.nodes[0],_t=t.nodes[1],jt(),_t(),R=(l=history.state)==null?void 0:l[K],L=(c=history.state)==null?void 0:c[X],R||(R=L=Date.now(),history.replaceState({...history.state,[K]:R,[X]:L},""));const a=$[R];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await Sn(Ct,n)):(await F({type:"enter",url:Kt(k.hash?Un(new URL(location.href)):location.href),replace_state:!0}),r()),En()}function pn(){wt.length=0,Mt=!1}function Ue(t){vt.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=vt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ae(t){var e;(e=Z[t])==null||e.forEach((n,a)=>{var r,s;(s=(r=vt[a])==null?void 0:r.snapshot)==null||s.restore(n)})}function ce(){Gt(R),ee(_e,$),Ue(L),ee(me,Z)}async function Pe(t,e,n,a){let r;e.invalidateAll&&$t(),await F({type:"goto",url:Kt(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:a,accept:()=>{e.invalidateAll&&(Mt=!0,r=[...le.keys()]),e.invalidate&&e.invalidate.forEach(Rn)}}),e.invalidateAll&>().then(gt).then(()=>{le.forEach(({resource:s},i)=>{var o;r!=null&&r.includes(i)&&((o=s.refresh)==null||o.call(s))})})}async function gn(t){if(t.id!==(b==null?void 0:b.id)){$t();const e={};bt.add(e),b={id:t.id,token:e,promise:Oe({...t,preload:e}).then(n=>(bt.delete(e),n.type==="loaded"&&n.state.error&&$t(),n)),fork:null}}return b.promise}async function It(t){var n;const e=(n=await xt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(a=>a[1]()))}async function Te(t,e,n){var s;const a={params:w.params,route:{id:((s=w.route)==null?void 0:s.id)??null},url:new URL(location.href)};w={...t.state,nav:a};const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(S,t.props.page),Le=new k.root({target:e,props:{...t.props,stores:C,components:vt},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),Ae(L),n){const i={from:null,to:{...a,scroll:$[R]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};J.forEach(o=>o(i))}yt=!0}async function kt({url:t,params:e,branch:n,errors:a,status:r,error:s,route:i,form:o}){let l="never";if(U&&(t.pathname===U||t.pathname===U+"/"))l="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(l=d.slash);t.pathname=Ve(t.pathname,l),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:s,route:i},props:{constructors:on(n).map(d=>d.node.component),page:Qt(S)}};o!==void 0&&(c.props.form=o);let p={},h=!S,_=0;for(let d=0;d<Math.max(n.length,w.branch.length);d+=1){const f=n[d],u=w.branch[d];(f==null?void 0:f.data)!==(u==null?void 0:u.data)&&(h=!0),f&&(p={...p,...f.data},h&&(c.props[`data_${_}`]=p),_+=1)}return(!w.url||t.href!==w.url.href||w.error!==s||o!==void 0&&o!==S.form||h)&&(c.props.page={error:s,params:e,route:{id:(i==null?void 0:i.id)??null},state:{},status:r,url:new URL(t),form:o??null,data:h?p:S.data}),c}async function Wt({loader:t,parent:e,url:n,params:a,route:r,server_data_node:s}){var p,h,_;let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await t();if((p=c.universal)!=null&&p.load){let g=function(...f){for(const u of f){const{href:m}=new URL(u,n);l.dependencies.add(m)}};const d={tracing:{enabled:!1,root:oe,current:oe},route:new Proxy(r,{get:(f,u)=>(o&&(l.route=!0),f[u])}),params:new Proxy(a,{get:(f,u)=>(o&&l.params.add(u),f[u])}),data:(s==null?void 0:s.data)??null,url:Ke(n,()=>{o&&(l.url=!0)},f=>{o&&l.search_params.add(f)},k.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f==null?void 0:f.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:m,promise:y}=Ie(f,u,n);return o&&g(m.href),y},setHeaders:()=>{},depends:g,parent(){return o&&(l.parent=!0),e()},untrack(f){o=!1;try{return f()}finally{o=!0}}};i=await c.universal.load.call(null,d)??null}return{node:c,loader:t,server:s,universal:(h=c.universal)!=null&&h.load?{type:"data",data:i,uses:l}:null,data:i??(s==null?void 0:s.data)??null,slash:((_=c.universal)==null?void 0:_.trailingSlash)??(s==null?void 0:s.slash)}}function Ie(t,e,n){let a=t instanceof Request?t.url:t;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const s=yt?Me(a,r.href,e):He(a,e);return{resolved:r,promise:s}}function mn(t,e,n,a,r,s){if(Mt)return!0;if(!r)return!1;if(r.parent&&t||r.route&&e||r.url&&n)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(s[i]!==w.params[i])return!0;for(const i of r.dependencies)if(wt.some(o=>o(new URL(i))))return!0;return!1}function Yt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function _n(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const a of n){const r=t.searchParams.getAll(a),s=e.searchParams.getAll(a);r.every(i=>s.includes(i))&&s.every(i=>r.includes(i))&&n.delete(a)}return n}function wn({error:t,url:e,route:n,params:a}){return{type:"loaded",state:{error:t,url:e,route:n,params:a,branch:[]},props:{page:Qt(S),constructors:[]}}}async function Oe({id:t,invalidating:e,url:n,params:a,route:r,preload:s}){if((b==null?void 0:b.id)===t)return bt.delete(b.token),b.promise;const{errors:i,layouts:o,leaf:l}=r,c=[...o,l];i.forEach(u=>u==null?void 0:u().catch(()=>{})),c.forEach(u=>u==null?void 0:u[1]().catch(()=>{}));const p=w.url?t!==Rt(w.url):!1,h=w.route?r.id!==w.route.id:!1,_=_n(w.url,n);let g=!1;const d=c.map(async(u,m)=>{var j;if(!u)return;const y=w.branch[m];return u[1]===(y==null?void 0:y.loader)&&!mn(g,h,p,_,(j=y.universal)==null?void 0:j.uses,a)?y:(g=!0,Wt({loader:u[1],url:n,params:a,route:r,parent:async()=>{var ht;const N={};for(let z=0;z<m;z+=1)Object.assign(N,(ht=await d[z])==null?void 0:ht.data);return N},server_data_node:Yt(u[0]?{type:"skip"}:null,u[0]?y==null?void 0:y.server:void 0)}))});for(const u of d)u.catch(()=>{});const f=[];for(let u=0;u<c.length;u+=1)if(c[u])try{f.push(await d[u])}catch(m){if(m instanceof zt)return{type:"redirect",location:m.location};if(bt.has(s))return wn({error:await nt(m,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let y=Ft(m),x;if(m instanceof qt)x=m.body;else{if(await C.updated.check())return await Re(),await tt(n);x=await nt(m,{params:a,url:n,route:{id:r.id}})}const j=await vn(u,f,i);return j?kt({url:n,params:a,branch:f.slice(0,j.idx).concat(j.node),errors:i,status:y,error:x,route:r}):await Ce(n,{id:r.id},x,y)}else f.push(void 0);return kt({url:n,params:a,branch:f,errors:i,status:200,error:null,route:r,form:e?void 0:null})}async function vn(t,e,n){for(;t--;)if(n[t]){let a=t;for(;!e[a];)a-=1;try{return{idx:a+1,node:{node:await n[t](),loader:n[t],data:{},server:null,universal:null}}}catch{continue}}}async function Jt({status:t,error:e,url:n,route:a}){const r={};let s=null;try{const i=await Wt({loader:jt,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:Yt(s)}),o={node:await _t(),loader:_t,universal:null,server:null,data:null};return kt({url:n,params:r,branch:[i,o],status:t,error:e,errors:[],route:null})}catch(i){if(i instanceof zt)return Pe(new URL(i.location,location.href),{},0);throw i}}async function yn(t){const e=t.href;if(pt.has(e))return pt.get(e);let n;try{const a=(async()=>{let r=await k.hooks.reroute({url:new URL(t),fetch:async(s,i)=>Ie(s,i,t).promise})??t;if(typeof r=="string"){const s=new URL(t);k.hash?s.hash=r:s.pathname=r,r=s}return r})();pt.set(e,a),n=await a}catch{pt.delete(e);return}return n}async function xt(t,e){if(t&&!St(t,U,k.hash)){const n=await yn(t);if(!n)return;const a=bn(n);for(const r of Ht){const s=r.exec(a);if(s)return{id:Rt(t),invalidating:e,route:r,params:Be(s),url:t}}}}function bn(t){return ze(k.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(U.length))||"/"}function Rt(t){return(k.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function je({url:t,type:e,intent:n,delta:a,event:r,scroll:s}){let i=!1;const o=Xt(w,n,t,e,s??null);a!==void 0&&(o.navigation.delta=a),r!==void 0&&(o.navigation.event=r);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return et||Ee.forEach(c=>c(l)),i?null:o}async function F({type:t,url:e,popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=ie,block:p=ie,event:h}){var z;const _=q;q=l;const g=await xt(e,!1),d=t==="enter"?Xt(w,g,e,t):je({url:e,type:t,delta:n==null?void 0:n.delta,intent:g,scroll:n==null?void 0:n.scroll,event:h});if(!d){p(),q===l&&(q=_);return}const f=R,u=L;c(),et=!0,yt&&d.navigation.type!=="enter"&&C.navigating.set(Q.current=d.navigation);let m=g&&await Oe(g);if(!m){if(St(e,U,k.hash))return await tt(e,s);m=await Ce(e,{id:null},await nt(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(g==null?void 0:g.url)||e,q!==l)return d.reject(new Error("navigation aborted")),!1;if(m.type==="redirect"){if(o<20){await F({type:t,url:new URL(m.location,e),popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),d.fulfil(void 0);return}m=await Jt({status:500,error:await nt(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else m.props.page.status>=400&&await C.updated.check()&&(await Re(),await tt(e,s));if(pn(),Gt(f),Ue(u),m.props.page.url.pathname!==e.pathname&&(e.pathname=m.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,G={[K]:R+=E,[X]:L+=E,[we]:i};(s?history.replaceState:history.pushState).call(history,G,"",e),s||dn(R,L)}const y=g&&(b==null?void 0:b.id)===g.id?b.fork:null;b=null,m.props.page.state=i;let x;if(yt){const E=(await Promise.all(Array.from(hn,H=>H(d.navigation)))).filter(H=>typeof H=="function");if(E.length>0){let H=function(){E.forEach(Ut=>{J.delete(Ut)})};E.push(H),E.forEach(Ut=>{J.add(Ut)})}const G=d.navigation.to;w={...m.state,nav:{params:G.params,route:G.route,url:G.url}},m.props.page&&(m.props.page.url=e);const Lt=y&&await y;Lt?x=Lt.commit():(M=null,Le.$set(m.props),M&&Object.assign(m.props.page,M),cn(m.props.page),x=(z=De)==null?void 0:z()),xe=!0}else await Te(m,Ct,!1);const{activeElement:j}=document;await x,await gt(),await gt();let N=null;if(se){const E=n?n.scroll:r?V():null;E?scrollTo(E.x,E.y):(N=e.hash&&document.getElementById($e(e)))?N.scrollIntoView():scrollTo(0,0)}const ht=document.activeElement!==j&&document.activeElement!==document.body;!a&&!ht&&Ln(e,!N),se=!0,m.props.page&&(M&&Object.assign(m.props.page,M),Object.assign(S,m.props.page)),et=!1,t==="popstate"&&Ae(L),d.fulfil(void 0),d.navigation.to&&(d.navigation.to.scroll=V()),J.forEach(E=>E(d.navigation)),C.navigating.set(Q.current=null)}async function Ce(t,e,n,a,r){return t.origin===Et&&t.pathname===location.pathname&&!Se?await Jt({status:a,error:n,url:t,route:e}):await tt(t,r)}function kn(){let t,e={element:void 0,href:void 0},n;O.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(t),t=setTimeout(()=>{s(l,D.hover)},20)});function a(o){o.defaultPrevented||s(o.composedPath()[0],D.tap)}O.addEventListener("mousedown",a),O.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(It(new URL(l.target.href)),r.unobserve(l.target))},{threshold:0});async function s(o,l){const c=ye(o,O),p=c===e.element&&(c==null?void 0:c.href)===e.href&&l>=n;if(!c||p)return;const{url:h,external:_,download:g}=Ot(c,U,k.hash);if(_||g)return;const d=mt(c),f=h&&Rt(w.url)===Rt(h);if(!(d.reload||f))if(l<=d.preload_data){e={element:c,href:c.href},n=D.tap;const u=await xt(h,!1);if(!u)return;gn(u)}else l<=d.preload_code&&(e={element:c,href:c.href},n=l,It(h))}function i(){r.disconnect();for(const o of O.querySelectorAll("a")){const{url:l,external:c,download:p}=Ot(o,U,k.hash);if(c||p)continue;const h=mt(o);h.reload||(h.preload_code===D.viewport&&r.observe(o),h.preload_code===D.eager&&It(l))}}J.add(i),i()}function nt(t,e){if(t instanceof qt)return t.body;const n=Ft(t),a=sn(t);return k.hooks.handleError({error:t,event:e,status:n,message:a})??{message:a}}function qn(t,e={}){return t=new URL(Kt(t)),t.origin!==Et?Promise.reject(new Error("goto: invalid URL")):Pe(t,e,0)}function Rn(t){if(typeof t=="function")wt.push(t);else{const{href:e}=new URL(t,location.href);wt.push(n=>n.href===e)}}function En(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let a=!1;if(ce(),!et){const r=Xt(w,void 0,null,"leave"),s={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ee.forEach(i=>i(s))}a?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||kn(),O.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const a=ye(n.composedPath()[0],O);if(!a)return;const{url:r,external:s,target:i,download:o}=Ot(a,U,k.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const l=mt(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[p,h]=(k.hash?r.hash.replace(/^#/,""):r.href).split("#"),_=p===At(location);if(s||l.reload&&(!_||!h)){je({url:r,type:"link",event:n})?et=!0:n.preventDefault();return}if(h!==void 0&&_){const[,g]=w.url.href.split("#");if(g===h){if(n.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=a.ownerDocument.getElementById(decodeURIComponent(h));d&&(d.scrollIntoView(),d.focus())}return}if(W=!0,Gt(R),t(r),!l.replace_state)return;W=!1}n.preventDefault(),await new Promise(g=>{requestAnimationFrame(()=>{setTimeout(g,0)}),setTimeout(g,100)}),await F({type:"link",url:r,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??r.href===location.href,event:n})}),O.addEventListener("submit",n=>{if(n.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(n.target),r=n.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((r==null?void 0:r.formMethod)||a.method)!=="get")return;const o=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(St(o,U,!1))return;const l=n.target,c=mt(l);if(c.reload)return;n.preventDefault(),n.stopPropagation();const p=new FormData(l,r);o.search=new URLSearchParams(p).toString(),F({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:n})}),addEventListener("popstate",async n=>{var a;if(!Nt){if((a=n.state)!=null&&a[K]){const r=n.state[K];if(q={},r===R)return;const s=$[r],i=n.state[we]??{},o=new URL(n.state[nn]??location.href),l=n.state[X],c=w.url?At(location)===At(w.url):!1;if(l===L&&(xe||c)){i!==S.state&&(S.state=i),t(o),$[R]=V(),s&&scrollTo(s.x,s.y),R=r;return}const h=r-R;await F({type:"popstate",url:o,popped:{state:i,scroll:s,delta:h},accept:()=>{R=r,L=l},block:()=>{history.go(-h)},nav_token:q,event:n})}else if(!W){const r=new URL(location.href);t(r),k.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[K]:++R,[X]:L},"",location.href))});for(const n of document.querySelectorAll("link"))un.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&C.navigating.set(Q.current=null)});function t(n){w.url=S.url=n,C.page.set(Qt(S)),C.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:a,params:r,route:s,server_route:i,data:o,form:l}){Se=!0;const c=new URL(location.href);let p;({params:r={},route:s={id:null}}=await xt(c,!1)||{}),p=Ht.find(({id:g})=>g===s.id);let h,_=!0;try{const g=a.map(async(f,u)=>{const m=o[u];return m!=null&&m.uses&&(m.uses=xn(m.uses)),Wt({loader:k.nodes[f],url:c,params:r,route:s,parent:async()=>{const y={};for(let x=0;x<u;x+=1)Object.assign(y,(await g[x]).data);return y},server_data_node:Yt(m)})}),d=await Promise.all(g);if(p){const f=p.layouts;for(let u=0;u<f.length;u++)f[u]||d.splice(u,0,void 0)}h=await kt({url:c,params:r,branch:d,status:e,error:n,errors:p==null?void 0:p.errors,form:l,route:p??null})}catch(g){if(g instanceof zt){await tt(new URL(g.location,location.href));return}h=await Jt({status:Ft(g),error:await nt(g,{url:c,params:r,route:s}),url:c,route:s}),t.textContent="",_=!1}h.props.page&&(h.props.page.state={}),await Te(h,t,_)}function xn(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}let Nt=!1;function Ln(t,e=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=$e(t);if(a&&document.getElementById(a)){const{x:s,y:i}=V();setTimeout(()=>{const o=history.state;Nt=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(o,"",t),e&&scrollTo(s,i),Nt=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const s=[];for(let i=0;i<r.rangeCount;i+=1)s.push(r.getRangeAt(i));setTimeout(()=>{if(r.rangeCount===s.length){for(let i=0;i<r.rangeCount;i+=1){const o=s[i],l=r.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}r.removeAllRanges()}})}}}function Xt(t,e,n,a,r=null){var c,p;let s,i;const o=new Promise((h,_)=>{s=h,i=_});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url,scroll:V()},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((p=e==null?void 0:e.route)==null?void 0:p.id)??null},url:n,scroll:r},willUnload:!e,type:a,complete:o},fulfil:s,reject:i}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Un(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function $e(t){let e;if(k.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Dn as a,qn as g,jn as l,S as p,C as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,a as i,a0 as c,b as f}from"./BbWUOQ_m.js";import{B as y}from"./Dt2CddFe.js";const b=Symbol("NaN");function m(r,e,n){t&&i();var o=new y(r),s=!c();f(()=>{var a=e();a!==a&&(a=b),s&&a!==null&&typeof a=="object"&&(a={}),o.ensure(a,n)})}export{m as k};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as _,a as s,f as g}from"./BK3WtZwv.js";import"./lk5LaiqA.js";import{at as d,aC as b,aD as h,f as v,au as $,a5 as k,i as n,z as y,az as B}from"./BbWUOQ_m.js";import{s as z,a as j}from"./DjNLq3TF.js";import{i as x}from"./Dt2CddFe.js";import{s as C}from"./B2Q1a1-H.js";import{i as D}from"./CVzlFH44.js";import{p as H}from"./C85CNwD2.js";var P=g('<a class="back-to-parent admin-toolbar-btn admin-toolbar-btn--secondary svelte-1md38m6" data-sveltekit-preload-data="hover" aria-label="返回上一层">返回</a>');function I(i,p){d(p,!1);const r=()=>j(H,"$page",f),[f,l]=z(),e=y();function m(t){const a=t.split("/").filter(Boolean);return a.length===0?null:a.length===1?a[0]==="admin"?null:a[0]==="plugins"||a[0]==="logs"?"/":null:(a.pop(),"/"+a.join("/"))}b(()=>r(),()=>{k(e,m(r().url.pathname))}),h(),D();var o=_(),c=v(o);{var u=t=>{var a=P();B(()=>C(a,"href",n(e))),s(t,a)};x(c,t=>{n(e)&&t(u)})}s(i,o),$(),l()}export{I as B};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{c as S,a as r,t as et,f as p}from"./BK3WtZwv.js";import"./lk5LaiqA.js";import{f as N,at as tt,b4 as ve,a4 as Oe,an as Ne,a5 as x,U as Me,i as e,au as st,aA as W,aw as P,av as s,ay as at,az as L,ax as t}from"./BbWUOQ_m.js";import{s as J}from"./B-OsL1Ct.js";import{l as K,s as Q,p as q}from"./xtNWTdbD.js";import{I as Y,P as rt,a as lt,b as it,c as ot,d as nt,D as vt}from"./mW5RwvnK.js";import{s as D}from"./DMWEh-Ek.js";import{i as U}from"./Dt2CddFe.js";import{e as je}from"./BQqoDzLx.js";import{c as X}from"./DFuhmi31.js";import{s as M}from"./B2Q1a1-H.js";import{a as ct}from"./CBY2biv-.js";import{w as Be}from"./D5GvRCv7.js";function Gt(f,a){const l=K(a,["children","$$slots","$$events","$$legacy"]);/**
|
|
2
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const i=[["path",{d:"M4 11a9 9 0 0 1 9 9"}],["path",{d:"M4 4a16 16 0 0 1 16 16"}],["circle",{cx:"5",cy:"19",r:"1"}]];Y(f,Q({name:"rss"},()=>l,{get iconNode(){return i},children:(m,T)=>{var n=S(),y=N(n);J(y,a,"default",{}),r(m,n)},$$slots:{default:!0}}))}function Vt(f,a){const l=K(a,["children","$$slots","$$events","$$legacy"]);/**
|
|
7
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const i=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"}]];Y(f,Q({name:"puzzle"},()=>l,{get iconNode(){return i},children:(m,T)=>{var n=S(),y=N(n);J(y,a,"default",{}),r(m,n)},$$slots:{default:!0}}))}function dt(f,a){const l=K(a,["children","$$slots","$$events","$$legacy"]);/**
|
|
12
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const i=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];Y(f,Q({name:"x"},()=>l,{get iconNode(){return i},children:(m,T)=>{var n=S(),y=N(n);J(y,a,"default",{}),r(m,n)},$$slots:{default:!0}}))}function qe(f,a){const l=K(a,["children","$$slots","$$events","$$legacy"]);/**
|
|
17
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const i=[["path",{d:"M15 3h6v6"}],["path",{d:"M10 14 21 3"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}]];Y(f,Q({name:"external-link"},()=>l,{get iconNode(){return i},children:(m,T)=>{var n=S(),y=N(n);J(y,a,"default",{}),r(m,n)},$$slots:{default:!0}}))}function ut(f,a){const l=K(a,["children","$$slots","$$events","$$legacy"]);/**
|
|
22
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/const i=[["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"}]];Y(f,Q({name:"refresh-cw"},()=>l,{get iconNode(){return i},children:(m,T)=>{var n=S(),y=N(n);J(y,a,"default",{}),r(m,n)},$$slots:{default:!0}}))}function Ue(f,a){const l=K(a,["children","$$slots","$$events","$$legacy"]);/**
|
|
27
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/const i=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["path",{d:"M2 12h20"}]];Y(f,Q({name:"globe"},()=>l,{get iconNode(){return i},children:(m,T)=>{var n=S(),y=N(n);J(y,a,"default",{}),r(m,n)},$$slots:{default:!0}}))}const ke=Be({});function Wt(f,a){ke.update(l=>({...l,[f]:a}))}function Xt(f){ke.update(a=>{const l={...a};return delete l[f],l})}var ht=p('<span class="source-sheet-proxy svelte-ypseth" aria-label="已配置代理"><!></span>'),pt=p('<div class="source-sheet-state svelte-ypseth">加载中…</div>'),ft=p('<div class="source-sheet-state err svelte-ypseth"> </div>'),_t=p('<div class="source-sheet-state svelte-ypseth">暂无条目</div>'),mt=p('<li class="source-feed-row svelte-ypseth"><a class="source-feed-link svelte-ypseth" target="_blank" rel="noopener noreferrer"><span class="source-feed-title svelte-ypseth"> </span> <span class="source-feed-meta svelte-ypseth"><time> </time> <span class="source-feed-ext svelte-ypseth" aria-hidden="true"><!></span></span></a></li>'),yt=p('<ul class="source-feed-list svelte-ypseth"></ul>'),gt=p('<header class="source-sheet-header svelte-ypseth"><div class="source-sheet-title-wrap svelte-ypseth"><div class="source-sheet-title-row svelte-ypseth"><div class="source-sheet-title-cluster svelte-ypseth"><!> <!></div></div> <p class="source-sheet-sub source-sheet-sub-desc svelte-ypseth"> </p></div> <!></header> <div class="source-sheet-body svelte-ypseth"><!></div>',1),$t=p("<!> <!>",1),bt=p('<span class="source-sheet-proxy svelte-ypseth" aria-label="已配置代理"><!></span>'),xt=p('<div class="source-sheet-pull-status svelte-ypseth" title="拉取中…" aria-live="polite"><!></div>'),Pt=p('<div class="source-sheet-state svelte-ypseth">加载中…</div>'),zt=p('<div class="source-sheet-state err svelte-ypseth"> </div>'),Nt=p('<div class="source-sheet-state svelte-ypseth">暂无条目</div>'),Mt=p('<li class="source-feed-row svelte-ypseth"><a class="source-feed-link svelte-ypseth" target="_blank" rel="noopener noreferrer"><span class="source-feed-title svelte-ypseth"> </span> <span class="source-feed-meta svelte-ypseth"><time> </time> <span class="source-feed-ext svelte-ypseth" aria-hidden="true"><!></span></span></a></li>'),kt=p('<ul class="source-feed-list svelte-ypseth"></ul>'),Dt=p('<header class="source-sheet-header source-sheet-header-inline svelte-ypseth"><div class="source-sheet-title-wrap svelte-ypseth"><div class="source-sheet-title-row svelte-ypseth"><div class="source-sheet-title-cluster svelte-ypseth"><h2 class="source-sheet-title svelte-ypseth"> </h2> <!></div></div> <p class="source-sheet-sub source-sheet-sub-desc svelte-ypseth"> </p></div> <!></header> <div class="source-sheet-body svelte-ypseth"><!></div>',1),Lt=p('<div class="source-sheet-inline-empty svelte-ypseth"><p class="source-sheet-inline-empty-title svelte-ypseth">信源条目</p> <p class="source-sheet-inline-empty-hint svelte-ypseth">在左侧列表中点击某一信源,在此查看已拉取的条目。</p></div>'),St=p('<aside class="source-feed-panel-inline svelte-ypseth" aria-label="信源条目列表"><!></aside>');function Jt(f,a){tt(a,!0);let l=q(a,"open",3,!1),i=q(a,"sourceRef",3,""),m=q(a,"sourceLabel",3,""),T=q(a,"sourceDescription",3,""),n=q(a,"sourceProxy",3,""),y=q(a,"variant",3,"overlay"),Ge=q(a,"onOpenChange",3,()=>{}),k=ve(Oe([])),Z=ve(!1),A=ve(""),R=ve(0),De=ve(Oe({}));Ne(()=>{const u=ke.subscribe(g=>{x(De,g,!0)});return()=>u()});async function Le(){const u=i().trim();if(!u){x(k,[],!0);return}x(R,e(R)+1);const g=e(R);x(Z,!0),x(A,"");try{const z=new URLSearchParams;z.set("ref",u),z.set("limit","100"),z.set("offset","0");const E=await ct("/api/items?"+z.toString());if(g!==e(R))return;if(!E.ok)throw new Error(await E.text().catch(()=>`HTTP ${E.status}`));const B=await E.json();x(k,Array.isArray(B.items)?B.items:[],!0)}catch(z){if(g!==e(R))return;x(A,z instanceof Error?z.message:String(z),!0),x(k,[],!0)}finally{g===e(R)&&x(Z,!1)}}Ne(()=>{l()&&i().trim()?Me(()=>void Le()):l()||Me(()=>{x(R,e(R)+1),x(k,[],!0),x(A,""),x(Z,!1)})});function Ve(u){if(!u)return"—";try{const g=new Date(u);return Number.isNaN(g.getTime())?"—":g.toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}catch{return"—"}}function Se(u){return Ve(u.pub_date||u.fetched_at)}const Te=W(()=>T().trim()?T().trim():"—"),Re=W(()=>[m(),i()].filter(Boolean).join(" · ")||void 0),Ee=W(()=>y()==="inline"&&l()&&i().trim()!==""&&i()in e(De));let Ie=!1;Ne(()=>{const u=e(Ee);Ie&&!u&&l()&&y()==="inline"&&i().trim()&&Me(()=>void Le()),Ie=u});var Ae=S(),We=N(Ae);{var Xe=u=>{var g=S(),z=N(g);X(z,()=>vt,(E,B)=>{B(E,{get open(){return l()},onOpenChange:w=>Ge()(w),children:(w,C)=>{var F=S(),ee=N(F);X(ee,()=>rt,(te,se)=>{se(te,{children:(ce,ae)=>{var de=$t(),ue=N(de);X(ue,()=>lt,(re,H)=>{H(re,{class:"source-sheet-overlay"})});var ge=P(ue,2);X(ge,()=>it,(re,H)=>{H(re,{class:"source-sheet-panel","aria-describedby":void 0,children:($e,Ce)=>{var he=gt(),G=N(he),le=s(G),ie=s(le),pe=s(ie),fe=s(pe);X(fe,()=>ot,(o,d)=>{d(o,{class:"source-sheet-title",get title(){return e(Re)},children:(h,_)=>{at();var I=et();L(()=>D(I,m()||i()||"信源条目")),r(h,I)},$$slots:{default:!0}})});var be=P(fe,2);{var v=o=>{var d=ht(),h=s(d);Ue(h,{size:16,class:"source-sheet-proxy-globe","aria-hidden":"true"}),t(d),L(_=>M(d,"title",`代理:${_??""}`),[()=>n().trim()]),r(o,d)},c=W(()=>n().trim());U(be,o=>{e(c)&&o(v)})}t(pe),t(ie);var b=P(ie,2),$=s(b,!0);t(b),t(le);var oe=P(le,2);X(oe,()=>nt,(o,d)=>{d(o,{class:"source-sheet-close","aria-label":"关闭",children:(h,_)=>{dt(h,{size:18})},$$slots:{default:!0}})}),t(G);var O=P(G,2),ne=s(O);{var xe=o=>{var d=pt();r(o,d)},_e=o=>{var d=ft(),h=s(d,!0);t(d),L(()=>D(h,e(A))),r(o,d)},V=o=>{var d=_t();r(o,d)},Pe=o=>{var d=yt();je(d,21,()=>e(k),h=>h.id,(h,_)=>{var I=mt(),me=s(I),ze=s(me),Ke=s(ze,!0);t(ze);var Fe=P(ze,2),ye=s(Fe),Qe=s(ye,!0);t(ye);var He=P(ye,2),Ye=s(He);qe(Ye,{size:12}),t(He),t(Fe),t(me),t(I),L((j,Ze,we)=>{M(me,"href",e(_).url),M(me,"title",j),D(Ke,Ze),M(ye,"datetime",e(_).pub_date||e(_).fetched_at),D(Qe,we)},[()=>{var j;return((j=e(_).summary)==null?void 0:j.trim())||e(_).title||e(_).url},()=>{var j;return(j=e(_).title)!=null&&j.trim()?e(_).title:e(_).url},()=>Se(e(_))]),r(h,I)}),t(d),r(o,d)};U(ne,o=>{e(Z)&&e(k).length===0?o(xe):e(A)?o(_e,1):e(k).length===0?o(V,2):o(Pe,-1)})}t(O),L(()=>{M(b,"title",i()),D($,e(Te))}),r($e,he)},$$slots:{default:!0}})}),r(ce,de)},$$slots:{default:!0}})}),r(w,F)},$$slots:{default:!0}})}),r(u,g)},Je=u=>{var g=St(),z=s(g);{var E=C=>{var F=Dt(),ee=N(F),te=s(ee),se=s(te),ce=s(se),ae=s(ce),de=s(ae,!0);t(ae);var ue=P(ae,2);{var ge=v=>{var c=bt(),b=s(c);Ue(b,{size:16,class:"source-sheet-proxy-globe","aria-hidden":"true"}),t(c),L($=>M(c,"title",`代理:${$??""}`),[()=>n().trim()]),r(v,c)},re=W(()=>n().trim());U(ue,v=>{e(re)&&v(ge)})}t(ce),t(se);var H=P(se,2),$e=s(H,!0);t(H),t(te);var Ce=P(te,2);{var he=v=>{var c=xt(),b=s(c);ut(b,{size:18}),t(c),r(v,c)};U(Ce,v=>{e(Ee)&&v(he)})}t(ee);var G=P(ee,2),le=s(G);{var ie=v=>{var c=Pt();r(v,c)},pe=v=>{var c=zt(),b=s(c,!0);t(c),L(()=>D(b,e(A))),r(v,c)},fe=v=>{var c=Nt();r(v,c)},be=v=>{var c=kt();je(c,21,()=>e(k),b=>b.id,(b,$)=>{var oe=Mt(),O=s(oe),ne=s(O),xe=s(ne,!0);t(ne);var _e=P(ne,2),V=s(_e),Pe=s(V,!0);t(V);var o=P(V,2),d=s(o);qe(d,{size:12}),t(o),t(_e),t(O),t(oe),L((h,_,I)=>{M(O,"href",e($).url),M(O,"title",h),D(xe,_),M(V,"datetime",e($).pub_date||e($).fetched_at),D(Pe,I)},[()=>{var h;return((h=e($).summary)==null?void 0:h.trim())||e($).title||e($).url},()=>{var h;return(h=e($).title)!=null&&h.trim()?e($).title:e($).url},()=>Se(e($))]),r(b,oe)}),t(c),r(v,c)};U(le,v=>{e(Z)&&e(k).length===0?v(ie):e(A)?v(pe,1):e(k).length===0?v(fe,2):v(be,-1)})}t(G),L(()=>{M(ae,"title",e(Re)),D(de,m()||i()||"信源条目"),M(H,"title",i()),D($e,e(Te))}),r(C,F)},B=W(()=>l()&&i().trim()),w=C=>{var F=Lt();r(C,F)};U(z,C=>{e(B)?C(E):C(w,-1)})}t(g),r(u,g)};U(We,u=>{y()==="overlay"?u(Xe):u(Je,-1)})}r(f,Ae),st()}const Kt=Be(null);export{qe as E,Vt as P,Gt as R,Jt as S,ut as a,Xt as c,Kt as h,ke as r,Wt as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aj as o,U as a,aE as d}from"./BbWUOQ_m.js";function p(s,u,e){if(s==null)return u(void 0),o;const t=a(()=>s.subscribe(u,e));return t.unsubscribe?()=>t.unsubscribe():t}const i=[];function _(s,u=o){let e=null;const t=new Set;function c(r){if(d(s,r)&&(s=r,e)){const b=!i.length;for(const n of t)n[1](),i.push(n,s);if(b){for(let n=0;n<i.length;n+=2)i[n][0](i[n+1]);i.length=0}}}function f(r){c(r(s))}function l(r,b=o){const n=[r,b];return t.add(n),t.size===1&&(e=u(c,f)||o),r(s),()=>{t.delete(n),t.size===0&&e&&(e(),e=null)}}return{set:c,update:f,subscribe:l}}function h(s){let u;return p(s,e=>u=e)(),u}export{h as g,p as s,_ as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as y,b as u,ak as _,al as g,h as t,C as o,P as l,e as i,c as n,g as p,N as m}from"./BbWUOQ_m.js";function C(d,r){let a=null,E=t;var s;if(t){a=p;for(var e=m(document.head);e!==null&&(e.nodeType!==o||e.data!==d);)e=l(e);if(e===null)i(!1);else{var f=l(e);e.remove(),n(f)}}t||(s=document.head.appendChild(y()));try{u(()=>r(s),_|g)}finally{E&&(i(!0),n(a))}}export{C as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o,a as v,b as y,E as f,r as l,s as m,c as p,e as i,H as T,g}from"./BbWUOQ_m.js";import{B as A}from"./Dt2CddFe.js";function b(d,_,e){var s;o&&(s=g,v());var r=new A(d);y(()=>{var a=_()??null;if(o){var h=l(s),c=h===T,u=a!==null;if(c!==u){var t=m();p(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},f)}export{b as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var Le=Object.defineProperty;var he=t=>{throw TypeError(t)};var Me=(t,e,r)=>e in t?Le(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var q=(t,e,r)=>Me(t,typeof e!="symbol"?e+"":e,r),re=(t,e,r)=>e.has(t)||he("Cannot "+r);var s=(t,e,r)=>(re(t,e,"read from private field"),r?r.call(t):e.get(t)),c=(t,e,r)=>e.has(t)?he("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),a=(t,e,r,i)=>(re(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r),p=(t,e,r)=>(re(t,e,"access private method"),r);import{aM as Fe,i as be,V as Ie,U as Ve,aN as de,O as H,A as Ee,g as F,h as O,Y as W,aO as _e,b as Ce,a as Pe,j as We,aP as pe,p as M,n as me,G as se,m as ge,L as xe,aQ as Ye,a8 as K,aR as Q,aS as ve,aT as He,aU as Be,aV as we,W as Te,l as je,M as ie,c as Z,ay as $e,s as qe,aW as U,E as Ue,al as ze,aX as Ge,aY as Xe,ah as Je,aZ as Ke,ai as Qe,a_ as ne,N as Ze,C as Se,H as et,P as tt,a$ as ae,e as z,b0 as rt,K as st,b1 as it,w as nt,at,k as ot,b2 as ft,au as ut}from"./BbWUOQ_m.js";import{b as lt}from"./BK3WtZwv.js";function ct(t){let e=0,r=Ee(0),i;return()=>{Fe()&&(be(r),Ie(()=>(e===0&&(i=Ve(()=>t(()=>de(r)))),e+=1,()=>{H(()=>{e-=1,e===0&&(i==null||i(),i=void 0,de(r))})})))}}var ht=Ue|ze;function dt(t,e,r,i){new _t(t,e,r,i)}var E,B,T,V,g,S,m,w,A,C,k,x,j,$,N,ee,u,Ae,Ne,Re,oe,X,J,fe;class _t{constructor(e,r,i,o){c(this,u);q(this,"parent");q(this,"is_pending",!1);q(this,"transform_error");c(this,E);c(this,B,O?F:null);c(this,T);c(this,V);c(this,g);c(this,S,null);c(this,m,null);c(this,w,null);c(this,A,null);c(this,C,0);c(this,k,0);c(this,x,!1);c(this,j,new Set);c(this,$,new Set);c(this,N,null);c(this,ee,ct(()=>(a(this,N,Ee(s(this,C))),()=>{a(this,N,null)})));var n;a(this,E,e),a(this,T,r),a(this,V,f=>{var d=W;d.b=this,d.f|=_e,i(f)}),this.parent=W.b,this.transform_error=o??((n=this.parent)==null?void 0:n.transform_error)??(f=>f),a(this,g,Ce(()=>{if(O){const f=s(this,B);Pe();const d=f.data===We;if(f.data.startsWith(pe)){const h=JSON.parse(f.data.slice(pe.length));p(this,u,Ne).call(this,h)}else d?p(this,u,Re).call(this):p(this,u,Ae).call(this)}else p(this,u,oe).call(this)},ht)),O&&a(this,E,F)}defer_effect(e){Ye(e,s(this,j),s(this,$))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!s(this,T).pending}update_pending_count(e,r){p(this,u,fe).call(this,e,r),a(this,C,s(this,C)+e),!(!s(this,N)||s(this,x))&&(a(this,x,!0),H(()=>{a(this,x,!1),s(this,N)&&je(s(this,N),s(this,C))}))}get_effect_pending(){return s(this,ee).call(this),be(s(this,N))}error(e){var r=s(this,T).onerror;let i=s(this,T).failed;if(!r&&!i)throw e;s(this,S)&&(ie(s(this,S)),a(this,S,null)),s(this,m)&&(ie(s(this,m)),a(this,m,null)),s(this,w)&&(ie(s(this,w)),a(this,w,null)),O&&(Z(s(this,B)),$e(),Z(qe()));var o=!1,n=!1;const f=()=>{if(o){Xe();return}o=!0,n&&Ge(),s(this,w)!==null&&se(s(this,w),()=>{a(this,w,null)}),p(this,u,J).call(this,()=>{p(this,u,oe).call(this)})},d=l=>{try{n=!0,r==null||r(l,f),n=!1}catch(h){U(h,s(this,g)&&s(this,g).parent)}i&&a(this,w,p(this,u,J).call(this,()=>{try{return M(()=>{var h=W;h.b=this,h.f|=_e,i(s(this,E),()=>l,()=>f)})}catch(h){return U(h,s(this,g).parent),null}}))};H(()=>{var l;try{l=this.transform_error(e)}catch(h){U(h,s(this,g)&&s(this,g).parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(d,h=>U(h,s(this,g)&&s(this,g).parent)):d(l)})}}E=new WeakMap,B=new WeakMap,T=new WeakMap,V=new WeakMap,g=new WeakMap,S=new WeakMap,m=new WeakMap,w=new WeakMap,A=new WeakMap,C=new WeakMap,k=new WeakMap,x=new WeakMap,j=new WeakMap,$=new WeakMap,N=new WeakMap,ee=new WeakMap,u=new WeakSet,Ae=function(){try{a(this,S,M(()=>s(this,V).call(this,s(this,E))))}catch(e){this.error(e)}},Ne=function(e){const r=s(this,T).failed;r&&a(this,w,M(()=>{r(s(this,E),()=>e,()=>()=>{})}))},Re=function(){const e=s(this,T).pending;e&&(this.is_pending=!0,a(this,m,M(()=>e(s(this,E)))),H(()=>{var r=a(this,A,document.createDocumentFragment()),i=me();r.append(i),a(this,S,p(this,u,J).call(this,()=>M(()=>s(this,V).call(this,i)))),s(this,k)===0&&(s(this,E).before(r),a(this,A,null),se(s(this,m),()=>{a(this,m,null)}),p(this,u,X).call(this,ge))}))},oe=function(){try{if(this.is_pending=this.has_pending_snippet(),a(this,k,0),a(this,C,0),a(this,S,M(()=>{s(this,V).call(this,s(this,E))})),s(this,k)>0){var e=a(this,A,document.createDocumentFragment());xe(s(this,S),e);const r=s(this,T).pending;a(this,m,M(()=>r(s(this,E))))}else p(this,u,X).call(this,ge)}catch(r){this.error(r)}},X=function(e){this.is_pending=!1,e.transfer_effects(s(this,j),s(this,$))},J=function(e){var r=W,i=we,o=Te;K(s(this,g)),Q(s(this,g)),ve(s(this,g).ctx);try{return He.ensure(),e()}catch(n){return Be(n),null}finally{K(r),Q(i),ve(o)}},fe=function(e,r){var i;if(!this.has_pending_snippet()){this.parent&&p(i=this.parent,u,fe).call(i,e,r);return}a(this,k,s(this,k)+e),s(this,k)===0&&(p(this,u,X).call(this,r),s(this,m)&&se(s(this,m),()=>{a(this,m,null)}),s(this,A)&&(s(this,E).before(s(this,A)),a(this,A,null)))};function St(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const pt=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function At(t){return pt.includes(t)}const gt={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Nt(t){return t=t.toLowerCase(),gt[t]??t}const vt=["touchstart","touchmove"];function yt(t){return vt.includes(t)}const bt=["textarea","script","style","title"];function Rt(t){return bt.includes(t)}const I=Symbol("events"),ke=new Set,ue=new Set;function kt(t){if(!O)return;t.removeAttribute("onload"),t.removeAttribute("onerror");const e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function Oe(t,e,r,i={}){function o(n){if(i.capture||le.call(e,n),!n.cancelBubble)return Ke(()=>r==null?void 0:r.call(this,n))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?H(()=>{e.addEventListener(t,o,i)}):e.addEventListener(t,o,i),o}function Ot(t,e,r,i={}){var o=Oe(e,t,r,i);return()=>{t.removeEventListener(e,o,i)}}function Dt(t,e,r,i,o){var n={capture:i,passive:o},f=Oe(t,e,r,n);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Je(()=>{e.removeEventListener(t,f,n)})}function Lt(t,e,r){(e[I]??(e[I]={}))[t]=r}function Mt(t){for(var e=0;e<t.length;e++)ke.add(t[e]);for(var r of ue)r(t)}let ye=null;function le(t){var D,b;var e=this,r=e.ownerDocument,i=t.type,o=((D=t.composedPath)==null?void 0:D.call(t))||[],n=o[0]||t.target;ye=t;var f=0,d=ye===t&&t[I];if(d){var l=o.indexOf(d);if(l!==-1&&(e===document||e===window)){t[I]=e;return}var h=o.indexOf(e);if(h===-1)return;l<=h&&(f=l)}if(n=o[f]||t.target,n!==e){Qe(t,"currentTarget",{configurable:!0,get(){return n||r}});var P=we,Y=W;Q(null),K(null);try{for(var R,v=[];n!==null;){var _=n.assignedSlot||n.parentNode||n.host||null;try{var y=(b=n[I])==null?void 0:b[i];y!=null&&(!n.disabled||t.target===n)&&y.call(n,t)}catch(L){R?v.push(L):R=L}if(t.cancelBubble||_===e||_===null)break;n=_}if(R){for(let L of v)queueMicrotask(()=>{throw L});throw R}}finally{t[I]=e,delete t.currentTarget,Q(P),K(Y)}}}function Ft(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=`${r}`)}function Et(t,e){return De(t,e)}function It(t,e){ne(),e.intro=e.intro??!1;const r=e.target,i=O,o=F;try{for(var n=Ze(r);n&&(n.nodeType!==Se||n.data!==et);)n=tt(n);if(!n)throw ae;z(!0),Z(n);const f=De(t,{...e,anchor:n});return z(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
+
`).some(d=>d.startsWith("https://svelte.dev/e/")))throw f;return f!==ae&&console.warn("Failed to hydrate: ",f),e.recover===!1&&rt(),ne(),st(r),z(!1),Et(t,e)}finally{z(i),Z(o)}}const G=new Map;function De(t,{target:e,anchor:r,props:i={},events:o,context:n,intro:f=!0,transformError:d}){ne();var l=void 0,h=it(()=>{var P=r??e.appendChild(me());dt(P,{pending:()=>{}},v=>{at({});var _=Te;if(n&&(_.c=n),o&&(i.$$events=o),O&<(v,null),l=t(v,i)||{},O&&(W.nodes.end=F,F===null||F.nodeType!==Se||F.data!==ot))throw ft(),ae;ut()},d);var Y=new Set,R=v=>{for(var _=0;_<v.length;_++){var y=v[_];if(!Y.has(y)){Y.add(y);var D=yt(y);for(const te of[e,document]){var b=G.get(te);b===void 0&&(b=new Map,G.set(te,b));var L=b.get(y);L===void 0?(te.addEventListener(y,le,{passive:D}),b.set(y,1)):b.set(y,L+1)}}}};return R(nt(ke)),ue.add(R),()=>{var D;for(var v of Y)for(const b of[e,document]){var _=G.get(b),y=_.get(v);--y==0?(b.removeEventListener(v,le),_.delete(v),_.size===0&&G.delete(b)):_.set(v,y)}ue.delete(R),P!==r&&((D=P.parentNode)==null||D.removeChild(P))}});return ce.set(l,h),l}let ce=new WeakMap;function Vt(t,e){const r=ce.get(t);return r?(ce.delete(t),r(e)):Promise.resolve()}export{Lt as a,At as b,Oe as c,Mt as d,Dt as e,ct as f,Rt as g,It as h,St as i,Et as m,Nt as n,Ot as o,kt as r,Ft as s,Vt as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as c,g as l}from"./D5GvRCv7.js";import{ah as o,ai as b,aj as f,z as p,i as d,a5 as _}from"./BbWUOQ_m.js";let i=!1,s=Symbol();function y(e,n,r){const u=r[n]??(r[n]={store:null,source:p(void 0),unsubscribe:f});if(u.store!==e&&!(s in r))if(u.unsubscribe(),u.store=e??null,e==null)u.source.v=void 0,u.unsubscribe=f;else{var t=!0;u.unsubscribe=c(e,a=>{t?u.source.v=a:_(u.source,a)}),t=!1}return e&&s in r?l(e):d(u.source)}function m(){const e={};function n(){o(()=>{for(var r in e)e[r].unsubscribe();b(e,s,{enumerable:!1,value:!0})})}return[e,n]}function N(e){var n=i;try{return i=!1,[e(),i]}finally{i=n}}export{y as a,N as c,m as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var C=Object.defineProperty;var w=a=>{throw TypeError(a)};var D=(a,e,s)=>e in a?C(a,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[e]=s;var F=(a,e,s)=>D(a,typeof e!="symbol"?e+"":e,s),M=(a,e,s)=>e.has(a)||w("Cannot "+s);var t=(a,e,s)=>(M(a,e,"read from private field"),s?s.call(a):e.get(a)),u=(a,e,s)=>e.has(a)?w("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,s),A=(a,e,s,i)=>(M(a,e,"write to private field"),i?i.call(a,s):e.set(a,s),s);import{F as N,M as g,G as R,n as E,p as x,m as S,h as k,g as B,L as G,t as I,b as L,a as P,E as j,r as q,s as z,c as H,e as T}from"./BbWUOQ_m.js";var d,l,c,p,m,v,b;class J{constructor(e,s=!0){F(this,"anchor");u(this,d,new Map);u(this,l,new Map);u(this,c,new Map);u(this,p,new Set);u(this,m,!0);u(this,v,e=>{if(t(this,d).has(e)){var s=t(this,d).get(e),i=t(this,l).get(s);if(i)N(i),t(this,p).delete(s);else{var f=t(this,c).get(s);f&&(t(this,l).set(s,f.effect),t(this,c).delete(s),f.fragment.lastChild.remove(),this.anchor.before(f.fragment),i=f.effect)}for(const[n,h]of t(this,d)){if(t(this,d).delete(n),n===e)break;const r=t(this,c).get(h);r&&(g(r.effect),t(this,c).delete(h))}for(const[n,h]of t(this,l)){if(n===s||t(this,p).has(n))continue;const r=()=>{if(Array.from(t(this,d).values()).includes(n)){var _=document.createDocumentFragment();G(h,_),_.append(E()),t(this,c).set(n,{effect:h,fragment:_})}else g(h);t(this,p).delete(n),t(this,l).delete(n)};t(this,m)||!i?(t(this,p).add(n),R(h,r,!1)):r()}}});u(this,b,e=>{t(this,d).delete(e);const s=Array.from(t(this,d).values());for(const[i,f]of t(this,c))s.includes(i)||(g(f.effect),t(this,c).delete(i))});this.anchor=e,A(this,m,s)}ensure(e,s){var i=S,f=I();if(s&&!t(this,l).has(e)&&!t(this,c).has(e))if(f){var n=document.createDocumentFragment(),h=E();n.append(h),t(this,c).set(e,{effect:x(()=>s(h)),fragment:n})}else t(this,l).set(e,x(()=>s(this.anchor)));if(t(this,d).set(i,e),f){for(const[r,o]of t(this,l))r===e?i.unskip_effect(o):i.skip_effect(o);for(const[r,o]of t(this,c))r===e?i.unskip_effect(o.effect):i.skip_effect(o.effect);i.oncommit(t(this,v)),i.ondiscard(t(this,b))}else k&&(this.anchor=B),t(this,v).call(this,i)}}d=new WeakMap,l=new WeakMap,c=new WeakMap,p=new WeakMap,m=new WeakMap,v=new WeakMap,b=new WeakMap;function Q(a,e,s=!1){var i;k&&(i=B,P());var f=new J(a),n=s?j:0;function h(r,o){if(k){var _=q(i);if(r!==parseInt(_.substring(1))){var y=z();H(y),f.anchor=y,T(!1),f.ensure(r,o),T(!0);return}}f.ensure(r,o)}L(()=>{var r=!1;e((o,_=0)=>{r=!0,h(_,o)}),r||h(-1,null)},n)}export{J as B,Q as i};
|