@mavea/mavea 1.0.13 → 1.0.14
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/CHANGELOG.md +20 -0
- package/README.md +4 -3
- package/dist/.vite/manifest.json +587 -605
- package/dist/assets/{AppCommandPalette-D_g8-7C0.js → AppCommandPalette-D5nd3VO_.js} +1 -1
- package/dist/assets/{BlockEmpty-Ddhgr5pu.js → BlockEmpty-BZn5ETuL.js} +1 -1
- package/dist/assets/{BriefingPlayer-D-QhLgXI.js → BriefingPlayer-JnrrvxYE.js} +1 -1
- package/dist/assets/{CanvasSkeleton-BIiOmCMG.js → CanvasSkeleton-D00MzkIV.js} +2 -2
- package/dist/assets/{CheckLogRail-ZrDqyjQ7.js → CheckLogRail--9iHharq.js} +1 -1
- package/dist/assets/{CodeOutput-D7sVg1Nr.js → CodeOutput-408gGn9V.js} +1 -1
- package/dist/assets/{CommandPalette-DNa2q8E_.js → CommandPalette-BIUG6Sn7.js} +1 -1
- package/dist/assets/{CourseLessonReader-BIpGjcJk.js → CourseLessonReader-Yp2qEsDx.js} +2 -2
- package/dist/assets/{CourseRail-CQaotzN0.js → CourseRail-BVvnoWBR.js} +1 -1
- package/dist/assets/{CoursesApp-q3kZJmu1.js → CoursesApp-0N_F1p_u.js} +2 -2
- package/dist/assets/{CrossExamPanel-BIJslibV.js → CrossExamPanel-CocJ_GxK.js} +1 -1
- package/dist/assets/{DashPresent-DGSE0vYM.js → DashPresent-G8Actzx7.js} +1 -1
- package/dist/assets/{DashboardDetail-BpaLNg8R.js → DashboardDetail-BpSe8wBT.js} +2 -2
- package/dist/assets/DashboardLoopRuntime-CHPDkO3Y.js +1 -0
- package/dist/assets/{DashboardOverview-8x3OxX2i.js → DashboardOverview-Cdhy4x4b.js} +1 -1
- package/dist/assets/{DashboardSettings-f_zxcs5j.js → DashboardSettings-ChPkh0t4.js} +1 -1
- package/dist/assets/DashboardsApp-mp-V3d1i.js +2 -0
- package/dist/assets/{DeepZoomApp-E7bDmzuL.js → DeepZoomApp-mZHk132w.js} +1 -1
- package/dist/assets/{DelegatePanel-_9RZiLHM.css → DelegatePanel-Cf85-0qE.css} +1 -1
- package/dist/assets/DelegatePanel-Dtl0oHaA.js +33 -0
- package/dist/assets/{DemoGallery-DDzX8Z7I.js → DemoGallery-By2LV_U_.js} +1 -1
- package/dist/assets/{DropSelect-BMZYAX6q.js → DropSelect-CeCNaut0.js} +1 -1
- package/dist/assets/{ExportModal-CTMJaU1l.js → ExportModal-CZ1-Vihb.js} +2 -2
- package/dist/assets/{ExtractionPreview-C9wq7CrK.js → ExtractionPreview-CRkYnwCo.js} +1 -1
- package/dist/assets/{FlagshipCTA-DPNSflKv.js → FlagshipCTA-DNtUnl0n.js} +1 -1
- package/dist/assets/{FlagshipCommandPalette-55zqyPFm.js → FlagshipCommandPalette-DpP8joXb.js} +1 -1
- package/dist/assets/{FlagshipShowcase-BWpoPWOn.js → FlagshipShowcase-CoOezhT-.js} +1 -1
- package/dist/assets/{FlashcardsApp-apCj3I17.js → FlashcardsApp-REEdMdKG.js} +1 -1
- package/dist/assets/{ForecastPanel-CMRD-UKn.js → ForecastPanel-CpR32hwb.js} +1 -1
- package/dist/assets/{GalleryApp-CcsbirLT.js → GalleryApp-DJZRHjMH.js} +1 -1
- package/dist/assets/{HonestByDesign-DU4qmc61.js → HonestByDesign-CiOj_fA7.js} +1 -1
- package/dist/assets/{HowItWorks-CkZXftN-.js → HowItWorks-Ch2CgkVd.js} +1 -1
- package/dist/assets/{LegalApp-BmZpqH-6.js → LegalApp-BisEJynn.js} +1 -1
- package/dist/assets/{LegalMarkdownDocument-CcbAfubz.js → LegalMarkdownDocument-B7Yj_aRR.js} +1 -1
- package/dist/assets/{LegalPageShell-raMATqhx.js → LegalPageShell-k9e22JlP.js} +1 -1
- package/dist/assets/{LeverPanel-DVUgGcYW.js → LeverPanel-CXSDqinv.js} +1 -1
- package/dist/assets/{Library-D725dNcx.js → Library-CmpF6gOU.js} +1 -1
- package/dist/assets/{LibraryOverlay-D7PzQIpH.js → LibraryOverlay-BErgFYxu.js} +1 -1
- package/dist/assets/LiveApp-DZ7t3P1O.js +61 -0
- package/dist/assets/LiveApp-Dj_6EQuL.css +1 -0
- package/dist/assets/LiveSettings-BY5E3Ka8.js +6 -0
- package/dist/assets/{MindMapViewerDrawer-CIMuABKE.js → MindMapViewerDrawer-Bc_qHdm9.js} +1 -1
- package/dist/assets/MindShape-DGOmKwov.css +1 -0
- package/dist/assets/{MindShape-0KPrv0CF.js → MindShape-ULBAjrfD.js} +1 -1
- package/dist/assets/{PinToDashboard-ML4NFCAU.js → PinToDashboard-WgEX4YoY.js} +1 -1
- package/dist/assets/{PlanReview-CbJ_7Ld1.js → PlanReview-Dd3sxa_o.js} +1 -1
- package/dist/assets/{Presence-B_zDfiE7.js → Presence-DgzicbeF.js} +1 -1
- package/dist/assets/{PresentationDeck-Tm3PUdh5.js → PresentationDeck-Cx26X-wh.js} +1 -1
- package/dist/assets/{PrismApp-Bc-6PO_P.js → PrismApp-FPqASfhZ.js} +2 -2
- package/dist/assets/{PrismAskController-OwqFx5Pk.js → PrismAskController-Ds1tSE9S.js} +1 -1
- package/dist/assets/{PrismBriefingPlayer-Bu_ZxYdh.js → PrismBriefingPlayer-BzqCK6JP.js} +2 -2
- package/dist/assets/{PrismOverlay-UTsJ8R5d.js → PrismOverlay-Cq3DBJ-N.js} +4 -4
- package/dist/assets/{PrivacyApp-BLXan6dm.js → PrivacyApp-B8PGc-x5.js} +1 -1
- package/dist/assets/{Recap-5rYrcMCC.js → Recap-RwhzouRe.js} +1 -1
- package/dist/assets/{ReelJelly-Dg3XGB0c.js → ReelJelly-B2JQsaRI.js} +1 -1
- package/dist/assets/{ReplayCard-wMIMlorH.js → ReplayCard-DUBvQLBt.js} +2 -2
- package/dist/assets/{ReplayOverlay-BomkTonB.js → ReplayOverlay-CzUFHdjK.js} +1 -1
- package/dist/assets/{RewindOverlay-Izf89nG9.js → RewindOverlay-CMx_cVxX.js} +1 -1
- package/dist/assets/{RippleApp-8QSIEjTX.js → RippleApp-B186b8KW.js} +2 -2
- package/dist/assets/{RippleAskController-Cd86GrKs.js → RippleAskController-BA_kGOmL.js} +1 -1
- package/dist/assets/{RippleOverlay-SCrXZTqz.js → RippleOverlay-CkbkIgzC.js} +2 -2
- package/dist/assets/{SeeDontRead-Bp8qsF20.js → SeeDontRead-BZ4xFEKE.js} +1 -1
- package/dist/assets/{ShareModal-C-sD-aia.js → ShareModal-DNpc-U9U.js} +1 -1
- package/dist/assets/{ShipCascade-Cq_I4c_v.js → ShipCascade-BmTE193h.js} +1 -1
- package/dist/assets/{ShipCourse-CzsJyMnT.js → ShipCourse-K2vnS3Sw.js} +1 -1
- package/dist/assets/{ShipHotspots-OMjPhQWP.js → ShipHotspots-DILwqPxh.js} +1 -1
- package/dist/assets/{ShipIncident-Cqn6ZmKz.js → ShipIncident-DXXciEP7.js} +1 -1
- package/dist/assets/{ShipMigration-5_ZWn7K9.js → ShipMigration-rhBm0Tre.js} +1 -1
- package/dist/assets/{ShipOnboarding-Yr8oKgmQ.js → ShipOnboarding-9KCVVAkX.js} +1 -1
- package/dist/assets/{ShipRead-Bnw7mnv3.js → ShipRead-CMe1DNik.js} +1 -1
- package/dist/assets/{ShipRollout-ECsDrqAd.js → ShipRollout-BA4x-btU.js} +1 -1
- package/dist/assets/{ShipSuggestions-C6oDw2F8.js → ShipSuggestions-Jm45jfFl.js} +1 -1
- package/dist/assets/{ShipWorkspace-BT6gZrqd.js → ShipWorkspace--x-q6Ly3.js} +1 -1
- package/dist/assets/{SignatureLoop-D7sibSnc.js → SignatureLoop-B_cHyXgU.js} +1 -1
- package/dist/assets/{SynthesisApp-B768x2r_.js → SynthesisApp-CvR_8g1C.js} +2 -2
- package/dist/assets/{SynthesisOverlay-Ds0MhZLQ.js → SynthesisOverlay-DFFD69hf.js} +1 -1
- package/dist/assets/{TermsApp-Da8FeMj3.js → TermsApp-BxLgLSna.js} +1 -1
- package/dist/assets/{TopicCanvas-D64O3lvD.js → TopicCanvas-CKvJb_8Y.js} +2 -2
- package/dist/assets/{TopicCanvas-D2Nax9II.css → TopicCanvas-uRuHi99s.css} +1 -1
- package/dist/assets/{TourPrism-CTf1G-Vv.js → TourPrism-bqOmSZ9T.js} +1 -1
- package/dist/assets/{TrackerTile-DeujTCk-.js → TrackerTile-BuAVmOyi.js} +2 -2
- package/dist/assets/{TwoSurfaces-kyK2yqm0.js → TwoSurfaces-CjtKXWJr.js} +1 -1
- package/dist/assets/{UnderstoodPanel-Dgwk_Cuj.js → UnderstoodPanel-BWFbpk9o.js} +1 -1
- package/dist/assets/{WhyMachineOverlay-C4eQC0lg.js → WhyMachineOverlay-D6pGEE78.js} +1 -1
- package/dist/assets/{WowFeatures-CaBZ5WPM.js → WowFeatures-CLx5VoKn.js} +1 -1
- package/dist/assets/{ZoomDeck-DnCtbhx1.js → ZoomDeck-R6MLUt4Z.js} +1 -1
- package/dist/assets/{alternateFinishes-FSV_gA1A.js → alternateFinishes-C8DBTwo_.js} +1 -1
- package/dist/assets/{annotationAuto-x_dV8z65.js → annotationAuto-ofVcqRve.js} +1 -1
- package/dist/assets/{annotationReel-SeXzv0P-.js → annotationReel-CdAmTPlv.js} +1 -1
- package/dist/assets/{backup-0zODkqi-.js → backup-TgoSxdwf.js} +1 -1
- package/dist/assets/canvas-BrUiUI9Q.js +1 -0
- package/dist/assets/{catalog-Car_1ocN.js → catalog-BrmxA4bP.js} +1 -1
- package/dist/assets/{dashboardEvents-BqcPN-K8.js → dashboardEvents-DT6ye9n7.js} +1 -1
- package/dist/assets/{dist-BTg4yEWr.js → dist-COAFD72d.js} +1 -1
- package/dist/assets/{fit-I3tuibfX.js → fit-BtKObM5Q.js} +1 -1
- package/dist/assets/{generateLive-Dk24OxVt.js → generateLive-BvE3kOrf.js} +1 -1
- package/dist/assets/gesture-Bouqjr3g.js +2 -0
- package/dist/assets/{index-CWqRe4-B.js → index-DOpl5xzv.js} +3 -3
- package/dist/assets/{jspdf.es.min-wkD3BzGZ.js → jspdf.es.min-DSMzCXtv.js} +1 -1
- package/dist/assets/{kokoro-B-3GqktX.js → kokoro-B-MNB16v.js} +1 -1
- package/dist/assets/{lib-CwruVYU_.js → lib-BLt1wpw2.js} +1 -1
- package/dist/assets/{liveSchema-CCpVMy0H.js → liveSchema-DbjsSolX.js} +2 -2
- package/dist/assets/{motion-CURfDtdH.js → motion-DKmdzFji.js} +1 -1
- package/dist/assets/{notes-BG5QP-Dj.js → notes-D_uDKcr5.js} +1 -1
- package/dist/assets/{pdf-x4qTBJIZ.js → pdf-uUFiTOYW.js} +1 -1
- package/dist/assets/{penStrokes-9Q_l7NTt.js → penStrokes-DlHnO9xE.js} +1 -1
- package/dist/assets/{perfProbe-BFwfpxJt.js → perfProbe-DIAQR2bi.js} +1 -1
- package/dist/assets/{pin-DRN5H7py.js → pin-DoSzEmTm.js} +1 -1
- package/dist/assets/{portal-BYHo9LOD.js → portal-4sKB1Tgc.js} +1 -1
- package/dist/assets/{pptxgen.es-DGywGiaX.js → pptxgen.es-BVKKMlmO.js} +1 -1
- package/dist/assets/{prewarm-CQNCE4Uq.js → prewarm-D31Si_08.js} +1 -1
- package/dist/assets/{quietHours-CKjQ2pGY.js → quietHours-sfkvrkJv.js} +1 -1
- package/dist/assets/registry--yZ1HduK.js +1 -0
- package/dist/assets/{registry-CfTTYQrE.js → registry-B3RfPAd6.js} +1 -1
- package/dist/assets/{registry-DBsjgIxw.js → registry-B3u3--Kv.js} +1 -1
- package/dist/assets/{registry-DFmFBfRz.js → registry-BOS6AdnB.js} +1 -1
- package/dist/assets/{registry-Dw42uggW.js → registry-BWzoIPXp.js} +1 -1
- package/dist/assets/{registry-CNr6L-3z.js → registry-Bj8q4igW.js} +1 -1
- package/dist/assets/{registry-_T6pLDPG.js → registry-BnSnMnyk.js} +2 -2
- package/dist/assets/{registry-aUZZeh27.js → registry-BpccSYOo.js} +1 -1
- package/dist/assets/{registry-BueBIP-N.js → registry-C4KB6Ls0.js} +1 -1
- package/dist/assets/{registry-cPmSqaRu.js → registry-CAZ7ubmd.js} +1 -1
- package/dist/assets/{registry-1BWL6SXY.js → registry-CYnKlcEy.js} +1 -1
- package/dist/assets/{registry-BZQeYzgv.js → registry-Chzw1Udo.js} +1 -1
- package/dist/assets/{registry-DrqQbf_n.js → registry-CkXIaQmB.js} +1 -1
- package/dist/assets/{registry-BklPTZre.js → registry-CrKVDfq8.js} +1 -1
- package/dist/assets/registry-D5oMqeSa.js +1 -0
- package/dist/assets/{registry-9S6KiKjR.js → registry-DOsiT4_6.js} +1 -1
- package/dist/assets/{registry-Bl3NkU-0.js → registry-DsjrEa0W.js} +1 -1
- package/dist/assets/{registry-Bc6_RQ8l.js → registry-DssqYPgu.js} +1 -1
- package/dist/assets/{registry-CqfjqOX5.js → registry-DxtkIiAV.js} +2 -2
- package/dist/assets/{registry-Bpx4VBWb.js → registry-DzNYBJ_a.js} +1 -1
- package/dist/assets/{registry-GLjcQX0n.js → registry-NdA9xh9G.js} +1 -1
- package/dist/assets/{registry-D84Bs-bD.js → registry-VRtsyPV7.js} +1 -1
- package/dist/assets/{registry-DEgW3zel.js → registry-d3dHoriR.js} +1 -1
- package/dist/assets/{registry-BpBiRe-o.js → registry-fLKnCnS5.js} +1 -1
- package/dist/assets/{relate-yq30L3hZ.js → relate-BG7aZWOq.js} +1 -1
- package/dist/assets/{shikiHighlight-BgZoQAHs.js → shikiHighlight-D9nfk5pW.js} +1 -1
- package/dist/assets/{useDashboardLoop-mGmJwv27.js → useDashboardLoop-CJ0M7ZXf.js} +3 -3
- package/dist/assets/{useLiveConfig-vMyjo2gV.js → useLiveConfig-DIvKKKpP.js} +1 -1
- package/dist/assets/{useSpatialCanvas-CEXy6ZC2.js → useSpatialCanvas-L0r29F7F.js} +1 -1
- package/dist/assets/{useSpotlightWalk-B9XJ6OLK.js → useSpotlightWalk-oyvTWe20.js} +1 -1
- package/dist/assets/{useSrsCards-Vc6B2_he.js → useSrsCards-BLNBqRe7.js} +1 -1
- package/dist/assets/{useStudy-6QnY-Fw_.js → useStudy-hvN-iGz0.js} +1 -1
- package/dist/assets/{useZoomGesture-BONUz5cE.js → useZoomGesture-Dl_Cfmxm.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/DashboardLoopRuntime-14yzj-xx.js +0 -1
- package/dist/assets/DashboardsApp-mvMbGmp0.js +0 -2
- package/dist/assets/DelegatePanel-pwRk9pFf.js +0 -26
- package/dist/assets/LiveApp-B8Jw1Q0h.js +0 -61
- package/dist/assets/LiveApp-DQhDk2ma.css +0 -1
- package/dist/assets/LiveSettings-BQ06gZB7.js +0 -6
- package/dist/assets/MindShape-Bel2yDqO.css +0 -1
- package/dist/assets/RehearsalPanel-BCU615wg.css +0 -1
- package/dist/assets/RehearsalPanel-CM4466Os.js +0 -6
- package/dist/assets/canvas-uhcwigAL.js +0 -1
- package/dist/assets/gesture-DabMpPcq.js +0 -2
- package/dist/assets/registry-BffpZK5w.js +0 -1
- package/dist/assets/registry-Z3TIPbYJ.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./useDashboardLoop-mGmJwv27.js";function t(){return e(),null}export{t as DashboardLoopRuntime};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AppCommandPalette-D_g8-7C0.js","assets/index-CWqRe4-B.js","assets/chunk-BVpWp9h4.js","assets/jsx-runtime-DaSxXjOY.js","assets/react-BQSORdFI.js","assets/lazyRetry-D50B1UMY.js","assets/index-CepQEz75.css","assets/CommandPalette-DNa2q8E_.js","assets/icons-CHVz6kv_.js","assets/registry-BffpZK5w.js","assets/CommandPalette-Bb-eErih.css","assets/demoPaletteItems-NPCSaSU6.js","assets/planTracker-7AMCQPNx.js","assets/providers-wzm7E8Pa.js","assets/http-CJCtjYpA.js","assets/info-CiqHR5cs.js","assets/json-B0N3XRZU.js","assets/now-C9-UAzTC.js","assets/PlanReview-CbJ_7Ld1.js","assets/useStudy-6QnY-Fw_.js","assets/contentVault-DzTYWcbD.js","assets/keyVault-DEsNh9FR.js","assets/store-DrBDvqXF.js","assets/queue-J4h7E3uc.js","assets/store-DXmC_fP2.js","assets/queue-DHeyJ32F.css","assets/useLiveConfig-vMyjo2gV.js","assets/useDashboardLoop-mGmJwv27.js","assets/dashboardEvents-BqcPN-K8.js","assets/spokenText-D4zPX9JY.js","assets/format-hc2QOoIu.js","assets/kokoro-B-3GqktX.js","assets/notify-Bz4wuE4T.js","assets/predictions-CYS7Vo39.js","assets/number-DXgzss0v.js","assets/relate-yq30L3hZ.js","assets/dashboards-rcWxdoXI.css","assets/RewindOverlay-Izf89nG9.js","assets/motion-CURfDtdH.js","assets/CheckLogRail-ZrDqyjQ7.js","assets/CheckLogRail-F4AlgAcc.css","assets/useFocusTrap-DbfG6zbM.js","assets/RewindOverlay-C92qgvmi.css","assets/DashPresent-DGSE0vYM.js","assets/TrackerTile-DeujTCk-.js","assets/DashPresent-DQYcgp-W.css","assets/DashboardDetail-BpaLNg8R.js","assets/TopicCanvas-D64O3lvD.js","assets/FallbackCard-B489rTd9.js","assets/blockLabel-DAqaHKy3.js","assets/FallbackCard-D_6ps1xA.css","assets/CanvasSkeleton-BIiOmCMG.js","assets/CanvasSkeleton-iy6DBvde.css","assets/lib-CwruVYU_.js","assets/BlockEmpty-Ddhgr5pu.js","assets/lib-DMAxsZKm.css","assets/format-DlZTyeMy.js","assets/useSpatialCanvas-CEXy6ZC2.js","assets/useValidatedImage-D2fhA198.js","assets/catalog-BHjl-1uH.js","assets/richText-BkxJhl9N.js","assets/safeImageUrl-CUkucDUu.js","assets/toast-BBNs2h3L.js","assets/layout-BFQOzXtG.js","assets/TopicCanvas-D2Nax9II.css","assets/canvas-uhcwigAL.js","assets/ReplayCard-wMIMlorH.js","assets/ShareModal-C-sD-aia.js","assets/ReelJelly-Dg3XGB0c.js","assets/geometry-DXAbnb0J.js","assets/registry-_T6pLDPG.js","assets/fit-I3tuibfX.js","assets/share-QHGHNDhQ.js","assets/FeatureUseNotice-CoK5HkbR.js","assets/FeatureUseNotice-CsCxxfOl.css","assets/threads-CkMgrSDP.js","assets/ShareModal-PobtP7AJ.css","assets/annotationReel-SeXzv0P-.js","assets/sourceHost-BV3t2XDb.js","assets/pin-DRN5H7py.js","assets/pin-Bya3BL_a.css","assets/DashboardSettings-f_zxcs5j.js","assets/DashboardOverview-8x3OxX2i.js","assets/DashboardLoopRuntime-14yzj-xx.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{B as n,F as r,I as i,J as a,L as o,M as s,N as c,at as l,ht as u,j as d,k as f,mt as p,ot as m,q as h,st as g,z as _}from"./index-CWqRe4-B.js";import{n as v}from"./icons-CHVz6kv_.js";import{t as y}from"./useFocusTrap-DbfG6zbM.js";import{d as b,u as x}from"./kokoro-B-3GqktX.js";import{t as S}from"./FeatureUseNotice-CoK5HkbR.js";import{r as C}from"./sourceHost-BV3t2XDb.js";import{t as w}from"./homeTarget-BcZYH3DY.js";import"./queue-J4h7E3uc.js";import{S as T,a as E,c as D,d as ee,f as O,l as k,o as A,s as j}from"./useStudy-6QnY-Fw_.js";import{l as M,n as N,r as te,u as ne}from"./useLiveConfig-vMyjo2gV.js";import{g as P,n as re,o as ie,p as F,s as I}from"./dashboardEvents-BqcPN-K8.js";import{o as L,t as ae}from"./CheckLogRail-ZrDqyjQ7.js";import{i as R}from"./format-hc2QOoIu.js";import{n as oe,r as se,t as z}from"./TrackerTile-DeujTCk-.js";/* empty css */var B=e(),V=u(),H=t();function U({href:e,label:t=`Mavéa`,className:n}){return(0,H.jsxs)(`a`,{className:n,href:e,"aria-label":`${t} home`,children:[(0,H.jsx)(`span`,{className:`jelly-mark`}),t]})}var W=p();function G(e){let t=(t,n,r)=>({label:t,blurb:n,onClick:()=>{window.location.hash=r},preload:()=>d(r)??Promise.resolve(),show:r!==e.omitHash}),n=(t,n)=>({label:t,blurb:n,onClick:e.enterLive,show:!0});return{create:[n(`New`,`Start a fresh session`)],practice:[n(`Rehearse`,`Practice a conversation before it happens`),t(`Study`,`Go through your flashcards, and organize your decks`,`#/flashcards`),t(`Courses`,`Turn a topic into a structured syllabus — a lesson at a time, at your pace`,`#/courses`)],share:[n(`Present`,`Fill the room — the chrome falls away, the mic stays live`),n(`Export`,`Choose a template and export a polished PDF`),n(`Share`,`Share this conversation as a story`)],explore:[{label:`Search all features`,blurb:`Browse Mavéa’s feature index · ${_}`,onClick:e.openPalette,show:!0},n(`Atlas`,`Kept conversations and topics, as a place`),n(`Watch me think`,`A live map of your thinking`),t(`Prism`,`Split your document into a map of its claims`,`#/prism`),t(`Ripple`,`Model a code change’s impact, risks, and a proposed ship order`,`#/ripple`),t(`Dashboards`,`Dashboards that refresh on schedule while Mavéa is open`,`#/dashboards`),n(`The Table`,`Scout a negotiation — two Mavéas talk it out, you get the debrief`),t(`Deep Zoom`,`Telescope any topic from big picture to finest detail`,`#/deepzoom`)]}}a();var K=i(()=>h(()=>import(`./AppCommandPalette-D_g8-7C0.js`).then(e=>({default:e.AppCommandPalette})),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))),ce=K.Component;function le(e){let t=(0,V.c)(26),{omitHash:i}=e,{open:a,openPalette:o,closePalette:s}=n(),c=ue,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>{m(),c()},t[0]=u):u=t[0];let d=u,p;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(p=e=>()=>{m(),l(e),g(),c()},t[1]=p):p=t[1];let h=p,_;t[2]!==i||t[3]!==o?(_=G({openPalette:o,enterLive:c,omitHash:i}),t[2]=i,t[3]=o,t[4]=_):_=t[4];let v=_,y=E(),b;t[5]===v.create?b=t[6]:(b=(0,H.jsx)(O,{label:`Create`,items:v.create}),t[5]=v.create,t[6]=b);let x;t[7]!==v.practice||t[8]!==y?(x=(0,H.jsx)(O,{label:`Practice`,items:v.practice,badge:y}),t[7]=v.practice,t[8]=y,t[9]=x):x=t[9];let S;t[10]===v.share?S=t[11]:(S=(0,H.jsx)(O,{label:`Share`,items:v.share}),t[10]=v.share,t[11]=S);let C;t[12]===v.explore?C=t[13]:(C=(0,H.jsx)(O,{label:`Explore`,items:v.explore}),t[12]=v.explore,t[13]=C);let w;t[14]===o?w=t[15]:(w=(0,H.jsx)(r,{onOpen:o,preload:K.preload}),t[14]=o,t[15]=w);let T;t[16]!==s||t[17]!==a?(T=a&&(0,W.createPortal)((0,H.jsx)(f,{label:`Feature search`,overlay:!0,children:(0,H.jsx)(ce,{onClose:s,startTour:d,watchInLive:h,enterLive:c})}),document.body),t[16]=s,t[17]=a,t[18]=T):T=t[18];let D;return t[19]!==b||t[20]!==x||t[21]!==S||t[22]!==C||t[23]!==w||t[24]!==T?(D=(0,H.jsxs)(H.Fragment,{children:[b,x,S,C,w,T]}),t[19]=b,t[20]=x,t[21]=S,t[22]=C,t[23]=w,t[24]=T,t[25]=D):D=t[25],D}function ue(){window.location.hash=`#/live`}function de(e,t){let n=e.cadence.window;return!!n&&t>=n.startAt&&t<=n.endAt}function fe(e){return new Date(e).toLocaleTimeString([],{hour:`numeric`,minute:`2-digit`})}function pe(e){let t=(0,V.c)(18),{state:n}=e;if(n.paused){let e;t[0]===n.resumesAt?e=t[1]:(e=fe(n.resumesAt),t[0]=n.resumesAt,t[1]=e);let r;return t[2]===e?r=t[3]:(r=(0,H.jsx)(`div`,{className:`dash-budget dash-budget--paused`,title:`Automatic checks are paused until your budget resets`,children:(0,H.jsxs)(`span`,{className:`dash-budget-label`,children:[`PAUSED · RESUMES `,e]})}),t[2]=e,t[3]=r),r}let r;t[4]!==n.cap||t[5]!==n.used?(r=n.cap>0?Math.min(100,Math.round(n.used/n.cap*100)):0,t[4]=n.cap,t[5]=n.used,t[6]=r):r=t[6];let i=r,a=`dash-budget`+(n.amber?` dash-budget--amber`:``),o=`${n.used} of ${n.cap} searches used today`,s=`${i}%`,c;t[7]===s?c=t[8]:(c=(0,H.jsx)(`span`,{className:`dash-budget-track`,children:(0,H.jsx)(`span`,{className:`dash-budget-fill`,style:{width:s}})}),t[7]=s,t[8]=c);let l=n.amber?` · LOW`:``,u;t[9]!==n.cap||t[10]!==n.used||t[11]!==l?(u=(0,H.jsxs)(`span`,{className:`dash-budget-label`,children:[n.used,`/`,n.cap,` SEARCHES TODAY`,l]}),t[9]=n.cap,t[10]=n.used,t[11]=l,t[12]=u):u=t[12];let d;return t[13]!==a||t[14]!==o||t[15]!==c||t[16]!==u?(d=(0,H.jsxs)(`div`,{className:a,title:o,children:[c,u]}),t[13]=a,t[14]=o,t[15]=c,t[16]=u,t[17]=d):d=t[17],d}function me(e){let t=(0,V.c)(28),{view:n}=e,r=A(),i=L(),a=P(),[o,s]=(0,B.useState)(he),c,l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{let e=window.setInterval(()=>s(Date.now()),3e4);return()=>window.clearInterval(e)},l=[],t[0]=c,t[1]=l):(c=t[0],l=t[1]),(0,B.useEffect)(c,l);let u;t[2]===r?u=t[3]:(u=r.filter(R),t[2]=r,t[3]=u);let d=u.length,f=r.some(e=>de(e,o)),p;t[4]!==i||t[5]!==o||t[6]!==a.dailySearchBudget?(p=F(i,a.dailySearchBudget,o),t[4]=i,t[5]=o,t[6]=a.dailySearchBudget,t[7]=p):p=t[7];let m=p,h;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,H.jsx)(U,{className:`dash-topbar-brand`,href:w().href}),t[8]=h):h=t[8];let g=`dash-watch-pill`+(f?` dash-watch-pill--live`:``),_;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,H.jsx)(`i`,{className:`dash-live-dot`,"aria-hidden":`true`}),t[9]=_):_=t[9];let v;t[10]!==d||t[11]!==g?(v=(0,H.jsxs)(`span`,{className:g,children:[_,d,` ON WATCH`]}),t[10]=d,t[11]=g,t[12]=v):v=t[12];let y;t[13]===m?y=t[14]:(y=(0,H.jsx)(pe,{state:m}),t[13]=m,t[14]=y);let b;t[15]===n?b=t[16]:(b=n!==`overview`&&(0,H.jsx)(`a`,{className:`dash-topbar-link`,href:j.overview,children:`How it works`}),t[15]=n,t[16]=b);let x;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,H.jsx)(`a`,{className:`dash-topbar-link`,href:`#/live`,children:`Live`}),t[17]=x):x=t[17];let S;t[18]!==b||t[19]!==v||t[20]!==y?(S=(0,H.jsxs)(`div`,{className:`dash-topbar-scroll`,children:[v,y,b,x]}),t[18]=b,t[19]=v,t[20]=y,t[21]=S):S=t[21];let C;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,H.jsx)(`span`,{className:`topbar-spacer`}),t[22]=C):C=t[22];let T,E;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,H.jsx)(`nav`,{className:`dash-topbar-nav`,"aria-label":`App`,children:(0,H.jsx)(le,{omitHash:j.gallery})}),E=(0,H.jsx)(`span`,{className:`topbar-divider`,"aria-hidden":`true`}),t[23]=T,t[24]=E):(T=t[23],E=t[24]);let D;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,H.jsxs)(`div`,{className:`dash-topbar-tools`,children:[(0,H.jsx)(`a`,{className:`dash-topbar-action`,href:j.rewind,children:`✦ Rewind`}),(0,H.jsx)(`a`,{className:`dash-topbar-action`,href:j.present,children:`▸ Present`}),(0,H.jsx)(ee,{triggerClassName:`ctrl`})]}),t[25]=D):D=t[25];let O;return t[26]===S?O=t[27]:(O=(0,H.jsxs)(`header`,{className:`dash-topbar`,children:[h,S,C,T,E,D]}),t[26]=S,t[27]=O),O}function he(){return Date.now()}function ge({label:e,value:t,dashboardId:n,kind:r=`presence`}){return(0,H.jsxs)(`a`,{className:`metric-chip metric-chip--${r}`,href:j.detail(n),children:[(0,H.jsx)(`span`,{className:`metric-chip-value`,children:t}),(0,H.jsx)(`span`,{className:`metric-chip-label`,children:e})]})}function _e(e){return new Date(e).toLocaleTimeString([],{hour:`numeric`,minute:`2-digit`})}function ve({briefing:e}){let[t,n]=(0,B.useState)(!1),r=(0,B.useRef)(t);return r.current=t,(0,B.useEffect)(()=>{if(!t)return;let e=window.setInterval(()=>{b()||n(!1)},300);return()=>window.clearInterval(e)},[t]),(0,B.useEffect)(()=>()=>{r.current&&x()},[]),(0,H.jsxs)(`section`,{className:`card briefing-hero`,children:[(0,H.jsxs)(`div`,{className:`briefing-hero-head`,children:[(0,H.jsxs)(`span`,{className:`card-eyebrow briefing-hero-eyebrow`,children:[`MORNING BRIEFING · `,_e(e.at),` · COMPILED WHILE CHECKING YOUR DASHBOARDS`]}),(0,H.jsx)(`button`,{type:`button`,className:`briefing-hero-listen`,onClick:()=>{if(t){x(),n(!1);return}ie(e.text,e.spoken),n(!0)},"aria-pressed":t,children:t?`◼ STOP`:`▸ LISTEN`})]}),(0,H.jsx)(`p`,{className:`briefing-hero-text`,children:e.text}),e.chips.length>0&&(0,H.jsx)(`div`,{className:`briefing-hero-chips`,children:e.chips.map(e=>(0,H.jsx)(ge,{label:e.label,value:e.value,dashboardId:e.dashboardId},e.dashboardId))})]})}function ye(e){let t=(0,V.c)(31),{dashboard:n,now:r}=e,i;t[0]!==n||t[1]!==r?(i=se(n,r),t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,o=n.cadence.window;if(!o||a.vizKind!==`livescore`){let e;return t[3]!==n||t[4]!==r?(e=(0,H.jsx)(`div`,{className:`featured-live featured-live--fallback`,children:(0,H.jsx)(z,{dashboard:n,now:r})}),t[3]=n,t[4]=r,t[5]=e):e=t[5],e}let s=a.everChecked?`AS OF ${a.asOf}`:a.asOf,c;t[6]===n.id?c=t[7]:(c=j.detail(n.id),t[6]=n.id,t[7]=c);let l;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,H.jsxs)(`span`,{className:`card-eyebrow featured-live-eyebrow`,children:[(0,H.jsx)(`i`,{className:`dash-live-dot`,"aria-hidden":`true`}),`LIVE NOW`]}),t[8]=l):l=t[8];let u;t[9]===n.title?u=t[10]:(u=(0,H.jsxs)(`div`,{className:`featured-live-head`,children:[l,(0,H.jsx)(`h3`,{className:`featured-live-title`,children:n.title})]}),t[9]=n.title,t[10]=u);let d;t[11]!==o||t[12]!==r?(d=(0,H.jsx)(oe,{liveWindow:o,now:r}),t[11]=o,t[12]=r,t[13]=d):d=t[13];let f;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,H.jsx)(`span`,{className:`featured-live-check-label`,children:`FROM THE LAST CHECK`}),t[14]=f):f=t[14];let p;t[15]===a.value?p=t[16]:(p=(0,H.jsx)(`span`,{className:`featured-live-check-value`,children:a.value}),t[15]=a.value,t[16]=p);let m;t[17]===a.context?m=t[18]:(m=(0,H.jsx)(`span`,{className:`featured-live-check-context`,children:a.context}),t[17]=a.context,t[18]=m);let h;t[19]!==p||t[20]!==m?(h=(0,H.jsxs)(`p`,{className:`featured-live-check`,children:[f,p,m]}),t[19]=p,t[20]=m,t[21]=h):h=t[21];let g;t[22]!==s||t[23]!==o.label?(g=(0,H.jsxs)(`div`,{className:`featured-live-foot`,children:[s,` · `,o.label,` ONLY`]}),t[22]=s,t[23]=o.label,t[24]=g):g=t[24];let _;return t[25]!==g||t[26]!==c||t[27]!==u||t[28]!==d||t[29]!==h?(_=(0,H.jsxs)(`a`,{className:`card featured-live`,href:c,children:[u,d,h,g]}),t[25]=g,t[26]=c,t[27]=u,t[28]=d,t[29]=h,t[30]=_):_=t[30],_}function be(e){let t=(0,V.c)(17),{answer:n,onTrackAnyway:r}=e;if(!n){let e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,H.jsx)(`p`,{className:`dash-answer-text dash-answer-text--fallback`,children:`Mavéa couldn’t reach your model for that — try tracking it instead.`}),t[0]=e):e=t[0];let n;return t[1]===r?n=t[2]:(n=(0,H.jsxs)(`div`,{className:`dash-answer`,children:[e,(0,H.jsx)(`button`,{type:`button`,className:`dash-answer-track`,onClick:r,children:`Track it anyway →`})]}),t[1]=r,t[2]=n),n}let i;t[3]===n.text?i=t[4]:(i=(0,H.jsx)(`p`,{className:`dash-answer-text`,children:n.text}),t[3]=n.text,t[4]=i);let a;t[5]===n.grounded?a=t[6]:(a=!n.grounded&&(0,H.jsx)(`p`,{className:`dash-answer-qualifier`,children:`Based on background knowledge, not a fresh search.`}),t[5]=n.grounded,t[6]=a);let o;t[7]===n.sources?o=t[8]:(o=n.sources.length>0&&(0,H.jsx)(`div`,{className:`dash-answer-sources`,children:n.sources.map(xe)}),t[7]=n.sources,t[8]=o);let s;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,H.jsx)(`span`,{className:`dash-answer-badge`,children:`Answered once — nothing worth re-checking`}),t[9]=s):s=t[9];let c;t[10]===r?c=t[11]:(c=(0,H.jsxs)(`div`,{className:`dash-answer-foot`,children:[s,(0,H.jsx)(`button`,{type:`button`,className:`dash-answer-track`,onClick:r,children:`Track it anyway →`})]}),t[10]=r,t[11]=c);let l;return t[12]!==i||t[13]!==a||t[14]!==o||t[15]!==c?(l=(0,H.jsxs)(`div`,{className:`dash-answer`,children:[i,a,o,c]}),t[12]=i,t[13]=a,t[14]=o,t[15]=c,t[16]=l):l=t[16],l}function xe(e){let t=C(e.url);return t?(0,H.jsx)(`a`,{className:`dash-answer-source`,href:t,target:`_blank`,rel:`noopener noreferrer`,title:e.title,children:e.title},e.url):null}a();var q;function J(){return q??=h(()=>import(`./planTracker-7AMCQPNx.js`).then(e=>e.n),__vite__mapDeps([12,2,13,14,15,16,17])),q}var Y=i(()=>h(()=>import(`./PlanReview-CbJ_7Ld1.js`).then(e=>({default:e.PlanReview})),__vite__mapDeps([18,1,2,3,4,5,6,19,20,21,22,23,24,25,26,13,14,15,27,28,29,30,31,32,33,16,17,34,35,36]))),Se=Y.Component;function Ce(){return Promise.all([J(),Y.preload()]).then(()=>void 0)}function we({inert:e=!1}){let t=(0,B.useRef)(null),n=(0,B.useRef)(null),[r,i]=(0,B.useState)(``),[a,s]=(0,B.useState)(!1),[c,l]=(0,B.useState)(null),u=(0,B.useRef)(0),d=()=>{u.current++,l(null)};y(n,{onEscape:d,active:!!c}),(0,B.useEffect)(()=>{if(e)return;let n=e=>{(e.metaKey||e.ctrlKey)&&!e.altKey&&!e.shiftKey&&e.key.toLowerCase()===`k`&&(e.preventDefault(),t.current?.focus())};return window.addEventListener(`keydown`,n),()=>window.removeEventListener(`keydown`,n)},[e]),(0,B.useEffect)(()=>()=>{u.current++},[]);let p=async()=>{let e=r.trim();if(!e||a)return;s(!0);let t=++u.current,{planTracker:n,answerOnce:i}=await J(),o=await n(e,M(N()));if(t!==u.current)return;if(s(!1),o.kind!==`static`){l({step:`review`,plan:o});return}l({step:`answering`,plan:o});let c=await i(e,M(N()));t===u.current&&l({step:`answer`,plan:o,answer:c})},m=e=>{u.current++,l(null),i(``),window.location.hash=j.detail(e)};return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(`form`,{className:`dash-composer-bar`,onSubmit:e=>{e.preventDefault(),p()},children:[(0,H.jsx)(`input`,{ref:t,className:`dash-composer-input`,value:r,onChange:e=>i(e.target.value),placeholder:`Track anything — Mavéa will suggest what's worth checking, and how often`,"aria-label":`Track anything`,disabled:a,...o(Ce)}),(0,H.jsx)(`kbd`,{className:`dash-composer-kbd`,"aria-hidden":`true`,children:`⌘K`}),(0,H.jsx)(`button`,{type:`submit`,className:`dash-composer-submit`,disabled:!r.trim()||a,children:a?`Planning…`:`Track`})]}),c&&(0,H.jsx)(`div`,{className:`xt-scrim`,onClick:e=>{e.target===e.currentTarget&&d()},role:`button`,tabIndex:0,"aria-label":`Close`,onKeyDown:e=>{e.target===e.currentTarget&&(e.key===`Enter`||e.key===` `)&&(e.key===` `&&e.preventDefault(),d())},children:(0,H.jsxs)(`div`,{className:`xt-modal`,ref:n,tabIndex:-1,role:`dialog`,"aria-modal":`true`,"aria-label":`Track anything`,children:[(0,H.jsxs)(`div`,{className:`xt-head`,children:[c.step===`review`?(0,H.jsx)(`button`,{type:`button`,className:`tpl-back`,onClick:d,children:`‹ Change what to track`}):(0,H.jsx)(`span`,{className:`xt-head-title`,children:c.plan.title}),(0,H.jsx)(`button`,{type:`button`,className:`xt-close`,onClick:d,"aria-label":`Close`,children:`×`})]}),c.step===`answering`&&(0,H.jsx)(`div`,{className:`xt-loading`,children:`Mavéa is checking that…`}),c.step===`answer`&&(0,H.jsx)(be,{answer:c.answer,onTrackAnyway:()=>l({step:`review`,plan:c.plan})}),c.step===`review`&&(0,H.jsx)(f,{label:`tracker plan`,children:(0,H.jsx)(Se,{plan:c.plan,ask:r,existing:T(),onDone:m})})]})})]})}var Te=8e3;function Ee({message:e,onDismiss:t,kind:n=`presence`,href:r}){let i=(0,B.useRef)(t);return i.current=t,(0,B.useEffect)(()=>{let e=window.setTimeout(()=>i.current(),Te);return()=>window.clearTimeout(e)},[]),(0,H.jsxs)(`div`,{className:`dash-toast dash-toast--${n}`,role:`status`,children:[r?(0,H.jsx)(`a`,{className:`dash-toast-text dash-toast-link`,href:r,children:e}):(0,H.jsx)(`span`,{className:`dash-toast-text`,children:e}),(0,H.jsx)(`button`,{type:`button`,className:`dash-toast-close`,onClick:t,"aria-label":`Dismiss`,children:`×`})]})}a();var De=[`AAPL price`,`Yankees scores`,`Weather in Denver`,`Bitcoin price`];function Oe(e,t){let n=e.cadence.window;return!!n&&t>=n.startAt&&t<=n.endAt}function ke(e){return new Date(e).toISOString().slice(0,10)}function X(e){let t=(0,V.c)(11),{eyebrow:n,sub:r}=e,i;t[0]===n?i=t[1]:(i=(0,H.jsx)(`span`,{className:`tile-name`,children:n}),t[0]=n,t[1]=i);let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,H.jsx)(`span`,{className:`tile-cadence`,children:`EXAMPLE`}),t[2]=a):a=t[2];let o;t[3]===i?o=t[4]:(o=(0,H.jsxs)(`div`,{className:`tile-top`,children:[i,a]}),t[3]=i,t[4]=o);let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,H.jsx)(`div`,{className:`tile-value-row`,children:(0,H.jsx)(`span`,{className:`tile-value`,children:`—`})}),t[5]=s):s=t[5];let c;t[6]===r?c=t[7]:(c=(0,H.jsx)(`p`,{className:`tile-context`,children:r}),t[6]=r,t[7]=c);let l;return t[8]!==o||t[9]!==c?(l=(0,H.jsxs)(`div`,{className:`tile-frame tile-frame--ghost`,"aria-hidden":`true`,children:[o,s,c]}),t[8]=o,t[9]=c,t[10]=l):l=t[10],l}function Ae(){let e=(0,V.c)(4),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,H.jsx)(`p`,{className:`dash-empty-title`,children:`Nothing on watch yet.`}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,H.jsxs)(`p`,{className:`dash-empty-how`,children:[`Type anything worth following in the bar below — scores, a price, the weather, a story — and Mavéa plans the live cards and keeps them current. Or talk it through in`,` `,(0,H.jsx)(`a`,{href:`#/live`,children:`Live`}),` and build one from that conversation instead.`]}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,H.jsxs)(`p`,{className:`dash-empty-how`,children:[`New here? `,(0,H.jsx)(`a`,{href:j.overview,children:`See how it works →`})]}),e[2]=r):r=e[2];let i;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,H.jsxs)(`div`,{className:`card dash-empty dash-empty--hero`,children:[t,n,r,(0,H.jsx)(`div`,{className:`dash-home-examples`,children:De.map(je)})]}),e[3]=i):i=e[3],i}function je(e){return(0,H.jsx)(`span`,{className:`dash-home-example-chip`,children:e},e)}function Z(){let e=A(),t=L(),n=P(),r=I(),[i]=ne(),[a,o]=(0,B.useState)(()=>Date.now());(0,B.useEffect)(()=>{let e=window.setInterval(()=>o(Date.now()),3e4);return()=>window.clearInterval(e)},[]);let s=(0,B.useMemo)(()=>e.find(e=>Oe(e,a))??null,[e,a]),c=r!==null&&r.date===ke(a),l=(0,B.useMemo)(()=>F(t,n.dailySearchBudget,a),[t,n.dailySearchBudget,a]),u=e.length===0,d=(0,B.useMemo)(()=>e.some(R),[e]),f=te(i),[p,m]=(0,B.useState)(null);(0,B.useEffect)(()=>re(m),[]);let[g,_]=(0,B.useState)(!1),y=async()=>{_(!0);try{let{checkAllDashboardsNow:e}=await h(async()=>{let{checkAllDashboardsNow:e}=await import(`./useDashboardLoop-mGmJwv27.js`).then(e=>e.i);return{checkAllDashboardsNow:e}},__vite__mapDeps([27,2,1,3,4,5,6,13,14,15,19,20,21,22,23,24,25,26,28,29,30,31,32,33,16,17,34]));await e()}finally{_(!1)}},[b,x]=(0,B.useState)(0);return(0,B.useEffect)(()=>{let e=0,t=0;return e=requestAnimationFrame(()=>{x(1),t=requestAnimationFrame(()=>x(2))}),()=>{cancelAnimationFrame(e),cancelAnimationFrame(t)}},[]),(0,H.jsxs)(`div`,{className:`dash-home`,children:[p&&(0,H.jsx)(Ee,{kind:`danger`,message:`${p.dashboardTitle}: ${p.tripwireLabel} crossed the line you set.`,href:j.detail(p.dashboardId),onDismiss:()=>m(null)},`${p.dashboardId}-${p.tripwireLabel}`),(0,H.jsxs)(`div`,{className:`dash-home-grid`,children:[(0,H.jsxs)(`div`,{className:`dash-home-main`,children:[!u&&!f&&d&&(0,H.jsxs)(`div`,{className:`dash-connect-banner`,children:[(0,H.jsx)(`span`,{className:`dash-connect-banner-text`,children:`These trackers can't fetch anything yet — connect a model to start filling them.`}),(0,H.jsx)(`a`,{className:`dash-connect-banner-link`,href:`#/live`,children:`Connect a model in Live →`})]}),u?(0,H.jsx)(Ae,{}):(0,H.jsxs)(H.Fragment,{children:[c&&r&&(0,H.jsx)(ve,{briefing:r}),s&&(0,H.jsx)(ye,{dashboard:s,now:a})]}),b>=1&&(0,H.jsxs)(`section`,{className:`dash-track`,children:[(0,H.jsxs)(`div`,{className:`dash-track-head`,children:[(0,H.jsxs)(`span`,{className:`dash-track-eyebrow`,children:[`TRACKING · `,e.length]}),(0,H.jsxs)(`div`,{className:`dash-track-head-right`,children:[(0,H.jsx)(`span`,{className:`dash-track-honesty`,children:`NOT REAL-TIME — EVERY VALUE IS AS OF ITS LAST WEB SEARCH`}),f&&d&&(0,H.jsxs)(`button`,{type:`button`,className:`dash-check-all-btn`,onClick:()=>void y(),disabled:g,title:`Check every tracker with live content now`,children:[(0,H.jsx)(v.refresh,{className:g?`dash-refresh-spin`:void 0}),g?`Checking…`:`Check all`]})]})]}),(0,H.jsx)(`div`,{className:`dash-track-grid`,children:u?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(X,{eyebrow:`AAPL`,sub:`Stock price`}),(0,H.jsx)(X,{eyebrow:`Yankees`,sub:`Latest score`}),(0,H.jsx)(X,{eyebrow:`Denver`,sub:`This week's forecast`})]}):e.map(e=>(0,H.jsx)(z,{dashboard:e,now:a,paused:l.paused},e.id))})]})]}),(0,H.jsx)(`aside`,{className:`dash-home-rail`,children:b>=2&&(0,H.jsx)(ae,{})})]}),(0,H.jsx)(we,{})]})}a();var Me=i(()=>h(()=>import(`./RewindOverlay-Izf89nG9.js`).then(e=>({default:e.RewindOverlay})),__vite__mapDeps([37,1,2,3,4,5,6,38,19,20,21,22,23,24,25,26,13,14,15,39,28,29,30,31,40,33,41,42]))),Ne=i(()=>h(()=>import(`./DashPresent-DGSE0vYM.js`).then(e=>({default:e.DashPresent})),__vite__mapDeps([43,1,2,3,4,5,6,19,20,21,22,23,24,25,26,13,14,15,39,28,29,30,31,40,44,8,45]))),Pe=i(()=>h(()=>import(`./DashboardDetail-BpaLNg8R.js`).then(e=>({default:e.DashboardDetail})),__vite__mapDeps([46,1,2,3,4,5,6,47,48,49,8,50,51,52,53,54,38,55,56,57,58,59,60,61,62,63,14,64,65,66,67,68,69,70,71,72,73,74,29,75,41,31,76,77,78,19,20,21,22,23,24,25,26,13,15,39,28,30,40,27,32,33,16,17,34,79,80,12,36]))),Fe=i(()=>h(()=>import(`./DashboardSettings-f_zxcs5j.js`).then(e=>({default:e.DashboardSettings})),__vite__mapDeps([81,1,2,3,4,5,6,19,20,21,22,23,24,25,26,13,14,15,30,32]))),Q=i(()=>h(()=>import(`./DashboardOverview-8x3OxX2i.js`).then(e=>({default:e.DashboardOverview})),__vite__mapDeps([82,3,2,19,1,4,5,6,20,21,22,23,24,25,26,13,14,15]))),Ie=i(()=>h(()=>import(`./DashboardLoopRuntime-14yzj-xx.js`).then(e=>({default:e.DashboardLoopRuntime})),__vite__mapDeps([83,27,2,1,3,4,5,6,13,14,15,19,20,21,22,23,24,25,26,28,29,30,31,32,33,16,17,34]))),Le=Me.Component,Re=Ne.Component,ze=Pe.Component,Be=Fe.Component,Ve=Q.Component,He=Ie.Component;function $(){window.location.hash=j.gallery}function Ue(){let e=(0,V.c)(24),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[0]=t):t=e[0],(0,B.useEffect)(We,t);let[n,r]=(0,B.useState)(!1),i,a;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=()=>{let e=window.setTimeout(()=>r(!0),600);return()=>window.clearTimeout(e)},a=[],e[1]=i,e[2]=a):(i=e[1],a=e[2]),(0,B.useEffect)(i,a);let o=k(),s;e[3]===o?s=e[4]:(s=D(o),e[3]=o,e[4]=s);let c=s;if(c.view===`present`){let t;return e[5]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,H.jsx)(f,{label:`Dashboard presentation`,children:(0,H.jsx)(Re,{onClose:$})}),e[5]=t):t=e[5],t}let l;bb0:switch(c.view){case`detail`:{let t;e[6]===c.id?t=e[7]:(t=c.id?(0,H.jsx)(f,{label:`Dashboard detail`,children:(0,H.jsx)(ze,{id:c.id})}):(0,H.jsx)(Z,{}),e[6]=c.id,e[7]=t),l=t;break bb0}case`settings`:{let t;e[8]===c.id?t=e[9]:(t=c.id?(0,H.jsx)(f,{label:`Dashboard settings`,children:(0,H.jsx)(Be,{id:c.id})}):(0,H.jsx)(Z,{}),e[8]=c.id,e[9]=t),l=t;break bb0}case`overview`:{let t;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,H.jsx)(f,{label:`Dashboard overview`,children:(0,H.jsx)(Ve,{})}),e[10]=t):t=e[10],l=t;break bb0}case`rewind`:case`gallery`:default:{let t;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,H.jsx)(Z,{}),e[11]=t):t=e[11],l=t}}let u=l,d;e[12]===c.view?d=e[13]:(d=(0,H.jsx)(me,{view:c.view}),e[12]=c.view,e[13]=d);let p;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,H.jsx)(S,{kind:`monitoring`,className:`dash-risk-note`}),e[14]=p):p=e[14];let m;e[15]===n?m=e[16]:(m=n&&(0,H.jsx)(B.Suspense,{fallback:(0,H.jsx)(`span`,{hidden:!0,"aria-hidden":`true`}),children:(0,H.jsx)(He,{})}),e[15]=n,e[16]=m);let h;e[17]===c.view?h=e[18]:(h=c.view===`rewind`&&(0,H.jsx)(f,{label:`Weekly rewind`,overlay:!0,children:(0,H.jsx)(Le,{onClose:$})}),e[17]=c.view,e[18]=h);let g;return e[19]!==u||e[20]!==d||e[21]!==m||e[22]!==h?(g=(0,H.jsxs)(`div`,{className:`mavea-app dash-app`,children:[d,p,u,m,h]}),e[19]=u,e[20]=d,e[21]=m,e[22]=h,e[23]=g):g=e[23],g}function We(){return s(c())}export{Ue as DashboardsApp};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./react-BQSORdFI.js";import{t}from"./jsx-runtime-DaSxXjOY.js";import{ht as n}from"./index-CWqRe4-B.js";import{t as r}from"./useFocusTrap-DbfG6zbM.js";import{t as i}from"./FeatureUseNotice-CoK5HkbR.js";import{t as a}from"./Presence-B_zDfiE7.js";import{t as o}from"./providers-wzm7E8Pa.js";import{t as s}from"./pageVisibility-BxUVsw7Z.js";var c=e(),l=n(),u=`Reply with ONLY a JSON object (no prose, no fences):
|
|
2
|
-
{"say": "<ONE short spoken line for the negotiation log>", "offer": "<the full current proposal in plain words, or null>", "decision": "offer" | "accept" | "pass"}
|
|
3
|
-
"accept" means you take the OTHER side's standing offer as-is (only when one exists). "pass" ends the talks with no deal. Keep every "say" under 25 words.`;function d(e){return`You are the user's Mavéa, negotiating on their behalf with ${e.counterpart}'s side.
|
|
4
|
-
THE GOAL: ${e.goal}
|
|
5
|
-
YOU MAY OFFER (nothing else exists): ${e.mine}
|
|
6
|
-
${e.boundaries.length?`HARD BOUNDARIES — these are NEVER offered, in any form: ${e.boundaries.join(`; `)}`:``}
|
|
7
|
-
Negotiate firmly but fairly: open near the goal, concede in small steps, and accept a standing offer only when it clearly serves the goal. ${u}`}function f(e){return`You are a stand-in negotiator for ${e.counterpart}. Everything you know about ${e.counterpart}'s side: ${e.theirs}
|
|
8
|
-
Argue that side's interest: counter for better value, concede only for real gains, and accept a standing offer when it is genuinely fair to ${e.counterpart}. Never invent assets the brief above doesn't mention. ${u}`}function p(e){let t=e.indexOf(`{`),n=e.lastIndexOf(`}`);if(t<0||n<=t)return null;try{let r=JSON.parse(e.slice(t,n+1)),i=typeof r.say==`string`?r.say.trim():``,a=typeof r.offer==`string`&&r.offer.trim()?r.offer.trim():null,o=r.decision===`accept`||r.decision===`pass`||r.decision===`offer`?r.decision:`offer`;return i?{say:i,offer:a,decision:o}:null}catch{return null}}var m=e=>e.toLowerCase().replace(/[\s,]/g,``);function h(e,t){let n=m(e);for(let e of t){let t=m(e);if(t&&n.includes(t))return e}return null}function g(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n.offer&&(n.side===`yours`||n.side===`theirs`))return{offer:n.offer,by:n.side}}return null}function _(e){let t=new Set,n=[];for(let r of e.split(/(?<!\d)[,;\n]|[,;\n](?!\d)/)){let e=r.trim();if(!e)continue;let i=e.toLowerCase();t.has(i)||(t.add(i),n.push(e))}return n}function v(e,t){return e.length===0?`(no moves yet — you open)`:e.map(e=>`${e.side===`yours`?`YOUR SIDE`:e.side===`theirs`?`${t.counterpart}'S SIDE`:`—`}: ${e.say}${e.offer?` [standing offer: ${e.offer}]`:``}`).join(`
|
|
9
|
-
`)}async function ee(e,t,n,r){let i=[],a=e=>{i.push(e),n(e)},o=e.maxRounds??6,s=null,c=null,l=0;for(;l<o&&!c&&!r?.aborted;l++){let n=l%2==0?`yours`:`theirs`,o=n===`yours`?d(e):f(e),u=`Negotiation so far:\n${v(i,e)}\nYour move.`,m=null;for(let i=0;i<2;i++){let i=await t(o,u).catch(()=>``);if(r?.aborted||(m=p(i),!m))break;let s=n===`yours`&&m.offer?h(m.offer,e.boundaries):null;if(!s)break;a({side:`engine`,kind:`boundary`,say:`Withheld — "${s}" is outside your boundary.`}),u+=`\nYour previous offer was WITHHELD: it included "${s}", which is never offered. Make a different move.`,m=null}if(r?.aborted)break;if(!m){a({side:n,kind:`pass`,say:`No further moves.`});break}if(m.decision===`accept`&&s&&s.by!==n){c=s.offer,a({side:n,kind:`accept`,say:m.say,offer:c});break}if(m.decision===`pass`||m.decision===`accept`&&(!s||s.by===n)){a({side:n,kind:`pass`,say:m.say});break}m.offer&&(s={offer:m.offer,by:n}),a({side:n,kind:i.some(e=>e.kind===`offer`||e.kind===`counter`)?`counter`:`offer`,say:m.say,offer:m.offer??void 0})}return{events:i,deal:c,rounds:l}}var y=`Reply with ONLY a JSON object (no prose, no fences):
|
|
10
|
-
{"moved": [{"point": "<an argument the user's side made that the other side visibly responded to>", "turn": <the 1-based line number it happened on>}],
|
|
11
|
-
"exposed": [{"point": "<something the other side pushed that the user's side had no good answer for>", "turn": <line number>}],
|
|
12
|
-
"openers": ["<a line to open the REAL conversation with>", "...", "..."]}
|
|
13
|
-
"moved" and "exposed" may each be an empty array when the transcript doesn't support them — never invent one just to fill the slot — and otherwise at most 2 entries each. "openers" is up to 3 short lines (under 20 words), each usable as-is, grounded only in the brief and transcript below. Cite ONLY real line numbers from the transcript; never invent facts, numbers, or concessions.`;function te(e){return e?`They agreed: ${e}.`:`No deal was reached.`}function b(e,t){return e.map((e,n)=>{let r=e.side===`yours`?`YOUR SIDE`:e.side===`theirs`?`${t.counterpart}'S SIDE`:`REFEREE`;return`${n+1}. ${r}: ${e.say}${e.offer?` [standing offer: ${e.offer}]`:``}`}).join(`
|
|
14
|
-
`)}function ne(e,t,n){return{system:`You are a negotiation coach reviewing a practice run. Judge ONLY the numbered transcript below — never anything outside it. ${y}`,user:`THE GOAL: ${e.goal}
|
|
15
|
-
WHAT THE USER COULD OFFER: ${e.mine}
|
|
16
|
-
${e.counterpart.toUpperCase()}'S POSITION, AS THE USER DESCRIBED IT: ${e.theirs}
|
|
17
|
-
THE TRANSCRIPT:
|
|
18
|
-
${b(t,e)}
|
|
19
|
-
OUTCOME: ${te(n)}`}}function x(e,t){let n=e.indexOf(`{`),r=e.lastIndexOf(`}`);if(n<0||r<=n)return null;try{let i=JSON.parse(e.slice(n,r+1)),a=e=>{if(!Array.isArray(e))return[];let n=[];for(let r of e){if(n.length>=2)break;if(!r||typeof r!=`object`)continue;let e=r,i=typeof e.point==`string`?e.point.trim():``;if(!i)continue;let a=typeof e.turn==`number`&&e.turn>=1&&e.turn<=t?Math.trunc(e.turn):null;n.push({point:i,turn:a})}return n},o=a(i.moved),s=a(i.exposed),c=Array.isArray(i.openers)?i.openers.filter(e=>typeof e==`string`&&e.trim().length>0).map(e=>e.trim()).slice(0,3):[];return!o.length&&!s.length&&!c.length?null:{moved:o,exposed:s,openers:c}}catch{return null}}async function re(e,t,n,r,i){if(i?.aborted)return null;let{system:a,user:o}=ne(e,t,n),s=await r(a,o).catch(()=>``);return i?.aborted||!s?null:x(s,t.length)}function ie(e,t,n){return`I ran a practice negotiation at The Table: my Mavéa argued my side against a stand-in for ${e.counterpart}, built only from my own notes. Nothing was sent to anyone — this was a scouting run on my own key.
|
|
20
|
-
My goal: ${e.goal}
|
|
21
|
-
What I could offer: ${e.mine}
|
|
22
|
-
${e.counterpart}'s position, as I described it: ${e.theirs}
|
|
23
|
-
The full exchange:
|
|
24
|
-
${b(t,e)}
|
|
25
|
-
Outcome: ${te(n)}
|
|
26
|
-
Help me prepare for the real conversation: what to open with, where my case is weakest, and how to phrase my strongest point. Work only from this transcript and brief — invent nothing about ${e.counterpart}.`}function ae(e){let t=`Negotiation prep: ${e.trim()}`;return t.length>60?`${t.slice(0,57)}…`:t}var oe=1600,S=1300;function se(e){let t=`right`,n=e.speaking;return n?.side===`yours`?n.pointing?{state:`acting`,emotion:`focused`,gaze:t}:{state:`speaking`,emotion:`focused`,gaze:t}:n?.side===`theirs`?{state:`idle`,emotion:n.offer?`curious`:`neutral`,gaze:t}:e.whoseTurn===`yours`?{state:`thinking`,emotion:e.guarded?`concerned`:`focused`,gaze:t}:{state:`idle`,emotion:`neutral`,gaze:t}}function C(e){let t=`left`,n=e.speaking;return n?.side===`theirs`?{state:`speaking`,emotion:n.offer?`focused`:`neutral`,gaze:t}:n?.side===`yours`?{state:`idle`,emotion:n.offer?`curious`:`neutral`,gaze:t}:e.whoseTurn===`theirs`?{state:`thinking`,emotion:`neutral`,gaze:t}:{state:`idle`,emotion:e.guarded?`curious`:`neutral`,gaze:t}}function w(e){switch(e.kind){case`running`:return{yours:se(e),theirs:C(e)};case`deal`:return{yours:{state:`idle`,emotion:`celebrate`,gaze:`center`},theirs:{state:`idle`,emotion:`warm`,gaze:`center`}};case`approved`:return{yours:{state:`idle`,emotion:`warm`,gaze:`center`},theirs:{state:`idle`,emotion:`neutral`,gaze:`center`}};case`nodeal`:return{yours:{state:`idle`,emotion:e.boundaryHeld?`focused`:`concerned`,gaze:`center`},theirs:{state:`idle`,emotion:`neutral`,gaze:`center`}};case`stopped`:return{yours:{state:`idle`,emotion:`sleepy`,gaze:`down`},theirs:{state:`idle`,emotion:`sleepy`,gaze:`down`}}}}var T=t();function ce(e,t,n=300){return async(r,i)=>{let a=await o(e.provider).generate({system:r,history:[],user:i,maxTokens:n,temperature:.7,signal:t},e);return typeof a.raw==`string`?a.raw:JSON.stringify(a.raw)}}var le=1200,ue=[{tag:`Ask for a raise`,counterpart:`Priya`,goal:`A raise to $95k, up from $82k, this cycle`,mine:`I led the billing migration and can mentor two juniors`,theirs:`My manager. Budget's tight this quarter; she values retention and won't set precedents`,boundaries:`working weekends, a title bump instead of pay`},{tag:`Buy a used car`,counterpart:`the dealer`,goal:`Get the 2019 Civic to $14,000 out the door`,mine:`Pay cash today, skip the extended warranty, take it as-is`,theirs:`Wants it off the lot this month; won't budge on the doc fee`,boundaries:`going above $15,000, financing through them`},{tag:`Split the rent`,counterpart:`Sam`,goal:`Split rent by room size — I take the smaller room for $200 less`,mine:`I'll set up the utilities and cover the parking spot`,theirs:`My roommate. Thinks a straight 50/50 split is only fair, and always pays on time`,boundaries:`paying more than half`}],E=e=>`${Math.floor(e/60)}:${String(e%60).padStart(2,`0`)}`;function de(){let e=(0,l.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,T.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,"aria-hidden":`true`,children:(0,T.jsx)(`path`,{d:`M6 6l12 12M18 6L6 18`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`})}),e[0]=t):t=e[0],t}function fe(){let e=(0,l.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,T.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,"aria-hidden":`true`,children:[(0,T.jsx)(`path`,{d:`M12 3l7 2.5v5c0 4.4-2.9 8-7 9.5-4.1-1.5-7-5.1-7-9.5v-5L12 3z`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinejoin:`round`}),(0,T.jsx)(`path`,{d:`M9 12l2 2 4-4.5`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`})]}),e[0]=t):t=e[0],t}function D(){let e=(0,l.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,T.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,"aria-hidden":`true`,children:(0,T.jsx)(`path`,{d:`M4 12.5l5 5 11-12`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})}),e[0]=t):t=e[0],t}function pe(e){let t=(0,l.c)(6),{side:n,name:r}=e,i=n===`yours`,a=`dlg-side ${n}`,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,T.jsx)(`span`,{className:`dlg-avatar`,"aria-hidden":`true`}),t[0]=o):o=t[0];let s=i?`Your Mavéa`:r,c;t[1]===s?c=t[2]:(c=(0,T.jsx)(`span`,{className:`dlg-side-text`,children:(0,T.jsx)(`span`,{className:`dlg-side-name`,children:s})}),t[1]=s,t[2]=c);let u;return t[3]!==a||t[4]!==c?(u=(0,T.jsxs)(`span`,{className:a,children:[o,c]}),t[3]=a,t[4]=c,t[5]=u):u=t[5],u}function me(e){let t=(0,l.c)(10),{turns:n,running:r}=e,i=r?Math.min(n+1,6):n,a=r?`Round ${i} of 6`:`${n} turns`,o=r?`Round ${i}`:`${n} turn${n===1?``:`s`}`,s;t[0]===o?s=t[1]:(s=(0,T.jsx)(`span`,{className:`dlg-rounds-label`,children:o}),t[0]=o,t[1]=s);let c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=Array.from({length:6}),t[2]=c):c=t[2];let u;t[3]!==r||t[4]!==n?(u=(0,T.jsx)(`span`,{className:`dlg-rounds-track`,"aria-hidden":`true`,children:c.map((e,t)=>(0,T.jsx)(`i`,{className:t<n?`on`:t===n&&r?`now`:``},t))}),t[3]=r,t[4]=n,t[5]=u):u=t[5];let d;return t[6]!==a||t[7]!==s||t[8]!==u?(d=(0,T.jsxs)(`div`,{className:`dlg-rounds`,"aria-label":a,children:[s,u]}),t[6]=a,t[7]=s,t[8]=u,t[9]=d):d=t[9],d}function he(e){let t=(0,l.c)(15),{label:n,onConfirm:r}=e,[i,a]=(0,c.useState)(!1),o=(0,c.useRef)(void 0),s;t[0]===r?s=t[1]:(s=()=>{window.clearTimeout(o.current),a(!0),o.current=window.setTimeout(()=>{a(!1),r()},le)},t[0]=r,t[1]=s);let u=s,d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>{a(!1),window.clearTimeout(o.current)},t[2]=d):d=t[2];let f=d,p,m;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=()=>()=>window.clearTimeout(o.current),m=[],t[3]=p,t[4]=m):(p=t[3],m=t[4]),(0,c.useEffect)(p,m);let h=`dlg-hold`+(i?` holding`:``),g;t[5]===u?g=t[6]:(g=e=>{e.repeat||(e.key===`Enter`||e.key===` `)&&u()},t[5]=u,t[6]=g);let _;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,T.jsx)(`span`,{className:`dlg-hold-fill`,"aria-hidden":`true`}),t[7]=_):_=t[7];let v;t[8]===n?v=t[9]:(v=(0,T.jsx)(`span`,{className:`dlg-hold-label`,children:n}),t[8]=n,t[9]=v);let ee;return t[10]!==u||t[11]!==h||t[12]!==g||t[13]!==v?(ee=(0,T.jsxs)(`button`,{type:`button`,className:h,onPointerDown:u,onPointerUp:f,onPointerLeave:f,onKeyDown:g,onKeyUp:f,children:[_,v]}),t[10]=u,t[11]=h,t[12]=g,t[13]=v,t[14]=ee):ee=t[14],ee}function ge(e){let t=(0,l.c)(5),[n,r]=(0,c.useState)(null),i=(0,c.useRef)(void 0),a=(0,c.useRef)(0),o,s;t[0]===e?(o=t[1],s=t[2]):(o=()=>{if(e.length===a.current)return;a.current=e.length,window.clearTimeout(i.current);let t=e[e.length-1];if(!t||t.side===`engine`){r(null);return}let n=!!t.offer;r({side:t.side,offer:n,pointing:!1}),t.side===`yours`&&n?i.current=window.setTimeout(()=>{r({side:`yours`,offer:!0,pointing:!0}),i.current=window.setTimeout(()=>r(null),S)},oe):i.current=window.setTimeout(()=>r(null),oe)},s=[e],t[0]=e,t[1]=o,t[2]=s),(0,c.useEffect)(o,s);let u,d;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>()=>window.clearTimeout(i.current),d=[],t[3]=u,t[4]=d):(u=t[3],d=t[4]),(0,c.useEffect)(u,d),n}function _e(e,t){return e.side===`yours`?`Your Mavéa`:e.side===`theirs`?`${t}’s stand-in`:`Referee`}function ve(e){let t=(0,l.c)(21),{debrief:n,events:r,themLabel:i,onRetry:a}=e;if(n===`idle`)return null;if(n===`loading`){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,T.jsxs)(`div`,{className:`dlg-debrief`,"data-state":`loading`,children:[(0,T.jsx)(`span`,{className:`dlg-debrief-eyebrow`,children:`Debrief — drawn from this run`}),(0,T.jsx)(`p`,{className:`dlg-debrief-wait`,children:`Reading back what happened…`})]}),t[0]=e):e=t[0],e}if(n===`failed`){let e,n;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,T.jsx)(`span`,{className:`dlg-debrief-eyebrow`,children:`Debrief — drawn from this run`}),n=(0,T.jsx)(`p`,{className:`dlg-debrief-wait`,children:`Couldn’t draw a debrief from this run.`}),t[1]=e,t[2]=n):(e=t[1],n=t[2]);let r;return t[3]===a?r=t[4]:(r=(0,T.jsxs)(`div`,{className:`dlg-debrief`,"data-state":`failed`,children:[e,n,(0,T.jsx)(`button`,{type:`button`,className:`dlg-debrief-retry`,onClick:a,children:`Try again`})]}),t[3]=a,t[4]=r),r}let o;t[5]!==r||t[6]!==i?(o=e=>{if(e===null)return null;let t=r[e-1];return t?(0,T.jsxs)(`p`,{className:`dlg-debrief-quote`,children:[(0,T.jsx)(`span`,{className:`dlg-debrief-quote-who`,children:_e(t,i)}),`“${t.say}”`]}):null},t[5]=r,t[6]=i,t[7]=o):o=t[7];let s=o,c;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,T.jsx)(`span`,{className:`dlg-debrief-eyebrow`,children:`Debrief — drawn from this run`}),t[8]=c):c=t[8];let u;t[9]!==n.moved||t[10]!==s?(u=n.moved.length>0&&(0,T.jsxs)(`div`,{className:`dlg-debrief-group`,children:[(0,T.jsx)(`h4`,{children:`What moved them`}),(0,T.jsx)(`ul`,{children:n.moved.map((e,t)=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`p`,{className:`dlg-debrief-point`,children:e.point}),s(e.turn)]},t))})]}),t[9]=n.moved,t[10]=s,t[11]=u):u=t[11];let d;t[12]!==n.exposed||t[13]!==s?(d=n.exposed.length>0&&(0,T.jsxs)(`div`,{className:`dlg-debrief-group`,children:[(0,T.jsx)(`h4`,{children:`Where you’re exposed`}),(0,T.jsx)(`ul`,{children:n.exposed.map((e,t)=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`p`,{className:`dlg-debrief-point`,children:e.point}),s(e.turn)]},t))})]}),t[12]=n.exposed,t[13]=s,t[14]=d):d=t[14];let f;t[15]===n.openers?f=t[16]:(f=n.openers.length>0&&(0,T.jsxs)(`div`,{className:`dlg-debrief-group`,children:[(0,T.jsx)(`h4`,{children:`Say this first`}),(0,T.jsx)(`ol`,{className:`dlg-debrief-openers`,children:n.openers.map(O)}),(0,T.jsx)(`p`,{className:`dlg-debrief-footnote`,children:`Mavéa’s suggestions, drawn from the run above — the stand-in only knows what you wrote.`})]}),t[15]=n.openers,t[16]=f);let p;return t[17]!==u||t[18]!==d||t[19]!==f?(p=(0,T.jsxs)(`div`,{className:`dlg-debrief`,"data-state":`ready`,children:[c,u,d,f]}),t[17]=u,t[18]=d,t[19]=f,t[20]=p):p=t[20],p}function O(e,t){return(0,T.jsx)(`li`,{children:e},t)}function ye(e){let t=(0,l.c)(170),{cfg:n,onClose:o,onPrepTurn:u}=e,d=(0,c.useRef)(null);r(d);let f=(0,c.useRef)(null),[p,m]=(0,c.useState)(`brief`),[h,v]=(0,c.useState)(``),[y,te]=(0,c.useState)(``),[b,ne]=(0,c.useState)(``),[x,oe]=(0,c.useState)(``),[S,se]=(0,c.useState)(``),[C,le]=(0,c.useState)(!1),_e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(_e=[],t[0]=_e):_e=t[0];let[O,ye]=(0,c.useState)(_e),[k,De]=(0,c.useState)(null),[Oe,ke]=(0,c.useState)(!1),[Ae,je]=(0,c.useState)(!1),[A,Me]=(0,c.useState)(!1),[Ne,Pe]=(0,c.useState)(0),[j,Fe]=(0,c.useState)(`idle`),Ie;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(Ie=[],t[1]=Ie):Ie=t[1];let[Le,Re]=(0,c.useState)(Ie),ze=(0,c.useRef)(null),Be=(0,c.useRef)(null),Ve=(0,c.useRef)(!1),M=(0,c.useRef)(!0),He,Ue;t[2]===p?(He=t[3],Ue=t[4]):(He=()=>{if(p!==`running`)return;let e=window.setInterval(()=>{s()||Pe(Ee)},1e3);return()=>window.clearInterval(e)},Ue=[p],t[2]=p,t[3]=He,t[4]=Ue),(0,c.useEffect)(He,Ue);let We,Ge;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(We=()=>()=>{M.current=!1,ze.current?.abort(),Be.current?.abort()},Ge=[],t[5]=We,t[6]=Ge):(We=t[5],Ge=t[6]),(0,c.useEffect)(We,Ge);let Ke,qe;t[7]===o?(Ke=t[8],qe=t[9]):(Ke=()=>{let e=e=>{e.key===`Escape`&&o()};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},qe=[o],t[7]=o,t[8]=Ke,t[9]=qe),(0,c.useEffect)(Ke,qe);let Je;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(Je=()=>{let e=f.current;e&&(e.scrollTop=e.scrollHeight)},t[10]=Je):Je=t[10];let Ye;t[11]===O?Ye=t[12]:(Ye=[O],t[11]=O,t[12]=Ye),(0,c.useEffect)(Je,Ye);let Xe;t[13]===S?Xe=t[14]:(Xe=_(S),t[13]=S,t[14]=Xe);let N=Xe,P;t[15]===h?P=t[16]:(P=h.trim(),t[15]=h,t[16]=P);let F;t[17]===y?F=t[18]:(F=y.trim(),t[17]=y,t[18]=F);let I;t[19]===b?I=t[20]:(I=b.trim(),t[19]=b,t[20]=I);let L;t[21]===x?L=t[22]:(L=x.trim(),t[21]=x,t[22]=L);let Ze;t[23]!==N||t[24]!==P||t[25]!==F||t[26]!==I||t[27]!==L?(Ze={counterpart:P,goal:F,mine:I,theirs:L,boundaries:N},t[23]=N,t[24]=P,t[25]=F,t[26]=I,t[27]=L,t[28]=Ze):Ze=t[28];let R=Ze,Qe;t[29]===O?Qe=t[30]:(Qe=g(O),t[29]=O,t[30]=Qe);let z=Qe,$e;t[31]===O?$e=t[32]:($e=O.filter(Te),t[31]=O,t[32]=$e);let B=$e.length,et;t[33]===O?et=t[34]:(et=O.some(we),t[33]=O,t[34]=et);let V=et,tt=O.length>0&&O[O.length-1].side===`engine`,nt=[...O].reverse().find(Ce),H=nt&&nt.side===`yours`?`theirs`:`yours`,rt=ge(O),U;bb0:{if(p===`done`){if(k&&Oe){let e;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(e={kind:`approved`},t[35]=e):e=t[35],U=e;break bb0}if(k){let e;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(e={kind:`deal`},t[36]=e):e=t[36],U=e;break bb0}if(A){let e;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(e={kind:`stopped`},t[37]=e):e=t[37],U=e;break bb0}let e;t[38]===V?e=t[39]:(e={kind:`nodeal`,boundaryHeld:V},t[38]=V,t[39]=e),U=e;break bb0}let e;t[40]!==tt||t[41]!==rt||t[42]!==H?(e={kind:`running`,whoseTurn:H,guarded:tt,speaking:rt},t[40]=tt,t[41]=rt,t[42]=H,t[43]=e):e=t[43],U=e}let it=U,at;t[44]===it?at=t[45]:(at=w(it),t[44]=it,t[45]=at);let ot=at,st;t[46]!==h||t[47]!==y||t[48]!==b||t[49]!==x?(st=h.trim()&&y.trim()&&b.trim()&&x.trim(),t[46]=h,t[47]=y,t[48]=b,t[49]=x,t[50]=st):st=t[50];let W=!!st,ct;t[51]===h?ct=t[52]:(ct=h.trim()||`the other side`,t[51]=h,t[52]=ct);let G=ct,lt;t[53]!==S||t[54]!==h||t[55]!==y||t[56]!==b||t[57]!==x?(lt=e=>h===e.counterpart&&y===e.goal&&b===e.mine&&x===e.theirs&&S===e.boundaries,t[53]=S,t[54]=h,t[55]=y,t[56]=b,t[57]=x,t[58]=lt):lt=t[58];let ut=lt,K,q,J,dt,ft,pt,mt,ht,gt,Y,_t,X,vt,yt,Z,bt,xt,St,Q;if(t[59]!==S||t[60]!==N||t[61]!==R||t[62]!==n||t[63]!==h||t[64]!==k||t[65]!==O||t[66]!==y||t[67]!==b||t[68]!==o||t[69]!==u||t[70]!==W||t[71]!==ut||t[72]!==C||t[73]!==p||t[74]!==x||t[75]!==G){let e=e=>{v(e.counterpart),te(e.goal),ne(e.mine),oe(e.theirs),se(e.boundaries),le(!1),requestAnimationFrame(()=>{M.current&&le(!0)})},r;t[95]!==R||t[96]!==n?(r=(e,t)=>{Fe(`loading`);let r=new AbortController;Be.current=r,re(R,e,t,ce(n,r.signal,500),r.signal).then(e=>{!M.current||r.signal.aborted||Fe(e??`failed`)})},t[95]=R,t[96]=n,t[97]=r):r=t[97],J=r;let s;t[98]!==R||t[99]!==n||t[100]!==W||t[101]!==J?(s=()=>{if(!W)return;let e=new AbortController;ze.current=e,Be.current?.abort(),ye([]),De(null),ke(!1),je(!1),Me(!1),Ve.current=!1,Pe(0),Fe(`idle`),m(`running`),ee(R,ce(n,e.signal),e=>{M.current&&ye(t=>[...t,e])},e.signal).then(e=>{if(!M.current)return;De(e.deal),m(`done`);let t=e.events.filter(Se).length;Re(n=>[...n,{n:n.length+1,outcome:Ve.current?`stopped`:e.deal?`deal`:`nodeal`,deal:e.deal,turns:t}]),!Ve.current&&t>=2&&J(e.events,e.deal)}).catch(()=>{M.current&&m(`done`)})},t[98]=R,t[99]=n,t[100]=W,t[101]=J,t[102]=s):s=t[102],K=s;let c;t[103]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{Ve.current=!0,Me(!0),ze.current?.abort()},t[103]=c):c=t[103],dt=c;let l;t[104]!==R||t[105]!==k||t[106]!==O||t[107]!==u?(l=()=>{u?.(ie(R,O,k),ae(R.goal))},t[104]=R,t[105]=k,t[106]=O,t[107]=u,t[108]=l):l=t[108],q=l,yt=`dlg-scrim`,t[109]===o?Z=t[110]:(Z=e=>{e.target===e.currentTarget&&o()},t[109]=o,t[110]=Z),bt=`button`,xt=0,St=`Close`,t[111]===o?Q=t[112]:(Q=e=>{e.target===e.currentTarget&&(e.key===`Enter`||e.key===` `)&&(e.key===` `&&e.preventDefault(),o())},t[111]=o,t[112]=Q),ft=`dlg-panel`,pt=d,mt=-1,ht=`dialog`,gt=`true`,Y=`The Table — scout a negotiation`,_t=p;let f;t[113]!==W||t[114]!==p?(f=p===`brief`&&(0,T.jsx)(`span`,{className:`dlg-jelly brief`,"aria-hidden":`true`,children:(0,T.jsx)(a,{state:W?`thinking`:`reading`,gaze:W?`center`:`down`})}),t[113]=W,t[114]=p,t[115]=f):f=t[115];let g;t[116]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,T.jsx)(`h2`,{children:`The Table`}),t[116]=g):g=t[116];let _=p===`brief`?`Scout the deal before you have it for real`:`Two agents, talking it out on your key`,w;t[117]===_?w=t[118]:(w=(0,T.jsxs)(`div`,{className:`dlg-title`,children:[g,(0,T.jsx)(`p`,{className:`dlg-kicker`,children:_})]}),t[117]=_,t[118]=w);let E;t[119]!==f||t[120]!==w?(E=(0,T.jsxs)(`div`,{className:`dlg-head-id`,children:[f,w]}),t[119]=f,t[120]=w,t[121]=E):E=t[121];let fe;t[122]===Symbol.for(`react.memo_cache_sentinel`)?(fe=(0,T.jsx)(de,{}),t[122]=fe):fe=t[122];let D;t[123]===o?D=t[124]:(D=(0,T.jsx)(`button`,{type:`button`,className:`dlg-x`,onClick:o,"aria-label":`Close`,children:fe}),t[123]=o,t[124]=D),t[125]!==E||t[126]!==D?(X=(0,T.jsxs)(`header`,{className:`dlg-head`,children:[E,D]}),t[125]=E,t[126]=D,t[127]=X):X=t[127],vt=p===`brief`&&(0,T.jsxs)(`form`,{className:`dlg-brief`,onSubmit:e=>{e.preventDefault(),K()},children:[(0,T.jsxs)(`p`,{className:`dlg-lede`,children:[`Two agents talk it out on your key — your Mavéa against a `,(0,T.jsx)(`strong`,{children:`stand-in`}),` `,`for the other side, built only from what you write here. A few short turns, then a debrief of what moved them — about the cost of one answer. Nothing is sent to`,` `,G,`.`]}),(0,T.jsx)(i,{kind:`simulation`,from:`live`}),(0,T.jsxs)(`div`,{className:`dlg-seeds`,role:`group`,"aria-label":`Start from an example`,children:[(0,T.jsx)(`span`,{className:`dlg-seeds-label`,children:`Try one`}),ue.map(t=>(0,T.jsx)(`button`,{type:`button`,className:`dlg-seed`,"aria-pressed":ut(t),onClick:()=>e(t),children:t.tag},t.tag))]}),(0,T.jsxs)(`fieldset`,{className:`dlg-group`+(C?` dlg-seed-fill`:``),children:[(0,T.jsx)(`legend`,{children:`The other side`}),(0,T.jsxs)(`label`,{className:`dlg-field`,children:[(0,T.jsx)(`span`,{className:`dlg-field-name`,children:`Who you're negotiating with`}),(0,T.jsx)(`input`,{value:h,onChange:e=>v(e.target.value),placeholder:`Priya, my manager`})]}),(0,T.jsxs)(`label`,{className:`dlg-field`,children:[(0,T.jsx)(`span`,{className:`dlg-field-name`,children:`Their position, as you see it`}),(0,T.jsx)(`textarea`,{rows:2,value:x,onChange:e=>oe(e.target.value),placeholder:`Budget's tight this quarter; she values retention and won't set precedents`}),(0,T.jsx)(`span`,{className:`dlg-field-hint`,children:`This is all the stand-in knows — it argues only from this.`})]})]}),(0,T.jsxs)(`fieldset`,{className:`dlg-group`+(C?` dlg-seed-fill`:``),children:[(0,T.jsx)(`legend`,{children:`Your side`}),(0,T.jsxs)(`label`,{className:`dlg-field`,children:[(0,T.jsx)(`span`,{className:`dlg-field-name`,children:`What you're after`}),(0,T.jsx)(`input`,{value:y,onChange:e=>te(e.target.value),placeholder:`A raise to $95k, up from $82k, this cycle`})]}),(0,T.jsxs)(`label`,{className:`dlg-field`,children:[(0,T.jsx)(`span`,{className:`dlg-field-name`,children:`What you'll put on the table`}),(0,T.jsx)(`textarea`,{rows:2,value:b,onChange:e=>ne(e.target.value),placeholder:`I led the billing migration; I can mentor two juniors`})]})]}),(0,T.jsxs)(`fieldset`,{className:`dlg-group dlg-group-line`+(C?` dlg-seed-fill`:``),children:[(0,T.jsxs)(`legend`,{children:[`Your line `,(0,T.jsx)(`span`,{className:`dlg-enforced`,children:`enforced`})]}),(0,T.jsx)(`p`,{className:`dlg-line-note`,children:`Mavéa never offers these. Every proposal is checked in code, and any that crosses your line is pulled back — not just discouraged.`}),(0,T.jsxs)(`label`,{className:`dlg-field`,children:[(0,T.jsx)(`span`,{className:`dlg-field-name sr-only`,children:`Never offer`}),(0,T.jsx)(`input`,{value:S,onChange:e=>se(e.target.value),placeholder:`working weekends, a title bump instead of pay`})]}),N.length>0&&(0,T.jsx)(`ul`,{className:`dlg-line-chips`,"aria-hidden":`true`,children:N.map(xe)})]}),(0,T.jsxs)(`div`,{className:`dlg-brief-actions`,children:[(0,T.jsx)(`button`,{type:`submit`,className:`dlg-start`,disabled:!W,children:`Start the negotiation`}),(0,T.jsx)(`span`,{className:`dlg-brief-cost`,children:`≈ one answer's worth of calls, debrief included`})]})]}),t[59]=S,t[60]=N,t[61]=R,t[62]=n,t[63]=h,t[64]=k,t[65]=O,t[66]=y,t[67]=b,t[68]=o,t[69]=u,t[70]=W,t[71]=ut,t[72]=C,t[73]=p,t[74]=x,t[75]=G,t[76]=K,t[77]=q,t[78]=J,t[79]=dt,t[80]=ft,t[81]=pt,t[82]=mt,t[83]=ht,t[84]=gt,t[85]=Y,t[86]=_t,t[87]=X,t[88]=vt,t[89]=yt,t[90]=Z,t[91]=bt,t[92]=xt,t[93]=St,t[94]=Q}else K=t[76],q=t[77],J=t[78],dt=t[79],ft=t[80],pt=t[81],mt=t[82],ht=t[83],gt=t[84],Y=t[85],_t=t[86],X=t[87],vt=t[88],yt=t[89],Z=t[90],bt=t[91],xt=t[92],St=t[93],Q=t[94];let Ct;t[128]!==Oe||t[129]!==K||t[130]!==V||t[131]!==Ae||t[132]!==h||t[133]!==k||t[134]!==j||t[135]!==Ne||t[136]!==O||t[137]!==q||t[138]!==ot||t[139]!==o||t[140]!==u||t[141]!==Le||t[142]!==p||t[143]!==z||t[144]!==J||t[145]!==dt||t[146]!==A||t[147]!==G||t[148]!==B||t[149]!==H?(Ct=p!==`brief`&&(0,T.jsxs)(`div`,{className:`dlg-table`,children:[(0,T.jsxs)(`div`,{className:`dlg-tablescape`,children:[(0,T.jsxs)(`div`,{className:`dlg-seat yours`,children:[(0,T.jsx)(`span`,{className:`dlg-jelly`,"aria-hidden":`true`,children:(0,T.jsx)(a,{...ot.yours})}),(0,T.jsx)(`span`,{className:`dlg-seat-name`,children:`Your Mavéa`})]}),(0,T.jsxs)(`div`,{className:`dlg-meta`,children:[(0,T.jsx)(me,{turns:B,running:p===`running`}),(0,T.jsx)(`span`,{className:`dlg-clock tab-num`,"aria-label":`${Ne} seconds elapsed`,children:E(Ne)})]}),(0,T.jsxs)(`div`,{className:`dlg-seat theirs`,children:[(0,T.jsx)(`span`,{className:`dlg-jelly ghost`,"aria-hidden":`true`,children:(0,T.jsx)(a,{...ot.theirs})}),(0,T.jsx)(`span`,{className:`dlg-seat-name`,children:h}),(0,T.jsx)(`span`,{className:`dlg-seat-tag`,children:`stand-in`})]})]}),(0,T.jsxs)(`div`,{className:`dlg-offer`,"data-empty":z?void 0:!0,"data-by":z?.by,children:[(0,T.jsx)(`span`,{className:`dlg-offer-eyebrow`,children:`On the table`}),z?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`p`,{className:`dlg-offer-text`,children:z.offer},z.offer),(0,T.jsx)(`span`,{className:`dlg-offer-by`,children:z.by===`yours`?`Your Mavéa proposed this`:`${G}'s stand-in countered`})]}):(0,T.jsx)(`p`,{className:`dlg-offer-empty`,children:p===`running`?`Opening the table…`:`No offer was tabled.`})]}),(0,T.jsxs)(`ol`,{className:`dlg-log`,ref:f,role:`log`,"aria-live":`polite`,"aria-label":`The exchange`,children:[O.map((e,t)=>e.side===`engine`?(0,T.jsxs)(`li`,{className:`dlg-referee`,children:[(0,T.jsx)(fe,{}),(0,T.jsx)(`span`,{children:e.say})]},t):(0,T.jsxs)(`li`,{className:`dlg-turn ${e.side} ${e.kind}`,children:[(0,T.jsx)(pe,{side:e.side,name:h}),(0,T.jsx)(`p`,{className:`dlg-turn-say`,children:e.say}),e.offer&&e.kind!==`accept`&&(0,T.jsx)(`span`,{className:`dlg-turn-tag`,children:`Now on the table`}),e.kind===`accept`&&(0,T.jsx)(`span`,{className:`dlg-turn-tag agreed`,children:`Accepted`})]},t)),p===`running`&&(0,T.jsxs)(`li`,{className:`dlg-turn ${H} thinking`,"aria-hidden":`true`,children:[(0,T.jsx)(pe,{side:H,name:h}),(0,T.jsxs)(`span`,{className:`dlg-typing`,children:[(0,T.jsx)(`i`,{}),(0,T.jsx)(`i`,{}),(0,T.jsx)(`i`,{})]})]})]}),p===`running`&&(0,T.jsx)(`div`,{className:`dlg-foot`,children:(0,T.jsx)(`button`,{type:`button`,className:`dlg-stop`,onClick:dt,children:`Stop`})}),p===`done`&&k&&!Oe&&(0,T.jsxs)(`div`,{className:`dlg-result deal`,children:[(0,T.jsxs)(`div`,{className:`dlg-result-head`,children:[(0,T.jsx)(`span`,{className:`dlg-result-mark`,children:(0,T.jsx)(D,{})}),(0,T.jsx)(`h3`,{children:`Both Mavéas agreed`})]}),(0,T.jsx)(`p`,{className:`dlg-result-terms`,children:k}),(0,T.jsxs)(`p`,{className:`dlg-result-honest`,children:[`Pending both humans — nothing's been sent. Approve your side and you'll get the summary to send to `,G,` yourself.`]}),(0,T.jsx)(ve,{debrief:j,events:O,themLabel:G,onRetry:()=>J(O,k)}),(0,T.jsxs)(`div`,{className:`dlg-result-actions`,children:[(0,T.jsx)(he,{label:`Hold to approve your side`,onConfirm:()=>{ke(!0),navigator.clipboard?.writeText(`Proposed deal with ${h}: ${k}`).then(()=>je(!0)).catch(()=>je(!1))}}),(0,T.jsx)(`button`,{type:`button`,className:`dlg-pass`,onClick:o,children:`Not yet`})]})]}),p===`done`&&k&&Oe&&(0,T.jsxs)(`div`,{className:`dlg-result approved`,children:[(0,T.jsxs)(`div`,{className:`dlg-result-head`,children:[(0,T.jsx)(`span`,{className:`dlg-result-mark`,children:(0,T.jsx)(D,{})}),(0,T.jsx)(`h3`,{children:`Approved on your side`})]}),(0,T.jsx)(`p`,{className:`dlg-result-terms`,children:k}),(0,T.jsx)(`p`,{className:`dlg-result-honest`,children:Ae?`The summary's on your clipboard. ${G} still has to say yes for real — you send it.`:`${G} still has to say yes for real — copy the summary above and send it yourself.`}),(0,T.jsx)(ve,{debrief:j,events:O,themLabel:G,onRetry:()=>J(O,k)}),(0,T.jsx)(`button`,{type:`button`,className:`dlg-done`,onClick:o,children:`Done`})]}),p===`done`&&!k&&(0,T.jsxs)(`div`,{className:`dlg-result nodeal`,children:[(0,T.jsxs)(`div`,{className:`dlg-result-head`,children:[(0,T.jsx)(`span`,{className:`dlg-result-mark line`,"aria-hidden":`true`}),(0,T.jsx)(`h3`,{children:A?`Stopped`:V?`No deal — your line held`:`No deal this run`})]}),(0,T.jsx)(`p`,{className:`dlg-result-honest`,children:A?`You called it off — nothing was sent.`:V?`Mavéa pulled back every offer that crossed your line, and the sides couldn’t meet without it. Nothing was sent — that’s the point of scouting. Here’s where your case got tested.`:`The two sides couldn’t meet in ${B} turn${B===1?``:`s`}. Nothing was sent — that’s the point of scouting. Here’s where your case got tested.`}),A&&B>=2&&j===`idle`?(0,T.jsx)(`button`,{type:`button`,className:`dlg-followup-btn`,onClick:()=>J(O,k),children:`Debrief what happened`}):(0,T.jsx)(ve,{debrief:j,events:O,themLabel:G,onRetry:()=>J(O,k)}),(0,T.jsx)(`button`,{type:`button`,className:`dlg-done`,onClick:o,children:`Close`})]}),p===`done`&&(0,T.jsxs)(`div`,{className:`dlg-followup`,children:[u&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`button`,{type:`button`,className:`dlg-followup-btn`,onClick:q,children:`Bring this into the conversation`}),(0,T.jsx)(`span`,{className:`dlg-followup-hint`,children:`Runs one normal answer in Live, grounded in this transcript.`})]}),(0,T.jsxs)(`div`,{className:`dlg-followup-actions`,children:[(0,T.jsx)(`button`,{type:`button`,className:`dlg-followup-btn ghost`,onClick:()=>m(`brief`),children:`Adjust the brief`}),(0,T.jsx)(`button`,{type:`button`,className:`dlg-followup-btn ghost`,onClick:K,children:`Run it again`})]})]}),p===`done`&&Le.length>=2&&(0,T.jsx)(`div`,{className:`dlg-runs`,"aria-label":`Runs this session`,children:Le.map(be)})]}),t[128]=Oe,t[129]=K,t[130]=V,t[131]=Ae,t[132]=h,t[133]=k,t[134]=j,t[135]=Ne,t[136]=O,t[137]=q,t[138]=ot,t[139]=o,t[140]=u,t[141]=Le,t[142]=p,t[143]=z,t[144]=J,t[145]=dt,t[146]=A,t[147]=G,t[148]=B,t[149]=H,t[150]=Ct):Ct=t[150];let $;t[151]!==ft||t[152]!==pt||t[153]!==mt||t[154]!==ht||t[155]!==gt||t[156]!==Y||t[157]!==_t||t[158]!==X||t[159]!==vt||t[160]!==Ct?($=(0,T.jsxs)(`section`,{className:ft,ref:pt,tabIndex:mt,role:ht,"aria-modal":gt,"aria-label":Y,"data-stage":_t,children:[X,vt,Ct]}),t[151]=ft,t[152]=pt,t[153]=mt,t[154]=ht,t[155]=gt,t[156]=Y,t[157]=_t,t[158]=X,t[159]=vt,t[160]=Ct,t[161]=$):$=t[161];let wt;return t[162]!==yt||t[163]!==Z||t[164]!==bt||t[165]!==xt||t[166]!==St||t[167]!==Q||t[168]!==$?(wt=(0,T.jsx)(`div`,{className:yt,onClick:Z,role:bt,tabIndex:xt,"aria-label":St,onKeyDown:Q,children:$}),t[162]=yt,t[163]=Z,t[164]=bt,t[165]=xt,t[166]=St,t[167]=Q,t[168]=$,t[169]=wt):wt=t[169],wt}function be(e){return(0,T.jsx)(`span`,{className:`dlg-runs-item`,children:`Run ${e.n} — ${e.outcome===`deal`?`deal`:e.outcome===`stopped`?`stopped`:`no deal`} · ${e.turns} turn${e.turns===1?``:`s`}${e.deal?` · ${e.deal}`:``}`},e.n)}function xe(e){return(0,T.jsxs)(`li`,{className:`dlg-line-chip`,children:[(0,T.jsx)(fe,{}),e]},e)}function Se(e){return e.side!==`engine`}function Ce(e){return e.side!==`engine`}function we(e){return e.side===`engine`}function Te(e){return e.side!==`engine`}function Ee(e){return e+1}export{ye as DelegatePanel};
|