@carbon/ai-chat 0.1.6 → 0.1.7-alpha0

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 (144) hide show
  1. package/dist/cjs/{cds-aichat-internal.js → AppContainer.js} +615 -7203
  2. package/dist/cjs/Carousel.js +24 -16
  3. package/dist/cjs/Chat.js +813 -805
  4. package/dist/cjs/GenesysMessengerServiceDesk.js +60 -52
  5. package/dist/cjs/HumanAgentServiceImpl.js +103 -95
  6. package/dist/cjs/NiceDFOServiceDesk.js +56 -48
  7. package/dist/cjs/PDFViewerContainer.js +58 -149
  8. package/dist/cjs/ReactPlayer.js +2 -2
  9. package/dist/cjs/SFServiceDesk.js +66 -58
  10. package/dist/cjs/ServiceDeskImpl.js +2 -2
  11. package/dist/cjs/Table.js +457 -341
  12. package/dist/cjs/ZendeskServiceDesk.js +36 -28
  13. package/dist/cjs/_node-resolve_empty.js +2 -2
  14. package/dist/cjs/agentActions.js +5 -5
  15. package/dist/cjs/aiChatEntry.js +163 -144
  16. package/dist/cjs/anonymousUserIDStorage.js +8 -8
  17. package/dist/cjs/ar-dz.js +4 -4
  18. package/dist/cjs/ar-kw.js +4 -4
  19. package/dist/cjs/ar-ly.js +4 -4
  20. package/dist/cjs/ar-ma.js +4 -4
  21. package/dist/cjs/ar-sa.js +4 -4
  22. package/dist/cjs/ar-tn.js +4 -4
  23. package/dist/cjs/ar.js +4 -4
  24. package/dist/cjs/ar2.js +2 -2
  25. package/dist/cjs/cds-aichat-container.js +111 -23
  26. package/dist/cjs/cds-aichat-custom-element.js +42 -30
  27. package/dist/cjs/cs.js +4 -4
  28. package/dist/cjs/cs2.js +2 -2
  29. package/dist/cjs/de-at.js +4 -4
  30. package/dist/cjs/de-ch.js +4 -4
  31. package/dist/cjs/de.js +4 -4
  32. package/dist/cjs/de2.js +2 -2
  33. package/dist/cjs/en-au.js +4 -4
  34. package/dist/cjs/en-ca.js +4 -4
  35. package/dist/cjs/en-gb.js +4 -4
  36. package/dist/cjs/en-ie.js +4 -4
  37. package/dist/cjs/en-il.js +4 -4
  38. package/dist/cjs/en-nz.js +4 -4
  39. package/dist/cjs/es-do.js +4 -4
  40. package/dist/cjs/es-us.js +4 -4
  41. package/dist/cjs/es.js +4 -4
  42. package/dist/cjs/es2.js +2 -2
  43. package/dist/cjs/export.js +3 -3
  44. package/dist/cjs/export.legacy.js +3 -3
  45. package/dist/cjs/fontUtils.js +2 -2
  46. package/dist/cjs/fr-ca.js +4 -4
  47. package/dist/cjs/fr-ch.js +4 -4
  48. package/dist/cjs/fr.js +4 -4
  49. package/dist/cjs/fr2.js +2 -2
  50. package/dist/cjs/highlight_js.js +2 -2
  51. package/dist/cjs/it-ch.js +4 -4
  52. package/dist/cjs/it.js +4 -4
  53. package/dist/cjs/it2.js +2 -2
  54. package/dist/cjs/ja.js +4 -4
  55. package/dist/cjs/ja2.js +2 -2
  56. package/dist/cjs/ko.js +4 -4
  57. package/dist/cjs/ko2.js +2 -2
  58. package/dist/cjs/markdown.js +2362 -14
  59. package/dist/cjs/mockServiceDesk.js +42 -34
  60. package/dist/cjs/nl.js +4 -4
  61. package/dist/cjs/nl2.js +2 -2
  62. package/dist/cjs/pt-br.js +4 -4
  63. package/dist/cjs/pt-br2.js +2 -2
  64. package/dist/cjs/pt.js +4 -4
  65. package/dist/cjs/render.js +18 -10
  66. package/dist/cjs/zh-cn.js +4 -4
  67. package/dist/cjs/zh-tw.js +4 -4
  68. package/dist/cjs/zh-tw2.js +2 -2
  69. package/dist/cjs/zh.js +2 -2
  70. package/dist/es/{cds-aichat-internal.js → AppContainer.js} +1117 -7671
  71. package/dist/es/Carousel.js +16 -8
  72. package/dist/es/Chat.js +16 -8
  73. package/dist/es/GenesysMessengerServiceDesk.js +16 -8
  74. package/dist/es/HumanAgentServiceImpl.js +16 -8
  75. package/dist/es/NiceDFOServiceDesk.js +16 -8
  76. package/dist/es/PDFViewerContainer.js +16 -107
  77. package/dist/es/ReactPlayer.js +2 -2
  78. package/dist/es/SFServiceDesk.js +16 -8
  79. package/dist/es/ServiceDeskImpl.js +2 -2
  80. package/dist/es/Table.js +426 -310
  81. package/dist/es/ZendeskServiceDesk.js +16 -8
  82. package/dist/es/_node-resolve_empty.js +2 -2
  83. package/dist/es/agentActions.js +3 -3
  84. package/dist/es/aiChatEntry.js +136 -117
  85. package/dist/es/anonymousUserIDStorage.js +3 -3
  86. package/dist/es/ar-dz.js +3 -3
  87. package/dist/es/ar-kw.js +3 -3
  88. package/dist/es/ar-ly.js +3 -3
  89. package/dist/es/ar-ma.js +3 -3
  90. package/dist/es/ar-sa.js +3 -3
  91. package/dist/es/ar-tn.js +3 -3
  92. package/dist/es/ar.js +3 -3
  93. package/dist/es/ar2.js +2 -2
  94. package/dist/es/cds-aichat-container.js +103 -15
  95. package/dist/es/cds-aichat-custom-element.js +30 -18
  96. package/dist/es/cs.js +3 -3
  97. package/dist/es/cs2.js +2 -2
  98. package/dist/es/de-at.js +3 -3
  99. package/dist/es/de-ch.js +3 -3
  100. package/dist/es/de.js +3 -3
  101. package/dist/es/de2.js +2 -2
  102. package/dist/es/en-au.js +3 -3
  103. package/dist/es/en-ca.js +3 -3
  104. package/dist/es/en-gb.js +3 -3
  105. package/dist/es/en-ie.js +3 -3
  106. package/dist/es/en-il.js +3 -3
  107. package/dist/es/en-nz.js +3 -3
  108. package/dist/es/es-do.js +3 -3
  109. package/dist/es/es-us.js +3 -3
  110. package/dist/es/es.js +3 -3
  111. package/dist/es/es2.js +2 -2
  112. package/dist/es/export.js +3 -3
  113. package/dist/es/export.legacy.js +3 -3
  114. package/dist/es/fontUtils.js +2 -2
  115. package/dist/es/fr-ca.js +3 -3
  116. package/dist/es/fr-ch.js +3 -3
  117. package/dist/es/fr.js +3 -3
  118. package/dist/es/fr2.js +2 -2
  119. package/dist/es/highlight_js.js +2 -2
  120. package/dist/es/it-ch.js +3 -3
  121. package/dist/es/it.js +3 -3
  122. package/dist/es/it2.js +2 -2
  123. package/dist/es/ja.js +3 -3
  124. package/dist/es/ja2.js +2 -2
  125. package/dist/es/ko.js +3 -3
  126. package/dist/es/ko2.js +2 -2
  127. package/dist/es/markdown.js +2361 -15
  128. package/dist/es/mockServiceDesk.js +16 -8
  129. package/dist/es/nl.js +3 -3
  130. package/dist/es/nl2.js +2 -2
  131. package/dist/es/pt-br.js +3 -3
  132. package/dist/es/pt-br2.js +2 -2
  133. package/dist/es/pt.js +3 -3
  134. package/dist/es/render.js +17 -9
  135. package/dist/es/zh-cn.js +3 -3
  136. package/dist/es/zh-tw.js +3 -3
  137. package/dist/es/zh-tw2.js +2 -2
  138. package/dist/es/zh.js +2 -2
  139. package/dist/types/aiChatEntry.d.ts +69 -9
  140. package/package.json +27 -14
  141. package/dist/cjs/jstz.min.js +0 -43
  142. package/dist/cjs/markdown_attrs.js +0 -805
  143. package/dist/es/jstz.min.js +0 -41
  144. package/dist/es/markdown_attrs.js +0 -803
