@gram-ai/elements 1.4.0 → 1.5.0
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/elements.cjs +3 -3
- package/dist/elements.css +1 -1
- package/dist/elements.js +154 -100
- package/dist/index.d.ts +1 -1
- package/dist/types/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/elements.js
CHANGED
|
@@ -7304,7 +7304,7 @@ var Ib = (t) => Object.fromEntries(
|
|
|
7304
7304
|
};
|
|
7305
7305
|
const ma = _l(
|
|
7306
7306
|
void 0
|
|
7307
|
-
), Cb = "/chat/completions",
|
|
7307
|
+
), Cb = "/chat/completions", $I = ({
|
|
7308
7308
|
children: t,
|
|
7309
7309
|
config: r
|
|
7310
7310
|
}) => {
|
|
@@ -7885,12 +7885,12 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
7885
7885
|
}, Zy = [], Q = (t) => {
|
|
7886
7886
|
const r = (i) => i[t] || Zy;
|
|
7887
7887
|
return r.isThemeGetter = !0, r;
|
|
7888
|
-
}, ka = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Na = /^\((?:(\w[\w-]*):)?(.+)\)$/i, By = /^\d+\/\d+$/, Vy = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Gy = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Jy = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ky = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qy = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, He = (t) => By.test(t),
|
|
7888
|
+
}, ka = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Na = /^\((?:(\w[\w-]*):)?(.+)\)$/i, By = /^\d+\/\d+$/, Vy = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Gy = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Jy = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ky = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qy = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, He = (t) => By.test(t), U = (t) => !!t && !Number.isNaN(Number(t)), Te = (t) => !!t && Number.isInteger(Number(t)), Tr = (t) => t.endsWith("%") && U(t.slice(0, -1)), Ie = (t) => Vy.test(t), Hy = () => !0, Xy = (t) => (
|
|
7889
7889
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
7890
7890
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
7891
7891
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
7892
7892
|
Gy.test(t) && !Jy.test(t)
|
|
7893
|
-
), Ea = () => !1, Yy = (t) => Ky.test(t), Qy = (t) => qy.test(t), e$ = (t) => !O(t) && !C(t), t$ = (t) => dt(t, Pa, Ea), O = (t) => ka.test(t), Me = (t) => dt(t, Ta, Xy), Ar = (t) => dt(t, a$,
|
|
7893
|
+
), Ea = () => !1, Yy = (t) => Ky.test(t), Qy = (t) => qy.test(t), e$ = (t) => !O(t) && !C(t), t$ = (t) => dt(t, Pa, Ea), O = (t) => ka.test(t), Me = (t) => dt(t, Ta, Xy), Ar = (t) => dt(t, a$, U), fo = (t) => dt(t, Oa, Ea), r$ = (t) => dt(t, Ca, Qy), Ft = (t) => dt(t, Aa, Yy), C = (t) => Na.test(t), xt = (t) => mt(t, Ta), n$ = (t) => mt(t, s$), po = (t) => mt(t, Oa), o$ = (t) => mt(t, Pa), i$ = (t) => mt(t, Ca), Wt = (t) => mt(t, Aa, !0), dt = (t, r, i) => {
|
|
7894
7894
|
const o = ka.exec(t);
|
|
7895
7895
|
return o ? o[1] ? r(o[1]) : i(o[2]) : !1;
|
|
7896
7896
|
}, mt = (t, r, i = !1) => {
|
|
@@ -7931,14 +7931,14 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
7931
7931
|
l,
|
|
7932
7932
|
C,
|
|
7933
7933
|
O
|
|
7934
|
-
], ne = () => ["",
|
|
7934
|
+
], ne = () => ["", U, xt, Me], Be = () => ["solid", "dashed", "dotted", "double"], Ut = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => [U, Tr, po, fo], ht = () => [
|
|
7935
7935
|
// Deprecated since Tailwind CSS v4.0.0
|
|
7936
7936
|
"",
|
|
7937
7937
|
"none",
|
|
7938
7938
|
v,
|
|
7939
7939
|
C,
|
|
7940
7940
|
O
|
|
7941
|
-
], Ve = () => ["none",
|
|
7941
|
+
], Ve = () => ["none", U, C, O], Ge = () => ["none", U, C, O], bt = () => [U, C, O], Je = () => [He, "full", ..._()];
|
|
7942
7942
|
return {
|
|
7943
7943
|
cacheSize: 500,
|
|
7944
7944
|
theme: {
|
|
@@ -7957,7 +7957,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
7957
7957
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
7958
7958
|
radius: [Ie],
|
|
7959
7959
|
shadow: [Ie],
|
|
7960
|
-
spacing: ["px",
|
|
7960
|
+
spacing: ["px", U],
|
|
7961
7961
|
text: [Ie],
|
|
7962
7962
|
"text-shadow": [Ie],
|
|
7963
7963
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -7984,7 +7984,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
7984
7984
|
* @see https://tailwindcss.com/docs/columns
|
|
7985
7985
|
*/
|
|
7986
7986
|
columns: [{
|
|
7987
|
-
columns: [
|
|
7987
|
+
columns: [U, O, C, s]
|
|
7988
7988
|
}],
|
|
7989
7989
|
/**
|
|
7990
7990
|
* Break After
|
|
@@ -8215,21 +8215,21 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
8215
8215
|
* @see https://tailwindcss.com/docs/flex
|
|
8216
8216
|
*/
|
|
8217
8217
|
flex: [{
|
|
8218
|
-
flex: [
|
|
8218
|
+
flex: [U, He, "auto", "initial", "none", O]
|
|
8219
8219
|
}],
|
|
8220
8220
|
/**
|
|
8221
8221
|
* Flex Grow
|
|
8222
8222
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
8223
8223
|
*/
|
|
8224
8224
|
grow: [{
|
|
8225
|
-
grow: ["",
|
|
8225
|
+
grow: ["", U, C, O]
|
|
8226
8226
|
}],
|
|
8227
8227
|
/**
|
|
8228
8228
|
* Flex Shrink
|
|
8229
8229
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
8230
8230
|
*/
|
|
8231
8231
|
shrink: [{
|
|
8232
|
-
shrink: ["",
|
|
8232
|
+
shrink: ["", U, C, O]
|
|
8233
8233
|
}],
|
|
8234
8234
|
/**
|
|
8235
8235
|
* Order
|
|
@@ -8706,7 +8706,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
8706
8706
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
8707
8707
|
*/
|
|
8708
8708
|
"line-clamp": [{
|
|
8709
|
-
"line-clamp": [
|
|
8709
|
+
"line-clamp": [U, "none", C, Ar]
|
|
8710
8710
|
}],
|
|
8711
8711
|
/**
|
|
8712
8712
|
* Line Height
|
|
@@ -8779,7 +8779,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
8779
8779
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
8780
8780
|
*/
|
|
8781
8781
|
"text-decoration-thickness": [{
|
|
8782
|
-
decoration: [
|
|
8782
|
+
decoration: [U, "from-font", "auto", C, Me]
|
|
8783
8783
|
}],
|
|
8784
8784
|
/**
|
|
8785
8785
|
* Text Decoration Color
|
|
@@ -8793,7 +8793,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
8793
8793
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
8794
8794
|
*/
|
|
8795
8795
|
"underline-offset": [{
|
|
8796
|
-
"underline-offset": [
|
|
8796
|
+
"underline-offset": [U, "auto", C, O]
|
|
8797
8797
|
}],
|
|
8798
8798
|
/**
|
|
8799
8799
|
* Text Transform
|
|
@@ -9259,14 +9259,14 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9259
9259
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
9260
9260
|
*/
|
|
9261
9261
|
"outline-offset": [{
|
|
9262
|
-
"outline-offset": [
|
|
9262
|
+
"outline-offset": [U, C, O]
|
|
9263
9263
|
}],
|
|
9264
9264
|
/**
|
|
9265
9265
|
* Outline Width
|
|
9266
9266
|
* @see https://tailwindcss.com/docs/outline-width
|
|
9267
9267
|
*/
|
|
9268
9268
|
"outline-w": [{
|
|
9269
|
-
outline: ["",
|
|
9269
|
+
outline: ["", U, xt, Me]
|
|
9270
9270
|
}],
|
|
9271
9271
|
/**
|
|
9272
9272
|
* Outline Color
|
|
@@ -9341,7 +9341,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9341
9341
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
9342
9342
|
*/
|
|
9343
9343
|
"ring-offset-w": [{
|
|
9344
|
-
"ring-offset": [
|
|
9344
|
+
"ring-offset": [U, Me]
|
|
9345
9345
|
}],
|
|
9346
9346
|
/**
|
|
9347
9347
|
* Ring Offset Color
|
|
@@ -9385,7 +9385,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9385
9385
|
* @see https://tailwindcss.com/docs/opacity
|
|
9386
9386
|
*/
|
|
9387
9387
|
opacity: [{
|
|
9388
|
-
opacity: [
|
|
9388
|
+
opacity: [U, C, O]
|
|
9389
9389
|
}],
|
|
9390
9390
|
/**
|
|
9391
9391
|
* Mix Blend Mode
|
|
@@ -9420,7 +9420,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9420
9420
|
* @see https://tailwindcss.com/docs/mask-image
|
|
9421
9421
|
*/
|
|
9422
9422
|
"mask-image-linear-pos": [{
|
|
9423
|
-
"mask-linear": [
|
|
9423
|
+
"mask-linear": [U]
|
|
9424
9424
|
}],
|
|
9425
9425
|
"mask-image-linear-from-pos": [{
|
|
9426
9426
|
"mask-linear-from": Z()
|
|
@@ -9534,7 +9534,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9534
9534
|
"mask-radial-at": y()
|
|
9535
9535
|
}],
|
|
9536
9536
|
"mask-image-conic-pos": [{
|
|
9537
|
-
"mask-conic": [
|
|
9537
|
+
"mask-conic": [U]
|
|
9538
9538
|
}],
|
|
9539
9539
|
"mask-image-conic-from-pos": [{
|
|
9540
9540
|
"mask-conic-from": Z()
|
|
@@ -9625,14 +9625,14 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9625
9625
|
* @see https://tailwindcss.com/docs/brightness
|
|
9626
9626
|
*/
|
|
9627
9627
|
brightness: [{
|
|
9628
|
-
brightness: [
|
|
9628
|
+
brightness: [U, C, O]
|
|
9629
9629
|
}],
|
|
9630
9630
|
/**
|
|
9631
9631
|
* Contrast
|
|
9632
9632
|
* @see https://tailwindcss.com/docs/contrast
|
|
9633
9633
|
*/
|
|
9634
9634
|
contrast: [{
|
|
9635
|
-
contrast: [
|
|
9635
|
+
contrast: [U, C, O]
|
|
9636
9636
|
}],
|
|
9637
9637
|
/**
|
|
9638
9638
|
* Drop Shadow
|
|
@@ -9660,35 +9660,35 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9660
9660
|
* @see https://tailwindcss.com/docs/grayscale
|
|
9661
9661
|
*/
|
|
9662
9662
|
grayscale: [{
|
|
9663
|
-
grayscale: ["",
|
|
9663
|
+
grayscale: ["", U, C, O]
|
|
9664
9664
|
}],
|
|
9665
9665
|
/**
|
|
9666
9666
|
* Hue Rotate
|
|
9667
9667
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
9668
9668
|
*/
|
|
9669
9669
|
"hue-rotate": [{
|
|
9670
|
-
"hue-rotate": [
|
|
9670
|
+
"hue-rotate": [U, C, O]
|
|
9671
9671
|
}],
|
|
9672
9672
|
/**
|
|
9673
9673
|
* Invert
|
|
9674
9674
|
* @see https://tailwindcss.com/docs/invert
|
|
9675
9675
|
*/
|
|
9676
9676
|
invert: [{
|
|
9677
|
-
invert: ["",
|
|
9677
|
+
invert: ["", U, C, O]
|
|
9678
9678
|
}],
|
|
9679
9679
|
/**
|
|
9680
9680
|
* Saturate
|
|
9681
9681
|
* @see https://tailwindcss.com/docs/saturate
|
|
9682
9682
|
*/
|
|
9683
9683
|
saturate: [{
|
|
9684
|
-
saturate: [
|
|
9684
|
+
saturate: [U, C, O]
|
|
9685
9685
|
}],
|
|
9686
9686
|
/**
|
|
9687
9687
|
* Sepia
|
|
9688
9688
|
* @see https://tailwindcss.com/docs/sepia
|
|
9689
9689
|
*/
|
|
9690
9690
|
sepia: [{
|
|
9691
|
-
sepia: ["",
|
|
9691
|
+
sepia: ["", U, C, O]
|
|
9692
9692
|
}],
|
|
9693
9693
|
/**
|
|
9694
9694
|
* Backdrop Filter
|
|
@@ -9715,56 +9715,56 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9715
9715
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
9716
9716
|
*/
|
|
9717
9717
|
"backdrop-brightness": [{
|
|
9718
|
-
"backdrop-brightness": [
|
|
9718
|
+
"backdrop-brightness": [U, C, O]
|
|
9719
9719
|
}],
|
|
9720
9720
|
/**
|
|
9721
9721
|
* Backdrop Contrast
|
|
9722
9722
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
9723
9723
|
*/
|
|
9724
9724
|
"backdrop-contrast": [{
|
|
9725
|
-
"backdrop-contrast": [
|
|
9725
|
+
"backdrop-contrast": [U, C, O]
|
|
9726
9726
|
}],
|
|
9727
9727
|
/**
|
|
9728
9728
|
* Backdrop Grayscale
|
|
9729
9729
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
9730
9730
|
*/
|
|
9731
9731
|
"backdrop-grayscale": [{
|
|
9732
|
-
"backdrop-grayscale": ["",
|
|
9732
|
+
"backdrop-grayscale": ["", U, C, O]
|
|
9733
9733
|
}],
|
|
9734
9734
|
/**
|
|
9735
9735
|
* Backdrop Hue Rotate
|
|
9736
9736
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
9737
9737
|
*/
|
|
9738
9738
|
"backdrop-hue-rotate": [{
|
|
9739
|
-
"backdrop-hue-rotate": [
|
|
9739
|
+
"backdrop-hue-rotate": [U, C, O]
|
|
9740
9740
|
}],
|
|
9741
9741
|
/**
|
|
9742
9742
|
* Backdrop Invert
|
|
9743
9743
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
9744
9744
|
*/
|
|
9745
9745
|
"backdrop-invert": [{
|
|
9746
|
-
"backdrop-invert": ["",
|
|
9746
|
+
"backdrop-invert": ["", U, C, O]
|
|
9747
9747
|
}],
|
|
9748
9748
|
/**
|
|
9749
9749
|
* Backdrop Opacity
|
|
9750
9750
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
9751
9751
|
*/
|
|
9752
9752
|
"backdrop-opacity": [{
|
|
9753
|
-
"backdrop-opacity": [
|
|
9753
|
+
"backdrop-opacity": [U, C, O]
|
|
9754
9754
|
}],
|
|
9755
9755
|
/**
|
|
9756
9756
|
* Backdrop Saturate
|
|
9757
9757
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
9758
9758
|
*/
|
|
9759
9759
|
"backdrop-saturate": [{
|
|
9760
|
-
"backdrop-saturate": [
|
|
9760
|
+
"backdrop-saturate": [U, C, O]
|
|
9761
9761
|
}],
|
|
9762
9762
|
/**
|
|
9763
9763
|
* Backdrop Sepia
|
|
9764
9764
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
9765
9765
|
*/
|
|
9766
9766
|
"backdrop-sepia": [{
|
|
9767
|
-
"backdrop-sepia": ["",
|
|
9767
|
+
"backdrop-sepia": ["", U, C, O]
|
|
9768
9768
|
}],
|
|
9769
9769
|
// --------------
|
|
9770
9770
|
// --- Tables ---
|
|
@@ -9833,7 +9833,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9833
9833
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
9834
9834
|
*/
|
|
9835
9835
|
duration: [{
|
|
9836
|
-
duration: [
|
|
9836
|
+
duration: [U, "initial", C, O]
|
|
9837
9837
|
}],
|
|
9838
9838
|
/**
|
|
9839
9839
|
* Transition Timing Function
|
|
@@ -9847,7 +9847,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
9847
9847
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
9848
9848
|
*/
|
|
9849
9849
|
delay: [{
|
|
9850
|
-
delay: [
|
|
9850
|
+
delay: [U, C, O]
|
|
9851
9851
|
}],
|
|
9852
9852
|
/**
|
|
9853
9853
|
* Animation
|
|
@@ -10291,7 +10291,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
10291
10291
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
10292
10292
|
*/
|
|
10293
10293
|
"stroke-w": [{
|
|
10294
|
-
stroke: [
|
|
10294
|
+
stroke: [U, xt, Me, Ar]
|
|
10295
10295
|
}],
|
|
10296
10296
|
/**
|
|
10297
10297
|
* Stroke
|
|
@@ -10367,7 +10367,7 @@ const so = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, lo = xa, x
|
|
|
10367
10367
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
10368
10368
|
};
|
|
10369
10369
|
}, c$ = /* @__PURE__ */ Wy(l$);
|
|
10370
|
-
function
|
|
10370
|
+
function j(...t) {
|
|
10371
10371
|
return c$(xa(t));
|
|
10372
10372
|
}
|
|
10373
10373
|
const u$ = xy(
|
|
@@ -10400,7 +10400,7 @@ const u$ = xy(
|
|
|
10400
10400
|
o ? py : "button",
|
|
10401
10401
|
{
|
|
10402
10402
|
"data-slot": "button",
|
|
10403
|
-
className:
|
|
10403
|
+
className: j(u$({ variant: r, size: i, className: t })),
|
|
10404
10404
|
ref: n,
|
|
10405
10405
|
...e
|
|
10406
10406
|
}
|
|
@@ -12720,7 +12720,7 @@ function ys({
|
|
|
12720
12720
|
{
|
|
12721
12721
|
"data-slot": "tooltip-content",
|
|
12722
12722
|
sideOffset: r,
|
|
12723
|
-
className:
|
|
12723
|
+
className: j(
|
|
12724
12724
|
"bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
12725
12725
|
t
|
|
12726
12726
|
),
|
|
@@ -12739,7 +12739,7 @@ const me = ur(({ children: t, tooltip: r, side: i = "bottom", className: o, ...e
|
|
|
12739
12739
|
variant: "ghost",
|
|
12740
12740
|
size: "icon",
|
|
12741
12741
|
...e,
|
|
12742
|
-
className:
|
|
12742
|
+
className: j("aui-button-icon size-6 p-1", o),
|
|
12743
12743
|
ref: n,
|
|
12744
12744
|
children: [
|
|
12745
12745
|
/* @__PURE__ */ m(hy, { children: t }),
|
|
@@ -12781,7 +12781,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12781
12781
|
h1: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12782
12782
|
"h1",
|
|
12783
12783
|
{
|
|
12784
|
-
className:
|
|
12784
|
+
className: j(
|
|
12785
12785
|
"aui-md-h1 mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0",
|
|
12786
12786
|
t
|
|
12787
12787
|
),
|
|
@@ -12791,7 +12791,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12791
12791
|
h2: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12792
12792
|
"h2",
|
|
12793
12793
|
{
|
|
12794
|
-
className:
|
|
12794
|
+
className: j(
|
|
12795
12795
|
"aui-md-h2 mt-8 mb-4 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0",
|
|
12796
12796
|
t
|
|
12797
12797
|
),
|
|
@@ -12801,7 +12801,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12801
12801
|
h3: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12802
12802
|
"h3",
|
|
12803
12803
|
{
|
|
12804
|
-
className:
|
|
12804
|
+
className: j(
|
|
12805
12805
|
"aui-md-h3 mt-6 mb-4 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0",
|
|
12806
12806
|
t
|
|
12807
12807
|
),
|
|
@@ -12811,7 +12811,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12811
12811
|
h4: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12812
12812
|
"h4",
|
|
12813
12813
|
{
|
|
12814
|
-
className:
|
|
12814
|
+
className: j(
|
|
12815
12815
|
"aui-md-h4 mt-6 mb-4 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0",
|
|
12816
12816
|
t
|
|
12817
12817
|
),
|
|
@@ -12821,7 +12821,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12821
12821
|
h5: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12822
12822
|
"h5",
|
|
12823
12823
|
{
|
|
12824
|
-
className:
|
|
12824
|
+
className: j(
|
|
12825
12825
|
"aui-md-h5 my-4 text-lg font-semibold first:mt-0 last:mb-0",
|
|
12826
12826
|
t
|
|
12827
12827
|
),
|
|
@@ -12831,7 +12831,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12831
12831
|
h6: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12832
12832
|
"h6",
|
|
12833
12833
|
{
|
|
12834
|
-
className:
|
|
12834
|
+
className: j(
|
|
12835
12835
|
"aui-md-h6 my-4 font-semibold first:mt-0 last:mb-0",
|
|
12836
12836
|
t
|
|
12837
12837
|
),
|
|
@@ -12841,7 +12841,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12841
12841
|
p: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12842
12842
|
"p",
|
|
12843
12843
|
{
|
|
12844
|
-
className:
|
|
12844
|
+
className: j(
|
|
12845
12845
|
"aui-md-p mt-5 mb-5 leading-7 first:mt-0 last:mb-0",
|
|
12846
12846
|
t
|
|
12847
12847
|
),
|
|
@@ -12851,7 +12851,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12851
12851
|
a: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12852
12852
|
"a",
|
|
12853
12853
|
{
|
|
12854
|
-
className:
|
|
12854
|
+
className: j(
|
|
12855
12855
|
"aui-md-a text-primary font-medium underline underline-offset-4",
|
|
12856
12856
|
t
|
|
12857
12857
|
),
|
|
@@ -12861,29 +12861,29 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12861
12861
|
blockquote: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12862
12862
|
"blockquote",
|
|
12863
12863
|
{
|
|
12864
|
-
className:
|
|
12864
|
+
className: j("aui-md-blockquote border-l-2 pl-6 italic", t),
|
|
12865
12865
|
...r
|
|
12866
12866
|
}
|
|
12867
12867
|
),
|
|
12868
12868
|
ul: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12869
12869
|
"ul",
|
|
12870
12870
|
{
|
|
12871
|
-
className:
|
|
12871
|
+
className: j("aui-md-ul my-5 ml-6 list-disc [&>li]:mt-2", t),
|
|
12872
12872
|
...r
|
|
12873
12873
|
}
|
|
12874
12874
|
),
|
|
12875
12875
|
ol: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12876
12876
|
"ol",
|
|
12877
12877
|
{
|
|
12878
|
-
className:
|
|
12878
|
+
className: j("aui-md-ol my-5 ml-6 list-decimal [&>li]:mt-2", t),
|
|
12879
12879
|
...r
|
|
12880
12880
|
}
|
|
12881
12881
|
),
|
|
12882
|
-
hr: ({ className: t, ...r }) => /* @__PURE__ */ m("hr", { className:
|
|
12882
|
+
hr: ({ className: t, ...r }) => /* @__PURE__ */ m("hr", { className: j("aui-md-hr my-5 border-b", t), ...r }),
|
|
12883
12883
|
table: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12884
12884
|
"table",
|
|
12885
12885
|
{
|
|
12886
|
-
className:
|
|
12886
|
+
className: j(
|
|
12887
12887
|
"aui-md-table my-5 w-full border-separate border-spacing-0 overflow-y-auto",
|
|
12888
12888
|
t
|
|
12889
12889
|
),
|
|
@@ -12893,7 +12893,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12893
12893
|
th: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12894
12894
|
"th",
|
|
12895
12895
|
{
|
|
12896
|
-
className:
|
|
12896
|
+
className: j(
|
|
12897
12897
|
"aui-md-th bg-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [[align=center]]:text-center [[align=right]]:text-right",
|
|
12898
12898
|
t
|
|
12899
12899
|
),
|
|
@@ -12903,7 +12903,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12903
12903
|
td: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12904
12904
|
"td",
|
|
12905
12905
|
{
|
|
12906
|
-
className:
|
|
12906
|
+
className: j(
|
|
12907
12907
|
"aui-md-td border-b border-l px-4 py-2 text-left last:border-r [[align=center]]:text-center [[align=right]]:text-right",
|
|
12908
12908
|
t
|
|
12909
12909
|
),
|
|
@@ -12913,7 +12913,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12913
12913
|
tr: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12914
12914
|
"tr",
|
|
12915
12915
|
{
|
|
12916
|
-
className:
|
|
12916
|
+
className: j(
|
|
12917
12917
|
"aui-md-tr m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg",
|
|
12918
12918
|
t
|
|
12919
12919
|
),
|
|
@@ -12923,14 +12923,14 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12923
12923
|
sup: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12924
12924
|
"sup",
|
|
12925
12925
|
{
|
|
12926
|
-
className:
|
|
12926
|
+
className: j("aui-md-sup [&>a]:text-xs [&>a]:no-underline", t),
|
|
12927
12927
|
...r
|
|
12928
12928
|
}
|
|
12929
12929
|
),
|
|
12930
12930
|
pre: ({ className: t, ...r }) => /* @__PURE__ */ m(
|
|
12931
12931
|
"pre",
|
|
12932
12932
|
{
|
|
12933
|
-
className:
|
|
12933
|
+
className: j(
|
|
12934
12934
|
"aui-md-pre overflow-x-auto rounded-t-none! rounded-b-lg bg-black p-4 text-white",
|
|
12935
12935
|
t
|
|
12936
12936
|
),
|
|
@@ -12942,7 +12942,7 @@ const Nw = () => /* @__PURE__ */ m(
|
|
|
12942
12942
|
return /* @__PURE__ */ m(
|
|
12943
12943
|
"code",
|
|
12944
12944
|
{
|
|
12945
|
-
className:
|
|
12945
|
+
className: j(
|
|
12946
12946
|
!o && "aui-md-inline-code bg-muted rounded border font-semibold",
|
|
12947
12947
|
r
|
|
12948
12948
|
),
|
|
@@ -13130,7 +13130,7 @@ const Eo = 200, Is = ({ className: t, children: r }) => {
|
|
|
13130
13130
|
ref: i,
|
|
13131
13131
|
open: o,
|
|
13132
13132
|
onOpenChange: a,
|
|
13133
|
-
className:
|
|
13133
|
+
className: j("aui-reasoning-root mb-4 w-full", t),
|
|
13134
13134
|
style: {
|
|
13135
13135
|
"--animation-duration": `${Eo}ms`
|
|
13136
13136
|
},
|
|
@@ -13142,7 +13142,7 @@ Is.displayName = "ReasoningRoot";
|
|
|
13142
13142
|
const Ww = ({ className: t }) => /* @__PURE__ */ m(
|
|
13143
13143
|
"div",
|
|
13144
13144
|
{
|
|
13145
|
-
className:
|
|
13145
|
+
className: j(
|
|
13146
13146
|
"aui-reasoning-fade pointer-events-none absolute inset-x-0 bottom-0 z-10 h-16",
|
|
13147
13147
|
"bg-[linear-gradient(to_top,var(--color-background),transparent)]",
|
|
13148
13148
|
"fade-in-0 animate-in",
|
|
@@ -13162,7 +13162,7 @@ const Ww = ({ className: t }) => /* @__PURE__ */ m(
|
|
|
13162
13162
|
}) => /* @__PURE__ */ T(
|
|
13163
13163
|
Lw,
|
|
13164
13164
|
{
|
|
13165
|
-
className:
|
|
13165
|
+
className: j(
|
|
13166
13166
|
"aui-reasoning-trigger group/trigger text-muted-foreground hover:text-foreground -mb-2 flex max-w-[75%] items-center gap-2 py-2 text-sm transition-colors",
|
|
13167
13167
|
r,
|
|
13168
13168
|
t && "shimmer"
|
|
@@ -13183,7 +13183,7 @@ const Ww = ({ className: t }) => /* @__PURE__ */ m(
|
|
|
13183
13183
|
/* @__PURE__ */ m(
|
|
13184
13184
|
pa,
|
|
13185
13185
|
{
|
|
13186
|
-
className:
|
|
13186
|
+
className: j(
|
|
13187
13187
|
"aui-reasoning-trigger-chevron mt-0.5 size-4 shrink-0",
|
|
13188
13188
|
"transition-transform duration-(--animation-duration) ease-out",
|
|
13189
13189
|
"group-data-[state=closed]/trigger:-rotate-90",
|
|
@@ -13196,7 +13196,7 @@ const Ww = ({ className: t }) => /* @__PURE__ */ m(
|
|
|
13196
13196
|
), ks = ({ className: t, children: r, "aria-busy": i }) => /* @__PURE__ */ T(
|
|
13197
13197
|
Fw,
|
|
13198
13198
|
{
|
|
13199
|
-
className:
|
|
13199
|
+
className: j(
|
|
13200
13200
|
"aui-reasoning-content text-muted-foreground relative overflow-hidden text-sm outline-none",
|
|
13201
13201
|
"group/collapsible-content ease-out",
|
|
13202
13202
|
"data-[state=closed]:animate-collapsible-up",
|
|
@@ -13218,7 +13218,7 @@ ks.displayName = "ReasoningContent";
|
|
|
13218
13218
|
const Ns = ({ className: t, children: r }) => /* @__PURE__ */ m(
|
|
13219
13219
|
"div",
|
|
13220
13220
|
{
|
|
13221
|
-
className:
|
|
13221
|
+
className: j(
|
|
13222
13222
|
"aui-reasoning-text relative z-0 space-y-4 pt-4 pl-6 leading-relaxed",
|
|
13223
13223
|
"transform-gpu transition-[transform,opacity]",
|
|
13224
13224
|
"group-data-[state=open]/collapsible-content:animate-in",
|
|
@@ -14120,7 +14120,7 @@ Qs.displayName = Ys;
|
|
|
14120
14120
|
function Tn(t) {
|
|
14121
14121
|
return t ? "open" : "closed";
|
|
14122
14122
|
}
|
|
14123
|
-
var el = "DialogTitleWarning", [
|
|
14123
|
+
var el = "DialogTitleWarning", [xI, tl] = d$(el, {
|
|
14124
14124
|
contentName: We,
|
|
14125
14125
|
titleName: Pn,
|
|
14126
14126
|
docsSlug: "dialog"
|
|
@@ -14163,7 +14163,7 @@ function oS({
|
|
|
14163
14163
|
X_,
|
|
14164
14164
|
{
|
|
14165
14165
|
"data-slot": "dialog-overlay",
|
|
14166
|
-
className:
|
|
14166
|
+
className: j(
|
|
14167
14167
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
14168
14168
|
t
|
|
14169
14169
|
),
|
|
@@ -14183,7 +14183,7 @@ function iS({
|
|
|
14183
14183
|
Y_,
|
|
14184
14184
|
{
|
|
14185
14185
|
"data-slot": "dialog-content",
|
|
14186
|
-
className:
|
|
14186
|
+
className: j(
|
|
14187
14187
|
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
14188
14188
|
t
|
|
14189
14189
|
),
|
|
@@ -14214,7 +14214,7 @@ function aS({
|
|
|
14214
14214
|
Q_,
|
|
14215
14215
|
{
|
|
14216
14216
|
"data-slot": "dialog-title",
|
|
14217
|
-
className:
|
|
14217
|
+
className: j("text-lg leading-none font-semibold", t),
|
|
14218
14218
|
...r
|
|
14219
14219
|
}
|
|
14220
14220
|
);
|
|
@@ -14373,7 +14373,7 @@ function bS({
|
|
|
14373
14373
|
gS,
|
|
14374
14374
|
{
|
|
14375
14375
|
"data-slot": "avatar",
|
|
14376
|
-
className:
|
|
14376
|
+
className: j(
|
|
14377
14377
|
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
|
|
14378
14378
|
t
|
|
14379
14379
|
),
|
|
@@ -14389,7 +14389,7 @@ function yS({
|
|
|
14389
14389
|
vS,
|
|
14390
14390
|
{
|
|
14391
14391
|
"data-slot": "avatar-image",
|
|
14392
|
-
className:
|
|
14392
|
+
className: j("aspect-square size-full", t),
|
|
14393
14393
|
...r
|
|
14394
14394
|
}
|
|
14395
14395
|
);
|
|
@@ -14402,7 +14402,7 @@ function $S({
|
|
|
14402
14402
|
hS,
|
|
14403
14403
|
{
|
|
14404
14404
|
"data-slot": "avatar-fallback",
|
|
14405
|
-
className:
|
|
14405
|
+
className: j(
|
|
14406
14406
|
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
14407
14407
|
t
|
|
14408
14408
|
),
|
|
@@ -14496,7 +14496,7 @@ const xS = (t) => {
|
|
|
14496
14496
|
/* @__PURE__ */ T(
|
|
14497
14497
|
Vr.Root,
|
|
14498
14498
|
{
|
|
14499
|
-
className:
|
|
14499
|
+
className: j(
|
|
14500
14500
|
"aui-attachment-root relative",
|
|
14501
14501
|
i && "aui-attachment-root-composer only:[&>#attachment-tile]:size-24"
|
|
14502
14502
|
),
|
|
@@ -14504,7 +14504,7 @@ const xS = (t) => {
|
|
|
14504
14504
|
/* @__PURE__ */ m(_S, { children: /* @__PURE__ */ m(bs, { asChild: !0, children: /* @__PURE__ */ m(
|
|
14505
14505
|
"div",
|
|
14506
14506
|
{
|
|
14507
|
-
className:
|
|
14507
|
+
className: j(
|
|
14508
14508
|
"aui-attachment-tile bg-muted size-14 cursor-pointer overflow-hidden rounded-[14px] border transition-opacity hover:opacity-75",
|
|
14509
14509
|
r && "aui-attachment-tile-composer border-foreground/20"
|
|
14510
14510
|
),
|
|
@@ -14776,7 +14776,7 @@ function VS({
|
|
|
14776
14776
|
"data-slot": "popover-content",
|
|
14777
14777
|
align: r,
|
|
14778
14778
|
sideOffset: i,
|
|
14779
|
-
className:
|
|
14779
|
+
className: j(
|
|
14780
14780
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
|
|
14781
14781
|
t
|
|
14782
14782
|
),
|
|
@@ -15055,7 +15055,7 @@ const $l = () => {
|
|
|
15055
15055
|
yt.Root,
|
|
15056
15056
|
{
|
|
15057
15057
|
hideWhenSingleBranch: !0,
|
|
15058
|
-
className:
|
|
15058
|
+
className: j(
|
|
15059
15059
|
"aui-branch-picker-root text-muted-foreground mr-2 -ml-2 inline-flex items-center text-xs",
|
|
15060
15060
|
t
|
|
15061
15061
|
),
|
|
@@ -15084,31 +15084,85 @@ const $l = () => {
|
|
|
15084
15084
|
{
|
|
15085
15085
|
defaultOpen: t.modal?.defaultOpen ?? !1,
|
|
15086
15086
|
children: [
|
|
15087
|
-
/* @__PURE__ */ m(
|
|
15088
|
-
|
|
15089
|
-
Tg.div,
|
|
15087
|
+
/* @__PURE__ */ m(
|
|
15088
|
+
Mt.Anchor,
|
|
15090
15089
|
{
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
}
|
|
15096
|
-
animate: {
|
|
15097
|
-
width: r ? o.width : i.width,
|
|
15098
|
-
height: r ? o.height : i.height
|
|
15099
|
-
},
|
|
15100
|
-
transition: {
|
|
15101
|
-
duration: 0.3,
|
|
15102
|
-
ease: "easeInOut"
|
|
15103
|
-
},
|
|
15104
|
-
className: "aui-root aui-modal-content data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-bottom-1/2 data-[state=closed]:slide-out-to-right-1/2 data-[state=closed]:zoom-out data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-bottom-1/2 data-[state=open]:slide-in-from-right-1/2 data-[state=open]:zoom-in bg-popover text-popover-foreground data-[state=closed]:animate-out data-[state=open]:animate-in z-50 overflow-clip overscroll-contain rounded-xl border p-0 shadow-lg outline-none [&>.aui-thread-root]:bg-inherit",
|
|
15105
|
-
children: /* @__PURE__ */ m($l, {})
|
|
15090
|
+
className: j(
|
|
15091
|
+
"aui-root aui-modal-anchor fixed size-11",
|
|
15092
|
+
cI(t.modal?.position)
|
|
15093
|
+
),
|
|
15094
|
+
children: /* @__PURE__ */ m(Mt.Trigger, { asChild: !0, children: /* @__PURE__ */ m(wl, {}) })
|
|
15106
15095
|
}
|
|
15107
|
-
)
|
|
15096
|
+
),
|
|
15097
|
+
/* @__PURE__ */ m(
|
|
15098
|
+
Mt.Content,
|
|
15099
|
+
{
|
|
15100
|
+
...sI(t.modal?.position),
|
|
15101
|
+
asChild: !0,
|
|
15102
|
+
children: /* @__PURE__ */ m(
|
|
15103
|
+
Tg.div,
|
|
15104
|
+
{
|
|
15105
|
+
initial: {
|
|
15106
|
+
width: i.width,
|
|
15107
|
+
height: i.height,
|
|
15108
|
+
maxHeight: i?.maxHeight ?? void 0
|
|
15109
|
+
},
|
|
15110
|
+
animate: {
|
|
15111
|
+
width: r ? o.width : i.width,
|
|
15112
|
+
height: r ? o.height : i.height
|
|
15113
|
+
},
|
|
15114
|
+
transition: {
|
|
15115
|
+
duration: 0.3,
|
|
15116
|
+
ease: "easeInOut"
|
|
15117
|
+
},
|
|
15118
|
+
className: j(
|
|
15119
|
+
"aui-root aui-modal-content data-[state=closed]:zoom-out data-[state=open]:fade-in-0 data-[state=open]:zoom-in bg-popover text-popover-foreground data-[state=closed]:animate-out data-[state=open]:animate-in z-50 overflow-clip overscroll-contain rounded-xl border p-0 shadow-lg outline-none [&>.aui-thread-root]:bg-inherit",
|
|
15120
|
+
lI(t.modal?.position)
|
|
15121
|
+
),
|
|
15122
|
+
children: /* @__PURE__ */ m($l, {})
|
|
15123
|
+
}
|
|
15124
|
+
)
|
|
15125
|
+
}
|
|
15126
|
+
)
|
|
15108
15127
|
]
|
|
15109
15128
|
}
|
|
15110
15129
|
);
|
|
15111
|
-
}
|
|
15130
|
+
};
|
|
15131
|
+
function sI(t) {
|
|
15132
|
+
return {
|
|
15133
|
+
align: t === "bottom-left" || t === "top-left" ? "start" : "end",
|
|
15134
|
+
sideOffset: 16
|
|
15135
|
+
};
|
|
15136
|
+
}
|
|
15137
|
+
function lI(t) {
|
|
15138
|
+
switch (t) {
|
|
15139
|
+
case "bottom-right":
|
|
15140
|
+
return "slide-in-from-bottom-1/2 slide-in-from-right-1/2";
|
|
15141
|
+
case "bottom-left":
|
|
15142
|
+
return "slide-in-from-bottom-1/2 slide-in-from-left-1/2";
|
|
15143
|
+
case "top-right":
|
|
15144
|
+
return "slide-in-from-top-1/2 slide-in-from-right-1/2";
|
|
15145
|
+
case "top-left":
|
|
15146
|
+
return "slide-in-from-top-1/2 slide-in-from-left-1/2";
|
|
15147
|
+
default:
|
|
15148
|
+
return "slide-in-from-bottom-1/2 slide-in-from-right-1/2";
|
|
15149
|
+
}
|
|
15150
|
+
}
|
|
15151
|
+
function cI(t) {
|
|
15152
|
+
if (!t)
|
|
15153
|
+
return "right-4 bottom-4";
|
|
15154
|
+
switch (t) {
|
|
15155
|
+
case "bottom-right":
|
|
15156
|
+
return "right-4 bottom-4";
|
|
15157
|
+
case "bottom-left":
|
|
15158
|
+
return "left-4 bottom-4";
|
|
15159
|
+
case "top-right":
|
|
15160
|
+
return "right-4 top-4";
|
|
15161
|
+
case "top-left":
|
|
15162
|
+
return "left-4 top-4";
|
|
15163
|
+
}
|
|
15164
|
+
}
|
|
15165
|
+
const wl = ur(({ "data-state": t, ...r }, i) => {
|
|
15112
15166
|
const o = t === "open" ? "Close Assistant" : "Open Assistant", { config: e } = ge(), n = e.modal?.icon ? e.modal.icon(t) : /* @__PURE__ */ m(
|
|
15113
15167
|
Fb,
|
|
15114
15168
|
{
|
|
@@ -15140,12 +15194,12 @@ const $l = () => {
|
|
|
15140
15194
|
);
|
|
15141
15195
|
});
|
|
15142
15196
|
wl.displayName = "AssistantModalButton";
|
|
15143
|
-
const
|
|
15197
|
+
const wI = () => {
|
|
15144
15198
|
const { config: t } = ge();
|
|
15145
15199
|
return t.variant === "widget" ? /* @__PURE__ */ m(aI, {}) : /* @__PURE__ */ m($l, {});
|
|
15146
15200
|
};
|
|
15147
15201
|
export {
|
|
15148
|
-
|
|
15149
|
-
|
|
15202
|
+
wI as Chat,
|
|
15203
|
+
$I as GramElementsProvider,
|
|
15150
15204
|
ge as useGramElements
|
|
15151
15205
|
};
|