botframework-webchat-fluent-theme 4.18.1-main.20250313.cd86ef9 → 4.18.1-main.20250325.438c779

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.
@@ -1,3 +1,3 @@
1
- import{injectMetaTag as Hi}from"inject-meta-tag";import{DecoratorComposer as _i}from"botframework-webchat-api/decorator";import{Components as yi}from"botframework-webchat-component";import{WebChatDecorator as xi}from"botframework-webchat-component/decorator";import z,{memo as ki}from"react";import To from"classnames";import Ye,{memo as zo}from"react";import{useContext as co,useMemo as so}from"react";import{createContext as io}from"react";import ao,{memo as ro,useMemo as no}from"react";function ne({Provider:e},{defaults:t,displayName:o}){let a=({children:r,...n})=>{let l=no(()=>Object.freeze({...t,...n}),[n]);return ao.createElement(e,{value:l},r)};return a.displayName=o,ro(a)}var ie=io(new Proxy({},{get(){throw new Error("Unable to use VariantContext without VariantComposer")}})),lo=ne(ie,{defaults:{variant:""},displayName:"VariantComposer"}),Oe=lo;function V(){let{variant:e}=co(ie);return so(()=>e.split(" "),[e])}function bo(e){let t=document.createElement("style");return t.append(document.createTextNode(e)),t}function Xe(...e){return function(){if(!globalThis.document)throw new Error("Unable to create styles: document is not defined");return e.map(t=>bo(t))}}var uo=".webchat-fluent .aa{display:contents;font-family:var(--webchat__font--primary);--webchat__bubble--inline-padding: var(--webchat-spacingHorizontalL);--webchat__bubble--block-padding: var(--webchat-spacingVerticalM);--webchat__bubble--min-height: var(--webchat-bubble-minHeight);--webchat__bubble--max-width: var(--webchat-bubble-maxWidth);--webchat__bubble--min-width: var(--webchat-bubble-minWidth);--webchat-bubble-maxWidth: var(--bubble-maxWidth, max(450px, 75%));--webchat-bubble-minWidth: var(--bubble-minWidth, auto);--webchat-bubble-minHeight: var(--bubble-minHeight, 36px);--webchat-externalLink-mask: var( --externalLink-mask, var(--webchat__icon-url--external-link) center center / 10px 10px );--webchat-externalLink-maxWidth: var(--externalLink-maxWidth, 204px)}.webchat-fluent .aa:has(.webchat__stacked-layout .webchat__bubble--from-user){--webchat__bubble--background-color: var(--webchat-colorBrandBackground2);--webchat__bubble--block-padding: var(--webchat-spacingVerticalS);--webchat__bubble--min-width: auto}.webchat-fluent .aa.ua{--webchat__bubble--background-color: var(--webchat-colorNeutralBackground1);--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge);--webchat__bubble--box-shadow: var(--webchat-shadow4)}.webchat-fluent .aa.oa{--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge)}.webchat-fluent .aa.oa .webchat__activity-status{margin:0 0 var(--webchat-spacingHorizontalXXS)}.webchat-fluent .aa.oa .webchat__stacked-layout__status{order:-1}.webchat-fluent .aa.oa:has(.webchat__bubble--from-user) .webchat__bubble{margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .aa.oa .webchat__bubble .webchat__text-content .webchat__text-content__generated-badge{display:none}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)){--webchat__bubble--block-padding: 0;--webchat__bubble--border-radius: var(--webchat-borderRadiusMedium);--webchat__bubble--inline-padding: 0;--webchat__bubble--max-width: 100%;--webchat__bubble--min-height: 20px;display:flex;flex-flow:column nowrap;gap:var(--webchat-spacingVerticalS);margin-inline:var(--webchat-spacingHorizontalM);padding:var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalM);position:relative}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout{margin:0;position:static}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__bubble{position:static;width:var(--webchat__bubble--max-width)}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__bubble .webchat__bubble__content{overflow:visible}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__text-content{margin-inline-start:28px}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .border-loader{display:flex;flex-flow:column nowrap;gap:var(--webchat-spacingVerticalS);padding-inline-end:var(--webchat-spacingHorizontalM);width:500px}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .border-loader__track{border-radius:inherit;box-sizing:border-box;clip-path:border-box;margin-inline-start:28px;order:-1;width:auto}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout__status{display:none}.webchat-fluent .aa .webchat__basic-transcript__activity-body:not(:empty){padding-block-end:var(--webchat-spacingVerticalXL)}.webchat-fluent .aa .webchat__stacked-layout{display:flex;flex-flow:column nowrap}.webchat-fluent .aa .webchat__stacked-layout .webchat__stacked-layout__content:has(.webchat__bubble){max-width:100%;overflow:visible}.webchat-fluent .aa .webchat__stacked-layout .webchat__stacked-layout__status{font-size:var(--webchat__font-size--small);line-height:var(--webchat__line-height--small)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble{max-width:min(var(--webchat__bubble--max-width),100%);min-width:var(--webchat__bubble--min-width);overflow:visible}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble:has(.border-loader){width:100%}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble:has(.activity-loader) .webchat__bubble__content{background:transparent;box-shadow:none}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__bubble__content{background-color:var(--webchat__bubble--background-color);border-radius:var(--webchat__bubble--border-radius);border-width:0;box-shadow:var(--webchat__bubble--box-shadow);box-sizing:border-box;color:var(--webchat-colorNeutralForeground1);max-width:100%;min-height:var(--webchat__bubble--min-height)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content{font-size:var(--webchat__font-size--medium);line-height:var(--webchat__line-height--medium);min-height:auto;padding-block:var(--webchat__bubble--block-padding);padding-inline:var(--webchat__bubble--inline-padding)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content:empty{padding-block-end:0}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content+.webchat__text-content{margin-top:calc(var(--webchat__bubble--block-padding) * -1)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content__generated-badge{align-items:center;align-self:flex-start;background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);cursor:default;display:inline-flex;font-size:var(--webchat-fontSizeBase100);height:16px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge{cursor:default;font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__fileName{color:var(--webchat-colorBrandForegroundLink);font-family:inherit}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__size{color:var(--webchat-colorNeutralForeground2);font-family:inherit}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier){color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{background:currentColor;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat}.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier{align-items:center;background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:var(--webchat-colorNeutralForeground2);display:inline-flex;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);height:14px;justify-content:center;line-height:var(--webchat-lineHeightBase100);margin-left:var(--webchat-spacingHorizontalXXS);margin-right:var(--webchat-spacingHorizontalXXS);min-width:14px;text-decoration:none;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);vertical-align:calc((var(--webchat-lineHeightBase100) - var(--webchat-fontSizeBase100)) / 2)}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover{background-color:var(--webchat-colorBrandBackground2Hover);border-color:var(--webchat-colorBrandStroke2Hover);color:var(--webchat-colorBrandForeground2Hover);cursor:pointer}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover:active{background-color:var(--webchat-colorBrandBackground2Pressed);border-color:var(--webchat-colorBrandStroke2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):before,:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):after{all:unset}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):has(.webchat__render-markdown__external-link-icon){padding-inline:3px}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{background:currentColor;height:.7em;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat}.webchat-fluent .aa .webchat__link-definitions__header{border-radius:var(--webchat-borderRadiusMedium)}.webchat-fluent .aa .webchat__link-definitions__header .webchat__link-definitions__header-text{color:var(--webchat-colorNeutralForeground3)}.webchat-fluent .aa .webchat__link-definitions__header .webchat__link-definitions__header-chevron{fill:var(--webchat-colorNeutralForeground3);font-size:var(--webchat__font-size--small);width:1em}.webchat-fluent .aa .webchat__link-definitions__header:focus-visible{outline-offset:1px;outline:var(--webchat-strokeWidthThin) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent .aa .webchat__link-definitions{--webchat__citation__external-link--mask: var(--webchat-externalLink-mask);--webchat__citation__link--max-width: var(--webchat-externalLink-maxWidth)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list{color:var(--webchat__color--subtle);display:flex;flex-flow:row wrap;gap:var(--webchat-spacingHorizontalS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item{border-radius:var(--webchat-borderRadiusMedium);max-width:var(--webchat__citation__link--max-width)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-box{background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:currentColor;display:inline-flex;font-size:var(--webchat__font-size--small);height:24px;padding-inline-end:var(--webchat-spacingHorizontalS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-body{font-family:inherit;gap:var(--webchat-spacingHorizontalSNudge);min-width:0;padding:0}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__badge{align-self:center;background-color:transparent;border-radius:0;border:none;color:currentColor;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase100);margin:0;min-width:20px;padding:0;position:relative;text-align:center}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__badge:after{border-right:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);bottom:0;content:\"\";display:block;height:16px;position:absolute;right:0;top:0;width:0}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-main-text{gap:var(--webchat-spacingHorizontalXS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-text{color:currentColor;text-decoration:none;text-overflow:ellipsis}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-main-text:has(.webchat__link-definitions__open-in-new-window-icon):before{align-self:center;background:currentColor;color:currentColor;content:\"\";flex:none;font-size:var(--webchat-fontSizeBase400);height:1em;-webkit-mask:var(--webchat__citation__external-link--mask) no-repeat;mask:var(--webchat__citation__external-link--mask) no-repeat;padding:0;width:1em}.webchat-fluent .aa .webchat__link-definitions :is(.webchat__link-definitions__list-item-badge,.webchat__link-definitions__open-in-new-window-icon){display:none}.webchat-fluent .va{align-items:center;box-sizing:border-box;cursor:default;display:flex;flex-wrap:nowrap;gap:var(--webchat-spacingHorizontalS);max-width:var(--webchat__bubble--max-width)}.webchat-fluent .pa{aspect-ratio:1;background-color:var(--background-color);border-radius:var(--webchat-borderRadiusSmall);width:20px}.webchat-fluent ._a{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.webchat-fluent .fa{align-items:center;background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForeground3);display:flex;flex:none;font-size:var(--webchat-fontSizeBase100);height:20px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS)}.webchat-fluent .ka{flex:none;height:8px;margin:var(--webchat-spacingHorizontalM) 0 0 18px;width:auto}.webchat-fluent .ka.ma{margin:0 0 var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalSNudge)}.webchat-fluent .xa{box-sizing:border-box;display:grid;gap:var(--webchat-spacingHorizontalXXXL);grid-template-areas:\"body\" \"toolbar\";grid-template-rows:auto auto;padding:var(--webchat-spacingHorizontalXXXL) var(--webchat-spacingHorizontalM);position:relative}.webchat-fluent .ya{align-items:center;display:flex;flex-flow:column nowrap;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);gap:var(--webchat-spacingVerticalXS);grid-area:body;line-height:var(--webchat-lineHeightBase300);text-align:center}.webchat-fluent .Ba{opacity:60%}.webchat-fluent .Ba .ra{filter:grayscale(1)}.webchat-fluent .ra{border-radius:var(--webchat-borderRadiusMedium);height:64px;margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .Na{color:var(--webchat-colorNeutralForeground1);font-family:inherit;font-size:var(--webchat-fontSizeHero700);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightHero700);margin:0;overflow-wrap:anywhere}.webchat-fluent .Sa{font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300);overflow-wrap:anywhere}.webchat-fluent .za{grid-area:toolbar}.webchat-fluent .Ha{-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:var(--webchat-spacingVerticalS);grid-template-areas:\"title\" \"subtitle\";grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow:hidden;padding:16px 20px;text-align:left;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);-webkit-user-select:none;user-select:none}.webchat-fluent .Ha:has(.ta){grid-template-areas:\"image title\" \"image subtitle\";grid-template-columns:20px 1fr}.webchat-fluent .Ha:empty{row-gap:14px}.webchat-fluent .Ha:is([aria-disabled=true],:empty){cursor:default}.webchat-fluent .Ha[aria-disabled=true]:not(:empty){background-color:var(--webchat-colorNeutralBackgroundDisabled)}.webchat-fluent .Ha:hover:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Hover)}.webchat-fluent .Ha:active:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Pressed)}.webchat-fluent .Ha:focus-visible{outline:solid 2px var(--webchat-colorStrokeFocus2);outline-offset:-2px}.webchat-fluent .Ha:empty:after,.webchat-fluent .Ha:empty:before{animation:ca 3s linear infinite;background-attachment:fixed;background-image:linear-gradient(-90deg,var(--webchat-colorNeutralStencil1) 0%,var(--webchat-colorNeutralStencil2) 50%,var(--webchat-colorNeutralStencil1) 100%);background-size:300% 100%;content:\"\";display:block}@media (prefers-reduced-motion: reduce){.webchat-fluent .Ha:empty:after,.webchat-fluent .Ha:empty:before{animation-delay:-1s;animation-play-state:paused}}.webchat-fluent .Ha:dir(rtl):empty:after,.webchat-fluent .Ha:dir(rtl):empty:before{animation-direction:reverse}.webchat-fluent .Ha:empty:after{border-radius:16px;height:16px;width:100%}.webchat-fluent .Ha:empty:before{border-radius:18px;height:18px;width:66%}@keyframes ca{0%{background-position-x:0%}to{background-position-x:-300%}}.webchat-fluent .ta{color:var(--webchat-colorNeutralForeground4);font-size:20px;grid-area:image}.webchat-fluent .Fa{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightRegular);grid-area:subtitle;line-height:20px;pointer-events:none}.webchat-fluent .Ma{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightSemibold);grid-area:title;line-height:20px}.webchat-fluent .Xa{container-name:la;container-type:inline-size}.webchat-fluent .ia{display:grid;gap:var(--webchat-spacingHorizontalM);grid-template-columns:1fr 1fr 1fr;padding:0}@container la (width <= 480px){.webchat-fluent .ia{grid-template-columns:1fr}}.webchat-fluent .La{background-color:var(--webchat-colorNeutralBackground4);border-radius:inherit;cursor:copy;display:grid;gap:8px;inset:0;place-content:center;place-items:center;position:absolute;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .Wa{background-color:var(--webchat-colorBrandBackground2Hover)}.webchat-fluent .Va{font-size:36px;pointer-events:none}.webchat-fluent .Ra{align-items:center;background:transparent;border-radius:var(--webchat-borderRadiusXLarge);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandStroke2);color:currentColor;cursor:pointer;display:flex;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);gap:var(--webchat-spacingHorizontalXS);padding:var(--webchat-spacingVerticalXS) var(--webchat-spacingHorizontalS);text-align:start;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}@media (hover: hover){.webchat-fluent .Ra:not([aria-disabled=true]):hover{background-color:var(--webchat-colorBrandBackground2Hover);color:var(--webchat-colorBrandForeground2Hover)}}.webchat-fluent .Ra:not([aria-disabled=true]):active{background-color:var(--webchat-colorBrandBackground2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}.webchat-fluent .Ra[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .Pa{font-size:var(--webchat-fontSizeBase200);height:1em;width:1em}.webchat-fluent .Ta{align-items:flex-end;align-self:flex-end;display:flex;flex-direction:column;gap:8px}.webchat-fluent .Ta:not(:empty){padding-block-end:8px;padding-inline-start:4px}.webchat-fluent .Ta.Ca{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.webchat-fluent .Ta.Da{flex-direction:column}.webchat-fluent .na{-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 .na:hover{background-color:var(--webchat-colorGray30)}.webchat-fluent .ba{color:var(--webchat-colorGray190);font-size:10px}.webchat-fluent .da{font-size:24px;margin-top:8px}.webchat-fluent .Ga .na{height:32px;justify-content:center;margin:8px 4px;width:32px}.webchat-fluent .Ga .ba{display:none}.webchat-fluent .Ga .da{font-size:20px;margin-top:0}.webchat-fluent .Ua{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 .ja{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 .Aa{align-items:center;color:var(--webchat-colorNeutralForeground4);display:flex;font-size:12px;gap:6px;margin-block-end:6px}.webchat-fluent .Ia{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .Ia:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .Ia:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .Ia:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .Ia:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .Ka{--webchat__sendbox-button-height: 32px;display:flex;gap:4px;height:var(--webchat__sendbox-button-height);margin-inline-start:auto}.webchat-fluent .Ea{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;height:var(--webchat__sendbox-button-height);justify-content:center;padding:3px}.webchat-fluent .Ea>.webchat__monochrome-image-masker{font-size:20px;pointer-events:none}.webchat-fluent .Ea.qa{color:var(--webchat-colorNeutralForeground2BrandSelected)}@media (hover: hover){.webchat-fluent .Ea:not([aria-disabled=true]):hover{color:var(--webchat-colorNeutralForeground2BrandHover)}}.webchat-fluent .Ea:not([aria-disabled=true]):active{color:var(--webchat-colorNeutralForeground2BrandPressed)}.webchat-fluent .Ea[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .Ja{align-self:center;border-inline-end:1px solid var(--webchat-colorNeutralStroke2);height:28px}.webchat-fluent .Ja:is(:first-child,:last-child,:only-child){display:none}.webchat-fluent .Oa{display:grid}.webchat-fluent .Qa{font-size:0;height:0;opacity:0;width:1px}.webchat-fluent .Ya{border-radius:var(--webchat-borderRadiusLarge);border:1px solid var(--webchat-colorNeutralStroke1);cursor:default;padding:6px 8px;width:fit-content}.webchat-fluent .Za{color:transparent;font-size:0;height:0;left:0;position:absolute;top:0;width:0}.webchat-fluent .ha{--webchat__sendbox--padding: var(--webchat__padding--sendbox);color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);padding:var(--webchat__sendbox--padding);text-rendering:optimizeLegibility;--webchat-sendbox-attachment-area-active: ;--webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge)}.webchat-fluent .ha.ae .sa:not(.ga){visibility:hidden}.webchat-fluent .ee{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 .ee:has(.wa){--webchat-sendbox-attachment-area-active: \"attachment\"}.webchat-fluent .ee:focus-within{border-color:var(--webchat-colorNeutralStroke1Selected)}.webchat-fluent .ee: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 .ee: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 .ee>.oe{grid-area:text-area}.webchat-fluent .ee>.wa{grid-area:attachment}.webchat-fluent .ee>.re{grid-area:controls}.webchat-fluent .ee>.te{grid-area:telephone-keypad}.webchat-fluent .ce{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 .ce:focus-within{font-size:16px}}.webchat-fluent .le{align-items:center;display:flex;padding-inline-start:4px}.webchat-fluent .sa{color:var(--webchat-colorNeutralForeground4);cursor:default;font-family:var(--webchat-fontFamilyNumeric);font-size:10px;line-height:14px;margin-inline-end:4px}.webchat-fluent .ga{color:var(--webchat-colorStatusDangerForeground1)}.webchat-fluent .ie{display:grid;grid-template-areas:\"main\";max-height:200px;overflow:hidden}.webchat-fluent .ne{height:0;visibility:collapse}.webchat-fluent .be{border:none;font:inherit;grid-area:main;outline:inherit;overflow-wrap:anywhere;resize:inherit;scrollbar-gutter:stable}.webchat-fluent .de{overflow:hidden;visibility:hidden;white-space:pre-wrap}.webchat-fluent .he{background-color:inherit;color:currentColor;height:100%;padding:0}.webchat-fluent .se{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);-moz-scrollbar-width:thin}.webchat-fluent .se::-webkit-scrollbar{width:8px}.webchat-fluent .se::-webkit-scrollbar-track{background-color:var(--webchat-colorNeutralBackground5);border-radius:16px}.webchat-fluent .se::-webkit-scrollbar-thumb{background-color:var(--webchat-colorNeutralForeground2);border-radius:16px}.webchat-fluent .se::-webkit-scrollbar-corner{background-color:var(--webchat-colorNeutralBackground5)}.webchat-fluent._{display:contents;--webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);--webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);--webchat-colorNeutralForeground1Hover: var(--colorNeutralForeground1Hover, #242424);--webchat-colorNeutralForeground1Pressed: var(--colorNeutralForeground1Pressed, #242424);--webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);--webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);--webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);--webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);--webchat-colorNeutralForeground3: var(--colorNeutralForeground3, #616161);--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);--webchat-colorNeutralForeground5: var(--colorNeutralForeground5, #7e7e7e);--webchat-colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled, #f0f0f0);--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);--webchat-colorNeutralBackground1Hover: var(--colorNeutralBackground1Hover, #f5f5f5);--webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);--webchat-colorNeutralBackground3: var(--colorNeutralBackground3, #f5f5f5);--webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);--webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);--webchat-colorNeutralBackground6: var(--colorNeutralBackground6, #e6e6e6);--webchat-colorNeutralStencil1: var(--colorNeutralStencil1, #e6e6e6);--webchat-colorNeutralStencil2: var(--colorNeutralStencil2, #fafafa);--webchat-colorNeutralShadowAmbient: var(--colorNeutralShadowAmbient, rgba(0, 0, 0, .12));--webchat-colorNeutralShadowKey: var(--colorNeutralShadowKey, rgba(0, 0, 0, .14));--webchat-colorTransparentBackground: var(--colorTransparentBackground, rgba(0, 0, 0, .4));--webchat-colorNeutralStrokeDisabled: var(--colorNeutralStrokeDisabled, #e0e0e0);--webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);--webchat-colorNeutralStroke1Hover: var(--colorNeutralStroke1Hover, #c7c7c7);--webchat-colorNeutralStroke1Pressed: var(--colorNeutralStroke1Pressed, #b3b3b3);--webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);--webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);--webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);--webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);--webchat-colorBrandStroke2Pressed: var(--colorBrandStroke2Pressed, #01384d);--webchat-colorTransparentStroke: var(--colorTransparentStroke, transparent);--webchat-colorBrandForeground1: var(--colorBrandForeground1, #01678c);--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-colorBrandBackground2: var(--colorBrandBackground2, #def2fc);--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-colorGrey8: #141414;--webchat-colorGrey14: #242424;--webchat-colorGrey92: #ebebeb;--webchat-colorGrey98: #fafafa;--webchat-shadow2: var(--shadow2, 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%));--webchat-shadow4: var(--shadow4, 0 0 2px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .14));--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-shadow64: var(--shadow64, 0 0 8px rgba(0, 0, 0, .12), 0 32px 64px rgba(0, 0, 0, .14));--webchat-spacingHorizontalNone: var(--spacingHorizontalNone, 0);--webchat-spacingHorizontalXXS: var(--spacingHorizontalXXS, 2px);--webchat-spacingHorizontalXS: var(--spacingHorizontalXS, 4px);--webchat-spacingHorizontalSNudge: var(--spacingHorizontalSNudge, 6px);--webchat-spacingHorizontalS: var(--spacingHorizontalS, 8px);--webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);--webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);--webchat-spacingHorizontalL: var(--spacingHorizontalL, 16px);--webchat-spacingHorizontalXL: var(--spacingHorizontalXL, 20px);--webchat-spacingHorizontalXXL: var(--spacingHorizontalXXL, 24px);--webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);--webchat-spacingVerticalNone: var(--spacingVerticalNone, 0);--webchat-spacingVerticalXXS: var(--spacingVerticalXXS, 2px);--webchat-spacingVerticalXS: var(--spacingVerticalXS, 4px);--webchat-spacingVerticalSNudge: var(--spacingVerticalSNudge, 6px);--webchat-spacingVerticalS: var(--spacingVerticalS, 8px);--webchat-spacingVerticalMNudge: var(--spacingVerticalMNudge, 10px);--webchat-spacingVerticalM: var(--spacingVerticalM, 12px);--webchat-spacingVerticalL: var(--spacingVerticalL, 16px);--webchat-spacingVerticalXL: var(--spacingVerticalXL, 20px);--webchat-spacingVerticalXXL: var(--spacingVerticalXXL, 24px);--webchat-spacingVerticalXXXL: var(--spacingVerticalXXXL, 32px);--webchat-fontFamilyBase: var( --fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif );--webchat-fontFamilyMonospace: var(--fontFamilyMonospace, Consolas, \"Courier New\", Courier, monospace);--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-fontSizeBase100: var(--fontSizeBase100, 10px);--webchat-fontSizeBase200: var(--fontSizeBase200, 12px);--webchat-fontSizeBase300: var(--fontSizeBase300, 14px);--webchat-fontSizeBase400: var(--fontSizeBase400, 16px);--webchat-fontSizeBase500: var(--fontSizeBase500, 20px);--webchat-fontSizeBase600: var(--fontSizeBase600, 24px);--webchat-fontSizeHero700: var(--fontSizeHero700, 28px);--webchat-fontSizeHero800: var(--fontSizeHero800, 32px);--webchat-fontSizeHero900: var(--fontSizeHero900, 40px);--webchat-lineHeightBase100: var(--lineHeightBase100, 14px);--webchat-lineHeightBase200: var(--lineHeightBase200, 16px);--webchat-lineHeightBase300: var(--lineHeightBase300, 20px);--webchat-lineHeightBase400: var(--lineHeightBase400, 22px);--webchat-lineHeightBase500: var(--lineHeightBase500, 28px);--webchat-lineHeightBase600: var(--lineHeightBase600, 32px);--webchat-lineHeightHero700: var(--lineHeightHero700, 36px);--webchat-lineHeightHero800: var(--lineHeightHero800, 40px);--webchat-lineHeightHero900: var(--lineHeightHero900, 52px);--webchat-lineHeightHero1000: var(--lineHeightHero1000, 92px);--webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);--webchat-borderRadiusMedium: var(--borderRadiusMedium, 4px);--webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);--webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);--webchat-strokeWidthThin: var(--strokeWidthThin, 1px);--webchat-strokeWidthThick: var(--strokeWidthThick, 2px);--webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);--webchat-durationUltraFast: var(--durationUltraFast, 0);--webchat-durationNormal: var(--durationNormal, .2s);--webchat-durationUltraSlow: var(--durationUltraSlow, .5s);--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1, 0, 1, 1));--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0, 0, 0, 1))}@media (prefers-reduced-motion){.webchat-fluent._{--webchat-durationUltraFast: .01ms;--webchat-durationNormal: .01ms}}.webchat-fluent._ .webchat__css-custom-properties{--webchat__color--accent: var(--webchat-colorBrandForeground1);--webchat__color--subtle: var(--webchat-colorNeutralForeground2);--webchat__color--timestamp: var(--webchat-colorNeutralForeground3);--webchat__font--primary: var(--webchat-fontFamilyBase);--webchat__font-size--small: var(--webchat-fontSizeBase200);--webchat__font-size--medium: var(--webchat-fontSizeBase300);--webchat__line-height--small: var(--webchat-lineHeightBase200);--webchat__line-height--medium: var(--webchat-lineHeightBase300);--webchat__max-width--bubble: var(--webchat-bubble-maxWidth);--webchat__min-height--bubble: var(--webchat-bubble-minHeight);--webchat__padding--regular: var(--webchat-spacingVerticalS);--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalMNudge) var(--webchat-spacingHorizontalMNudge);--webchat__border-animation--color-1: #464feb;--webchat__border-animation--color-2: #47cffa;--webchat__border-animation--color-3: #b47cf8}.webchat-fluent._.ea .webchat__css-custom-properties{--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalXL) var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalMNudge)}.webchat-fluent._ .webchat__surface{background-color:var(--webchat__color--surface)}.webchat-fluent._.ea .webchat__surface{box-sizing:border-box;padding-inline-start:var(--webchat-spacingHorizontalMNudge)}.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralForeground5) transparent;-moz-scrollbar-width:thin}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body)::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge);visibility:hidden}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body)::-webkit-scrollbar-corner{background:transparent}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge)}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border-radius:10px;border-right:4px solid transparent;border:3px solid transparent}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb:hover{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border-radius:10px;border-right:2px solid transparent;border:1px solid transparent}.webchat-fluent._.ea .webchat__basic-transcript .webchat__basic-transcript__scrollable{scrollbar-gutter:stable}.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__terminator:focus-visible+.webchat__basic-transcript__focus-indicator{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__basic-transcript:not(:focus-visible) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__focus-indicator{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__bubble:after,.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat__bubble--border-radius);content:\"\";inset:0;outline-offset:0;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);pointer-events:none;position:absolute}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat-borderRadiusMedium);outline-offset:-3px}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .liner-message-activity__text{border-radius:20px;outline-offset:4px;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent._.ea .webchat__basic-transcript .webchat__basic-transcript__filler{flex-grow:0}.webchat-fluent._ .webchat__basic-transcript:has(.webchat__basic-transcript__activity:only-child):has(.pre-chat-message-activity) .webchat__basic-transcript__filler{flex-grow:.5}.webchat-fluent._ .webchat__modal-dialog{height:100%;display:grid;place-items:center}.webchat-fluent._ .webchat__modal-dialog::backdrop{background-color:var(--webchat-colorTransparentBackground)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__box{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusXLarge);position:relative;color:var(--webchat-colorNeutralForeground1);box-shadow:var(--webchat-shadow64)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button{color:var(--webchat-colorNeutralForeground1);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:active):hover{background-color:var(--webchat-colorNeutralBackground3)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:focus:active{background-color:var(--webchat-colorNeutralBackground4)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:focus-visible){border:none}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:focus{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button-image{fill:currentColor}.webchat-fluent._ .webchat__code-block{border:none;font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button{background:transparent;border:none;color:var(--webchat__code-block__copy-button--color);height:20px;margin-inline-start:var(--webchat-spacingHorizontalS);padding:0;width:20px;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button .webchat__code-block-copy-button__icon{background-color:currentColor}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:hover,.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:active{background:var(--webchat__code-block__copy-button--background);color:var(--webchat__code-block__copy-button--color)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:focus{color:var(--webchat__code-block__copy-button--color);outline-color:currentColor}.webchat-fluent._ .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent._ .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within .webchat__code-block__body{outline:none}.webchat-fluent._ .webchat__code-block:has(>.webchat__code-block__theme--github-dark-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey8));--webchat__code-block__copy-button--background: var( --codeBlockCopyButtonBackgroundPressed, var(--webchat-colorGrey14) );--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey98))}.webchat-fluent._ .webchat__code-block:has(>.webchat__code-block__theme--github-light-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey98));--webchat__code-block__copy-button--background: var(--codeBlockBackgroundPressed, var(--webchat-colorGrey92));--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey8))}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button-layout{display:flex;padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalS)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button{align-items:center;aspect-ratio:1;display:flex;height:var(--webchat-lineHeightBase300);justify-content:center;padding:0;width:unset}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__code-block-copy-button{--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3);margin-block-start:var(--webchat-spacingVerticalS);position:absolute;right:32px;top:0}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__box{width:fit-content}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__body{margin:0;padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__title{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__body{font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);margin:0 calc(var(--webchat-spacingHorizontalM) * -1);padding:0 var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__footer{color:var(--webchat-colorNeutralForeground4);font-size:var(--webchat-fontSizeBase100);line-height:var(--webchat-lineHeightBase100)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__activity-button{background:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);color:var(--webchat-colorNeutralForeground1);gap:var(--webchat-spacingHorizontalXS);padding:5px var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__activity-button:hover{background:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover);color:var(--webchat-colorNeutralForeground1Hover)}.webchat-fluent._ .webchat__activity-button:active{background:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed);color:var(--webchat-colorNeutralForeground1Pressed)}.webchat-fluent._ .webchat__activity-button:focus-visible{background:var(--webchat-colorNeutralBackground1);outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent._ .webchat__activity-button[aria-disabled=true]{background:var(--webchat-colorNeutralBackgroundDisabled);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStrokeDisabled);color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent._ .webchat__activity-button .webchat__activity-button__icon{height:20px;width:20px}.webchat-fluent._ .webchat__activity-copy-button .webchat__activity-copy-button__copied-text{background-color:var(--webchat-colorNeutralBackground1)}.webchat-fluent._ .webchat__activity-copy-button.webchat__activity-copy-button--copied .webchat__activity-copy-button__copied-text{animation-duration:var(--webchat-durationUltraSlow)}.webchat-fluent._ .webchat__monochrome-image-masker{background-color:currentColor;height:1em;width:1em}.webchat-fluent._ .webchat__thumb-button{color:var(--webchat-colorNeutralForeground1)}.webchat-fluent._ .webchat__thumb-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__thumb-button[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent._ .webchat__tooltip{--webchat__tooltip-background: var(--tooltip-background, var(--webchat-colorNeutralBackground1));color:var(--webchat-colorNeutralForeground1);filter:drop-shadow(0 0 2px var(--webchat-colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--webchat-colorNeutralShadowKey));font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);transition:opacity var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .ge{align-items:center;box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);display:flex;flex-direction:row;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);gap:var(--webchat-spacingHorizontalM);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);text-align:center;width:100%}.webchat-fluent .ge:before,.webchat-fluent .ge:after{border-top:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);content:\"\";display:flex;flex:auto;min-width:8px}.webchat-fluent .we{text-align:center}\n/*! For license information please see botframework-webchat-fluent-theme.css.LEGAL.txt */\n",le=Xe(uo);import{useMemo as ho}from"react";function po(e){return ho(()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([t,o])=>[t,`${t} ${o}`]))),[e])}var c=po;import{useMemo as mo}from"react";function M(e){let t=c(e),o=V();return mo(()=>o.map(a=>t[`variant-${a}`]).filter(a=>a).join(" "),[t,o])}var ce={"activity-decorator":"aa","variant-fluent":"ua","variant-copilot":"oa"};import K,{memo as No,useMemo as So}from"react";import{hooks as Mo}from"botframework-webchat-component";import{useMemo as fo}from"react";import{hooks as wo}from"botframework-webchat-component";var{useStyleOptions:vo}=wo;function se(e){let[t]=vo();return fo(()=>Object.freeze([{...t,...e?.channelData?.webChat?.styleOptions}]),[e?.channelData?.webChat?.styleOptions,t])}import{getOrgSchemaMessage as _o}from"botframework-webchat-core";function de(e){return!!(e&&_o(e?.entities||[])?.keywords?.includes("AIGeneratedContent"))}import{useMemo as yo}from"react";import{getOrgSchemaMessage as xo}from"botframework-webchat-core";function F(e){return yo(()=>{let t=xo(e?.entities||[]);return typeof t?.author=="string"?{"@type":"Person",description:void 0,image:void 0,name:t?.author}:t?.author},[e])}var Ue={"copilot-message-header":"va","copilot-message-header__avatar":"pa","copilot-message-header__title":"_a","copilot-message-header__ai-generated-content":"fa"};var{useLocalizer:Bo}=Mo;function Io({activity:e}){let[{botAvatarImage:t,botAvatarBackgroundColor:o}]=se(e),a=c(Ue),r=Bo(),n=de(e),l=So(()=>({"--background-color":o}),[o]),i=F(e),b=i?.image||t,p=i?.name||e?.from?.name;return K.createElement("div",{className:a["copilot-message-header"]},b&&K.createElement("img",{alt:r("AVATAR_ALT",p),className:a["copilot-message-header__avatar"],src:b,style:l}),K.createElement("span",{className:a["copilot-message-header__title"],title:p},p),n&&K.createElement("span",{className:a["copilot-message-header__ai-generated-content"]},r("ACTIVITY_CONTENT_CAUTION")))}var Ge=No(Io);function Ke({activity:e,children:t}){let o=c(ce),a=V(),r=M(ce),n=a.includes("copilot")&&e?.from?.role==="bot"&&!!t;return Ye.createElement("div",{className:To(o["activity-decorator"],r)},n&&Ye.createElement(Ge,{activity:e}),t)}Ke.displayName="ActivityDecorator";var be=zo(Ke);import Ho from"classnames";import Qe,{Fragment as Ao,memo as Fo}from"react";var Je={"activity-loader":"ka","variant-fluent":"ma"};var Do="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCA0MDAgMjAiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjAiIHgyPSIxMDAlIiB5MT0iMCIgeTI9IjAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBvZmZzZXQ9IjAlIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdG9wLWNvbG9yIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iI2FkNWFlMTsjYWQ1YWUxOyMwRTk0RTE7IzBFOTRFMTsjNjY5ZmMyOyM2NjlmYzI7I2FkNWFlMSIvPjwvc3RvcD48c3RvcCBvZmZzZXQ9IjUwJSI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3RvcC1jb2xvciIgZHVyPSIycyIga2V5VGltZXM9IjA7MC4yOzAuMzM7MC41OzAuNjY7MC44OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IiNlOTYxOGQ7I2U5NjE4ZDsjNTdBQjgyOyM1N0FCODI7IzYzNzdlMDsjNjM3N2UwOyNlOTYxOGQiLz48L3N0b3A+PHN0b3Agb2Zmc2V0PSIxMDAlIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdG9wLWNvbG9yIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iI2ZkOWU1ZjsjZmQ5ZTVmOyNDNkMyMjU7I0M2QzIyNTsjOWI4MGVjOyM5YjgwZWM7I2ZkOWU1ZiIvPjwvc3RvcD48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJ1cmwoI2EpIj48cmVjdCBoZWlnaHQ9IjIwIiByeD0iMTAiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IngiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuNTswLjY2OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjI2OzI2OzA7MCIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IndpZHRoIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIyMDsyMDszMDszMDsyMDsyMCIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuNTswLjY2OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjE7MTswOzAiLz48L3JlY3Q+PHJlY3QgaGVpZ2h0PSIyMCIgcng9IjEwIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJ4IiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iNjI7NjI7NzI7NzI7MjY7MjY7MCIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IndpZHRoIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iMTA0OzEwNDsyMDsyMDs3MDs3MDsyMCIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuODsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIxOzE7MCIvPjwvcmVjdD48cmVjdCBoZWlnaHQ9IjIwIiByeD0iMTAiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IngiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuMjswLjMzOzAuNTswLjY2OzAuODsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIxODI7MTgyOzEwODsxMDg7MTEyOzExMjsyNiIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IndpZHRoIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIyMDsyMDs2MDs2MDsyMDsyMCIvPjwvcmVjdD48cmVjdCBoZWlnaHQ9IjIwIiByeD0iMTAiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IngiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuMjswLjMzOzAuNTswLjY2OzAuODsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIyMTg7MjE4OzE4NDsxODQ7MTQ4OzE0ODs2MiIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IndpZHRoIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iNjA7NjA7ODA7ODA7NDA7NDA7MTA0Ii8+PC9yZWN0PjxyZWN0IGhlaWdodD0iMjAiIHJ4PSIxMCI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ieCIgZHVyPSIycyIga2V5VGltZXM9IjA7MC4yOzAuMzM7MC41OzAuNjY7MC44OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjI5NDsyOTQ7MjgwOzI4MDsyMDQ7MjA0OzE4MiIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IndpZHRoIiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iNDA7NDA7MjA7MjA7ODA7ODA7MjAiLz48L3JlY3Q+PHJlY3QgaGVpZ2h0PSIyMCIgcng9IjEwIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJ4IiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iMzUwOzM1MDszMTY7MzE2OzMwMDszMDA7MjE4Ii8+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0id2lkdGgiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuMjswLjMzOzAuNTswLjY2OzAuODsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIyMDsyMDs2MDs2MDsyMDsyMDs2MCIvPjwvcmVjdD48cmVjdCBoZWlnaHQ9IjIwIiByeD0iMTAiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9IngiIGR1cj0iMnMiIGtleVRpbWVzPSIwOzAuMjswLjMzOzAuNTswLjY2OzAuODsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIzODY7Mzg2OzM5MjszOTI7MzM2OzMzNjsyOTQiLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJ3aWR0aCIgZHVyPSIycyIga2V5VGltZXM9IjA7MC41OzAuNjY7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iMjA7MjA7NDA7NDAiLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjU7MC42NjsxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdmFsdWVzPSIwOzA7MTsxIi8+PC9yZWN0PjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcng9IjEwIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJ4IiBkdXI9IjJzIiBrZXlUaW1lcz0iMDswLjI7MC4zMzswLjU7MC42NjswLjg7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iNDIyOzQyMjs0Mjg7NDI4OzM5MjszOTI7MzUwIi8+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgZHVyPSIycyIga2V5VGltZXM9IjA7MC44OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjA7MDsxIi8+PC9yZWN0PjwvZz48L3N2Zz4=";function Lo({children:e}){let t=c(Je),o=M(t);return Qe.createElement(Ao,null,e,Qe.createElement("img",{alt:"",className:Ho(t["activity-loader"],o),role:"presentation",src:Do}))}var $e=Fo(Lo);import{getOrgSchemaMessage as Wo}from"botframework-webchat-core";function D(e){return!!(e&&Wo(e?.entities||[])?.keywords?.includes("PreChatMessage"))}import{hooks as ra}from"botframework-webchat-component";import na from"classnames";import L,{memo as ia,useMemo as la}from"react";var qe={"pre-chat-message-activity":"xa","pre-chat-message-activity__body":"ya","pre-chat-message-activity__body--blueprint":"Ba","pre-chat-message-activity__body-avatar":"ra","pre-chat-message-activity__body-title":"Na","pre-chat-message-activity__body-subtitle":"Sa","pre-chat-message-activity__toolbar":"za"};import{hooks as qo}from"botframework-webchat-api";import ea from"classnames";import C,{Fragment as ta,memo as oa}from"react";import{Components as Vo,hooks as Zo}from"botframework-webchat-component";import tt from"classnames";import Z,{memo as Ro,useCallback as Oo,useMemo as Xo}from"react";import{useRefFrom as Uo}from"use-ref-from";var Eo={preChatMessageActivityStarterPromptsCardAction:"pre-chat message activity starter prompts card action",sendBoxContainer:"send box container",sendBoxDropZone:"send box drop zone",sendBoxSendButton:"send box send button",sendBoxSuggestedAction:"send box suggested action",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"},h=Eo;var et={"pre-chat-message-activity__card-action-box":"Ha","pre-chat-message-activity__card-action-image":"ta",blueprintAnimation:"ca","pre-chat-message-activity__card-action-subtitle":"Fa","pre-chat-message-activity__card-action-title":"Ma"};var{useFocus:Go,useRenderMarkdownAsHTML:Yo,useSendBoxValue:Ko,useUIState:Jo}=Zo,{MonochromeImageMasker:Qo}=Vo,ot=({className:e,messageBackAction:t})=>{let[o,a]=Ko(),[r]=Jo(),n=c(et),l=Go(),i=Uo(t?.displayText||t?.text||""),b=Yo("message activity"),p=Xo(()=>b?{__html:b(t?.text||"")}:void 0,[t?.text,b]),s=r==="disabled",d=t&&"title"in t&&t.title,u=r==="blueprint"||!d,m=Oo(()=>{a(i.current),l("sendBox")},[l,i,a]);return u?Z.createElement("div",{className:tt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":h.preChatMessageActivityStarterPromptsCardAction}):Z.createElement("button",{"aria-disabled":s?!0:void 0,className:tt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":h.preChatMessageActivityStarterPromptsCardAction,onClick:s?void 0:m,tabIndex:s?-1:void 0,type:"button"},Z.createElement("div",{className:n["pre-chat-message-activity__card-action-title"]},d),"image"in t&&t.image&&Z.createElement(Qo,{className:n["pre-chat-message-activity__card-action-image"],src:t.image}),Z.createElement("div",{className:n["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:p}))};ot.displayName="StarterPromptsCardAction";var R=Ro(ot);var at={"pre-chat-message-activity__card-action-toolbar":"Xa","webchat-container":"la","pre-chat-message-activity__card-action-toolbar-grid":"ia"};var{useUIState:aa}=qo,rt=({cardActions:e,className:t})=>{let o=c(at),[a]=aa();return C.createElement("div",{className:ea(t,o["pre-chat-message-activity__card-action-toolbar"])},C.createElement("div",{className:o["pre-chat-message-activity__card-action-toolbar-grid"]},a==="blueprint"?C.createElement(ta,null,C.createElement(R,null),C.createElement(R,null),C.createElement(R,null)):e.filter(r=>r.type==="messageBack").map((r,n)=>C.createElement(R,{key:n,messageBackAction:r}))))};rt.displayName="StarterPromptsToolbar";var nt=oa(rt);var{useLocalizer:ca,useRenderMarkdownAsHTML:sa,useUIState:da}=ra,it=({activity:e})=>{let[t]=da(),o=c(qe),a=sa(),r=ca(),n=F(e),l=la(()=>a?{__html:a(n?.description||"")}:{__html:""},[n?.description,a]);return L.createElement("div",{className:o["pre-chat-message-activity"]},n&&L.createElement("div",{className:na(o["pre-chat-message-activity__body"],t==="blueprint"&&o["pre-chat-message-activity__body--blueprint"])},n.image&&L.createElement("img",{alt:r("AVATAR_ALT",n.name),className:o["pre-chat-message-activity__body-avatar"],src:n.image}),n.name&&L.createElement("h2",{className:o["pre-chat-message-activity__body-title"]},n.name),n.description&&L.createElement("div",{className:o["pre-chat-message-activity__body-subtitle"],dangerouslySetInnerHTML:l})),L.createElement(nt,{cardActions:e.suggestedActions?.actions||[],className:o["pre-chat-message-activity__toolbar"]}))};it.displayName="PreChatMessageActivity";var ue=ia(it);import{hooks as ti}from"botframework-webchat-component";import X from"classnames";import w,{memo as Xt,useCallback as P,useRef as oi,useState as ai}from"react";import{useRefFrom as Ot}from"use-ref-from";import{Components as ba}from"botframework-webchat-component";import ua from"classnames";import ha,{memo as pa}from"react";var{MonochromeImageMasker:ma}=ba,ga=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function fa(e){return ha.createElement(ma,{className:ua("icon__add-document",e.className),src:ga})}var he=pa(fa);import{Components as wa}from"botframework-webchat-component";import va from"classnames";import _a,{memo as ya}from"react";var{MonochromeImageMasker:xa}=wa,ka=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function Na(e){return _a.createElement(xa,{className:va("icon__attachment",e.className),src:ka})}var pe=ya(Na);import{Components as Sa}from"botframework-webchat-component";import Ma from"classnames";import Ba,{memo as Ia}from"react";var{MonochromeImageMasker:Ta}=Sa,za=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function Ca(e){return Ba.createElement(Ta,{className:Ma("icon__info--small",e.className),src:za})}var me=Ia(Ca);import{Components as Ha}from"botframework-webchat-component";import Aa from"classnames";import Fa,{memo as Da}from"react";var{MonochromeImageMasker:La}=Ha,Wa=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function Pa(e){return Fa.createElement(La,{className:Aa("icon__send",e.className),src:Wa})}var ge=Da(Pa);import{Components as Ea}from"botframework-webchat-component";import ja from"classnames";import Va,{memo as Za}from"react";var{MonochromeImageMasker:Ra}=Ea,Oa=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function Xa(e){return Va.createElement(Ra,{className:ja("icon__telephone-keypad",e.className),src:Oa})}var fe=Za(Xa);import{hooks as Ga}from"botframework-webchat-component";import Ya from"classnames";import ct,{memo as Ka,useCallback as Ja,useEffect as Qa,useRef as $a,useState as qa}from"react";import{useRefFrom as er}from"use-ref-from";var lt={"sendbox__attachment-drop-zone":"La","sendbox__attachment-drop-zone--droppable":"Wa","sendbox__attachment-drop-zone-icon":"Va"};var{useLocalizer:tr}=Ga,J=e=>{e.preventDefault()},st=e=>!!e.dataTransfer?.types?.some(t=>t.toLowerCase()==="files");function or(e,t){let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1}var dt=e=>{let[t,o]=qa(!1),a=c(lt),r=$a(null),n=tr(),l=er(e.onFilesAdded);Qa(()=>{let b=0,p=m=>{document.addEventListener("dragover",J),b++,st(m)&&o(r.current&&(m.target===r.current||m.target instanceof HTMLElement&&or(m.target,r.current))?"droppable":"visible")},s=()=>--b<=0&&o(!1),d=()=>{document.removeEventListener("dragover",J),b=0,o(!1)},u=m=>{r.current?.contains(m.target)||d()};return document.addEventListener("dragend",d),document.addEventListener("dragenter",p),document.addEventListener("dragleave",s),document.addEventListener("drop",u),()=>{document.removeEventListener("dragend",d),document.removeEventListener("dragenter",p),document.removeEventListener("dragleave",s),document.removeEventListener("dragover",J),document.removeEventListener("drop",u)}},[o]);let i=Ja(b=>{b.preventDefault(),o(!1),st(b.nativeEvent)&&l.current([...b.dataTransfer.files])},[l,o]);return t?ct.createElement("div",{className:Ya(a["sendbox__attachment-drop-zone"],{[a["sendbox__attachment-drop-zone--droppable"]]:t==="droppable"}),"data-testid":h.sendBoxDropZone,onDragOver:J,onDrop:i,ref:r},ct.createElement(he,{className:a["sendbox__attachment-drop-zone-icon"]}),n("TEXT_INPUT_DROP_ZONE")):null};dt.displayName="DropZone";var we=Ka(dt);import{hooks as Tr}from"botframework-webchat-component";import zr from"classnames";import Q,{memo as Cr,useCallback as Hr}from"react";function ve(e){let{title:t}=e,{type:o,value:a}=e;return o==="messageBack"?t||e.displayText:t||(typeof a=="string"?a:JSON.stringify(a))}import ar,{createContext as rr,memo as nr,useCallback as W,useContext as ir,useEffect as lr,useMemo as cr,useRef as _e}from"react";var bt=rr({itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function sr(e){let t=_e(0),o=_e([]),a=W(({current:s},d)=>s&&(s.tabIndex=t.current===d?0:-1),[t]),r=W(s=>{let d;typeof s=="number"?d=s:d=s(t.current),d&&!o.current.at(d)?.current&&(d=0),t.current!==d&&(t.current=d,o.current.forEach((u,m)=>a(u,m)),o.current.at(d)?.current?.focus())},[a,o,t]),n=W(s=>{let{target:d}=s,u=o.current.findIndex(({current:m})=>m===d);u!==-1&&r(u)},[o,r]),l=W(s=>d=>{let u=!e.direction,m=/up|down/iu.test(s)&&e.direction==="vertical",x=/left|right/iu.test(s)&&e.direction==="horizontal",g=/right|down/iu.test(s),k=u||m||x?g?1:-1:0,N=o.current.map((I,T)=>T),S=N.indexOf(d)+k;return N.at(S)??0},[e.direction]),i=W(s=>{let{key:d}=s;switch(d){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":r(l(d));break;case"Home":r(0);break;case"End":r(-1);break;case"Escape":e.onEscapeKey?.();break;default:return}s.preventDefault(),s.stopPropagation()},[r,l,e]),b=W((s,d)=>{let{current:u}=s;return o.current[Number(d)]=s,u.addEventListener("focus",n),u.addEventListener("keydown",i),a(s,d),()=>{u.removeEventListener("focus",n),u.removeEventListener("keydown",i),delete o.current[Number(d)]}},[n,i,a,o]),p=cr(()=>({itemEffector:b}),[b]);return ar.createElement(bt.Provider,{value:p},e.children)}function ut(e){let t=_e(null),{itemEffector:o}=ir(bt);return lr(()=>o(t,e)),t}var ht=nr(sr);import{hooks as fr}from"botframework-webchat-component";import wr from"classnames";import ye,{memo as vr,useCallback as _r}from"react";import dr,{forwardRef as br,memo as ur,useRef as hr}from"react";var pr=e=>e.preventDefault(),mr=br(({"aria-hidden":e,children:t,className:o,"data-testid":a,disabled:r,onClick:n,tabIndex:l},i)=>{let b=hr(null);return dr.createElement("button",{"aria-disabled":r?"true":void 0,"aria-hidden":e,className:o,"data-testid":a,onClick:r?pr:n,ref:i||b,tabIndex:r?-1:l,type:"button"},t)}),pt=ur(mr);var mt={"suggested-action":"Ra","suggested-action__image":"Pa"};var{useFocus:yr,usePerformCardAction:xr,useScrollToEnd:kr,useStyleSet:Nr,useSuggestedActions:Sr,useUIState:Mr}=fr;function Br({buttonText:e,className:t,displayText:o,image:a,imageAlt:r,itemIndex:n,text:l,type:i,value:b}){let[p,s]=Sr(),[{suggestedAction:d}]=Nr(),[u]=Mr(),m=yr(),x=ut(n),g=xr(),k=c(mt),N=kr(),S=_r(({target:I})=>{(async function(){await m("sendBoxWithoutKeyboard"),g({displayText:o,text:l,type:i,value:b},{target:I}),i==="openUrl"&&s([]),N()})()},[o,m,g,N,s,l,i,b]);return ye.createElement(pt,{className:wr(k["suggested-action"],d+"",(t||"")+""),"data-testid":h.sendBoxSuggestedAction,disabled:u==="disabled",onClick:S,ref:x,type:"button"},a&&ye.createElement("img",{alt:r,className:k["suggested-action__image"],src:a}),ye.createElement("span",null,e))}var gt=vr(Br);var xe={"suggested-actions":"Ta","suggested-actions--flow":"Ca","suggested-actions--stacked":"Da"};var{useFocus:Ar,useLocalizer:Fr,useStyleOptions:Dr,useStyleSet:Lr,useSuggestedActions:Wr,useUIState:Pr}=Tr;function Er(e){let[{suggestedActionLayout:t}]=Dr(),[{suggestedActions:o}]=Lr(),[a]=Pr(),r=c(xe);return Q.createElement("div",{"aria-label":e["aria-label"],"aria-orientation":"vertical",className:zr(r["suggested-actions"],o+"",{[r["suggested-actions--flow"]]:t==="flow",[r["suggested-actions--stacked"]]:t!=="flow"},e.className),role:"toolbar"},a!=="blueprint"&&e.children)}function jr(){let e=c(xe),t=Fr(),[o,a,{activity:r}]=Wr(),n=Ar(),l=Hr(()=>{n("sendBox")},[n]),i=D(r)?[]:o.map((b,p)=>{let{displayText:s,image:d,imageAltText:u,text:m,type:x,value:g}=b;return o?.length?Q.createElement(gt,{buttonText:ve(b),displayText:s,image:d,imageAlt:d&&(u||m),itemIndex:p,key:p,text:m,type:x,value:g}):null});return Q.createElement(ht,{onEscapeKey:l},Q.createElement(Er,{"aria-label":t("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},i))}var ke=Cr(jr);import Zr,{memo as Rr,useMemo as Or,useState as Xr}from"react";import{createContext as Vr}from"react";var ft=Vr(new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));ft.displayName="TelephoneKeypad.Context";var $=ft;var Ur=Rr(({children:e})=>{let[t,o]=Xr(!1),a=Or(()=>Object.freeze({setShown:o,shown:t}),[o,t]);return Zr.createElement($.Provider,{value:a},e)}),Ne=Ur;import ln,{memo as cn}from"react";import{Components as tn}from"botframework-webchat-component";import on from"classnames";import f,{memo as yt,useCallback as y,useEffect as an,useRef as rn}from"react";import{useRefFrom as _t}from"use-ref-from";import Se,{forwardRef as Yr,memo as Kr,useCallback as Jr}from"react";import{useRefFrom as Qr}from"use-ref-from";var wt={"telephone-keypad__button":"na","telephone-keypad__button__ruby":"ba","telephone-keypad__button__text":"da","telephone-keypad--horizontal":"Ga"};var vt=Kr(Yr(({button:e,"data-testid":t,onClick:o,ruby:a},r)=>{let n=c(wt),l=Qr(o),i=Jr(()=>l.current?.(),[l]);return Se.createElement("button",{className:n["telephone-keypad__button"],"data-testid":t,onClick:i,ref:r,type:"button"},Se.createElement("span",{className:n["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!a&&Se.createElement("ruby",{className:n["telephone-keypad__button__ruby"]},a))}));vt.displayName="TelephoneKeypad.Button";var _=vt;import{useContext as $r,useMemo as qr}from"react";function B(){let{setShown:e,shown:t}=$r($);return qr(()=>Object.freeze([t,e]),[t,e])}var Me={"telephone-keypad":"Ua","telephone-keypad__box":"ja","telephone-keypad__info-message":"Aa","telephone-keypad__info-message-link":"Ia"};var{LocalizedString:nn}=tn,xt=yt(({children:e,isHorizontal:t})=>{let o=c(Me);return t?null:f.createElement("div",{className:o["telephone-keypad__box"]},e)});xt.displayName="TelephoneKeypad:Orientation";var kt=yt(({autoFocus:e,className:t,onButtonClick:o,isHorizontal:a})=>{let r=_t(e),n=c(Me),l=rn(null),i=_t(o),[,b]=B(),p=y(()=>i.current?.("1"),[i]),s=y(()=>i.current?.("2"),[i]),d=y(()=>i.current?.("3"),[i]),u=y(()=>i.current?.("4"),[i]),m=y(()=>i.current?.("5"),[i]),x=y(()=>i.current?.("6"),[i]),g=y(()=>i.current?.("7"),[i]),k=y(()=>i.current?.("8"),[i]),N=y(()=>i.current?.("9"),[i]),S=y(()=>i.current?.("0"),[i]),I=y(()=>i.current?.("*"),[i]),T=y(()=>i.current?.("#"),[i]),A=y(U=>{U.key==="Escape"&&b(!1)},[b]);return an(()=>{r.current&&l.current?.focus()},[r,l]),f.createElement("div",{className:on(n["telephone-keypad"],t),onKeyDown:A},f.createElement(xt,{isHorizontal:a},f.createElement(_,{button:"1","data-testid":h.sendBoxTelephoneKeypadButton1,onClick:p,ref:l}),f.createElement(_,{button:"2","data-testid":h.sendBoxTelephoneKeypadButton2,onClick:s,ruby:"ABC"}),f.createElement(_,{button:"3","data-testid":h.sendBoxTelephoneKeypadButton3,onClick:d,ruby:"DEF"}),f.createElement(_,{button:"4","data-testid":h.sendBoxTelephoneKeypadButton4,onClick:u,ruby:"GHI"}),f.createElement(_,{button:"5","data-testid":h.sendBoxTelephoneKeypadButton5,onClick:m,ruby:"JKL"}),f.createElement(_,{button:"6","data-testid":h.sendBoxTelephoneKeypadButton6,onClick:x,ruby:"MNO"}),f.createElement(_,{button:"7","data-testid":h.sendBoxTelephoneKeypadButton7,onClick:g,ruby:"PQRS"}),f.createElement(_,{button:"8","data-testid":h.sendBoxTelephoneKeypadButton8,onClick:k,ruby:"TUV"}),f.createElement(_,{button:"9","data-testid":h.sendBoxTelephoneKeypadButton9,onClick:N,ruby:"WXYZ"}),f.createElement(_,{button:"*","data-testid":h.sendBoxTelephoneKeypadButtonStar,onClick:I}),f.createElement(_,{button:"0","data-testid":h.sendBoxTelephoneKeypadButton0,onClick:S,ruby:"+"}),f.createElement(_,{button:"#","data-testid":h.sendBoxTelephoneKeypadButtonPound,onClick:T})),f.createElement("div",{className:n["telephone-keypad__info-message"]},f.createElement(me,null),f.createElement(nn,{linkClassName:n["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});kt.displayName="TelephoneKeypad";var Nt=kt;var St=cn(e=>B()[0]?ln.createElement(Nt,{...e}):null);St.displayName="TelephoneKeypad.Surrogate";var Be=St;import{hooks as hn}from"botframework-webchat-component";import ee,{useCallback as It,useRef as pn,memo as mn}from"react";import{useRefFrom as gn}from"use-ref-from";import{hooks as dn}from"botframework-webchat-api";import Ie from"classnames";import Te,{memo as ze}from"react";var q={sendbox__toolbar:"Ka","sendbox__toolbar-button":"Ea","sendbox__toolbar-button--selected":"qa","sendbox__toolbar-separator":"Ja"};var{useUIState:Mt}=dn,bn=e=>e.preventDefault(),H=ze(e=>{let t=c(q),[o]=Mt(),a=e.disabled||o==="disabled";return Te.createElement("button",{"aria-disabled":a?"true":void 0,"aria-label":e["aria-label"],className:Ie(t["sendbox__toolbar-button"],e.className,{[t["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:a?bn:e.onClick,tabIndex:a?-1:void 0,type:e.type==="submit"?"submit":"button"},e.children)});H.displayName="ToolbarButton";var Ce=ze(e=>{let[t]=Mt(),o=c(q);return Te.createElement("div",{className:Ie(o.sendbox__toolbar,e.className)},t!=="blueprint"&&e.children)});Ce.displayName="Toolbar";var He=ze(e=>{let t=c(q);return Te.createElement("div",{"aria-orientation":"vertical",className:Ie(t["sendbox__toolbar-separator"],e.className),role:"separator"})});He.displayName="ToolbarSeparator";var Bt={"sendbox__add-attachment":"Oa","sendbox__add-attachment-input":"Qa"};var{useLocalizer:fn,useStyleOptions:wn}=hn;function vn(e){let t=pn(null),o=c(Bt),a=fn(),[{uploadAccept:r,uploadMultiple:n}]=wn(),l=gn(e.onFilesAdded),i=It(()=>t.current?.click(),[t]),b=It(({target:{files:p}})=>{p&&(l.current?.([...p]),t.current&&(t.current.value=""))},[t,l]);return ee.createElement("div",{className:o["sendbox__add-attachment"]},ee.createElement("input",{accept:r,"aria-disabled":e.disabled,"aria-hidden":"true",className:o["sendbox__add-attachment-input"],multiple:n,onInput:e.disabled?void 0:b,readOnly:e.disabled,ref:t,role:"button",tabIndex:-1,type:"file"}),ee.createElement(H,{"aria-label":a("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":h.sendBoxUploadButton,onClick:i},ee.createElement(pe,null)))}var Tt=mn(vn);import{hooks as yn}from"botframework-webchat-component";import xn from"classnames";import kn,{memo as Nn}from"react";var zt={sendbox__attachment:"Ya"};var{useLocalizer:Sn,useUIState:Mn}=yn,Bn={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 In({attachments:e,className:t}){let[o]=Mn(),a=c(zt),r=Sn({plural:!0});return o!=="blueprint"&&e.length?kn.createElement("div",{className:xn(a.sendbox__attachment,t)},r(Bn,e.length)):null}var Ct=Nn(In);import{useLiveRegion as zn}from"botframework-webchat-component/internal";import At,{memo as Cn}from"react";var Ht={"sendbox__error-message":"Za"};function Ft({error:e,id:t}){let o=c(Ht);return zn(()=>e&&At.createElement("div",{className:"sendbox__error-message__status"},e),[e]),At.createElement("span",{className:o["sendbox__error-message"],id:t},e)}Ft.displayName="ErrorMessage";var Dt=Cn(Ft);import{hooks as Hn}from"botframework-webchat-component";import{useCallback as An,useMemo as Lt,useState as Fn}from"react";import{useRefFrom as Dn}from"use-ref-from";var{useConnectivityStatus:Ln,useLocalizer:Wn}=Hn,Pn=({attachments:e,message:t})=>{let[o]=Ln(),[a,r]=Fn(),n=Wn(),l=Dn(o!=="connected"&&o!=="reconnected"?"offline":!t&&!e.length?"empty":void 0),i=Lt(()=>Object.freeze(new Map().set("empty",n("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",n("CONNECTIVITY_STATUS_ALT_FATAL"))),[n]),b=!!t?.trim();a==="empty"&&b&&r(void 0);let p=An(()=>(r(l.current),l.current),[l]);return Lt(()=>Object.freeze([a&&i.get(a),p]),[a,i,p])},Wt=Pn;import{useCallback as En}from"react";import{hooks as jn}from"botframework-webchat-component";var{useScrollDown:Vn,useScrollUp:Zn}=jn;function Ae(){let e=Vn(),t=Zn();return En(o=>{if(o.target instanceof HTMLTextAreaElement&&o.target.value)return;let{ctrlKey:a,metaKey:r,shiftKey:n}=o;if(a||r||n)return;let l=!0;switch(o.key){case"End":e({displacement:1/0});break;case"Home":t({displacement:1/0});break;case"PageDown":e();break;case"PageUp":t();break;default:l=!1;break}l&&(o.preventDefault(),o.stopPropagation())},[e,t])}import{useMemo as Rn}from"react";function Fe(e){let t=Rn(()=>Math.random().toString(36).substr(2,5),[]);return e=e?`${e}--`:"",`${e}${t}`}var De={sendbox:"ha","variant-copilot":"ae","sendbox__text-counter":"sa","sendbox__text-counter--error":"ga",sendbox__sendbox:"ee","sendbox__attachment--in-grid":"wa","sendbox__text-area--in-grid":"oe","sendbox__sendbox-controls--in-grid":"re","sendbox__telephone-keypad--in-grid":"te","sendbox__sendbox-text":"ce","sendbox__sendbox-controls":"le"};import Pt,{memo as Xn,useCallback as Un}from"react";import{hooks as Gn}from"botframework-webchat-component";var{useLocalizer:Yn}=Gn,Et=Xn(()=>{let[e,t]=B(),o=Yn(),a=Un(()=>t(r=>!r),[t]);return Pt.createElement(H,{"aria-label":o("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":h.sendBoxTelephoneKeypadToolbarButton,onClick:a,selected:e},Pt.createElement(fe,null))});Et.displayName="SendBox.TelephoneKeypadToolbarButton";var jt=Et;import{hooks as Jn}from"botframework-webchat-api";import te from"classnames";import O,{forwardRef as Qn,Fragment as $n,useCallback as qn}from"react";var Vt={"sendbox__text-area":"ie","sendbox__text-area--hidden":"ne","sendbox__text-area-shared":"be","sendbox__text-area-doppelganger":"de","sendbox__text-area-input":"he","sendbox__text-area-input--scroll":"se"};var{useUIState:ei}=Jn,Zt=Qn((e,t)=>{let[o]=ei(),a=c(Vt),r=o==="disabled",n=qn(l=>{!l.shiftKey&&l.key==="Enter"&&(l.preventDefault(),"form"in l.target&&l.target.form instanceof HTMLFormElement&&l.target?.form?.requestSubmit())},[]);return O.createElement("div",{className:te(a["sendbox__text-area"],{[a["sendbox__text-area--hidden"]]:e.hidden},e.className),role:e.hidden?"hidden":void 0},o==="blueprint"?O.createElement("div",{className:te(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-input--scroll"],a["sendbox__text-area-shared"])}," "):O.createElement($n,null,O.createElement("div",{className:te(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-input--scroll"],a["sendbox__text-area-shared"])},e.value||e.placeholder," "),O.createElement("textarea",{"aria-disabled":r,"aria-label":e["aria-label"],className:te(a["sendbox__text-area-input"],a["sendbox__text-area-input--scroll"],a["sendbox__text-area-shared"]),"data-testid":e["data-testid"],onInput:e.onInput,onKeyDown:n,placeholder:e.placeholder,readOnly:r,ref:t,rows:e.startRows??1,tabIndex:e.hidden?-1:void 0,value:e.value})))});Zt.displayName="TextArea";var Rt=Zt;var{useFocus:ri,useLocalizer:ni,useMakeThumbnail:ii,useRegisterFocusSendBox:li,useSendBoxAttachments:ci,useSendBoxValue:si,useSendMessage:di,useStyleOptions:bi,useUIState:ui}=ti;function Ut(e){let[{hideTelephoneKeypadButton:t,hideUploadButton:o,maxMessageLength:a}]=bi(),[r,n]=ci(),[l,i]=si(),[b,p]=ai(""),[s]=B(),[d]=ui(),u=c(De),m=M(De),x=Fe("sendbox__error-message-id"),g=oi(null),k=ni(),N=ii(),S=di(),I=ri(),T=e.isPrimary?l:b,A=e.isPrimary?i:p,U=d==="blueprint",[Pe,Ee]=Wt({message:T,attachments:r}),E=!!a&&T.length>a,Jt=!U&&!s&&a&&isFinite(a),je=!U&&s;li(P(({noKeyboard:v,waitUntil:G})=>{g.current&&(v?G((async()=>{let j=g.current?.getAttribute("readonly");g.current?.setAttribute("readonly","true"),await new Promise(Y=>setTimeout(Y,0)),g.current?.focus(),typeof j!="string"?g.current?.removeAttribute("readonly"):g.current?.setAttribute("readonly",j)})()):g.current?.focus())},[g]));let Ve=Ot(r),Ze=Ot(T),Qt=P(v=>{"tabIndex"in v.target&&typeof v.target.tabIndex=="number"&&v.target.tabIndex>=0||I("sendBox")},[I]),$t=P(v=>A(v.currentTarget.value),[A]),Re=P(async v=>{let G=Object.freeze(await Promise.all(v.map(j=>N(j).then(Y=>Object.freeze({blob:j,...Y&&{thumbnailURL:Y}})))));n(G)},[N,n]),qt=P(v=>{v.preventDefault(),Ee()!=="empty"&&!E&&(S(Ze.current,void 0,{attachments:Ve.current}),A(""),n([])),I("sendBox")},[Ee,E,I,S,A,Ze,Ve,n]),eo=P(v=>S(`/DTMFKey ${v}`),[S]),to=Ae(),oo={"aria-invalid":"false",...Pe&&{"aria-describedby":x,"aria-errormessage":x,"aria-invalid":"true"}};return w.createElement("form",{...oo,className:X(u.sendbox,m,e.className),"data-testid":h.sendBoxContainer,onSubmit:qt},w.createElement(ke,null),w.createElement("div",{className:X(u.sendbox__sendbox),onClickCapture:Qt,onKeyDown:to},w.createElement(Rt,{"aria-label":k(E?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:X(u["sendbox__sendbox-text"],u["sendbox__text-area--in-grid"]),"data-testid":h.sendBoxTextBox,hidden:je,onInput:$t,placeholder:e.placeholder??k("TEXT_INPUT_PLACEHOLDER"),ref:g,value:T}),w.createElement(Be,{autoFocus:!0,className:u["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:eo}),w.createElement(Ct,{attachments:r,className:u["sendbox__attachment--in-grid"]}),w.createElement("div",{className:X(u["sendbox__sendbox-controls"],u["sendbox__sendbox-controls--in-grid"])},Jt&&w.createElement("div",{className:X(u["sendbox__text-counter"],{[u["sendbox__text-counter--error"]]:E})},`${T.length}/${a}`),w.createElement(Ce,null,!t&&w.createElement(jt,null),!o&&w.createElement(Tt,{onFilesAdded:Re}),w.createElement(He,null),w.createElement(H,{"aria-label":k("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":h.sendBoxSendButton,disabled:E||je,type:"submit"},w.createElement(ge,null)))),w.createElement(we,{onFilesAdded:Re}),w.createElement(Dt,{error:Pe,id:x})))}var oe=Xt(e=>w.createElement(Ut,{...e,isPrimary:!0}));oe.displayName="PrimarySendBox";var hi=Xt(Ut);import mi from"react";import gi from"classnames";var Le={theme:"_","variant-copilot":"ea"};var fi="webchat-fluent";function ae(e){let t=c(Le),o=M(Le);return mi.createElement("div",{className:gi(fi,t.theme,o)},e.children)}function re(e){return!!(e&&e.from.role==="channel"&&e.type==="message"&&"text"in e)}import Yt,{memo as vi}from"react";var Gt={"liner-message-activity":"ge","liner-message-activity__text":"we"};var Kt=({activity:e})=>{let t=c(Gt);return Yt.createElement("div",{className:t["liner-message-activity"],role:"separator"},Yt.createElement("span",{className:t["liner-message-activity__text"]},e.text))};Kt.displayName="LinerMessageActivity";var We=vi(Kt);var{ThemeProvider:Ni}=yi,Si=Object.freeze([()=>e=>(...t)=>{let o=t[0]?.activity;if(D(o))return()=>z.createElement(ue,{activity:o});if(re(o))return()=>z.createElement(We,{activity:o});let a=e(...t);return a&&((...r)=>z.createElement(be,{activity:o},a(...r)))}]),Mi=[()=>()=>()=>oe],Bi=[e=>e==="activity border"&&(t=>o=>o.livestreamingState==="preparing"?$e:t(o))],Ii=le(),Ti=Object.freeze({feedbackActionsPlacement:"activity-actions"}),zi=({children:e,variant:t="fluent"})=>z.createElement(Oe,{variant:t},z.createElement(ae,null,z.createElement(Ne,null,z.createElement(Ni,{activityMiddleware:Si,sendBoxMiddleware:Mi,styleOptions:Ti,styles:Ii},z.createElement(xi,null,z.createElement(_i,{middleware:Bi},e)))))),Ci=ki(zi);var Ai="tsup",Fi="esmodules",Di="4.18.1-main.20250313.cd86ef9",ku={buildTool:Ai,moduleFormat:Fi,version:Di};Hi("botframework-webchat:fluent-theme","version=4.18.1-main.20250313.cd86ef9; build-tool=tsup; module-format=esmodules");export{Ci as FluentThemeProvider,ku as buildInfo,h as testIds};
1
+ import{injectMetaTag as bl}from"inject-meta-tag";import{DecoratorComposer as Ji}from"botframework-webchat-api/decorator";import{Components as Qi}from"botframework-webchat-component";import{WebChatDecorator as el}from"botframework-webchat-component/decorator";import N,{memo as tl}from"react";import Wo from"classnames";import Qe,{memo as Ko}from"react";import{useContext as xo,useMemo as ko}from"react";import{createContext as _o}from"react";import fo,{memo as wo,useMemo as vo}from"react";function le({Provider:e},{defaults:t,displayName:o}){let a=({children:r,...n})=>{let l=vo(()=>Object.freeze({...t,...n}),[n]);return fo.createElement(e,{value:l},r)};return a.displayName=o,wo(a)}var ce=_o(new Proxy({},{get(){throw new Error("Unable to use VariantContext without VariantComposer")}})),yo=le(ce,{defaults:{variant:""},displayName:"VariantComposer"}),$e=yo;function V(){let{variant:e}=xo(ce);return ko(()=>e.split(" "),[e])}function No(e){let t=document.createElement("style");return t.append(document.createTextNode(e)),t}function Ye(...e){return function(){if(!globalThis.document)throw new Error("Unable to create styles: document is not defined");return e.map(t=>No(t))}}var So=".webchat-fluent .aa{display:contents;font-family:var(--webchat__font--primary);--webchat__bubble--inline-padding: var(--webchat-spacingHorizontalL);--webchat__bubble--block-padding: var(--webchat-spacingVerticalM);--webchat__bubble--min-height: var(--webchat-bubble-minHeight);--webchat__bubble--max-width: var(--webchat-bubble-maxWidth);--webchat__bubble--min-width: var(--webchat-bubble-minWidth);--webchat-bubble-maxWidth: var(--bubble-maxWidth, max(450px, 75%));--webchat-bubble-minWidth: var(--bubble-minWidth, auto);--webchat-bubble-minHeight: var(--bubble-minHeight, 36px);--webchat-externalLink-mask: var( --externalLink-mask, var(--webchat__icon-url--external-link) center center / 10px 10px );--webchat-externalLink-maxWidth: var(--externalLink-maxWidth, 204px)}.webchat-fluent .aa:has(.webchat__stacked-layout .webchat__bubble--from-user){--webchat__bubble--background-color: var(--webchat-colorBrandBackground2);--webchat__bubble--block-padding: var(--webchat-spacingVerticalS);--webchat__bubble--min-width: auto}.webchat-fluent .aa.ua{--webchat__bubble--background-color: var(--webchat-colorNeutralBackground1);--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge);--webchat__bubble--box-shadow: var(--webchat-shadow4)}.webchat-fluent .aa.oa{--webchat__bubble--border-radius: var(--webchat-borderRadiusXLarge)}.webchat-fluent .aa.oa .webchat__activity-status{margin:0 0 var(--webchat-spacingHorizontalXXS)}.webchat-fluent .aa.oa .webchat__stacked-layout__status{order:-1}.webchat-fluent .aa.oa:has(.webchat__bubble--from-user) .webchat__bubble{margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .aa.oa .webchat__bubble .webchat__text-content .webchat__text-content__generated-badge{display:none}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)){--webchat__bubble--block-padding: 0;--webchat__bubble--border-radius: var(--webchat-borderRadiusMedium);--webchat__bubble--inline-padding: 0;--webchat__bubble--max-width: 100%;--webchat__bubble--min-height: 20px;display:flex;flex-flow:column nowrap;gap:var(--webchat-spacingVerticalS);margin-inline:var(--webchat-spacingHorizontalM);padding:var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalM);position:relative}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout{margin:0;position:static}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__bubble{position:static;width:var(--webchat__bubble--max-width)}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__bubble .webchat__bubble__content{overflow:visible}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__text-content{margin-inline-start:28px}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .border-loader{display:flex;flex-flow:column nowrap;gap:var(--webchat-spacingVerticalS);padding-inline-end:var(--webchat-spacingHorizontalM);width:500px}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .border-loader__track{border-radius:inherit;box-sizing:border-box;clip-path:border-box;margin-inline-start:28px;order:-1;width:auto}.webchat-fluent .aa.oa:not(:has(.webchat__bubble--from-user)) .webchat__stacked-layout__status{display:none}.webchat-fluent .aa .webchat__basic-transcript__activity-body:not(:empty){padding-block-end:var(--webchat-spacingVerticalXL)}.webchat-fluent .aa .webchat__stacked-layout{display:flex;flex-flow:column nowrap}.webchat-fluent .aa .webchat__stacked-layout .webchat__stacked-layout__content:has(.webchat__bubble){max-width:100%;overflow:visible}.webchat-fluent .aa .webchat__stacked-layout .webchat__stacked-layout__status{font-size:var(--webchat__font-size--small);line-height:var(--webchat__line-height--small)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble{max-width:min(var(--webchat__bubble--max-width),100%);min-width:var(--webchat__bubble--min-width);overflow:visible}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble:has(.border-loader){width:100%}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble:has(.activity-loader) .webchat__bubble__content{background:transparent;box-shadow:none}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__bubble__content{background-color:var(--webchat__bubble--background-color);border-radius:var(--webchat__bubble--border-radius);border-width:0;box-shadow:var(--webchat__bubble--box-shadow);box-sizing:border-box;color:var(--webchat-colorNeutralForeground1);max-width:100%;min-height:var(--webchat__bubble--min-height)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content{font-size:var(--webchat__font-size--medium);line-height:var(--webchat__line-height--medium);min-height:auto;padding-block:var(--webchat__bubble--block-padding);padding-inline:var(--webchat__bubble--inline-padding)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content:empty{padding-block-end:0}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content+.webchat__text-content{margin-top:calc(var(--webchat__bubble--block-padding) * -1)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__text-content__generated-badge{align-items:center;align-self:flex-start;background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);cursor:default;display:inline-flex;font-size:var(--webchat-fontSizeBase100);height:16px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge{cursor:default;font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__fileName{color:var(--webchat-colorBrandForegroundLink);font-family:inherit}.webchat-fluent .aa .webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge .webchat__fileContent__size{color:var(--webchat-colorNeutralForeground2);font-family:inherit}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier){color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier):focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .aa .webchat__render-markdown a[href]:not(.webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{background:currentColor;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat}.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier{align-items:center;background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:var(--webchat-colorNeutralForeground2);display:inline-flex;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);height:14px;justify-content:center;line-height:var(--webchat-lineHeightBase100);margin-left:var(--webchat-spacingHorizontalXXS);margin-right:var(--webchat-spacingHorizontalXXS);min-width:14px;text-decoration:none;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);vertical-align:calc((var(--webchat-lineHeightBase100) - var(--webchat-fontSizeBase100)) / 2)}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover{background-color:var(--webchat-colorBrandBackground2Hover);border-color:var(--webchat-colorBrandStroke2Hover);color:var(--webchat-colorBrandForeground2Hover);cursor:pointer}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):hover:active{background-color:var(--webchat-colorBrandBackground2Pressed);border-color:var(--webchat-colorBrandStroke2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):before,:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):after{all:unset}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier):has(.webchat__render-markdown__external-link-icon){padding-inline:3px}:is(.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__citation,.webchat-fluent .aa .webchat__render-markdown .webchat__render-markdown__pure-identifier) .webchat__render-markdown__external-link-icon{background:currentColor;height:.7em;-webkit-mask:var(--webchat__icon-url--external-link) no-repeat;mask:var(--webchat__icon-url--external-link) no-repeat}.webchat-fluent .aa .webchat__link-definitions__header{border-radius:var(--webchat-borderRadiusMedium)}.webchat-fluent .aa .webchat__link-definitions__header .webchat__link-definitions__header-text{color:var(--webchat-colorNeutralForeground3)}.webchat-fluent .aa .webchat__link-definitions__header .webchat__link-definitions__header-chevron{fill:var(--webchat-colorNeutralForeground3);font-size:var(--webchat__font-size--small);width:1em}.webchat-fluent .aa .webchat__link-definitions__header:focus-visible{outline-offset:1px;outline:var(--webchat-strokeWidthThin) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent .aa .webchat__link-definitions{--webchat__citation__external-link--mask: var(--webchat-externalLink-mask);--webchat__citation__link--max-width: var(--webchat-externalLink-maxWidth)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list{color:var(--webchat__color--subtle);display:flex;flex-flow:row wrap;gap:var(--webchat-spacingHorizontalS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item{border-radius:var(--webchat-borderRadiusMedium);max-width:var(--webchat__citation__link--max-width)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-box{background-color:var(--webchat-colorNeutralBackground3);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);box-sizing:border-box;color:currentColor;display:inline-flex;font-size:var(--webchat__font-size--small);height:24px;padding-inline-end:var(--webchat-spacingHorizontalS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-body{font-family:inherit;gap:var(--webchat-spacingHorizontalSNudge);min-width:0;padding:0}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__badge{align-self:center;background-color:transparent;border-radius:0;border:none;color:currentColor;font-size:var(--webchat-fontSizeBase100);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase100);margin:0;min-width:20px;padding:0;position:relative;text-align:center}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__badge:after{border-right:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);bottom:0;content:\"\";display:block;height:16px;position:absolute;right:0;top:0;width:0}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-main-text{gap:var(--webchat-spacingHorizontalXS)}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-text{color:currentColor;text-decoration:none;text-overflow:ellipsis}.webchat-fluent .aa .webchat__link-definitions .webchat__link-definitions__list-item-main-text:has(.webchat__link-definitions__open-in-new-window-icon):before{align-self:center;background:currentColor;color:currentColor;content:\"\";flex:none;font-size:var(--webchat-fontSizeBase400);height:1em;-webkit-mask:var(--webchat__citation__external-link--mask) no-repeat;mask:var(--webchat__citation__external-link--mask) no-repeat;padding:0;width:1em}.webchat-fluent .aa .webchat__link-definitions :is(.webchat__link-definitions__list-item-badge,.webchat__link-definitions__open-in-new-window-icon){display:none}.webchat-fluent .va{align-items:center;box-sizing:border-box;cursor:default;display:flex;flex-wrap:nowrap;gap:var(--webchat-spacingHorizontalS);max-width:var(--webchat__bubble--max-width)}.webchat-fluent .pa{aspect-ratio:1;background-color:var(--background-color);border-radius:var(--webchat-borderRadiusSmall);width:20px}.webchat-fluent ._a{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.webchat-fluent .fa{align-items:center;background-color:var(--webchat-colorNeutralBackground5);border-radius:var(--webchat-borderRadiusMedium);color:var(--webchat-colorNeutralForeground3);display:flex;flex:none;font-size:var(--webchat-fontSizeBase100);height:20px;line-height:var(--webchat-lineHeightBase100);padding-inline:var(--webchat-spacingHorizontalXS)}.webchat-fluent .ka{flex:none;height:8px;margin:var(--webchat-spacingHorizontalM) 0 0 18px;width:auto}.webchat-fluent .ka.ma{margin:0 0 var(--webchat-spacingHorizontalM) var(--webchat-spacingVerticalSNudge)}.webchat-fluent .xa{align-items:center;box-sizing:border-box;color:var(--webchat-colorNeutralForeground3);display:flex;flex-direction:row;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);gap:var(--webchat-spacingHorizontalM);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);text-align:center;width:100%}.webchat-fluent .xa:before,.webchat-fluent .xa:after{border-top:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);content:\"\";display:flex;flex:auto;min-width:8px}.webchat-fluent .ya{text-align:center}.webchat-fluent .Ba{box-sizing:border-box;display:grid;gap:var(--webchat-spacingHorizontalXXXL);grid-template-areas:\"body\" \"toolbar\";grid-template-rows:auto auto;padding:var(--webchat-spacingHorizontalXXXL) var(--webchat-spacingHorizontalM);position:relative}.webchat-fluent .Na{align-items:center;display:flex;flex-flow:column nowrap;font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightRegular);gap:var(--webchat-spacingVerticalXS);grid-area:body;line-height:var(--webchat-lineHeightBase300);text-align:center}.webchat-fluent .Sa{opacity:60%}.webchat-fluent .Sa .ra{filter:grayscale(1)}.webchat-fluent .ra{border-radius:var(--webchat-borderRadiusMedium);height:64px;margin-block-end:var(--webchat-spacingVerticalM)}.webchat-fluent .za{color:var(--webchat-colorNeutralForeground1);font-family:inherit;font-size:var(--webchat-fontSizeHero700);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightHero700);margin:0;overflow-wrap:anywhere}.webchat-fluent .Ha{font-size:var(--webchat-fontSizeBase300);line-height:var(--webchat-lineHeightBase300);overflow-wrap:anywhere}.webchat-fluent .Fa{grid-area:toolbar}.webchat-fluent .Ma{-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:var(--webchat-spacingVerticalS);grid-template-areas:\"title\" \"subtitle\";grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow:hidden;padding:16px 20px;text-align:left;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);-webkit-user-select:none;user-select:none}.webchat-fluent .Ma:has(.ta){grid-template-areas:\"image title\" \"image subtitle\";grid-template-columns:20px 1fr}.webchat-fluent .Ma:empty{row-gap:14px}.webchat-fluent .Ma:is([aria-disabled=true],:empty){cursor:default}.webchat-fluent .Ma[aria-disabled=true]:not(:empty){background-color:var(--webchat-colorNeutralBackgroundDisabled)}.webchat-fluent .Ma:hover:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Hover)}.webchat-fluent .Ma:active:not([aria-disabled=true],:empty){background-color:var(--webchat-colorNeutralBackground1Pressed)}.webchat-fluent .Ma:focus-visible{outline:solid 2px var(--webchat-colorStrokeFocus2);outline-offset:-2px}.webchat-fluent .Ma:empty:after,.webchat-fluent .Ma:empty:before{animation:ca 3s linear infinite;background-attachment:fixed;background-image:linear-gradient(-90deg,var(--webchat-colorNeutralStencil1) 0%,var(--webchat-colorNeutralStencil2) 50%,var(--webchat-colorNeutralStencil1) 100%);background-size:300% 100%;content:\"\";display:block}@media (prefers-reduced-motion: reduce){.webchat-fluent .Ma:empty:after,.webchat-fluent .Ma:empty:before{animation-delay:-1s;animation-play-state:paused}}.webchat-fluent .Ma:dir(rtl):empty:after,.webchat-fluent .Ma:dir(rtl):empty:before{animation-direction:reverse}.webchat-fluent .Ma:empty:after{border-radius:16px;height:16px;width:100%}.webchat-fluent .Ma:empty:before{border-radius:18px;height:18px;width:66%}@keyframes ca{0%{background-position-x:0%}to{background-position-x:-300%}}.webchat-fluent .ta{color:var(--webchat-colorNeutralForeground4);font-size:20px;grid-area:image}.webchat-fluent .Xa{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightRegular);grid-area:subtitle;line-height:20px;pointer-events:none}.webchat-fluent .La{font-family:var(--webchat-fontFamilyBase);font-size:14px;font-weight:var(--webchat-fontWeightSemibold);grid-area:title;line-height:20px}.webchat-fluent .Wa{container-name:la;container-type:inline-size}.webchat-fluent .ia{display:grid;gap:var(--webchat-spacingHorizontalM);grid-template-columns:1fr 1fr 1fr;padding:0}@container la (width <= 480px){.webchat-fluent .ia{grid-template-columns:1fr}}.webchat-fluent .Va{background-color:var(--webchat-colorNeutralBackground4);border-radius:inherit;cursor:copy;display:grid;gap:8px;inset:0;place-content:center;place-items:center;position:absolute;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .Ra{background-color:var(--webchat-colorBrandBackground2Hover)}.webchat-fluent .Pa{font-size:36px;pointer-events:none}.webchat-fluent .Ta{align-items:center;background:transparent;border-radius:var(--webchat-borderRadiusXLarge);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandStroke2);color:currentColor;cursor:pointer;display:flex;font-family:var(--webchat__font--primary);font-size:var(--webchat-fontSizeBase200);gap:var(--webchat-spacingHorizontalXS);padding:var(--webchat-spacingVerticalXS) var(--webchat-spacingHorizontalS);text-align:start;transition:all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}@media (hover: hover){.webchat-fluent .Ta:not([aria-disabled=true]):hover{background-color:var(--webchat-colorBrandBackground2Hover);color:var(--webchat-colorBrandForeground2Hover)}}.webchat-fluent .Ta:not([aria-disabled=true]):active{background-color:var(--webchat-colorBrandBackground2Pressed);color:var(--webchat-colorBrandForeground2Pressed)}.webchat-fluent .Ta[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .Ca{font-size:var(--webchat-fontSizeBase200);height:1em;width:1em}.webchat-fluent .Da{align-items:flex-end;align-self:flex-end;display:flex;flex-direction:column;gap:8px}.webchat-fluent .Da:not(:empty){padding-block-end:8px;padding-inline-start:4px}.webchat-fluent .Da.Ga{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.webchat-fluent .Da.Ua{flex-direction:column}.webchat-fluent .na{-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 .na:hover{background-color:var(--webchat-colorGray30)}.webchat-fluent .ba{color:var(--webchat-colorGray190);font-size:10px}.webchat-fluent .da{font-size:24px;margin-top:8px}.webchat-fluent .ja .na{height:32px;justify-content:center;margin:8px 4px;width:32px}.webchat-fluent .ja .ba{display:none}.webchat-fluent .ja .da{font-size:20px;margin-top:0}.webchat-fluent .Aa{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 .Ia{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 .Ka{align-items:center;color:var(--webchat-colorNeutralForeground4);display:flex;font-size:12px;gap:6px;margin-block-end:6px}.webchat-fluent .Ea{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent .Ea:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent .Ea:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent .Ea:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent .Ea:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent .qa{--webchat__sendbox-button-height: 32px;display:flex;gap:4px;height:var(--webchat__sendbox-button-height);margin-inline-start:auto}.webchat-fluent .Ja{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;height:var(--webchat__sendbox-button-height);justify-content:center;padding:3px}.webchat-fluent .Ja>.webchat__monochrome-image-masker{font-size:20px;pointer-events:none}.webchat-fluent .Ja.Oa{color:var(--webchat-colorNeutralForeground2BrandSelected)}@media (hover: hover){.webchat-fluent .Ja:not([aria-disabled=true]):hover{color:var(--webchat-colorNeutralForeground2BrandHover)}}.webchat-fluent .Ja:not([aria-disabled=true]):active{color:var(--webchat-colorNeutralForeground2BrandPressed)}.webchat-fluent .Ja[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled);cursor:not-allowed}.webchat-fluent .Qa{align-self:center;border-inline-end:1px solid var(--webchat-colorNeutralStroke2);height:28px}.webchat-fluent .Qa:is(:first-child,:last-child,:only-child){display:none}.webchat-fluent .Ya{display:grid}.webchat-fluent .Za{font-size:0;height:0;opacity:0;width:1px}.webchat-fluent .ae{border-radius:var(--webchat-borderRadiusLarge);border:1px solid var(--webchat-colorNeutralStroke1);cursor:default;padding:6px 8px;width:fit-content}.webchat-fluent .ee{color:transparent;font-size:0;height:0;left:0;position:absolute;top:0;width:0}.webchat-fluent .ha{--webchat__sendbox--padding: var(--webchat__padding--sendbox);color:var(--webchat-colorNeutralForeground1);font-family:var(--webchat-fontFamilyBase);padding:var(--webchat__sendbox--padding);text-rendering:optimizeLegibility;--webchat-sendbox-attachment-area-active: ;--webchat-sendbox-border-radius: var(--webchat-borderRadiusLarge)}.webchat-fluent .ha.oe .sa:not(.ga){visibility:hidden}.webchat-fluent .re{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 .re:has(.wa){--webchat-sendbox-attachment-area-active: \"attachment\"}.webchat-fluent .re:focus-within{border-color:var(--webchat-colorNeutralStroke1Selected)}.webchat-fluent .re: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 .re: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 .re>.te{grid-area:text-area}.webchat-fluent .re>.wa{grid-area:attachment}.webchat-fluent .re>.ce{grid-area:controls}.webchat-fluent .re>.le{grid-area:telephone-keypad}.webchat-fluent .ie{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 .ie:focus-within{font-size:16px}}.webchat-fluent .ne{align-items:center;display:flex;padding-inline-start:4px}.webchat-fluent .sa{color:var(--webchat-colorNeutralForeground4);cursor:default;font-family:var(--webchat-fontFamilyNumeric);font-size:10px;line-height:14px;margin-inline-end:4px}.webchat-fluent .ga{color:var(--webchat-colorStatusDangerForeground1)}.webchat-fluent .be{display:grid;grid-template-areas:\"main\";max-height:200px;overflow:hidden}.webchat-fluent .de{height:0;visibility:collapse}.webchat-fluent .he{border:none;font:inherit;grid-area:main;outline:inherit;overflow-wrap:anywhere;resize:inherit;scrollbar-gutter:stable}.webchat-fluent .se{overflow:hidden;visibility:hidden;white-space:pre-wrap}.webchat-fluent .ge{background-color:inherit;color:currentColor;height:100%;padding:0}.webchat-fluent .we{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);-moz-scrollbar-width:thin}.webchat-fluent .we::-webkit-scrollbar{width:8px}.webchat-fluent .we::-webkit-scrollbar-track{background-color:var(--webchat-colorNeutralBackground5);border-radius:16px}.webchat-fluent .we::-webkit-scrollbar-thumb{background-color:var(--webchat-colorNeutralForeground2);border-radius:16px}.webchat-fluent .we::-webkit-scrollbar-corner{background-color:var(--webchat-colorNeutralBackground5)}.webchat-fluent._{display:contents;--webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);--webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);--webchat-colorNeutralForeground1Hover: var(--colorNeutralForeground1Hover, #242424);--webchat-colorNeutralForeground1Pressed: var(--colorNeutralForeground1Pressed, #242424);--webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);--webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);--webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);--webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);--webchat-colorNeutralForeground3: var(--colorNeutralForeground3, #616161);--webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);--webchat-colorNeutralForeground5: var(--colorNeutralForeground5, #7e7e7e);--webchat-colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled, #f0f0f0);--webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);--webchat-colorNeutralBackground1Hover: var(--colorNeutralBackground1Hover, #f5f5f5);--webchat-colorNeutralBackground1Pressed: var(--colorNeutralBackground1Pressed, #e0e0e0);--webchat-colorNeutralBackground3: var(--colorNeutralBackground3, #f5f5f5);--webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);--webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);--webchat-colorNeutralBackground6: var(--colorNeutralBackground6, #e6e6e6);--webchat-colorNeutralStencil1: var(--colorNeutralStencil1, #e6e6e6);--webchat-colorNeutralStencil2: var(--colorNeutralStencil2, #fafafa);--webchat-colorNeutralShadowAmbient: var(--colorNeutralShadowAmbient, rgba(0, 0, 0, .12));--webchat-colorNeutralShadowKey: var(--colorNeutralShadowKey, rgba(0, 0, 0, .14));--webchat-colorTransparentBackground: var(--colorTransparentBackground, rgba(0, 0, 0, .4));--webchat-colorNeutralStrokeDisabled: var(--colorNeutralStrokeDisabled, #e0e0e0);--webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);--webchat-colorNeutralStroke1Hover: var(--colorNeutralStroke1Hover, #c7c7c7);--webchat-colorNeutralStroke1Pressed: var(--colorNeutralStroke1Pressed, #b3b3b3);--webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);--webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);--webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);--webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);--webchat-colorBrandStroke2Pressed: var(--colorBrandStroke2Pressed, #01384d);--webchat-colorTransparentStroke: var(--colorTransparentStroke, transparent);--webchat-colorBrandForeground1: var(--colorBrandForeground1, #01678c);--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-colorBrandBackground2: var(--colorBrandBackground2, #def2fc);--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-colorGrey8: #141414;--webchat-colorGrey14: #242424;--webchat-colorGrey92: #ebebeb;--webchat-colorGrey98: #fafafa;--webchat-shadow2: var(--shadow2, 0 0 2px rgba(0, 0, 0, 12%), 0 1px 2px rgba(0, 0, 0, 14%));--webchat-shadow4: var(--shadow4, 0 0 2px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .14));--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-shadow64: var(--shadow64, 0 0 8px rgba(0, 0, 0, .12), 0 32px 64px rgba(0, 0, 0, .14));--webchat-spacingHorizontalNone: var(--spacingHorizontalNone, 0);--webchat-spacingHorizontalXXS: var(--spacingHorizontalXXS, 2px);--webchat-spacingHorizontalXS: var(--spacingHorizontalXS, 4px);--webchat-spacingHorizontalSNudge: var(--spacingHorizontalSNudge, 6px);--webchat-spacingHorizontalS: var(--spacingHorizontalS, 8px);--webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);--webchat-spacingHorizontalM: var(--spacingHorizontalM, 12px);--webchat-spacingHorizontalL: var(--spacingHorizontalL, 16px);--webchat-spacingHorizontalXL: var(--spacingHorizontalXL, 20px);--webchat-spacingHorizontalXXL: var(--spacingHorizontalXXL, 24px);--webchat-spacingHorizontalXXXL: var(--spacingHorizontalXXXL, 32px);--webchat-spacingVerticalNone: var(--spacingVerticalNone, 0);--webchat-spacingVerticalXXS: var(--spacingVerticalXXS, 2px);--webchat-spacingVerticalXS: var(--spacingVerticalXS, 4px);--webchat-spacingVerticalSNudge: var(--spacingVerticalSNudge, 6px);--webchat-spacingVerticalS: var(--spacingVerticalS, 8px);--webchat-spacingVerticalMNudge: var(--spacingVerticalMNudge, 10px);--webchat-spacingVerticalM: var(--spacingVerticalM, 12px);--webchat-spacingVerticalL: var(--spacingVerticalL, 16px);--webchat-spacingVerticalXL: var(--spacingVerticalXL, 20px);--webchat-spacingVerticalXXL: var(--spacingVerticalXXL, 24px);--webchat-spacingVerticalXXXL: var(--spacingVerticalXXXL, 32px);--webchat-fontFamilyBase: var( --fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif );--webchat-fontFamilyMonospace: var(--fontFamilyMonospace, Consolas, \"Courier New\", Courier, monospace);--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-fontSizeBase100: var(--fontSizeBase100, 10px);--webchat-fontSizeBase200: var(--fontSizeBase200, 12px);--webchat-fontSizeBase300: var(--fontSizeBase300, 14px);--webchat-fontSizeBase400: var(--fontSizeBase400, 16px);--webchat-fontSizeBase500: var(--fontSizeBase500, 20px);--webchat-fontSizeBase600: var(--fontSizeBase600, 24px);--webchat-fontSizeHero700: var(--fontSizeHero700, 28px);--webchat-fontSizeHero800: var(--fontSizeHero800, 32px);--webchat-fontSizeHero900: var(--fontSizeHero900, 40px);--webchat-lineHeightBase100: var(--lineHeightBase100, 14px);--webchat-lineHeightBase200: var(--lineHeightBase200, 16px);--webchat-lineHeightBase300: var(--lineHeightBase300, 20px);--webchat-lineHeightBase400: var(--lineHeightBase400, 22px);--webchat-lineHeightBase500: var(--lineHeightBase500, 28px);--webchat-lineHeightBase600: var(--lineHeightBase600, 32px);--webchat-lineHeightHero700: var(--lineHeightHero700, 36px);--webchat-lineHeightHero800: var(--lineHeightHero800, 40px);--webchat-lineHeightHero900: var(--lineHeightHero900, 52px);--webchat-lineHeightHero1000: var(--lineHeightHero1000, 92px);--webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);--webchat-borderRadiusMedium: var(--borderRadiusMedium, 4px);--webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);--webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);--webchat-strokeWidthThin: var(--strokeWidthThin, 1px);--webchat-strokeWidthThick: var(--strokeWidthThick, 2px);--webchat-strokeWidthThicker: var(--strokeWidthThicker, 3px);--webchat-durationUltraFast: var(--durationUltraFast, 0);--webchat-durationNormal: var(--durationNormal, .2s);--webchat-durationUltraSlow: var(--durationUltraSlow, .5s);--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1, 0, 1, 1));--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0, 0, 0, 1))}@media (prefers-reduced-motion){.webchat-fluent._{--webchat-durationUltraFast: .01ms;--webchat-durationNormal: .01ms}}.webchat-fluent._ .webchat__css-custom-properties{--webchat__color--accent: var(--webchat-colorBrandForeground1);--webchat__color--subtle: var(--webchat-colorNeutralForeground2);--webchat__color--timestamp: var(--webchat-colorNeutralForeground3);--webchat__font--primary: var(--webchat-fontFamilyBase);--webchat__font-size--small: var(--webchat-fontSizeBase200);--webchat__font-size--medium: var(--webchat-fontSizeBase300);--webchat__line-height--small: var(--webchat-lineHeightBase200);--webchat__line-height--medium: var(--webchat-lineHeightBase300);--webchat__max-width--bubble: var(--webchat-bubble-maxWidth);--webchat__min-height--bubble: var(--webchat-bubble-minHeight);--webchat__padding--regular: var(--webchat-spacingVerticalS);--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalMNudge) var(--webchat-spacingHorizontalMNudge);--webchat__border-animation--color-1: #464feb;--webchat__border-animation--color-2: #47cffa;--webchat__border-animation--color-3: #b47cf8}.webchat-fluent._.ea .webchat__css-custom-properties{--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalXL) var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalMNudge)}.webchat-fluent._ .webchat__surface{background-color:var(--webchat__color--surface)}.webchat-fluent._.ea .webchat__surface{box-sizing:border-box;padding-inline-start:var(--webchat-spacingHorizontalMNudge)}.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:var(--webchat-colorNeutralForeground5) transparent;-moz-scrollbar-width:thin}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body)::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge);visibility:hidden}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body)::-webkit-scrollbar-corner{background:transparent}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar{height:var(--webchat-spacingVerticalMNudge);width:var(--webchat-spacingVerticalMNudge)}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border-radius:10px;border-right:4px solid transparent;border:3px solid transparent}:is(.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__scrollable,.webchat-fluent._ .webchat__view-code-dialog__code-body,.webchat-fluent._ .webchat__render-markdown [data-math-type=block],.webchat-fluent._ .webchat__view-code-dialog__body):hover::-webkit-scrollbar-thumb:hover{background-clip:padding-box;background-color:var(--webchat-colorNeutralForeground5);border-radius:10px;border-right:2px solid transparent;border:1px solid transparent}.webchat-fluent._.ea .webchat__basic-transcript .webchat__basic-transcript__scrollable{scrollbar-gutter:stable}.webchat-fluent._ .webchat__basic-transcript .webchat__basic-transcript__terminator:focus-visible+.webchat__basic-transcript__focus-indicator{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__basic-transcript:not(:focus-visible) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__focus-indicator{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__basic-transcript__activity-indicator--focus{display:none}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .webchat__bubble:after,.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat__bubble--border-radius);content:\"\";inset:0;outline-offset:0;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);pointer-events:none;position:absolute}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .pre-chat-message-activity:after{border-radius:var(--webchat-borderRadiusMedium);outline-offset:-3px}.webchat-fluent._ .webchat__basic-transcript:focus-visible .webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus) .liner-message-activity__text{border-radius:20px;outline-offset:4px;outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent._.ea .webchat__basic-transcript .webchat__basic-transcript__filler{flex-grow:0}.webchat-fluent._ .webchat__basic-transcript:has(.webchat__basic-transcript__activity:only-child):has(.pre-chat-message-activity) .webchat__basic-transcript__filler{flex-grow:.5}.webchat-fluent._ .webchat__modal-dialog{height:100%;display:grid;place-items:center}.webchat-fluent._ .webchat__modal-dialog::backdrop{background-color:var(--webchat-colorTransparentBackground)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__box{background-color:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusXLarge);position:relative;color:var(--webchat-colorNeutralForeground1);box-shadow:var(--webchat-shadow64)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button{color:var(--webchat-colorNeutralForeground1);transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:active):hover{background-color:var(--webchat-colorNeutralBackground3)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:focus:active{background-color:var(--webchat-colorNeutralBackground4)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:not(:focus-visible){border:none}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button:focus{border-color:var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__modal-dialog .webchat__modal-dialog__close-button-image{fill:currentColor}.webchat-fluent._ .webchat__code-block{border:none;font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button{background:transparent;border:none;color:var(--webchat__code-block__copy-button--color);height:20px;margin-inline-start:var(--webchat-spacingHorizontalS);padding:0;width:20px;transition:background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button .webchat__code-block-copy-button__icon{background-color:currentColor}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:hover,.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:active{background:var(--webchat__code-block__copy-button--background);color:var(--webchat__code-block__copy-button--color)}.webchat-fluent._ .webchat__code-block .webchat__code-block-copy-button:focus{color:var(--webchat__code-block__copy-button--color);outline-color:currentColor}.webchat-fluent._ .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent._ .webchat__code-block:has(.webchat__code-block__body:focus-visible):focus-within .webchat__code-block__body{outline:none}.webchat-fluent._ .webchat__code-block:has(>.webchat__code-block__theme--github-dark-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey8));--webchat__code-block__copy-button--background: var( --codeBlockCopyButtonBackgroundPressed, var(--webchat-colorGrey14) );--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey98))}.webchat-fluent._ .webchat__code-block:has(>.webchat__code-block__theme--github-light-default){--webchat__background--code-block: var(--codeBlockBackground, var(--webchat-colorGrey98));--webchat__code-block__copy-button--background: var(--codeBlockBackgroundPressed, var(--webchat-colorGrey92));--webchat__code-block__copy-button--color: var(--codeBlockCopyButtonForeground, var(--webchat__color--code-block));--webchat__color--code-block: var(--codeBlockForeground, var(--webchat-colorGrey8))}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button-layout{display:flex;padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalS)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__close-button{align-items:center;aspect-ratio:1;display:flex;height:var(--webchat-lineHeightBase300);justify-content:center;padding:0;width:unset}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__code-block-copy-button{--webchat__code-block__copy-button--color: var(--webchat-colorNeutralForeground1);--webchat__code-block__copy-button--background: var(--webchat-colorNeutralBackground3);margin-block-start:var(--webchat-spacingVerticalS);position:absolute;right:32px;top:0}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__box{width:fit-content}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__modal-dialog__body{margin:0;padding:var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__title{font-size:var(--webchat-fontSizeBase300);font-weight:var(--webchat-fontWeightSemibold);line-height:var(--webchat-lineHeightBase300)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__body{font-family:var(--webchat-fontFamilyMonospace);font-size:var(--webchat-fontSizeBase300);margin:0 calc(var(--webchat-spacingHorizontalM) * -1);padding:0 var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__footer{color:var(--webchat-colorNeutralForeground4);font-size:var(--webchat-fontSizeBase100);line-height:var(--webchat-lineHeightBase100)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link{color:var(--webchat-colorBrandForegroundLink);text-decoration-color:transparent}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:target{color:var(--webchat-colorBrandForegroundLinkSelected)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:hover{color:var(--webchat-colorBrandForegroundLinkHover);text-decoration:underline 1px currentColor}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:active{color:var(--webchat-colorBrandForegroundLinkPressed)}.webchat-fluent._ .webchat__modal-dialog.webchat__view-code-dialog .webchat__view-code-dialog__link:focus-visible{outline:none;text-decoration:underline 1px double var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__activity-button{background:var(--webchat-colorNeutralBackground1);border-radius:var(--webchat-borderRadiusMedium);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);color:var(--webchat-colorNeutralForeground1);gap:var(--webchat-spacingHorizontalXS);padding:5px var(--webchat-spacingHorizontalM)}.webchat-fluent._ .webchat__activity-button:hover{background:var(--webchat-colorNeutralBackground1Hover);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover);color:var(--webchat-colorNeutralForeground1Hover)}.webchat-fluent._ .webchat__activity-button:active{background:var(--webchat-colorNeutralBackground1Pressed);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed);color:var(--webchat-colorNeutralForeground1Pressed)}.webchat-fluent._ .webchat__activity-button:focus-visible{background:var(--webchat-colorNeutralBackground1);outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);outline-offset:calc(var(--webchat-strokeWidthThick) * -1)}.webchat-fluent._ .webchat__activity-button[aria-disabled=true]{background:var(--webchat-colorNeutralBackgroundDisabled);border:var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStrokeDisabled);color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent._ .webchat__activity-button .webchat__activity-button__icon{height:20px;width:20px}.webchat-fluent._ .webchat__activity-copy-button .webchat__activity-copy-button__copied-text{background-color:var(--webchat-colorNeutralBackground1)}.webchat-fluent._ .webchat__activity-copy-button.webchat__activity-copy-button--copied .webchat__activity-copy-button__copied-text{animation-duration:var(--webchat-durationUltraSlow)}.webchat-fluent._ .webchat__monochrome-image-masker{background-color:currentColor;height:1em;width:1em}.webchat-fluent._ .webchat__thumb-button{color:var(--webchat-colorNeutralForeground1)}.webchat-fluent._ .webchat__thumb-button:focus-visible{outline:var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2)}.webchat-fluent._ .webchat__thumb-button[aria-disabled=true]{color:var(--webchat-colorNeutralForegroundDisabled)}.webchat-fluent._ .webchat__tooltip{--webchat__tooltip-background: var(--tooltip-background, var(--webchat-colorNeutralBackground1));color:var(--webchat-colorNeutralForeground1);filter:drop-shadow(0 0 2px var(--webchat-colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--webchat-colorNeutralShadowKey));font-family:var(--webchat-fontFamilyBase);font-size:var(--webchat-fontSizeBase200);font-weight:var(--webchat-fontWeightRegular);line-height:var(--webchat-lineHeightBase200);padding:var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);transition:opacity var(--webchat-durationNormal) var(--webchat-curveDecelerateMid)}.webchat-fluent .ue{align-self:start;display:flex;flex:none;height:16px;margin:auto var(--webchat-spacingHorizontalMNudge)}.webchat-fluent .ve{height:6px;width:auto}\n/*! For license information please see botframework-webchat-fluent-theme.css.LEGAL.txt */\n",se=Ye(So);import{useMemo as To}from"react";function Bo(e){return To(()=>Object.freeze(Object.fromEntries(Object.entries(e).map(([t,o])=>[t,`${t} ${o}`]))),[e])}var c=Bo;import{useMemo as Co}from"react";function B(e){let t=c(e),o=V();return Co(()=>o.map(a=>t[`variant-${a}`]).filter(a=>a).join(" "),[t,o])}var de={"activity-decorator":"aa","variant-fluent":"ua","variant-copilot":"oa"};import $,{memo as Do,useMemo as Io}from"react";import{hooks as Ro}from"botframework-webchat-component";import{useMemo as Ho}from"react";import{hooks as Ao}from"botframework-webchat-component";var{useStyleOptions:Fo}=Ao;function be(e){let[t]=Fo();return Ho(()=>Object.freeze([{...t,...e?.channelData?.webChat?.styleOptions}]),[e?.channelData?.webChat?.styleOptions,t])}import{getOrgSchemaMessage as zo}from"botframework-webchat-core";function ue(e){return!!(e&&zo(e?.entities||[])?.keywords?.includes("AIGeneratedContent"))}import{useMemo as Lo}from"react";import{getOrgSchemaMessage as Eo}from"botframework-webchat-core";function L(e){return Lo(()=>{let t=Eo(e?.entities||[]);return typeof t?.author=="string"?{"@type":"Person",description:void 0,image:void 0,name:t?.author}:t?.author},[e])}var qe={"copilot-message-header":"va","copilot-message-header__avatar":"pa","copilot-message-header__title":"_a","copilot-message-header__ai-generated-content":"fa"};var{useLocalizer:Oo}=Ro;function Vo({activity:e}){let[{botAvatarImage:t,botAvatarBackgroundColor:o}]=be(e),a=c(qe),r=Oo(),n=ue(e),l=Io(()=>({"--background-color":o}),[o]),i=L(e),u=i?.image||t,h=i?.name||e?.from?.name;return $.createElement("div",{className:a["copilot-message-header"]},u&&$.createElement("img",{alt:r("AVATAR_ALT",h),className:a["copilot-message-header__avatar"],src:u,style:l}),$.createElement("span",{className:a["copilot-message-header__title"],title:h},h),n&&$.createElement("span",{className:a["copilot-message-header__ai-generated-content"]},r("ACTIVITY_CONTENT_CAUTION")))}var Je=Do(Vo);function et({activity:e,children:t}){let o=c(de),a=V(),r=B(de),n=a.includes("copilot")&&e?.from?.role==="bot"&&!!t;return Qe.createElement("div",{className:Wo(o["activity-decorator"],r)},n&&Qe.createElement(Je,{activity:e}),t)}et.displayName="ActivityDecorator";var he=Ko(et);import oa from"classnames";import rt,{Fragment as aa,memo as ra}from"react";import{hooks as jo}from"botframework-webchat-component";import Zo,{memo as $o,useCallback as ge,useEffect as Yo,useRef as qo}from"react";import{useRefFrom as Jo}from"use-ref-from";import{useContext as Go}from"react";import{createContext as Uo}from"react";var Xo={urlStateMap:{get(){throw new Error("urlMap cannot be used outside of <AssetComposerContext>.")}}},tt=Uo(Object.create({},Xo));tt.displayName="AssetComposerContext";var Y=tt;function me(){return Go(Y)}function pe(e){let t=me().urlStateMap.get(e);if(!t)throw new Error(`botframework-webchat-fluent-theme internal: Asset "${e}" was not found.`);return t}var{useLocalizer:Qo,useShouldReduceMotion:ea}=jo,ot=({className:e})=>{let[t]=ea(),[o]=pe("sliding dots"),a=Qo(),r=qo(null),n=a("TYPING_INDICATOR_ALT"),l=Jo(t),i=ge(()=>{let s=r.current?.contentDocument,d=s?.documentElement,{SVGSVGElement:b}=s?.defaultView||{};b&&d instanceof b&&d.pauseAnimations()},[r]),u=ge(()=>{let s=r.current?.contentDocument,d=s?.documentElement,{SVGSVGElement:b}=s?.defaultView||{};b&&d instanceof b&&d.unpauseAnimations()},[r]),h=ge(()=>l.current?i():u(),[i,l,u]);return Yo(h,[h,t]),Zo.createElement("object",{"aria-label":n,className:e,data:o.href,onLoad:h,ref:r,type:"image/svg+xml"})};ot.displayName="SlidingDots";var q=$o(ot);var at={"activity-loader":"ka","variant-fluent":"ma"};function na({children:e}){let t=c(at),o=B(t);return rt.createElement(aa,null,e,rt.createElement(q,{className:oa(t["activity-loader"],o)}))}var nt=ra(na);import ia,{memo as la,useEffect as ca,useMemo as it}from"react";var sa='<svg xmlns="http://www.w3.org/2000/svg" width="400" height="20" viewBox="0 0 400 20"><defs><linearGradient id="a" x1="0" x2="100%" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#ad5ae1;#ad5ae1;#0E94E1;#0E94E1;#669fc2;#669fc2;#ad5ae1"/></stop><stop offset="50%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#e9618d;#e9618d;#57AB82;#57AB82;#6377e0;#6377e0;#e9618d"/></stop><stop offset="100%"><animate attributeName="stop-color" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="#fd9e5f;#fd9e5f;#C6C225;#C6C225;#9b80ec;#9b80ec;#fd9e5f"/></stop></linearGradient></defs><g fill="url(#a)"><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="26;26;0;0"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;1" repeatCount="indefinite" values="20;20;30;30;20;20"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="1;1;0;0"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="62;62;72;72;26;26;0"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="104;104;20;20;70;70;20"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.8;1" repeatCount="indefinite" values="1;1;0"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="182;182;108;108;112;112;26"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;1" repeatCount="indefinite" values="20;20;60;60;20;20"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="218;218;184;184;148;148;62"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="60;60;80;80;40;40;104"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="294;294;280;280;204;204;182"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="40;40;20;20;80;80;20"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="350;350;316;316;300;300;218"/><animate attributeName="width" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="20;20;60;60;20;20;60"/></rect><rect height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="386;386;392;392;336;336;294"/><animate attributeName="width" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="20;20;40;40"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.5;0.66;1" repeatCount="indefinite" values="0;0;1;1"/></rect><rect width="20" height="20" rx="10"><animate attributeName="x" dur="2s" keyTimes="0;0.2;0.33;0.5;0.66;0.8;1" repeatCount="indefinite" values="422;422;428;428;392;392;350"/><animate attributeName="opacity" dur="2s" keyTimes="0;0.8;1" repeatCount="indefinite" values="0;0;1"/></rect></g></svg>',lt=la(({children:e})=>{let t=it(()=>URL.createObjectURL(new Blob([sa],{type:"image/svg+xml"})),[]);ca(()=>()=>URL.revokeObjectURL(t),[t]);let o=it(()=>Object.freeze({urlStateMap:new Map([["sliding dots",Object.freeze([new URL(t)])]])}),[t]);return ia.createElement(Y.Provider,{value:o},e)});lt.displayName="AssetComposer";var ct=lt;function J(e){return!!(e&&e.from.role==="channel"&&e.type==="message"&&"text"in e)}import dt,{memo as ba}from"react";var st={"liner-message-activity":"xa","liner-message-activity__text":"ya"};var bt=({activity:e})=>{let t=c(st);return dt.createElement("div",{className:t["liner-message-activity"],role:"separator"},dt.createElement("span",{className:t["liner-message-activity__text"]},e.text))};bt.displayName="LinerMessageActivity";var fe=ba(bt);import{getOrgSchemaMessage as ua}from"botframework-webchat-core";function E(e){return!!(e&&ua(e?.entities||[])?.keywords?.includes("PreChatMessage"))}import{hooks as za}from"botframework-webchat-component";import La from"classnames";import P,{memo as Ea,useMemo as Pa}from"react";var ut={"pre-chat-message-activity":"Ba","pre-chat-message-activity__body":"Na","pre-chat-message-activity__body--blueprint":"Sa","pre-chat-message-activity__body-avatar":"ra","pre-chat-message-activity__body-title":"za","pre-chat-message-activity__body-subtitle":"Ha","pre-chat-message-activity__toolbar":"Fa"};import{hooks as Ca}from"botframework-webchat-api";import Ma from"classnames";import A,{Fragment as Ha,memo as Aa}from"react";import{Components as ga,hooks as fa}from"botframework-webchat-component";import mt from"classnames";import W,{memo as wa,useCallback as va,useMemo as _a}from"react";import{useRefFrom as ya}from"use-ref-from";var ma={preChatMessageActivityStarterPromptsCardAction:"pre-chat message activity starter prompts card action",sendBoxContainer:"send box container",sendBoxDropZone:"send box drop zone",sendBoxSendButton:"send box send button",sendBoxSuggestedAction:"send box suggested action",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"},m=ma;var ht={"pre-chat-message-activity__card-action-box":"Ma","pre-chat-message-activity__card-action-image":"ta",blueprintAnimation:"ca","pre-chat-message-activity__card-action-subtitle":"Xa","pre-chat-message-activity__card-action-title":"La"};var{useFocus:xa,useRenderMarkdownAsHTML:ka,useSendBoxValue:Na,useUIState:Sa}=fa,{MonochromeImageMasker:Ta}=ga,pt=({className:e,messageBackAction:t})=>{let[o,a]=Na(),[r]=Sa(),n=c(ht),l=xa(),i=ya(t?.displayText||t?.text||""),u=ka("message activity"),h=_a(()=>u?{__html:u(t?.text||"")}:void 0,[t?.text,u]),s=r==="disabled",d=t&&"title"in t&&t.title,b=r==="blueprint"||!d,p=va(()=>{a(i.current),l("sendBox")},[l,i,a]);return b?W.createElement("div",{className:mt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":m.preChatMessageActivityStarterPromptsCardAction}):W.createElement("button",{"aria-disabled":s?!0:void 0,className:mt(e,n["pre-chat-message-activity__card-action-box"]),"data-testid":m.preChatMessageActivityStarterPromptsCardAction,onClick:s?void 0:p,tabIndex:s?-1:void 0,type:"button"},W.createElement("div",{className:n["pre-chat-message-activity__card-action-title"]},d),"image"in t&&t.image&&W.createElement(Ta,{className:n["pre-chat-message-activity__card-action-image"],src:t.image}),W.createElement("div",{className:n["pre-chat-message-activity__card-action-subtitle"],dangerouslySetInnerHTML:h}))};pt.displayName="StarterPromptsCardAction";var K=wa(pt);var gt={"pre-chat-message-activity__card-action-toolbar":"Wa","webchat-container":"la","pre-chat-message-activity__card-action-toolbar-grid":"ia"};var{useUIState:Fa}=Ca,ft=({cardActions:e,className:t})=>{let o=c(gt),[a]=Fa();return A.createElement("div",{className:Ma(t,o["pre-chat-message-activity__card-action-toolbar"])},A.createElement("div",{className:o["pre-chat-message-activity__card-action-toolbar-grid"]},a==="blueprint"?A.createElement(Ha,null,A.createElement(K,null),A.createElement(K,null),A.createElement(K,null)):e.filter(r=>r.type==="messageBack").map((r,n)=>A.createElement(K,{key:n,messageBackAction:r}))))};ft.displayName="StarterPromptsToolbar";var wt=Aa(ft);var{useLocalizer:Da,useRenderMarkdownAsHTML:Ia,useUIState:Ra}=za,vt=({activity:e})=>{let[t]=Ra(),o=c(ut),a=Ia(),r=Da(),n=L(e),l=Pa(()=>a?{__html:a(n?.description||"")}:{__html:""},[n?.description,a]);return P.createElement("div",{className:o["pre-chat-message-activity"]},n&&P.createElement("div",{className:La(o["pre-chat-message-activity__body"],t==="blueprint"&&o["pre-chat-message-activity__body--blueprint"])},n.image&&P.createElement("img",{alt:r("AVATAR_ALT",n.name),className:o["pre-chat-message-activity__body-avatar"],src:n.image}),n.name&&P.createElement("h2",{className:o["pre-chat-message-activity__body-title"]},n.name),n.description&&P.createElement("div",{className:o["pre-chat-message-activity__body-subtitle"],dangerouslySetInnerHTML:l})),P.createElement(wt,{cardActions:e.suggestedActions?.actions||[],className:o["pre-chat-message-activity__toolbar"]}))};vt.displayName="PreChatMessageActivity";var we=Ea(vt);import{hooks as Hi}from"botframework-webchat-component";import X from"classnames";import w,{memo as ro,useCallback as I,useRef as Ai,useState as Fi}from"react";import{useRefFrom as ao}from"use-ref-from";import{Components as Oa}from"botframework-webchat-component";import Va from"classnames";import Wa,{memo as Ka}from"react";var{MonochromeImageMasker:Ua}=Oa,Xa=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function Ga(e){return Wa.createElement(Ua,{className:Va("icon__add-document",e.className),src:Xa})}var ve=Ka(Ga);import{Components as ja}from"botframework-webchat-component";import Za from"classnames";import $a,{memo as Ya}from"react";var{MonochromeImageMasker:qa}=ja,Ja=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function Qa(e){return $a.createElement(qa,{className:Za("icon__attachment",e.className),src:Ja})}var _e=Ya(Qa);import{Components as er}from"botframework-webchat-component";import tr from"classnames";import or,{memo as ar}from"react";var{MonochromeImageMasker:rr}=er,nr=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function ir(e){return or.createElement(rr,{className:tr("icon__info--small",e.className),src:nr})}var ye=ar(ir);import{Components as lr}from"botframework-webchat-component";import cr from"classnames";import sr,{memo as dr}from"react";var{MonochromeImageMasker:br}=lr,ur=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function hr(e){return sr.createElement(br,{className:cr("icon__send",e.className),src:ur})}var xe=dr(hr);import{Components as mr}from"botframework-webchat-component";import pr from"classnames";import gr,{memo as fr}from"react";var{MonochromeImageMasker:wr}=mr,vr=`data:image/svg+xml;utf8,${encodeURIComponent('<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><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"/></svg>')}`;function _r(e){return gr.createElement(wr,{className:pr("icon__telephone-keypad",e.className),src:vr})}var ke=fr(_r);import{hooks as xr}from"botframework-webchat-component";import kr from"classnames";import yt,{memo as Nr,useCallback as Sr,useEffect as Tr,useRef as Br,useState as Cr}from"react";import{useRefFrom as Mr}from"use-ref-from";var _t={"sendbox__attachment-drop-zone":"Va","sendbox__attachment-drop-zone--droppable":"Ra","sendbox__attachment-drop-zone-icon":"Pa"};var{useLocalizer:Hr}=xr,Q=e=>{e.preventDefault()},xt=e=>!!e.dataTransfer?.types?.some(t=>t.toLowerCase()==="files");function Ar(e,t){let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1}var kt=e=>{let[t,o]=Cr(!1),a=c(_t),r=Br(null),n=Hr(),l=Mr(e.onFilesAdded);Tr(()=>{let u=0,h=p=>{document.addEventListener("dragover",Q),u++,xt(p)&&o(r.current&&(p.target===r.current||p.target instanceof HTMLElement&&Ar(p.target,r.current))?"droppable":"visible")},s=()=>--u<=0&&o(!1),d=()=>{document.removeEventListener("dragover",Q),u=0,o(!1)},b=p=>{r.current?.contains(p.target)||d()};return document.addEventListener("dragend",d),document.addEventListener("dragenter",h),document.addEventListener("dragleave",s),document.addEventListener("drop",b),()=>{document.removeEventListener("dragend",d),document.removeEventListener("dragenter",h),document.removeEventListener("dragleave",s),document.removeEventListener("dragover",Q),document.removeEventListener("drop",b)}},[o]);let i=Sr(u=>{u.preventDefault(),o(!1),xt(u.nativeEvent)&&l.current([...u.dataTransfer.files])},[l,o]);return t?yt.createElement("div",{className:kr(a["sendbox__attachment-drop-zone"],{[a["sendbox__attachment-drop-zone--droppable"]]:t==="droppable"}),"data-testid":m.sendBoxDropZone,onDragOver:Q,onDrop:i,ref:r},yt.createElement(ve,{className:a["sendbox__attachment-drop-zone-icon"]}),n("TEXT_INPUT_DROP_ZONE")):null};kt.displayName="DropZone";var Ne=Nr(kt);import{hooks as rn}from"botframework-webchat-component";import nn from"classnames";import ee,{memo as ln,useCallback as cn}from"react";function Se(e){let{title:t}=e,{type:o,value:a}=e;return o==="messageBack"?t||e.displayText:t||(typeof a=="string"?a:JSON.stringify(a))}import Fr,{createContext as zr,memo as Lr,useCallback as D,useContext as Er,useEffect as Pr,useMemo as Dr,useRef as Te}from"react";var Nt=zr({itemEffector:()=>{throw new Error("botframework-webchat-fluent-theme rovingFocus: no provider for RovingFocusContext.")}});function Ir(e){let t=Te(0),o=Te([]),a=D(({current:s},d)=>s&&(s.tabIndex=t.current===d?0:-1),[t]),r=D(s=>{let d;typeof s=="number"?d=s:d=s(t.current),d&&!o.current.at(d)?.current&&(d=0),t.current!==d&&(t.current=d,o.current.forEach((b,p)=>a(b,p)),o.current.at(d)?.current?.focus())},[a,o,t]),n=D(s=>{let{target:d}=s,b=o.current.findIndex(({current:p})=>p===d);b!==-1&&r(b)},[o,r]),l=D(s=>d=>{let b=!e.direction,p=/up|down/iu.test(s)&&e.direction==="vertical",x=/left|right/iu.test(s)&&e.direction==="horizontal",g=/right|down/iu.test(s),k=b||p||x?g?1:-1:0,S=o.current.map((M,H)=>H),T=S.indexOf(d)+k;return S.at(T)??0},[e.direction]),i=D(s=>{let{key:d}=s;switch(d){case"Up":case"ArrowUp":case"Left":case"ArrowLeft":case"Down":case"ArrowDown":case"Right":case"ArrowRight":r(l(d));break;case"Home":r(0);break;case"End":r(-1);break;case"Escape":e.onEscapeKey?.();break;default:return}s.preventDefault(),s.stopPropagation()},[r,l,e]),u=D((s,d)=>{let{current:b}=s;return o.current[Number(d)]=s,b.addEventListener("focus",n),b.addEventListener("keydown",i),a(s,d),()=>{b.removeEventListener("focus",n),b.removeEventListener("keydown",i),delete o.current[Number(d)]}},[n,i,a,o]),h=Dr(()=>({itemEffector:u}),[u]);return Fr.createElement(Nt.Provider,{value:h},e.children)}function St(e){let t=Te(null),{itemEffector:o}=Er(Nt);return Pr(()=>o(t,e)),t}var Tt=Lr(Ir);import{hooks as Gr}from"botframework-webchat-component";import jr from"classnames";import Be,{memo as Zr,useCallback as $r}from"react";import Rr,{forwardRef as Or,memo as Vr,useRef as Wr}from"react";var Kr=e=>e.preventDefault(),Ur=Or(({"aria-hidden":e,children:t,className:o,"data-testid":a,disabled:r,onClick:n,tabIndex:l},i)=>{let u=Wr(null);return Rr.createElement("button",{"aria-disabled":r?"true":void 0,"aria-hidden":e,className:o,"data-testid":a,onClick:r?Kr:n,ref:i||u,tabIndex:r?-1:l,type:"button"},t)}),Bt=Vr(Ur);var Ct={"suggested-action":"Ta","suggested-action__image":"Ca"};var{useFocus:Yr,usePerformCardAction:qr,useScrollToEnd:Jr,useStyleSet:Qr,useSuggestedActions:en,useUIState:tn}=Gr;function on({buttonText:e,className:t,displayText:o,image:a,imageAlt:r,itemIndex:n,text:l,type:i,value:u}){let[h,s]=en(),[{suggestedAction:d}]=Qr(),[b]=tn(),p=Yr(),x=St(n),g=qr(),k=c(Ct),S=Jr(),T=$r(({target:M})=>{(async function(){await p("sendBoxWithoutKeyboard"),g({displayText:o,text:l,type:i,value:u},{target:M}),i==="openUrl"&&s([]),S()})()},[o,p,g,S,s,l,i,u]);return Be.createElement(Bt,{className:jr(k["suggested-action"],d+"",(t||"")+""),"data-testid":m.sendBoxSuggestedAction,disabled:b==="disabled",onClick:T,ref:x,type:"button"},a&&Be.createElement("img",{alt:r,className:k["suggested-action__image"],src:a}),Be.createElement("span",null,e))}var Mt=Zr(on);var Ce={"suggested-actions":"Da","suggested-actions--flow":"Ga","suggested-actions--stacked":"Ua"};var{useFocus:sn,useLocalizer:dn,useStyleOptions:bn,useStyleSet:un,useSuggestedActions:hn,useUIState:mn}=rn;function pn(e){let[{suggestedActionLayout:t}]=bn(),[{suggestedActions:o}]=un(),[a]=mn(),r=c(Ce);return ee.createElement("div",{"aria-label":e["aria-label"],"aria-orientation":"vertical",className:nn(r["suggested-actions"],o+"",{[r["suggested-actions--flow"]]:t==="flow",[r["suggested-actions--stacked"]]:t!=="flow"},e.className),role:"toolbar"},a!=="blueprint"&&e.children)}function gn(){let e=c(Ce),t=dn(),[o,a,{activity:r}]=hn(),n=sn(),l=cn(()=>{n("sendBox")},[n]),i=E(r)?[]:o.map((u,h)=>{let{displayText:s,image:d,imageAltText:b,text:p,type:x,value:g}=u;return o?.length?ee.createElement(Mt,{buttonText:Se(u),displayText:s,image:d,imageAlt:d&&(b||p),itemIndex:h,key:h,text:p,type:x,value:g}):null});return ee.createElement(Tt,{onEscapeKey:l},ee.createElement(pn,{"aria-label":t("SUGGESTED_ACTIONS_LABEL_ALT"),className:e["suggested-actions"]},i))}var Me=ln(gn);import wn,{memo as vn,useMemo as _n,useState as yn}from"react";import{createContext as fn}from"react";var Ht=fn(new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only used under its corresponding <Provider>.")}}));Ht.displayName="TelephoneKeypad.Context";var te=Ht;var xn=vn(({children:e})=>{let[t,o]=yn(!1),a=_n(()=>Object.freeze({setShown:o,shown:t}),[o,t]);return wn.createElement(te.Provider,{value:a},e)}),He=xn;import Pn,{memo as Dn}from"react";import{Components as An}from"botframework-webchat-component";import Fn from"classnames";import f,{memo as Lt,useCallback as y,useEffect as zn,useRef as Ln}from"react";import{useRefFrom as zt}from"use-ref-from";import Ae,{forwardRef as Nn,memo as Sn,useCallback as Tn}from"react";import{useRefFrom as Bn}from"use-ref-from";var At={"telephone-keypad__button":"na","telephone-keypad__button__ruby":"ba","telephone-keypad__button__text":"da","telephone-keypad--horizontal":"ja"};var Ft=Sn(Nn(({button:e,"data-testid":t,onClick:o,ruby:a},r)=>{let n=c(At),l=Bn(o),i=Tn(()=>l.current?.(),[l]);return Ae.createElement("button",{className:n["telephone-keypad__button"],"data-testid":t,onClick:i,ref:r,type:"button"},Ae.createElement("span",{className:n["telephone-keypad__button__text"]},e==="*"?"\u2217":e),!!a&&Ae.createElement("ruby",{className:n["telephone-keypad__button__ruby"]},a))}));Ft.displayName="TelephoneKeypad.Button";var _=Ft;import{useContext as Cn,useMemo as Mn}from"react";function C(){let{setShown:e,shown:t}=Cn(te);return Mn(()=>Object.freeze([t,e]),[t,e])}var Fe={"telephone-keypad":"Aa","telephone-keypad__box":"Ia","telephone-keypad__info-message":"Ka","telephone-keypad__info-message-link":"Ea"};var{LocalizedString:En}=An,Et=Lt(({children:e,isHorizontal:t})=>{let o=c(Fe);return t?null:f.createElement("div",{className:o["telephone-keypad__box"]},e)});Et.displayName="TelephoneKeypad:Orientation";var Pt=Lt(({autoFocus:e,className:t,onButtonClick:o,isHorizontal:a})=>{let r=zt(e),n=c(Fe),l=Ln(null),i=zt(o),[,u]=C(),h=y(()=>i.current?.("1"),[i]),s=y(()=>i.current?.("2"),[i]),d=y(()=>i.current?.("3"),[i]),b=y(()=>i.current?.("4"),[i]),p=y(()=>i.current?.("5"),[i]),x=y(()=>i.current?.("6"),[i]),g=y(()=>i.current?.("7"),[i]),k=y(()=>i.current?.("8"),[i]),S=y(()=>i.current?.("9"),[i]),T=y(()=>i.current?.("0"),[i]),M=y(()=>i.current?.("*"),[i]),H=y(()=>i.current?.("#"),[i]),z=y(G=>{G.key==="Escape"&&u(!1)},[u]);return zn(()=>{r.current&&l.current?.focus()},[r,l]),f.createElement("div",{className:Fn(n["telephone-keypad"],t),onKeyDown:z},f.createElement(Et,{isHorizontal:a},f.createElement(_,{button:"1","data-testid":m.sendBoxTelephoneKeypadButton1,onClick:h,ref:l}),f.createElement(_,{button:"2","data-testid":m.sendBoxTelephoneKeypadButton2,onClick:s,ruby:"ABC"}),f.createElement(_,{button:"3","data-testid":m.sendBoxTelephoneKeypadButton3,onClick:d,ruby:"DEF"}),f.createElement(_,{button:"4","data-testid":m.sendBoxTelephoneKeypadButton4,onClick:b,ruby:"GHI"}),f.createElement(_,{button:"5","data-testid":m.sendBoxTelephoneKeypadButton5,onClick:p,ruby:"JKL"}),f.createElement(_,{button:"6","data-testid":m.sendBoxTelephoneKeypadButton6,onClick:x,ruby:"MNO"}),f.createElement(_,{button:"7","data-testid":m.sendBoxTelephoneKeypadButton7,onClick:g,ruby:"PQRS"}),f.createElement(_,{button:"8","data-testid":m.sendBoxTelephoneKeypadButton8,onClick:k,ruby:"TUV"}),f.createElement(_,{button:"9","data-testid":m.sendBoxTelephoneKeypadButton9,onClick:S,ruby:"WXYZ"}),f.createElement(_,{button:"*","data-testid":m.sendBoxTelephoneKeypadButtonStar,onClick:M}),f.createElement(_,{button:"0","data-testid":m.sendBoxTelephoneKeypadButton0,onClick:T,ruby:"+"}),f.createElement(_,{button:"#","data-testid":m.sendBoxTelephoneKeypadButtonPound,onClick:H})),f.createElement("div",{className:n["telephone-keypad__info-message"]},f.createElement(ye,null),f.createElement(En,{linkClassName:n["telephone-keypad__info-message-link"],stringIds:"TELEPHONE_KEYPAD_INPUT_MESSAGE"})))});Pt.displayName="TelephoneKeypad";var Dt=Pt;var It=Dn(e=>C()[0]?Pn.createElement(Dt,{...e}):null);It.displayName="TelephoneKeypad.Surrogate";var ze=It;import{hooks as Wn}from"botframework-webchat-component";import ae,{useCallback as Vt,useRef as Kn,memo as Un}from"react";import{useRefFrom as Xn}from"use-ref-from";import{hooks as Rn}from"botframework-webchat-api";import Le from"classnames";import Ee,{memo as Pe}from"react";var oe={sendbox__toolbar:"qa","sendbox__toolbar-button":"Ja","sendbox__toolbar-button--selected":"Oa","sendbox__toolbar-separator":"Qa"};var{useUIState:Rt}=Rn,On=e=>e.preventDefault(),F=Pe(e=>{let t=c(oe),[o]=Rt(),a=e.disabled||o==="disabled";return Ee.createElement("button",{"aria-disabled":a?"true":void 0,"aria-label":e["aria-label"],className:Le(t["sendbox__toolbar-button"],e.className,{[t["sendbox__toolbar-button--selected"]]:e.selected}),"data-testid":e["data-testid"],onClick:a?On:e.onClick,tabIndex:a?-1:void 0,type:e.type==="submit"?"submit":"button"},e.children)});F.displayName="ToolbarButton";var De=Pe(e=>{let[t]=Rt(),o=c(oe);return Ee.createElement("div",{className:Le(o.sendbox__toolbar,e.className)},t!=="blueprint"&&e.children)});De.displayName="Toolbar";var Ie=Pe(e=>{let t=c(oe);return Ee.createElement("div",{"aria-orientation":"vertical",className:Le(t["sendbox__toolbar-separator"],e.className),role:"separator"})});Ie.displayName="ToolbarSeparator";var Ot={"sendbox__add-attachment":"Ya","sendbox__add-attachment-input":"Za"};var{useLocalizer:Gn,useStyleOptions:jn}=Wn;function Zn(e){let t=Kn(null),o=c(Ot),a=Gn(),[{uploadAccept:r,uploadMultiple:n}]=jn(),l=Xn(e.onFilesAdded),i=Vt(()=>t.current?.click(),[t]),u=Vt(({target:{files:h}})=>{h&&(l.current?.([...h]),t.current&&(t.current.value=""))},[t,l]);return ae.createElement("div",{className:o["sendbox__add-attachment"]},ae.createElement("input",{accept:r,"aria-disabled":e.disabled,"aria-hidden":"true",className:o["sendbox__add-attachment-input"],multiple:n,onInput:e.disabled?void 0:u,readOnly:e.disabled,ref:t,role:"button",tabIndex:-1,type:"file"}),ae.createElement(F,{"aria-label":a("TEXT_INPUT_UPLOAD_BUTTON_ALT"),"data-testid":m.sendBoxUploadButton,onClick:i},ae.createElement(_e,null)))}var Wt=Un(Zn);import{hooks as Yn}from"botframework-webchat-component";import qn from"classnames";import Jn,{memo as Qn}from"react";var Kt={sendbox__attachment:"ae"};var{useLocalizer:ei,useUIState:ti}=Yn,oi={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 ai({attachments:e,className:t}){let[o]=ti(),a=c(Kt),r=ei({plural:!0});return o!=="blueprint"&&e.length?Jn.createElement("div",{className:qn(a.sendbox__attachment,t)},r(oi,e.length)):null}var Ut=Qn(ai);import{useLiveRegion as ni}from"botframework-webchat-component/internal";import Gt,{memo as ii}from"react";var Xt={"sendbox__error-message":"ee"};function jt({error:e,id:t}){let o=c(Xt);return ni(()=>e&&Gt.createElement("div",{className:"sendbox__error-message__status"},e),[e]),Gt.createElement("span",{className:o["sendbox__error-message"],id:t},e)}jt.displayName="ErrorMessage";var Zt=ii(jt);import{hooks as li}from"botframework-webchat-component";import{useCallback as ci,useMemo as $t,useState as si}from"react";import{useRefFrom as di}from"use-ref-from";var{useConnectivityStatus:bi,useLocalizer:ui}=li,hi=({attachments:e,message:t})=>{let[o]=bi(),[a,r]=si(),n=ui(),l=di(o!=="connected"&&o!=="reconnected"?"offline":!t&&!e.length?"empty":void 0),i=$t(()=>Object.freeze(new Map().set("empty",n("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",n("CONNECTIVITY_STATUS_ALT_FATAL"))),[n]),u=!!t?.trim();a==="empty"&&u&&r(void 0);let h=ci(()=>(r(l.current),l.current),[l]);return $t(()=>Object.freeze([a&&i.get(a),h]),[a,i,h])},Yt=hi;import{useCallback as mi}from"react";import{hooks as pi}from"botframework-webchat-component";var{useScrollDown:gi,useScrollUp:fi}=pi;function Re(){let e=gi(),t=fi();return mi(o=>{if(o.target instanceof HTMLTextAreaElement&&o.target.value)return;let{ctrlKey:a,metaKey:r,shiftKey:n}=o;if(a||r||n)return;let l=!0;switch(o.key){case"End":e({displacement:1/0});break;case"Home":t({displacement:1/0});break;case"PageDown":e();break;case"PageUp":t();break;default:l=!1;break}l&&(o.preventDefault(),o.stopPropagation())},[e,t])}import{useMemo as wi}from"react";function Oe(e){let t=wi(()=>Math.random().toString(36).substr(2,5),[]);return e=e?`${e}--`:"",`${e}${t}`}var Ve={sendbox:"ha","variant-copilot":"oe","sendbox__text-counter":"sa","sendbox__text-counter--error":"ga",sendbox__sendbox:"re","sendbox__attachment--in-grid":"wa","sendbox__text-area--in-grid":"te","sendbox__sendbox-controls--in-grid":"ce","sendbox__telephone-keypad--in-grid":"le","sendbox__sendbox-text":"ie","sendbox__sendbox-controls":"ne"};import qt,{memo as _i,useCallback as yi}from"react";import{hooks as xi}from"botframework-webchat-component";var{useLocalizer:ki}=xi,Jt=_i(()=>{let[e,t]=C(),o=ki(),a=yi(()=>t(r=>!r),[t]);return qt.createElement(F,{"aria-label":o("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),"data-testid":m.sendBoxTelephoneKeypadToolbarButton,onClick:a,selected:e},qt.createElement(ke,null))});Jt.displayName="SendBox.TelephoneKeypadToolbarButton";var Qt=Jt;import{hooks as Si}from"botframework-webchat-api";import re from"classnames";import U,{forwardRef as Ti,Fragment as Bi,useCallback as Ci}from"react";var eo={"sendbox__text-area":"be","sendbox__text-area--hidden":"de","sendbox__text-area-shared":"he","sendbox__text-area-doppelganger":"se","sendbox__text-area-input":"ge","sendbox__text-area-input--scroll":"we"};var{useUIState:Mi}=Si,to=Ti((e,t)=>{let[o]=Mi(),a=c(eo),r=o==="disabled",n=Ci(l=>{!l.shiftKey&&l.key==="Enter"&&(l.preventDefault(),"form"in l.target&&l.target.form instanceof HTMLFormElement&&l.target?.form?.requestSubmit())},[]);return U.createElement("div",{className:re(a["sendbox__text-area"],{[a["sendbox__text-area--hidden"]]:e.hidden},e.className),role:e.hidden?"hidden":void 0},o==="blueprint"?U.createElement("div",{className:re(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-input--scroll"],a["sendbox__text-area-shared"])}," "):U.createElement(Bi,null,U.createElement("div",{className:re(a["sendbox__text-area-doppelganger"],a["sendbox__text-area-input--scroll"],a["sendbox__text-area-shared"])},e.value||e.placeholder," "),U.createElement("textarea",{"aria-disabled":r,"aria-label":e["aria-label"],className:re(a["sendbox__text-area-input"],a["sendbox__text-area-input--scroll"],a["sendbox__text-area-shared"]),"data-testid":e["data-testid"],onInput:e.onInput,onKeyDown:n,placeholder:e.placeholder,readOnly:r,ref:t,rows:e.startRows??1,tabIndex:e.hidden?-1:void 0,value:e.value})))});to.displayName="TextArea";var oo=to;var{useFocus:zi,useLocalizer:Li,useMakeThumbnail:Ei,useRegisterFocusSendBox:Pi,useSendBoxAttachments:Di,useSendBoxValue:Ii,useSendMessage:Ri,useStyleOptions:Oi,useUIState:Vi}=Hi;function no(e){let[{hideTelephoneKeypadButton:t,hideUploadButton:o,maxMessageLength:a}]=Oi(),[r,n]=Di(),[l,i]=Ii(),[u,h]=Fi(""),[s]=C(),[d]=Vi(),b=c(Ve),p=B(Ve),x=Oe("sendbox__error-message-id"),g=Ai(null),k=Li(),S=Ei(),T=Ri(),M=zi(),H=e.isPrimary?l:u,z=e.isPrimary?i:h,G=d==="blueprint",[Ke,Ue]=Yt({message:H,attachments:r}),R=!!a&&H.length>a,so=!G&&!s&&a&&isFinite(a),Xe=!G&&s;Pi(I(({noKeyboard:v,waitUntil:j})=>{g.current&&(v?j((async()=>{let O=g.current?.getAttribute("readonly");g.current?.setAttribute("readonly","true"),await new Promise(Z=>setTimeout(Z,0)),g.current?.focus(),typeof O!="string"?g.current?.removeAttribute("readonly"):g.current?.setAttribute("readonly",O)})()):g.current?.focus())},[g]));let Ge=ao(r),je=ao(H),bo=I(v=>{"tabIndex"in v.target&&typeof v.target.tabIndex=="number"&&v.target.tabIndex>=0||M("sendBox")},[M]),uo=I(v=>z(v.currentTarget.value),[z]),Ze=I(async v=>{let j=Object.freeze(await Promise.all(v.map(O=>S(O).then(Z=>Object.freeze({blob:O,...Z&&{thumbnailURL:Z}})))));n(j)},[S,n]),ho=I(v=>{v.preventDefault(),Ue()!=="empty"&&!R&&(T(je.current,void 0,{attachments:Ge.current}),z(""),n([])),M("sendBox")},[Ue,R,M,T,z,je,Ge,n]),mo=I(v=>T(`/DTMFKey ${v}`),[T]),po=Re(),go={"aria-invalid":"false",...Ke&&{"aria-describedby":x,"aria-errormessage":x,"aria-invalid":"true"}};return w.createElement("form",{...go,className:X(b.sendbox,p,e.className),"data-testid":m.sendBoxContainer,onSubmit:ho},w.createElement(Me,null),w.createElement("div",{className:X(b.sendbox__sendbox),onClickCapture:bo,onKeyDown:po},w.createElement(oo,{"aria-label":k(R?"TEXT_INPUT_LENGTH_EXCEEDED_ALT":"TEXT_INPUT_ALT"),className:X(b["sendbox__sendbox-text"],b["sendbox__text-area--in-grid"]),"data-testid":m.sendBoxTextBox,hidden:Xe,onInput:uo,placeholder:e.placeholder??k("TEXT_INPUT_PLACEHOLDER"),ref:g,value:H}),w.createElement(ze,{autoFocus:!0,className:b["sendbox__telephone-keypad--in-grid"],isHorizontal:!1,onButtonClick:mo}),w.createElement(Ut,{attachments:r,className:b["sendbox__attachment--in-grid"]}),w.createElement("div",{className:X(b["sendbox__sendbox-controls"],b["sendbox__sendbox-controls--in-grid"])},so&&w.createElement("div",{className:X(b["sendbox__text-counter"],{[b["sendbox__text-counter--error"]]:R})},`${H.length}/${a}`),w.createElement(De,null,!t&&w.createElement(Qt,null),!o&&w.createElement(Wt,{onFilesAdded:Ze}),w.createElement(Ie,null),w.createElement(F,{"aria-label":k("TEXT_INPUT_SEND_BUTTON_ALT"),"data-testid":m.sendBoxSendButton,disabled:R||Xe,type:"submit"},w.createElement(xe,null)))),w.createElement(Ne,{onFilesAdded:Ze}),w.createElement(Zt,{error:Ke,id:x})))}var ne=ro(e=>w.createElement(no,{...e,isPrimary:!0}));ne.displayName="PrimarySendBox";var Wi=ro(no);import Ui from"react";import Xi from"classnames";var We={theme:"_","variant-copilot":"ea"};var Gi="webchat-fluent";function ie(e){let t=c(We),o=B(We);return Ui.createElement("div",{className:Xi(Gi,t.theme,o)},e.children)}import{testIds as Zi}from"botframework-webchat-component";import $i from"classnames";import lo,{memo as Yi}from"react";var io={"sliding-dots-typing-indicator":"ue","sliding-dots-typing-indicator__image":"ve"};function qi(){let e=c(io);return lo.createElement("div",{className:e["sliding-dots-typing-indicator"],"data-testid":Zi.typingIndicator},lo.createElement(q,{className:$i(e["sliding-dots-typing-indicator__image"])}))}var co=Yi(qi);var{ThemeProvider:ol}=Qi,al=Object.freeze([()=>e=>(...t)=>{let o=t[0]?.activity;if(E(o))return()=>N.createElement(we,{activity:o});if(J(o))return()=>N.createElement(fe,{activity:o});let a=e(...t);return a&&((...r)=>N.createElement(he,{activity:o},a(...r)))}]),rl=[()=>()=>()=>ne],nl=[e=>e==="activity border"&&(t=>o=>o.livestreamingState==="preparing"?nt:t(o))],il=se(),ll=Object.freeze({feedbackActionsPlacement:"activity-actions"}),cl=Object.freeze([()=>e=>(...t)=>t[0].visible?N.createElement(co,null):e(...t)]),sl=({children:e,variant:t="fluent"})=>N.createElement($e,{variant:t},N.createElement(ie,null,N.createElement(He,null,N.createElement(ol,{activityMiddleware:al,sendBoxMiddleware:rl,styleOptions:ll,styles:il,typingIndicatorMiddleware:cl},N.createElement(ct,null,N.createElement(el,null,N.createElement(Ji,{middleware:nl},e))))))),dl=tl(sl);var ul="tsup",hl="esmodules",ml="4.18.1-main.20250325.438c779",Ch={buildTool:ul,moduleFormat:hl,version:ml};bl("botframework-webchat:fluent-theme","version=4.18.1-main.20250325.438c779; build-tool=tsup; module-format=esmodules");export{dl as FluentThemeProvider,Ch as buildInfo,m as testIds};
2
2
  /*! For license information please see botframework-webchat-fluent-theme.mjs.LEGAL.txt */
3
3
  //# sourceMappingURL=botframework-webchat-fluent-theme.mjs.map