open-chat-studio-widget 0.4.6 → 0.4.8

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.
Files changed (60) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  3. package/dist/cjs/{index-c9203be6.js → index-AhSI5tER.js} +329 -238
  4. package/dist/cjs/index-AhSI5tER.js.map +1 -0
  5. package/dist/cjs/index.cjs.js +1 -0
  6. package/dist/cjs/index.cjs.js.map +1 -1
  7. package/dist/cjs/loader.cjs.js +4 -5
  8. package/dist/cjs/loader.cjs.js.map +1 -1
  9. package/dist/cjs/open-chat-studio-widget.cjs.entry.js +3941 -3904
  10. package/dist/cjs/open-chat-studio-widget.cjs.entry.js.map +1 -1
  11. package/dist/cjs/open-chat-studio-widget.cjs.js +8 -7
  12. package/dist/cjs/open-chat-studio-widget.cjs.js.map +1 -1
  13. package/dist/cjs/open-chat-studio-widget.entry.cjs.js.map +1 -0
  14. package/dist/collection/collection-manifest.json +1 -1
  15. package/dist/collection/components/ocs-chat/ocs-chat.css +36 -661
  16. package/dist/collection/components/ocs-chat/ocs-chat.js +41 -20
  17. package/dist/collection/components/ocs-chat/ocs-chat.js.map +1 -1
  18. package/dist/components/index.js +2 -1
  19. package/dist/components/open-chat-studio-widget.js +3939 -3900
  20. package/dist/components/open-chat-studio-widget.js.map +1 -1
  21. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  22. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  23. package/dist/esm/{index-0349ca51.js → index-DkJ7OJTS.js} +327 -216
  24. package/dist/esm/index-DkJ7OJTS.js.map +1 -0
  25. package/dist/esm/index.js +1 -0
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/esm/loader.js +5 -4
  28. package/dist/esm/loader.js.map +1 -1
  29. package/dist/esm/open-chat-studio-widget.entry.js +3942 -3903
  30. package/dist/esm/open-chat-studio-widget.entry.js.map +1 -1
  31. package/dist/esm/open-chat-studio-widget.js +7 -5
  32. package/dist/esm/open-chat-studio-widget.js.map +1 -1
  33. package/dist/open-chat-studio-widget/index.esm.js.map +1 -1
  34. package/dist/open-chat-studio-widget/loader.esm.js.map +1 -0
  35. package/dist/open-chat-studio-widget/open-chat-studio-widget.entry.esm.js.map +1 -0
  36. package/dist/open-chat-studio-widget/open-chat-studio-widget.esm.js +1 -1
  37. package/dist/open-chat-studio-widget/open-chat-studio-widget.esm.js.map +1 -1
  38. package/dist/open-chat-studio-widget/p-DQuL1Twl.js +2 -0
  39. package/dist/open-chat-studio-widget/p-DQuL1Twl.js.map +1 -0
  40. package/dist/open-chat-studio-widget/p-DkJ7OJTS.js +3 -0
  41. package/dist/open-chat-studio-widget/p-DkJ7OJTS.js.map +1 -0
  42. package/dist/open-chat-studio-widget/p-bde68fbd.entry.js +4 -0
  43. package/dist/open-chat-studio-widget/p-bde68fbd.entry.js.map +1 -0
  44. package/dist/types/components/ocs-chat/ocs-chat.d.ts +5 -0
  45. package/dist/types/components.d.ts +20 -0
  46. package/dist/types/stencil-public-runtime.d.ts +35 -6
  47. package/package.json +2 -2
  48. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  49. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  50. package/dist/cjs/index-c9203be6.js.map +0 -1
  51. package/dist/esm/app-globals-0f993ce5.js +0 -5
  52. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  53. package/dist/esm/index-0349ca51.js.map +0 -1
  54. package/dist/open-chat-studio-widget/p-16df1b20.entry.js +0 -4
  55. package/dist/open-chat-studio-widget/p-16df1b20.entry.js.map +0 -1
  56. package/dist/open-chat-studio-widget/p-3dc66a9a.js +0 -3
  57. package/dist/open-chat-studio-widget/p-3dc66a9a.js.map +0 -1
  58. package/dist/open-chat-studio-widget/p-e1255160.js +0 -2
  59. package/dist/open-chat-studio-widget/p-e1255160.js.map +0 -1
  60. package/loader/package.json +0 -11
