botframework-webchat-fluent-theme 4.18.1-main.20240807.dfe788c → 4.18.1-main.20240808.851825d
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/botframework-webchat-fluent-theme.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.d.mts +1 -0
- package/dist/botframework-webchat-fluent-theme.d.ts +1 -0
- package/dist/botframework-webchat-fluent-theme.development.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.development.js +1 -1
- package/dist/botframework-webchat-fluent-theme.development.js.map +1 -1
- package/dist/botframework-webchat-fluent-theme.js +1 -1
- package/dist/botframework-webchat-fluent-theme.js.map +1 -1
- package/dist/botframework-webchat-fluent-theme.mjs +1 -1
- package/dist/botframework-webchat-fluent-theme.mjs.map +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.js +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
- package/package.json +4 -4
- package/src/components/preChatActivity/StarterPromptsCardAction.tsx +2 -0
- package/src/components/sendBox/SendBox.tsx +23 -12
- package/src/components/sendBox/index.tsx +1 -1
- package/src/private/FluentThemeProvider.tsx +2 -2
- package/src/testIds.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/preChatActivity/PreChatMessageActivity.module.css","../src/components/preChatActivity/private/MonochromeImageMasker.module.css","../src/components/preChatActivity/StarterPromptsCardAction.module.css","../src/components/preChatActivity/StarterPromptsToolbar.module.css","../src/components/dropZone/DropZone.module.css","../src/components/suggestedActions/SuggestedAction.module.css","../src/components/suggestedActions/SuggestedActions.module.css","../src/components/telephoneKeypad/private/Button.module.css","../src/components/telephoneKeypad/private/TelephoneKeypad.module.css","../src/components/sendBox/Toolbar.module.css","../src/components/sendBox/AddAttachmentButton.module.css","../src/components/sendBox/Attachments.module.css","../src/components/sendBox/ErrorMessage.module.css","../src/components/sendBox/TextArea.module.css","../src/components/sendBox/SendBox.module.css","../src/components/theme/Theme.module.css"],"sourcesContent":[":global(.webchat-fluent) .pre-chat-message-activity {\n display: grid;\n grid-template-areas: 'body' 'toolbar';\n grid-template-rows: auto auto;\n gap: var(--webchat-spacingHorizontalXXXL);\n padding: var(--webchat-spacingHorizontalXXXL);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__body {\n font-family: var(--webchat-fontFamilyBase);\n font-size: var(--webchat-fontSizeBase300);\n font-weight: var(--webchat-fontWeightRegular);\n grid-area: body;\n line-height: var(--webchat-lineHeightBase300);\n text-align: center;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__body h2 {\n color: var(--webchat-colorNeutralForeground1);\n font-family: inherit;\n font-weight: var(--webchat-fontWeightSemibold);\n font-size: var(--webchat-fontSizeHero700);\n line-height: var(--webchat-lineHeightHero700);\n margin: var(--webchat-spacingVerticalL) 0 0;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__body img {\n border-radius: 4px;\n height: 64px;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__toolbar {\n grid-area: toolbar;\n}\n",":global(.webchat-fluent) .pre-chat-message-activity__monochrome-image-masker {\n background-color: var(--webchat-colorNeutralForeground4);\n mask-image: var(--mask-image);\n --webkit-mask-image: var(--mask-image);\n}\n",":global(.webchat-fluent) .pre-chat-message-activity__card-action-box {\n appearance: none;\n background-color: var(--webchat-colorNeutralBackground1);\n border: 0;\n border-radius: 16px;\n box-shadow: var(--webchat-shadow2);\n color: var(--webchat-colorNeutralForeground1);\n cursor: pointer;\n display: grid;\n gap: 8px;\n grid-template-areas: 'image title' 'image subtitle';\n grid-template-columns: 20px 1fr;\n grid-template-rows: auto 1fr;\n overflow: hidden;\n padding: 16px 20px;\n text-align: left;\n user-select: none;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:disabled {\n background-color: var(--webchat-colorNeutralBackground1Disabled);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:hover {\n background-color: var(--webchat-colorNeutralGrey94);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:active {\n background-color: var(--webchat-colorNeutralBackground1Pressed);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:focus-visible {\n outline: solid 2px var(--webchat-colorStrokeFocus2);\n outline-offset: -2px;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-image {\n grid-area: image;\n height: 20px;\n width: 20px;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-subtitle {\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n font-weight: var(--webchat-fontWeightRegular);\n grid-area: subtitle;\n line-height: 20px;\n pointer-events: none; /* Links in subtitle are not clickable. */\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-title {\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n font-weight: var(--webchat-fontWeightSemibold);\n grid-area: title;\n line-height: 20px;\n}\n",":global(.webchat-fluent) .pre-chat-message-activity__card-action-toolbar {\n container-name: webchat-container;\n container-type: inline-size;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-toolbar-grid {\n display: grid;\n gap: var(--webchat-spacingHorizontalM);\n grid-template-columns: 1fr 1fr 1fr;\n padding: 0;\n}\n\n/* TODO: What is the good width to show as 3 columns? Web Chat, by default, has a bubble max width of 480px. */\n@container webchat-container (width <= 480px) {\n :global(.webchat-fluent) .pre-chat-message-activity__card-action-toolbar-grid {\n grid-template-columns: 1fr;\n }\n}\n",":global(.webchat-fluent) .sendbox__attachment-drop-zone {\n background-color: var(--webchat-colorNeutralBackground4);\n border-radius: inherit;\n cursor: copy;\n display: grid;\n gap: 8px;\n inset: 0;\n place-content: center;\n place-items: center;\n position: absolute;\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {\n height: 36px;\n /* Set \"pointer-events: none\" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the \"--droppable\" modifier.*/\n pointer-events: none;\n width: 36px\n}\n",":global(.webchat-fluent) .suggested-action {\n align-items: center;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--webchat-colorBrandStroke2);\n color: currentColor;\n cursor: pointer;\n display: flex;\n font-size: 12px;\n gap: 4px;\n padding: 4px 8px 4px;\n text-align: start;\n transition: all .15s ease-out;\n\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover)\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed)\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed\n }\n}\n\n:global(.webchat-fluent) .suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n","\n:global(.webchat-fluent) .suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n &:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px\n }\n\n &.suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n\n &.suggested-actions--stacked {\n flex-direction: column\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n /* backgroundColor: isDarkTheme() || isHighContrastTheme() ? black : white, */\n background-color: White;\n border-radius: 100%;\n\n /* Whitelabel styles */\n /* border: `solid 1px ${isHighContrastTheme() ? white : isDarkTheme() ? gray160 : gray40}`, */\n /* color: inherit; */\n\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n\n cursor: pointer;\n display: flex;\n flex-direction: column;\n height: 60px;\n opacity: 0.7;\n padding: 0;\n position: relative;\n touch-action: none;\n user-select: none;\n width: 60px;\n\n &:hover {\n /* backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30 */\n background-color: var(--webchat-colorGray30)\n }\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__ruby {\n /* color: isHighContrastTheme() ? white : isDarkTheme() ? gray40 : gray160, */\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n\n:global(.webchat-fluent) .telephone-keypad--horizontal {\n & .telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n };\n\n .telephone-keypad__button__ruby {\n display: none;\n }\n\n & .telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad {\n /* Commented out whitelabel styles for now. */\n /* background: getHighContrastDarkThemeColor(highContrastColor: black, darkThemeColor: gray190, string, defaultColor: gray10), */\n /* borderRadius: '8px 8px 0px 0px; */\n /* boxShadow: '-3px 0px 7px 0px rgba(0, 0, 0, 0.13), -0.6px 0px 1.8px 0px rgba(0, 0, 0, 0.10)', */\n\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n /* border: isHighContrastTheme() ? `1px solid ${white}` : none; */\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n /* boxShadow: var(--shadow16); */\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n /* margin: var(--spacingHorizontalMNudge)' */\n}\n\n:global(.webchat-fluent) .telephone-keypad__box {\n box-sizing: border-box;\n display: grid;\n gap: 16px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(4, 1fr);\n justify-items: center;\n padding: 16px;\n width: 100%;\n}\n\n:global(.webchat-fluent) .telephone-keypad__info-message {\n align-items: center;\n color: var(--webchat-colorNeutralForeground4);\n display: flex;\n font-size: 12px;\n gap: 6px;\n margin-block-end: 6px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__info-message-link {\n color: var(--webchat-colorBrandForegroundLink);\n text-decoration-color: transparent;\n\n &:target {\n color: var(--webchat-colorBrandForegroundLinkSelected);\n }\n &:hover {\n color: var(--webchat-colorBrandForegroundLinkHover);\n text-decoration: underline 1px currentColor;\n }\n &:active {\n color: var(--webchat-colorBrandForegroundLinkPressed);\n }\n &:focus-visible {\n outline: none;\n text-decoration: underline 1px double var(--webchat-colorStrokeFocus2);\n }\n}\n",":global(.webchat-fluent) .sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-button {\n align-items: center;\n appearance: none;\n aspect-ratio: 1;\n background: transparent;\n border-radius: var(--webchat-borderRadiusSmall);\n border: none;\n color: currentColor;\n cursor: pointer;\n display: flex;\n justify-content: center;\n padding: 3px;\n width: 32px;\n\n > svg {\n font-size: 20px;\n pointer-events: none;\n }\n\n &.sendbox__toolbar-button--selected {\n color: var(--webchat-colorNeutralForeground2BrandSelected);\n }\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n color: var(--webchat-colorNeutralForeground2BrandHover);\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n color: var(--webchat-colorNeutralForeground2BrandPressed);\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n }\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n\n &:first-child, &:last-child, &:only-child {\n display: none\n }\n}\n",":global(.webchat-fluent) .sendbox__add-attachment {\n display: grid;\n}\n\n:global(.webchat-fluent) .sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 1px; /* iOS Safari does not honor 0px for the width. */\n}\n",":global(.webchat-fluent) .sendbox__attachment {\n border-radius: var(--webchat-borderRadiusLarge);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n cursor: default;\n padding: 6px 8px;\n width: fit-content\n}\n",":global(.webchat-fluent) .sendbox__error-message {\n color: transparent;\n font-size: 0;\n height: 0;\n left: 0;\n position: absolute;\n top: 0;\n width: 0;\n}\n",":global(.webchat-fluent) .sendbox__text-area {\n display: grid;\n grid-template-areas: 'main';\n max-height: 200px;\n overflow: hidden;\n}\n\n:global(.webchat-fluent) .sendbox__text-area--hidden {\n /* TODO: Not perfect way of hiding the text box. */\n height: 0;\n visibility: collapse;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-shared {\n border: none;\n font: inherit;\n grid-area: main;\n outline: inherit;\n overflow-wrap: anywhere;\n resize: inherit;\n scrollbar-gutter: stable;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input {\n background-color: inherit;\n color: currentColor;\n height: 100%;\n padding: 0;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input--scroll {\n /* Edge uses -webkit-scrollbar if scrollbar-* is not set */\n scrollbar-color: unset;\n scrollbar-width: unset;\n /* Firefox */\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n\n /* Chrome, Edge, and Safari */\n &::-webkit-scrollbar {\n width: 8px\n }\n\n &::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n }\n}\n",":global(.webchat-fluent) .sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n\n --webchat-sendbox-attachment-area-active: ;\n --webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge);\n}\n\n:global(.webchat-fluent) .sendbox__sendbox {\n background-color: var(--webchat-colorNeutralBackground1);\n border-radius: var(--webchat-sendbox-border-radius);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n display: grid;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n gap: 6px;\n grid-template:\n [telephone-keypad-start] 'text-area' [telephone-keypad-end]\n var(--webchat-sendbox-attachment-area-active)\n 'controls' / [telephone-keypad] 1fr\n ;\n line-height: 20px;\n padding: 8px;\n position: relative;\n\n &:has(.sendbox__attachment--in-grid) {\n --webchat-sendbox-attachment-area-active: 'attachment'\n }\n\n &:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n }\n\n &::after {\n border-bottom-left-radius: var(--webchat-sendbox-border-radius);\n border-bottom-right-radius: var(--webchat-sendbox-border-radius);\n border-bottom: var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);\n bottom: -1px;\n clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);\n content: \"\";\n height: var(--webchat-sendbox-border-radius);\n left: -1px;\n position: absolute;\n right: -1px;\n transition: clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid);\n }\n\n &:focus-within::after {\n clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);\n transition: clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);\n }\n\n > .sendbox__text-area--in-grid {\n grid-area: text-area;\n }\n\n > .sendbox__attachment--in-grid {\n grid-area: attachment;\n }\n\n > .sendbox__sendbox-controls--in-grid {\n grid-area: controls;\n }\n\n > .sendbox__telephone-keypad--in-grid {\n grid-area: telephone-keypad;\n }\n}\n\n:global(.webchat-fluent) .sendbox__sendbox-text {\n background-color: transparent;\n border: none;\n flex: auto;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n line-height: 20px;\n outline: none;\n padding: 4px 4px 0;\n resize: none;\n\n /* Prevent zoom on focus on iOS */\n @media only screen and (hover: none) and (pointer: coarse) {\n &:focus-within {\n font-size: 16px;\n }\n }\n}\n\n:global(.webchat-fluent) .sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n\n:global(.webchat-fluent) .sendbox__text-counter {\n color: var(--webchat-colorNeutralForeground4);\n cursor: default;\n font-family: var(--webchat-fontFamilyNumeric);\n font-size: 10px;\n line-height: 14px;\n margin-inline-end: 4px;\n}\n\n:global(.webchat-fluent) .sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n",":global(.webchat-fluent).theme {\n display: contents;\n\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n\n --webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);\n --webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);\n --webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);\n\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n\n --webchat-colorNeutralBackground1Disabled: var(--colorNeutralBackground1Disabled, #f0f0f0);\n --webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);\n\n --webchat-colorNeutralGrey94: var(--colorNeutralGrey94, #f0f0f0);\n\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n\n --webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);\n\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n\n --webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);\n --webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);\n --webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);\n --webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);\n\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/colors.ts */\n --webchat-colorGray30: var(--colorGray30, #edebe9);\n --webchat-colorGray160: var(--colorGray160, #323130);\n --webchat-colorGray190: var(--colorGray190, #201f1e);\n --webchat-colorGray200: var(--colorGray200, #1b1a19);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/borderRadius.ts */\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\n --webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108));\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/spacings.ts */\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n --webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);\n --webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);\n --webchat-spacingVerticalL: var(--spacingVerticalL, 16px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontFamilyBase: var(--fontFamilyBase, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif);\n --webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontWeightRegular: var(--fontWeightRegular, 400);\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontSizeBase300: var(--fontSizeBase300, 14px);\n --webchat-fontSizeHero700: var(--fontSizeHero700, 28px);\n\n --webchat-lineHeightBase300: var(--lineHeightBase300, 20px);\n --webchat-lineHeightHero700: var(--lineHeightHero700, 36px);\n\n --webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);\n\n --webchat-durationUltraFast: var(--durationUltraFast, 0);\n --webchat-durationNormal: var(--durationNormal, 200ms);\n\n --webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1,0,1,1));\n --webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0,0,0,1));\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\n --webchat-shadow2: 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%);\n}\n\n@media (prefers-reduced-motion) {\n :global(.webchat-fluent).theme {\n --webchat-durationUltraFast: 0.01ms;\n --webchat-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,EAAE,MAC9D,4BAA4B,IAAI,kBAAkB,EAAE,MAGpD,0BAA0B,IAAI,gBAAgB,EAAE,UAAU,EAAE,8BAA8B,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,gBAAgB,EAAE,YACzJ,6BAA6B,IAAI,mBAAmB,EAAE,WAAW,EAAE,UAAU,EAAE,8BAA8B,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,gBAAgB,EAAE,YAG5K,6BAA6B,IAAI,mBAAmB,EAAE,KACtD,8BAA8B,IAAI,oBAAoB,EAAE,KAGxD,2BAA2B,IAAI,iBAAiB,EAAE,MAClD,2BAA2B,IAAI,iBAAiB,EAAE,MAElD,6BAA6B,IAAI,mBAAmB,EAAE,MACtD,6BAA6B,IAAI,mBAAmB,EAAE,MAEtD,8BAA8B,IAAI,oBAAoB,EAAE,KAExD,6BAA6B,IAAI,mBAAmB,EAAE,GACtD,0BAA0B,IAAI,gBAAgB,EAAE,KAEhD,8BAA8B,IAAI,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAC3E,8BAA8B,IAAI,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAG3E,mBAAmB,EAAE,EAAE,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IACzE,CAEA,OAAO,CAAC,wBACE,CA7FD,cA6FiB,CA7FDA,EA8FrB,6BAA6B,MAC7B,0BAA0B,KAC5B,CACF","names":["pre-chat-message-activity","pre-chat-message-activity__body","pre-chat-message-activity__toolbar","pre-chat-message-activity__monochrome-image-masker","pre-chat-message-activity__card-action-box","pre-chat-message-activity__card-action-image","pre-chat-message-activity__card-action-subtitle","pre-chat-message-activity__card-action-title","pre-chat-message-activity__card-action-toolbar","pre-chat-message-activity__card-action-toolbar-grid","sendbox__attachment-drop-zone","sendbox__attachment-drop-zone--droppable","sendbox__attachment-drop-zone-icon","suggested-action","suggested-action__image","suggested-actions","suggested-actions--flow","suggested-actions--stacked","telephone-keypad__button","telephone-keypad__button__ruby","telephone-keypad__button__text","telephone-keypad--horizontal","telephone-keypad","telephone-keypad__box","telephone-keypad__info-message","telephone-keypad__info-message-link","sendbox__toolbar","sendbox__toolbar-button","sendbox__toolbar-button--selected","sendbox__toolbar-separator","sendbox__add-attachment","sendbox__add-attachment-input","sendbox__attachment","sendbox__error-message","sendbox__text-area","sendbox__text-area--hidden","sendbox__text-area-shared","sendbox__text-area-doppelganger","sendbox__text-area-input","sendbox__text-area-input--scroll","sendbox","sendbox__sendbox","sendbox__attachment--in-grid","sendbox__text-area--in-grid","sendbox__sendbox-controls--in-grid","sendbox__telephone-keypad--in-grid","sendbox__sendbox-text","sendbox__sendbox-controls","sendbox__text-counter","sendbox__text-counter--error","theme"]}
|
|
1
|
+
{"version":3,"sources":["../src/components/preChatActivity/PreChatMessageActivity.module.css","../src/components/preChatActivity/private/MonochromeImageMasker.module.css","../src/components/preChatActivity/StarterPromptsCardAction.module.css","../src/components/preChatActivity/StarterPromptsToolbar.module.css","../src/components/dropZone/DropZone.module.css","../src/components/suggestedActions/SuggestedAction.module.css","../src/components/suggestedActions/SuggestedActions.module.css","../src/components/telephoneKeypad/private/Button.module.css","../src/components/telephoneKeypad/private/TelephoneKeypad.module.css","../src/components/sendBox/Toolbar.module.css","../src/components/sendBox/AddAttachmentButton.module.css","../src/components/sendBox/Attachments.module.css","../src/components/sendBox/ErrorMessage.module.css","../src/components/sendBox/SendBox.module.css","../src/components/sendBox/TextArea.module.css","../src/components/theme/Theme.module.css"],"sourcesContent":[":global(.webchat-fluent) .pre-chat-message-activity {\n display: grid;\n grid-template-areas: 'body' 'toolbar';\n grid-template-rows: auto auto;\n gap: var(--webchat-spacingHorizontalXXXL);\n padding: var(--webchat-spacingHorizontalXXXL);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__body {\n font-family: var(--webchat-fontFamilyBase);\n font-size: var(--webchat-fontSizeBase300);\n font-weight: var(--webchat-fontWeightRegular);\n grid-area: body;\n line-height: var(--webchat-lineHeightBase300);\n text-align: center;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__body h2 {\n color: var(--webchat-colorNeutralForeground1);\n font-family: inherit;\n font-weight: var(--webchat-fontWeightSemibold);\n font-size: var(--webchat-fontSizeHero700);\n line-height: var(--webchat-lineHeightHero700);\n margin: var(--webchat-spacingVerticalL) 0 0;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__body img {\n border-radius: 4px;\n height: 64px;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__toolbar {\n grid-area: toolbar;\n}\n",":global(.webchat-fluent) .pre-chat-message-activity__monochrome-image-masker {\n background-color: var(--webchat-colorNeutralForeground4);\n mask-image: var(--mask-image);\n --webkit-mask-image: var(--mask-image);\n}\n",":global(.webchat-fluent) .pre-chat-message-activity__card-action-box {\n appearance: none;\n background-color: var(--webchat-colorNeutralBackground1);\n border: 0;\n border-radius: 16px;\n box-shadow: var(--webchat-shadow2);\n color: var(--webchat-colorNeutralForeground1);\n cursor: pointer;\n display: grid;\n gap: 8px;\n grid-template-areas: 'image title' 'image subtitle';\n grid-template-columns: 20px 1fr;\n grid-template-rows: auto 1fr;\n overflow: hidden;\n padding: 16px 20px;\n text-align: left;\n user-select: none;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:disabled {\n background-color: var(--webchat-colorNeutralBackground1Disabled);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:hover {\n background-color: var(--webchat-colorNeutralGrey94);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:active {\n background-color: var(--webchat-colorNeutralBackground1Pressed);\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-box:focus-visible {\n outline: solid 2px var(--webchat-colorStrokeFocus2);\n outline-offset: -2px;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-image {\n grid-area: image;\n height: 20px;\n width: 20px;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-subtitle {\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n font-weight: var(--webchat-fontWeightRegular);\n grid-area: subtitle;\n line-height: 20px;\n pointer-events: none; /* Links in subtitle are not clickable. */\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-title {\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n font-weight: var(--webchat-fontWeightSemibold);\n grid-area: title;\n line-height: 20px;\n}\n",":global(.webchat-fluent) .pre-chat-message-activity__card-action-toolbar {\n container-name: webchat-container;\n container-type: inline-size;\n}\n\n:global(.webchat-fluent) .pre-chat-message-activity__card-action-toolbar-grid {\n display: grid;\n gap: var(--webchat-spacingHorizontalM);\n grid-template-columns: 1fr 1fr 1fr;\n padding: 0;\n}\n\n/* TODO: What is the good width to show as 3 columns? Web Chat, by default, has a bubble max width of 480px. */\n@container webchat-container (width <= 480px) {\n :global(.webchat-fluent) .pre-chat-message-activity__card-action-toolbar-grid {\n grid-template-columns: 1fr;\n }\n}\n",":global(.webchat-fluent) .sendbox__attachment-drop-zone {\n background-color: var(--webchat-colorNeutralBackground4);\n border-radius: inherit;\n cursor: copy;\n display: grid;\n gap: 8px;\n inset: 0;\n place-content: center;\n place-items: center;\n position: absolute;\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {\n height: 36px;\n /* Set \"pointer-events: none\" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the \"--droppable\" modifier.*/\n pointer-events: none;\n width: 36px\n}\n",":global(.webchat-fluent) .suggested-action {\n align-items: center;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--webchat-colorBrandStroke2);\n color: currentColor;\n cursor: pointer;\n display: flex;\n font-size: 12px;\n gap: 4px;\n padding: 4px 8px 4px;\n text-align: start;\n transition: all .15s ease-out;\n\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover)\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed)\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed\n }\n}\n\n:global(.webchat-fluent) .suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n","\n:global(.webchat-fluent) .suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n &:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px\n }\n\n &.suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n\n &.suggested-actions--stacked {\n flex-direction: column\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n /* backgroundColor: isDarkTheme() || isHighContrastTheme() ? black : white, */\n background-color: White;\n border-radius: 100%;\n\n /* Whitelabel styles */\n /* border: `solid 1px ${isHighContrastTheme() ? white : isDarkTheme() ? gray160 : gray40}`, */\n /* color: inherit; */\n\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n\n cursor: pointer;\n display: flex;\n flex-direction: column;\n height: 60px;\n opacity: 0.7;\n padding: 0;\n position: relative;\n touch-action: none;\n user-select: none;\n width: 60px;\n\n &:hover {\n /* backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30 */\n background-color: var(--webchat-colorGray30)\n }\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__ruby {\n /* color: isHighContrastTheme() ? white : isDarkTheme() ? gray40 : gray160, */\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n\n:global(.webchat-fluent) .telephone-keypad--horizontal {\n & .telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n };\n\n .telephone-keypad__button__ruby {\n display: none;\n }\n\n & .telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad {\n /* Commented out whitelabel styles for now. */\n /* background: getHighContrastDarkThemeColor(highContrastColor: black, darkThemeColor: gray190, string, defaultColor: gray10), */\n /* borderRadius: '8px 8px 0px 0px; */\n /* boxShadow: '-3px 0px 7px 0px rgba(0, 0, 0, 0.13), -0.6px 0px 1.8px 0px rgba(0, 0, 0, 0.10)', */\n\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n /* border: isHighContrastTheme() ? `1px solid ${white}` : none; */\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n /* boxShadow: var(--shadow16); */\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n /* margin: var(--spacingHorizontalMNudge)' */\n}\n\n:global(.webchat-fluent) .telephone-keypad__box {\n box-sizing: border-box;\n display: grid;\n gap: 16px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(4, 1fr);\n justify-items: center;\n padding: 16px;\n width: 100%;\n}\n\n:global(.webchat-fluent) .telephone-keypad__info-message {\n align-items: center;\n color: var(--webchat-colorNeutralForeground4);\n display: flex;\n font-size: 12px;\n gap: 6px;\n margin-block-end: 6px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__info-message-link {\n color: var(--webchat-colorBrandForegroundLink);\n text-decoration-color: transparent;\n\n &:target {\n color: var(--webchat-colorBrandForegroundLinkSelected);\n }\n &:hover {\n color: var(--webchat-colorBrandForegroundLinkHover);\n text-decoration: underline 1px currentColor;\n }\n &:active {\n color: var(--webchat-colorBrandForegroundLinkPressed);\n }\n &:focus-visible {\n outline: none;\n text-decoration: underline 1px double var(--webchat-colorStrokeFocus2);\n }\n}\n",":global(.webchat-fluent) .sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-button {\n align-items: center;\n appearance: none;\n aspect-ratio: 1;\n background: transparent;\n border-radius: var(--webchat-borderRadiusSmall);\n border: none;\n color: currentColor;\n cursor: pointer;\n display: flex;\n justify-content: center;\n padding: 3px;\n width: 32px;\n\n > svg {\n font-size: 20px;\n pointer-events: none;\n }\n\n &.sendbox__toolbar-button--selected {\n color: var(--webchat-colorNeutralForeground2BrandSelected);\n }\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n color: var(--webchat-colorNeutralForeground2BrandHover);\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n color: var(--webchat-colorNeutralForeground2BrandPressed);\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n }\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n\n &:first-child, &:last-child, &:only-child {\n display: none\n }\n}\n",":global(.webchat-fluent) .sendbox__add-attachment {\n display: grid;\n}\n\n:global(.webchat-fluent) .sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 1px; /* iOS Safari does not honor 0px for the width. */\n}\n",":global(.webchat-fluent) .sendbox__attachment {\n border-radius: var(--webchat-borderRadiusLarge);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n cursor: default;\n padding: 6px 8px;\n width: fit-content\n}\n",":global(.webchat-fluent) .sendbox__error-message {\n color: transparent;\n font-size: 0;\n height: 0;\n left: 0;\n position: absolute;\n top: 0;\n width: 0;\n}\n",":global(.webchat-fluent) .sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n\n --webchat-sendbox-attachment-area-active: ;\n --webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge);\n}\n\n:global(.webchat-fluent) .sendbox__sendbox {\n background-color: var(--webchat-colorNeutralBackground1);\n border-radius: var(--webchat-sendbox-border-radius);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n display: grid;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n gap: 6px;\n grid-template:\n [telephone-keypad-start] 'text-area' [telephone-keypad-end]\n var(--webchat-sendbox-attachment-area-active)\n 'controls' / [telephone-keypad] 1fr\n ;\n line-height: 20px;\n padding: 8px;\n position: relative;\n\n &:has(.sendbox__attachment--in-grid) {\n --webchat-sendbox-attachment-area-active: 'attachment'\n }\n\n &:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n }\n\n &::after {\n border-bottom-left-radius: var(--webchat-sendbox-border-radius);\n border-bottom-right-radius: var(--webchat-sendbox-border-radius);\n border-bottom: var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);\n bottom: -1px;\n clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);\n content: \"\";\n height: var(--webchat-sendbox-border-radius);\n left: -1px;\n position: absolute;\n right: -1px;\n transition: clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid);\n }\n\n &:focus-within::after {\n clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);\n transition: clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);\n }\n\n > .sendbox__text-area--in-grid {\n grid-area: text-area;\n }\n\n > .sendbox__attachment--in-grid {\n grid-area: attachment;\n }\n\n > .sendbox__sendbox-controls--in-grid {\n grid-area: controls;\n }\n\n > .sendbox__telephone-keypad--in-grid {\n grid-area: telephone-keypad;\n }\n}\n\n:global(.webchat-fluent) .sendbox__sendbox-text {\n background-color: transparent;\n border: none;\n flex: auto;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n line-height: 20px;\n outline: none;\n padding: 4px 4px 0;\n resize: none;\n\n /* Prevent zoom on focus on iOS */\n @media only screen and (hover: none) and (pointer: coarse) {\n &:focus-within {\n font-size: 16px;\n }\n }\n}\n\n:global(.webchat-fluent) .sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n\n:global(.webchat-fluent) .sendbox__text-counter {\n color: var(--webchat-colorNeutralForeground4);\n cursor: default;\n font-family: var(--webchat-fontFamilyNumeric);\n font-size: 10px;\n line-height: 14px;\n margin-inline-end: 4px;\n}\n\n:global(.webchat-fluent) .sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n",":global(.webchat-fluent) .sendbox__text-area {\n display: grid;\n grid-template-areas: 'main';\n max-height: 200px;\n overflow: hidden;\n}\n\n:global(.webchat-fluent) .sendbox__text-area--hidden {\n /* TODO: Not perfect way of hiding the text box. */\n height: 0;\n visibility: collapse;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-shared {\n border: none;\n font: inherit;\n grid-area: main;\n outline: inherit;\n overflow-wrap: anywhere;\n resize: inherit;\n scrollbar-gutter: stable;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input {\n background-color: inherit;\n color: currentColor;\n height: 100%;\n padding: 0;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input--scroll {\n /* Edge uses -webkit-scrollbar if scrollbar-* is not set */\n scrollbar-color: unset;\n scrollbar-width: unset;\n /* Firefox */\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n\n /* Chrome, Edge, and Safari */\n &::-webkit-scrollbar {\n width: 8px\n }\n\n &::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n }\n}\n",":global(.webchat-fluent).theme {\n display: contents;\n\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n\n --webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);\n --webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);\n --webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);\n\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n\n --webchat-colorNeutralBackground1Disabled: var(--colorNeutralBackground1Disabled, #f0f0f0);\n --webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);\n\n --webchat-colorNeutralGrey94: var(--colorNeutralGrey94, #f0f0f0);\n\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n\n --webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);\n\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n\n --webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);\n --webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);\n --webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);\n --webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);\n\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/colors.ts */\n --webchat-colorGray30: var(--colorGray30, #edebe9);\n --webchat-colorGray160: var(--colorGray160, #323130);\n --webchat-colorGray190: var(--colorGray190, #201f1e);\n --webchat-colorGray200: var(--colorGray200, #1b1a19);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/borderRadius.ts */\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\n --webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108));\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/spacings.ts */\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n --webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);\n --webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);\n --webchat-spacingVerticalL: var(--spacingVerticalL, 16px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontFamilyBase: var(--fontFamilyBase, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif);\n --webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontWeightRegular: var(--fontWeightRegular, 400);\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontSizeBase300: var(--fontSizeBase300, 14px);\n --webchat-fontSizeHero700: var(--fontSizeHero700, 28px);\n\n --webchat-lineHeightBase300: var(--lineHeightBase300, 20px);\n --webchat-lineHeightHero700: var(--lineHeightHero700, 36px);\n\n --webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);\n\n --webchat-durationUltraFast: var(--durationUltraFast, 0);\n --webchat-durationNormal: var(--durationNormal, 200ms);\n\n --webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1,0,1,1));\n --webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0,0,0,1));\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\n --webchat-shadow2: 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%);\n}\n\n@media (prefers-reduced-motion) {\n :global(.webchat-fluent).theme {\n --webchat-durationUltraFast: 0.01ms;\n --webchat-durationNormal: 0.01ms;\n }\n}\n"],"mappings":"AAAQ,CAAC,eAAgB,CAACA,EACxB,QAAS,KACT,oBAAqB,OAAO,UAC5B,mBAAoB,KAAK,KACzB,IAAK,IAAI,iCACT,QAAS,IAAI,gCACf,CAEQ,CARC,eAQgB,CAACC,EACxB,YAAa,IAAI,0BACjB,UAAW,IAAI,2BACf,YAAa,IAAI,6BACjB,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,kBAAkB,EAAE,MAAM,EAAE,gBAAgB,EAAE,YAG5K,6BAA6B,IAAI,mBAAmB,EAAE,KACtD,8BAA8B,IAAI,oBAAoB,EAAE,KAGxD,2BAA2B,IAAI,iBAAiB,EAAE,MAClD,2BAA2B,IAAI,iBAAiB,EAAE,MAElD,6BAA6B,IAAI,mBAAmB,EAAE,MACtD,6BAA6B,IAAI,mBAAmB,EAAE,MAEtD,8BAA8B,IAAI,oBAAoB,EAAE,KAExD,6BAA6B,IAAI,mBAAmB,EAAE,GACtD,0BAA0B,IAAI,gBAAgB,EAAE,KAEhD,8BAA8B,IAAI,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAC3E,8BAA8B,IAAI,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAG3E,mBAAmB,EAAE,EAAE,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IACzE,CAEA,OAAO,CAAC,wBACE,CA7FD,cA6FiB,CA7FDA,EA8FrB,6BAA6B,MAC7B,0BAA0B,KAC5B,CACF","names":["pre-chat-message-activity","pre-chat-message-activity__body","pre-chat-message-activity__toolbar","pre-chat-message-activity__monochrome-image-masker","pre-chat-message-activity__card-action-box","pre-chat-message-activity__card-action-image","pre-chat-message-activity__card-action-subtitle","pre-chat-message-activity__card-action-title","pre-chat-message-activity__card-action-toolbar","pre-chat-message-activity__card-action-toolbar-grid","sendbox__attachment-drop-zone","sendbox__attachment-drop-zone--droppable","sendbox__attachment-drop-zone-icon","suggested-action","suggested-action__image","suggested-actions","suggested-actions--flow","suggested-actions--stacked","telephone-keypad__button","telephone-keypad__button__ruby","telephone-keypad__button__text","telephone-keypad--horizontal","telephone-keypad","telephone-keypad__box","telephone-keypad__info-message","telephone-keypad__info-message-link","sendbox__toolbar","sendbox__toolbar-button","sendbox__toolbar-button--selected","sendbox__toolbar-separator","sendbox__add-attachment","sendbox__add-attachment-input","sendbox__attachment","sendbox__error-message","sendbox","sendbox__sendbox","sendbox__attachment--in-grid","sendbox__text-area--in-grid","sendbox__sendbox-controls--in-grid","sendbox__telephone-keypad--in-grid","sendbox__sendbox-text","sendbox__sendbox-controls","sendbox__text-counter","sendbox__text-counter--error","sendbox__text-area","sendbox__text-area--hidden","sendbox__text-area-shared","sendbox__text-area-doppelganger","sendbox__text-area-input","sendbox__text-area-input--scroll","theme"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";(()=>{var ss=Object.create;var st=Object.defineProperty;var us=Object.getOwnPropertyDescriptor;var as=Object.getOwnPropertyNames;var ls=Object.getPrototypeOf,cs=Object.prototype.hasOwnProperty;var u=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ps=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of as(r))!cs.call(e,i)&&i!==t&&st(e,i,{get:()=>r[i],enumerable:!(n=us(r,i))||n.enumerable});return e};var l=(e,r,t)=>(t=e!=null?ss(ls(e)):{},ps(r||!e||!e.__esModule?st(t,"default",{value:e,enumerable:!0}):t,e));var N=u((Cc,ut)=>{ut.exports={Components:globalThis.WebChat.Components,hooks:globalThis.WebChat.hooks}});var v=u((Oc,at)=>{at.exports=globalThis.React});var B=u((Uc,Se)=>{(function(){"use strict";var e={}.hasOwnProperty;function r(){for(var i="",o=0;o<arguments.length;o++){var a=arguments[o];a&&(i=n(i,t(a)))}return i}function t(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var o="";for(var a in i)e.call(i,a)&&i[a]&&(o=n(o,a));return o}function n(i,o){return o?i?i+" "+o:i+o:i}typeof Se<"u"&&Se.exports?(r.default=r,Se.exports=r):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return r}):window.classNames=r})()});var R=u((Je,dt)=>{"use strict";var ce=function(e){return e&&e.Math===Math&&e};dt.exports=ce(typeof globalThis=="object"&&globalThis)||ce(typeof window=="object"&&window)||ce(typeof self=="object"&&self)||ce(typeof global=="object"&&global)||ce(typeof Je=="object"&&Je)||function(){return this}()||Function("return this")()});var L=u((Gc,yt)=>{"use strict";yt.exports=function(e){try{return!!e()}catch{return!0}}});var pe=u((Xc,ht)=>{"use strict";var ws=L();ht.exports=!ws(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var xt=u((Wc,gt)=>{"use strict";var Es=pe(),bt=Function.prototype,mt=bt.apply,vt=bt.call;gt.exports=typeof Reflect=="object"&&Reflect.apply||(Es?vt.bind(mt):function(){return vt.apply(mt,arguments)})});var H=u((Vc,wt)=>{"use strict";var _t=pe(),kt=Function.prototype,Qe=kt.call,Ts=_t&&kt.bind.bind(Qe,Qe);wt.exports=_t?Ts:function(e){return function(){return Qe.apply(e,arguments)}}});var er=u((Zc,Tt)=>{"use strict";var Et=H(),Ss=Et({}.toString),Ns=Et("".slice);Tt.exports=function(e){return Ns(Ss(e),8,-1)}});var rr=u((Yc,St)=>{"use strict";var As=er(),Bs=H();St.exports=function(e){if(As(e)==="Function")return Bs(e)}});var $=u((Jc,Nt)=>{"use strict";var tr=typeof document=="object"&&document.all;Nt.exports=typeof tr>"u"&&tr!==void 0?function(e){return typeof e=="function"||e===tr}:function(e){return typeof e=="function"}});var z=u((Qc,At)=>{"use strict";var Is=L();At.exports=!Is(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Ae=u((ep,Bt)=>{"use strict";var Ds=pe(),Ne=Function.prototype.call;Bt.exports=Ds?Ne.bind(Ne):function(){return Ne.apply(Ne,arguments)}});var Ct=u(Mt=>{"use strict";var It={}.propertyIsEnumerable,Dt=Object.getOwnPropertyDescriptor,Ms=Dt&&!It.call({1:2},1);Mt.f=Ms?function(r){var t=Dt(this,r);return!!t&&t.enumerable}:It});var nr=u((tp,Ot)=>{"use strict";Ot.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var qt=u((np,Pt)=>{"use strict";var Cs=H(),Os=L(),Ps=er(),ir=Object,qs=Cs("".split);Pt.exports=Os(function(){return!ir("z").propertyIsEnumerable(0)})?function(e){return Ps(e)==="String"?qs(e,""):ir(e)}:ir});var or=u((ip,Ft)=>{"use strict";Ft.exports=function(e){return e==null}});var sr=u((op,jt)=>{"use strict";var Fs=or(),js=TypeError;jt.exports=function(e){if(Fs(e))throw new js("Can't call method on "+e);return e}});var fe=u((sp,Rt)=>{"use strict";var Rs=qt(),Ls=sr();Rt.exports=function(e){return Rs(Ls(e))}});var de=u((up,Lt)=>{"use strict";var Hs=$();Lt.exports=function(e){return typeof e=="object"?e!==null:Hs(e)}});var Be=u((ap,Ht)=>{"use strict";Ht.exports={}});var lr=u((lp,zt)=>{"use strict";var ur=Be(),ar=R(),$s=$(),$t=function(e){return $s(e)?e:void 0};zt.exports=function(e,r){return arguments.length<2?$t(ur[e])||$t(ar[e]):ur[e]&&ur[e][r]||ar[e]&&ar[e][r]}});var Ut=u((cp,Kt)=>{"use strict";var zs=H();Kt.exports=zs({}.isPrototypeOf)});var Xt=u((pp,Gt)=>{"use strict";Gt.exports=typeof navigator<"u"&&String(navigator.userAgent)||""});var en=u((fp,Qt)=>{"use strict";var Jt=R(),cr=Xt(),Wt=Jt.process,Vt=Jt.Deno,Zt=Wt&&Wt.versions||Vt&&Vt.version,Yt=Zt&&Zt.v8,C,Ie;Yt&&(C=Yt.split("."),Ie=C[0]>0&&C[0]<4?1:+(C[0]+C[1]));!Ie&&cr&&(C=cr.match(/Edge\/(\d+)/),(!C||C[1]>=74)&&(C=cr.match(/Chrome\/(\d+)/),C&&(Ie=+C[1])));Qt.exports=Ie});var pr=u((dp,tn)=>{"use strict";var rn=en(),Ks=L(),Us=R(),Gs=Us.String;tn.exports=!!Object.getOwnPropertySymbols&&!Ks(function(){var e=Symbol("symbol detection");return!Gs(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&rn&&rn<41})});var fr=u((yp,nn)=>{"use strict";var Xs=pr();nn.exports=Xs&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var dr=u((hp,on)=>{"use strict";var Ws=lr(),Vs=$(),Zs=Ut(),Ys=fr(),Js=Object;on.exports=Ys?function(e){return typeof e=="symbol"}:function(e){var r=Ws("Symbol");return Vs(r)&&Zs(r.prototype,Js(e))}});var un=u((mp,sn)=>{"use strict";var Qs=String;sn.exports=function(e){try{return Qs(e)}catch{return"Object"}}});var yr=u((vp,an)=>{"use strict";var eu=$(),ru=un(),tu=TypeError;an.exports=function(e){if(eu(e))return e;throw new tu(ru(e)+" is not a function")}});var cn=u((bp,ln)=>{"use strict";var nu=yr(),iu=or();ln.exports=function(e,r){var t=e[r];return iu(t)?void 0:nu(t)}});var fn=u((gp,pn)=>{"use strict";var hr=Ae(),mr=$(),vr=de(),ou=TypeError;pn.exports=function(e,r){var t,n;if(r==="string"&&mr(t=e.toString)&&!vr(n=hr(t,e))||mr(t=e.valueOf)&&!vr(n=hr(t,e))||r!=="string"&&mr(t=e.toString)&&!vr(n=hr(t,e)))return n;throw new ou("Can't convert object to primitive value")}});var yn=u((xp,dn)=>{"use strict";dn.exports=!0});var vn=u((_p,mn)=>{"use strict";var hn=R(),su=Object.defineProperty;mn.exports=function(e,r){try{su(hn,e,{value:r,configurable:!0,writable:!0})}catch{hn[e]=r}return r}});var br=u((kp,xn)=>{"use strict";var uu=yn(),au=R(),lu=vn(),bn="__core-js_shared__",gn=xn.exports=au[bn]||lu(bn,{});(gn.versions||(gn.versions=[])).push({version:"3.36.1",mode:uu?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var gr=u((wp,kn)=>{"use strict";var _n=br();kn.exports=function(e,r){return _n[e]||(_n[e]=r||{})}});var En=u((Ep,wn)=>{"use strict";var cu=sr(),pu=Object;wn.exports=function(e){return pu(cu(e))}});var ye=u((Tp,Tn)=>{"use strict";var fu=H(),du=En(),yu=fu({}.hasOwnProperty);Tn.exports=Object.hasOwn||function(r,t){return yu(du(r),t)}});var xr=u((Sp,Sn)=>{"use strict";var hu=H(),mu=0,vu=Math.random(),bu=hu(1 .toString);Sn.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+bu(++mu+vu,36)}});var Bn=u((Np,An)=>{"use strict";var gu=R(),xu=gr(),Nn=ye(),_u=xr(),ku=pr(),wu=fr(),ne=gu.Symbol,_r=xu("wks"),Eu=wu?ne.for||ne:ne&&ne.withoutSetter||_u;An.exports=function(e){return Nn(_r,e)||(_r[e]=ku&&Nn(ne,e)?ne[e]:Eu("Symbol."+e)),_r[e]}});var Cn=u((Ap,Mn)=>{"use strict";var Tu=Ae(),In=de(),Dn=dr(),Su=cn(),Nu=fn(),Au=Bn(),Bu=TypeError,Iu=Au("toPrimitive");Mn.exports=function(e,r){if(!In(e)||Dn(e))return e;var t=Su(e,Iu),n;if(t){if(r===void 0&&(r="default"),n=Tu(t,e,r),!In(n)||Dn(n))return n;throw new Bu("Can't convert object to primitive value")}return r===void 0&&(r="number"),Nu(e,r)}});var kr=u((Bp,On)=>{"use strict";var Du=Cn(),Mu=dr();On.exports=function(e){var r=Du(e,"string");return Mu(r)?r:r+""}});var Er=u((Ip,qn)=>{"use strict";var Cu=R(),Pn=de(),wr=Cu.document,Ou=Pn(wr)&&Pn(wr.createElement);qn.exports=function(e){return Ou?wr.createElement(e):{}}});var Tr=u((Dp,Fn)=>{"use strict";var Pu=z(),qu=L(),Fu=Er();Fn.exports=!Pu&&!qu(function(){return Object.defineProperty(Fu("div"),"a",{get:function(){return 7}}).a!==7})});var Ln=u(Rn=>{"use strict";var ju=z(),Ru=Ae(),Lu=Ct(),Hu=nr(),$u=fe(),zu=kr(),Ku=ye(),Uu=Tr(),jn=Object.getOwnPropertyDescriptor;Rn.f=ju?jn:function(r,t){if(r=$u(r),t=zu(t),Uu)try{return jn(r,t)}catch{}if(Ku(r,t))return Hu(!Ru(Lu.f,r,t),r[t])}});var $n=u((Cp,Hn)=>{"use strict";var Gu=L(),Xu=$(),Wu=/#|\.prototype\./,he=function(e,r){var t=Zu[Vu(e)];return t===Ju?!0:t===Yu?!1:Xu(r)?Gu(r):!!r},Vu=he.normalize=function(e){return String(e).replace(Wu,".").toLowerCase()},Zu=he.data={},Yu=he.NATIVE="N",Ju=he.POLYFILL="P";Hn.exports=he});var Un=u((Op,Kn)=>{"use strict";var zn=rr(),Qu=yr(),ea=pe(),ra=zn(zn.bind);Kn.exports=function(e,r){return Qu(e),r===void 0?e:ea?ra(e,r):function(){return e.apply(r,arguments)}}});var Sr=u((Pp,Gn)=>{"use strict";var ta=z(),na=L();Gn.exports=ta&&na(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var De=u((qp,Xn)=>{"use strict";var ia=de(),oa=String,sa=TypeError;Xn.exports=function(e){if(ia(e))return e;throw new sa(oa(e)+" is not an object")}});var Dr=u(Vn=>{"use strict";var ua=z(),aa=Tr(),la=Sr(),Me=De(),Wn=kr(),ca=TypeError,Nr=Object.defineProperty,pa=Object.getOwnPropertyDescriptor,Ar="enumerable",Br="configurable",Ir="writable";Vn.f=ua?la?function(r,t,n){if(Me(r),t=Wn(t),Me(n),typeof r=="function"&&t==="prototype"&&"value"in n&&Ir in n&&!n[Ir]){var i=pa(r,t);i&&i[Ir]&&(r[t]=n.value,n={configurable:Br in n?n[Br]:i[Br],enumerable:Ar in n?n[Ar]:i[Ar],writable:!1})}return Nr(r,t,n)}:Nr:function(r,t,n){if(Me(r),t=Wn(t),Me(n),aa)try{return Nr(r,t,n)}catch{}if("get"in n||"set"in n)throw new ca("Accessors not supported");return"value"in n&&(r[t]=n.value),r}});var Yn=u((jp,Zn)=>{"use strict";var fa=z(),da=Dr(),ya=nr();Zn.exports=fa?function(e,r,t){return da.f(e,r,ya(1,t))}:function(e,r,t){return e[r]=t,e}});var ei=u((Rp,Qn)=>{"use strict";var me=R(),ha=xt(),ma=rr(),va=$(),ba=Ln().f,ga=$n(),ie=Be(),xa=Un(),oe=Yn(),Jn=ye();br();var _a=function(e){var r=function(t,n,i){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return ha(e,this,arguments)};return r.prototype=e.prototype,r};Qn.exports=function(e,r){var t=e.target,n=e.global,i=e.stat,o=e.proto,a=n?me:i?me[t]:me[t]&&me[t].prototype,s=n?ie:ie[t]||oe(ie,t,{})[t],p=s.prototype,y,c,f,m,g,T,w,E,S;for(m in r)y=ga(n?m:t+(i?".":"#")+m,e.forced),c=!y&&a&&Jn(a,m),T=s[m],c&&(e.dontCallGetSet?(S=ba(a,m),w=S&&S.value):w=a[m]),g=c&&w?w:r[m],!(!y&&!o&&typeof T==typeof g)&&(e.bind&&c?E=xa(g,me):e.wrap&&c?E=_a(g):o&&va(g)?E=ma(g):E=g,(e.sham||g&&g.sham||T&&T.sham)&&oe(E,"sham",!0),oe(s,m,E),o&&(f=t+"Prototype",Jn(ie,f)||oe(ie,f,{}),oe(ie[f],m,g),e.real&&p&&(y||!p[m])&&oe(p,m,g)))}});var ti=u((Lp,ri)=>{"use strict";var ka=Math.ceil,wa=Math.floor;ri.exports=Math.trunc||function(r){var t=+r;return(t>0?wa:ka)(t)}});var Mr=u((Hp,ni)=>{"use strict";var Ea=ti();ni.exports=function(e){var r=+e;return r!==r||r===0?0:Ea(r)}});var oi=u(($p,ii)=>{"use strict";var Ta=Mr(),Sa=Math.max,Na=Math.min;ii.exports=function(e,r){var t=Ta(e);return t<0?Sa(t+r,0):Na(t,r)}});var ui=u((zp,si)=>{"use strict";var Aa=Mr(),Ba=Math.min;si.exports=function(e){var r=Aa(e);return r>0?Ba(r,9007199254740991):0}});var li=u((Kp,ai)=>{"use strict";var Ia=ui();ai.exports=function(e){return Ia(e.length)}});var fi=u((Up,pi)=>{"use strict";var Da=fe(),Ma=oi(),Ca=li(),ci=function(e){return function(r,t,n){var i=Da(r),o=Ca(i);if(o===0)return!e&&-1;var a=Ma(n,o),s;if(e&&t!==t){for(;o>a;)if(s=i[a++],s!==s)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===t)return e||a||0;return!e&&-1}};pi.exports={includes:ci(!0),indexOf:ci(!1)}});var Cr=u((Gp,di)=>{"use strict";di.exports={}});var mi=u((Xp,hi)=>{"use strict";var Oa=H(),Or=ye(),Pa=fe(),qa=fi().indexOf,Fa=Cr(),yi=Oa([].push);hi.exports=function(e,r){var t=Pa(e),n=0,i=[],o;for(o in t)!Or(Fa,o)&&Or(t,o)&&yi(i,o);for(;r.length>n;)Or(t,o=r[n++])&&(~qa(i,o)||yi(i,o));return i}});var Pr=u((Wp,vi)=>{"use strict";vi.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var gi=u((Vp,bi)=>{"use strict";var ja=mi(),Ra=Pr();bi.exports=Object.keys||function(r){return ja(r,Ra)}});var _i=u(xi=>{"use strict";var La=z(),Ha=Sr(),$a=Dr(),za=De(),Ka=fe(),Ua=gi();xi.f=La&&!Ha?Object.defineProperties:function(r,t){za(r);for(var n=Ka(t),i=Ua(t),o=i.length,a=0,s;o>a;)$a.f(r,s=i[a++],n[s]);return r}});var wi=u((Yp,ki)=>{"use strict";var Ga=lr();ki.exports=Ga("document","documentElement")});var Si=u((Jp,Ti)=>{"use strict";var Xa=gr(),Wa=xr(),Ei=Xa("keys");Ti.exports=function(e){return Ei[e]||(Ei[e]=Wa(e))}});var Oi=u((Qp,Ci)=>{"use strict";var Va=De(),Za=_i(),Ni=Pr(),Ya=Cr(),Ja=wi(),Qa=Er(),el=Si(),Ai=">",Bi="<",Fr="prototype",jr="script",Di=el("IE_PROTO"),qr=function(){},Mi=function(e){return Bi+jr+Ai+e+Bi+"/"+jr+Ai},Ii=function(e){e.write(Mi("")),e.close();var r=e.parentWindow.Object;return e=null,r},rl=function(){var e=Qa("iframe"),r="java"+jr+":",t;return e.style.display="none",Ja.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(Mi("document.F=Object")),t.close(),t.F},Ce,Oe=function(){try{Ce=new ActiveXObject("htmlfile")}catch{}Oe=typeof document<"u"?document.domain&&Ce?Ii(Ce):rl():Ii(Ce);for(var e=Ni.length;e--;)delete Oe[Fr][Ni[e]];return Oe()};Ya[Di]=!0;Ci.exports=Object.create||function(r,t){var n;return r!==null?(qr[Fr]=Va(r),n=new qr,qr[Fr]=null,n[Di]=r):n=Oe(),t===void 0?n:Za.f(n,t)}});var Pi=u(()=>{"use strict";var tl=ei(),nl=z(),il=Oi();tl({target:"Object",stat:!0,sham:!nl},{create:il})});var Fi=u((tf,qi)=>{"use strict";Pi();var ol=Be(),sl=ol.Object;qi.exports=function(r,t){return sl.create(r,t)}});var Ri=u((nf,ji)=>{"use strict";var ul=Fi();ji.exports=ul});var Hi=u((of,Li)=>{Li.exports=Ri()});function we(e,r){try{if(typeof document>"u")return;var t=document.createElement("meta");t.setAttribute("name",e),r&&t.setAttribute("content",r),document.head.appendChild(t)}catch(n){console.error('inject-meta-tag: Failed to inject <meta name="'.concat(e,'"> tag.'),n)}}var rs=l(N()),Q=l(v());var Pc=new RegExp("^(?:[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}))*)+$","u");var We;function fs(e){return{lang:e?.lang??We?.lang,message:e?.message,abortEarly:e?.abortEarly??We?.abortEarly,abortPipeEarly:e?.abortPipeEarly??We?.abortPipeEarly}}var ds;function ys(e){return ds?.get(e)}var hs;function ms(e){return hs?.get(e)}var vs;function bs(e,r){return vs?.get(e)?.get(r)}function lt(e){let r=typeof e;return r==="string"?`"${e}"`:r==="number"||r==="bigint"||r==="boolean"?`${e}`:r==="object"||r==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":r}function Ee(e,r,t,n,i){let o=i&&"input"in i?i.input:t.value,a=i?.expected??e.expects??null,s=i?.received??lt(o),p={kind:e.kind,type:e.type,input:o,expected:a,received:s,message:`Invalid ${r}: ${a?`Expected ${a} but r`:"R"}eceived ${s}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},y=e.kind==="schema",c=i?.message??e.message??bs(e.reference,p.lang)??(y?ms(p.lang):null)??n.message??ys(p.lang);c&&(p.message=typeof c=="function"?c(p):c),y&&(t.typed=!1),t.issues?t.issues.push(p):t.issues=[p]}function Ve(e,r){return{kind:"schema",type:"array",reference:Ve,expects:"Array",async:!1,item:e,message:r,_run(t,n){let i=t.value;if(Array.isArray(i)){t.typed=!0,t.value=[];for(let o=0;o<i.length;o++){let a=i[o],s=this.item._run({typed:!1,value:a},n);if(s.issues){let p={type:"array",origin:"value",input:i,key:o,value:a};for(let y of s.issues)y.path?y.path.unshift(p):y.path=[p],t.issues?.push(y);if(t.issues||(t.issues=s.issues),n.abortEarly){t.typed=!1;break}}s.typed||(t.typed=!1),t.value.push(s.value)}}else Ee(this,"type",t,n);return t}}}function re(e,r){return{kind:"schema",type:"literal",reference:re,expects:lt(e),async:!1,literal:e,message:r,_run(t,n){return t.value===this.literal?t.typed=!0:Ee(this,"type",t,n),t}}}function Ze(e,r){return{kind:"schema",type:"object",reference:Ze,expects:"Object",async:!1,entries:e,message:r,_run(t,n){let i=t.value;if(i&&typeof i=="object"){t.typed=!0,t.value={};for(let o in this.entries){let a=i[o],s=this.entries[o]._run({typed:!1,value:a},n);if(s.issues){let p={type:"object",origin:"value",input:i,key:o,value:a};for(let y of s.issues)y.path?y.path.unshift(p):y.path=[p],t.issues?.push(y);if(t.issues||(t.issues=s.issues),n.abortEarly){t.typed=!1;break}}s.typed||(t.typed=!1),(s.value!==void 0||o in i)&&(t.value[o]=s.value)}}else Ee(this,"type",t,n);return t}}}function Ye(e){return{kind:"schema",type:"string",reference:Ye,expects:"string",async:!1,message:e,_run(r,t){return typeof r.value=="string"?r.typed=!0:Ee(this,"type",r,t),r}}}function ct(e,r,t){let n=e._run({typed:!1,value:r},fs(t));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}var gs=Ze({"@context":re("https://schema.org"),"@id":re(""),"@type":re("Message"),keywords:Ve(Ye()),type:re("https://schema.org/Message")});function te(e){return e?.type!=="message"?!1:!!e.entities?.find(t=>ct(gs,t).success)?.keywords.includes("PreChatMessage")}var to=l(N()),K=l(v());var xs=".webchat-fluent .d{display:grid;grid-template-areas:\"body\" \"toolbar\";grid-template-rows:auto auto;gap:var(--webchat-spacingHorizontalXXXL);padding:var(--webchat-spacingHorizontalXXXL)}.webchat-fluent .r{font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);grid-area:body;line-height:var(--webchat-lineHeightBase300);text-align:center}.webchat-fluent .r h2{color:var(--webchat-colorNeutralForeground1);font-family:inherit;font-weight:var(--webchat-fontWeightSemibold);font-size:var(--webchat-fontSizeHero700);line-height:var(--webchat-lineHeightHero700);margin:var(--webchat-spacingVerticalL) 0 0}.webchat-fluent .r img{border-radius:4px;height:64px}.webchat-fluent .b{grid-area:toolbar}.webchat-fluent .u{background-color:var(--webchat-colorNeutralForeground4);-webkit-mask-image:var(--mask-image);mask-image:var(--mask-image);--webkit-mask-image: var(--mask-image)}.webchat-fluent .e{-webkit-appearance:none;appearance:none;background-color:var(--webchat-colorNeutralBackground1);border:0;border-radius:16px;box-shadow:var(--webchat-shadow2);color:var(--webchat-colorNeutralForeground1);cursor:pointer;display:grid;gap:8px;grid-template-areas:\"image title\" \"image subtitle\";grid-template-columns:20px 1fr;grid-template-rows:auto 1fr;overflow:hidden;padding:16px 20px;text-align:left;-webkit-user-select:none;user-select:none}.webchat-fluent .e:disabled{background-color:var(--webchat-colorNeutralBackground1Disabled)}.webchat-fluent .e:hover{background-color:var(--webchat-colorNeutralGrey94)}.webchat-fluent .e:active{background-color:var(--webchat-colorNeutralBackground1Pressed)}.webchat-fluent .e:focus-visible{outline:solid 2px var(--webchat-colorStrokeFocus2);outline-offset:-2px}.webchat-fluent .h{grid-area:image;height:20px;width:20px}.webchat-fluent .g{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightRegular);grid-area:subtitle;line-height:20px;pointer-events:none}.webchat-fluent .s{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightSemibold);grid-area:title;line-height:20px}.webchat-fluent .w{container-name:a;container-type:inline-size}.webchat-fluent .o{display:grid;gap:var(--webchat-spacingHorizontalM);grid-template-columns:1fr 1fr 1fr;padding:0}@container a (width <= 480px){.webchat-fluent .o{grid-template-columns:1fr}}.webchat-fluent .p{background-color:var(--webchat-colorNeutralBackground4);border-radius:inherit;cursor:copy;display:grid;gap:8px;inset:0;place-content:center;place-items:center;position:absolute}.webchat-fluent .f{background-color:#e00;color:#fff}.webchat-fluent .v{height:36px;pointer-events:none;width:36px}.webchat-fluent .x{align-items:center;background:transparent;border-radius:8px;border:1px solid var(--webchat-colorBrandStroke2);color:currentColor;cursor:pointer;display:flex;font-size:12px;gap:4px;padding:4px 8px;text-align:start;transition:all .15s ease-out}@media (hover: hover){.webchat-fluent .x:not([aria-disabled=true]):hover{background-color:var(--webchat-colorBrandBackground2Hover);color:var(--webchat-colorBrandForeground2Hover)}}.webchat-fluent .x:not([aria-disabled=true]):active{background-color:var(--webchat-colorBrandBackground2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}.webchat-fluent .x[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .m{font-size:12px;height:1em;width:1em}.webchat-fluent .k{align-items:flex-end;align-self:flex-end;display:flex;flex-direction:column;gap:8px}.webchat-fluent .k:not(:empty){padding-block-end:8px;padding-inline-start:4px}.webchat-fluent .k.B{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.webchat-fluent .k.y{flex-direction:column}.webchat-fluent .t{-webkit-user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background-color:#fff;border-radius:100%;border:solid 1px var(--webchat-colorNeutralStroke1);color:var(--webchat-colorGray200);font-weight:var(--webchat-fontWeightSemibold);cursor:pointer;display:flex;flex-direction:column;height:60px;opacity:.7;padding:0;position:relative;touch-action:none;user-select:none;width:60px}.webchat-fluent .t:hover{background-color:var(--webchat-colorGray30)}.webchat-fluent .l{color:var(--webchat-colorGray190);font-size:10px}.webchat-fluent .c{font-size:24px;margin-top:8px}.webchat-fluent .F .t{height:32px;justify-content:center;margin:8px 4px;width:32px}.webchat-fluent .F .l{display:none}.webchat-fluent .F .c{font-size:20px;margin-top:0}.webchat-fluent .N{align-items:center;background:var(--webchat-colorNeutralBackground1);border:none;border-radius:var(--webchat-borderRadiusXLarge);display:flex;flex-direction:column;font-family:var(--webchat-fontFamilyBase);justify-content:center}.webchat-fluent .S{box-sizing:border-box;display:grid;gap:16px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);justify-items:center;padding:16px;width:100%}.webchat-fluent .z{align-items:center;color:var(--webchat-colorNeutralForeground4);display:flex;font-size:12px;gap:6px;margin-block-end:6px}.webchat-fluent .H{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .H:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .H:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .H:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .H:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .L{display:flex;gap:4px;margin-inline-start:auto}.webchat-fluent .W{align-items:center;-webkit-appearance:none;appearance:none;aspect-ratio:1;background:transparent;border-radius:var(--webchat-borderRadiusSmall);border:none;color:currentColor;cursor:pointer;display:flex;justify-content:center;padding:3px;width:32px}.webchat-fluent .W>svg{font-size:20px;pointer-events:none}.webchat-fluent .W.R{color:var(--webchat-colorNeutralForeground2BrandSelected)}@media (hover: hover){.webchat-fluent .W:not([aria-disabled=true]):hover{color:var(--webchat-colorNeutralForeground2BrandHover)}}.webchat-fluent .W:not([aria-disabled=true]):active{color:var(--webchat-colorNeutralForeground2BrandPressed)}.webchat-fluent .W[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .P{align-self:center;border-inline-end:1px solid var(--webchat-colorNeutralStroke2);height:28px}.webchat-fluent .P:is(:first-child,:last-child,:only-child){display:none}.webchat-fluent .X{display:grid}.webchat-fluent .G{font-size:0;height:0;opacity:0;width:1px}.webchat-fluent .D{border-radius:var(--webchat-borderRadiusLarge);border:1px solid var(--webchat-colorNeutralStroke1);cursor:default;padding:6px 8px;width:fit-content}.webchat-fluent .M{color:transparent;font-size:0;height:0;left:0;position:absolute;top:0;width:0}.webchat-fluent .U{display:grid;grid-template-areas:\"main\";max-height:200px;overflow:hidden}.webchat-fluent .C{height:0;visibility:collapse}.webchat-fluent .j{border:none;font:inherit;grid-area:main;outline:inherit;overflow-wrap:anywhere;resize:inherit;scrollbar-gutter:stable}.webchat-fluent .T{overflow:hidden;visibility:hidden;white-space:pre-wrap}.webchat-fluent .I{background-color:inherit;color:currentColor;height:100%;padding:0}.webchat-fluent .A{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);-moz-scrollbar-width:thin}.webchat-fluent .A::-webkit-scrollbar{width:8px}.webchat-fluent .A::-webkit-scrollbar-track{background-color:var(--webchat-colorNeutralBackground5);border-radius:16px}.webchat-fluent .A::-webkit-scrollbar-thumb{background-color:var(--webchat-colorNeutralForeground2);border-radius:16px}.webchat-fluent .A::-webkit-scrollbar-corner{background-color:var(--webchat-colorNeutralBackground5)}.webchat-fluent .V{color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);padding:0 10px 10px;text-rendering:optimizeLegibility;--webchat-sendbox-attachment-area-active: ;--webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge)}.webchat-fluent .E{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-sendbox-border-radius);border:1px solid var(--webchat-colorNeutralStroke1);display:grid;font-family:var(--webchat-fontFamilyBase);font-size:14px;gap:6px;grid-template:[telephone-keypad-start] \"text-area\" [telephone-keypad-end] var(--webchat-sendbox-attachment-area-active) \"controls\" / [telephone-keypad] 1fr;line-height:20px;padding:8px;position:relative}.webchat-fluent .E:has(.n){--webchat-sendbox-attachment-area-active: \"attachment\" }.webchat-fluent .E:focus-within{border-color:var(--webchat-colorNeutralStroke1Selected)}.webchat-fluent .E:after{border-bottom-left-radius:var(--webchat-sendbox-border-radius);border-bottom-right-radius:var(--webchat-sendbox-border-radius);border-bottom:var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);bottom:-1px;clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);content:\"\";height:var(--webchat-sendbox-border-radius);left:-1px;position:absolute;right:-1px;transition:clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid)}.webchat-fluent .E:focus-within:after{clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .E>.q{grid-area:text-area}.webchat-fluent .E>.n{grid-area:attachment}.webchat-fluent .E>.J{grid-area:controls}.webchat-fluent .E>.K{grid-area:telephone-keypad}.webchat-fluent .O{background-color:transparent;border:none;flex:auto;font-family:var(--webchat-fontFamilyBase);font-size:14px;line-height:20px;outline:none;padding:4px 4px 0;resize:none}@media only screen and (hover: none) and (pointer: coarse){.webchat-fluent .O:focus-within{font-size:16px}}.webchat-fluent .Q{align-items:center;display:flex;padding-inline-start:4px}.webchat-fluent .Y{color:var(--webchat-colorNeutralForeground4);cursor:default;font-family:var(--webchat-fontFamilyNumeric);font-size:10px;line-height:14px;margin-inline-end:4px}.webchat-fluent .Z{color:var(--webchat-colorStatusDangerForeground1)}.webchat-fluent.i{display:contents;--webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);--webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);--webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);--webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);--webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);--webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);--webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);--webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);--webchat-colorNeutralBackground1Disabled: var(--colorNeutralBackground1Disabled, #f0f0f0);--webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);--webchat-colorNeutralGrey94: var(--colorNeutralGrey94, #f0f0f0);--webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);--webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);--webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);--webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);--webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);--webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);--webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);--webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);--webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);--webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);--webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);--webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);--webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);--webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);--webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);--webchat-colorGray30: var(--colorGray30, #edebe9);--webchat-colorGray160: var(--colorGray160, #323130);--webchat-colorGray190: var(--colorGray190, #201f1e);--webchat-colorGray200: var(--colorGray200, #1b1a19);--webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);--webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);--webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);--webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108));--webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);--webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);--webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);--webchat-spacingVerticalL: var(--spacingVerticalL, 16px);--webchat-fontFamilyBase: var(--fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);--webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);--webchat-fontWeightRegular: var(--fontWeightRegular, 400);--webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);--webchat-fontSizeBase300: var(--fontSizeBase300, 14px);--webchat-fontSizeHero700: var(--fontSizeHero700, 28px);--webchat-lineHeightBase300: var(--lineHeightBase300, 20px);--webchat-lineHeightHero700: var(--lineHeightHero700, 36px);--webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);--webchat-durationUltraFast: var(--durationUltraFast, 0);--webchat-durationNormal: var(--durationNormal, .2s);--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1,0,1,1));--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0,0,0,1));--webchat-shadow2: 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%)}@media (prefers-reduced-motion){.webchat-fluent.i{--webchat-durationUltraFast: .01ms;--webchat-durationNormal: .01ms}}\n/*! For license information please see botframework-webchat-fluent-theme.production.min.css.LEGAL.txt */\n";function Te(){if(globalThis.document){let e=document.createElement("style");e.append(document.createTextNode(xs)),document.head.appendChild(e)}}var pt=l(v());function _s(e){return(0,pt.useMemo)(()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([r,t])=>[r,`${r} ${t}`]))),[e])}var h=_s;var ft={"pre-chat-message-activity":"d","pre-chat-message-activity__body":"r","pre-chat-message-activity__toolbar":"b"};var Qi=l(B()),ue=l(v());var Wi=l(N()),Vi=l(B()),O=l(v());var $i=l(Hi()),Pe=l(v());function k(e){var r=(0,Pe.useRef)(),t=(0,Pe.useMemo)(function(){return(0,$i.default)({},{current:{get:function(){return r.current}}})},[r]);return r.current=e,t}var Ki=l(B()),se=l(v());var zi={"pre-chat-message-activity__monochrome-image-masker":"u"};var Ui=({className:e,src:r})=>{let t=h(zi),n=(0,se.useMemo)(()=>({"--mask-image":`url(${r})`}),[r]);return se.default.createElement("div",{className:(0,Ki.default)(e,t["pre-chat-message-activity__monochrome-image-masker"]),style:n})};Ui.displayName="MonochromeImageMasker";var Gi=(0,se.memo)(Ui);var Xi={"pre-chat-message-activity__card-action-box":"e","pre-chat-message-activity__card-action-image":"h","pre-chat-message-activity__card-action-subtitle":"g","pre-chat-message-activity__card-action-title":"s"};var{useFocus:cl,useRenderMarkdownAsHTML:pl,useSendBoxValue:fl}=Wi.hooks,Zi=({className:e,messageBackAction:r})=>{let[t,n]=fl(),i=h(Xi),o=cl(),a=k(r.displayText||r.text||""),s=pl("message activity"),p=(0,O.useMemo)(()=>s?{__html:s(r.text||"")}:{__html:""},[r.text,s]),y=(0,O.useCallback)(()=>{n(a.current),o("sendBox")},[o,a,n]);return O.default.createElement("button",{className:(0,Vi.default)(e,i["pre-chat-message-activity__card-action-box"]),onClick:y,type:"button"},O.default.createElement("div",{className:i["pre-chat-message-activity__card-action-title"]},"title"in r&&r.title),"image"in r&&r.image&&O.default.createElement(Gi,{className:i["pre-chat-message-activity__card-action-image"],src:r.image}),O.default.createElement("div",{className:i["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:p}))};Zi.displayName="StarterPromptAction";var Yi=(0,O.memo)(Zi);var Ji={"pre-chat-message-activity__card-action-toolbar":"w","webchat-container":"a","pre-chat-message-activity__card-action-toolbar-grid":"o"};var eo=({cardActions:e,className:r})=>{let t=h(Ji);return ue.default.createElement("div",{className:(0,Qi.default)(r,t["pre-chat-message-activity__card-action-toolbar"])},ue.default.createElement("div",{className:t["pre-chat-message-activity__card-action-toolbar-grid"]},e.filter(n=>n.type==="messageBack").map(n=>ue.default.createElement(Yi,{key:n.text,messageBackAction:n}))))};eo.displayName="StarterPrompts";var ro=(0,ue.memo)(eo);var{useRenderMarkdownAsHTML:yl}=to.hooks,no=({activity:e})=>{let r=h(ft),t=yl(),n=(0,K.useMemo)(()=>t?{__html:t(e.text||"")}:{__html:""},[e.text,t]);return K.default.createElement("div",{className:r["pre-chat-message-activity"]},K.default.createElement("div",{className:r["pre-chat-message-activity__body"],dangerouslySetInnerHTML:n}),K.default.createElement(ro,{cardActions:e.suggestedActions?.actions||[],className:r["pre-chat-message-activity__toolbar"]}))};no.displayName="PreChatMessageActivity";var Rr=(0,K.memo)(no);var Yo=l(N()),ae=l(B()),b=l(v());var ve=l(v());function hl(e){return ve.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},ve.default.createElement("path",{d:"M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z",fill:"currentColor"}))}var Lr=(0,ve.memo)(hl);var be=l(v());function ml(e){return be.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},be.default.createElement("path",{d:"m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z",fill:"currentColor"}))}var Hr=(0,be.memo)(ml);var ge=l(v());function vl(e){return ge.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 16 16",width:"1em",xmlns:"http://www.w3.org/2000/svg"},ge.default.createElement("path",{d:"M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z",fill:"currentColor"}))}var $r=(0,ge.memo)(vl);var xe=l(v());function bl(e){return xe.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},xe.default.createElement("path",{d:"M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z",fill:"currentColor"}))}var zr=(0,xe.memo)(bl);var _e=l(v());function gl(e){return _e.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},_e.default.createElement("path",{d:"M6 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Zm0 4a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM7.25 12a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 16a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM15.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",fill:"currentColor"}))}var Kr=(0,_e.memo)(gl);var xl={sendBoxDropZone:"send box drop zone",sendBoxSendButton:"send box send button",sendBoxTextBox:"send box text area",sendBoxTelephoneKeypadButton1:"send box telephone keypad button 1",sendBoxTelephoneKeypadButton2:"send box telephone keypad button 2",sendBoxTelephoneKeypadButton3:"send box telephone keypad button 3",sendBoxTelephoneKeypadButton4:"send box telephone keypad button 4",sendBoxTelephoneKeypadButton5:"send box telephone keypad button 5",sendBoxTelephoneKeypadButton6:"send box telephone keypad button 6",sendBoxTelephoneKeypadButton7:"send box telephone keypad button 7",sendBoxTelephoneKeypadButton8:"send box telephone keypad button 8",sendBoxTelephoneKeypadButton9:"send box telephone keypad button 9",sendBoxTelephoneKeypadButton0:"send box telephone keypad button 0",sendBoxTelephoneKeypadButtonStar:"send box telephone keypad button star",sendBoxTelephoneKeypadButtonPound:"send box telephone keypad button pound",sendBoxTelephoneKeypadToolbarButton:"send box telephone keypad toolbar button",sendBoxUploadButton:"send box upload button"},x=xl;var so=l(N()),uo=l(B()),I=l(v());var io={"sendbox__attachment-drop-zone":"p","sendbox__attachment-drop-zone--droppable":"f","sendbox__attachment-drop-zone-icon":"v"};var{useLocalizer:kl}=so.hooks,wl=e=>{e.preventDefault()},oo=e=>!!e.dataTransfer?.types?.some(r=>r.toLowerCase()==="files");function El(e,r){let t=e.parentNode;for(;t;){if(t===r)return!0;t=t.parentNode}return!1}var ao=e=>{let[r,t]=(0,I.useState)(!1),n=h(io),i=(0,I.useRef)(null),o=kl(),a=k(e.onFilesAdded);(0,I.useEffect)(()=>{let p=0,y=f=>{p++,oo(f)&&t(i.current&&(f.target===i.current||f.target instanceof HTMLElement&&El(f.target,i.current))?"droppable":"visible")},c=()=>--p<=0&&t(!1);return document.addEventListener("dragenter",y,!1),document.addEventListener("dragleave",c,!1),()=>{document.removeEventListener("dragenter",y),document.removeEventListener("dragleave",c)}},[t]);let s=(0,I.useCallback)(p=>{p.preventDefault(),t(!1),oo(p.nativeEvent)&&a.current([...p.dataTransfer.files])},[a,t]);return r?I.default.createElement("div",{className:(0,uo.default)(n["sendbox__attachment-drop-zone"],{[n["sendbox__attachment-drop-zone--droppable"]]:r==="droppable"}),"data-testid":x.sendBoxDropZone,onDragOver:wl,onDrop:s,ref:i},I.default.createElement(Lr,{className:n["sendbox__attachment-drop-zone-icon"]}),o("TEXT_INPUT_DROP_ZONE")):null};ao.displayName="DropZone";var Ur=(0,I.memo)(ao);var bo=l(N()),go=l(B()),q=l(v());function Gr(e){let{title:r}=e,{type:t,value:n}=e;return t==="messageBack"?r||e.displayText:r||(typeof n=="string"?n:JSON.stringify(n))}var _=l(v()),lo=(0,_.createContext)({itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function Tl(e){let r=(0,_.useRef)(0),t=(0,_.useRef)([]),n=(0,_.useCallback)(({current:c},f)=>c&&(c.tabIndex=r.current===f?0:-1),[r]),i=(0,_.useCallback)(c=>{let f;typeof c=="number"?f=c:f=c(r.current),f&&!t.current.at(f)?.current&&(f=0),r.current!==f&&(r.current=f,t.current.forEach((m,g)=>n(m,g)),t.current.at(f)?.current?.focus())},[n,t,r]),o=(0,_.useCallback)(c=>{let{target:f}=c,m=t.current.findIndex(({current:g})=>g===f);m!==-1&&i(m)},[t,i]),a=(0,_.useCallback)(c=>f=>{let m=!e.direction,g=/up|down/iu.test(c)&&e.direction==="vertical",T=/left|right/iu.test(c)&&e.direction==="horizontal",w=/right|down/iu.test(c),E=m||g||T?w?1:-1:0,S=t.current.map((Z,ee)=>ee),P=S.indexOf(f)+E;return S.at(P)??0},[e.direction]),s=(0,_.useCallback)(c=>{let{key:f}=c;switch(f){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":i(a(f));break;case"Home":i(0);break;case"End":i(-1);break;case"Escape":e.onEscapeKey?.();break;default:return}c.preventDefault(),c.stopPropagation()},[i,a,e]),p=(0,_.useCallback)((c,f)=>{let{current:m}=c;return t.current[Number(f)]=c,m.addEventListener("focus",o),m.addEventListener("keydown",s),n(c,f),()=>{m.removeEventListener("focus",o),m.removeEventListener("keydown",s),delete t.current[Number(f)]}},[o,s,n,t]),y=(0,_.useMemo)(()=>({itemEffector:p}),[p]);return _.default.createElement(lo.Provider,{value:y},e.children)}function co(e){let r=(0,_.useRef)(null),{itemEffector:t}=(0,_.useContext)(lo);return(0,_.useEffect)(()=>t(r,e)),r}var po=(0,_.memo)(Tl);var ho=l(N()),mo=l(B()),G=l(v());var fo={"suggested-action":"x","suggested-action__image":"m"};var U=l(v()),Nl=e=>e.preventDefault(),Al=(0,U.forwardRef)(({"aria-hidden":e,children:r,disabled:t,onClick:n,tabIndex:i,...o},a)=>{let s=(0,U.useRef)(null);return U.default.createElement("button",{"aria-disabled":t?"true":"false","aria-hidden":e,onClick:t?Nl:n,ref:a||s,tabIndex:i,...t&&{"aria-disabled":"true",tabIndex:-1},...o,type:"button"},r)}),yo=(0,U.memo)(Al);var{useDisabled:Bl,useFocus:Il,usePerformCardAction:Dl,useScrollToEnd:Ml,useStyleSet:Cl,useSuggestedActions:Ol}=ho.hooks;function Pl({buttonText:e,className:r,displayText:t,image:n,imageAlt:i,itemIndex:o,text:a,type:s,value:p}){let[y,c]=Ol(),[{suggestedAction:f}]=Cl(),[m]=Bl(),g=Il(),T=co(o),w=Dl(),E=h(fo),S=Ml(),P=(0,G.useCallback)(({target:Z})=>{(async function(){await g("sendBoxWithoutKeyboard"),w({displayText:t,text:a,type:s,value:p},{target:Z}),s==="openUrl"&&c([]),S()})()},[t,g,w,S,c,a,s,p]);return G.default.createElement(yo,{className:(0,mo.default)(E["suggested-action"],f+"",(r||"")+""),disabled:m,onClick:P,ref:T,type:"button"},n&&G.default.createElement("img",{alt:i,className:E["suggested-action__image"],src:n}),G.default.createElement("span",null,e))}var vo=(0,G.memo)(Pl);var Xr={"suggested-actions":"k","suggested-actions--flow":"B","suggested-actions--stacked":"y"};var{useFocus:Fl,useLocalizer:jl,useStyleOptions:Rl,useStyleSet:Ll,useSuggestedActions:Hl}=bo.hooks;function $l(e){let[{suggestedActionLayout:r}]=Rl(),[{suggestedActions:t}]=Ll(),n=h(Xr);return q.default.createElement("div",{"aria-label":e["aria-label"],"aria-live":"polite","aria-orientation":"vertical",className:(0,go.default)(n["suggested-actions"],t+"",{[n["suggested-actions--flow"]]:r==="flow",[n["suggested-actions--stacked"]]:r!=="flow"},e.className),role:"toolbar"},!!e.children&&!!q.default.Children.count(e.children)&&e.children)}function zl(){let e=h(Xr),r=jl(),[t,n,{activity:i}]=Hl(),o=Fl(),a=(0,q.useCallback)(()=>{o("sendBox")},[o]),s=te(i)?[]:t.map((p,y)=>{let{displayText:c,image:f,imageAltText:m,text:g,type:T,value:w}=p;return t?.length?q.default.createElement(vo,{buttonText:Gr(p),displayText:c,image:f,imageAlt:f&&(m||g),itemIndex:y,key:y,text:g,type:T,value:w}):null});return q.default.createElement(po,{onEscapeKey:a},q.default.createElement($l,{"aria-label":r("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},s))}var Wr=(0,q.memo)(zl);var X=l(v());var xo=l(v()),_o=(0,xo.createContext)(new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));_o.displayName="TelephoneKeypad.Context";var qe=_o;var Kl=(0,X.memo)(({children:e})=>{let[r,t]=(0,X.useState)(!1),n=(0,X.useMemo)(()=>Object.freeze({setShown:t,shown:r}),[t,r]);return X.default.createElement(qe.Provider,{value:n},e)}),Vr=Kl;var je=l(v());var Eo=l(N()),To=l(B()),d=l(v());var F=l(v());var ko={"telephone-keypad__button":"t","telephone-keypad__button__ruby":"l","telephone-keypad__button__text":"c","telephone-keypad--horizontal":"F"};var wo=(0,F.memo)((0,F.forwardRef)(({button:e,"data-testid":r,onClick:t,ruby:n},i)=>{let o=h(ko),a=k(t),s=(0,F.useCallback)(()=>a.current?.(),[a]);return F.default.createElement("button",{className:o["telephone-keypad__button"],"data-testid":r,onClick:s,ref:i,type:"button"},F.default.createElement("span",{className:o["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!n&&F.default.createElement("ruby",{className:o["telephone-keypad__button__ruby"]},n))}));wo.displayName="TelephoneKeypad.Button";var D=wo;var Fe=l(v());function j(){let{setShown:e,shown:r}=(0,Fe.useContext)(qe);return(0,Fe.useMemo)(()=>Object.freeze([r,e]),[r,e])}var Zr={"telephone-keypad":"N","telephone-keypad__box":"S","telephone-keypad__info-message":"z","telephone-keypad__info-message-link":"H"};var{LocalizedString:Xl}=Eo.Components,So=(0,d.memo)(({children:e,isHorizontal:r})=>{let t=h(Zr);return r?null:d.default.createElement("div",{className:t["telephone-keypad__box"]},e)});So.displayName="TelephoneKeypad:Orientation";var No=(0,d.memo)(({autoFocus:e,className:r,onButtonClick:t,isHorizontal:n})=>{let i=k(e),o=h(Zr),a=(0,d.useRef)(null),s=k(t),[,p]=j(),y=(0,d.useCallback)(()=>s.current?.("1"),[s]),c=(0,d.useCallback)(()=>s.current?.("2"),[s]),f=(0,d.useCallback)(()=>s.current?.("3"),[s]),m=(0,d.useCallback)(()=>s.current?.("4"),[s]),g=(0,d.useCallback)(()=>s.current?.("5"),[s]),T=(0,d.useCallback)(()=>s.current?.("6"),[s]),w=(0,d.useCallback)(()=>s.current?.("7"),[s]),E=(0,d.useCallback)(()=>s.current?.("8"),[s]),S=(0,d.useCallback)(()=>s.current?.("9"),[s]),P=(0,d.useCallback)(()=>s.current?.("0"),[s]),Z=(0,d.useCallback)(()=>s.current?.("*"),[s]),ee=(0,d.useCallback)(()=>s.current?.("#"),[s]),Ue=(0,d.useCallback)(Ge=>{Ge.key==="Escape"&&p(!1)},[p]);return(0,d.useEffect)(()=>{i.current&&a.current?.focus()},[i,a]),d.default.createElement("div",{className:(0,To.default)(o["telephone-keypad"],r),onKeyDown:Ue},d.default.createElement(So,{isHorizontal:n},d.default.createElement(D,{button:"1","data-testid":x.sendBoxTelephoneKeypadButton1,onClick:y,ref:a}),d.default.createElement(D,{button:"2","data-testid":x.sendBoxTelephoneKeypadButton2,onClick:c,ruby:"ABC"}),d.default.createElement(D,{button:"3","data-testid":x.sendBoxTelephoneKeypadButton3,onClick:f,ruby:"DEF"}),d.default.createElement(D,{button:"4","data-testid":x.sendBoxTelephoneKeypadButton4,onClick:m,ruby:"GHI"}),d.default.createElement(D,{button:"5","data-testid":x.sendBoxTelephoneKeypadButton5,onClick:g,ruby:"JKL"}),d.default.createElement(D,{button:"6","data-testid":x.sendBoxTelephoneKeypadButton6,onClick:T,ruby:"MNO"}),d.default.createElement(D,{button:"7","data-testid":x.sendBoxTelephoneKeypadButton7,onClick:w,ruby:"PQRS"}),d.default.createElement(D,{button:"8","data-testid":x.sendBoxTelephoneKeypadButton8,onClick:E,ruby:"TUV"}),d.default.createElement(D,{button:"9","data-testid":x.sendBoxTelephoneKeypadButton9,onClick:S,ruby:"WXYZ"}),d.default.createElement(D,{button:"*","data-testid":x.sendBoxTelephoneKeypadButtonStar,onClick:Z}),d.default.createElement(D,{button:"0","data-testid":x.sendBoxTelephoneKeypadButton0,onClick:P,ruby:"+"}),d.default.createElement(D,{button:"#","data-testid":x.sendBoxTelephoneKeypadButtonPound,onClick:ee})),d.default.createElement("div",{className:o["telephone-keypad__info-message"]},d.default.createElement($r,null),d.default.createElement(Xl,{linkClassName:o["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});No.displayName="TelephoneKeypad";var Ao=No;var Bo=(0,je.memo)(e=>j()[0]?je.default.createElement(Ao,{...e}):null);Bo.displayName="TelephoneKeypad.Surrogate";var Yr=Bo;var Do=l(N()),M=l(v());var Le=l(B()),W=l(v());var Re={sendbox__toolbar:"L","sendbox__toolbar-button":"W","sendbox__toolbar-button--selected":"R","sendbox__toolbar-separator":"P"};var Vl=e=>e.preventDefault(),Y=(0,W.memo)(e=>{let r=h(Re);return W.default.createElement("button",{"aria-label":e["aria-label"],className:(0,Le.default)(r["sendbox__toolbar-button"],e.className,{[r["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:e.disabled?Vl:e.onClick,type:e.type==="submit"?"submit":"button",...e.disabled&&{"aria-disabled":"true",tabIndex:-1}},e.children)});Y.displayName="ToolbarButton";var Jr=(0,W.memo)(e=>{let r=h(Re);return W.default.createElement("div",{className:(0,Le.default)(r.sendbox__toolbar,e.className)},e.children)});Jr.displayName="Toolbar";var Qr=(0,W.memo)(e=>{let r=h(Re);return W.default.createElement("div",{"aria-orientation":"vertical",className:(0,Le.default)(r["sendbox__toolbar-separator"],e.className),role:"separator"})});Qr.displayName="ToolbarSeparator";var Io={"sendbox__add-attachment":"X","sendbox__add-attachment-input":"G"};var{useLocalizer:Yl,useStyleOptions:Jl}=Do.hooks;function Ql(e){let r=(0,M.useRef)(null),t=h(Io),n=Yl(),[{uploadAccept:i,uploadMultiple:o}]=Jl(),a=k(e.onFilesAdded),s=(0,M.useCallback)(()=>r.current?.click(),[r]),p=(0,M.useCallback)(({target:{files:y}})=>{y&&(a.current?.([...y]),r.current&&(r.current.value=""))},[r,a]);return M.default.createElement("div",{className:t["sendbox__add-attachment"]},M.default.createElement("input",{accept:i,"aria-disabled":e.disabled,"aria-hidden":"true",className:t["sendbox__add-attachment-input"],multiple:o,onInput:e.disabled?void 0:p,readOnly:e.disabled,ref:r,role:"button",tabIndex:-1,type:"file"}),M.default.createElement(Y,{"aria-label":n("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":x.sendBoxUploadButton,onClick:s},M.default.createElement(Hr,null)))}var Mo=(0,M.memo)(Ql);var Oo=l(N()),He=l(v()),Po=l(B());var Co={sendbox__attachment:"D"};var{useLocalizer:rc}=Oo.hooks,tc={one:"TEXT_INPUT_ATTACHMENTS_ONE",two:"TEXT_INPUT_ATTACHMENTS_TWO",few:"TEXT_INPUT_ATTACHMENTS_FEW",many:"TEXT_INPUT_ATTACHMENTS_MANY",other:"TEXT_INPUT_ATTACHMENTS_OTHER"};function nc({attachments:e,className:r}){let t=h(Co),n=rc({plural:!0});return e.length?He.default.createElement("div",{className:(0,Po.default)(t.sendbox__attachment,r)},n(tc,e.length)):null}var qo=(0,He.memo)(nc);var $e=l(v());var Fo={"sendbox__error-message":"M"};function oc(e){let r=h(Fo);return $e.default.createElement("span",{className:r["sendbox__error-message"],id:e.id,role:"alert"},e.error)}var jo=(0,$e.memo)(oc);var J=l(v()),Ro=l(N());var{useLocalizer:sc}=Ro.hooks,Lo=(0,J.memo)(()=>{let[e,r]=j(),t=sc(),n=(0,J.useCallback)(()=>r(i=>!i),[r]);return J.default.createElement(Y,{"aria-label":t("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":x.sendBoxTelephoneKeypadToolbarButton,onClick:n,selected:e},J.default.createElement(Kr,null))});Lo.displayName="SendBox.TelephoneKeypadToolbarButton";var Ho=Lo;var ze=l(B()),V=l(v());var $o={"sendbox__text-area":"U","sendbox__text-area--hidden":"C","sendbox__text-area-shared":"j","sendbox__text-area-doppelganger":"T","sendbox__text-area-input":"I","sendbox__text-area-input--scroll":"A"};var zo=(0,V.forwardRef)((e,r)=>{let t=h($o),n=(0,V.useCallback)(i=>{!i.shiftKey&&i.key==="Enter"&&(i.preventDefault(),"form"in i.target&&i.target.form instanceof HTMLFormElement&&i.target?.form?.requestSubmit())},[]);return V.default.createElement("div",{className:(0,ze.default)(t["sendbox__text-area"],{[t["sendbox__text-area--hidden"]]:e.hidden},e.className),role:e.hidden?"hidden":void 0},V.default.createElement("div",{className:(0,ze.default)(t["sendbox__text-area-doppelganger"],t["sendbox__text-area-shared"],t["sendbox__text-area-input--scroll"])},e.value||e.placeholder," "),V.default.createElement("textarea",{"aria-label":e["aria-label"],className:(0,ze.default)(t["sendbox__text-area-input"],t["sendbox__text-area-shared"],t["sendbox__text-area-input--scroll"]),"data-testid":e["data-testid"],onInput:e.onInput,onKeyDown:n,placeholder:e.placeholder,ref:r,rows:e.startRows??1,tabIndex:e.hidden?-1:void 0,value:e.value}))});zo.displayName="TextArea";var Ko=zo;var Uo=l(N()),et=l(v());var{useConnectivityStatus:ac,useLocalizer:lc}=Uo.hooks,cc=({attachments:e,message:r})=>{let[t]=ac(),n=lc(),i=k(t!=="connected"&&t!=="reconnected"?"offline":!r&&!e.length?"empty":void 0),o=(0,et.useMemo)(()=>Object.freeze(new Map().set("empty",n("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",n("CONNECTIVITY_STATUS_ALT_FATAL"))),[n]);return(0,et.useMemo)(()=>Object.freeze([i,i.current&&o.get(i.current)]),[o,i])},Go=cc;var Xo=l(v());function rt(e){let r=(0,Xo.useMemo)(()=>Math.random().toString(36).substr(2,5),[]);return e=e?`${e}--`:"",`${e}${r}`}var Wo={sendbox:"V",sendbox__sendbox:"E","sendbox__attachment--in-grid":"n","sendbox__text-area--in-grid":"q","sendbox__sendbox-controls--in-grid":"J","sendbox__telephone-keypad--in-grid":"K","sendbox__sendbox-text":"O","sendbox__sendbox-controls":"Q","sendbox__text-counter":"Y","sendbox__text-counter--error":"Z"};var Vo=l(v()),Zo=l(N()),{useScrollDown:fc,useScrollUp:dc}=Zo.hooks;function tt(){let e=fc(),r=dc();return(0,Vo.useCallback)(t=>{if(t.target instanceof HTMLTextAreaElement&&t.target.value)return;let{ctrlKey:n,metaKey:i,shiftKey:o}=t;if(n||i||o)return;let a=!0;switch(t.key){case"End":e({displacement:1/0});break;case"Home":r({displacement:1/0});break;case"PageDown":e();break;case"PageUp":r();break;default:a=!1;break}a&&(t.preventDefault(),t.stopPropagation())},[e,r])}var{useFocus:yc,useLocalizer:hc,useMakeThumbnail:mc,useRegisterFocusSendBox:vc,useSendBoxAttachments:bc,useSendMessage:gc,useStyleOptions:xc}=Yo.hooks;function _c(e){let r=(0,b.useRef)(null),[t,n]=(0,b.useState)(""),[i,o]=bc(),[{hideTelephoneKeypadButton:a,hideUploadButton:s,maxMessageLength:p}]=xc(),y=!!p&&t.length>p,c=h(Wo),f=hc(),m=gc(),g=mc(),T=rt("sendbox__error-message-id"),[w,E]=Go({message:t,attachments:i}),[S]=j(),P=yc();vc((0,b.useCallback)(({noKeyboard:A,waitUntil:Xe})=>{r.current&&(A?Xe((async()=>{let le=r.current?.getAttribute("readonly");r.current?.setAttribute("readonly","true"),await new Promise(ke=>setTimeout(ke,0)),r.current?.focus(),typeof le!="string"?r.current?.removeAttribute("readonly"):r.current?.setAttribute("readonly",le)})()):r.current?.focus())},[r]));let Z=k(i),ee=k(t),Ue=(0,b.useCallback)(A=>{"tabIndex"in A.target&&typeof A.target.tabIndex=="number"&&A.target.tabIndex>=0||P("sendBox")},[P]),Ge=(0,b.useCallback)(A=>n(A.currentTarget.value),[n]),ot=(0,b.useCallback)(async A=>{let Xe=Object.freeze(await Promise.all(A.map(le=>g(le).then(ke=>Object.freeze({blob:le,...ke&&{thumbnailURL:ke}})))));o(Xe)},[g,o]),ts=(0,b.useCallback)(A=>{A.preventDefault(),w.current!=="empty"&&!y&&(m(ee.current,void 0,{attachments:Z.current}),n(""),o([])),P("sendBox")},[Z,ee,m,o,n,y,w,P]),ns=(0,b.useCallback)(A=>m(`/DTMFKey ${A}`),[m]),is=tt(),os={"aria-invalid":"false",...E&&{"aria-invalid":"true","aria-errormessage":T}};return b.default.createElement("form",{...os,className:(0,ae.default)(c.sendbox,e.className),onSubmit:ts},b.default.createElement(Wr,null),b.default.createElement("div",{className:(0,ae.default)(c.sendbox__sendbox),onClickCapture:Ue,onKeyDown:is},b.default.createElement(Ko,{"aria-label":f(y?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:(0,ae.default)(c["sendbox__sendbox-text"],c["sendbox__text-area--in-grid"]),"data-testid":x.sendBoxTextBox,hidden:S,onInput:Ge,placeholder:e.placeholder??f("TEXT_INPUT_PLACEHOLDER"),ref:r,value:t}),b.default.createElement(Yr,{autoFocus:!0,className:c["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:ns}),b.default.createElement(qo,{attachments:i,className:c["sendbox__attachment--in-grid"]}),b.default.createElement("div",{className:(0,ae.default)(c["sendbox__sendbox-controls"],c["sendbox__sendbox-controls--in-grid"])},!S&&p&&isFinite(p)&&b.default.createElement("div",{className:(0,ae.default)(c["sendbox__text-counter"],{[c["sendbox__text-counter--error"]]:y})},`${t.length}/${p}`),b.default.createElement(Jr,null,!a&&b.default.createElement(Ho,null),!s&&b.default.createElement(Mo,{onFilesAdded:ot}),b.default.createElement(Qr,null),b.default.createElement(Y,{"aria-label":f("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":x.sendBoxSendButton,disabled:y||S,type:"submit"},b.default.createElement(zr,null)))),b.default.createElement(Ur,{onFilesAdded:ot}),b.default.createElement(jo,{error:E,id:T})))}var nt=(0,b.memo)(_c);var Qo=l(v()),es=l(B());var Jo={theme:"i"};var wc="webchat-fluent";function Ke(e){let r=h(Jo);return Qo.default.createElement("div",{className:(0,es.default)(wc,r.theme)},e.children)}var{ThemeProvider:Ec}=rs.Components,Tc=[()=>e=>(...r)=>{let t=r[0]?.activity;return t&&te(t)?()=>Q.default.createElement(Rr,{activity:t}):e(...r)}],Sc=[()=>()=>()=>nt],Nc=({children:e})=>Q.default.createElement(Ke,null,Q.default.createElement(Vr,null,Q.default.createElement(Ec,{activityMiddleware:Tc,sendBoxMiddleware:Sc},e))),it=(0,Q.memo)(Nc);we("botframework-webchat:fluent-theme","version=4.18.1-main.20240807.dfe788c; build-tool=tsup; module-format=esmodules");Te();globalThis.WebChat={...globalThis.WebChat,FluentThemeProvider:it,testIds:{...globalThis.WebChat?.testIds,...x}};})();
|
|
1
|
+
"use strict";(()=>{var ps=Object.create;var at=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ds=Object.getOwnPropertyNames;var ys=Object.getPrototypeOf,hs=Object.prototype.hasOwnProperty;var u=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ms=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of ds(r))!hs.call(e,i)&&i!==t&&at(e,i,{get:()=>r[i],enumerable:!(n=fs(r,i))||n.enumerable});return e};var l=(e,r,t)=>(t=e!=null?ps(ys(e)):{},ms(r||!e||!e.__esModule?at(t,"default",{value:e,enumerable:!0}):t,e));var N=u((Rc,lt)=>{lt.exports={Components:globalThis.WebChat.Components,hooks:globalThis.WebChat.hooks}});var v=u((Lc,ct)=>{ct.exports=globalThis.React});var B=u((Yc,Ae)=>{(function(){"use strict";var e={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(i=n(i,t(a)))}return i}function t(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var a in i)e.call(i,a)&&i[a]&&(s=n(s,a));return s}function n(i,s){return s?i?i+" "+s:i+s:i}typeof Ae<"u"&&Ae.exports?(r.default=r,Ae.exports=r):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return r}):window.classNames=r})()});var j=u((Qe,ht)=>{"use strict";var fe=function(e){return e&&e.Math===Math&&e};ht.exports=fe(typeof globalThis=="object"&&globalThis)||fe(typeof window=="object"&&window)||fe(typeof self=="object"&&self)||fe(typeof global=="object"&&global)||fe(typeof Qe=="object"&&Qe)||function(){return this}()||Function("return this")()});var L=u((Jc,mt)=>{"use strict";mt.exports=function(e){try{return!!e()}catch{return!0}}});var de=u((Qc,vt)=>{"use strict";var As=L();vt.exports=!As(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var kt=u((ep,_t)=>{"use strict";var Bs=de(),xt=Function.prototype,bt=xt.apply,gt=xt.call;_t.exports=typeof Reflect=="object"&&Reflect.apply||(Bs?gt.bind(bt):function(){return gt.apply(bt,arguments)})});var H=u((rp,Tt)=>{"use strict";var wt=de(),Et=Function.prototype,er=Et.call,Is=wt&&Et.bind.bind(er,er);Tt.exports=wt?Is:function(e){return function(){return er.apply(e,arguments)}}});var rr=u((tp,Nt)=>{"use strict";var St=H(),Ms=St({}.toString),Ps=St("".slice);Nt.exports=function(e){return Ps(Ms(e),8,-1)}});var tr=u((np,At)=>{"use strict";var Cs=rr(),Ds=H();At.exports=function(e){if(Cs(e)==="Function")return Ds(e)}});var $=u((ip,Bt)=>{"use strict";var nr=typeof document=="object"&&document.all;Bt.exports=typeof nr>"u"&&nr!==void 0?function(e){return typeof e=="function"||e===nr}:function(e){return typeof e=="function"}});var z=u((op,It)=>{"use strict";var Os=L();It.exports=!Os(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Ie=u((sp,Mt)=>{"use strict";var qs=de(),Be=Function.prototype.call;Mt.exports=qs?Be.bind(Be):function(){return Be.apply(Be,arguments)}});var Ot=u(Dt=>{"use strict";var Pt={}.propertyIsEnumerable,Ct=Object.getOwnPropertyDescriptor,Fs=Ct&&!Pt.call({1:2},1);Dt.f=Fs?function(r){var t=Ct(this,r);return!!t&&t.enumerable}:Pt});var ir=u((ap,qt)=>{"use strict";qt.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var jt=u((lp,Ft)=>{"use strict";var js=H(),Rs=L(),Ls=rr(),or=Object,Hs=js("".split);Ft.exports=Rs(function(){return!or("z").propertyIsEnumerable(0)})?function(e){return Ls(e)==="String"?Hs(e,""):or(e)}:or});var sr=u((cp,Rt)=>{"use strict";Rt.exports=function(e){return e==null}});var ur=u((pp,Lt)=>{"use strict";var $s=sr(),zs=TypeError;Lt.exports=function(e){if($s(e))throw new zs("Can't call method on "+e);return e}});var ye=u((fp,Ht)=>{"use strict";var Ks=jt(),Us=ur();Ht.exports=function(e){return Ks(Us(e))}});var he=u((dp,$t)=>{"use strict";var Gs=$();$t.exports=function(e){return typeof e=="object"?e!==null:Gs(e)}});var Me=u((yp,zt)=>{"use strict";zt.exports={}});var cr=u((hp,Ut)=>{"use strict";var ar=Me(),lr=j(),Xs=$(),Kt=function(e){return Xs(e)?e:void 0};Ut.exports=function(e,r){return arguments.length<2?Kt(ar[e])||Kt(lr[e]):ar[e]&&ar[e][r]||lr[e]&&lr[e][r]}});var Xt=u((mp,Gt)=>{"use strict";var Ws=H();Gt.exports=Ws({}.isPrototypeOf)});var Vt=u((vp,Wt)=>{"use strict";Wt.exports=typeof navigator<"u"&&String(navigator.userAgent)||""});var tn=u((bp,rn)=>{"use strict";var en=j(),pr=Vt(),Zt=en.process,Yt=en.Deno,Jt=Zt&&Zt.versions||Yt&&Yt.version,Qt=Jt&&Jt.v8,C,Pe;Qt&&(C=Qt.split("."),Pe=C[0]>0&&C[0]<4?1:+(C[0]+C[1]));!Pe&&pr&&(C=pr.match(/Edge\/(\d+)/),(!C||C[1]>=74)&&(C=pr.match(/Chrome\/(\d+)/),C&&(Pe=+C[1])));rn.exports=Pe});var fr=u((gp,on)=>{"use strict";var nn=tn(),Vs=L(),Zs=j(),Ys=Zs.String;on.exports=!!Object.getOwnPropertySymbols&&!Vs(function(){var e=Symbol("symbol detection");return!Ys(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&nn&&nn<41})});var dr=u((xp,sn)=>{"use strict";var Js=fr();sn.exports=Js&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var yr=u((_p,un)=>{"use strict";var Qs=cr(),eu=$(),ru=Xt(),tu=dr(),nu=Object;un.exports=tu?function(e){return typeof e=="symbol"}:function(e){var r=Qs("Symbol");return eu(r)&&ru(r.prototype,nu(e))}});var ln=u((kp,an)=>{"use strict";var iu=String;an.exports=function(e){try{return iu(e)}catch{return"Object"}}});var hr=u((wp,cn)=>{"use strict";var ou=$(),su=ln(),uu=TypeError;cn.exports=function(e){if(ou(e))return e;throw new uu(su(e)+" is not a function")}});var fn=u((Ep,pn)=>{"use strict";var au=hr(),lu=sr();pn.exports=function(e,r){var t=e[r];return lu(t)?void 0:au(t)}});var yn=u((Tp,dn)=>{"use strict";var mr=Ie(),vr=$(),br=he(),cu=TypeError;dn.exports=function(e,r){var t,n;if(r==="string"&&vr(t=e.toString)&&!br(n=mr(t,e))||vr(t=e.valueOf)&&!br(n=mr(t,e))||r!=="string"&&vr(t=e.toString)&&!br(n=mr(t,e)))return n;throw new cu("Can't convert object to primitive value")}});var mn=u((Sp,hn)=>{"use strict";hn.exports=!0});var gn=u((Np,bn)=>{"use strict";var vn=j(),pu=Object.defineProperty;bn.exports=function(e,r){try{pu(vn,e,{value:r,configurable:!0,writable:!0})}catch{vn[e]=r}return r}});var gr=u((Ap,kn)=>{"use strict";var fu=mn(),du=j(),yu=gn(),xn="__core-js_shared__",_n=kn.exports=du[xn]||yu(xn,{});(_n.versions||(_n.versions=[])).push({version:"3.36.1",mode:fu?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var xr=u((Bp,En)=>{"use strict";var wn=gr();En.exports=function(e,r){return wn[e]||(wn[e]=r||{})}});var Sn=u((Ip,Tn)=>{"use strict";var hu=ur(),mu=Object;Tn.exports=function(e){return mu(hu(e))}});var me=u((Mp,Nn)=>{"use strict";var vu=H(),bu=Sn(),gu=vu({}.hasOwnProperty);Nn.exports=Object.hasOwn||function(r,t){return gu(bu(r),t)}});var _r=u((Pp,An)=>{"use strict";var xu=H(),_u=0,ku=Math.random(),wu=xu(1 .toString);An.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+wu(++_u+ku,36)}});var Mn=u((Cp,In)=>{"use strict";var Eu=j(),Tu=xr(),Bn=me(),Su=_r(),Nu=fr(),Au=dr(),ie=Eu.Symbol,kr=Tu("wks"),Bu=Au?ie.for||ie:ie&&ie.withoutSetter||Su;In.exports=function(e){return Bn(kr,e)||(kr[e]=Nu&&Bn(ie,e)?ie[e]:Bu("Symbol."+e)),kr[e]}});var On=u((Dp,Dn)=>{"use strict";var Iu=Ie(),Pn=he(),Cn=yr(),Mu=fn(),Pu=yn(),Cu=Mn(),Du=TypeError,Ou=Cu("toPrimitive");Dn.exports=function(e,r){if(!Pn(e)||Cn(e))return e;var t=Mu(e,Ou),n;if(t){if(r===void 0&&(r="default"),n=Iu(t,e,r),!Pn(n)||Cn(n))return n;throw new Du("Can't convert object to primitive value")}return r===void 0&&(r="number"),Pu(e,r)}});var wr=u((Op,qn)=>{"use strict";var qu=On(),Fu=yr();qn.exports=function(e){var r=qu(e,"string");return Fu(r)?r:r+""}});var Tr=u((qp,jn)=>{"use strict";var ju=j(),Fn=he(),Er=ju.document,Ru=Fn(Er)&&Fn(Er.createElement);jn.exports=function(e){return Ru?Er.createElement(e):{}}});var Sr=u((Fp,Rn)=>{"use strict";var Lu=z(),Hu=L(),$u=Tr();Rn.exports=!Lu&&!Hu(function(){return Object.defineProperty($u("div"),"a",{get:function(){return 7}}).a!==7})});var $n=u(Hn=>{"use strict";var zu=z(),Ku=Ie(),Uu=Ot(),Gu=ir(),Xu=ye(),Wu=wr(),Vu=me(),Zu=Sr(),Ln=Object.getOwnPropertyDescriptor;Hn.f=zu?Ln:function(r,t){if(r=Xu(r),t=Wu(t),Zu)try{return Ln(r,t)}catch{}if(Vu(r,t))return Gu(!Ku(Uu.f,r,t),r[t])}});var Kn=u((Rp,zn)=>{"use strict";var Yu=L(),Ju=$(),Qu=/#|\.prototype\./,ve=function(e,r){var t=ra[ea(e)];return t===na?!0:t===ta?!1:Ju(r)?Yu(r):!!r},ea=ve.normalize=function(e){return String(e).replace(Qu,".").toLowerCase()},ra=ve.data={},ta=ve.NATIVE="N",na=ve.POLYFILL="P";zn.exports=ve});var Xn=u((Lp,Gn)=>{"use strict";var Un=tr(),ia=hr(),oa=de(),sa=Un(Un.bind);Gn.exports=function(e,r){return ia(e),r===void 0?e:oa?sa(e,r):function(){return e.apply(r,arguments)}}});var Nr=u((Hp,Wn)=>{"use strict";var ua=z(),aa=L();Wn.exports=ua&&aa(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var Ce=u(($p,Vn)=>{"use strict";var la=he(),ca=String,pa=TypeError;Vn.exports=function(e){if(la(e))return e;throw new pa(ca(e)+" is not an object")}});var Pr=u(Yn=>{"use strict";var fa=z(),da=Sr(),ya=Nr(),De=Ce(),Zn=wr(),ha=TypeError,Ar=Object.defineProperty,ma=Object.getOwnPropertyDescriptor,Br="enumerable",Ir="configurable",Mr="writable";Yn.f=fa?ya?function(r,t,n){if(De(r),t=Zn(t),De(n),typeof r=="function"&&t==="prototype"&&"value"in n&&Mr in n&&!n[Mr]){var i=ma(r,t);i&&i[Mr]&&(r[t]=n.value,n={configurable:Ir in n?n[Ir]:i[Ir],enumerable:Br in n?n[Br]:i[Br],writable:!1})}return Ar(r,t,n)}:Ar:function(r,t,n){if(De(r),t=Zn(t),De(n),da)try{return Ar(r,t,n)}catch{}if("get"in n||"set"in n)throw new ha("Accessors not supported");return"value"in n&&(r[t]=n.value),r}});var Qn=u((Kp,Jn)=>{"use strict";var va=z(),ba=Pr(),ga=ir();Jn.exports=va?function(e,r,t){return ba.f(e,r,ga(1,t))}:function(e,r,t){return e[r]=t,e}});var ti=u((Up,ri)=>{"use strict";var be=j(),xa=kt(),_a=tr(),ka=$(),wa=$n().f,Ea=Kn(),oe=Me(),Ta=Xn(),se=Qn(),ei=me();gr();var Sa=function(e){var r=function(t,n,i){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return xa(e,this,arguments)};return r.prototype=e.prototype,r};ri.exports=function(e,r){var t=e.target,n=e.global,i=e.stat,s=e.proto,a=n?be:i?be[t]:be[t]&&be[t].prototype,o=n?oe:oe[t]||se(oe,t,{})[t],c=o.prototype,y,p,f,m,g,_,w,E,S;for(m in r)y=Ea(n?m:t+(i?".":"#")+m,e.forced),p=!y&&a&&ei(a,m),_=o[m],p&&(e.dontCallGetSet?(S=wa(a,m),w=S&&S.value):w=a[m]),g=p&&w?w:r[m],!(!y&&!s&&typeof _==typeof g)&&(e.bind&&p?E=Ta(g,be):e.wrap&&p?E=Sa(g):s&&ka(g)?E=_a(g):E=g,(e.sham||g&&g.sham||_&&_.sham)&&se(E,"sham",!0),se(o,m,E),s&&(f=t+"Prototype",ei(oe,f)||se(oe,f,{}),se(oe[f],m,g),e.real&&c&&(y||!c[m])&&se(c,m,g)))}});var ii=u((Gp,ni)=>{"use strict";var Na=Math.ceil,Aa=Math.floor;ni.exports=Math.trunc||function(r){var t=+r;return(t>0?Aa:Na)(t)}});var Cr=u((Xp,oi)=>{"use strict";var Ba=ii();oi.exports=function(e){var r=+e;return r!==r||r===0?0:Ba(r)}});var ui=u((Wp,si)=>{"use strict";var Ia=Cr(),Ma=Math.max,Pa=Math.min;si.exports=function(e,r){var t=Ia(e);return t<0?Ma(t+r,0):Pa(t,r)}});var li=u((Vp,ai)=>{"use strict";var Ca=Cr(),Da=Math.min;ai.exports=function(e){var r=Ca(e);return r>0?Da(r,9007199254740991):0}});var pi=u((Zp,ci)=>{"use strict";var Oa=li();ci.exports=function(e){return Oa(e.length)}});var yi=u((Yp,di)=>{"use strict";var qa=ye(),Fa=ui(),ja=pi(),fi=function(e){return function(r,t,n){var i=qa(r),s=ja(i);if(s===0)return!e&&-1;var a=Fa(n,s),o;if(e&&t!==t){for(;s>a;)if(o=i[a++],o!==o)return!0}else for(;s>a;a++)if((e||a in i)&&i[a]===t)return e||a||0;return!e&&-1}};di.exports={includes:fi(!0),indexOf:fi(!1)}});var Dr=u((Jp,hi)=>{"use strict";hi.exports={}});var bi=u((Qp,vi)=>{"use strict";var Ra=H(),Or=me(),La=ye(),Ha=yi().indexOf,$a=Dr(),mi=Ra([].push);vi.exports=function(e,r){var t=La(e),n=0,i=[],s;for(s in t)!Or($a,s)&&Or(t,s)&&mi(i,s);for(;r.length>n;)Or(t,s=r[n++])&&(~Ha(i,s)||mi(i,s));return i}});var qr=u((ef,gi)=>{"use strict";gi.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var _i=u((rf,xi)=>{"use strict";var za=bi(),Ka=qr();xi.exports=Object.keys||function(r){return za(r,Ka)}});var wi=u(ki=>{"use strict";var Ua=z(),Ga=Nr(),Xa=Pr(),Wa=Ce(),Va=ye(),Za=_i();ki.f=Ua&&!Ga?Object.defineProperties:function(r,t){Wa(r);for(var n=Va(t),i=Za(t),s=i.length,a=0,o;s>a;)Xa.f(r,o=i[a++],n[o]);return r}});var Ti=u((nf,Ei)=>{"use strict";var Ya=cr();Ei.exports=Ya("document","documentElement")});var Ai=u((of,Ni)=>{"use strict";var Ja=xr(),Qa=_r(),Si=Ja("keys");Ni.exports=function(e){return Si[e]||(Si[e]=Qa(e))}});var qi=u((sf,Oi)=>{"use strict";var el=Ce(),rl=wi(),Bi=qr(),tl=Dr(),nl=Ti(),il=Tr(),ol=Ai(),Ii=">",Mi="<",jr="prototype",Rr="script",Ci=ol("IE_PROTO"),Fr=function(){},Di=function(e){return Mi+Rr+Ii+e+Mi+"/"+Rr+Ii},Pi=function(e){e.write(Di("")),e.close();var r=e.parentWindow.Object;return e=null,r},sl=function(){var e=il("iframe"),r="java"+Rr+":",t;return e.style.display="none",nl.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(Di("document.F=Object")),t.close(),t.F},Oe,qe=function(){try{Oe=new ActiveXObject("htmlfile")}catch{}qe=typeof document<"u"?document.domain&&Oe?Pi(Oe):sl():Pi(Oe);for(var e=Bi.length;e--;)delete qe[jr][Bi[e]];return qe()};tl[Ci]=!0;Oi.exports=Object.create||function(r,t){var n;return r!==null?(Fr[jr]=el(r),n=new Fr,Fr[jr]=null,n[Ci]=r):n=qe(),t===void 0?n:rl.f(n,t)}});var Fi=u(()=>{"use strict";var ul=ti(),al=z(),ll=qi();ul({target:"Object",stat:!0,sham:!al},{create:ll})});var Ri=u((lf,ji)=>{"use strict";Fi();var cl=Me(),pl=cl.Object;ji.exports=function(r,t){return pl.create(r,t)}});var Hi=u((cf,Li)=>{"use strict";var fl=Ri();Li.exports=fl});var zi=u((pf,$i)=>{$i.exports=Hi()});function Te(e,r){try{if(typeof document>"u")return;var t=document.createElement("meta");t.setAttribute("name",e),r&&t.setAttribute("content",r),document.head.appendChild(t)}catch(n){console.error('inject-meta-tag: Failed to inject <meta name="'.concat(e,'"> tag.'),n)}}var is=l(N()),Q=l(v());var Hc=new RegExp("^(?:[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}))*)+$","u");var Ve;function vs(e){return{lang:e?.lang??Ve?.lang,message:e?.message,abortEarly:e?.abortEarly??Ve?.abortEarly,abortPipeEarly:e?.abortPipeEarly??Ve?.abortPipeEarly}}var bs;function gs(e){return bs?.get(e)}var xs;function _s(e){return xs?.get(e)}var ks;function ws(e,r){return ks?.get(e)?.get(r)}function pt(e){let r=typeof e;return r==="string"?`"${e}"`:r==="number"||r==="bigint"||r==="boolean"?`${e}`:r==="object"||r==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":r}function Se(e,r,t,n,i){let s=i&&"input"in i?i.input:t.value,a=i?.expected??e.expects??null,o=i?.received??pt(s),c={kind:e.kind,type:e.type,input:s,expected:a,received:o,message:`Invalid ${r}: ${a?`Expected ${a} but r`:"R"}eceived ${o}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},y=e.kind==="schema",p=i?.message??e.message??ws(e.reference,c.lang)??(y?_s(c.lang):null)??n.message??gs(c.lang);p&&(c.message=typeof p=="function"?p(c):p),y&&(t.typed=!1),t.issues?t.issues.push(c):t.issues=[c]}function Ze(e,r){return{kind:"schema",type:"array",reference:Ze,expects:"Array",async:!1,item:e,message:r,_run(t,n){let i=t.value;if(Array.isArray(i)){t.typed=!0,t.value=[];for(let s=0;s<i.length;s++){let a=i[s],o=this.item._run({typed:!1,value:a},n);if(o.issues){let c={type:"array",origin:"value",input:i,key:s,value:a};for(let y of o.issues)y.path?y.path.unshift(c):y.path=[c],t.issues?.push(y);if(t.issues||(t.issues=o.issues),n.abortEarly){t.typed=!1;break}}o.typed||(t.typed=!1),t.value.push(o.value)}}else Se(this,"type",t,n);return t}}}function te(e,r){return{kind:"schema",type:"literal",reference:te,expects:pt(e),async:!1,literal:e,message:r,_run(t,n){return t.value===this.literal?t.typed=!0:Se(this,"type",t,n),t}}}function Ye(e,r){return{kind:"schema",type:"object",reference:Ye,expects:"Object",async:!1,entries:e,message:r,_run(t,n){let i=t.value;if(i&&typeof i=="object"){t.typed=!0,t.value={};for(let s in this.entries){let a=i[s],o=this.entries[s]._run({typed:!1,value:a},n);if(o.issues){let c={type:"object",origin:"value",input:i,key:s,value:a};for(let y of o.issues)y.path?y.path.unshift(c):y.path=[c],t.issues?.push(y);if(t.issues||(t.issues=o.issues),n.abortEarly){t.typed=!1;break}}o.typed||(t.typed=!1),(o.value!==void 0||s in i)&&(t.value[s]=o.value)}}else Se(this,"type",t,n);return t}}}function Je(e){return{kind:"schema",type:"string",reference:Je,expects:"string",async:!1,message:e,_run(r,t){return typeof r.value=="string"?r.typed=!0:Se(this,"type",r,t),r}}}function ft(e,r,t){let n=e._run({typed:!1,value:r},vs(t));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}var Es=Ye({"@context":te("https://schema.org"),"@id":te(""),"@type":te("Message"),keywords:Ze(Je()),type:te("https://schema.org/Message")});function ne(e){return e?.type!=="message"?!1:!!e.entities?.find(t=>ft(Es,t).success)?.keywords.includes("PreChatMessage")}var io=l(N()),K=l(v());var Ts=".webchat-fluent .d{display:grid;grid-template-areas:\"body\" \"toolbar\";grid-template-rows:auto auto;gap:var(--webchat-spacingHorizontalXXXL);padding:var(--webchat-spacingHorizontalXXXL)}.webchat-fluent .r{font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);grid-area:body;line-height:var(--webchat-lineHeightBase300);text-align:center}.webchat-fluent .r h2{color:var(--webchat-colorNeutralForeground1);font-family:inherit;font-weight:var(--webchat-fontWeightSemibold);font-size:var(--webchat-fontSizeHero700);line-height:var(--webchat-lineHeightHero700);margin:var(--webchat-spacingVerticalL) 0 0}.webchat-fluent .r img{border-radius:4px;height:64px}.webchat-fluent .b{grid-area:toolbar}.webchat-fluent .u{background-color:var(--webchat-colorNeutralForeground4);-webkit-mask-image:var(--mask-image);mask-image:var(--mask-image);--webkit-mask-image: var(--mask-image)}.webchat-fluent .e{-webkit-appearance:none;appearance:none;background-color:var(--webchat-colorNeutralBackground1);border:0;border-radius:16px;box-shadow:var(--webchat-shadow2);color:var(--webchat-colorNeutralForeground1);cursor:pointer;display:grid;gap:8px;grid-template-areas:\"image title\" \"image subtitle\";grid-template-columns:20px 1fr;grid-template-rows:auto 1fr;overflow:hidden;padding:16px 20px;text-align:left;-webkit-user-select:none;user-select:none}.webchat-fluent .e:disabled{background-color:var(--webchat-colorNeutralBackground1Disabled)}.webchat-fluent .e:hover{background-color:var(--webchat-colorNeutralGrey94)}.webchat-fluent .e:active{background-color:var(--webchat-colorNeutralBackground1Pressed)}.webchat-fluent .e:focus-visible{outline:solid 2px var(--webchat-colorStrokeFocus2);outline-offset:-2px}.webchat-fluent .h{grid-area:image;height:20px;width:20px}.webchat-fluent .g{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightRegular);grid-area:subtitle;line-height:20px;pointer-events:none}.webchat-fluent .s{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightSemibold);grid-area:title;line-height:20px}.webchat-fluent .w{container-name:a;container-type:inline-size}.webchat-fluent .o{display:grid;gap:var(--webchat-spacingHorizontalM);grid-template-columns:1fr 1fr 1fr;padding:0}@container a (width <= 480px){.webchat-fluent .o{grid-template-columns:1fr}}.webchat-fluent .p{background-color:var(--webchat-colorNeutralBackground4);border-radius:inherit;cursor:copy;display:grid;gap:8px;inset:0;place-content:center;place-items:center;position:absolute}.webchat-fluent .f{background-color:#e00;color:#fff}.webchat-fluent .v{height:36px;pointer-events:none;width:36px}.webchat-fluent .x{align-items:center;background:transparent;border-radius:8px;border:1px solid var(--webchat-colorBrandStroke2);color:currentColor;cursor:pointer;display:flex;font-size:12px;gap:4px;padding:4px 8px;text-align:start;transition:all .15s ease-out}@media (hover: hover){.webchat-fluent .x:not([aria-disabled=true]):hover{background-color:var(--webchat-colorBrandBackground2Hover);color:var(--webchat-colorBrandForeground2Hover)}}.webchat-fluent .x:not([aria-disabled=true]):active{background-color:var(--webchat-colorBrandBackground2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}.webchat-fluent .x[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .m{font-size:12px;height:1em;width:1em}.webchat-fluent .k{align-items:flex-end;align-self:flex-end;display:flex;flex-direction:column;gap:8px}.webchat-fluent .k:not(:empty){padding-block-end:8px;padding-inline-start:4px}.webchat-fluent .k.B{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.webchat-fluent .k.y{flex-direction:column}.webchat-fluent .t{-webkit-user-select:none;align-items:center;-webkit-appearance:none;appearance:none;background-color:#fff;border-radius:100%;border:solid 1px var(--webchat-colorNeutralStroke1);color:var(--webchat-colorGray200);font-weight:var(--webchat-fontWeightSemibold);cursor:pointer;display:flex;flex-direction:column;height:60px;opacity:.7;padding:0;position:relative;touch-action:none;user-select:none;width:60px}.webchat-fluent .t:hover{background-color:var(--webchat-colorGray30)}.webchat-fluent .l{color:var(--webchat-colorGray190);font-size:10px}.webchat-fluent .c{font-size:24px;margin-top:8px}.webchat-fluent .F .t{height:32px;justify-content:center;margin:8px 4px;width:32px}.webchat-fluent .F .l{display:none}.webchat-fluent .F .c{font-size:20px;margin-top:0}.webchat-fluent .N{align-items:center;background:var(--webchat-colorNeutralBackground1);border:none;border-radius:var(--webchat-borderRadiusXLarge);display:flex;flex-direction:column;font-family:var(--webchat-fontFamilyBase);justify-content:center}.webchat-fluent .S{box-sizing:border-box;display:grid;gap:16px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);justify-items:center;padding:16px;width:100%}.webchat-fluent .z{align-items:center;color:var(--webchat-colorNeutralForeground4);display:flex;font-size:12px;gap:6px;margin-block-end:6px}.webchat-fluent .H{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .H:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .H:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .H:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .H:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .L{display:flex;gap:4px;margin-inline-start:auto}.webchat-fluent .W{align-items:center;-webkit-appearance:none;appearance:none;aspect-ratio:1;background:transparent;border-radius:var(--webchat-borderRadiusSmall);border:none;color:currentColor;cursor:pointer;display:flex;justify-content:center;padding:3px;width:32px}.webchat-fluent .W>svg{font-size:20px;pointer-events:none}.webchat-fluent .W.R{color:var(--webchat-colorNeutralForeground2BrandSelected)}@media (hover: hover){.webchat-fluent .W:not([aria-disabled=true]):hover{color:var(--webchat-colorNeutralForeground2BrandHover)}}.webchat-fluent .W:not([aria-disabled=true]):active{color:var(--webchat-colorNeutralForeground2BrandPressed)}.webchat-fluent .W[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .P{align-self:center;border-inline-end:1px solid var(--webchat-colorNeutralStroke2);height:28px}.webchat-fluent .P:is(:first-child,:last-child,:only-child){display:none}.webchat-fluent .X{display:grid}.webchat-fluent .G{font-size:0;height:0;opacity:0;width:1px}.webchat-fluent .D{border-radius:var(--webchat-borderRadiusLarge);border:1px solid var(--webchat-colorNeutralStroke1);cursor:default;padding:6px 8px;width:fit-content}.webchat-fluent .M{color:transparent;font-size:0;height:0;left:0;position:absolute;top:0;width:0}.webchat-fluent .U{color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);padding:0 10px 10px;text-rendering:optimizeLegibility;--webchat-sendbox-attachment-area-active: ;--webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge)}.webchat-fluent .C{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-sendbox-border-radius);border:1px solid var(--webchat-colorNeutralStroke1);display:grid;font-family:var(--webchat-fontFamilyBase);font-size:14px;gap:6px;grid-template:[telephone-keypad-start] \"text-area\" [telephone-keypad-end] var(--webchat-sendbox-attachment-area-active) \"controls\" / [telephone-keypad] 1fr;line-height:20px;padding:8px;position:relative}.webchat-fluent .C:has(.n){--webchat-sendbox-attachment-area-active: \"attachment\" }.webchat-fluent .C:focus-within{border-color:var(--webchat-colorNeutralStroke1Selected)}.webchat-fluent .C:after{border-bottom-left-radius:var(--webchat-sendbox-border-radius);border-bottom-right-radius:var(--webchat-sendbox-border-radius);border-bottom:var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);bottom:-1px;clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);content:\"\";height:var(--webchat-sendbox-border-radius);left:-1px;position:absolute;right:-1px;transition:clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid)}.webchat-fluent .C:focus-within:after{clip-path:inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);transition:clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .C>.j{grid-area:text-area}.webchat-fluent .C>.n{grid-area:attachment}.webchat-fluent .C>.T{grid-area:controls}.webchat-fluent .C>.I{grid-area:telephone-keypad}.webchat-fluent .A{background-color:transparent;border:none;flex:auto;font-family:var(--webchat-fontFamilyBase);font-size:14px;line-height:20px;outline:none;padding:4px 4px 0;resize:none}@media only screen and (hover: none) and (pointer: coarse){.webchat-fluent .A:focus-within{font-size:16px}}.webchat-fluent .V{align-items:center;display:flex;padding-inline-start:4px}.webchat-fluent .E{color:var(--webchat-colorNeutralForeground4);cursor:default;font-family:var(--webchat-fontFamilyNumeric);font-size:10px;line-height:14px;margin-inline-end:4px}.webchat-fluent .q{color:var(--webchat-colorStatusDangerForeground1)}.webchat-fluent .J{display:grid;grid-template-areas:\"main\";max-height:200px;overflow:hidden}.webchat-fluent .K{height:0;visibility:collapse}.webchat-fluent .O{border:none;font:inherit;grid-area:main;outline:inherit;overflow-wrap:anywhere;resize:inherit;scrollbar-gutter:stable}.webchat-fluent .Q{overflow:hidden;visibility:hidden;white-space:pre-wrap}.webchat-fluent .Y{background-color:inherit;color:currentColor;height:100%;padding:0}.webchat-fluent .Z{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);-moz-scrollbar-width:thin}.webchat-fluent .Z::-webkit-scrollbar{width:8px}.webchat-fluent .Z::-webkit-scrollbar-track{background-color:var(--webchat-colorNeutralBackground5);border-radius:16px}.webchat-fluent .Z::-webkit-scrollbar-thumb{background-color:var(--webchat-colorNeutralForeground2);border-radius:16px}.webchat-fluent .Z::-webkit-scrollbar-corner{background-color:var(--webchat-colorNeutralBackground5)}.webchat-fluent.i{display:contents;--webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);--webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);--webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);--webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);--webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);--webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);--webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);--webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);--webchat-colorNeutralBackground1Disabled: var(--colorNeutralBackground1Disabled, #f0f0f0);--webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);--webchat-colorNeutralGrey94: var(--colorNeutralGrey94, #f0f0f0);--webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);--webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);--webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);--webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);--webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);--webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);--webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);--webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);--webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);--webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);--webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);--webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);--webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);--webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);--webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);--webchat-colorGray30: var(--colorGray30, #edebe9);--webchat-colorGray160: var(--colorGray160, #323130);--webchat-colorGray190: var(--colorGray190, #201f1e);--webchat-colorGray200: var(--colorGray200, #1b1a19);--webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);--webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);--webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);--webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108));--webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);--webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);--webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);--webchat-spacingVerticalL: var(--spacingVerticalL, 16px);--webchat-fontFamilyBase: var(--fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);--webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);--webchat-fontWeightRegular: var(--fontWeightRegular, 400);--webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);--webchat-fontSizeBase300: var(--fontSizeBase300, 14px);--webchat-fontSizeHero700: var(--fontSizeHero700, 28px);--webchat-lineHeightBase300: var(--lineHeightBase300, 20px);--webchat-lineHeightHero700: var(--lineHeightHero700, 36px);--webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);--webchat-durationUltraFast: var(--durationUltraFast, 0);--webchat-durationNormal: var(--durationNormal, .2s);--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1,0,1,1));--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0,0,0,1));--webchat-shadow2: 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%)}@media (prefers-reduced-motion){.webchat-fluent.i{--webchat-durationUltraFast: .01ms;--webchat-durationNormal: .01ms}}\n/*! For license information please see botframework-webchat-fluent-theme.production.min.css.LEGAL.txt */\n";function Ne(){if(globalThis.document){let e=document.createElement("style");e.append(document.createTextNode(Ts)),document.head.appendChild(e)}}var dt=l(v());function Ss(e){return(0,dt.useMemo)(()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([r,t])=>[r,`${r} ${t}`]))),[e])}var h=Ss;var yt={"pre-chat-message-activity":"d","pre-chat-message-activity__body":"r","pre-chat-message-activity__toolbar":"b"};var ro=l(B()),ae=l(v());var Zi=l(N()),Yi=l(B()),D=l(v());var Ki=l(zi()),Fe=l(v());function T(e){var r=(0,Fe.useRef)(),t=(0,Fe.useMemo)(function(){return(0,Ki.default)({},{current:{get:function(){return r.current}}})},[r]);return r.current=e,t}var dl={preChatMessageActivityStarterPromptsCardAction:"pre-chat message activity starter prompts card action",sendBoxDropZone:"send box drop zone",sendBoxSendButton:"send box send button",sendBoxTextBox:"send box text area",sendBoxTelephoneKeypadButton1:"send box telephone keypad button 1",sendBoxTelephoneKeypadButton2:"send box telephone keypad button 2",sendBoxTelephoneKeypadButton3:"send box telephone keypad button 3",sendBoxTelephoneKeypadButton4:"send box telephone keypad button 4",sendBoxTelephoneKeypadButton5:"send box telephone keypad button 5",sendBoxTelephoneKeypadButton6:"send box telephone keypad button 6",sendBoxTelephoneKeypadButton7:"send box telephone keypad button 7",sendBoxTelephoneKeypadButton8:"send box telephone keypad button 8",sendBoxTelephoneKeypadButton9:"send box telephone keypad button 9",sendBoxTelephoneKeypadButton0:"send box telephone keypad button 0",sendBoxTelephoneKeypadButtonStar:"send box telephone keypad button star",sendBoxTelephoneKeypadButtonPound:"send box telephone keypad button pound",sendBoxTelephoneKeypadToolbarButton:"send box telephone keypad toolbar button",sendBoxUploadButton:"send box upload button"},x=dl;var Gi=l(B()),ue=l(v());var Ui={"pre-chat-message-activity__monochrome-image-masker":"u"};var Xi=({className:e,src:r})=>{let t=h(Ui),n=(0,ue.useMemo)(()=>({"--mask-image":`url(${r})`}),[r]);return ue.default.createElement("div",{className:(0,Gi.default)(e,t["pre-chat-message-activity__monochrome-image-masker"]),style:n})};Xi.displayName="MonochromeImageMasker";var Wi=(0,ue.memo)(Xi);var Vi={"pre-chat-message-activity__card-action-box":"e","pre-chat-message-activity__card-action-image":"h","pre-chat-message-activity__card-action-subtitle":"g","pre-chat-message-activity__card-action-title":"s"};var{useFocus:ml,useRenderMarkdownAsHTML:vl,useSendBoxValue:bl}=Zi.hooks,Ji=({className:e,messageBackAction:r})=>{let[t,n]=bl(),i=h(Vi),s=ml(),a=T(r.displayText||r.text||""),o=vl("message activity"),c=(0,D.useMemo)(()=>o?{__html:o(r.text||"")}:{__html:""},[r.text,o]),y=(0,D.useCallback)(()=>{n(a.current),s("sendBox")},[s,a,n]);return D.default.createElement("button",{className:(0,Yi.default)(e,i["pre-chat-message-activity__card-action-box"]),"data-testid":x.preChatMessageActivityStarterPromptsCardAction,onClick:y,type:"button"},D.default.createElement("div",{className:i["pre-chat-message-activity__card-action-title"]},"title"in r&&r.title),"image"in r&&r.image&&D.default.createElement(Wi,{className:i["pre-chat-message-activity__card-action-image"],src:r.image}),D.default.createElement("div",{className:i["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:c}))};Ji.displayName="StarterPromptAction";var Qi=(0,D.memo)(Ji);var eo={"pre-chat-message-activity__card-action-toolbar":"w","webchat-container":"a","pre-chat-message-activity__card-action-toolbar-grid":"o"};var to=({cardActions:e,className:r})=>{let t=h(eo);return ae.default.createElement("div",{className:(0,ro.default)(r,t["pre-chat-message-activity__card-action-toolbar"])},ae.default.createElement("div",{className:t["pre-chat-message-activity__card-action-toolbar-grid"]},e.filter(n=>n.type==="messageBack").map(n=>ae.default.createElement(Qi,{key:n.text,messageBackAction:n}))))};to.displayName="StarterPrompts";var no=(0,ae.memo)(to);var{useRenderMarkdownAsHTML:xl}=io.hooks,oo=({activity:e})=>{let r=h(yt),t=xl(),n=(0,K.useMemo)(()=>t?{__html:t(e.text||"")}:{__html:""},[e.text,t]);return K.default.createElement("div",{className:r["pre-chat-message-activity"]},K.default.createElement("div",{className:r["pre-chat-message-activity__body"],dangerouslySetInnerHTML:n}),K.default.createElement(no,{cardActions:e.suggestedActions?.actions||[],className:r["pre-chat-message-activity__toolbar"]}))};oo.displayName="PreChatMessageActivity";var Lr=(0,K.memo)(oo);var Qo=l(N()),le=l(B()),b=l(v());var ge=l(v());function _l(e){return ge.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},ge.default.createElement("path",{d:"M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z",fill:"currentColor"}))}var Hr=(0,ge.memo)(_l);var xe=l(v());function kl(e){return xe.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},xe.default.createElement("path",{d:"m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z",fill:"currentColor"}))}var $r=(0,xe.memo)(kl);var _e=l(v());function wl(e){return _e.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 16 16",width:"1em",xmlns:"http://www.w3.org/2000/svg"},_e.default.createElement("path",{d:"M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z",fill:"currentColor"}))}var zr=(0,_e.memo)(wl);var ke=l(v());function El(e){return ke.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},ke.default.createElement("path",{d:"M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z",fill:"currentColor"}))}var Kr=(0,ke.memo)(El);var we=l(v());function Tl(e){return we.default.createElement("svg",{"aria-hidden":"true",className:e.className,height:"1em",viewBox:"0 0 20 20",width:"1em",xmlns:"http://www.w3.org/2000/svg"},we.default.createElement("path",{d:"M6 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Zm0 4a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM7.25 12a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 16a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM15.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",fill:"currentColor"}))}var Ur=(0,we.memo)(Tl);var ao=l(N()),lo=l(B()),I=l(v());var so={"sendbox__attachment-drop-zone":"p","sendbox__attachment-drop-zone--droppable":"f","sendbox__attachment-drop-zone-icon":"v"};var{useLocalizer:Nl}=ao.hooks,Al=e=>{e.preventDefault()},uo=e=>!!e.dataTransfer?.types?.some(r=>r.toLowerCase()==="files");function Bl(e,r){let t=e.parentNode;for(;t;){if(t===r)return!0;t=t.parentNode}return!1}var co=e=>{let[r,t]=(0,I.useState)(!1),n=h(so),i=(0,I.useRef)(null),s=Nl(),a=T(e.onFilesAdded);(0,I.useEffect)(()=>{let c=0,y=f=>{c++,uo(f)&&t(i.current&&(f.target===i.current||f.target instanceof HTMLElement&&Bl(f.target,i.current))?"droppable":"visible")},p=()=>--c<=0&&t(!1);return document.addEventListener("dragenter",y,!1),document.addEventListener("dragleave",p,!1),()=>{document.removeEventListener("dragenter",y),document.removeEventListener("dragleave",p)}},[t]);let o=(0,I.useCallback)(c=>{c.preventDefault(),t(!1),uo(c.nativeEvent)&&a.current([...c.dataTransfer.files])},[a,t]);return r?I.default.createElement("div",{className:(0,lo.default)(n["sendbox__attachment-drop-zone"],{[n["sendbox__attachment-drop-zone--droppable"]]:r==="droppable"}),"data-testid":x.sendBoxDropZone,onDragOver:Al,onDrop:o,ref:i},I.default.createElement(Hr,{className:n["sendbox__attachment-drop-zone-icon"]}),s("TEXT_INPUT_DROP_ZONE")):null};co.displayName="DropZone";var Gr=(0,I.memo)(co);var xo=l(N()),_o=l(B()),O=l(v());function Xr(e){let{title:r}=e,{type:t,value:n}=e;return t==="messageBack"?r||e.displayText:r||(typeof n=="string"?n:JSON.stringify(n))}var k=l(v()),po=(0,k.createContext)({itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function Il(e){let r=(0,k.useRef)(0),t=(0,k.useRef)([]),n=(0,k.useCallback)(({current:p},f)=>p&&(p.tabIndex=r.current===f?0:-1),[r]),i=(0,k.useCallback)(p=>{let f;typeof p=="number"?f=p:f=p(r.current),f&&!t.current.at(f)?.current&&(f=0),r.current!==f&&(r.current=f,t.current.forEach((m,g)=>n(m,g)),t.current.at(f)?.current?.focus())},[n,t,r]),s=(0,k.useCallback)(p=>{let{target:f}=p,m=t.current.findIndex(({current:g})=>g===f);m!==-1&&i(m)},[t,i]),a=(0,k.useCallback)(p=>f=>{let m=!e.direction,g=/up|down/iu.test(p)&&e.direction==="vertical",_=/left|right/iu.test(p)&&e.direction==="horizontal",w=/right|down/iu.test(p),E=m||g||_?w?1:-1:0,S=t.current.map((Z,ee)=>ee),R=S.indexOf(f)+E;return S.at(R)??0},[e.direction]),o=(0,k.useCallback)(p=>{let{key:f}=p;switch(f){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":i(a(f));break;case"Home":i(0);break;case"End":i(-1);break;case"Escape":e.onEscapeKey?.();break;default:return}p.preventDefault(),p.stopPropagation()},[i,a,e]),c=(0,k.useCallback)((p,f)=>{let{current:m}=p;return t.current[Number(f)]=p,m.addEventListener("focus",s),m.addEventListener("keydown",o),n(p,f),()=>{m.removeEventListener("focus",s),m.removeEventListener("keydown",o),delete t.current[Number(f)]}},[s,o,n,t]),y=(0,k.useMemo)(()=>({itemEffector:c}),[c]);return k.default.createElement(po.Provider,{value:y},e.children)}function fo(e){let r=(0,k.useRef)(null),{itemEffector:t}=(0,k.useContext)(po);return(0,k.useEffect)(()=>t(r,e)),r}var yo=(0,k.memo)(Il);var vo=l(N()),bo=l(B()),G=l(v());var ho={"suggested-action":"x","suggested-action__image":"m"};var U=l(v()),Pl=e=>e.preventDefault(),Cl=(0,U.forwardRef)(({"aria-hidden":e,children:r,disabled:t,onClick:n,tabIndex:i,...s},a)=>{let o=(0,U.useRef)(null);return U.default.createElement("button",{"aria-disabled":t?"true":"false","aria-hidden":e,onClick:t?Pl:n,ref:a||o,tabIndex:i,...t&&{"aria-disabled":"true",tabIndex:-1},...s,type:"button"},r)}),mo=(0,U.memo)(Cl);var{useDisabled:Dl,useFocus:Ol,usePerformCardAction:ql,useScrollToEnd:Fl,useStyleSet:jl,useSuggestedActions:Rl}=vo.hooks;function Ll({buttonText:e,className:r,displayText:t,image:n,imageAlt:i,itemIndex:s,text:a,type:o,value:c}){let[y,p]=Rl(),[{suggestedAction:f}]=jl(),[m]=Dl(),g=Ol(),_=fo(s),w=ql(),E=h(ho),S=Fl(),R=(0,G.useCallback)(({target:Z})=>{(async function(){await g("sendBoxWithoutKeyboard"),w({displayText:t,text:a,type:o,value:c},{target:Z}),o==="openUrl"&&p([]),S()})()},[t,g,w,S,p,a,o,c]);return G.default.createElement(mo,{className:(0,bo.default)(E["suggested-action"],f+"",(r||"")+""),disabled:m,onClick:R,ref:_,type:"button"},n&&G.default.createElement("img",{alt:i,className:E["suggested-action__image"],src:n}),G.default.createElement("span",null,e))}var go=(0,G.memo)(Ll);var Wr={"suggested-actions":"k","suggested-actions--flow":"B","suggested-actions--stacked":"y"};var{useFocus:$l,useLocalizer:zl,useStyleOptions:Kl,useStyleSet:Ul,useSuggestedActions:Gl}=xo.hooks;function Xl(e){let[{suggestedActionLayout:r}]=Kl(),[{suggestedActions:t}]=Ul(),n=h(Wr);return O.default.createElement("div",{"aria-label":e["aria-label"],"aria-live":"polite","aria-orientation":"vertical",className:(0,_o.default)(n["suggested-actions"],t+"",{[n["suggested-actions--flow"]]:r==="flow",[n["suggested-actions--stacked"]]:r!=="flow"},e.className),role:"toolbar"},!!e.children&&!!O.default.Children.count(e.children)&&e.children)}function Wl(){let e=h(Wr),r=zl(),[t,n,{activity:i}]=Gl(),s=$l(),a=(0,O.useCallback)(()=>{s("sendBox")},[s]),o=ne(i)?[]:t.map((c,y)=>{let{displayText:p,image:f,imageAltText:m,text:g,type:_,value:w}=c;return t?.length?O.default.createElement(go,{buttonText:Xr(c),displayText:p,image:f,imageAlt:f&&(m||g),itemIndex:y,key:y,text:g,type:_,value:w}):null});return O.default.createElement(yo,{onEscapeKey:a},O.default.createElement(Xl,{"aria-label":r("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},o))}var Vr=(0,O.memo)(Wl);var X=l(v());var ko=l(v()),wo=(0,ko.createContext)(new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));wo.displayName="TelephoneKeypad.Context";var je=wo;var Vl=(0,X.memo)(({children:e})=>{let[r,t]=(0,X.useState)(!1),n=(0,X.useMemo)(()=>Object.freeze({setShown:t,shown:r}),[t,r]);return X.default.createElement(je.Provider,{value:n},e)}),Zr=Vl;var Le=l(v());var So=l(N()),No=l(B()),d=l(v());var q=l(v());var Eo={"telephone-keypad__button":"t","telephone-keypad__button__ruby":"l","telephone-keypad__button__text":"c","telephone-keypad--horizontal":"F"};var To=(0,q.memo)((0,q.forwardRef)(({button:e,"data-testid":r,onClick:t,ruby:n},i)=>{let s=h(Eo),a=T(t),o=(0,q.useCallback)(()=>a.current?.(),[a]);return q.default.createElement("button",{className:s["telephone-keypad__button"],"data-testid":r,onClick:o,ref:i,type:"button"},q.default.createElement("span",{className:s["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!n&&q.default.createElement("ruby",{className:s["telephone-keypad__button__ruby"]},n))}));To.displayName="TelephoneKeypad.Button";var M=To;var Re=l(v());function F(){let{setShown:e,shown:r}=(0,Re.useContext)(je);return(0,Re.useMemo)(()=>Object.freeze([r,e]),[r,e])}var Yr={"telephone-keypad":"N","telephone-keypad__box":"S","telephone-keypad__info-message":"z","telephone-keypad__info-message-link":"H"};var{LocalizedString:Jl}=So.Components,Ao=(0,d.memo)(({children:e,isHorizontal:r})=>{let t=h(Yr);return r?null:d.default.createElement("div",{className:t["telephone-keypad__box"]},e)});Ao.displayName="TelephoneKeypad:Orientation";var Bo=(0,d.memo)(({autoFocus:e,className:r,onButtonClick:t,isHorizontal:n})=>{let i=T(e),s=h(Yr),a=(0,d.useRef)(null),o=T(t),[,c]=F(),y=(0,d.useCallback)(()=>o.current?.("1"),[o]),p=(0,d.useCallback)(()=>o.current?.("2"),[o]),f=(0,d.useCallback)(()=>o.current?.("3"),[o]),m=(0,d.useCallback)(()=>o.current?.("4"),[o]),g=(0,d.useCallback)(()=>o.current?.("5"),[o]),_=(0,d.useCallback)(()=>o.current?.("6"),[o]),w=(0,d.useCallback)(()=>o.current?.("7"),[o]),E=(0,d.useCallback)(()=>o.current?.("8"),[o]),S=(0,d.useCallback)(()=>o.current?.("9"),[o]),R=(0,d.useCallback)(()=>o.current?.("0"),[o]),Z=(0,d.useCallback)(()=>o.current?.("*"),[o]),ee=(0,d.useCallback)(()=>o.current?.("#"),[o]),ce=(0,d.useCallback)(re=>{re.key==="Escape"&&c(!1)},[c]);return(0,d.useEffect)(()=>{i.current&&a.current?.focus()},[i,a]),d.default.createElement("div",{className:(0,No.default)(s["telephone-keypad"],r),onKeyDown:ce},d.default.createElement(Ao,{isHorizontal:n},d.default.createElement(M,{button:"1","data-testid":x.sendBoxTelephoneKeypadButton1,onClick:y,ref:a}),d.default.createElement(M,{button:"2","data-testid":x.sendBoxTelephoneKeypadButton2,onClick:p,ruby:"ABC"}),d.default.createElement(M,{button:"3","data-testid":x.sendBoxTelephoneKeypadButton3,onClick:f,ruby:"DEF"}),d.default.createElement(M,{button:"4","data-testid":x.sendBoxTelephoneKeypadButton4,onClick:m,ruby:"GHI"}),d.default.createElement(M,{button:"5","data-testid":x.sendBoxTelephoneKeypadButton5,onClick:g,ruby:"JKL"}),d.default.createElement(M,{button:"6","data-testid":x.sendBoxTelephoneKeypadButton6,onClick:_,ruby:"MNO"}),d.default.createElement(M,{button:"7","data-testid":x.sendBoxTelephoneKeypadButton7,onClick:w,ruby:"PQRS"}),d.default.createElement(M,{button:"8","data-testid":x.sendBoxTelephoneKeypadButton8,onClick:E,ruby:"TUV"}),d.default.createElement(M,{button:"9","data-testid":x.sendBoxTelephoneKeypadButton9,onClick:S,ruby:"WXYZ"}),d.default.createElement(M,{button:"*","data-testid":x.sendBoxTelephoneKeypadButtonStar,onClick:Z}),d.default.createElement(M,{button:"0","data-testid":x.sendBoxTelephoneKeypadButton0,onClick:R,ruby:"+"}),d.default.createElement(M,{button:"#","data-testid":x.sendBoxTelephoneKeypadButtonPound,onClick:ee})),d.default.createElement("div",{className:s["telephone-keypad__info-message"]},d.default.createElement(zr,null),d.default.createElement(Jl,{linkClassName:s["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});Bo.displayName="TelephoneKeypad";var Io=Bo;var Mo=(0,Le.memo)(e=>F()[0]?Le.default.createElement(Io,{...e}):null);Mo.displayName="TelephoneKeypad.Surrogate";var Jr=Mo;var Co=l(N()),P=l(v());var $e=l(B()),W=l(v());var He={sendbox__toolbar:"L","sendbox__toolbar-button":"W","sendbox__toolbar-button--selected":"R","sendbox__toolbar-separator":"P"};var ec=e=>e.preventDefault(),Y=(0,W.memo)(e=>{let r=h(He);return W.default.createElement("button",{"aria-label":e["aria-label"],className:(0,$e.default)(r["sendbox__toolbar-button"],e.className,{[r["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:e.disabled?ec:e.onClick,type:e.type==="submit"?"submit":"button",...e.disabled&&{"aria-disabled":"true",tabIndex:-1}},e.children)});Y.displayName="ToolbarButton";var Qr=(0,W.memo)(e=>{let r=h(He);return W.default.createElement("div",{className:(0,$e.default)(r.sendbox__toolbar,e.className)},e.children)});Qr.displayName="Toolbar";var et=(0,W.memo)(e=>{let r=h(He);return W.default.createElement("div",{"aria-orientation":"vertical",className:(0,$e.default)(r["sendbox__toolbar-separator"],e.className),role:"separator"})});et.displayName="ToolbarSeparator";var Po={"sendbox__add-attachment":"X","sendbox__add-attachment-input":"G"};var{useLocalizer:tc,useStyleOptions:nc}=Co.hooks;function ic(e){let r=(0,P.useRef)(null),t=h(Po),n=tc(),[{uploadAccept:i,uploadMultiple:s}]=nc(),a=T(e.onFilesAdded),o=(0,P.useCallback)(()=>r.current?.click(),[r]),c=(0,P.useCallback)(({target:{files:y}})=>{y&&(a.current?.([...y]),r.current&&(r.current.value=""))},[r,a]);return P.default.createElement("div",{className:t["sendbox__add-attachment"]},P.default.createElement("input",{accept:i,"aria-disabled":e.disabled,"aria-hidden":"true",className:t["sendbox__add-attachment-input"],multiple:s,onInput:e.disabled?void 0:c,readOnly:e.disabled,ref:r,role:"button",tabIndex:-1,type:"file"}),P.default.createElement(Y,{"aria-label":n("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":x.sendBoxUploadButton,onClick:o},P.default.createElement($r,null)))}var Do=(0,P.memo)(ic);var qo=l(N()),ze=l(v()),Fo=l(B());var Oo={sendbox__attachment:"D"};var{useLocalizer:sc}=qo.hooks,uc={one:"TEXT_INPUT_ATTACHMENTS_ONE",two:"TEXT_INPUT_ATTACHMENTS_TWO",few:"TEXT_INPUT_ATTACHMENTS_FEW",many:"TEXT_INPUT_ATTACHMENTS_MANY",other:"TEXT_INPUT_ATTACHMENTS_OTHER"};function ac({attachments:e,className:r}){let t=h(Oo),n=sc({plural:!0});return e.length?ze.default.createElement("div",{className:(0,Fo.default)(t.sendbox__attachment,r)},n(uc,e.length)):null}var jo=(0,ze.memo)(ac);var Ke=l(v());var Ro={"sendbox__error-message":"M"};function cc(e){let r=h(Ro);return Ke.default.createElement("span",{className:r["sendbox__error-message"],id:e.id,role:"alert"},e.error)}var Lo=(0,Ke.memo)(cc);var Ho=l(N()),rt=l(v());var{useConnectivityStatus:pc,useLocalizer:fc}=Ho.hooks,dc=({attachments:e,message:r})=>{let[t]=pc(),n=fc(),i=T(t!=="connected"&&t!=="reconnected"?"offline":!r&&!e.length?"empty":void 0),s=(0,rt.useMemo)(()=>Object.freeze(new Map().set("empty",n("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",n("CONNECTIVITY_STATUS_ALT_FATAL"))),[n]);return(0,rt.useMemo)(()=>Object.freeze([i,i.current&&s.get(i.current)]),[s,i])},$o=dc;var zo=l(v()),Ko=l(N()),{useScrollDown:yc,useScrollUp:hc}=Ko.hooks;function tt(){let e=yc(),r=hc();return(0,zo.useCallback)(t=>{if(t.target instanceof HTMLTextAreaElement&&t.target.value)return;let{ctrlKey:n,metaKey:i,shiftKey:s}=t;if(n||i||s)return;let a=!0;switch(t.key){case"End":e({displacement:1/0});break;case"Home":r({displacement:1/0});break;case"PageDown":e();break;case"PageUp":r();break;default:a=!1;break}a&&(t.preventDefault(),t.stopPropagation())},[e,r])}var Uo=l(v());function nt(e){let r=(0,Uo.useMemo)(()=>Math.random().toString(36).substr(2,5),[]);return e=e?`${e}--`:"",`${e}${r}`}var Go={sendbox:"U",sendbox__sendbox:"C","sendbox__attachment--in-grid":"n","sendbox__text-area--in-grid":"j","sendbox__sendbox-controls--in-grid":"T","sendbox__telephone-keypad--in-grid":"I","sendbox__sendbox-text":"A","sendbox__sendbox-controls":"V","sendbox__text-counter":"E","sendbox__text-counter--error":"q"};var J=l(v()),Xo=l(N());var{useLocalizer:vc}=Xo.hooks,Wo=(0,J.memo)(()=>{let[e,r]=F(),t=vc(),n=(0,J.useCallback)(()=>r(i=>!i),[r]);return J.default.createElement(Y,{"aria-label":t("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":x.sendBoxTelephoneKeypadToolbarButton,onClick:n,selected:e},J.default.createElement(Ur,null))});Wo.displayName="SendBox.TelephoneKeypadToolbarButton";var Vo=Wo;var Ue=l(B()),V=l(v());var Zo={"sendbox__text-area":"J","sendbox__text-area--hidden":"K","sendbox__text-area-shared":"O","sendbox__text-area-doppelganger":"Q","sendbox__text-area-input":"Y","sendbox__text-area-input--scroll":"Z"};var Yo=(0,V.forwardRef)((e,r)=>{let t=h(Zo),n=(0,V.useCallback)(i=>{!i.shiftKey&&i.key==="Enter"&&(i.preventDefault(),"form"in i.target&&i.target.form instanceof HTMLFormElement&&i.target?.form?.requestSubmit())},[]);return V.default.createElement("div",{className:(0,Ue.default)(t["sendbox__text-area"],{[t["sendbox__text-area--hidden"]]:e.hidden},e.className),role:e.hidden?"hidden":void 0},V.default.createElement("div",{className:(0,Ue.default)(t["sendbox__text-area-doppelganger"],t["sendbox__text-area-shared"],t["sendbox__text-area-input--scroll"])},e.value||e.placeholder," "),V.default.createElement("textarea",{"aria-label":e["aria-label"],className:(0,Ue.default)(t["sendbox__text-area-input"],t["sendbox__text-area-shared"],t["sendbox__text-area-input--scroll"]),"data-testid":e["data-testid"],onInput:e.onInput,onKeyDown:n,placeholder:e.placeholder,ref:r,rows:e.startRows??1,tabIndex:e.hidden?-1:void 0,value:e.value}))});Yo.displayName="TextArea";var Jo=Yo;var{useFocus:gc,useLocalizer:xc,useMakeThumbnail:_c,useRegisterFocusSendBox:kc,useSendBoxAttachments:wc,useSendBoxValue:Ec,useSendMessage:Tc,useStyleOptions:Sc}=Qo.hooks;function es(e){let r=(0,b.useRef)(null),[t,n]=(0,b.useState)(""),[i,s]=Ec(),a=e.isPrimary?i:t,o=e.isPrimary?s:n,[c,y]=wc(),[{hideTelephoneKeypadButton:p,hideUploadButton:f,maxMessageLength:m}]=Sc(),g=!!m&&a.length>m,_=h(Go),w=xc(),E=Tc(),S=_c(),R=nt("sendbox__error-message-id"),[Z,ee]=$o({message:a,attachments:c}),[ce]=F(),re=gc();kc((0,b.useCallback)(({noKeyboard:A,waitUntil:We})=>{r.current&&(A?We((async()=>{let pe=r.current?.getAttribute("readonly");r.current?.setAttribute("readonly","true"),await new Promise(Ee=>setTimeout(Ee,0)),r.current?.focus(),typeof pe!="string"?r.current?.removeAttribute("readonly"):r.current?.setAttribute("readonly",pe)})()):r.current?.focus())},[r]));let ot=T(c),st=T(a),os=(0,b.useCallback)(A=>{"tabIndex"in A.target&&typeof A.target.tabIndex=="number"&&A.target.tabIndex>=0||re("sendBox")},[re]),ss=(0,b.useCallback)(A=>o(A.currentTarget.value),[o]),ut=(0,b.useCallback)(async A=>{let We=Object.freeze(await Promise.all(A.map(pe=>S(pe).then(Ee=>Object.freeze({blob:pe,...Ee&&{thumbnailURL:Ee}})))));y(We)},[S,y]),us=(0,b.useCallback)(A=>{A.preventDefault(),Z.current!=="empty"&&!g&&(E(st.current,void 0,{attachments:ot.current}),o(""),y([])),re("sendBox")},[ot,st,E,y,o,g,Z,re]),as=(0,b.useCallback)(A=>E(`/DTMFKey ${A}`),[E]),ls=tt(),cs={"aria-invalid":"false",...ee&&{"aria-invalid":"true","aria-errormessage":R}};return b.default.createElement("form",{...cs,className:(0,le.default)(_.sendbox,e.className),onSubmit:us},b.default.createElement(Vr,null),b.default.createElement("div",{className:(0,le.default)(_.sendbox__sendbox),onClickCapture:os,onKeyDown:ls},b.default.createElement(Jo,{"aria-label":w(g?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:(0,le.default)(_["sendbox__sendbox-text"],_["sendbox__text-area--in-grid"]),"data-testid":x.sendBoxTextBox,hidden:ce,onInput:ss,placeholder:e.placeholder??w("TEXT_INPUT_PLACEHOLDER"),ref:r,value:a}),b.default.createElement(Jr,{autoFocus:!0,className:_["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:as}),b.default.createElement(jo,{attachments:c,className:_["sendbox__attachment--in-grid"]}),b.default.createElement("div",{className:(0,le.default)(_["sendbox__sendbox-controls"],_["sendbox__sendbox-controls--in-grid"])},!ce&&m&&isFinite(m)&&b.default.createElement("div",{className:(0,le.default)(_["sendbox__text-counter"],{[_["sendbox__text-counter--error"]]:g})},`${a.length}/${m}`),b.default.createElement(Qr,null,!p&&b.default.createElement(Vo,null),!f&&b.default.createElement(Do,{onFilesAdded:ut}),b.default.createElement(et,null),b.default.createElement(Y,{"aria-label":w("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":x.sendBoxSendButton,disabled:g||ce,type:"submit"},b.default.createElement(Kr,null)))),b.default.createElement(Gr,{onFilesAdded:ut}),b.default.createElement(Lo,{error:ee,id:R})))}var Ge=(0,b.memo)(e=>b.default.createElement(es,{...e,isPrimary:!0}));Ge.displayName="PrimarySendBox";var Nc=(0,b.memo)(es);var ts=l(v()),ns=l(B());var rs={theme:"i"};var Bc="webchat-fluent";function Xe(e){let r=h(rs);return ts.default.createElement("div",{className:(0,ns.default)(Bc,r.theme)},e.children)}var{ThemeProvider:Ic}=is.Components,Mc=[()=>e=>(...r)=>{let t=r[0]?.activity;return t&&ne(t)?()=>Q.default.createElement(Lr,{activity:t}):e(...r)}],Pc=[()=>()=>()=>Ge],Cc=({children:e})=>Q.default.createElement(Xe,null,Q.default.createElement(Zr,null,Q.default.createElement(Ic,{activityMiddleware:Mc,sendBoxMiddleware:Pc},e))),it=(0,Q.memo)(Cc);Te("botframework-webchat:fluent-theme","version=4.18.1-main.20240808.851825d; build-tool=tsup; module-format=esmodules");Ne();globalThis.WebChat={...globalThis.WebChat,FluentThemeProvider:it,testIds:{...globalThis.WebChat?.testIds,...x}};})();
|
|
2
2
|
/*! For license information please see botframework-webchat-fluent-theme.production.min.js.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat-fluent-theme.production.min.js.map
|