@mavea/mavea 1.0.8 → 1.0.10
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/.vite/manifest.json +668 -662
- package/dist/assets/{AppCommandPalette-DUMSp3rd.js → AppCommandPalette-BrvbfsdK.js} +1 -1
- package/dist/assets/{AtlasView-Dl2fssaG.js → AtlasView-B8b67dk0.js} +1 -1
- package/dist/assets/{BlockEmpty-CLtVQf6c.js → BlockEmpty-L6Ii29YE.js} +1 -1
- package/dist/assets/{BriefingPlayer-DO205Qkh.js → BriefingPlayer-CtB3h9TJ.js} +1 -1
- package/dist/assets/{CanvasSkeleton-BZZPCuRZ.js → CanvasSkeleton-CqvzF0Ix.js} +2 -2
- package/dist/assets/{CheckLogRail-wUfby67Z.js → CheckLogRail-Dr0S3LeI.js} +1 -1
- package/dist/assets/{CodeOutput-Kh6ldxQz.js → CodeOutput-BGCRjlET.js} +1 -1
- package/dist/assets/{CommandPalette-Kl00mMZm.js → CommandPalette-D2kV4Mdl.js} +1 -1
- package/dist/assets/{CourseLessonReader-MBHoknUz.js → CourseLessonReader-ItmH7ccs.js} +2 -2
- package/dist/assets/{CourseRail-q6x5cCpW.js → CourseRail-B8Ot8hW9.js} +1 -1
- package/dist/assets/{CoursesApp-v89OVJvg.js → CoursesApp-DSu2zswg.js} +2 -2
- package/dist/assets/{CrossExamPanel-DH04p6VS.js → CrossExamPanel-xOgmL2kl.js} +1 -1
- package/dist/assets/{DashPresent-BYXbPuGj.js → DashPresent-C8Yk9AOu.js} +1 -1
- package/dist/assets/{DashboardDetail-B50ZkeVK.js → DashboardDetail-BK3ozdBm.js} +2 -2
- package/dist/assets/DashboardLoopRuntime-elAVdpQj.js +1 -0
- package/dist/assets/{DashboardOverview-C-FdGWM5.js → DashboardOverview-Bhiwt3py.js} +1 -1
- package/dist/assets/{DashboardSettings-Dmw6JTbI.js → DashboardSettings-ConUIT2l.js} +1 -1
- package/dist/assets/{DashboardsApp-JSY_bVfi.js → DashboardsApp-CAxFYHsK.js} +2 -2
- package/dist/assets/{DeepZoomApp-BFNwli7l.js → DeepZoomApp-B1uh9Yyg.js} +1 -1
- package/dist/assets/{DelegatePanel-BK7rEhIc.js → DelegatePanel-CDOU8DfD.js} +1 -1
- package/dist/assets/{DemoGallery-BPtVG7_y.js → DemoGallery-D1YRuz0S.js} +1 -1
- package/dist/assets/{DropSelect-DUhdQSta.js → DropSelect-DZGCKxxw.js} +1 -1
- package/dist/assets/{ExportModal-D65cGyj_.js → ExportModal-DhM80yeB.js} +2 -2
- package/dist/assets/{ExtractionPreview-Iwfg2Ogl.js → ExtractionPreview-CEVvwL6Z.js} +1 -1
- package/dist/assets/{FeatureUseNotice-DPtQ0OGb.js → FeatureUseNotice-CoK5HkbR.js} +1 -1
- package/dist/assets/FeatureUseNotice-CsCxxfOl.css +1 -0
- package/dist/assets/{FlagshipCTA-BXntKhxb.js → FlagshipCTA-CYkF5LO_.js} +1 -1
- package/dist/assets/{FlagshipCommandPalette-BDJfasI-.js → FlagshipCommandPalette-gbdvHS2L.js} +1 -1
- package/dist/assets/{FlagshipShowcase-DJ8Gxk_G.js → FlagshipShowcase-BB4BJP3V.js} +1 -1
- package/dist/assets/{FlashcardsApp-CLNo4WX7.js → FlashcardsApp-kGal2QE_.js} +1 -1
- package/dist/assets/{ForecastPanel-PBO2-dgS.js → ForecastPanel-gs5apRKg.js} +1 -1
- package/dist/assets/{GalleryApp-DM03CMRy.js → GalleryApp-DPdu4q7k.js} +1 -1
- package/dist/assets/{HonestByDesign-Dqyth6nW.js → HonestByDesign-CKnSiPcq.js} +1 -1
- package/dist/assets/{HowItWorks-C0zosIvq.js → HowItWorks-DWp-ASxN.js} +1 -1
- package/dist/assets/{LegalApp-DZBdExTy.js → LegalApp-D17oe1-B.js} +1 -1
- package/dist/assets/{LegalMarkdownDocument-CSZhRG5r.js → LegalMarkdownDocument-B-0LA_X_.js} +1 -1
- package/dist/assets/{LegalPageShell-DTeXqWyc.js → LegalPageShell-CY2O507f.js} +1 -1
- package/dist/assets/{LeverPanel-aZfhtVJX.js → LeverPanel-CiRg_mFN.js} +1 -1
- package/dist/assets/{Library-D2XGNXz7.js → Library-DhMHA6Q_.js} +1 -1
- package/dist/assets/{LibraryOverlay-B2WQSgwr.js → LibraryOverlay-C3ECZIkZ.js} +1 -1
- package/dist/assets/LiveApp-CPPQzp34.js +61 -0
- package/dist/assets/{LiveApp-BVZGpJ1S.css → LiveApp-D2QFBykD.css} +1 -1
- package/dist/assets/LiveSettings-Bk-_UwJ6.js +6 -0
- package/dist/assets/{MindMapViewerDrawer-YYyZqmAd.js → MindMapViewerDrawer-C25mTggg.js} +1 -1
- package/dist/assets/{MindShape-mTlN5mPZ.js → MindShape-BxkLfo53.js} +1 -1
- package/dist/assets/{PinToDashboard-_kIOHs0k.js → PinToDashboard-D7IJhkHd.js} +1 -1
- package/dist/assets/{PlanReview-33V8GTNB.js → PlanReview-Cr5XQnuN.js} +1 -1
- package/dist/assets/{Presence-CzLJIeSD.js → Presence-DKuWuuqK.js} +1 -1
- package/dist/assets/{PresentationDeck-BDoGecxr.js → PresentationDeck-Cd0r3n1O.js} +1 -1
- package/dist/assets/{PrismApp-PfBTFhMF.js → PrismApp-DcKFHKlU.js} +2 -2
- package/dist/assets/{PrismAskController-DbQDrlU9.js → PrismAskController-PncuR6Km.js} +1 -1
- package/dist/assets/{PrismBriefingPlayer-1fvlfLR8.js → PrismBriefingPlayer-DPVF0uAk.js} +2 -2
- package/dist/assets/{PrismOverlay-B7lEspdu.js → PrismOverlay-COemfAxM.js} +4 -4
- package/dist/assets/{PrivacyApp-CR4lRs0L.js → PrivacyApp-C8D6D4ug.js} +1 -1
- package/dist/assets/{Recap-H5fhj5Tc.js → Recap-BiNtOx5h.js} +1 -1
- package/dist/assets/{ReelJelly-3jSVsJsy.js → ReelJelly-DlUpsGvm.js} +1 -1
- package/dist/assets/{RehearsalPanel-BVgjrOPg.js → RehearsalPanel-BzjZl2d1.js} +1 -1
- package/dist/assets/ReplayCard-EEL3-N3E.js +2 -0
- package/dist/assets/{ReplayOverlay-DXmVdeIr.js → ReplayOverlay-D30116VF.js} +1 -1
- package/dist/assets/{RewindOverlay-BusfWeFq.js → RewindOverlay-C4W4TlTA.js} +1 -1
- package/dist/assets/{RippleApp-9KrJPYgN.js → RippleApp-Bp3koJmT.js} +2 -2
- package/dist/assets/{RippleAskController-CO9wE7hU.js → RippleAskController-fvq109Pn.js} +1 -1
- package/dist/assets/{RippleOverlay-DMHLbfh8.js → RippleOverlay-BDc4eEW2.js} +2 -2
- package/dist/assets/{SeeDontRead-C389viue.js → SeeDontRead-D-Cpq9BU.js} +1 -1
- package/dist/assets/ShareModal-jNmCfrjC.js +32 -0
- package/dist/assets/{ShipCascade-BUtwvQoW.js → ShipCascade-Dy1JkWLT.js} +1 -1
- package/dist/assets/{ShipCourse-B7lG6DYW.js → ShipCourse-wmdSNt0D.js} +1 -1
- package/dist/assets/{ShipHotspots-Bj2CovtT.js → ShipHotspots-BJESX960.js} +1 -1
- package/dist/assets/{ShipIncident-DcmindmE.js → ShipIncident-DZ7YVj3U.js} +1 -1
- package/dist/assets/{ShipMigration-s0hVjDQl.js → ShipMigration-Cw2fI6TU.js} +1 -1
- package/dist/assets/{ShipOnboarding-ekbHL7OH.js → ShipOnboarding-v3pjB9Dd.js} +1 -1
- package/dist/assets/{ShipRead-BVNgQT6L.js → ShipRead-D8nzUWiX.js} +1 -1
- package/dist/assets/{ShipRollout-BdUQzMyP.js → ShipRollout-CEIWoYzI.js} +1 -1
- package/dist/assets/{ShipSuggestions-B6fKYh8L.js → ShipSuggestions-DcKMr0By.js} +1 -1
- package/dist/assets/{ShipWorkspace-3D3Rrs1p.js → ShipWorkspace-Ck-C4iW9.js} +1 -1
- package/dist/assets/{SignatureLoop-C60r8Wm5.js → SignatureLoop-bo7wU13q.js} +1 -1
- package/dist/assets/{SynthesisApp-vJ2Jq0Qe.js → SynthesisApp-2uQFqWDb.js} +2 -2
- package/dist/assets/{SynthesisOverlay-CkERphvG.js → SynthesisOverlay-_lC1TNb0.js} +1 -1
- package/dist/assets/{TermsApp-C70tW6m6.js → TermsApp-BVBZzP88.js} +1 -1
- package/dist/assets/{TopicCanvas-CT0eSj2M.js → TopicCanvas-B1WcxoEs.js} +2 -2
- package/dist/assets/{TourPrism-BvucSkcs.js → TourPrism-BfJXC1SR.js} +1 -1
- package/dist/assets/{TrackerTile-CasZNmt4.js → TrackerTile-Bp2KIlOe.js} +2 -2
- package/dist/assets/{TwoSurfaces-C90X7Aj5.js → TwoSurfaces-BH7wc_Ep.js} +1 -1
- package/dist/assets/{UnderstoodPanel-CHPD2Ttj.js → UnderstoodPanel-BNsNgsry.js} +1 -1
- package/dist/assets/{WhyMachineOverlay-CB0_n6Sy.js → WhyMachineOverlay-DtuKQK6a.js} +1 -1
- package/dist/assets/{WowFeatures-Ci_H5QYX.js → WowFeatures-AtKR62OJ.js} +1 -1
- package/dist/assets/{ZoomDeck-BQHO79ZU.js → ZoomDeck-Cjxd13Gj.js} +1 -1
- package/dist/assets/{alternateFinishes-DZ-rkpkX.js → alternateFinishes-0zAldUWA.js} +1 -1
- package/dist/assets/{annotationAuto-B0nihA4F.js → annotationAuto-LzJWWed8.js} +1 -1
- package/dist/assets/{annotationReel-BcU9Q0Sw.js → annotationReel-_G28azfX.js} +1 -1
- package/dist/assets/backup-BEABatjO.js +1 -0
- package/dist/assets/canvas-zLlyd97t.js +1 -0
- package/dist/assets/{catalog-Dqaq2YFd.js → catalog-DPzc-MaH.js} +1 -1
- package/dist/assets/chapters-Cbe53c3W.js +1 -0
- package/dist/assets/{dashboardEvents-DR9d_c74.js → dashboardEvents-CCCsM3Bq.js} +2 -2
- package/dist/assets/{dist-BFx3nZg4.js → dist-PCzrhF4p.js} +1 -1
- package/dist/assets/{fit-0HxU-rtB.js → fit-B4AIV3jM.js} +1 -1
- package/dist/assets/{generateLive-D4B30fnF.js → generateLive-B4vyL_X9.js} +18 -18
- package/dist/assets/homeTarget-BcZYH3DY.js +1 -0
- package/dist/assets/{index-y8GL67bB.js → index-DiPGFGsJ.js} +3 -3
- package/dist/assets/{jspdf.es.min-C-Pf79px.js → jspdf.es.min-CuE7vq_-.js} +1 -1
- package/dist/assets/kokoro-BAiRCDY0.js +1 -0
- package/dist/assets/{lib-VFqp6Y3w.js → lib-CQDCalVC.js} +1 -1
- package/dist/assets/{liveSchema-CJ49PX5R.js → liveSchema-Df33WFbg.js} +3 -2
- package/dist/assets/{mastery-BPjxP0fN.js → mastery-D7xYf5D7.js} +1 -1
- package/dist/assets/{motion-S0NRruNj.js → motion-S_ZJkP9s.js} +1 -1
- package/dist/assets/{neighborhoods-C-1Tjr1r.js → neighborhoods-DFqKm9Xi.js} +1 -1
- package/dist/assets/{notes-lROPCorS.js → notes-CRP7J2eu.js} +1 -1
- package/dist/assets/{pdf-Df7PCH7q.js → pdf-C80f-ORI.js} +1 -1
- package/dist/assets/{perfProbe-COAp9PAa.js → perfProbe-CBJQvhlT.js} +1 -1
- package/dist/assets/{pin-CXSuPJYL.js → pin-Le0tONqk.js} +1 -1
- package/dist/assets/{portal-DMw7C32j.js → portal-4ZN6jo0N.js} +1 -1
- package/dist/assets/{pptxgen.es-CvTILmV9.js → pptxgen.es-DCKUqU8v.js} +1 -1
- package/dist/assets/{prewarm--whjQhWJ.js → prewarm-CTFQ2mCg.js} +1 -1
- package/dist/assets/{quietHours-BvcsBKKK.js → quietHours-CzNHI0JD.js} +1 -1
- package/dist/assets/{registry-DujBAgn_.js → registry-2H41hRIB.js} +1 -1
- package/dist/assets/{registry-Buq5uuCv.js → registry-B2ntaO2N.js} +1 -1
- package/dist/assets/{registry-QcULZpdE.js → registry-BXafX9C8.js} +2 -2
- package/dist/assets/{registry-B940W2j5.js → registry-BeStN3Pr.js} +1 -1
- package/dist/assets/{registry-DUvXX_d0.js → registry-BftXZ9vp.js} +1 -1
- package/dist/assets/{registry-DCI_BeFJ.js → registry-Bl7cQtEK.js} +1 -1
- package/dist/assets/{registry-aazwkBJp.js → registry-BqcHHCvG.js} +1 -1
- package/dist/assets/{registry-B8DStMJk.js → registry-BsYURZ0N.js} +1 -1
- package/dist/assets/{registry-CKjKq6ct.js → registry-CGZNwEdk.js} +1 -1
- package/dist/assets/{registry-DDLSYDVA.js → registry-CQzRD746.js} +1 -1
- package/dist/assets/{registry-1GuPBfQK.js → registry-CS2QCeW9.js} +1 -1
- package/dist/assets/{registry-CEVrY72Z.js → registry-CgrywLei.js} +1 -1
- package/dist/assets/{registry-Cg7qUZPS.js → registry-Cm59DqEh.js} +1 -1
- package/dist/assets/{registry-CAusoyBh.js → registry-CmrE7O4v.js} +1 -1
- package/dist/assets/{registry-2v0jlh5Q.js → registry-D6rlO36K.js} +2 -2
- package/dist/assets/{registry-DI1wSG1Y.js → registry-DOWgQUqz.js} +1 -1
- package/dist/assets/{registry-BPvIPLke.js → registry-DOt6RM72.js} +1 -1
- package/dist/assets/{registry-BgGeRiDA.js → registry-DYzIwDFU.js} +1 -1
- package/dist/assets/{registry-Cix-yqch.js → registry-Dmrednfo.js} +1 -1
- package/dist/assets/{registry-Dpb8EXHn.js → registry-DygrqpKl.js} +1 -1
- package/dist/assets/{registry-D_URPoL4.js → registry-HN-JpqFb.js} +1 -1
- package/dist/assets/{registry-DJinB5ye.js → registry-ejl3mwuM.js} +1 -1
- package/dist/assets/{registry-zRPjWNl5.js → registry-jZYQkNJ2.js} +1 -1
- package/dist/assets/{relate-A9ZeaaAI.js → relate-C5sGCY-w.js} +1 -1
- package/dist/assets/{run-C_0B_41W.js → run-Dc2ZJz6n.js} +1 -1
- package/dist/assets/search-Be63DJkp.js +1 -0
- package/dist/assets/shapes-Cw7tCHIp.js +1 -0
- package/dist/assets/{shikiHighlight-DUCYbsJ2.js → shikiHighlight-CifX0fpk.js} +1 -1
- package/dist/assets/{store-DgG0C1Qx.js → store-BMRQiV1z.js} +1 -1
- package/dist/assets/{store-BFC7DZcg.js → store-Dn23_Ymr.js} +1 -1
- package/dist/assets/{store-BFrJaSxJ.js → store-DoJn3lBF.js} +1 -1
- package/dist/assets/{store-4JNNn732.js → store-DrBDvqXF.js} +1 -1
- package/dist/assets/threads-CkMgrSDP.js +1 -0
- package/dist/assets/{useDashboardLoop-B6ByHWoE.js → useDashboardLoop-Bj1otKTo.js} +3 -3
- package/dist/assets/useLiveConfig-CbMkeKrN.js +1 -0
- package/dist/assets/{useSpatialCanvas-DogK9457.js → useSpatialCanvas-CgmEY3Ri.js} +1 -1
- package/dist/assets/{useSpotlightWalk-rMbmNBKK.js → useSpotlightWalk-aimD20cU.js} +1 -1
- package/dist/assets/{useSrsCards-CagZefwX.js → useSrsCards-DItrX8z6.js} +1 -1
- package/dist/assets/{useStudy-Bflreq2a.js → useStudy-DyBiirxE.js} +1 -1
- package/dist/assets/{useZoomGesture-CYc3tf2z.js → useZoomGesture-iiPgDTx_.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/DashboardLoopRuntime-CFXPx3v_.js +0 -1
- package/dist/assets/FeatureUseNotice-CWt7gOwS.css +0 -1
- package/dist/assets/LiveApp-B9zwXlGC.js +0 -61
- package/dist/assets/LiveSettings-D9OcWlm6.js +0 -6
- package/dist/assets/ReplayCard-BpYO5vX-.js +0 -2
- package/dist/assets/ShareModal-ClnEkudw.js +0 -32
- package/dist/assets/backup-c-Btapzp.js +0 -1
- package/dist/assets/canvas-QTEIiK23.js +0 -1
- package/dist/assets/chapters-BiUsDClQ.js +0 -1
- package/dist/assets/homeTarget-BgWKI_E1.js +0 -1
- package/dist/assets/kokoro-D4GKpSL0.js +0 -1
- package/dist/assets/search-DnjHupRf.js +0 -1
- package/dist/assets/shapes-RqjqC0ay.js +0 -1
- package/dist/assets/useLiveConfig-X9Wxh90k.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-
|
|
1
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-DiPGFGsJ.js";var r=e(),i=n(),a=t();function o(e){let t=(0,i.c)(41),{model:n}=e,o=n.incident,[p,m]=(0,r.useState)(!1),h=(0,r.useRef)(void 0),g;t[0]===o?g=t[1]:(g=()=>{o?.rollback.length&&navigator.clipboard?.writeText(o.rollback.map(f).join(`
|
|
2
2
|
`)).then(()=>{m(!0),window.clearTimeout(h.current),h.current=window.setTimeout(()=>m(!1),1800)},d)},t[0]=o,t[1]=g);let _=g,v,y;if(t[2]===Symbol.for(`react.memo_cache_sentinel`)?(v=()=>()=>window.clearTimeout(h.current),y=[],t[2]=v,t[3]=y):(v=t[2],y=t[3]),(0,r.useEffect)(v,y),!o){let e;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,a.jsx)(`div`,{className:`ripple-inc-empty`,children:`No incident loaded.`}),t[4]=e):e=t[4],e}let b;t[5]===o.severity?b=t[6]:(b=o.severity&&(0,a.jsx)(`span`,{className:`ripple-inc-sev`,children:o.severity}),t[5]=o.severity,t[6]=b);let x;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`The page`}),t[7]=x):x=t[7];let S;t[8]===o.symptom?S=t[9]:(S=(0,a.jsx)(`div`,{className:`ripple-inc-symptom-line`,children:o.symptom}),t[8]=o.symptom,t[9]=S);let C;t[10]===o.service?C=t[11]:(C=o.service&&(0,a.jsx)(`div`,{className:`ripple-inc-service`,children:o.service}),t[10]=o.service,t[11]=C);let w;t[12]!==S||t[13]!==C?(w=(0,a.jsxs)(`div`,{className:`ripple-inc-symptom-text`,children:[x,S,C]}),t[12]=S,t[13]=C,t[14]=w):w=t[14];let T;t[15]!==b||t[16]!==w?(T=(0,a.jsxs)(`div`,{className:`ripple-inc-symptom`,children:[b,w]}),t[15]=b,t[16]=w,t[17]=T):T=t[17];let E;t[18]===o.chain?E=t[19]:(E=o.chain.length>0&&(0,a.jsxs)(`div`,{className:`ripple-inc-block`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`The trace back`}),(0,a.jsx)(`div`,{className:`ripple-inc-chain`,children:o.chain.map(u)})]}),t[18]=o.chain,t[19]=E);let D;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Likely root cause`}),t[20]=D):D=t[20];let O;t[21]===o.rootCause?O=t[22]:(O=(0,a.jsxs)(`div`,{className:`ripple-inc-cause`,children:[D,(0,a.jsx)(`p`,{children:o.rootCause})]}),t[21]=o.rootCause,t[22]=O);let k;t[23]!==p||t[24]!==_||t[25]!==o.rollback?(k=o.rollback.length>0&&(0,a.jsxs)(`div`,{className:`ripple-inc-rollback`,children:[(0,a.jsxs)(`div`,{className:`ripple-inc-rollback-head`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Rollback — a draft you run`}),(0,a.jsx)(`button`,{type:`button`,className:`ripple-track-btn`,onClick:_,children:p?`Copied ✓`:`Copy steps`})]}),(0,a.jsx)(`ol`,{className:`ripple-inc-steps`,children:o.rollback.map(l)}),(0,a.jsx)(`div`,{className:`ripple-inc-note`,children:`Ripple never reverts, deploys, or pages — this is yours to run.`})]}),t[23]=p,t[24]=_,t[25]=o.rollback,t[26]=k):k=t[26];let A;t[27]===o.whoToWake?A=t[28]:(A=o.whoToWake.length>0&&(0,a.jsxs)(`div`,{className:`ripple-inc-block`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Who to wake`}),(0,a.jsx)(`div`,{className:`ripple-inc-people`,children:o.whoToWake.map(c)})]}),t[27]=o.whoToWake,t[28]=A);let j;t[29]===o.timeline?j=t[30]:(j=o.timeline.length>0&&(0,a.jsxs)(`div`,{className:`ripple-inc-block`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`War-room timeline`}),(0,a.jsx)(`div`,{className:`ripple-inc-timeline`,children:o.timeline.map(s)})]}),t[29]=o.timeline,t[30]=j);let M;t[31]===o.evidence?M=t[32]:(M=o.evidence&&(0,a.jsx)(`div`,{className:`ripple-inc-evidence`,children:o.evidence}),t[31]=o.evidence,t[32]=M);let N;return t[33]!==E||t[34]!==O||t[35]!==k||t[36]!==A||t[37]!==j||t[38]!==M||t[39]!==T?(N=(0,a.jsxs)(`div`,{className:`ripple-inc`,children:[T,E,O,k,A,j,M]}),t[33]=E,t[34]=O,t[35]=k,t[36]=A,t[37]=j,t[38]=M,t[39]=T,t[40]=N):N=t[40],N}function s(e,t){return(0,a.jsxs)(`div`,{className:`ripple-inc-tl-row`,children:[(0,a.jsx)(`span`,{className:`ripple-inc-tl-time`,children:e.time}),(0,a.jsx)(`span`,{className:`ripple-inc-tl-label`,children:e.label})]},t)}function c(e,t){return(0,a.jsxs)(`div`,{className:`ripple-inc-person`,children:[(0,a.jsx)(`span`,{className:`ripple-inc-avatar`,"aria-hidden":`true`,children:e.name.charAt(0)}),(0,a.jsxs)(`div`,{children:[(0,a.jsx)(`div`,{className:`ripple-inc-person-name`,children:e.name}),(0,a.jsx)(`div`,{className:`ripple-inc-person-team`,children:e.team}),(0,a.jsx)(`div`,{className:`ripple-inc-person-why`,children:e.why})]})]},t)}function l(e,t){return(0,a.jsx)(`li`,{children:e},t)}function u(e,t){return(0,a.jsxs)(`div`,{className:`ripple-inc-hop`,children:[(0,a.jsx)(`span`,{className:`ripple-inc-hop-dot`,"aria-hidden":`true`}),(0,a.jsxs)(`div`,{className:`ripple-inc-hop-body`,children:[(0,a.jsx)(`div`,{className:`ripple-inc-hop-ctx`,children:e.context}),(0,a.jsx)(`div`,{className:`ripple-inc-hop-label`,children:e.label})]})]},t)}function d(){}function f(e,t){return`${t+1}. ${e}`}export{o as ShipIncident};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-
|
|
1
|
+
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-DiPGFGsJ.js";var n=t(),r=e();function i(e){let t=(0,n.c)(51),{model:i}=e,{migration:s}=i;if(!s){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,r.jsx)(`p`,{className:`ripple-mig-none`,children:`No schema migration in this change.`}),t[0]=e):e=t[0],e}let{file:c,sql:l,rows:u,lockCost:d,expand:f,note:p}=s,m;if(t[1]!==l){let e=(l??[]).join(` `);m=/\bnot\s+null\b/i.test(e)&&/\bdefault\b/i.test(e),t[1]=l,t[2]=m}else m=t[2];let h=m,g;t[3]===u?g=t[4]:(g=!!u&&/\d/.test(u),t[3]=u,t[4]=g);let _=g,v;t[5]===c?v=t[6]:(v=(0,r.jsx)(`span`,{className:`ripple-mig-code-file`,children:c}),t[5]=c,t[6]=v);let y;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,r.jsx)(`span`,{className:`ripple-mig-code-tag`,children:`looks harmless`}),t[7]=y):y=t[7];let b;t[8]===v?b=t[9]:(b=(0,r.jsxs)(`div`,{className:`ripple-mig-code-bar`,children:[v,y]}),t[8]=v,t[9]=b);let x;t[10]===l?x=t[11]:(x=l&&l.length>0&&(0,r.jsx)(`div`,{className:`ripple-mig-code-body`,"aria-label":`The migration SQL`,children:l.map(o)}),t[10]=l,t[11]=x);let S;t[12]!==b||t[13]!==x?(S=(0,r.jsxs)(`div`,{className:`ripple-mig-code`,children:[b,x]}),t[12]=b,t[13]=x,t[14]=S):S=t[14];let C;t[15]===u?C=t[16]:(C=u&&(0,r.jsxs)(`div`,{className:`ripple-mig-stat`,children:[(0,r.jsx)(`span`,{className:`ripple-mig-stat-num`,children:u}),(0,r.jsx)(`span`,{className:`ripple-mig-stat-label`,children:`rows`})]}),t[15]=u,t[16]=C);let w;t[17]===d?w=t[18]:(w=(0,r.jsx)(`span`,{className:`ripple-mig-stat-num`,children:d}),t[17]=d,t[18]=w);let T;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,r.jsx)(`span`,{className:`ripple-mig-stat-label`,children:`the cost`}),t[19]=T):T=t[19];let E;t[20]===w?E=t[21]:(E=(0,r.jsxs)(`div`,{className:`ripple-mig-stat`,children:[w,T]}),t[20]=w,t[21]=E);let D;t[22]!==E||t[23]!==C?(D=(0,r.jsxs)(`div`,{className:`ripple-mig-stats`,children:[C,E]}),t[22]=E,t[23]=C,t[24]=D):D=t[24];let O=h?`Why this locks writes`:`Why this is worth a second look`,k;t[25]===O?k=t[26]:(k=(0,r.jsx)(`div`,{className:`ripple-eyebrow`,children:O}),t[25]=O,t[26]=k);let A;t[27]!==h||t[28]!==u||t[29]!==_?(A=(0,r.jsx)(`p`,{className:`ripple-mig-explain-body`,children:h?(0,r.jsxs)(r.Fragment,{children:[`Adding a `,(0,r.jsx)(`code`,{className:`ripple-mig-inline`,children:`NOT NULL DEFAULT`}),` column forces the database to rewrite`,` `,_?`every one of the ${u} rows`:`every existing row`,` behind an exclusive lock — until that finishes, nothing can write to this table.`]}):(0,r.jsxs)(r.Fragment,{children:[`A schema change like this can hold an exclusive lock on the table while it runs, blocking writes until it’s done — whether that’s instant or an outage comes down to `,_?`its ${u} rows`:`how large the real table is`,`.`]})}),t[27]=h,t[28]=u,t[29]=_,t[30]=A):A=t[30];let j;t[31]!==k||t[32]!==A?(j=(0,r.jsxs)(`aside`,{className:`ripple-mig-explain`,children:[k,A]}),t[31]=k,t[32]=A,t[33]=j):j=t[33];let M;t[34]!==D||t[35]!==j||t[36]!==S?(M=(0,r.jsxs)(`div`,{className:`ripple-mig-left`,children:[S,D,j]}),t[34]=D,t[35]=j,t[36]=S,t[37]=M):M=t[37];let N;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,r.jsx)(`div`,{className:`ripple-eyebrow`,children:`Ship it this way instead — expand / contract`}),t[38]=N):N=t[38];let P;t[39]===f?P=t[40]:(P=f.map(a),t[39]=f,t[40]=P);let F;t[41]===P?F=t[42]:(F=(0,r.jsx)(`ol`,{className:`ripple-mig-steps`,children:P}),t[41]=P,t[42]=F);let I;t[43]===p?I=t[44]:(I=p&&(0,r.jsxs)(`div`,{className:`ripple-mig-tell`,children:[(0,r.jsx)(`span`,{className:`ripple-mig-tell-dot`,"aria-hidden":`true`}),(0,r.jsxs)(`div`,{className:`ripple-mig-tell-body`,children:[(0,r.jsx)(`span`,{className:`ripple-mig-tell-label`,children:`And tell the team:`}),(0,r.jsx)(`span`,{className:`ripple-mig-tell-text`,children:p})]})]}),t[43]=p,t[44]=I);let L;t[45]!==F||t[46]!==I?(L=(0,r.jsxs)(`div`,{className:`ripple-mig-right`,children:[N,F,I]}),t[45]=F,t[46]=I,t[47]=L):L=t[47];let R;return t[48]!==M||t[49]!==L?(R=(0,r.jsxs)(`div`,{className:`ripple-mig`,children:[M,L]}),t[48]=M,t[49]=L,t[50]=R):R=t[50],R}function a(e,t){return(0,r.jsxs)(`li`,{className:`ripple-mig-step`,children:[(0,r.jsx)(`span`,{className:`ripple-mig-step-rail`,"aria-hidden":`true`,children:(0,r.jsx)(`span`,{className:`ripple-mig-step-dot`})}),(0,r.jsxs)(`div`,{className:`ripple-mig-step-body`,children:[(0,r.jsx)(`span`,{className:`ripple-mig-step-title`,children:e.title}),(0,r.jsx)(`span`,{className:`ripple-mig-step-detail`,children:e.detail})]})]},t)}function o(e,t){return(0,r.jsxs)(`div`,{className:`ripple-mig-code-row`,children:[(0,r.jsx)(`span`,{className:`ripple-mig-code-gutter`,"aria-hidden":`true`,children:`+`}),(0,r.jsx)(`code`,{className:`ripple-mig-code-line`,children:e})]},t)}export{i as ShipMigration};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-
|
|
1
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-DiPGFGsJ.js";var r=e(),i=n(),a=t();function o(e){let t=(0,i.c)(24),{model:n}=e,{modules:o,onboarding:d}=n,[f,p]=(0,r.useState)(o[0]?.id),m;t[0]!==o||t[1]!==f?(m=o.find(e=>e.id===f)??o[0],t[0]=o,t[1]=f,t[2]=m):m=t[2];let h=m,g;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,a.jsxs)(`header`,{className:`ripple-onb-head`,children:[(0,a.jsx)(`span`,{className:`ripple-onb-pill`,children:`No PR needed`}),(0,a.jsx)(`h2`,{className:`ripple-onb-title`,children:`Understand the whole service`})]}),t[3]=g):g=t[3];let _;t[4]===d?_=t[5]:(_=d&&d.requestLife.length>0&&(0,a.jsxs)(`section`,{className:`ripple-onb-life ripple-onb-life-top`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`A request’s life`}),(0,a.jsx)(`div`,{className:`ripple-onb-trace`,children:d.requestLife.map((e,t)=>(0,a.jsxs)(`span`,{className:`ripple-onb-trace-step`,children:[(0,a.jsx)(`code`,{className:`ripple-onb-chip`,children:e}),t<d.requestLife.length-1&&(0,a.jsx)(`span`,{className:`ripple-onb-chevron`,"aria-hidden":`true`,children:`›`})]},`${e}-${t}`))})]}),t[4]=d,t[5]=_);let v;if(t[6]!==o||t[7]!==h?.id){let e;t[9]===h?.id?e=t[10]:(e=e=>{let t=e.id===h?.id;return(0,a.jsxs)(`button`,{type:`button`,className:`ripple-onb-item`,"data-active":t,"aria-pressed":t,onClick:()=>p(e.id),children:[(0,a.jsx)(`span`,{className:`ripple-onb-item-name`,children:e.name}),(0,a.jsx)(`span`,{className:`ripple-onb-item-purpose`,children:e.purpose}),(0,a.jsxs)(`span`,{className:`ripple-onb-item-foot`,children:[(0,a.jsx)(`span`,{className:`ripple-onb-item-owner`,children:e.owner}),(0,a.jsx)(`span`,{className:`ripple-onb-item-health`,children:e.health})]})]},e.id)},t[9]=h?.id,t[10]=e),v=o.map(e),t[6]=o,t[7]=h?.id,t[8]=v}else v=t[8];let y;t[11]===v?y=t[12]:(y=(0,a.jsx)(`nav`,{className:`ripple-onb-list`,"aria-label":`Service modules`,children:v}),t[11]=v,t[12]=y);let b;t[13]===h?b=t[14]:(b=h&&(0,a.jsxs)(`article`,{className:`ripple-onb-detail`,"aria-live":`polite`,children:[(0,a.jsxs)(`div`,{className:`ripple-onb-detail-head`,children:[(0,a.jsx)(`h3`,{className:`ripple-onb-detail-name`,children:h.name}),(0,a.jsx)(`p`,{className:`ripple-onb-detail-purpose`,children:h.purpose}),(0,a.jsxs)(`div`,{className:`ripple-onb-detail-meta`,children:[(0,a.jsx)(`code`,{className:`ripple-onb-entry`,children:h.entry}),(0,a.jsxs)(`span`,{className:`ripple-onb-detail-owner`,children:[h.owner,` · `,h.health]})]})]}),(0,a.jsxs)(`div`,{className:`ripple-onb-explain`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Mavéa explains`}),(0,a.jsx)(`p`,{children:h.explain})]}),h.startHere.length>0&&(0,a.jsxs)(`section`,{className:`ripple-onb-group`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Start here`}),(0,a.jsx)(`div`,{className:`ripple-onb-chips`,children:h.startHere.map(u)})]}),h.depends.length>0&&(0,a.jsxs)(`section`,{className:`ripple-onb-group`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Depends on`}),(0,a.jsx)(`div`,{className:`ripple-onb-chips`,children:h.depends.map(l)})]}),h.usedBy.length>0&&(0,a.jsxs)(`section`,{className:`ripple-onb-group`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Used by`}),(0,a.jsx)(`div`,{className:`ripple-onb-chips`,children:h.usedBy.map(c)})]})]}),t[13]=h,t[14]=b);let x;t[15]!==y||t[16]!==b?(x=(0,a.jsxs)(`div`,{className:`ripple-onb-panes`,children:[y,b]}),t[15]=y,t[16]=b,t[17]=x):x=t[17];let S;t[18]===d?S=t[19]:(S=d&&(0,a.jsx)(`footer`,{className:`ripple-onb-foot`,children:(0,a.jsxs)(`section`,{children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Your first week, in order`}),(0,a.jsx)(`ol`,{className:`ripple-onb-week`,children:d.firstWeek.map(s)})]})}),t[18]=d,t[19]=S);let C;return t[20]!==_||t[21]!==x||t[22]!==S?(C=(0,a.jsxs)(`div`,{className:`ripple-onb`,children:[g,_,x,S]}),t[20]=_,t[21]=x,t[22]=S,t[23]=C):C=t[23],C}function s(e,t){return(0,a.jsxs)(`li`,{className:`ripple-onb-step`,children:[(0,a.jsx)(`span`,{className:`ripple-onb-step-num`,"aria-hidden":`true`,children:t+1}),(0,a.jsxs)(`span`,{className:`ripple-onb-step-body`,children:[(0,a.jsx)(`span`,{className:`ripple-eyebrow ripple-onb-step-team`,children:e.team}),(0,a.jsx)(`span`,{className:`ripple-onb-step-title`,children:e.title}),(0,a.jsx)(`span`,{className:`ripple-onb-step-sub`,children:e.sub}),(0,a.jsx)(`code`,{className:`ripple-onb-step-file`,children:e.file})]})]},`${e.title}-${t}`)}function c(e){return(0,a.jsx)(`span`,{className:`ripple-onb-chip`,children:e},e)}function l(e){return(0,a.jsx)(`span`,{className:`ripple-onb-chip`,children:e},e)}function u(e){return(0,a.jsx)(`code`,{className:`ripple-onb-chip ripple-onb-chip-go`,children:e},e)}export{o as ShipOnboarding};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-
|
|
1
|
+
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-DiPGFGsJ.js";var n=t(),r=e();function i(e){return e===`breaks`?`var(--danger)`:e===`watch`?`var(--warning)`:`var(--insight)`}function a(e){let t=(0,n.c)(29),{model:i,altitude:a}=e,{pr:c,gate:l}=i,u;t[0]===i.changes?u=t[1]:(u=i.changes.filter(s),t[0]=i.changes,t[1]=u);let d=u.length,f=c.files??i.changes.length,p=f===1?`file`:`files`,m=l.decision===`block`?`Hold`:l.decision===`watch`?`Review first`:l.decision===`pass`?`Clear to ship`:`Exploring`,h=a===`principal`?`${m}.`+(d?` ${d} breaking.`:``)+` ${f} ${p} touched.`:a===`newgrad`?`Here’s the lay of the land — take it one piece at a time, you don’t need the whole system in your head.`:null,g=a===`newgrad`?c.risks.length?`The “Before you merge” notes are the questions to raise in review — you don’t need every answer yet, just to ask.`:`Nothing risky is pulling at the top, so this is a friendly one to read end to end.`:null,_;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,r.jsx)(`div`,{className:`ripple-eyebrow`,children:`What this change does`}),t[2]=_):_=t[2];let v;t[3]===h?v=t[4]:(v=h&&(0,r.jsx)(`p`,{className:`ripple-read-lead`,children:h}),t[3]=h,t[4]=v);let y;t[5]===c.summary?y=t[6]:(y=(0,r.jsx)(`p`,{className:`ripple-read-summary`,children:c.summary}),t[5]=c.summary,t[6]=y);let b;t[7]!==a||t[8]!==c.readScope?(b=a!==`principal`&&c.readScope&&(0,r.jsxs)(`p`,{className:`ripple-read-scope`,children:[c.readScope,` Mavéa paraphrases nothing it can’t cite — expand any claim to its line.`]}),t[7]=a,t[8]=c.readScope,t[9]=b):b=t[9];let x;t[10]===g?x=t[11]:(x=g&&(0,r.jsx)(`p`,{className:`ripple-read-scope`,children:g}),t[10]=g,t[11]=x);let S;t[12]!==v||t[13]!==y||t[14]!==b||t[15]!==x?(S=(0,r.jsxs)(`div`,{className:`ripple-read-main`,children:[_,v,y,b,x]}),t[12]=v,t[13]=y,t[14]=b,t[15]=x,t[16]=S):S=t[16];let C;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,r.jsx)(`div`,{className:`ripple-eyebrow`,children:`Before you merge`}),t[17]=C):C=t[17];let w;t[18]===c.risks?w=t[19]:(w=c.risks.map(o),t[18]=c.risks,t[19]=w);let T;t[20]===c.risks.length?T=t[21]:(T=c.risks.length===0&&(0,r.jsx)(`div`,{className:`ripple-risk-empty`,children:`Nothing is pulling at the top — this one reads clean.`}),t[20]=c.risks.length,t[21]=T);let E;t[22]!==T||t[23]!==w?(E=(0,r.jsxs)(`aside`,{className:`ripple-read-risks`,"aria-label":`Before you merge`,children:[C,w,T]}),t[22]=T,t[23]=w,t[24]=E):E=t[24];let D;return t[25]!==a||t[26]!==E||t[27]!==S?(D=(0,r.jsxs)(`div`,{className:`ripple-read`,"data-altitude":a,children:[S,E]}),t[25]=a,t[26]=E,t[27]=S,t[28]=D):D=t[28],D}function o(e,t){return(0,r.jsxs)(`div`,{className:`ripple-risk`,children:[(0,r.jsx)(`span`,{className:`ripple-risk-dot`,style:{background:i(e.level)},"aria-hidden":`true`}),(0,r.jsx)(`span`,{className:`ripple-risk-text`,children:e.text})]},t)}function s(e){return e.risk===`breaks`}export{a as ShipRead};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-
|
|
1
|
+
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-DiPGFGsJ.js";var n=t(),r=e();function i(){let e=(0,n.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,r.jsxs)(`svg`,{className:`ripple-roll-tri`,viewBox:`0 0 24 24`,width:`18`,height:`18`,"aria-hidden":`true`,focusable:`false`,children:[(0,r.jsx)(`path`,{d:`M12 3.2 22 20.4H2L12 3.2Z`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinejoin:`round`}),(0,r.jsx)(`path`,{d:`M12 9.4v5`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`}),(0,r.jsx)(`circle`,{cx:`12`,cy:`17.4`,r:`1.05`,fill:`currentColor`})]}),e[0]=t):t=e[0],t}function a(e){let t=(0,n.c)(5),{model:a}=e,{rollout:c}=a,l;if(t[0]!==c){let e=c.find(s),n;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,r.jsxs)(`div`,{className:`ripple-roll-intro`,children:[(0,r.jsx)(`div`,{className:`ripple-eyebrow`,children:`Safe rollout order`}),(0,r.jsx)(`p`,{className:`ripple-roll-lead`,children:`Ship in this sequence and the change never breaks a caller — every consumer learns the new contract before the producer drops the old one.`})]}),t[2]=n):n=t[2];let a=c.map(o),u;t[3]===a?u=t[4]:(u=(0,r.jsx)(`ol`,{className:`ripple-roll-grid`,children:a}),t[3]=a,t[4]=u),l=(0,r.jsxs)(`div`,{className:`ripple-roll`,children:[n,u,e&&(0,r.jsxs)(`aside`,{className:`ripple-roll-trap`,"aria-label":`The trap in this rollout`,children:[(0,r.jsxs)(`div`,{className:`ripple-roll-trap-head`,children:[(0,r.jsx)(i,{}),(0,r.jsx)(`span`,{className:`ripple-eyebrow ripple-roll-trap-eyebrow`,children:`The trap`})]}),(0,r.jsxs)(`p`,{className:`ripple-roll-trap-body`,children:[`Step `,e.order,` — `,(0,r.jsx)(`strong`,{children:e.deploy.toLowerCase()}),` (`,e.team,`) — is the one you instinctively do first. Drop the old contract before its consumers are ready and every one of them breaks the moment it ships. Mavéa puts the consumer upgrades ahead of the producer: the old path stays alive until the last caller can speak the new one, then it’s removed.`]})]})]}),t[0]=c,t[1]=l}else l=t[1];return l}function o(e){return(0,r.jsxs)(`li`,{className:`ripple-roll-step`,"data-trap":e.trap?`true`:void 0,children:[(0,r.jsxs)(`div`,{className:`ripple-roll-head`,children:[(0,r.jsx)(`span`,{className:`ripple-roll-order`,"data-trap":e.trap?`true`:void 0,"aria-hidden":`true`,children:e.order}),(0,r.jsx)(`span`,{className:`ripple-eyebrow ripple-roll-team`,children:e.team})]}),(0,r.jsx)(`div`,{className:`ripple-roll-deploy`,children:e.deploy}),(0,r.jsx)(`p`,{className:`ripple-roll-note`,children:e.note})]},e.order)}function s(e){return e.trap}export{a as ShipRollout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-
|
|
1
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-DiPGFGsJ.js";var r=e(),i=n(),a=t(),o={CONCURRENCY:`var(--presence)`,COMPATIBILITY:`var(--warning)`,RESILIENCE:`var(--danger)`,OBSERVABILITY:`var(--insight)`,DATA:`var(--presence-deep)`};function s(e){return o[e.split(/[\s/]/)[0]?.toUpperCase()??``]??`var(--presence)`}function c(e){let t=(0,i.c)(19),{model:n}=e,{suggestions:o,suppressedNits:c}=n,[l,u]=(0,r.useState)(o[0]?.id??null),d;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`What a principal would flag`}),t[0]=d):d=t[0];let f;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,a.jsx)(`span`,{className:`ripple-sg-orb`,"aria-hidden":`true`}),t[1]=f):f=t[1];let p;t[2]===o.length?p=t[3]:(p=(0,a.jsxs)(`span`,{className:`ripple-sg-count`,children:[(0,a.jsx)(`strong`,{children:o.length}),` worth your time`]}),t[2]=o.length,t[3]=p);let m;t[4]===c?m=t[5]:(m=c>0&&(0,a.jsxs)(`span`,{className:`ripple-sg-muted`,children:[c,` shallow nits suppressed`]}),t[4]=c,t[5]=m);let h;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,a.jsxs)(`span`,{className:`ripple-sg-grounded`,children:[(0,a.jsx)(`svg`,{viewBox:`0 0 12 12`,"aria-hidden":`true`,focusable:`false`,children:(0,a.jsx)(`path`,{d:`M2.5 6.4 4.8 8.8 9.5 3.4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`})}),`Every one is grounded`]}),t[6]=h):h=t[6];let g;t[7]!==p||t[8]!==m?(g=(0,a.jsxs)(`div`,{className:`ripple-sg-signal`,children:[f,p,m,h]}),t[7]=p,t[8]=m,t[9]=g):g=t[9];let _;t[10]!==l||t[11]!==o?(_=o.length===0?(0,a.jsx)(`div`,{className:`ripple-sg-empty`,children:`Nothing rose above the noise floor — this change reads clean to a principal eye.`}):(0,a.jsx)(`ul`,{className:`ripple-sg-list`,children:o.map(e=>{let t=e.id===l,n=s(e.category),r=`ripple-sg-panel-${e.id}`;return(0,a.jsxs)(`li`,{className:`ripple-sg-card`,"data-open":t,style:{"--ripple-sg-accent":n},children:[(0,a.jsxs)(`button`,{type:`button`,className:`ripple-sg-trigger`,"aria-expanded":t,"aria-controls":r,onClick:()=>u(t?null:e.id),children:[(0,a.jsx)(`span`,{className:`ripple-sg-cat`,children:e.category}),(0,a.jsx)(`span`,{className:`ripple-sg-title`,children:e.title}),(0,a.jsx)(`span`,{className:`ripple-sg-gist`,children:e.gist}),(0,a.jsx)(`svg`,{className:`ripple-sg-chev`,viewBox:`0 0 12 12`,"aria-hidden":`true`,focusable:`false`,children:(0,a.jsx)(`path`,{d:`M3 4.5 6 7.5 9 4.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),t&&(0,a.jsxs)(`div`,{className:`ripple-sg-body`,id:r,children:[(0,a.jsx)(`p`,{className:`ripple-sg-why`,children:e.why}),(0,a.jsxs)(`div`,{className:`ripple-sg-evidence`,children:[(0,a.jsx)(`div`,{className:`ripple-eyebrow`,children:`Why you’re seeing this`}),(0,a.jsx)(`p`,{className:`ripple-sg-evidence-text`,children:e.evidence})]}),(0,a.jsxs)(`div`,{className:`ripple-sg-fix`,children:[(0,a.jsx)(`span`,{className:`ripple-sg-check`,"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{viewBox:`0 0 14 14`,focusable:`false`,children:(0,a.jsx)(`path`,{d:`M3 7.4 5.8 10.2 11 4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.7`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),(0,a.jsxs)(`p`,{className:`ripple-sg-fix-text`,children:[(0,a.jsx)(`span`,{className:`ripple-sg-fix-label`,children:`Suggested:`}),` `,e.fix]})]})]})]},e.id)})}),t[10]=l,t[11]=o,t[12]=_):_=t[12];let v;t[13]===c?v=t[14]:(v=c>0&&(0,a.jsxs)(`div`,{className:`ripple-sg-suppressed`,role:`note`,children:[(0,a.jsxs)(`strong`,{children:[c,` nits suppressed`]}),` — formatting, naming, import order… Mavéa won’t spend your attention on them.`]}),t[13]=c,t[14]=v);let y;return t[15]!==g||t[16]!==_||t[17]!==v?(y=(0,a.jsxs)(`div`,{className:`ripple-sg`,children:[d,g,_,v]}),t[15]=g,t[16]=_,t[17]=v,t[18]=y):y=t[18],y}export{c as ShipSuggestions};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-
|
|
1
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-DiPGFGsJ.js";import{t as r}from"./colors-D49Req-e.js";var i=e(),a=n(),o=t();function s(e){switch(e){case`updated`:return`var(--insight)`;case`breaks`:return`var(--danger)`;case`affected`:return`var(--presence)`;default:return`var(--text-muted)`}}function c(e){return e===`add`?`+`:e===`del`?`−`:``}function l(e){let t=[],n=new Map;for(let r of e){let e=n.get(r.subsystem);e||(e=[],n.set(r.subsystem,e),t.push({subsystem:r.subsystem,items:e})),e.push(r)}return t}function u({model:e}){let{changes:t}=e,n=(0,i.useMemo)(()=>l(t),[t]),a=(0,i.useMemo)(()=>(t.find(e=>e.risk===`breaks`)??t[0])?.id,[t]),[s,u]=(0,i.useState)(a);(0,i.useEffect)(()=>{u(a)},[t.map(e=>e.file).join(`
|
|
2
2
|
`)]);let f=t.find(e=>e.id===s)??t[0];if(!f)return(0,o.jsx)(`div`,{className:`ripple-ws-empty`,children:`No changes in this diff — nothing for the workspace to read.`});let{diff:p}=f,m=f.blastOutside??0;return(0,o.jsxs)(`div`,{className:`ripple-ws`,children:[(0,o.jsx)(`nav`,{className:`ripple-ws-col ripple-ws-list`,"aria-label":`Changes in this pull request`,children:n.map(e=>(0,o.jsxs)(`div`,{className:`ripple-ws-group`,children:[(0,o.jsxs)(`div`,{className:`ripple-ws-group-head`,children:[(0,o.jsx)(`span`,{className:`ripple-eyebrow`,children:e.subsystem}),(0,o.jsx)(`span`,{className:`ripple-ws-group-count`,children:e.items.length})]}),e.items.map(e=>{let t=e.id===f.id,n=e.risk===`breaks`||e.risk===`watch`;return(0,o.jsxs)(`button`,{type:`button`,className:`ripple-ws-row`,"data-active":t,"aria-current":t?`true`:void 0,onClick:()=>u(e.id),children:[(0,o.jsx)(`span`,{className:`ripple-ws-row-dot`,style:{background:r(e.risk)},"aria-hidden":`true`}),(0,o.jsx)(`span`,{className:`ripple-ws-row-title`,children:e.title}),(0,o.jsx)(`span`,{className:`ripple-ws-row-file`,children:e.file}),n&&(0,o.jsx)(`span`,{className:`ripple-ws-row-badge`,style:{color:r(e.risk),background:`color-mix(in oklab, ${r(e.risk)} 15%, transparent)`},children:e.risk===`breaks`?`BREAKS`:`WATCH`})]},e.id)})]},e.subsystem))}),(0,o.jsxs)(`div`,{className:`ripple-ws-col ripple-ws-detail`,children:[(0,o.jsx)(`h3`,{className:`ripple-ws-detail-title`,children:f.title}),(0,o.jsxs)(`div`,{className:`ripple-ws-block`,children:[(0,o.jsx)(`span`,{className:`ripple-eyebrow`,children:`Mavéa’s read`}),(0,o.jsx)(`p`,{children:f.intent})]}),(0,o.jsxs)(`div`,{className:`ripple-ws-diff`,children:[(0,o.jsxs)(`div`,{className:`ripple-ws-diff-head`,children:[(0,o.jsx)(`span`,{className:`ripple-ws-diff-file`,children:p.file}),(0,o.jsxs)(`span`,{className:`ripple-ws-diff-stat`,children:[(0,o.jsxs)(`span`,{className:`ripple-ws-diff-add`,children:[`+`,p.add]}),(0,o.jsxs)(`span`,{className:`ripple-ws-diff-del`,children:[`−`,p.del]})]})]}),(0,o.jsx)(`div`,{className:`ripple-ws-diff-body`,children:p.lines.map((e,t)=>(0,o.jsxs)(`div`,{className:`ripple-ws-diff-line`,"data-t":e.t??`ctx`,children:[(0,o.jsx)(`span`,{className:`ripple-ws-diff-sign`,"aria-hidden":`true`,children:c(e.t)}),(0,o.jsx)(`span`,{className:`ripple-ws-diff-code`,children:e.c})]},t))})]}),(0,o.jsxs)(`div`,{className:`ripple-ws-block ripple-ws-why`,children:[(0,o.jsx)(`span`,{className:`ripple-eyebrow`,children:`Why it’s here`}),(0,o.jsx)(`p`,{children:f.why})]})]}),(0,o.jsxs)(`aside`,{className:`ripple-ws-col ripple-ws-aside`,"aria-label":`Cause and effect`,children:[(0,o.jsxs)(`div`,{className:`ripple-ws-section`,children:[(0,o.jsx)(`span`,{className:`ripple-eyebrow`,children:`Cause & effect`}),(0,o.jsxs)(`div`,{className:`ripple-ws-tiles`,children:[(0,o.jsxs)(`div`,{className:`ripple-ws-tile`,children:[(0,o.jsx)(`span`,{className:`ripple-ws-tile-num`,children:f.blastFiles??0}),(0,o.jsx)(`span`,{className:`ripple-ws-tile-label`,children:`files affected`})]}),(0,o.jsxs)(`div`,{className:`ripple-ws-tile`,"data-alarm":m>0,children:[(0,o.jsx)(`span`,{className:`ripple-ws-tile-num`,children:m}),(0,o.jsx)(`span`,{className:`ripple-ws-tile-label`,children:`outside this PR`})]})]})]}),(0,o.jsxs)(`div`,{className:`ripple-ws-section`,children:[(0,o.jsx)(`span`,{className:`ripple-eyebrow`,children:`What depends on this`}),f.links.length>0?(0,o.jsx)(`div`,{className:`ripple-ws-callers`,children:f.links.map(e=>(0,o.jsx)(d,{link:e},`${e.name}:${e.ref}`))}):(0,o.jsx)(`p`,{className:`ripple-ws-empty`,children:`Nothing else calls into this change — it’s a leaf.`})]}),f.risks&&f.risks.length>0&&(0,o.jsxs)(`div`,{className:`ripple-ws-section`,children:[(0,o.jsx)(`span`,{className:`ripple-eyebrow`,children:`Risk notes`}),(0,o.jsx)(`div`,{className:`ripple-ws-risks`,children:f.risks.map((e,t)=>(0,o.jsxs)(`div`,{className:`ripple-ws-risk`,style:{background:`color-mix(in oklab, ${r(e.level)} 10%, transparent)`,border:`1px solid color-mix(in oklab, ${r(e.level)} 28%, transparent)`},children:[(0,o.jsx)(`span`,{className:`ripple-ws-risk-dot`,style:{background:r(e.level)},"aria-hidden":`true`}),(0,o.jsx)(`span`,{className:`ripple-ws-risk-text`,children:e.text})]},t))})]})]})]})}function d(e){let t=(0,a.c)(21),{link:n}=e,r;t[0]===n.status?r=t[1]:(r=s(n.status),t[0]=n.status,t[1]=r);let i=r,c=n.scope===`cross-repo`,l;t[2]===n.name?l=t[3]:(l=(0,o.jsx)(`span`,{className:`ripple-ws-caller-name`,children:n.name}),t[2]=n.name,t[3]=l);let u;t[4]===n.ref?u=t[5]:(u=(0,o.jsx)(`span`,{className:`ripple-ws-caller-ref`,children:n.ref}),t[4]=n.ref,t[5]=u);let d;t[6]!==l||t[7]!==u?(d=(0,o.jsxs)(`span`,{className:`ripple-ws-caller-main`,children:[l,u]}),t[6]=l,t[7]=u,t[8]=d):d=t[8];let f=`color-mix(in oklab, ${i} 15%, transparent)`,p;t[9]!==i||t[10]!==f?(p={color:i,background:f},t[9]=i,t[10]=f,t[11]=p):p=t[11];let m;t[12]===n.status?m=t[13]:(m=n.status.toUpperCase(),t[12]=n.status,t[13]=m);let h=c?` · OUTSIDE PR`:``,g;t[14]!==p||t[15]!==m||t[16]!==h?(g=(0,o.jsxs)(`span`,{className:`ripple-ws-caller-badge`,style:p,children:[m,h]}),t[14]=p,t[15]=m,t[16]=h,t[17]=g):g=t[17];let _;return t[18]!==d||t[19]!==g?(_=(0,o.jsxs)(`div`,{className:`ripple-ws-caller`,children:[d,g]}),t[18]=d,t[19]=g,t[20]=_):_=t[20],_}export{u as ShipWorkspace};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t,ut as n}from"./index-
|
|
1
|
+
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t,ut as n}from"./index-DiPGFGsJ.js";import{t as r}from"./Orb-B0NEVfqL.js";var i=t(),a=e(),o=[{title:`Chicago · 4-Day Architectu…`,time:`3:14`,snip:`help me plan a trip t…`,tone:`blue`},{title:`Chicago · 4-Day Culinary…`,time:`3:14`,snip:`what are the restaura…`,tone:`green`},{title:`Chicago · 4-Day Itinerary`,time:`3:14`,snip:`what other things sh…`,tone:`amber`,active:!0}],s=[{name:`Speakeasies`,tag:`Hidden & exclusive`,w:`48%`,tone:`presence`},{name:`Live music`,tag:`Blues & jazz`,w:`78%`,tone:`warning`},{name:`Cocktail bars`,tag:`Modern & craft`,w:`46%`,tone:`presence`}],c=[`Reservations are essential for popular speakeasies.`,`Check the music schedule for blues clubs in advance.`,`Use the “L” train or a rideshare; parking is difficult.`,`Dress codes vary; check the venue’s site before going.`],l=[{left:`62%`,top:`34%`,tone:`presence`,n:`2`},{left:`54%`,top:`66%`,tone:`warning`,n:`3`},{left:`60%`,top:`70%`,tone:`insight`,n:`1`,ring:!0}];function u(e){let t=[];for(let n=-48;n<=448;n+=24)t.push(e?`M${n},-48 V248`:`M-48,${n} H448`);return t.join(` `)}function d(){let e=(0,i.c)(3),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,a.jsx)(`rect`,{className:`fl-m-land`,width:`400`,height:`200`}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,a.jsx)(`path`,{className:`fl-m-minor`,d:u(!0)}),e[1]=n):n=e[1];let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,a.jsxs)(`svg`,{className:`fl-map-art`,viewBox:`0 0 400 200`,preserveAspectRatio:`xMidYMid slice`,"aria-hidden":`true`,children:[t,(0,a.jsxs)(`g`,{className:`fl-m-streets`,transform:`rotate(-8 200 100)`,children:[n,(0,a.jsx)(`path`,{className:`fl-m-minor`,d:u(!1)}),(0,a.jsx)(`path`,{className:`fl-m-major`,d:`M88,-48 V248 M168,-48 V248 M248,-48 V248`}),(0,a.jsx)(`path`,{className:`fl-m-major`,d:`M-48,64 H448 M-48,128 H448`}),(0,a.jsx)(`path`,{className:`fl-m-major`,d:`M-10,214 L300,-14`})]}),(0,a.jsx)(`path`,{className:`fl-m-park`,d:`M196,132 C218,124 244,128 250,146 C255,162 236,176 214,174 C192,172 180,152 196,132 Z`}),(0,a.jsx)(`path`,{className:`fl-m-river`,d:`M284,36 C238,52 206,44 168,58 C136,70 104,62 70,76`}),(0,a.jsx)(`path`,{className:`fl-m-water`,d:`M285,0 C270,60 276,140 262,200 L400,200 L400,0 Z`}),(0,a.jsx)(`path`,{className:`fl-m-shore`,d:`M285,0 C270,60 276,140 262,200`}),(0,a.jsx)(`path`,{className:`fl-m-current`,d:`M310,52 C326,46 342,50 356,42`}),(0,a.jsx)(`path`,{className:`fl-m-current`,d:`M318,120 C336,114 350,120 366,110`})]}),e[2]=r):r=e[2],r}function f(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n,{eyebrow:`The signature move`,children:[`It listens. It speaks. `,(0,a.jsx)(`em`,{children:`Then it draws.`})]}),(0,a.jsxs)(`div`,{className:`fl-window`,children:[(0,a.jsxs)(`div`,{className:`fl-window-bar`,children:[(0,a.jsx)(`span`,{className:`fl-light r`}),(0,a.jsx)(`span`,{className:`fl-light y`}),(0,a.jsx)(`span`,{className:`fl-light g`}),(0,a.jsxs)(`div`,{className:`fl-window-title`,children:[(0,a.jsx)(r,{size:18,className:`fl-orb-inline`}),(0,a.jsx)(`span`,{className:`fl-window-topic`,children:`Chicago Nightlife: A Curated Guide`}),(0,a.jsx)(`span`,{className:`fl-live`,style:{color:`var(--text-muted)`},children:`Example`})]})]}),(0,a.jsxs)(`div`,{className:`fl-window-body`,children:[(0,a.jsxs)(`aside`,{className:`fl-rail`,children:[(0,a.jsxs)(`div`,{className:`fl-rail-head`,children:[(0,a.jsx)(`span`,{children:`This session`}),(0,a.jsx)(`span`,{className:`fl-rail-chip`,children:`Replay`})]}),o.map(e=>(0,a.jsxs)(`div`,{className:`fl-rail-row`+(e.active?` active`:``),children:[(0,a.jsx)(`div`,{className:`fl-rail-title tone-`+e.tone,children:e.title}),(0,a.jsxs)(`div`,{className:`fl-rail-snip`,children:[(0,a.jsx)(`span`,{className:`fl-rail-time`,children:e.time}),(0,a.jsx)(`span`,{className:`fl-rail-text`,children:e.snip})]})]},e.title))]}),(0,a.jsxs)(`div`,{className:`fl-canvas`,children:[(0,a.jsxs)(`div`,{className:`fl-finding`,children:[(0,a.jsxs)(`div`,{className:`fl-finding-kicker`,children:[(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M12 2l1.6 6.4L20 10l-6.4 1.6L12 18l-1.6-6.4L4 10l6.4-1.6z`})}),`Finding 1`]}),(0,a.jsx)(`div`,{className:`fl-finding-title`,children:`The Chicago after-dark vibe`}),(0,a.jsxs)(`p`,{className:`fl-finding-text`,children:[`Chicago’s nightlife thrives on variety. Whether you’re after a quiet, high-end cocktail lounge or a high-energy blues bar, there’s a district for it.`,(0,a.jsx)(`span`,{className:`fl-caret`})]}),(0,a.jsx)(`span`,{className:`fl-badge inferred`,children:`Inferred`})]}),(0,a.jsxs)(`div`,{className:`fl-fig`,children:[(0,a.jsx)(`div`,{className:`fl-fig-label`,children:`Fig. 1 — Nightlife hotspots`}),(0,a.jsxs)(`div`,{className:`fl-map`,children:[(0,a.jsx)(d,{}),(0,a.jsxs)(`div`,{className:`fl-map-zoom`,children:[(0,a.jsx)(`span`,{children:`+`}),(0,a.jsx)(`span`,{children:`−`})]}),l.map((e,t)=>(0,a.jsx)(`span`,{className:`fl-pin tone-`+e.tone+(e.ring?` ring`:``),style:{left:e.left,top:e.top,"--pin-i":String(t)},children:e.n},e.n)),(0,a.jsx)(`span`,{className:`fl-map-attr`,children:`Illustrated map`})]}),(0,a.jsx)(`div`,{className:`fl-fig-note`,children:`Illustrated example · 3 locations`})]}),(0,a.jsxs)(`div`,{className:`fl-cardrow`,children:[(0,a.jsxs)(`div`,{className:`fl-mini`,children:[(0,a.jsx)(`div`,{className:`fl-mini-label`,children:`▦ Nightlife categories`}),s.map((e,t)=>(0,a.jsxs)(`div`,{className:`fl-bar`,children:[(0,a.jsxs)(`div`,{className:`fl-bar-top`,children:[(0,a.jsx)(`span`,{className:`fl-bar-name`,children:e.name}),(0,a.jsx)(`span`,{className:`fl-bar-tag`,children:e.tag})]}),(0,a.jsx)(`div`,{className:`fl-bar-track`,children:(0,a.jsx)(`div`,{className:`fl-bar-fill tone-`+e.tone,style:{"--w":e.w,"--bar-i":String(t)}})})]},e.name))]}),(0,a.jsxs)(`div`,{className:`fl-mini`,children:[(0,a.jsx)(`div`,{className:`fl-mini-label`,children:`✦ Pro-tips for Chicago nights`}),c.map((e,t)=>(0,a.jsxs)(`div`,{className:`fl-tip`,style:{"--tip-i":String(t)},children:[(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{pathLength:1,d:`M20 6L9 17l-5-5`})}),(0,a.jsx)(`span`,{children:e})]},e))]})]}),(0,a.jsxs)(`div`,{className:`fl-dock`,children:[(0,a.jsx)(`span`,{className:`fl-dock-mic`,children:(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3zM5 11a7 7 0 0 0 14 0M12 18v3`})})}),(0,a.jsx)(`span`,{className:`fl-dock-text`,children:`Talk, or type — anything.`}),(0,a.jsxs)(`span`,{className:`fl-dock-mark`,children:[(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M3 21l3.2-.9L18 8.3l-2.3-2.3L4 17.6 3 21z M14.7 7l2.3 2.3`})}),`Highlight`]}),(0,a.jsx)(`span`,{className:`fl-dock-send`,children:(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M5 12h14M13 6l6 6-6 6`})})})]})]})]})]})]})}export{f as SignatureLoop};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PrismOverlay-
|
|
2
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{I as n,J as r,L as i,M as a,N as o,k as s,q as c}from"./index-y8GL67bB.js";import{n as l}from"./icons-CHVz6kv_.js";import{t as u}from"./FeatureUseNotice-DPtQ0OGb.js";import{a as d,g as f,o as p,p as m,u as h}from"./providers-wzm7E8Pa.js";import{t as g}from"./homeTarget-BgWKI_E1.js";import{l as _,n as v}from"./useLiveConfig-X9Wxh90k.js";/* empty css */import{n as y,r as b}from"./officeDoc-B6nEhNp4.js";var x=e(),S=/\.(pdf|docx|pptx|xlsx|csv|tsv|txt|text|md|markdown|json|jsonl|ndjson|ya?ml|toml|xml|log|tab|js|ts|jsx|tsx|py|rb|go|rs|java|c|h|cpp|cs|sh|sql|css|html?)$/i,C=/(^|\/)(\.git|node_modules|\.DS_Store|__pycache__|\.venv|dist|build|__MACOSX)(\/|$)/i;function w(e){return e.filter(e=>{let t=e.webkitRelativePath||e.name;return S.test(e.name)&&!C.test(t)})}async function T(e,t={}){let{max:n=200,onProgress:r}=t,i=w(e),a=i.slice(0,n),o=[];for(let e=0;e<a.length;e+=1){let t=await m(a[e]);t.ok&&t.attachment&&o.push(t.attachment),r?.(e+1,a.length)}return{sources:o,skipped:i.length-o.length}}var E={docx:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`,pptx:`application/vnd.openxmlformats-officedocument.presentationml.presentation`,xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`};function D(e){let t=e.split(`.`).pop()?.toLowerCase()??``;return t===`pdf`?`application/pdf`:E[t]??``}async function O(e){let t;try{t=await b(e.data?y(e.data):await p(e))}catch{return[]}if(!t)return[];let n=[];for(let[e,r]of t){if(n.length>=200)break;if(e.endsWith(`/`)||r.length===0||C.test(e))continue;let t=e.split(`/`).pop()??e;if(!t||t.startsWith(`.`))continue;let i={name:t,mime:D(t),data:``,size:r.length,bytes:Uint8Array.from(r).buffer};f(i)&&n.push(i)}return n}function k(e){return e.mime===`application/zip`||e.mime===`application/x-zip-compressed`||/\.zip$/i.test(e.name)}var A=[[`Foci et al. 2024. In the treatment arm we observed 42% improvement at 12 weeks on the primary endpoint. No serious adverse events were reported over the study period.`],[`Maso et al. 2023. Across the full cohort there was no significant effect at 24 weeks on the relapse rate, a secondary endpoint.`],[`Nyra 2024. The trial recorded 38% improvement at 12 weeks in the treatment arm, with mild adverse events in 12% of patients. Adoption remains limited outside academic centers.`],[`Cost Review 2023. The analysis finds the annual treatment cost is $18,400 per patient at list price.`],[`Ledger 2022. After rebates, the intervention costs $9,200 per patient annually.`],[`Adoption Survey 2024. Among surveyed sites, 62% of clinics adopted the protocol within the first year.`]],j={sources:[{id:`s0`,fileName:`foci-2024.pdf`,kind:`pdf`,pageCount:1,label:`Foci et al. 2024`},{id:`s1`,fileName:`maso-2023.pdf`,kind:`pdf`,pageCount:1,label:`Maso et al. 2023`},{id:`s2`,fileName:`nyra-2024.pdf`,kind:`pdf`,pageCount:1,label:`Nyra 2024`},{id:`s3`,fileName:`cost-review-2023.pdf`,kind:`pdf`,pageCount:1,label:`Cost Review 2023`},{id:`s4`,fileName:`ledger-2022.pdf`,kind:`pdf`,pageCount:1,label:`Ledger 2022`},{id:`s5`,fileName:`adoption-survey-2024.pdf`,kind:`pdf`,pageCount:1,label:`Adoption Survey 2024`}],themes:[{id:`Efficacy`,name:`Efficacy`,sourceCount:3,claimCount:3},{id:`Safety`,name:`Safety`,sourceCount:2,claimCount:2},{id:`Cost`,name:`Cost`,sourceCount:2,claimCount:2},{id:`Adoption`,name:`Adoption`,sourceCount:2,claimCount:2}],claims:[{id:`s0c0`,quote:`42% improvement at 12 weeks on the primary endpoint`,page:1,kind:`stat`,title:`42% improvement at 12 weeks`,ask:`On which endpoint?`,role:`load-bearing`,region:`Efficacy`,source:0},{id:`s1c0`,quote:`no significant effect at 24 weeks on the relapse rate`,page:1,kind:`finding`,title:`No effect at 24 weeks`,ask:`Which endpoint?`,role:`load-bearing`,region:`Efficacy`,source:1},{id:`s2c0`,quote:`38% improvement at 12 weeks in the treatment arm`,page:1,kind:`stat`,title:`38% improvement at 12 weeks`,ask:`How measured?`,role:`supporting`,region:`Efficacy`,source:2},{id:`s0c1`,quote:`No serious adverse events were reported`,page:1,kind:`finding`,title:`No serious adverse events`,ask:`Over what period?`,role:`supporting`,region:`Safety`,source:0},{id:`s2c1`,quote:`mild adverse events in 12% of patients`,page:1,kind:`risk`,title:`Mild adverse events in 12%`,ask:`Which events?`,role:`supporting`,region:`Safety`,source:2},{id:`s3c0`,quote:`annual treatment cost is $18,400 per patient`,page:1,kind:`stat`,title:`Cost $18,400 per patient`,ask:`List or net price?`,role:`load-bearing`,region:`Cost`,source:3},{id:`s4c0`,quote:`the intervention costs $9,200 per patient annually`,page:1,kind:`stat`,title:`Cost $9,200 per patient`,ask:`Before or after rebates?`,role:`load-bearing`,region:`Cost`,source:4},{id:`s5c0`,quote:`62% of clinics adopted the protocol`,page:1,kind:`stat`,title:`62% of clinics adopted`,ask:`Over what window?`,role:`supporting`,region:`Adoption`,source:5},{id:`s2c2`,quote:`Adoption remains limited outside academic centers`,page:1,kind:`finding`,title:`Limited outside academia`,ask:`Why limited?`,role:`context`,region:`Adoption`,source:2}],threads:[{a:`s0c0`,b:`s1c0`,relation:`in-tension`,crossDoc:!0},{a:`s3c0`,b:`s4c0`,relation:`contradicts`,crossDoc:!0},{a:`s0c0`,b:`s2c0`,relation:`agrees`,crossDoc:!0}],contradictions:[{id:`x0`,theme:`Efficacy`,a:`s0c0`,b:`s1c0`,relation:`in-tension`,sharedQuantity:`drug efficacy`,comparable:!1,caveat:`timeframe`,label:`Two trials disagree on efficacy`,seedQuestion:`Are these comparable? "42% improvement at 12 weeks" (12week) vs "No effect at 24 weeks" (24week) — do they measure the same endpoint, population, and timeframe?`},{id:`x1`,theme:`Cost`,a:`s3c0`,b:`s4c0`,relation:`contradicts`,sharedQuantity:`annual treatment cost`,comparable:!0,matchPhrase:`per patient`,delta:{aValue:18400,bValue:9200,unit:`$`},label:`Sources disagree on annual treatment cost`,seedQuestion:`Are these comparable? "Cost $18,400 per patient" (unspecified scope) vs "Cost $9,200 per patient" (unspecified scope) — do they measure the same endpoint, population, and timeframe?`}],gaps:[{id:`g0`,theme:`Safety`,facet:{id:`f0`,label:`Pediatric population`,surfaceForms:[`pediatric`,`paediatric`,`children`,`under 18`]},sourcesScanned:6,coveredCount:0,kind:`absent`,searchedForms:[`pediatric`,`paediatric`,`children`,`under 18`],label:`No coverage — Pediatric population`},{id:`g1`,theme:`Efficacy`,facet:{id:`f1`,label:`Long-term outcomes`,surfaceForms:[`long-term`,`long term`,`follow-up`,`5-year`]},sourcesScanned:6,coveredCount:0,kind:`absent`,searchedForms:[`long-term`,`long term`,`follow-up`,`5-year`],label:`No coverage — Long-term outcomes`}],consensus:[{id:`c0`,theme:`Efficacy`,proposition:`The treatment improves the primary endpoint at 12 weeks.`,memberClaimIds:[`s0c0`,`s2c0`],sourceCount:2,corpusSize:6,band:{unit:`%`,min:38,max:42}}],counts:{contradictions:2,gaps:2,consensus:2},pageCount:6},M=t();r();var N=n(()=>c(()=>import(`./PrismOverlay-B7lEspdu.js`).then(e=>({default:e.PrismOverlay})),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]))),P=n(()=>c(()=>import(`./SynthesisOverlay-CkERphvG.js`).then(e=>({default:e.SynthesisOverlay})),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,0,10,11,12,13,14,15,16,17,18,19,20]))),F=N.Component,I=P.Component,L=Math.round(d/(1024*1024));async function R(e){return{name:e.name,mime:e.type||`application/zip`,data:``,size:e.size,file:e}}function z(){let e=g();(0,x.useEffect)(()=>a(o()),[]);let[t,n]=(0,x.useState)([]),[r,c]=(0,x.useState)(null),[d,f]=(0,x.useState)(!1),[p,m]=(0,x.useState)(!1),[y,b]=(0,x.useState)(null),S=(0,x.useRef)(null),C=(0,x.useRef)(null);(0,x.useEffect)(()=>{let e=C.current;e&&(e.setAttribute(`webkitdirectory`,``),e.setAttribute(`directory`,``))},[]);let w=(0,x.useMemo)(()=>_(v()),[]),[E]=(0,x.useState)(()=>new URLSearchParams(window.location.hash.split(`?`)[1]??``).get(`demo`)===`1`),D=(0,x.useCallback)(async e=>{if(!e||e.length===0)return;P.preload().catch(()=>{}),m(!0),b(null);let r=Array.from(e),i=r.filter(e=>B(e)&&e.size<=41943040),a=r.filter(e=>B(e)&&e.size>41943040),o=r.filter(e=>!B(e));try{let e=[],r=await T(o);e.push(...r.sources);for(let t of i)try{e.push(...await O(await R(t)))}catch{}n(t=>{let n=new Set(t.map(V)),r=[...t,...e.filter(e=>!n.has(V(e)))];return r.length>200?r.slice(0,200):r}),a.length>0?b(`Archive is too large — up to ${L} MB per .zip.`):e.length===0?b(`No readable sources found. Add PDFs, docs, or text/data files.`):t.length+e.length>200&&b(`Capped at 200 sources.`)}catch{b(`Those files couldn't be read. Try PDFs, docs, or text/data files.`)}finally{m(!1),S.current&&(S.current.value=``),C.current&&(C.current.value=``)}},[t.length]),k=(0,x.useCallback)(e=>{n(t=>t.filter((t,n)=>n!==e))},[]),z=(0,x.useCallback)(e=>{e.preventDefault(),f(!1),D(e.dataTransfer.files)},[D]);return E?(0,M.jsx)(s,{label:`Synthesis world`,overlay:!0,children:(0,M.jsx)(I,{cfg:w,demo:{spec:j,corpus:A},onClose:()=>{window.location.hash=e.href}})}):r?(0,M.jsx)(s,{label:r.mode===`prism`?`Prism workbench`:`Synthesis world`,overlay:!0,children:r.mode===`prism`?(0,M.jsx)(F,{pdf:r.sources,cfg:w,onClose:()=>c(null)}):(0,M.jsx)(I,{sources:r.sources,cfg:w,onClose:()=>c(null)})}):(0,M.jsxs)(`div`,{className:`prism-app`,children:[(0,M.jsxs)(`header`,{className:`prism-app-header`,children:[(0,M.jsx)(`button`,{type:`button`,className:`prism-app-back`,onClick:()=>{window.location.hash=e.href},"aria-label":`Back to ${e.label}`,title:`Back to ${e.label}`,children:(0,M.jsx)(l.chevL,{})}),(0,M.jsx)(`span`,{className:`prism-app-brand`,children:`Synthesis`})]}),(0,M.jsxs)(`main`,{className:`prism-app-main`,children:[(0,M.jsxs)(`div`,{className:`prism-app-hero`,children:[(0,M.jsx)(`h1`,{className:`prism-app-title`,children:`Drop in 100 sources. Walk the one result.`}),(0,M.jsx)(`p`,{className:`prism-app-lede`,children:`Point Mavéa at a whole topic — a folder of papers, a data room, a quarter of notes — and it fuses them into one map: where they agree, where they fight, and where they’re silent.`}),(0,M.jsx)(u,{kind:`upload`})]}),(0,M.jsxs)(`div`,{className:`prism-dropzone${d?` prism-dropzone--over`:``}`,onDrop:z,onDragOver:e=>{e.preventDefault(),f(!0)},onDragLeave:e=>{e.currentTarget.contains(e.relatedTarget)||f(!1)},onClick:()=>S.current?.click(),role:`button`,tabIndex:0,"aria-label":`Add sources`,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&S.current?.click()},...i(P.preload),children:[(0,M.jsx)(`input`,{ref:S,type:`file`,multiple:!0,className:`prism-dropzone-input`,onChange:e=>void D(e.target.files),"aria-hidden":`true`}),(0,M.jsx)(`input`,{ref:C,type:`file`,className:`prism-dropzone-input`,onChange:e=>void D(e.target.files),"aria-hidden":`true`}),(0,M.jsx)(l.upload,{}),(0,M.jsx)(`span`,{className:`prism-dropzone-label`,children:d?`Drop to add`:p?`Reading…`:`Drop a folder, a .zip, or files`}),(0,M.jsx)(`span`,{className:`prism-dropzone-hint`,children:`PDF · Word · Excel · PowerPoint · Text · CSV — or a whole folder / archive`}),(0,M.jsx)(`button`,{type:`button`,style:{marginTop:12,padding:`7px 16px`,whiteSpace:`nowrap`,borderRadius:`var(--r-full, 999px)`,border:`1px solid var(--line)`,background:`var(--surface-elevated)`,color:`var(--text-secondary)`,fontSize:13,cursor:`pointer`},onClick:e=>{e.stopPropagation(),C.current?.click()},children:`Choose a folder…`})]}),y&&(0,M.jsx)(`p`,{className:`prism-app-error`,role:`status`,children:y}),t.length>0&&(0,M.jsxs)(`div`,{className:`prism-staged`,children:[(0,M.jsx)(`p`,{className:`prism-staged-label`,children:t.length===1?`1 source ready`:`${t.length} sources ready`}),(0,M.jsx)(`ul`,{className:`prism-staged-list`,children:t.slice(0,60).map((e,t)=>(0,M.jsxs)(`li`,{className:`prism-staged-item`,children:[(0,M.jsx)(l.doc,{}),(0,M.jsx)(`span`,{className:`prism-staged-name`,children:h(e)}),(0,M.jsx)(`button`,{type:`button`,className:`prism-staged-remove`,onClick:e=>{e.stopPropagation(),k(t)},"aria-label":`Remove ${e.name}`,children:(0,M.jsx)(l.x,{})})]},`${V(e)}-${t}`))}),t.length>60&&(0,M.jsxs)(`p`,{className:`prism-staged-label`,children:[`+ `,t.length-60,` more`]}),(()=>{let e=e=>{(e===`prism`?N.preload():P.preload()).catch(()=>{}),c({sources:t,mode:e})},n=t.length;return n<=2?(0,M.jsxs)(`button`,{type:`button`,className:`prism-confirm-btn`,onClick:()=>e(`prism`),...i(N.preload),children:[n===1?`Open in Prism`:`Compare 2 documents`,(0,M.jsx)(l.chevR,{})]}):n===3?(0,M.jsxs)(`div`,{className:`prism-confirm-row`,children:[(0,M.jsx)(`button`,{type:`button`,className:`prism-confirm-btn prism-confirm-alt`,onClick:()=>e(`prism`),...i(N.preload),children:`Compare 3`}),(0,M.jsxs)(`button`,{type:`button`,className:`prism-confirm-btn`,onClick:()=>e(`synth`),...i(P.preload),children:[`Synthesize 3 sources`,(0,M.jsx)(l.chevR,{})]})]}):(0,M.jsxs)(`button`,{type:`button`,className:`prism-confirm-btn`,onClick:()=>e(`synth`),...i(P.preload),children:[`Synthesize `,n,` sources`,(0,M.jsx)(l.chevR,{})]})})()]})]})]})}function B(e){return k({name:e.name,mime:e.type,data:``,size:e.size})}function V(e){return`${e.name}:${e.size}`}export{z as SynthesisApp};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PrismOverlay-COemfAxM.js","assets/index-DiPGFGsJ.js","assets/chunk-BVpWp9h4.js","assets/jsx-runtime-DaSxXjOY.js","assets/react-BQSORdFI.js","assets/lazyRetry-D50B1UMY.js","assets/index-CepQEz75.css","assets/providers-wzm7E8Pa.js","assets/http-CJCtjYpA.js","assets/info-CiqHR5cs.js","assets/sourceHost-BV3t2XDb.js","assets/toast-BBNs2h3L.js","assets/penStrokes-9Q_l7NTt.js","assets/gesture-DabMpPcq.js","assets/citation-BcvmjKS8.js","assets/verbatim-CBMzUDlf.js","assets/officeDoc-B6nEhNp4.js","assets/search-Be63DJkp.js","assets/streamParse-DRgMHWye.js","assets/useFocusTrap-DbfG6zbM.js","assets/PrismOverlay-BTfAicBt.css","assets/SynthesisOverlay-_lC1TNb0.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{I as n,J as r,L as i,M as a,N as o,k as s,q as c}from"./index-DiPGFGsJ.js";import{n as l}from"./icons-CHVz6kv_.js";import{t as u}from"./FeatureUseNotice-CoK5HkbR.js";import{a as d,g as f,o as p,p as m,u as h}from"./providers-wzm7E8Pa.js";import{t as g}from"./homeTarget-BcZYH3DY.js";import{l as _,n as v}from"./useLiveConfig-CbMkeKrN.js";/* empty css */import{n as y,r as b}from"./officeDoc-B6nEhNp4.js";var x=e(),S=/\.(pdf|docx|pptx|xlsx|csv|tsv|txt|text|md|markdown|json|jsonl|ndjson|ya?ml|toml|xml|log|tab|js|ts|jsx|tsx|py|rb|go|rs|java|c|h|cpp|cs|sh|sql|css|html?)$/i,C=/(^|\/)(\.git|node_modules|\.DS_Store|__pycache__|\.venv|dist|build|__MACOSX)(\/|$)/i;function w(e){return e.filter(e=>{let t=e.webkitRelativePath||e.name;return S.test(e.name)&&!C.test(t)})}async function T(e,t={}){let{max:n=200,onProgress:r}=t,i=w(e),a=i.slice(0,n),o=[];for(let e=0;e<a.length;e+=1){let t=await m(a[e]);t.ok&&t.attachment&&o.push(t.attachment),r?.(e+1,a.length)}return{sources:o,skipped:i.length-o.length}}var E={docx:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`,pptx:`application/vnd.openxmlformats-officedocument.presentationml.presentation`,xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`};function D(e){let t=e.split(`.`).pop()?.toLowerCase()??``;return t===`pdf`?`application/pdf`:E[t]??``}async function O(e){let t;try{t=await b(e.data?y(e.data):await p(e))}catch{return[]}if(!t)return[];let n=[];for(let[e,r]of t){if(n.length>=200)break;if(e.endsWith(`/`)||r.length===0||C.test(e))continue;let t=e.split(`/`).pop()??e;if(!t||t.startsWith(`.`))continue;let i={name:t,mime:D(t),data:``,size:r.length,bytes:Uint8Array.from(r).buffer};f(i)&&n.push(i)}return n}function k(e){return e.mime===`application/zip`||e.mime===`application/x-zip-compressed`||/\.zip$/i.test(e.name)}var A=[[`Foci et al. 2024. In the treatment arm we observed 42% improvement at 12 weeks on the primary endpoint. No serious adverse events were reported over the study period.`],[`Maso et al. 2023. Across the full cohort there was no significant effect at 24 weeks on the relapse rate, a secondary endpoint.`],[`Nyra 2024. The trial recorded 38% improvement at 12 weeks in the treatment arm, with mild adverse events in 12% of patients. Adoption remains limited outside academic centers.`],[`Cost Review 2023. The analysis finds the annual treatment cost is $18,400 per patient at list price.`],[`Ledger 2022. After rebates, the intervention costs $9,200 per patient annually.`],[`Adoption Survey 2024. Among surveyed sites, 62% of clinics adopted the protocol within the first year.`]],j={sources:[{id:`s0`,fileName:`foci-2024.pdf`,kind:`pdf`,pageCount:1,label:`Foci et al. 2024`},{id:`s1`,fileName:`maso-2023.pdf`,kind:`pdf`,pageCount:1,label:`Maso et al. 2023`},{id:`s2`,fileName:`nyra-2024.pdf`,kind:`pdf`,pageCount:1,label:`Nyra 2024`},{id:`s3`,fileName:`cost-review-2023.pdf`,kind:`pdf`,pageCount:1,label:`Cost Review 2023`},{id:`s4`,fileName:`ledger-2022.pdf`,kind:`pdf`,pageCount:1,label:`Ledger 2022`},{id:`s5`,fileName:`adoption-survey-2024.pdf`,kind:`pdf`,pageCount:1,label:`Adoption Survey 2024`}],themes:[{id:`Efficacy`,name:`Efficacy`,sourceCount:3,claimCount:3},{id:`Safety`,name:`Safety`,sourceCount:2,claimCount:2},{id:`Cost`,name:`Cost`,sourceCount:2,claimCount:2},{id:`Adoption`,name:`Adoption`,sourceCount:2,claimCount:2}],claims:[{id:`s0c0`,quote:`42% improvement at 12 weeks on the primary endpoint`,page:1,kind:`stat`,title:`42% improvement at 12 weeks`,ask:`On which endpoint?`,role:`load-bearing`,region:`Efficacy`,source:0},{id:`s1c0`,quote:`no significant effect at 24 weeks on the relapse rate`,page:1,kind:`finding`,title:`No effect at 24 weeks`,ask:`Which endpoint?`,role:`load-bearing`,region:`Efficacy`,source:1},{id:`s2c0`,quote:`38% improvement at 12 weeks in the treatment arm`,page:1,kind:`stat`,title:`38% improvement at 12 weeks`,ask:`How measured?`,role:`supporting`,region:`Efficacy`,source:2},{id:`s0c1`,quote:`No serious adverse events were reported`,page:1,kind:`finding`,title:`No serious adverse events`,ask:`Over what period?`,role:`supporting`,region:`Safety`,source:0},{id:`s2c1`,quote:`mild adverse events in 12% of patients`,page:1,kind:`risk`,title:`Mild adverse events in 12%`,ask:`Which events?`,role:`supporting`,region:`Safety`,source:2},{id:`s3c0`,quote:`annual treatment cost is $18,400 per patient`,page:1,kind:`stat`,title:`Cost $18,400 per patient`,ask:`List or net price?`,role:`load-bearing`,region:`Cost`,source:3},{id:`s4c0`,quote:`the intervention costs $9,200 per patient annually`,page:1,kind:`stat`,title:`Cost $9,200 per patient`,ask:`Before or after rebates?`,role:`load-bearing`,region:`Cost`,source:4},{id:`s5c0`,quote:`62% of clinics adopted the protocol`,page:1,kind:`stat`,title:`62% of clinics adopted`,ask:`Over what window?`,role:`supporting`,region:`Adoption`,source:5},{id:`s2c2`,quote:`Adoption remains limited outside academic centers`,page:1,kind:`finding`,title:`Limited outside academia`,ask:`Why limited?`,role:`context`,region:`Adoption`,source:2}],threads:[{a:`s0c0`,b:`s1c0`,relation:`in-tension`,crossDoc:!0},{a:`s3c0`,b:`s4c0`,relation:`contradicts`,crossDoc:!0},{a:`s0c0`,b:`s2c0`,relation:`agrees`,crossDoc:!0}],contradictions:[{id:`x0`,theme:`Efficacy`,a:`s0c0`,b:`s1c0`,relation:`in-tension`,sharedQuantity:`drug efficacy`,comparable:!1,caveat:`timeframe`,label:`Two trials disagree on efficacy`,seedQuestion:`Are these comparable? "42% improvement at 12 weeks" (12week) vs "No effect at 24 weeks" (24week) — do they measure the same endpoint, population, and timeframe?`},{id:`x1`,theme:`Cost`,a:`s3c0`,b:`s4c0`,relation:`contradicts`,sharedQuantity:`annual treatment cost`,comparable:!0,matchPhrase:`per patient`,delta:{aValue:18400,bValue:9200,unit:`$`},label:`Sources disagree on annual treatment cost`,seedQuestion:`Are these comparable? "Cost $18,400 per patient" (unspecified scope) vs "Cost $9,200 per patient" (unspecified scope) — do they measure the same endpoint, population, and timeframe?`}],gaps:[{id:`g0`,theme:`Safety`,facet:{id:`f0`,label:`Pediatric population`,surfaceForms:[`pediatric`,`paediatric`,`children`,`under 18`]},sourcesScanned:6,coveredCount:0,kind:`absent`,searchedForms:[`pediatric`,`paediatric`,`children`,`under 18`],label:`No coverage — Pediatric population`},{id:`g1`,theme:`Efficacy`,facet:{id:`f1`,label:`Long-term outcomes`,surfaceForms:[`long-term`,`long term`,`follow-up`,`5-year`]},sourcesScanned:6,coveredCount:0,kind:`absent`,searchedForms:[`long-term`,`long term`,`follow-up`,`5-year`],label:`No coverage — Long-term outcomes`}],consensus:[{id:`c0`,theme:`Efficacy`,proposition:`The treatment improves the primary endpoint at 12 weeks.`,memberClaimIds:[`s0c0`,`s2c0`],sourceCount:2,corpusSize:6,band:{unit:`%`,min:38,max:42}}],counts:{contradictions:2,gaps:2,consensus:2},pageCount:6},M=t();r();var N=n(()=>c(()=>import(`./PrismOverlay-COemfAxM.js`).then(e=>({default:e.PrismOverlay})),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]))),P=n(()=>c(()=>import(`./SynthesisOverlay-_lC1TNb0.js`).then(e=>({default:e.SynthesisOverlay})),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,0,10,11,12,13,14,15,16,17,18,19,20]))),F=N.Component,I=P.Component,L=Math.round(d/(1024*1024));async function R(e){return{name:e.name,mime:e.type||`application/zip`,data:``,size:e.size,file:e}}function z(){let e=g();(0,x.useEffect)(()=>a(o()),[]);let[t,n]=(0,x.useState)([]),[r,c]=(0,x.useState)(null),[d,f]=(0,x.useState)(!1),[p,m]=(0,x.useState)(!1),[y,b]=(0,x.useState)(null),S=(0,x.useRef)(null),C=(0,x.useRef)(null);(0,x.useEffect)(()=>{let e=C.current;e&&(e.setAttribute(`webkitdirectory`,``),e.setAttribute(`directory`,``))},[]);let w=(0,x.useMemo)(()=>_(v()),[]),[E]=(0,x.useState)(()=>new URLSearchParams(window.location.hash.split(`?`)[1]??``).get(`demo`)===`1`),D=(0,x.useCallback)(async e=>{if(!e||e.length===0)return;P.preload().catch(()=>{}),m(!0),b(null);let r=Array.from(e),i=r.filter(e=>B(e)&&e.size<=41943040),a=r.filter(e=>B(e)&&e.size>41943040),o=r.filter(e=>!B(e));try{let e=[],r=await T(o);e.push(...r.sources);for(let t of i)try{e.push(...await O(await R(t)))}catch{}n(t=>{let n=new Set(t.map(V)),r=[...t,...e.filter(e=>!n.has(V(e)))];return r.length>200?r.slice(0,200):r}),a.length>0?b(`Archive is too large — up to ${L} MB per .zip.`):e.length===0?b(`No readable sources found. Add PDFs, docs, or text/data files.`):t.length+e.length>200&&b(`Capped at 200 sources.`)}catch{b(`Those files couldn't be read. Try PDFs, docs, or text/data files.`)}finally{m(!1),S.current&&(S.current.value=``),C.current&&(C.current.value=``)}},[t.length]),k=(0,x.useCallback)(e=>{n(t=>t.filter((t,n)=>n!==e))},[]),z=(0,x.useCallback)(e=>{e.preventDefault(),f(!1),D(e.dataTransfer.files)},[D]);return E?(0,M.jsx)(s,{label:`Synthesis world`,overlay:!0,children:(0,M.jsx)(I,{cfg:w,demo:{spec:j,corpus:A},onClose:()=>{window.location.hash=e.href}})}):r?(0,M.jsx)(s,{label:r.mode===`prism`?`Prism workbench`:`Synthesis world`,overlay:!0,children:r.mode===`prism`?(0,M.jsx)(F,{pdf:r.sources,cfg:w,onClose:()=>c(null)}):(0,M.jsx)(I,{sources:r.sources,cfg:w,onClose:()=>c(null)})}):(0,M.jsxs)(`div`,{className:`prism-app`,children:[(0,M.jsxs)(`header`,{className:`prism-app-header`,children:[(0,M.jsx)(`button`,{type:`button`,className:`prism-app-back`,onClick:()=>{window.location.hash=e.href},"aria-label":`Back to ${e.label}`,title:`Back to ${e.label}`,children:(0,M.jsx)(l.chevL,{})}),(0,M.jsx)(`span`,{className:`prism-app-brand`,children:`Synthesis`})]}),(0,M.jsxs)(`main`,{className:`prism-app-main`,children:[(0,M.jsxs)(`div`,{className:`prism-app-hero`,children:[(0,M.jsx)(`h1`,{className:`prism-app-title`,children:`Drop in 100 sources. Walk the one result.`}),(0,M.jsx)(`p`,{className:`prism-app-lede`,children:`Point Mavéa at a whole topic — a folder of papers, a data room, a quarter of notes — and it fuses them into one map: where they agree, where they fight, and where they’re silent.`}),(0,M.jsx)(u,{kind:`upload`})]}),(0,M.jsxs)(`div`,{className:`prism-dropzone${d?` prism-dropzone--over`:``}`,onDrop:z,onDragOver:e=>{e.preventDefault(),f(!0)},onDragLeave:e=>{e.currentTarget.contains(e.relatedTarget)||f(!1)},onClick:()=>S.current?.click(),role:`button`,tabIndex:0,"aria-label":`Add sources`,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&S.current?.click()},...i(P.preload),children:[(0,M.jsx)(`input`,{ref:S,type:`file`,multiple:!0,className:`prism-dropzone-input`,onChange:e=>void D(e.target.files),"aria-hidden":`true`}),(0,M.jsx)(`input`,{ref:C,type:`file`,className:`prism-dropzone-input`,onChange:e=>void D(e.target.files),"aria-hidden":`true`}),(0,M.jsx)(l.upload,{}),(0,M.jsx)(`span`,{className:`prism-dropzone-label`,children:d?`Drop to add`:p?`Reading…`:`Drop a folder, a .zip, or files`}),(0,M.jsx)(`span`,{className:`prism-dropzone-hint`,children:`PDF · Word · Excel · PowerPoint · Text · CSV — or a whole folder / archive`}),(0,M.jsx)(`button`,{type:`button`,style:{marginTop:12,padding:`7px 16px`,whiteSpace:`nowrap`,borderRadius:`var(--r-full, 999px)`,border:`1px solid var(--line)`,background:`var(--surface-elevated)`,color:`var(--text-secondary)`,fontSize:13,cursor:`pointer`},onClick:e=>{e.stopPropagation(),C.current?.click()},children:`Choose a folder…`})]}),y&&(0,M.jsx)(`p`,{className:`prism-app-error`,role:`status`,children:y}),t.length>0&&(0,M.jsxs)(`div`,{className:`prism-staged`,children:[(0,M.jsx)(`p`,{className:`prism-staged-label`,children:t.length===1?`1 source ready`:`${t.length} sources ready`}),(0,M.jsx)(`ul`,{className:`prism-staged-list`,children:t.slice(0,60).map((e,t)=>(0,M.jsxs)(`li`,{className:`prism-staged-item`,children:[(0,M.jsx)(l.doc,{}),(0,M.jsx)(`span`,{className:`prism-staged-name`,children:h(e)}),(0,M.jsx)(`button`,{type:`button`,className:`prism-staged-remove`,onClick:e=>{e.stopPropagation(),k(t)},"aria-label":`Remove ${e.name}`,children:(0,M.jsx)(l.x,{})})]},`${V(e)}-${t}`))}),t.length>60&&(0,M.jsxs)(`p`,{className:`prism-staged-label`,children:[`+ `,t.length-60,` more`]}),(()=>{let e=e=>{(e===`prism`?N.preload():P.preload()).catch(()=>{}),c({sources:t,mode:e})},n=t.length;return n<=2?(0,M.jsxs)(`button`,{type:`button`,className:`prism-confirm-btn`,onClick:()=>e(`prism`),...i(N.preload),children:[n===1?`Open in Prism`:`Compare 2 documents`,(0,M.jsx)(l.chevR,{})]}):n===3?(0,M.jsxs)(`div`,{className:`prism-confirm-row`,children:[(0,M.jsx)(`button`,{type:`button`,className:`prism-confirm-btn prism-confirm-alt`,onClick:()=>e(`prism`),...i(N.preload),children:`Compare 3`}),(0,M.jsxs)(`button`,{type:`button`,className:`prism-confirm-btn`,onClick:()=>e(`synth`),...i(P.preload),children:[`Synthesize 3 sources`,(0,M.jsx)(l.chevR,{})]})]}):(0,M.jsxs)(`button`,{type:`button`,className:`prism-confirm-btn`,onClick:()=>e(`synth`),...i(P.preload),children:[`Synthesize `,n,` sources`,(0,M.jsx)(l.chevR,{})]})})()]})]})]})}function B(e){return k({name:e.name,mime:e.type,data:``,size:e.size})}function V(e){return`${e.name}:${e.size}`}export{z as SynthesisApp};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-
|
|
1
|
+
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-DiPGFGsJ.js";import{t as r,v as i,x as a}from"./providers-wzm7E8Pa.js";import{i as o,n as s}from"./verbatim-CBMzUDlf.js";import{PrismOverlay as c,a as l,c as u,d,l as f,o as p,s as m}from"./PrismOverlay-COemfAxM.js";var h=e(),g=n(),_=/[a-z0-9]{4,}/g;function v(e){return new Set(e.toLowerCase().match(_)??[])}function y(e,t){if(e.size===0||t.size===0)return 0;let n=0;for(let r of e)t.has(r)&&(n+=1);return n/(e.size+t.size-n)}function b(e,t=12){let n=new Map;for(let t of e.toLowerCase().match(_)??[])n.set(t,(n.get(t)??0)+1);return[...n.entries()].sort((e,t)=>t[1]-e[1]||(e[0]<t[0]?-1:1)).slice(0,t).map(([e])=>e)}function x(e,t=2){return e.replace(/\s+/g,` `).split(/(?<=[.!?])\s+/).map(e=>e.trim()).filter(Boolean).slice(0,t)}var S={thousand:1e3,k:1e3,million:1e6,m:1e6,billion:1e9,bn:1e9,b:1e9,trillion:0xe8d4a51000};function C(e){let t=e.toLowerCase();return t===`%`||t===`percent`||t===`pct`?`pct`:/^(week|wk|month|mo|year|yr|day)s?$/.test(t)?`time`:/^(mg|kg|µg|mcg|g|ml|l)$/.test(t)?`dose`:`count`}var w=/(\$|€|£|¥)?\s?(\d{1,3}(?:,\d{3})+|\d+)(?:\.(\d+))?\s?(thousand|million|billion|trillion|bn)?\s?(%|percent|pct|mg|kg|µg|mcg|ml|weeks?|wks?|months?|mos?|years?|yrs?|days?)?/gi;function T(e){let t=[];for(let n of e.matchAll(w)){let[e,r,i,a,o,s]=n;if(!i)continue;let c=Number(`${i.replace(/,/g,``)}${a?`.${a}`:``}`);if(!Number.isFinite(c))continue;o&&(c*=S[o.toLowerCase()]??1);let l=(r??s??``).trim(),u=r?`money`:s?C(s):`count`;t.push({value:c,unit:l,family:u,raw:e.trim()})}return t}function E(e,t){for(let n of T(e))if(!t||n.family===t)return n;return null}function D(e){let t=` ${e.toLowerCase()} `;return/\b(p[ae]diatric|children|child|adolescents?|infants?|neonat|under[\s-]?18|aged? \d{1,2})\b/.test(t)?`pediatric`:/\b(elderly|geriatric|older adults?|aged 65)\b/.test(t)?`elderly`:/\b(adults?|grown[\s-]?ups?)\b/.test(t)?`adult`:null}function O(e){let t=e.toLowerCase(),n=t.match(/\b(\d{1,3})\s?(week|wk|month|mo|year|yr|day)s?\b/);if(n)return`${n[1]}${n[2].replace(/s$/,``)}`;let r=t.match(/\bphase\s?([1-4]|i{1,3}|iv)\b/);if(r)return`phase${r[1]}`;let i=t.match(/\bby\s(20\d{2})\b/);return i?`by${i[1]}`:null}function k(e,t){let n=D(e),r=D(t);if(n&&r&&n!==r)return`population`;let i=O(e),a=O(t);return i&&a&&i!==a?`timeframe`:null}function ee(e){let t=e.slice(0,1200),n=t.match(/\b([A-Z][a-zà-ÿ]+)\s+et al\.?,?\s*(\d{4})/);if(n)return`${n[1]} et al. ${n[2]}`;let r=t.match(/\b([A-Z][a-zà-ÿ]+)\s*\(?(19|20)\d{2}\)?/);return r?`${r[1]} ${r[0].match(/\d{4}/)?.[0]??``}`.trim():``}function te(e,t={}){let{minOverlap:n=.12,topK:r=120,maxDocFraction:i=.35,crossSourceOnly:a=!0}=t,o=e.length;if(o<2)return[];let s=e.map(e=>v(e.text)),c=e.map(e=>e.source),l=new Map;s.forEach((e,t)=>{for(let n of e){let e=l.get(n);e?e.push(t):l.set(n,[t])}});let u=Math.max(6,Math.floor(o*i)),d=new Set,f=[];for(let t of l.values())if(!(t.length<2||t.length>u))for(let r=0;r<t.length;r+=1)for(let i=r+1;i<t.length;i+=1){let o=t[r],l=t[i];if(a&&c[o]===c[l])continue;let u=o<l?`${o}|${l}`:`${l}|${o}`;if(d.has(u))continue;d.add(u);let p=y(s[o],s[l]);if(p>=n){let t=e[o],n=e[l];f.push(t.id<n.id?{a:t.id,b:n.id,overlap:p}:{a:n.id,b:t.id,overlap:p})}}return f.sort((e,t)=>t.overlap-e.overlap||(e.a<t.a?-1:e.a>t.a?1:e.b<t.b?-1:1)),f.slice(0,r)}function A(e){let t=new Map,n=e=>{let n=e;for(;t.get(n)!==n;)n=t.get(n);let r=e;for(;t.get(r)!==n;){let e=t.get(r);t.set(r,n),r=e}return n},r=e=>{t.has(e)||t.set(e,e)};for(let{a:i,b:a}of e)r(i),r(a),t.set(n(i),n(a));let i=new Map;for(let e of t.keys()){let t=n(e),r=i.get(t);r?r.push(e):i.set(t,[e])}return[...i.values()].map(e=>e.slice().sort())}var j=[`pct`,`money`,`dose`,`count`];function M(e,t){let n=Math.max(1,Math.abs(e),Math.abs(t));return Math.abs(e-t)<=.005*n}function N(e,t){return t.some(t=>s(e,t))}function P(e,t,n,r,i){if(t.source===n.source)return null;let a=String(e.relation).toLowerCase();if(a!==`contradicts`&&a!==`in-tension`)return null;let o=k(t.quote,n.quote),s=(e.matchPhrase??``).trim(),c=s.length>0&&N(s,r)&&N(s,i),l,u=!1;for(let e of j){let r=E(t.quote,e),i=E(n.quote,e);if(r&&i){M(r.value,i.value)?u=!0:l={aValue:r.value,bValue:i.value,unit:r.unit||i.unit};break}}let d=!!e.comparable&&c&&!o&&!u,f=a===`contradicts`&&d?`contradicts`:`in-tension`,p;return o?p=o:!d&&!u&&a===`contradicts`&&(p=`scope`),{relation:f,comparable:d,...c?{matchPhrase:s}:{},...p?{caveat:p}:{},...l?{delta:l}:{}}}function F(e,t,n,r={}){let{minCorpus:i=3,minSurfaceForms:a=3,minCorpusForThin:o=10,thinFraction:s=.1}=r;return t<i||n<a?null:e<=0?`absent`:t>=o&&e<=Math.max(1,Math.ceil(t*s))?`thin`:null}function I(e,t){let n=new Set;for(let r of e){let e=t.get(r);e!==void 0&&n.add(e)}return n.size}function L(e,t=2){return e>=t}function R(e){if(e&&typeof e==`object`)return e;let t=String(e),n=t.indexOf(`{`);if(n<0)return null;let r=0,i=!1,a=!1;for(let e=n;e<t.length;e+=1){let o=t[e];if(i){a?a=!1:o===`\\`?a=!0:o===`"`&&(i=!1);continue}if(o===`"`)i=!0;else if(o===`{`)r+=1;else if(o===`}`&&(--r,r===0))try{return JSON.parse(t.slice(n,e+1))}catch{return null}}return null}function z(e){return typeof e==`string`?e:``}function B(e,t){if(!e)return[];let n=e[t];return Array.isArray(n)?n:[]}var V=`You compare pairs of grounded claims from different sources and return strict JSON only. You never invent a quote; a shared "matchPhrase" must be copied verbatim from the claims. When two claims measure different endpoints, populations, or timeframes you mark them "not-comparable".`;function ne(e){return`These are candidate claim pairs, each from two DIFFERENT sources in a large corpus. For each
|
|
2
2
|
pair, decide how the two claims relate on the ONE quantity they share.
|
|
3
3
|
|
|
4
4
|
Pairs:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-
|
|
1
|
+
import{t as e}from"./jsx-runtime-DaSxXjOY.js";import{ht as t}from"./index-DiPGFGsJ.js";import{t as n}from"./LegalMarkdownDocument-B-0LA_X_.js";var r=t(),i=`# Mavéa Terms of Use
|
|
2
2
|
|
|
3
3
|
Effective: July 19, 2026
|
|
4
4
|
|