@sanity/vision 5.0.0-next-major.14 → 5.0.0-next-major.20251210134624

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.
@@ -188,7 +188,7 @@ const EditorRoot = styled.div`
188
188
  `, VisionCodeMirror = forwardRef((props, ref) => {
189
189
  const $ = c(7), [initialValue] = useState(props.initialValue), sanityTheme = useTheme(), theme = useCodemirrorTheme(sanityTheme), codeMirrorRef = useRef(null);
190
190
  let t0;
191
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = (newContent) => {
191
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = (newContent) => {
192
192
  const editorView = codeMirrorRef.current?.view;
193
193
  if (!editorView)
194
194
  return;
@@ -204,7 +204,7 @@ const EditorRoot = styled.div`
204
204
  }, $[0] = t0) : t0 = $[0];
205
205
  const resetEditorContent = t0;
206
206
  let t1, t2;
207
- $[1] === Symbol.for("react.memo_cache_sentinel") ? (t1 = () => ({
207
+ $[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = () => ({
208
208
  resetEditorContent
209
209
  }), t2 = [resetEditorContent], $[1] = t1, $[2] = t2) : (t1 = $[1], t2 = $[2]), useImperativeHandle(ref, t1, t2);
210
210
  let t3;
@@ -518,7 +518,7 @@ const STORED_QUERIES_NAMESPACE = "studio.vision-tool.saved-queries", defaultValu
518
518
  function useSavedQueries() {
519
519
  const $ = c(27), keyValueStore = useKeyValueStore(), [value, setValue] = useState(defaultValue), [saving, setSaving] = useState(!1);
520
520
  let t0;
521
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = [], $[0] = t0) : t0 = $[0];
521
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = [], $[0] = t0) : t0 = $[0];
522
522
  const [deleting, setDeleting] = useState(t0), [saveQueryError, setSaveQueryError] = useState(), [deleteQueryError, setDeleteQueryError] = useState(), [error, setError] = useState();
523
523
  let t1;
524
524
  $[1] !== keyValueStore ? (t1 = keyValueStore.getKey(keyValueStoreKey), $[1] = keyValueStore, $[2] = t1) : t1 = $[2];
@@ -649,7 +649,7 @@ function QueryRecall(t0) {
649
649
  t
650
650
  } = useTranslation(visionLocaleNamespace);
651
651
  let t1;
652
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t1 = {
652
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = {
653
653
  month: "short",
654
654
  day: "numeric",
655
655
  year: "numeric",
@@ -659,7 +659,7 @@ function QueryRecall(t0) {
659
659
  }, $[0] = t1) : t1 = $[0];
660
660
  const formatDate = useDateTimeFormat(t1), [editingKey, setEditingKey] = useState(null), [editingTitle, setEditingTitle] = useState("");
661
661
  let t2;
662
- $[1] === Symbol.for("react.memo_cache_sentinel") ? (t2 = {}, $[1] = t2) : t2 = $[1];
662
+ $[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t2 = {}, $[1] = t2) : t2 = $[1];
663
663
  const [optimisticTitles, setOptimisticTitles] = useState(t2), [searchQuery, setSearchQuery] = useState(""), [selectedUrl, setSelectedUrl] = useState(url);
664
664
  let t3;
665
665
  $[2] !== currentParams || $[3] !== currentQuery || $[4] !== formatDate || $[5] !== generateUrl || $[6] !== getStateFromUrl || $[7] !== queries || $[8] !== saveQuery || $[9] !== saveQueryError || $[10] !== t || $[11] !== toast ? (t3 = async () => {
@@ -777,7 +777,7 @@ function QueryRecall(t0) {
777
777
  const filteredQueries = queries?.filter((q_3) => q_3?.title?.toLowerCase().includes(searchQuery.toLowerCase()));
778
778
  T1 = ScrollContainer;
779
779
  let t92;
780
- $[49] === Symbol.for("react.memo_cache_sentinel") ? (t92 = {
780
+ $[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t92 = {
781
781
  textTransform: "capitalize"
782
782
  }, $[49] = t92) : t92 = $[49];
783
783
  let t102;
@@ -796,7 +796,7 @@ function QueryRecall(t0) {
796
796
  let t15;
797
797
  $[63] !== t ? (t15 = t("label.search-queries"), $[63] = t, $[64] = t15) : t15 = $[64];
798
798
  let t16;
799
- $[65] === Symbol.for("react.memo_cache_sentinel") ? (t16 = (event) => setSearchQuery(event.currentTarget.value), $[65] = t16) : t16 = $[65];
799
+ $[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t16 = (event) => setSearchQuery(event.currentTarget.value), $[65] = t16) : t16 = $[65];
800
800
  let t17;
801
801
  $[66] !== searchQuery || $[67] !== t15 ? (t17 = /* @__PURE__ */ jsx(Box, { padding: 3, paddingTop: 0, children: /* @__PURE__ */ jsx(TextInput, { placeholder: t15, icon: SearchIcon, value: searchQuery, onChange: t16 }) }), $[66] = searchQuery, $[67] = t15, $[68] = t17) : t17 = $[68], $[69] !== t14 || $[70] !== t17 ? (t8 = /* @__PURE__ */ jsxs(FixedHeader, { space: 3, children: [
802
802
  t14,
@@ -919,7 +919,7 @@ function VisionGuiControls(t0) {
919
919
  let t2;
920
920
  $[2] !== t1 ? (t2 = /* @__PURE__ */ jsx(Card, { radius: 4, children: /* @__PURE__ */ jsx(Text, { size: 1, muted: !0, children: t1 }) }), $[2] = t1, $[3] = t2) : t2 = $[3];
921
921
  let t3;
922
- $[4] === Symbol.for("react.memo_cache_sentinel") ? (t3 = /* @__PURE__ */ jsx(Card, { radius: 4, children: /* @__PURE__ */ jsx(Hotkeys, { keys: ["Ctrl", "Enter"] }) }), $[4] = t3) : t3 = $[4];
922
+ $[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t3 = /* @__PURE__ */ jsx(Card, { radius: 4, children: /* @__PURE__ */ jsx(Hotkeys, { keys: ["Ctrl", "Enter"] }) }), $[4] = t3) : t3 = $[4];
923
923
  const t4 = queryInProgress ? StopIcon : PlayIcon, t5 = listenInProgress || !hasValidParams, t6 = queryInProgress ? "positive" : "primary";
924
924
  let t7;
925
925
  $[5] !== queryInProgress || $[6] !== t ? (t7 = t(queryInProgress ? "action.query-cancel" : "action.query-execute"), $[5] = queryInProgress, $[6] = t, $[7] = t7) : t7 = $[7];
@@ -957,12 +957,12 @@ const PerspectivePopoverContent = styled(Box)`
957
957
  function PerspectivePopover() {
958
958
  const $ = c(39), [open, setOpen] = useState(!1), buttonRef = useRef(null), popoverRef = useRef(null);
959
959
  let t0;
960
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => setOpen(_temp$3), $[0] = t0) : t0 = $[0];
960
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = () => setOpen(_temp$3), $[0] = t0) : t0 = $[0];
961
961
  const handleClick = t0, {
962
962
  t
963
963
  } = useTranslation(visionLocaleNamespace);
964
964
  let t1, t2;
965
- $[1] === Symbol.for("react.memo_cache_sentinel") ? (t1 = () => setOpen(!1), t2 = () => [buttonRef.current, popoverRef.current], $[1] = t1, $[2] = t2) : (t1 = $[1], t2 = $[2]), useClickOutsideEvent(t1, t2);
965
+ $[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = () => setOpen(!1), t2 = () => [buttonRef.current, popoverRef.current], $[1] = t1, $[2] = t2) : (t1 = $[1], t2 = $[2]), useClickOutsideEvent(t1, t2);
966
966
  let t3;
967
967
  $[3] !== t ? (t3 = t("settings.perspectives.title"), $[3] = t, $[4] = t3) : t3 = $[4];
968
968
  let t4;
@@ -1000,7 +1000,7 @@ function PerspectivePopover() {
1000
1000
  t13
1001
1001
  ] }) }), $[26] = t10, $[27] = t11, $[28] = t13, $[29] = t4, $[30] = t6, $[31] = t14) : t14 = $[31];