@@ -13,35 +13,43 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
- import { aj as createMessageResponseForText, ag as sleep, E as ErrorType, bm as assertType, i as MessageResponseTypes, d as ButtonItemKind, b as ButtonItemType } from './cds-aichat-internal.js';
24
- import 'lit';
25
- import 'lit/decorators.js';
23
+ import { ak as createMessageResponseForText, ai as sleep, E as ErrorType, bm as assertType, j as MessageResponseTypes, e as ButtonItemKind, d as ButtonItemType } from './AppContainer.js';
26
24
  import 'react';
27
- import 'react-dom';
28
25
  import './highlight_js.js';
29
26
  import '@carbon/react';
27
+ import 'classnames';
30
28
  import 'react-intl';
31
29
  import 'react-redux';
30
+ import 'tabbable';
31
+ import '@carbon/icons-react';
32
32
  import './markdown.js';
33
- import './markdown_attrs.js';
33
+ import 'tslib';
34
+ import 'lit';
35
+ import 'lit/decorators.js';
34
36
  import '@carbon/web-components/es/components/button/index.js';
35
37
  import '@carbon/web-components/es/components/overflow-menu/index.js';
36
38
  import 'lit/directives/unsafe-html.js';
39
+ import 'prop-types';
37
40
  import '@carbon/web-components/es/components/slug/index.js';
38
41
  import '@carbon/web-components/es/components/popover/defs.js';
39
42
  import '@carbon/web-components/es/components/slug/defs.js';
43
+ import '@floating-ui/react';
44
+ import 'react-dom';
40
45
  import '@carbon/web-components/es/components/slug/slug-action-button.js';
41
46
  import '@carbon/web-components/es/components/slug/slug.js';
47
+ import '@carbon/web-components/es/components/inline-loading/index.js';
48
+ import '@carbon/icon-helpers';
49
+ import '@carbon/icons';
50
+ import 'lit/directives/unsafe-svg.js';
42
51
  import '@carbon/web-components/es/components/textarea/index.js';
43
52
  import '@carbon/web-components/es/components/icon-button/index.js';
44
- import 'lit/directives/unsafe-svg.js';
45
53
  import '@carbon/web-components/es/components/tag/index.js';
46
54
  import '@carbon/web-components/es/components/chat-button/index.js';
47
55
  import '@carbon/web-components/es/components/button/button.js';
package/dist/es/nl.js CHANGED
@@ -13,15 +13,15 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
23
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './highlight_js.js';
24
- import { e6 as dayjs_minExports } from './cds-aichat-internal.js';
24
+ import { e6 as dayjs_minExports } from './AppContainer.js';
25
25
 