@@ -499,6 +499,39 @@ video {
499
499
  [hidden]:where(:not([hidden="until-found"])) {
500
500
  display: none;
501
501
  }
502
+ .container {
503
+ width: 100%;
504
+ }
505
+ @media (min-width: 640px) {
506
+
507
+ .container {
508
+ max-width: 640px;
509
+ }
510
+ }
511
+ @media (min-width: 768px) {
512
+
513
+ .container {
514
+ max-width: 768px;
515
+ }
516
+ }
517
+ @media (min-width: 1024px) {
518
+
519
+ .container {
520
+ max-width: 1024px;
521
+ }
522
+ }
523
+ @media (min-width: 1280px) {
524
+
525
+ .container {
526
+ max-width: 1280px;
527
+ }
528
+ }
529
+ @media (min-width: 1536px) {
530
+
531
+ .container {
532
+ max-width: 1536px;
533
+ }
534
+ }
502
535
  #ocs-chat-window {
503
536
  z-index: var(--chat-z-index);
504
537
  font-size: var(--chat-window-font-size);
@@ -747,6 +780,7 @@ video {
747
780
  overflow-y: auto;
748
781
  }
749
782
  .messages-container::-webkit-scrollbar {
783
+ height: 0.375rem;
750
784
  width: 0.375rem;
751
785
  }
752
786
  .messages-container::-webkit-scrollbar-track {
@@ -1342,6 +1376,7 @@ textarea {
1342
1376
  overflow-y: auto;
1343
1377
  }
1344
1378
  textarea::-webkit-scrollbar {
1379
+ height: 0.375rem;
1345
1380
  width: 0.375rem;
1346
1381
  }
1347
1382
  textarea::-webkit-scrollbar-track {
@@ -1371,6 +1406,7 @@ textarea::-webkit-scrollbar-thumb:hover {
1371
1406
  height: var(--loading-spinner-size);
1372
1407
  }
1373
1408
  .overflow-y-auto::-webkit-scrollbar {
1409
+ height: 0.375rem;
1374
1410
  width: 0.375rem;
1375
1411
  }
1376
1412
  .overflow-y-auto::-webkit-scrollbar-track {
@@ -2054,667 +2090,6 @@ textarea::-webkit-scrollbar-thumb:hover {
2054
2090
  margin-top: 0.1em;
2055
2091
  margin-bottom: 0.1em;
2056
2092
  }
2057
- .message-bubble-assistant .chat-markdown {
2058
- color: var(--tw-prose-body);
2059
- max-width: 65ch;
2060
- }
2061
- .message-bubble-assistant .chat-markdown :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2062
- margin-top: 1.25em;
2063
- margin-bottom: 1.25em;
2064
- }
2065
- .message-bubble-assistant .chat-markdown :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2066
- color: var(--tw-prose-lead);
2067
- font-size: 1.25em;
2068
- line-height: 1.6;
2069
- margin-top: 1.2em;
2070
- margin-bottom: 1.2em;
2071
- }
2072
- .message-bubble-assistant .chat-markdown :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2073
- color: var(--tw-prose-links);
2074
- text-decoration: underline;
2075
- font-weight: 500;
2076
- }
2077
- .message-bubble-assistant .chat-markdown :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2078
- color: var(--tw-prose-bold);
2079
- font-weight: 600;
2080
- }
2081
- .message-bubble-assistant .chat-markdown :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2082
- color: inherit;
2083
- }
2084
- .message-bubble-assistant .chat-markdown :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2085
- color: inherit;
2086
- }
2087
- .message-bubble-assistant .chat-markdown :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2088
- color: inherit;
2089
- }
2090
- .message-bubble-assistant .chat-markdown :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2091
- list-style-type: decimal;
2092
- margin-top: 1.25em;
2093
- margin-bottom: 1.25em;
2094
- padding-inline-start: 1.625em;
2095
- }
2096
- .message-bubble-assistant .chat-markdown :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2097
- list-style-type: upper-alpha;
2098
- }
2099
- .message-bubble-assistant .chat-markdown :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2100
- list-style-type: lower-alpha;
2101
- }
2102
- .message-bubble-assistant .chat-markdown :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2103
- list-style-type: upper-alpha;
2104
- }
2105
- .message-bubble-assistant .chat-markdown :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2106
- list-style-type: lower-alpha;
2107
- }
2108
- .message-bubble-assistant .chat-markdown :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2109
- list-style-type: upper-roman;
2110
- }
2111
- .message-bubble-assistant .chat-markdown :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2112
- list-style-type: lower-roman;
2113
- }
2114
- .message-bubble-assistant .chat-markdown :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2115
- list-style-type: upper-roman;
2116
- }
2117
- .message-bubble-assistant .chat-markdown :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2118
- list-style-type: lower-roman;
2119
- }
2120
- .message-bubble-assistant .chat-markdown :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2121
- list-style-type: decimal;
2122
- }
2123
- .message-bubble-assistant .chat-markdown :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2124
- list-style-type: disc;
2125
- margin-top: 1.25em;
2126
- margin-bottom: 1.25em;
2127
- padding-inline-start: 1.625em;
2128
- }
2129
- .message-bubble-assistant .chat-markdown :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
2130
- font-weight: 400;
2131
- color: var(--tw-prose-counters);
2132
- }
2133
- .message-bubble-assistant .chat-markdown :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
2134
- color: var(--tw-prose-bullets);
2135
- }
2136
- .message-bubble-assistant .chat-markdown :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2137
- color: var(--tw-prose-headings);
2138
- font-weight: 600;
2139
- margin-top: 1.25em;
2140
- }
2141
- .message-bubble-assistant .chat-markdown :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2142
- border-color: var(--tw-prose-hr);
2143
- border-top-width: 1px;
2144
- margin-top: 3em;
2145
- margin-bottom: 3em;
2146
- }
2147
- .message-bubble-assistant .chat-markdown :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2148
- font-weight: 500;
2149
- font-style: italic;
2150
- color: var(--tw-prose-quotes);
2151
- border-inline-start-width: 0.25rem;
2152
- border-inline-start-color: var(--tw-prose-quote-borders);
2153
- quotes: "\201C""\201D""\2018""\2019";
2154
- margin-top: 1.6em;
2155
- margin-bottom: 1.6em;
2156
- padding-inline-start: 1em;
2157
- }
2158
- .message-bubble-assistant .chat-markdown :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
2159
- content: open-quote;
2160
- }
2161
- .message-bubble-assistant .chat-markdown :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
2162
- content: close-quote;
2163
- }
2164
- .message-bubble-assistant .chat-markdown :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2165
- color: var(--tw-prose-headings);
2166
- font-weight: 800;
2167
- font-size: 2.25em;
2168
- margin-top: 0;
2169
- margin-bottom: 0.8888889em;
2170
- line-height: 1.1111111;
2171
- }
2172
- .message-bubble-assistant .chat-markdown :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2173
- font-weight: 900;
2174
- color: inherit;
2175
- }
2176
- .message-bubble-assistant .chat-markdown :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2177
- color: var(--tw-prose-headings);
2178
- font-weight: 700;
2179
- font-size: 1.5em;
2180
- margin-top: 2em;
2181
- margin-bottom: 1em;
2182
- line-height: 1.3333333;
2183
- }
2184
- .message-bubble-assistant .chat-markdown :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2185
- font-weight: 800;
2186
- color: inherit;
2187
- }
2188
- .message-bubble-assistant .chat-markdown :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2189
- color: var(--tw-prose-headings);
2190
- font-weight: 600;
2191
- font-size: 1.25em;
2192
- margin-top: 1.6em;
2193
- margin-bottom: 0.6em;
2194
- line-height: 1.6;
2195
- }
2196
- .message-bubble-assistant .chat-markdown :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2197
- font-weight: 700;
2198
- color: inherit;
2199
- }
2200
- .message-bubble-assistant .chat-markdown :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2201
- color: var(--tw-prose-headings);
2202
- font-weight: 600;
2203
- margin-top: 1.5em;
2204
- margin-bottom: 0.5em;
2205
- line-height: 1.5;
2206
- }
2207
- .message-bubble-assistant .chat-markdown :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2208
- font-weight: 700;
2209
- color: inherit;
2210
- }
2211
- .message-bubble-assistant .chat-markdown :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2212
- margin-top: 2em;
2213
- margin-bottom: 2em;
2214
- }
2215
- .message-bubble-assistant .chat-markdown :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2216
- display: block;
2217
- margin-top: 2em;
2218
- margin-bottom: 2em;
2219
- }
2220
- .message-bubble-assistant .chat-markdown :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2221
- margin-top: 2em;
2222
- margin-bottom: 2em;
2223
- }
2224
- .message-bubble-assistant .chat-markdown :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2225
- font-weight: 500;
2226
- font-family: inherit;
2227
- color: var(--tw-prose-kbd);
2228
- box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
2229
- font-size: 0.875em;
2230
- border-radius: 0.3125rem;
2231
- padding-top: 0.1875em;
2232
- padding-inline-end: 0.375em;
2233
- padding-bottom: 0.1875em;
2234
- padding-inline-start: 0.375em;
2235
- }
2236
- .message-bubble-assistant .chat-markdown :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2237
- color: var(--tw-prose-code);
2238
- font-weight: 600;
2239
- font-size: 0.875em;
2240
- }
2241
- .message-bubble-assistant .chat-markdown :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
2242
- content: "`";
2243
- }
2244
- .message-bubble-assistant .chat-markdown :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
2245
- content: "`";
2246
- }
2247
- .message-bubble-assistant .chat-markdown :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2248
- color: inherit;
2249
- }
2250
- .message-bubble-assistant .chat-markdown :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2251
- color: inherit;
2252
- }
2253
- .message-bubble-assistant .chat-markdown :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2254
- color: inherit;
2255
- font-size: 0.875em;
2256
- }
2257
- .message-bubble-assistant .chat-markdown :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2258
- color: inherit;
2259
- font-size: 0.9em;
2260
- }
2261
- .message-bubble-assistant .chat-markdown :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2262
- color: inherit;
2263
- }
2264
- .message-bubble-assistant .chat-markdown :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2265
- color: inherit;
2266
- }
2267
- .message-bubble-assistant .chat-markdown :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2268
- color: inherit;
2269
- }
2270
- .message-bubble-assistant .chat-markdown :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2271
- color: var(--tw-prose-pre-code);
2272
- background-color: var(--tw-prose-pre-bg);
2273
- overflow-x: auto;
2274
- font-weight: 400;
2275
- font-size: 0.875em;
2276
- line-height: 1.7142857;
2277
- margin-top: 1.7142857em;
2278
- margin-bottom: 1.7142857em;
2279
- border-radius: 0.375rem;
2280
- padding-top: 0.8571429em;
2281
- padding-inline-end: 1.1428571em;
2282
- padding-bottom: 0.8571429em;
2283
- padding-inline-start: 1.1428571em;
2284
- }
2285
- .message-bubble-assistant .chat-markdown :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2286
- background-color: transparent;
2287
- border-width: 0;
2288
- border-radius: 0;
2289
- padding: 0;
2290
- font-weight: inherit;
2291
- color: inherit;
2292
- font-size: inherit;
2293
- font-family: inherit;
2294
- line-height: inherit;
2295
- }
2296
- .message-bubble-assistant .chat-markdown :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
2297
- content: none;
2298
- }
2299
- .message-bubble-assistant .chat-markdown :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
2300
- content: none;
2301
- }
2302
- .message-bubble-assistant .chat-markdown :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2303
- width: 100%;
2304
- table-layout: auto;
2305
- margin-top: 2em;
2306
- margin-bottom: 2em;
2307
- font-size: 0.875em;
2308
- line-height: 1.7142857;
2309
- }
2310
- .message-bubble-assistant .chat-markdown :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2311
- border-bottom-width: 1px;
2312
- border-bottom-color: var(--tw-prose-th-borders);
2313
- }
2314
- .message-bubble-assistant .chat-markdown :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2315
- color: var(--tw-prose-headings);
2316
- font-weight: 600;
2317
- vertical-align: bottom;
2318
- padding-inline-end: 0.5714286em;
2319
- padding-bottom: 0.5714286em;
2320
- padding-inline-start: 0.5714286em;
2321
- }
2322
- .message-bubble-assistant .chat-markdown :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2323
- border-bottom-width: 1px;
2324
- border-bottom-color: var(--tw-prose-td-borders);
2325
- }
2326
- .message-bubble-assistant .chat-markdown :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2327
- border-bottom-width: 0;
2328
- }
2329
- .message-bubble-assistant .chat-markdown :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2330
- vertical-align: baseline;
2331
- }
2332
- .message-bubble-assistant .chat-markdown :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2333
- border-top-width: 1px;
2334
- border-top-color: var(--tw-prose-th-borders);
2335
- }
2336
- .message-bubble-assistant .chat-markdown :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2337
- vertical-align: top;
2338
- }
2339
- .message-bubble-assistant .chat-markdown :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2340
- text-align: start;
2341
- }
2342
- .message-bubble-assistant .chat-markdown :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2343
- margin-top: 0;
2344
- margin-bottom: 0;
2345
- }
2346
- .message-bubble-assistant .chat-markdown :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2347
- color: var(--tw-prose-captions);
2348
- font-size: 0.875em;
2349
- line-height: 1.4285714;
2350
- margin-top: 0.8571429em;
2351
- }
2352
- .message-bubble-assistant .chat-markdown {
2353
- --tw-prose-body: #374151;
2354
- --tw-prose-headings: #111827;
2355
- --tw-prose-lead: #4b5563;
2356
- --tw-prose-links: #111827;
2357
- --tw-prose-bold: #111827;
2358
- --tw-prose-counters: #6b7280;
2359
- --tw-prose-bullets: #d1d5db;
2360
- --tw-prose-hr: #e5e7eb;
2361
- --tw-prose-quotes: #111827;
2362
- --tw-prose-quote-borders: #e5e7eb;
2363
- --tw-prose-captions: #6b7280;
2364
- --tw-prose-kbd: #111827;
2365
- --tw-prose-kbd-shadows: 17 24 39;
2366
- --tw-prose-code: #111827;
2367
- --tw-prose-pre-code: #e5e7eb;
2368
- --tw-prose-pre-bg: #1f2937;
2369
- --tw-prose-th-borders: #d1d5db;
2370
- --tw-prose-td-borders: #e5e7eb;
2371
- --tw-prose-invert-body: #d1d5db;
2372
- --tw-prose-invert-headings: #fff;
2373
- --tw-prose-invert-lead: #9ca3af;
2374
- --tw-prose-invert-links: #fff;
2375
- --tw-prose-invert-bold: #fff;
2376
- --tw-prose-invert-counters: #9ca3af;
2377
- --tw-prose-invert-bullets: #4b5563;
2378
- --tw-prose-invert-hr: #374151;
2379
- --tw-prose-invert-quotes: #f3f4f6;
2380
- --tw-prose-invert-quote-borders: #374151;
2381
- --tw-prose-invert-captions: #9ca3af;
2382
- --tw-prose-invert-kbd: #fff;
2383
- --tw-prose-invert-kbd-shadows: 255 255 255;
2384
- --tw-prose-invert-code: #fff;
2385
- --tw-prose-invert-pre-code: #d1d5db;
2386
- --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
2387
- --tw-prose-invert-th-borders: #4b5563;
2388
- --tw-prose-invert-td-borders: #374151;
2389
- font-size: 1rem;
2390
- line-height: 1.75;
2391
- }
2392
- .message-bubble-assistant .chat-markdown :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2393
- margin-top: 0;
2394
- margin-bottom: 0;
2395
- }
2396
- .message-bubble-assistant .chat-markdown :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2397
- margin-top: 0.5em;
2398
- margin-bottom: 0.5em;
2399
- }
2400
- .message-bubble-assistant .chat-markdown :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2401
- padding-inline-start: 0.375em;
2402
- }
2403
- .message-bubble-assistant .chat-markdown :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2404
- padding-inline-start: 0.375em;
2405
- }
2406
- .message-bubble-assistant .chat-markdown :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2407
- margin-top: 0.75em;
2408
- margin-bottom: 0.75em;
2409
- }
2410
- .message-bubble-assistant .chat-markdown :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2411
- margin-top: 1.25em;
2412
- }
2413
- .message-bubble-assistant .chat-markdown :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2414
- margin-bottom: 1.25em;
2415
- }
2416
- .message-bubble-assistant .chat-markdown :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2417
- margin-top: 1.25em;
2418
- }
2419
- .message-bubble-assistant .chat-markdown :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2420
- margin-bottom: 1.25em;
2421
- }
2422
- .message-bubble-assistant .chat-markdown :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2423
- margin-top: 0.75em;
2424
- margin-bottom: 0.75em;
2425
- }
2426
- .message-bubble-assistant .chat-markdown :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2427
- margin-top: 1.25em;
2428
- margin-bottom: 1.25em;
2429
- }
2430
- .message-bubble-assistant .chat-markdown :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2431
- margin-top: 0.5em;
2432
- padding-inline-start: 1.625em;
2433
- }
2434
- .message-bubble-assistant .chat-markdown :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2435
- margin-top: 0;
2436
- }
2437
- .message-bubble-assistant .chat-markdown :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2438
- margin-top: 0;
2439
- }
2440
- .message-bubble-assistant .chat-markdown :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2441
- margin-top: 0;
2442
- }
2443
- .message-bubble-assistant .chat-markdown :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2444
- margin-top: 0;
2445
- }
2446
- .message-bubble-assistant .chat-markdown :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2447
- padding-inline-start: 0;
2448
- }
2449
- .message-bubble-assistant .chat-markdown :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2450
- padding-inline-end: 0;
2451
- }
2452
- .message-bubble-assistant .chat-markdown :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2453
- padding-top: 0.5714286em;
2454
- padding-inline-end: 0.5714286em;
2455
- padding-bottom: 0.5714286em;
2456
- padding-inline-start: 0.5714286em;
2457
- }
2458
- .message-bubble-assistant .chat-markdown :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2459
- padding-inline-start: 0;
2460
- }
2461
- .message-bubble-assistant .chat-markdown :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2462
- padding-inline-end: 0;
2463
- }
2464
- .message-bubble-assistant .chat-markdown :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2465
- margin-top: 2em;
2466
- margin-bottom: 2em;
2467
- }
2468
- .message-bubble-assistant .chat-markdown :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2469
- margin-top: 0;
2470
- }
2471
- .message-bubble-assistant .chat-markdown :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2472
- margin-bottom: 0;
2473
- }
2474
- .message-bubble-assistant .chat-markdown {
2475
- font-size: 0.875rem;
2476
- line-height: 1.7142857;
2477
- }
2478
- .message-bubble-assistant .chat-markdown :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2479
- margin-top: 1.1428571em;
2480
- margin-bottom: 1.1428571em;
2481
- }
2482
- .message-bubble-assistant .chat-markdown :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2483
- font-size: 1.2857143em;
2484
- line-height: 1.5555556;
2485
- margin-top: 0.8888889em;
2486
- margin-bottom: 0.8888889em;
2487
- }
2488
- .message-bubble-assistant .chat-markdown :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2489
- margin-top: 1.3333333em;
2490
- margin-bottom: 1.3333333em;
2491
- padding-inline-start: 1.1111111em;
2492
- }
2493
- .message-bubble-assistant .chat-markdown :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2494
- font-size: 2.1428571em;
2495
- margin-top: 0;
2496
- margin-bottom: 0.8em;
2497
- line-height: 1.2;
2498
- }
2499
- .message-bubble-assistant .chat-markdown :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2500
- font-size: 1.4285714em;
2501
- margin-top: 1.6em;
2502
- margin-bottom: 0.8em;
2503
- line-height: 1.4;
2504
- }
2505
- .message-bubble-assistant .chat-markdown :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2506
- font-size: 1.2857143em;
2507
- margin-top: 1.5555556em;
2508
- margin-bottom: 0.4444444em;
2509
- line-height: 1.5555556;
2510
- }
2511
- .message-bubble-assistant .chat-markdown :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2512
- margin-top: 1.4285714em;
2513
- margin-bottom: 0.5714286em;
2514
- line-height: 1.4285714;
2515
- }
2516
- .message-bubble-assistant .chat-markdown :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2517
- margin-top: 1.7142857em;
2518
- margin-bottom: 1.7142857em;
2519
- }
2520
- .message-bubble-assistant .chat-markdown :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2521
- margin-top: 1.7142857em;
2522
- margin-bottom: 1.7142857em;
2523
- }
2524
- .message-bubble-assistant .chat-markdown :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2525
- margin-top: 0;
2526
- margin-bottom: 0;
2527
- }
2528
- .message-bubble-assistant .chat-markdown :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2529
- margin-top: 1.7142857em;
2530
- margin-bottom: 1.7142857em;
2531
- }
2532
- .message-bubble-assistant .chat-markdown :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2533
- font-size: 0.8571429em;
2534
- border-radius: 0.3125rem;
2535
- padding-top: 0.1428571em;
2536
- padding-inline-end: 0.3571429em;
2537
- padding-bottom: 0.1428571em;
2538
- padding-inline-start: 0.3571429em;
2539
- }
2540
- .message-bubble-assistant .chat-markdown :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2541
- font-size: 0.8571429em;
2542
- }
2543
- .message-bubble-assistant .chat-markdown :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2544
- font-size: 0.9em;
2545
- }
2546
- .message-bubble-assistant .chat-markdown :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2547
- font-size: 0.8888889em;
2548
- }
2549
- .message-bubble-assistant .chat-markdown :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2550
- font-size: 0.8571429em;
2551
- line-height: 1.6666667;
2552
- margin-top: 1.6666667em;
2553
- margin-bottom: 1.6666667em;
2554
- border-radius: 0.25rem;
2555
- padding-top: 0.6666667em;
2556
- padding-inline-end: 1em;
2557
- padding-bottom: 0.6666667em;
2558
- padding-inline-start: 1em;
2559
- }
2560
- .message-bubble-assistant .chat-markdown :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2561
- margin-top: 1.1428571em;
2562
- margin-bottom: 1.1428571em;
2563
- padding-inline-start: 1.5714286em;
2564
- }
2565
- .message-bubble-assistant .chat-markdown :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2566
- margin-top: 1.1428571em;
2567
- margin-bottom: 1.1428571em;
2568
- padding-inline-start: 1.5714286em;
2569
- }
2570
- .message-bubble-assistant .chat-markdown :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2571
- margin-top: 0.2857143em;
2572
- margin-bottom: 0.2857143em;
2573
- }
2574
- .message-bubble-assistant .chat-markdown :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2575
- padding-inline-start: 0.4285714em;
2576
- }
2577
- .message-bubble-assistant .chat-markdown :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2578
- padding-inline-start: 0.4285714em;
2579
- }
2580
- .message-bubble-assistant .chat-markdown :where(.prose-sm > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2581
- margin-top: 0.5714286em;
2582
- margin-bottom: 0.5714286em;
2583
- }
2584
- .message-bubble-assistant .chat-markdown :where(.prose-sm > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2585
- margin-top: 1.1428571em;
2586
- }
2587
- .message-bubble-assistant .chat-markdown :where(.prose-sm > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2588
- margin-bottom: 1.1428571em;
2589
- }
2590
- .message-bubble-assistant .chat-markdown :where(.prose-sm > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2591
- margin-top: 1.1428571em;
2592
- }
2593
- .message-bubble-assistant .chat-markdown :where(.prose-sm > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2594
- margin-bottom: 1.1428571em;
2595
- }
2596
- .message-bubble-assistant .chat-markdown :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2597
- margin-top: 0.5714286em;
2598
- margin-bottom: 0.5714286em;
2599
- }
2600
- .message-bubble-assistant .chat-markdown :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2601
- margin-top: 1.1428571em;
2602
- margin-bottom: 1.1428571em;
2603
- }
2604
- .message-bubble-assistant .chat-markdown :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2605
- margin-top: 1.1428571em;
2606
- }
2607
- .message-bubble-assistant .chat-markdown :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2608
- margin-top: 0.2857143em;
2609
- padding-inline-start: 1.5714286em;
2610
- }
2611
- .message-bubble-assistant .chat-markdown :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2612
- margin-top: 2.8571429em;
2613
- margin-bottom: 2.8571429em;
2614
- }
2615
- .message-bubble-assistant .chat-markdown :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2616
- margin-top: 0;
2617
- }
2618
- .message-bubble-assistant .chat-markdown :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2619
- margin-top: 0;
2620
- }
2621
- .message-bubble-assistant .chat-markdown :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2622
- margin-top: 0;
2623
- }
2624
- .message-bubble-assistant .chat-markdown :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2625
- margin-top: 0;
2626
- }
2627
- .message-bubble-assistant .chat-markdown :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2628
- font-size: 0.8571429em;
2629
- line-height: 1.5;
2630
- }
2631
- .message-bubble-assistant .chat-markdown :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2632
- padding-inline-end: 1em;
2633
- padding-bottom: 0.6666667em;
2634
- padding-inline-start: 1em;
2635
- }
2636
- .message-bubble-assistant .chat-markdown :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2637
- padding-inline-start: 0;
2638
- }
2639
- .message-bubble-assistant .chat-markdown :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2640
- padding-inline-end: 0;
2641
- }
2642
- .message-bubble-assistant .chat-markdown :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2643
- padding-top: 0.6666667em;
2644
- padding-inline-end: 1em;
2645
- padding-bottom: 0.6666667em;
2646
- padding-inline-start: 1em;
2647
- }
2648
- .message-bubble-assistant .chat-markdown :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2649
- padding-inline-start: 0;
2650
- }
2651
- .message-bubble-assistant .chat-markdown :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2652
- padding-inline-end: 0;
2653
- }
2654
- .message-bubble-assistant .chat-markdown :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2655
- margin-top: 1.7142857em;
2656
- margin-bottom: 1.7142857em;
2657
- }
2658
- .message-bubble-assistant .chat-markdown :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2659
- margin-top: 0;
2660
- margin-bottom: 0;
2661
- }
2662
- .message-bubble-assistant .chat-markdown :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2663
- font-size: 0.8571429em;
2664
- line-height: 1.3333333;
2665
- margin-top: 0.6666667em;
2666
- }
2667
- .message-bubble-assistant .chat-markdown :where(.prose-sm > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2668
- margin-top: 0;
2669
- }
2670
- .message-bubble-assistant .chat-markdown :where(.prose-sm > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
2671
- margin-bottom: 0;
2672
- }
2673
- .message-bubble-assistant .chat-markdown {
2674
- --tw-prose-body: #374151;
2675
- --tw-prose-headings: #111827;
2676
- --tw-prose-lead: #4b5563;
2677
- --tw-prose-links: #111827;
2678
- --tw-prose-bold: #111827;
2679
- --tw-prose-counters: #6b7280;
2680
- --tw-prose-bullets: #d1d5db;
2681
- --tw-prose-hr: #e5e7eb;
2682
- --tw-prose-quotes: #111827;
2683
- --tw-prose-quote-borders: #e5e7eb;
2684
- --tw-prose-captions: #6b7280;
2685
- --tw-prose-kbd: #111827;
2686
- --tw-prose-kbd-shadows: 17 24 39;
2687
- --tw-prose-code: #111827;
2688
- --tw-prose-pre-code: #e5e7eb;
2689
- --tw-prose-pre-bg: #1f2937;
2690
- --tw-prose-th-borders: #d1d5db;
2691
- --tw-prose-td-borders: #e5e7eb;
2692
- --tw-prose-invert-body: #d1d5db;
2693
- --tw-prose-invert-headings: #fff;
2694
- --tw-prose-invert-lead: #9ca3af;
2695
- --tw-prose-invert-links: #fff;
2696
- --tw-prose-invert-bold: #fff;
2697
- --tw-prose-invert-counters: #9ca3af;
2698
- --tw-prose-invert-bullets: #4b5563;
2699
- --tw-prose-invert-hr: #374151;
2700
- --tw-prose-invert-quotes: #f3f4f6;
2701
- --tw-prose-invert-quote-borders: #374151;
2702
- --tw-prose-invert-captions: #9ca3af;
2703
- --tw-prose-invert-kbd: #fff;
2704
- --tw-prose-invert-kbd-shadows: 255 255 255;
2705
- --tw-prose-invert-code: #fff;
2706
- --tw-prose-invert-pre-code: #d1d5db;
2707
- --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
2708
- --tw-prose-invert-th-borders: #4b5563;
2709
- --tw-prose-invert-td-borders: #374151;
2710
- max-width: none;
2711
- }
2712
- .message-bubble-assistant .chat-markdown :is(:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
2713
- text-decoration-line: none;
2714
- }
2715
- .message-bubble-assistant .chat-markdown :is(:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *))):hover {
2716
- text-decoration-line: underline;
2717
- }
2718
2093
  .message-bubble-assistant .chat-markdown {
2719
2094
  --tw-prose-body: var(--message-assistant-text-color);
2720
2095
  --tw-prose-headings: var(--message-assistant-text-color);