1002
1002
  let t15;
1003
- $[32] === Symbol.for("react.memo_cache_sentinel") ? (t15 = /* @__PURE__ */ jsx(Dot, { $tone: "primary" }), $[32] = t15) : t15 = $[32];
1003
+ $[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t15 = /* @__PURE__ */ jsx(Dot, { $tone: "primary" }), $[32] = t15) : t15 = $[32];
1004
1004
  let t16;
1005
1005
  $[33] !== open ? (t16 = /* @__PURE__ */ jsx(Button, { icon: HelpCircleIcon, mode: "bleed", padding: 2, paddingRight: 1, tone: "primary", fontSize: 1, ref: buttonRef, onClick: handleClick, selected: open, children: t15 }), $[33] = open, $[34] = t16) : t16 = $[34];
1006
1006
  let t17;
@@ -1045,7 +1045,7 @@ function VisionGuiHeader(t0) {
1045
1045
  t
1046
1046
  } = useTranslation(visionLocaleNamespace), operationUrlElement = useRef(null);
1047
1047
  let t1;
1048
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t1 = () => {
1048
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = () => {
1049
1049
  const el = operationUrlElement.current;
1050
1050
  if (el)
1051
1051
  try {
@@ -1056,7 +1056,7 @@ function VisionGuiHeader(t0) {
1056
1056
  }, $[0] = t1) : t1 = $[0];
1057
1057
  const handleCopyUrl = t1;
1058
1058
  let t2;
1059
- $[1] === Symbol.for("react.memo_cache_sentinel") ? (t2 = [1, 4, 8, 12], $[1] = t2) : t2 = $[1];
1059
+ $[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t2 = [1, 4, 8, 12], $[1] = t2) : t2 = $[1];
1060
1060
  let t3;
1061
1061
  $[2] !== t ? (t3 = t("settings.dataset-label"), $[2] = t, $[3] = t3) : t3 = $[3];
1062
1062
  let t4;
@@ -1076,7 +1076,7 @@ function VisionGuiHeader(t0) {
1076
1076
  $[17] !== t8 ? (t9 = /* @__PURE__ */ jsx(Card, { paddingTop: 2, paddingBottom: 3, children: /* @__PURE__ */ jsx(StyledLabel, { children: t8 }) }), $[17] = t8, $[18] = t9) : t9 = $[18];
1077
1077
  const t10 = customApiVersion === !1 ? apiVersion : "other";
1078
1078
  let t11;
1079
- $[19] === Symbol.for("react.memo_cache_sentinel") ? (t11 = API_VERSIONS.map(_temp3$1), $[19] = t11) : t11 = $[19];
1079
+ $[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t11 = API_VERSIONS.map(_temp3$1), $[19] = t11) : t11 = $[19];
1080
1080
  let t12;
1081
1081
  $[20] !== t ? (t12 = t("settings.other-api-version-label"), $[20] = t, $[21] = t12) : t12 = $[21];
1082
1082
  let t13;
@@ -1101,7 +1101,7 @@ function VisionGuiHeader(t0) {
1101
1101
  let t18;
1102
1102
  $[39] !== t17 ? (t18 = /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(StyledLabel, { children: t17 }) }), $[39] = t17, $[40] = t18) : t18 = $[40];
1103
1103
  let t19;
1104
- $[41] === Symbol.for("react.memo_cache_sentinel") ? (t19 = /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(PerspectivePopover, {}) }), $[41] = t19) : t19 = $[41];
1104
+ $[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t19 = /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(PerspectivePopover, {}) }), $[41] = t19) : t19 = $[41];
1105
1105
  let t20;
