@superinterface/react 3.20.2 → 3.21.1
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 +420 -126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +420 -126
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -369,7 +369,7 @@ var require_lib = __commonJS({
|
|
|
369
369
|
Object.defineProperty(exports2, "__esModule", {
|
|
370
370
|
value: true
|
|
371
371
|
});
|
|
372
|
-
function
|
|
372
|
+
function _objectWithoutPropertiesLoose10(r, e) {
|
|
373
373
|
if (null == r) return {};
|
|
374
374
|
var t = {};
|
|
375
375
|
for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
|
|
@@ -729,7 +729,7 @@ var require_lib = __commonJS({
|
|
|
729
729
|
PrimaryTopicNotAllowed: "Topic reference was used in a lexical context without topic binding.",
|
|
730
730
|
PrimaryTopicRequiresSmartPipeline: 'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'
|
|
731
731
|
});
|
|
732
|
-
var
|
|
732
|
+
var _excluded10 = [
|
|
733
733
|
"message"
|
|
734
734
|
];
|
|
735
735
|
function defineHidden(obj, key2, value) {
|
|
@@ -804,7 +804,7 @@ var require_lib = __commonJS({
|
|
|
804
804
|
}
|
|
805
805
|
} : typeof template === "function" ? {
|
|
806
806
|
message: template
|
|
807
|
-
} : template, message = _ref.message, rest =
|
|
807
|
+
} : template, message = _ref.message, rest = _objectWithoutPropertiesLoose10(_ref, _excluded10);
|
|
808
808
|
var toMessage = typeof message === "string" ? function() {
|
|
809
809
|
return message;
|
|
810
810
|
} : message;
|
|
@@ -42454,11 +42454,10 @@ var remarkAnnotation = function(_ref2) {
|
|
|
42454
42454
|
node: node,
|
|
42455
42455
|
content: content2
|
|
42456
42456
|
});
|
|
42457
|
-
} else {
|
|
42458
|
-
return [
|
|
42459
|
-
node
|
|
42460
|
-
];
|
|
42461
42457
|
}
|
|
42458
|
+
return [
|
|
42459
|
+
node
|
|
42460
|
+
];
|
|
42462
42461
|
});
|
|
42463
42462
|
};
|
|
42464
42463
|
};
|
|
@@ -42466,12 +42465,7 @@ var remarkAnnotation = function(_ref2) {
|
|
|
42466
42465
|
var processNodeWithAnnotations = function(_ref3) {
|
|
42467
42466
|
var _content$text;
|
|
42468
42467
|
var node = _ref3.node, content2 = _ref3.content;
|
|
42469
|
-
if (!((_content$text = content2.text) !== null && _content$text !== void 0 && (_content$text = _content$text.annotations) !== null && _content$text !== void 0 && _content$text.length)) {
|
|
42470
|
-
return [
|
|
42471
|
-
node
|
|
42472
|
-
];
|
|
42473
|
-
}
|
|
42474
|
-
if (!node.position) {
|
|
42468
|
+
if (!((_content$text = content2.text) !== null && _content$text !== void 0 && (_content$text = _content$text.annotations) !== null && _content$text !== void 0 && _content$text.length) || !node.position) {
|
|
42475
42469
|
return [
|
|
42476
42470
|
node
|
|
42477
42471
|
];
|
|
@@ -42486,21 +42480,76 @@ var processNodeWithAnnotations = function(_ref3) {
|
|
|
42486
42480
|
});
|
|
42487
42481
|
} else if (node.type === "link") {
|
|
42488
42482
|
var linkNode = node;
|
|
42489
|
-
linkNode.children = (0, import_unist_util_flatmap.default)(linkNode.children, function(
|
|
42490
|
-
if (
|
|
42483
|
+
linkNode.children = (0, import_unist_util_flatmap.default)(linkNode.children, function(child2) {
|
|
42484
|
+
if (child2.type === "text") {
|
|
42491
42485
|
return processTextNode({
|
|
42492
|
-
node:
|
|
42486
|
+
node: child2,
|
|
42493
42487
|
annotations: annotations
|
|
42494
42488
|
});
|
|
42495
|
-
} else {
|
|
42496
|
-
return [
|
|
42497
|
-
childNode
|
|
42498
|
-
];
|
|
42499
42489
|
}
|
|
42490
|
+
return [
|
|
42491
|
+
child2
|
|
42492
|
+
];
|
|
42500
42493
|
});
|
|
42501
|
-
return [
|
|
42494
|
+
if (!linkNode.position) return [
|
|
42502
42495
|
linkNode
|
|
42503
42496
|
];
|
|
42497
|
+
var labelLength = 0;
|
|
42498
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
42499
|
+
try {
|
|
42500
|
+
for(var _iterator = linkNode.children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
42501
|
+
var child = _step.value;
|
|
42502
|
+
if (child.type === "text" && typeof child.value === "string") {
|
|
42503
|
+
labelLength += child.value.length;
|
|
42504
|
+
}
|
|
42505
|
+
}
|
|
42506
|
+
} catch (err) {
|
|
42507
|
+
_didIteratorError = true;
|
|
42508
|
+
_iteratorError = err;
|
|
42509
|
+
} finally{
|
|
42510
|
+
try {
|
|
42511
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
42512
|
+
_iterator.return();
|
|
42513
|
+
}
|
|
42514
|
+
} finally{
|
|
42515
|
+
if (_didIteratorError) {
|
|
42516
|
+
throw _iteratorError;
|
|
42517
|
+
}
|
|
42518
|
+
}
|
|
42519
|
+
}
|
|
42520
|
+
var linkStart = linkNode.position.start.offset;
|
|
42521
|
+
var urlStartOffset = linkStart + 1 + labelLength + 1 + 1;
|
|
42522
|
+
var urlEndOffset = linkNode.position.end.offset - 1;
|
|
42523
|
+
var matchingURLAnnotations = annotations.filter(function(annotation2) {
|
|
42524
|
+
return annotation2.start_index >= urlStartOffset && annotation2.end_index <= urlEndOffset;
|
|
42525
|
+
});
|
|
42526
|
+
if (matchingURLAnnotations.length > 0) {
|
|
42527
|
+
var annotation = matchingURLAnnotations[0];
|
|
42528
|
+
var newAnnotationNode = {
|
|
42529
|
+
type: "annotation",
|
|
42530
|
+
value: linkNode.url,
|
|
42531
|
+
children: linkNode.children,
|
|
42532
|
+
position: {
|
|
42533
|
+
start: _objectSpread23(_objectSpread23({}, linkNode.position.start), {}, {
|
|
42534
|
+
offset: urlStartOffset
|
|
42535
|
+
}),
|
|
42536
|
+
end: _objectSpread23(_objectSpread23({}, linkNode.position.end), {}, {
|
|
42537
|
+
offset: urlEndOffset
|
|
42538
|
+
})
|
|
42539
|
+
},
|
|
42540
|
+
data: {
|
|
42541
|
+
hName: "annotation",
|
|
42542
|
+
hProperties: _define_property({}, "data-annotation", JSON.stringify(annotation))
|
|
42543
|
+
}
|
|
42544
|
+
};
|
|
42545
|
+
return [
|
|
42546
|
+
newAnnotationNode
|
|
42547
|
+
];
|
|
42548
|
+
} else {
|
|
42549
|
+
return [
|
|
42550
|
+
linkNode
|
|
42551
|
+
];
|
|
42552
|
+
}
|
|
42504
42553
|
} else {
|
|
42505
42554
|
return [
|
|
42506
42555
|
node
|
|
@@ -42509,26 +42558,20 @@ var processNodeWithAnnotations = function(_ref3) {
|
|
|
42509
42558
|
};
|
|
42510
42559
|
var processTextNode = function(_ref4) {
|
|
42511
42560
|
var node = _ref4.node, annotations = _ref4.annotations;
|
|
42512
|
-
if (!node.position || !node.value)
|
|
42513
|
-
|
|
42514
|
-
|
|
42515
|
-
];
|
|
42516
|
-
}
|
|
42561
|
+
if (!node.position || !node.value) return [
|
|
42562
|
+
node
|
|
42563
|
+
];
|
|
42517
42564
|
var nodeStart = node.position.start.offset;
|
|
42518
42565
|
var nodeEnd = node.position.end.offset;
|
|
42519
|
-
if (!(0, import_radash11.isNumber)(nodeStart) || !(0, import_radash11.isNumber)(nodeEnd))
|
|
42520
|
-
|
|
42521
|
-
|
|
42522
|
-
];
|
|
42523
|
-
}
|
|
42566
|
+
if (!(0, import_radash11.isNumber)(nodeStart) || !(0, import_radash11.isNumber)(nodeEnd)) return [
|
|
42567
|
+
node
|
|
42568
|
+
];
|
|
42524
42569
|
var newNodes = [];
|
|
42525
42570
|
var lastIndex = nodeStart;
|
|
42526
42571
|
annotations.forEach(function(annotation) {
|
|
42527
42572
|
var annotationStart = annotation.start_index;
|
|
42528
42573
|
var annotationEnd = annotation.end_index;
|
|
42529
|
-
if (nodeEnd <= annotationStart || nodeStart >= annotationEnd)
|
|
42530
|
-
return;
|
|
42531
|
-
}
|
|
42574
|
+
if (nodeEnd <= annotationStart || nodeStart >= annotationEnd) return;
|
|
42532
42575
|
var start = Math.max(nodeStart, annotationStart);
|
|
42533
42576
|
var end = Math.min(nodeEnd, annotationEnd);
|
|
42534
42577
|
if (lastIndex < start) {
|
|
@@ -47136,9 +47179,9 @@ ThreadDialog.Root = Root9;
|
|
|
47136
47179
|
ThreadDialog.Trigger = Trigger;
|
|
47137
47180
|
ThreadDialog.Content = Content7;
|
|
47138
47181
|
// src/components/threads/AudioThreadDialog/index.tsx
|
|
47139
|
-
var
|
|
47182
|
+
var import_react_compiler_runtime95 = require("react-compiler-runtime");
|
|
47140
47183
|
// src/components/threads/AudioThread/index.tsx
|
|
47141
|
-
var
|
|
47184
|
+
var import_react_compiler_runtime94 = require("react-compiler-runtime");
|
|
47142
47185
|
// src/components/threads/AudioThread/Root/index.tsx
|
|
47143
47186
|
var import_react_compiler_runtime86 = require("react-compiler-runtime");
|
|
47144
47187
|
var import_themes59 = require("@radix-ui/themes");
|
|
@@ -48386,6 +48429,7 @@ var Root12 = function(t0) {
|
|
|
48386
48429
|
return t3;
|
|
48387
48430
|
};
|
|
48388
48431
|
// src/components/threads/AudioThread/Visualization/index.tsx
|
|
48432
|
+
var import_react_compiler_runtime88 = require("react-compiler-runtime");
|
|
48389
48433
|
var import_react68 = require("react");
|
|
48390
48434
|
var import_lodash9 = __toESM(require("lodash"), 1);
|
|
48391
48435
|
var import_themes61 = require("@radix-ui/themes");
|
|
@@ -48506,6 +48550,18 @@ var useStatus = function() {
|
|
|
48506
48550
|
};
|
|
48507
48551
|
// src/components/threads/AudioThread/Visualization/index.tsx
|
|
48508
48552
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
48553
|
+
var _excluded6 = [
|
|
48554
|
+
"children"
|
|
48555
|
+
];
|
|
48556
|
+
var _excluded23 = [
|
|
48557
|
+
"height",
|
|
48558
|
+
"barWidth"
|
|
48559
|
+
];
|
|
48560
|
+
var _excluded32 = [
|
|
48561
|
+
"children",
|
|
48562
|
+
"height",
|
|
48563
|
+
"width"
|
|
48564
|
+
];
|
|
48509
48565
|
function ownKeys47(e, r) {
|
|
48510
48566
|
var t = Object.keys(e);
|
|
48511
48567
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -48549,13 +48605,33 @@ function _toPrimitive47(t, r) {
|
|
|
48549
48605
|
}
|
|
48550
48606
|
return ("string" === r ? String : Number)(t);
|
|
48551
48607
|
}
|
|
48552
|
-
|
|
48553
|
-
|
|
48608
|
+
function _objectWithoutProperties6(e, t) {
|
|
48609
|
+
if (null == e) return {};
|
|
48610
|
+
var o, r, i = _objectWithoutPropertiesLoose6(e, t);
|
|
48611
|
+
if (Object.getOwnPropertySymbols) {
|
|
48612
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
48613
|
+
for(r = 0; r < n.length; r++)o = n[r], -1 === t.indexOf(o) && ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
48614
|
+
}
|
|
48615
|
+
return i;
|
|
48616
|
+
}
|
|
48617
|
+
function _objectWithoutPropertiesLoose6(r, e) {
|
|
48618
|
+
if (null == r) return {};
|
|
48619
|
+
var t = {};
|
|
48620
|
+
for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
|
|
48621
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
48622
|
+
t[n] = r[n];
|
|
48623
|
+
}
|
|
48624
|
+
return t;
|
|
48625
|
+
}
|
|
48626
|
+
var AudioThreadVisualizationContext = /* @__PURE__ */ (0, import_react68.createContext)({
|
|
48627
|
+
scale: 0
|
|
48628
|
+
});
|
|
48629
|
+
var Provider6 = function(_ref) {
|
|
48630
|
+
var children = _ref.children;
|
|
48554
48631
|
var audioThreadContext = useAudioThreadContext();
|
|
48555
|
-
var
|
|
48556
|
-
var
|
|
48557
|
-
|
|
48558
|
-
var visualizationAnalyser = _ref.visualizationAnalyser;
|
|
48632
|
+
var _$_ref = _sliced_to_array((0, import_react68.useState)(0), 2), scale = _$_ref[0], setScale = _$_ref[1];
|
|
48633
|
+
var draw = (0, import_react68.useCallback)(function(_ref2) {
|
|
48634
|
+
var visualizationAnalyser = _ref2.visualizationAnalyser;
|
|
48559
48635
|
if (!visualizationAnalyser) {
|
|
48560
48636
|
setScale(1);
|
|
48561
48637
|
return;
|
|
@@ -48577,49 +48653,266 @@ var Visualization = function(props) {
|
|
|
48577
48653
|
draw,
|
|
48578
48654
|
audioThreadContext
|
|
48579
48655
|
]);
|
|
48580
|
-
return /* @__PURE__ */ (0, import_jsx_runtime86.
|
|
48581
|
-
|
|
48582
|
-
|
|
48583
|
-
|
|
48584
|
-
|
|
48585
|
-
|
|
48586
|
-
|
|
48587
|
-
|
|
48588
|
-
|
|
48656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AudioThreadVisualizationContext.Provider, {
|
|
48657
|
+
value: {
|
|
48658
|
+
scale: scale
|
|
48659
|
+
},
|
|
48660
|
+
children: children
|
|
48661
|
+
});
|
|
48662
|
+
};
|
|
48663
|
+
var Root13 = function(t0) {
|
|
48664
|
+
var $ = (0, import_react_compiler_runtime88.c)(6);
|
|
48665
|
+
var children;
|
|
48666
|
+
var rest;
|
|
48667
|
+
if ($[0] !== t0) {
|
|
48668
|
+
var _t = t0;
|
|
48669
|
+
children = _t.children;
|
|
48670
|
+
rest = _objectWithoutProperties6(_t, _excluded6);
|
|
48671
|
+
_t;
|
|
48672
|
+
$[0] = t0;
|
|
48673
|
+
$[1] = children;
|
|
48674
|
+
$[2] = rest;
|
|
48675
|
+
} else {
|
|
48676
|
+
children = $[1];
|
|
48677
|
+
rest = $[2];
|
|
48678
|
+
}
|
|
48679
|
+
var t1;
|
|
48680
|
+
if ($[3] !== children || $[4] !== rest) {
|
|
48681
|
+
t1 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Provider6, {
|
|
48682
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_themes61.Flex, _objectSpread47(_objectSpread47({
|
|
48683
|
+
direction: "column",
|
|
48589
48684
|
align: "center",
|
|
48590
48685
|
justify: "center",
|
|
48591
|
-
|
|
48592
|
-
|
|
48593
|
-
|
|
48594
|
-
|
|
48595
|
-
|
|
48596
|
-
|
|
48597
|
-
|
|
48598
|
-
|
|
48599
|
-
|
|
48600
|
-
|
|
48601
|
-
|
|
48602
|
-
|
|
48603
|
-
|
|
48604
|
-
|
|
48605
|
-
|
|
48606
|
-
|
|
48607
|
-
|
|
48608
|
-
|
|
48609
|
-
|
|
48610
|
-
|
|
48611
|
-
|
|
48612
|
-
|
|
48613
|
-
|
|
48614
|
-
|
|
48615
|
-
|
|
48616
|
-
]
|
|
48617
|
-
|
|
48686
|
+
mb: "3",
|
|
48687
|
+
flexGrow: "1"
|
|
48688
|
+
}, rest), {}, {
|
|
48689
|
+
children: children
|
|
48690
|
+
}))
|
|
48691
|
+
});
|
|
48692
|
+
$[3] = children;
|
|
48693
|
+
$[4] = rest;
|
|
48694
|
+
$[5] = t1;
|
|
48695
|
+
} else {
|
|
48696
|
+
t1 = $[5];
|
|
48697
|
+
}
|
|
48698
|
+
return t1;
|
|
48699
|
+
};
|
|
48700
|
+
var BarsVisualizer2 = function(t0) {
|
|
48701
|
+
var $ = (0, import_react_compiler_runtime88.c)(10);
|
|
48702
|
+
var rest;
|
|
48703
|
+
var t1;
|
|
48704
|
+
var t2;
|
|
48705
|
+
if ($[0] !== t0) {
|
|
48706
|
+
var _t2 = t0;
|
|
48707
|
+
var ref;
|
|
48708
|
+
ref = _t2, t1 = ref.height, t2 = ref.barWidth, ref;
|
|
48709
|
+
rest = _objectWithoutProperties6(_t2, _excluded23);
|
|
48710
|
+
_t2;
|
|
48711
|
+
$[0] = t0;
|
|
48712
|
+
$[1] = rest;
|
|
48713
|
+
$[2] = t1;
|
|
48714
|
+
$[3] = t2;
|
|
48715
|
+
} else {
|
|
48716
|
+
rest = $[1];
|
|
48717
|
+
t1 = $[2];
|
|
48718
|
+
t2 = $[3];
|
|
48719
|
+
}
|
|
48720
|
+
var height = t1 === void 0 ? "40px" : t1;
|
|
48721
|
+
var barWidth = t2 === void 0 ? "24px" : t2;
|
|
48722
|
+
var status = useStatus().status;
|
|
48723
|
+
var audioThreadContext = useAudioThreadContext();
|
|
48724
|
+
var t3 = status === "playing" ? "var(--accent-11)" : "var(--gray-11)";
|
|
48725
|
+
var t4;
|
|
48726
|
+
if ($[4] !== audioThreadContext.audioRuntime.assistant.visualizationAnalyser || $[5] !== barWidth || $[6] !== height || $[7] !== rest || $[8] !== t3) {
|
|
48727
|
+
t4 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(BarsVisualizer, _objectSpread47({
|
|
48728
|
+
visualizationAnalyser: audioThreadContext.audioRuntime.assistant.visualizationAnalyser,
|
|
48729
|
+
backgroundColor: t3,
|
|
48730
|
+
height: height,
|
|
48731
|
+
barWidth: barWidth
|
|
48732
|
+
}, rest));
|
|
48733
|
+
$[4] = audioThreadContext.audioRuntime.assistant.visualizationAnalyser;
|
|
48734
|
+
$[5] = barWidth;
|
|
48735
|
+
$[6] = height;
|
|
48736
|
+
$[7] = rest;
|
|
48737
|
+
$[8] = t3;
|
|
48738
|
+
$[9] = t4;
|
|
48739
|
+
} else {
|
|
48740
|
+
t4 = $[9];
|
|
48741
|
+
}
|
|
48742
|
+
return t4;
|
|
48743
|
+
};
|
|
48744
|
+
var AssistantVisualizationRoot = function(t0) {
|
|
48745
|
+
var $ = (0, import_react_compiler_runtime88.c)(17);
|
|
48746
|
+
var children;
|
|
48747
|
+
var rest;
|
|
48748
|
+
var t1;
|
|
48749
|
+
var t2;
|
|
48750
|
+
if ($[0] !== t0) {
|
|
48751
|
+
var _t3 = t0;
|
|
48752
|
+
var ref;
|
|
48753
|
+
ref = _t3, children = ref.children, t1 = ref.height, t2 = ref.width, ref;
|
|
48754
|
+
rest = _objectWithoutProperties6(_t3, _excluded32);
|
|
48755
|
+
_t3;
|
|
48756
|
+
$[0] = t0;
|
|
48757
|
+
$[1] = children;
|
|
48758
|
+
$[2] = rest;
|
|
48759
|
+
$[3] = t1;
|
|
48760
|
+
$[4] = t2;
|
|
48761
|
+
} else {
|
|
48762
|
+
children = $[1];
|
|
48763
|
+
rest = $[2];
|
|
48764
|
+
t1 = $[3];
|
|
48765
|
+
t2 = $[4];
|
|
48766
|
+
}
|
|
48767
|
+
var height = t1 === void 0 ? "200px" : t1;
|
|
48768
|
+
var width2 = t2 === void 0 ? "200px" : t2;
|
|
48769
|
+
var status = useStatus().status;
|
|
48770
|
+
var scale = (0, import_react68.useContext)(AudioThreadVisualizationContext).scale;
|
|
48771
|
+
var t3 = status === "playing" ? "var(--accent-4)" : "var(--gray-4)";
|
|
48772
|
+
var t4;
|
|
48773
|
+
if ($[5] !== rest.style) {
|
|
48774
|
+
var _rest$style;
|
|
48775
|
+
t4 = (_rest$style = rest.style) !== null && _rest$style !== void 0 ? _rest$style : {};
|
|
48776
|
+
$[5] = rest.style;
|
|
48777
|
+
$[6] = t4;
|
|
48778
|
+
} else {
|
|
48779
|
+
t4 = $[6];
|
|
48780
|
+
}
|
|
48781
|
+
var t5;
|
|
48782
|
+
if ($[7] !== scale || $[8] !== t3 || $[9] !== t4) {
|
|
48783
|
+
t5 = _objectSpread47({
|
|
48784
|
+
backgroundColor: t3,
|
|
48785
|
+
borderRadius: "9999px",
|
|
48786
|
+
scale: scale
|
|
48787
|
+
}, t4);
|
|
48788
|
+
$[7] = scale;
|
|
48789
|
+
$[8] = t3;
|
|
48790
|
+
$[9] = t4;
|
|
48791
|
+
$[10] = t5;
|
|
48792
|
+
} else {
|
|
48793
|
+
t5 = $[10];
|
|
48794
|
+
}
|
|
48795
|
+
var t6;
|
|
48796
|
+
if ($[11] !== children || $[12] !== height || $[13] !== rest || $[14] !== t5 || $[15] !== width2) {
|
|
48797
|
+
t6 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_themes61.Flex, _objectSpread47(_objectSpread47({
|
|
48798
|
+
align: "center",
|
|
48799
|
+
justify: "center",
|
|
48800
|
+
height: height,
|
|
48801
|
+
width: width2,
|
|
48802
|
+
style: t5
|
|
48803
|
+
}, rest), {}, {
|
|
48804
|
+
children: children
|
|
48805
|
+
}));
|
|
48806
|
+
$[11] = children;
|
|
48807
|
+
$[12] = height;
|
|
48808
|
+
$[13] = rest;
|
|
48809
|
+
$[14] = t5;
|
|
48810
|
+
$[15] = width2;
|
|
48811
|
+
$[16] = t6;
|
|
48812
|
+
} else {
|
|
48813
|
+
t6 = $[16];
|
|
48814
|
+
}
|
|
48815
|
+
return t6;
|
|
48816
|
+
};
|
|
48817
|
+
var AssistantVisualization = function(props) {
|
|
48818
|
+
var $ = (0, import_react_compiler_runtime88.c)(3);
|
|
48819
|
+
var t0;
|
|
48820
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
48821
|
+
t0 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(BarsVisualizer2, {});
|
|
48822
|
+
$[0] = t0;
|
|
48823
|
+
} else {
|
|
48824
|
+
t0 = $[0];
|
|
48825
|
+
}
|
|
48826
|
+
var t1;
|
|
48827
|
+
if ($[1] !== props) {
|
|
48828
|
+
t1 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AssistantVisualizationRoot, _objectSpread47(_objectSpread47({}, props), {}, {
|
|
48829
|
+
children: t0
|
|
48830
|
+
}));
|
|
48831
|
+
$[1] = props;
|
|
48832
|
+
$[2] = t1;
|
|
48833
|
+
} else {
|
|
48834
|
+
t1 = $[2];
|
|
48835
|
+
}
|
|
48836
|
+
return t1;
|
|
48837
|
+
};
|
|
48838
|
+
AssistantVisualization.Root = AssistantVisualizationRoot;
|
|
48839
|
+
AssistantVisualization.BarsVisualizer = BarsVisualizer2;
|
|
48840
|
+
var AssistantInfo = function(props) {
|
|
48841
|
+
var $ = (0, import_react_compiler_runtime88.c)(6);
|
|
48842
|
+
var assistantNameContext = (0, import_react68.useContext)(AssistantNameContext);
|
|
48843
|
+
var t0;
|
|
48844
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
48845
|
+
t0 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AssistantAvatar, {});
|
|
48846
|
+
$[0] = t0;
|
|
48847
|
+
} else {
|
|
48848
|
+
t0 = $[0];
|
|
48849
|
+
}
|
|
48850
|
+
var t1;
|
|
48851
|
+
if ($[1] !== assistantNameContext) {
|
|
48852
|
+
t1 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Name, {
|
|
48853
|
+
children: assistantNameContext
|
|
48854
|
+
});
|
|
48855
|
+
$[1] = assistantNameContext;
|
|
48856
|
+
$[2] = t1;
|
|
48857
|
+
} else {
|
|
48858
|
+
t1 = $[2];
|
|
48859
|
+
}
|
|
48860
|
+
var t2;
|
|
48861
|
+
if ($[3] !== props || $[4] !== t1) {
|
|
48862
|
+
t2 = /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_themes61.Flex, _objectSpread47(_objectSpread47({
|
|
48863
|
+
ml: "-22.5px",
|
|
48864
|
+
gap: "3",
|
|
48865
|
+
pt: "5"
|
|
48866
|
+
}, props), {}, {
|
|
48867
|
+
children: [
|
|
48868
|
+
t0,
|
|
48869
|
+
t1
|
|
48870
|
+
]
|
|
48871
|
+
}));
|
|
48872
|
+
$[3] = props;
|
|
48873
|
+
$[4] = t1;
|
|
48874
|
+
$[5] = t2;
|
|
48875
|
+
} else {
|
|
48876
|
+
t2 = $[5];
|
|
48877
|
+
}
|
|
48878
|
+
return t2;
|
|
48618
48879
|
};
|
|
48880
|
+
var Visualization = function(props) {
|
|
48881
|
+
var $ = (0, import_react_compiler_runtime88.c)(4);
|
|
48882
|
+
var t0;
|
|
48883
|
+
var t1;
|
|
48884
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
48885
|
+
t0 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AssistantVisualization, {});
|
|
48886
|
+
t1 = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AssistantInfo, {});
|
|
48887
|
+
$[0] = t0;
|
|
48888
|
+
$[1] = t1;
|
|
48889
|
+
} else {
|
|
48890
|
+
t0 = $[0];
|
|
48891
|
+
t1 = $[1];
|
|
48892
|
+
}
|
|
48893
|
+
var t2;
|
|
48894
|
+
if ($[2] !== props) {
|
|
48895
|
+
t2 = /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Root13, _objectSpread47(_objectSpread47({}, props), {}, {
|
|
48896
|
+
children: [
|
|
48897
|
+
t0,
|
|
48898
|
+
t1
|
|
48899
|
+
]
|
|
48900
|
+
}));
|
|
48901
|
+
$[2] = props;
|
|
48902
|
+
$[3] = t2;
|
|
48903
|
+
} else {
|
|
48904
|
+
t2 = $[3];
|
|
48905
|
+
}
|
|
48906
|
+
return t2;
|
|
48907
|
+
};
|
|
48908
|
+
Visualization.Root = Root13;
|
|
48909
|
+
Visualization.Provider = Provider6;
|
|
48910
|
+
Visualization.AssistantVisualization = AssistantVisualization;
|
|
48911
|
+
Visualization.AssistantInfo = AssistantInfo;
|
|
48619
48912
|
// src/components/threads/AudioThread/Status/index.tsx
|
|
48620
|
-
var
|
|
48913
|
+
var import_react_compiler_runtime90 = require("react-compiler-runtime");
|
|
48621
48914
|
// src/components/threads/AudioThread/Status/StatusMessages.tsx
|
|
48622
|
-
var
|
|
48915
|
+
var import_react_compiler_runtime89 = require("react-compiler-runtime");
|
|
48623
48916
|
var import_themes62 = require("@radix-ui/themes");
|
|
48624
48917
|
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
48625
48918
|
var html = function(_ref) {
|
|
@@ -48629,7 +48922,7 @@ var html = function(_ref) {
|
|
|
48629
48922
|
}).join(""), "\n }");
|
|
48630
48923
|
};
|
|
48631
48924
|
var StatusMessages = function(t0) {
|
|
48632
|
-
var $ = (0,
|
|
48925
|
+
var $ = (0, import_react_compiler_runtime89.c)(9);
|
|
48633
48926
|
var texts = t0.texts, className = t0.className, style = t0.style;
|
|
48634
48927
|
var t1;
|
|
48635
48928
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -48637,7 +48930,8 @@ var StatusMessages = function(t0) {
|
|
|
48637
48930
|
size: "2",
|
|
48638
48931
|
weight: "regular",
|
|
48639
48932
|
color: "gray",
|
|
48640
|
-
className: "status-messages-texts"
|
|
48933
|
+
className: "status-messages-texts",
|
|
48934
|
+
align: "center"
|
|
48641
48935
|
});
|
|
48642
48936
|
$[0] = t1;
|
|
48643
48937
|
} else {
|
|
@@ -48732,7 +49026,7 @@ function _toPrimitive48(t, r) {
|
|
|
48732
49026
|
return ("string" === r ? String : Number)(t);
|
|
48733
49027
|
}
|
|
48734
49028
|
var Status = function(props) {
|
|
48735
|
-
var $ = (0,
|
|
49029
|
+
var $ = (0, import_react_compiler_runtime90.c)(12);
|
|
48736
49030
|
var status = useStatus().status;
|
|
48737
49031
|
if (status === "recording") {
|
|
48738
49032
|
var _t;
|
|
@@ -48829,10 +49123,10 @@ var Status = function(props) {
|
|
|
48829
49123
|
return t1;
|
|
48830
49124
|
};
|
|
48831
49125
|
// src/components/threads/AudioThread/Form/index.tsx
|
|
48832
|
-
var
|
|
49126
|
+
var import_react_compiler_runtime93 = require("react-compiler-runtime");
|
|
48833
49127
|
var import_themes64 = require("@radix-ui/themes");
|
|
48834
49128
|
// src/components/threads/AudioThread/Form/MicIcon.tsx
|
|
48835
|
-
var
|
|
49129
|
+
var import_react_compiler_runtime91 = require("react-compiler-runtime");
|
|
48836
49130
|
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
48837
49131
|
function ownKeys49(e, r) {
|
|
48838
49132
|
var t = Object.keys(e);
|
|
@@ -48878,7 +49172,7 @@ function _toPrimitive49(t, r) {
|
|
|
48878
49172
|
return ("string" === r ? String : Number)(t);
|
|
48879
49173
|
}
|
|
48880
49174
|
var MicIcon = function(props) {
|
|
48881
|
-
var $ = (0,
|
|
49175
|
+
var $ = (0, import_react_compiler_runtime91.c)(3);
|
|
48882
49176
|
var t0;
|
|
48883
49177
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
48884
49178
|
t0 = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("path", {
|
|
@@ -48910,12 +49204,12 @@ var MicIcon = function(props) {
|
|
|
48910
49204
|
return t1;
|
|
48911
49205
|
};
|
|
48912
49206
|
// src/components/threads/AudioThread/Form/ActionButton/index.tsx
|
|
48913
|
-
var
|
|
49207
|
+
var import_react_compiler_runtime92 = require("react-compiler-runtime");
|
|
48914
49208
|
var import_themes63 = require("@radix-ui/themes");
|
|
48915
49209
|
var import_react_icons17 = require("@radix-ui/react-icons");
|
|
48916
49210
|
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
48917
49211
|
var ActionButton = function() {
|
|
48918
|
-
var $ = (0,
|
|
49212
|
+
var $ = (0, import_react_compiler_runtime92.c)(27);
|
|
48919
49213
|
var status = useStatus().status;
|
|
48920
49214
|
var audioThreadContext = useAudioThreadContext();
|
|
48921
49215
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
@@ -49153,7 +49447,7 @@ function _toPrimitive50(t, r) {
|
|
|
49153
49447
|
return ("string" === r ? String : Number)(t);
|
|
49154
49448
|
}
|
|
49155
49449
|
var Form = function(props) {
|
|
49156
|
-
var $ = (0,
|
|
49450
|
+
var $ = (0, import_react_compiler_runtime93.c)(17);
|
|
49157
49451
|
var status = useStatus().status;
|
|
49158
49452
|
var audioThreadContext = useAudioThreadContext();
|
|
49159
49453
|
var t0 = status === "recording" ? "var(--accent-11)" : "var(--gray-11)";
|
|
@@ -49303,7 +49597,7 @@ function _toPrimitive51(t, r) {
|
|
|
49303
49597
|
return ("string" === r ? String : Number)(t);
|
|
49304
49598
|
}
|
|
49305
49599
|
var AudioThread = function(props) {
|
|
49306
|
-
var $ = (0,
|
|
49600
|
+
var $ = (0, import_react_compiler_runtime94.c)(5);
|
|
49307
49601
|
var t0;
|
|
49308
49602
|
var t1;
|
|
49309
49603
|
var t2;
|
|
@@ -49385,7 +49679,7 @@ function _toPrimitive52(t, r) {
|
|
|
49385
49679
|
return ("string" === r ? String : Number)(t);
|
|
49386
49680
|
}
|
|
49387
49681
|
var AudioThreadDialog = function(props) {
|
|
49388
|
-
var $ = (0,
|
|
49682
|
+
var $ = (0, import_react_compiler_runtime95.c)(4);
|
|
49389
49683
|
var t0;
|
|
49390
49684
|
var t1;
|
|
49391
49685
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -49907,10 +50201,10 @@ var useWebrtcAudioRuntime = function() {
|
|
|
49907
50201
|
]);
|
|
49908
50202
|
};
|
|
49909
50203
|
// src/components/audioRuntimes/WebrtcAudioRuntimeProvider.tsx
|
|
49910
|
-
var
|
|
50204
|
+
var import_react_compiler_runtime96 = require("react-compiler-runtime");
|
|
49911
50205
|
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
49912
50206
|
var WebrtcAudioRuntimeProvider = function(t0) {
|
|
49913
|
-
var $ = (0,
|
|
50207
|
+
var $ = (0, import_react_compiler_runtime96.c)(5);
|
|
49914
50208
|
var children = t0.children;
|
|
49915
50209
|
var webrtcAudioRuntime = useWebrtcAudioRuntime().webrtcAudioRuntime;
|
|
49916
50210
|
var t1;
|
|
@@ -49938,22 +50232,22 @@ var WebrtcAudioRuntimeProvider = function(t0) {
|
|
|
49938
50232
|
return t2;
|
|
49939
50233
|
};
|
|
49940
50234
|
// src/components/markdown/MarkdownProvider/index.tsx
|
|
49941
|
-
var
|
|
50235
|
+
var import_react_compiler_runtime97 = require("react-compiler-runtime");
|
|
49942
50236
|
var import_react70 = require("react");
|
|
49943
50237
|
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
49944
|
-
var
|
|
50238
|
+
var _excluded7 = [
|
|
49945
50239
|
"children"
|
|
49946
50240
|
];
|
|
49947
|
-
function
|
|
50241
|
+
function _objectWithoutProperties7(e, t) {
|
|
49948
50242
|
if (null == e) return {};
|
|
49949
|
-
var o, r, i =
|
|
50243
|
+
var o, r, i = _objectWithoutPropertiesLoose7(e, t);
|
|
49950
50244
|
if (Object.getOwnPropertySymbols) {
|
|
49951
50245
|
var n = Object.getOwnPropertySymbols(e);
|
|
49952
50246
|
for(r = 0; r < n.length; r++)o = n[r], -1 === t.indexOf(o) && ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
49953
50247
|
}
|
|
49954
50248
|
return i;
|
|
49955
50249
|
}
|
|
49956
|
-
function
|
|
50250
|
+
function _objectWithoutPropertiesLoose7(r, e) {
|
|
49957
50251
|
if (null == r) return {};
|
|
49958
50252
|
var t = {};
|
|
49959
50253
|
for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
|
|
@@ -49963,13 +50257,13 @@ function _objectWithoutPropertiesLoose6(r, e) {
|
|
|
49963
50257
|
return t;
|
|
49964
50258
|
}
|
|
49965
50259
|
var MarkdownProvider = function(t0) {
|
|
49966
|
-
var $ = (0,
|
|
50260
|
+
var $ = (0, import_react_compiler_runtime97.c)(9);
|
|
49967
50261
|
var children;
|
|
49968
50262
|
var rest;
|
|
49969
50263
|
if ($[0] !== t0) {
|
|
49970
50264
|
var _t = t0;
|
|
49971
50265
|
children = _t.children;
|
|
49972
|
-
rest =
|
|
50266
|
+
rest = _objectWithoutProperties7(_t, _excluded7);
|
|
49973
50267
|
_t;
|
|
49974
50268
|
$[0] = t0;
|
|
49975
50269
|
$[1] = children;
|
|
@@ -50006,18 +50300,18 @@ var MarkdownProvider = function(t0) {
|
|
|
50006
50300
|
return t3;
|
|
50007
50301
|
};
|
|
50008
50302
|
// src/components/annotations/SourceAnnotation/index.tsx
|
|
50009
|
-
var
|
|
50303
|
+
var import_react_compiler_runtime100 = require("react-compiler-runtime");
|
|
50010
50304
|
// src/components/annotations/SourceAnnotation/FileCitation/index.tsx
|
|
50011
|
-
var
|
|
50305
|
+
var import_react_compiler_runtime99 = require("react-compiler-runtime");
|
|
50012
50306
|
var import_react71 = require("react");
|
|
50013
50307
|
var import_react_icons18 = require("@radix-ui/react-icons");
|
|
50014
50308
|
var import_themes66 = require("@radix-ui/themes");
|
|
50015
50309
|
// src/components/annotations/SourceAnnotation/FileCitation/Content.tsx
|
|
50016
|
-
var
|
|
50310
|
+
var import_react_compiler_runtime98 = require("react-compiler-runtime");
|
|
50017
50311
|
var import_themes65 = require("@radix-ui/themes");
|
|
50018
50312
|
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
50019
50313
|
var Content9 = function(t0) {
|
|
50020
|
-
var $ = (0,
|
|
50314
|
+
var $ = (0, import_react_compiler_runtime98.c)(5);
|
|
50021
50315
|
var fileId = t0.fileId;
|
|
50022
50316
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
50023
50317
|
var nextSearchParams = new URLSearchParams(superinterfaceContext.variables);
|
|
@@ -50083,7 +50377,7 @@ var Content9 = function(t0) {
|
|
|
50083
50377
|
// src/components/annotations/SourceAnnotation/FileCitation/index.tsx
|
|
50084
50378
|
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
50085
50379
|
var FileCitation = function(t0) {
|
|
50086
|
-
var $ = (0,
|
|
50380
|
+
var $ = (0, import_react_compiler_runtime99.c)(18);
|
|
50087
50381
|
var annotation = t0.annotation;
|
|
50088
50382
|
var _ref = _sliced_to_array((0, import_react71.useState)(null), 2), activeFileId = _ref[0], setActiveFileId = _ref[1];
|
|
50089
50383
|
var t1;
|
|
@@ -50210,19 +50504,19 @@ var FileCitation = function(t0) {
|
|
|
50210
50504
|
};
|
|
50211
50505
|
// src/components/annotations/SourceAnnotation/index.tsx
|
|
50212
50506
|
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
50213
|
-
var
|
|
50507
|
+
var _excluded8 = [
|
|
50214
50508
|
"children"
|
|
50215
50509
|
];
|
|
50216
|
-
function
|
|
50510
|
+
function _objectWithoutProperties8(e, t) {
|
|
50217
50511
|
if (null == e) return {};
|
|
50218
|
-
var o, r, i =
|
|
50512
|
+
var o, r, i = _objectWithoutPropertiesLoose8(e, t);
|
|
50219
50513
|
if (Object.getOwnPropertySymbols) {
|
|
50220
50514
|
var n = Object.getOwnPropertySymbols(e);
|
|
50221
50515
|
for(r = 0; r < n.length; r++)o = n[r], -1 === t.indexOf(o) && ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
50222
50516
|
}
|
|
50223
50517
|
return i;
|
|
50224
50518
|
}
|
|
50225
|
-
function
|
|
50519
|
+
function _objectWithoutPropertiesLoose8(r, e) {
|
|
50226
50520
|
if (null == r) return {};
|
|
50227
50521
|
var t = {};
|
|
50228
50522
|
for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
|
|
@@ -50232,13 +50526,13 @@ function _objectWithoutPropertiesLoose7(r, e) {
|
|
|
50232
50526
|
return t;
|
|
50233
50527
|
}
|
|
50234
50528
|
var SourceAnnotation = function(t0) {
|
|
50235
|
-
var $ = (0,
|
|
50529
|
+
var $ = (0, import_react_compiler_runtime100.c)(10);
|
|
50236
50530
|
var children;
|
|
50237
50531
|
var rest;
|
|
50238
50532
|
if ($[0] !== t0) {
|
|
50239
50533
|
var _t = t0;
|
|
50240
50534
|
children = _t.children;
|
|
50241
|
-
rest =
|
|
50535
|
+
rest = _objectWithoutProperties8(_t, _excluded8);
|
|
50242
50536
|
_t;
|
|
50243
50537
|
$[0] = t0;
|
|
50244
50538
|
$[1] = children;
|
|
@@ -50289,7 +50583,7 @@ var SourceAnnotation = function(t0) {
|
|
|
50289
50583
|
return null;
|
|
50290
50584
|
};
|
|
50291
50585
|
// src/components/avatars/Avatar.tsx
|
|
50292
|
-
var
|
|
50586
|
+
var import_react_compiler_runtime103 = require("react-compiler-runtime");
|
|
50293
50587
|
// src/lib/enums/index.ts
|
|
50294
50588
|
var IconAvatarName = /* @__PURE__ */ function(IconAvatarName2) {
|
|
50295
50589
|
IconAvatarName2["BACKPACK"] = "BACKPACK";
|
|
@@ -50314,7 +50608,7 @@ var AvatarType = /* @__PURE__ */ function(AvatarType2) {
|
|
|
50314
50608
|
// src/components/avatars/Avatar.tsx
|
|
50315
50609
|
var import_themes69 = require("@radix-ui/themes");
|
|
50316
50610
|
// src/components/imageAvatars/ImageAvatar/index.tsx
|
|
50317
|
-
var
|
|
50611
|
+
var import_react_compiler_runtime101 = require("react-compiler-runtime");
|
|
50318
50612
|
var import_themes67 = require("@radix-ui/themes");
|
|
50319
50613
|
// src/components/imageAvatars/ImageAvatar/lib/optimizedSrc/path.ts
|
|
50320
50614
|
var width = function(_ref) {
|
|
@@ -50368,7 +50662,7 @@ var optimizedSrc = function(_ref) {
|
|
|
50368
50662
|
// src/components/imageAvatars/ImageAvatar/index.tsx
|
|
50369
50663
|
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
50370
50664
|
var ImageAvatar = function(t0) {
|
|
50371
|
-
var $ = (0,
|
|
50665
|
+
var $ = (0, import_react_compiler_runtime101.c)(9);
|
|
50372
50666
|
var imageAvatar = t0.imageAvatar, size = t0.size, className = t0.className, style = t0.style;
|
|
50373
50667
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
50374
50668
|
var t1;
|
|
@@ -50405,7 +50699,7 @@ var ImageAvatar = function(t0) {
|
|
|
50405
50699
|
return t2;
|
|
50406
50700
|
};
|
|
50407
50701
|
// src/components/iconAvatars/IconAvatar.tsx
|
|
50408
|
-
var
|
|
50702
|
+
var import_react_compiler_runtime102 = require("react-compiler-runtime");
|
|
50409
50703
|
var import_react72 = require("react");
|
|
50410
50704
|
var import_themes68 = require("@radix-ui/themes");
|
|
50411
50705
|
// src/lib/iconAvatars/iconAvatarComponents.ts
|
|
@@ -50415,7 +50709,7 @@ var iconAvatarComponents = (_obj = {}, _define_property(_obj, IconAvatarName.BAC
|
|
|
50415
50709
|
// src/components/iconAvatars/IconAvatar.tsx
|
|
50416
50710
|
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
50417
50711
|
var IconAvatar = function(t0) {
|
|
50418
|
-
var $ = (0,
|
|
50712
|
+
var $ = (0, import_react_compiler_runtime102.c)(7);
|
|
50419
50713
|
var iconAvatar = t0.iconAvatar, size = t0.size, className = t0.className, style = t0.style;
|
|
50420
50714
|
var t1;
|
|
50421
50715
|
t1 = iconAvatarComponents[iconAvatar.name];
|
|
@@ -50449,7 +50743,7 @@ var IconAvatar = function(t0) {
|
|
|
50449
50743
|
// src/components/avatars/Avatar.tsx
|
|
50450
50744
|
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
50451
50745
|
var Avatar6 = function(t0) {
|
|
50452
|
-
var $ = (0,
|
|
50746
|
+
var $ = (0, import_react_compiler_runtime103.c)(14);
|
|
50453
50747
|
var avatar = t0.avatar, t1 = t0.size, className = t0.className, style = t0.style;
|
|
50454
50748
|
var size = t1 === void 0 ? "1" : t1;
|
|
50455
50749
|
if (avatar) {
|
|
@@ -50510,7 +50804,7 @@ var Avatar6 = function(t0) {
|
|
|
50510
50804
|
return t2;
|
|
50511
50805
|
};
|
|
50512
50806
|
// src/components/components/ComponentsProvider.tsx
|
|
50513
|
-
var
|
|
50807
|
+
var import_react_compiler_runtime104 = require("react-compiler-runtime");
|
|
50514
50808
|
var import_react74 = require("react");
|
|
50515
50809
|
// src/hooks/components/useComponents.ts
|
|
50516
50810
|
var import_react73 = require("react");
|
|
@@ -50519,19 +50813,19 @@ var useComponents = function() {
|
|
|
50519
50813
|
};
|
|
50520
50814
|
// src/components/components/ComponentsProvider.tsx
|
|
50521
50815
|
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
50522
|
-
var
|
|
50816
|
+
var _excluded9 = [
|
|
50523
50817
|
"children"
|
|
50524
50818
|
];
|
|
50525
|
-
function
|
|
50819
|
+
function _objectWithoutProperties9(e, t) {
|
|
50526
50820
|
if (null == e) return {};
|
|
50527
|
-
var o, r, i =
|
|
50821
|
+
var o, r, i = _objectWithoutPropertiesLoose9(e, t);
|
|
50528
50822
|
if (Object.getOwnPropertySymbols) {
|
|
50529
50823
|
var n = Object.getOwnPropertySymbols(e);
|
|
50530
50824
|
for(r = 0; r < n.length; r++)o = n[r], -1 === t.indexOf(o) && ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
50531
50825
|
}
|
|
50532
50826
|
return i;
|
|
50533
50827
|
}
|
|
50534
|
-
function
|
|
50828
|
+
function _objectWithoutPropertiesLoose9(r, e) {
|
|
50535
50829
|
if (null == r) return {};
|
|
50536
50830
|
var t = {};
|
|
50537
50831
|
for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
|
|
@@ -50541,13 +50835,13 @@ function _objectWithoutPropertiesLoose8(r, e) {
|
|
|
50541
50835
|
return t;
|
|
50542
50836
|
}
|
|
50543
50837
|
var ComponentsProvider = function(t0) {
|
|
50544
|
-
var $ = (0,
|
|
50838
|
+
var $ = (0, import_react_compiler_runtime104.c)(9);
|
|
50545
50839
|
var children;
|
|
50546
50840
|
var rest;
|
|
50547
50841
|
if ($[0] !== t0) {
|
|
50548
50842
|
var _t = t0;
|
|
50549
50843
|
children = _t.children;
|
|
50550
|
-
rest =
|
|
50844
|
+
rest = _objectWithoutProperties9(_t, _excluded9);
|
|
50551
50845
|
_t;
|
|
50552
50846
|
$[0] = t0;
|
|
50553
50847
|
$[1] = children;
|
|
@@ -50584,11 +50878,11 @@ var ComponentsProvider = function(t0) {
|
|
|
50584
50878
|
return t3;
|
|
50585
50879
|
};
|
|
50586
50880
|
// src/components/assistants/AssistantProvider/index.tsx
|
|
50587
|
-
var
|
|
50881
|
+
var import_react_compiler_runtime105 = require("react-compiler-runtime");
|
|
50588
50882
|
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
50589
50883
|
var AssistantProvider = function(t0) {
|
|
50590
50884
|
var _assistant$name;
|
|
50591
|
-
var $ = (0,
|
|
50885
|
+
var $ = (0, import_react_compiler_runtime105.c)(10);
|
|
50592
50886
|
var children = t0.children;
|
|
50593
50887
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
50594
50888
|
var t1;
|