studiograph 1.3.32 → 1.3.34
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/dist/server/routes/sync-api.js +1 -4
- package/dist/server/routes/sync-api.js.map +1 -1
- package/dist/web/_app/immutable/assets/{2.CTYRPjeo.css → 2.BL8L3Xp5.css} +1 -1
- package/dist/web/_app/immutable/assets/{4.BG3bIPWj.css → 4.C3fKtWtl.css} +1 -1
- package/dist/web/_app/immutable/chunks/B6Yb07I4.js +1 -0
- package/dist/web/_app/immutable/chunks/{DIOiy7V7.js → BQY1BtcH.js} +1 -1
- package/dist/web/_app/immutable/chunks/{1waX7Ek3.js → BinyutNI.js} +1 -1
- package/dist/web/_app/immutable/chunks/{CaM8KSJp.js → CTy1ckCY.js} +1 -1
- package/dist/web/_app/immutable/chunks/CVWwAMr5.js +1 -0
- package/dist/web/_app/immutable/chunks/{mVhMC14V.js → DHol2fKe.js} +1 -1
- package/dist/web/_app/immutable/chunks/{CkW_Zl8t.js → RIuTJIdb.js} +1 -1
- package/dist/web/_app/immutable/entry/{app.CrBH-KrF.js → app.CVsS4-vw.js} +2 -2
- package/dist/web/_app/immutable/entry/start.0DydZ_UT.js +1 -0
- package/dist/web/_app/immutable/nodes/{0.RVf3u_ED.js → 0.CVTTQ18x.js} +1 -1
- package/dist/web/_app/immutable/nodes/{1.CoI2u-ND.js → 1.DPdvcDgs.js} +1 -1
- package/dist/web/_app/immutable/nodes/{2.c_O7niQ4.js → 2.BYnM4aGx.js} +16 -16
- package/dist/web/_app/immutable/nodes/{3.C80YP2Th.js → 3.jZmoY1Ap.js} +1 -1
- package/dist/web/_app/immutable/nodes/4.DxDv8aL9.js +11 -0
- package/dist/web/_app/immutable/nodes/{5.BCCUNj6b.js → 5.BXtTzxIb.js} +1 -1
- package/dist/web/_app/immutable/nodes/{6.BH_29JZ0.js → 6.ovJtPjco.js} +1 -1
- package/dist/web/_app/immutable/nodes/{7.2_OQmDvy.js → 7.BZQ3R7hq.js} +1 -1
- package/dist/web/_app/immutable/nodes/{8.DkfDsBne.js → 8.DAazVdZB.js} +1 -1
- package/dist/web/_app/immutable/nodes/{9.HLQkDvFK.js → 9.CkAQmbS8.js} +1 -1
- package/dist/web/_app/version.json +1 -1
- package/dist/web/index.html +7 -7
- package/package.json +1 -1
- package/dist/web/_app/immutable/chunks/CQZli8dg.js +0 -1
- package/dist/web/_app/immutable/chunks/ClC25_Sr.js +0 -1
- package/dist/web/_app/immutable/entry/start.Bkq1zCrf.js +0 -1
- package/dist/web/_app/immutable/nodes/4.B4hnpt-2.js +0 -11
|
@@ -139,12 +139,9 @@ export async function registerSyncApiRoutes(fastify, workspaceManager, authServi
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
|
-
// POST /api/repos/:repo/import — import files as entities (
|
|
142
|
+
// POST /api/repos/:repo/import — import files as entities (any authenticated user)
|
|
143
143
|
fastify.post('/api/repos/:repo/import', async (req, reply) => {
|
|
144
144
|
const { repo } = req.params;
|
|
145
|
-
if (!isAdmin(req)) {
|
|
146
|
-
return reply.status(403).send({ error: 'Admin access required' });
|
|
147
|
-
}
|
|
148
145
|
if (!hasRepoAccess(req, repo, workspaceManager, authService)) {
|
|
149
146
|
return reply.status(403).send({ error: 'Access denied' });
|
|
150
147
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-api.js","sourceRoot":"","sources":["../../../src/server/routes/sync-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAwB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,SAAS,CAAC,aAAa,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAC9C,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;gBACrC,aAAa,CAAC,IAAI,CAAC,aAAa,EAAE,GAAI,IAAY,CAAC,IAAI,OAAO,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;YAC3G,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,eAAe,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACvF,CAAC;QAED,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.entity-body{padding:16px 24px 24px;display:flex;flex-direction:column;gap:20px}.type-section.svelte-ak7t5k{display:flex;flex-direction:column;gap:8px}.type-section-label.svelte-ak7t5k{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-tertiary)}.type-grid.svelte-ak7t5k{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.type-grid.svelte-ak7t5k .type-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:12px;height:auto;border-radius:8px;text-align:left;color:var(--color-text-secondary);justify-content:flex-start}.type-grid.svelte-ak7t5k .type-card:hover{background:var(--color-bg-hover);border-color:var(--color-border-strong)}.type-grid.svelte-ak7t5k .type-card:hover .type-name{color:var(--color-text-primary)}.type-dot.svelte-ak7t5k{width:8px;height:8px;border-radius:50%}.type-info.svelte-ak7t5k{display:flex;flex-direction:column;gap:2px}.type-name.svelte-ak7t5k{font-size:14px;font-weight:500;color:var(--color-text-secondary)}.type-desc.svelte-ak7t5k{font-size:12px;color:var(--color-text-tertiary);line-height:1.3}.sidebar.svelte-6dohdz{width:340px;min-width:340px;display:flex;flex-direction:column;overflow:hidden;background:var(--color-bg);border-right:1px solid var(--color-border)}.sidebar-header.svelte-6dohdz{height:40px;display:flex;align-items:center;gap:11px;padding:0 12px 0 19px;border-bottom:1px solid var(--color-border);flex-shrink:0}.header-actions.svelte-6dohdz{margin-left:auto;display:flex;align-items:center}.sidebar-header.svelte-6dohdz .home-btn{display:inline-flex;align-items:center;gap:11px;padding:0;min-width:0;text-align:left;border-radius:0;height:auto;background:transparent!important}.sidebar-header.svelte-6dohdz .home-btn:hover .workspace-icon{opacity:.8}.sidebar-header.svelte-6dohdz .home-btn:hover .workspace-name{color:var(--color-text-secondary)}.workspace-icon.svelte-6dohdz{width:22px;height:22px;border-radius:50%;background:var(--color-accent, #e05050);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:11px;flex-shrink:0}.workspace-name.svelte-6dohdz{flex:1;font-size:14px;font-weight:600;color:var(--color-text-primary)}.settings-nav.svelte-6dohdz{display:flex;flex-direction:column;flex:1;padding-top:0}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger]{display:flex;align-items:center;width:100%;height:40px;padding:0 12px 0 19px;gap:11px;border:none;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;color:var(--color-text-secondary);transition:color .15s,background .15s}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger]:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger][data-state=active]{background:var(--color-bg-hover);color:var(--color-text-primary);font-weight:500}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger] svg{width:14px;height:14px;flex-shrink:0;box-sizing:content-box;padding:0 4px}.filter-bar.svelte-6dohdz{position:relative;display:flex;align-items:center;height:40px;padding:0 12px 0 52px;border-bottom:1px solid var(--color-border);flex-shrink:0}.filter-icon.svelte-6dohdz{position:absolute;left:22px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:16px;color:var(--color-text-tertiary)}.filter-bar.svelte-6dohdz .filter-input{flex:1;background:transparent;border:none;outline:none;padding:0;margin:0;font-size:14px;line-height:1.4;height:auto;border-radius:0}.filter-bar.svelte-6dohdz .filter-clear{width:20px;height:20px;flex-shrink:0}.filter-bar.svelte-6dohdz .sort-toggle{width:28px;height:28px;flex-shrink:0;margin-left:4px}.filter-bar.svelte-6dohdz .sort-toggle.active{color:var(--color-accent, #e05050)}.repo-type-icon.svelte-6dohdz{display:inline-flex;align-items:center;color:var(--color-text-tertiary);margin-right:6px;flex-shrink:0;align-self:center}.tree.svelte-6dohdz{flex:1;overflow-y:auto;padding-top:0}.tree-group.svelte-6dohdz{display:flex;flex-direction:column}.tree-group.svelte-6dohdz+.tree-group:where(.svelte-6dohdz){margin-top:0}.repo-row{display:flex;align-items:baseline;height:40px;line-height:40px;width:100%;padding:0 12px 0 20px;border:none;background:transparent;font-family:inherit;text-align:left;border-left:2px solid transparent;border-radius:0;gap:0;justify-content:flex-start}.repo-row:hover,.repo-row.focused{background:var(--color-bg-hover)}.repo-row.repo-active{border-left-color:var(--active-color)}.repo-name.svelte-6dohdz{font-size:14px;color:var(--color-text-secondary)}.repo-row.repo-active .repo-name.svelte-6dohdz,.repo-row.repo-active .repo-type-icon.svelte-6dohdz{font-weight:600;color:var(--color-text-primary)}.tree-row{position:relative;display:flex;align-items:baseline;height:40px;line-height:40px;padding-right:40px;color:var(--color-text-secondary);font-size:14px;border:none;background:transparent;font-family:inherit;text-align:left;width:100%;border-left:2px solid transparent;border-radius:0;gap:0;justify-content:flex-start}.tree-row:hover,.tree-row.focused{background:var(--color-bg-hover)}.tree-row.selected{background:var(--color-bg-selected);border-left-color:var(--active-color);color:var(--color-text-primary);font-weight:600}.row-chevron.svelte-6dohdz{display:inline-flex;align-items:center;justify-content:center;width:16px;height:40px;flex-shrink:0;margin-right:14px;color:var(--color-text-tertiary);align-self:center}.row-label.svelte-6dohdz{flex:1;overflow:hidden;white-space:nowrap;mask-image:linear-gradient(to right,black calc(100% - 16px),transparent 100%);-webkit-mask-image:linear-gradient(to right,black calc(100% - 16px),transparent 100%)}.item-count.svelte-6dohdz{font-size:12px;color:var(--color-text-tertiary);margin-left:8px;flex-shrink:0}.indent-group.svelte-6dohdz{position:relative}.indent-group.svelte-6dohdz:before{content:"";position:absolute;left:var(--guide-left);top:0;bottom:0;width:1px;background:var(--color-border);pointer-events:none}.loading-row.svelte-6dohdz{height:40px;display:flex;align-items:center;font-size:14px;color:var(--color-text-tertiary)}.type-header-row{color:var(--color-text-secondary);border-left:2px solid transparent}.type-header-row.type-active{color:var(--color-text-primary);font-weight:600}.type-header-row .row-label.svelte-6dohdz{flex:none;mask-image:none;-webkit-mask-image:none}.new-entity-row{color:var(--color-text-tertiary);align-items:center}.new-entity-row:hover{color:var(--color-text-secondary)}.entity-row-wrapper.svelte-6dohdz{position:relative;display:flex;align-items:center}.entity-row-wrapper.svelte-6dohdz .tree-row{flex:1;min-width:0}.entity-row-wrapper.svelte-6dohdz .entity-actions-btn{display:none;width:28px;height:28px;position:absolute;right:12px;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;color:var(--color-text-tertiary);border-radius:4px;align-items:center;justify-content:center}.entity-row-wrapper.svelte-6dohdz .entity-actions-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.entity-row-wrapper.svelte-6dohdz:hover .tree-row,.entity-row-wrapper.svelte-6dohdz:has(.entity-actions-btn.menu-open) .tree-row{background:var(--color-bg-hover)}.entity-row-wrapper.svelte-6dohdz:hover .entity-actions-btn,.entity-row-wrapper.svelte-6dohdz .entity-actions-btn.menu-open{display:inline-flex}.entity-type-dot.svelte-6dohdz{width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-right:19px;align-self:center}.recent-time.svelte-6dohdz{font-size:12px;color:var(--color-text-tertiary);position:absolute;right:26px;top:50%;transform:translate(50%,-50%);white-space:nowrap}.entity-row-wrapper.svelte-6dohdz:hover .recent-time:where(.svelte-6dohdz){display:none}.presence-stack.svelte-6dohdz{display:flex;align-items:center;gap:-4px;margin-left:auto;flex-shrink:0;align-self:center}.presence-avatar.svelte-6dohdz{width:18px;height:18px;border-radius:50%;font-size:10px;font-weight:600;color:#fff;background:var(--color-accent);display:flex;align-items:center;justify-content:center;margin-left:-3px;border:1px solid var(--color-bg);box-sizing:border-box;flex-shrink:0;align-self:center}.presence-stack.svelte-6dohdz .presence-avatar:where(.svelte-6dohdz):first-child{margin-left:4px}.repo-row .presence-stack.svelte-6dohdz{margin-right:28px}.presence-avatar.svelte-6dohdz:nth-child(1){z-index:3}.presence-avatar.svelte-6dohdz:nth-child(2){z-index:2}.presence-avatar.svelte-6dohdz:nth-child(3){z-index:1}.filter-match.svelte-6dohdz{background:var(--color-accent, #e05050);color:#fff;border-radius:2px;padding:0}.no-results.svelte-6dohdz{padding:24px 16px;font-size:14px;color:var(--color-text-tertiary);text-align:center}.repo-row .repo-rename-input{flex:1;min-width:0;height:100%;padding:0 6px;margin:0;border:1px solid var(--color-accent, #e05050);border-radius:3px;font-size:14px;font-weight:600}.repo-row-wrapper.svelte-6dohdz{position:relative;display:flex;align-items:center}.repo-row-wrapper.drop-target.svelte-6dohdz{outline:2px solid var(--color-accent, #e05050);outline-offset:-2px;border-radius:6px;background:#e0505014}.import-modal{max-width:480px}.import-modal .dialog-header{flex-direction:column;align-items:flex-start;gap:4px}.import-modal-body.svelte-6dohdz{padding:16px 24px 8px}.import-modal .dialog-footer{border-top:none}.import-file-list.svelte-6dohdz{display:flex;flex-direction:column;max-height:240px;overflow-y:auto}.import-file-row.svelte-6dohdz{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--color-border)}.import-file-icon.svelte-6dohdz{flex-shrink:0;color:var(--color-text-tertiary)}.import-file-info.svelte-6dohdz{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.import-file-name.svelte-6dohdz{font-size:14px;color:var(--color-text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-file-size.svelte-6dohdz{font-size:12px;color:var(--color-text-tertiary)}.import-file-remove.svelte-6dohdz{flex-shrink:0;background:none;border:none;color:var(--color-text-tertiary);cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center}.import-file-remove.svelte-6dohdz:hover{color:var(--color-text-primary);background:var(--color-bg-hover)}.import-drop-zone.svelte-6dohdz{border:1px solid var(--color-border, #333);border-radius:0;padding:40px 16px;text-align:center;color:var(--color-text-tertiary);font-size:15px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;transition:background .15s}.import-drop-zone-compact.svelte-6dohdz{min-height:0;padding:14px 16px;border-top:none}.import-hint.svelte-6dohdz{font-size:13px;color:var(--color-text-tertiary);margin:0}.file-picker-link.svelte-6dohdz{background:none;border:none;color:var(--color-accent, #e05050);cursor:pointer;text-decoration:underline;font-size:15px;padding:0}.file-picker-link-sm.svelte-6dohdz{font-size:13px}.repo-row-wrapper.svelte-6dohdz .repo-row{flex:1;min-width:0}.repo-row-wrapper.svelte-6dohdz .repo-actions-btn{display:none;width:28px;height:28px;position:absolute;right:12px;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;color:var(--color-text-tertiary);border-radius:4px;align-items:center;justify-content:center}.repo-row-wrapper.svelte-6dohdz .repo-actions-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.repo-row-wrapper.svelte-6dohdz:hover .repo-row,.repo-row-wrapper.svelte-6dohdz:has(.repo-actions-btn.menu-open) .repo-row{background:var(--color-bg-hover)}.repo-row-wrapper.svelte-6dohdz:hover .repo-actions-btn,.repo-row-wrapper.svelte-6dohdz .repo-actions-btn.menu-open{display:inline-flex}.type-header-wrapper.svelte-6dohdz{position:relative;display:flex;align-items:center}.type-header-wrapper.svelte-6dohdz .type-header-row{flex:1;min-width:0}.type-header-wrapper.svelte-6dohdz .type-actions-btn{display:none;width:24px;height:24px;position:absolute;right:12px;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;color:var(--color-text-tertiary);border-radius:4px;align-items:center;justify-content:center}.type-header-wrapper.svelte-6dohdz .type-actions-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.type-header-wrapper.svelte-6dohdz:hover .type-header-row,.type-header-wrapper.svelte-6dohdz:has(.type-actions-btn.menu-open) .type-header-row{background:var(--color-bg-hover)}.type-header-wrapper.svelte-6dohdz:hover .type-actions-btn,.type-header-wrapper.svelte-6dohdz .type-actions-btn.menu-open{display:inline-flex}.repo-actions-menu{min-width:120px;padding:4px;border-radius:6px;background:var(--color-bg-elevated);border:1px solid var(--color-border);box-shadow:0 4px 12px #00000026;z-index:1000}.repo-menu-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px;color:var(--color-text-primary)}.repo-menu-item:hover{background:var(--color-bg-hover)}.repo-menu-item-danger{color:var(--color-error, #e55)}.new-collection-btn,.new-collection-btn .repo-name.svelte-6dohdz,.new-collection-btn .row-chevron.svelte-6dohdz{color:var(--color-text-tertiary)}.new-collection-btn:hover,.new-collection-btn:hover .repo-name.svelte-6dohdz{color:var(--color-text-secondary)}.new-collection-row.svelte-6dohdz{display:flex;align-items:center;height:40px;padding:0 12px 0 20px;border-left:2px solid transparent}.new-collection-row.svelte-6dohdz .new-collection-input{flex:1;height:100%;padding:0 0 0 30px;border:none;background:transparent;font-size:14px;border-radius:0}.new-collection-row.svelte-6dohdz .new-collection-clear{width:20px;height:20px;flex-shrink:0;margin-right:4px}.new-collection-row.svelte-6dohdz .private-toggle{width:20px;height:20px;flex-shrink:0;margin-left:auto;margin-right:4px;color:var(--color-text-secondary)}.new-collection-row.svelte-6dohdz .private-toggle.active{color:var(--color-accent, #e05050)}@keyframes svelte-6dohdz-shake{0%,to{transform:translate(0)}20%{transform:translate(-4px)}40%{transform:translate(4px)}60%{transform:translate(-3px)}80%{transform:translate(2px)}}.new-collection-row.svelte-6dohdz .new-collection-input.shake{animation:svelte-6dohdz-shake .3s ease-in-out}.sidebar-footer.svelte-6dohdz{display:flex;align-items:center;height:40px;padding:0 12px 0 19px;border-top:1px solid var(--color-border);flex-shrink:0;gap:8px}.user-email.svelte-6dohdz{flex:1;font-size:13px;color:var(--color-text-tertiary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer.svelte-6dohdz .footer-icon-btn{width:28px;height:28px}.chat-panel.svelte-1xwj6s7{width:340px;min-width:340px;flex-shrink:0;display:flex;flex-direction:column;background:var(--color-bg);border-left:1px solid var(--color-border)}.chat-header.svelte-1xwj6s7{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--color-border);position:relative;flex-shrink:0}.chat-header-left.svelte-1xwj6s7{display:flex;align-items:center;gap:2px}.history-active{color:var(--color-accent, #e05050)!important}.history-active:not(:hover){background:transparent!important}.session-dropdown.svelte-1xwj6s7{position:absolute;top:100%;left:0;right:0;z-index:10;box-shadow:0 4px 12px #0000001f}.session-list.svelte-1xwj6s7{max-height:240px;overflow-y:auto;background:var(--color-bg);border-bottom:1px solid var(--color-border)}.session-row.svelte-1xwj6s7{position:relative;display:flex;align-items:center}.session-row.svelte-1xwj6s7 .session-item{display:flex;align-items:center;justify-content:flex-start;flex:1;min-width:0;padding:0 32px 0 16px;height:32px;line-height:32px;font-size:14px;color:var(--color-text-secondary);text-align:left;border-radius:0}.session-row.svelte-1xwj6s7:hover .session-item{background:var(--color-bg-hover)}.session-row.svelte-1xwj6s7 .session-item.active{background:var(--color-bg-hover);color:var(--color-text-primary);font-weight:500}.session-row.svelte-1xwj6s7 .session-delete-btn{display:none;width:20px;height:20px;position:absolute;right:6px;flex-shrink:0;padding:0}.session-row.svelte-1xwj6s7 .session-delete-btn:hover{color:var(--color-error, #e55)}.session-row.svelte-1xwj6s7:hover .session-delete-btn{display:flex}.session-title.svelte-1xwj6s7{flex:1;overflow:hidden;white-space:nowrap;min-width:0;mask-image:linear-gradient(to right,black calc(100% - 24px),transparent 100%);-webkit-mask-image:linear-gradient(to right,black calc(100% - 24px),transparent 100%)}.chat-messages.svelte-1xwj6s7{flex:1;overflow-y:auto;padding:24px 16px;display:flex;flex-direction:column;gap:32px}.empty-state.svelte-1xwj6s7{flex:1;display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);font-size:14px}.seed-prompts.svelte-1xwj6s7{display:flex;flex-direction:column;gap:8px;width:100%}.seed-prompts.svelte-1xwj6s7 .seed-prompt{font-size:14px;line-height:20px;padding:9px 13px;min-height:40px;height:auto;border-radius:8px;color:var(--color-text-secondary);text-align:left;white-space:normal;justify-content:flex-start}.seed-prompts.svelte-1xwj6s7 .seed-prompt:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.message-group.svelte-1xwj6s7{display:flex;flex-direction:column;gap:16px}.user-bubble.svelte-1xwj6s7{background:var(--color-bg-surface);border-radius:8px;padding:12px 14px;font-size:14px;line-height:22px;color:var(--color-text-primary)}.agent-content.svelte-1xwj6s7{display:flex;flex-direction:column;gap:14px}.tool-calls.svelte-1xwj6s7{display:flex;flex-direction:column;gap:4px}.tool-call.svelte-1xwj6s7{font-family:var(--font-mono);font-size:12px;color:var(--color-accent)}.agent-text.svelte-1xwj6s7{font-size:14px;line-height:22px;color:var(--color-text-primary)}.prose.svelte-1xwj6s7 h1{font-size:18px;font-weight:600;color:var(--color-text-primary);margin:24px 0 12px}.prose.svelte-1xwj6s7 h2{font-size:16px;font-weight:600;color:var(--color-text-primary);margin:22px 0 10px}.prose.svelte-1xwj6s7 h3{font-size:15px;font-weight:600;color:var(--color-text-primary);margin:20px 0 8px}.prose.svelte-1xwj6s7 p{margin:0 0 14px}.prose.svelte-1xwj6s7 p:last-child{margin-bottom:0}.prose.svelte-1xwj6s7 strong{font-weight:600}.prose.svelte-1xwj6s7 ul,.prose.svelte-1xwj6s7 ol{padding-left:20px;margin:0 0 14px;color:var(--color-text-primary)}.prose.svelte-1xwj6s7 ul{list-style-type:disc}.prose.svelte-1xwj6s7 ol{list-style-type:decimal}.prose.svelte-1xwj6s7 li{margin-bottom:6px}.prose.svelte-1xwj6s7 table{width:100%;border-collapse:collapse;font-size:13px;margin:16px 0}.prose.svelte-1xwj6s7 th,.prose.svelte-1xwj6s7 td{border:1px solid var(--color-border);padding:4px 8px;text-align:left;vertical-align:top}.prose.svelte-1xwj6s7 th{font-weight:600}.prose.svelte-1xwj6s7 pre{background:var(--color-bg-surface);border-radius:6px;padding:10px 12px;overflow-x:auto;margin:16px 0;font-family:var(--font-mono);font-size:13px;line-height:18px}.prose.svelte-1xwj6s7 code{font-family:var(--font-mono);font-size:13px;background:var(--color-bg-surface);padding:1px 4px;border-radius:3px}.prose.svelte-1xwj6s7 pre code{background:none;padding:0}.prose.svelte-1xwj6s7 a{color:var(--color-link)}.prose.svelte-1xwj6s7 blockquote{border-left:3px solid var(--color-accent);padding-left:12px;margin:16px 0;color:var(--color-text-secondary)}.prose.svelte-1xwj6s7 hr{border:none;border-top:1px solid var(--color-border);margin:24px 0}.streaming-dot.svelte-1xwj6s7{display:inline-block;width:8px;height:8px;background:var(--color-accent);border-radius:4px;animation:svelte-1xwj6s7-pulse 1s ease-in-out infinite}@keyframes svelte-1xwj6s7-pulse{0%,to{opacity:.3}50%{opacity:1}}.context-chip.svelte-1xwj6s7{font-size:12px;color:var(--color-text-tertiary);padding:0 2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-input-area.svelte-1xwj6s7{padding:12px 16px 16px}.text-input.svelte-1xwj6s7{display:flex;align-items:flex-end;min-height:40px;max-height:140px;padding:0 0 0 13px;background:transparent;border:1px solid var(--color-border);border-radius:8px;transition:border-color .15s}.text-input.svelte-1xwj6s7:focus-within{border-color:var(--color-accent)}.send-btn{color:var(--color-text-tertiary);margin:6px;flex-shrink:0;pointer-events:none}.send-btn.send-active{pointer-events:auto;color:#fff;background:var(--color-accent);border-radius:6px}.stop-btn{color:#fff;background:var(--color-accent);border-radius:6px}.input-field.svelte-1xwj6s7{flex:1;background:transparent;border:none;outline:none;font-family:inherit;font-size:14px;line-height:20px;color:var(--color-text-primary);resize:none;overflow-y:auto;padding:9px 0;max-height:120px;field-sizing:content}.input-field.svelte-1xwj6s7::placeholder{color:var(--color-text-tertiary)}.input-field.svelte-1xwj6s7:disabled{opacity:.5}.search-header.svelte-1xems06{display:flex;align-items:center;height:52px;padding:0 16px;gap:10px;border-bottom:1px solid var(--color-border)}.search-header.svelte-1xems06 svg{color:var(--color-text-tertiary);flex-shrink:0}.search-header.svelte-1xems06 .search-input{flex:1;font-size:16px;line-height:20px;border:none;background:transparent;box-shadow:none;padding:0;height:auto}.search-header.svelte-1xems06 .search-input:focus{box-shadow:none;border:none}.esc-badge.svelte-1xems06{font-family:var(--font-sans);font-size:12px;line-height:1;padding:3px 6px;border-radius:4px;background:var(--color-bg-surface);border:1px solid var(--color-border);color:var(--color-text-tertiary)}.results-list.svelte-1xems06{flex:1;overflow-y:auto;min-height:0}.empty-results.svelte-1xems06{padding:24px 16px;text-align:center;font-size:14px;color:var(--color-text-tertiary)}.results-list.svelte-1xems06 .result-row{display:flex;align-items:flex-start;padding:10px 16px;width:100%;text-align:left;border-radius:0;height:auto;justify-content:flex-start}.results-list.svelte-1xems06 .result-row:hover,.results-list.svelte-1xems06 .result-row.selected{background:var(--color-bg-hover)}.result-body.svelte-1xems06{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.result-title-row.svelte-1xems06{display:flex;align-items:center;gap:8px}.result-title.svelte-1xems06{font-size:14px;font-weight:500;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entity-tag.svelte-1xems06{flex-shrink:0;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;padding:1px 6px;border-radius:3px;background:var(--color-badge-bg);color:var(--color-badge-text)}.result-meta.svelte-1xems06{font-size:13px;color:var(--color-text-tertiary)}.search-footer.svelte-1xems06{display:flex;align-items:center;height:39px;padding:0 16px;gap:16px;border-top:1px solid var(--color-border)}.shortcut-group.svelte-1xems06{display:flex;align-items:center;gap:4px}.shortcut-key.svelte-1xems06{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:4px;background:var(--color-bg-surface);border:1px solid var(--color-border);color:var(--color-text-tertiary)}.shortcut-label.svelte-1xems06{font-size:12px;color:var(--color-text-tertiary);margin-left:2px}.app-frame.svelte-vr1z90{width:100vw;height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--color-bg)}.app-body.svelte-vr1z90{flex:1;display:flex;min-height:0;overflow:hidden}.main-content.svelte-vr1z90{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}#sg-chrome-footer{flex-shrink:0}
|
|
1
|
+
.entity-body{padding:16px 24px 24px;display:flex;flex-direction:column;gap:20px}.type-section.svelte-ak7t5k{display:flex;flex-direction:column;gap:8px}.type-section-label.svelte-ak7t5k{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-tertiary)}.type-grid.svelte-ak7t5k{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.type-grid.svelte-ak7t5k .type-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:12px;height:auto;border-radius:8px;text-align:left;color:var(--color-text-secondary);justify-content:flex-start}.type-grid.svelte-ak7t5k .type-card:hover{background:var(--color-bg-hover);border-color:var(--color-border-strong)}.type-grid.svelte-ak7t5k .type-card:hover .type-name{color:var(--color-text-primary)}.type-dot.svelte-ak7t5k{width:8px;height:8px;border-radius:50%}.type-info.svelte-ak7t5k{display:flex;flex-direction:column;gap:2px}.type-name.svelte-ak7t5k{font-size:14px;font-weight:500;color:var(--color-text-secondary)}.type-desc.svelte-ak7t5k{font-size:12px;color:var(--color-text-tertiary);line-height:1.3}.sidebar.svelte-6dohdz{width:340px;min-width:340px;display:flex;flex-direction:column;overflow:hidden;background:var(--color-bg);border-right:1px solid var(--color-border)}.sidebar-header.svelte-6dohdz{height:40px;display:flex;align-items:center;gap:11px;padding:0 12px 0 19px;border-bottom:1px solid var(--color-border);flex-shrink:0}.header-actions.svelte-6dohdz{margin-left:auto;display:flex;align-items:center}.sidebar-header.svelte-6dohdz .home-btn{display:inline-flex;align-items:center;gap:11px;padding:0;min-width:0;text-align:left;border-radius:0;height:auto;background:transparent!important}.sidebar-header.svelte-6dohdz .home-btn:hover .workspace-icon{opacity:.8}.sidebar-header.svelte-6dohdz .home-btn:hover .workspace-name{color:var(--color-text-secondary)}.workspace-icon.svelte-6dohdz{width:22px;height:22px;border-radius:50%;background:var(--color-accent, #e05050);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:11px;flex-shrink:0}.workspace-name.svelte-6dohdz{flex:1;font-size:14px;font-weight:600;color:var(--color-text-primary)}.settings-nav.svelte-6dohdz{display:flex;flex-direction:column;flex:1;padding-top:0}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger]{display:flex;align-items:center;width:100%;height:40px;padding:0 12px 0 19px;gap:11px;border:none;background:transparent;cursor:pointer;font-family:inherit;font-size:14px;color:var(--color-text-secondary);transition:color .15s,background .15s}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger]:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger][data-state=active]{background:var(--color-bg-hover);color:var(--color-text-primary);font-weight:500}.settings-nav.svelte-6dohdz button[data-slot=tabs-trigger] svg{width:14px;height:14px;flex-shrink:0;box-sizing:content-box;padding:0 4px}.filter-bar.svelte-6dohdz{position:relative;display:flex;align-items:center;height:40px;padding:0 12px 0 52px;border-bottom:1px solid var(--color-border);flex-shrink:0}.filter-icon.svelte-6dohdz{position:absolute;left:22px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:16px;color:var(--color-text-tertiary)}.filter-bar.svelte-6dohdz .filter-input{flex:1;background:transparent;border:none;outline:none;padding:0;margin:0;font-size:14px;line-height:1.4;height:auto;border-radius:0}.filter-bar.svelte-6dohdz .filter-clear{width:20px;height:20px;flex-shrink:0}.filter-bar.svelte-6dohdz .sort-toggle{width:28px;height:28px;flex-shrink:0;margin-left:4px}.filter-bar.svelte-6dohdz .sort-toggle.active{color:var(--color-accent, #e05050)}.repo-type-icon.svelte-6dohdz{display:inline-flex;align-items:center;color:var(--color-text-tertiary);margin-right:6px;flex-shrink:0;align-self:center}.tree.svelte-6dohdz{flex:1;overflow-y:auto;padding-top:0}.tree-group.svelte-6dohdz{display:flex;flex-direction:column}.tree-group.svelte-6dohdz+.tree-group:where(.svelte-6dohdz){margin-top:0}.repo-row{display:flex;align-items:baseline;height:40px;line-height:40px;width:100%;padding:0 12px 0 20px;border:none;background:transparent;font-family:inherit;text-align:left;border-left:2px solid transparent;border-radius:0;gap:0;justify-content:flex-start}.repo-row:hover,.repo-row.focused{background:var(--color-bg-hover)}.repo-row.repo-active{border-left-color:var(--active-color)}.repo-name.svelte-6dohdz{font-size:14px;color:var(--color-text-secondary)}.repo-row.repo-active .repo-name.svelte-6dohdz,.repo-row.repo-active .repo-type-icon.svelte-6dohdz{font-weight:600;color:var(--color-text-primary)}.tree-row{position:relative;display:flex;align-items:baseline;height:40px;line-height:40px;padding-right:40px;color:var(--color-text-secondary);font-size:14px;border:none;background:transparent;font-family:inherit;text-align:left;width:100%;border-left:2px solid transparent;border-radius:0;gap:0;justify-content:flex-start}.tree-row:hover,.tree-row.focused{background:var(--color-bg-hover)}.tree-row.selected{background:var(--color-bg-selected);border-left-color:var(--active-color);color:var(--color-text-primary);font-weight:600}.row-chevron.svelte-6dohdz{display:inline-flex;align-items:center;justify-content:center;width:16px;height:40px;flex-shrink:0;margin-right:14px;color:var(--color-text-tertiary);align-self:center}.row-label.svelte-6dohdz{flex:1;overflow:hidden;white-space:nowrap;mask-image:linear-gradient(to right,black calc(100% - 16px),transparent 100%);-webkit-mask-image:linear-gradient(to right,black calc(100% - 16px),transparent 100%)}.item-count.svelte-6dohdz{font-size:12px;color:var(--color-text-tertiary);margin-left:8px;flex-shrink:0}.indent-group.svelte-6dohdz{position:relative}.indent-group.svelte-6dohdz:before{content:"";position:absolute;left:var(--guide-left);top:0;bottom:0;width:1px;background:var(--color-border);pointer-events:none}.loading-row.svelte-6dohdz{height:40px;display:flex;align-items:center;font-size:14px;color:var(--color-text-tertiary)}.type-header-row{color:var(--color-text-secondary);border-left:2px solid transparent}.type-header-row.type-active{color:var(--color-text-primary);font-weight:600}.type-header-row .row-label.svelte-6dohdz{flex:none;mask-image:none;-webkit-mask-image:none}.new-entity-row{color:var(--color-text-tertiary);align-items:center}.new-entity-row:hover{color:var(--color-text-secondary)}.entity-row-wrapper.svelte-6dohdz{position:relative;display:flex;align-items:center}.entity-row-wrapper.svelte-6dohdz .tree-row{flex:1;min-width:0}.entity-row-wrapper.svelte-6dohdz .entity-actions-btn{display:none;width:28px;height:28px;position:absolute;right:12px;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;color:var(--color-text-tertiary);border-radius:4px;align-items:center;justify-content:center}.entity-row-wrapper.svelte-6dohdz .entity-actions-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.entity-row-wrapper.svelte-6dohdz:hover .tree-row,.entity-row-wrapper.svelte-6dohdz:has(.entity-actions-btn.menu-open) .tree-row{background:var(--color-bg-hover)}.entity-row-wrapper.svelte-6dohdz:hover .entity-actions-btn,.entity-row-wrapper.svelte-6dohdz .entity-actions-btn.menu-open{display:inline-flex}.entity-type-dot.svelte-6dohdz{width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-right:19px;align-self:center}.recent-time.svelte-6dohdz{font-size:12px;color:var(--color-text-tertiary);position:absolute;right:26px;top:50%;transform:translate(50%,-50%);white-space:nowrap}.entity-row-wrapper.svelte-6dohdz:hover .recent-time:where(.svelte-6dohdz){display:none}.presence-stack.svelte-6dohdz{display:flex;align-items:center;gap:-4px;margin-left:auto;flex-shrink:0;align-self:center}.presence-avatar.svelte-6dohdz{width:18px;height:18px;border-radius:50%;font-size:10px;font-weight:600;color:#fff;background:var(--color-accent);display:flex;align-items:center;justify-content:center;margin-left:-3px;border:1px solid var(--color-bg);box-sizing:border-box;flex-shrink:0;align-self:center}.presence-stack.svelte-6dohdz .presence-avatar:where(.svelte-6dohdz):first-child{margin-left:4px}.repo-row .presence-stack.svelte-6dohdz{margin-right:28px}.presence-avatar.svelte-6dohdz:nth-child(1){z-index:3}.presence-avatar.svelte-6dohdz:nth-child(2){z-index:2}.presence-avatar.svelte-6dohdz:nth-child(3){z-index:1}.filter-match.svelte-6dohdz{background:var(--color-accent, #e05050);color:#fff;border-radius:2px;padding:0}.no-results.svelte-6dohdz{padding:24px 16px;font-size:14px;color:var(--color-text-tertiary);text-align:center}.repo-row .repo-rename-input{flex:1;min-width:0;height:100%;padding:0 6px;margin:0;border:1px solid var(--color-accent, #e05050);border-radius:3px;font-size:14px;font-weight:600}.repo-row-wrapper.svelte-6dohdz{position:relative;display:flex;align-items:center}.repo-row-wrapper.drop-target.svelte-6dohdz{outline:2px solid var(--color-accent, #e05050);outline-offset:-2px;border-radius:6px;background:#e0505014}.import-modal{max-width:480px}.import-modal .dialog-header{flex-direction:column;align-items:flex-start;gap:4px}.import-modal-body.svelte-6dohdz{padding:16px 24px 8px}.import-modal .dialog-footer{border-top:none}.import-file-list.svelte-6dohdz{display:flex;flex-direction:column;max-height:240px;overflow-y:auto}.import-file-row.svelte-6dohdz{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--color-border)}.import-file-icon.svelte-6dohdz{flex-shrink:0;color:var(--color-text-tertiary)}.import-file-info.svelte-6dohdz{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.import-file-name.svelte-6dohdz{font-size:14px;color:var(--color-text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-file-size.svelte-6dohdz{font-size:12px;color:var(--color-text-tertiary)}.import-file-remove.svelte-6dohdz{flex-shrink:0;background:none;border:none;color:var(--color-text-tertiary);cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center}.import-file-remove.svelte-6dohdz:hover{color:var(--color-text-primary);background:var(--color-bg-hover)}.import-drop-zone.svelte-6dohdz{border:1px solid var(--color-border, #333);border-radius:0;padding:40px 16px;text-align:center;color:var(--color-text-tertiary);font-size:15px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;transition:background .15s}.import-drop-zone-compact.svelte-6dohdz{min-height:0;padding:14px 16px;border-top:none}.import-hint.svelte-6dohdz{font-size:13px;color:var(--color-text-tertiary);margin:0}.file-picker-link.svelte-6dohdz{background:none;border:none;color:var(--color-accent, #e05050);cursor:pointer;text-decoration:underline;font-size:15px;padding:0}.file-picker-link-sm.svelte-6dohdz{font-size:13px}.repo-row-wrapper.svelte-6dohdz .repo-row{flex:1;min-width:0}.repo-row-wrapper.svelte-6dohdz .repo-actions-btn{display:none;width:28px;height:28px;position:absolute;right:12px;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;color:var(--color-text-tertiary);border-radius:4px;align-items:center;justify-content:center}.repo-row-wrapper.svelte-6dohdz .repo-actions-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.repo-row-wrapper.svelte-6dohdz:hover .repo-row,.repo-row-wrapper.svelte-6dohdz:has(.repo-actions-btn.menu-open) .repo-row{background:var(--color-bg-hover)}.repo-row-wrapper.svelte-6dohdz:hover .repo-actions-btn,.repo-row-wrapper.svelte-6dohdz .repo-actions-btn.menu-open{display:inline-flex}.type-header-wrapper.svelte-6dohdz{position:relative;display:flex;align-items:center}.type-header-wrapper.svelte-6dohdz .type-header-row{flex:1;min-width:0}.type-header-wrapper.svelte-6dohdz .type-actions-btn{display:none;width:24px;height:24px;position:absolute;right:12px;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;color:var(--color-text-tertiary);border-radius:4px;align-items:center;justify-content:center}.type-header-wrapper.svelte-6dohdz .type-actions-btn:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.type-header-wrapper.svelte-6dohdz:hover .type-header-row,.type-header-wrapper.svelte-6dohdz:has(.type-actions-btn.menu-open) .type-header-row{background:var(--color-bg-hover)}.type-header-wrapper.svelte-6dohdz:hover .type-actions-btn,.type-header-wrapper.svelte-6dohdz .type-actions-btn.menu-open{display:inline-flex}.repo-actions-menu{min-width:120px;padding:4px;border-radius:6px;background:var(--color-bg-elevated);border:1px solid var(--color-border);box-shadow:0 4px 12px #00000026;z-index:1000}.repo-menu-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px;color:var(--color-text-primary)}.repo-menu-item:hover{background:var(--color-bg-hover)}.repo-menu-item-danger{color:var(--color-error, #e55)}.new-collection-btn,.new-collection-btn .repo-name.svelte-6dohdz,.new-collection-btn .row-chevron.svelte-6dohdz{color:var(--color-text-tertiary)}.new-collection-btn:hover,.new-collection-btn:hover .repo-name.svelte-6dohdz{color:var(--color-text-secondary)}.new-collection-row.svelte-6dohdz{display:flex;align-items:center;height:40px;padding:0 12px 0 20px;border-left:2px solid transparent}.new-collection-row.svelte-6dohdz .new-collection-input{flex:1;height:100%;padding:0 0 0 30px;border:none;background:transparent;font-size:14px;border-radius:0}.new-collection-row.svelte-6dohdz .new-collection-clear{width:20px;height:20px;flex-shrink:0;margin-right:4px}.new-collection-row.svelte-6dohdz .private-toggle{width:20px;height:20px;flex-shrink:0;margin-left:auto;margin-right:4px;color:var(--color-text-secondary)}.new-collection-row.svelte-6dohdz .private-toggle.active{color:var(--color-accent, #e05050)}@keyframes svelte-6dohdz-shake{0%,to{transform:translate(0)}20%{transform:translate(-4px)}40%{transform:translate(4px)}60%{transform:translate(-3px)}80%{transform:translate(2px)}}.new-collection-row.svelte-6dohdz .new-collection-input.shake{animation:svelte-6dohdz-shake .3s ease-in-out}.sidebar-footer.svelte-6dohdz{display:flex;align-items:center;height:40px;padding:0 12px 0 19px;border-top:1px solid var(--color-border);flex-shrink:0;gap:8px}.user-email.svelte-6dohdz{flex:1;font-size:13px;color:var(--color-text-tertiary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer.svelte-6dohdz .footer-icon-btn{width:28px;height:28px}.chat-panel.svelte-1xwj6s7{width:340px;min-width:340px;flex-shrink:0;display:flex;flex-direction:column;background:var(--color-bg);border-left:1px solid var(--color-border)}.chat-header.svelte-1xwj6s7{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--color-border);position:relative;flex-shrink:0}.chat-header-left.svelte-1xwj6s7{display:flex;align-items:center;gap:2px}.history-active{color:var(--color-accent, #e05050)!important}.history-active:not(:hover){background:transparent!important}.session-dropdown.svelte-1xwj6s7{position:absolute;top:100%;left:0;right:0;z-index:10;box-shadow:0 4px 12px #0000001f}.session-list.svelte-1xwj6s7{max-height:240px;overflow-y:auto;background:var(--color-bg);border-bottom:1px solid var(--color-border)}.session-row.svelte-1xwj6s7{position:relative;display:flex;align-items:center}.session-row.svelte-1xwj6s7 .session-item{display:flex;align-items:center;justify-content:flex-start;flex:1;min-width:0;padding:0 32px 0 16px;height:40px;line-height:40px;font-size:14px;color:var(--color-text-secondary);text-align:left;border-radius:0}.session-row.svelte-1xwj6s7:hover .session-item{background:var(--color-bg-hover)}.session-row.svelte-1xwj6s7 .session-item.active{background:var(--color-bg-hover);color:var(--color-text-primary);font-weight:500}.session-row.svelte-1xwj6s7 .session-delete-btn{display:none;width:20px;height:20px;position:absolute;right:6px;flex-shrink:0;padding:0}.session-row.svelte-1xwj6s7 .session-delete-btn:hover{color:var(--color-error, #e55)}.session-row.svelte-1xwj6s7:hover .session-delete-btn{display:flex}.session-title.svelte-1xwj6s7{flex:1;overflow:hidden;white-space:nowrap;min-width:0;mask-image:linear-gradient(to right,black calc(100% - 24px),transparent 100%);-webkit-mask-image:linear-gradient(to right,black calc(100% - 24px),transparent 100%)}.chat-messages.svelte-1xwj6s7{flex:1;overflow-y:auto;padding:24px 16px;display:flex;flex-direction:column;gap:32px}.empty-state.svelte-1xwj6s7{flex:1;display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);font-size:14px}.seed-prompts.svelte-1xwj6s7{display:flex;flex-direction:column;gap:8px;width:100%}.seed-prompts.svelte-1xwj6s7 .seed-prompt{font-size:14px;line-height:20px;padding:9px 13px;min-height:40px;height:auto;border-radius:8px;color:var(--color-text-secondary);text-align:left;white-space:normal;justify-content:flex-start}.seed-prompts.svelte-1xwj6s7 .seed-prompt:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.message-group.svelte-1xwj6s7{display:flex;flex-direction:column;gap:16px}.user-bubble.svelte-1xwj6s7{background:var(--color-bg-surface);border-radius:8px;padding:12px 14px;font-size:14px;line-height:22px;color:var(--color-text-primary)}.agent-content.svelte-1xwj6s7{display:flex;flex-direction:column;gap:14px}.tool-calls.svelte-1xwj6s7{display:flex;flex-direction:column;gap:4px}.tool-call.svelte-1xwj6s7{font-family:var(--font-mono);font-size:12px;color:var(--color-accent)}.agent-text.svelte-1xwj6s7{font-size:14px;line-height:22px;color:var(--color-text-primary)}.prose.svelte-1xwj6s7 h1{font-size:18px;font-weight:600;color:var(--color-text-primary);margin:24px 0 12px}.prose.svelte-1xwj6s7 h2{font-size:16px;font-weight:600;color:var(--color-text-primary);margin:22px 0 10px}.prose.svelte-1xwj6s7 h3{font-size:15px;font-weight:600;color:var(--color-text-primary);margin:20px 0 8px}.prose.svelte-1xwj6s7 p{margin:0 0 14px}.prose.svelte-1xwj6s7 p:last-child{margin-bottom:0}.prose.svelte-1xwj6s7 strong{font-weight:600}.prose.svelte-1xwj6s7 ul,.prose.svelte-1xwj6s7 ol{padding-left:20px;margin:0 0 14px;color:var(--color-text-primary)}.prose.svelte-1xwj6s7 ul{list-style-type:disc}.prose.svelte-1xwj6s7 ol{list-style-type:decimal}.prose.svelte-1xwj6s7 li{margin-bottom:6px}.prose.svelte-1xwj6s7 table{width:100%;border-collapse:collapse;font-size:13px;margin:16px 0}.prose.svelte-1xwj6s7 th,.prose.svelte-1xwj6s7 td{border:1px solid var(--color-border);padding:4px 8px;text-align:left;vertical-align:top}.prose.svelte-1xwj6s7 th{font-weight:600}.prose.svelte-1xwj6s7 pre{background:var(--color-bg-surface);border-radius:6px;padding:10px 12px;overflow-x:auto;margin:16px 0;font-family:var(--font-mono);font-size:13px;line-height:18px}.prose.svelte-1xwj6s7 code{font-family:var(--font-mono);font-size:13px;background:var(--color-bg-surface);padding:1px 4px;border-radius:3px}.prose.svelte-1xwj6s7 pre code{background:none;padding:0}.prose.svelte-1xwj6s7 a{color:var(--color-link)}.prose.svelte-1xwj6s7 blockquote{border-left:3px solid var(--color-accent);padding-left:12px;margin:16px 0;color:var(--color-text-secondary)}.prose.svelte-1xwj6s7 hr{border:none;border-top:1px solid var(--color-border);margin:24px 0}.streaming-dot.svelte-1xwj6s7{display:inline-block;width:8px;height:8px;background:var(--color-accent);border-radius:4px;animation:svelte-1xwj6s7-pulse 1s ease-in-out infinite}@keyframes svelte-1xwj6s7-pulse{0%,to{opacity:.3}50%{opacity:1}}.context-chip.svelte-1xwj6s7{font-size:12px;color:var(--color-text-tertiary);padding:0 2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-input-area.svelte-1xwj6s7{padding:12px 16px 16px}.text-input.svelte-1xwj6s7{display:flex;align-items:flex-end;min-height:40px;max-height:140px;padding:0 0 0 13px;background:transparent;border:1px solid var(--color-border);border-radius:8px;transition:border-color .15s}.text-input.svelte-1xwj6s7:focus-within{border-color:var(--color-accent)}.send-btn{color:var(--color-text-tertiary);margin:6px;flex-shrink:0;pointer-events:none}.send-btn.send-active{pointer-events:auto;color:#fff;background:var(--color-accent);border-radius:6px}.stop-btn{color:#fff;background:var(--color-accent);border-radius:6px}.input-field.svelte-1xwj6s7{flex:1;background:transparent;border:none;outline:none;font-family:inherit;font-size:14px;line-height:20px;color:var(--color-text-primary);resize:none;overflow-y:auto;padding:9px 0;max-height:120px;field-sizing:content}.input-field.svelte-1xwj6s7::placeholder{color:var(--color-text-tertiary)}.input-field.svelte-1xwj6s7:disabled{opacity:.5}.search-header.svelte-1xems06{display:flex;align-items:center;height:52px;padding:0 16px;gap:10px;border-bottom:1px solid var(--color-border)}.search-header.svelte-1xems06 svg{color:var(--color-text-tertiary);flex-shrink:0}.search-header.svelte-1xems06 .search-input{flex:1;font-size:16px;line-height:20px;border:none;background:transparent;box-shadow:none;padding:0;height:auto}.search-header.svelte-1xems06 .search-input:focus{box-shadow:none;border:none}.esc-badge.svelte-1xems06{font-family:var(--font-sans);font-size:12px;line-height:1;padding:3px 6px;border-radius:4px;background:var(--color-bg-surface);border:1px solid var(--color-border);color:var(--color-text-tertiary)}.results-list.svelte-1xems06{flex:1;overflow-y:auto;min-height:0}.empty-results.svelte-1xems06{padding:24px 16px;text-align:center;font-size:14px;color:var(--color-text-tertiary)}.results-list.svelte-1xems06 .result-row{display:flex;align-items:flex-start;padding:10px 16px;width:100%;text-align:left;border-radius:0;height:auto;justify-content:flex-start}.results-list.svelte-1xems06 .result-row:hover,.results-list.svelte-1xems06 .result-row.selected{background:var(--color-bg-hover)}.result-body.svelte-1xems06{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.result-title-row.svelte-1xems06{display:flex;align-items:center;gap:8px}.result-title.svelte-1xems06{font-size:14px;font-weight:500;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entity-tag.svelte-1xems06{flex-shrink:0;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;padding:1px 6px;border-radius:3px;background:var(--color-badge-bg);color:var(--color-badge-text)}.result-meta.svelte-1xems06{font-size:13px;color:var(--color-text-tertiary)}.search-footer.svelte-1xems06{display:flex;align-items:center;height:39px;padding:0 16px;gap:16px;border-top:1px solid var(--color-border)}.shortcut-group.svelte-1xems06{display:flex;align-items:center;gap:4px}.shortcut-key.svelte-1xems06{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:4px;background:var(--color-bg-surface);border:1px solid var(--color-border);color:var(--color-text-tertiary)}.shortcut-label.svelte-1xems06{font-size:12px;color:var(--color-text-tertiary);margin-left:2px}.app-frame.svelte-vr1z90{width:100vw;height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--color-bg)}.app-body.svelte-vr1z90{flex:1;display:flex;min-height:0;overflow:hidden}.main-content.svelte-vr1z90{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}#sg-chrome-footer{flex-shrink:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.autocomplete.svelte-84vb17{position:relative;width:100%}.input-row.svelte-84vb17{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:22px;padding:0;background:transparent;border:none;border-radius:4px}.chip.svelte-84vb17{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px;border-radius:9999px;font-size:13px;background:var(--color-accent-muted);color:var(--color-link, #e07070);flex-shrink:0}.chip.svelte-84vb17 .chip-remove{width:14px;height:14px;padding:0;color:var(--color-text-tertiary);font-size:13px;line-height:1}.chip.svelte-84vb17 .chip-remove:hover{color:var(--color-text-primary)}.ac-input.svelte-84vb17{flex:1;min-width:80px;height:22px;padding:0;font-size:14px;font-family:inherit;color:var(--color-text-primary);background:transparent;border:none;outline:none}.dropdown.svelte-84vb17{position:absolute;top:100%;left:0;right:0;margin-top:4px;max-height:240px;overflow-y:auto;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50}.dropdown-item.svelte-84vb17{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;cursor:pointer;gap:8px}.dropdown-item.highlighted.svelte-84vb17{background:var(--color-bg-hover)}.entity-title.svelte-84vb17{font-size:14px;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.entity-meta.svelte-84vb17{display:flex;align-items:center;gap:6px;flex-shrink:0}.entity-type-badge.svelte-84vb17{font-size:12px;padding:1px 6px;border-radius:9999px;background:var(--color-badge-bg);color:var(--color-badge-text)}.entity-repo.svelte-84vb17{font-size:12px;color:var(--color-text-tertiary)}.inline-properties.svelte-x7sio8{padding:16px 40px 8px;border-bottom:1px solid var(--color-border)}.ip-row.svelte-x7sio8{display:grid;grid-template-columns:20px 120px 1fr;align-items:start;gap:8px;padding:5px 8px;margin:0 -8px;border-radius:4px;min-height:30px;outline:2px solid transparent;transition:outline-color .1s}.ip-row.svelte-x7sio8:hover{outline-color:var(--color-border)}.ip-row.ip-focused.svelte-x7sio8{outline-color:var(--color-accent)}.ip-icon.svelte-x7sio8{display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);position:relative;height:22px}.ip-key.svelte-x7sio8{font-size:14px;color:var(--color-text-tertiary);line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ip-value.svelte-x7sio8{display:flex;align-items:center;min-height:22px;line-height:22px;position:relative;cursor:text}.ip-edit-input.svelte-x7sio8{font-size:14px;font-family:inherit;color:var(--color-text-primary);background:transparent;border:none;padding:0 4px;height:22px;line-height:22px;width:100%;outline:none}.ip-status-wrap.svelte-x7sio8{position:relative;width:100%}.ip-status-dropdown.svelte-x7sio8{position:absolute;top:100%;left:-4px;margin-top:4px;min-width:180px;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50;padding:4px;max-height:240px;overflow-y:auto}.ip-status-dropdown.svelte-x7sio8 .ip-status-option{display:flex;align-items:center;gap:6px;width:100%;padding:5px 8px;font-size:14px;color:var(--color-text-primary);border-radius:4px;text-align:left;justify-content:flex-start;height:auto}.ip-status-dropdown.svelte-x7sio8 .ip-status-option:hover{background:var(--color-bg-hover)}.ip-status-dropdown.svelte-x7sio8 .ip-status-option.selected{color:var(--color-accent)}.ip-cal-wrap.svelte-x7sio8{position:relative;width:100%}.ip-cal-dropdown.svelte-x7sio8{position:absolute;top:100%;left:-4px;margin-top:4px;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50;padding:12px;width:264px}.ip-cal-header.svelte-x7sio8{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ip-cal-title.svelte-x7sio8{font-size:14px;font-weight:500;color:var(--color-text-primary)}.ip-cal-header.svelte-x7sio8 .ip-cal-nav{width:28px;height:28px}.ip-cal-weekdays.svelte-x7sio8{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px}.ip-cal-wd.svelte-x7sio8{font-size:12px;color:var(--color-text-tertiary);text-align:center;padding:4px 0}.ip-cal-week.svelte-x7sio8{display:grid;grid-template-columns:repeat(7,1fr)}.ip-cal-week.svelte-x7sio8 .ip-cal-day{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border-radius:4px;font-size:14px;color:var(--color-text-primary);padding:0;height:auto}.ip-cal-week.svelte-x7sio8 .ip-cal-day:hover{background:var(--color-bg-hover)}.ip-cal-week.svelte-x7sio8 .ip-cal-day.outside{color:var(--color-text-tertiary);opacity:.5}.ip-cal-week.svelte-x7sio8 .ip-cal-day.today{font-weight:600;color:var(--color-accent)}.ip-cal-week.svelte-x7sio8 .ip-cal-day.selected{background:var(--color-accent);color:#fff;font-weight:500}.ip-cal-week.svelte-x7sio8 .ip-cal-day.selected:hover{background:var(--color-accent-hover)}.ip-badge.svelte-x7sio8{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:9999px;font-size:13px;text-transform:lowercase;background:var(--color-badge-bg);color:var(--color-badge-text)}.ip-wikilink-group.svelte-x7sio8{display:flex;flex-wrap:wrap;gap:6px}.ip-wikilink-group.svelte-x7sio8 .ip-wikilink-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:9999px;font-size:13px;background:var(--color-accent-muted);color:var(--color-link, #e07070)}.ip-wikilink-group.svelte-x7sio8 .ip-wikilink-chip:hover{background:#e0505029}.ip-status-value.svelte-x7sio8{display:flex;align-items:center;gap:5px;height:22px}.ip-status-dot.svelte-x7sio8{width:6px;height:6px;border-radius:3px;flex-shrink:0}.ip-status-text.svelte-x7sio8,.ip-date-text.svelte-x7sio8,.ip-text-value.svelte-x7sio8{font-size:14px;line-height:22px;color:var(--color-text-primary)}.ip-url-link.svelte-x7sio8{font-size:14px;line-height:22px;color:var(--color-link, #e07070);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ip-url-link.svelte-x7sio8:hover{text-decoration:underline}.inline-properties.svelte-x7sio8 .ip-add-btn{margin:8px -8px;font-size:14px}.ip-add-key-input.svelte-x7sio8{font-size:14px;font-family:inherit;color:var(--color-text-primary);background:transparent;border:none;border-bottom:1px solid var(--color-accent);padding:2px 0;width:100%;outline:none}.ip-add-row.svelte-x7sio8{background:var(--color-bg-hover)}.ip-icon-trigger{all:unset;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:4px;color:var(--color-text-tertiary)}.ip-icon-trigger:hover{color:var(--color-text-secondary)}.ip-menu-content{min-width:160px;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50;padding:4px}.ip-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:5px 8px;font-size:14px;cursor:pointer;border-radius:4px;color:var(--color-text-primary)}.ip-menu-item:hover,.ip-menu-item[data-highlighted]{background:var(--color-bg-hover)}.ip-menu-destructive{color:var(--color-destructive)!important}.ip-menu-destructive:hover,.ip-menu-destructive[data-highlighted]{background:#e54d4d1a!important}.ip-menu-item-icon.svelte-x7sio8{display:flex;align-items:center;flex-shrink:0}.ip-menu-check.svelte-x7sio8{margin-left:auto;display:flex;align-items:center}.ip-menu-sep{height:1px;background:var(--color-border);margin:4px 0}.editor-wrap.svelte-ok7wy5{display:flex;min-height:0;position:relative}.cm-container.svelte-ok7wy5{flex:1}.cm-container.svelte-ok7wy5 .cm-editor{min-height:400px;outline:none}.cm-container.svelte-ok7wy5 .cm-scroller{overflow:visible!important}.cursor-overlay.svelte-ok7wy5{position:absolute;inset:0;pointer-events:none;overflow:hidden}.remote-cursor.svelte-ok7wy5{position:absolute;width:2px;background-color:var(--cursor-color);z-index:10}.remote-cursor-label.svelte-ok7wy5{position:absolute;top:-1.4em;left:-1px;font-size:12px;font-family:var(--font-sans);font-weight:500;padding:0 4px;border-radius:3px 3px 3px 0;white-space:nowrap;line-height:1.5;color:#fff}.csv-editor.svelte-63hltt{padding:32px 40px 0}.table-scroll.svelte-63hltt{overflow-x:auto}table.svelte-63hltt{border-collapse:collapse;width:max-content;min-width:100%;font-size:14px;font-family:var(--font-sans)}th.svelte-63hltt,td.svelte-63hltt{border:1px solid var(--color-border);padding:0;height:32px;min-width:120px;max-width:300px}th.svelte-63hltt{background:transparent;font-weight:500;color:var(--color-text-secondary);position:sticky;top:0;z-index:1}th.svelte-63hltt:not(.row-num):not(.col-add){position:sticky;top:0;z-index:1}.row-num.svelte-63hltt{width:40px;min-width:40px;max-width:40px;text-align:center;color:var(--color-text-tertiary);font-size:12px;background:transparent}.cell-input.svelte-63hltt{width:100%;height:100%;border:none;background:transparent;color:var(--color-text-primary);font-family:var(--font-sans);font-size:14px;padding:4px 8px;outline:none}.cell-input.svelte-63hltt:focus{outline:2px solid var(--color-accent);outline-offset:-2px}.header-input.svelte-63hltt{font-weight:500;color:var(--color-text-secondary)}th.svelte-63hltt:not(.row-num):not(.col-add){position:relative}th.svelte-63hltt .col-delete-btn{position:absolute;top:2px;right:2px;width:18px;height:18px;display:none;background:var(--color-bg-hover);border-radius:3px;padding:0}th.svelte-63hltt:hover .col-delete-btn{display:flex}th.svelte-63hltt .col-delete-btn:hover{color:var(--color-destructive);background:var(--color-bg-selected)}.col-add.svelte-63hltt{width:32px;border:none;background:transparent}.col-add.svelte-63hltt .col-add-btn{width:100%;height:100%;border-radius:0;padding:0}.col-add.svelte-63hltt .col-add-btn:hover{color:var(--color-accent)}.actions.svelte-63hltt{width:32px;text-align:center;border:none}.actions.svelte-63hltt .delete-btn{display:none;width:20px;height:20px;padding:0;margin:0 auto}tr.svelte-63hltt:hover .delete-btn{display:flex}tr.svelte-63hltt .delete-btn:hover{color:var(--color-destructive)}.csv-footer.svelte-63hltt{display:flex;align-items:center;gap:16px;padding:8px 0}.csv-footer.svelte-63hltt .add-row-btn{font-size:14px}.remote-active.svelte-63hltt{outline:2px solid var(--rc-color, #e05050);outline-offset:-2px;position:relative}.remote-cell-label.svelte-63hltt{position:absolute;top:-18px;left:-1px;font-size:11px;font-family:var(--font-sans);font-weight:500;padding:0 4px;border-radius:3px 3px 3px 0;white-space:nowrap;line-height:1.6;color:#fff;z-index:2;pointer-events:none}.diff-view.svelte-1g4tvol{flex:1;overflow-y:auto;min-height:0}.diff-properties.svelte-1g4tvol{padding:16px 40px 8px;border-bottom:1px solid var(--color-border)}.dp-row.svelte-1g4tvol{display:grid;grid-template-columns:20px 120px 1fr;align-items:start;gap:8px;padding:5px 8px;margin:0 -8px;border-radius:4px;min-height:30px}.dp-icon.svelte-1g4tvol{display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);height:22px}.dp-key.svelte-1g4tvol{font-size:14px;color:var(--color-text-tertiary);line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dp-value.svelte-1g4tvol{display:flex;flex-direction:column;gap:2px;min-height:22px;line-height:22px;font-size:14px;color:var(--color-text-primary)}.dp-diff-old.svelte-1g4tvol{display:inline-flex;align-items:center;padding:0 8px;border-radius:4px;background:#dc505026;color:var(--color-destructive, #e54d4d);min-height:22px;line-height:22px;width:fit-content}.dp-diff-new.svelte-1g4tvol{display:inline-flex;align-items:center;padding:0 8px;border-radius:4px;background:#50c86426;color:var(--color-success, #3ecf8e);min-height:22px;line-height:22px;width:fit-content}.diff-body.svelte-1g4tvol{padding:32px 40px;font-family:var(--font-sans);font-size:16px;line-height:1.6;color:var(--color-text-primary);white-space:pre-wrap;word-break:break-word}.diff-body.svelte-1g4tvol .db-removed{background:#dc505026;color:var(--color-destructive, #e54d4d);border-radius:2px}.diff-body.svelte-1g4tvol .db-added{background:#50c86426;color:var(--color-success, #3ecf8e);border-radius:2px}.document-scroll.svelte-udj3er{flex:1;overflow-y:auto;min-height:0}.editor-bar.svelte-udj3er{height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 40px;border-bottom:1px solid var(--color-border)}.breadcrumb-path.svelte-udj3er{font-size:14px;color:var(--color-text-secondary);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.bc-sep.svelte-udj3er{color:var(--color-text-tertiary);margin:0 6px}.bc-segment.svelte-udj3er{color:var(--color-text-secondary)}.bc-current.svelte-udj3er{color:var(--color-text-primary)}.editor-actions.svelte-udj3er{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap}.status-text.svelte-udj3er{font-size:13px}.status-text.saving.svelte-udj3er{color:var(--color-text-tertiary)}.status-text.error.svelte-udj3er{color:var(--color-destructive)}.editor-actions.svelte-udj3er .open-app{text-transform:capitalize}.refresh-panel.svelte-udj3er{border-bottom:1px solid var(--color-border);padding:12px 40px;background:var(--color-bg-secondary, var(--color-bg-hover));font-size:14px;flex-shrink:0}.refresh-uptodate.svelte-udj3er{color:var(--color-text-secondary)}.editor-bar-diff.svelte-udj3er{background:var(--color-bg)}.diff-action-title.svelte-udj3er{font-size:14px;color:var(--color-text-primary);font-weight:600}.diff-action-buttons.svelte-udj3er{display:flex;align-items:center;gap:6px}@media(max-width:960px){.breadcrumb-path.svelte-udj3er{display:none}}
|
|
1
|
+
.autocomplete.svelte-84vb17{position:relative;width:100%}.input-row.svelte-84vb17{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:22px;padding:0;background:transparent;border:none;border-radius:4px}.chip.svelte-84vb17{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px;border-radius:9999px;font-size:13px;background:var(--color-accent-muted);color:var(--color-link, #e07070);flex-shrink:0}.chip.svelte-84vb17 .chip-remove{width:14px;height:14px;padding:0;color:var(--color-text-tertiary);font-size:13px;line-height:1}.chip.svelte-84vb17 .chip-remove:hover{color:var(--color-text-primary)}.ac-input.svelte-84vb17{flex:1;min-width:80px;height:22px;padding:0;font-size:14px;font-family:inherit;color:var(--color-text-primary);background:transparent;border:none;outline:none}.dropdown.svelte-84vb17{position:absolute;top:100%;left:0;right:0;margin-top:4px;max-height:240px;overflow-y:auto;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50}.dropdown-item.svelte-84vb17{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;cursor:pointer;gap:8px}.dropdown-item.highlighted.svelte-84vb17{background:var(--color-bg-hover)}.entity-title.svelte-84vb17{font-size:14px;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.entity-meta.svelte-84vb17{display:flex;align-items:center;gap:6px;flex-shrink:0}.entity-type-badge.svelte-84vb17{font-size:12px;padding:1px 6px;border-radius:9999px;background:var(--color-badge-bg);color:var(--color-badge-text)}.entity-repo.svelte-84vb17{font-size:12px;color:var(--color-text-tertiary)}.inline-properties.svelte-x7sio8{padding:16px 40px 8px;border-bottom:1px solid var(--color-border)}.ip-row.svelte-x7sio8{display:grid;grid-template-columns:20px 120px 1fr;align-items:start;gap:8px;padding:5px 8px;margin:0 -8px;border-radius:4px;min-height:30px;outline:2px solid transparent;transition:outline-color .1s}.ip-row.svelte-x7sio8:hover{outline-color:var(--color-border)}.ip-row.ip-focused.svelte-x7sio8{outline-color:var(--color-accent)}.ip-icon.svelte-x7sio8{display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);position:relative;height:22px}.ip-key.svelte-x7sio8{font-size:14px;color:var(--color-text-tertiary);line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ip-value.svelte-x7sio8{display:flex;align-items:center;min-height:22px;line-height:22px;position:relative;cursor:text}.ip-edit-input.svelte-x7sio8{font-size:14px;font-family:inherit;color:var(--color-text-primary);background:transparent;border:none;padding:0 4px;height:22px;line-height:22px;width:100%;outline:none}.ip-status-wrap.svelte-x7sio8{position:relative;width:100%}.ip-status-dropdown.svelte-x7sio8{position:absolute;top:100%;left:-4px;margin-top:4px;min-width:180px;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50;padding:4px;max-height:240px;overflow-y:auto}.ip-status-dropdown.svelte-x7sio8 .ip-status-option{display:flex;align-items:center;gap:6px;width:100%;padding:5px 8px;font-size:14px;color:var(--color-text-primary);border-radius:4px;text-align:left;justify-content:flex-start;height:auto}.ip-status-dropdown.svelte-x7sio8 .ip-status-option:hover{background:var(--color-bg-hover)}.ip-status-dropdown.svelte-x7sio8 .ip-status-option.selected{color:var(--color-accent)}.ip-cal-wrap.svelte-x7sio8{position:relative;width:100%}.ip-cal-dropdown.svelte-x7sio8{position:absolute;top:100%;left:-4px;margin-top:4px;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50;padding:12px;width:264px}.ip-cal-header.svelte-x7sio8{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ip-cal-title.svelte-x7sio8{font-size:14px;font-weight:500;color:var(--color-text-primary)}.ip-cal-header.svelte-x7sio8 .ip-cal-nav{width:28px;height:28px}.ip-cal-weekdays.svelte-x7sio8{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px}.ip-cal-wd.svelte-x7sio8{font-size:12px;color:var(--color-text-tertiary);text-align:center;padding:4px 0}.ip-cal-week.svelte-x7sio8{display:grid;grid-template-columns:repeat(7,1fr)}.ip-cal-week.svelte-x7sio8 .ip-cal-day{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border-radius:4px;font-size:14px;color:var(--color-text-primary);padding:0;height:auto}.ip-cal-week.svelte-x7sio8 .ip-cal-day:hover{background:var(--color-bg-hover)}.ip-cal-week.svelte-x7sio8 .ip-cal-day.outside{color:var(--color-text-tertiary);opacity:.5}.ip-cal-week.svelte-x7sio8 .ip-cal-day.today{font-weight:600;color:var(--color-accent)}.ip-cal-week.svelte-x7sio8 .ip-cal-day.selected{background:var(--color-accent);color:#fff;font-weight:500}.ip-cal-week.svelte-x7sio8 .ip-cal-day.selected:hover{background:var(--color-accent-hover)}.ip-badge.svelte-x7sio8{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:9999px;font-size:13px;text-transform:lowercase;background:var(--color-badge-bg);color:var(--color-badge-text)}.ip-wikilink-group.svelte-x7sio8{display:flex;flex-wrap:wrap;gap:6px}.ip-wikilink-group.svelte-x7sio8 .ip-wikilink-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:9999px;font-size:13px;background:var(--color-accent-muted);color:var(--color-link, #e07070)}.ip-wikilink-group.svelte-x7sio8 .ip-wikilink-chip:hover{background:#e0505029}.ip-status-value.svelte-x7sio8{display:flex;align-items:center;gap:5px;height:22px}.ip-status-dot.svelte-x7sio8{width:6px;height:6px;border-radius:3px;flex-shrink:0}.ip-status-text.svelte-x7sio8,.ip-date-text.svelte-x7sio8,.ip-text-value.svelte-x7sio8{font-size:14px;line-height:22px;color:var(--color-text-primary)}.ip-url-link.svelte-x7sio8{font-size:14px;line-height:22px;color:var(--color-link, #e07070);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ip-url-link.svelte-x7sio8:hover{text-decoration:underline}.inline-properties.svelte-x7sio8 .ip-add-btn{margin:8px -8px;font-size:14px}.ip-add-key-input.svelte-x7sio8{font-size:14px;font-family:inherit;color:var(--color-text-primary);background:transparent;border:none;border-bottom:1px solid var(--color-accent);padding:2px 0;width:100%;outline:none}.ip-add-row.svelte-x7sio8{background:var(--color-bg-hover)}.ip-icon-trigger{all:unset;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:4px;color:var(--color-text-tertiary)}.ip-icon-trigger:hover{color:var(--color-text-secondary)}.ip-menu-content{min-width:160px;background:var(--color-bg-elevated);border:1px solid var(--color-border);border-radius:6px;box-shadow:0 4px 16px #00000040;z-index:50;padding:4px}.ip-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:5px 8px;font-size:14px;cursor:pointer;border-radius:4px;color:var(--color-text-primary)}.ip-menu-item:hover,.ip-menu-item[data-highlighted]{background:var(--color-bg-hover)}.ip-menu-destructive{color:var(--color-destructive)!important}.ip-menu-destructive:hover,.ip-menu-destructive[data-highlighted]{background:#e54d4d1a!important}.ip-menu-item-icon.svelte-x7sio8{display:flex;align-items:center;flex-shrink:0}.ip-menu-check.svelte-x7sio8{margin-left:auto;display:flex;align-items:center}.ip-menu-sep{height:1px;background:var(--color-border);margin:4px 0}.editor-wrap.svelte-ok7wy5{display:flex;min-height:0;position:relative}.cm-container.svelte-ok7wy5{flex:1}.cm-container.svelte-ok7wy5 .cm-editor{min-height:400px;outline:none}.cm-container.svelte-ok7wy5 .cm-scroller{overflow:visible!important}.cursor-overlay.svelte-ok7wy5{position:absolute;inset:0;pointer-events:none;overflow:hidden}.remote-cursor.svelte-ok7wy5{position:absolute;width:2px;background-color:var(--cursor-color);z-index:10}.remote-cursor-label.svelte-ok7wy5{position:absolute;top:-1.4em;left:-1px;font-size:12px;font-family:var(--font-sans);font-weight:500;padding:0 4px;border-radius:3px 3px 3px 0;white-space:nowrap;line-height:1.5;color:#fff}.csv-editor.svelte-63hltt{padding:32px 40px 0}.table-scroll.svelte-63hltt{overflow-x:auto}table.svelte-63hltt{border-collapse:collapse;width:max-content;min-width:100%;font-size:14px;font-family:var(--font-sans)}th.svelte-63hltt,td.svelte-63hltt{border:1px solid var(--color-border);padding:0;height:32px;min-width:120px;max-width:300px}th.svelte-63hltt{background:transparent;font-weight:500;color:var(--color-text-secondary);position:sticky;top:0;z-index:1}th.svelte-63hltt:not(.row-num):not(.col-add){position:sticky;top:0;z-index:1}.row-num.svelte-63hltt{width:40px;min-width:40px;max-width:40px;text-align:center;color:var(--color-text-tertiary);font-size:12px;background:transparent}.cell-input.svelte-63hltt{width:100%;height:100%;border:none;background:transparent;color:var(--color-text-primary);font-family:var(--font-sans);font-size:14px;padding:4px 8px;outline:none}.cell-input.svelte-63hltt:focus{outline:2px solid var(--color-accent);outline-offset:-2px}.header-input.svelte-63hltt{font-weight:500;color:var(--color-text-secondary)}th.svelte-63hltt:not(.row-num):not(.col-add){position:relative}th.svelte-63hltt .col-delete-btn{position:absolute;top:2px;right:2px;width:18px;height:18px;display:none;background:var(--color-bg-hover);border-radius:3px;padding:0}th.svelte-63hltt:hover .col-delete-btn{display:flex}th.svelte-63hltt .col-delete-btn:hover{color:var(--color-destructive);background:var(--color-bg-selected)}.col-add.svelte-63hltt{width:32px;border:none;background:transparent}.col-add.svelte-63hltt .col-add-btn{width:100%;height:100%;border-radius:0;padding:0}.col-add.svelte-63hltt .col-add-btn:hover{color:var(--color-accent)}.actions.svelte-63hltt{width:32px;text-align:center;border:none}.actions.svelte-63hltt .delete-btn{display:none;width:20px;height:20px;padding:0;margin:0 auto}tr.svelte-63hltt:hover .delete-btn{display:flex}tr.svelte-63hltt .delete-btn:hover{color:var(--color-destructive)}.csv-footer.svelte-63hltt{display:flex;align-items:center;gap:16px;padding:8px 0}.csv-footer.svelte-63hltt .add-row-btn{font-size:14px}.remote-active.svelte-63hltt{outline:2px solid var(--rc-color, #e05050);outline-offset:-2px;position:relative}.remote-cell-label.svelte-63hltt{position:absolute;top:-18px;left:-1px;font-size:11px;font-family:var(--font-sans);font-weight:500;padding:0 4px;border-radius:3px 3px 3px 0;white-space:nowrap;line-height:1.6;color:#fff;z-index:2;pointer-events:none}.diff-view.svelte-1g4tvol{flex:1;overflow-y:auto;min-height:0}.diff-properties.svelte-1g4tvol{padding:16px 40px 8px;border-bottom:1px solid var(--color-border)}.dp-row.svelte-1g4tvol{display:grid;grid-template-columns:20px 120px 1fr;align-items:start;gap:8px;padding:5px 8px;margin:0 -8px;border-radius:4px;min-height:30px}.dp-icon.svelte-1g4tvol{display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);height:22px}.dp-key.svelte-1g4tvol{font-size:14px;color:var(--color-text-tertiary);line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dp-value.svelte-1g4tvol{display:flex;flex-direction:column;gap:2px;min-height:22px;line-height:22px;font-size:14px;color:var(--color-text-primary)}.dp-diff-old.svelte-1g4tvol{display:inline-flex;align-items:center;padding:0 8px;border-radius:4px;background:#dc505026;color:var(--color-destructive, #e54d4d);min-height:22px;line-height:22px;width:fit-content}.dp-diff-new.svelte-1g4tvol{display:inline-flex;align-items:center;padding:0 8px;border-radius:4px;background:#50c86426;color:var(--color-success, #3ecf8e);min-height:22px;line-height:22px;width:fit-content}.diff-body.svelte-1g4tvol{padding:32px 40px;font-family:var(--font-sans);font-size:16px;line-height:1.6;color:var(--color-text-primary);white-space:pre-wrap;word-break:break-word}.diff-body.svelte-1g4tvol .db-removed{background:#dc505026;color:var(--color-destructive, #e54d4d);border-radius:2px}.diff-body.svelte-1g4tvol .db-added{background:#50c86426;color:var(--color-success, #3ecf8e);border-radius:2px}.document-scroll.svelte-udj3er{flex:1;overflow-y:auto;min-height:0}.document-well.svelte-udj3er{max-width:720px;margin:0 auto;width:100%}.editor-bar.svelte-udj3er{height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 40px;border-bottom:1px solid var(--color-border)}.breadcrumb-path.svelte-udj3er{font-size:14px;color:var(--color-text-secondary);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.bc-sep.svelte-udj3er{color:var(--color-text-tertiary);margin:0 6px}.bc-segment.svelte-udj3er{color:var(--color-text-secondary)}.bc-current.svelte-udj3er{color:var(--color-text-primary)}.editor-actions.svelte-udj3er{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap}.status-text.svelte-udj3er{font-size:13px}.status-text.saving.svelte-udj3er{color:var(--color-text-tertiary)}.status-text.error.svelte-udj3er{color:var(--color-destructive)}.editor-actions.svelte-udj3er .open-app{text-transform:capitalize}.refresh-panel.svelte-udj3er{border-bottom:1px solid var(--color-border);padding:12px 40px;background:var(--color-bg-secondary, var(--color-bg-hover));font-size:14px;flex-shrink:0}.refresh-uptodate.svelte-udj3er{color:var(--color-text-secondary)}.editor-bar-diff.svelte-udj3er{background:var(--color-bg)}.diff-action-title.svelte-udj3er{font-size:14px;color:var(--color-text-primary);font-weight:600}.diff-action-buttons.svelte-udj3er{display:flex;align-items:center;gap:6px}@media(max-width:960px){.breadcrumb-path.svelte-udj3er{display:none}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aS as b,bl as O,aC as y,Y as u,g as f,s as d}from"./BYbm6UVc.js";const h=[];function A(e,t=b){let n=null;const r=new Set;function s(o){if(O(e,o)&&(e=o,n)){const l=!h.length;for(const c of r)c[1](),h.push(c,e);if(l){for(let c=0;c<h.length;c+=2)h[c][0](h[c+1]);h.length=0}}}function i(o){s(o(e))}function a(o,l=b){const c=[o,l];return r.add(c),r.size===1&&(n=t(s,i)||b),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}new URL("sveltekit-internal://");function G(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function z(e){return e.split("%25").map(decodeURI).join("%25")}function D(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function H({href:e}){return e.split("#")[0]}function K(e,t,n,r=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return(c,...x)=>(n(c),a[o](c,...x));t();const l=Reflect.get(a,o);return typeof l=="function"?l.bind(a):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const a of i)Object.defineProperty(s,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return s}function N(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let s=r.length;for(;s;)t=t*33^r[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function I(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const L=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&p.delete(m(e)),L(e,t));const p=new Map;function B(e,t){const n=m(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:s,...i}=JSON.parse(r.textContent);const a=r.getAttribute("data-ttl");return a&&p.set(n,{body:s,init:i,ttl:1e3*Number(a)}),r.getAttribute("data-b64")!==null&&(s=I(s)),Promise.resolve(new Response(s,i))}return window.fetch(e,t)}function J(e,t,n){if(p.size>0){const r=m(e,n),s=p.get(r);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(s.body,s.init);p.delete(r)}}return window.fetch(t,n)}function m(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),r+=`[data-hash="${N(...s)}"]`}return r}const P=globalThis.__sveltekit_129insn?.base??"",$=globalThis.__sveltekit_129insn?.assets??P??"",q="1774591322823",W="sveltekit:snapshot",X="sveltekit:scroll",M="sveltekit:states",F="sveltekit:pageurl",Q="sveltekit:history",Z="sveltekit:navigation",v={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},k=location.origin;function ee(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function te(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...v,"":v.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ne(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function re(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!s||C(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=r?.origin===k&&e.hasAttribute("download");return{url:r,external:i,target:s,download:a}}function se(e){let t=null,n=null,r=null,s=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=g(o,"preload-code")),s===null&&(s=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[r??"off"],preload_data:S[s??"off"],keepfocus:l(t),noscroll:l(n),reload:l(i),replace_state:l(a)}}function oe(e){const t=A(e);let n=!0;function r(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&a(o=l)})}return{notify:r,set:s,subscribe:i}}const E={v:()=>{}};function ae(){const{set:e,subscribe:t}=A(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${$}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==q;return a&&(e(!0),E.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function C(e,t,n){return e.origin!==k||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function ie(e){}const U=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...U];const V=new Set([...U]);[...V];let w,R,_;const Y=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString());Y?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},R={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#r=u({});get params(){return f(this.#r)}set params(t){d(this.#r,t)}#s=u({id:null});get route(){return f(this.#s)}set route(t){d(this.#s,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL("https://example.com"));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},R=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},E.v=()=>_.current=!0);function fe(e){Object.assign(w,e)}export{Q as H,Z as N,F as P,M as S,z as a,P as b,ae as c,D as d,R as e,B as f,J as g,ne as h,C as i,re as j,se as k,H as l,K as m,G as n,k as o,w as p,v as q,ee as r,te as s,X as t,fe as u,W as v,A as w,oe as x,ie as y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Y as I,a6 as _,s as a,g as s,a7 as U}from"./BYbm6UVc.js";import{i as H,g as L}from"./
|
|
1
|
+
import{Y as I,a6 as _,s as a,g as s,a7 as U}from"./BYbm6UVc.js";import{i as H,g as L}from"./CVWwAMr5.js";import{n as h}from"./BEqlCcV9.js";import{w as V}from"./C-ARUxRt.js";function W(g,c,n){fetch("/api/chat/stream",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g),signal:n}).then(async o=>{if(!o.ok){c({type:"error",message:`HTTP ${o.status}`});return}const r=o.body?.getReader();if(!r){c({type:"error",message:"No response body"});return}const m=new TextDecoder;let f="";for(;;){const{done:b,value:O}=await r.read();if(b)break;f+=m.decode(O,{stream:!0});const C=f.split(`
|
|
2
2
|
`);f=C.pop()??"";for(const p of C)if(p.startsWith("data: "))try{const x=JSON.parse(p.slice(6));c(x)}catch{}}}).catch(o=>{o.name!=="AbortError"&&c({type:"error",message:o.message})})}const D="sg-chat-sessions",J="sg-chat-version",X=14;function w(){try{const g=localStorage.getItem(D);if(!g)return[];if(localStorage.getItem(J)==="2")return JSON.parse(g);const o=JSON.parse(g).map(r=>({id:crypto.randomUUID(),createdAt:r.date+"T00:00:00.000Z",updatedAt:r.date+"T00:00:00.000Z",title:r.messages.find(m=>m.role==="user")?.content.slice(0,50)||"New chat",messages:r.messages}));return localStorage.setItem(D,JSON.stringify(o)),localStorage.setItem(J,"2"),o}catch{return[]}}function $(g){const n=[...g].sort((o,r)=>r.updatedAt.localeCompare(o.updatedAt)).slice(0,X);try{localStorage.setItem(D,JSON.stringify(n)),localStorage.setItem(J,"2")}catch{}}function k(g,c){const n=w(),o=c.map(({streaming:m,...f})=>f),r=n.findIndex(m=>m.id===g);r>=0&&(n[r].messages=o,n[r].updatedAt=new Date().toISOString()),$(n)}function z(){const c=w().sort((e,i)=>i.updatedAt.localeCompare(e.updatedAt))[0];let n=I(_(c?c.messages.map(e=>({...e,streaming:!1})):[])),o=I(_(c?.id??null)),r=I(!1),m=I(0),f=I(0),b=I(null),O=null,C=I(""),p=I(_(!!c));const x=new Set(["create_entity","update_entity","delete_entity","move_entity"]);function R(){N();const e=crypto.randomUUID();a(o,e,!0),a(n,[],!0),a(p,!1)}function M(){if(s(o)&&s(p))return s(o);const e=s(o)||crypto.randomUUID();a(o,e,!0);const i=new Date().toISOString(),d=w();return d.push({id:e,createdAt:i,updatedAt:i,title:"New chat",messages:[]}),$(d),a(p,!0),e}function E(e){if(!e.trim()||s(r))return;a(b,null);const i=M();s(n).push({role:"user",content:e}),s(n).push({role:"agent",content:"",segments:[],streaming:!0}),a(r,!0);const d=w(),l=d.find(t=>t.id===i);l&&l.title==="New chat"&&(l.title=e.slice(0,50),$(d)),k(i,s(n));let A=!1,T=null;O=new AbortController;const q=h.selectedSubPath?`${h.selectedRepo}/${h.selectedType}/${h.selectedId}/${h.selectedSubPath}`:h.selectedId?`${h.selectedRepo}/${h.selectedType}/${h.selectedId}`:null,P=s(n).slice(0,-2).map(t=>({role:t.role==="agent"?"assistant":t.role,content:t.content})),G={message:e,context:q??void 0,sessionId:i,history:P.length>0?P:void 0};W(G,t=>{const u=s(n)[s(n).length-1];if(!u||u.role!=="agent")return;const y=u.segments;switch(t.type){case"token":{u.content+=t.text??"";const S=y[y.length-1];S&&S.type==="text"?S.content+=t.text??"":y.push({type:"text",content:t.text??""}),u.segments=y,U(f);break}case"tool_start":if(t.name){x.has(t.name)&&(A=!0);const S=y[y.length-1];S&&S.type==="tools"?S.names=[...S.names,t.name]:y.push({type:"tools",names:[t.name]}),u.segments=y,U(f)}break;case"mutation":A=!0,t.action==="created"&&t.repo&&t.entityType&&t.entityId&&(T={repo:t.repo,entityType:t.entityType,entityId:t.entityId}),window.StudioChrome?.emitMutation?.({action:t.action,repo:t.repo,entityType:t.entityType,entityId:t.entityId});break;case"highlight":a(b,t.entityIds&&t.entityIds.length>0?new Set(t.entityIds):null,!0);break;case"done":t.message&&!u.content&&(u.content=t.message,u.segments=[{type:"text",content:t.message}]),u.streaming=!1,a(r,!1),k(i,s(n)),A&&(H().then(()=>{U(m)}),V.refreshAll().then(()=>{T&&L(`/${T.repo}/${T.entityType}/${T.entityId}`)}));break;case"error":u.content+=`
|
|
3
3
|
|
|
4
4
|
Error: ${t.message}`,u.streaming=!1,a(r,!1),k(i,s(n));break}},O.signal)}function N(){O?.abort(),a(r,!1);const e=s(n)[s(n).length-1];e?.streaming&&(e.streaming=!1),fetch("/api/chat/abort",{method:"POST",credentials:"include"}).catch(()=>{})}function Y(){N(),a(n,[],!0),s(o)&&s(p)&&k(s(o),s(n))}function K(e){const d=w().filter(l=>l.id!==e);if($(d),s(o)===e){const l=d.sort((A,T)=>T.updatedAt.localeCompare(A.updatedAt));l.length>0?(a(o,l[0].id,!0),a(n,l[0].messages.map(A=>({...A,streaming:!1})),!0),a(p,!0)):(a(o,null),a(n,[],!0),a(p,!1))}}function Z(e){const d=w().find(l=>l.id===e);d&&(N(),a(o,d.id,!0),a(n,d.messages.map(l=>({...l,streaming:!1})),!0),a(p,!0))}function j(){return w().sort((e,i)=>i.updatedAt.localeCompare(e.updatedAt)).map(e=>({id:e.id,title:e.title,createdAt:e.createdAt,updatedAt:e.updatedAt,preview:e.messages.find(i=>i.role==="user")?.content.slice(0,80)||"",count:e.messages.length,active:e.id===s(o)}))}return{get messages(){return s(n)},get streaming(){return s(r)},get mutationCount(){return s(m)},get scrollTick(){return s(f)},get highlightedIds(){return s(b)},get activeSessionId(){return s(o)},get draftInput(){return s(C)},set draftInput(e){a(C,e,!0)},send:E,stop:N,clear:Y,newSession:R,deleteSession:K,getSessions:j,loadSession:Z}}const ee=z();export{ee as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{O as B,f as F,g as A,e as V,w as S,a as J,t as v,c as D,r as L,b as _,d as N,h as E,i as P,j as G,k as O,l as q,D as R,m as z}from"./CLFba8FK.js";import{r as M}from"./
|
|
1
|
+
import{O as B,f as F,g as A,e as V,w as S,a as J,t as v,c as D,r as L,b as _,d as N,h as E,i as P,j as G,k as O,l as q,D as R,m as z}from"./CLFba8FK.js";import{r as M}from"./DHol2fKe.js";const b=3e4;class K extends B{constructor(n){super(),this.doc=n,this.clientID=n.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{const e=A();this.getLocalState()!==null&&b/2<=e-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());const s=[];this.meta.forEach((a,c)=>{c!==this.clientID&&b<=e-a.lastUpdated&&this.states.has(c)&&s.push(c)}),s.length>0&&x(this,s,"timeout")},F(b/10)),n.on("destroy",()=>{this.destroy()}),this.setLocalState({})}destroy(){this.emit("destroy",[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(n){const e=this.clientID,s=this.meta.get(e),a=s===void 0?0:s.clock+1,c=this.states.get(e);n===null?this.states.delete(e):this.states.set(e,n),this.meta.set(e,{clock:a,lastUpdated:A()});const l=[],u=[],r=[],p=[];n===null?p.push(e):c==null?n!=null&&l.push(e):(u.push(e),V(c,n)||r.push(e)),(l.length>0||r.length>0||p.length>0)&&this.emit("change",[{added:l,updated:r,removed:p},"local"]),this.emit("update",[{added:l,updated:u,removed:p},"local"])}setLocalStateField(n,e){const s=this.getLocalState();s!==null&&this.setLocalState({...s,[n]:e})}getStates(){return this.states}}const x=(t,n,e)=>{const s=[];for(let a=0;a<n.length;a++){const c=n[a];if(t.states.has(c)){if(t.states.delete(c),c===t.clientID){const l=t.meta.get(c);t.meta.set(c,{clock:l.clock+1,lastUpdated:A()})}s.push(c)}}s.length>0&&(t.emit("change",[{added:[],updated:[],removed:s},e]),t.emit("update",[{added:[],updated:[],removed:s},e]))},Q=(t,n,e=t.states)=>{const s=n.length,a=D();S(a,s);for(let c=0;c<s;c++){const l=n[c],u=e.get(l)||null,r=t.meta.get(l).clock;S(a,l),S(a,r),J(a,JSON.stringify(u))}return v(a)},X=(t,n,e)=>{const s=N(n),a=A(),c=[],l=[],u=[],r=[],p=L(s);for(let m=0;m<p;m++){const d=L(s);let g=L(s);const h=JSON.parse(_(s)),y=t.meta.get(d),k=t.states.get(d),o=y===void 0?0:y.clock;(o<g||o===g&&h===null&&t.states.has(d))&&(h===null?d===t.clientID&&t.getLocalState()!=null?g++:t.states.delete(d):t.states.set(d,h),t.meta.set(d,{clock:g,lastUpdated:a}),y===void 0&&h!==null?c.push(d):y!==void 0&&h===null?r.push(d):h!==null&&(V(h,k)||u.push(d),l.push(d)))}(c.length>0||u.length>0||r.length>0)&&t.emit("change",[{added:c,updated:u,removed:r},e]),(c.length>0||l.length>0||r.length>0)&&t.emit("update",[{added:c,updated:l,removed:r},e])},W=0,j=1,C=2,Z=(t,n)=>{S(t,W);const e=P(n);E(t,e)},$=(t,n,e)=>{S(t,j),E(t,q(n,e))},H=(t,n,e)=>$(n,e,O(t)),Y=(t,n,e,s)=>{try{G(n,O(t),e)}catch(a){s?.(a),console.error("Caught error while handling a Yjs update",a)}},tt=(t,n)=>{S(t,C),E(t,n)},et=Y,nt=(t,n,e,s,a)=>{const c=L(t);switch(c){case W:H(t,n,e);break;case j:Y(t,e,s,a);break;case C:et(t,e,s,a);break;default:throw new Error("Unknown message type")}return c},U=0,T=1;function st(t,n,e){const s=new TextEncoder().encode(t),a=new ArrayBuffer(2+s.length+1+e.length);return new DataView(a).setUint16(0,s.length),new Uint8Array(a,2,s.length).set(s),new Uint8Array(a)[2+s.length]=n,new Uint8Array(a,2+s.length+1).set(e),a}function at(t){if(t.byteLength<3)return null;const e=new DataView(t).getUint16(0);if(t.byteLength<2+e+1)return null;const s=new TextDecoder().decode(new Uint8Array(t,2,e)),a=new Uint8Array(t)[2+e],c=new Uint8Array(t,2+e+1);return{docName:s,msgType:a,payload:c}}function lt(t,n){const e=new R,s=e.getText("content"),a=new K(e);a.setLocalStateField("user",{name:n.name,color:n.color,colorLight:n.colorLight??n.color+"33"});let c=null,l=!1;function u(){return M.ws??null}function r(o,f){const i=u();!i||i.readyState!==WebSocket.OPEN||i.send(st(t,o,f))}function p(){const o=D();Z(o,e),r(U,v(o))}function m(o){const f=o??[e.clientID],i=Q(a,f);r(T,i)}function d(o){if(l||typeof o.data=="string")return;const f=o.data instanceof ArrayBuffer?o.data:null;if(!f)return;const i=at(f);if(!(!i||i.docName!==t))if(i.msgType===U){const I=N(i.payload),w=D();nt(I,w,e,"ws-server"),z(w)>0&&r(U,v(w))}else i.msgType===T&&X(a,i.payload,"ws-server")}function g(o,f){if(l||f==="ws-server")return;const i=D();tt(i,o),r(U,v(i))}function h({added:o,updated:f,removed:i},I){if(l||I==="ws-server")return;const w=o.concat(f,i);m(w)}function y(){if(l)return;const o=u();!o||o.readyState!==WebSocket.OPEN||(o.send(JSON.stringify({type:"collab:join",docName:t})),c&&o.removeEventListener("message",c),c=d,o.addEventListener("message",c),p(),m())}e.on("update",g),a.on("update",h),y(),M.addConnectHandler(y);function k(){if(l)return;l=!0,x(a,[e.clientID],"local"),m([e.clientID]);const o=u();o&&o.readyState===WebSocket.OPEN&&o.send(JSON.stringify({type:"collab:leave",docName:t})),c&&o&&(o.removeEventListener("message",c),c=null),e.off("update",g),a.off("update",h),a.destroy(),e.destroy()}return{ydoc:e,ytext:s,awareness:a,destroy:k}}export{lt as createCollabSession};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p,s as fe,f as Q,p as X,g as x,b as W}from"./BYgtSFKq.js";import{i as ve}from"./qLcHE2VO.js";import{p as H,l as q,s as N,d as U,g as i,a as pe,c as I,n as ge,r as R,b as T,m as G,t as he,a4 as O,aS as D,ag as E,Y as _e,a6 as me}from"./BYbm6UVc.js";import{i as k}from"./DUJDFyU7.js";import{a as z,s as A}from"./CGZ5Stl2.js";import{l as J,p as l,r as $,s as ce}from"./CT4WYSCT.js";import{c as ee,n as j,M as ye,b,m as B,a as be,d as Pe,e as we,F as Me,f as Se,P as Ce,g as xe,h as ue,D as Oe,i as Fe,j as Ie}from"./DZiqytsh.js";import{r as le}from"./
|
|
1
|
+
import{a as p,s as fe,f as Q,p as X,g as x,b as W}from"./BYgtSFKq.js";import{i as ve}from"./qLcHE2VO.js";import{p as H,l as q,s as N,d as U,g as i,a as pe,c as I,n as ge,r as R,b as T,m as G,t as he,a4 as O,aS as D,ag as E,Y as _e,a6 as me}from"./BYbm6UVc.js";import{i as k}from"./DUJDFyU7.js";import{a as z,s as A}from"./CGZ5Stl2.js";import{l as J,p as l,r as $,s as ce}from"./CT4WYSCT.js";import{c as ee,n as j,M as ye,b,m as B,a as be,d as Pe,e as we,F as Me,f as Se,P as Ce,g as xe,h as ue,D as Oe,i as Fe,j as Ie}from"./DZiqytsh.js";import{r as le}from"./DHol2fKe.js";var Re=Q("<title> </title>"),Ae=Q('<svg><!><path d="M17.4141 16 24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"></path></svg>');function $e(c,e){const o=J(e,["children","$$slots","$$events","$$legacy"]),g=J(o,["size","title"]);H(e,!1);const u=G(),f=G();let P=l(e,"size",8,16),v=l(e,"title",8,void 0);q(()=>(U(o),U(v())),()=>{N(u,o["aria-label"]||o["aria-labelledby"]||v())}),q(()=>(i(u),U(o)),()=>{N(f,{"aria-hidden":i(u)?void 0:!0,role:i(u)?"img":void 0,focusable:Number(o.tabindex)===0?!0:void 0})}),pe(),ve();var d=Ae();z(d,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:P(),height:P(),...i(f),...g}));var w=I(d);{var h=_=>{var n=Re(),t=I(n,!0);R(n),he(()=>fe(t,v())),p(_,n)};k(w,_=>{v()&&_(h)})}ge(),R(d),p(c,d),T()}var Ee=W("<div><!></div>");function ze(c,e){const o=X();H(e,!0);let g=l(e,"ref",15,null),u=l(e,"id",19,()=>ee(o)),f=l(e,"disabled",3,!1),P=l(e,"onSelect",3,j),v=l(e,"closeOnSelect",3,!0),d=$(e,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const w=ye.create({id:b(()=>u()),disabled:b(()=>f()),onSelect:b(()=>P()),ref:b(()=>g(),r=>g(r)),closeOnSelect:b(()=>v())}),h=E(()=>B(d,w.props));var _=x(),n=O(_);{var t=r=>{var s=x(),m=O(s);A(m,()=>e.child,()=>({props:i(h)})),p(r,s)},a=r=>{var s=Ee();z(s,()=>({...i(h)}));var m=I(s);A(m,()=>e.children??D),R(s),p(r,s)};k(n,r=>{e.child?r(t):r(a,!1)})}p(c,_),T()}var ke=W("<div><!></div>");function Ke(c,e){const o=X();H(e,!0);let g=l(e,"ref",15,null),u=l(e,"id",19,()=>ee(o)),f=$(e,["$$slots","$$events","$$legacy","ref","id","child","children"]);const P=be.create({id:b(()=>u()),ref:b(()=>g(),n=>g(n))}),v=E(()=>B(f,P.props));var d=x(),w=O(d);{var h=n=>{var t=x(),a=O(t);A(a,()=>e.child,()=>({props:i(v)})),p(n,t)},_=n=>{var t=ke();z(t,()=>({...i(v)}));var a=I(t);A(a,()=>e.children??D),R(t),p(n,t)};k(w,n=>{e.child?n(h):n(_,!1)})}p(c,d),T()}function He(c,e){H(e,!0);let o=l(e,"open",15,!1),g=l(e,"dir",3,"ltr"),u=l(e,"onOpenChange",3,j),f=l(e,"onOpenChangeComplete",3,j),P=l(e,"_internal_variant",3,"dropdown-menu");const v=Pe.create({variant:b(()=>P()),dir:b(()=>g()),onClose:()=>{o(!1),u()(!1)}});we.create({open:b(()=>o(),d=>{o(d),u()(d)}),onOpenChangeComplete:b(()=>f())},v),Me(c,{children:(d,w)=>{var h=x(),_=O(h);A(_,()=>e.children??D),p(d,h)},$$slots:{default:!0}}),T()}var Te=W("<div><div><!></div></div>"),Ue=W("<div><div><!></div></div>");function je(c,e){const o=X();H(e,!0);let g=l(e,"id",19,()=>ee(o)),u=l(e,"ref",15,null),f=l(e,"loop",3,!0),P=l(e,"onInteractOutside",3,j),v=l(e,"onEscapeKeydown",3,j),d=l(e,"onCloseAutoFocus",3,j),w=l(e,"forceMount",3,!1),h=l(e,"trapFocus",3,!1),_=$(e,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]);const n=Se.create({id:b(()=>g()),loop:b(()=>f()),ref:b(()=>u(),y=>u(y)),onCloseAutoFocus:b(()=>d())}),t=E(()=>B(_,n.props));function a(y){if(n.handleInteractOutside(y),!y.defaultPrevented&&(P()(y),!y.defaultPrevented)){if(y.target&&y.target instanceof Element){const re=`[${n.parentMenu.root.getBitsAttr("sub-content")}]`;if(y.target.closest(re))return}n.parentMenu.onClose()}}function r(y){v()(y),!y.defaultPrevented&&n.parentMenu.onClose()}var s=x(),m=O(s);{var C=y=>{Ce(y,ce(()=>i(t),()=>n.popperProps,{get ref(){return n.opts.ref},get enabled(){return n.parentMenu.opts.open.current},onInteractOutside:a,onEscapeKeydown:r,get trapFocus(){return h()},get loop(){return f()},forceMount:!0,get id(){return g()},get shouldRender(){return n.shouldRender},popper:(ne,L)=>{let ae=()=>L?.().props,Z=()=>L?.().wrapperProps;const V=E(()=>B(ae(),{style:ue("dropdown-menu")},{style:e.style}));var Y=x(),oe=O(Y);{var se=S=>{var M=x(),F=O(M);{let K=E(()=>({props:i(V),wrapperProps:Z(),...n.snippetProps}));A(F,()=>e.child,()=>i(K))}p(S,M)},ie=S=>{var M=Te();z(M,()=>({...Z()}));var F=I(M);z(F,()=>({...i(V)}));var K=I(F);A(K,()=>e.children??D),R(F),R(M),p(S,M)};k(oe,S=>{e.child?S(se):S(ie,!1)})}p(ne,Y)},$$slots:{popper:!0}}))},te=y=>{xe(y,ce(()=>i(t),()=>n.popperProps,{get ref(){return n.opts.ref},get open(){return n.parentMenu.opts.open.current},onInteractOutside:a,onEscapeKeydown:r,get trapFocus(){return h()},get loop(){return f()},forceMount:!1,get id(){return g()},get shouldRender(){return n.shouldRender},popper:(ne,L)=>{let ae=()=>L?.().props,Z=()=>L?.().wrapperProps;const V=E(()=>B(ae(),{style:ue("dropdown-menu")},{style:e.style}));var Y=x(),oe=O(Y);{var se=S=>{var M=x(),F=O(M);{let K=E(()=>({props:i(V),wrapperProps:Z(),...n.snippetProps}));A(F,()=>e.child,()=>i(K))}p(S,M)},ie=S=>{var M=Ue();z(M,()=>({...Z()}));var F=I(M);z(F,()=>({...i(V)}));var K=I(F);A(K,()=>e.children??D),R(F),R(M),p(S,M)};k(oe,S=>{e.child?S(se):S(ie,!1)})}p(ne,Y)},$$slots:{popper:!0}}))};k(m,y=>{w()?y(C):w()||y(te,1)})}p(c,s),T()}var Be=W("<button><!></button>");function De(c,e){const o=X();H(e,!0);let g=l(e,"id",19,()=>ee(o)),u=l(e,"ref",15,null),f=l(e,"disabled",3,!1),P=l(e,"type",3,"button"),v=$(e,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const d=Oe.create({id:b(()=>g()),disabled:b(()=>f()??!1),ref:b(()=>u(),h=>u(h))}),w=E(()=>B(v,d.props,{type:P()}));Fe(c,{get id(){return g()},get ref(){return d.opts.ref},children:(h,_)=>{var n=x(),t=O(n);{var a=s=>{var m=x(),C=O(m);A(C,()=>e.child,()=>({props:i(w)})),p(s,m)},r=s=>{var m=Be();z(m,()=>({...i(w)}));var C=I(m);A(C,()=>e.children??D),R(m),p(s,m)};k(t,s=>{e.child?s(a):s(r,!1)})}p(h,n)},$$slots:{default:!0}}),T()}const et=He,tt=De,rt=Ie,nt=je,at=ze,ot=Ke;function Le(){let c=_e(me({})),e=null,o=null;function g(t,a,r){o&&(clearInterval(o),o=null),e=`${t}/${a}/${r}`,f("enter",t,a,r),o=setInterval(()=>{e&&f("heartbeat",t,a,r)},3e4)}function u(){if(o&&(clearInterval(o),o=null),e){const[t,a,r]=e.split("/");t&&a&&r&&f("leave",t,a,r),e=null}}function f(t,a,r,s){le.send({type:"presence",action:t,repo:a,entityType:r,entityId:s})}function P(t){const a=`${t.repo}/${t.entityType}/${t.entityId}`,r=i(c)[a]??[];if(t.action==="leave")i(c)[a]=r.filter(s=>s.id!==t.user.id);else{const s=r.findIndex(m=>m.id===t.user.id);s>=0?(r[s]=t.user,i(c)[a]=[...r]):i(c)[a]=[...r,t.user]}}function v(){if(N(c,{},!0),!e)return;const[t,a,r]=e.split("/");t&&a&&r&&f("enter",t,a,r)}function d(t,a,r,s){const m=`${t}/${a}/${r}`,C=i(c)[m]??[];return s?C.filter(te=>te.id!==s):C}function w(t,a){const r=new Map;for(const[s,m]of Object.entries(i(c)))if(s.startsWith(t))for(const C of m)(!a||C.id!==a)&&r.set(C.id,C);return[...r.values()]}function h(t,a){return w(`${t}/`,a)}function _(t){const a=new Map;for(const r of Object.values(i(c)))for(const s of r)(!t||s.id!==t)&&a.set(s.id,s);return[...a.values()]}const n=E(()=>{const t=new Map;for(const a of Object.values(i(c)))for(const r of a)t.set(r.id,r);return[...t.values()]});return{enter:g,leave:u,handlePresenceEvent:P,resetAndResend:v,getPresence:d,getPresenceByPrefix:w,getRepoPresence:h,getAllUsers:_,get allUsers(){return i(n)}}}const de=Le();le.setPresenceHandler(c=>de.handlePresenceEvent(c));le.addConnectHandler(()=>de.resetAndResend());typeof window<"u"&&window.addEventListener("beforeunload",()=>de.leave());var Ze=Q("<title> </title>"),Ve=Q('<svg><!><path d="M25,12H20v2h5a1.0008,1.0008,0,0,1,1,1v2H22a3.0033,3.0033,0,0,0-3,3v1a3.0033,3.0033,0,0,0,3,3h6V15A3.0033,3.0033,0,0,0,25,12ZM22,22a1.0008,1.0008,0,0,1-1-1V20a1.0008,1.0008,0,0,1,1-1h4v3Z"></path><path d="M16,24h2L12,7H10L4,24H6l1.6936-5h6.6135ZM8.3711,17l2.4966-7.3711.2668.0005L13.63,17Z"></path></svg>');function st(c,e){const o=J(e,["children","$$slots","$$events","$$legacy"]),g=J(o,["size","title"]);H(e,!1);const u=G(),f=G();let P=l(e,"size",8,16),v=l(e,"title",8,void 0);q(()=>(U(o),U(v())),()=>{N(u,o["aria-label"]||o["aria-labelledby"]||v())}),q(()=>(i(u),U(o)),()=>{N(f,{"aria-hidden":i(u)?void 0:!0,role:i(u)?"img":void 0,focusable:Number(o.tabindex)===0?!0:void 0})}),pe(),ve();var d=Ve();z(d,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:P(),height:P(),...i(f),...g}));var w=I(d);{var h=_=>{var n=Ze(),t=I(n,!0);R(n),he(()=>fe(t,v())),p(_,n)};k(w,_=>{v()&&_(h)})}ge(2),R(d),p(c,d),T()}export{nt as C,at as I,rt as P,et as R,ot as S,tt as T,st as a,$e as b,de as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a0 as J,bA as ot}from"./BYbm6UVc.js";import{c as st,p as S,u as Ke,i as we,b as x,d as it,r as ye,a as lt,m as ct,n as ft,o as Fe,s as C,e as de,f as ut,S as He,N as F,H as $,g as dt,h as Be,j as he,k as X,l as le,P as ht,q as D,t as Me,v as Ve,w as pt,x as je}from"./B6Yb07I4.js";class be{constructor(t,a){this.status=t,typeof a=="string"?this.body={message:a}:a?this.body=a:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class ke{constructor(t,a){this.status=t,this.location=a}}class Ee extends Error{constructor(t,a,n){super(n),this.status=t,this.text=a}}const _t=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function mt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${vt(e).map(n=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const i=n.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return ce(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return ce(String.fromCharCode(...l.slice(2).split("-").map(v=>parseInt(v,16))));const d=_t.exec(l),[,p,u,f,h]=d;return t.push({name:f,matcher:h,optional:!!p,rest:!!u,chained:u?c===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return ce(l)}).join("")}).join("")}/?$`),params:t}}function gt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(gt)}function wt(e,t,a){const n={},r=e.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;s<t.length;s+=1){const l=t[s];let c=r[s-i];if(l.chained&&l.rest&&i&&(c=r.slice(s-i,s+1).filter(d=>d).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||a[l.matcher](c)){n[l.name]=c;const d=t[s+1],p=r[s+1];d&&!d.rest&&d.optional&&p&&l.chained&&(i=0),!d&&!p&&Object.keys(n).length===o.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return n}function ce(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function yt({nodes:e,server_loads:t,dictionary:a,matchers:n}){const r=new Set(t);return Object.entries(a).map(([s,[l,c,d]])=>{const{pattern:p,params:u}=mt(s),f={id:s,exec:h=>{const v=p.exec(h);if(v)return wt(v,u,n)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...c||[]].map(i),leaf:o(l)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function o(s){const l=s<0;return l&&(s=~s),[l,e[s]]}function i(s){return s===void 0?s:[r.has(s),e[s]]}}function Ye(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function $e(e,t,a=JSON.stringify){const n=a(t);try{sessionStorage[e]=n}catch{}}function bt(e){return e.filter(t=>t!=null)}function Se(e){return e instanceof be||e instanceof Ee?e.status:500}function kt(e){return e instanceof Ee?e.text:"Internal Error"}const Ne={spanContext(){return Et},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}},Et={traceId:"",spanId:"",traceFlags:0},St=new Set(["icon","shortcut icon","apple-touch-icon"]),O=Ye(Me)??{},H=Ye(Ve)??{},T={url:je({}),page:je({}),navigating:pt(null),updated:st()};function Re(e){O[e]=C()}function Rt(e,t){let a=e+1;for(;O[a];)delete O[a],a+=1;for(a=t+1;H[a];)delete H[a],a+=1}function B(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function ze(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function pe(){}let xe,_e,Q,P,me,w;const Z=[],ee=[];let L=null;function te(){L?.fork?.then(e=>e?.discard()),L=null}const W=new Map,Ge=new Set,xt=new Set,K=new Set;let g={branch:[],error:null,url:null},We=!1,ae=!1,De=!0,M=!1,q=!1,Je=!1,Y=!1,Le,y,R,A;const ne=new Set;let fe;const re=new Map;async function Mt(e,t,a){globalThis.__sveltekit_129insn?.data&&globalThis.__sveltekit_129insn.data,document.URL!==location.href&&(location.href=location.href),w=e,await e.hooks.init?.(),xe=yt(e),P=document.documentElement,me=t,_e=e.nodes[0],Q=e.nodes[1],_e(),Q(),y=history.state?.[$],R=history.state?.[F],y||(y=R=Date.now(),history.replaceState({...history.state,[$]:y,[F]:R},""));const n=O[y];function r(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}a?(r(),await Dt(me,a)):(await N({type:"enter",url:ye(w.hash?Ft(new URL(location.href)):location.href),replace_state:!0}),r()),Nt()}async function Lt(e=!0,t=!0){if(await(fe||=Promise.resolve()),!fe)return;fe=null;const a=A={},n=await z(g.url,!0);if(te(),Y&&re.forEach(({resource:r})=>{r.refresh?.()}),e){const r=S.state,o=n&&await Ie(n);if(!o||a!==A)return;if(o.type==="redirect")return Pe(new URL(o.location,g.url).href,{replaceState:!0},1,a);t||(o.props.page.state=r),Ke(o.props.page),g=o.state,ge(),Le.$set(o.props)}else ge();await Promise.all([...re.values()].map(({resource:r})=>r)).catch(pe)}function ge(){Z.length=0,Y=!1}function Xe(e){ee.some(t=>t?.snapshot)&&(H[e]=ee.map(t=>t?.snapshot?.capture()))}function Qe(e){H[e]?.forEach((t,a)=>{ee[a]?.snapshot?.restore(t)})}function qe(){Re(y),$e(Me,O),Xe(R),$e(Ve,H)}async function Pe(e,t,a,n){let r;t.invalidateAll&&te(),await N({type:"goto",url:ye(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:a,nav_token:n,accept:()=>{t.invalidateAll&&(Y=!0,r=[...re.keys()]),t.invalidate&&t.invalidate.forEach($t)}}),t.invalidateAll&&J().then(J).then(()=>{re.forEach(({resource:o},i)=>{r?.includes(i)&&o.refresh?.()})})}async function Pt(e){if(e.id!==L?.id){te();const t={};ne.add(t),L={id:e.id,token:t,promise:Ie({...e,preload:t}).then(a=>(ne.delete(t),a.type==="loaded"&&a.state.error&&te(),a)),fork:null}}return L.promise}async function ue(e){const t=(await z(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(a=>a[1]()))}async function Ze(e,t,a){g=e.state;const n=document.querySelector("style[data-sveltekit]");if(n&&n.remove(),Object.assign(S,e.props.page),Le=new w.root({target:t,props:{...e.props,stores:T,components:ee},hydrate:a,sync:!1}),await Promise.resolve(),Qe(R),a){const r={from:null,to:{params:g.params,route:{id:g.route?.id??null},url:new URL(location.href),scroll:O[y]??C()},willUnload:!1,type:"enter",complete:Promise.resolve()};K.forEach(o=>o(r))}ae=!0}function oe({url:e,params:t,branch:a,status:n,error:r,route:o,form:i}){let s="never";if(x&&(e.pathname===x||e.pathname===x+"/"))s="always";else for(const f of a)f?.slash!==void 0&&(s=f.slash);e.pathname=ft(e.pathname,s),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:a,error:r,route:o},props:{constructors:bt(a).map(f=>f.node.component),page:Ce(S)}};i!==void 0&&(l.props.form=i);let c={},d=!S,p=0;for(let f=0;f<Math.max(a.length,g.branch.length);f+=1){const h=a[f],v=g.branch[f];h?.data!==v?.data&&(d=!0),h&&(c={...c,...h.data},d&&(l.props[`data_${p}`]=c),p+=1)}return(!g.url||e.href!==g.url.href||g.error!==r||i!==void 0&&i!==S.form||d)&&(l.props.page={error:r,params:t,route:{id:o?.id??null},state:{},status:n,url:new URL(e),form:i??null,data:d?c:S.data}),l}async function Ae({loader:e,parent:t,url:a,params:n,route:r,server_data_node:o}){let i=null,s=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(c.universal?.load){let d=function(...u){for(const f of u){const{href:h}=new URL(f,a);l.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Ne,current:Ne},route:new Proxy(r,{get:(u,f)=>(s&&(l.route=!0),u[f])}),params:new Proxy(n,{get:(u,f)=>(s&&l.params.add(f),u[f])}),data:o?.data??null,url:ct(a,()=>{s&&(l.url=!0)},u=>{s&&l.search_params.add(u)},w.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:h,promise:v}=et(u,f,a);return s&&d(h.href),v},setHeaders:()=>{},depends:d,parent(){return s&&(l.parent=!0),t()},untrack(u){s=!1;try{return u()}finally{s=!0}}};i=await c.universal.load.call(null,p)??null}return{node:c,loader:e,server:o,universal:c.universal?.load?{type:"data",data:i,uses:l}:null,data:i??o?.data??null,slash:c.universal?.trailingSlash??o?.slash}}function et(e,t,a){let n=e instanceof Request?e.url:e;const r=new URL(n,a);r.origin===a.origin&&(n=r.href.slice(a.origin.length));const o=ae?dt(n,r.href,t):ut(n,t);return{resolved:r,promise:o}}function At(e,t,a,n,r,o){if(Y)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&a)return!0;for(const i of r.search_params)if(n.has(i))return!0;for(const i of r.params)if(o[i]!==g.params[i])return!0;for(const i of r.dependencies)if(Z.some(s=>s(new URL(i))))return!0;return!1}function Ue(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Ut(e,t){if(!e)return new Set(t.searchParams.keys());const a=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of a){const r=e.searchParams.getAll(n),o=t.searchParams.getAll(n);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&a.delete(n)}return a}function It({error:e,url:t,route:a,params:n}){return{type:"loaded",state:{error:e,url:t,route:a,params:n,branch:[]},props:{page:Ce(S),constructors:[]}}}async function Ie({id:e,invalidating:t,url:a,params:n,route:r,preload:o}){if(L?.id===e)return ne.delete(L.token),L.promise;const{errors:i,layouts:s,leaf:l}=r,c=[...s,l];i.forEach(m=>m?.().catch(()=>{})),c.forEach(m=>m?.[1]().catch(()=>{}));const d=g.url?e!==se(g.url):!1,p=g.route?r.id!==g.route.id:!1,u=Ut(g.url,a);let f=!1;const h=c.map(async(m,_)=>{if(!m)return;const k=g.branch[_];return m[1]===k?.loader&&!At(f,p,d,u,k.universal?.uses,n)?k:(f=!0,Ae({loader:m[1],url:a,params:n,route:r,parent:async()=>{const U={};for(let I=0;I<_;I+=1)Object.assign(U,(await h[I])?.data);return U},server_data_node:Ue(m[0]?{type:"skip"}:null,m[0]?k?.server:void 0)}))});for(const m of h)m.catch(()=>{});const v=[];for(let m=0;m<c.length;m+=1)if(c[m])try{v.push(await h[m])}catch(_){if(_ instanceof ke)return{type:"redirect",location:_.location};if(ne.has(o))return It({error:await V(_,{params:n,url:a,route:{id:r.id}}),url:a,params:n,route:r});let k=Se(_),E;if(_ instanceof be)E=_.body;else{if(await T.updated.check())return await ze(),await B(a);E=await V(_,{params:n,url:a,route:{id:r.id}})}const U=await Tt(m,v,i);return U?oe({url:a,params:n,branch:v.slice(0,U.idx).concat(U.node),status:k,error:E,route:r}):await at(a,{id:r.id},E,k)}else v.push(void 0);return oe({url:a,params:n,branch:v,status:200,error:null,route:r,form:t?void 0:null})}async function Tt(e,t,a){for(;e--;)if(a[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await a[e](),loader:a[e],data:{},server:null,universal:null}}}catch{continue}}}async function Te({status:e,error:t,url:a,route:n}){const r={};let o=null;try{const i=await Ae({loader:_e,url:a,params:r,route:n,parent:()=>Promise.resolve({}),server_data_node:Ue(o)}),s={node:await Q(),loader:Q,universal:null,server:null,data:null};return oe({url:a,params:r,branch:[i,s],status:e,error:t,route:null})}catch(i){if(i instanceof ke)return Pe(new URL(i.location,location.href),{},0);throw i}}async function Ot(e){const t=e.href;if(W.has(t))return W.get(t);let a;try{const n=(async()=>{let r=await w.hooks.reroute({url:new URL(e),fetch:async(o,i)=>et(o,i,e).promise})??e;if(typeof r=="string"){const o=new URL(e);w.hash?o.hash=r:o.pathname=r,r=o}return r})();W.set(t,n),a=await n}catch{W.delete(t);return}return a}async function z(e,t){if(e&&!we(e,x,w.hash)){const a=await Ot(e);if(!a)return;const n=Ct(a);for(const r of xe){const o=r.exec(n);if(o)return{id:se(e),invalidating:t,route:r,params:it(o),url:e}}}}function Ct(e){return lt(w.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function se(e){return(w.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function tt({url:e,type:t,intent:a,delta:n,event:r,scroll:o}){let i=!1;const s=Oe(g,a,e,t,o??null);n!==void 0&&(s.navigation.delta=n),r!==void 0&&(s.navigation.event=r);const l={...s.navigation,cancel:()=>{i=!0,s.reject(new Error("navigation cancelled"))}};return M||Ge.forEach(c=>c(l)),i?null:s}async function N({type:e,url:t,popped:a,keepfocus:n,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:l={},accept:c=pe,block:d=pe,event:p}){const u=A;A=l;const f=await z(t,!1),h=e==="enter"?Oe(g,f,t,e):tt({url:t,type:e,delta:a?.delta,intent:f,scroll:a?.scroll,event:p});if(!h){d(),A===l&&(A=u);return}const v=y,m=R;c(),M=!0,ae&&h.navigation.type!=="enter"&&T.navigating.set(de.current=h.navigation);let _=f&&await Ie(f);if(!_){if(we(t,x,w.hash))return await B(t,o);_=await at(t,{id:null},await V(new Ee(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,o)}if(t=f?.url||t,A!==l)return h.reject(new Error("navigation aborted")),!1;if(_.type==="redirect"){if(s<20){await N({type:e,url:new URL(_.location,t),popped:a,keepfocus:n,noscroll:r,replace_state:o,state:i,redirect_count:s+1,nav_token:l}),h.fulfil(void 0);return}_=await Te({status:500,error:await V(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else _.props.page.status>=400&&await T.updated.check()&&(await ze(),await B(t,o));if(ge(),Re(v),Xe(m),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),i=a?a.state:i,!a){const b=o?0:1,G={[$]:y+=b,[F]:R+=b,[He]:i};(o?history.replaceState:history.pushState).call(history,G,"",t),o||Rt(y,R)}const k=f&&L?.id===f.id?L.fork:null;L=null,_.props.page.state=i;let E;if(ae){const b=(await Promise.all(Array.from(xt,j=>j(h.navigation)))).filter(j=>typeof j=="function");if(b.length>0){let j=function(){b.forEach(ie=>{K.delete(ie)})};b.push(j),b.forEach(ie=>{K.add(ie)})}g=_.state,_.props.page&&(_.props.page.url=t);const G=k&&await k;G?E=G.commit():(Le.$set(_.props),Ke(_.props.page),E=ot?.()),Je=!0}else await Ze(_,me,!1);const{activeElement:U}=document;await E,await J(),await J();let I=null;if(De){const b=a?a.scroll:r?C():null;b?scrollTo(b.x,b.y):(I=t.hash&&document.getElementById(nt(t)))?I.scrollIntoView():scrollTo(0,0)}const rt=document.activeElement!==U&&document.activeElement!==document.body;!n&&!rt&&Kt(t,!I),De=!0,_.props.page&&Object.assign(S,_.props.page),M=!1,e==="popstate"&&Qe(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=C()),K.forEach(b=>b(h.navigation)),T.navigating.set(de.current=null)}async function at(e,t,a,n,r){return e.origin===Fe&&e.pathname===location.pathname&&!We?await Te({status:n,error:a,url:e,route:t}):await B(e,r)}function jt(){let e,t={element:void 0,href:void 0},a;P.addEventListener("mousemove",s=>{const l=s.target;clearTimeout(e),e=setTimeout(()=>{o(l,D.hover)},20)});function n(s){s.defaultPrevented||o(s.composedPath()[0],D.tap)}P.addEventListener("mousedown",n),P.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(s=>{for(const l of s)l.isIntersecting&&(ue(new URL(l.target.href)),r.unobserve(l.target))},{threshold:0});async function o(s,l){const c=Be(s,P),d=c===t.element&&c?.href===t.href&&l>=a;if(!c||d)return;const{url:p,external:u,download:f}=he(c,x,w.hash);if(u||f)return;const h=X(c),v=p&&se(g.url)===se(p);if(!(h.reload||v))if(l<=h.preload_data){t={element:c,href:c.href},a=D.tap;const m=await z(p,!1);if(!m)return;Pt(m)}else l<=h.preload_code&&(t={element:c,href:c.href},a=l,ue(p))}function i(){r.disconnect();for(const s of P.querySelectorAll("a")){const{url:l,external:c,download:d}=he(s,x,w.hash);if(c||d)continue;const p=X(s);p.reload||(p.preload_code===D.viewport&&r.observe(s),p.preload_code===D.eager&&ue(l))}}K.add(i),i()}function V(e,t){if(e instanceof be)return e.body;const a=Se(e),n=kt(e);return w.hooks.handleError({error:e,event:t,status:a,message:n})??{message:n}}function Vt(e,t={}){return e=new URL(ye(e)),e.origin!==Fe?Promise.reject(new Error("goto: invalid URL")):Pe(e,t,0)}function $t(e){if(typeof e=="function")Z.push(e);else{const{href:t}=new URL(e,location.href);Z.push(a=>a.href===t)}}function Yt(){return Y=!0,Lt()}function Nt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(qe(),!M){const n=Oe(g,void 0,null,"leave"),r={...n.navigation,cancel:()=>{a=!0,n.reject(new Error("navigation cancelled"))}};Ge.forEach(o=>o(r))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&qe()}),navigator.connection?.saveData||jt(),P.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=Be(t.composedPath()[0],P);if(!a)return;const{url:n,external:r,target:o,download:i}=he(a,x,w.hash);if(!n)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const s=X(a);if(!(a instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||i)return;const[c,d]=(w.hash?n.hash.replace(/^#/,""):n.href).split("#"),p=c===le(location);if(r||s.reload&&(!p||!d)){tt({url:n,type:"link",event:t})?M=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=g.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=a.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(q=!0,Re(y),e(n),!s.replace_state)return;q=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await N({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||a.target)==="_blank"||(n?.formMethod||a.method)!=="get")return;const i=new URL(n?.hasAttribute("formaction")&&n?.formAction||a.action);if(we(i,x,!1))return;const s=t.target,l=X(s);if(l.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(s,n);i.search=new URLSearchParams(c).toString(),N({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!ve){if(t.state?.[$]){const a=t.state[$];if(A={},a===y)return;const n=O[a],r=t.state[He]??{},o=new URL(t.state[ht]??location.href),i=t.state[F],s=g.url?le(location)===le(g.url):!1;if(i===R&&(Je||s)){r!==S.state&&(S.state=r),e(o),O[y]=C(),n&&scrollTo(n.x,n.y),y=a;return}const c=a-y;await N({type:"popstate",url:o,popped:{state:r,scroll:n,delta:c},accept:()=>{y=a,R=i},block:()=>{history.go(-c)},nav_token:A,event:t})}else if(!q){const a=new URL(location.href);e(a),w.hash&&location.reload()}}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[$]:++y,[F]:R},"",location.href))});for(const t of document.querySelectorAll("link"))St.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(de.current=null)});function e(t){g.url=S.url=t,T.page.set(Ce(S)),T.page.notify()}}async function Dt(e,{status:t=200,error:a,node_ids:n,params:r,route:o,server_route:i,data:s,form:l}){We=!0;const c=new URL(location.href);let d;({params:r={},route:o={id:null}}=await z(c,!1)||{}),d=xe.find(({id:f})=>f===o.id);let p,u=!0;try{const f=n.map(async(v,m)=>{const _=s[m];return _?.uses&&(_.uses=qt(_.uses)),Ae({loader:w.nodes[v],url:c,params:r,route:o,parent:async()=>{const k={};for(let E=0;E<m;E+=1)Object.assign(k,(await f[E]).data);return k},server_data_node:Ue(_)})}),h=await Promise.all(f);if(d){const v=d.layouts;for(let m=0;m<v.length;m++)v[m]||h.splice(m,0,void 0)}p=oe({url:c,params:r,branch:h,status:t,error:a,form:l,route:d??null})}catch(f){if(f instanceof ke){await B(new URL(f.location,location.href));return}p=await Te({status:Se(f),error:await V(f,{url:c,params:r,route:o}),url:c,route:o}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),await Ze(p,e,u)}function qt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let ve=!1;function Kt(e,t=!0){const a=document.querySelector("[autofocus]");if(a)a.focus();else{const n=nt(e);if(n&&document.getElementById(n)){const{x:o,y:i}=C();setTimeout(()=>{const s=history.state;ve=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(o,i),ve=!1})}else{const o=document.body,i=o.getAttribute("tabindex");o.tabIndex=-1,o.focus({preventScroll:!0,focusVisible:!1}),i!==null?o.setAttribute("tabindex",i):o.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const o=[];for(let i=0;i<r.rangeCount;i+=1)o.push(r.getRangeAt(i));setTimeout(()=>{if(r.rangeCount===o.length){for(let i=0;i<r.rangeCount;i+=1){const s=o[i],l=r.getRangeAt(i);if(s.commonAncestorContainer!==l.commonAncestorContainer||s.startContainer!==l.startContainer||s.endContainer!==l.endContainer||s.startOffset!==l.startOffset||s.endOffset!==l.endOffset)return}r.removeAllRanges()}})}}}function Oe(e,t,a,n,r=null){let o,i;const s=new Promise((c,d)=>{o=c,i=d});return s.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:C()},to:a&&{params:t?.params??null,route:{id:t?.route?.id??null},url:a,scroll:r},willUnload:!t,type:n,complete:s},fulfil:o,reject:i}}function Ce(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Ft(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function nt(e){let t;if(w.hash){const[,,a]=e.hash.split("#",3);t=a??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Mt as a,Vt as g,Yt as i,T as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Y as T,a6 as H,g as m,s as n,a1 as N,ag as Y}from"./BYbm6UVc.js";import{i as G}from"./
|
|
1
|
+
import{Y as T,a6 as H,g as m,s as n,a1 as N,ag as Y}from"./BYbm6UVc.js";import{i as G}from"./CVWwAMr5.js";import{u as P,w as h}from"./C-ARUxRt.js";import{a as L}from"./C-CLyBoI.js";import{n as b}from"./BEqlCcV9.js";function mt(...t){return t.filter(Boolean).join(" ")}const V=typeof document<"u";let D=0;class q{#t=T(H([]));get toasts(){return m(this.#t)}set toasts(e){n(this.#t,e,!0)}#e=T(H([]));get heights(){return m(this.#e)}set heights(e){n(this.#e,e,!0)}#s=e=>{const s=this.toasts.findIndex(i=>i.id===e);return s===-1?null:s};addToast=e=>{V&&this.toasts.unshift(e)};updateToast=({id:e,data:s,type:i,message:r})=>{const o=this.toasts.findIndex(d=>d.id===e),u=this.toasts[o];this.toasts[o]={...u,...s,id:e,title:r,type:i,updated:!0}};create=e=>{const{message:s,...i}=e,r=typeof e?.id=="number"||e.id&&e.id?.length>0?e.id:D++,o=e.dismissible!==void 0?e.dismissible:e.dismissable!==void 0?e.dismissable:!0,u=e.type===void 0?"default":e.type;return N(()=>{this.toasts.find($=>$.id===r)?this.updateToast({id:r,data:e,type:u,message:s,dismissible:o}):this.addToast({...i,id:r,title:s,dismissible:o,type:u})}),r};dismiss=e=>(N(()=>{if(e===void 0){this.toasts=this.toasts.map(i=>({...i,dismiss:!0}));return}const s=this.toasts.findIndex(i=>i.id===e);this.toasts[s]&&(this.toasts[s]={...this.toasts[s],dismiss:!0})}),e);remove=e=>{if(e===void 0){this.toasts=[];return}const s=this.#s(e);if(s!==null)return this.toasts.splice(s,1),e};message=(e,s)=>this.create({...s,type:"default",message:e});error=(e,s)=>this.create({...s,type:"error",message:e});success=(e,s)=>this.create({...s,type:"success",message:e});info=(e,s)=>this.create({...s,type:"info",message:e});warning=(e,s)=>this.create({...s,type:"warning",message:e});loading=(e,s)=>this.create({...s,type:"loading",message:e});promise=(e,s)=>{if(!s)return;let i;s.loading!==void 0&&(i=this.create({...s,promise:e,type:"loading",message:typeof s.loading=="string"?s.loading:s.loading()}));const r=e instanceof Promise?e:e();let o=i!==void 0;return r.then(u=>{if(typeof u=="object"&&u&&"ok"in u&&typeof u.ok=="boolean"&&!u.ok){o=!1;const d=z(u);this.create({id:i,type:"error",message:d})}else if(s.success!==void 0){o=!1;const d=typeof s.success=="function"?s.success(u):s.success;this.create({id:i,type:"success",message:d})}}).catch(u=>{if(s.error!==void 0){o=!1;const d=typeof s.error=="function"?s.error(u):s.error;this.create({id:i,type:"error",message:d})}}).finally(()=>{o&&(this.dismiss(i),i=void 0),s.finally?.()}),i};custom=(e,s)=>{const i=s?.id||D++;return this.create({component:e,id:i,...s}),i};removeHeight=e=>{this.heights=this.heights.filter(s=>s.toastId!==e)};setHeight=e=>{const s=this.#s(e.toastId);if(s===null){this.heights.push(e);return}this.heights[s]=e};reset=()=>{this.toasts=[],this.heights=[]}}function z(t){return t&&typeof t=="object"&&"status"in t?`HTTP error! Status: ${t.status}`:`Error! ${t}`}const f=new q;function K(t,e){return f.create({message:t,...e})}class St{#t=Y(()=>f.toasts.filter(e=>!e.dismiss));get toasts(){return m(this.#t)}}const Q=K,a=Object.assign(Q,{success:f.success,info:f.info,warning:f.warning,error:f.error,custom:f.custom,message:f.message,promise:f.promise,dismiss:f.dismiss,loading:f.loading,getActiveToasts:()=>f.toasts.filter(t=>!t.dismiss)}),X=800;function Z(){let t=T(!1),e=T(null),s=T(null),i=null,r=null,o=!1;function u(p,S,y,l){i&&i.repo===p&&i.type===S&&i.id===y?(l.data!==void 0&&(i.payload.data=l.data),l.content!==void 0&&(i.payload.content=l.content)):i={repo:p,type:S,id:y,payload:{...l}},d()}function d(){r&&clearTimeout(r),r=setTimeout($,X)}async function $(){if(r=null,!o&&i){const{repo:p,type:S,id:y,payload:l}=i;i=null,o=!0,n(t,!0),n(s,null);try{if(await P(p,S,y,l),n(e,new Date,!0),l.data?.name){const E=h.repos.find(O=>O.name===p)?.entities.find(O=>O.id===y);E&&(E.title=l.data.name)}}catch(g){n(s,g.message??"Save failed",!0);const E=g.status??g.statusCode;(!E||E>=500)&&(i={repo:p,type:S,id:y,payload:l})}finally{n(t,!1),o=!1,i&&$()}}}function F(){r&&(clearTimeout(r),r=null),i&&$()}async function J(p,S,y,l){n(t,!0),n(s,null);try{const g=await P(p,S,y,l);return n(e,new Date,!0),g}catch(g){return n(s,g.message??"Save failed",!0),null}finally{n(t,!1)}}function R(){n(s,null),n(e,null),i=null,r&&(clearTimeout(r),r=null)}return{get saving(){return m(t)},get lastSaved(){return m(e)},get error(){return m(s)},get hasPending(){return!!(i||o)},scheduleAutoSave:u,flush:F,saveEntity:J,reset:R}}const v=Z();let c=null,U=null,j=null,B=[],_=null,x=1e3,k=T(!1),M=T(null);const w=new Map,I={},A={};function C(t,e){w.delete(t);const s=e.entities.length,i=s===1?`${t} updated ${e.entities[0]}`:`${t} updated ${s} entities`;a(i)}function tt(t){for(const[e,s]of w)s.repo===t&&(clearTimeout(s.timer),w.delete(e))}function et(t){const e=L.user?.displayName;if(t.type==="sync_progress"){const s=I[t.repo];if(s){const i=t.message.trim(),r=i.match(/^Syncing from source:\s*(.+)$/i);r&&(A[t.repo]=`Syncing ${r[1].trim()}…`);const o=A[t.repo]??`Syncing ${t.repo}…`;a.loading(o,{id:s,description:i,duration:36e5})}return}if(t.type==="entity_change"){if(e&&t.actor===e&&t.source==="api"){h.refreshEntities(t.repo);return}if(h.refreshEntities(t.repo),b.selectedRepo===t.repo&&b.selectedType===t.entityType&&b.selectedId===t.entityId){v.hasPending?a(`${t.actor} also saved changes to this entity`):G();return}const i=w.get(t.actor);if(i)clearTimeout(i.timer),i.entities.includes(t.entityId)||i.entities.push(t.entityId),i.timer=setTimeout(()=>C(t.actor,i),1e4);else{const r={entities:[t.entityId],repo:t.repo,timer:setTimeout(()=>C(t.actor,r),1e4)};w.set(t.actor,r)}return}if(t.type==="session_commit"){if(e&&t.actor===e){n(M,t.timestamp,!0);return}const s=t.entities.length,i=s===1?`${t.actor} saved changes to ${t.entities[0]}`:`${t.actor} saved ${s} changes in ${t.repo}`;a(i),h.refreshEntities(t.repo);return}if(t.type==="sync_complete"){if(tt(t.repo),!I[t.repo]){const s=t.created+t.updated+t.deleted,i=s===0?`Sync complete · no changes in ${t.repo}`:`Sync complete · ${s} ${s===1?"entity":"entities"} from ${t.source}`;a.success(i)}h.refreshEntities(t.repo);return}if(t.type==="collection_created"){a(`${t.actor} created collection ${t.repo}`),h.refreshEntities(t.repo);return}if(t.type==="collection_deleted"){a(`${t.actor} deleted collection ${t.repo}`);return}if(t.type==="repo_sync"){a(`${t.actor} pushed to ${t.repo}`),h.refreshEntities(t.repo);return}if(t.type==="presence"){U?.(t);return}if(t.type==="online"){j?.(t);return}if(t.type==="access_granted"||t.type==="access_revoked"){t.type==="access_revoked"&&b.selectedRepo===t.repo&&b.deselect(),h.load();return}}function W(){if(typeof window>"u"||c&&(c.readyState===WebSocket.OPEN||c.readyState===WebSocket.CONNECTING))return;const e=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`;c=new WebSocket(e),c.binaryType="arraybuffer",c.onopen=()=>{n(k,!0),x=1e3,h.refreshAll();for(const s of B)s()},c.onmessage=s=>{if(!(s.data instanceof ArrayBuffer))try{const i=JSON.parse(s.data);if(i?.type==="ping"){c?.send(JSON.stringify({type:"pong"}));return}const r=i;r.type&&r.type!=="toast"&&et(r)}catch{}},c.onclose=()=>{n(k,!1),c=null,_=setTimeout(()=>{x=Math.min(x*2,1e4),W()},x)},c.onerror=()=>{}}function st(){_&&(clearTimeout(_),_=null),c&&(c.close(),c=null),n(k,!1);for(const[,t]of w)clearTimeout(t.timer);w.clear()}function it(t,e=4e3){a(t,{duration:e})}function rt(t,e){const s=crypto.randomUUID();return e?.loading?a.loading(t,{id:s,duration:36e5}):a(t,{id:s}),s}function nt(t,e,s){if(s?.loading){a.loading(e,{id:t});return}/failed|error/i.test(e)?a.error(e,{id:t,duration:s?.duration??6e3}):a.success(e,{id:t,duration:s?.duration??4e3})}function ot(t){const e=crypto.randomUUID();I[t]=e,a.loading(`Syncing ${t}…`,{id:e,duration:36e5})}function ct(t,e,s){const i=I[t];i&&(delete I[t],delete A[t],s?a.error(e,{id:i,duration:6e3}):a.success(e,{id:i,duration:4e3}))}function at(t){U=t}function ut(t){j=t}function lt(t){B.push(t)}function ft(t){c?.readyState===WebSocket.OPEN&&c.send(JSON.stringify(t))}const Tt={get connected(){return m(k)},get lastAutoSaved(){return m(M)},get ws(){return c},connect:W,disconnect:st,showToast:it,showPersistentToast:rt,updateToast:nt,startSyncToast:ot,finishSyncToast:ct,send:ft,setPresenceHandler:at,setOnlineHandler:ut,addConnectHandler:lt};export{St as S,mt as c,v as e,Tt as r,f as t};
|