@flamingo-stack/openframe-frontend-core 0.0.698-2527.7788.1 → 0.0.698
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/{chunk-DMUUWHII.cjs → chunk-26GBOUIP.cjs} +92 -9
- package/dist/chunk-26GBOUIP.cjs.map +1 -0
- package/dist/{chunk-LJRMRHX3.js → chunk-2QESJBGE.js} +8 -8
- package/dist/{chunk-6FA7CKGO.cjs → chunk-3CFHHJKK.cjs} +3 -3
- package/dist/{chunk-6FA7CKGO.cjs.map → chunk-3CFHHJKK.cjs.map} +1 -1
- package/dist/{chunk-C36HIYNP.cjs → chunk-4FS56YZS.cjs} +681 -660
- package/dist/chunk-4FS56YZS.cjs.map +1 -0
- package/dist/{chunk-6JZJU3MT.cjs → chunk-55L6XDGC.cjs} +7 -7
- package/dist/{chunk-6JZJU3MT.cjs.map → chunk-55L6XDGC.cjs.map} +1 -1
- package/dist/{chunk-R6W6Q7LP.js → chunk-5VXVHYHC.js} +5 -5
- package/dist/{chunk-TQJCGJC3.cjs → chunk-676MGKZW.cjs} +5 -5
- package/dist/{chunk-TQJCGJC3.cjs.map → chunk-676MGKZW.cjs.map} +1 -1
- package/dist/{chunk-AUGTCILI.js → chunk-7QAT2DV5.js} +3 -3
- package/dist/{chunk-L4TUCNI2.js → chunk-AC6OEPUV.js} +6 -6
- package/dist/{chunk-G6ASUIGI.js → chunk-AXAGIZTZ.js} +21 -24
- package/dist/chunk-AXAGIZTZ.js.map +1 -0
- package/dist/{chunk-KAYOPKVW.cjs → chunk-BRTCMVBG.cjs} +15 -15
- package/dist/{chunk-KAYOPKVW.cjs.map → chunk-BRTCMVBG.cjs.map} +1 -1
- package/dist/{chunk-DBC5HYVO.cjs → chunk-BZHARMWU.cjs} +80 -80
- package/dist/{chunk-DBC5HYVO.cjs.map → chunk-BZHARMWU.cjs.map} +1 -1
- package/dist/{chunk-LXKEHZUV.cjs → chunk-COX4CSXZ.cjs} +466 -469
- package/dist/chunk-COX4CSXZ.cjs.map +1 -0
- package/dist/{chunk-AVRVYWCS.js → chunk-CXQTK6W3.js} +89 -6
- package/dist/chunk-CXQTK6W3.js.map +1 -0
- package/dist/{chunk-77DK66OI.cjs → chunk-FBXR26Q4.cjs} +50 -50
- package/dist/{chunk-77DK66OI.cjs.map → chunk-FBXR26Q4.cjs.map} +1 -1
- package/dist/{chunk-MRNN5TYM.js → chunk-FI7ZPOYQ.js} +27 -6
- package/dist/chunk-FI7ZPOYQ.js.map +1 -0
- package/dist/{chunk-UODSGUIM.js → chunk-FWVIDEOA.js} +2 -2
- package/dist/{chunk-OV6AUU2F.js → chunk-HNHKXOCZ.js} +7 -7
- package/dist/{chunk-DCKHFLXE.cjs → chunk-IRWS22CP.cjs} +22 -22
- package/dist/{chunk-DCKHFLXE.cjs.map → chunk-IRWS22CP.cjs.map} +1 -1
- package/dist/{chunk-SIQDC6VE.js → chunk-J3ZS6CRA.js} +4 -4
- package/dist/{chunk-ZYU3U3EI.js → chunk-J6ZEVCVN.js} +4 -4
- package/dist/{chunk-T3ZAMHEG.js → chunk-MOEOLUVD.js} +3 -3
- package/dist/{chunk-AHAZ6WLZ.cjs → chunk-OEX2WLZX.cjs} +10 -10
- package/dist/{chunk-AHAZ6WLZ.cjs.map → chunk-OEX2WLZX.cjs.map} +1 -1
- package/dist/{chunk-WCHS6P5U.js → chunk-R2XJXMAT.js} +6 -6
- package/dist/{chunk-DVDXCOTA.js → chunk-R4JFUVQ4.js} +3 -3
- package/dist/{chunk-UVRLSOEJ.js → chunk-TN2RFU6D.js} +113 -183
- package/dist/chunk-TN2RFU6D.js.map +1 -0
- package/dist/{chunk-MKOAFRVX.cjs → chunk-UXU4DROI.cjs} +12 -12
- package/dist/{chunk-MKOAFRVX.cjs.map → chunk-UXU4DROI.cjs.map} +1 -1
- package/dist/{chunk-VF37HVC4.cjs → chunk-VCEO6AGC.cjs} +18 -18
- package/dist/{chunk-VF37HVC4.cjs.map → chunk-VCEO6AGC.cjs.map} +1 -1
- package/dist/{chunk-UIWQO4OC.cjs → chunk-VO2FJ2AL.cjs} +36 -36
- package/dist/{chunk-UIWQO4OC.cjs.map → chunk-VO2FJ2AL.cjs.map} +1 -1
- package/dist/{chunk-COA3TIOD.js → chunk-VOSO3SC5.js} +5 -5
- package/dist/{chunk-W4YXUJOF.cjs → chunk-VP6PJLMI.cjs} +48 -118
- package/dist/chunk-VP6PJLMI.cjs.map +1 -0
- package/dist/{chunk-Z7OC25FG.cjs → chunk-VQEXKCFM.cjs} +5 -5
- package/dist/{chunk-Z7OC25FG.cjs.map → chunk-VQEXKCFM.cjs.map} +1 -1
- package/dist/{chunk-IMCBJOFN.cjs → chunk-X2W4ANCM.cjs} +43 -43
- package/dist/{chunk-IMCBJOFN.cjs.map → chunk-X2W4ANCM.cjs.map} +1 -1
- package/dist/{chunk-3WRN7VAD.js → chunk-YNBOPBO7.js} +4 -4
- package/dist/{chunk-LNUZHW4O.cjs → chunk-YRSPHPGO.cjs} +25 -25
- package/dist/{chunk-LNUZHW4O.cjs.map → chunk-YRSPHPGO.cjs.map} +1 -1
- package/dist/{chunk-HOZGKVRI.js → chunk-ZNJK5HOE.js} +2 -2
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/docs/index.js +8 -8
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +81 -81
- package/dist/components/help-center-pages/index.js +16 -16
- package/dist/components/index.cjs +48 -47
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +17 -16
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/index.cjs +5 -5
- package/dist/components/ui/index.js +4 -4
- package/dist/components/ui/marquee-wall.d.ts.map +1 -1
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/ui/use-in-view.d.ts +8 -1
- package/dist/hooks/ui/use-in-view.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.d.ts +3 -0
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/index.cjs +20 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -13
- package/dist/index.js.map +1 -1
- package/dist/utils/index.cjs +21 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +19 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/path-pattern.d.ts +5 -0
- package/dist/utils/path-pattern.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +3 -2
- package/src/components/features/cards-strip.tsx +12 -11
- package/src/components/ui/marquee-wall.tsx +16 -14
- package/src/hooks/__tests__/use-scenario-player.test.tsx +48 -0
- package/src/hooks/ui/use-in-view.ts +15 -3
- package/src/hooks/use-scenario-player.ts +22 -2
- package/src/utils/__tests__/path-pattern.test.ts +30 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/path-pattern.ts +31 -0
- package/dist/chunk-AVRVYWCS.js.map +0 -1
- package/dist/chunk-C36HIYNP.cjs.map +0 -1
- package/dist/chunk-DMUUWHII.cjs.map +0 -1
- package/dist/chunk-G6ASUIGI.js.map +0 -1
- package/dist/chunk-LXKEHZUV.cjs.map +0 -1
- package/dist/chunk-MRNN5TYM.js.map +0 -1
- package/dist/chunk-UVRLSOEJ.js.map +0 -1
- package/dist/chunk-W4YXUJOF.cjs.map +0 -1
- /package/dist/{chunk-LJRMRHX3.js.map → chunk-2QESJBGE.js.map} +0 -0
- /package/dist/{chunk-R6W6Q7LP.js.map → chunk-5VXVHYHC.js.map} +0 -0
- /package/dist/{chunk-AUGTCILI.js.map → chunk-7QAT2DV5.js.map} +0 -0
- /package/dist/{chunk-L4TUCNI2.js.map → chunk-AC6OEPUV.js.map} +0 -0
- /package/dist/{chunk-UODSGUIM.js.map → chunk-FWVIDEOA.js.map} +0 -0
- /package/dist/{chunk-OV6AUU2F.js.map → chunk-HNHKXOCZ.js.map} +0 -0
- /package/dist/{chunk-SIQDC6VE.js.map → chunk-J3ZS6CRA.js.map} +0 -0
- /package/dist/{chunk-ZYU3U3EI.js.map → chunk-J6ZEVCVN.js.map} +0 -0
- /package/dist/{chunk-T3ZAMHEG.js.map → chunk-MOEOLUVD.js.map} +0 -0
- /package/dist/{chunk-WCHS6P5U.js.map → chunk-R2XJXMAT.js.map} +0 -0
- /package/dist/{chunk-DVDXCOTA.js.map → chunk-R4JFUVQ4.js.map} +0 -0
- /package/dist/{chunk-COA3TIOD.js.map → chunk-VOSO3SC5.js.map} +0 -0
- /package/dist/{chunk-3WRN7VAD.js.map → chunk-YNBOPBO7.js.map} +0 -0
- /package/dist/{chunk-HOZGKVRI.js.map → chunk-ZNJK5HOE.js.map} +0 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FWVIDEOA.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J6ZEVCVN.js";
|
|
10
10
|
import {
|
|
11
11
|
useSelfFetch
|
|
12
12
|
} from "./chunk-OGO4RFAH.js";
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
PageShell,
|
|
19
19
|
RichMarkdownRenderer,
|
|
20
20
|
resolveContentHref
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FI7ZPOYQ.js";
|
|
22
22
|
import {
|
|
23
23
|
EntityVideoSection,
|
|
24
24
|
VideoBitesStrip,
|
|
25
25
|
useCaptions,
|
|
26
26
|
useVideoWarmup
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AXAGIZTZ.js";
|
|
28
28
|
import {
|
|
29
29
|
useRouter,
|
|
30
30
|
useSearchParams
|
|
@@ -389,4 +389,4 @@ export {
|
|
|
389
389
|
useOnboardingGuide,
|
|
390
390
|
useOnboardingGuideSections
|
|
391
391
|
};
|
|
392
|
-
//# sourceMappingURL=chunk-
|
|
392
|
+
//# sourceMappingURL=chunk-VOSO3SC5.js.map
|
|
@@ -19,7 +19,8 @@ var _chunkNPPI32SOcjs = require('./chunk-NPPI32SO.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
var _chunk26GBOUIPcjs = require('./chunk-26GBOUIP.cjs');
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
|
|
@@ -144,9 +145,9 @@ function useDeferredError(error, value, delay = 1500) {
|
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
// src/hooks/ui/use-drag-and-drop-enabled.ts
|
|
147
|
-
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${
|
|
148
|
+
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunk26GBOUIPcjs.breakpoints.md}`;
|
|
148
149
|
function useDragAndDropEnabled() {
|
|
149
|
-
return _nullishCoalesce(
|
|
150
|
+
return _nullishCoalesce(_chunk26GBOUIPcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
// src/hooks/ui/use-focus-trap.ts
|
|
@@ -766,7 +767,7 @@ function useSearch(config) {
|
|
|
766
767
|
searchFnRef.current = searchFn;
|
|
767
768
|
mapResultRef.current = mapResult;
|
|
768
769
|
});
|
|
769
|
-
const debouncedQuery =
|
|
770
|
+
const debouncedQuery = _chunk26GBOUIPcjs.useDebounce.call(void 0, query, debounceMs);
|
|
770
771
|
const clearResults = _react.useCallback.call(void 0, () => {
|
|
771
772
|
setResults(NO_RESULTS);
|
|
772
773
|
setError(null);
|
|
@@ -896,79 +897,6 @@ function useWindowSize() {
|
|
|
896
897
|
// src/hooks/ui/index.ts
|
|
897
898
|
var _overlays = require('@react-aria/overlays');
|
|
898
899
|
|
|
899
|
-
// src/hooks/ui/use-prefers-reduced-motion.ts
|
|
900
|
-
var PREFERS_REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
901
|
-
function usePrefersReducedMotion() {
|
|
902
|
-
return _chunkDMUUWHIIcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY) === true;
|
|
903
|
-
}
|
|
904
|
-
function usePrefersReducedMotionState() {
|
|
905
|
-
return _chunkDMUUWHIIcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
// src/hooks/ui/use-in-view.ts
|
|
909
|
-
|
|
910
|
-
var STEPS = Array.from({ length: 21 }, (_, i) => i / 20);
|
|
911
|
-
function useInView({
|
|
912
|
-
threshold = 0,
|
|
913
|
-
rootMargin = "0px"
|
|
914
|
-
} = {}) {
|
|
915
|
-
const [inView, setInView] = _react.useState.call(void 0, false);
|
|
916
|
-
const observerRef = _react.useRef.call(void 0, null);
|
|
917
|
-
const disconnect = _react.useCallback.call(void 0, () => {
|
|
918
|
-
_optionalChain([observerRef, 'access', _30 => _30.current, 'optionalAccess', _31 => _31.disconnect, 'call', _32 => _32()]);
|
|
919
|
-
observerRef.current = null;
|
|
920
|
-
}, []);
|
|
921
|
-
const ref = _react.useCallback.call(void 0,
|
|
922
|
-
(node) => {
|
|
923
|
-
disconnect();
|
|
924
|
-
if (!node || typeof IntersectionObserver === "undefined") {
|
|
925
|
-
setInView(false);
|
|
926
|
-
return;
|
|
927
|
-
}
|
|
928
|
-
const observer = new IntersectionObserver(
|
|
929
|
-
(entries) => {
|
|
930
|
-
const entry = entries[entries.length - 1];
|
|
931
|
-
if (!entry) return;
|
|
932
|
-
const ofElement = entry.intersectionRatio >= threshold;
|
|
933
|
-
const viewportHeight = _nullishCoalesce(_optionalChain([entry, 'access', _33 => _33.rootBounds, 'optionalAccess', _34 => _34.height]), () => ( 0));
|
|
934
|
-
const ofViewport = viewportHeight > 0 && (_nullishCoalesce(_optionalChain([entry, 'access', _35 => _35.intersectionRect, 'optionalAccess', _36 => _36.height]), () => ( 0))) >= viewportHeight * threshold;
|
|
935
|
-
setInView(entry.isIntersecting && (ofElement || ofViewport));
|
|
936
|
-
},
|
|
937
|
-
{ threshold: STEPS, rootMargin }
|
|
938
|
-
);
|
|
939
|
-
observer.observe(node);
|
|
940
|
-
observerRef.current = observer;
|
|
941
|
-
},
|
|
942
|
-
[disconnect, threshold, rootMargin]
|
|
943
|
-
);
|
|
944
|
-
_react.useEffect.call(void 0, () => disconnect, [disconnect]);
|
|
945
|
-
return { ref, inView };
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
// src/hooks/ui/use-autoplay.ts
|
|
949
|
-
|
|
950
|
-
function useAutoplay(onScreen) {
|
|
951
|
-
const reducedState = usePrefersReducedMotionState();
|
|
952
|
-
const [paused, setPaused] = _react.useState.call(void 0, false);
|
|
953
|
-
const [tabHidden, setTabHidden] = _react.useState.call(void 0, false);
|
|
954
|
-
_react.useEffect.call(void 0, () => {
|
|
955
|
-
const sync2 = () => setTabHidden(document.visibilityState === "hidden");
|
|
956
|
-
sync2();
|
|
957
|
-
document.addEventListener("visibilitychange", sync2);
|
|
958
|
-
window.addEventListener("pageshow", sync2);
|
|
959
|
-
return () => {
|
|
960
|
-
document.removeEventListener("visibilitychange", sync2);
|
|
961
|
-
window.removeEventListener("pageshow", sync2);
|
|
962
|
-
};
|
|
963
|
-
}, []);
|
|
964
|
-
return {
|
|
965
|
-
playing: onScreen && !paused && !tabHidden && reducedState === false,
|
|
966
|
-
paused,
|
|
967
|
-
setPaused,
|
|
968
|
-
reducedMotion: reducedState === true
|
|
969
|
-
};
|
|
970
|
-
}
|
|
971
|
-
|
|
972
900
|
// src/hooks/platform/use-platform-config.ts
|
|
973
901
|
|
|
974
902
|
|
|
@@ -1272,11 +1200,11 @@ function CommandApprovalToast({
|
|
|
1272
1200
|
}) {
|
|
1273
1201
|
const [expanded, setExpanded] = _react.useState.call(void 0, defaultExpanded);
|
|
1274
1202
|
const handleApprove = () => {
|
|
1275
|
-
_optionalChain([onApprove, 'optionalCall',
|
|
1203
|
+
_optionalChain([onApprove, 'optionalCall', _30 => _30()]);
|
|
1276
1204
|
_sonner.toast.dismiss(id);
|
|
1277
1205
|
};
|
|
1278
1206
|
const handleReject = () => {
|
|
1279
|
-
_optionalChain([onReject, 'optionalCall',
|
|
1207
|
+
_optionalChain([onReject, 'optionalCall', _31 => _31()]);
|
|
1280
1208
|
_sonner.toast.dismiss(id);
|
|
1281
1209
|
};
|
|
1282
1210
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -1310,7 +1238,7 @@ function CommandApprovalToast({
|
|
|
1310
1238
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden", children: [
|
|
1311
1239
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-11 w-full items-center gap-2 border-b border-ods-border bg-ods-card px-3 py-2", children: [
|
|
1312
1240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h6", title: command, children: command }),
|
|
1313
|
-
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1241
|
+
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk26GBOUIPcjs.ToolIcon, { toolType, size: 16 }) : null
|
|
1314
1242
|
] }),
|
|
1315
1243
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 bg-ods-bg p-3", children: [
|
|
1316
1244
|
approvalDescription ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: approvalDescription }) : null,
|
|
@@ -1493,7 +1421,7 @@ function useContactSubmission(options = {}) {
|
|
|
1493
1421
|
});
|
|
1494
1422
|
if (!response.ok) {
|
|
1495
1423
|
const failure = await response.json().catch(() => null);
|
|
1496
|
-
throw new Error(
|
|
1424
|
+
throw new Error(_chunk26GBOUIPcjs.apiErrorMessage.call(void 0, failure, "Failed to submit contact form"));
|
|
1497
1425
|
}
|
|
1498
1426
|
setIsSuccess(true);
|
|
1499
1427
|
const message = successToastMessage ? `Thank you! Your message has been sent. ${successToastMessage}` : "Thank you! Your message has been sent successfully.";
|
|
@@ -1812,12 +1740,12 @@ function useAuthenticatedImage(imageUrl, refreshKey, config) {
|
|
|
1812
1740
|
};
|
|
1813
1741
|
}, []);
|
|
1814
1742
|
const active = settled && settled.key === cacheKey ? settled : null;
|
|
1815
|
-
const cachedBlobUrl = cacheKey === null ? void 0 : _optionalChain([imageCache, 'access',
|
|
1816
|
-
const resolvedBlobUrl = _nullishCoalesce(_nullishCoalesce(_optionalChain([active, 'optionalAccess',
|
|
1743
|
+
const cachedBlobUrl = cacheKey === null ? void 0 : _optionalChain([imageCache, 'access', _32 => _32.get, 'call', _33 => _33(cacheKey), 'optionalAccess', _34 => _34.blobUrl]);
|
|
1744
|
+
const resolvedBlobUrl = _nullishCoalesce(_nullishCoalesce(_optionalChain([active, 'optionalAccess', _35 => _35.blobUrl]), () => ( cachedBlobUrl)), () => ( _optionalChain([settled, 'optionalAccess', _36 => _36.blobUrl])));
|
|
1817
1745
|
return {
|
|
1818
1746
|
imageUrl: cacheKey === null ? void 0 : resolvedBlobUrl,
|
|
1819
1747
|
isLoading: cacheKey !== null && active === null && cachedBlobUrl === void 0,
|
|
1820
|
-
error: _nullishCoalesce((cacheKey === null ? void 0 : _optionalChain([active, 'optionalAccess',
|
|
1748
|
+
error: _nullishCoalesce((cacheKey === null ? void 0 : _optionalChain([active, 'optionalAccess', _37 => _37.error])), () => ( null))
|
|
1821
1749
|
};
|
|
1822
1750
|
}
|
|
1823
1751
|
|
|
@@ -2798,6 +2726,7 @@ function useNatsClient(clientOptions, options = {}) {
|
|
|
2798
2726
|
|
|
2799
2727
|
// src/hooks/use-scenario-player.ts
|
|
2800
2728
|
|
|
2729
|
+
var START_MS = 300;
|
|
2801
2730
|
function useScenarioPlayer({
|
|
2802
2731
|
scenarioCount,
|
|
2803
2732
|
lastStep: lastStepOption,
|
|
@@ -2807,16 +2736,22 @@ function useScenarioPlayer({
|
|
|
2807
2736
|
initialScenario = 0,
|
|
2808
2737
|
startAtEnd = false
|
|
2809
2738
|
}) {
|
|
2810
|
-
const auto = useAutoplay(enabled);
|
|
2739
|
+
const auto = _chunk26GBOUIPcjs.useAutoplay.call(void 0, enabled);
|
|
2811
2740
|
const { reducedMotion, paused, setPaused } = auto;
|
|
2812
2741
|
const [scenario, setScenario] = _react.useState.call(void 0, initialScenario);
|
|
2813
2742
|
const [rawStep, setRawStep] = _react.useState.call(void 0, startAtEnd ? Number.MAX_SAFE_INTEGER : 0);
|
|
2814
2743
|
const lastStep = typeof lastStepOption === "function" ? lastStepOption(scenario) : lastStepOption;
|
|
2815
2744
|
const step = reducedMotion ? lastStep : Math.min(rawStep, lastStep);
|
|
2816
2745
|
const playing = auto.playing && scenarioCount > 0;
|
|
2746
|
+
const starting = _react.useRef.call(void 0, false);
|
|
2747
|
+
const wasPlaying = _react.useRef.call(void 0, false);
|
|
2817
2748
|
_react.useEffect.call(void 0, () => {
|
|
2749
|
+
if (playing && !wasPlaying.current) starting.current = true;
|
|
2750
|
+
wasPlaying.current = playing;
|
|
2818
2751
|
if (!playing) return void 0;
|
|
2819
2752
|
const atEnd = rawStep >= lastStep;
|
|
2753
|
+
const quickStart = starting.current && !atEnd;
|
|
2754
|
+
starting.current = false;
|
|
2820
2755
|
const timer = setTimeout(
|
|
2821
2756
|
() => {
|
|
2822
2757
|
if (atEnd) {
|
|
@@ -2826,7 +2761,7 @@ function useScenarioPlayer({
|
|
|
2826
2761
|
setRawStep((current) => Math.min(current, lastStep) + 1);
|
|
2827
2762
|
}
|
|
2828
2763
|
},
|
|
2829
|
-
atEnd ? holdMs : stepMs
|
|
2764
|
+
atEnd ? holdMs : quickStart ? Math.min(START_MS, stepMs) : stepMs
|
|
2830
2765
|
);
|
|
2831
2766
|
return () => clearTimeout(timer);
|
|
2832
2767
|
}, [playing, rawStep, lastStep, stepMs, holdMs, scenario, scenarioCount]);
|
|
@@ -2863,7 +2798,7 @@ async function validateAccessCode(email, code, endpoints) {
|
|
|
2863
2798
|
});
|
|
2864
2799
|
if (!response.ok) {
|
|
2865
2800
|
const failure = await response.json().catch(() => null);
|
|
2866
|
-
throw new Error(
|
|
2801
|
+
throw new Error(_chunk26GBOUIPcjs.apiErrorMessage.call(void 0, failure, "Validation request failed"));
|
|
2867
2802
|
}
|
|
2868
2803
|
return await response.json();
|
|
2869
2804
|
} catch (error) {
|
|
@@ -2884,7 +2819,7 @@ async function consumeAccessCode(email, code, endpoints) {
|
|
|
2884
2819
|
});
|
|
2885
2820
|
if (!response.ok) {
|
|
2886
2821
|
const failure = await response.json().catch(() => null);
|
|
2887
|
-
throw new Error(
|
|
2822
|
+
throw new Error(_chunk26GBOUIPcjs.apiErrorMessage.call(void 0, failure, "Consumption request failed"));
|
|
2888
2823
|
}
|
|
2889
2824
|
return await response.json();
|
|
2890
2825
|
} catch (error) {
|
|
@@ -2976,9 +2911,9 @@ function toFigmaEmbedUrl(url, opts) {
|
|
|
2976
2911
|
if (match) {
|
|
2977
2912
|
const [, urlType, fileKey, titleSlug, queryString] = match;
|
|
2978
2913
|
const isSlides = urlType === "slides" || urlType === "deck";
|
|
2979
|
-
const embedType = urlType === "proto" ? "proto" : isSlides ? _optionalChain([opts, 'optionalAccess',
|
|
2914
|
+
const embedType = urlType === "proto" ? "proto" : isSlides ? _optionalChain([opts, 'optionalAccess', _38 => _38.slidesView]) === "browse" ? "slides" : "deck" : "design";
|
|
2980
2915
|
const pathSuffix = titleSlug ? `/${titleSlug}` : "";
|
|
2981
|
-
const params = new URLSearchParams(_optionalChain([queryString, 'optionalAccess',
|
|
2916
|
+
const params = new URLSearchParams(_optionalChain([queryString, 'optionalAccess', _39 => _39.replace, 'call', _40 => _40(/^\?/, "")]) || "");
|
|
2982
2917
|
if (!params.has("embed-host")) {
|
|
2983
2918
|
params.set("embed-host", "flamingo");
|
|
2984
2919
|
}
|
|
@@ -3005,11 +2940,11 @@ function toClaudeMirrorPath(url, storageViewBaseUrl) {
|
|
|
3005
2940
|
try {
|
|
3006
2941
|
const u = new URL(url);
|
|
3007
2942
|
const host = u.hostname.toLowerCase();
|
|
3008
|
-
const id = host === "claude.ai" && _optionalChain([/^\/(?:code\/artifact|public\/artifacts)\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[/?#]|$)/i, 'access',
|
|
2943
|
+
const id = host === "claude.ai" && _optionalChain([/^\/(?:code\/artifact|public\/artifacts)\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[/?#]|$)/i, 'access', _41 => _41.exec, 'call', _42 => _42(
|
|
3009
2944
|
u.pathname
|
|
3010
|
-
), 'optionalAccess',
|
|
2945
|
+
), 'optionalAccess', _43 => _43[1]]) || host === "claude.site" && _optionalChain([/^\/artifacts\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[/?#]|$)/i, 'access', _44 => _44.exec, 'call', _45 => _45(
|
|
3011
2946
|
u.pathname
|
|
3012
|
-
), 'optionalAccess',
|
|
2947
|
+
), 'optionalAccess', _46 => _46[1]]) || null;
|
|
3013
2948
|
return id ? `${storageViewBaseUrl.replace(/\/$/, "")}/design-briefs/${id.toLowerCase()}.html` : null;
|
|
3014
2949
|
} catch (e6) {
|
|
3015
2950
|
return null;
|
|
@@ -3020,7 +2955,7 @@ function toClaudeEmbedUrl(url) {
|
|
|
3020
2955
|
try {
|
|
3021
2956
|
const u = new URL(url);
|
|
3022
2957
|
const host = u.hostname.toLowerCase();
|
|
3023
|
-
const publicId = host === "claude.ai" && _optionalChain([/^\/public\/artifacts\/([\w-]+)(?:\/embed)?\/?$/, 'access',
|
|
2958
|
+
const publicId = host === "claude.ai" && _optionalChain([/^\/public\/artifacts\/([\w-]+)(?:\/embed)?\/?$/, 'access', _47 => _47.exec, 'call', _48 => _48(u.pathname), 'optionalAccess', _49 => _49[1]]) || host === "claude.site" && _optionalChain([/^\/artifacts\/([\w-]+)(?:\/embed)?\/?$/, 'access', _50 => _50.exec, 'call', _51 => _51(u.pathname), 'optionalAccess', _52 => _52[1]]) || null;
|
|
3024
2959
|
return publicId ? `https://claude.ai/public/artifacts/${publicId}/embed` : null;
|
|
3025
2960
|
} catch (e7) {
|
|
3026
2961
|
return null;
|
|
@@ -3033,14 +2968,14 @@ async function revalidateMirror(mirrorPath) {
|
|
|
3033
2968
|
const res = await fetch(`${mirrorPath}?revalidate=1`);
|
|
3034
2969
|
if (!res.ok) return null;
|
|
3035
2970
|
const body = await res.json();
|
|
3036
|
-
return _optionalChain([body, 'optionalAccess',
|
|
2971
|
+
return _optionalChain([body, 'optionalAccess', _53 => _53.updated]) ? String(_nullishCoalesce(body.version, () => ( Date.now()))) : null;
|
|
3037
2972
|
} catch (e8) {
|
|
3038
2973
|
return null;
|
|
3039
2974
|
}
|
|
3040
2975
|
}
|
|
3041
2976
|
function useClaudeMirrorSrc(url) {
|
|
3042
2977
|
const endpoints = _chunkLCMT2GZKcjs.useEndpointsRuntime.call(void 0, );
|
|
3043
|
-
const mirrorPath = toClaudeMirrorPath(url, _optionalChain([endpoints, 'optionalAccess',
|
|
2978
|
+
const mirrorPath = toClaudeMirrorPath(url, _optionalChain([endpoints, 'optionalAccess', _54 => _54.storageViewBaseUrl]));
|
|
3044
2979
|
const [resolved, setResolved] = _react.useState.call(void 0, null);
|
|
3045
2980
|
const state = resolved && resolved.key === mirrorPath ? resolved.value : { src: null, status: mirrorPath ? "probing" : "absent" };
|
|
3046
2981
|
_react.useEffect.call(void 0, () => {
|
|
@@ -3073,7 +3008,7 @@ function useClaudeMirrorSrc(url) {
|
|
|
3073
3008
|
|
|
3074
3009
|
var MAX_POLL_FRAMES = 60;
|
|
3075
3010
|
function useScrollToHash(readyDep = true, options) {
|
|
3076
|
-
const headerOffset = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3011
|
+
const headerOffset = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _55 => _55.headerOffset]), () => ( 0));
|
|
3077
3012
|
_react.useEffect.call(void 0, () => {
|
|
3078
3013
|
if (typeof window === "undefined") return void 0;
|
|
3079
3014
|
if (readyDep === null || readyDep === false) return void 0;
|
|
@@ -3085,15 +3020,15 @@ function useScrollToHash(readyDep = true, options) {
|
|
|
3085
3020
|
}
|
|
3086
3021
|
};
|
|
3087
3022
|
const tryScrollToHash = () => {
|
|
3088
|
-
const hash =
|
|
3023
|
+
const hash = _chunk26GBOUIPcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
|
|
3089
3024
|
if (!hash) return;
|
|
3090
3025
|
cancelPoll();
|
|
3091
3026
|
let frames = 0;
|
|
3092
3027
|
const tick = () => {
|
|
3093
|
-
const el =
|
|
3028
|
+
const el = _chunk26GBOUIPcjs.getHashTargetElement.call(void 0, hash);
|
|
3094
3029
|
if (el) {
|
|
3095
3030
|
rafId = null;
|
|
3096
|
-
|
|
3031
|
+
_chunk26GBOUIPcjs.scrollElementIntoView.call(void 0, el, { headerOffset });
|
|
3097
3032
|
return;
|
|
3098
3033
|
}
|
|
3099
3034
|
if (frames++ < MAX_POLL_FRAMES) {
|
|
@@ -3172,7 +3107,7 @@ function evaluateHumanitySignals(body, opts) {
|
|
|
3172
3107
|
if (elapsedMs !== null && elapsedMs < opts.minFillMs) return { ...diagnostics, ok: false, reason: "too_fast" };
|
|
3173
3108
|
return sourceField !== null ? { ...diagnostics, ok: true, note: "honeypot_autofill", sourceField } : { ...diagnostics, ok: true };
|
|
3174
3109
|
}
|
|
3175
|
-
var splitCsvEnv = (s) => _nullishCoalesce(_optionalChain([s, 'optionalAccess',
|
|
3110
|
+
var splitCsvEnv = (s) => _nullishCoalesce(_optionalChain([s, 'optionalAccess', _56 => _56.split, 'call', _57 => _57(","), 'access', _58 => _58.map, 'call', _59 => _59((t) => t.trim()), 'access', _60 => _60.filter, 'call', _61 => _61(Boolean)]), () => ( []));
|
|
3176
3111
|
|
|
3177
3112
|
// src/hooks/use-humanity-signals.ts
|
|
3178
3113
|
function useHumanitySignals() {
|
|
@@ -3181,7 +3116,7 @@ function useHumanitySignals() {
|
|
|
3181
3116
|
const startedAtRef = _react.useRef.call(void 0, mountedAt);
|
|
3182
3117
|
const getSignals = _react.useCallback.call(void 0,
|
|
3183
3118
|
() => ({
|
|
3184
|
-
[HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access',
|
|
3119
|
+
[HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _62 => _62.current, 'optionalAccess', _63 => _63.value]), () => ( "")),
|
|
3185
3120
|
[ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - startedAtRef.current) : 0
|
|
3186
3121
|
}),
|
|
3187
3122
|
[]
|
|
@@ -3341,7 +3276,7 @@ function captureFormRescueEvent(event, properties) {
|
|
|
3341
3276
|
try {
|
|
3342
3277
|
if (typeof window === "undefined") return;
|
|
3343
3278
|
const ph = window.posthog;
|
|
3344
|
-
if (typeof _optionalChain([ph, 'optionalAccess',
|
|
3279
|
+
if (typeof _optionalChain([ph, 'optionalAccess', _64 => _64.capture]) === "function") ph.capture(event, properties);
|
|
3345
3280
|
} catch (e9) {
|
|
3346
3281
|
}
|
|
3347
3282
|
}
|
|
@@ -3388,7 +3323,7 @@ function completeFormRescue(form, attemptId) {
|
|
|
3388
3323
|
const local = readLocalDraft(form.id);
|
|
3389
3324
|
captureFormRescueEvent(FORM_RESCUE_EVENTS.submitted, {
|
|
3390
3325
|
form_id: form.id,
|
|
3391
|
-
attempt_id: isFormAttemptId(attemptId) ? attemptId : _nullishCoalesce(_optionalChain([local, 'optionalAccess',
|
|
3326
|
+
attempt_id: isFormAttemptId(attemptId) ? attemptId : _nullishCoalesce(_optionalChain([local, 'optionalAccess', _65 => _65.attemptId]), () => ( null))
|
|
3392
3327
|
});
|
|
3393
3328
|
clearLocalDraft(form.id);
|
|
3394
3329
|
}
|
|
@@ -3406,8 +3341,8 @@ function readUtm() {
|
|
|
3406
3341
|
}
|
|
3407
3342
|
}
|
|
3408
3343
|
function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
3409
|
-
const draftsUrl = _optionalChain([_chunkLCMT2GZKcjs.useEndpointsRuntime.call(void 0, ), 'optionalAccess',
|
|
3410
|
-
const formId = _nullishCoalesce(_optionalChain([form, 'optionalAccess',
|
|
3344
|
+
const draftsUrl = _optionalChain([_chunkLCMT2GZKcjs.useEndpointsRuntime.call(void 0, ), 'optionalAccess', _66 => _66.formDraftsUrl]);
|
|
3345
|
+
const formId = _nullishCoalesce(_optionalChain([form, 'optionalAccess', _67 => _67.id]), () => ( null));
|
|
3411
3346
|
const attemptIdRef = _react.useRef.call(void 0, null);
|
|
3412
3347
|
const resumeTokenRef = _react.useRef.call(void 0, null);
|
|
3413
3348
|
const latestRef = _react.useRef.call(void 0, null);
|
|
@@ -3444,7 +3379,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
3444
3379
|
void _chunkNPPI32SOcjs.contentFetch.call(void 0, draftsUrl, {
|
|
3445
3380
|
method: "POST",
|
|
3446
3381
|
headers: { "Content-Type": "application/json" },
|
|
3447
|
-
body: JSON.stringify({ ...body, ..._nullishCoalesce(_optionalChain([getSignalsRef, 'access',
|
|
3382
|
+
body: JSON.stringify({ ...body, ..._nullishCoalesce(_optionalChain([getSignalsRef, 'access', _68 => _68.current, 'optionalCall', _69 => _69()]), () => ( {})) }),
|
|
3448
3383
|
keepalive
|
|
3449
3384
|
}).catch(() => void 0);
|
|
3450
3385
|
} catch (e14) {
|
|
@@ -3467,7 +3402,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
3467
3402
|
const local = readLocalDraft(formId);
|
|
3468
3403
|
if (!local) return;
|
|
3469
3404
|
attemptIdRef.current = local.attemptId;
|
|
3470
|
-
if (Object.keys(local.values).length) _optionalChain([onRestoreRef, 'access',
|
|
3405
|
+
if (Object.keys(local.values).length) _optionalChain([onRestoreRef, 'access', _70 => _70.current, 'optionalCall', _71 => _71(local.values)]);
|
|
3471
3406
|
};
|
|
3472
3407
|
if (isResumeToken(token) && draftsUrl) {
|
|
3473
3408
|
_chunkNPPI32SOcjs.contentFetch.call(void 0, `${draftsUrl}/resume/${encodeURIComponent(token)}`).then(async (res) => res.ok ? await res.json() : null).then((data) => {
|
|
@@ -3477,7 +3412,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
3477
3412
|
return;
|
|
3478
3413
|
}
|
|
3479
3414
|
resumeTokenRef.current = token;
|
|
3480
|
-
_optionalChain([onRestoreRef, 'access',
|
|
3415
|
+
_optionalChain([onRestoreRef, 'access', _72 => _72.current, 'optionalCall', _73 => _73(sanitizeRescueValues(data.values))]);
|
|
3481
3416
|
captureFormRescueEvent(FORM_RESCUE_EVENTS.resumed, { form_id: formId, attempt_id: attemptId() });
|
|
3482
3417
|
}).catch(() => {
|
|
3483
3418
|
if (!cancelled) restoreLocal();
|
|
@@ -3501,8 +3436,8 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
3501
3436
|
captureFormRescueEvent(FORM_RESCUE_EVENTS.abandoned, {
|
|
3502
3437
|
form_id: formId,
|
|
3503
3438
|
attempt_id: attemptId(),
|
|
3504
|
-
last_field: _nullishCoalesce(_optionalChain([latestRef, 'access',
|
|
3505
|
-
completion_pct: _nullishCoalesce(_optionalChain([latestRef, 'access',
|
|
3439
|
+
last_field: _nullishCoalesce(_optionalChain([latestRef, 'access', _74 => _74.current, 'optionalAccess', _75 => _75.last_field]), () => ( null)),
|
|
3440
|
+
completion_pct: _nullishCoalesce(_optionalChain([latestRef, 'access', _76 => _76.current, 'optionalAccess', _77 => _77.completion_pct]), () => ( 0))
|
|
3506
3441
|
});
|
|
3507
3442
|
};
|
|
3508
3443
|
const onVisibility = () => {
|
|
@@ -3722,10 +3657,5 @@ function useRescuedForm(form, { rescue, fields, getSignals, fieldPath }) {
|
|
|
3722
3657
|
|
|
3723
3658
|
|
|
3724
3659
|
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
exports.useAutoLimitTags = useAutoLimitTags; exports.useKeyboardCollisionPadding = useKeyboardCollisionPadding; exports.useDeferredError = useDeferredError; exports.DRAG_AND_DROP_MEDIA_QUERY = DRAG_AND_DROP_MEDIA_QUERY; exports.useDragAndDropEnabled = useDragAndDropEnabled; exports.useFocusTrap = useFocusTrap; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useLocalStorage = useLocalStorage; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useSearch = useSearch; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.PREFERS_REDUCED_MOTION_QUERY = PREFERS_REDUCED_MOTION_QUERY; exports.usePrefersReducedMotion = usePrefersReducedMotion; exports.usePrefersReducedMotionState = usePrefersReducedMotionState; exports.useInView = useInView; exports.useAutoplay = useAutoplay; exports.usePreventScroll = _overlays.usePreventScroll; exports.platformIcons = platformIcons; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useScenarioPlayer = useScenarioPlayer; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.toClaudeMirrorPath = toClaudeMirrorPath; exports.toClaudeEmbedUrl = toClaudeEmbedUrl; exports.useClaudeMirrorSrc = useClaudeMirrorSrc; exports.useScrollToHash = useScrollToHash; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.HUMANITY_SIGNAL_KEYS = HUMANITY_SIGNAL_KEYS; exports.isHumanitySignalKey = isHumanitySignalKey; exports.extractHumanitySignals = extractHumanitySignals; exports.findHoneypotCopySource = findHoneypotCopySource; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.useHumanitySignals = useHumanitySignals; exports.defineRescueForm = defineRescueForm; exports.getRescueForm = getRescueForm; exports.listRescueForms = listRescueForms; exports.RESCUE_FORMS = RESCUE_FORMS; exports.FORM_RESCUE_VALUE_FIELDS = FORM_RESCUE_VALUE_FIELDS; exports.isExcludedRescueField = isExcludedRescueField; exports.FORM_RESCUE_MAX_VALUE_CHARS = FORM_RESCUE_MAX_VALUE_CHARS; exports.FORM_RESCUE_DEBOUNCE_MS = FORM_RESCUE_DEBOUNCE_MS; exports.FORM_RESCUE_MAX_FIELDS = FORM_RESCUE_MAX_FIELDS; exports.FORM_RESCUE_ATTEMPT_FIELD = FORM_RESCUE_ATTEMPT_FIELD; exports.FORM_RESCUE_RESUME_FIELD = FORM_RESCUE_RESUME_FIELD; exports.FORM_RESCUE_SUBMIT_KEYS = FORM_RESCUE_SUBMIT_KEYS; exports.FORM_RESCUE_RESUME_PARAM = FORM_RESCUE_RESUME_PARAM; exports.isResumeToken = isResumeToken; exports.FORM_DRAFT_STATUSES = FORM_DRAFT_STATUSES; exports.FORM_RESCUE_SKIP_REASONS = FORM_RESCUE_SKIP_REASONS; exports.isRescueEmail = isRescueEmail; exports.isFormAttemptId = isFormAttemptId; exports.sanitizeRescueValues = sanitizeRescueValues; exports.filledRescueFields = filledRescueFields; exports.rescueCompletionPct = rescueCompletionPct; exports.sanitizeRescueFieldName = sanitizeRescueFieldName; exports.parseFormDraftSaveRequest = parseFormDraftSaveRequest; exports.FORM_RESCUE_EVENTS = FORM_RESCUE_EVENTS; exports.captureFormRescueEvent = captureFormRescueEvent; exports.completeFormRescue = completeFormRescue; exports.useFormRescue = useFormRescue; exports.useRescuedForm = useRescuedForm;
|
|
3731
|
-
//# sourceMappingURL=chunk-W4YXUJOF.cjs.map
|
|
3660
|
+
exports.useAutoLimitTags = useAutoLimitTags; exports.useKeyboardCollisionPadding = useKeyboardCollisionPadding; exports.useDeferredError = useDeferredError; exports.DRAG_AND_DROP_MEDIA_QUERY = DRAG_AND_DROP_MEDIA_QUERY; exports.useDragAndDropEnabled = useDragAndDropEnabled; exports.useFocusTrap = useFocusTrap; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useLocalStorage = useLocalStorage; exports.useMemoizedCallback = useMemoizedCallback; exports.useNotificationPermission = useNotificationPermission; exports.useOnboardingState = useOnboardingState; exports.useSearch = useSearch; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.usePreventScroll = _overlays.usePreventScroll; exports.platformIcons = platformIcons; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.useCursorPaginationState = useCursorPaginationState; exports.useNatsClient = useNatsClient; exports.useScenarioPlayer = useScenarioPlayer; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.toClaudeMirrorPath = toClaudeMirrorPath; exports.toClaudeEmbedUrl = toClaudeEmbedUrl; exports.useClaudeMirrorSrc = useClaudeMirrorSrc; exports.useScrollToHash = useScrollToHash; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.HUMANITY_SIGNAL_KEYS = HUMANITY_SIGNAL_KEYS; exports.isHumanitySignalKey = isHumanitySignalKey; exports.extractHumanitySignals = extractHumanitySignals; exports.findHoneypotCopySource = findHoneypotCopySource; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.useHumanitySignals = useHumanitySignals; exports.defineRescueForm = defineRescueForm; exports.getRescueForm = getRescueForm; exports.listRescueForms = listRescueForms; exports.RESCUE_FORMS = RESCUE_FORMS; exports.FORM_RESCUE_VALUE_FIELDS = FORM_RESCUE_VALUE_FIELDS; exports.isExcludedRescueField = isExcludedRescueField; exports.FORM_RESCUE_MAX_VALUE_CHARS = FORM_RESCUE_MAX_VALUE_CHARS; exports.FORM_RESCUE_DEBOUNCE_MS = FORM_RESCUE_DEBOUNCE_MS; exports.FORM_RESCUE_MAX_FIELDS = FORM_RESCUE_MAX_FIELDS; exports.FORM_RESCUE_ATTEMPT_FIELD = FORM_RESCUE_ATTEMPT_FIELD; exports.FORM_RESCUE_RESUME_FIELD = FORM_RESCUE_RESUME_FIELD; exports.FORM_RESCUE_SUBMIT_KEYS = FORM_RESCUE_SUBMIT_KEYS; exports.FORM_RESCUE_RESUME_PARAM = FORM_RESCUE_RESUME_PARAM; exports.isResumeToken = isResumeToken; exports.FORM_DRAFT_STATUSES = FORM_DRAFT_STATUSES; exports.FORM_RESCUE_SKIP_REASONS = FORM_RESCUE_SKIP_REASONS; exports.isRescueEmail = isRescueEmail; exports.isFormAttemptId = isFormAttemptId; exports.sanitizeRescueValues = sanitizeRescueValues; exports.filledRescueFields = filledRescueFields; exports.rescueCompletionPct = rescueCompletionPct; exports.sanitizeRescueFieldName = sanitizeRescueFieldName; exports.parseFormDraftSaveRequest = parseFormDraftSaveRequest; exports.FORM_RESCUE_EVENTS = FORM_RESCUE_EVENTS; exports.captureFormRescueEvent = captureFormRescueEvent; exports.completeFormRescue = completeFormRescue; exports.useFormRescue = useFormRescue; exports.useRescuedForm = useRescuedForm;
|
|
3661
|
+
//# sourceMappingURL=chunk-VP6PJLMI.cjs.map
|