@superinterface/react 3.9.2 → 3.9.4

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/index.cjs CHANGED
@@ -4211,55 +4211,99 @@ var AnnotationBase = function(_ref) {
4211
4211
  };
4212
4212
  // src/contexts/markdown/MarkdownContext/lib/components/Annotation/index.tsx
4213
4213
  var import_jsx_runtime42 = require("react/jsx-runtime");
4214
+ var _excluded = [
4215
+ "children"
4216
+ ];
4217
+ function _objectWithoutProperties(e, t) {
4218
+ if (null == e) return {};
4219
+ var o, r, i = _objectWithoutPropertiesLoose(e, t);
4220
+ if (Object.getOwnPropertySymbols) {
4221
+ var s = Object.getOwnPropertySymbols(e);
4222
+ for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
4223
+ }
4224
+ return i;
4225
+ }
4226
+ function _objectWithoutPropertiesLoose(r, e) {
4227
+ if (null == r) return {};
4228
+ var t = {};
4229
+ for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
4230
+ if (e.includes(n)) continue;
4231
+ t[n] = r[n];
4232
+ }
4233
+ return t;
4234
+ }
4214
4235
  var Annotation = function(t0) {
4215
- var $ = (0, import_react_compiler_runtime21.c)(4);
4216
- var annotation = t0.annotation, children = t0.children;
4236
+ var $ = (0, import_react_compiler_runtime21.c)(9);
4237
+ var children;
4238
+ var rest;
4239
+ if ($[0] !== t0) {
4240
+ var _t = t0;
4241
+ children = _t.children;
4242
+ rest = _objectWithoutProperties(_t, _excluded);
4243
+ _t;
4244
+ $[0] = t0;
4245
+ $[1] = children;
4246
+ $[2] = rest;
4247
+ } else {
4248
+ children = $[1];
4249
+ rest = $[2];
4250
+ }
4251
+ var t1;
4252
+ if ($[3] !== rest) {
4253
+ var _rest$dataAnnotation;
4254
+ t1 = JSON.parse((_rest$dataAnnotation = rest["data-annotation"]) !== null && _rest$dataAnnotation !== void 0 ? _rest$dataAnnotation : "{}");
4255
+ $[3] = rest;
4256
+ $[4] = t1;
4257
+ } else {
4258
+ t1 = $[4];
4259
+ }
4260
+ var annotation = t1;
4217
4261
  if (annotation.type === "file_citation") {
4218
- var t1;
4219
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
4220
- t1 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AnnotationBase, {
4262
+ var t2;
4263
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
4264
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AnnotationBase, {
4221
4265
  icon: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_icons8.QuoteIcon, {}),
4222
4266
  content: "File cited."
4223
4267
  });
4224
- $[0] = t1;
4268
+ $[5] = t2;
4225
4269
  } else {
4226
- t1 = $[0];
4270
+ t2 = $[5];
4227
4271
  }