26
26
  function _mergeNamespaces(n, m) {
27
27
  m.forEach(function (e) {
package/dist/es/nl2.js CHANGED
@@ -13,9 +13,9 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
package/dist/es/pt-br.js CHANGED
@@ -13,15 +13,15 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
23
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './highlight_js.js';
24
- import { e6 as dayjs_minExports } from './cds-aichat-internal.js';
24
+ import { e6 as dayjs_minExports } from './AppContainer.js';
25
25
 
26
26
  function _mergeNamespaces(n, m) {
27
27
  m.forEach(function (e) {
package/dist/es/pt-br2.js CHANGED
@@ -13,9 +13,9 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
package/dist/es/pt.js CHANGED
@@ -13,15 +13,15 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
23
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './highlight_js.js';
24
- import { e6 as dayjs_minExports } from './cds-aichat-internal.js';
24
+ import { e6 as dayjs_minExports } from './AppContainer.js';
25
25
 
26
26
  function _mergeNamespaces(n, m) {
27
27
  m.forEach(function (e) {
package/dist/es/render.js CHANGED
@@ -13,35 +13,43 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
23
  import React__default from 'react';
24
- import ReactDOM__default from 'react-dom';
25
- import { dY as loadStyles, dZ as loadStylesWithReset, d_ as loadFontFace, d$ as App } from './cds-aichat-internal.js';
26
- import 'lit';
27
- import 'lit/decorators.js';
24
+ import ReactDOM from 'react-dom';
25
+ import { dY as loadStyles, dZ as loadStylesWithReset, d_ as loadFontFace, d$ as App } from './AppContainer.js';
28
26
  import './highlight_js.js';
29
27
  import '@carbon/react';
28
+ import 'classnames';
30
29
  import 'react-intl';
31
30
  import 'react-redux';
31
+ import 'tabbable';
32
+ import '@carbon/icons-react';
32
33
  import './markdown.js';
33
- import './markdown_attrs.js';
34
+ import 'tslib';
35
+ import 'lit';
36
+ import 'lit/decorators.js';
34
37
  import '@carbon/web-components/es/components/button/index.js';
35
38
  import '@carbon/web-components/es/components/overflow-menu/index.js';
36
39
  import 'lit/directives/unsafe-html.js';
40
+ import 'prop-types';
37
41
  import '@carbon/web-components/es/components/slug/index.js';
38
42
  import '@carbon/web-components/es/components/popover/defs.js';
39
43
  import '@carbon/web-components/es/components/slug/defs.js';
44
+ import '@floating-ui/react';
40
45
  import '@carbon/web-components/es/components/slug/slug-action-button.js';
41
46
  import '@carbon/web-components/es/components/slug/slug.js';
47
+ import '@carbon/web-components/es/components/inline-loading/index.js';
48
+ import '@carbon/icon-helpers';
49
+ import '@carbon/icons';
50
+ import 'lit/directives/unsafe-svg.js';
42
51
  import '@carbon/web-components/es/components/textarea/index.js';
43
52
  import '@carbon/web-components/es/components/icon-button/index.js';
44
- import 'lit/directives/unsafe-svg.js';
45
53
  import '@carbon/web-components/es/components/tag/index.js';
46
54
  import '@carbon/web-components/es/components/chat-button/index.js';
47
55
  import '@carbon/web-components/es/components/button/button.js';
@@ -86,7 +94,7 @@ async function render({ serviceManager }) {
86
94
  // a size that break out of the container.
87
95
  container.setAttribute('style', 'width:0 !important;height:0 !important');
88
96
  }
89
- ReactDOM__default.render(React__default.createElement(App, { serviceManager: serviceManager, hostElement: serviceManager.customHostElement, applicationStyles: applicationStyles, fontStyles: fontStyles }), container);
97
+ ReactDOM.render(React__default.createElement(App, { serviceManager: serviceManager, hostElement: serviceManager.customHostElement, applicationStyles: applicationStyles, fontStyles: fontStyles }), container);
90
98
  }
91
99
 
92
100
  export { render };
package/dist/es/zh-cn.js CHANGED
@@ -13,15 +13,15 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
23
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './highlight_js.js';
24
- import { e6 as dayjs_minExports } from './cds-aichat-internal.js';
24
+ import { e6 as dayjs_minExports } from './AppContainer.js';
25
25
 
26
26
  function _mergeNamespaces(n, m) {
27
27
  m.forEach(function (e) {
package/dist/es/zh-tw.js CHANGED
@@ -13,15 +13,15 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
22
22
  */
23
23
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './highlight_js.js';
24
- import { e6 as dayjs_minExports } from './cds-aichat-internal.js';
24
+ import { e6 as dayjs_minExports } from './AppContainer.js';
25
25
 
26
26
  function _mergeNamespaces(n, m) {
27
27
  m.forEach(function (e) {
package/dist/es/zh-tw2.js CHANGED
@@ -13,9 +13,9 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
package/dist/es/zh.js CHANGED
@@ -13,9 +13,9 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
13
13
  or implied. See the License for the specific language governing permissions and limitations under
14
14
  the License.
15
15
 
16
- @carbon/ai-chat 0.1.6
16
+ @carbon/ai-chat 0.1.7-alpha0
17
17
 
18
- Built: Feb 3 2025 9:58 am -05:00
18
+ Built: Feb 12 2025 9:14 am -05:00
19
19
 
20
20
 
21
21
 
@@ -1279,10 +1279,67 @@ interface TourStepGenericItem<TUserDefinedType = Record<string, unknown>> extend
1279
1279
  step_id: string;
1280
1280
  }
1281
1281
 
1282
+ /**
1283
+ * Status of the chain of thought step.
1284
+ */
1285
+ declare const enum ChainOfThoughtStepStatus {
1286
+ PROCESSING = "processing",
1287
+ FAILURE = "failure",
1288
+ SUCCESS = "success"
1289
+ }
1290
+ /**
1291
+ * This schema is in beta. A chain of thought step is meant to show tool calls and other steps made by your agent
1292
+ * to reach its final answer.
1293
+ */
1294
+ interface ChainOfThoughtStep {
1295
+ /**
1296
+ * The plain text name of the step.
1297
+ */
1298
+ title: string;
1299
+ /**
1300
+ * An optional human readable description of what the tool does.
1301
+ *
1302
+ * Accepts markdown formatted text.
1303
+ */
1304
+ description?: string;
1305
+ /**
1306
+ * The plain text name of the tool called.
1307
+ */
1308
+ tool_name?: string;
1309
+ /**
1310
+ * Optional request metadata sent to a tool.
1311
+ */
1312
+ request?: {
1313
+ /**
1314
+ * Arguments sent to the tool. If this is properly formed JSON, it will be shown as a code block.
1315
+ */
1316
+ args?: unknown;
1317
+ };
1318
+ /**
1319
+ * Optional response from a tool.
1320
+ */
1321
+ response?: {
1322
+ /**
1323
+ * Content returned by the tool. If this is properly formed JSON, it will be shown as a code block.
1324
+ *
1325
+ * You can also return markdown compatible text here.
1326
+ */
1327
+ content: unknown;
1328
+ };
1329
+ /**
1330
+ * Optionally, share the status of this step. An icon will appear in the view showing the status. If no status is
1331
+ * shared, the UI will assume success.
1332
+ */
1333
+ status?: ChainOfThoughtStepStatus;
1334
+ }
1282
1335
  /**
1283
1336
  * Options that control additional features available for a message item.
1284
1337
  */
1285
1338
  interface GenericItemMessageOptions {
1339
+ /**
1340
+ * Controls the display of chain of thought component. This API is in beta and is subject to change.
1341
+ */
1342
+ chain_of_thought?: ChainOfThoughtStep[];
1286
1343
  /**
1287
1344
  * Controls the display of a feedback options (thumbs up/down) for a message item.
1288
1345
  */
@@ -3788,7 +3845,7 @@ type RenderUserDefinedResponse = (state: RenderUserDefinedState, instance: ChatI
3788
3845
  /**
3789
3846
  * A map of writeable element keys to a ReactNode to render to them.
3790
3847
  */
3791
- type RenderWriteableElementResponse = Partial<Record<keyof WriteableElements, () => ReactNode>>;
3848
+ type RenderWriteableElementResponse = Partial<Record<keyof WriteableElements, ReactNode>>;
3792
3849
  interface ChatContainerProps {
3793
3850
  /**
3794
3851
  * The config to use to load web chat. Note that the "onLoad" property is overridden by this component. If you
@@ -3813,23 +3870,25 @@ interface ChatContainerProps {
3813
3870
  * This is the render function this component will call when it needs to render a writeable element.
3814
3871
  */
3815
3872
  renderWriteableElements?: RenderWriteableElementResponse;
3816
- /**
3817
- * ReactDOM.render and createRoot can't be used together in the same application.
3818
- * Web chat detects if ReactDOM is React 18 or React 17, but they could be using React 18 in React 17 mode.
3819
- */
3820
- forceReact17Mode?: boolean;
3821
3873
  }
3822
3874
 
3823
3875
 
3824
3876
 
3825
- declare function ChatContainer({ config, onBeforeRender, onAfterRender, renderUserDefinedResponse, renderWriteableElements, forceReact17Mode, }: ChatContainerProps): React.JSX.Element;
3877
+ /**
3878
+ * The ChatContainer controls rendering the React application into the ShadowRoot of the cds-aichat-react web component.
3879
+ * It also injects the writeable element and user_defined response slots into said web component.
3880
+ */
3881
+ declare function ChatContainer({ onBeforeRender, onAfterRender, config, renderUserDefinedResponse, renderWriteableElements, }: ChatContainerProps): React.JSX.Element;
3882
+ declare const ChatContainerExport: React.MemoExoticComponent<typeof ChatContainer>;
3826
3883
 
3827
3884
 
3828
3885
 
3829
3886
  /**
3830
3887
  * This is the React component for people injecting a web chat with a custom element.
3831
3888
  *
3832
- * It provides said element any class or id defined on itself for styling.
3889
+ * It provides said element any class or id defined on itself for styling. It then calls ChatContainer with the custom
3890
+ * element passed in as a property to be used instead of generating an element with the default properties for a
3891
+ * floating chat.
3833
3892
  *
3834
3893
  */
3835
3894
  interface ChatCustomElementProps extends ChatContainerProps {
@@ -3856,5 +3915,6 @@ interface ChatCustomElementProps extends ChatContainerProps {
3856
3915
  onViewChange?: (event: BusEventViewChange, instance: ChatInstance) => void;
3857
3916
  }
3858
3917
  declare function ChatCustomElement({ config, onBeforeRender, onAfterRender, renderUserDefinedResponse, renderWriteableElements, className, id, onViewChange, }: ChatCustomElementProps): React.JSX.Element;
3918
+ declare const ChatCustomElementExport: React.MemoExoticComponent<typeof ChatCustomElement>;
3859
3919
 
3860
- export { type AdditionalDataToAgent, type AgentAppConfig, type AgentAppInfo, type AgentAvailability, AgentMessageType, type AgentProfile, AgentsOnlineStatus, type AudioItem, type BaseMessageInput, type BusEvent, type BusEventAgentAreAnyAgentsOnline, type BusEventAgentEndChat, type BusEventAgentPreEndChat, type BusEventAgentPreReceive, type BusEventAgentPreSend, type BusEventAgentPreSessionHistory, type BusEventAgentPreStartChat, type BusEventAgentReceive, type BusEventAgentSend, type BusEventChatReady, type BusEventChunkUserDefinedResponse, type BusEventClosePanelButtonClicked, type BusEventCustomPanelClose, type BusEventCustomPanelOpen, type BusEventCustomPanelPreClose, type BusEventCustomPanelPreOpen, type BusEventFeedback, type BusEventGenesysMessengerAuthError, type BusEventGenesysMessengerAuthProvider, type BusEventGenesysMessengerGetAuthCode, type BusEventGenesysMessengerLoggedOut, type BusEventGenesysMessengerReauthenticate, type BusEventHistoryBegin, type BusEventHistoryEnd, type BusEventMessageItemCustom, type BusEventNiceDFOGetAuthCode, type BusEventPreReceive, type BusEventPreReset, type BusEventPreSend, type BusEventReceive, type BusEventReset, type BusEventSend, type BusEventTourEnd, type BusEventTourStart, type BusEventTourStep, BusEventType, type BusEventUserDefinedResponse, type BusEventViewChange, type BusEventViewPreChange, type ButtonItem, ButtonItemKind, ButtonItemType, CarbonTheme, type CardItem, type CarouselItem, CatastrophicErrorType, type ChangeFunction, ChatContainer, type ChatContainerProps, ChatCustomElement, type ChatCustomElementProps, type ChatHeaderButton, type ChatHeaderConfig, type ChatHeaderGroupMenu, type ChatHeaderGroupMenuItem, type ChatHeaderLink, type ChatHeaderMenu, type ChatHeaderMenuItemTypes, ChatHeaderObjectType, type ChatHeaderObjectTypes, type ChatInstance, type ChatInstanceMessaging, type ChatInstanceNotifications, type ChatInstanceServiceDeskActions, type ChatInstanceTours, type Chunk, type CompleteItemChunk, type ConnectToAgentItem, type ConnectToAgentItemTransferInfo, type ConnectingErrorInfo, type ConversationalSearchItem, type ConversationalSearchItemCitation, CornersType, CustomEventType, type CustomMenuOption, type CustomPanelConfigOptions, type CustomPanelInstance, type CustomPanels, type CustomSendMessageOptions, type DateItem, type DisclaimerPublicConfig, type DisconnectedErrorInfo, type EndChatInfo, ErrorType, type EventBusHandler, type EventHandlers, type EventInput, type EventInputData, FeedbackInteractionType, FileStatusValue, type FileUpload, type FinalResponseChunk, type GenericItem, type GenericItemMessageFeedbackOptions, type GenericItemMessageOptions, type GenesysMessengerConfig, type GridItem, type HasAddRemoveClassName, type HeaderConfig, type HistoryItem, HomeScreenBackgroundType, type HomeScreenConfig, type HomeScreenStarterButton, type HomeScreenStarterButtons, type HorizontalCellAlignment, type IFrameItem, IFrameItemDisplayOption, type ImageItem, type IncreaseOrDecrease, type InlineErrorItem, type InstanceElements, type InstanceInputElement, type ItemStreamingMetadata, LauncherType, type LayoutConfig, type MediaItem, type MediaItemDimensions, type Message, type MessageContext, type MessageGlobalContext, type MessageHistory, type MessageInput, MessageInputType, type MessageItemPanelInfo, type MessageOutput, type MessageRequest, type MessageResponse, MessageResponseTypes, MessageSendSource, type MessageSkillContext, type MessageSystemContext, MinimizeButtonIconType, type NiceDFOConfig, type NotificationMessage, type OnErrorData, OnErrorType, type Option, type OptionItem, OptionItemPreference, type PageLinkConfig, type PageLinkIDConfig, type PartialItemChunk, type PartialOrCompleteItemChunk, type PauseItem, type PublicConfig, type PublicConfigMessaging, type PublicWebChatServiceDeskState, type PublicWebChatState, type RenderUserDefinedResponse, type RenderUserDefinedState, type RenderWriteableElementResponse, ScreenShareState, type SendOptions, type ServiceDesk, type ServiceDeskCallback, type ServiceDeskCapabilities, type ServiceDeskErrorInfo, type ServiceDeskFactoryParameters, type ServiceDeskPublicConfig, type StartChatOptions, type StreamChunk, type TableItem, type TableItemCell, type TableItemRow, type TableItemRowExpandableSectionItem, type TextItem, type ThemeConfig, TourEndReason, TourStartReason, type TourStepGenericItem, type TypeAndHandler, type UpdateHistoryEvent, type UserDefinedItem, type UserMessageErrorInfo, type VerticalCellAlignment, type VideoItem, ViewChangeReason, type ViewState, ViewType, type WithBodyAndFooter, WriteableElementName, type WriteableElements };
3920
+ export { type AdditionalDataToAgent, type AgentAppConfig, type AgentAppInfo, type AgentAvailability, AgentMessageType, type AgentProfile, AgentsOnlineStatus, type AudioItem, type BaseMessageInput, type BusEvent, type BusEventAgentAreAnyAgentsOnline, type BusEventAgentEndChat, type BusEventAgentPreEndChat, type BusEventAgentPreReceive, type BusEventAgentPreSend, type BusEventAgentPreSessionHistory, type BusEventAgentPreStartChat, type BusEventAgentReceive, type BusEventAgentSend, type BusEventChatReady, type BusEventChunkUserDefinedResponse, type BusEventClosePanelButtonClicked, type BusEventCustomPanelClose, type BusEventCustomPanelOpen, type BusEventCustomPanelPreClose, type BusEventCustomPanelPreOpen, type BusEventFeedback, type BusEventGenesysMessengerAuthError, type BusEventGenesysMessengerAuthProvider, type BusEventGenesysMessengerGetAuthCode, type BusEventGenesysMessengerLoggedOut, type BusEventGenesysMessengerReauthenticate, type BusEventHistoryBegin, type BusEventHistoryEnd, type BusEventMessageItemCustom, type BusEventNiceDFOGetAuthCode, type BusEventPreReceive, type BusEventPreReset, type BusEventPreSend, type BusEventReceive, type BusEventReset, type BusEventSend, type BusEventTourEnd, type BusEventTourStart, type BusEventTourStep, BusEventType, type BusEventUserDefinedResponse, type BusEventViewChange, type BusEventViewPreChange, type ButtonItem, ButtonItemKind, ButtonItemType, CarbonTheme, type CardItem, type CarouselItem, CatastrophicErrorType, type ChainOfThoughtStep, ChainOfThoughtStepStatus, type ChangeFunction, ChatContainerExport as ChatContainer, type ChatContainerProps, ChatCustomElementExport as ChatCustomElement, type ChatCustomElementProps, type ChatHeaderButton, type ChatHeaderConfig, type ChatHeaderGroupMenu, type ChatHeaderGroupMenuItem, type ChatHeaderLink, type ChatHeaderMenu, type ChatHeaderMenuItemTypes, ChatHeaderObjectType, type ChatHeaderObjectTypes, type ChatInstance, type ChatInstanceMessaging, type ChatInstanceNotifications, type ChatInstanceServiceDeskActions, type ChatInstanceTours, type Chunk, type CompleteItemChunk, type ConnectToAgentItem, type ConnectToAgentItemTransferInfo, type ConnectingErrorInfo, type ConversationalSearchItem, type ConversationalSearchItemCitation, CornersType, CustomEventType, type CustomMenuOption, type CustomPanelConfigOptions, type CustomPanelInstance, type CustomPanels, type CustomSendMessageOptions, type DateItem, type DisclaimerPublicConfig, type DisconnectedErrorInfo, type EndChatInfo, ErrorType, type EventBusHandler, type EventHandlers, type EventInput, type EventInputData, FeedbackInteractionType, FileStatusValue, type FileUpload, type FinalResponseChunk, type GenericItem, type GenericItemMessageFeedbackOptions, type GenericItemMessageOptions, type GenesysMessengerConfig, type GridItem, type HasAddRemoveClassName, type HeaderConfig, type HistoryItem, HomeScreenBackgroundType, type HomeScreenConfig, type HomeScreenStarterButton, type HomeScreenStarterButtons, type HorizontalCellAlignment, type IFrameItem, IFrameItemDisplayOption, type ImageItem, type IncreaseOrDecrease, type InlineErrorItem, type InstanceElements, type InstanceInputElement, type ItemStreamingMetadata, LauncherType, type LayoutConfig, type MediaItem, type MediaItemDimensions, type Message, type MessageContext, type MessageGlobalContext, type MessageHistory, type MessageInput, MessageInputType, type MessageItemPanelInfo, type MessageOutput, type MessageRequest, type MessageResponse, MessageResponseTypes, MessageSendSource, type MessageSkillContext, type MessageSystemContext, MinimizeButtonIconType, type NiceDFOConfig, type NotificationMessage, type OnErrorData, OnErrorType, type Option, type OptionItem, OptionItemPreference, type PageLinkConfig, type PageLinkIDConfig, type PartialItemChunk, type PartialOrCompleteItemChunk, type PauseItem, type PublicConfig, type PublicConfigMessaging, type PublicWebChatServiceDeskState, type PublicWebChatState, type RenderUserDefinedResponse, type RenderUserDefinedState, type RenderWriteableElementResponse, ScreenShareState, type SendOptions, type ServiceDesk, type ServiceDeskCallback, type ServiceDeskCapabilities, type ServiceDeskErrorInfo, type ServiceDeskFactoryParameters, type ServiceDeskPublicConfig, type StartChatOptions, type StreamChunk, type TableItem, type TableItemCell, type TableItemRow, type TableItemRowExpandableSectionItem, type TextItem, type ThemeConfig, TourEndReason, TourStartReason, type TourStepGenericItem, type TypeAndHandler, type UpdateHistoryEvent, type UserDefinedItem, type UserMessageErrorInfo, type VerticalCellAlignment, type VideoItem, ViewChangeReason, type ViewState, ViewType, type WithBodyAndFooter, WriteableElementName, type WriteableElements };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/ai-chat",
3
- "version": "0.1.6",
3
+ "version": "0.1.7-alpha0",
4
4
  "description": "Be sure to review the [chat documentation](https://web-chat.global.assistant.watson.cloud.ibm.com/carbon-chat.html).",
5
5
  "author": "IBM Corp",
6
6
  "license": "Apache-2.0",
@@ -45,26 +45,44 @@
45
45
  "**/cds-aichat-*.ts",
46
46
  "**/cds-aichat-*.js"
47
47
  ],
48
+ "devDependencies": {
49
+ "@carbon/icon-helpers": "^10.53.0",
50
+ "@carbon/icons": "^11.53.0",
51
+ "@carbon/icons-react": "^11.51.0",
52
+ "@carbon/react": "^1.68.0",
53
+ "@carbon/web-components": "^2.17.0",
54
+ "@floating-ui/react": "^0.26.0",
55
+ "classnames": "^2.5.1",
56
+ "lit": "^3.1.0",
57
+ "prop-types": "^15.7.2",
58
+ "react": "^18.0.0",
59
+ "react-dom": "^18.0.0",
60
+ "tabbable": "^6.2.0",
61
+ "ts-lit-plugin": "^2.0.2",
62
+ "tslib": "^2.6.3"
63
+ },
48
64
  "peerDependencies": {
65
+ "@carbon/icon-helpers": "^10.53.0",
66
+ "@carbon/icons": "^11.53.0",
67
+ "@carbon/icons-react": "^11.51.0",
49
68
  "@carbon/react": "^1.68.0",
50
69
  "@carbon/web-components": "^2.17.0",
70
+ "@floating-ui/react": "^0.26.0",
71
+ "classnames": "^2.5.1",
51
72
  "lit": "^3.1.0",
73
+ "prop-types": "^15.7.2",
52
74
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
53
- "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
75
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
76
+ "tabbable": "^6.2.0",
77
+ "tslib": "^2.6.3"
54
78
  },
55
79
  "dependencies": {
56
- "@carbon/icon-helpers": "^10.54.0",
57
- "@carbon/icons": "^11.53.0",
58
- "@carbon/icons-react": "^11.53.0",
59
80
  "@lit/react": "^1.0.6",
60
81
  "@microsoft/fetch-event-source": "^2.0.1",
61
82
  "@nice-devone/nice-cxone-chat-web-sdk": "^1.18.0",
62
- "classnames": "^2.5.1",
63
83
  "color": "^4.2.3",
64
- "compare-versions": "^6.1.0",
65
84
  "compute-scroll-into-view": "^3.1.0",
66
- "core-js": "^3.35.0",
67
- "core-js-pure": "^3.35.0",
85
+ "csv-stringify": "^6.5.2",
68
86
  "dayjs": "^1.11.10",
69
87
  "detect-browser": "^5.3.0",
70
88
  "dompurify": "^3.1.6",
@@ -74,7 +92,6 @@
74
92
  "http-status-codes": "^2.3.0",
75
93
  "intl-pluralrules": "^2.0.1",
76
94
  "js-cookie": "^3.0.5",
77
- "jstimezonedetect": "^1.0.7",
78
95
  "jwt-decode": "^4.0.0",
79
96
  "lodash-es": "^4.17.21",
80
97
  "markdown-it": "^14.1.0",
@@ -88,12 +105,8 @@
88
105
  "react-redux": "^8.1.3",
89
106
  "redux": "^4.2.1",
90
107
  "reselect": "^4.1.8",
91
- "resize-observer-polyfill": "^1.5.1",
92
- "return-deep-diff": "^0.4.0",
93
108
  "swiper": "^11.1.1",
94
- "tabbable": "^6.2.0",
95
109
  "ts-essentials": "^9.4.1",
96
- "tslib": "^2.6.2",
97
110
  "utility-types": "^3.10.0",
98
111
  "uuid": "^9.0.1"
99
112
  },
@@ -1,43 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
-
27
- var jstz_min$2 = {exports: {}};
28
-
29
- /* jstz.min.js Version: 1.0.6 Build date: 2019-09-09 */
30
-
31
- (function (module) {
32
- !function(e){var a=function(){var e="s",s={DAY:864e5,HOUR:36e5,MINUTE:6e4,SECOND:1e3,BASELINE_YEAR:2014,MAX_SCORE:864e6,AMBIGUITIES:{"America/Denver":["America/Mazatlan"],"America/Chicago":["America/Mexico_City"],"America/Asuncion":["America/Campo_Grande","America/Santiago"],"America/Montevideo":["America/Sao_Paulo","America/Santiago"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Europe/Helsinki","Asia/Damascus","Africa/Cairo","Asia/Gaza","Europe/Minsk","Africa/Windhoek"],"Pacific/Auckland":["Pacific/Fiji"],"America/Los_Angeles":["America/Santa_Isabel"],"America/New_York":["America/Havana"],"America/Halifax":["America/Goose_Bay"],"America/Godthab":["America/Miquelon"],"Asia/Dubai":["Asia/Yerevan"],"Asia/Jakarta":["Asia/Krasnoyarsk"],"Asia/Shanghai":["Asia/Irkutsk","Australia/Perth"],"Australia/Sydney":["Australia/Lord_Howe"],"Asia/Tokyo":["Asia/Yakutsk"],"Asia/Dhaka":["Asia/Omsk"],"Asia/Baku":["Asia/Yerevan"],"Australia/Brisbane":["Asia/Vladivostok"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Majuro":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk","Europe/Moscow"],"Asia/Karachi":["Asia/Yekaterinburg"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]}},i=function(e){var a=-e.getTimezoneOffset();return null!==a?a:0},r=function(){for(var e=[],a=0;a<=11;a++)for(var r=1;r<=28;r++){var n=i(new Date(s.BASELINE_YEAR,a,r));e?e&&e[e.length-1]!==n&&e.push(n):e.push();}return e},n=function(){var a=0,s=r();return s.length>1&&(a=s[0]-s[1]),s.length>3?s[0]+",1,weird":a<0?s[0]+",1":a>0?s[1]+",1,"+e:s[0]+",0"},o=function(){var e,a;if(Intl&&"undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat&&(e=Intl.DateTimeFormat(),"undefined"!=typeof e&&"undefined"!=typeof e.resolvedOptions))return a=e.resolvedOptions().timeZone,a&&(a.indexOf("/")>-1||"UTC"===a)?a:void 0},t=function(e){for(var a=new Date(e,0,1,0,0,1,0).getTime(),s=new Date(e,12,31,23,59,59).getTime(),i=a,r=new Date(i).getTimezoneOffset(),n=null,o=null;i<s-864e5;){var t=new Date(i),A=t.getTimezoneOffset();A!==r&&(A<r&&(n=t),A>r&&(o=t),r=A),i+=864e5;}return !(!n||!o)&&{s:u(n).getTime(),e:u(o).getTime()}},u=function f(e,a,i){"undefined"==typeof a&&(a=s.DAY,i=s.HOUR);for(var r=new Date(e.getTime()-a).getTime(),n=e.getTime()+a,o=new Date(r).getTimezoneOffset(),t=r,u=null;t<n-i;){var A=new Date(t),c=A.getTimezoneOffset();if(c!==o){u=A;break}t+=i;}return a===s.DAY?f(u,s.HOUR,s.MINUTE):a===s.HOUR?f(u,s.MINUTE,s.SECOND):u},A=function(e,a,s,i){if("N/A"!==s)return s;if("Asia/Beirut"===a){if("Africa/Cairo"===i.name&&13983768e5===e[6].s&&14116788e5===e[6].e)return 0;if("Asia/Jerusalem"===i.name&&13959648e5===e[6].s&&14118588e5===e[6].e)return 0}else if("America/Santiago"===a){if("America/Asuncion"===i.name&&14124816e5===e[6].s&&1397358e6===e[6].e)return 0;if("America/Campo_Grande"===i.name&&14136912e5===e[6].s&&13925196e5===e[6].e)return 0}else if("America/Montevideo"===a){if("America/Sao_Paulo"===i.name&&14136876e5===e[6].s&&1392516e6===e[6].e)return 0}else if("Pacific/Auckland"===a&&"Pacific/Fiji"===i.name&&14142456e5===e[6].s&&13961016e5===e[6].e)return 0;return s},c=function(e,i){for(var r=function(a){for(var r=0,n=0;n<e.length;n++)if(a.rules[n]&&e[n]){if(!(e[n].s>=a.rules[n].s&&e[n].e<=a.rules[n].e)){r="N/A";break}if(r=0,r+=Math.abs(e[n].s-a.rules[n].s),r+=Math.abs(a.rules[n].e-e[n].e),r>s.MAX_SCORE){r="N/A";break}}return r=A(e,i,r,a)},n={},o=a.olson.dst_rules.zones,t=o.length,u=s.AMBIGUITIES[i],c=0;c<t;c++){var m=o[c],l=r(o[c]);"N/A"!==l&&(n[m.name]=l);}for(var f in n)if(n.hasOwnProperty(f))for(var d=0;d<u.length;d++)if(u[d]===f)return f;return i},m=function(e){var s=function(){for(var e=[],s=0;s<a.olson.dst_rules.years.length;s++){var i=t(a.olson.dst_rules.years[s]);e.push(i);}return e},i=function(e){for(var a=0;a<e.length;a++)if(e[a]!==!1)return !0;return !1},r=s(),n=i(r);return n?c(r,e):e},l=function(e){var i=!1,t=n();return (e||"undefined"==typeof e)&&(i=o()),i||(i=a.olson.timezones[t],"undefined"!=typeof s.AMBIGUITIES[i]&&(i=m(i))),{name:function(){return i},using_intl:e||"undefined"==typeof e,needle:t,offsets:r()}};return {determine:l}}();a.olson=a.olson||{},a.olson.timezones={"-720,0":"Etc/GMT+12","-660,0":"Pacific/Pago_Pago","-660,1,s":"Pacific/Apia","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Asuncion","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","0,1,weird":"Africa/Casablanca","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,weird":"Africa/Casablanca","120,1":"Asia/Beirut","120,1,weird":"Africa/Cairo","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Calcutta","345,0":"Asia/Katmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Majuro","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"},a.olson.dst_rules={years:[2008,2009,2010,2011,2012,2013,2014],zones:[{name:"Africa/Cairo",rules:[{e:12199572e5,s:12090744e5},{e:1250802e6,s:1240524e6},{e:12858804e5,s:12840696e5},!1,!1,!1,{e:14116788e5,s:1406844e6}]},{name:"America/Asuncion",rules:[{e:12050316e5,s:12243888e5},{e:12364812e5,s:12558384e5},{e:12709548e5,s:12860784e5},{e:13024044e5,s:1317528e6},{e:1333854e6,s:13495824e5},{e:1364094e6,s:1381032e6},{e:13955436e5,s:14124816e5}]},{name:"America/Campo_Grande",rules:[{e:12032172e5,s:12243888e5},{e:12346668e5,s:12558384e5},{e:12667212e5,s:1287288e6},{e:12981708e5,s:13187376e5},{e:13302252e5,s:1350792e6},{e:136107e7,s:13822416e5},{e:13925196e5,s:14136912e5}]},{name:"America/Goose_Bay",rules:[{e:122559486e4,s:120503526e4},{e:125704446e4,s:123648486e4},{e:128909886e4,s:126853926e4},{e:13205556e5,s:129998886e4},{e:13520052e5,s:13314456e5},{e:13834548e5,s:13628952e5},{e:14149044e5,s:13943448e5}]},{name:"America/Havana",rules:[{e:12249972e5,s:12056436e5},{e:12564468e5,s:12364884e5},{e:12885012e5,s:12685428e5},{e:13211604e5,s:13005972e5},{e:13520052e5,s:13332564e5},{e:13834548e5,s:13628916e5},{e:14149044e5,s:13943412e5}]},{name:"America/Mazatlan",rules:[{e:1225008e6,s:12074724e5},{e:12564576e5,s:1238922e6},{e:1288512e6,s:12703716e5},{e:13199616e5,s:13018212e5},{e:13514112e5,s:13332708e5},{e:13828608e5,s:13653252e5},{e:14143104e5,s:13967748e5}]},{name:"America/Mexico_City",rules:[{e:12250044e5,s:12074688e5},{e:1256454e6,s:12389184e5},{e:12885084e5,s:1270368e6},{e:1319958e6,s:13018176e5},{e:13514076e5,s:13332672e5},{e:13828572e5,s:13653216e5},{e:14143068e5,s:13967712e5}]},{name:"America/Miquelon",rules:[{e:12255984e5,s:12050388e5},{e:1257048e6,s:12364884e5},{e:12891024e5,s:12685428e5},{e:1320552e6,s:12999924e5},{e:13520016e5,s:1331442e6},{e:13834512e5,s:13628916e5},{e:14149008e5,s:13943412e5}]},{name:"America/Santa_Isabel",rules:[{e:12250116e5,s:1207476e6},{e:12564612e5,s:12389256e5},{e:12891204e5,s:12685608e5},{e:132057e7,s:13000104e5},{e:13520196e5,s:133146e7},{e:13834692e5,s:13629096e5},{e:14149188e5,s:13943592e5}]},{name:"America/Santiago",rules:[{e:1206846e6,s:1223784e6},{e:1237086e6,s:12552336e5},{e:127035e7,s:12866832e5},{e:13048236e5,s:13138992e5},{e:13356684e5,s:13465584e5},{e:1367118e6,s:13786128e5},{e:13985676e5,s:14100624e5}]},{name:"America/Sao_Paulo",rules:[{e:12032136e5,s:12243852e5},{e:12346632e5,s:12558348e5},{e:12667176e5,s:12872844e5},{e:12981672e5,s:1318734e6},{e:13302216e5,s:13507884e5},{e:13610664e5,s:1382238e6},{e:1392516e6,s:14136876e5}]},{name:"Asia/Amman",rules:[{e:1225404e6,s:12066552e5},{e:12568536e5,s:12381048e5},{e:12883032e5,s:12695544e5},{e:13197528e5,s:13016088e5},!1,!1,{e:14147064e5,s:13959576e5}]},{name:"Asia/Damascus",rules:[{e:12254868e5,s:120726e7},{e:125685e7,s:12381048e5},{e:12882996e5,s:12701592e5},{e:13197492e5,s:13016088e5},{e:13511988e5,s:13330584e5},{e:13826484e5,s:1364508e6},{e:14147028e5,s:13959576e5}]},{name:"Asia/Dubai",rules:[!1,!1,!1,!1,!1,!1,!1]},{name:"Asia/Gaza",rules:[{e:12199572e5,s:12066552e5},{e:12520152e5,s:12381048e5},{e:1281474e6,s:126964086e4},{e:1312146e6,s:130160886e4},{e:13481784e5,s:13330584e5},{e:13802292e5,s:1364508e6},{e:1414098e6,s:13959576e5}]},{name:"Asia/Irkutsk",rules:[{e:12249576e5,s:12068136e5},{e:12564072e5,s:12382632e5},{e:12884616e5,s:12697128e5},!1,!1,!1,!1]},{name:"Asia/Jerusalem",rules:[{e:12231612e5,s:12066624e5},{e:1254006e6,s:1238112e6},{e:1284246e6,s:12695616e5},{e:131751e7,s:1301616e6},{e:13483548e5,s:13330656e5},{e:13828284e5,s:13645152e5},{e:1414278e6,s:13959648e5}]},{name:"Asia/Kamchatka",rules:[{e:12249432e5,s:12067992e5},{e:12563928e5,s:12382488e5},{e:12884508e5,s:12696984e5},!1,!1,!1,!1]},{name:"Asia/Krasnoyarsk",rules:[{e:12249612e5,s:12068172e5},{e:12564108e5,s:12382668e5},{e:12884652e5,s:12697164e5},!1,!1,!1,!1]},{name:"Asia/Omsk",rules:[{e:12249648e5,s:12068208e5},{e:12564144e5,s:12382704e5},{e:12884688e5,s:126972e7},!1,!1,!1,!1]},{name:"Asia/Vladivostok",rules:[{e:12249504e5,s:12068064e5},{e:12564e8,s:1238256e6},{e:12884544e5,s:12697056e5},!1,!1,!1,!1]},{name:"Asia/Yakutsk",rules:[{e:1224954e6,s:120681e7},{e:12564036e5,s:12382596e5},{e:1288458e6,s:12697092e5},!1,!1,!1,!1]},{name:"Asia/Yekaterinburg",rules:[{e:12249684e5,s:12068244e5},{e:1256418e6,s:1238274e6},{e:12884724e5,s:12697236e5},!1,!1,!1,!1]},{name:"Asia/Yerevan",rules:[{e:1224972e6,s:1206828e6},{e:12564216e5,s:12382776e5},{e:1288476e6,s:12697272e5},{e:13199256e5,s:13011768e5},!1,!1,!1]},{name:"Australia/Lord_Howe",rules:[{e:12074076e5,s:12231342e5},{e:12388572e5,s:12545838e5},{e:12703068e5,s:12860334e5},{e:13017564e5,s:1317483e6},{e:1333206e6,s:13495374e5},{e:13652604e5,s:1380987e6},{e:139671e7,s:14124366e5}]},{name:"Australia/Perth",rules:[{e:12068136e5,s:12249576e5},!1,!1,!1,!1,!1,!1]},{name:"Europe/Helsinki",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Europe/Minsk",rules:[{e:12249792e5,s:12068352e5},{e:12564288e5,s:12382848e5},{e:12884832e5,s:12697344e5},!1,!1,!1,!1]},{name:"Europe/Moscow",rules:[{e:12249756e5,s:12068316e5},{e:12564252e5,s:12382812e5},{e:12884796e5,s:12697308e5},!1,!1,!1,!1]},{name:"Pacific/Apia",rules:[!1,!1,!1,{e:13017528e5,s:13168728e5},{e:13332024e5,s:13489272e5},{e:13652568e5,s:13803768e5},{e:13967064e5,s:14118264e5}]},{name:"Pacific/Fiji",rules:[!1,!1,{e:12696984e5,s:12878424e5},{e:13271544e5,s:1319292e6},{e:1358604e6,s:13507416e5},{e:139005e7,s:1382796e6},{e:14215032e5,s:14148504e5}]},{name:"Europe/London",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Africa/Windhoek",rules:[{e:12207492e5,s:120744e7},{e:12521988e5,s:12388896e5},{e:12836484e5,s:12703392e5},{e:1315098e6,s:13017888e5},{e:13465476e5,s:13332384e5},{e:13779972e5,s:13652928e5},{e:14100516e5,s:13967424e5}]}]},module.exports=a;}();
33
- } (jstz_min$2));
34
-
35
- var jstz_minExports = jstz_min$2.exports;
36
- var jstz_min = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(jstz_minExports);
37
-
38
- var jstz_min$1 = /*#__PURE__*/Object.freeze({
39
- __proto__: null,
40
- default: jstz_min
41
- });
42
-
43
- exports.jstz_min = jstz_min$1;