@mieweb/ui 0.11.0-dev.30 → 0.11.0-dev.31
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/CsvBlock-AV4VM7JT.cjs +18 -0
- package/dist/{CsvBlock-RGO7JXHJ.cjs.map → CsvBlock-AV4VM7JT.cjs.map} +1 -1
- package/dist/CsvBlock-XBNYCEMP.js +9 -0
- package/dist/{CsvBlock-CFXSDPBI.js.map → CsvBlock-XBNYCEMP.js.map} +1 -1
- package/dist/HtmlPreviewBlock-DQAVD6IO.cjs +18 -0
- package/dist/{HtmlPreviewBlock-VBYXCXVT.cjs.map → HtmlPreviewBlock-DQAVD6IO.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-QQHRNLIY.js +9 -0
- package/dist/{HtmlPreviewBlock-Z2GCK325.js.map → HtmlPreviewBlock-QQHRNLIY.js.map} +1 -1
- package/dist/MermaidBlock-LHGYKC23.cjs +18 -0
- package/dist/{MermaidBlock-I2R2BQOX.cjs.map → MermaidBlock-LHGYKC23.cjs.map} +1 -1
- package/dist/MermaidBlock-QPKMIP3B.js +9 -0
- package/dist/{MermaidBlock-XCAK7IA5.js.map → MermaidBlock-QPKMIP3B.js.map} +1 -1
- package/dist/SurveyBlock-6DPTWHKI.js +9 -0
- package/dist/{SurveyBlock-KI5JOWCL.js.map → SurveyBlock-6DPTWHKI.js.map} +1 -1
- package/dist/SurveyBlock-6IXNVHS5.cjs +18 -0
- package/dist/{SurveyBlock-UKSGISRT.cjs.map → SurveyBlock-6IXNVHS5.cjs.map} +1 -1
- package/dist/{chunk-7XKM6V2K.cjs → chunk-2OXNJJHJ.cjs} +8 -8
- package/dist/{chunk-7XKM6V2K.cjs.map → chunk-2OXNJJHJ.cjs.map} +1 -1
- package/dist/{chunk-AJPFQF3H.cjs → chunk-2R3ILG4Y.cjs} +11 -11
- package/dist/{chunk-AJPFQF3H.cjs.map → chunk-2R3ILG4Y.cjs.map} +1 -1
- package/dist/{chunk-XQHDQ64G.cjs → chunk-2Z2GFDRS.cjs} +4 -4
- package/dist/{chunk-XQHDQ64G.cjs.map → chunk-2Z2GFDRS.cjs.map} +1 -1
- package/dist/{chunk-GM32IDVL.cjs → chunk-32ZILZ2T.cjs} +6 -6
- package/dist/{chunk-GM32IDVL.cjs.map → chunk-32ZILZ2T.cjs.map} +1 -1
- package/dist/{chunk-VOEXGDL5.js → chunk-33Y3KQWL.js} +3 -3
- package/dist/{chunk-VOEXGDL5.js.map → chunk-33Y3KQWL.js.map} +1 -1
- package/dist/{chunk-GYXSF6BJ.cjs → chunk-3IKIRGHI.cjs} +6 -6
- package/dist/{chunk-GYXSF6BJ.cjs.map → chunk-3IKIRGHI.cjs.map} +1 -1
- package/dist/{chunk-5HKZR6UG.js → chunk-43L4KGLU.js} +4 -4
- package/dist/{chunk-5HKZR6UG.js.map → chunk-43L4KGLU.js.map} +1 -1
- package/dist/{chunk-6BNZLN4B.cjs → chunk-4I5V6SXP.cjs} +10 -10
- package/dist/{chunk-6BNZLN4B.cjs.map → chunk-4I5V6SXP.cjs.map} +1 -1
- package/dist/{chunk-NUFUV43P.cjs → chunk-4UDEMJE4.cjs} +2 -2
- package/dist/chunk-4UDEMJE4.cjs.map +1 -0
- package/dist/{chunk-L5Y52F2E.cjs → chunk-4VSK3EE5.cjs} +4 -4
- package/dist/{chunk-L5Y52F2E.cjs.map → chunk-4VSK3EE5.cjs.map} +1 -1
- package/dist/{chunk-Y7ZJZLJY.js → chunk-566FIEPE.js} +4 -4
- package/dist/{chunk-Y7ZJZLJY.js.map → chunk-566FIEPE.js.map} +1 -1
- package/dist/{chunk-UTIPENPW.cjs → chunk-67SD6VPF.cjs} +5 -5
- package/dist/{chunk-UTIPENPW.cjs.map → chunk-67SD6VPF.cjs.map} +1 -1
- package/dist/{chunk-6CGM5H4J.js → chunk-6LIC3DKE.js} +2 -2
- package/dist/chunk-6LIC3DKE.js.map +1 -0
- package/dist/{chunk-6N7NMOSV.js → chunk-76ECYE5G.js} +3 -3
- package/dist/{chunk-6N7NMOSV.js.map → chunk-76ECYE5G.js.map} +1 -1
- package/dist/{chunk-56VTM4OX.js → chunk-7LKTIZLR.js} +3 -3
- package/dist/{chunk-56VTM4OX.js.map → chunk-7LKTIZLR.js.map} +1 -1
- package/dist/{chunk-7C5W744U.cjs → chunk-ARRJRFPD.cjs} +8 -8
- package/dist/{chunk-7C5W744U.cjs.map → chunk-ARRJRFPD.cjs.map} +1 -1
- package/dist/{chunk-5KGYTNOA.cjs → chunk-BP4LXRC6.cjs} +9 -9
- package/dist/{chunk-5KGYTNOA.cjs.map → chunk-BP4LXRC6.cjs.map} +1 -1
- package/dist/{chunk-UNFDIBKJ.js → chunk-CLNTWFEB.js} +3 -3
- package/dist/{chunk-UNFDIBKJ.js.map → chunk-CLNTWFEB.js.map} +1 -1
- package/dist/{chunk-X5JOEZVR.js → chunk-CRSJRWN2.js} +4 -4
- package/dist/{chunk-X5JOEZVR.js.map → chunk-CRSJRWN2.js.map} +1 -1
- package/dist/{chunk-FIKO4WR6.js → chunk-CVMD2A3J.js} +3 -3
- package/dist/{chunk-FIKO4WR6.js.map → chunk-CVMD2A3J.js.map} +1 -1
- package/dist/{chunk-SMPLM6K3.js → chunk-DG3CXR24.js} +5 -5
- package/dist/{chunk-SMPLM6K3.js.map → chunk-DG3CXR24.js.map} +1 -1
- package/dist/{chunk-LRAAJRE7.cjs → chunk-DO7EED3B.cjs} +154 -154
- package/dist/{chunk-LRAAJRE7.cjs.map → chunk-DO7EED3B.cjs.map} +1 -1
- package/dist/{chunk-UJDWFDKE.js → chunk-DXKE4YZT.js} +3 -3
- package/dist/{chunk-UJDWFDKE.js.map → chunk-DXKE4YZT.js.map} +1 -1
- package/dist/{chunk-KQ6GLYFZ.cjs → chunk-ECKIFQSD.cjs} +6 -6
- package/dist/{chunk-KQ6GLYFZ.cjs.map → chunk-ECKIFQSD.cjs.map} +1 -1
- package/dist/{chunk-4P27Y52M.js → chunk-EPKPHWIL.js} +4 -4
- package/dist/{chunk-4P27Y52M.js.map → chunk-EPKPHWIL.js.map} +1 -1
- package/dist/{chunk-RIUQP2QS.cjs → chunk-FNSFMM4F.cjs} +5 -5
- package/dist/{chunk-RIUQP2QS.cjs.map → chunk-FNSFMM4F.cjs.map} +1 -1
- package/dist/{chunk-3Y3ZCDNF.cjs → chunk-FQUSSPXX.cjs} +19 -19
- package/dist/{chunk-3Y3ZCDNF.cjs.map → chunk-FQUSSPXX.cjs.map} +1 -1
- package/dist/{chunk-ANMX7YDL.cjs → chunk-FSARTLUE.cjs} +4 -4
- package/dist/{chunk-ANMX7YDL.cjs.map → chunk-FSARTLUE.cjs.map} +1 -1
- package/dist/{chunk-ERACGSDY.cjs → chunk-G42V64UW.cjs} +8 -8
- package/dist/{chunk-ERACGSDY.cjs.map → chunk-G42V64UW.cjs.map} +1 -1
- package/dist/{chunk-UUI7WXI5.js → chunk-GAI6SRJ3.js} +3 -3
- package/dist/{chunk-UUI7WXI5.js.map → chunk-GAI6SRJ3.js.map} +1 -1
- package/dist/{chunk-4I6BW3FB.js → chunk-GLRKXJCR.js} +3 -3
- package/dist/{chunk-4I6BW3FB.js.map → chunk-GLRKXJCR.js.map} +1 -1
- package/dist/{chunk-NPKPCYAT.cjs → chunk-GM376OD6.cjs} +17 -17
- package/dist/{chunk-NPKPCYAT.cjs.map → chunk-GM376OD6.cjs.map} +1 -1
- package/dist/{chunk-DXEPYK3I.cjs → chunk-HGJHWI7W.cjs} +5 -3
- package/dist/chunk-HGJHWI7W.cjs.map +1 -0
- package/dist/{chunk-6ZA574PU.cjs → chunk-IIV5GNSK.cjs} +5 -5
- package/dist/{chunk-6ZA574PU.cjs.map → chunk-IIV5GNSK.cjs.map} +1 -1
- package/dist/{chunk-XPVQI3MM.cjs → chunk-INMDLVUB.cjs} +17 -2
- package/dist/chunk-INMDLVUB.cjs.map +1 -0
- package/dist/{chunk-RZSSQ7AT.js → chunk-JATLYCS4.js} +3 -3
- package/dist/{chunk-RZSSQ7AT.js.map → chunk-JATLYCS4.js.map} +1 -1
- package/dist/{chunk-4NB4WOGU.cjs → chunk-JCO62XMU.cjs} +6 -6
- package/dist/{chunk-4NB4WOGU.cjs.map → chunk-JCO62XMU.cjs.map} +1 -1
- package/dist/{chunk-QR7B6UPR.js → chunk-JN2CL7MK.js} +3 -3
- package/dist/{chunk-QR7B6UPR.js.map → chunk-JN2CL7MK.js.map} +1 -1
- package/dist/{chunk-FBCDYTWM.js → chunk-JNSSA4YN.js} +3 -3
- package/dist/{chunk-FBCDYTWM.js.map → chunk-JNSSA4YN.js.map} +1 -1
- package/dist/{chunk-BIQIE3VW.js → chunk-JQAGNAY2.js} +5 -5
- package/dist/{chunk-BIQIE3VW.js.map → chunk-JQAGNAY2.js.map} +1 -1
- package/dist/{chunk-TOJ56HKQ.cjs → chunk-KD7YD6US.cjs} +8 -8
- package/dist/{chunk-TOJ56HKQ.cjs.map → chunk-KD7YD6US.cjs.map} +1 -1
- package/dist/{chunk-5LNLB2XT.js → chunk-KSQQBFDQ.js} +3 -3
- package/dist/{chunk-5LNLB2XT.js.map → chunk-KSQQBFDQ.js.map} +1 -1
- package/dist/{chunk-3NOVISM6.js → chunk-L52HKEUD.js} +3 -3
- package/dist/{chunk-3NOVISM6.js.map → chunk-L52HKEUD.js.map} +1 -1
- package/dist/{chunk-IXUIOR4K.cjs → chunk-M42FTWY2.cjs} +6 -6
- package/dist/{chunk-IXUIOR4K.cjs.map → chunk-M42FTWY2.cjs.map} +1 -1
- package/dist/{chunk-32ZCJOSR.cjs → chunk-N7AIZWQS.cjs} +4 -4
- package/dist/{chunk-32ZCJOSR.cjs.map → chunk-N7AIZWQS.cjs.map} +1 -1
- package/dist/{chunk-P7D7BYFE.js → chunk-NA3NRLX2.js} +4 -4
- package/dist/{chunk-P7D7BYFE.js.map → chunk-NA3NRLX2.js.map} +1 -1
- package/dist/{chunk-Y424YL55.js → chunk-OLA7OYAS.js} +3 -3
- package/dist/{chunk-Y424YL55.js.map → chunk-OLA7OYAS.js.map} +1 -1
- package/dist/{chunk-F6W62K4J.js → chunk-OWYWRBED.js} +3 -3
- package/dist/{chunk-F6W62K4J.js.map → chunk-OWYWRBED.js.map} +1 -1
- package/dist/{chunk-RSJGTWLM.js → chunk-OYLZ5PF2.js} +3 -3
- package/dist/{chunk-RSJGTWLM.js.map → chunk-OYLZ5PF2.js.map} +1 -1
- package/dist/{chunk-7XC6E4BT.cjs → chunk-PJN4HM2X.cjs} +37 -37
- package/dist/{chunk-7XC6E4BT.cjs.map → chunk-PJN4HM2X.cjs.map} +1 -1
- package/dist/{chunk-NIO3XVUV.js → chunk-PLBWZW4F.js} +4 -4
- package/dist/{chunk-NIO3XVUV.js.map → chunk-PLBWZW4F.js.map} +1 -1
- package/dist/{chunk-XI74P5F2.cjs → chunk-PW2E7YBD.cjs} +5 -5
- package/dist/{chunk-XI74P5F2.cjs.map → chunk-PW2E7YBD.cjs.map} +1 -1
- package/dist/{chunk-HDY7YQFX.js → chunk-Q5APDRMO.js} +3 -3
- package/dist/{chunk-HDY7YQFX.js.map → chunk-Q5APDRMO.js.map} +1 -1
- package/dist/{chunk-FGLIP6YR.js → chunk-QATEO4KC.js} +4 -4
- package/dist/{chunk-FGLIP6YR.js.map → chunk-QATEO4KC.js.map} +1 -1
- package/dist/{chunk-254QK722.cjs → chunk-QHCAWDMG.cjs} +18 -7
- package/dist/chunk-QHCAWDMG.cjs.map +1 -0
- package/dist/{chunk-7HFZL5V5.js → chunk-QNJEDBIN.js} +4 -4
- package/dist/{chunk-7HFZL5V5.js.map → chunk-QNJEDBIN.js.map} +1 -1
- package/dist/{chunk-AIJYZP7M.js → chunk-R3MJKY63.js} +6 -6
- package/dist/{chunk-AIJYZP7M.js.map → chunk-R3MJKY63.js.map} +1 -1
- package/dist/{chunk-N54FYWG6.js → chunk-R5P7NAJQ.js} +4 -4
- package/dist/{chunk-N54FYWG6.js.map → chunk-R5P7NAJQ.js.map} +1 -1
- package/dist/{chunk-BWSZ2BHJ.cjs → chunk-S6457ZNC.cjs} +5 -5
- package/dist/{chunk-BWSZ2BHJ.cjs.map → chunk-S6457ZNC.cjs.map} +1 -1
- package/dist/{chunk-Z2OOJGHL.cjs → chunk-SCYLVQWA.cjs} +53 -53
- package/dist/{chunk-Z2OOJGHL.cjs.map → chunk-SCYLVQWA.cjs.map} +1 -1
- package/dist/{chunk-7IRTD4JT.cjs → chunk-SGDNEIJM.cjs} +4 -4
- package/dist/{chunk-7IRTD4JT.cjs.map → chunk-SGDNEIJM.cjs.map} +1 -1
- package/dist/{chunk-4JXO5JTE.js → chunk-SNAMNKFH.js} +17 -2
- package/dist/chunk-SNAMNKFH.js.map +1 -0
- package/dist/{chunk-GW4RFJZ5.js → chunk-TUYWCUKH.js} +18 -7
- package/dist/chunk-TUYWCUKH.js.map +1 -0
- package/dist/{chunk-CLQW724U.cjs → chunk-TXB3UHIO.cjs} +9 -9
- package/dist/{chunk-CLQW724U.cjs.map → chunk-TXB3UHIO.cjs.map} +1 -1
- package/dist/{chunk-4RI3CQGE.js → chunk-ULEX7OOJ.js} +4 -4
- package/dist/{chunk-4RI3CQGE.js.map → chunk-ULEX7OOJ.js.map} +1 -1
- package/dist/{chunk-KDW6BD4O.cjs → chunk-UVVZD3AS.cjs} +4 -4
- package/dist/{chunk-KDW6BD4O.cjs.map → chunk-UVVZD3AS.cjs.map} +1 -1
- package/dist/{chunk-MA3Y6AYA.cjs → chunk-V2KSJLUL.cjs} +8 -8
- package/dist/{chunk-MA3Y6AYA.cjs.map → chunk-V2KSJLUL.cjs.map} +1 -1
- package/dist/{chunk-SW2E7XKY.cjs → chunk-VIVS44IG.cjs} +9 -9
- package/dist/{chunk-SW2E7XKY.cjs.map → chunk-VIVS44IG.cjs.map} +1 -1
- package/dist/{chunk-GVM6DTR5.js → chunk-VP3XNLUL.js} +5 -3
- package/dist/chunk-VP3XNLUL.js.map +1 -0
- package/dist/{chunk-IGDO62KR.cjs → chunk-VVKUYQER.cjs} +5 -5
- package/dist/{chunk-IGDO62KR.cjs.map → chunk-VVKUYQER.cjs.map} +1 -1
- package/dist/{chunk-BJ6ABRSQ.cjs → chunk-WG2ANSDG.cjs} +6 -6
- package/dist/{chunk-BJ6ABRSQ.cjs.map → chunk-WG2ANSDG.cjs.map} +1 -1
- package/dist/{chunk-WFBUBT54.js → chunk-WX2XB6FP.js} +3 -3
- package/dist/{chunk-WFBUBT54.js.map → chunk-WX2XB6FP.js.map} +1 -1
- package/dist/{chunk-7QW6TU4X.js → chunk-YCPWQWQQ.js} +3 -3
- package/dist/{chunk-7QW6TU4X.js.map → chunk-YCPWQWQQ.js.map} +1 -1
- package/dist/{chunk-DSQCYX7L.js → chunk-YSIFPHLX.js} +7 -7
- package/dist/{chunk-DSQCYX7L.js.map → chunk-YSIFPHLX.js.map} +1 -1
- package/dist/{chunk-2X54ZLT6.js → chunk-ZFJJMDV3.js} +4 -4
- package/dist/{chunk-2X54ZLT6.js.map → chunk-ZFJJMDV3.js.map} +1 -1
- package/dist/{chunk-PYI2IWNX.cjs → chunk-ZOSM6D7F.cjs} +4 -4
- package/dist/{chunk-PYI2IWNX.cjs.map → chunk-ZOSM6D7F.cjs.map} +1 -1
- package/dist/components/ActionPlan/index.cjs +6 -6
- package/dist/components/ActionPlan/index.js +4 -4
- package/dist/components/ActivityFeed/index.cjs +6 -6
- package/dist/components/ActivityFeed/index.js +4 -4
- package/dist/components/AlertDialog/index.cjs +7 -7
- package/dist/components/AlertDialog/index.js +3 -3
- package/dist/components/AssociationList/index.cjs +6 -6
- package/dist/components/AssociationList/index.js +4 -4
- package/dist/components/Button/index.cjs +4 -4
- package/dist/components/Button/index.d.cts +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/CalendarView/index.cjs +5 -5
- package/dist/components/CalendarView/index.js +3 -3
- package/dist/components/CustomizableDashboard/index.cjs +10 -10
- package/dist/components/CustomizableDashboard/index.js +3 -3
- package/dist/components/EmailEditor/index.cjs +14 -14
- package/dist/components/EmailEditor/index.js +5 -5
- package/dist/components/FieldHistory/index.cjs +6 -6
- package/dist/components/FieldHistory/index.js +4 -4
- package/dist/components/FloatingWindow/index.cjs +5 -5
- package/dist/components/FloatingWindow/index.js +3 -3
- package/dist/components/ListView/index.cjs +5 -5
- package/dist/components/ListView/index.js +3 -3
- package/dist/components/Markdown/index.cjs +17 -17
- package/dist/components/Markdown/index.js +8 -8
- package/dist/components/MediaEditor/index.cjs +12 -12
- package/dist/components/MediaEditor/index.d.cts +13 -0
- package/dist/components/MediaEditor/index.d.ts +13 -0
- package/dist/components/MediaEditor/index.js +7 -7
- package/dist/components/MediaFeed/index.cjs +6 -6
- package/dist/components/MediaFeed/index.js +5 -5
- package/dist/components/MediaPlayer/index.cjs +7 -7
- package/dist/components/MediaPlayer/index.js +4 -4
- package/dist/components/MegaMenu/index.cjs +6 -6
- package/dist/components/MegaMenu/index.js +3 -3
- package/dist/components/RadialExplorer/index.cjs +4 -4
- package/dist/components/RadialExplorer/index.js +3 -3
- package/dist/components/RecordHeader/index.cjs +5 -5
- package/dist/components/RecordHeader/index.d.cts +1 -1
- package/dist/components/RecordHeader/index.d.ts +1 -1
- package/dist/components/RecordHeader/index.js +3 -3
- package/dist/components/RichTextEditor/index.cjs +6 -6
- package/dist/components/RichTextEditor/index.js +3 -3
- package/dist/components/SectionSpyNav/index.cjs +4 -4
- package/dist/components/SectionSpyNav/index.js +3 -3
- package/dist/components/SuperChat/index.cjs +9 -9
- package/dist/components/SuperChat/index.js +5 -5
- package/dist/components/Textarea/index.cjs +7 -7
- package/dist/components/Textarea/index.js +4 -4
- package/dist/components/TranscriptView/index.cjs +2 -2
- package/dist/components/TranscriptView/index.d.cts +14 -1
- package/dist/components/TranscriptView/index.d.ts +14 -1
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/components/ViewSet/index.cjs +6 -6
- package/dist/components/ViewSet/index.js +5 -5
- package/dist/datavis.cjs +3 -3
- package/dist/datavis.js +2 -2
- package/dist/deck.cjs +15 -15
- package/dist/deck.js +2 -2
- package/dist/esheet.cjs +130 -130
- package/dist/esheet.js +8 -8
- package/dist/hooks/index.cjs +12 -12
- package/dist/hooks/index.d.cts +15 -2
- package/dist/hooks/index.d.ts +15 -2
- package/dist/hooks/index.js +3 -3
- package/dist/index.cjs +2056 -418
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +178 -87
- package/dist/index.d.ts +178 -87
- package/dist/index.js +1693 -55
- package/dist/index.js.map +1 -1
- package/dist/{model-Y7WRIGGA.cjs → model-NPW2JMHZ.cjs} +20 -20
- package/dist/{model-Y7WRIGGA.cjs.map → model-NPW2JMHZ.cjs.map} +1 -1
- package/dist/{model-WFFZRQMY.js → model-SG5H3TCJ.js} +6 -6
- package/dist/{model-WFFZRQMY.js.map → model-SG5H3TCJ.js.map} +1 -1
- package/dist/org-chart.cjs +4 -4
- package/dist/org-chart.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/templates.cjs +38 -38
- package/dist/templates.js +3 -3
- package/package.json +1 -1
- package/dist/CsvBlock-CFXSDPBI.js +0 -9
- package/dist/CsvBlock-RGO7JXHJ.cjs +0 -18
- package/dist/HtmlPreviewBlock-VBYXCXVT.cjs +0 -18
- package/dist/HtmlPreviewBlock-Z2GCK325.js +0 -9
- package/dist/MermaidBlock-I2R2BQOX.cjs +0 -18
- package/dist/MermaidBlock-XCAK7IA5.js +0 -9
- package/dist/SurveyBlock-KI5JOWCL.js +0 -9
- package/dist/SurveyBlock-UKSGISRT.cjs +0 -18
- package/dist/chunk-254QK722.cjs.map +0 -1
- package/dist/chunk-4JXO5JTE.js.map +0 -1
- package/dist/chunk-6CGM5H4J.js.map +0 -1
- package/dist/chunk-DXEPYK3I.cjs.map +0 -1
- package/dist/chunk-GVM6DTR5.js.map +0 -1
- package/dist/chunk-GW4RFJZ5.js.map +0 -1
- package/dist/chunk-NUFUV43P.cjs.map +0 -1
- package/dist/chunk-XPVQI3MM.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var chunkUVSODK6V_cjs = require('./chunk-UVSODK6V.cjs');
|
|
|
4
4
|
var chunkTRZLN32I_cjs = require('./chunk-TRZLN32I.cjs');
|
|
5
5
|
var chunkOGNADPM4_cjs = require('./chunk-OGNADPM4.cjs');
|
|
6
6
|
var chunkXNPDZANN_cjs = require('./chunk-XNPDZANN.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunk2OXNJJHJ_cjs = require('./chunk-2OXNJJHJ.cjs');
|
|
8
8
|
var chunkPWXDRFJL_cjs = require('./chunk-PWXDRFJL.cjs');
|
|
9
9
|
var chunkFSWHZY3T_cjs = require('./chunk-FSWHZY3T.cjs');
|
|
10
10
|
var chunkOIF34LEN_cjs = require('./chunk-OIF34LEN.cjs');
|
|
@@ -21,22 +21,22 @@ var chunk3ZWCIPFT_cjs = require('./chunk-3ZWCIPFT.cjs');
|
|
|
21
21
|
require('./chunk-6TTCZY3P.cjs');
|
|
22
22
|
var chunkA4W5CSK7_cjs = require('./chunk-A4W5CSK7.cjs');
|
|
23
23
|
var chunkARIJ5OHW_cjs = require('./chunk-ARIJ5OHW.cjs');
|
|
24
|
-
var
|
|
24
|
+
var chunkWG2ANSDG_cjs = require('./chunk-WG2ANSDG.cjs');
|
|
25
25
|
var chunkFSGJXCBG_cjs = require('./chunk-FSGJXCBG.cjs');
|
|
26
26
|
var chunkHNFFFFYH_cjs = require('./chunk-HNFFFFYH.cjs');
|
|
27
27
|
var chunkDO2YN46R_cjs = require('./chunk-DO2YN46R.cjs');
|
|
28
28
|
var chunk4ZB7RSMY_cjs = require('./chunk-4ZB7RSMY.cjs');
|
|
29
|
-
var
|
|
29
|
+
var chunk3IKIRGHI_cjs = require('./chunk-3IKIRGHI.cjs');
|
|
30
30
|
var chunkFYAKUU2A_cjs = require('./chunk-FYAKUU2A.cjs');
|
|
31
31
|
var chunkHCIXGFWR_cjs = require('./chunk-HCIXGFWR.cjs');
|
|
32
32
|
var chunkZJCPW6MS_cjs = require('./chunk-ZJCPW6MS.cjs');
|
|
33
33
|
var chunk4QYYWYFD_cjs = require('./chunk-4QYYWYFD.cjs');
|
|
34
|
-
var
|
|
35
|
-
var
|
|
34
|
+
var chunkV2KSJLUL_cjs = require('./chunk-V2KSJLUL.cjs');
|
|
35
|
+
var chunk4I5V6SXP_cjs = require('./chunk-4I5V6SXP.cjs');
|
|
36
36
|
require('./chunk-47P5QLX4.cjs');
|
|
37
|
-
var
|
|
37
|
+
var chunkTXB3UHIO_cjs = require('./chunk-TXB3UHIO.cjs');
|
|
38
38
|
require('./chunk-IWRBJHO3.cjs');
|
|
39
|
-
require('./chunk-
|
|
39
|
+
require('./chunk-SGDNEIJM.cjs');
|
|
40
40
|
var chunk3AD4HFYI_cjs = require('./chunk-3AD4HFYI.cjs');
|
|
41
41
|
var chunk3IAA3KCE_cjs = require('./chunk-3IAA3KCE.cjs');
|
|
42
42
|
var chunkKY67AMQ5_cjs = require('./chunk-KY67AMQ5.cjs');
|
|
@@ -50,7 +50,7 @@ var chunkQ6QLGCL7_cjs = require('./chunk-Q6QLGCL7.cjs');
|
|
|
50
50
|
var chunk2GBVJHWN_cjs = require('./chunk-2GBVJHWN.cjs');
|
|
51
51
|
var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
|
|
52
52
|
var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
|
|
53
|
-
var
|
|
53
|
+
var chunkUVVZD3AS_cjs = require('./chunk-UVVZD3AS.cjs');
|
|
54
54
|
var chunk2S76TRBJ_cjs = require('./chunk-2S76TRBJ.cjs');
|
|
55
55
|
var chunkMGFRGPWI_cjs = require('./chunk-MGFRGPWI.cjs');
|
|
56
56
|
var chunk2I4IRQQG_cjs = require('./chunk-2I4IRQQG.cjs');
|
|
@@ -58,64 +58,64 @@ var chunkXWZEECEX_cjs = require('./chunk-XWZEECEX.cjs');
|
|
|
58
58
|
var chunk5MXO6PEV_cjs = require('./chunk-5MXO6PEV.cjs');
|
|
59
59
|
var chunkBFVYM6IT_cjs = require('./chunk-BFVYM6IT.cjs');
|
|
60
60
|
var chunkHIYQ3M5V_cjs = require('./chunk-HIYQ3M5V.cjs');
|
|
61
|
-
var
|
|
61
|
+
var chunkPJN4HM2X_cjs = require('./chunk-PJN4HM2X.cjs');
|
|
62
62
|
var chunkGDKOYVX3_cjs = require('./chunk-GDKOYVX3.cjs');
|
|
63
|
-
var
|
|
63
|
+
var chunk2R3ILG4Y_cjs = require('./chunk-2R3ILG4Y.cjs');
|
|
64
64
|
require('./chunk-GLXTVCHN.cjs');
|
|
65
|
-
var
|
|
66
|
-
var
|
|
65
|
+
var chunkECKIFQSD_cjs = require('./chunk-ECKIFQSD.cjs');
|
|
66
|
+
var chunkIIV5GNSK_cjs = require('./chunk-IIV5GNSK.cjs');
|
|
67
67
|
var chunkTU63764L_cjs = require('./chunk-TU63764L.cjs');
|
|
68
|
-
var
|
|
68
|
+
var chunk4VSK3EE5_cjs = require('./chunk-4VSK3EE5.cjs');
|
|
69
69
|
var chunk7FTBPLA6_cjs = require('./chunk-7FTBPLA6.cjs');
|
|
70
70
|
var chunk3TXOFAXP_cjs = require('./chunk-3TXOFAXP.cjs');
|
|
71
71
|
var chunkVINZZQBD_cjs = require('./chunk-VINZZQBD.cjs');
|
|
72
72
|
var chunkUEDTZYGI_cjs = require('./chunk-UEDTZYGI.cjs');
|
|
73
73
|
var chunkVV2U36T6_cjs = require('./chunk-VV2U36T6.cjs');
|
|
74
|
-
var
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
79
|
-
var
|
|
80
|
-
var
|
|
74
|
+
var chunkZOSM6D7F_cjs = require('./chunk-ZOSM6D7F.cjs');
|
|
75
|
+
var chunkKD7YD6US_cjs = require('./chunk-KD7YD6US.cjs');
|
|
76
|
+
var chunkVVKUYQER_cjs = require('./chunk-VVKUYQER.cjs');
|
|
77
|
+
var chunkVIVS44IG_cjs = require('./chunk-VIVS44IG.cjs');
|
|
78
|
+
var chunkG42V64UW_cjs = require('./chunk-G42V64UW.cjs');
|
|
79
|
+
var chunkN7AIZWQS_cjs = require('./chunk-N7AIZWQS.cjs');
|
|
80
|
+
var chunkFNSFMM4F_cjs = require('./chunk-FNSFMM4F.cjs');
|
|
81
81
|
var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
|
|
82
82
|
var chunk56C7K4MV_cjs = require('./chunk-56C7K4MV.cjs');
|
|
83
|
-
var
|
|
83
|
+
var chunkS6457ZNC_cjs = require('./chunk-S6457ZNC.cjs');
|
|
84
84
|
var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
|
|
85
|
-
var
|
|
85
|
+
var chunkBP4LXRC6_cjs = require('./chunk-BP4LXRC6.cjs');
|
|
86
86
|
require('./chunk-BXRQ6HEP.cjs');
|
|
87
87
|
var chunkS7AMZ4RD_cjs = require('./chunk-S7AMZ4RD.cjs');
|
|
88
88
|
var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
|
|
89
89
|
var chunkZO4L6C2Y_cjs = require('./chunk-ZO4L6C2Y.cjs');
|
|
90
|
-
var
|
|
90
|
+
var chunkARRJRFPD_cjs = require('./chunk-ARRJRFPD.cjs');
|
|
91
91
|
var chunkHXSA6QC5_cjs = require('./chunk-HXSA6QC5.cjs');
|
|
92
92
|
require('./chunk-RHNPILZQ.cjs');
|
|
93
|
-
var
|
|
93
|
+
var chunk32ZILZ2T_cjs = require('./chunk-32ZILZ2T.cjs');
|
|
94
94
|
require('./chunk-L6K4PRZK.cjs');
|
|
95
95
|
var chunkIVGI353O_cjs = require('./chunk-IVGI353O.cjs');
|
|
96
96
|
var chunkL4APW65W_cjs = require('./chunk-L4APW65W.cjs');
|
|
97
97
|
var chunkVXW7D5LR_cjs = require('./chunk-VXW7D5LR.cjs');
|
|
98
98
|
var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
|
|
99
|
-
var
|
|
99
|
+
var chunk67SD6VPF_cjs = require('./chunk-67SD6VPF.cjs');
|
|
100
100
|
var chunkAKMTPCLC_cjs = require('./chunk-AKMTPCLC.cjs');
|
|
101
101
|
var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
|
|
102
102
|
var chunkNFKX6QJP_cjs = require('./chunk-NFKX6QJP.cjs');
|
|
103
103
|
var chunk2FZYZ4HT_cjs = require('./chunk-2FZYZ4HT.cjs');
|
|
104
|
-
var
|
|
104
|
+
var chunkDO7EED3B_cjs = require('./chunk-DO7EED3B.cjs');
|
|
105
105
|
require('./chunk-VBWRH4UW.cjs');
|
|
106
|
-
var
|
|
106
|
+
var chunkPW2E7YBD_cjs = require('./chunk-PW2E7YBD.cjs');
|
|
107
107
|
var chunkKIVEYQGA_cjs = require('./chunk-KIVEYQGA.cjs');
|
|
108
108
|
var chunkIXFC7LK2_cjs = require('./chunk-IXFC7LK2.cjs');
|
|
109
109
|
var chunk2O7D6F67_cjs = require('./chunk-2O7D6F67.cjs');
|
|
110
110
|
var chunkVPTASZ2O_cjs = require('./chunk-VPTASZ2O.cjs');
|
|
111
111
|
var chunk7IKLGH3Z_cjs = require('./chunk-7IKLGH3Z.cjs');
|
|
112
|
-
var
|
|
113
|
-
var
|
|
114
|
-
var
|
|
112
|
+
var chunkGM376OD6_cjs = require('./chunk-GM376OD6.cjs');
|
|
113
|
+
var chunk4UDEMJE4_cjs = require('./chunk-4UDEMJE4.cjs');
|
|
114
|
+
var chunkQHCAWDMG_cjs = require('./chunk-QHCAWDMG.cjs');
|
|
115
115
|
var chunk7WJ6MBF5_cjs = require('./chunk-7WJ6MBF5.cjs');
|
|
116
116
|
require('./chunk-AT732HC6.cjs');
|
|
117
117
|
var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
|
|
118
|
-
var
|
|
118
|
+
var chunkINMDLVUB_cjs = require('./chunk-INMDLVUB.cjs');
|
|
119
119
|
var chunkPRGQVUMU_cjs = require('./chunk-PRGQVUMU.cjs');
|
|
120
120
|
require('./chunk-P22YCUVM.cjs');
|
|
121
121
|
var chunkQ3YVLO52_cjs = require('./chunk-Q3YVLO52.cjs');
|
|
@@ -123,15 +123,15 @@ var chunkGKDHMNUA_cjs = require('./chunk-GKDHMNUA.cjs');
|
|
|
123
123
|
var chunk4NCDU5IG_cjs = require('./chunk-4NCDU5IG.cjs');
|
|
124
124
|
var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
|
|
125
125
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
126
|
-
var
|
|
127
|
-
var
|
|
126
|
+
var chunkSCYLVQWA_cjs = require('./chunk-SCYLVQWA.cjs');
|
|
127
|
+
var chunkJCO62XMU_cjs = require('./chunk-JCO62XMU.cjs');
|
|
128
128
|
var chunkGLG6UE2H_cjs = require('./chunk-GLG6UE2H.cjs');
|
|
129
129
|
var chunkSV6YGK4U_cjs = require('./chunk-SV6YGK4U.cjs');
|
|
130
130
|
var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
|
|
131
131
|
var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
|
|
132
132
|
var chunkPHUTJKHL_cjs = require('./chunk-PHUTJKHL.cjs');
|
|
133
|
-
var
|
|
134
|
-
var
|
|
133
|
+
var chunk2Z2GFDRS_cjs = require('./chunk-2Z2GFDRS.cjs');
|
|
134
|
+
var chunkFQUSSPXX_cjs = require('./chunk-FQUSSPXX.cjs');
|
|
135
135
|
require('./chunk-FSLI5IKP.cjs');
|
|
136
136
|
var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
|
|
137
137
|
var chunkUPWIJC6I_cjs = require('./chunk-UPWIJC6I.cjs');
|
|
@@ -156,8 +156,8 @@ var chunkYW2AKBLS_cjs = require('./chunk-YW2AKBLS.cjs');
|
|
|
156
156
|
var chunkZ3WMDVMR_cjs = require('./chunk-Z3WMDVMR.cjs');
|
|
157
157
|
var chunk7E46YDOT_cjs = require('./chunk-7E46YDOT.cjs');
|
|
158
158
|
require('./chunk-EACNRR3C.cjs');
|
|
159
|
-
var
|
|
160
|
-
var
|
|
159
|
+
var chunkFSARTLUE_cjs = require('./chunk-FSARTLUE.cjs');
|
|
160
|
+
var chunkHGJHWI7W_cjs = require('./chunk-HGJHWI7W.cjs');
|
|
161
161
|
var chunkNMBYU7D7_cjs = require('./chunk-NMBYU7D7.cjs');
|
|
162
162
|
var chunkIEY3ZJIT_cjs = require('./chunk-IEY3ZJIT.cjs');
|
|
163
163
|
var chunkS5RVSXDV_cjs = require('./chunk-S5RVSXDV.cjs');
|
|
@@ -166,6 +166,7 @@ var React13 = require('react');
|
|
|
166
166
|
var jsxRuntime = require('react/jsx-runtime');
|
|
167
167
|
var classVarianceAuthority = require('class-variance-authority');
|
|
168
168
|
var lucideReact = require('lucide-react');
|
|
169
|
+
var reactVirtual = require('@tanstack/react-virtual');
|
|
169
170
|
var ReactDOM = require('react-dom');
|
|
170
171
|
|
|
171
172
|
function _interopNamespace(e) {
|
|
@@ -507,7 +508,7 @@ function AddContactModal({
|
|
|
507
508
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
508
509
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: "Custom Fields" }),
|
|
509
510
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
510
|
-
|
|
511
|
+
chunkFSARTLUE_cjs.Button,
|
|
511
512
|
{
|
|
512
513
|
type: "button",
|
|
513
514
|
variant: "ghost",
|
|
@@ -540,7 +541,7 @@ function AddContactModal({
|
|
|
540
541
|
}
|
|
541
542
|
),
|
|
542
543
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
543
|
-
|
|
544
|
+
chunkFSARTLUE_cjs.Button,
|
|
544
545
|
{
|
|
545
546
|
type: "button",
|
|
546
547
|
variant: "ghost",
|
|
@@ -557,7 +558,7 @@ function AddContactModal({
|
|
|
557
558
|
] }),
|
|
558
559
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
559
560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
560
|
-
|
|
561
|
+
chunkFSARTLUE_cjs.Button,
|
|
561
562
|
{
|
|
562
563
|
type: "button",
|
|
563
564
|
variant: "secondary",
|
|
@@ -566,7 +567,7 @@ function AddContactModal({
|
|
|
566
567
|
children: "Cancel"
|
|
567
568
|
}
|
|
568
569
|
),
|
|
569
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
570
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: isSaving, children: isSaving ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
570
571
|
/* @__PURE__ */ jsxRuntime.jsx(SpinnerIcon2, { className: "me-2 h-4 w-4 animate-spin" }),
|
|
571
572
|
"Saving..."
|
|
572
573
|
] }) : "Save Contact" })
|
|
@@ -719,7 +720,7 @@ function AdditionalFields({
|
|
|
719
720
|
}
|
|
720
721
|
) }),
|
|
721
722
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
722
|
-
|
|
723
|
+
chunkFSARTLUE_cjs.Button,
|
|
723
724
|
{
|
|
724
725
|
type: "button",
|
|
725
726
|
variant: "ghost",
|
|
@@ -736,7 +737,7 @@ function AdditionalFields({
|
|
|
736
737
|
entry.id
|
|
737
738
|
)),
|
|
738
739
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
739
|
-
|
|
740
|
+
chunkFSARTLUE_cjs.Button,
|
|
740
741
|
{
|
|
741
742
|
type: "button",
|
|
742
743
|
variant: "ghost",
|
|
@@ -2373,7 +2374,7 @@ function OzwellChat({
|
|
|
2373
2374
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2374
2375
|
isEditingQueuedMessage ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2375
2376
|
/* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Save queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2376
|
-
|
|
2377
|
+
chunkFSARTLUE_cjs.Button,
|
|
2377
2378
|
{
|
|
2378
2379
|
type: "button",
|
|
2379
2380
|
size: "icon",
|
|
@@ -2384,7 +2385,7 @@ function OzwellChat({
|
|
|
2384
2385
|
}
|
|
2385
2386
|
) }),
|
|
2386
2387
|
/* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Cancel editing", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2387
|
-
|
|
2388
|
+
chunkFSARTLUE_cjs.Button,
|
|
2388
2389
|
{
|
|
2389
2390
|
type: "button",
|
|
2390
2391
|
size: "icon",
|
|
@@ -2395,7 +2396,7 @@ function OzwellChat({
|
|
|
2395
2396
|
}
|
|
2396
2397
|
) })
|
|
2397
2398
|
] }) : onQueuedMessageChange && /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Edit queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2398
|
-
|
|
2399
|
+
chunkFSARTLUE_cjs.Button,
|
|
2399
2400
|
{
|
|
2400
2401
|
type: "button",
|
|
2401
2402
|
size: "icon",
|
|
@@ -2406,7 +2407,7 @@ function OzwellChat({
|
|
|
2406
2407
|
}
|
|
2407
2408
|
) }),
|
|
2408
2409
|
onCancelQueuedMessage && !isEditingQueuedMessage && /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: "Cancel queued message", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2409
|
-
|
|
2410
|
+
chunkFSARTLUE_cjs.Button,
|
|
2410
2411
|
{
|
|
2411
2412
|
type: "button",
|
|
2412
2413
|
size: "icon",
|
|
@@ -2443,7 +2444,7 @@ function OzwellChat({
|
|
|
2443
2444
|
width: 248,
|
|
2444
2445
|
className: "max-w-[min(248px,calc(100vw-24px))] rounded-lg",
|
|
2445
2446
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2446
|
-
|
|
2447
|
+
chunkFSARTLUE_cjs.Button,
|
|
2447
2448
|
{
|
|
2448
2449
|
type: "button",
|
|
2449
2450
|
size: "sm",
|
|
@@ -2505,7 +2506,7 @@ function OzwellChat({
|
|
|
2505
2506
|
width: 260,
|
|
2506
2507
|
className: "max-w-[min(260px,calc(100vw-24px))] rounded-[10px]",
|
|
2507
2508
|
trigger: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2508
|
-
|
|
2509
|
+
chunkFSARTLUE_cjs.Button,
|
|
2509
2510
|
{
|
|
2510
2511
|
type: "button",
|
|
2511
2512
|
size: "sm",
|
|
@@ -4792,7 +4793,7 @@ function VoiceSetup({
|
|
|
4792
4793
|
@keyframes oz-invite { 0%,100% { box-shadow: 0 0 0 0 ${ozA2(33)} } 50% { box-shadow: 0 0 0 14px ${ozA2(0)} } }
|
|
4793
4794
|
` }),
|
|
4794
4795
|
onCancel && phase !== "done" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4795
|
-
|
|
4796
|
+
chunkFSARTLUE_cjs.Button,
|
|
4796
4797
|
{
|
|
4797
4798
|
variant: "ghost",
|
|
4798
4799
|
size: "sm",
|
|
@@ -4959,7 +4960,7 @@ function VoiceSetup({
|
|
|
4959
4960
|
phase === "intro" && (error ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-destructive text-[13px]", children: "couldn\u2019t load models \u2014 check console" }) : !ready ? /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: MUTED }, className: "font-mono text-[13px]", children: "loading\u2026" }) : null),
|
|
4960
4961
|
phase === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-center gap-3", children: [
|
|
4961
4962
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4962
|
-
|
|
4963
|
+
chunkFSARTLUE_cjs.Button,
|
|
4963
4964
|
{
|
|
4964
4965
|
variant: "outline",
|
|
4965
4966
|
className: "border-ozwell text-ozwell",
|
|
@@ -4967,7 +4968,7 @@ function VoiceSetup({
|
|
|
4967
4968
|
children: "Add another spot"
|
|
4968
4969
|
}
|
|
4969
4970
|
),
|
|
4970
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4971
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { className: ozBtn, onClick: onDone, children: "Done" })
|
|
4971
4972
|
] })
|
|
4972
4973
|
] })
|
|
4973
4974
|
]
|
|
@@ -5046,7 +5047,7 @@ function VoiceManager({
|
|
|
5046
5047
|
sv.error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-destructive mt-4 text-[13px]", children: "Couldn\u2019t load the voice models \u2014 check the console." }),
|
|
5047
5048
|
sv.ready && voices.length === 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5048
5049
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-2.5 max-w-[440px] leading-relaxed", children: "Set up your voice so Ozwell only responds to you. You can add an assistant or extra conditions afterward." }),
|
|
5049
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5050
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { className: chunkS5RVSXDV_cjs.cn(ozBtn2, "mt-7"), onClick: startFresh, children: "Set up your voice" })
|
|
5050
5051
|
] }),
|
|
5051
5052
|
sv.ready && voices.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5052
5053
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-2 text-[14.5px]", children: "Voices Ozwell will respond to. Add an assistant or another condition, rename, or remove." }),
|
|
@@ -5080,7 +5081,7 @@ function VoiceManager({
|
|
|
5080
5081
|
] }),
|
|
5081
5082
|
editingId === v.id ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5082
5083
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5083
|
-
|
|
5084
|
+
chunkFSARTLUE_cjs.Button,
|
|
5084
5085
|
{
|
|
5085
5086
|
size: "sm",
|
|
5086
5087
|
className: ozBtn2,
|
|
@@ -5089,7 +5090,7 @@ function VoiceManager({
|
|
|
5089
5090
|
}
|
|
5090
5091
|
),
|
|
5091
5092
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5092
|
-
|
|
5093
|
+
chunkFSARTLUE_cjs.Button,
|
|
5093
5094
|
{
|
|
5094
5095
|
size: "sm",
|
|
5095
5096
|
variant: "ghost",
|
|
@@ -5099,7 +5100,7 @@ function VoiceManager({
|
|
|
5099
5100
|
)
|
|
5100
5101
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5101
5102
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5102
|
-
|
|
5103
|
+
chunkFSARTLUE_cjs.Button,
|
|
5103
5104
|
{
|
|
5104
5105
|
size: "sm",
|
|
5105
5106
|
variant: "ghost",
|
|
@@ -5112,7 +5113,7 @@ function VoiceManager({
|
|
|
5112
5113
|
}
|
|
5113
5114
|
),
|
|
5114
5115
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5115
|
-
|
|
5116
|
+
chunkFSARTLUE_cjs.Button,
|
|
5116
5117
|
{
|
|
5117
5118
|
size: "sm",
|
|
5118
5119
|
variant: "outline",
|
|
@@ -5140,10 +5141,10 @@ function VoiceManager({
|
|
|
5140
5141
|
className: chunkS5RVSXDV_cjs.cn(chunkZ5S5JEJD_cjs.inputVariants({ size: "sm" }), "flex-1")
|
|
5141
5142
|
}
|
|
5142
5143
|
),
|
|
5143
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5144
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { size: "sm", className: ozBtn2, onClick: startAdd, children: "Add a voice" })
|
|
5144
5145
|
] }),
|
|
5145
5146
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5146
|
-
|
|
5147
|
+
chunkFSARTLUE_cjs.Button,
|
|
5147
5148
|
{
|
|
5148
5149
|
size: "sm",
|
|
5149
5150
|
variant: "danger",
|
|
@@ -5155,7 +5156,7 @@ function VoiceManager({
|
|
|
5155
5156
|
] }),
|
|
5156
5157
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-[26px] text-[12.5px]", children: "Voiceprints stay on your device \u2014 they\u2019re never uploaded." }),
|
|
5157
5158
|
confirm && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5158
|
-
|
|
5159
|
+
chunk67SD6VPF_cjs.AlertDialog,
|
|
5159
5160
|
{
|
|
5160
5161
|
open: true,
|
|
5161
5162
|
onOpenChange: (o) => {
|
|
@@ -5615,7 +5616,7 @@ function VisitScribe({
|
|
|
5615
5616
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: subtitle })
|
|
5616
5617
|
] }),
|
|
5617
5618
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-x-5 gap-y-3", children: [
|
|
5618
|
-
recording ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5619
|
+
recording ? /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "danger", onClick: scribe.stop, children: [
|
|
5619
5620
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5620
5621
|
"span",
|
|
5621
5622
|
{
|
|
@@ -5625,7 +5626,7 @@ function VisitScribe({
|
|
|
5625
5626
|
),
|
|
5626
5627
|
"Stop \xB7 ",
|
|
5627
5628
|
mmss(elapsedMs)
|
|
5628
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5629
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: () => void scribe.start(), disabled: !ready || busy, children: busy ? "Writing\u2026" : result ? "New visit" : "Start visit" }),
|
|
5629
5630
|
/* @__PURE__ */ jsxRuntime.jsx(Toggle2, { checked: live, onChange: setLive, label: "Live transcript" }),
|
|
5630
5631
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5631
5632
|
Toggle2,
|
|
@@ -5694,7 +5695,7 @@ function VisitScribe({
|
|
|
5694
5695
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs", children: "(higher = fewer speakers)" })
|
|
5695
5696
|
] }),
|
|
5696
5697
|
canReanalyze && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5697
|
-
|
|
5698
|
+
chunkFSARTLUE_cjs.Button,
|
|
5698
5699
|
{
|
|
5699
5700
|
variant: "outline",
|
|
5700
5701
|
size: "sm",
|
|
@@ -5820,6 +5821,1640 @@ function VisitScribe({
|
|
|
5820
5821
|
}
|
|
5821
5822
|
);
|
|
5822
5823
|
}
|
|
5824
|
+
|
|
5825
|
+
// src/components/AI/HeyOzwell/TranscriptPlayer/model.ts
|
|
5826
|
+
var SPEAKER_COLORS2 = [
|
|
5827
|
+
"#dc2626",
|
|
5828
|
+
"#a3b818",
|
|
5829
|
+
"#16a34a",
|
|
5830
|
+
"#2563eb",
|
|
5831
|
+
"#9333ea",
|
|
5832
|
+
"#ea580c",
|
|
5833
|
+
"#0891b2",
|
|
5834
|
+
"#db2777"
|
|
5835
|
+
];
|
|
5836
|
+
var UNKNOWN_SPEAKER_ID = "";
|
|
5837
|
+
var UTTERANCE_GAP_SECONDS = 1.5;
|
|
5838
|
+
var MIN_VIEW_SECONDS = 10;
|
|
5839
|
+
var DEFAULT_VIEW_SECONDS = 300;
|
|
5840
|
+
var seconds = (ms) => ms / 1e3;
|
|
5841
|
+
var finiteSeconds = (ms) => Number.isFinite(ms) ? ms / 1e3 : 0;
|
|
5842
|
+
function toUtterances(transcript) {
|
|
5843
|
+
if (transcript.segments?.length)
|
|
5844
|
+
return transcript.segments.map((s, i) => ({
|
|
5845
|
+
id: `u${i}`,
|
|
5846
|
+
speakerId: s.speakerId ?? UNKNOWN_SPEAKER_ID,
|
|
5847
|
+
start: seconds(s.startMs),
|
|
5848
|
+
end: seconds(s.endMs),
|
|
5849
|
+
text: s.text.trim(),
|
|
5850
|
+
...s.overlapSpeakerIds?.length ? { overlapSpeakerIds: s.overlapSpeakerIds } : {}
|
|
5851
|
+
})).sort((a, b) => a.start - b.start);
|
|
5852
|
+
const out = [];
|
|
5853
|
+
const words = [...transcript.words].sort((a, b) => a.startMs - b.startMs);
|
|
5854
|
+
for (const word of words) {
|
|
5855
|
+
if (chunk4UDEMJE4_cjs.isSilenceType(word.wordType)) continue;
|
|
5856
|
+
const speakerId = word.speakerId ?? UNKNOWN_SPEAKER_ID;
|
|
5857
|
+
const last = out[out.length - 1];
|
|
5858
|
+
if (last && last.speakerId === speakerId && seconds(word.startMs) - last.end <= UTTERANCE_GAP_SECONDS) {
|
|
5859
|
+
last.end = Math.max(last.end, seconds(word.endMs));
|
|
5860
|
+
last.text = `${last.text} ${word.text}`.trim();
|
|
5861
|
+
} else {
|
|
5862
|
+
out.push({
|
|
5863
|
+
id: `u${out.length}`,
|
|
5864
|
+
speakerId,
|
|
5865
|
+
start: seconds(word.startMs),
|
|
5866
|
+
end: seconds(word.endMs),
|
|
5867
|
+
text: word.text.trim()
|
|
5868
|
+
});
|
|
5869
|
+
}
|
|
5870
|
+
}
|
|
5871
|
+
return out;
|
|
5872
|
+
}
|
|
5873
|
+
function toLaneSegments(transcript, utterances) {
|
|
5874
|
+
const source = transcript.speakerActivity?.length ? transcript.speakerActivity.map((a) => ({
|
|
5875
|
+
speakerId: a.speakerId || UNKNOWN_SPEAKER_ID,
|
|
5876
|
+
start: seconds(a.startMs),
|
|
5877
|
+
end: seconds(a.endMs)
|
|
5878
|
+
})) : utterances;
|
|
5879
|
+
return source.filter((s) => s.end > s.start).map((s, i) => ({
|
|
5880
|
+
id: `s${i}`,
|
|
5881
|
+
speakerId: s.speakerId,
|
|
5882
|
+
start: s.start,
|
|
5883
|
+
end: s.end
|
|
5884
|
+
})).sort((a, b) => a.start - b.start);
|
|
5885
|
+
}
|
|
5886
|
+
function toSpeakers(transcript, ids, speakerLabels, unknownName) {
|
|
5887
|
+
const order = [
|
|
5888
|
+
.../* @__PURE__ */ new Set([...(transcript.speakers ?? []).map((s) => s.id), ...ids])
|
|
5889
|
+
];
|
|
5890
|
+
return order.map((id, i) => ({
|
|
5891
|
+
id,
|
|
5892
|
+
name: speakerLabels?.[id] ?? transcript.speakers?.find((s) => s.id === id)?.name ?? (id === UNKNOWN_SPEAKER_ID ? unknownName : id),
|
|
5893
|
+
color: SPEAKER_COLORS2[i % SPEAKER_COLORS2.length]
|
|
5894
|
+
}));
|
|
5895
|
+
}
|
|
5896
|
+
function talkTime(segments) {
|
|
5897
|
+
const bySpeaker = /* @__PURE__ */ new Map();
|
|
5898
|
+
for (const s of segments) {
|
|
5899
|
+
const list = bySpeaker.get(s.speakerId) ?? [];
|
|
5900
|
+
list.push(s);
|
|
5901
|
+
bySpeaker.set(s.speakerId, list);
|
|
5902
|
+
}
|
|
5903
|
+
const totals = /* @__PURE__ */ new Map();
|
|
5904
|
+
for (const [id, list] of bySpeaker) {
|
|
5905
|
+
list.sort((a, b) => a.start - b.start);
|
|
5906
|
+
let total = 0;
|
|
5907
|
+
let end = -Infinity;
|
|
5908
|
+
for (const { start, end: stop } of list) {
|
|
5909
|
+
if (stop <= end) continue;
|
|
5910
|
+
total += stop - Math.max(start, end);
|
|
5911
|
+
end = stop;
|
|
5912
|
+
}
|
|
5913
|
+
totals.set(id, total);
|
|
5914
|
+
}
|
|
5915
|
+
return totals;
|
|
5916
|
+
}
|
|
5917
|
+
function hasOverlap(segments) {
|
|
5918
|
+
let latest = null;
|
|
5919
|
+
for (const s of segments) {
|
|
5920
|
+
if (latest && s.start < latest.end && s.speakerId !== latest.speakerId)
|
|
5921
|
+
return true;
|
|
5922
|
+
if (!latest || s.end > latest.end) latest = s;
|
|
5923
|
+
}
|
|
5924
|
+
return false;
|
|
5925
|
+
}
|
|
5926
|
+
function activeUtteranceAt(utterances, time) {
|
|
5927
|
+
let found = null;
|
|
5928
|
+
for (const u of utterances) {
|
|
5929
|
+
if (u.start > time) break;
|
|
5930
|
+
if (time < u.end) found = u;
|
|
5931
|
+
}
|
|
5932
|
+
return found;
|
|
5933
|
+
}
|
|
5934
|
+
function filterUtterances(utterances, hidden, query) {
|
|
5935
|
+
const needle = query.trim().toLowerCase();
|
|
5936
|
+
return utterances.filter(
|
|
5937
|
+
(u) => !hidden.has(u.speakerId) && (!needle || u.text.toLowerCase().includes(needle))
|
|
5938
|
+
);
|
|
5939
|
+
}
|
|
5940
|
+
function clampView(view, duration) {
|
|
5941
|
+
const span = Math.min(
|
|
5942
|
+
Math.max(view.span, Math.min(MIN_VIEW_SECONDS, duration)),
|
|
5943
|
+
duration
|
|
5944
|
+
);
|
|
5945
|
+
const start = Math.min(Math.max(0, view.start), Math.max(0, duration - span));
|
|
5946
|
+
return { start, span };
|
|
5947
|
+
}
|
|
5948
|
+
function initialView(duration) {
|
|
5949
|
+
return clampView({ start: 0, span: DEFAULT_VIEW_SECONDS }, duration);
|
|
5950
|
+
}
|
|
5951
|
+
function zoomView(view, factor, anchor, duration) {
|
|
5952
|
+
const span = view.span * factor;
|
|
5953
|
+
const ratio = view.span > 0 ? (anchor - view.start) / view.span : 0;
|
|
5954
|
+
return clampView({ start: anchor - ratio * span, span }, duration);
|
|
5955
|
+
}
|
|
5956
|
+
function followView(view, time, duration) {
|
|
5957
|
+
if (time >= view.start && time <= view.start + view.span * 0.95) return view;
|
|
5958
|
+
return clampView(
|
|
5959
|
+
{ start: time - view.span * 0.05, span: view.span },
|
|
5960
|
+
duration
|
|
5961
|
+
);
|
|
5962
|
+
}
|
|
5963
|
+
var TICK_STEPS = [1, 2, 5, 10, 15, 30, 60, 120, 300, 600, 900, 1800, 3600];
|
|
5964
|
+
function ticksFor(view, maxTicks = 8) {
|
|
5965
|
+
const step = TICK_STEPS.find((s) => view.span / s <= maxTicks) ?? TICK_STEPS[TICK_STEPS.length - 1];
|
|
5966
|
+
const ticks = [];
|
|
5967
|
+
for (let t = Math.ceil(view.start / step) * step; t <= view.start + view.span; t += step)
|
|
5968
|
+
ticks.push(t);
|
|
5969
|
+
return ticks;
|
|
5970
|
+
}
|
|
5971
|
+
function formatClock(totalSeconds) {
|
|
5972
|
+
const s = Math.max(0, Math.floor(totalSeconds));
|
|
5973
|
+
const h = Math.floor(s / 3600);
|
|
5974
|
+
const m = Math.floor(s % 3600 / 60);
|
|
5975
|
+
const ss = String(s % 60).padStart(2, "0");
|
|
5976
|
+
return h > 0 ? `${h}:${String(m).padStart(2, "0")}:${ss}` : `${m}:${ss}`;
|
|
5977
|
+
}
|
|
5978
|
+
function formatSpan(totalSeconds) {
|
|
5979
|
+
return totalSeconds < 60 ? `${Math.max(0, totalSeconds).toFixed(1)}s` : formatClock(totalSeconds);
|
|
5980
|
+
}
|
|
5981
|
+
|
|
5982
|
+
// src/components/AI/HeyOzwell/TranscriptPlayer/labels.ts
|
|
5983
|
+
var DEFAULT_TRANSCRIPT_PLAYER_LABELS = {
|
|
5984
|
+
recording: "Recording",
|
|
5985
|
+
play: "Play",
|
|
5986
|
+
pause: "Pause",
|
|
5987
|
+
mute: "Mute",
|
|
5988
|
+
unmute: "Unmute",
|
|
5989
|
+
volume: "Volume",
|
|
5990
|
+
playbackSpeed: "Playback speed",
|
|
5991
|
+
fullScreen: "Full screen",
|
|
5992
|
+
exitFullScreen: "Exit full screen",
|
|
5993
|
+
seek: "Seek",
|
|
5994
|
+
zoomIn: "Zoom in",
|
|
5995
|
+
zoomOut: "Zoom out",
|
|
5996
|
+
followPlayback: "Follow playback",
|
|
5997
|
+
earlier: "Earlier",
|
|
5998
|
+
later: "Later",
|
|
5999
|
+
visibleWindow: "Visible part of the recording",
|
|
6000
|
+
noRecording: "No recording available.",
|
|
6001
|
+
loadError: "The recording could not be loaded.",
|
|
6002
|
+
playError: "Playback failed.",
|
|
6003
|
+
noActivity: "No speaker activity.",
|
|
6004
|
+
allSpeakersHidden: "All speakers are hidden.",
|
|
6005
|
+
transcript: "Transcript",
|
|
6006
|
+
searchTranscript: "Search transcript",
|
|
6007
|
+
searchPlaceholder: "Search transcript\u2026",
|
|
6008
|
+
showSpeakers: "Show speakers",
|
|
6009
|
+
allSpeakers: "All speakers",
|
|
6010
|
+
someSpeakers: "Some speakers",
|
|
6011
|
+
noTranscript: "No transcript for this recording.",
|
|
6012
|
+
noMatches: "No lines match the search or speaker filter.",
|
|
6013
|
+
noWords: "(no words)",
|
|
6014
|
+
backToCurrent: "Back to current",
|
|
6015
|
+
speakers: "Speakers",
|
|
6016
|
+
noSpeakers: "No speakers detected.",
|
|
6017
|
+
overlapNote: "People talked over each other, so shares can add up to more than 100%.",
|
|
6018
|
+
hint: "Hover a coloured segment for details, then click it (or a transcript line) to play just that part. Drag the box in the overview to move through long recordings.",
|
|
6019
|
+
unknownSpeaker: "Unknown speaker",
|
|
6020
|
+
formatDuration: formatSpan,
|
|
6021
|
+
formatSpeed: (rate) => `${rate}x`,
|
|
6022
|
+
formatShare: (fraction) => `${Math.round(fraction * 100)}%`,
|
|
6023
|
+
segmentRange: (start, end, length) => `${start} \u2013 ${end} (${length})`,
|
|
6024
|
+
speakingTurns: (speaker) => `${speaker} speaking turns`,
|
|
6025
|
+
segment: (speaker, start, end, length) => `${speaker}, ${start} to ${end} (${length})`,
|
|
6026
|
+
playSegment: (segment) => `Play ${segment}`,
|
|
6027
|
+
playLine: (speaker, time) => `Play ${speaker} at ${time}`,
|
|
6028
|
+
overlapWith: (speakers) => `Overlaps ${speakers}`,
|
|
6029
|
+
seekValue: (current, total) => `${current} of ${total}`,
|
|
6030
|
+
windowValue: (start, end) => `${start} to ${end}`
|
|
6031
|
+
};
|
|
6032
|
+
var PEAKS_PER_SECOND = 50;
|
|
6033
|
+
var MAX_DECODE_BYTES = 50 * 1024 * 1024;
|
|
6034
|
+
function computePeaks(samples, sampleRate, perSecond = PEAKS_PER_SECOND) {
|
|
6035
|
+
const bucket = Math.max(1, Math.floor(sampleRate / perSecond));
|
|
6036
|
+
const data = new Float32Array(Math.ceil(samples.length / bucket));
|
|
6037
|
+
let max = 0;
|
|
6038
|
+
for (let i = 0; i < samples.length; i++) {
|
|
6039
|
+
const v = Math.abs(samples[i]);
|
|
6040
|
+
const b = Math.floor(i / bucket);
|
|
6041
|
+
if (v > data[b]) data[b] = v;
|
|
6042
|
+
if (v > max) max = v;
|
|
6043
|
+
}
|
|
6044
|
+
if (max > 0) for (let i = 0; i < data.length; i++) data[i] /= max;
|
|
6045
|
+
return { data, perSecond: sampleRate / bucket };
|
|
6046
|
+
}
|
|
6047
|
+
function useWaveformPeaks(src, provided) {
|
|
6048
|
+
const [decoded, setDecoded] = React13__namespace.useState(null);
|
|
6049
|
+
React13__namespace.useEffect(() => {
|
|
6050
|
+
setDecoded(null);
|
|
6051
|
+
if (provided || !src) return;
|
|
6052
|
+
const abort = new AbortController();
|
|
6053
|
+
fetch(src, { signal: abort.signal }).then((response) => response.blob()).then((blob) => {
|
|
6054
|
+
if (blob.size > MAX_DECODE_BYTES) return;
|
|
6055
|
+
return chunkTRZLN32I_cjs.decodeTo16kMono(blob).then((samples) => {
|
|
6056
|
+
if (!abort.signal.aborted) setDecoded(computePeaks(samples, 16e3));
|
|
6057
|
+
});
|
|
6058
|
+
}).catch(() => {
|
|
6059
|
+
});
|
|
6060
|
+
return () => abort.abort();
|
|
6061
|
+
}, [src, provided]);
|
|
6062
|
+
return provided ?? decoded;
|
|
6063
|
+
}
|
|
6064
|
+
var ROW_GRID = "grid grid-cols-[6.5rem_minmax(0,1fr)] items-center gap-x-3";
|
|
6065
|
+
var HIDE_DELAY_MS = 150;
|
|
6066
|
+
var viewFraction = (time, view) => view.span > 0 ? Math.min(1, Math.max(0, (time - view.start) / view.span)) : 0;
|
|
6067
|
+
var timeAtPointer = (clientX, element, view) => {
|
|
6068
|
+
const rect = element.getBoundingClientRect();
|
|
6069
|
+
const ratio = rect.width > 0 ? (clientX - rect.left) / rect.width : 0;
|
|
6070
|
+
return view.start + Math.min(1, Math.max(0, ratio)) * view.span;
|
|
6071
|
+
};
|
|
6072
|
+
function describe(segment, name, labels) {
|
|
6073
|
+
return labels.segment(
|
|
6074
|
+
name,
|
|
6075
|
+
formatClock(segment.start),
|
|
6076
|
+
formatClock(segment.end),
|
|
6077
|
+
labels.formatDuration(segment.end - segment.start)
|
|
6078
|
+
);
|
|
6079
|
+
}
|
|
6080
|
+
var SpeakerLanes = React13__namespace.memo(function SpeakerLanes2({
|
|
6081
|
+
speakers,
|
|
6082
|
+
segments,
|
|
6083
|
+
view,
|
|
6084
|
+
playingId,
|
|
6085
|
+
onPlaySegment,
|
|
6086
|
+
onPause,
|
|
6087
|
+
onSeek,
|
|
6088
|
+
labels
|
|
6089
|
+
}) {
|
|
6090
|
+
const [hovered, setHovered] = React13__namespace.useState(null);
|
|
6091
|
+
const [focusedId, setFocusedId] = React13__namespace.useState(null);
|
|
6092
|
+
const hideTimer = React13__namespace.useRef(void 0);
|
|
6093
|
+
const show = (segment) => {
|
|
6094
|
+
window.clearTimeout(hideTimer.current);
|
|
6095
|
+
setHovered(segment);
|
|
6096
|
+
};
|
|
6097
|
+
const hide = () => {
|
|
6098
|
+
window.clearTimeout(hideTimer.current);
|
|
6099
|
+
hideTimer.current = window.setTimeout(
|
|
6100
|
+
() => setHovered(null),
|
|
6101
|
+
HIDE_DELAY_MS
|
|
6102
|
+
);
|
|
6103
|
+
};
|
|
6104
|
+
React13__namespace.useEffect(() => () => window.clearTimeout(hideTimer.current), []);
|
|
6105
|
+
React13__namespace.useEffect(() => {
|
|
6106
|
+
window.clearTimeout(hideTimer.current);
|
|
6107
|
+
setHovered(null);
|
|
6108
|
+
}, [segments]);
|
|
6109
|
+
const lanesRef = React13__namespace.useRef(null);
|
|
6110
|
+
const isOpen = hovered !== null;
|
|
6111
|
+
React13__namespace.useEffect(() => {
|
|
6112
|
+
if (!isOpen) return;
|
|
6113
|
+
const onKeyDown = (event) => {
|
|
6114
|
+
if (event.key !== "Escape" || event.defaultPrevented) return;
|
|
6115
|
+
if (lanesRef.current?.contains(document.activeElement))
|
|
6116
|
+
event.stopPropagation();
|
|
6117
|
+
window.clearTimeout(hideTimer.current);
|
|
6118
|
+
setHovered(null);
|
|
6119
|
+
};
|
|
6120
|
+
document.addEventListener("keydown", onKeyDown, true);
|
|
6121
|
+
return () => document.removeEventListener("keydown", onKeyDown, true);
|
|
6122
|
+
}, [isOpen]);
|
|
6123
|
+
const end = view.start + view.span;
|
|
6124
|
+
const visible = segments.filter(
|
|
6125
|
+
(s) => s.end > view.start && s.start < end || s.id === focusedId
|
|
6126
|
+
);
|
|
6127
|
+
const onSegmentKey = (event) => {
|
|
6128
|
+
const keys = {
|
|
6129
|
+
ArrowRight: (i, n) => Math.min(n - 1, i + 1),
|
|
6130
|
+
ArrowLeft: (i) => Math.max(0, i - 1),
|
|
6131
|
+
Home: () => 0,
|
|
6132
|
+
End: (_, n) => n - 1
|
|
6133
|
+
};
|
|
6134
|
+
const next = keys[event.key];
|
|
6135
|
+
const buttons = event.currentTarget.parentElement?.querySelectorAll(
|
|
6136
|
+
"[data-segment]"
|
|
6137
|
+
);
|
|
6138
|
+
if (!next || !buttons?.length) return;
|
|
6139
|
+
event.preventDefault();
|
|
6140
|
+
const index = Array.from(buttons).indexOf(event.currentTarget);
|
|
6141
|
+
buttons[next(index, buttons.length)]?.focus();
|
|
6142
|
+
};
|
|
6143
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: lanesRef, className: "space-y-1.5", children: speakers.map((speaker) => {
|
|
6144
|
+
const lane = visible.filter((s) => s.speakerId === speaker.id);
|
|
6145
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ROW_GRID, children: [
|
|
6146
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground truncate text-xs", children: speaker.name }),
|
|
6147
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6148
|
+
"div",
|
|
6149
|
+
{
|
|
6150
|
+
role: "group",
|
|
6151
|
+
"aria-label": labels.speakingTurns(speaker.name),
|
|
6152
|
+
className: "bg-muted relative h-4 cursor-pointer rounded-sm",
|
|
6153
|
+
onClick: (e) => {
|
|
6154
|
+
if (e.target === e.currentTarget)
|
|
6155
|
+
onSeek(timeAtPointer(e.clientX, e.currentTarget, view));
|
|
6156
|
+
},
|
|
6157
|
+
children: [
|
|
6158
|
+
lane.map((segment, i) => {
|
|
6159
|
+
const left = viewFraction(segment.start, view);
|
|
6160
|
+
const width = viewFraction(segment.end, view) - left;
|
|
6161
|
+
const isPlaying = segment.id === playingId;
|
|
6162
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6163
|
+
"button",
|
|
6164
|
+
{
|
|
6165
|
+
type: "button",
|
|
6166
|
+
"data-segment": true,
|
|
6167
|
+
tabIndex: i === 0 ? 0 : -1,
|
|
6168
|
+
"aria-label": describe(segment, speaker.name, labels),
|
|
6169
|
+
"aria-pressed": isPlaying,
|
|
6170
|
+
onClick: () => isPlaying ? onPause() : onPlaySegment(segment),
|
|
6171
|
+
onKeyDown: onSegmentKey,
|
|
6172
|
+
onMouseEnter: () => show(segment),
|
|
6173
|
+
onMouseLeave: hide,
|
|
6174
|
+
onFocus: () => {
|
|
6175
|
+
setFocusedId(segment.id);
|
|
6176
|
+
show(segment);
|
|
6177
|
+
},
|
|
6178
|
+
onBlur: () => {
|
|
6179
|
+
setFocusedId(null);
|
|
6180
|
+
hide();
|
|
6181
|
+
},
|
|
6182
|
+
className: chunkS5RVSXDV_cjs.cn(
|
|
6183
|
+
// The outline keeps every turn's edges at 3:1+ against the lane, whatever the speaker colour.
|
|
6184
|
+
"focus-visible:ring-ring absolute inset-y-0 rounded-sm ring-inset focus-visible:ring-2 focus-visible:outline-none",
|
|
6185
|
+
isPlaying ? "ring-foreground ring-2" : "ring-foreground/70 ring-1"
|
|
6186
|
+
),
|
|
6187
|
+
style: {
|
|
6188
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline, matches clientX seek math
|
|
6189
|
+
left: `${left * 100}%`,
|
|
6190
|
+
width: `${width * 100}%`,
|
|
6191
|
+
minWidth: 2,
|
|
6192
|
+
backgroundColor: speaker.color
|
|
6193
|
+
}
|
|
6194
|
+
},
|
|
6195
|
+
segment.id
|
|
6196
|
+
);
|
|
6197
|
+
}),
|
|
6198
|
+
hovered?.speakerId === speaker.id && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6199
|
+
"div",
|
|
6200
|
+
{
|
|
6201
|
+
className: "absolute bottom-full z-20 mb-2 flex -translate-x-1/2 items-center gap-2 rounded-lg bg-neutral-900 px-2.5 py-1.5 text-xs whitespace-nowrap text-white shadow-md dark:bg-neutral-100 dark:text-neutral-900",
|
|
6202
|
+
style: {
|
|
6203
|
+
// Kept off the edges so the centred tooltip is never clipped.
|
|
6204
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline
|
|
6205
|
+
left: `${Math.min(85, Math.max(15, viewFraction((hovered.start + hovered.end) / 2, view) * 100))}%`
|
|
6206
|
+
},
|
|
6207
|
+
onMouseEnter: () => show(hovered),
|
|
6208
|
+
onMouseLeave: hide,
|
|
6209
|
+
children: [
|
|
6210
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6211
|
+
chunkFSARTLUE_cjs.Button,
|
|
6212
|
+
{
|
|
6213
|
+
type: "button",
|
|
6214
|
+
variant: "primary",
|
|
6215
|
+
size: "icon-sm",
|
|
6216
|
+
tabIndex: -1,
|
|
6217
|
+
"aria-label": labels.playSegment(
|
|
6218
|
+
describe(hovered, speaker.name, labels)
|
|
6219
|
+
),
|
|
6220
|
+
onClick: () => onPlaySegment(hovered),
|
|
6221
|
+
className: "h-6 w-6 rounded-full",
|
|
6222
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Play, { "aria-hidden": "true", className: "h-3 w-3 fill-current" })
|
|
6223
|
+
}
|
|
6224
|
+
),
|
|
6225
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
6226
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "block font-semibold", children: speaker.name }),
|
|
6227
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums opacity-75", children: labels.segmentRange(
|
|
6228
|
+
formatClock(hovered.start),
|
|
6229
|
+
formatClock(hovered.end),
|
|
6230
|
+
labels.formatDuration(hovered.end - hovered.start)
|
|
6231
|
+
) })
|
|
6232
|
+
] })
|
|
6233
|
+
]
|
|
6234
|
+
}
|
|
6235
|
+
)
|
|
6236
|
+
]
|
|
6237
|
+
}
|
|
6238
|
+
)
|
|
6239
|
+
] }, speaker.id);
|
|
6240
|
+
}) });
|
|
6241
|
+
});
|
|
6242
|
+
function SpeakerPanel({
|
|
6243
|
+
speakers,
|
|
6244
|
+
talkTime: talkTime2,
|
|
6245
|
+
duration,
|
|
6246
|
+
hidden,
|
|
6247
|
+
onToggle,
|
|
6248
|
+
overlapping,
|
|
6249
|
+
labels
|
|
6250
|
+
}) {
|
|
6251
|
+
const headingId = React13__namespace.useId();
|
|
6252
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6253
|
+
"section",
|
|
6254
|
+
{
|
|
6255
|
+
"aria-labelledby": headingId,
|
|
6256
|
+
className: "border-border bg-card text-card-foreground rounded-xl border p-4",
|
|
6257
|
+
children: [
|
|
6258
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { id: headingId, className: "mb-3 text-sm font-semibold", children: labels.speakers }),
|
|
6259
|
+
speakers.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: labels.noSpeakers }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-2.5", children: speakers.map((speaker) => {
|
|
6260
|
+
const seconds2 = talkTime2.get(speaker.id) ?? 0;
|
|
6261
|
+
const share = duration > 0 ? seconds2 / duration : 0;
|
|
6262
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-center gap-2 text-sm", children: [
|
|
6263
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6264
|
+
"span",
|
|
6265
|
+
{
|
|
6266
|
+
"aria-hidden": "true",
|
|
6267
|
+
className: "h-2.5 w-2.5 shrink-0 rounded-full",
|
|
6268
|
+
style: { backgroundColor: speaker.color }
|
|
6269
|
+
}
|
|
6270
|
+
),
|
|
6271
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6272
|
+
chunk7AECNMYV_cjs.Checkbox,
|
|
6273
|
+
{
|
|
6274
|
+
size: "sm",
|
|
6275
|
+
label: speaker.name,
|
|
6276
|
+
checked: !hidden.has(speaker.id),
|
|
6277
|
+
onChange: () => onToggle(speaker.id),
|
|
6278
|
+
className: "shrink-0"
|
|
6279
|
+
}
|
|
6280
|
+
),
|
|
6281
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground ms-auto tabular-nums", children: labels.formatDuration(seconds2) }),
|
|
6282
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground min-w-10 text-end tabular-nums", children: labels.formatShare(share) })
|
|
6283
|
+
] }, speaker.id);
|
|
6284
|
+
}) }),
|
|
6285
|
+
overlapping && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-3 text-xs", children: labels.overlapNote })
|
|
6286
|
+
]
|
|
6287
|
+
}
|
|
6288
|
+
);
|
|
6289
|
+
}
|
|
6290
|
+
var HEIGHT = 28;
|
|
6291
|
+
function TimelineOverview({
|
|
6292
|
+
speakers,
|
|
6293
|
+
segments,
|
|
6294
|
+
duration,
|
|
6295
|
+
view,
|
|
6296
|
+
currentTime,
|
|
6297
|
+
onViewChange,
|
|
6298
|
+
labels
|
|
6299
|
+
}) {
|
|
6300
|
+
const canvasRef = React13__namespace.useRef(null);
|
|
6301
|
+
const trackRef = React13__namespace.useRef(null);
|
|
6302
|
+
const dragOffset = React13__namespace.useRef(null);
|
|
6303
|
+
const [width, setWidth] = React13__namespace.useState(0);
|
|
6304
|
+
const whole = { start: 0, span: duration };
|
|
6305
|
+
React13__namespace.useEffect(() => {
|
|
6306
|
+
const canvas = canvasRef.current;
|
|
6307
|
+
if (!canvas) return;
|
|
6308
|
+
const observer = new ResizeObserver(
|
|
6309
|
+
() => setWidth(canvas.clientWidth || 0)
|
|
6310
|
+
);
|
|
6311
|
+
observer.observe(canvas);
|
|
6312
|
+
return () => observer.disconnect();
|
|
6313
|
+
}, []);
|
|
6314
|
+
React13__namespace.useEffect(() => {
|
|
6315
|
+
const canvas = canvasRef.current;
|
|
6316
|
+
const ctx = canvas?.getContext("2d");
|
|
6317
|
+
if (!canvas || !ctx || width === 0) return;
|
|
6318
|
+
const dpr = window.devicePixelRatio || 1;
|
|
6319
|
+
canvas.width = width * dpr;
|
|
6320
|
+
canvas.height = HEIGHT * dpr;
|
|
6321
|
+
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
6322
|
+
ctx.clearRect(0, 0, width, HEIGHT);
|
|
6323
|
+
if (duration <= 0 || speakers.length === 0) return;
|
|
6324
|
+
const row = Math.min(6, HEIGHT / speakers.length);
|
|
6325
|
+
const top = (HEIGHT - row * speakers.length) / 2;
|
|
6326
|
+
speakers.forEach((speaker, i) => {
|
|
6327
|
+
ctx.fillStyle = speaker.color;
|
|
6328
|
+
for (const s of segments) {
|
|
6329
|
+
if (s.speakerId !== speaker.id) continue;
|
|
6330
|
+
const x = s.start / duration * width;
|
|
6331
|
+
const w = Math.max(1, (s.end - s.start) / duration * width);
|
|
6332
|
+
ctx.fillRect(x, top + i * row + 1, w, row - 1);
|
|
6333
|
+
}
|
|
6334
|
+
});
|
|
6335
|
+
}, [speakers, segments, duration, width]);
|
|
6336
|
+
const pan = (delta) => onViewChange(clampView({ ...view, start: view.start + delta }, duration));
|
|
6337
|
+
const onPointerDown = (event) => {
|
|
6338
|
+
if (!trackRef.current) return;
|
|
6339
|
+
const t = timeAtPointer(event.clientX, trackRef.current, whole);
|
|
6340
|
+
const insideWindow = t >= view.start && t <= view.start + view.span;
|
|
6341
|
+
dragOffset.current = insideWindow ? t - view.start : view.span / 2;
|
|
6342
|
+
onViewChange(
|
|
6343
|
+
clampView({ ...view, start: t - dragOffset.current }, duration)
|
|
6344
|
+
);
|
|
6345
|
+
event.currentTarget.setPointerCapture?.(event.pointerId);
|
|
6346
|
+
};
|
|
6347
|
+
const onPointerMove = (event) => {
|
|
6348
|
+
if (dragOffset.current === null || !trackRef.current) return;
|
|
6349
|
+
const t = timeAtPointer(event.clientX, trackRef.current, whole);
|
|
6350
|
+
onViewChange(
|
|
6351
|
+
clampView({ ...view, start: t - dragOffset.current }, duration)
|
|
6352
|
+
);
|
|
6353
|
+
};
|
|
6354
|
+
const endDrag = () => {
|
|
6355
|
+
dragOffset.current = null;
|
|
6356
|
+
};
|
|
6357
|
+
const onKeyDown = (event) => {
|
|
6358
|
+
const step = {
|
|
6359
|
+
ArrowLeft: -view.span / 10,
|
|
6360
|
+
ArrowRight: view.span / 10,
|
|
6361
|
+
PageUp: -view.span,
|
|
6362
|
+
PageDown: view.span,
|
|
6363
|
+
Home: -duration,
|
|
6364
|
+
End: duration
|
|
6365
|
+
};
|
|
6366
|
+
if (!(event.key in step)) return;
|
|
6367
|
+
event.preventDefault();
|
|
6368
|
+
pan(step[event.key]);
|
|
6369
|
+
};
|
|
6370
|
+
const left = viewFraction(view.start, whole);
|
|
6371
|
+
const right = viewFraction(view.start + view.span, whole);
|
|
6372
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
6373
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
6374
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6375
|
+
chunkFSARTLUE_cjs.Button,
|
|
6376
|
+
{
|
|
6377
|
+
type: "button",
|
|
6378
|
+
variant: "ghost",
|
|
6379
|
+
size: "icon-sm",
|
|
6380
|
+
"aria-label": labels.earlier,
|
|
6381
|
+
disabled: view.start <= 0,
|
|
6382
|
+
onClick: () => pan(-view.span),
|
|
6383
|
+
className: "shrink-0",
|
|
6384
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
6385
|
+
}
|
|
6386
|
+
),
|
|
6387
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6388
|
+
"div",
|
|
6389
|
+
{
|
|
6390
|
+
ref: trackRef,
|
|
6391
|
+
className: "bg-muted/60 border-border relative flex-1 cursor-pointer touch-none rounded border",
|
|
6392
|
+
onPointerDown,
|
|
6393
|
+
onPointerMove,
|
|
6394
|
+
onPointerUp: endDrag,
|
|
6395
|
+
onPointerCancel: endDrag,
|
|
6396
|
+
children: [
|
|
6397
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6398
|
+
"canvas",
|
|
6399
|
+
{
|
|
6400
|
+
ref: canvasRef,
|
|
6401
|
+
"aria-hidden": "true",
|
|
6402
|
+
className: "block w-full",
|
|
6403
|
+
style: { height: HEIGHT }
|
|
6404
|
+
}
|
|
6405
|
+
),
|
|
6406
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6407
|
+
"div",
|
|
6408
|
+
{
|
|
6409
|
+
role: "slider",
|
|
6410
|
+
tabIndex: 0,
|
|
6411
|
+
"aria-label": labels.visibleWindow,
|
|
6412
|
+
"aria-valuemin": 0,
|
|
6413
|
+
"aria-valuemax": Math.round(duration),
|
|
6414
|
+
"aria-valuenow": Math.round(view.start),
|
|
6415
|
+
"aria-valuetext": labels.windowValue(
|
|
6416
|
+
formatClock(view.start),
|
|
6417
|
+
formatClock(view.start + view.span)
|
|
6418
|
+
),
|
|
6419
|
+
onKeyDown,
|
|
6420
|
+
className: "border-primary-500 bg-primary-500/15 focus-visible:ring-ring absolute inset-y-0 cursor-grab rounded border focus-visible:ring-2 focus-visible:outline-none active:cursor-grabbing",
|
|
6421
|
+
style: {
|
|
6422
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline, matches clientX drag math
|
|
6423
|
+
left: `${left * 100}%`,
|
|
6424
|
+
width: `${Math.max(0.5, (right - left) * 100)}%`
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
),
|
|
6428
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6429
|
+
"span",
|
|
6430
|
+
{
|
|
6431
|
+
"aria-hidden": "true",
|
|
6432
|
+
className: "bg-foreground pointer-events-none absolute inset-y-0 w-px",
|
|
6433
|
+
style: {
|
|
6434
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline
|
|
6435
|
+
left: `${viewFraction(currentTime, whole) * 100}%`
|
|
6436
|
+
}
|
|
6437
|
+
}
|
|
6438
|
+
)
|
|
6439
|
+
]
|
|
6440
|
+
}
|
|
6441
|
+
),
|
|
6442
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6443
|
+
chunkFSARTLUE_cjs.Button,
|
|
6444
|
+
{
|
|
6445
|
+
type: "button",
|
|
6446
|
+
variant: "ghost",
|
|
6447
|
+
size: "icon-sm",
|
|
6448
|
+
"aria-label": labels.later,
|
|
6449
|
+
disabled: view.start + view.span >= duration,
|
|
6450
|
+
onClick: () => pan(view.span),
|
|
6451
|
+
className: "shrink-0",
|
|
6452
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
6453
|
+
}
|
|
6454
|
+
)
|
|
6455
|
+
] }),
|
|
6456
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6457
|
+
"div",
|
|
6458
|
+
{
|
|
6459
|
+
"aria-hidden": "true",
|
|
6460
|
+
className: "text-muted-foreground relative mx-9 mt-1 h-4 text-[11px] tabular-nums",
|
|
6461
|
+
children: ticksFor(whole).map((t) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6462
|
+
"span",
|
|
6463
|
+
{
|
|
6464
|
+
className: "absolute -translate-x-1/2",
|
|
6465
|
+
style: {
|
|
6466
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline
|
|
6467
|
+
left: `${viewFraction(t, whole) * 100}%`
|
|
6468
|
+
},
|
|
6469
|
+
children: formatClock(t)
|
|
6470
|
+
},
|
|
6471
|
+
t
|
|
6472
|
+
))
|
|
6473
|
+
}
|
|
6474
|
+
)
|
|
6475
|
+
] });
|
|
6476
|
+
}
|
|
6477
|
+
var VIRTUALIZE_AFTER = 150;
|
|
6478
|
+
var FOLLOW_SCROLL_MS = 400;
|
|
6479
|
+
var USER_SCROLL_KEYS = /* @__PURE__ */ new Set([
|
|
6480
|
+
"ArrowUp",
|
|
6481
|
+
"ArrowDown",
|
|
6482
|
+
"PageUp",
|
|
6483
|
+
"PageDown",
|
|
6484
|
+
"Home",
|
|
6485
|
+
"End"
|
|
6486
|
+
]);
|
|
6487
|
+
function highlight(text, query) {
|
|
6488
|
+
const needle = query.trim();
|
|
6489
|
+
if (!needle) return text;
|
|
6490
|
+
const escaped = needle.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
6491
|
+
return text.split(new RegExp(`(${escaped})`, "gi")).map(
|
|
6492
|
+
(part, i) => i % 2 === 1 ? /* @__PURE__ */ jsxRuntime.jsx("mark", { className: "rounded-sm bg-yellow-200 dark:bg-yellow-700", children: part }, i) : part
|
|
6493
|
+
);
|
|
6494
|
+
}
|
|
6495
|
+
var Row = React13__namespace.memo(function Row2({
|
|
6496
|
+
utterance,
|
|
6497
|
+
speaker,
|
|
6498
|
+
overlap,
|
|
6499
|
+
active,
|
|
6500
|
+
playing,
|
|
6501
|
+
query,
|
|
6502
|
+
onPlay,
|
|
6503
|
+
onPause,
|
|
6504
|
+
labels,
|
|
6505
|
+
setSize,
|
|
6506
|
+
posInSet
|
|
6507
|
+
}) {
|
|
6508
|
+
const name = speaker?.name ?? labels.unknownSpeaker;
|
|
6509
|
+
const color = speaker?.color ?? "currentColor";
|
|
6510
|
+
const time = formatClock(utterance.start);
|
|
6511
|
+
return (
|
|
6512
|
+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions -- whole-row click target; keyboard users use the row's play button
|
|
6513
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6514
|
+
"div",
|
|
6515
|
+
{
|
|
6516
|
+
role: "listitem",
|
|
6517
|
+
"data-id": utterance.id,
|
|
6518
|
+
"aria-current": active || void 0,
|
|
6519
|
+
"aria-setsize": setSize,
|
|
6520
|
+
"aria-posinset": posInSet,
|
|
6521
|
+
onClick: () => onPlay(utterance),
|
|
6522
|
+
className: chunkS5RVSXDV_cjs.cn(
|
|
6523
|
+
"flex cursor-pointer items-start gap-3 rounded-lg px-2 py-2 text-sm",
|
|
6524
|
+
active ? "bg-primary-50 dark:bg-primary-950/40" : "hover:bg-muted/60"
|
|
6525
|
+
),
|
|
6526
|
+
children: [
|
|
6527
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6528
|
+
chunkFSARTLUE_cjs.Button,
|
|
6529
|
+
{
|
|
6530
|
+
type: "button",
|
|
6531
|
+
variant: "ghost",
|
|
6532
|
+
size: "icon-sm",
|
|
6533
|
+
"aria-label": labels.playLine(name, time),
|
|
6534
|
+
"aria-pressed": playing,
|
|
6535
|
+
onClick: (e) => {
|
|
6536
|
+
e.stopPropagation();
|
|
6537
|
+
if (playing) onPause();
|
|
6538
|
+
else onPlay(utterance);
|
|
6539
|
+
},
|
|
6540
|
+
className: "border-border text-foreground h-6 w-6 shrink-0 rounded-full border",
|
|
6541
|
+
children: playing ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pause, { "aria-hidden": "true", className: "h-3 w-3 fill-current" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Play, { "aria-hidden": "true", className: "ms-0.5 h-3 w-3 fill-current" })
|
|
6542
|
+
}
|
|
6543
|
+
),
|
|
6544
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground w-12 shrink-0 pt-0.5 text-xs tabular-nums", children: time }),
|
|
6545
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6546
|
+
"span",
|
|
6547
|
+
{
|
|
6548
|
+
className: "text-foreground flex w-24 shrink-0 items-center gap-1.5 rounded px-1.5 py-0.5 text-xs font-medium",
|
|
6549
|
+
style: {
|
|
6550
|
+
backgroundColor: `color-mix(in srgb, ${color} 12%, transparent)`
|
|
6551
|
+
},
|
|
6552
|
+
children: [
|
|
6553
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6554
|
+
"span",
|
|
6555
|
+
{
|
|
6556
|
+
"aria-hidden": "true",
|
|
6557
|
+
className: "h-2 w-2 shrink-0 rounded-full",
|
|
6558
|
+
style: { backgroundColor: color }
|
|
6559
|
+
}
|
|
6560
|
+
),
|
|
6561
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: name })
|
|
6562
|
+
]
|
|
6563
|
+
}
|
|
6564
|
+
),
|
|
6565
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
6566
|
+
utterance.text ? highlight(utterance.text, query) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground italic", children: labels.noWords }),
|
|
6567
|
+
overlap && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground border-border ms-2 inline-block max-w-full rounded border px-1.5 text-[11px] break-words", children: labels.overlapWith(overlap) })
|
|
6568
|
+
] })
|
|
6569
|
+
]
|
|
6570
|
+
}
|
|
6571
|
+
)
|
|
6572
|
+
);
|
|
6573
|
+
});
|
|
6574
|
+
function TranscriptList({
|
|
6575
|
+
utterances,
|
|
6576
|
+
speakersById,
|
|
6577
|
+
activeId,
|
|
6578
|
+
playingId,
|
|
6579
|
+
query,
|
|
6580
|
+
onPlay,
|
|
6581
|
+
onPause,
|
|
6582
|
+
emptyMessage,
|
|
6583
|
+
labels
|
|
6584
|
+
}) {
|
|
6585
|
+
const scrollRef = React13__namespace.useRef(null);
|
|
6586
|
+
const [detached, setDetached] = React13__namespace.useState(false);
|
|
6587
|
+
const followUntil = React13__namespace.useRef(0);
|
|
6588
|
+
const virtualize = utterances.length > VIRTUALIZE_AFTER;
|
|
6589
|
+
const virtualizer = reactVirtual.useVirtualizer({
|
|
6590
|
+
count: virtualize ? utterances.length : 0,
|
|
6591
|
+
getScrollElement: () => scrollRef.current,
|
|
6592
|
+
estimateSize: () => 40,
|
|
6593
|
+
overscan: 12,
|
|
6594
|
+
getItemKey: (index) => utterances[index]?.id ?? index
|
|
6595
|
+
});
|
|
6596
|
+
const scrollToActive = React13__namespace.useCallback(() => {
|
|
6597
|
+
if (!activeId) return;
|
|
6598
|
+
followUntil.current = Date.now() + FOLLOW_SCROLL_MS;
|
|
6599
|
+
if (virtualize) {
|
|
6600
|
+
const index = utterances.findIndex((u) => u.id === activeId);
|
|
6601
|
+
if (index >= 0) virtualizer.scrollToIndex(index, { align: "auto" });
|
|
6602
|
+
return;
|
|
6603
|
+
}
|
|
6604
|
+
const container = scrollRef.current;
|
|
6605
|
+
const line = container?.querySelector(`[data-id="${activeId}"]`)?.getBoundingClientRect();
|
|
6606
|
+
if (!container || !line) return;
|
|
6607
|
+
const view = container.getBoundingClientRect();
|
|
6608
|
+
if (line.top < view.top || line.height > container.clientHeight)
|
|
6609
|
+
container.scrollTop += line.top - view.top;
|
|
6610
|
+
else if (line.bottom > view.bottom)
|
|
6611
|
+
container.scrollTop += line.bottom - view.bottom;
|
|
6612
|
+
}, [activeId, utterances, virtualize, virtualizer]);
|
|
6613
|
+
React13__namespace.useEffect(() => {
|
|
6614
|
+
if (!detached) scrollToActive();
|
|
6615
|
+
}, [activeId, detached, scrollToActive]);
|
|
6616
|
+
const onScroll = () => {
|
|
6617
|
+
const container = scrollRef.current;
|
|
6618
|
+
if (detached || !activeId || !container || Date.now() < followUntil.current)
|
|
6619
|
+
return;
|
|
6620
|
+
const line = container.querySelector(`[data-id="${activeId}"]`)?.getBoundingClientRect();
|
|
6621
|
+
const view = container.getBoundingClientRect();
|
|
6622
|
+
if (!line || line.bottom <= view.top || line.top >= view.bottom)
|
|
6623
|
+
setDetached(true);
|
|
6624
|
+
};
|
|
6625
|
+
const play = React13__namespace.useCallback(
|
|
6626
|
+
(u) => {
|
|
6627
|
+
setDetached(false);
|
|
6628
|
+
onPlay(u);
|
|
6629
|
+
},
|
|
6630
|
+
[onPlay]
|
|
6631
|
+
);
|
|
6632
|
+
const row = (u, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6633
|
+
Row,
|
|
6634
|
+
{
|
|
6635
|
+
utterance: u,
|
|
6636
|
+
speaker: speakersById.get(u.speakerId),
|
|
6637
|
+
overlap: u.overlapSpeakerIds?.map((id) => speakersById.get(id)?.name ?? id).join(", "),
|
|
6638
|
+
active: u.id === activeId,
|
|
6639
|
+
playing: u.id === playingId,
|
|
6640
|
+
query,
|
|
6641
|
+
onPlay: play,
|
|
6642
|
+
onPause,
|
|
6643
|
+
labels,
|
|
6644
|
+
setSize: index === void 0 ? void 0 : utterances.length,
|
|
6645
|
+
posInSet: index === void 0 ? void 0 : index + 1
|
|
6646
|
+
}
|
|
6647
|
+
);
|
|
6648
|
+
if (utterances.length === 0)
|
|
6649
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6650
|
+
"p",
|
|
6651
|
+
{
|
|
6652
|
+
role: "status",
|
|
6653
|
+
className: "text-muted-foreground flex h-80 items-center justify-center p-6 text-center text-sm",
|
|
6654
|
+
children: emptyMessage
|
|
6655
|
+
}
|
|
6656
|
+
);
|
|
6657
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
6658
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6659
|
+
"div",
|
|
6660
|
+
{
|
|
6661
|
+
ref: scrollRef,
|
|
6662
|
+
role: "list",
|
|
6663
|
+
"aria-label": labels.transcript,
|
|
6664
|
+
tabIndex: 0,
|
|
6665
|
+
onWheel: () => setDetached(true),
|
|
6666
|
+
onTouchMove: () => setDetached(true),
|
|
6667
|
+
onScroll,
|
|
6668
|
+
onKeyDown: (e) => {
|
|
6669
|
+
if (e.target === e.currentTarget && USER_SCROLL_KEYS.has(e.key))
|
|
6670
|
+
setDetached(true);
|
|
6671
|
+
},
|
|
6672
|
+
className: "focus-visible:ring-ring h-80 overflow-y-auto rounded-lg focus-visible:ring-2 focus-visible:outline-none",
|
|
6673
|
+
children: virtualize ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6674
|
+
"div",
|
|
6675
|
+
{
|
|
6676
|
+
className: "relative w-full",
|
|
6677
|
+
style: { height: virtualizer.getTotalSize() },
|
|
6678
|
+
children: virtualizer.getVirtualItems().map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6679
|
+
"div",
|
|
6680
|
+
{
|
|
6681
|
+
"data-index": item.index,
|
|
6682
|
+
ref: virtualizer.measureElement,
|
|
6683
|
+
className: "absolute inset-x-0 top-0",
|
|
6684
|
+
style: { transform: `translateY(${item.start}px)` },
|
|
6685
|
+
children: row(utterances[item.index], item.index)
|
|
6686
|
+
},
|
|
6687
|
+
item.key
|
|
6688
|
+
))
|
|
6689
|
+
}
|
|
6690
|
+
) : utterances.map((u) => /* @__PURE__ */ jsxRuntime.jsx(React13__namespace.Fragment, { children: row(u) }, u.id))
|
|
6691
|
+
}
|
|
6692
|
+
),
|
|
6693
|
+
detached && activeId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6694
|
+
chunkFSARTLUE_cjs.Button,
|
|
6695
|
+
{
|
|
6696
|
+
type: "button",
|
|
6697
|
+
variant: "primary",
|
|
6698
|
+
size: "sm",
|
|
6699
|
+
onClick: () => {
|
|
6700
|
+
setDetached(false);
|
|
6701
|
+
scrollToActive();
|
|
6702
|
+
},
|
|
6703
|
+
className: "absolute end-4 bottom-3 rounded-full shadow",
|
|
6704
|
+
children: labels.backToCurrent
|
|
6705
|
+
}
|
|
6706
|
+
)
|
|
6707
|
+
] });
|
|
6708
|
+
}
|
|
6709
|
+
function usePlayback(src) {
|
|
6710
|
+
const audioRef = React13__namespace.useRef(null);
|
|
6711
|
+
const rangeRef = React13__namespace.useRef(null);
|
|
6712
|
+
const [currentTime, setCurrentTime] = React13__namespace.useState(0);
|
|
6713
|
+
const [volume, setVolumeState] = React13__namespace.useState(1);
|
|
6714
|
+
const [error, setError] = React13__namespace.useState(null);
|
|
6715
|
+
const [range, setRangeState] = React13__namespace.useState(null);
|
|
6716
|
+
const setRange = React13__namespace.useCallback((next) => {
|
|
6717
|
+
rangeRef.current = next;
|
|
6718
|
+
setRangeState(next);
|
|
6719
|
+
}, []);
|
|
6720
|
+
const stopAtRangeEnd = React13__namespace.useCallback(
|
|
6721
|
+
(audio) => {
|
|
6722
|
+
const r = rangeRef.current;
|
|
6723
|
+
if (!r || audio.currentTime < r.end) return false;
|
|
6724
|
+
audio.pause();
|
|
6725
|
+
audio.currentTime = r.end;
|
|
6726
|
+
setCurrentTime(r.end);
|
|
6727
|
+
setRange(null);
|
|
6728
|
+
return true;
|
|
6729
|
+
},
|
|
6730
|
+
[setRange]
|
|
6731
|
+
);
|
|
6732
|
+
const transport = chunkQHCAWDMG_cjs.useMediaTransport({
|
|
6733
|
+
errorLabel: "recording",
|
|
6734
|
+
onError: () => setError("load"),
|
|
6735
|
+
// rAF is paused in background tabs; timeupdate still fires, so it also keeps time and enforces the interval end.
|
|
6736
|
+
onTimeUpdate: (ms) => {
|
|
6737
|
+
const audio = audioRef.current;
|
|
6738
|
+
if (audio && stopAtRangeEnd(audio)) return;
|
|
6739
|
+
setCurrentTime(ms / 1e3);
|
|
6740
|
+
},
|
|
6741
|
+
onStateChange: (state) => {
|
|
6742
|
+
if (state === "paused" && audioRef.current)
|
|
6743
|
+
setCurrentTime(audioRef.current.currentTime);
|
|
6744
|
+
},
|
|
6745
|
+
onEnded: () => setRange(null)
|
|
6746
|
+
});
|
|
6747
|
+
const {
|
|
6748
|
+
setMediaElement: attachTransport,
|
|
6749
|
+
isPlaying: playing,
|
|
6750
|
+
durationMs,
|
|
6751
|
+
playbackRate: rate,
|
|
6752
|
+
setPlaybackRate: setRate,
|
|
6753
|
+
seekToMs,
|
|
6754
|
+
pause
|
|
6755
|
+
} = transport;
|
|
6756
|
+
const volumeRef = React13__namespace.useRef(volume);
|
|
6757
|
+
volumeRef.current = volume;
|
|
6758
|
+
const setMediaElement = React13__namespace.useCallback(
|
|
6759
|
+
(element) => {
|
|
6760
|
+
audioRef.current = element;
|
|
6761
|
+
if (element) element.volume = volumeRef.current;
|
|
6762
|
+
attachTransport(element);
|
|
6763
|
+
},
|
|
6764
|
+
[attachTransport]
|
|
6765
|
+
);
|
|
6766
|
+
React13__namespace.useEffect(() => {
|
|
6767
|
+
setCurrentTime(0);
|
|
6768
|
+
setError(null);
|
|
6769
|
+
setRange(null);
|
|
6770
|
+
}, [src, setRange]);
|
|
6771
|
+
React13__namespace.useEffect(() => {
|
|
6772
|
+
const audio = audioRef.current;
|
|
6773
|
+
if (!playing || !audio) return;
|
|
6774
|
+
let frame = 0;
|
|
6775
|
+
const tick = () => {
|
|
6776
|
+
setCurrentTime(audio.currentTime);
|
|
6777
|
+
if (!stopAtRangeEnd(audio)) frame = requestAnimationFrame(tick);
|
|
6778
|
+
};
|
|
6779
|
+
frame = requestAnimationFrame(tick);
|
|
6780
|
+
return () => cancelAnimationFrame(frame);
|
|
6781
|
+
}, [playing, stopAtRangeEnd]);
|
|
6782
|
+
const start = React13__namespace.useCallback((audio) => {
|
|
6783
|
+
setError((e) => e === "play" ? null : e);
|
|
6784
|
+
audio.play()?.catch((e) => {
|
|
6785
|
+
if (e?.name !== "AbortError")
|
|
6786
|
+
setError("play");
|
|
6787
|
+
});
|
|
6788
|
+
}, []);
|
|
6789
|
+
const play = React13__namespace.useCallback(() => {
|
|
6790
|
+
const audio = audioRef.current;
|
|
6791
|
+
if (!audio) return;
|
|
6792
|
+
setRange(null);
|
|
6793
|
+
if (audio.ended) audio.currentTime = 0;
|
|
6794
|
+
start(audio);
|
|
6795
|
+
}, [start, setRange]);
|
|
6796
|
+
const seek = React13__namespace.useCallback(
|
|
6797
|
+
(time) => {
|
|
6798
|
+
const audio = audioRef.current;
|
|
6799
|
+
if (!audio) return;
|
|
6800
|
+
const max = Number.isFinite(audio.duration) ? audio.duration : time;
|
|
6801
|
+
const t = Math.min(Math.max(0, time), max);
|
|
6802
|
+
const r = rangeRef.current;
|
|
6803
|
+
if (r && (t < r.start || t >= r.end)) setRange(null);
|
|
6804
|
+
seekToMs(t * 1e3);
|
|
6805
|
+
setCurrentTime(t);
|
|
6806
|
+
},
|
|
6807
|
+
[setRange, seekToMs]
|
|
6808
|
+
);
|
|
6809
|
+
const playRange = React13__namespace.useCallback(
|
|
6810
|
+
(next) => {
|
|
6811
|
+
const audio = audioRef.current;
|
|
6812
|
+
if (!audio) return;
|
|
6813
|
+
const playable = next.end > next.start;
|
|
6814
|
+
setRange(playable ? next : null);
|
|
6815
|
+
seekToMs(next.start * 1e3);
|
|
6816
|
+
setCurrentTime(next.start);
|
|
6817
|
+
if (playable) start(audio);
|
|
6818
|
+
else pause();
|
|
6819
|
+
},
|
|
6820
|
+
[start, pause, setRange, seekToMs]
|
|
6821
|
+
);
|
|
6822
|
+
const setVolume = React13__namespace.useCallback((next) => {
|
|
6823
|
+
setVolumeState(next);
|
|
6824
|
+
if (audioRef.current) audioRef.current.volume = next;
|
|
6825
|
+
}, []);
|
|
6826
|
+
return {
|
|
6827
|
+
setMediaElement,
|
|
6828
|
+
playing,
|
|
6829
|
+
currentTime,
|
|
6830
|
+
duration: durationMs / 1e3,
|
|
6831
|
+
rate,
|
|
6832
|
+
volume,
|
|
6833
|
+
error,
|
|
6834
|
+
range,
|
|
6835
|
+
play,
|
|
6836
|
+
pause,
|
|
6837
|
+
toggle: playing ? pause : play,
|
|
6838
|
+
seek,
|
|
6839
|
+
playRange,
|
|
6840
|
+
setRate,
|
|
6841
|
+
setVolume
|
|
6842
|
+
};
|
|
6843
|
+
}
|
|
6844
|
+
var BAR_PITCH = 3;
|
|
6845
|
+
var BAR_WIDTH = 2;
|
|
6846
|
+
function Waveform({
|
|
6847
|
+
peaks,
|
|
6848
|
+
view,
|
|
6849
|
+
currentTime
|
|
6850
|
+
}) {
|
|
6851
|
+
const canvasRef = React13__namespace.useRef(null);
|
|
6852
|
+
const [width, setWidth] = React13__namespace.useState(0);
|
|
6853
|
+
React13__namespace.useEffect(() => {
|
|
6854
|
+
const canvas = canvasRef.current;
|
|
6855
|
+
if (!canvas) return;
|
|
6856
|
+
const observer = new ResizeObserver(
|
|
6857
|
+
() => setWidth(canvas.clientWidth || 0)
|
|
6858
|
+
);
|
|
6859
|
+
observer.observe(canvas);
|
|
6860
|
+
return () => observer.disconnect();
|
|
6861
|
+
}, []);
|
|
6862
|
+
React13__namespace.useEffect(() => {
|
|
6863
|
+
const canvas = canvasRef.current;
|
|
6864
|
+
const ctx = canvas?.getContext("2d");
|
|
6865
|
+
if (!canvas || !ctx || width === 0) return;
|
|
6866
|
+
const height = canvas.clientHeight;
|
|
6867
|
+
const dpr = window.devicePixelRatio || 1;
|
|
6868
|
+
const bufferWidth = Math.round(width * dpr);
|
|
6869
|
+
const bufferHeight = Math.round(height * dpr);
|
|
6870
|
+
if (canvas.width !== bufferWidth || canvas.height !== bufferHeight) {
|
|
6871
|
+
canvas.width = bufferWidth;
|
|
6872
|
+
canvas.height = bufferHeight;
|
|
6873
|
+
}
|
|
6874
|
+
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
6875
|
+
ctx.clearRect(0, 0, width, height);
|
|
6876
|
+
if (!peaks || view.span <= 0) return;
|
|
6877
|
+
ctx.fillStyle = getComputedStyle(canvas).color;
|
|
6878
|
+
const secondsPerPx = view.span / width;
|
|
6879
|
+
for (let x = 0; x < width; x += BAR_PITCH) {
|
|
6880
|
+
const t0 = view.start + x * secondsPerPx;
|
|
6881
|
+
const from = Math.floor(t0 * peaks.perSecond);
|
|
6882
|
+
const to = Math.max(
|
|
6883
|
+
from + 1,
|
|
6884
|
+
Math.ceil((t0 + BAR_PITCH * secondsPerPx) * peaks.perSecond)
|
|
6885
|
+
);
|
|
6886
|
+
let peak = 0;
|
|
6887
|
+
for (let i = from; i < to && i < peaks.data.length; i++)
|
|
6888
|
+
if (peaks.data[i] > peak) peak = peaks.data[i];
|
|
6889
|
+
const bar = Math.max(1, peak * height);
|
|
6890
|
+
ctx.globalAlpha = t0 < currentTime ? 1 : 0.35;
|
|
6891
|
+
ctx.fillRect(x, (height - bar) / 2, BAR_WIDTH, bar);
|
|
6892
|
+
}
|
|
6893
|
+
}, [peaks, view, currentTime, width]);
|
|
6894
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6895
|
+
"canvas",
|
|
6896
|
+
{
|
|
6897
|
+
ref: canvasRef,
|
|
6898
|
+
"aria-hidden": "true",
|
|
6899
|
+
className: "text-primary-600 dark:text-primary-400 block h-14 w-full"
|
|
6900
|
+
}
|
|
6901
|
+
);
|
|
6902
|
+
}
|
|
6903
|
+
var SEEK_STEP_SECONDS = 5;
|
|
6904
|
+
var ALL_SPEAKERS = "all";
|
|
6905
|
+
var SOME_SPEAKERS = "some";
|
|
6906
|
+
var SPEAKER_PREFIX = "speaker:";
|
|
6907
|
+
function inertOutside(element) {
|
|
6908
|
+
const changed = [];
|
|
6909
|
+
for (let node = element; node && node !== document.body; node = node.parentElement) {
|
|
6910
|
+
for (const sibling of Array.from(node.parentElement?.children ?? [])) {
|
|
6911
|
+
if (sibling === node || sibling.hasAttribute("inert")) continue;
|
|
6912
|
+
sibling.setAttribute("inert", "");
|
|
6913
|
+
changed.push(sibling);
|
|
6914
|
+
}
|
|
6915
|
+
}
|
|
6916
|
+
return () => changed.forEach((el) => el.removeAttribute("inert"));
|
|
6917
|
+
}
|
|
6918
|
+
var TRACK_OFFSET = "7.25rem";
|
|
6919
|
+
var pressedButton = "aria-pressed:bg-primary-50 aria-pressed:text-primary-800 dark:aria-pressed:bg-primary-950 dark:aria-pressed:text-primary-200";
|
|
6920
|
+
function TranscriptPlayer({
|
|
6921
|
+
src,
|
|
6922
|
+
transcript,
|
|
6923
|
+
speakerLabels,
|
|
6924
|
+
peaks: providedPeaks,
|
|
6925
|
+
labels: labelOverrides,
|
|
6926
|
+
className
|
|
6927
|
+
}) {
|
|
6928
|
+
const rootRef = React13__namespace.useRef(null);
|
|
6929
|
+
const fullscreenButtonRef = React13__namespace.useRef(null);
|
|
6930
|
+
const transcriptHeadingId = React13__namespace.useId();
|
|
6931
|
+
const labels = React13__namespace.useMemo(
|
|
6932
|
+
() => ({ ...DEFAULT_TRANSCRIPT_PLAYER_LABELS, ...labelOverrides }),
|
|
6933
|
+
[labelOverrides]
|
|
6934
|
+
);
|
|
6935
|
+
const playback = usePlayback(src);
|
|
6936
|
+
const peaks = useWaveformPeaks(src, providedPeaks);
|
|
6937
|
+
const utterances = React13__namespace.useMemo(
|
|
6938
|
+
() => toUtterances(transcript),
|
|
6939
|
+
[transcript]
|
|
6940
|
+
);
|
|
6941
|
+
const segments = React13__namespace.useMemo(
|
|
6942
|
+
() => toLaneSegments(transcript, utterances),
|
|
6943
|
+
[transcript, utterances]
|
|
6944
|
+
);
|
|
6945
|
+
const speakers = React13__namespace.useMemo(
|
|
6946
|
+
() => toSpeakers(
|
|
6947
|
+
transcript,
|
|
6948
|
+
[
|
|
6949
|
+
...segments.map((s) => s.speakerId),
|
|
6950
|
+
...utterances.flatMap((u) => [
|
|
6951
|
+
u.speakerId,
|
|
6952
|
+
...u.overlapSpeakerIds ?? []
|
|
6953
|
+
])
|
|
6954
|
+
],
|
|
6955
|
+
speakerLabels,
|
|
6956
|
+
labels.unknownSpeaker
|
|
6957
|
+
),
|
|
6958
|
+
[transcript, segments, utterances, speakerLabels, labels.unknownSpeaker]
|
|
6959
|
+
);
|
|
6960
|
+
const speakersById = React13__namespace.useMemo(
|
|
6961
|
+
() => new Map(speakers.map((s) => [s.id, s])),
|
|
6962
|
+
[speakers]
|
|
6963
|
+
);
|
|
6964
|
+
const talk = React13__namespace.useMemo(() => talkTime(segments), [segments]);
|
|
6965
|
+
const overlapping = React13__namespace.useMemo(() => hasOverlap(segments), [segments]);
|
|
6966
|
+
const dataEnd = React13__namespace.useMemo(
|
|
6967
|
+
() => [
|
|
6968
|
+
finiteSeconds(transcript.durationMs),
|
|
6969
|
+
...segments.map((s) => s.end),
|
|
6970
|
+
...utterances.map((u) => u.end)
|
|
6971
|
+
].reduce((end, t) => Number.isFinite(t) && t > end ? t : end, 0),
|
|
6972
|
+
[transcript.durationMs, segments, utterances]
|
|
6973
|
+
);
|
|
6974
|
+
const duration = Math.max(playback.duration, dataEnd);
|
|
6975
|
+
const [userView, setUserView] = React13__namespace.useState(null);
|
|
6976
|
+
const [follow, setFollow] = React13__namespace.useState(true);
|
|
6977
|
+
const [hidden, setHidden] = React13__namespace.useState(/* @__PURE__ */ new Set());
|
|
6978
|
+
const [query, setQuery] = React13__namespace.useState("");
|
|
6979
|
+
const [fullscreen, setFullscreen] = React13__namespace.useState(false);
|
|
6980
|
+
const [lastVolume, setLastVolume] = React13__namespace.useState(1);
|
|
6981
|
+
React13__namespace.useEffect(() => {
|
|
6982
|
+
setUserView(null);
|
|
6983
|
+
setFollow(true);
|
|
6984
|
+
setHidden(/* @__PURE__ */ new Set());
|
|
6985
|
+
setQuery("");
|
|
6986
|
+
}, [src]);
|
|
6987
|
+
const view = React13__namespace.useMemo(
|
|
6988
|
+
() => clampView(userView ?? initialView(duration), duration),
|
|
6989
|
+
[userView, duration]
|
|
6990
|
+
);
|
|
6991
|
+
const { currentTime, playing } = playback;
|
|
6992
|
+
React13__namespace.useEffect(() => {
|
|
6993
|
+
if (!follow || !playing) return;
|
|
6994
|
+
const next = followView(view, currentTime, duration);
|
|
6995
|
+
if (next.start !== view.start) setUserView(next);
|
|
6996
|
+
}, [follow, playing, currentTime, duration, view]);
|
|
6997
|
+
React13__namespace.useEffect(() => {
|
|
6998
|
+
const onChange = () => {
|
|
6999
|
+
if (!document.fullscreenElement) setFullscreen(false);
|
|
7000
|
+
};
|
|
7001
|
+
document.addEventListener("fullscreenchange", onChange);
|
|
7002
|
+
return () => document.removeEventListener("fullscreenchange", onChange);
|
|
7003
|
+
}, []);
|
|
7004
|
+
React13__namespace.useEffect(() => {
|
|
7005
|
+
const root = rootRef.current;
|
|
7006
|
+
const button = fullscreenButtonRef.current;
|
|
7007
|
+
if (!fullscreen || !root) return;
|
|
7008
|
+
const restore = inertOutside(root);
|
|
7009
|
+
const onKeyDown = (event) => {
|
|
7010
|
+
if (event.key !== "Escape" || document.fullscreenElement) return;
|
|
7011
|
+
const target = event.target;
|
|
7012
|
+
if (target?.closest?.('[aria-expanded="true"]')) return;
|
|
7013
|
+
if (target?.type === "search" && target.value) return;
|
|
7014
|
+
setFullscreen(false);
|
|
7015
|
+
};
|
|
7016
|
+
document.addEventListener("keydown", onKeyDown);
|
|
7017
|
+
return () => {
|
|
7018
|
+
document.removeEventListener("keydown", onKeyDown);
|
|
7019
|
+
restore();
|
|
7020
|
+
if (document.fullscreenElement === document.documentElement)
|
|
7021
|
+
void document.exitFullscreen?.()?.catch(() => {
|
|
7022
|
+
});
|
|
7023
|
+
button?.focus();
|
|
7024
|
+
};
|
|
7025
|
+
}, [fullscreen]);
|
|
7026
|
+
const visibleSpeakers = React13__namespace.useMemo(
|
|
7027
|
+
() => speakers.filter((s) => !hidden.has(s.id)),
|
|
7028
|
+
[speakers, hidden]
|
|
7029
|
+
);
|
|
7030
|
+
const visibleSegments = React13__namespace.useMemo(
|
|
7031
|
+
() => segments.filter((s) => !hidden.has(s.speakerId)),
|
|
7032
|
+
[segments, hidden]
|
|
7033
|
+
);
|
|
7034
|
+
const shown = React13__namespace.useMemo(
|
|
7035
|
+
() => filterUtterances(utterances, hidden, query),
|
|
7036
|
+
[utterances, hidden, query]
|
|
7037
|
+
);
|
|
7038
|
+
const active = activeUtteranceAt(shown, currentTime);
|
|
7039
|
+
const playingId = playing && playback.range?.id || null;
|
|
7040
|
+
const canPlay = Boolean(src) && playback.error !== "load";
|
|
7041
|
+
const { playRange, seek, pause } = playback;
|
|
7042
|
+
const seekTo = React13__namespace.useCallback(
|
|
7043
|
+
(time) => {
|
|
7044
|
+
seek(time);
|
|
7045
|
+
if (follow)
|
|
7046
|
+
setUserView(
|
|
7047
|
+
(current) => followView(
|
|
7048
|
+
clampView(current ?? initialView(duration), duration),
|
|
7049
|
+
Math.min(Math.max(0, time), duration),
|
|
7050
|
+
duration
|
|
7051
|
+
)
|
|
7052
|
+
);
|
|
7053
|
+
},
|
|
7054
|
+
[seek, follow, duration]
|
|
7055
|
+
);
|
|
7056
|
+
const playSegment = React13__namespace.useCallback(
|
|
7057
|
+
(s) => {
|
|
7058
|
+
setFollow(true);
|
|
7059
|
+
playRange(s);
|
|
7060
|
+
},
|
|
7061
|
+
[playRange]
|
|
7062
|
+
);
|
|
7063
|
+
const playUtterance = React13__namespace.useCallback(
|
|
7064
|
+
(u) => {
|
|
7065
|
+
setFollow(true);
|
|
7066
|
+
playRange(u);
|
|
7067
|
+
},
|
|
7068
|
+
[playRange]
|
|
7069
|
+
);
|
|
7070
|
+
const navigate = (next) => {
|
|
7071
|
+
setFollow(false);
|
|
7072
|
+
setUserView(next);
|
|
7073
|
+
};
|
|
7074
|
+
const zoom = (factor) => {
|
|
7075
|
+
const anchor = currentTime >= view.start && currentTime <= view.start + view.span ? currentTime : view.start + view.span / 2;
|
|
7076
|
+
setUserView(zoomView(view, factor, anchor, duration));
|
|
7077
|
+
};
|
|
7078
|
+
const toggleSpeaker = React13__namespace.useCallback((id) => {
|
|
7079
|
+
setHidden((prev) => {
|
|
7080
|
+
const next = new Set(prev);
|
|
7081
|
+
if (next.has(id)) next.delete(id);
|
|
7082
|
+
else next.add(id);
|
|
7083
|
+
return next;
|
|
7084
|
+
});
|
|
7085
|
+
}, []);
|
|
7086
|
+
const visibleIds = visibleSpeakers.map((s) => s.id);
|
|
7087
|
+
const filterValue = hidden.size === 0 ? ALL_SPEAKERS : visibleIds.length === 1 ? SPEAKER_PREFIX + visibleIds[0] : SOME_SPEAKERS;
|
|
7088
|
+
const onSeekKey = (event) => {
|
|
7089
|
+
const step = {
|
|
7090
|
+
ArrowLeft: -SEEK_STEP_SECONDS,
|
|
7091
|
+
ArrowRight: SEEK_STEP_SECONDS,
|
|
7092
|
+
Home: -duration,
|
|
7093
|
+
End: duration
|
|
7094
|
+
};
|
|
7095
|
+
if (event.key === " " || event.key === "Enter") {
|
|
7096
|
+
event.preventDefault();
|
|
7097
|
+
playback.toggle();
|
|
7098
|
+
} else if (event.key in step) {
|
|
7099
|
+
event.preventDefault();
|
|
7100
|
+
seekTo(currentTime + step[event.key]);
|
|
7101
|
+
}
|
|
7102
|
+
};
|
|
7103
|
+
const toggleFullscreen = () => {
|
|
7104
|
+
if (fullscreen) {
|
|
7105
|
+
setFullscreen(false);
|
|
7106
|
+
if (document.fullscreenElement) void document.exitFullscreen?.();
|
|
7107
|
+
return;
|
|
7108
|
+
}
|
|
7109
|
+
setFullscreen(true);
|
|
7110
|
+
void document.documentElement.requestFullscreen?.()?.catch(() => {
|
|
7111
|
+
});
|
|
7112
|
+
};
|
|
7113
|
+
const playhead = viewFraction(currentTime, view);
|
|
7114
|
+
const playheadVisible = duration > 0 && currentTime >= view.start && currentTime <= view.start + view.span;
|
|
7115
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7116
|
+
"div",
|
|
7117
|
+
{
|
|
7118
|
+
ref: rootRef,
|
|
7119
|
+
className: chunkS5RVSXDV_cjs.cn(
|
|
7120
|
+
"text-foreground flex flex-col gap-4",
|
|
7121
|
+
fullscreen && "bg-background fixed inset-0 z-50 overflow-y-auto p-6",
|
|
7122
|
+
className
|
|
7123
|
+
),
|
|
7124
|
+
children: [
|
|
7125
|
+
src && // eslint-disable-next-line jsx-a11y/media-has-caption -- the synced transcript below is the text alternative
|
|
7126
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7127
|
+
"audio",
|
|
7128
|
+
{
|
|
7129
|
+
ref: playback.setMediaElement,
|
|
7130
|
+
src,
|
|
7131
|
+
preload: "metadata"
|
|
7132
|
+
},
|
|
7133
|
+
src
|
|
7134
|
+
),
|
|
7135
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
7136
|
+
"section",
|
|
7137
|
+
{
|
|
7138
|
+
"aria-label": labels.recording,
|
|
7139
|
+
className: "border-border bg-card text-card-foreground sticky top-0 z-10 rounded-xl border p-4",
|
|
7140
|
+
children: [
|
|
7141
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex flex-wrap items-center gap-x-4 gap-y-2", children: [
|
|
7142
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7143
|
+
chunkFSARTLUE_cjs.Button,
|
|
7144
|
+
{
|
|
7145
|
+
type: "button",
|
|
7146
|
+
variant: "primary",
|
|
7147
|
+
size: "icon",
|
|
7148
|
+
onClick: playback.toggle,
|
|
7149
|
+
disabled: !canPlay,
|
|
7150
|
+
"aria-label": playing ? labels.pause : labels.play,
|
|
7151
|
+
className: "shrink-0 rounded-full",
|
|
7152
|
+
children: playing ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pause, { "aria-hidden": "true", className: "h-4 w-4 fill-current" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
7153
|
+
lucideReact.Play,
|
|
7154
|
+
{
|
|
7155
|
+
"aria-hidden": "true",
|
|
7156
|
+
className: "ms-0.5 h-4 w-4 fill-current"
|
|
7157
|
+
}
|
|
7158
|
+
)
|
|
7159
|
+
}
|
|
7160
|
+
),
|
|
7161
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { dir: "ltr", className: "text-sm tabular-nums", children: [
|
|
7162
|
+
formatClock(currentTime),
|
|
7163
|
+
" ",
|
|
7164
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
|
|
7165
|
+
"/ ",
|
|
7166
|
+
formatClock(duration)
|
|
7167
|
+
] })
|
|
7168
|
+
] }),
|
|
7169
|
+
playback.error && /* @__PURE__ */ jsxRuntime.jsx("span", { role: "alert", className: "text-destructive text-sm", children: playback.error === "load" ? labels.loadError : labels.playError }),
|
|
7170
|
+
!src && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm", children: labels.noRecording }),
|
|
7171
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ms-auto flex items-center gap-2", children: [
|
|
7172
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7173
|
+
chunkFSARTLUE_cjs.Button,
|
|
7174
|
+
{
|
|
7175
|
+
type: "button",
|
|
7176
|
+
variant: "ghost",
|
|
7177
|
+
size: "icon-sm",
|
|
7178
|
+
"aria-label": playback.volume === 0 ? labels.unmute : labels.mute,
|
|
7179
|
+
onClick: () => {
|
|
7180
|
+
if (playback.volume === 0) playback.setVolume(lastVolume || 1);
|
|
7181
|
+
else {
|
|
7182
|
+
setLastVolume(playback.volume);
|
|
7183
|
+
playback.setVolume(0);
|
|
7184
|
+
}
|
|
7185
|
+
},
|
|
7186
|
+
children: playback.volume === 0 ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.VolumeX, { "aria-hidden": "true", className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Volume2, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
7187
|
+
}
|
|
7188
|
+
),
|
|
7189
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7190
|
+
chunkGDKOYVX3_cjs.Slider,
|
|
7191
|
+
{
|
|
7192
|
+
"aria-label": labels.volume,
|
|
7193
|
+
min: 0,
|
|
7194
|
+
max: 1,
|
|
7195
|
+
step: 0.05,
|
|
7196
|
+
value: playback.volume,
|
|
7197
|
+
onValueChange: playback.setVolume,
|
|
7198
|
+
size: "sm",
|
|
7199
|
+
className: "w-24"
|
|
7200
|
+
}
|
|
7201
|
+
),
|
|
7202
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7203
|
+
chunkUPWIJC6I_cjs.Select,
|
|
7204
|
+
{
|
|
7205
|
+
"aria-label": labels.playbackSpeed,
|
|
7206
|
+
size: "sm",
|
|
7207
|
+
className: "w-20",
|
|
7208
|
+
value: String(playback.rate),
|
|
7209
|
+
onValueChange: (v) => playback.setRate(Number(v)),
|
|
7210
|
+
options: chunk4UDEMJE4_cjs.PLAYBACK_SPEEDS.map((s) => ({
|
|
7211
|
+
value: String(s),
|
|
7212
|
+
label: labels.formatSpeed(s)
|
|
7213
|
+
}))
|
|
7214
|
+
}
|
|
7215
|
+
),
|
|
7216
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7217
|
+
chunkFSARTLUE_cjs.Button,
|
|
7218
|
+
{
|
|
7219
|
+
ref: fullscreenButtonRef,
|
|
7220
|
+
type: "button",
|
|
7221
|
+
variant: "ghost",
|
|
7222
|
+
size: "icon-sm",
|
|
7223
|
+
"aria-label": fullscreen ? labels.exitFullScreen : labels.fullScreen,
|
|
7224
|
+
onClick: toggleFullscreen,
|
|
7225
|
+
children: fullscreen ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Minimize2, { "aria-hidden": "true", className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Maximize2, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
7226
|
+
}
|
|
7227
|
+
)
|
|
7228
|
+
] })
|
|
7229
|
+
] }),
|
|
7230
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { dir: "ltr", className: "relative space-y-1.5", children: [
|
|
7231
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ROW_GRID, children: [
|
|
7232
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {}),
|
|
7233
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7234
|
+
"div",
|
|
7235
|
+
{
|
|
7236
|
+
role: "slider",
|
|
7237
|
+
tabIndex: 0,
|
|
7238
|
+
"aria-label": labels.seek,
|
|
7239
|
+
"aria-valuemin": 0,
|
|
7240
|
+
"aria-valuemax": Math.round(duration),
|
|
7241
|
+
"aria-valuenow": Math.round(currentTime),
|
|
7242
|
+
"aria-valuetext": labels.seekValue(
|
|
7243
|
+
formatClock(currentTime),
|
|
7244
|
+
formatClock(duration)
|
|
7245
|
+
),
|
|
7246
|
+
onKeyDown: onSeekKey,
|
|
7247
|
+
onClick: (e) => seekTo(timeAtPointer(e.clientX, e.currentTarget, view)),
|
|
7248
|
+
className: "focus-visible:ring-ring cursor-pointer rounded focus-visible:ring-2 focus-visible:outline-none",
|
|
7249
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Waveform, { peaks, view, currentTime })
|
|
7250
|
+
}
|
|
7251
|
+
)
|
|
7252
|
+
] }),
|
|
7253
|
+
visibleSpeakers.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7254
|
+
SpeakerLanes,
|
|
7255
|
+
{
|
|
7256
|
+
speakers: visibleSpeakers,
|
|
7257
|
+
segments: visibleSegments,
|
|
7258
|
+
view,
|
|
7259
|
+
playingId,
|
|
7260
|
+
onPlaySegment: playSegment,
|
|
7261
|
+
onPause: pause,
|
|
7262
|
+
onSeek: seekTo,
|
|
7263
|
+
labels
|
|
7264
|
+
},
|
|
7265
|
+
src ?? ""
|
|
7266
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-2 text-center text-xs", children: speakers.length ? labels.allSpeakersHidden : labels.noActivity }),
|
|
7267
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS5RVSXDV_cjs.cn(ROW_GRID, "h-4"), "aria-hidden": "true", children: [
|
|
7268
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {}),
|
|
7269
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground relative text-[11px] tabular-nums", children: ticksFor(view).map((t) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7270
|
+
"span",
|
|
7271
|
+
{
|
|
7272
|
+
className: "absolute -translate-x-1/2",
|
|
7273
|
+
style: {
|
|
7274
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline
|
|
7275
|
+
left: `${viewFraction(t, view) * 100}%`
|
|
7276
|
+
},
|
|
7277
|
+
children: formatClock(t)
|
|
7278
|
+
},
|
|
7279
|
+
t
|
|
7280
|
+
)) })
|
|
7281
|
+
] }),
|
|
7282
|
+
playheadVisible && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7283
|
+
"div",
|
|
7284
|
+
{
|
|
7285
|
+
"aria-hidden": "true",
|
|
7286
|
+
className: "pointer-events-none absolute inset-y-0",
|
|
7287
|
+
style: {
|
|
7288
|
+
// rtl-ignore -- time axis inside the player's dir="ltr" timeline
|
|
7289
|
+
left: `calc(${TRACK_OFFSET} + (100% - ${TRACK_OFFSET}) * ${playhead})`
|
|
7290
|
+
},
|
|
7291
|
+
children: [
|
|
7292
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-primary-600 absolute inset-y-0 w-0.5 -translate-x-1/2" }),
|
|
7293
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-primary-800 absolute -top-5 -translate-x-1/2 rounded px-1 text-[10px] font-medium text-white tabular-nums", children: formatClock(currentTime) })
|
|
7294
|
+
]
|
|
7295
|
+
}
|
|
7296
|
+
)
|
|
7297
|
+
] }),
|
|
7298
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { dir: "ltr", className: chunkS5RVSXDV_cjs.cn(ROW_GRID, "mt-3 items-start"), children: [
|
|
7299
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
|
|
7300
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7301
|
+
chunkFSARTLUE_cjs.Button,
|
|
7302
|
+
{
|
|
7303
|
+
type: "button",
|
|
7304
|
+
variant: "ghost",
|
|
7305
|
+
size: "icon-sm",
|
|
7306
|
+
"aria-label": labels.zoomOut,
|
|
7307
|
+
disabled: view.span >= duration,
|
|
7308
|
+
onClick: () => zoom(2),
|
|
7309
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ZoomOut, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
7310
|
+
}
|
|
7311
|
+
),
|
|
7312
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7313
|
+
chunkFSARTLUE_cjs.Button,
|
|
7314
|
+
{
|
|
7315
|
+
type: "button",
|
|
7316
|
+
variant: "ghost",
|
|
7317
|
+
size: "icon-sm",
|
|
7318
|
+
"aria-label": labels.zoomIn,
|
|
7319
|
+
disabled: view.span <= Math.min(MIN_VIEW_SECONDS, duration),
|
|
7320
|
+
onClick: () => zoom(0.5),
|
|
7321
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ZoomIn, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
7322
|
+
}
|
|
7323
|
+
),
|
|
7324
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7325
|
+
chunkFSARTLUE_cjs.Button,
|
|
7326
|
+
{
|
|
7327
|
+
type: "button",
|
|
7328
|
+
variant: "ghost",
|
|
7329
|
+
size: "icon-sm",
|
|
7330
|
+
className: pressedButton,
|
|
7331
|
+
"aria-label": labels.followPlayback,
|
|
7332
|
+
"aria-pressed": follow,
|
|
7333
|
+
onClick: () => setFollow((f) => !f),
|
|
7334
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LocateFixed, { "aria-hidden": "true", className: "h-4 w-4" })
|
|
7335
|
+
}
|
|
7336
|
+
)
|
|
7337
|
+
] }),
|
|
7338
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7339
|
+
TimelineOverview,
|
|
7340
|
+
{
|
|
7341
|
+
speakers: visibleSpeakers,
|
|
7342
|
+
segments: visibleSegments,
|
|
7343
|
+
duration,
|
|
7344
|
+
view,
|
|
7345
|
+
currentTime,
|
|
7346
|
+
onViewChange: navigate,
|
|
7347
|
+
labels
|
|
7348
|
+
}
|
|
7349
|
+
)
|
|
7350
|
+
] })
|
|
7351
|
+
]
|
|
7352
|
+
}
|
|
7353
|
+
),
|
|
7354
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-[minmax(0,1fr)_18rem]", children: [
|
|
7355
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
7356
|
+
"section",
|
|
7357
|
+
{
|
|
7358
|
+
"aria-labelledby": transcriptHeadingId,
|
|
7359
|
+
className: "border-border bg-card text-card-foreground rounded-xl border p-4",
|
|
7360
|
+
children: [
|
|
7361
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex flex-wrap items-center gap-3", children: [
|
|
7362
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { id: transcriptHeadingId, className: "text-base font-semibold", children: labels.transcript }),
|
|
7363
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative min-w-40 flex-1", children: [
|
|
7364
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7365
|
+
lucideReact.Search,
|
|
7366
|
+
{
|
|
7367
|
+
"aria-hidden": "true",
|
|
7368
|
+
className: "text-muted-foreground pointer-events-none absolute start-2.5 top-1/2 h-4 w-4 -translate-y-1/2"
|
|
7369
|
+
}
|
|
7370
|
+
),
|
|
7371
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7372
|
+
chunkZ5S5JEJD_cjs.Input,
|
|
7373
|
+
{
|
|
7374
|
+
type: "search",
|
|
7375
|
+
label: labels.searchTranscript,
|
|
7376
|
+
hideLabel: true,
|
|
7377
|
+
placeholder: labels.searchPlaceholder,
|
|
7378
|
+
value: query,
|
|
7379
|
+
onChange: (e) => setQuery(e.target.value),
|
|
7380
|
+
size: "sm",
|
|
7381
|
+
className: "ps-8"
|
|
7382
|
+
}
|
|
7383
|
+
)
|
|
7384
|
+
] }),
|
|
7385
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7386
|
+
chunkUPWIJC6I_cjs.Select,
|
|
7387
|
+
{
|
|
7388
|
+
"aria-label": labels.showSpeakers,
|
|
7389
|
+
size: "sm",
|
|
7390
|
+
className: "w-44",
|
|
7391
|
+
value: filterValue,
|
|
7392
|
+
onValueChange: (v) => {
|
|
7393
|
+
if (v === ALL_SPEAKERS) setHidden(/* @__PURE__ */ new Set());
|
|
7394
|
+
else if (v.startsWith(SPEAKER_PREFIX)) {
|
|
7395
|
+
const id = v.slice(SPEAKER_PREFIX.length);
|
|
7396
|
+
setHidden(
|
|
7397
|
+
new Set(
|
|
7398
|
+
speakers.filter((s) => s.id !== id).map((s) => s.id)
|
|
7399
|
+
)
|
|
7400
|
+
);
|
|
7401
|
+
}
|
|
7402
|
+
},
|
|
7403
|
+
options: [
|
|
7404
|
+
{ value: ALL_SPEAKERS, label: labels.allSpeakers },
|
|
7405
|
+
...speakers.map((s) => ({
|
|
7406
|
+
value: SPEAKER_PREFIX + s.id,
|
|
7407
|
+
label: s.name
|
|
7408
|
+
})),
|
|
7409
|
+
...filterValue === SOME_SPEAKERS ? [
|
|
7410
|
+
{
|
|
7411
|
+
value: SOME_SPEAKERS,
|
|
7412
|
+
label: labels.someSpeakers,
|
|
7413
|
+
disabled: true
|
|
7414
|
+
}
|
|
7415
|
+
] : []
|
|
7416
|
+
]
|
|
7417
|
+
}
|
|
7418
|
+
)
|
|
7419
|
+
] }),
|
|
7420
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7421
|
+
TranscriptList,
|
|
7422
|
+
{
|
|
7423
|
+
utterances: shown,
|
|
7424
|
+
speakersById,
|
|
7425
|
+
activeId: active?.id ?? null,
|
|
7426
|
+
playingId,
|
|
7427
|
+
query,
|
|
7428
|
+
onPlay: playUtterance,
|
|
7429
|
+
onPause: pause,
|
|
7430
|
+
labels,
|
|
7431
|
+
emptyMessage: utterances.length === 0 ? labels.noTranscript : labels.noMatches
|
|
7432
|
+
},
|
|
7433
|
+
src ?? ""
|
|
7434
|
+
)
|
|
7435
|
+
]
|
|
7436
|
+
}
|
|
7437
|
+
),
|
|
7438
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
7439
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7440
|
+
SpeakerPanel,
|
|
7441
|
+
{
|
|
7442
|
+
speakers,
|
|
7443
|
+
talkTime: talk,
|
|
7444
|
+
duration,
|
|
7445
|
+
hidden,
|
|
7446
|
+
onToggle: toggleSpeaker,
|
|
7447
|
+
overlapping,
|
|
7448
|
+
labels
|
|
7449
|
+
}
|
|
7450
|
+
),
|
|
7451
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground bg-muted/50 rounded-xl p-4 text-xs", children: labels.hint })
|
|
7452
|
+
] })
|
|
7453
|
+
] })
|
|
7454
|
+
]
|
|
7455
|
+
}
|
|
7456
|
+
);
|
|
7457
|
+
}
|
|
5823
7458
|
function normalizeString(value) {
|
|
5824
7459
|
return value.trim().replace(/\s+/g, " ").toLowerCase();
|
|
5825
7460
|
}
|
|
@@ -6065,12 +7700,12 @@ function ReconciliationProposalRow({
|
|
|
6065
7700
|
);
|
|
6066
7701
|
}
|
|
6067
7702
|
function relativeTimeLabel(date) {
|
|
6068
|
-
const
|
|
6069
|
-
if (
|
|
6070
|
-
if (
|
|
6071
|
-
if (
|
|
6072
|
-
if (
|
|
6073
|
-
if (
|
|
7703
|
+
const seconds2 = Math.max(0, Math.round((Date.now() - date.getTime()) / 1e3));
|
|
7704
|
+
if (seconds2 < 45) return "just now";
|
|
7705
|
+
if (seconds2 < 90) return "1 minute ago";
|
|
7706
|
+
if (seconds2 < 3600) return `${Math.round(seconds2 / 60)} minutes ago`;
|
|
7707
|
+
if (seconds2 < 5400) return "1 hour ago";
|
|
7708
|
+
if (seconds2 < 86400) return `${Math.round(seconds2 / 3600)} hours ago`;
|
|
6074
7709
|
return date.toLocaleString();
|
|
6075
7710
|
}
|
|
6076
7711
|
function SourcePill({ source }) {
|
|
@@ -6357,7 +7992,7 @@ function AIReconciliationPanel({
|
|
|
6357
7992
|
);
|
|
6358
7993
|
const footerButtons = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6359
7994
|
onSkip && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6360
|
-
|
|
7995
|
+
chunkFSARTLUE_cjs.Button,
|
|
6361
7996
|
{
|
|
6362
7997
|
type: "button",
|
|
6363
7998
|
variant: "ghost",
|
|
@@ -6367,7 +8002,7 @@ function AIReconciliationPanel({
|
|
|
6367
8002
|
}
|
|
6368
8003
|
),
|
|
6369
8004
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6370
|
-
|
|
8005
|
+
chunkFSARTLUE_cjs.Button,
|
|
6371
8006
|
{
|
|
6372
8007
|
type: "button",
|
|
6373
8008
|
onClick: handleApply,
|
|
@@ -6410,7 +8045,7 @@ function AIReconciliationPanel({
|
|
|
6410
8045
|
]
|
|
6411
8046
|
}
|
|
6412
8047
|
) }),
|
|
6413
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: effective.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8048
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: effective.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: () => onOpenChange(false), children: "Close" }) : footerButtons })
|
|
6414
8049
|
] });
|
|
6415
8050
|
}
|
|
6416
8051
|
if (effective.length === 0) return null;
|
|
@@ -9366,7 +11001,7 @@ function BusinessHoursDaysEditor({
|
|
|
9366
11001
|
{
|
|
9367
11002
|
placement: "bottom-end",
|
|
9368
11003
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9369
|
-
|
|
11004
|
+
chunkFSARTLUE_cjs.Button,
|
|
9370
11005
|
{
|
|
9371
11006
|
type: "button",
|
|
9372
11007
|
variant: "ghost",
|
|
@@ -9400,7 +11035,7 @@ function BusinessHoursDaysEditor({
|
|
|
9400
11035
|
}
|
|
9401
11036
|
),
|
|
9402
11037
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9403
|
-
|
|
11038
|
+
chunkFSARTLUE_cjs.Button,
|
|
9404
11039
|
{
|
|
9405
11040
|
type: "button",
|
|
9406
11041
|
variant: "ghost",
|
|
@@ -9521,7 +11156,7 @@ function BusinessHoursDaysEditor({
|
|
|
9521
11156
|
}
|
|
9522
11157
|
) }),
|
|
9523
11158
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9524
|
-
|
|
11159
|
+
chunkFSARTLUE_cjs.Button,
|
|
9525
11160
|
{
|
|
9526
11161
|
type: "button",
|
|
9527
11162
|
variant: "ghost",
|
|
@@ -9737,7 +11372,7 @@ function BusinessHoursRulesEditor({
|
|
|
9737
11372
|
}
|
|
9738
11373
|
) }),
|
|
9739
11374
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9740
|
-
|
|
11375
|
+
chunkFSARTLUE_cjs.Button,
|
|
9741
11376
|
{
|
|
9742
11377
|
type: "button",
|
|
9743
11378
|
variant: "ghost",
|
|
@@ -9754,7 +11389,7 @@ function BusinessHoursRulesEditor({
|
|
|
9754
11389
|
rule.id
|
|
9755
11390
|
)),
|
|
9756
11391
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9757
|
-
|
|
11392
|
+
chunkFSARTLUE_cjs.Button,
|
|
9758
11393
|
{
|
|
9759
11394
|
type: "button",
|
|
9760
11395
|
variant: "ghost",
|
|
@@ -9871,7 +11506,7 @@ function HeaderActionButton({
|
|
|
9871
11506
|
}) {
|
|
9872
11507
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9873
11508
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9874
|
-
|
|
11509
|
+
chunkFSARTLUE_cjs.Button,
|
|
9875
11510
|
{
|
|
9876
11511
|
variant: "ghost",
|
|
9877
11512
|
size: "icon",
|
|
@@ -9882,7 +11517,7 @@ function HeaderActionButton({
|
|
|
9882
11517
|
}
|
|
9883
11518
|
),
|
|
9884
11519
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9885
|
-
|
|
11520
|
+
chunkFSARTLUE_cjs.Button,
|
|
9886
11521
|
{
|
|
9887
11522
|
variant: "ghost",
|
|
9888
11523
|
size: "sm",
|
|
@@ -9921,7 +11556,7 @@ var CaseContextBar = React13__namespace.forwardRef(
|
|
|
9921
11556
|
...props,
|
|
9922
11557
|
children: [
|
|
9923
11558
|
showBackButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9924
|
-
|
|
11559
|
+
chunkFSARTLUE_cjs.Button,
|
|
9925
11560
|
{
|
|
9926
11561
|
variant: "ghost",
|
|
9927
11562
|
size: "icon",
|
|
@@ -10026,7 +11661,7 @@ var CaseManagementHeader = React13__namespace.forwardRef(
|
|
|
10026
11661
|
),
|
|
10027
11662
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 px-5 py-3", children: [
|
|
10028
11663
|
!showContextBar && showBackButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10029
|
-
|
|
11664
|
+
chunkFSARTLUE_cjs.Button,
|
|
10030
11665
|
{
|
|
10031
11666
|
variant: "ghost",
|
|
10032
11667
|
size: "icon",
|
|
@@ -10081,7 +11716,7 @@ var CaseManagementHeader = React13__namespace.forwardRef(
|
|
|
10081
11716
|
}
|
|
10082
11717
|
),
|
|
10083
11718
|
hasDetails && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10084
|
-
|
|
11719
|
+
chunkFSARTLUE_cjs.Button,
|
|
10085
11720
|
{
|
|
10086
11721
|
variant: "ghost",
|
|
10087
11722
|
size: "icon",
|
|
@@ -10326,7 +11961,7 @@ function CheckrIntegration({
|
|
|
10326
11961
|
] })
|
|
10327
11962
|
] })
|
|
10328
11963
|
] }),
|
|
10329
|
-
connected ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11964
|
+
connected ? /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onDisconnect, children: disconnect }) : /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "primary", onClick: onConnect, children: [
|
|
10330
11965
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10331
11966
|
"svg",
|
|
10332
11967
|
{
|
|
@@ -10405,7 +12040,7 @@ function CheckrIntegration({
|
|
|
10405
12040
|
}
|
|
10406
12041
|
),
|
|
10407
12042
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "checkr-actions", className: "mb-6 flex flex-wrap gap-3", children: [
|
|
10408
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12043
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "primary", onClick: () => setShowInviteModal(true), children: [
|
|
10409
12044
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10410
12045
|
"svg",
|
|
10411
12046
|
{
|
|
@@ -10427,7 +12062,7 @@ function CheckrIntegration({
|
|
|
10427
12062
|
),
|
|
10428
12063
|
inviteCandidate
|
|
10429
12064
|
] }),
|
|
10430
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12065
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onRefresh, children: [
|
|
10431
12066
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10432
12067
|
"svg",
|
|
10433
12068
|
{
|
|
@@ -10547,7 +12182,7 @@ function CheckrIntegration({
|
|
|
10547
12182
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm", children: selectedReports.size > 0 ? `${selectedReports.size} report${selectedReports.size > 1 ? "s" : ""} selected` : noReportsSelected }),
|
|
10548
12183
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
10549
12184
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10550
|
-
|
|
12185
|
+
chunkFSARTLUE_cjs.Button,
|
|
10551
12186
|
{
|
|
10552
12187
|
variant: "outline",
|
|
10553
12188
|
size: "sm",
|
|
@@ -10557,7 +12192,7 @@ function CheckrIntegration({
|
|
|
10557
12192
|
}
|
|
10558
12193
|
),
|
|
10559
12194
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10560
|
-
|
|
12195
|
+
chunkFSARTLUE_cjs.Button,
|
|
10561
12196
|
{
|
|
10562
12197
|
variant: "primary",
|
|
10563
12198
|
size: "sm",
|
|
@@ -10629,7 +12264,7 @@ function CheckrIntegration({
|
|
|
10629
12264
|
}
|
|
10630
12265
|
),
|
|
10631
12266
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mb-4", children: "Connect your Checkr account to run background checks on candidates" }),
|
|
10632
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12267
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "primary", onClick: onConnect, children: [
|
|
10633
12268
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10634
12269
|
"svg",
|
|
10635
12270
|
{
|
|
@@ -10701,7 +12336,7 @@ function CheckrIntegration({
|
|
|
10701
12336
|
] }) }),
|
|
10702
12337
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
10703
12338
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10704
|
-
|
|
12339
|
+
chunkFSARTLUE_cjs.Button,
|
|
10705
12340
|
{
|
|
10706
12341
|
type: "button",
|
|
10707
12342
|
variant: "outline",
|
|
@@ -10709,7 +12344,7 @@ function CheckrIntegration({
|
|
|
10709
12344
|
children: cancel
|
|
10710
12345
|
}
|
|
10711
12346
|
),
|
|
10712
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12347
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", variant: "primary", children: submit })
|
|
10713
12348
|
] })
|
|
10714
12349
|
] })
|
|
10715
12350
|
] })
|
|
@@ -12012,7 +13647,7 @@ function ViewModalActions({
|
|
|
12012
13647
|
className: "relative",
|
|
12013
13648
|
children: [
|
|
12014
13649
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12015
|
-
|
|
13650
|
+
chunkFSARTLUE_cjs.Button,
|
|
12016
13651
|
{
|
|
12017
13652
|
variant: "ghost",
|
|
12018
13653
|
size: "sm",
|
|
@@ -12117,7 +13752,7 @@ function ViewModalActions({
|
|
|
12117
13752
|
}
|
|
12118
13753
|
),
|
|
12119
13754
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12120
|
-
|
|
13755
|
+
chunkFSARTLUE_cjs.Button,
|
|
12121
13756
|
{
|
|
12122
13757
|
variant: "ghost",
|
|
12123
13758
|
size: "sm",
|
|
@@ -12129,7 +13764,7 @@ function ViewModalActions({
|
|
|
12129
13764
|
}
|
|
12130
13765
|
),
|
|
12131
13766
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12132
|
-
|
|
13767
|
+
chunkFSARTLUE_cjs.Button,
|
|
12133
13768
|
{
|
|
12134
13769
|
variant: "ghost",
|
|
12135
13770
|
size: "sm",
|
|
@@ -12302,9 +13937,9 @@ var CountBadge = React13__namespace.forwardRef(
|
|
|
12302
13937
|
"? This action cannot be undone."
|
|
12303
13938
|
] }) }),
|
|
12304
13939
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
12305
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13940
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: () => setDeleteTarget(null), children: "Cancel" }),
|
|
12306
13941
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12307
|
-
|
|
13942
|
+
chunkFSARTLUE_cjs.Button,
|
|
12308
13943
|
{
|
|
12309
13944
|
variant: "danger",
|
|
12310
13945
|
onClick: () => {
|
|
@@ -12454,7 +14089,7 @@ var CountBadge = React13__namespace.forwardRef(
|
|
|
12454
14089
|
] }) }),
|
|
12455
14090
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
12456
14091
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12457
|
-
|
|
14092
|
+
chunkFSARTLUE_cjs.Button,
|
|
12458
14093
|
{
|
|
12459
14094
|
variant: "secondary",
|
|
12460
14095
|
onClick: () => {
|
|
@@ -12465,7 +14100,7 @@ var CountBadge = React13__namespace.forwardRef(
|
|
|
12465
14100
|
}
|
|
12466
14101
|
),
|
|
12467
14102
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12468
|
-
|
|
14103
|
+
chunkFSARTLUE_cjs.Button,
|
|
12469
14104
|
{
|
|
12470
14105
|
onClick: () => {
|
|
12471
14106
|
if (editTarget && onEdit) {
|
|
@@ -12579,9 +14214,9 @@ var CountBadge = React13__namespace.forwardRef(
|
|
|
12579
14214
|
] })
|
|
12580
14215
|
] }),
|
|
12581
14216
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
12582
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14217
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: () => setViewTarget(null), children: "Close" }),
|
|
12583
14218
|
onEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12584
|
-
|
|
14219
|
+
chunkFSARTLUE_cjs.Button,
|
|
12585
14220
|
{
|
|
12586
14221
|
onClick: () => {
|
|
12587
14222
|
if (viewTarget) {
|
|
@@ -12934,7 +14569,7 @@ function CSVColumnMapper({
|
|
|
12934
14569
|
) }),
|
|
12935
14570
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "csv-mapper-actions", className: "mb-4 flex flex-wrap gap-2", children: [
|
|
12936
14571
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12937
|
-
|
|
14572
|
+
chunkFSARTLUE_cjs.Button,
|
|
12938
14573
|
{
|
|
12939
14574
|
variant: "primary",
|
|
12940
14575
|
size: "sm",
|
|
@@ -12943,7 +14578,7 @@ function CSVColumnMapper({
|
|
|
12943
14578
|
}
|
|
12944
14579
|
),
|
|
12945
14580
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12946
|
-
|
|
14581
|
+
chunkFSARTLUE_cjs.Button,
|
|
12947
14582
|
{
|
|
12948
14583
|
variant: "primary",
|
|
12949
14584
|
size: "sm",
|
|
@@ -12952,7 +14587,7 @@ function CSVColumnMapper({
|
|
|
12952
14587
|
}
|
|
12953
14588
|
),
|
|
12954
14589
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12955
|
-
|
|
14590
|
+
chunkFSARTLUE_cjs.Button,
|
|
12956
14591
|
{
|
|
12957
14592
|
variant: "primary",
|
|
12958
14593
|
size: "sm",
|
|
@@ -13014,7 +14649,7 @@ function CSVColumnMapper({
|
|
|
13014
14649
|
))
|
|
13015
14650
|
}
|
|
13016
14651
|
),
|
|
13017
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "csv-mapper-footer", className: "mt-6 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14652
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "csv-mapper-footer", className: "mt-6 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "primary", onClick: onImport, disabled: importing, children: importLabel }) })
|
|
13018
14653
|
] });
|
|
13019
14654
|
}
|
|
13020
14655
|
function CSVColumnCard({
|
|
@@ -13371,7 +15006,7 @@ var DashboardWidget = React13__namespace.forwardRef(
|
|
|
13371
15006
|
count !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-primary-100 text-primary-900 dark:bg-primary-900/50 dark:text-primary-300 inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1.5 text-xs font-semibold", children: count })
|
|
13372
15007
|
] }),
|
|
13373
15008
|
headerAction ? headerAction : onAdd && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13374
|
-
|
|
15009
|
+
chunkFSARTLUE_cjs.Button,
|
|
13375
15010
|
{
|
|
13376
15011
|
variant: "ghost",
|
|
13377
15012
|
size: "icon",
|
|
@@ -13948,7 +15583,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
|
|
|
13948
15583
|
disabled && "pointer-events-none"
|
|
13949
15584
|
),
|
|
13950
15585
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13951
|
-
|
|
15586
|
+
chunkFSARTLUE_cjs.Button,
|
|
13952
15587
|
{
|
|
13953
15588
|
variant: "danger",
|
|
13954
15589
|
size: "icon",
|
|
@@ -14477,11 +16112,11 @@ function StatusPill({
|
|
|
14477
16112
|
}
|
|
14478
16113
|
);
|
|
14479
16114
|
}
|
|
14480
|
-
function CountdownDisplay({ seconds }) {
|
|
14481
|
-
if (
|
|
16115
|
+
function CountdownDisplay({ seconds: seconds2 }) {
|
|
16116
|
+
if (seconds2 <= 0) return null;
|
|
14482
16117
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
14483
16118
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 animate-ping rounded-full bg-green-500 opacity-25" }),
|
|
14484
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex h-24 w-24 items-center justify-center rounded-full bg-green-500/90", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-4xl font-bold text-white", children:
|
|
16119
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex h-24 w-24 items-center justify-center rounded-full bg-green-500/90", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-4xl font-bold text-white", children: seconds2 }) })
|
|
14485
16120
|
] }) });
|
|
14486
16121
|
}
|
|
14487
16122
|
function StabilityBar({
|
|
@@ -14616,7 +16251,7 @@ function PermissionDeniedMessage({ onRetry }) {
|
|
|
14616
16251
|
/* @__PURE__ */ jsxRuntime.jsx("li", { children: "Click the button below to try again" })
|
|
14617
16252
|
] })
|
|
14618
16253
|
] }),
|
|
14619
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16254
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: onRetry, leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.RefreshCw, { className: "h-4 w-4" }), children: "Try again" })
|
|
14620
16255
|
] });
|
|
14621
16256
|
}
|
|
14622
16257
|
function CameraUnavailableMessage() {
|
|
@@ -14642,7 +16277,7 @@ function PhotoPreview({
|
|
|
14642
16277
|
) }),
|
|
14643
16278
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-center gap-3", children: [
|
|
14644
16279
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14645
|
-
|
|
16280
|
+
chunkFSARTLUE_cjs.Button,
|
|
14646
16281
|
{
|
|
14647
16282
|
variant: "secondary",
|
|
14648
16283
|
onClick: onRetake,
|
|
@@ -14651,7 +16286,7 @@ function PhotoPreview({
|
|
|
14651
16286
|
}
|
|
14652
16287
|
),
|
|
14653
16288
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14654
|
-
|
|
16289
|
+
chunkFSARTLUE_cjs.Button,
|
|
14655
16290
|
{
|
|
14656
16291
|
variant: "primary",
|
|
14657
16292
|
onClick: onConfirm,
|
|
@@ -14822,7 +16457,7 @@ function WebcamModal({
|
|
|
14822
16457
|
),
|
|
14823
16458
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
14824
16459
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14825
|
-
|
|
16460
|
+
chunkFSARTLUE_cjs.Button,
|
|
14826
16461
|
{
|
|
14827
16462
|
variant: autoDetectEnabled ? "primary" : "secondary",
|
|
14828
16463
|
size: "sm",
|
|
@@ -14840,7 +16475,7 @@ function WebcamModal({
|
|
|
14840
16475
|
) }),
|
|
14841
16476
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-center gap-3", children: [
|
|
14842
16477
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14843
|
-
|
|
16478
|
+
chunkFSARTLUE_cjs.Button,
|
|
14844
16479
|
{
|
|
14845
16480
|
variant: "secondary",
|
|
14846
16481
|
size: "icon",
|
|
@@ -14851,7 +16486,7 @@ function WebcamModal({
|
|
|
14851
16486
|
}
|
|
14852
16487
|
),
|
|
14853
16488
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14854
|
-
|
|
16489
|
+
chunkFSARTLUE_cjs.Button,
|
|
14855
16490
|
{
|
|
14856
16491
|
variant: "primary",
|
|
14857
16492
|
size: "lg",
|
|
@@ -14878,7 +16513,7 @@ function WebcamModal({
|
|
|
14878
16513
|
/* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
|
|
14879
16514
|
] }),
|
|
14880
16515
|
/* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: renderContent() }),
|
|
14881
|
-
permission !== "denied" && permission !== "unavailable" && !capturedFile && /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16516
|
+
permission !== "denied" && permission !== "unavailable" && !capturedFile && /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: handleClose, children: "Cancel" }) })
|
|
14882
16517
|
]
|
|
14883
16518
|
}
|
|
14884
16519
|
);
|
|
@@ -15138,8 +16773,8 @@ function DocumentScanner({
|
|
|
15138
16773
|
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: error })
|
|
15139
16774
|
] }),
|
|
15140
16775
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-3", children: [
|
|
15141
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15142
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16776
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: handleClearAll, children: "Start over" }),
|
|
16777
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "primary", onClick: handleRetry, children: "Try again" })
|
|
15143
16778
|
] })
|
|
15144
16779
|
] });
|
|
15145
16780
|
}
|
|
@@ -15180,7 +16815,7 @@ function DocumentScanner({
|
|
|
15180
16815
|
"data-slot": "doc-scanner-actions",
|
|
15181
16816
|
children: [
|
|
15182
16817
|
multiple && /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15183
|
-
|
|
16818
|
+
chunkFSARTLUE_cjs.Button,
|
|
15184
16819
|
{
|
|
15185
16820
|
variant: "secondary",
|
|
15186
16821
|
onClick: () => {
|
|
@@ -15200,7 +16835,7 @@ function DocumentScanner({
|
|
|
15200
16835
|
}
|
|
15201
16836
|
) }),
|
|
15202
16837
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15203
|
-
|
|
16838
|
+
chunkFSARTLUE_cjs.Button,
|
|
15204
16839
|
{
|
|
15205
16840
|
variant: "secondary",
|
|
15206
16841
|
onClick: handleClearAll,
|
|
@@ -15210,7 +16845,7 @@ function DocumentScanner({
|
|
|
15210
16845
|
}
|
|
15211
16846
|
),
|
|
15212
16847
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15213
|
-
|
|
16848
|
+
chunkFSARTLUE_cjs.Button,
|
|
15214
16849
|
{
|
|
15215
16850
|
variant: "primary",
|
|
15216
16851
|
onClick: handleScan,
|
|
@@ -15274,7 +16909,7 @@ function DocumentScanner({
|
|
|
15274
16909
|
] }),
|
|
15275
16910
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap justify-center gap-3", children: [
|
|
15276
16911
|
enableCamera && isMobile && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15277
|
-
|
|
16912
|
+
chunkFSARTLUE_cjs.Button,
|
|
15278
16913
|
{
|
|
15279
16914
|
variant: "secondary",
|
|
15280
16915
|
onClick: handleCameraCapture,
|
|
@@ -15284,7 +16919,7 @@ function DocumentScanner({
|
|
|
15284
16919
|
}
|
|
15285
16920
|
),
|
|
15286
16921
|
enableWebcam && !isMobile && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15287
|
-
|
|
16922
|
+
chunkFSARTLUE_cjs.Button,
|
|
15288
16923
|
{
|
|
15289
16924
|
variant: "secondary",
|
|
15290
16925
|
onClick: () => setIsWebcamOpen(true),
|
|
@@ -15550,7 +17185,7 @@ function DockablePanel({
|
|
|
15550
17185
|
),
|
|
15551
17186
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
15552
17187
|
dockable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15553
|
-
|
|
17188
|
+
chunkFSARTLUE_cjs.Button,
|
|
15554
17189
|
{
|
|
15555
17190
|
type: "button",
|
|
15556
17191
|
variant: "ghost",
|
|
@@ -15565,7 +17200,7 @@ function DockablePanel({
|
|
|
15565
17200
|
}
|
|
15566
17201
|
),
|
|
15567
17202
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15568
|
-
|
|
17203
|
+
chunkFSARTLUE_cjs.Button,
|
|
15569
17204
|
{
|
|
15570
17205
|
type: "button",
|
|
15571
17206
|
variant: "ghost",
|
|
@@ -15994,7 +17629,7 @@ function ClaimProviderForm({
|
|
|
15994
17629
|
),
|
|
15995
17630
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "claim-form-actions", className: "flex gap-3 pt-4", children: [
|
|
15996
17631
|
onCancel && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15997
|
-
|
|
17632
|
+
chunkFSARTLUE_cjs.Button,
|
|
15998
17633
|
{
|
|
15999
17634
|
type: "button",
|
|
16000
17635
|
variant: "outline",
|
|
@@ -16004,7 +17639,7 @@ function ClaimProviderForm({
|
|
|
16004
17639
|
}
|
|
16005
17640
|
),
|
|
16006
17641
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16007
|
-
|
|
17642
|
+
chunkFSARTLUE_cjs.Button,
|
|
16008
17643
|
{
|
|
16009
17644
|
type: "submit",
|
|
16010
17645
|
disabled: !isValid || isSubmitting,
|
|
@@ -16401,7 +18036,7 @@ function CreateInvoiceModal({
|
|
|
16401
18036
|
}
|
|
16402
18037
|
),
|
|
16403
18038
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16404
|
-
|
|
18039
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
16405
18040
|
{
|
|
16406
18041
|
label: "Notes (Optional)",
|
|
16407
18042
|
rows: 3,
|
|
@@ -16419,7 +18054,7 @@ function CreateInvoiceModal({
|
|
|
16419
18054
|
className: "flex w-full justify-between",
|
|
16420
18055
|
children: [
|
|
16421
18056
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: step > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16422
|
-
|
|
18057
|
+
chunkFSARTLUE_cjs.Button,
|
|
16423
18058
|
{
|
|
16424
18059
|
type: "button",
|
|
16425
18060
|
variant: "ghost",
|
|
@@ -16435,7 +18070,7 @@ function CreateInvoiceModal({
|
|
|
16435
18070
|
className: "flex gap-2",
|
|
16436
18071
|
children: [
|
|
16437
18072
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16438
|
-
|
|
18073
|
+
chunkFSARTLUE_cjs.Button,
|
|
16439
18074
|
{
|
|
16440
18075
|
type: "button",
|
|
16441
18076
|
variant: "outline",
|
|
@@ -16445,14 +18080,14 @@ function CreateInvoiceModal({
|
|
|
16445
18080
|
}
|
|
16446
18081
|
),
|
|
16447
18082
|
step < 3 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
16448
|
-
|
|
18083
|
+
chunkFSARTLUE_cjs.Button,
|
|
16449
18084
|
{
|
|
16450
18085
|
type: "button",
|
|
16451
18086
|
onClick: () => setStep(step + 1),
|
|
16452
18087
|
disabled: !canProceed,
|
|
16453
18088
|
children: "Continue"
|
|
16454
18089
|
}
|
|
16455
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
18090
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: !canSubmit || isSubmitting, children: isSubmitting ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16456
18091
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16457
18092
|
"svg",
|
|
16458
18093
|
{
|
|
@@ -16717,7 +18352,7 @@ function CreateReferralModal({
|
|
|
16717
18352
|
)) })
|
|
16718
18353
|
] }),
|
|
16719
18354
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16720
|
-
|
|
18355
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
16721
18356
|
{
|
|
16722
18357
|
label: "Notes (Optional)",
|
|
16723
18358
|
rows: 2,
|
|
@@ -16758,7 +18393,7 @@ function CreateReferralModal({
|
|
|
16758
18393
|
] }),
|
|
16759
18394
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
16760
18395
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16761
|
-
|
|
18396
|
+
chunkFSARTLUE_cjs.Button,
|
|
16762
18397
|
{
|
|
16763
18398
|
type: "button",
|
|
16764
18399
|
variant: "outline",
|
|
@@ -16767,7 +18402,7 @@ function CreateReferralModal({
|
|
|
16767
18402
|
children: "Cancel"
|
|
16768
18403
|
}
|
|
16769
18404
|
),
|
|
16770
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18405
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: !isValid || isSubmitting, children: isSubmitting ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16771
18406
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16772
18407
|
"svg",
|
|
16773
18408
|
{
|
|
@@ -16895,7 +18530,7 @@ function EditUserRoleModal({
|
|
|
16895
18530
|
] }),
|
|
16896
18531
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
16897
18532
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16898
|
-
|
|
18533
|
+
chunkFSARTLUE_cjs.Button,
|
|
16899
18534
|
{
|
|
16900
18535
|
type: "button",
|
|
16901
18536
|
variant: "outline",
|
|
@@ -16905,7 +18540,7 @@ function EditUserRoleModal({
|
|
|
16905
18540
|
}
|
|
16906
18541
|
),
|
|
16907
18542
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16908
|
-
|
|
18543
|
+
chunkFSARTLUE_cjs.Button,
|
|
16909
18544
|
{
|
|
16910
18545
|
type: "button",
|
|
16911
18546
|
onClick: handleSave,
|
|
@@ -17309,7 +18944,7 @@ function EmployeeForm({
|
|
|
17309
18944
|
)
|
|
17310
18945
|
] }),
|
|
17311
18946
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17312
|
-
|
|
18947
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
17313
18948
|
{
|
|
17314
18949
|
label: additionalInformation,
|
|
17315
18950
|
value: additionalInfo,
|
|
@@ -17795,7 +19430,7 @@ function EmployerContactCard({
|
|
|
17795
19430
|
className: "flex flex-row items-center justify-between",
|
|
17796
19431
|
children: [
|
|
17797
19432
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardTitle, { children: title }),
|
|
17798
|
-
showActions && onAddContact && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19433
|
+
showActions && onAddContact && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "ghost", size: "sm", onClick: onAddContact, children: [
|
|
17799
19434
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17800
19435
|
"svg",
|
|
17801
19436
|
{
|
|
@@ -17842,7 +19477,7 @@ function EmployerContactCard({
|
|
|
17842
19477
|
),
|
|
17843
19478
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: "No contacts added yet" }),
|
|
17844
19479
|
showActions && onAddContact && /* @__PURE__ */ jsxRuntime.jsx(
|
|
17845
|
-
|
|
19480
|
+
chunkFSARTLUE_cjs.Button,
|
|
17846
19481
|
{
|
|
17847
19482
|
variant: "outline",
|
|
17848
19483
|
size: "sm",
|
|
@@ -18034,7 +19669,7 @@ function EmployerList({
|
|
|
18034
19669
|
}
|
|
18035
19670
|
)
|
|
18036
19671
|
] }),
|
|
18037
|
-
onAddEmployer && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19672
|
+
onAddEmployer && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { onClick: onAddEmployer, size: "sm", children: [
|
|
18038
19673
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18039
19674
|
"svg",
|
|
18040
19675
|
{
|
|
@@ -18083,7 +19718,7 @@ function EmployerList({
|
|
|
18083
19718
|
}
|
|
18084
19719
|
),
|
|
18085
19720
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mb-3", children: emptyMessage }),
|
|
18086
|
-
onAddEmployer && !searchQuery && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19721
|
+
onAddEmployer && !searchQuery && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onAddEmployer, children: "Link Employer" })
|
|
18087
19722
|
]
|
|
18088
19723
|
}
|
|
18089
19724
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "employer-list-items", className: "space-y-2", children: filteredEmployers.map((employer) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -18271,7 +19906,7 @@ function EmployerPricingCard({
|
|
|
18271
19906
|
}
|
|
18272
19907
|
),
|
|
18273
19908
|
editable && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-actions", className: "mt-4 flex gap-2", children: [
|
|
18274
|
-
onEdit && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19909
|
+
onEdit && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "outline", size: "sm", onClick: onEdit, children: [
|
|
18275
19910
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18276
19911
|
"svg",
|
|
18277
19912
|
{
|
|
@@ -18293,7 +19928,7 @@ function EmployerPricingCard({
|
|
|
18293
19928
|
),
|
|
18294
19929
|
"Edit Pricing"
|
|
18295
19930
|
] }),
|
|
18296
|
-
onRemove && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19931
|
+
onRemove && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "ghost", size: "sm", onClick: onRemove, children: [
|
|
18297
19932
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18298
19933
|
"svg",
|
|
18299
19934
|
{
|
|
@@ -18412,7 +20047,7 @@ function EmployerView({
|
|
|
18412
20047
|
] })
|
|
18413
20048
|
] }),
|
|
18414
20049
|
onEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18415
|
-
|
|
20050
|
+
chunkFSARTLUE_cjs.Button,
|
|
18416
20051
|
{
|
|
18417
20052
|
"data-slot": "employer-view-edit-btn",
|
|
18418
20053
|
variant: "outline",
|
|
@@ -18487,7 +20122,7 @@ function EmployerView({
|
|
|
18487
20122
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: primary.email })
|
|
18488
20123
|
] }),
|
|
18489
20124
|
onContact && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18490
|
-
|
|
20125
|
+
chunkFSARTLUE_cjs.Button,
|
|
18491
20126
|
{
|
|
18492
20127
|
variant: "outline",
|
|
18493
20128
|
size: "sm",
|
|
@@ -18502,7 +20137,7 @@ function EmployerView({
|
|
|
18502
20137
|
/* @__PURE__ */ jsxRuntime.jsx(chunkS7AMZ4RD_cjs.TabsContent, { value: "orders", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.Card, { "data-slot": "employer-view-orders-card", children: [
|
|
18503
20138
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.CardHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
18504
20139
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardTitle, { className: "text-lg", children: "Recent Orders" }),
|
|
18505
|
-
onCreateOrder && /* @__PURE__ */ jsxRuntime.jsx(
|
|
20140
|
+
onCreateOrder && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { size: "sm", onClick: onCreateOrder, children: "New Order" })
|
|
18506
20141
|
] }),
|
|
18507
20142
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardContent, { children: employer.recentOrders.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No orders yet" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: employer.recentOrders.map((order) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18508
20143
|
"div",
|
|
@@ -18520,7 +20155,7 @@ function EmployerView({
|
|
|
18520
20155
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
18521
20156
|
] }),
|
|
18522
20157
|
onViewOrder && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18523
|
-
|
|
20158
|
+
chunkFSARTLUE_cjs.Button,
|
|
18524
20159
|
{
|
|
18525
20160
|
variant: "ghost",
|
|
18526
20161
|
size: "sm",
|
|
@@ -18536,7 +20171,7 @@ function EmployerView({
|
|
|
18536
20171
|
/* @__PURE__ */ jsxRuntime.jsx(chunkS7AMZ4RD_cjs.TabsContent, { value: "invoices", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.Card, { "data-slot": "employer-view-invoices-card", children: [
|
|
18537
20172
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.CardHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
18538
20173
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardTitle, { className: "text-lg", children: "Recent Invoices" }),
|
|
18539
|
-
onCreateInvoice && /* @__PURE__ */ jsxRuntime.jsx(
|
|
20174
|
+
onCreateInvoice && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { size: "sm", onClick: onCreateInvoice, children: "New Invoice" })
|
|
18540
20175
|
] }),
|
|
18541
20176
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardContent, { children: employer.recentInvoices.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No invoices yet" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: employer.recentInvoices.map((invoice) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18542
20177
|
"div",
|
|
@@ -18556,7 +20191,7 @@ function EmployerView({
|
|
|
18556
20191
|
/* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
18557
20192
|
] }),
|
|
18558
20193
|
onViewInvoice && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18559
|
-
|
|
20194
|
+
chunkFSARTLUE_cjs.Button,
|
|
18560
20195
|
{
|
|
18561
20196
|
variant: "ghost",
|
|
18562
20197
|
size: "sm",
|
|
@@ -18590,7 +20225,7 @@ function EmployerView({
|
|
|
18590
20225
|
] })
|
|
18591
20226
|
] }),
|
|
18592
20227
|
onContact && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18593
|
-
|
|
20228
|
+
chunkFSARTLUE_cjs.Button,
|
|
18594
20229
|
{
|
|
18595
20230
|
variant: "outline",
|
|
18596
20231
|
size: "sm",
|
|
@@ -18907,7 +20542,7 @@ function EmployerServiceModal({
|
|
|
18907
20542
|
] }),
|
|
18908
20543
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
18909
20544
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18910
|
-
|
|
20545
|
+
chunkFSARTLUE_cjs.Button,
|
|
18911
20546
|
{
|
|
18912
20547
|
type: "button",
|
|
18913
20548
|
variant: "outline",
|
|
@@ -18916,7 +20551,7 @@ function EmployerServiceModal({
|
|
|
18916
20551
|
children: "Cancel"
|
|
18917
20552
|
}
|
|
18918
20553
|
),
|
|
18919
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20554
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: isSubmitting, children: isSubmitting ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
18920
20555
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18921
20556
|
"svg",
|
|
18922
20557
|
{
|
|
@@ -19201,7 +20836,7 @@ function ActionButton({ label, onClick, href, variant }) {
|
|
|
19201
20836
|
{
|
|
19202
20837
|
href,
|
|
19203
20838
|
className: chunkS5RVSXDV_cjs.cn(
|
|
19204
|
-
|
|
20839
|
+
chunkHGJHWI7W_cjs.buttonVariants({ variant, size: "md" }),
|
|
19205
20840
|
"min-w-[140px] text-center"
|
|
19206
20841
|
),
|
|
19207
20842
|
children: label
|
|
@@ -19209,7 +20844,7 @@ function ActionButton({ label, onClick, href, variant }) {
|
|
|
19209
20844
|
);
|
|
19210
20845
|
}
|
|
19211
20846
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19212
|
-
|
|
20847
|
+
chunkFSARTLUE_cjs.Button,
|
|
19213
20848
|
{
|
|
19214
20849
|
type: "button",
|
|
19215
20850
|
onClick,
|
|
@@ -19976,7 +21611,7 @@ var HealthSurveillance = React13__namespace.forwardRef(
|
|
|
19976
21611
|
}),
|
|
19977
21612
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 pt-1", children: [
|
|
19978
21613
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19979
|
-
|
|
21614
|
+
chunkFSARTLUE_cjs.Button,
|
|
19980
21615
|
{
|
|
19981
21616
|
size: "sm",
|
|
19982
21617
|
disabled: checked.size === 0,
|
|
@@ -20148,7 +21783,7 @@ function HelpSupportPanel({
|
|
|
20148
21783
|
] }),
|
|
20149
21784
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20150
21785
|
docsUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
20151
|
-
|
|
21786
|
+
chunkFSARTLUE_cjs.Button,
|
|
20152
21787
|
{
|
|
20153
21788
|
variant: "outline",
|
|
20154
21789
|
onClick: () => window.open(docsUrl, "_blank"),
|
|
@@ -20176,7 +21811,7 @@ function HelpSupportPanel({
|
|
|
20176
21811
|
]
|
|
20177
21812
|
}
|
|
20178
21813
|
),
|
|
20179
|
-
onStartChat && chatAvailable && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
21814
|
+
onStartChat && chatAvailable && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { onClick: onStartChat, children: [
|
|
20180
21815
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20181
21816
|
"svg",
|
|
20182
21817
|
{
|
|
@@ -20328,7 +21963,7 @@ function HelpSupportPanel({
|
|
|
20328
21963
|
}
|
|
20329
21964
|
),
|
|
20330
21965
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20331
|
-
|
|
21966
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
20332
21967
|
{
|
|
20333
21968
|
id: "support-message",
|
|
20334
21969
|
required: true,
|
|
@@ -20342,7 +21977,7 @@ function HelpSupportPanel({
|
|
|
20342
21977
|
}
|
|
20343
21978
|
)
|
|
20344
21979
|
] }),
|
|
20345
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21980
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: isSubmitting, children: isSubmitting ? "Sending..." : "Send Message" })
|
|
20346
21981
|
] })
|
|
20347
21982
|
] })
|
|
20348
21983
|
] })
|
|
@@ -21062,7 +22697,7 @@ function InventoryManager({
|
|
|
21062
22697
|
}
|
|
21063
22698
|
),
|
|
21064
22699
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21065
|
-
|
|
22700
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
21066
22701
|
{
|
|
21067
22702
|
label: "Memo",
|
|
21068
22703
|
value: updateMemo,
|
|
@@ -21101,8 +22736,8 @@ function InventoryManager({
|
|
|
21101
22736
|
] })
|
|
21102
22737
|
] }),
|
|
21103
22738
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
21104
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21105
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22739
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onUpdateModalClose, children: "Cancel" }),
|
|
22740
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: handleSubmit, disabled: !updateAmount || isLoading, children: isLoading ? "Saving..." : "Save" })
|
|
21106
22741
|
] })
|
|
21107
22742
|
]
|
|
21108
22743
|
}
|
|
@@ -21309,7 +22944,7 @@ function InviteUserModal({
|
|
|
21309
22944
|
] }),
|
|
21310
22945
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
21311
22946
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21312
|
-
|
|
22947
|
+
chunkFSARTLUE_cjs.Button,
|
|
21313
22948
|
{
|
|
21314
22949
|
type: "button",
|
|
21315
22950
|
variant: "outline",
|
|
@@ -21318,7 +22953,7 @@ function InviteUserModal({
|
|
|
21318
22953
|
children: "Cancel"
|
|
21319
22954
|
}
|
|
21320
22955
|
),
|
|
21321
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22956
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: !isValid || isSubmitting, children: isSubmitting ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
21322
22957
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
21323
22958
|
"svg",
|
|
21324
22959
|
{
|
|
@@ -21493,7 +23128,7 @@ function InvoiceList({
|
|
|
21493
23128
|
))
|
|
21494
23129
|
}
|
|
21495
23130
|
),
|
|
21496
|
-
onCreateInvoice && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23131
|
+
onCreateInvoice && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { onClick: onCreateInvoice, size: "sm", children: [
|
|
21497
23132
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21498
23133
|
"svg",
|
|
21499
23134
|
{
|
|
@@ -21580,7 +23215,7 @@ function InvoiceList({
|
|
|
21580
23215
|
}
|
|
21581
23216
|
),
|
|
21582
23217
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mb-3", children: searchQuery || statusFilter !== "all" ? "No invoices match your filters" : "No invoices yet" }),
|
|
21583
|
-
onCreateInvoice && !searchQuery && statusFilter === "all" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23218
|
+
onCreateInvoice && !searchQuery && statusFilter === "all" && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onCreateInvoice, children: "Create Invoice" })
|
|
21584
23219
|
]
|
|
21585
23220
|
}
|
|
21586
23221
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22003,7 +23638,7 @@ function InvoicePaymentPage({
|
|
|
22003
23638
|
)
|
|
22004
23639
|
] }),
|
|
22005
23640
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22006
|
-
|
|
23641
|
+
chunkFSARTLUE_cjs.Button,
|
|
22007
23642
|
{
|
|
22008
23643
|
type: "submit",
|
|
22009
23644
|
className: "w-full",
|
|
@@ -22100,7 +23735,7 @@ function InvoiceView({
|
|
|
22100
23735
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
22101
23736
|
children: [
|
|
22102
23737
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
22103
|
-
onBack && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23738
|
+
onBack && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "ghost", size: "sm", onClick: onBack, children: [
|
|
22104
23739
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22105
23740
|
"svg",
|
|
22106
23741
|
{
|
|
@@ -22135,7 +23770,7 @@ function InvoiceView({
|
|
|
22135
23770
|
] }),
|
|
22136
23771
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "invoice-view-actions", className: "flex flex-wrap gap-2", children: [
|
|
22137
23772
|
onDownload && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22138
|
-
|
|
23773
|
+
chunkFSARTLUE_cjs.Button,
|
|
22139
23774
|
{
|
|
22140
23775
|
variant: "outline",
|
|
22141
23776
|
size: "sm",
|
|
@@ -22166,7 +23801,7 @@ function InvoiceView({
|
|
|
22166
23801
|
}
|
|
22167
23802
|
),
|
|
22168
23803
|
onEdit && canEdit && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22169
|
-
|
|
23804
|
+
chunkFSARTLUE_cjs.Button,
|
|
22170
23805
|
{
|
|
22171
23806
|
variant: "outline",
|
|
22172
23807
|
size: "sm",
|
|
@@ -22197,7 +23832,7 @@ function InvoiceView({
|
|
|
22197
23832
|
}
|
|
22198
23833
|
),
|
|
22199
23834
|
onVoid && canVoid && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22200
|
-
|
|
23835
|
+
chunkFSARTLUE_cjs.Button,
|
|
22201
23836
|
{
|
|
22202
23837
|
variant: "outline",
|
|
22203
23838
|
size: "sm",
|
|
@@ -22207,7 +23842,7 @@ function InvoiceView({
|
|
|
22207
23842
|
}
|
|
22208
23843
|
),
|
|
22209
23844
|
onMarkPaid && canMarkPaid && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22210
|
-
|
|
23845
|
+
chunkFSARTLUE_cjs.Button,
|
|
22211
23846
|
{
|
|
22212
23847
|
variant: "secondary",
|
|
22213
23848
|
size: "sm",
|
|
@@ -22237,7 +23872,7 @@ function InvoiceView({
|
|
|
22237
23872
|
]
|
|
22238
23873
|
}
|
|
22239
23874
|
),
|
|
22240
|
-
onSend && canSend && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23875
|
+
onSend && canSend && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { size: "sm", onClick: onSend, disabled: actionsDisabled, children: [
|
|
22241
23876
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22242
23877
|
"svg",
|
|
22243
23878
|
{
|
|
@@ -23135,8 +24770,8 @@ function NotificationCenter({
|
|
|
23135
24770
|
unreadCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: "default", children: unreadCount })
|
|
23136
24771
|
] }),
|
|
23137
24772
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
23138
|
-
onMarkAllRead && unreadCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23139
|
-
onClearAll && notifications.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
24773
|
+
onMarkAllRead && unreadCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", size: "sm", onClick: onMarkAllRead, children: "Mark all read" }),
|
|
24774
|
+
onClearAll && notifications.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", size: "sm", onClick: onClearAll, children: "Clear all" })
|
|
23140
24775
|
] })
|
|
23141
24776
|
]
|
|
23142
24777
|
}
|
|
@@ -23257,7 +24892,7 @@ function NotificationCenter({
|
|
|
23257
24892
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: formatTimestamp(notification.timestamp) }),
|
|
23258
24893
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
23259
24894
|
notification.actionLabel && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23260
|
-
|
|
24895
|
+
chunkFSARTLUE_cjs.Button,
|
|
23261
24896
|
{
|
|
23262
24897
|
variant: "link",
|
|
23263
24898
|
size: "sm",
|
|
@@ -23272,7 +24907,7 @@ function NotificationCenter({
|
|
|
23272
24907
|
}
|
|
23273
24908
|
),
|
|
23274
24909
|
onDismiss && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23275
|
-
|
|
24910
|
+
chunkFSARTLUE_cjs.Button,
|
|
23276
24911
|
{
|
|
23277
24912
|
variant: "ghost",
|
|
23278
24913
|
size: "sm",
|
|
@@ -23305,7 +24940,7 @@ function NotificationCenter({
|
|
|
23305
24940
|
{
|
|
23306
24941
|
"data-slot": "notification-center-footer",
|
|
23307
24942
|
className: "border-t border-gray-200 px-4 py-3 dark:border-gray-700",
|
|
23308
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
24943
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", className: "w-full", onClick: onSeeAll, children: "See all notifications" })
|
|
23309
24944
|
}
|
|
23310
24945
|
)
|
|
23311
24946
|
]
|
|
@@ -23438,7 +25073,7 @@ function OnboardingWizard({
|
|
|
23438
25073
|
className: "mb-3 flex justify-end",
|
|
23439
25074
|
"data-slot": "onboarding-skip",
|
|
23440
25075
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23441
|
-
|
|
25076
|
+
chunkFSARTLUE_cjs.Button,
|
|
23442
25077
|
{
|
|
23443
25078
|
variant: "secondary",
|
|
23444
25079
|
size: "sm",
|
|
@@ -23456,7 +25091,7 @@ function OnboardingWizard({
|
|
|
23456
25091
|
"data-slot": "onboarding-nav",
|
|
23457
25092
|
children: [
|
|
23458
25093
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23459
|
-
|
|
25094
|
+
chunkFSARTLUE_cjs.Button,
|
|
23460
25095
|
{
|
|
23461
25096
|
variant: "outline",
|
|
23462
25097
|
onClick: handleBack,
|
|
@@ -23480,7 +25115,7 @@ function OnboardingWizard({
|
|
|
23480
25115
|
}
|
|
23481
25116
|
) }),
|
|
23482
25117
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23483
|
-
|
|
25118
|
+
chunkFSARTLUE_cjs.Button,
|
|
23484
25119
|
{
|
|
23485
25120
|
variant: "primary",
|
|
23486
25121
|
onClick: handleNext,
|
|
@@ -23549,7 +25184,7 @@ function OnboardingStepQuestion({
|
|
|
23549
25184
|
className: "flex flex-wrap gap-2",
|
|
23550
25185
|
"data-slot": "onboarding-step-options",
|
|
23551
25186
|
children: options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23552
|
-
|
|
25187
|
+
chunkFSARTLUE_cjs.Button,
|
|
23553
25188
|
{
|
|
23554
25189
|
variant: option.selected ? "primary" : "outline",
|
|
23555
25190
|
onClick: () => onSelect?.(option.id),
|
|
@@ -23603,15 +25238,15 @@ function OnboardingCompletion({
|
|
|
23603
25238
|
className: "my-6 flex flex-wrap gap-3",
|
|
23604
25239
|
"data-slot": "onboarding-completion-actions",
|
|
23605
25240
|
children: [
|
|
23606
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
25241
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
23607
25242
|
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
23608
25243
|
"Start your first order"
|
|
23609
25244
|
] }),
|
|
23610
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
25245
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
23611
25246
|
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
23612
25247
|
"Go to Dashboard"
|
|
23613
25248
|
] }),
|
|
23614
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
25249
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
23615
25250
|
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-users me-2" }),
|
|
23616
25251
|
"Go to Employees"
|
|
23617
25252
|
] })
|
|
@@ -23645,7 +25280,7 @@ function OnboardingCompletion({
|
|
|
23645
25280
|
className: "flex flex-wrap gap-3",
|
|
23646
25281
|
"data-slot": "onboarding-completion-actions",
|
|
23647
25282
|
children: incompleteSteps.map(({ step, label }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23648
|
-
|
|
25283
|
+
chunkFSARTLUE_cjs.Button,
|
|
23649
25284
|
{
|
|
23650
25285
|
variant: "outline",
|
|
23651
25286
|
onClick: () => onGoToStep?.(step),
|
|
@@ -24349,7 +25984,7 @@ function OrderConfirmationWizard({
|
|
|
24349
25984
|
] }) }) }),
|
|
24350
25985
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between", "data-slot": "ocw-nav", children: [
|
|
24351
25986
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: step > 1 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24352
|
-
|
|
25987
|
+
chunkFSARTLUE_cjs.Button,
|
|
24353
25988
|
{
|
|
24354
25989
|
variant: "ghost",
|
|
24355
25990
|
onClick: () => handleStepChange(step - 1),
|
|
@@ -24380,7 +26015,7 @@ function OrderConfirmationWizard({
|
|
|
24380
26015
|
) }),
|
|
24381
26016
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
24382
26017
|
onCancel && /* @__PURE__ */ jsxRuntime.jsx(
|
|
24383
|
-
|
|
26018
|
+
chunkFSARTLUE_cjs.Button,
|
|
24384
26019
|
{
|
|
24385
26020
|
variant: "outline",
|
|
24386
26021
|
onClick: onCancel,
|
|
@@ -24389,7 +26024,7 @@ function OrderConfirmationWizard({
|
|
|
24389
26024
|
}
|
|
24390
26025
|
),
|
|
24391
26026
|
step < 3 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24392
|
-
|
|
26027
|
+
chunkFSARTLUE_cjs.Button,
|
|
24393
26028
|
{
|
|
24394
26029
|
onClick: () => handleStepChange(step + 1),
|
|
24395
26030
|
disabled: step === 1 ? !canProceedStep1 : !canProceedStep2,
|
|
@@ -24417,7 +26052,7 @@ function OrderConfirmationWizard({
|
|
|
24417
26052
|
]
|
|
24418
26053
|
}
|
|
24419
26054
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
24420
|
-
|
|
26055
|
+
chunkFSARTLUE_cjs.Button,
|
|
24421
26056
|
{
|
|
24422
26057
|
onClick: handleComplete,
|
|
24423
26058
|
disabled: !canComplete || isSubmitting,
|
|
@@ -24722,7 +26357,7 @@ var defaultOrderTabs = [
|
|
|
24722
26357
|
{ id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
|
|
24723
26358
|
];
|
|
24724
26359
|
function orderToMedication(order) {
|
|
24725
|
-
const sig = order.detail ?
|
|
26360
|
+
const sig = order.detail ? chunkSCYLVQWA_cjs.parseSig(order.detail) : void 0;
|
|
24726
26361
|
return {
|
|
24727
26362
|
id: order.orderId,
|
|
24728
26363
|
name: order.display,
|
|
@@ -24730,7 +26365,7 @@ function orderToMedication(order) {
|
|
|
24730
26365
|
status: "unreconciled",
|
|
24731
26366
|
indication: order.indication,
|
|
24732
26367
|
pharmacyNotes: order.notes,
|
|
24733
|
-
...
|
|
26368
|
+
...chunkSCYLVQWA_cjs.labelToMedicationFields(order.display),
|
|
24734
26369
|
...sig && {
|
|
24735
26370
|
route: sig.route,
|
|
24736
26371
|
frequency: sig.frequency,
|
|
@@ -24801,7 +26436,7 @@ function BaseOrderEditor({
|
|
|
24801
26436
|
onSave
|
|
24802
26437
|
}) {
|
|
24803
26438
|
const config = TYPE_CONFIG[type];
|
|
24804
|
-
const ambientCodeLookup =
|
|
26439
|
+
const ambientCodeLookup = chunkSCYLVQWA_cjs.useCodeLookupConfig();
|
|
24805
26440
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
24806
26441
|
const [draft, setDraft] = React13__namespace.useState(
|
|
24807
26442
|
() => order ?? {
|
|
@@ -24922,7 +26557,7 @@ function BaseOrderEditor({
|
|
|
24922
26557
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
24923
26558
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-detail", children: "Instructions" }),
|
|
24924
26559
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24925
|
-
|
|
26560
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
24926
26561
|
{
|
|
24927
26562
|
id: "ord-detail",
|
|
24928
26563
|
value: draft.detail ?? "",
|
|
@@ -24945,7 +26580,7 @@ function BaseOrderEditor({
|
|
|
24945
26580
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
24946
26581
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-notes", children: type === "referral" ? "Notes to consultant" : "Notes to performer" }),
|
|
24947
26582
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24948
|
-
|
|
26583
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
24949
26584
|
{
|
|
24950
26585
|
id: "ord-notes",
|
|
24951
26586
|
value: draft.notes ?? "",
|
|
@@ -24957,9 +26592,9 @@ function BaseOrderEditor({
|
|
|
24957
26592
|
] })
|
|
24958
26593
|
] }) }),
|
|
24959
26594
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
24960
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26595
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
|
|
24961
26596
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24962
|
-
|
|
26597
|
+
chunkFSARTLUE_cjs.Button,
|
|
24963
26598
|
{
|
|
24964
26599
|
onClick: () => {
|
|
24965
26600
|
onSave({ ...draft, display: draft.display.trim() });
|
|
@@ -25000,7 +26635,7 @@ function OrderEditor({
|
|
|
25000
26635
|
display: ""
|
|
25001
26636
|
};
|
|
25002
26637
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25003
|
-
|
|
26638
|
+
chunkSCYLVQWA_cjs.MedicationEditor,
|
|
25004
26639
|
{
|
|
25005
26640
|
open,
|
|
25006
26641
|
medication: order ? orderToMedication(order) : void 0,
|
|
@@ -25127,7 +26762,7 @@ function OrderLookupForm({
|
|
|
25127
26762
|
}
|
|
25128
26763
|
),
|
|
25129
26764
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25130
|
-
|
|
26765
|
+
chunkFSARTLUE_cjs.Button,
|
|
25131
26766
|
{
|
|
25132
26767
|
type: "submit",
|
|
25133
26768
|
className: "w-full",
|
|
@@ -25368,7 +27003,7 @@ function OrderSidebar({
|
|
|
25368
27003
|
"data-slot": "order-sidebar-footer",
|
|
25369
27004
|
className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-900",
|
|
25370
27005
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
25371
|
-
|
|
27006
|
+
chunkFSARTLUE_cjs.Button,
|
|
25372
27007
|
{
|
|
25373
27008
|
variant: action.variant || "primary",
|
|
25374
27009
|
onClick: action.onClick,
|
|
@@ -25603,7 +27238,7 @@ function PatientOverflowMenu({
|
|
|
25603
27238
|
},
|
|
25604
27239
|
children: [
|
|
25605
27240
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25606
|
-
|
|
27241
|
+
chunkFSARTLUE_cjs.Button,
|
|
25607
27242
|
{
|
|
25608
27243
|
variant: "ghost",
|
|
25609
27244
|
size: "icon",
|
|
@@ -25875,7 +27510,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
25875
27510
|
children: [
|
|
25876
27511
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-4 px-5 py-4", children: [
|
|
25877
27512
|
showBackButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
25878
|
-
|
|
27513
|
+
chunkFSARTLUE_cjs.Button,
|
|
25879
27514
|
{
|
|
25880
27515
|
variant: "ghost",
|
|
25881
27516
|
size: "icon",
|
|
@@ -26024,7 +27659,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
26024
27659
|
!patient.email && !patient.phone && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: "No contact information available." })
|
|
26025
27660
|
] }) }),
|
|
26026
27661
|
/* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
26027
|
-
|
|
27662
|
+
chunkFSARTLUE_cjs.Button,
|
|
26028
27663
|
{
|
|
26029
27664
|
variant: "secondary",
|
|
26030
27665
|
onClick: () => setContactModalOpen(false),
|
|
@@ -26168,7 +27803,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
26168
27803
|
] }) }),
|
|
26169
27804
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
26170
27805
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26171
|
-
|
|
27806
|
+
chunkFSARTLUE_cjs.Button,
|
|
26172
27807
|
{
|
|
26173
27808
|
variant: "secondary",
|
|
26174
27809
|
onClick: () => {
|
|
@@ -26179,7 +27814,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
26179
27814
|
}
|
|
26180
27815
|
),
|
|
26181
27816
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
26182
|
-
|
|
27817
|
+
chunkFSARTLUE_cjs.Button,
|
|
26183
27818
|
{
|
|
26184
27819
|
onClick: () => {
|
|
26185
27820
|
if (addModalType) {
|
|
@@ -26397,7 +28032,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
26397
28032
|
] }) }),
|
|
26398
28033
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
26399
28034
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26400
|
-
|
|
28035
|
+
chunkFSARTLUE_cjs.Button,
|
|
26401
28036
|
{
|
|
26402
28037
|
variant: "secondary",
|
|
26403
28038
|
onClick: () => {
|
|
@@ -26408,7 +28043,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
26408
28043
|
}
|
|
26409
28044
|
),
|
|
26410
28045
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26411
|
-
|
|
28046
|
+
chunkFSARTLUE_cjs.Button,
|
|
26412
28047
|
{
|
|
26413
28048
|
onClick: () => {
|
|
26414
28049
|
onEditPatient?.(editPatientForm);
|
|
@@ -26649,7 +28284,7 @@ function PaymentHistoryTable({
|
|
|
26649
28284
|
) }),
|
|
26650
28285
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: getStatusVariant(payment.status), children: payment.status }) }),
|
|
26651
28286
|
onRefund && /* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-3 text-end", children: payment.status === "completed" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
26652
|
-
|
|
28287
|
+
chunkFSARTLUE_cjs.Button,
|
|
26653
28288
|
{
|
|
26654
28289
|
variant: "ghost",
|
|
26655
28290
|
size: "sm",
|
|
@@ -27192,7 +28827,7 @@ function PendingClaimsTable({
|
|
|
27192
28827
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: getStatusVariant(claim.status), children: claim.status }) }),
|
|
27193
28828
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4 text-end", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
27194
28829
|
onViewDetails && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27195
|
-
|
|
28830
|
+
chunkFSARTLUE_cjs.Button,
|
|
27196
28831
|
{
|
|
27197
28832
|
variant: "ghost",
|
|
27198
28833
|
size: "sm",
|
|
@@ -27202,7 +28837,7 @@ function PendingClaimsTable({
|
|
|
27202
28837
|
),
|
|
27203
28838
|
claim.status === "pending" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
27204
28839
|
onReject && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27205
|
-
|
|
28840
|
+
chunkFSARTLUE_cjs.Button,
|
|
27206
28841
|
{
|
|
27207
28842
|
variant: "outline",
|
|
27208
28843
|
size: "sm",
|
|
@@ -27212,7 +28847,7 @@ function PendingClaimsTable({
|
|
|
27212
28847
|
}
|
|
27213
28848
|
),
|
|
27214
28849
|
onApprove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27215
|
-
|
|
28850
|
+
chunkFSARTLUE_cjs.Button,
|
|
27216
28851
|
{
|
|
27217
28852
|
size: "sm",
|
|
27218
28853
|
onClick: () => onApprove(claim),
|
|
@@ -27255,7 +28890,7 @@ function PendingClaimsTable({
|
|
|
27255
28890
|
] }) }),
|
|
27256
28891
|
claim.status === "pending" && (onApprove || onReject) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-3 flex gap-2", children: [
|
|
27257
28892
|
onViewDetails && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27258
|
-
|
|
28893
|
+
chunkFSARTLUE_cjs.Button,
|
|
27259
28894
|
{
|
|
27260
28895
|
variant: "ghost",
|
|
27261
28896
|
size: "sm",
|
|
@@ -27265,7 +28900,7 @@ function PendingClaimsTable({
|
|
|
27265
28900
|
}
|
|
27266
28901
|
),
|
|
27267
28902
|
onReject && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27268
|
-
|
|
28903
|
+
chunkFSARTLUE_cjs.Button,
|
|
27269
28904
|
{
|
|
27270
28905
|
variant: "outline",
|
|
27271
28906
|
size: "sm",
|
|
@@ -27276,7 +28911,7 @@ function PendingClaimsTable({
|
|
|
27276
28911
|
}
|
|
27277
28912
|
),
|
|
27278
28913
|
onApprove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27279
|
-
|
|
28914
|
+
chunkFSARTLUE_cjs.Button,
|
|
27280
28915
|
{
|
|
27281
28916
|
size: "sm",
|
|
27282
28917
|
onClick: () => onApprove(claim),
|
|
@@ -27656,7 +29291,7 @@ function RelevanceControl({
|
|
|
27656
29291
|
{
|
|
27657
29292
|
role: "toolbar",
|
|
27658
29293
|
"aria-label": `Relevance for ${labelPrefix}`,
|
|
27659
|
-
onKeyDown:
|
|
29294
|
+
onKeyDown: chunkJCO62XMU_cjs.toolbarKeyNav,
|
|
27660
29295
|
className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
|
|
27661
29296
|
children: RELEVANCE_ORDER.map((relevance) => {
|
|
27662
29297
|
const active = value === relevance;
|
|
@@ -27726,14 +29361,14 @@ var PresentingProblems = React13__namespace.forwardRef(
|
|
|
27726
29361
|
const to = from + dir;
|
|
27727
29362
|
if (to < 0 || to >= ids.length) return;
|
|
27728
29363
|
[ids[from], ids[to]] = [ids[to], ids[from]];
|
|
27729
|
-
const current =
|
|
29364
|
+
const current = chunkJCO62XMU_cjs.currentAssertion(concern);
|
|
27730
29365
|
setAnnouncement(
|
|
27731
29366
|
`${current?.text ?? concern.concernId} moved ${dir === -1 ? "up" : "down"}`
|
|
27732
29367
|
);
|
|
27733
29368
|
onReorder(ids);
|
|
27734
29369
|
};
|
|
27735
29370
|
const renderRow = (concern, inUnselectedPool) => {
|
|
27736
|
-
const current =
|
|
29371
|
+
const current = chunkJCO62XMU_cjs.currentAssertion(concern);
|
|
27737
29372
|
if (!current) return null;
|
|
27738
29373
|
const relevance = relevanceOf(concern.concernId);
|
|
27739
29374
|
const entry = presenting.find((p) => p.concernId === concern.concernId);
|
|
@@ -27785,7 +29420,7 @@ var PresentingProblems = React13__namespace.forwardRef(
|
|
|
27785
29420
|
}
|
|
27786
29421
|
) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/60 select-none", children: "\u2022" }),
|
|
27787
29422
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground font-medium", children: current.text }),
|
|
27788
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29423
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJCO62XMU_cjs.CodingChips, { coding: current.coding }),
|
|
27789
29424
|
entry?.comments && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: entry.comments }),
|
|
27790
29425
|
outOfScope && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27791
29426
|
chunk7E46YDOT_cjs.Badge,
|
|
@@ -27885,7 +29520,7 @@ var PresentingProblems = React13__namespace.forwardRef(
|
|
|
27885
29520
|
}
|
|
27886
29521
|
),
|
|
27887
29522
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27888
|
-
|
|
29523
|
+
chunkFSARTLUE_cjs.Button,
|
|
27889
29524
|
{
|
|
27890
29525
|
variant: "outline",
|
|
27891
29526
|
size: "sm",
|
|
@@ -30057,7 +31692,7 @@ var GeolocationButton = ({
|
|
|
30057
31692
|
}
|
|
30058
31693
|
};
|
|
30059
31694
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkGLG6UE2H_cjs.Tooltip, { content: getTooltip(), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30060
|
-
|
|
31695
|
+
chunkFSARTLUE_cjs.Button,
|
|
30061
31696
|
{
|
|
30062
31697
|
type: "button",
|
|
30063
31698
|
variant: "ghost",
|
|
@@ -30259,7 +31894,7 @@ var ProviderSearchBar = React13__namespace.forwardRef(
|
|
|
30259
31894
|
}
|
|
30260
31895
|
) }),
|
|
30261
31896
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30262
|
-
|
|
31897
|
+
chunkFSARTLUE_cjs.Button,
|
|
30263
31898
|
{
|
|
30264
31899
|
type: "submit",
|
|
30265
31900
|
variant: "ghost",
|
|
@@ -31442,7 +33077,7 @@ function ProviderSettings({
|
|
|
31442
33077
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: "Provider Settings" }),
|
|
31443
33078
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
31444
33079
|
hasChanges && /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: "warning", children: "Unsaved changes" }),
|
|
31445
|
-
onSave && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33080
|
+
onSave && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: handleSave, disabled: isSaving || !hasChanges, children: isSaving ? "Saving..." : "Save Changes" })
|
|
31446
33081
|
] })
|
|
31447
33082
|
]
|
|
31448
33083
|
}
|
|
@@ -31486,7 +33121,7 @@ function ProviderSettings({
|
|
|
31486
33121
|
}
|
|
31487
33122
|
),
|
|
31488
33123
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31489
|
-
|
|
33124
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
31490
33125
|
{
|
|
31491
33126
|
id: "provider-description",
|
|
31492
33127
|
value: settings.general.description || "",
|
|
@@ -32067,7 +33702,7 @@ function RowActionsMenu({
|
|
|
32067
33702
|
chunkPINIBEIU_cjs.Dropdown,
|
|
32068
33703
|
{
|
|
32069
33704
|
trigger: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32070
|
-
|
|
33705
|
+
chunkFSARTLUE_cjs.Button,
|
|
32071
33706
|
{
|
|
32072
33707
|
type: "button",
|
|
32073
33708
|
variant: "ghost",
|
|
@@ -32249,7 +33884,7 @@ function QuickLinksCard({
|
|
|
32249
33884
|
"data-slot": "quick-links-list",
|
|
32250
33885
|
className: layout === "grid" ? `grid ${gridColsClass} gap-2` : "flex flex-col gap-1",
|
|
32251
33886
|
children: links.map((link) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32252
|
-
|
|
33887
|
+
chunkFSARTLUE_cjs.Button,
|
|
32253
33888
|
{
|
|
32254
33889
|
variant: "ghost",
|
|
32255
33890
|
className: `h-auto justify-start px-3 py-2 ${link.disabled ? "cursor-not-allowed opacity-50" : ""} ${layout === "grid" ? "h-20 flex-col items-center text-center" : ""} `,
|
|
@@ -32944,7 +34579,7 @@ function RejectionModal({
|
|
|
32944
34579
|
] }),
|
|
32945
34580
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
32946
34581
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32947
|
-
|
|
34582
|
+
chunkFSARTLUE_cjs.Button,
|
|
32948
34583
|
{
|
|
32949
34584
|
type: "button",
|
|
32950
34585
|
variant: "outline",
|
|
@@ -32954,7 +34589,7 @@ function RejectionModal({
|
|
|
32954
34589
|
}
|
|
32955
34590
|
),
|
|
32956
34591
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32957
|
-
|
|
34592
|
+
chunkFSARTLUE_cjs.Button,
|
|
32958
34593
|
{
|
|
32959
34594
|
type: "submit",
|
|
32960
34595
|
variant: variant === "danger" ? "danger" : "primary",
|
|
@@ -33131,7 +34766,7 @@ function ReportDashboard({
|
|
|
33131
34766
|
className: "w-40"
|
|
33132
34767
|
}
|
|
33133
34768
|
),
|
|
33134
|
-
onExport && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34769
|
+
onExport && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onExport, children: [
|
|
33135
34770
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33136
34771
|
"svg",
|
|
33137
34772
|
{
|
|
@@ -33484,7 +35119,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
33484
35119
|
}
|
|
33485
35120
|
) }),
|
|
33486
35121
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33487
|
-
|
|
35122
|
+
chunk2Z2GFDRS_cjs.Textarea,
|
|
33488
35123
|
{
|
|
33489
35124
|
label: providerRecommendations,
|
|
33490
35125
|
value: recommendations,
|
|
@@ -33523,7 +35158,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
33523
35158
|
}
|
|
33524
35159
|
),
|
|
33525
35160
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
33526
|
-
|
|
35161
|
+
chunkFSARTLUE_cjs.Button,
|
|
33527
35162
|
{
|
|
33528
35163
|
type: "button",
|
|
33529
35164
|
variant: "secondary",
|
|
@@ -33702,7 +35337,7 @@ function ResultsEntryModal({
|
|
|
33702
35337
|
] }),
|
|
33703
35338
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
33704
35339
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33705
|
-
|
|
35340
|
+
chunkFSARTLUE_cjs.Button,
|
|
33706
35341
|
{
|
|
33707
35342
|
type: "button",
|
|
33708
35343
|
variant: "outline",
|
|
@@ -33712,7 +35347,7 @@ function ResultsEntryModal({
|
|
|
33712
35347
|
}
|
|
33713
35348
|
),
|
|
33714
35349
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33715
|
-
|
|
35350
|
+
chunkFSARTLUE_cjs.Button,
|
|
33716
35351
|
{
|
|
33717
35352
|
type: "button",
|
|
33718
35353
|
onClick: handleSubmitClick,
|
|
@@ -33904,7 +35539,7 @@ function ScheduleCalendar({
|
|
|
33904
35539
|
children: [
|
|
33905
35540
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
33906
35541
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33907
|
-
|
|
35542
|
+
chunkFSARTLUE_cjs.Button,
|
|
33908
35543
|
{
|
|
33909
35544
|
variant: "outline",
|
|
33910
35545
|
size: "sm",
|
|
@@ -33932,7 +35567,7 @@ function ScheduleCalendar({
|
|
|
33932
35567
|
}
|
|
33933
35568
|
),
|
|
33934
35569
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33935
|
-
|
|
35570
|
+
chunkFSARTLUE_cjs.Button,
|
|
33936
35571
|
{
|
|
33937
35572
|
variant: "outline",
|
|
33938
35573
|
size: "sm",
|
|
@@ -33959,7 +35594,7 @@ function ScheduleCalendar({
|
|
|
33959
35594
|
)
|
|
33960
35595
|
}
|
|
33961
35596
|
),
|
|
33962
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35597
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", size: "sm", onClick: goToToday, children: "Today" })
|
|
33963
35598
|
] }),
|
|
33964
35599
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: view === "day" ? currentDate.toLocaleDateString("en-US", {
|
|
33965
35600
|
weekday: "long",
|
|
@@ -33967,7 +35602,7 @@ function ScheduleCalendar({
|
|
|
33967
35602
|
day: "numeric",
|
|
33968
35603
|
year: "numeric"
|
|
33969
35604
|
}) : `Week of ${weekDates[0].toLocaleDateString("en-US", { month: "short", day: "numeric" })}` }),
|
|
33970
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: onAddAppointment && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35605
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: onAddAppointment && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { size: "sm", onClick: () => onAddAppointment(currentDate), children: "Add Appointment" }) })
|
|
33971
35606
|
]
|
|
33972
35607
|
}
|
|
33973
35608
|
),
|
|
@@ -35571,7 +37206,7 @@ function ServiceGeneralSettings({
|
|
|
35571
37206
|
{
|
|
35572
37207
|
className: "flex justify-end border-t border-gray-200 pt-4 dark:border-gray-700",
|
|
35573
37208
|
"data-slot": "service-settings-actions",
|
|
35574
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37209
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: onSave, disabled: isSaving, children: isSaving ? "Saving..." : "Save Settings" })
|
|
35575
37210
|
}
|
|
35576
37211
|
)
|
|
35577
37212
|
] })
|
|
@@ -36399,7 +38034,7 @@ function ServicePricingManager({
|
|
|
36399
38034
|
" services"
|
|
36400
38035
|
] })
|
|
36401
38036
|
] }),
|
|
36402
|
-
onBulkUpdate && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38037
|
+
onBulkUpdate && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: () => setShowBulkModal(true), children: "Bulk Adjust Prices" })
|
|
36403
38038
|
]
|
|
36404
38039
|
}
|
|
36405
38040
|
),
|
|
@@ -36414,7 +38049,7 @@ function ServicePricingManager({
|
|
|
36414
38049
|
) }),
|
|
36415
38050
|
uniqueCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
36416
38051
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36417
|
-
|
|
38052
|
+
chunkFSARTLUE_cjs.Button,
|
|
36418
38053
|
{
|
|
36419
38054
|
variant: selectedCategory === null ? "primary" : "ghost",
|
|
36420
38055
|
size: "sm",
|
|
@@ -36423,7 +38058,7 @@ function ServicePricingManager({
|
|
|
36423
38058
|
}
|
|
36424
38059
|
),
|
|
36425
38060
|
uniqueCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36426
|
-
|
|
38061
|
+
chunkFSARTLUE_cjs.Button,
|
|
36427
38062
|
{
|
|
36428
38063
|
variant: selectedCategory === category ? "primary" : "ghost",
|
|
36429
38064
|
size: "sm",
|
|
@@ -36546,7 +38181,7 @@ function ServicePricingManager({
|
|
|
36546
38181
|
] }),
|
|
36547
38182
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36548
38183
|
onToggleStatus && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36549
|
-
|
|
38184
|
+
chunkFSARTLUE_cjs.Button,
|
|
36550
38185
|
{
|
|
36551
38186
|
variant: "ghost",
|
|
36552
38187
|
size: "sm",
|
|
@@ -36555,7 +38190,7 @@ function ServicePricingManager({
|
|
|
36555
38190
|
}
|
|
36556
38191
|
),
|
|
36557
38192
|
onUpdatePrice && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36558
|
-
|
|
38193
|
+
chunkFSARTLUE_cjs.Button,
|
|
36559
38194
|
{
|
|
36560
38195
|
variant: "ghost",
|
|
36561
38196
|
size: "sm",
|
|
@@ -36636,8 +38271,8 @@ function ServicePricingManager({
|
|
|
36636
38271
|
] })
|
|
36637
38272
|
] }),
|
|
36638
38273
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
36639
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36640
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38274
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", onClick: () => setEditingService(null), children: "Cancel" }),
|
|
38275
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: handleSaveEdit, disabled: isSaving, children: isSaving ? "Saving..." : "Save Changes" })
|
|
36641
38276
|
] })
|
|
36642
38277
|
]
|
|
36643
38278
|
}
|
|
@@ -36652,7 +38287,7 @@ function ServicePricingManager({
|
|
|
36652
38287
|
] }),
|
|
36653
38288
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
36654
38289
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36655
|
-
|
|
38290
|
+
chunkFSARTLUE_cjs.Button,
|
|
36656
38291
|
{
|
|
36657
38292
|
variant: bulkAdjustmentType === "percent" ? "primary" : "ghost",
|
|
36658
38293
|
size: "sm",
|
|
@@ -36661,7 +38296,7 @@ function ServicePricingManager({
|
|
|
36661
38296
|
}
|
|
36662
38297
|
),
|
|
36663
38298
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36664
|
-
|
|
38299
|
+
chunkFSARTLUE_cjs.Button,
|
|
36665
38300
|
{
|
|
36666
38301
|
variant: bulkAdjustmentType === "fixed" ? "primary" : "ghost",
|
|
36667
38302
|
size: "sm",
|
|
@@ -36686,9 +38321,9 @@ function ServicePricingManager({
|
|
|
36686
38321
|
] })
|
|
36687
38322
|
] }),
|
|
36688
38323
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
36689
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38324
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", onClick: () => setShowBulkModal(false), children: "Cancel" }),
|
|
36690
38325
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36691
|
-
|
|
38326
|
+
chunkFSARTLUE_cjs.Button,
|
|
36692
38327
|
{
|
|
36693
38328
|
onClick: handleBulkAdjust,
|
|
36694
38329
|
disabled: isSaving || !bulkAdjustment,
|
|
@@ -36954,7 +38589,7 @@ function ServiceShippingSettings({
|
|
|
36954
38589
|
{
|
|
36955
38590
|
className: "flex justify-end pt-2",
|
|
36956
38591
|
"data-slot": "shipping-settings-actions",
|
|
36957
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38592
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: onSave, disabled: isSaving, children: isSaving ? "Saving..." : "Save Shipping Settings" })
|
|
36958
38593
|
}
|
|
36959
38594
|
)
|
|
36960
38595
|
]
|
|
@@ -37217,7 +38852,7 @@ function SetupServiceModal({
|
|
|
37217
38852
|
] }),
|
|
37218
38853
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
|
|
37219
38854
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37220
|
-
|
|
38855
|
+
chunkFSARTLUE_cjs.Button,
|
|
37221
38856
|
{
|
|
37222
38857
|
type: "button",
|
|
37223
38858
|
variant: "outline",
|
|
@@ -37226,7 +38861,7 @@ function SetupServiceModal({
|
|
|
37226
38861
|
children: "Cancel"
|
|
37227
38862
|
}
|
|
37228
38863
|
),
|
|
37229
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38864
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", disabled: !isValid || isSubmitting, children: isSubmitting ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
37230
38865
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
37231
38866
|
"svg",
|
|
37232
38867
|
{
|
|
@@ -38873,8 +40508,8 @@ function MobileMenuPanel({
|
|
|
38873
40508
|
className
|
|
38874
40509
|
}) {
|
|
38875
40510
|
if (!isOpen) return null;
|
|
38876
|
-
const curPath = currentPath ?
|
|
38877
|
-
const isCurrent = (href) => curPath !== null &&
|
|
40511
|
+
const curPath = currentPath ? chunkIIV5GNSK_cjs.normalizePath(currentPath) : null;
|
|
40512
|
+
const isCurrent = (href) => curPath !== null && chunkIIV5GNSK_cjs.normalizePath(href) === curPath;
|
|
38878
40513
|
const sectionLinkClass = "text-muted-foreground block rounded-lg px-4 py-2 text-xs font-bold tracking-wider uppercase hover:bg-gray-100 dark:hover:bg-gray-800";
|
|
38879
40514
|
const itemLinkClass = "flex items-center gap-2 rounded-lg px-4 py-2.5 text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-800";
|
|
38880
40515
|
const renderItem = (it) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -39076,7 +40711,7 @@ function SiteHeader({
|
|
|
39076
40711
|
),
|
|
39077
40712
|
menus?.length ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden items-center gap-1 md:flex", children: [
|
|
39078
40713
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39079
|
-
|
|
40714
|
+
chunkIIV5GNSK_cjs.MegaMenuBar,
|
|
39080
40715
|
{
|
|
39081
40716
|
menus,
|
|
39082
40717
|
currentPath,
|
|
@@ -39570,7 +41205,7 @@ function SSOConfigForm({
|
|
|
39570
41205
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground mt-1 font-medium", children: certificateFile.name })
|
|
39571
41206
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center", children: [
|
|
39572
41207
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mb-3 text-sm", children: selectCertificate }),
|
|
39573
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41208
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "button", variant: "primary", size: "sm", children: selectFileToUpload })
|
|
39574
41209
|
] }),
|
|
39575
41210
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39576
41211
|
"input",
|
|
@@ -39629,9 +41264,9 @@ function SSOConfigForm({
|
|
|
39629
41264
|
)
|
|
39630
41265
|
] }),
|
|
39631
41266
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3 pt-4 sm:flex-row", children: [
|
|
39632
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39633
|
-
hasExistingConfig && onDelete && /* @__PURE__ */ jsxRuntime.jsx(
|
|
39634
|
-
onCancel && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41267
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "submit", variant: "primary", children: save }),
|
|
41268
|
+
hasExistingConfig && onDelete && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "button", variant: "danger", onClick: onDelete, children: deleteLabel }),
|
|
41269
|
+
onCancel && /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { type: "button", variant: "secondary", onClick: onCancel, children: cancel })
|
|
39635
41270
|
] })
|
|
39636
41271
|
] })
|
|
39637
41272
|
] });
|
|
@@ -40746,7 +42381,7 @@ function WebChartReportViewer({
|
|
|
40746
42381
|
webchartBrand2.name,
|
|
40747
42382
|
".",
|
|
40748
42383
|
onReconnect && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40749
|
-
|
|
42384
|
+
chunkFSARTLUE_cjs.Button,
|
|
40750
42385
|
{
|
|
40751
42386
|
variant: "secondary",
|
|
40752
42387
|
size: "sm",
|
|
@@ -40760,7 +42395,7 @@ function WebChartReportViewer({
|
|
|
40760
42395
|
)
|
|
40761
42396
|
] })
|
|
40762
42397
|
] }),
|
|
40763
|
-
!error && !loading && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42398
|
+
!error && !loading && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { onClick: onRefreshReports, className: "mb-4", children: [
|
|
40764
42399
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { className: "me-2 h-4 w-4" }),
|
|
40765
42400
|
refreshReports
|
|
40766
42401
|
] }),
|
|
@@ -40873,7 +42508,7 @@ function WebChartReportViewer({
|
|
|
40873
42508
|
)
|
|
40874
42509
|
] }),
|
|
40875
42510
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40876
|
-
|
|
42511
|
+
chunkFSARTLUE_cjs.Button,
|
|
40877
42512
|
{
|
|
40878
42513
|
size: "sm",
|
|
40879
42514
|
onClick: onRefreshReport,
|
|
@@ -41407,11 +43042,11 @@ Object.defineProperty(exports, "defaultReviewCardLabels", {
|
|
|
41407
43042
|
});
|
|
41408
43043
|
Object.defineProperty(exports, "RecordHeader", {
|
|
41409
43044
|
enumerable: true,
|
|
41410
|
-
get: function () { return
|
|
43045
|
+
get: function () { return chunk2OXNJJHJ_cjs.RecordHeader; }
|
|
41411
43046
|
});
|
|
41412
43047
|
Object.defineProperty(exports, "defaultRecordHeaderLabels", {
|
|
41413
43048
|
enumerable: true,
|
|
41414
|
-
get: function () { return
|
|
43049
|
+
get: function () { return chunk2OXNJJHJ_cjs.defaultRecordHeaderLabels; }
|
|
41415
43050
|
});
|
|
41416
43051
|
Object.defineProperty(exports, "RecordLayout", {
|
|
41417
43052
|
enumerable: true,
|
|
@@ -41507,11 +43142,11 @@ Object.defineProperty(exports, "getCompleteness", {
|
|
|
41507
43142
|
});
|
|
41508
43143
|
Object.defineProperty(exports, "FieldHistory", {
|
|
41509
43144
|
enumerable: true,
|
|
41510
|
-
get: function () { return
|
|
43145
|
+
get: function () { return chunkWG2ANSDG_cjs.FieldHistory; }
|
|
41511
43146
|
});
|
|
41512
43147
|
Object.defineProperty(exports, "defaultFieldHistoryLabels", {
|
|
41513
43148
|
enumerable: true,
|
|
41514
|
-
get: function () { return
|
|
43149
|
+
get: function () { return chunkWG2ANSDG_cjs.defaultFieldHistoryLabels; }
|
|
41515
43150
|
});
|
|
41516
43151
|
Object.defineProperty(exports, "LogoUploader", {
|
|
41517
43152
|
enumerable: true,
|
|
@@ -41547,7 +43182,7 @@ Object.defineProperty(exports, "defaultInlineEditLabels", {
|
|
|
41547
43182
|
});
|
|
41548
43183
|
Object.defineProperty(exports, "ViewSet", {
|
|
41549
43184
|
enumerable: true,
|
|
41550
|
-
get: function () { return
|
|
43185
|
+
get: function () { return chunk3IKIRGHI_cjs.ViewSet; }
|
|
41551
43186
|
});
|
|
41552
43187
|
Object.defineProperty(exports, "TranscriptView", {
|
|
41553
43188
|
enumerable: true,
|
|
@@ -41587,27 +43222,27 @@ Object.defineProperty(exports, "resolveCurrent", {
|
|
|
41587
43222
|
});
|
|
41588
43223
|
Object.defineProperty(exports, "ActionPlan", {
|
|
41589
43224
|
enumerable: true,
|
|
41590
|
-
get: function () { return
|
|
43225
|
+
get: function () { return chunkV2KSJLUL_cjs.ActionPlan; }
|
|
41591
43226
|
});
|
|
41592
43227
|
Object.defineProperty(exports, "defaultActionPlanLabels", {
|
|
41593
43228
|
enumerable: true,
|
|
41594
|
-
get: function () { return
|
|
43229
|
+
get: function () { return chunkV2KSJLUL_cjs.defaultActionPlanLabels; }
|
|
41595
43230
|
});
|
|
41596
43231
|
Object.defineProperty(exports, "ActivityFeed", {
|
|
41597
43232
|
enumerable: true,
|
|
41598
|
-
get: function () { return
|
|
43233
|
+
get: function () { return chunk4I5V6SXP_cjs.ActivityFeed; }
|
|
41599
43234
|
});
|
|
41600
43235
|
Object.defineProperty(exports, "defaultActivityFeedLabels", {
|
|
41601
43236
|
enumerable: true,
|
|
41602
|
-
get: function () { return
|
|
43237
|
+
get: function () { return chunk4I5V6SXP_cjs.defaultActivityFeedLabels; }
|
|
41603
43238
|
});
|
|
41604
43239
|
Object.defineProperty(exports, "AssociationList", {
|
|
41605
43240
|
enumerable: true,
|
|
41606
|
-
get: function () { return
|
|
43241
|
+
get: function () { return chunkTXB3UHIO_cjs.AssociationList; }
|
|
41607
43242
|
});
|
|
41608
43243
|
Object.defineProperty(exports, "defaultAssociationListLabels", {
|
|
41609
43244
|
enumerable: true,
|
|
41610
|
-
get: function () { return
|
|
43245
|
+
get: function () { return chunkTXB3UHIO_cjs.defaultAssociationListLabels; }
|
|
41611
43246
|
});
|
|
41612
43247
|
Object.defineProperty(exports, "Table", {
|
|
41613
43248
|
enumerable: true,
|
|
@@ -41987,7 +43622,7 @@ Object.defineProperty(exports, "scrollAreaVariants", {
|
|
|
41987
43622
|
});
|
|
41988
43623
|
Object.defineProperty(exports, "SectionSpyNav", {
|
|
41989
43624
|
enumerable: true,
|
|
41990
|
-
get: function () { return
|
|
43625
|
+
get: function () { return chunkUVVZD3AS_cjs.SectionSpyNav; }
|
|
41991
43626
|
});
|
|
41992
43627
|
Object.defineProperty(exports, "AnimatedNumber", {
|
|
41993
43628
|
enumerable: true,
|
|
@@ -42075,23 +43710,23 @@ Object.defineProperty(exports, "recordButtonVariants", {
|
|
|
42075
43710
|
});
|
|
42076
43711
|
Object.defineProperty(exports, "FillerWordsModal", {
|
|
42077
43712
|
enumerable: true,
|
|
42078
|
-
get: function () { return
|
|
43713
|
+
get: function () { return chunkPJN4HM2X_cjs.FillerWordsModal; }
|
|
42079
43714
|
});
|
|
42080
43715
|
Object.defineProperty(exports, "MediaEditor", {
|
|
42081
43716
|
enumerable: true,
|
|
42082
|
-
get: function () { return
|
|
43717
|
+
get: function () { return chunkPJN4HM2X_cjs.MediaEditor; }
|
|
42083
43718
|
});
|
|
42084
43719
|
Object.defineProperty(exports, "SilenceSettingsModal", {
|
|
42085
43720
|
enumerable: true,
|
|
42086
|
-
get: function () { return
|
|
43721
|
+
get: function () { return chunkPJN4HM2X_cjs.SilenceSettingsModal; }
|
|
42087
43722
|
});
|
|
42088
43723
|
Object.defineProperty(exports, "SpeedMarkerMenu", {
|
|
42089
43724
|
enumerable: true,
|
|
42090
|
-
get: function () { return
|
|
43725
|
+
get: function () { return chunkPJN4HM2X_cjs.SpeedMarkerMenu; }
|
|
42091
43726
|
});
|
|
42092
43727
|
Object.defineProperty(exports, "WordEditorModal", {
|
|
42093
43728
|
enumerable: true,
|
|
42094
|
-
get: function () { return
|
|
43729
|
+
get: function () { return chunkPJN4HM2X_cjs.WordEditorModal; }
|
|
42095
43730
|
});
|
|
42096
43731
|
Object.defineProperty(exports, "Slider", {
|
|
42097
43732
|
enumerable: true,
|
|
@@ -42111,31 +43746,31 @@ Object.defineProperty(exports, "sliderTrackVariants", {
|
|
|
42111
43746
|
});
|
|
42112
43747
|
Object.defineProperty(exports, "MediaFeed", {
|
|
42113
43748
|
enumerable: true,
|
|
42114
|
-
get: function () { return
|
|
43749
|
+
get: function () { return chunk2R3ILG4Y_cjs.MediaFeed; }
|
|
42115
43750
|
});
|
|
42116
43751
|
Object.defineProperty(exports, "MediaPlayer", {
|
|
42117
43752
|
enumerable: true,
|
|
42118
|
-
get: function () { return
|
|
43753
|
+
get: function () { return chunkECKIFQSD_cjs.MediaPlayer; }
|
|
42119
43754
|
});
|
|
42120
43755
|
Object.defineProperty(exports, "inferMediaKind", {
|
|
42121
43756
|
enumerable: true,
|
|
42122
|
-
get: function () { return
|
|
43757
|
+
get: function () { return chunkECKIFQSD_cjs.inferMediaKind; }
|
|
42123
43758
|
});
|
|
42124
43759
|
Object.defineProperty(exports, "mediaPlayerVariants", {
|
|
42125
43760
|
enumerable: true,
|
|
42126
|
-
get: function () { return
|
|
43761
|
+
get: function () { return chunkECKIFQSD_cjs.mediaPlayerVariants; }
|
|
42127
43762
|
});
|
|
42128
43763
|
Object.defineProperty(exports, "MegaMenu", {
|
|
42129
43764
|
enumerable: true,
|
|
42130
|
-
get: function () { return
|
|
43765
|
+
get: function () { return chunkIIV5GNSK_cjs.MegaMenu; }
|
|
42131
43766
|
});
|
|
42132
43767
|
Object.defineProperty(exports, "MegaMenuBar", {
|
|
42133
43768
|
enumerable: true,
|
|
42134
|
-
get: function () { return
|
|
43769
|
+
get: function () { return chunkIIV5GNSK_cjs.MegaMenuBar; }
|
|
42135
43770
|
});
|
|
42136
43771
|
Object.defineProperty(exports, "normalizePath", {
|
|
42137
43772
|
enumerable: true,
|
|
42138
|
-
get: function () { return
|
|
43773
|
+
get: function () { return chunkIIV5GNSK_cjs.normalizePath; }
|
|
42139
43774
|
});
|
|
42140
43775
|
Object.defineProperty(exports, "OrbitRing", {
|
|
42141
43776
|
enumerable: true,
|
|
@@ -42143,7 +43778,7 @@ Object.defineProperty(exports, "OrbitRing", {
|
|
|
42143
43778
|
});
|
|
42144
43779
|
Object.defineProperty(exports, "RadialExplorer", {
|
|
42145
43780
|
enumerable: true,
|
|
42146
|
-
get: function () { return
|
|
43781
|
+
get: function () { return chunk4VSK3EE5_cjs.RadialExplorer; }
|
|
42147
43782
|
});
|
|
42148
43783
|
Object.defineProperty(exports, "Pagination", {
|
|
42149
43784
|
enumerable: true,
|
|
@@ -42195,47 +43830,47 @@ Object.defineProperty(exports, "KeyboardShortcutsOverlay", {
|
|
|
42195
43830
|
});
|
|
42196
43831
|
Object.defineProperty(exports, "ListView", {
|
|
42197
43832
|
enumerable: true,
|
|
42198
|
-
get: function () { return
|
|
43833
|
+
get: function () { return chunkZOSM6D7F_cjs.ListView; }
|
|
42199
43834
|
});
|
|
42200
43835
|
Object.defineProperty(exports, "listViewItemVariants", {
|
|
42201
43836
|
enumerable: true,
|
|
42202
|
-
get: function () { return
|
|
43837
|
+
get: function () { return chunkZOSM6D7F_cjs.itemVariants; }
|
|
42203
43838
|
});
|
|
42204
43839
|
Object.defineProperty(exports, "CodeBlock", {
|
|
42205
43840
|
enumerable: true,
|
|
42206
|
-
get: function () { return
|
|
43841
|
+
get: function () { return chunkKD7YD6US_cjs.CodeBlock; }
|
|
42207
43842
|
});
|
|
42208
43843
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
42209
43844
|
enumerable: true,
|
|
42210
|
-
get: function () { return
|
|
43845
|
+
get: function () { return chunkKD7YD6US_cjs.MarkdownRenderer; }
|
|
42211
43846
|
});
|
|
42212
43847
|
Object.defineProperty(exports, "highlightCode", {
|
|
42213
43848
|
enumerable: true,
|
|
42214
|
-
get: function () { return
|
|
43849
|
+
get: function () { return chunkKD7YD6US_cjs.highlightCode; }
|
|
42215
43850
|
});
|
|
42216
43851
|
Object.defineProperty(exports, "useMarkdown", {
|
|
42217
43852
|
enumerable: true,
|
|
42218
|
-
get: function () { return
|
|
43853
|
+
get: function () { return chunkKD7YD6US_cjs.useMarkdown; }
|
|
42219
43854
|
});
|
|
42220
43855
|
Object.defineProperty(exports, "SurveyBlock", {
|
|
42221
43856
|
enumerable: true,
|
|
42222
|
-
get: function () { return
|
|
43857
|
+
get: function () { return chunkVVKUYQER_cjs.SurveyBlock; }
|
|
42223
43858
|
});
|
|
42224
43859
|
Object.defineProperty(exports, "CsvBlock", {
|
|
42225
43860
|
enumerable: true,
|
|
42226
|
-
get: function () { return
|
|
43861
|
+
get: function () { return chunkVIVS44IG_cjs.CsvBlock; }
|
|
42227
43862
|
});
|
|
42228
43863
|
Object.defineProperty(exports, "HtmlPreviewBlock", {
|
|
42229
43864
|
enumerable: true,
|
|
42230
|
-
get: function () { return
|
|
43865
|
+
get: function () { return chunkG42V64UW_cjs.HtmlPreviewBlock; }
|
|
42231
43866
|
});
|
|
42232
43867
|
Object.defineProperty(exports, "MermaidBlock", {
|
|
42233
43868
|
enumerable: true,
|
|
42234
|
-
get: function () { return
|
|
43869
|
+
get: function () { return chunkN7AIZWQS_cjs.MermaidBlock; }
|
|
42235
43870
|
});
|
|
42236
43871
|
Object.defineProperty(exports, "FenceBlock", {
|
|
42237
43872
|
enumerable: true,
|
|
42238
|
-
get: function () { return
|
|
43873
|
+
get: function () { return chunkFNSFMM4F_cjs.FenceBlock; }
|
|
42239
43874
|
});
|
|
42240
43875
|
Object.defineProperty(exports, "CopyButton", {
|
|
42241
43876
|
enumerable: true,
|
|
@@ -42255,31 +43890,31 @@ Object.defineProperty(exports, "validatePhoneNumber", {
|
|
|
42255
43890
|
});
|
|
42256
43891
|
Object.defineProperty(exports, "CustomizableDashboard", {
|
|
42257
43892
|
enumerable: true,
|
|
42258
|
-
get: function () { return
|
|
43893
|
+
get: function () { return chunkS6457ZNC_cjs.CustomizableDashboard; }
|
|
42259
43894
|
});
|
|
42260
43895
|
Object.defineProperty(exports, "DashboardCustomizePanel", {
|
|
42261
43896
|
enumerable: true,
|
|
42262
|
-
get: function () { return
|
|
43897
|
+
get: function () { return chunkS6457ZNC_cjs.DashboardCustomizePanel; }
|
|
42263
43898
|
});
|
|
42264
43899
|
Object.defineProperty(exports, "consolidateColumns", {
|
|
42265
43900
|
enumerable: true,
|
|
42266
|
-
get: function () { return
|
|
43901
|
+
get: function () { return chunkS6457ZNC_cjs.consolidateColumns; }
|
|
42267
43902
|
});
|
|
42268
43903
|
Object.defineProperty(exports, "mergeColumnOrder", {
|
|
42269
43904
|
enumerable: true,
|
|
42270
|
-
get: function () { return
|
|
43905
|
+
get: function () { return chunkS6457ZNC_cjs.mergeColumnOrder; }
|
|
42271
43906
|
});
|
|
42272
43907
|
Object.defineProperty(exports, "moveAcrossColumns", {
|
|
42273
43908
|
enumerable: true,
|
|
42274
|
-
get: function () { return
|
|
43909
|
+
get: function () { return chunkS6457ZNC_cjs.moveAcrossColumns; }
|
|
42275
43910
|
});
|
|
42276
43911
|
Object.defineProperty(exports, "reorderOnDrop", {
|
|
42277
43912
|
enumerable: true,
|
|
42278
|
-
get: function () { return
|
|
43913
|
+
get: function () { return chunkS6457ZNC_cjs.reorderOnDrop; }
|
|
42279
43914
|
});
|
|
42280
43915
|
Object.defineProperty(exports, "requiredColumns", {
|
|
42281
43916
|
enumerable: true,
|
|
42282
|
-
get: function () { return
|
|
43917
|
+
get: function () { return chunkS6457ZNC_cjs.requiredColumns; }
|
|
42283
43918
|
});
|
|
42284
43919
|
Object.defineProperty(exports, "Sheet", {
|
|
42285
43920
|
enumerable: true,
|
|
@@ -42319,39 +43954,39 @@ Object.defineProperty(exports, "sheetOverlayVariants", {
|
|
|
42319
43954
|
});
|
|
42320
43955
|
Object.defineProperty(exports, "EMAIL_BLOCK_TYPES", {
|
|
42321
43956
|
enumerable: true,
|
|
42322
|
-
get: function () { return
|
|
43957
|
+
get: function () { return chunkBP4LXRC6_cjs.EMAIL_BLOCK_TYPES; }
|
|
42323
43958
|
});
|
|
42324
43959
|
Object.defineProperty(exports, "EmailEditor", {
|
|
42325
43960
|
enumerable: true,
|
|
42326
|
-
get: function () { return
|
|
43961
|
+
get: function () { return chunkBP4LXRC6_cjs.EmailEditor; }
|
|
42327
43962
|
});
|
|
42328
43963
|
Object.defineProperty(exports, "createDefaultDesignSettings", {
|
|
42329
43964
|
enumerable: true,
|
|
42330
|
-
get: function () { return
|
|
43965
|
+
get: function () { return chunkBP4LXRC6_cjs.createDefaultDesignSettings; }
|
|
42331
43966
|
});
|
|
42332
43967
|
Object.defineProperty(exports, "createEmailBlock", {
|
|
42333
43968
|
enumerable: true,
|
|
42334
|
-
get: function () { return
|
|
43969
|
+
get: function () { return chunkBP4LXRC6_cjs.createEmailBlock; }
|
|
42335
43970
|
});
|
|
42336
43971
|
Object.defineProperty(exports, "createEmailHtmlSanitizer", {
|
|
42337
43972
|
enumerable: true,
|
|
42338
|
-
get: function () { return
|
|
43973
|
+
get: function () { return chunkBP4LXRC6_cjs.createEmailHtmlSanitizer; }
|
|
42339
43974
|
});
|
|
42340
43975
|
Object.defineProperty(exports, "createEmptyEmailContentTree", {
|
|
42341
43976
|
enumerable: true,
|
|
42342
|
-
get: function () { return
|
|
43977
|
+
get: function () { return chunkBP4LXRC6_cjs.createEmptyEmailContentTree; }
|
|
42343
43978
|
});
|
|
42344
43979
|
Object.defineProperty(exports, "defaultEmailEditorLabels", {
|
|
42345
43980
|
enumerable: true,
|
|
42346
|
-
get: function () { return
|
|
43981
|
+
get: function () { return chunkBP4LXRC6_cjs.defaultEmailEditorLabels; }
|
|
42347
43982
|
});
|
|
42348
43983
|
Object.defineProperty(exports, "generateEmailBlockId", {
|
|
42349
43984
|
enumerable: true,
|
|
42350
|
-
get: function () { return
|
|
43985
|
+
get: function () { return chunkBP4LXRC6_cjs.generateEmailBlockId; }
|
|
42351
43986
|
});
|
|
42352
43987
|
Object.defineProperty(exports, "renderEmailMjml", {
|
|
42353
43988
|
enumerable: true,
|
|
42354
|
-
get: function () { return
|
|
43989
|
+
get: function () { return chunkBP4LXRC6_cjs.renderEmailMjml; }
|
|
42355
43990
|
});
|
|
42356
43991
|
Object.defineProperty(exports, "Tabs", {
|
|
42357
43992
|
enumerable: true,
|
|
@@ -42395,11 +44030,11 @@ Object.defineProperty(exports, "FilterSummaryBar", {
|
|
|
42395
44030
|
});
|
|
42396
44031
|
Object.defineProperty(exports, "FloatingWindow", {
|
|
42397
44032
|
enumerable: true,
|
|
42398
|
-
get: function () { return
|
|
44033
|
+
get: function () { return chunkARRJRFPD_cjs.FloatingWindow; }
|
|
42399
44034
|
});
|
|
42400
44035
|
Object.defineProperty(exports, "MinimizedWindow", {
|
|
42401
44036
|
enumerable: true,
|
|
42402
|
-
get: function () { return
|
|
44037
|
+
get: function () { return chunkARRJRFPD_cjs.MinimizedWindow; }
|
|
42403
44038
|
});
|
|
42404
44039
|
Object.defineProperty(exports, "Breadcrumb", {
|
|
42405
44040
|
enumerable: true,
|
|
@@ -42411,11 +44046,11 @@ Object.defineProperty(exports, "BreadcrumbSlash", {
|
|
|
42411
44046
|
});
|
|
42412
44047
|
Object.defineProperty(exports, "CalendarView", {
|
|
42413
44048
|
enumerable: true,
|
|
42414
|
-
get: function () { return
|
|
44049
|
+
get: function () { return chunk32ZILZ2T_cjs.CalendarView; }
|
|
42415
44050
|
});
|
|
42416
44051
|
Object.defineProperty(exports, "defaultCalendarLabels", {
|
|
42417
44052
|
enumerable: true,
|
|
42418
|
-
get: function () { return
|
|
44053
|
+
get: function () { return chunk32ZILZ2T_cjs.defaultCalendarLabels; }
|
|
42419
44054
|
});
|
|
42420
44055
|
Object.defineProperty(exports, "ClampedText", {
|
|
42421
44056
|
enumerable: true,
|
|
@@ -42463,19 +44098,19 @@ Object.defineProperty(exports, "alertVariants", {
|
|
|
42463
44098
|
});
|
|
42464
44099
|
Object.defineProperty(exports, "AlertDialog", {
|
|
42465
44100
|
enumerable: true,
|
|
42466
|
-
get: function () { return
|
|
44101
|
+
get: function () { return chunk67SD6VPF_cjs.AlertDialog; }
|
|
42467
44102
|
});
|
|
42468
44103
|
Object.defineProperty(exports, "ConfirmDialogProvider", {
|
|
42469
44104
|
enumerable: true,
|
|
42470
|
-
get: function () { return
|
|
44105
|
+
get: function () { return chunk67SD6VPF_cjs.ConfirmDialogProvider; }
|
|
42471
44106
|
});
|
|
42472
44107
|
Object.defineProperty(exports, "defaultAlertDialogLabels", {
|
|
42473
44108
|
enumerable: true,
|
|
42474
|
-
get: function () { return
|
|
44109
|
+
get: function () { return chunk67SD6VPF_cjs.defaultAlertDialogLabels; }
|
|
42475
44110
|
});
|
|
42476
44111
|
Object.defineProperty(exports, "useConfirm", {
|
|
42477
44112
|
enumerable: true,
|
|
42478
|
-
get: function () { return
|
|
44113
|
+
get: function () { return chunk67SD6VPF_cjs.useConfirm; }
|
|
42479
44114
|
});
|
|
42480
44115
|
Object.defineProperty(exports, "AudioPlayer", {
|
|
42481
44116
|
enumerable: true,
|
|
@@ -42535,143 +44170,143 @@ Object.defineProperty(exports, "defaultBoardLabels", {
|
|
|
42535
44170
|
});
|
|
42536
44171
|
Object.defineProperty(exports, "BenchmarkTableSection", {
|
|
42537
44172
|
enumerable: true,
|
|
42538
|
-
get: function () { return
|
|
44173
|
+
get: function () { return chunkDO7EED3B_cjs.BenchmarkTableSection; }
|
|
42539
44174
|
});
|
|
42540
44175
|
Object.defineProperty(exports, "ComparisonSection", {
|
|
42541
44176
|
enumerable: true,
|
|
42542
|
-
get: function () { return
|
|
44177
|
+
get: function () { return chunkDO7EED3B_cjs.ComparisonSection; }
|
|
42543
44178
|
});
|
|
42544
44179
|
Object.defineProperty(exports, "CtaSection", {
|
|
42545
44180
|
enumerable: true,
|
|
42546
|
-
get: function () { return
|
|
44181
|
+
get: function () { return chunkDO7EED3B_cjs.CtaSection; }
|
|
42547
44182
|
});
|
|
42548
44183
|
Object.defineProperty(exports, "FaqSection", {
|
|
42549
44184
|
enumerable: true,
|
|
42550
|
-
get: function () { return
|
|
44185
|
+
get: function () { return chunkDO7EED3B_cjs.FaqSection; }
|
|
42551
44186
|
});
|
|
42552
44187
|
Object.defineProperty(exports, "FeatureGridSection", {
|
|
42553
44188
|
enumerable: true,
|
|
42554
|
-
get: function () { return
|
|
44189
|
+
get: function () { return chunkDO7EED3B_cjs.FeatureGridSection; }
|
|
42555
44190
|
});
|
|
42556
44191
|
Object.defineProperty(exports, "HeroSection", {
|
|
42557
44192
|
enumerable: true,
|
|
42558
|
-
get: function () { return
|
|
44193
|
+
get: function () { return chunkDO7EED3B_cjs.HeroSection; }
|
|
42559
44194
|
});
|
|
42560
44195
|
Object.defineProperty(exports, "LandingPage", {
|
|
42561
44196
|
enumerable: true,
|
|
42562
|
-
get: function () { return
|
|
44197
|
+
get: function () { return chunkDO7EED3B_cjs.LandingPage; }
|
|
42563
44198
|
});
|
|
42564
44199
|
Object.defineProperty(exports, "LeadFormSection", {
|
|
42565
44200
|
enumerable: true,
|
|
42566
|
-
get: function () { return
|
|
44201
|
+
get: function () { return chunkDO7EED3B_cjs.LeadFormSection; }
|
|
42567
44202
|
});
|
|
42568
44203
|
Object.defineProperty(exports, "LinkGroupsSection", {
|
|
42569
44204
|
enumerable: true,
|
|
42570
|
-
get: function () { return
|
|
44205
|
+
get: function () { return chunkDO7EED3B_cjs.LinkGroupsSection; }
|
|
42571
44206
|
});
|
|
42572
44207
|
Object.defineProperty(exports, "LogoCloudSection", {
|
|
42573
44208
|
enumerable: true,
|
|
42574
|
-
get: function () { return
|
|
44209
|
+
get: function () { return chunkDO7EED3B_cjs.LogoCloudSection; }
|
|
42575
44210
|
});
|
|
42576
44211
|
Object.defineProperty(exports, "MetricListSection", {
|
|
42577
44212
|
enumerable: true,
|
|
42578
|
-
get: function () { return
|
|
44213
|
+
get: function () { return chunkDO7EED3B_cjs.MetricListSection; }
|
|
42579
44214
|
});
|
|
42580
44215
|
Object.defineProperty(exports, "PdfEmbedSection", {
|
|
42581
44216
|
enumerable: true,
|
|
42582
|
-
get: function () { return
|
|
44217
|
+
get: function () { return chunkDO7EED3B_cjs.PdfEmbedSection; }
|
|
42583
44218
|
});
|
|
42584
44219
|
Object.defineProperty(exports, "PricingSection", {
|
|
42585
44220
|
enumerable: true,
|
|
42586
|
-
get: function () { return
|
|
44221
|
+
get: function () { return chunkDO7EED3B_cjs.PricingSection; }
|
|
42587
44222
|
});
|
|
42588
44223
|
Object.defineProperty(exports, "ProcessStepsSection", {
|
|
42589
44224
|
enumerable: true,
|
|
42590
|
-
get: function () { return
|
|
44225
|
+
get: function () { return chunkDO7EED3B_cjs.ProcessStepsSection; }
|
|
42591
44226
|
});
|
|
42592
44227
|
Object.defineProperty(exports, "RankedListSection", {
|
|
42593
44228
|
enumerable: true,
|
|
42594
|
-
get: function () { return
|
|
44229
|
+
get: function () { return chunkDO7EED3B_cjs.RankedListSection; }
|
|
42595
44230
|
});
|
|
42596
44231
|
Object.defineProperty(exports, "ReportByline", {
|
|
42597
44232
|
enumerable: true,
|
|
42598
|
-
get: function () { return
|
|
44233
|
+
get: function () { return chunkDO7EED3B_cjs.ReportByline; }
|
|
42599
44234
|
});
|
|
42600
44235
|
Object.defineProperty(exports, "ReportLegend", {
|
|
42601
44236
|
enumerable: true,
|
|
42602
|
-
get: function () { return
|
|
44237
|
+
get: function () { return chunkDO7EED3B_cjs.ReportLegend; }
|
|
42603
44238
|
});
|
|
42604
44239
|
Object.defineProperty(exports, "ReportMethodology", {
|
|
42605
44240
|
enumerable: true,
|
|
42606
|
-
get: function () { return
|
|
44241
|
+
get: function () { return chunkDO7EED3B_cjs.ReportMethodology; }
|
|
42607
44242
|
});
|
|
42608
44243
|
Object.defineProperty(exports, "ResourceCardsSection", {
|
|
42609
44244
|
enumerable: true,
|
|
42610
|
-
get: function () { return
|
|
44245
|
+
get: function () { return chunkDO7EED3B_cjs.ResourceCardsSection; }
|
|
42611
44246
|
});
|
|
42612
44247
|
Object.defineProperty(exports, "SplitContentSection", {
|
|
42613
44248
|
enumerable: true,
|
|
42614
|
-
get: function () { return
|
|
44249
|
+
get: function () { return chunkDO7EED3B_cjs.SplitContentSection; }
|
|
42615
44250
|
});
|
|
42616
44251
|
Object.defineProperty(exports, "StatsSection", {
|
|
42617
44252
|
enumerable: true,
|
|
42618
|
-
get: function () { return
|
|
44253
|
+
get: function () { return chunkDO7EED3B_cjs.StatsSection; }
|
|
42619
44254
|
});
|
|
42620
44255
|
Object.defineProperty(exports, "TestimonialSection", {
|
|
42621
44256
|
enumerable: true,
|
|
42622
|
-
get: function () { return
|
|
44257
|
+
get: function () { return chunkDO7EED3B_cjs.TestimonialSection; }
|
|
42623
44258
|
});
|
|
42624
44259
|
Object.defineProperty(exports, "TileCartogramSection", {
|
|
42625
44260
|
enumerable: true,
|
|
42626
|
-
get: function () { return
|
|
44261
|
+
get: function () { return chunkDO7EED3B_cjs.TileCartogramSection; }
|
|
42627
44262
|
});
|
|
42628
44263
|
Object.defineProperty(exports, "VideoSection", {
|
|
42629
44264
|
enumerable: true,
|
|
42630
|
-
get: function () { return
|
|
44265
|
+
get: function () { return chunkDO7EED3B_cjs.VideoSection; }
|
|
42631
44266
|
});
|
|
42632
44267
|
Object.defineProperty(exports, "defaultLeadFormFields", {
|
|
42633
44268
|
enumerable: true,
|
|
42634
|
-
get: function () { return
|
|
44269
|
+
get: function () { return chunkDO7EED3B_cjs.defaultLeadFormFields; }
|
|
42635
44270
|
});
|
|
42636
44271
|
Object.defineProperty(exports, "landingPresets", {
|
|
42637
44272
|
enumerable: true,
|
|
42638
|
-
get: function () { return
|
|
44273
|
+
get: function () { return chunkDO7EED3B_cjs.landingPresets; }
|
|
42639
44274
|
});
|
|
42640
44275
|
Object.defineProperty(exports, "quartileBuckets", {
|
|
42641
44276
|
enumerable: true,
|
|
42642
|
-
get: function () { return
|
|
44277
|
+
get: function () { return chunkDO7EED3B_cjs.quartileBuckets; }
|
|
42643
44278
|
});
|
|
42644
44279
|
Object.defineProperty(exports, "usStateTiles", {
|
|
42645
44280
|
enumerable: true,
|
|
42646
|
-
get: function () { return
|
|
44281
|
+
get: function () { return chunkDO7EED3B_cjs.usStateTiles; }
|
|
42647
44282
|
});
|
|
42648
44283
|
Object.defineProperty(exports, "validateLandingPage", {
|
|
42649
44284
|
enumerable: true,
|
|
42650
|
-
get: function () { return
|
|
44285
|
+
get: function () { return chunkDO7EED3B_cjs.validateLandingPage; }
|
|
42651
44286
|
});
|
|
42652
44287
|
Object.defineProperty(exports, "MetricStatusBadge", {
|
|
42653
44288
|
enumerable: true,
|
|
42654
|
-
get: function () { return
|
|
44289
|
+
get: function () { return chunkPW2E7YBD_cjs.MetricStatusBadge; }
|
|
42655
44290
|
});
|
|
42656
44291
|
Object.defineProperty(exports, "SectionHeading", {
|
|
42657
44292
|
enumerable: true,
|
|
42658
|
-
get: function () { return
|
|
44293
|
+
get: function () { return chunkPW2E7YBD_cjs.SectionHeading; }
|
|
42659
44294
|
});
|
|
42660
44295
|
Object.defineProperty(exports, "SectionShell", {
|
|
42661
44296
|
enumerable: true,
|
|
42662
|
-
get: function () { return
|
|
44297
|
+
get: function () { return chunkPW2E7YBD_cjs.SectionShell; }
|
|
42663
44298
|
});
|
|
42664
44299
|
Object.defineProperty(exports, "TemplateIcon", {
|
|
42665
44300
|
enumerable: true,
|
|
42666
|
-
get: function () { return
|
|
44301
|
+
get: function () { return chunkPW2E7YBD_cjs.TemplateIcon; }
|
|
42667
44302
|
});
|
|
42668
44303
|
Object.defineProperty(exports, "defaultMetricStatusLabels", {
|
|
42669
44304
|
enumerable: true,
|
|
42670
|
-
get: function () { return
|
|
44305
|
+
get: function () { return chunkPW2E7YBD_cjs.defaultMetricStatusLabels; }
|
|
42671
44306
|
});
|
|
42672
44307
|
Object.defineProperty(exports, "templateIcons", {
|
|
42673
44308
|
enumerable: true,
|
|
42674
|
-
get: function () { return
|
|
44309
|
+
get: function () { return chunkPW2E7YBD_cjs.templateIcons; }
|
|
42675
44310
|
});
|
|
42676
44311
|
Object.defineProperty(exports, "KEYBOARD_INSET_VAR", {
|
|
42677
44312
|
enumerable: true,
|
|
@@ -42767,43 +44402,43 @@ Object.defineProperty(exports, "useScrollSpy", {
|
|
|
42767
44402
|
});
|
|
42768
44403
|
Object.defineProperty(exports, "DEFAULT_FILLER_WORDS", {
|
|
42769
44404
|
enumerable: true,
|
|
42770
|
-
get: function () { return
|
|
44405
|
+
get: function () { return chunkGM376OD6_cjs.DEFAULT_FILLER_WORDS; }
|
|
42771
44406
|
});
|
|
42772
44407
|
Object.defineProperty(exports, "DEFAULT_MIN_SILENCE_MS", {
|
|
42773
44408
|
enumerable: true,
|
|
42774
|
-
get: function () { return
|
|
44409
|
+
get: function () { return chunkGM376OD6_cjs.DEFAULT_MIN_SILENCE_MS; }
|
|
42775
44410
|
});
|
|
42776
44411
|
Object.defineProperty(exports, "DEFAULT_NL_SILENCE_MS", {
|
|
42777
44412
|
enumerable: true,
|
|
42778
|
-
get: function () { return
|
|
44413
|
+
get: function () { return chunkGM376OD6_cjs.DEFAULT_NL_SILENCE_MS; }
|
|
42779
44414
|
});
|
|
42780
44415
|
Object.defineProperty(exports, "buildPlaybackSegments", {
|
|
42781
44416
|
enumerable: true,
|
|
42782
|
-
get: function () { return
|
|
44417
|
+
get: function () { return chunkGM376OD6_cjs.buildPlaybackSegments; }
|
|
42783
44418
|
});
|
|
42784
44419
|
Object.defineProperty(exports, "getSpeedAtIndex", {
|
|
42785
44420
|
enumerable: true,
|
|
42786
|
-
get: function () { return
|
|
44421
|
+
get: function () { return chunkGM376OD6_cjs.getSpeedAtIndex; }
|
|
42787
44422
|
});
|
|
42788
44423
|
Object.defineProperty(exports, "initEditableWords", {
|
|
42789
44424
|
enumerable: true,
|
|
42790
|
-
get: function () { return
|
|
44425
|
+
get: function () { return chunkGM376OD6_cjs.initEditableWords; }
|
|
42791
44426
|
});
|
|
42792
44427
|
Object.defineProperty(exports, "insertSilences", {
|
|
42793
44428
|
enumerable: true,
|
|
42794
|
-
get: function () { return
|
|
44429
|
+
get: function () { return chunkGM376OD6_cjs.insertSilences; }
|
|
42795
44430
|
});
|
|
42796
44431
|
Object.defineProperty(exports, "useTranscriptEdits", {
|
|
42797
44432
|
enumerable: true,
|
|
42798
|
-
get: function () { return
|
|
44433
|
+
get: function () { return chunkGM376OD6_cjs.useTranscriptEdits; }
|
|
42799
44434
|
});
|
|
42800
44435
|
Object.defineProperty(exports, "PLAYBACK_SPEEDS", {
|
|
42801
44436
|
enumerable: true,
|
|
42802
|
-
get: function () { return
|
|
44437
|
+
get: function () { return chunk4UDEMJE4_cjs.PLAYBACK_SPEEDS; }
|
|
42803
44438
|
});
|
|
42804
44439
|
Object.defineProperty(exports, "useMediaTransport", {
|
|
42805
44440
|
enumerable: true,
|
|
42806
|
-
get: function () { return
|
|
44441
|
+
get: function () { return chunkQHCAWDMG_cjs.useMediaTransport; }
|
|
42807
44442
|
});
|
|
42808
44443
|
Object.defineProperty(exports, "useUrlTab", {
|
|
42809
44444
|
enumerable: true,
|
|
@@ -42827,11 +44462,11 @@ Object.defineProperty(exports, "unformatPhoneNumber", {
|
|
|
42827
44462
|
});
|
|
42828
44463
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
42829
44464
|
enumerable: true,
|
|
42830
|
-
get: function () { return
|
|
44465
|
+
get: function () { return chunkINMDLVUB_cjs.miewebUIPreset; }
|
|
42831
44466
|
});
|
|
42832
44467
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
42833
44468
|
enumerable: true,
|
|
42834
|
-
get: function () { return
|
|
44469
|
+
get: function () { return chunkINMDLVUB_cjs.miewebUISafelist; }
|
|
42835
44470
|
});
|
|
42836
44471
|
Object.defineProperty(exports, "Accordion", {
|
|
42837
44472
|
enumerable: true,
|
|
@@ -42911,151 +44546,151 @@ Object.defineProperty(exports, "isApplicable", {
|
|
|
42911
44546
|
});
|
|
42912
44547
|
Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
|
|
42913
44548
|
enumerable: true,
|
|
42914
|
-
get: function () { return
|
|
44549
|
+
get: function () { return chunkSCYLVQWA_cjs.ALLERGY_TYPE_LABELS; }
|
|
42915
44550
|
});
|
|
42916
44551
|
Object.defineProperty(exports, "AllergyList", {
|
|
42917
44552
|
enumerable: true,
|
|
42918
|
-
get: function () { return
|
|
44553
|
+
get: function () { return chunkSCYLVQWA_cjs.AllergyList; }
|
|
42919
44554
|
});
|
|
42920
44555
|
Object.defineProperty(exports, "AllergyManager", {
|
|
42921
44556
|
enumerable: true,
|
|
42922
|
-
get: function () { return
|
|
44557
|
+
get: function () { return chunkSCYLVQWA_cjs.AllergyManager; }
|
|
42923
44558
|
});
|
|
42924
44559
|
Object.defineProperty(exports, "Assessment", {
|
|
42925
44560
|
enumerable: true,
|
|
42926
|
-
get: function () { return
|
|
44561
|
+
get: function () { return chunkSCYLVQWA_cjs.Assessment; }
|
|
42927
44562
|
});
|
|
42928
44563
|
Object.defineProperty(exports, "CodeLookupProvider", {
|
|
42929
44564
|
enumerable: true,
|
|
42930
|
-
get: function () { return
|
|
44565
|
+
get: function () { return chunkSCYLVQWA_cjs.CodeLookupProvider; }
|
|
42931
44566
|
});
|
|
42932
44567
|
Object.defineProperty(exports, "ConditionEditor", {
|
|
42933
44568
|
enumerable: true,
|
|
42934
|
-
get: function () { return
|
|
44569
|
+
get: function () { return chunkSCYLVQWA_cjs.ConditionEditor; }
|
|
42935
44570
|
});
|
|
42936
44571
|
Object.defineProperty(exports, "DateRangeFilter", {
|
|
42937
44572
|
enumerable: true,
|
|
42938
|
-
get: function () { return
|
|
44573
|
+
get: function () { return chunkSCYLVQWA_cjs.DateRangeFilter; }
|
|
42939
44574
|
});
|
|
42940
44575
|
Object.defineProperty(exports, "DateRangePicker", {
|
|
42941
44576
|
enumerable: true,
|
|
42942
|
-
get: function () { return
|
|
44577
|
+
get: function () { return chunkSCYLVQWA_cjs.DateRangePicker; }
|
|
42943
44578
|
});
|
|
42944
44579
|
Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
|
|
42945
44580
|
enumerable: true,
|
|
42946
|
-
get: function () { return
|
|
44581
|
+
get: function () { return chunkSCYLVQWA_cjs.MEDICATION_STATUS_LABELS; }
|
|
42947
44582
|
});
|
|
42948
44583
|
Object.defineProperty(exports, "MedicationEditor", {
|
|
42949
44584
|
enumerable: true,
|
|
42950
|
-
get: function () { return
|
|
44585
|
+
get: function () { return chunkSCYLVQWA_cjs.MedicationEditor; }
|
|
42951
44586
|
});
|
|
42952
44587
|
Object.defineProperty(exports, "MedicationList", {
|
|
42953
44588
|
enumerable: true,
|
|
42954
|
-
get: function () { return
|
|
44589
|
+
get: function () { return chunkSCYLVQWA_cjs.MedicationList; }
|
|
42955
44590
|
});
|
|
42956
44591
|
Object.defineProperty(exports, "MedicationReconciliation", {
|
|
42957
44592
|
enumerable: true,
|
|
42958
|
-
get: function () { return
|
|
44593
|
+
get: function () { return chunkSCYLVQWA_cjs.MedicationReconciliation; }
|
|
42959
44594
|
});
|
|
42960
44595
|
Object.defineProperty(exports, "ORDER_TYPE_META", {
|
|
42961
44596
|
enumerable: true,
|
|
42962
|
-
get: function () { return
|
|
44597
|
+
get: function () { return chunkSCYLVQWA_cjs.ORDER_TYPE_META; }
|
|
42963
44598
|
});
|
|
42964
44599
|
Object.defineProperty(exports, "ORDER_TYPE_SEARCH_DOMAINS", {
|
|
42965
44600
|
enumerable: true,
|
|
42966
|
-
get: function () { return
|
|
44601
|
+
get: function () { return chunkSCYLVQWA_cjs.ORDER_TYPE_SEARCH_DOMAINS; }
|
|
42967
44602
|
});
|
|
42968
44603
|
Object.defineProperty(exports, "calculateDateRange", {
|
|
42969
44604
|
enumerable: true,
|
|
42970
|
-
get: function () { return
|
|
44605
|
+
get: function () { return chunkSCYLVQWA_cjs.calculateDateRange; }
|
|
42971
44606
|
});
|
|
42972
44607
|
Object.defineProperty(exports, "doseFormToQuantityUnit", {
|
|
42973
44608
|
enumerable: true,
|
|
42974
|
-
get: function () { return
|
|
44609
|
+
get: function () { return chunkSCYLVQWA_cjs.doseFormToQuantityUnit; }
|
|
42975
44610
|
});
|
|
42976
44611
|
Object.defineProperty(exports, "getDefaultPresets", {
|
|
42977
44612
|
enumerable: true,
|
|
42978
|
-
get: function () { return
|
|
44613
|
+
get: function () { return chunkSCYLVQWA_cjs.getDefaultPresets; }
|
|
42979
44614
|
});
|
|
42980
44615
|
Object.defineProperty(exports, "getExtendedPresets", {
|
|
42981
44616
|
enumerable: true,
|
|
42982
|
-
get: function () { return
|
|
44617
|
+
get: function () { return chunkSCYLVQWA_cjs.getExtendedPresets; }
|
|
42983
44618
|
});
|
|
42984
44619
|
Object.defineProperty(exports, "isConditionCodetype", {
|
|
42985
44620
|
enumerable: true,
|
|
42986
|
-
get: function () { return
|
|
44621
|
+
get: function () { return chunkSCYLVQWA_cjs.isConditionCodetype; }
|
|
42987
44622
|
});
|
|
42988
44623
|
Object.defineProperty(exports, "labelToMedicationFields", {
|
|
42989
44624
|
enumerable: true,
|
|
42990
|
-
get: function () { return
|
|
44625
|
+
get: function () { return chunkSCYLVQWA_cjs.labelToMedicationFields; }
|
|
42991
44626
|
});
|
|
42992
44627
|
Object.defineProperty(exports, "lookupToMedicationFields", {
|
|
42993
44628
|
enumerable: true,
|
|
42994
|
-
get: function () { return
|
|
44629
|
+
get: function () { return chunkSCYLVQWA_cjs.lookupToMedicationFields; }
|
|
42995
44630
|
});
|
|
42996
44631
|
Object.defineProperty(exports, "normalizeConditionCodingSystem", {
|
|
42997
44632
|
enumerable: true,
|
|
42998
|
-
get: function () { return
|
|
44633
|
+
get: function () { return chunkSCYLVQWA_cjs.normalizeConditionCodingSystem; }
|
|
42999
44634
|
});
|
|
43000
44635
|
Object.defineProperty(exports, "orderTypeForCodetype", {
|
|
43001
44636
|
enumerable: true,
|
|
43002
|
-
get: function () { return
|
|
44637
|
+
get: function () { return chunkSCYLVQWA_cjs.orderTypeForCodetype; }
|
|
43003
44638
|
});
|
|
43004
44639
|
Object.defineProperty(exports, "parseMedicationLabel", {
|
|
43005
44640
|
enumerable: true,
|
|
43006
|
-
get: function () { return
|
|
44641
|
+
get: function () { return chunkSCYLVQWA_cjs.parseMedicationLabel; }
|
|
43007
44642
|
});
|
|
43008
44643
|
Object.defineProperty(exports, "parseSig", {
|
|
43009
44644
|
enumerable: true,
|
|
43010
|
-
get: function () { return
|
|
44645
|
+
get: function () { return chunkSCYLVQWA_cjs.parseSig; }
|
|
43011
44646
|
});
|
|
43012
44647
|
Object.defineProperty(exports, "useCodeLookupConfig", {
|
|
43013
44648
|
enumerable: true,
|
|
43014
|
-
get: function () { return
|
|
44649
|
+
get: function () { return chunkSCYLVQWA_cjs.useCodeLookupConfig; }
|
|
43015
44650
|
});
|
|
43016
44651
|
Object.defineProperty(exports, "CHANGE_TYPE_LABELS", {
|
|
43017
44652
|
enumerable: true,
|
|
43018
|
-
get: function () { return
|
|
44653
|
+
get: function () { return chunkJCO62XMU_cjs.CHANGE_TYPE_LABELS; }
|
|
43019
44654
|
});
|
|
43020
44655
|
Object.defineProperty(exports, "CONCERN_STATUS_LABELS", {
|
|
43021
44656
|
enumerable: true,
|
|
43022
|
-
get: function () { return
|
|
44657
|
+
get: function () { return chunkJCO62XMU_cjs.CONCERN_STATUS_LABELS; }
|
|
43023
44658
|
});
|
|
43024
44659
|
Object.defineProperty(exports, "CodingChips", {
|
|
43025
44660
|
enumerable: true,
|
|
43026
|
-
get: function () { return
|
|
44661
|
+
get: function () { return chunkJCO62XMU_cjs.CodingChips; }
|
|
43027
44662
|
});
|
|
43028
44663
|
Object.defineProperty(exports, "ProblemList", {
|
|
43029
44664
|
enumerable: true,
|
|
43030
|
-
get: function () { return
|
|
44665
|
+
get: function () { return chunkJCO62XMU_cjs.ProblemList; }
|
|
43031
44666
|
});
|
|
43032
44667
|
Object.defineProperty(exports, "RowActionToolbar", {
|
|
43033
44668
|
enumerable: true,
|
|
43034
|
-
get: function () { return
|
|
44669
|
+
get: function () { return chunkJCO62XMU_cjs.RowActionToolbar; }
|
|
43035
44670
|
});
|
|
43036
44671
|
Object.defineProperty(exports, "RowIconButton", {
|
|
43037
44672
|
enumerable: true,
|
|
43038
|
-
get: function () { return
|
|
44673
|
+
get: function () { return chunkJCO62XMU_cjs.RowIconButton; }
|
|
43039
44674
|
});
|
|
43040
44675
|
Object.defineProperty(exports, "UncertaintyBadge", {
|
|
43041
44676
|
enumerable: true,
|
|
43042
|
-
get: function () { return
|
|
44677
|
+
get: function () { return chunkJCO62XMU_cjs.UncertaintyBadge; }
|
|
43043
44678
|
});
|
|
43044
44679
|
Object.defineProperty(exports, "concernGroupKey", {
|
|
43045
44680
|
enumerable: true,
|
|
43046
|
-
get: function () { return
|
|
44681
|
+
get: function () { return chunkJCO62XMU_cjs.concernGroupKey; }
|
|
43047
44682
|
});
|
|
43048
44683
|
Object.defineProperty(exports, "concernHistoryContent", {
|
|
43049
44684
|
enumerable: true,
|
|
43050
|
-
get: function () { return
|
|
44685
|
+
get: function () { return chunkJCO62XMU_cjs.concernHistoryContent; }
|
|
43051
44686
|
});
|
|
43052
44687
|
Object.defineProperty(exports, "currentAssertion", {
|
|
43053
44688
|
enumerable: true,
|
|
43054
|
-
get: function () { return
|
|
44689
|
+
get: function () { return chunkJCO62XMU_cjs.currentAssertion; }
|
|
43055
44690
|
});
|
|
43056
44691
|
Object.defineProperty(exports, "toolbarKeyNav", {
|
|
43057
44692
|
enumerable: true,
|
|
43058
|
-
get: function () { return
|
|
44693
|
+
get: function () { return chunkJCO62XMU_cjs.toolbarKeyNav; }
|
|
43059
44694
|
});
|
|
43060
44695
|
Object.defineProperty(exports, "Tooltip", {
|
|
43061
44696
|
enumerable: true,
|
|
@@ -43091,47 +44726,47 @@ Object.defineProperty(exports, "DateInput", {
|
|
|
43091
44726
|
});
|
|
43092
44727
|
Object.defineProperty(exports, "RichTextArea", {
|
|
43093
44728
|
enumerable: true,
|
|
43094
|
-
get: function () { return
|
|
44729
|
+
get: function () { return chunk2Z2GFDRS_cjs.TextAreaRich; }
|
|
43095
44730
|
});
|
|
43096
44731
|
Object.defineProperty(exports, "TextAreaPlain", {
|
|
43097
44732
|
enumerable: true,
|
|
43098
|
-
get: function () { return
|
|
44733
|
+
get: function () { return chunk2Z2GFDRS_cjs.TextAreaPlain; }
|
|
43099
44734
|
});
|
|
43100
44735
|
Object.defineProperty(exports, "TextAreaRich", {
|
|
43101
44736
|
enumerable: true,
|
|
43102
|
-
get: function () { return
|
|
44737
|
+
get: function () { return chunk2Z2GFDRS_cjs.TextAreaRich; }
|
|
43103
44738
|
});
|
|
43104
44739
|
Object.defineProperty(exports, "Textarea", {
|
|
43105
44740
|
enumerable: true,
|
|
43106
|
-
get: function () { return
|
|
44741
|
+
get: function () { return chunk2Z2GFDRS_cjs.Textarea; }
|
|
43107
44742
|
});
|
|
43108
44743
|
Object.defineProperty(exports, "htmlToPlain", {
|
|
43109
44744
|
enumerable: true,
|
|
43110
|
-
get: function () { return
|
|
44745
|
+
get: function () { return chunk2Z2GFDRS_cjs.htmlToPlain; }
|
|
43111
44746
|
});
|
|
43112
44747
|
Object.defineProperty(exports, "plainToHtml", {
|
|
43113
44748
|
enumerable: true,
|
|
43114
|
-
get: function () { return
|
|
44749
|
+
get: function () { return chunk2Z2GFDRS_cjs.plainToHtml; }
|
|
43115
44750
|
});
|
|
43116
44751
|
Object.defineProperty(exports, "textareaVariants", {
|
|
43117
44752
|
enumerable: true,
|
|
43118
|
-
get: function () { return
|
|
44753
|
+
get: function () { return chunk2Z2GFDRS_cjs.textareaVariants; }
|
|
43119
44754
|
});
|
|
43120
44755
|
Object.defineProperty(exports, "MacroLibrary", {
|
|
43121
44756
|
enumerable: true,
|
|
43122
|
-
get: function () { return
|
|
44757
|
+
get: function () { return chunkFQUSSPXX_cjs.MacroLibrary; }
|
|
43123
44758
|
});
|
|
43124
44759
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
43125
44760
|
enumerable: true,
|
|
43126
|
-
get: function () { return
|
|
44761
|
+
get: function () { return chunkFQUSSPXX_cjs.RichTextEditor; }
|
|
43127
44762
|
});
|
|
43128
44763
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
43129
44764
|
enumerable: true,
|
|
43130
|
-
get: function () { return
|
|
44765
|
+
get: function () { return chunkFQUSSPXX_cjs.convertAngleBracketsToMustache; }
|
|
43131
44766
|
});
|
|
43132
44767
|
Object.defineProperty(exports, "processDictation", {
|
|
43133
44768
|
enumerable: true,
|
|
43134
|
-
get: function () { return
|
|
44769
|
+
get: function () { return chunkFQUSSPXX_cjs.processDictation; }
|
|
43135
44770
|
});
|
|
43136
44771
|
Object.defineProperty(exports, "Separator", {
|
|
43137
44772
|
enumerable: true,
|
|
@@ -44159,11 +45794,11 @@ Object.defineProperty(exports, "badgeVariants", {
|
|
|
44159
45794
|
});
|
|
44160
45795
|
Object.defineProperty(exports, "Button", {
|
|
44161
45796
|
enumerable: true,
|
|
44162
|
-
get: function () { return
|
|
45797
|
+
get: function () { return chunkFSARTLUE_cjs.Button; }
|
|
44163
45798
|
});
|
|
44164
45799
|
Object.defineProperty(exports, "buttonVariants", {
|
|
44165
45800
|
enumerable: true,
|
|
44166
|
-
get: function () { return
|
|
45801
|
+
get: function () { return chunkHGJHWI7W_cjs.buttonVariants; }
|
|
44167
45802
|
});
|
|
44168
45803
|
Object.defineProperty(exports, "isDarkMode", {
|
|
44169
45804
|
enumerable: true,
|
|
@@ -44262,6 +45897,7 @@ exports.DEFAULT_LANGUAGES = DEFAULT_LANGUAGES;
|
|
|
44262
45897
|
exports.DEFAULT_RADIUS_OPTIONS = DEFAULT_RADIUS_OPTIONS;
|
|
44263
45898
|
exports.DEFAULT_SERVICE_PRICING_MANAGER_LABELS = DEFAULT_SERVICE_PRICING_MANAGER_LABELS;
|
|
44264
45899
|
exports.DEFAULT_SOCIAL_PROVIDERS = DEFAULT_SOCIAL_PROVIDERS;
|
|
45900
|
+
exports.DEFAULT_TRANSCRIPT_PLAYER_LABELS = DEFAULT_TRANSCRIPT_PLAYER_LABELS;
|
|
44265
45901
|
exports.DOTBadge = DOTBadge;
|
|
44266
45902
|
exports.DashboardWidget = DashboardWidget;
|
|
44267
45903
|
exports.DashboardWidgetActions = DashboardWidgetActions;
|
|
@@ -44432,6 +46068,7 @@ exports.TimelineProgress = TimelineProgress;
|
|
|
44432
46068
|
exports.Toast = Toast;
|
|
44433
46069
|
exports.ToastContainer = ToastContainer;
|
|
44434
46070
|
exports.ToastProvider = ToastProvider;
|
|
46071
|
+
exports.TranscriptPlayer = TranscriptPlayer;
|
|
44435
46072
|
exports.UpdateAvailableOverlay = UpdateAvailableOverlay;
|
|
44436
46073
|
exports.UserMenu = UserMenu;
|
|
44437
46074
|
exports.VerifiedBadge = VerifiedBadge2;
|
|
@@ -44447,6 +46084,7 @@ exports.attributeSegments = attributeSegments;
|
|
|
44447
46084
|
exports.centroid = centroid;
|
|
44448
46085
|
exports.chime = chime;
|
|
44449
46086
|
exports.clusterEmbeddings = clusterEmbeddings;
|
|
46087
|
+
exports.computePeaks = computePeaks;
|
|
44450
46088
|
exports.cosine = cosine;
|
|
44451
46089
|
exports.countBadgeVariants = countBadgeVariants;
|
|
44452
46090
|
exports.countChipVariants = countChipVariants;
|