4228
- return t1;
4272
+ return t2;
4229
4273
  } else {
4230
4274
  if (annotation.type === "file_path") {
4231
- var _t;
4232
- if ($[1] !== annotation || $[2] !== children) {
4233
- _t = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(FilePathAnnotation, {
4275
+ var _t2;
4276
+ if ($[6] !== annotation || $[7] !== children) {
4277
+ _t2 = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(FilePathAnnotation, {
4234
4278
  annotation: annotation,
4235
4279
  children: children
4236
4280
  });
4237
- $[1] = annotation;
4238
- $[2] = children;
4239
- $[3] = _t;
4281
+ $[6] = annotation;
4282
+ $[7] = children;
4283
+ $[8] = _t2;
4240
4284
  } else {
4241
- _t = $[3];
4285
+ _t2 = $[8];
4242
4286
  }
4243
- return _t;
4287
+ return _t2;
4244
4288
  }
4245
4289
  }
4246
4290
  return null;
4247
4291
  };
4248
4292
  // src/contexts/markdown/MarkdownContext/lib/components/index.tsx
4249
4293
  var import_jsx_runtime43 = require("react/jsx-runtime");
4250
- var _excluded = [
4294
+ var _excluded2 = [
4251
4295
  "width"
4252
4296
  ];
4253
- function _objectWithoutProperties(e, t) {
4297
+ function _objectWithoutProperties2(e, t) {
4254
4298
  if (null == e) return {};
4255
- var o, r, i = _objectWithoutPropertiesLoose(e, t);
4299
+ var o, r, i = _objectWithoutPropertiesLoose2(e, t);
4256
4300
  if (Object.getOwnPropertySymbols) {
4257
4301
  var s = Object.getOwnPropertySymbols(e);
4258
4302
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
4259
4303
  }
4260
4304
  return i;
4261
4305
  }
4262
- function _objectWithoutPropertiesLoose(r, e) {
4306
+ function _objectWithoutPropertiesLoose2(r, e) {
4263
4307
  if (null == r) return {};
4264
4308
  var t = {};
4265
4309
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -4386,7 +4430,7 @@ var components = {
4386
4430
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes31.Table.Row, _objectSpread22({}, props));
4387
4431
  },
4388
4432
  td: function(_ref) {
4389
- var width2 = _ref.width, rest = _objectWithoutProperties(_ref, _excluded);
4433
+ var width2 = _ref.width, rest = _objectWithoutProperties2(_ref, _excluded2);
4390
4434
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_themes31.Table.Cell, _objectSpread22(_objectSpread22({}, rest), {}, {
4391
4435
  width: width2
4392
4436
  }));
@@ -4594,9 +4638,7 @@ var createAnnotationNode = function(_ref6) {
4594
4638
  },
4595
4639
  data: {
4596
4640
  hName: "annotation",
4597
- hProperties: {
4598
- annotation: annotation
4599
- }
4641
+ hProperties: _define_property({}, "data-annotation", JSON.stringify(annotation))
4600
4642
  }
4601
4643
  };
4602
4644
  };
@@ -6478,11 +6520,9 @@ var Root4 = function(_ref) {
6478
6520
  });
6479
6521
  };
6480
6522
  // src/components/threads/Thread/MessageForm/Field/index.tsx
6481
- var import_react_compiler_runtime42 = require("react-compiler-runtime");
6482
6523
  var import_react_hook_form3 = require("react-hook-form");
6483
6524
  var import_themes51 = require("@radix-ui/themes");
6484
6525
  // src/components/threads/Thread/MessageForm/Field/Control.tsx
6485
- var import_react_compiler_runtime39 = require("react-compiler-runtime");
6486
6526
  var import_themes48 = require("@radix-ui/themes");
6487
6527
  var import_react_hook_form2 = require("react-hook-form");
6488
6528
  // src/hooks/misc/usePrevious.ts
@@ -6501,7 +6541,7 @@ var import_react_compiler_runtime38 = require("react-compiler-runtime");
6501
6541
  var import_react49 = require("react");
6502
6542
  var import_react_textarea_autosize = __toESM(require("react-textarea-autosize"), 1);
6503
6543
  var import_jsx_runtime65 = require("react/jsx-runtime");
6504
- var _excluded2 = [
6544
+ var _excluded3 = [
6505
6545
  "style",
6506
6546
  "className"
6507
6547
  ];
@@ -6548,16 +6588,16 @@ function _toPrimitive29(t, r) {
6548
6588
  }
6549
6589
  return ("string" === r ? String : Number)(t);
6550
6590
  }
6551
- function _objectWithoutProperties2(e, t) {
6591
+ function _objectWithoutProperties3(e, t) {
6552
6592
  if (null == e) return {};
6553
- var o, r, i = _objectWithoutPropertiesLoose2(e, t);
6593
+ var o, r, i = _objectWithoutPropertiesLoose3(e, t);
6554
6594
  if (Object.getOwnPropertySymbols) {
6555
6595
  var s = Object.getOwnPropertySymbols(e);
6556
6596
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
6557
6597
  }
6558
6598
  return i;
6559
6599
  }
6560
- function _objectWithoutPropertiesLoose2(r, e) {
6600
+ function _objectWithoutPropertiesLoose3(r, e) {
6561
6601
  if (null == r) return {};
6562
6602
  var t = {};
6563
6603
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -6576,7 +6616,7 @@ var TextareaBase = /* @__PURE__ */ (0, import_react49.forwardRef)(function Texta
6576
6616
  var _t = t0;
6577
6617
  var _$ref;
6578
6618
  _$ref = _t, style = _$ref.style, className = _$ref.className, _$ref;
6579
- rest = _objectWithoutProperties2(_t, _excluded2);
6619
+ rest = _objectWithoutProperties3(_t, _excluded3);
6580
6620
  _t;
6581
6621
  $[0] = t0;
6582
6622
  $[1] = className;
@@ -6700,110 +6740,48 @@ var Root5 = function(_ref) {
6700
6740
  });
6701
6741
  };
6702
6742
  var Input = function(props) {
6743
+ "use no memo";
6703
6744
  var _props$placeholder;
6704
- var $ = (0, import_react_compiler_runtime39.c)(20);
6705
6745
  var assistantNameContext = (0, import_react50.useContext)(AssistantNameContext);
6706
6746
  var register = (0, import_react_hook_form2.useFormContext)().register;
6707
6747
  var _useMessageFormContext = useMessageFormContext(), isDisabled = _useMessageFormContext.isDisabled, isLoading = _useMessageFormContext.isLoading;
6708
- var t0;
6709
- t0 = isDisabled || isLoading;
6710
- var isSubmitDisabled = t0;
6748
+ var isSubmitDisabled = (0, import_react50.useMemo)(function() {
6749
+ return isDisabled || isLoading;
6750
+ }, [
6751
+ isDisabled,
6752
+ isLoading
6753
+ ]);
6711
6754
  var isDisabledPrevious = usePrevious(isDisabled);
6712
6755
  var textareaRef = (0, import_react50.useRef)(null);
6713
- var t1;
6714
- if ($[0] !== register) {
6715
- t1 = register("content");
6716
- $[0] = register;
6717
- $[1] = t1;
6718
- } else {
6719
- t1 = $[1];
6720
- }
6721
- var textareaProps = t1;
6722
- var t2;
6723
- if ($[2] !== isDisabled || $[3] !== isDisabledPrevious) {
6724
- t2 = function() {
6725
- if (isDisabled) {
6726
- return;
6727
- }
6728
- if (!isDisabledPrevious) {
6729
- return;
6730
- }
6731
- if (!textareaRef.current) {
6732
- return;
6733
- }
6734
- textareaRef.current.focus();
6735
- };
6736
- $[2] = isDisabled;
6737
- $[3] = isDisabledPrevious;
6738
- $[4] = t2;
6739
- } else {
6740
- t2 = $[4];
6741
- }
6742
- var t3;
6743
- if ($[5] !== isDisabled || $[6] !== isDisabledPrevious || $[7] !== textareaProps) {
6744
- t3 = [
6745
- isDisabled,
6746
- isDisabledPrevious,
6747
- textareaProps
6748
- ];
6749
- $[5] = isDisabled;
6750
- $[6] = isDisabledPrevious;
6751
- $[7] = textareaProps;
6752
- $[8] = t3;
6753
- } else {
6754
- t3 = $[8];
6755
- }
6756
- (0, import_react50.useEffect)(t2, t3);
6757
- var t4 = (_props$placeholder = props.placeholder) !== null && _props$placeholder !== void 0 ? _props$placeholder : "Message ".concat(assistantNameContext, "...");
6758
- var t5;
6759
- if ($[9] !== isSubmitDisabled) {
6760
- t5 = function(e) {
6756
+ var textareaProps = register("content");
6757
+ (0, import_react50.useEffect)(function() {
6758
+ if (isDisabled) return;
6759
+ if (!isDisabledPrevious) return;
6760
+ if (!textareaRef.current) return;
6761
+ textareaRef.current.focus();
6762
+ }, [
6763
+ isDisabled,
6764
+ isDisabledPrevious,
6765
+ textareaProps
6766
+ ]);
6767
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextareaBase, _objectSpread30(_objectSpread30(_objectSpread30({
6768
+ minRows: 1,
6769
+ placeholder: (_props$placeholder = props.placeholder) !== null && _props$placeholder !== void 0 ? _props$placeholder : "Message ".concat(assistantNameContext, "..."),
6770
+ disabled: isDisabled,
6771
+ onKeyDown: function(e) {
6761
6772
  if (e.key === "Enter" && !e.shiftKey) {
6762
6773
  var _e$currentTarget$form;
6763
6774
  e.preventDefault();
6764
- if (isSubmitDisabled) {
6765
- return;
6766
- }
6775
+ if (isSubmitDisabled) return;
6767
6776
  (_e$currentTarget$form = e.currentTarget.form) === null || _e$currentTarget$form === void 0 || _e$currentTarget$form.requestSubmit();
6768
6777
  }
6769
- };
6770
- $[9] = isSubmitDisabled;
6771
- $[10] = t5;
6772
- } else {
6773
- t5 = $[10];
6774
- }
6775
- var t6;
6776
- if ($[11] !== textareaProps) {
6777
- t6 = function(e_0) {
6778
+ }
6779
+ }, textareaProps), props), {}, {
6780
+ ref: function(e_0) {
6778
6781
  textareaProps.ref(e_0);
6779
6782
  textareaRef.current = e_0;
6780
- };
6781
- $[11] = textareaProps;
6782
- $[12] = t6;
6783
- } else {
6784
- t6 = $[12];
6785
- }
6786
- var t7;
6787
- if ($[13] !== isDisabled || $[14] !== props || $[15] !== t4 || $[16] !== t5 || $[17] !== t6 || $[18] !== textareaProps) {
6788
- t7 = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextareaBase, _objectSpread30(_objectSpread30(_objectSpread30({
6789
- minRows: 1,
6790
- placeholder: t4,
6791
- disabled: isDisabled,
6792
- onKeyDown: t5
6793
- }, textareaProps), props), {}, {
6794
- ref: t6
6795
- }));
6796
- $[13] = isDisabled;
6797
- $[14] = props;
6798
- $[15] = t4;
6799
- $[16] = t5;
6800
- $[17] = t6;
6801
- $[18] = textareaProps;
6802
- $[19] = t7;
6803
- } else {
6804
- t7 = $[19];
6805
- }
6806
- return t7;
6783
+ }
6784
+ }));
6807
6785
  };
6808
6786
  var Control = function(props) {
6809
6787
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Root5, _objectSpread30(_objectSpread30({}, props), {}, {
@@ -6813,7 +6791,7 @@ var Control = function(props) {
6813
6791
  Control.Root = Root5;
6814
6792
  Control.Input = Input;
6815
6793
  // src/components/threads/Thread/MessageForm/Field/Files/Preview.tsx
6816
- var import_react_compiler_runtime40 = require("react-compiler-runtime");
6794
+ var import_react_compiler_runtime39 = require("react-compiler-runtime");
6817
6795
  var import_themes49 = require("@radix-ui/themes");
6818
6796
  var import_react_icons12 = require("@radix-ui/react-icons");
6819
6797
  var import_jsx_runtime67 = require("react/jsx-runtime");
@@ -6861,7 +6839,7 @@ function _toPrimitive31(t, r) {
6861
6839
  return ("string" === r ? String : Number)(t);
6862
6840
  }
6863
6841
  var Preview = function(props) {
6864
- var $ = (0, import_react_compiler_runtime40.c)(8);
6842
+ var $ = (0, import_react_compiler_runtime39.c)(8);
6865
6843
  var _useMessageFormContext = useMessageFormContext(), files = _useMessageFormContext.files, setFiles = _useMessageFormContext.setFiles;
6866
6844
  if (!files.length) {
6867
6845
  return null;
@@ -6959,7 +6937,7 @@ var import_dayjs2 = __toESM(require("dayjs"), 1);
6959
6937
  var import_react_icons13 = require("@radix-ui/react-icons");
6960
6938
  var import_themes50 = require("@radix-ui/themes");
6961
6939
  // src/hooks/files/useCreateFile/index.ts
6962
- var import_react_compiler_runtime41 = require("react-compiler-runtime");
6940
+ var import_react_compiler_runtime40 = require("react-compiler-runtime");
6963
6941
  var import_react_query7 = require("@tanstack/react-query");
6964
6942
  // src/hooks/files/useCreateFile/lib/mutationOptions/mutationFn/body/formData.ts
6965
6943
  var formData = function(variables) {
@@ -7195,7 +7173,7 @@ function _toPrimitive34(t, r) {
7195
7173
  return ("string" === r ? String : Number)(t);
7196
7174
  }
7197
7175
  var useCreateFile = function(t0) {
7198
- var $ = (0, import_react_compiler_runtime41.c)(15);
7176
+ var $ = (0, import_react_compiler_runtime40.c)(15);
7199
7177
  var t1;
7200
7178
  if ($[0] !== t0) {
7201
7179
  t1 = t0 === void 0 ? {
@@ -7637,76 +7615,38 @@ function _toPrimitive36(t, r) {
7637
7615
  }
7638
7616
  return ("string" === r ? String : Number)(t);
7639
7617
  }
7640
- var Root6 = function(t0) {
7641
- var $ = (0, import_react_compiler_runtime42.c)(12);
7642
- var children = t0.children, className = t0.className, style = t0.style;
7643
- var _ref = (0, import_react_hook_form3.useFormContext)(), t1 = _ref.formState;
7644
- var errors = t1.errors;
7645
- var t2 = errors.content ? "var(--red-9)" : "var(--gray-5)";
7646
- var t3;
7647
- if ($[0] !== errors.content) {
7648
- t3 = errors.content ? {
7649
- backgroundColor: "var(--red-2)"
7650
- } : {};
7651
- $[0] = errors.content;
7652
- $[1] = t3;
7653
- } else {
7654
- t3 = $[1];
7655
- }
7656
- var t4;
7657
- if ($[2] !== t2 || $[3] !== t3) {
7658
- t4 = _objectSpread36({
7659
- borderRadius: "var(--radius-2)",
7660
- borderWidth: "1px",
7661
- borderStyle: "solid",
7662
- borderColor: t2
7663
- }, t3);
7664
- $[2] = t2;
7665
- $[3] = t3;
7666
- $[4] = t4;
7667
- } else {
7668
- t4 = $[4];
7669
- }
7670
- var t5;
7671
- if ($[5] !== children || $[6] !== t4) {
7672
- t5 = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes51.Flex, {
7618
+ var Root6 = function(_ref) {
7619
+ "use no memo";
7620
+ var children = _ref.children, className = _ref.className, style = _ref.style;
7621
+ var _$_ref = (0, import_react_hook_form3.useFormContext)(), errors = _$_ref.formState.errors;
7622
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes51.Container, {
7623
+ size: "2",
7624
+ flexGrow: "0",
7625
+ className: className,
7626
+ style: style,
7627
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes51.Flex, {
7673
7628
  direction: "column",
7674
7629
  flexShrink: "0",
7675
7630
  children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes51.Flex, {
7676
7631
  direction: "column",
7677
7632
  flexShrink: "0",
7678
7633
  children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes51.Flex, {
7679
- style: t4,
7634
+ style: _objectSpread36({
7635
+ borderRadius: "var(--radius-2)",
7636
+ borderWidth: "1px",
7637
+ borderStyle: "solid",
7638
+ borderColor: errors.content ? "var(--red-9)" : "var(--gray-5)"
7639
+ }, errors.content ? {
7640
+ backgroundColor: "var(--red-2)"
7641
+ } : {}),
7680
7642
  p: "2",
7681
7643
  pl: "3",
7682
7644
  wrap: "wrap",
7683
7645
  children: children
7684
7646
  })
7685
7647
  })
7686
- });
7687
- $[5] = children;
7688
- $[6] = t4;
7689
- $[7] = t5;
7690
- } else {
7691
- t5 = $[7];
7692
- }
7693
- var t6;
7694
- if ($[8] !== className || $[9] !== style || $[10] !== t5) {
7695
- t6 = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_themes51.Container, {
7696
- size: "2",
7697
- flexGrow: "0",
7698
- className: className,
7699
- style: style,
7700
- children: t5
7701
- });
7702
- $[8] = className;
7703
- $[9] = style;
7704
- $[10] = t5;
7705
- $[11] = t6;
7706
- } else {
7707
- t6 = $[11];
7708
- }
7709
- return t6;
7648
+ })
7649
+ });
7710
7650
  };
7711
7651
  var Field = {
7712
7652
  Root: Root6,
@@ -7776,7 +7716,7 @@ var import_themes53 = require("@radix-ui/themes");
7776
7716
  // src/components/threads/Thread/Provider/index.tsx
7777
7717
  var Provider2 = SuperinterfaceProvider;
7778
7718
  // src/components/toasts/ToastsProvider/index.tsx
7779
- var import_react_compiler_runtime43 = require("react-compiler-runtime");
7719
+ var import_react_compiler_runtime41 = require("react-compiler-runtime");
7780
7720
  var import_react52 = require("react");
7781
7721
  var Toast2 = __toESM(require("@radix-ui/react-toast"), 1);
7782
7722
  // src/components/toasts/ToastsProvider/CustomToast.tsx
@@ -7815,7 +7755,7 @@ var CustomToast = function(_ref) {
7815
7755
  // src/components/toasts/ToastsProvider/index.tsx
7816
7756
  var import_jsx_runtime72 = require("react/jsx-runtime");
7817
7757
  var ToastsProvider = function(t0) {
7818
- var $ = (0, import_react_compiler_runtime43.c)(15);
7758
+ var $ = (0, import_react_compiler_runtime41.c)(15);
7819
7759
  var children = t0.children, t1 = t0.bottom;
7820
7760
  var bottom = t1 === void 0 ? 0 : t1;
7821
7761
  var t2;
@@ -7920,7 +7860,7 @@ function _temp7(toast_0, index) {
7920
7860
  }
7921
7861
  // src/components/threads/Thread/Root/index.tsx
7922
7862
  var import_jsx_runtime73 = require("react/jsx-runtime");
7923
- var _excluded3 = [
7863
+ var _excluded4 = [
7924
7864
  "children",
7925
7865
  "style",
7926
7866
  "className"
@@ -7968,16 +7908,16 @@ function _toPrimitive38(t, r) {
7968
7908
  }
7969
7909
  return ("string" === r ? String : Number)(t);
7970
7910
  }
7971
- function _objectWithoutProperties3(e, t) {
7911
+ function _objectWithoutProperties4(e, t) {
7972
7912
  if (null == e) return {};
7973
- var o, r, i = _objectWithoutPropertiesLoose3(e, t);
7913
+ var o, r, i = _objectWithoutPropertiesLoose4(e, t);
7974
7914
  if (Object.getOwnPropertySymbols) {
7975
7915
  var s = Object.getOwnPropertySymbols(e);
7976
7916
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
7977
7917
  }
7978
7918
  return i;
7979
7919
  }
7980
- function _objectWithoutPropertiesLoose3(r, e) {
7920
+ function _objectWithoutPropertiesLoose4(r, e) {
7981
7921
  if (null == r) return {};
7982
7922
  var t = {};
7983
7923
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -7987,7 +7927,7 @@ function _objectWithoutPropertiesLoose3(r, e) {
7987
7927
  return t;
7988
7928
  }
7989
7929
  var Root8 = function(_ref) {
7990
- var children = _ref.children, style = _ref.style, className = _ref.className, rest = _objectWithoutProperties3(_ref, _excluded3);
7930
+ var children = _ref.children, style = _ref.style, className = _ref.className, rest = _objectWithoutProperties4(_ref, _excluded4);
7991
7931
  return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ToastsProvider, {
7992
7932
  bottom: "var(--space-9)",
7993
7933
  children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Provider2, _objectSpread38(_objectSpread38({}, rest), {}, {
@@ -8063,7 +8003,7 @@ var useMessageContext = function() {
8063
8003
  return (0, import_react53.useContext)(MessageContext);
8064
8004
  };
8065
8005
  // src/hooks/assistants/useAssistant/index.ts
8066
- var import_react_compiler_runtime44 = require("react-compiler-runtime");
8006
+ var import_react_compiler_runtime42 = require("react-compiler-runtime");
8067
8007
  var import_react54 = require("react");
8068
8008
  var import_react_query9 = require("@tanstack/react-query");
8069
8009
  // src/hooks/assistants/useAssistant/lib/queryOptions/index.ts
@@ -8213,7 +8153,7 @@ function _toPrimitive40(t, r) {
8213
8153
  return ("string" === r ? String : Number)(t);
8214
8154
  }
8215
8155
  var useAssistant = function(t0) {
8216
- var $ = (0, import_react_compiler_runtime44.c)(6);
8156
+ var $ = (0, import_react_compiler_runtime42.c)(6);
8217
8157
  var assistantId = t0.assistantId;
8218
8158
  var superinterfaceContext = useSuperinterfaceContext();
8219
8159
  var t1;
@@ -8246,7 +8186,7 @@ var useAssistant = function(t0) {
8246
8186
  return t2;
8247
8187
  };
8248
8188
  // src/components/threads/ThreadDialog/Provider/index.tsx
8249
- var import_react_compiler_runtime45 = require("react-compiler-runtime");
8189
+ var import_react_compiler_runtime43 = require("react-compiler-runtime");
8250
8190
  var import_react57 = require("react");
8251
8191
  // src/contexts/threads/ThreadDialogContext/index.ts
8252
8192
  var import_react55 = require("react");
@@ -8262,7 +8202,7 @@ var useThreadDialogContext = function() {
8262
8202
  // src/components/threads/ThreadDialog/Provider/index.tsx
8263
8203
  var import_jsx_runtime75 = require("react/jsx-runtime");
8264
8204
  var Provider4 = function(t0) {
8265
- var $ = (0, import_react_compiler_runtime45.c)(5);
8205
+ var $ = (0, import_react_compiler_runtime43.c)(5);
8266
8206
  var children = t0.children;
8267
8207
  var threadDialogContext = useThreadDialogContext();
8268
8208
  var _ref = _sliced_to_array((0, import_react57.useState)(threadDialogContext.isOpen), 2), isOpen = _ref[0], setIsOpen = _ref[1];
@@ -8300,7 +8240,7 @@ var Root9 = function(_ref) {
8300
8240
  });
8301
8241
  };
8302
8242
  // src/components/threads/ThreadDialog/Trigger/index.tsx
8303
- var import_react_compiler_runtime46 = require("react-compiler-runtime");
8243
+ var import_react_compiler_runtime44 = require("react-compiler-runtime");
8304
8244
  var import_themes55 = require("@radix-ui/themes");
8305
8245
  // src/components/threads/ThreadDialog/Trigger/Button.tsx
8306
8246
  var import_themes54 = require("@radix-ui/themes");
@@ -8403,7 +8343,7 @@ function _toPrimitive42(t, r) {
8403
8343
  return ("string" === r ? String : Number)(t);
8404
8344
  }
8405
8345
  var Root10 = function(t0) {
8406
- var $ = (0, import_react_compiler_runtime46.c)(14);
8346
+ var $ = (0, import_react_compiler_runtime44.c)(14);
8407
8347
  var children = t0.children, style = t0.style, className = t0.className;
8408
8348
  var _useThreadDialogContext = useThreadDialogContext(), setIsOpen = _useThreadDialogContext.setIsOpen, isOpen = _useThreadDialogContext.isOpen;
8409
8349
  var t1 = isOpen ? "none" : "flex";
@@ -8484,15 +8424,15 @@ function _temp8(prev) {
8484
8424
  return !prev;
8485
8425
  }
8486
8426
  // src/components/threads/ThreadDialog/Content/index.tsx
8487
- var import_react_compiler_runtime48 = require("react-compiler-runtime");
8427
+ var import_react_compiler_runtime46 = require("react-compiler-runtime");
8488
8428
  var import_themes57 = require("@radix-ui/themes");
8489
8429
  // src/components/threads/ThreadDialog/Close/index.tsx
8490
- var import_react_compiler_runtime47 = require("react-compiler-runtime");
8430
+ var import_react_compiler_runtime45 = require("react-compiler-runtime");
8491
8431
  var import_react_icons16 = require("@radix-ui/react-icons");
8492
8432
  var import_themes56 = require("@radix-ui/themes");
8493
8433
  var import_jsx_runtime79 = require("react/jsx-runtime");
8494
8434
  var Close = function() {
8495
- var $ = (0, import_react_compiler_runtime47.c)(9);
8435
+ var $ = (0, import_react_compiler_runtime45.c)(9);
8496
8436
  var _useThreadDialogContext = useThreadDialogContext(), setIsOpen = _useThreadDialogContext.setIsOpen, isOpen = _useThreadDialogContext.isOpen;
8497
8437
  var t0 = isOpen ? "flex" : "none";
8498
8438
  var t1;
@@ -8608,7 +8548,7 @@ function _toPrimitive43(t, r) {
8608
8548
  return ("string" === r ? String : Number)(t);
8609
8549
  }
8610
8550
  var Root11 = function(t0) {
8611
- var $ = (0, import_react_compiler_runtime48.c)(19);
8551
+ var $ = (0, import_react_compiler_runtime46.c)(19);
8612
8552
  var children = t0.children, className = t0.className, style = t0.style;
8613
8553
  var isOpen = useThreadDialogContext().isOpen;
8614
8554
  if (!isOpen) {
@@ -8807,7 +8747,7 @@ ThreadDialog.Root = Root9;
8807
8747
  ThreadDialog.Trigger = Trigger;
8808
8748
  ThreadDialog.Content = Content7;
8809
8749
  // src/components/threads/AudioThread/Root/index.tsx
8810
- var import_react_compiler_runtime53 = require("react-compiler-runtime");
8750
+ var import_react_compiler_runtime51 = require("react-compiler-runtime");
8811
8751
  var import_themes58 = require("@radix-ui/themes");
8812
8752
  // src/contexts/threads/AudioThreadContext/index.ts
8813
8753
  var import_react58 = require("react");
@@ -8927,7 +8867,7 @@ var AudioThreadContext = /* @__PURE__ */ (0, import_react58.createContext)({
8927
8867
  }
8928
8868
  });
8929
8869
  // src/hooks/misc/usePermission/index.ts
8930
- var import_react_compiler_runtime49 = require("react-compiler-runtime");
8870
+ var import_react_compiler_runtime47 = require("react-compiler-runtime");
8931
8871
  var import_react59 = require("react");
8932
8872
  // src/hooks/misc/usePermission/util.ts
8933
8873
  var noop = function() {};
@@ -8951,7 +8891,7 @@ function off(obj) {
8951
8891
  }
8952
8892
  // src/hooks/misc/usePermission/index.ts
8953
8893
  var usePermission = function(permissionDesc) {
8954
- var $ = (0, import_react_compiler_runtime49.c)(3);
8894
+ var $ = (0, import_react_compiler_runtime47.c)(3);
8955
8895
  var _ref = _sliced_to_array((0, import_react59.useState)(""), 2), state = _ref[0], setState = _ref[1];
8956
8896
  var t0;
8957
8897
  var t1;
@@ -9005,10 +8945,10 @@ var blobToData = function(blob) {
9005
8945
  });
9006
8946
  };
9007
8947
  // src/hooks/audioThreads/useStatus/index.ts
9008
- var import_react_compiler_runtime50 = require("react-compiler-runtime");
8948
+ var import_react_compiler_runtime48 = require("react-compiler-runtime");
9009
8949
  var import_react60 = require("react");
9010
8950
  var useStatus = function(t0) {
9011
- var $ = (0, import_react_compiler_runtime50.c)(2);
8951
+ var $ = (0, import_react_compiler_runtime48.c)(2);
9012
8952
  var messageAudioProps = t0.messageAudioProps, recorderProps = t0.recorderProps, createMessageProps = t0.createMessageProps;
9013
8953
  var latestMessageProps = useLatestMessage();
9014
8954
  var t1;
@@ -9067,10 +9007,10 @@ var import_use_audio_capture = require("use-audio-capture");
9067
9007
  var import_react62 = require("react");
9068
9008
  var import_react_use_audio_player = require("react-use-audio-player");
9069
9009
  // src/hooks/misc/useInterval.ts
9070
- var import_react_compiler_runtime51 = require("react-compiler-runtime");
9010
+ var import_react_compiler_runtime49 = require("react-compiler-runtime");
9071
9011
  var import_react61 = require("react");
9072
9012
  var useInterval = function(callback, delay) {
9073
- var $ = (0, import_react_compiler_runtime51.c)(5);
9013
+ var $ = (0, import_react_compiler_runtime49.c)(5);
9074
9014
  var savedCallback = (0, import_react61.useRef)(_temp10);
9075
9015
  var t0;
9076
9016
  if ($[0] !== callback) {
@@ -9323,7 +9263,7 @@ var useRecorder = function(_ref) {
9323
9263
  });
9324
9264
  };
9325
9265
  // src/hooks/audioThreads/useMessageAudio/index.ts
9326
- var import_react_compiler_runtime52 = require("react-compiler-runtime");
9266
+ var import_react_compiler_runtime50 = require("react-compiler-runtime");
9327
9267
  var import_react63 = require("react");
9328
9268
  var import_compromise = __toESM(require("compromise"), 1);
9329
9269
  var import_howler = require("howler");
@@ -9405,7 +9345,7 @@ var getMessageSentences = function(_ref) {
9405
9345
  });
9406
9346
  };
9407
9347
  var useMessageAudio = function(t0) {
9408
- var $ = (0, import_react_compiler_runtime52.c)(50);
9348
+ var $ = (0, import_react_compiler_runtime50.c)(50);
9409
9349
  var _onEnd = t0.onEnd, passedPlay = t0.play;
9410
9350
  var _ref = _sliced_to_array((0, import_react63.useState)(false), 2), isAudioPlayed = _ref[0], setIsAudioPlayed = _ref[1];
9411
9351
  var t1;
@@ -9752,7 +9692,7 @@ function _temp11() {
9752
9692
  // src/components/threads/AudioThread/Root/index.tsx
9753
9693
  var import_react_query10 = require("@tanstack/react-query");
9754
9694
  var import_jsx_runtime82 = require("react/jsx-runtime");
9755
- var _excluded4 = [
9695
+ var _excluded5 = [
9756
9696
  "children"
9757
9697
  ];
9758
9698
  function ownKeys46(e, r) {
@@ -9798,16 +9738,16 @@ function _toPrimitive46(t, r) {
9798
9738
  }
9799
9739
  return ("string" === r ? String : Number)(t);
9800
9740
  }
9801
- function _objectWithoutProperties4(e, t) {
9741
+ function _objectWithoutProperties5(e, t) {
9802
9742
  if (null == e) return {};
9803
- var o, r, i = _objectWithoutPropertiesLoose4(e, t);
9743
+ var o, r, i = _objectWithoutPropertiesLoose5(e, t);
9804
9744
  if (Object.getOwnPropertySymbols) {
9805
9745
  var s = Object.getOwnPropertySymbols(e);
9806
9746
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
9807
9747
  }
9808
9748
  return i;
9809
9749
  }
9810
- function _objectWithoutPropertiesLoose4(r, e) {
9750
+ function _objectWithoutPropertiesLoose5(r, e) {
9811
9751
  if (null == r) return {};
9812
9752
  var t = {};
9813
9753
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -9840,7 +9780,7 @@ function _asyncToGenerator12(n) {
9840
9780
  };
9841
9781
  }
9842
9782
  var Content8 = function(t0) {
9843
- var $ = (0, import_react_compiler_runtime53.c)(24);
9783
+ var $ = (0, import_react_compiler_runtime51.c)(24);
9844
9784
  var children = t0.children, className = t0.className, style = t0.style, play = t0.play;
9845
9785
  var addToast = useToasts().addToast;
9846
9786
  var queryClient = (0, import_react_query10.useQueryClient)();
@@ -9995,7 +9935,7 @@ var Content8 = function(t0) {
9995
9935
  return t10;
9996
9936
  };
9997
9937
  var Root12 = function(_ref) {
9998
- var children = _ref.children, rest = _objectWithoutProperties4(_ref, _excluded4);
9938
+ var children = _ref.children, rest = _objectWithoutProperties5(_ref, _excluded5);
9999
9939
  return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ToastsProvider, {
10000
9940
  children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Content8, _objectSpread46(_objectSpread46({}, rest), {}, {
10001
9941
  children: children
@@ -10200,7 +10140,7 @@ var Visualization = function(props) {
10200
10140
  }));
10201
10141
  };
10202
10142
  // src/components/threads/AudioThread/Status/index.tsx
10203
- var import_react_compiler_runtime54 = require("react-compiler-runtime");
10143
+ var import_react_compiler_runtime52 = require("react-compiler-runtime");
10204
10144
  // src/components/threads/AudioThread/Status/StatusMessages.tsx
10205
10145
  var import_themes61 = require("@radix-ui/themes");
10206
10146
  var import_jsx_runtime85 = require("react/jsx-runtime");
@@ -10280,7 +10220,7 @@ function _toPrimitive48(t, r) {
10280
10220
  return ("string" === r ? String : Number)(t);
10281
10221
  }
10282
10222
  var Status = function(props) {
10283
- var $ = (0, import_react_compiler_runtime54.c)(12);
10223
+ var $ = (0, import_react_compiler_runtime52.c)(12);
10284
10224
  var audioThreadContext = useAudioThreadContext();
10285
10225
  if (audioThreadContext.status === "recording") {
10286
10226
  var _t;
@@ -10377,7 +10317,7 @@ var Status = function(props) {
10377
10317
  return t1;
10378
10318
  };
10379
10319
  // src/components/threads/AudioThread/Form/index.tsx
10380
- var import_react_compiler_runtime56 = require("react-compiler-runtime");
10320
+ var import_react_compiler_runtime54 = require("react-compiler-runtime");
10381
10321
  var import_themes63 = require("@radix-ui/themes");
10382
10322
  // src/components/threads/AudioThread/Form/MicIcon.tsx
10383
10323
  var import_jsx_runtime87 = require("react/jsx-runtime");
@@ -10441,12 +10381,12 @@ var MicIcon = function(props) {
10441
10381
  }));
10442
10382
  };
10443
10383
  // src/components/threads/AudioThread/Form/ActionButton/index.tsx
10444
- var import_react_compiler_runtime55 = require("react-compiler-runtime");
10384
+ var import_react_compiler_runtime53 = require("react-compiler-runtime");
10445
10385
  var import_themes62 = require("@radix-ui/themes");
10446
10386
  var import_react_icons17 = require("@radix-ui/react-icons");
10447
10387
  var import_jsx_runtime88 = require("react/jsx-runtime");
10448
10388
  var ActionButton = function() {
10449
- var $ = (0, import_react_compiler_runtime55.c)(27);
10389
+ var $ = (0, import_react_compiler_runtime53.c)(27);
10450
10390
  var audioThreadContext = useAudioThreadContext();
10451
10391
  var superinterfaceContext = useSuperinterfaceContext();
10452
10392
  if (audioThreadContext.status === "recording") {
@@ -10683,7 +10623,7 @@ function _toPrimitive50(t, r) {
10683
10623
  return ("string" === r ? String : Number)(t);
10684
10624
  }
10685
10625
  var Form = function(props) {
10686
- var $ = (0, import_react_compiler_runtime56.c)(17);
10626
+ var $ = (0, import_react_compiler_runtime54.c)(17);
10687
10627
  var audioThreadContext = useAudioThreadContext();
10688
10628
  var t0 = audioThreadContext.status === "recording" ? "var(--accent-11)" : "var(--gray-11)";
10689
10629
  var t1;
@@ -10903,22 +10843,22 @@ AudioThreadDialog.Root = Root9;
10903
10843
  AudioThreadDialog.Trigger = Trigger;
10904
10844
  AudioThreadDialog.Content = Content7;
10905
10845
  // src/components/markdown/MarkdownProvider/index.tsx
10906
- var import_react_compiler_runtime57 = require("react-compiler-runtime");
10846
+ var import_react_compiler_runtime55 = require("react-compiler-runtime");
10907
10847
  var import_react67 = require("react");
10908
10848
  var import_jsx_runtime92 = require("react/jsx-runtime");
10909
- var _excluded5 = [
10849
+ var _excluded6 = [
10910
10850
  "children"
10911
10851
  ];
10912
- function _objectWithoutProperties5(e, t) {
10852
+ function _objectWithoutProperties6(e, t) {
10913
10853
  if (null == e) return {};
10914
- var o, r, i = _objectWithoutPropertiesLoose5(e, t);
10854
+ var o, r, i = _objectWithoutPropertiesLoose6(e, t);
10915
10855
  if (Object.getOwnPropertySymbols) {
10916
10856
  var s = Object.getOwnPropertySymbols(e);
10917
10857
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
10918
10858
  }
10919
10859
  return i;
10920
10860
  }
10921
- function _objectWithoutPropertiesLoose5(r, e) {
10861
+ function _objectWithoutPropertiesLoose6(r, e) {
10922
10862
  if (null == r) return {};
10923
10863
  var t = {};
10924
10864
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -10928,13 +10868,13 @@ function _objectWithoutPropertiesLoose5(r, e) {
10928
10868
  return t;
10929
10869
  }
10930
10870
  var MarkdownProvider = function(t0) {
10931
- var $ = (0, import_react_compiler_runtime57.c)(9);
10871
+ var $ = (0, import_react_compiler_runtime55.c)(9);
10932
10872
  var children;
10933
10873
  var rest;
10934
10874
  if ($[0] !== t0) {
10935
10875
  var _t = t0;
10936
10876
  children = _t.children;
10937
- rest = _objectWithoutProperties5(_t, _excluded5);
10877
+ rest = _objectWithoutProperties6(_t, _excluded6);
10938
10878
  _t;
10939
10879
  $[0] = t0;
10940
10880
  $[1] = children;
@@ -10971,7 +10911,7 @@ var MarkdownProvider = function(t0) {
10971
10911
  return t3;
10972
10912
  };
10973
10913
  // src/components/avatars/Avatar.tsx
10974
- var import_react_compiler_runtime60 = require("react-compiler-runtime");
10914
+ var import_react_compiler_runtime58 = require("react-compiler-runtime");
10975
10915
  // src/lib/enums/index.ts
10976
10916
  var IconAvatarName = /* @__PURE__ */ function(IconAvatarName2) {
10977
10917
  IconAvatarName2["BACKPACK"] = "BACKPACK";
@@ -10996,7 +10936,7 @@ var AvatarType = /* @__PURE__ */ function(AvatarType2) {
10996
10936
  // src/components/avatars/Avatar.tsx
10997
10937
  var import_themes66 = require("@radix-ui/themes");
10998
10938
  // src/components/imageAvatars/ImageAvatar/index.tsx
10999
- var import_react_compiler_runtime58 = require("react-compiler-runtime");
10939
+ var import_react_compiler_runtime56 = require("react-compiler-runtime");
11000
10940
  var import_themes64 = require("@radix-ui/themes");
11001
10941
  // src/components/imageAvatars/ImageAvatar/lib/optimizedSrc/path.ts
11002
10942
  var width = function(_ref) {
@@ -11050,7 +10990,7 @@ var optimizedSrc = function(_ref) {
11050
10990
  // src/components/imageAvatars/ImageAvatar/index.tsx
11051
10991
  var import_jsx_runtime93 = require("react/jsx-runtime");
11052
10992
  var ImageAvatar = function(t0) {
11053
- var $ = (0, import_react_compiler_runtime58.c)(9);
10993
+ var $ = (0, import_react_compiler_runtime56.c)(9);
11054
10994
  var imageAvatar = t0.imageAvatar, size = t0.size, className = t0.className, style = t0.style;
11055
10995
  var superinterfaceContext = useSuperinterfaceContext();
11056
10996
  var t1;
@@ -11087,7 +11027,7 @@ var ImageAvatar = function(t0) {
11087
11027
  return t2;
11088
11028
  };
11089
11029
  // src/components/iconAvatars/IconAvatar.tsx
11090
- var import_react_compiler_runtime59 = require("react-compiler-runtime");
11030
+ var import_react_compiler_runtime57 = require("react-compiler-runtime");
11091
11031
  var import_react68 = require("react");
11092
11032
  var import_themes65 = require("@radix-ui/themes");
11093
11033
  // src/lib/iconAvatars/iconAvatarComponents.ts
@@ -11097,7 +11037,7 @@ var iconAvatarComponents = (_obj = {}, _define_property(_obj, IconAvatarName.BAC
11097
11037
  // src/components/iconAvatars/IconAvatar.tsx
11098
11038
  var import_jsx_runtime94 = require("react/jsx-runtime");
11099
11039
  var IconAvatar = function(t0) {
11100
- var $ = (0, import_react_compiler_runtime59.c)(7);
11040
+ var $ = (0, import_react_compiler_runtime57.c)(7);
11101
11041
  var iconAvatar = t0.iconAvatar, size = t0.size, className = t0.className, style = t0.style;
11102
11042
  var t1;
11103
11043
  t1 = iconAvatarComponents[iconAvatar.name];
@@ -11131,7 +11071,7 @@ var IconAvatar = function(t0) {
11131
11071
  // src/components/avatars/Avatar.tsx
11132
11072
  var import_jsx_runtime95 = require("react/jsx-runtime");
11133
11073
  var Avatar6 = function(t0) {
11134
- var $ = (0, import_react_compiler_runtime60.c)(14);
11074
+ var $ = (0, import_react_compiler_runtime58.c)(14);
11135
11075
  var avatar = t0.avatar, t1 = t0.size, className = t0.className, style = t0.style;
11136
11076
  var size = t1 === void 0 ? "1" : t1;
11137
11077
  if (avatar) {
@@ -11192,7 +11132,7 @@ var Avatar6 = function(t0) {
11192
11132
  return t2;
11193
11133
  };
11194
11134
  // src/components/components/ComponentsProvider.tsx
11195
- var import_react_compiler_runtime61 = require("react-compiler-runtime");
11135
+ var import_react_compiler_runtime59 = require("react-compiler-runtime");
11196
11136
  var import_react70 = require("react");
11197
11137
  // src/hooks/components/useComponents.ts
11198
11138
  var import_react69 = require("react");
@@ -11201,19 +11141,19 @@ var useComponents = function() {
11201
11141
  };
11202
11142
  // src/components/components/ComponentsProvider.tsx
11203
11143
  var import_jsx_runtime96 = require("react/jsx-runtime");
11204
- var _excluded6 = [
11144
+ var _excluded7 = [
11205
11145
  "children"
11206
11146
  ];
11207
- function _objectWithoutProperties6(e, t) {
11147
+ function _objectWithoutProperties7(e, t) {
11208
11148
  if (null == e) return {};
11209
- var o, r, i = _objectWithoutPropertiesLoose6(e, t);
11149
+ var o, r, i = _objectWithoutPropertiesLoose7(e, t);
11210
11150
  if (Object.getOwnPropertySymbols) {
11211
11151
  var s = Object.getOwnPropertySymbols(e);
11212
11152
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
11213
11153
  }
11214
11154
  return i;
11215
11155
  }
11216
- function _objectWithoutPropertiesLoose6(r, e) {
11156
+ function _objectWithoutPropertiesLoose7(r, e) {
11217
11157
  if (null == r) return {};
11218
11158
  var t = {};
11219
11159
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -11223,13 +11163,13 @@ function _objectWithoutPropertiesLoose6(r, e) {
11223
11163
  return t;
11224
11164
  }
11225
11165
  var ComponentsProvider = function(t0) {
11226
- var $ = (0, import_react_compiler_runtime61.c)(9);
11166
+ var $ = (0, import_react_compiler_runtime59.c)(9);
11227
11167
  var children;
11228
11168
  var rest;
11229
11169
  if ($[0] !== t0) {
11230
11170
  var _t = t0;
11231
11171
  children = _t.children;
11232
- rest = _objectWithoutProperties6(_t, _excluded6);
11172
+ rest = _objectWithoutProperties7(_t, _excluded7);
11233
11173
  _t;
11234
11174
  $[0] = t0;
11235
11175
  $[1] = children;
@@ -11266,11 +11206,11 @@ var ComponentsProvider = function(t0) {
11266
11206
  return t3;
11267
11207
  };
11268
11208
  // src/components/assistants/AssistantProvider/index.tsx
11269
- var import_react_compiler_runtime62 = require("react-compiler-runtime");
11209
+ var import_react_compiler_runtime60 = require("react-compiler-runtime");
11270
11210
  var import_jsx_runtime97 = require("react/jsx-runtime");
11271
11211
  var AssistantProvider = function(t0) {
11272
11212
  var _assistant$name;
11273
- var $ = (0, import_react_compiler_runtime62.c)(10);
11213
+ var $ = (0, import_react_compiler_runtime60.c)(10);
11274
11214
  var children = t0.children;
11275
11215
  var superinterfaceContext = useSuperinterfaceContext();
11276
11216
  var t1;