1106
1106
  $[42] !== t18 ? (t20 = /* @__PURE__ */ jsx(Card, { paddingBottom: 1, children: /* @__PURE__ */ jsxs(Inline, { space: 1, children: [
1107
1107
  t18,
@@ -1186,7 +1186,7 @@ function QueryErrorDetails(t0) {
1186
1186
  const t1 = error.details;
1187
1187
  let T0, details, t2, t3, t4, t5;
1188
1188
  if ($[0] !== error.details) {
1189
- t5 = Symbol.for("react.early_return_sentinel");
1189
+ t5 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
1190
1190
  bb0: {
1191
1191
  if (details = {
1192
1192
  ...t1,
@@ -1200,7 +1200,7 @@ function QueryErrorDetails(t0) {
1200
1200
  $[0] = error.details, $[1] = T0, $[2] = details, $[3] = t2, $[4] = t3, $[5] = t4, $[6] = t5;
1201
1201
  } else
1202
1202
  T0 = $[1], details = $[2], t2 = $[3], t3 = $[4], t4 = $[5], t5 = $[6];
1203
- if (t5 !== Symbol.for("react.early_return_sentinel"))
1203
+ if (t5 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
1204
1204
  return t5;
1205
1205
  const t6 = `${t2}
1206
1206
  ${t3}`;
@@ -1414,7 +1414,7 @@ function DocumentEditLabel(props) {
1414
1414
  id: props.value
1415
1415
  }, $[0] = props.value, $[1] = t0) : t0 = $[1];
1416
1416
  let t1;
1417
- $[2] === Symbol.for("react.memo_cache_sentinel") ? (t1 = /* @__PURE__ */ jsx(LinkIcon, {}), $[2] = t1) : t1 = $[2];
1417
+ $[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = /* @__PURE__ */ jsx(LinkIcon, {}), $[2] = t1) : t1 = $[2];
1418
1418
  let t2;
1419
1419
  return $[3] !== t0 ? (t2 = /* @__PURE__ */ jsx(IntentLink, { intent: "edit", params: t0, children: t1 }), $[3] = t0, $[4] = t2) : t2 = $[4], t2;
1420
1420
  }
@@ -1506,7 +1506,7 @@ function VisionGuiResult(t0) {
1506
1506
  let t13;
1507
1507
  $[32] !== t12 || $[33] !== t3 || $[34] !== t4 ? (t13 = /* @__PURE__ */ jsx(ResultInnerContainer, { flex: 1, children: /* @__PURE__ */ jsx(ResultContainer, { flex: 1, overflow: "hidden", tone: t3, $isInvalid: t4, children: t12 }) }), $[32] = t12, $[33] = t3, $[34] = t4, $[35] = t13) : t13 = $[35];
1508
1508
  let t14;
1509
- $[36] === Symbol.for("react.memo_cache_sentinel") ? (t14 = ["column", "column", "row"], $[36] = t14) : t14 = $[36];
1509
+ $[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t14 = ["column", "column", "row"], $[36] = t14) : t14 = $[36];
1510
1510
  let t15;
1511
1511
  $[37] !== t ? (t15 = t("result.execution-time-label"), $[37] = t, $[38] = t15) : t15 = $[38];
1512
1512
  let t16;
@@ -1611,10 +1611,10 @@ function VisionGui(props) {
1611
1611
  $[28] !== rawParams || $[29] !== t ? (t13 = parseParams(rawParams, t), $[28] = rawParams, $[29] = t, $[30] = t13) : t13 = $[30];
1612
1612
  const params = t13, [queryResult, setQueryResult] = useState(void 0);
1613
1613
  let t14;
1614
- $[31] === Symbol.for("react.memo_cache_sentinel") ? (t14 = [], $[31] = t14) : t14 = $[31];
1614
+ $[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t14 = [], $[31] = t14) : t14 = $[31];
1615
1615
  const [listenMutations, setListenMutations] = useState(t14), [error, setError] = useState(void 0), [queryTime, setQueryTime] = useState(void 0), [e2eTime, setE2eTime] = useState(void 0), [queryInProgress, setQueryInProgress] = useState(!1), [listenInProgress, setListenInProgress] = useState(!1), [isQueryRecallCollapsed, setIsQueryRecallCollapsed] = useState(!1);
1616
1616
  let t15;
1617
- $[32] === Symbol.for("react.memo_cache_sentinel") ? (t15 = {
1617
+ $[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t15 = {
1618
1618
  visionRootRef
1619
1619
  }, $[32] = t15) : t15 = $[32];
1620
1620
  const {
@@ -1657,12 +1657,12 @@ function VisionGui(props) {
1657
1657
  }), $[40] = _client, $[41] = apiVersion, $[42] = customApiVersion, $[43] = dataset, $[44] = isValidApiVersion, $[45] = perspective, $[46] = perspectiveStack, $[47] = scheduledDraftsStack, $[48] = t19) : t19 = $[48];
1658
1658
  const client = t19;
1659
1659
  let t20;
1660
- $[49] === Symbol.for("react.memo_cache_sentinel") ? (t20 = () => {
1660
+ $[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t20 = () => {
1661
1661
  querySubscriptionRef.current && (querySubscriptionRef.current.unsubscribe(), querySubscriptionRef.current = void 0);
1662
1662
  }, $[49] = t20) : t20 = $[49];
1663
1663
  const cancelQuerySubscription = t20;
1664
1664
  let t21;
1665
- $[50] === Symbol.for("react.memo_cache_sentinel") ? (t21 = () => {
1665
+ $[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t21 = () => {
1666
1666
  listenSubscriptionRef.current && (listenSubscriptionRef.current.unsubscribe(), listenSubscriptionRef.current = void 0);
1667
1667
  }, $[50] = t21) : t21 = $[50];
1668
1668
  const cancelListenerSubscription = t21;
@@ -1749,7 +1749,7 @@ function VisionGui(props) {
1749
1749
  }, $[77] = setPerspective, $[78] = t27) : t27 = $[78];
1750
1750
  const handleChangePerspective = t27;
1751
1751
  let t28;
1752
- $[79] === Symbol.for("react.memo_cache_sentinel") ? (t28 = (evt_3) => {
1752
+ $[79] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t28 = (evt_3) => {
1753
1753
  evt_3.type === "mutation" && setListenMutations((prevMutations) => prevMutations.length === 50 ? [evt_3, ...prevMutations.slice(0, 49)] : [evt_3, ...prevMutations]);
1754
1754
  }, $[79] = t28) : t28 = $[79];
1755
1755
  const handleListenerEvent = t28;
@@ -1841,7 +1841,7 @@ function VisionGui(props) {
1841
1841
  window.document.removeEventListener("paste", handlePaste), window.document.removeEventListener("keydown", handleKeyDown);
1842
1842
  }), t36 = [handleKeyDown, handlePaste], $[106] = handleKeyDown, $[107] = handlePaste, $[108] = t35, $[109] = t36) : (t35 = $[108], t36 = $[109]), useEffect(t35, t36);
1843
1843
  let t37, t38;
1844
- $[110] === Symbol.for("react.memo_cache_sentinel") ? (t37 = () => () => {
1844
+ $[110] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t37 = () => () => {
1845
1845
  cancelQuerySubscription(), cancelListenerSubscription();
1846
1846
  }, t38 = [cancelQuerySubscription, cancelListenerSubscription], $[110] = t37, $[111] = t38) : (t37 = $[110], t38 = $[111]), useEffect(t37, t38);
1847
1847
  let t39;
@@ -1903,12 +1903,12 @@ function VisionGui(props) {
1903
1903
  t59
1904
1904
  ] }) }), $[177] = t45, $[178] = t58, $[179] = t59, $[180] = t60) : t60 = $[180];
1905
1905
  let t61;
1906
- $[181] === Symbol.for("react.memo_cache_sentinel") ? (t61 = {
1906
+ $[181] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t61 = {
1907
1907
  position: "relative",
1908
1908
  height: "100%"
1909
1909
  }, $[181] = t61) : t61 = $[181];
1910
1910
  let t62;
1911
- $[182] === Symbol.for("react.memo_cache_sentinel") ? (t62 = {
1911
+ $[182] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t62 = {
1912
1912
  position: "absolute",
1913
1913
  left: -32,
1914
1914
  top: "50%",
@@ -1919,7 +1919,7 @@ function VisionGui(props) {
1919
1919
  let t63;
1920
1920
  $[183] !== isQueryRecallCollapsed ? (t63 = () => setIsQueryRecallCollapsed(!isQueryRecallCollapsed), $[183] = isQueryRecallCollapsed, $[184] = t63) : t63 = $[184];
1921
1921
  let t64;
1922
- $[185] === Symbol.for("react.memo_cache_sentinel") ? (t64 = {
1922
+ $[185] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t64 = {
1923
1923
  display: "flex",
1924
1924
  alignItems: "center",
1925
1925
  height: "100%"
@@ -1988,7 +1988,7 @@ function _temp(d) {
1988
1988
  function VisionContainer(props) {
1989
1989
  const $ = c(19);
1990
1990
  let t0;
1991
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = {
1991
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = {
1992
1992
  apiVersion: "v2025-06-27"
1993
1993
  }, $[0] = t0) : t0 = $[0];
1994
1994
  const datasetsClient = useClient(t0);
@@ -2000,7 +2000,7 @@ function VisionContainer(props) {
2000
2000
  const loadedDatasets = useDatasets(t1);
2001
2001
  if (!loadedDatasets) {
2002
2002
  let t22;
2003
- return $[4] === Symbol.for("react.memo_cache_sentinel") ? (t22 = /* @__PURE__ */ jsx(Flex, { align: "center", height: "fill", justify: "center", children: /* @__PURE__ */ jsx(DelayedSpinner, {}) }), $[4] = t22) : t22 = $[4], t22;
2003
+ return $[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t22 = /* @__PURE__ */ jsx(Flex, { align: "center", height: "fill", justify: "center", children: /* @__PURE__ */ jsx(DelayedSpinner, {}) }), $[4] = t22) : t22 = $[4], t22;
2004
2004
  }
2005
2005
  let t2;
2006
2006
  $[5] !== loadedDatasets || $[6] !== props.client ? (t2 = loadedDatasets instanceof Error ? [props.client.config().dataset || "production"] : loadedDatasets, $[5] = loadedDatasets, $[6] = props.client, $[7] = t2) : t2 = $[7];
@@ -2050,7 +2050,7 @@ class VisionErrorBoundary extends Component {
2050
2050
  function SanityVision(props) {
2051
2051
  const $ = c(6);
2052
2052
  let t0;
2053
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = {
2053
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = {
2054
2054
  apiVersion: "1"
2055
2055
  }, $[0] = t0) : t0 = $[0];
2056
2056
  const client = useClient(t0);