@flamingo-stack/openframe-frontend-core 0.0.730 → 0.0.732
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/aicpa-soc2-logo-icon-MLDYZA5S.cjs +7 -0
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-SKDQ2SLJ.cjs → chunk-22ZK7BA3.cjs} +1345 -1127
- package/dist/{chunk-5RMCAY6Y.cjs → chunk-27TMRMOM.cjs} +6 -4
- package/dist/{chunk-P4YHBHP4.cjs → chunk-3BLBWZ6A.cjs} +7 -7
- package/dist/{chunk-2T2TH5DF.cjs → chunk-52HFGZCI.cjs} +14 -12
- package/dist/{chunk-L7Y7KDTM.cjs → chunk-5HMGK3N6.cjs} +20 -20
- package/dist/{chunk-66QTEDJL.cjs → chunk-5HSMTSHU.cjs} +28 -28
- package/dist/{chunk-WTURHKM2.cjs → chunk-6HHUU56Y.cjs} +16 -16
- package/dist/{chunk-AIW4KZQT.cjs → chunk-6KDGIOLP.cjs} +89 -89
- package/dist/{chunk-4XQXTQUK.cjs → chunk-6N5NQRQA.cjs} +8 -6
- package/dist/{chunk-5KLNEFZZ.cjs → chunk-7DUXR4HL.cjs} +3 -3
- package/dist/chunk-AEVGCB3Y.cjs +417 -0
- package/dist/{chunk-A7T3P5Q5.cjs → chunk-BDTX2OEE.cjs} +32 -32
- package/dist/{chunk-Q5GR7LKV.cjs → chunk-BS4EZZCN.cjs} +15 -15
- package/dist/{chunk-JNDR5N3T.cjs → chunk-C5NERNE6.cjs} +93 -93
- package/dist/{chunk-UHJG2BDI.cjs → chunk-CC3LINHF.cjs} +98 -50
- package/dist/{chunk-FRET5WH3.cjs → chunk-CKR42OBK.cjs} +4 -2
- package/dist/{chunk-GJPAS4RJ.cjs → chunk-CT342EJU.cjs} +6 -4
- package/dist/{chunk-PGFR4CDB.cjs → chunk-CUF3IYIB.cjs} +40 -40
- package/dist/{chunk-YHFXQ5OR.cjs → chunk-E3N24573.cjs} +9 -9
- package/dist/{chunk-24KWUFWA.cjs → chunk-G37LT2ID.cjs} +43 -39
- package/dist/{chunk-UG7Q3HQH.cjs → chunk-GID62YEN.cjs} +3 -3
- package/dist/{chunk-NDHQ7JLZ.cjs → chunk-GKHWXI25.cjs} +11 -15
- package/dist/chunk-HELVKMRG.cjs +28 -0
- package/dist/{chunk-KMMV562E.cjs → chunk-HH4BMYDX.cjs} +32 -379
- package/dist/{chunk-FGA6T2XT.cjs → chunk-I46MQ4R5.cjs} +82 -82
- package/dist/{chunk-YJXUJWHN.cjs → chunk-J7SZOZOS.cjs} +28 -26
- package/dist/{chunk-NXCV35RR.cjs → chunk-KLXHCNDC.cjs} +3 -3
- package/dist/{chunk-6KD2XUQZ.cjs → chunk-LRQITIEC.cjs} +28 -26
- package/dist/chunk-MANNIJ42.cjs +967 -0
- package/dist/{chunk-2V62Y67F.cjs → chunk-MEDDKM3A.cjs} +4 -4
- package/dist/{chunk-CLA3UGKT.cjs → chunk-MVZ6XFPK.cjs} +12 -12
- package/dist/{chunk-TI2IFCZG.cjs → chunk-N466AJGN.cjs} +17 -17
- package/dist/{chunk-TW2SES5W.cjs → chunk-NCGAP3U4.cjs} +4 -2
- package/dist/{chunk-DINGZJ37.cjs → chunk-NYY25425.cjs} +2 -2
- package/dist/{chunk-HVZBIXCZ.cjs → chunk-O2RPIGSG.cjs} +6 -4
- package/dist/{chunk-YRZB4BMZ.cjs → chunk-OI7VCXYU.cjs} +48 -50
- package/dist/{chunk-XA436AER.cjs → chunk-OJ3XU3YZ.cjs} +4 -4
- package/dist/{chunk-UYKL2AXE.cjs → chunk-OKW5OAFJ.cjs} +8 -6
- package/dist/{chunk-6NKLR5QN.cjs → chunk-PRWBVIWW.cjs} +59 -59
- package/dist/chunk-PX7FY655.cjs +114 -0
- package/dist/{chunk-CD5YBUJK.cjs → chunk-QMTC3BK3.cjs} +23 -21
- package/dist/{chunk-VQMWBQUJ.cjs → chunk-R4QMR6S4.cjs} +14 -12
- package/dist/{chunk-NB5BYOTM.cjs → chunk-RC32WBPL.cjs} +6 -4
- package/dist/{chunk-CDLDAQBA.cjs → chunk-RIXGLS5Y.cjs} +7 -7
- package/dist/{chunk-2I3XU2IB.cjs → chunk-SJRR745G.cjs} +63 -60
- package/dist/{chunk-XSPL7RXL.cjs → chunk-TLDCSTTQ.cjs} +12 -12
- package/dist/{chunk-3YHVQ34L.cjs → chunk-XOQ2UUVS.cjs} +93 -95
- package/dist/{chunk-YPM3ALIW.cjs → chunk-YGKVHSNQ.cjs} +42 -42
- package/dist/{chunk-4NFVFTD6.cjs → chunk-ZWMPAFGB.cjs} +238 -238
- package/dist/{chunk-GVTCHXW2.cjs → chunk-ZWUIRQNY.cjs} +28 -26
- package/dist/clickup-icon-3SETH2MM.cjs +7 -0
- package/dist/clickup-logo-icon-DJKBEFMR.cjs +7 -0
- package/dist/{cloud-tenants-VV6UQE7J.cjs → cloud-tenants-ILRE74JY.cjs} +36 -36
- package/dist/components/agent-identity.d.ts +8 -0
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +13 -1
- package/dist/components/case-studies/index.cjs +49 -49
- package/dist/components/chat/entity-cards/entity-portrait-card.js +1 -1
- package/dist/components/chat/index.cjs +30 -30
- package/dist/components/chat/types/entities/program-types.d.ts +1 -23
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.js +1 -9
- package/dist/components/chat/utils/icon-loading.d.ts +35 -2
- package/dist/components/chat/utils/icon-loading.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-loading.js +31 -9
- package/dist/components/contact/index.cjs +37 -37
- package/dist/components/docs/index.cjs +40 -40
- package/dist/components/embeds/index.cjs +37 -37
- package/dist/components/faq/index.cjs +37 -37
- package/dist/components/features/index.cjs +38 -36
- package/dist/components/features/video-bites-shared.cjs +8 -0
- package/dist/components/features/video-bites-shared.d.ts +25 -0
- package/dist/components/features/video-bites-shared.d.ts.map +1 -1
- package/dist/components/features/video-bites-shared.js +8 -0
- package/dist/components/help-center-pages/index.cjs +152 -152
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.js +11 -15
- package/dist/components/icons-v2-generated/icon-names.d.ts +5 -0
- package/dist/components/icons-v2-generated/icon-names.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/icon-names.js +10 -0
- package/dist/components/icons-v2-generated/index.cjs +15 -15
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.js +6 -4
- package/dist/components/index.cjs +103 -96
- package/dist/components/meeting-scheduler/index.cjs +98 -98
- package/dist/components/navigation/index.cjs +39 -39
- package/dist/components/onboarding-guides/index.cjs +39 -39
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -1
- package/dist/components/product-demo/screens/remote-desktop-picture.js +2 -1
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/shared/product-release/product-release-card.js +1 -1
- package/dist/components/tickets/index.cjs +40 -40
- package/dist/components/ui/device-wallpaper.d.ts +7 -0
- package/dist/components/ui/device-wallpaper.d.ts.map +1 -0
- package/dist/components/ui/device-wallpaper.js +5 -0
- package/dist/components/ui/feature-list.d.ts +9 -4
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +26 -35
- package/dist/components/ui/index.cjs +42 -36
- package/dist/components/ui/index.d.ts +3 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/components/ui/notification-stack.d.ts +33 -0
- package/dist/components/ui/notification-stack.d.ts.map +1 -0
- package/dist/components/ui/notification-stack.js +78 -0
- package/dist/components/ui/numbered-step.d.ts +29 -0
- package/dist/components/ui/numbered-step.d.ts.map +1 -0
- package/dist/components/ui/numbered-step.js +57 -0
- package/dist/components/ui/phone-frame.d.ts +14 -9
- package/dist/components/ui/phone-frame.d.ts.map +1 -1
- package/dist/components/ui/phone-frame.js +50 -6
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.js +68 -0
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +4 -1
- package/dist/components/ui/snap-carousel.d.ts +5 -8
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +2 -27
- package/dist/components/ui/tab-navigation.d.ts +8 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +30 -20
- package/dist/{devices-X72Z4QMT.cjs → devices-A6SFNGE4.cjs} +37 -37
- package/dist/elestio-logo-grey-icon-DV7P3JLT.cjs +7 -0
- package/dist/elestio-logo-icon-34ILAIDI.cjs +7 -0
- package/dist/{embeddable-chat-TETIRLQD.cjs → embeddable-chat-BKPYNOIM.cjs} +105 -105
- package/dist/empty-vendor-icon-XZYOZ4EP.cjs +7 -0
- package/dist/eu-logo-icon-EYOX3UC7.cjs +7 -0
- package/dist/gemini-logo-icon-DNACTHIK.cjs +7 -0
- package/dist/google-gemini-icon-TZHJZ4IQ.cjs +7 -0
- package/dist/google-gemini-logo-icon-4XQVV5NN.cjs +7 -0
- package/dist/google-sheets-icon-UAAEBTR7.cjs +7 -0
- package/dist/hooks/index.cjs +9 -9
- package/dist/hooks/ui/use-autoplay.d.ts +50 -13
- package/dist/hooks/ui/use-autoplay.d.ts.map +1 -1
- package/dist/hooks/ui/use-autoplay.js +76 -13
- package/dist/hooks/ui/use-in-view.d.ts +8 -0
- package/dist/hooks/ui/use-in-view.d.ts.map +1 -1
- package/dist/hooks/ui/use-in-view.js +21 -36
- package/dist/hooks/use-agent-identities.d.ts +6 -0
- package/dist/hooks/use-agent-identities.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.d.ts +26 -9
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.js +12 -9
- package/dist/{chunk-SI24RMI5.cjs → icon-loaders-OLGJZGRP.cjs} +16 -950
- package/dist/index.cjs +72 -65
- package/dist/{knowledge-HWBSPQ7M.cjs → knowledge-5ZCVKUYV.cjs} +37 -37
- package/dist/{logs-IZ4QTHPI.cjs → logs-CL4OJASB.cjs} +44 -44
- package/dist/meshcentral-logo-grey-icon-UCRYV3IC.cjs +7 -0
- package/dist/meshcentral-logo-icon-76NSLOXF.cjs +7 -0
- package/dist/{policies-VHQR7JR5.cjs → policies-7D44ZVS5.cjs} +40 -40
- package/dist/{remote-session-IR3YCXSR.cjs → remote-session-QB3CIZRM.cjs} +24 -23
- package/dist/schemas/contact-schema.cjs +31 -11
- package/dist/schemas/contact-schema.d.ts +1 -1
- package/dist/schemas/contact-schema.d.ts.map +1 -1
- package/dist/schemas/contact-schema.js +1 -1
- package/dist/schemas/meeting-booking-schema.cjs +34 -14
- package/dist/schemas/meeting-booking-schema.d.ts +1 -1
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +1 -1
- package/dist/{software-update-QLOVC6EX.cjs → software-update-AX6TZL26.cjs} +40 -40
- package/dist/{tickets-board-YONLQB6F.cjs → tickets-board-7FAV2YWF.cjs} +27 -27
- package/dist/utils/index.cjs +2004 -1959
- package/dist/winget-logo-icon-GBS342G4.cjs +7 -0
- package/package.json +1 -1
- package/src/components/agent-identity.tsx +20 -1
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +1 -1
- package/src/components/chat/types/entities/program-types.ts +4 -30
- package/src/components/chat/utils/icon-loading.tsx +50 -9
- package/src/components/features/video-bites-shared.ts +30 -0
- package/src/components/icons-v2-generated/brand-logos/clickup-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/clickup-logo-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/brand-logos/gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-sheets-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/winget-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.tsx +92 -90
- package/src/components/icons-v2-generated/compliance-logos/eu-logo-icon.tsx +51 -52
- package/src/components/icons-v2-generated/icon-names.ts +11 -0
- package/src/components/icons-v2-generated/interface/empty-vendor-icon.tsx +7 -5
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +2 -1
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/device-wallpaper.ts +7 -0
- package/src/components/ui/feature-list.tsx +24 -30
- package/src/components/ui/index.ts +3 -1
- package/src/components/ui/notification-stack.tsx +133 -0
- package/src/components/ui/numbered-step.tsx +81 -0
- package/src/components/ui/phone-frame.tsx +83 -19
- package/src/components/ui/phone-glyphs/lock-camera-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/lock-flashlight-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/status-bar-glyphs.tsx +45 -0
- package/src/components/ui/photo-wall.tsx +6 -0
- package/src/components/ui/snap-carousel.tsx +6 -38
- package/src/components/ui/tab-navigation.tsx +49 -21
- package/src/hooks/ui/use-autoplay.ts +144 -27
- package/src/hooks/ui/use-in-view.ts +31 -38
- package/src/hooks/use-agent-identities.ts +6 -0
- package/src/hooks/use-scenario-player.ts +44 -20
- package/src/schemas/contact-schema.ts +1 -1
- package/src/schemas/meeting-booking-schema.ts +1 -1
- package/src/styles/fonts.css +26 -0
- package/src/styles/ods-design-tokens.css +4 -2
- package/dist/aicpa-soc2-logo-icon-CJ5JRV6J.cjs +0 -7
- package/dist/chunk-73MDSN5A.cjs +0 -99
- package/dist/chunk-BE2WAMG5.cjs +0 -54
- package/dist/chunk-LCTDHLDL.cjs +0 -43
- package/dist/clickup-icon-CBBUZUVQ.cjs +0 -7
- package/dist/clickup-logo-icon-CGDKKISS.cjs +0 -7
- package/dist/components/ui/playback-toggle.d.ts +0 -24
- package/dist/components/ui/playback-toggle.d.ts.map +0 -1
- package/dist/components/ui/playback-toggle.js +0 -32
- package/dist/elestio-logo-grey-icon-Y5OFW4OO.cjs +0 -7
- package/dist/elestio-logo-icon-X7TTQAYP.cjs +0 -7
- package/dist/empty-vendor-icon-3RKCZUUR.cjs +0 -7
- package/dist/eu-logo-icon-N7QVPGG3.cjs +0 -7
- package/dist/gemini-logo-icon-QOPGATSZ.cjs +0 -7
- package/dist/google-gemini-icon-7GWWF6O6.cjs +0 -7
- package/dist/google-gemini-logo-icon-Z3GHPMVN.cjs +0 -7
- package/dist/google-sheets-icon-7MJ3LV4P.cjs +0 -7
- package/dist/meshcentral-logo-grey-icon-3VFJQMV2.cjs +0 -7
- package/dist/meshcentral-logo-icon-MDVBWMP5.cjs +0 -7
- package/dist/winget-logo-icon-XVZJ4QDM.cjs +0 -7
- package/src/components/ui/playback-toggle.tsx +0 -53
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMANNIJ42cjs = require('./chunk-MANNIJ42.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/ui/use-debounce.ts
|
|
7
7
|
var _react = require('react');
|
|
@@ -131,10 +131,10 @@ function useSuppressCloneFocus(active) {
|
|
|
131
131
|
// src/hooks/ui/use-prefers-reduced-motion.ts
|
|
132
132
|
var PREFERS_REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
133
133
|
function usePrefersReducedMotion() {
|
|
134
|
-
return
|
|
134
|
+
return _chunkMANNIJ42cjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY) === true;
|
|
135
135
|
}
|
|
136
136
|
function usePrefersReducedMotionState() {
|
|
137
|
-
return
|
|
137
|
+
return _chunkMANNIJ42cjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// src/hooks/ui/use-in-view.ts
|
|
@@ -145,63 +145,111 @@ function useInView({
|
|
|
145
145
|
rootMargin = "0px",
|
|
146
146
|
initial = false
|
|
147
147
|
} = {}) {
|
|
148
|
-
const [
|
|
149
|
-
const
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
if (!entry) return;
|
|
169
|
-
const ofElement = entry.intersectionRatio >= threshold;
|
|
170
|
-
const viewportHeight = _nullishCoalesce(_optionalChain([entry, 'access', _10 => _10.rootBounds, 'optionalAccess', _11 => _11.height]), () => ( 0));
|
|
171
|
-
const ofViewport = viewportHeight > 0 && (_nullishCoalesce(_optionalChain([entry, 'access', _12 => _12.intersectionRect, 'optionalAccess', _13 => _13.height]), () => ( 0))) >= viewportHeight * threshold;
|
|
172
|
-
setInView(entry.isIntersecting && (ofElement || ofViewport));
|
|
173
|
-
},
|
|
174
|
-
{ threshold: STEPS, rootMargin }
|
|
175
|
-
);
|
|
176
|
-
observer.observe(node);
|
|
177
|
-
observerRef.current = observer;
|
|
178
|
-
},
|
|
179
|
-
[disconnect, threshold, rootMargin, initial]
|
|
180
|
-
);
|
|
181
|
-
_react.useEffect.call(void 0, () => disconnect, [disconnect]);
|
|
182
|
-
return { ref, inView };
|
|
148
|
+
const [node, setNode] = _react.useState.call(void 0, null);
|
|
149
|
+
const [seen, setSeen] = _react.useState.call(void 0, null);
|
|
150
|
+
_react.useEffect.call(void 0, () => {
|
|
151
|
+
if (!node || typeof IntersectionObserver === "undefined") return void 0;
|
|
152
|
+
const observer = new IntersectionObserver(
|
|
153
|
+
(entries) => {
|
|
154
|
+
const entry = entries[entries.length - 1];
|
|
155
|
+
if (!entry) return;
|
|
156
|
+
const ofElement = entry.intersectionRatio >= threshold;
|
|
157
|
+
const viewportHeight = _nullishCoalesce(_optionalChain([entry, 'access', _7 => _7.rootBounds, 'optionalAccess', _8 => _8.height]), () => ( 0));
|
|
158
|
+
const ofViewport = viewportHeight > 0 && (_nullishCoalesce(_optionalChain([entry, 'access', _9 => _9.intersectionRect, 'optionalAccess', _10 => _10.height]), () => ( 0))) >= viewportHeight * threshold;
|
|
159
|
+
setSeen({ node, inView: entry.isIntersecting && (ofElement || ofViewport) });
|
|
160
|
+
},
|
|
161
|
+
{ threshold: STEPS, rootMargin }
|
|
162
|
+
);
|
|
163
|
+
observer.observe(node);
|
|
164
|
+
return () => observer.disconnect();
|
|
165
|
+
}, [node, threshold, rootMargin]);
|
|
166
|
+
const inView = !node ? false : _optionalChain([seen, 'optionalAccess', _11 => _11.node]) === node ? seen.inView : initial;
|
|
167
|
+
return { ref: setNode, inView };
|
|
183
168
|
}
|
|
184
169
|
|
|
185
170
|
// src/hooks/ui/use-autoplay.ts
|
|
186
171
|
|
|
172
|
+
function listen(target, events, onChange) {
|
|
173
|
+
const controller = new AbortController();
|
|
174
|
+
for (const event of events) target.addEventListener(event, onChange, { signal: controller.signal });
|
|
175
|
+
return () => controller.abort();
|
|
176
|
+
}
|
|
177
|
+
var subscribeToTab = (onChange) => {
|
|
178
|
+
const stopDocument = listen(document, ["visibilitychange"], onChange);
|
|
179
|
+
const stopWindow = listen(window, ["pageshow"], onChange);
|
|
180
|
+
return () => {
|
|
181
|
+
stopDocument();
|
|
182
|
+
stopWindow();
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
var tabIsHidden = () => document.visibilityState === "hidden";
|
|
186
|
+
var never = () => false;
|
|
187
|
+
var RELEASE_EVENTS = ["pointerup", "pointercancel", "mouseup", "touchend", "dragend", "blur"];
|
|
187
188
|
function useAutoplay(onScreen) {
|
|
188
189
|
const reducedState = usePrefersReducedMotionState();
|
|
189
|
-
const
|
|
190
|
-
const
|
|
191
|
-
_react.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
190
|
+
const tabHidden = _react.useSyncExternalStore.call(void 0, subscribeToTab, tabIsHidden, never);
|
|
191
|
+
const host = _react.useRef.call(void 0, null);
|
|
192
|
+
const keyboardCameIn = _react.useRef.call(void 0, false);
|
|
193
|
+
const subscribeToKeyboard = _react.useCallback.call(void 0, (onChange) => {
|
|
194
|
+
const usedPointer = () => {
|
|
195
|
+
keyboardCameIn.current = false;
|
|
196
|
+
onChange();
|
|
197
|
+
};
|
|
198
|
+
const stopFocus = listen(document, ["focusin", "focusout", "visibilitychange"], onChange);
|
|
199
|
+
const stopPointer = listen(document, ["pointerdown", "pointermove"], usedPointer);
|
|
200
|
+
const stopWindow = listen(window, ["focus", "blur"], onChange);
|
|
196
201
|
return () => {
|
|
197
|
-
|
|
198
|
-
|
|
202
|
+
stopFocus();
|
|
203
|
+
stopPointer();
|
|
204
|
+
stopWindow();
|
|
199
205
|
};
|
|
200
206
|
}, []);
|
|
207
|
+
const keyboardIsInside = _react.useCallback.call(void 0, () => {
|
|
208
|
+
if (!keyboardCameIn.current) return false;
|
|
209
|
+
const inside = !!_optionalChain([host, 'access', _12 => _12.current, 'optionalAccess', _13 => _13.isConnected]) && host.current.contains(document.activeElement);
|
|
210
|
+
if (!inside) keyboardCameIn.current = false;
|
|
211
|
+
return inside;
|
|
212
|
+
}, []);
|
|
213
|
+
const focused = _react.useSyncExternalStore.call(void 0, subscribeToKeyboard, keyboardIsInside, never);
|
|
214
|
+
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
215
|
+
const holdProps = _react.useMemo.call(void 0,
|
|
216
|
+
() => ({
|
|
217
|
+
onPointerDown: (event) => {
|
|
218
|
+
host.current = event.currentTarget;
|
|
219
|
+
setPressed(true);
|
|
220
|
+
const released = new AbortController();
|
|
221
|
+
const release2 = () => {
|
|
222
|
+
setPressed(false);
|
|
223
|
+
released.abort();
|
|
224
|
+
};
|
|
225
|
+
for (const type of RELEASE_EVENTS) window.addEventListener(type, release2, { signal: released.signal });
|
|
226
|
+
window.addEventListener(
|
|
227
|
+
"pointermove",
|
|
228
|
+
(move) => {
|
|
229
|
+
if (move.buttons === 0) release2();
|
|
230
|
+
},
|
|
231
|
+
{ signal: released.signal }
|
|
232
|
+
);
|
|
233
|
+
},
|
|
234
|
+
onFocus: (event) => {
|
|
235
|
+
host.current = event.currentTarget;
|
|
236
|
+
if (event.target.matches(":focus-visible")) keyboardCameIn.current = true;
|
|
237
|
+
}
|
|
238
|
+
}),
|
|
239
|
+
[]
|
|
240
|
+
);
|
|
241
|
+
const [, setReleases] = _react.useState.call(void 0, 0);
|
|
242
|
+
const release = _react.useCallback.call(void 0, () => {
|
|
243
|
+
keyboardCameIn.current = false;
|
|
244
|
+
setPressed(false);
|
|
245
|
+
setReleases((count) => count + 1);
|
|
246
|
+
}, []);
|
|
247
|
+
const held = pressed || focused;
|
|
201
248
|
return {
|
|
202
|
-
playing: onScreen && !
|
|
203
|
-
|
|
204
|
-
|
|
249
|
+
playing: onScreen && !held && !tabHidden && reducedState === false,
|
|
250
|
+
held,
|
|
251
|
+
holdProps,
|
|
252
|
+
release,
|
|
205
253
|
reducedMotion: reducedState === true
|
|
206
254
|
};
|
|
207
255
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/components/icons-v2-generated/brand-logos/google-sheets-icon.tsx
|
|
4
|
+
var _react = require('react');
|
|
4
5
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
6
|
function GoogleSheetsIcon({
|
|
6
7
|
className = "",
|
|
@@ -8,6 +9,7 @@ function GoogleSheetsIcon({
|
|
|
8
9
|
color = "currentColor",
|
|
9
10
|
...props
|
|
10
11
|
}) {
|
|
12
|
+
const uid = _react.useId.call(void 0, ).replace(/[^a-zA-Z0-9_-]/g, "");
|
|
11
13
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12
14
|
"svg",
|
|
13
15
|
{
|
|
@@ -19,7 +21,7 @@ function GoogleSheetsIcon({
|
|
|
19
21
|
className,
|
|
20
22
|
...props,
|
|
21
23
|
children: [
|
|
22
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "mask", { id:
|
|
24
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "mask", { id: `${uid}sheets-grid`, children: [
|
|
23
25
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "24", height: "24", fill: "white" }),
|
|
24
26
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "7", y: "10", width: "4", height: "2", fill: "black" }),
|
|
25
27
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "7", y: "13", width: "4", height: "2", fill: "black" }),
|
|
@@ -35,7 +37,7 @@ function GoogleSheetsIcon({
|
|
|
35
37
|
fillRule: "evenodd",
|
|
36
38
|
clipRule: "evenodd",
|
|
37
39
|
d: "M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6H6Zm8 1.5V8h4.5L14 3.5Z",
|
|
38
|
-
mask:
|
|
40
|
+
mask: `url(#${uid}sheets-grid)`
|
|
39
41
|
}
|
|
40
42
|
)
|
|
41
43
|
]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/components/icons-v2-generated/brand-logos/clickup-icon.tsx
|
|
4
|
+
var _react = require('react');
|
|
4
5
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
6
|
function ClickupIcon({
|
|
6
7
|
className = "",
|
|
@@ -8,6 +9,7 @@ function ClickupIcon({
|
|
|
8
9
|
color = "currentColor",
|
|
9
10
|
...props
|
|
10
11
|
}) {
|
|
12
|
+
const uid = _react.useId.call(void 0, ).replace(/[^a-zA-Z0-9_-]/g, "");
|
|
11
13
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12
14
|
"svg",
|
|
13
15
|
{
|
|
@@ -23,7 +25,7 @@ function ClickupIcon({
|
|
|
23
25
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24
26
|
"linearGradient",
|
|
25
27
|
{
|
|
26
|
-
id:
|
|
28
|
+
id: `${uid}clickup_svg__a`,
|
|
27
29
|
x1: 0,
|
|
28
30
|
x2: 54.845,
|
|
29
31
|
y1: 15.049,
|
|
@@ -39,7 +41,7 @@ function ClickupIcon({
|
|
|
39
41
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
40
42
|
"linearGradient",
|
|
41
43
|
{
|
|
42
|
-
id:
|
|
44
|
+
id: `${uid}clickup_svg__b`,
|
|
43
45
|
x1: 1.195,
|
|
44
46
|
x2: 53.745,
|
|
45
47
|
y1: 53.166,
|
|
@@ -56,7 +58,7 @@ function ClickupIcon({
|
|
|
56
58
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
57
59
|
"path",
|
|
58
60
|
{
|
|
59
|
-
fill:
|
|
61
|
+
fill: `url(#${uid}clickup_svg__a)`,
|
|
60
62
|
fillRule: "evenodd",
|
|
61
63
|
d: "m0 50.6 10.1-7.8c5.4 7 11.1 10.3 17.4 10.3s11.9-3.2 17-10.2l10.3 7.6c-7.4 10-16.6 15.3-27.3 15.3-10.6 0-19.9-5.3-27.5-15.2",
|
|
62
64
|
clipRule: "evenodd"
|
|
@@ -65,7 +67,7 @@ function ClickupIcon({
|
|
|
65
67
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
66
68
|
"path",
|
|
67
69
|
{
|
|
68
|
-
fill:
|
|
70
|
+
fill: `url(#${uid}clickup_svg__b)`,
|
|
69
71
|
fillRule: "evenodd",
|
|
70
72
|
d: "m27.5 16.9-18 15.5-8.3-9.7L27.6 0l26.2 22.7-8.4 9.6z",
|
|
71
73
|
clipRule: "evenodd"
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk22ZK7BA3cjs = require('./chunk-22ZK7BA3.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkG37LT2IDcjs = require('./chunk-G37LT2ID.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSJRR745Gcjs = require('./chunk-SJRR745G.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk6KDGIOLPcjs = require('./chunk-6KDGIOLP.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkZWMPAFGBcjs = require('./chunk-ZWMPAFGB.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkXOQ2UUVScjs = require('./chunk-XOQ2UUVS.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -44,7 +44,7 @@ var _react = require('react');
|
|
|
44
44
|
var _reacthookform = require('react-hook-form');
|
|
45
45
|
|
|
46
46
|
// src/schemas/contact-schema.ts
|
|
47
|
-
var _zod3 = require('zod');
|
|
47
|
+
var _zod3 = require('zod'); var z = _interopRequireWildcard(_zod3);
|
|
48
48
|
var companySizeOptions = ["1-10", "11-50", "51-200", "201-500", "501-1000", "1001+"];
|
|
49
49
|
var referralSourceOptions = [
|
|
50
50
|
"Google",
|
|
@@ -62,7 +62,7 @@ var defaultHelpCategoryOptions = [
|
|
|
62
62
|
"Press",
|
|
63
63
|
"Other"
|
|
64
64
|
];
|
|
65
|
-
var LinkedInUrlSchema =
|
|
65
|
+
var LinkedInUrlSchema = z.string().url({ message: "Please enter a valid LinkedIn URL" }).refine(
|
|
66
66
|
(url) => {
|
|
67
67
|
try {
|
|
68
68
|
const host = new URL(url).hostname.toLowerCase();
|
|
@@ -74,20 +74,20 @@ var LinkedInUrlSchema = _zod3.z.string().url({ message: "Please enter a valid Li
|
|
|
74
74
|
{
|
|
75
75
|
message: "Please enter a valid LinkedIn profile URL"
|
|
76
76
|
}
|
|
77
|
-
).optional().or(
|
|
78
|
-
var ContactBaseSchema =
|
|
79
|
-
name:
|
|
80
|
-
email:
|
|
77
|
+
).optional().or(z.literal(""));
|
|
78
|
+
var ContactBaseSchema = z.object({
|
|
79
|
+
name: z.string().min(2, { message: "Name must be at least 2 characters" }).max(255, { message: "Name is too long" }),
|
|
80
|
+
email: z.string().email({ message: "Please enter a valid email address" }).max(255),
|
|
81
81
|
linkedin_url: LinkedInUrlSchema,
|
|
82
|
-
helpCategory:
|
|
83
|
-
message:
|
|
84
|
-
rdt_cid:
|
|
82
|
+
helpCategory: z.string().min(1, { message: "Please select what we can help you with" }).max(255, { message: "Help category is too long" }),
|
|
83
|
+
message: z.string().min(10, { message: "Message must be at least 10 characters" }).max(5e3, { message: "Message is too long (5,000 character limit)" }),
|
|
84
|
+
rdt_cid: z.string().optional()
|
|
85
85
|
});
|
|
86
86
|
var ContactSchema = ContactBaseSchema.extend({
|
|
87
|
-
companySize:
|
|
87
|
+
companySize: z.string().optional().refine((val) => !val || companySizeOptions.includes(val), {
|
|
88
88
|
message: "Please select a valid company size"
|
|
89
89
|
}),
|
|
90
|
-
referralSource:
|
|
90
|
+
referralSource: z.string().optional().refine((val) => !val || referralSourceOptions.includes(val), {
|
|
91
91
|
message: "Please select a valid referral source"
|
|
92
92
|
})
|
|
93
93
|
});
|
|
@@ -119,14 +119,14 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
123
|
-
const builtInSubmission =
|
|
122
|
+
const attachments = _chunkZWMPAFGBcjs.useChatAttachments.call(void 0, );
|
|
123
|
+
const builtInSubmission = _chunkSJRR745Gcjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
126
126
|
successToastMessage
|
|
127
127
|
});
|
|
128
128
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
129
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
129
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkSJRR745Gcjs.useHumanitySignals.call(void 0, );
|
|
130
130
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
131
131
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
132
132
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -152,7 +152,7 @@ function ContactForm({
|
|
|
152
152
|
),
|
|
153
153
|
[hideFields]
|
|
154
154
|
);
|
|
155
|
-
const rescue =
|
|
155
|
+
const rescue = _chunkSJRR745Gcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
156
156
|
const handleFormSubmit = async (data) => {
|
|
157
157
|
if (isSubmitting) return;
|
|
158
158
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -190,7 +190,7 @@ function ContactForm({
|
|
|
190
190
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
191
191
|
children: [
|
|
192
192
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
193
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
193
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkXOQ2UUVScjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkXOQ2UUVScjs.accentSentenceMarks.call(void 0, title) }),
|
|
194
194
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunk6KDGIOLPcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22ZK7BA3cjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkG37LT2IDcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkG37LT2IDcjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkG37LT2IDcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkG37LT2IDcjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkG37LT2IDcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkG37LT2IDcjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunk22ZK7BA3cjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunkZWMPAFGBcjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunkZWMPAFGBcjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -10,18 +10,18 @@ var _chunkUYHKZN5Dcjs = require('./chunk-UYHKZN5D.cjs');
|
|
|
10
10
|
var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkNYY25425cjs = require('./chunk-NYY25425.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkKLXHCNDCcjs = require('./chunk-KLXHCNDC.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk7DUXR4HLcjs = require('./chunk-7DUXR4HL.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkMANNIJ42cjs = require('./chunk-MANNIJ42.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkAZL332TKcjs = require('./chunk-AZL332TK.cjs');
|
|
@@ -217,7 +217,7 @@ var Modal = _react.forwardRef.call(void 0,
|
|
|
217
217
|
),
|
|
218
218
|
role: "dialog",
|
|
219
219
|
"aria-modal": "true",
|
|
220
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7DUXR4HLcjs.ViewportBreakpoints, { children }) })
|
|
221
221
|
}
|
|
222
222
|
)
|
|
223
223
|
]
|
|
@@ -446,7 +446,7 @@ function SlashCommandSuggestions({
|
|
|
446
446
|
className
|
|
447
447
|
),
|
|
448
448
|
children: commands.map((cmd, idx) => {
|
|
449
|
-
const Icon =
|
|
449
|
+
const Icon = _chunkMANNIJ42cjs.resolveIcon.call(void 0, cmd.iconName);
|
|
450
450
|
const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
|
|
451
451
|
const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
|
|
452
452
|
const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
|
|
@@ -542,7 +542,7 @@ function buildChipEl(token, label, icon) {
|
|
|
542
542
|
span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
|
|
543
543
|
span.innerHTML = _server.renderToStaticMarkup.call(void 0,
|
|
544
544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
545
|
-
|
|
545
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
546
546
|
{
|
|
547
547
|
as: "span",
|
|
548
548
|
variant: "badge",
|
|
@@ -930,7 +930,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
930
930
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
931
931
|
children: [
|
|
932
932
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
933
|
+
_chunkNYY25425cjs.AvatarStack,
|
|
934
934
|
{
|
|
935
935
|
people: awaitingTeam,
|
|
936
936
|
total: awaitingTeamCount,
|
|
@@ -1097,7 +1097,7 @@ ChatInput.displayName = "ChatInput";
|
|
|
1097
1097
|
|
|
1098
1098
|
// src/utils/format-date.ts
|
|
1099
1099
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
1100
|
-
var render = (input, fields) =>
|
|
1100
|
+
var render = (input, fields) => _chunkKLXHCNDCcjs.formatDateWithTimezone.call(void 0, input, _chunkKLXHCNDCcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
1101
1101
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
1102
1102
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
1103
1103
|
|