botframework-webchat-component 4.19.1-main.20260609.8add591 → 4.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/botframework-webchat-component.component.js +1 -1
  2. package/dist/botframework-webchat-component.component.mjs +1 -1
  3. package/dist/botframework-webchat-component.decorator.js +1 -1
  4. package/dist/botframework-webchat-component.decorator.js.map +1 -1
  5. package/dist/botframework-webchat-component.decorator.mjs +1 -1
  6. package/dist/botframework-webchat-component.decorator.mjs.map +1 -1
  7. package/dist/botframework-webchat-component.hook.js +1 -1
  8. package/dist/botframework-webchat-component.hook.mjs +1 -1
  9. package/dist/botframework-webchat-component.internal.js +1 -1
  10. package/dist/botframework-webchat-component.internal.mjs +1 -1
  11. package/dist/botframework-webchat-component.js +1 -1
  12. package/dist/botframework-webchat-component.js.map +1 -1
  13. package/dist/botframework-webchat-component.mjs +1 -1
  14. package/dist/botframework-webchat-component.mjs.map +1 -1
  15. package/dist/{chunk-BXGPZLGZ.js → chunk-2YUBQM5B.js} +7 -7
  16. package/dist/{chunk-BXGPZLGZ.js.map → chunk-2YUBQM5B.js.map} +1 -1
  17. package/dist/{chunk-POTPE56B.js → chunk-ENHWW2TZ.js} +2 -2
  18. package/dist/{chunk-POTPE56B.js.map → chunk-ENHWW2TZ.js.map} +1 -1
  19. package/dist/{chunk-7DOFBDE3.mjs → chunk-F7UWMCXK.mjs} +2 -2
  20. package/dist/{chunk-7DOFBDE3.mjs.map → chunk-F7UWMCXK.mjs.map} +1 -1
  21. package/dist/{chunk-TNQNIB2J.mjs → chunk-HLSKVUU7.mjs} +2 -2
  22. package/dist/{chunk-TNQNIB2J.mjs.map → chunk-HLSKVUU7.mjs.map} +1 -1
  23. package/dist/{chunk-XQWBSH7P.js → chunk-JG75MOPD.js} +2 -2
  24. package/dist/{chunk-XQWBSH7P.js.map → chunk-JG75MOPD.js.map} +1 -1
  25. package/dist/{chunk-KXG3BFU7.mjs → chunk-NJLSO3IT.mjs} +2 -2
  26. package/dist/{chunk-KXG3BFU7.mjs.map → chunk-NJLSO3IT.mjs.map} +1 -1
  27. package/dist/{chunk-UPPUB7IM.js → chunk-SB5BEKH6.js} +2 -2
  28. package/dist/{chunk-UPPUB7IM.js.map → chunk-SB5BEKH6.js.map} +1 -1
  29. package/dist/{chunk-F4YMLQNT.mjs → chunk-UNHT2RU3.mjs} +4 -4
  30. package/dist/{chunk-F4YMLQNT.mjs.map → chunk-UNHT2RU3.mjs.map} +1 -1
  31. package/dist/{chunk-QGLO74KJ.js → chunk-UQHIWKDV.js} +2 -2
  32. package/dist/{chunk-QGLO74KJ.js.map → chunk-UQHIWKDV.js.map} +1 -1
  33. package/dist/{chunk-D4R3D7VX.mjs → chunk-VST5L5ZX.mjs} +2 -2
  34. package/dist/metafile-cjs.json +1 -1
  35. package/dist/metafile-esm.json +1 -1
  36. package/package.json +9 -9
  37. /package/dist/{chunk-D4R3D7VX.mjs.map → chunk-VST5L5ZX.mjs.map} +0 -0
@@ -1,15 +1,15 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkI6EXXZUNjs = require('./chunk-I6EXXZUN.js');var _chunkQGLO74KJjs = require('./chunk-QGLO74KJ.js');var _chunkXQWBSH7Pjs = require('./chunk-XQWBSH7P.js');var _chunkPOTPE56Bjs = require('./chunk-POTPE56B.js');var _chunkTMUNLKZWjs = require('./chunk-TMUNLKZW.js');var s6={};_chunkTMUNLKZWjs.a.call(void 0, s6,{AccessKeySinkSurface:()=>zn,AttachmentBar:()=>_chunkQGLO74KJjs.J,AudioContent:()=>vi,Avatar:()=>ly,BasicConnectivityStatus:()=>Ln,BasicSendBox:()=>_chunkQGLO74KJjs.fa,BasicSendBoxToolbar:()=>Mn,BasicToaster:()=>Bn,BasicTranscript:()=>qn,BasicWebChat:()=>Wn,Bubble:()=>ne,Composer:()=>Ro,DictationInterims:()=>_chunkQGLO74KJjs.K,ErrorBox:()=>dy,FileContent:()=>gi,HTMLVideoContent:()=>Xi,ImageContent:()=>Ai,LocalizedString:()=>Fi,MicrophoneButton:()=>_chunkQGLO74KJjs.T,ReactWebChat:()=>sy,SendButton:()=>_chunkQGLO74KJjs.U,SendStatus:()=>hn,SendTextBox:()=>_chunkQGLO74KJjs.da,SpeakActivity:()=>nn,SuggestedActions:()=>_chunkQGLO74KJjs.$,TextArea:()=>Xo,TextContent:()=>Vi,ThemeProvider:()=>fy,Timestamp:()=>Oo,UploadButton:()=>Nn,VideoContent:()=>en,VimeoContent:()=>Qi,YouTubeContent:()=>lr});var yy=Object.create,Ed=Object.defineProperty,hy=Object.getOwnPropertyDescriptor,vy=Object.getOwnPropertyNames,wy=Object.getPrototypeOf,gy=Object.prototype.hasOwnProperty,A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ay=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vy(e))!gy.call(t,i)&&i!==o&&Ed(t,i,{get:()=>e[i],enumerable:!(r=hy(e,i))||r.enumerable});return t},Vn=(t,e,o)=>(o=t!=null?yy(wy(t)):{},Ay(e||!t||!t.__esModule?Ed(o,"default",{value:t,enumerable:!0}):o,t));var mt=A((t,e)=>{"use strict";var o=function(r){return r&&r.Math===Math&&r};e.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof global=="object"&&global)||o(typeof t=="object"&&t)||(function(){return this})()||Function("return this")()}),ce=A((t,e)=>{"use strict";e.exports=function(o){try{return!!o()}catch (e3){return!0}}}),li=A((t,e)=>{"use strict";var o=ce();e.exports=!o(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")})}),jd=A((t,e)=>{"use strict";var o=li(),r=Function.prototype,i=r.apply,n=r.call;e.exports=typeof Reflect=="object"&&Reflect.apply||(o?n.bind(i):function(){return n.apply(i,arguments)})}),Ut=A((t,e)=>{"use strict";var o=li(),r=Function.prototype,i=r.call,n=o&&r.bind.bind(i,i);e.exports=o?n:function(a){return function(){return i.apply(a,arguments)}}}),di=A((t,e)=>{"use strict";var o=Ut(),r=o({}.toString),i=o("".slice);e.exports=function(n){return i(r(n),8,-1)}}),Rd=A((t,e)=>{"use strict";var o=di(),r=Ut();e.exports=function(i){if(o(i)==="Function")return r(i)}}),ht=A((t,e)=>{"use strict";var o=typeof document=="object"&&document.all;e.exports=typeof o>"u"&&o!==void 0?function(r){return typeof r=="function"||r===o}:function(r){return typeof r=="function"}}),Te=A((t,e)=>{"use strict";var o=ce();e.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),Jt=A((t,e)=>{"use strict";var o=li(),r=Function.prototype.call;e.exports=o?r.bind(r):function(){return r.apply(r,arguments)}}),xy=A(t=>{"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!e.call({1:2},1);t.f=r?function(i){var n=o(this,i);return!!n&&n.enumerable}:e}),Un=A((t,e)=>{"use strict";e.exports=function(o,r){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:r}}}),Sy=A((t,e)=>{"use strict";var o=Ut(),r=ce(),i=di(),n=Object,a=o("".split);e.exports=r(function(){return!n("z").propertyIsEnumerable(0)})?function(s){return i(s)==="String"?a(s,""):n(s)}:n}),pi=A((t,e)=>{"use strict";e.exports=function(o){return o==null}}),Jn=A((t,e)=>{"use strict";var o=pi(),r=TypeError;e.exports=function(i){if(o(i))throw new r("Can't call method on "+i);return i}}),Fd=A((t,e)=>{"use strict";var o=Sy(),r=Jn();e.exports=function(i){return o(r(i))}}),le=A((t,e)=>{"use strict";var o=ht();e.exports=function(r){return typeof r=="object"?r!==null:o(r)}}),ui=A((t,e)=>{"use strict";e.exports={}}),Ge=A((t,e)=>{"use strict";var o=ui(),r=mt(),i=ht(),n=function(a){return i(a)?a:void 0};e.exports=function(a,s){return arguments.length<2?n(o[a])||n(r[a]):o[a]&&o[a][s]||r[a]&&r[a][s]}}),Zn=A((t,e)=>{"use strict";var o=Ut();e.exports=o({}.isPrototypeOf)}),Go=A((t,e)=>{"use strict";var o=mt(),r=o.navigator,i=r&&r.userAgent;e.exports=i?String(i):""}),Dd=A((t,e)=>{"use strict";var o=mt(),r=Go(),i=o.process,n=o.Deno,a=i&&i.versions||n&&n.version,s=a&&a.v8,c,l;s&&(c=s.split("."),l=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!l&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(l=+c[1]))),e.exports=l}),qd=A((t,e)=>{"use strict";var o=Dd(),r=ce(),i=mt(),n=i.String;e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var a=Symbol("symbol detection");return!n(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&o&&o<41})}),zd=A((t,e)=>{"use strict";var o=qd();e.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Wd=A((t,e)=>{"use strict";var o=Ge(),r=ht(),i=Zn(),n=zd(),a=Object;e.exports=n?function(s){return typeof s=="symbol"}:function(s){var c=o("Symbol");return r(c)&&i(c.prototype,a(s))}}),mi=A((t,e)=>{"use strict";var o=String;e.exports=function(r){try{return o(r)}catch (e7){return"Object"}}}),ke=A((t,e)=>{"use strict";var o=ht(),r=mi(),i=TypeError;e.exports=function(n){if(o(n))return n;throw new i(r(n)+" is not a function")}}),Xn=A((t,e)=>{"use strict";var o=ke(),r=pi();e.exports=function(i,n){var a=i[n];return r(a)?void 0:o(a)}}),Cy=A((t,e)=>{"use strict";var o=Jt(),r=ht(),i=le(),n=TypeError;e.exports=function(a,s){var c,l;if(s==="string"&&r(c=a.toString)&&!i(l=o(c,a))||r(c=a.valueOf)&&!i(l=o(c,a))||s!=="string"&&r(c=a.toString)&&!i(l=o(c,a)))return l;throw new n("Can't convert object to primitive value")}}),Ho=A((t,e)=>{"use strict";e.exports=!0}),Ty=A((t,e)=>{"use strict";var o=mt(),r=Object.defineProperty;e.exports=function(i,n){try{r(o,i,{value:n,configurable:!0,writable:!0})}catch (e8){o[i]=n}return n}}),fi=A((t,e)=>{"use strict";var o=Ho(),r=mt(),i=Ty(),n="__core-js_shared__",a=e.exports=r[n]||i(n,{});(a.versions||(a.versions=[])).push({version:"3.49.0",mode:o?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Kd=A((t,e)=>{"use strict";var o=fi();e.exports=function(r,i){return o[r]||(o[r]=i||{})}}),ky=A((t,e)=>{"use strict";var o=Jn(),r=Object;e.exports=function(i){return r(o(i))}}),co=A((t,e)=>{"use strict";var o=Ut(),r=ky(),i=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(n,a){return i(r(n),a)}}),Gd=A((t,e)=>{"use strict";var o=Ut(),r=0,i=Math.random(),n=o(1.1.toString);e.exports=function(a){return"Symbol("+(a===void 0?"":a)+")_"+n(++r+i,36)}}),Zt=A((t,e)=>{"use strict";var o=mt(),r=Kd(),i=co(),n=Gd(),a=qd(),s=zd(),c=o.Symbol,l=r("wks"),d=s?c.for||c:c&&c.withoutSetter||n;e.exports=function(p){return i(l,p)||(l[p]=a&&i(c,p)?c[p]:d("Symbol."+p)),l[p]}}),Iy=A((t,e)=>{"use strict";var o=Jt(),r=le(),i=Wd(),n=Xn(),a=Cy(),s=Zt(),c=TypeError,l=s("toPrimitive");e.exports=function(d,p){if(!r(d)||i(d))return d;var m=n(d,l),u;if(m){if(p===void 0&&(p="default"),u=o(m,d,p),!r(u)||i(u))return u;throw new c("Can't convert object to primitive value")}return p===void 0&&(p="number"),a(d,p)}}),Hd=A((t,e)=>{"use strict";var o=Iy(),r=Wd();e.exports=function(i){var n=o(i,"string");return r(n)?n:n+""}}),Yd=A((t,e)=>{"use strict";var o=mt(),r=le(),i=o.document,n=r(i)&&r(i.createElement);e.exports=function(a){return n?i.createElement(a):{}}}),Vd=A((t,e)=>{"use strict";var o=Te(),r=ce(),i=Yd();e.exports=!o&&!r(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!==7})}),Oy=A(t=>{"use strict";var e=Te(),o=Jt(),r=xy(),i=Un(),n=Fd(),a=Hd(),s=co(),c=Vd(),l=Object.getOwnPropertyDescriptor;t.f=e?l:function(d,p){if(d=n(d),p=a(p),c)try{return l(d,p)}catch (e9){}if(s(d,p))return i(!o(r.f,d,p),d[p])}}),Ud=A((t,e)=>{"use strict";var o=ce(),r=ht(),i=/#|\.prototype\./,n=function(d,p){var m=s[a(d)];return m===l?!0:m===c?!1:r(p)?o(p):!!p},a=n.normalize=function(d){return String(d).replace(i,".").toLowerCase()},s=n.data={},c=n.NATIVE="N",l=n.POLYFILL="P";e.exports=n}),bi=A((t,e)=>{"use strict";var o=Rd(),r=ke(),i=li(),n=o(o.bind);e.exports=function(a,s){return r(a),s===void 0?a:i?n(a,s):function(){return a.apply(s,arguments)}}}),Ny=A((t,e)=>{"use strict";var o=Te(),r=ce();e.exports=o&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}),lo=A((t,e)=>{"use strict";var o=le(),r=String,i=TypeError;e.exports=function(n){if(o(n))return n;throw new i(r(n)+" is not an object")}}),_i=A(t=>{"use strict";var e=Te(),o=Vd(),r=Ny(),i=lo(),n=Hd(),a=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",p="writable";t.f=e?r?function(m,u,f){if(i(m),u=n(u),i(f),typeof m=="function"&&u==="prototype"&&"value"in f&&p in f&&!f[p]){var b=c(m,u);b&&b[p]&&(m[u]=f.value,f={configurable:d in f?f[d]:b[d],enumerable:l in f?f[l]:b[l],writable:!1})}return s(m,u,f)}:s:function(m,u,f){if(i(m),u=n(u),i(f),o)try{return s(m,u,f)}catch (e10){}if("get"in f||"set"in f)throw new a("Accessors not supported");return"value"in f&&(m[u]=f.value),m}}),yi=A((t,e)=>{"use strict";var o=Te(),r=_i(),i=Un();e.exports=o?function(n,a,s){return r.f(n,a,i(1,s))}:function(n,a,s){return n[a]=s,n}}),Ie=A((t,e)=>{"use strict";var o=mt(),r=jd(),i=Rd(),n=ht(),a=Oy().f,s=Ud(),c=ui(),l=bi(),d=yi(),p=co();fi();var m=function(u){var f=function(b,y,v){if(this instanceof f){switch(arguments.length){case 0:return new u;case 1:return new u(b);case 2:return new u(b,y)}return new u(b,y,v)}return r(u,this,arguments)};return f.prototype=u.prototype,f};e.exports=function(u,f){var b=u.target,y=u.global,v=u.stat,h=u.proto,x=y?o:v?o[b]:o[b]&&o[b].prototype,w=y?c:c[b]||d(c,b,{})[b],g=w.prototype,k,I,_,S,N,B,L,z,W;for(S in f)k=s(y?S:b+(v?".":"#")+S,u.forced),I=!k&&x&&p(x,S),B=w[S],I&&(u.dontCallGetSet?(W=a(x,S),L=W&&W.value):L=x[S]),N=I&&L?L:f[S],!(!k&&!h&&typeof B==typeof N)&&(u.bind&&I?z=l(N,o):u.wrap&&I?z=m(N):h&&n(N)?z=i(N):z=N,(u.sham||N&&N.sham||B&&B.sham)&&d(z,"sham",!0),d(w,S,z),h&&(_=b+"Prototype",p(c,_)||d(c,_,{}),d(c[_],S,N),u.real&&g&&(k||!g[S])&&d(g,S,N)))}}),My=A((t,e)=>{"use strict";e.exports=function(){}}),Py=A((t,e)=>{"use strict";var o=TypeError,r=9007199254740991;e.exports=function(i){if(i>r)throw new o("Maximum allowed index exceeded");return i}}),Ey=A((t,e)=>{"use strict";var o=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(i){var n=+i;return(n>0?r:o)(n)}}),Qn=A((t,e)=>{"use strict";var o=Ey();e.exports=function(r){var i=+r;return i!==i||i===0?0:o(i)}}),Ly=A((t,e)=>{"use strict";var o=Qn(),r=Math.min;e.exports=function(i){var n=o(i);return n>0?r(n,9007199254740991):0}}),Jd=A((t,e)=>{"use strict";var o=Ly();e.exports=function(r){return o(r.length)}}),By=A((t,e)=>{"use strict";var o=Qn(),r=Math.max,i=Math.min;e.exports=function(n,a){var s=o(n);return s<0?r(s+a,0):i(s,a)}}),jy=A((t,e)=>{"use strict";var o=Te(),r=_i(),i=Un();e.exports=function(n,a,s){o?r.f(n,a,i(0,s)):n[a]=s}}),Zd=A(()=>{"use strict";var t=Ie(),e=My(),o=Py(),r=Jd(),i=By(),n=Fd(),a=Qn(),s=jy(),c=Array,l=Math.max,d=Math.min;t({target:"Array",proto:!0},{toSpliced:function(p,m){var u=n(this),f=r(u),b=i(p,f),y=arguments.length,v=0,h,x,w,g;for(y===0?h=x=0:y===1?(h=0,x=f-b):(h=y-2,x=d(l(a(m),0),f-b)),w=o(f+h-x),g=c(w);v<b;v++)s(g,v,u[v]);for(;v<b+h;v++)s(g,v,arguments[v-b+2]);for(;v<w;v++)s(g,v,u[v+x-h]);return g}}),e("toSpliced")}),Ry=A((t,e)=>{"use strict";var o=Ge();e.exports=o}),Fy=A((t,e)=>{"use strict";Zd();var o=Ry();e.exports=o("Array","toSpliced")}),Dy=A((t,e)=>{"use strict";var o=Fy();e.exports=o}),qy=A(()=>{"use strict";Zd()}),zy=A((t,e)=>{"use strict";var o=Dy();qy(),e.exports=o}),Wy=A((t,e)=>{"use strict";var o=zy();e.exports=o}),Ky=A((t,e)=>{"use strict";e.exports=Wy()}),Xd=A((t,e)=>{"use strict";var o=mt(),r=Go(),i=di(),n=function(a){return r.slice(0,a.length)===a};e.exports=(function(){return n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":o.Bun&&typeof Bun.version=="string"?"BUN":o.Deno&&typeof Deno.version=="object"?"DENO":i(o.process)==="process"?"NODE":o.window&&o.document?"BROWSER":"REST"})()}),$n=A((t,e)=>{"use strict";var o=Xd();e.exports=o==="NODE"}),Qd=A((t,e)=>{"use strict";var o=yi();e.exports=function(r,i,n,a){return a&&a.enumerable?r[i]=n:o(r,i,n),r}}),Gy=A((t,e)=>{"use strict";var o=Ut(),r=ke();e.exports=function(i,n,a){try{return o(r(Object.getOwnPropertyDescriptor(i,n)[a]))}catch (e11){}}}),Hy=A((t,e)=>{"use strict";var o=le();e.exports=function(r){return o(r)||r===null}}),Yy=A((t,e)=>{"use strict";var o=Hy(),r=String,i=TypeError;e.exports=function(n){if(o(n))return n;throw new i("Can't set "+r(n)+" as a prototype")}}),Vy=A((t,e)=>{"use strict";var o=Gy(),r=le(),i=Jn(),n=Yy();e.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var a=!1,s={},c;try{c=o(Object.prototype,"__proto__","set"),c(s,[]),a=s instanceof Array}catch (e12){}return function(l,d){return i(l),n(d),r(l)&&(a?c(l,d):l.__proto__=d),l}})():void 0)}),ta=A((t,e)=>{"use strict";var o=Zt(),r=o("toStringTag"),i={};i[r]="z",e.exports=String(i)==="[object z]"}),ea=A((t,e)=>{"use strict";var o=ta(),r=ht(),i=di(),n=Zt(),a=n("toStringTag"),s=Object,c=i((function(){return arguments})())==="Arguments",l=function(d,p){try{return d[p]}catch (e13){}};e.exports=o?i:function(d){var p,m,u;return d===void 0?"Undefined":d===null?"Null":typeof(m=l(p=s(d),a))=="string"?m:c?i(p):(u=i(p))==="Object"&&r(p.callee)?"Arguments":u}}),Uy=A((t,e)=>{"use strict";var o=ta(),r=ea();e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}}),Jy=A((t,e)=>{"use strict";var o=ta(),r=_i().f,i=yi(),n=co(),a=Uy(),s=Zt(),c=s("toStringTag");e.exports=function(l,d,p,m){var u=p?l:l&&l.prototype;u&&(n(u,c)||r(u,c,{configurable:!0,value:d}),m&&!o&&i(u,"toString",a))}}),Zy=A((t,e)=>{"use strict";var o=_i();e.exports=function(r,i,n){return o.f(r,i,n)}}),Xy=A((t,e)=>{"use strict";var o=Ge(),r=Zy(),i=Zt(),n=Te(),a=i("species");e.exports=function(s){var c=o(s);n&&c&&!c[a]&&r(c,a,{configurable:!0,get:function(){return this}})}}),Qy=A((t,e)=>{"use strict";var o=Zn(),r=TypeError;e.exports=function(i,n){if(o(n,i))return i;throw new r("Incorrect invocation")}}),$d=A((t,e)=>{"use strict";var o=Ut(),r=ht(),i=fi(),n=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(a){return n(a)}),e.exports=i.inspectSource}),$y=A((t,e)=>{"use strict";var o=Ut(),r=ce(),i=ht(),n=ea(),a=Ge(),s=$d(),c=function(){},l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=o(d.exec),m=!d.test(c),u=function(b){if(!i(b))return!1;try{return l(c,[],b),!0}catch (e14){return!1}},f=function(b){if(!i(b))return!1;switch(n(b)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!p(d,s(b))}catch (e15){return!0}};f.sham=!0,e.exports=!l||r(function(){var b;return u(u.call)||!u(Object)||!u(function(){b=!0})||b})?f:u}),th=A((t,e)=>{"use strict";var o=$y(),r=mi(),i=TypeError;e.exports=function(n){if(o(n))return n;throw new i(r(n)+" is not a constructor")}}),eh=A((t,e)=>{"use strict";var o=lo(),r=th(),i=pi(),n=Zt(),a=n("species");e.exports=function(s,c){var l=o(s).constructor,d;return l===void 0||i(d=o(l)[a])?c:r(d)}}),oh=A((t,e)=>{"use strict";var o=Ge();e.exports=o("document","documentElement")}),rh=A((t,e)=>{"use strict";var o=Ut();e.exports=o([].slice)}),ih=A((t,e)=>{"use strict";var o=TypeError;e.exports=function(r,i){if(r<i)throw new o("Not enough arguments");return r}}),tp=A((t,e)=>{"use strict";var o=Go();e.exports=/ipad|iphone|ipod/i.test(o)&&/applewebkit/i.test(o)}),ep=A((t,e)=>{"use strict";var o=mt(),r=jd(),i=bi(),n=ht(),a=co(),s=ce(),c=oh(),l=rh(),d=Yd(),p=ih(),m=tp(),u=$n(),f=o.setImmediate,b=o.clearImmediate,y=o.process,v=o.Dispatch,h=o.Function,x=o.MessageChannel,w=o.String,g=0,k={},I="onreadystatechange",_,S,N,B;s(function(){_=o.location});var L=function(T){if(a(k,T)){var R=k[T];delete k[T],R()}},z=function(T){return function(){L(T)}},W=function(T){L(T.data)},K=function(T){o.postMessage(w(T),_.protocol+"//"+_.host)};(!f||!b)&&(f=function(T){p(arguments.length,1);var R=n(T)?T:h(T),O=l(arguments,1);return k[++g]=function(){r(R,void 0,O)},S(g),g},b=function(T){delete k[T]},u?S=function(T){y.nextTick(z(T))}:v&&v.now?S=function(T){v.now(z(T))}:x&&!m?(N=new x,B=N.port2,N.port1.onmessage=W,S=i(B.postMessage,B)):o.addEventListener&&n(o.postMessage)&&!o.importScripts&&_&&_.protocol!=="file:"&&!s(K)?(S=K,o.addEventListener("message",W,!1)):I in d("script")?S=function(T){c.appendChild(d("script"))[I]=function(){c.removeChild(this),L(T)}}:S=function(T){setTimeout(z(T),0)}),e.exports={set:f,clear:b}}),nh=A((t,e)=>{"use strict";var o=mt(),r=Te(),i=Object.getOwnPropertyDescriptor;e.exports=function(n){if(!r)return o[n];var a=i(o,n);return a&&a.value}}),op=A((t,e)=>{"use strict";var o=function(){this.head=null,this.tail=null};o.prototype={add:function(r){var i={item:r,next:null},n=this.tail;n?n.next=i:this.head=i,this.tail=i},get:function(){var r=this.head;if(r){var i=this.head=r.next;return i===null&&(this.tail=null),r.item}}},e.exports=o}),ah=A((t,e)=>{"use strict";var o=Go();e.exports=/ipad|iphone|ipod/i.test(o)&&typeof Pebble<"u"}),sh=A((t,e)=>{"use strict";var o=Go();e.exports=/web0s(?!.*chrome)/i.test(o)}),ch=A((t,e)=>{"use strict";var o=mt(),r=nh(),i=bi(),n=ep().set,a=op(),s=tp(),c=ah(),l=sh(),d=$n(),p=o.MutationObserver||o.WebKitMutationObserver,m=o.document,u=o.process,f=o.Promise,b=r("queueMicrotask"),y,v,h,x,w;b||(g=new a,k=function(){var I,_;for(d&&(I=u.domain)&&I.exit();_=g.get();)try{_()}catch(S){throw g.head&&y(),S}I&&I.enter()},!s&&!d&&!l&&p&&m?(v=!0,h=m.createTextNode(""),new p(k).observe(h,{characterData:!0}),y=function(){h.data=v=!v}):!c&&f&&f.resolve?(x=f.resolve(void 0),x.constructor=f,w=i(x.then,x),y=function(){w(k)}):d?y=function(){u.nextTick(k)}:(n=i(n,o),y=function(){n(k)}),b=function(I){g.head||y(),g.add(I)});var g,k;e.exports=b}),lh=A((t,e)=>{"use strict";e.exports=function(o,r){try{arguments.length===1?console.error(o):console.error(o,r)}catch (e16){}}}),oa=A((t,e)=>{"use strict";e.exports=function(o){try{return{error:!1,value:o()}}catch(r){return{error:!0,value:r}}}}),dh=A((t,e)=>{"use strict";var o=mt(),r=ht(),i=o.WeakMap;e.exports=r(i)&&/native code/.test(String(i))}),ph=A((t,e)=>{"use strict";var o=Kd(),r=Gd(),i=o("keys");e.exports=function(n){return i[n]||(i[n]=r(n))}}),uh=A((t,e)=>{"use strict";e.exports={}}),mh=A((t,e)=>{"use strict";var o=dh(),r=mt(),i=le(),n=yi(),a=co(),s=fi(),c=ph(),l=uh(),d="Object already initialized",p=r.TypeError,m=r.WeakMap,u,f,b,y=function(w){return b(w)?f(w):u(w,{})},v=function(w){return function(g){var k;if(!i(g)||(k=f(g)).type!==w)throw new p("Incompatible receiver, "+w+" required");return k}};o||s.state?(h=s.state||(s.state=new m),h.get=h.get,h.has=h.has,h.set=h.set,u=function(w,g){if(h.has(w))throw new p(d);return g.facade=w,h.set(w,g),g},f=function(w){return h.get(w)||{}},b=function(w){return h.has(w)}):(x=c("state"),l[x]=!0,u=function(w,g){if(a(w,x))throw new p(d);return g.facade=w,n(w,x,g),g},f=function(w){return a(w,x)?w[x]:{}},b=function(w){return a(w,x)});var h,x;e.exports={set:u,get:f,has:b,enforce:y,getterFor:v}}),Yo=A((t,e)=>{"use strict";var o=mt();e.exports=o.Promise}),Vo=A((t,e)=>{"use strict";var o=mt(),r=Yo(),i=ht(),n=Ud(),a=$d(),s=Zt(),c=Xd(),l=Ho(),d=Dd(),p=r&&r.prototype,m=s("species"),u=!1,f=i(o.PromiseRejectionEvent),b=n("Promise",function(){var y=a(r),v=y!==String(r);if(!v&&d===66||l&&!(p.catch&&p.finally))return!0;if(!d||d<51||!/native code/.test(y)){var h=new r(function(g){g(1)}),x=function(g){g(function(){},function(){})},w=h.constructor={};if(w[m]=x,u=h.then(function(){})instanceof x,!u)return!0}return!v&&(c==="BROWSER"||c==="DENO")&&!f});e.exports={CONSTRUCTOR:b,REJECTION_EVENT:f,SUBCLASSING:u}}),po=A((t,e)=>{"use strict";var o=ke(),r=TypeError,i=function(n){var a,s;this.promise=new n(function(c,l){if(a!==void 0||s!==void 0)throw new r("Bad Promise constructor");a=c,s=l}),this.resolve=o(a),this.reject=o(s)};e.exports.f=function(n){return new i(n)}}),fh=A(()=>{"use strict";var t=Ie(),e=Ho(),o=$n(),r=mt(),i=ui(),n=Jt(),a=Qd(),s=Vy(),c=Jy(),l=Xy(),d=ke(),p=ht(),m=le(),u=Qy(),f=eh(),b=ep().set,y=ch(),v=lh(),h=oa(),x=op(),w=mh(),g=Yo(),k=Vo(),I=po(),_="Promise",S=k.CONSTRUCTOR,N=k.REJECTION_EVENT,B=k.SUBCLASSING,L=w.getterFor(_),z=w.set,W=g&&g.prototype,K=g,T=W,R=r.TypeError,O=r.document,j=r.process,G=I.f,q=G,Y=!!(O&&O.createEvent&&r.dispatchEvent),M="unhandledrejection",U="rejectionhandled",V=0,et=1,pt=2,ft=1,gt=2,ut,rt,vt,Ft,io=function(P){var J;return m(P)&&p(J=P.then)?J:!1},zr=function(P,J){var Q=J.value,$=J.state===et,ct=$?P.ok:P.fail,We=P.resolve,Ke=P.reject,ve=P.domain,we,Hr,Yr;try{ct?($||(J.rejection===gt&&Gn(J),J.rejection=ft),ct===!0?we=Q:(ve&&ve.enter(),we=ct(Q),ve&&(ve.exit(),Yr=!0)),we===P.promise?Ke(new R("Promise-chain cycle")):(Hr=io(we))?n(Hr,we,We,Ke):We(we)):Ke(Q)}catch(by){ve&&!Yr&&ve.exit(),Ke(by)}},Wr=function(P,J){P.notified||(P.notified=!0,y(function(){for(var Q=P.reactions,$;$=Q.get();)zr($,P);P.notified=!1,J&&!P.rejection&&Kn(P)}))},Kr=function(P,J,Q){var $,ct;Y?($=O.createEvent("Event"),$.promise=J,$.reason=Q,$.initEvent(P,!1,!0),r.dispatchEvent($)):$={promise:J,reason:Q},!N&&(ct=r["on"+P])?ct($):P===M&&v("Unhandled promise rejection",Q)},Kn=function(P){n(b,r,function(){var J=P.facade,Q=P.value,$=Gr(P),ct;if($&&(ct=h(function(){o?j.emit("unhandledRejection",Q,J):Kr(M,J,Q)}),P.rejection=o||Gr(P)?gt:ft,ct.error))throw ct.value})},Gr=function(P){return P.rejection!==ft&&!P.parent},Gn=function(P){n(b,r,function(){var J=P.facade;o?j.emit("rejectionHandled",J):Kr(U,J,P.value)})},ye=function(P,J,Q){return function($){P(J,$,Q)}},he=function(P,J,Q){P.done||(P.done=!0,Q&&(P=Q),P.value=J,P.state=pt,Wr(P,!0))},Fo=function(P,J,Q){if(!P.done){P.done=!0,Q&&(P=Q);try{if(P.facade===J)throw new R("Promise can't be resolved itself");var $=io(J);$?y(function(){var ct={done:!1};try{n($,J,ye(Fo,ct,P),ye(he,ct,P))}catch(We){he(ct,We,P)}}):(P.value=J,P.state=et,Wr(P,!1))}catch(ct){he({done:!1},ct,P)}}};if(S&&(K=function(P){u(this,T),d(P),n(ut,this);var J=L(this);try{P(ye(Fo,J),ye(he,J))}catch(Q){he(J,Q)}},T=K.prototype,ut=function(P){z(this,{type:_,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:V,value:null})},ut.prototype=a(T,"then",function(P,J){var Q=L(this),$=G(f(this,K));return Q.parent=!0,$.ok=p(P)?P:!0,$.fail=p(J)&&J,$.domain=o?j.domain:void 0,Q.state===V?Q.reactions.add($):y(function(){zr($,Q)}),$.promise}),rt=function(){var P=new ut,J=L(P);this.promise=P,this.resolve=ye(Fo,J),this.reject=ye(he,J)},I.f=G=function(P){return P===K||P===vt?new rt(P):q(P)},!e&&p(g)&&W!==Object.prototype)){Ft=W.then,B||a(W,"then",function(P,J){var Q=this;return new K(function($,ct){n(Ft,Q,$,ct)}).then(P,J)},{unsafe:!0});try{delete W.constructor}catch (e17){}s&&s(W,T)}t({global:!0,constructor:!0,wrap:!0,forced:S},{Promise:K}),vt=i.Promise,c(K,_,!1,!0),l(_)}),rp=A((t,e)=>{"use strict";e.exports={}}),bh=A((t,e)=>{"use strict";var o=Zt(),r=rp(),i=o("iterator"),n=Array.prototype;e.exports=function(a){return a!==void 0&&(r.Array===a||n[i]===a)}}),ip=A((t,e)=>{"use strict";var o=ea(),r=Xn(),i=pi(),n=rp(),a=Zt(),s=a("iterator");e.exports=function(c){if(!i(c))return r(c,s)||r(c,"@@iterator")||n[o(c)]}}),_h=A((t,e)=>{"use strict";var o=Jt(),r=ke(),i=lo(),n=mi(),a=ip(),s=TypeError;e.exports=function(c,l){var d=arguments.length<2?a(c):l;if(r(d))return i(o(d,c));throw new s(n(c)+" is not iterable")}}),yh=A((t,e)=>{"use strict";var o=Jt(),r=lo(),i=Xn();e.exports=function(n,a,s){var c,l;r(n);try{if(c=i(n,"return"),!c){if(a==="throw")throw s;return s}c=o(c,n)}catch(d){l=!0,c=d}if(a==="throw")throw s;if(l)throw c;return r(c),s}}),np=A((t,e)=>{"use strict";var o=bi(),r=Jt(),i=lo(),n=mi(),a=bh(),s=Jd(),c=Zn(),l=_h(),d=ip(),p=yh(),m=TypeError,u=function(b,y){this.stopped=b,this.result=y},f=u.prototype;e.exports=function(b,y,v){var h=v&&v.that,x=!!(v&&v.AS_ENTRIES),w=!!(v&&v.IS_RECORD),g=!!(v&&v.IS_ITERATOR),k=!!(v&&v.INTERRUPTED),I=o(y,h),_,S,N,B,L,z,W,K=function(O){var j=_;return _=void 0,j&&p(j,"normal"),new u(!0,O)},T=function(O){return x?(i(O),k?I(O[0],O[1],K):I(O[0],O[1])):k?I(O,K):I(O)};if(w)_=b.iterator;else if(g)_=b;else{if(S=d(b),!S)throw new m(n(b)+" is not iterable");if(a(S)){for(N=0,B=s(b);B>N;N++)if(L=T(b[N]),L&&c(f,L))return L;return new u(!1)}_=l(b,S)}for(z=w?b.next:_.next;!(W=r(z,_)).done;){var R=W.value;try{L=T(R)}catch(O){if(_)p(_,"throw",O);else throw O}if(typeof L=="object"&&L&&c(f,L))return L}return new u(!1)}}),hh=A((t,e)=>{"use strict";var o=Zt(),r=o("iterator"),i=!1;try{n=0,a={next:function(){return{done:!!n++}},return:function(){i=!0}},a[r]=function(){return this},Array.from(a,function(){throw 2})}catch (e18){}var n,a;e.exports=function(s,c){try{if(!c&&!i)return!1}catch (e19){return!1}var l=!1;try{var d={};d[r]=function(){return{next:function(){return{done:l=!0}}}},s(d)}catch (e20){}return l}}),ap=A((t,e)=>{"use strict";var o=Yo(),r=hh(),i=Vo().CONSTRUCTOR;e.exports=i||!r(function(n){o.all(n).then(void 0,function(){})})}),vh=A(()=>{"use strict";var t=Ie(),e=Jt(),o=ke(),r=po(),i=oa(),n=np(),a=ap();t({target:"Promise",stat:!0,forced:a},{all:function(s){var c=this,l=r.f(c),d=l.resolve,p=l.reject,m=i(function(){var u=o(c.resolve),f=[],b=0,y=1;n(s,function(v){var h=b++,x=!1;y++,e(u,c,v).then(function(w){x||(x=!0,f[h]=w,--y||d(f))},p)}),--y||d(f)});return m.error&&p(m.value),l.promise}})}),wh=A(()=>{"use strict";var t=Ie(),e=Ho(),o=Vo().CONSTRUCTOR,r=Yo(),i=Ge(),n=ht(),a=Qd(),s=r&&r.prototype;t({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&n(r)&&(c=i("Promise").prototype.catch,s.catch!==c&&a(s,"catch",c,{unsafe:!0}));var c}),gh=A(()=>{"use strict";var t=Ie(),e=Jt(),o=ke(),r=po(),i=oa(),n=np(),a=ap();t({target:"Promise",stat:!0,forced:a},{race:function(s){var c=this,l=r.f(c),d=l.reject,p=i(function(){var m=o(c.resolve);n(s,function(u){e(m,c,u).then(l.resolve,d)})});return p.error&&d(p.value),l.promise}})}),Ah=A(()=>{"use strict";var t=Ie(),e=po(),o=Vo().CONSTRUCTOR;t({target:"Promise",stat:!0,forced:o},{reject:function(r){var i=e.f(this),n=i.reject;return n(r),i.promise}})}),xh=A((t,e)=>{"use strict";var o=lo(),r=le(),i=po();e.exports=function(n,a){if(o(n),r(a)&&a.constructor===n)return a;var s=i.f(n),c=s.resolve;return c(a),s.promise}}),Sh=A(()=>{"use strict";var t=Ie(),e=Ge(),o=Ho(),r=Yo(),i=Vo().CONSTRUCTOR,n=xh(),a=e("Promise"),s=o&&!i;t({target:"Promise",stat:!0,forced:o||i},{resolve:function(c){return n(s&&this===a?r:this,c)}})}),Ch=A(()=>{"use strict";fh(),vh(),wh(),gh(),Ah(),Sh()}),sp=A(()=>{"use strict";var t=Ie(),e=po();t({target:"Promise",stat:!0},{withResolvers:function(){var o=e.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})}),Th=A((t,e)=>{"use strict";Ch(),sp();var o=Jt(),r=ht(),i=ui(),n=i.Promise,a=n.withResolvers;e.exports=function(){return o(a,r(this)?this:n)}}),kh=A((t,e)=>{"use strict";var o=Th();e.exports=o}),Ih=A(()=>{"use strict";sp()}),Oh=A((t,e)=>{"use strict";var o=kh();Ih(),e.exports=o}),Nh=A((t,e)=>{"use strict";var o=Oh();e.exports=o}),Mh=A((t,e)=>{"use strict";e.exports=Nh()});function Ph(t){return t.replace(/[A-Z]+(?![a-z])|[A-Z]/gu,(e,o)=>(o?"-":"")+e.toLowerCase())}function Ld(t,e){try{let{document:o}=globalThis;if(typeof o<"u"&&o.createElement&&o.head&&o.head.appendChild){let r=o.querySelector(`html meta[name="${encodeURI(t)}"]`)||o.createElement("meta");r.setAttribute("name",t),r.setAttribute("content",typeof e=="string"?e:Array.from(e.entries()).map(([i,n])=>{let a=Ph(encodeURIComponent(i));return typeof n>"u"?a:`${a}=${encodeURIComponent(n)}`}).join("; ")),o.head.appendChild(r)}}catch (e21){}}var Ce,Wo,Ko,ci,cp,Bd,Eh=(Bd=class{constructor(t){_chunkTMUNLKZWjs.d.call(void 0, this,ci);_chunkTMUNLKZWjs.d.call(void 0, this,Ce,new Map);_chunkTMUNLKZWjs.d.call(void 0, this,Wo);_chunkTMUNLKZWjs.d.call(void 0, this,Ko,{});_chunkTMUNLKZWjs.e.call(void 0, this,Wo,t)}get name(){return _chunkTMUNLKZWjs.c.call(void 0, this,Wo)}get object(){return _chunkTMUNLKZWjs.c.call(void 0, this,Ko)}get version(){return _chunkTMUNLKZWjs.c.call(void 0, this,Ce).get("version")}delete(t){_chunkTMUNLKZWjs.c.call(void 0, this,Ce).delete(t)}get(t){return _chunkTMUNLKZWjs.c.call(void 0, this,Ce).get(t)}set(t,e){_chunkTMUNLKZWjs.c.call(void 0, this,Ce).set(t,e),Object.defineProperty(_chunkTMUNLKZWjs.c.call(void 0, this,Ko),t,{configurable:!0,enumerable:!0,value:e,writable:!1}),_chunkTMUNLKZWjs.f.call(void 0, this,ci,cp).call(this)}},Ce=new WeakMap,Wo=new WeakMap,Ko=new WeakMap,ci=new WeakSet,cp=function(){Ld(this.name,_chunkTMUNLKZWjs.c.call(void 0, this,Ce)),this.version&&Ld(`${this.name}:version`,this.version)},Bd);function Lh(t){return new Eh(t)}var d6=Lh;function Bh(t){let e=!1;return(...o)=>{e||(t(...o),e=!0)}}function lp(t){return Bh((...e)=>console.warn(`botframework-webchat: ${t}`,...e))}var p6=Object.freeze(Array.from(new Set([...Object.getOwnPropertyNames(Object.prototype),"prototype"])));var u6=Object.prototype;var jh=Object.freeze([]);function Xt(t){return typeof t>"u"?jh:Object.freeze(Array.isArray(t)?[...t]:[t])}var m6=Vn(Ky());var f6=Vn(Mh());var _botframeworkwebchatapi = require('botframework-webchat-api');var _decoratorjs = require('botframework-webchat-api/decorator.js');var _internaljs = require('botframework-webchat-core/internal.js');var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);var _proptypes = require('prop-types'); var _proptypes2 = _interopRequireDefault(_proptypes);var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _reactsay = require('react-say'); var _reactsay2 = _interopRequireDefault(_reactsay);var _valibot = require('valibot');var Wh=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),poster:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),src:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function Kh(t){let{alt:e,autoPlay:o=!1,loop:r=!1,src:i}=_chunkTMUNLKZWjs.h.call(void 0, Wh,t),[{audioContent:n}]=_chunkQGLO74KJjs.c.call(void 0, );return _react2.default.createElement("audio",{"aria-label":e,autoPlay:o,className:n,controls:!0,loop:r,src:i})}var vi=_react.memo.call(void 0, Kh);var up=({attachment:t})=>{let[{audioAttachment:e}]=_chunkQGLO74KJjs.c.call(void 0, );return _react2.default.createElement("div",{className:e},_react2.default.createElement(vi,{alt:t.name,src:t.contentUrl}))};up.propTypes={attachment:_proptypes2.default.shape({contentUrl:_proptypes2.default.string.isRequired,name:_proptypes2.default.string}).isRequired};var mp=up;var{useByteFormatter:wp,useDirection:Vh,useLocalizer:Uh}=_botframeworkwebchatapi.hooks,Jh={display:"flex","& .webchat__fileContent__buttonLink":{display:"flex",flex:1},"& .webchat__fileContent__badge":{display:"flex",flex:1,flexDirection:"column"}},Zh=["blob:","data:","http:","https:"];function Xh(t){try{return Zh.includes(new URL(t).protocol)}catch (e22){return!1}}var Qh=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {downloadIcon:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),fileName:_valibot.string.call(void 0, ),size:_valibot.optional.call(void 0, _valibot.number.call(void 0, ))}),_valibot.readonly.call(void 0, )),fp=t=>{let{downloadIcon:e=!1,fileName:o,size:r}=_chunkTMUNLKZWjs.h.call(void 0, Qh,t),[i]=Vh(),n=wp(),a=typeof r=="number"&&n(r);return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__fileContent__badge"},_react2.default.createElement("div",{className:"webchat__fileContent__fileName"},o),!!a&&_react2.default.createElement("div",{className:"webchat__fileContent__size"},a)),e&&_react2.default.createElement(_chunkPOTPE56Bjs.e,{appearance:"text",className:_classnames2.default.call(void 0, "webchat__fileContent__downloadIcon",i==="rtl"&&"webchat__fileContent__downloadIcon--rtl"),icon:"download"}))},$h=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fileName:_valibot.string.call(void 0, ),href:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),size:_valibot.optional.call(void 0, _valibot.number.call(void 0, ))}),_valibot.readonly.call(void 0, ));function tv(t){let{className:e,href:o,fileName:r,size:i}=_chunkTMUNLKZWjs.h.call(void 0, $h,t),[{fileContent:n}]=_chunkQGLO74KJjs.c.call(void 0, ),a=Uh(),s=wp(),c=_chunkPOTPE56Bjs.a.call(void 0, )(Jh)+"",l=typeof i=="number"&&s(i),d=o&&Xh(o)?o:void 0,p=a(d?l?"FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"FILE_CONTENT_DOWNLOADABLE_ALT":l?"FILE_CONTENT_WITH_SIZE_ALT":"FILE_CONTENT_ALT",r,l);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__fileContent",c,n+"",e)},d?_react2.default.createElement("a",{"aria-label":p,className:"webchat__fileContent__buttonLink",download:r,href:d,rel:"noopener noreferrer",target:"_blank"},_react2.default.createElement(fp,{downloadIcon:!0,fileName:r,size:i})):_react2.default.createElement(fp,{downloadIcon:!1,fileName:r,size:i}))}var gi=_react.memo.call(void 0, tv);var gp=({activity:{attachments:t=[],channelData:{attachmentSizes:e=[]}={}}={},attachment:o})=>{let r=t.indexOf(o),i=e[+r];return _react2.default.createElement(gi,{fileName:o.name,href:o.contentUrl,size:i})};gp.propTypes={activity:_proptypes2.default.shape({attachment:_proptypes2.default.array,channelData:_proptypes2.default.shape({attachmentSizes:_proptypes2.default.arrayOf(_proptypes2.default.number)})}).isRequired,attachment:_proptypes2.default.shape({contentUrl:_proptypes2.default.string,name:_proptypes2.default.string.isRequired}).isRequired};var na=gp;var _base64js = require('base64-js');var rv=/^data:([^,]*?)(;(base64)){0,1},([A-Za-z0-9+/=]+)/u,iv="text/plain;charset=US-ASCII";function nv(t){let e=rv.exec(t);if(!e)return;let[,o,,r,i]=e;if(r==="base64")return{base64:i,contentType:o||iv,encoding:r}}function aa(t){let e=nv(t);if(e)return new Blob([_base64js.toByteArray.call(void 0, e.base64).buffer],{type:e.contentType})}var av=Object.freeze({BackgroundCardPushButton:"--webchat__background--card-push-button",BackgroundBubble:"--webchat__background--bubble",BackgroundBubbleUser:"--webchat__background--bubble-user",BackgroundCodeBlock:"--webchat__background--code-block",BackgroundImageSpinnerAnimation:"--webchat__background-image--spinner-animation",BackgroundImageTypingAnimation:"--webchat__background-image--typing-animation",BackgroundToastError:"--webchat__background--toast-error",BackgroundToastInfo:"--webchat__background--toast-info",BackgroundToastSuccess:"--webchat__background--toast-success",BackgroundToastWarn:"--webchat__background--toast-warn",BackgroundTranscriptOverlayButton:"--webchat__background--transcript-overlay-button",BackgroundTranscriptOverlayButtonDisabled:"--webchat__background--transcript-overlay-button-disabled",BackgroundTranscriptOverlayButtonFocus:"--webchat__background--transcript-overlay-button-focus",BackgroundTranscriptOverlayButtonHover:"--webchat__background--transcript-overlay-button-hover",BackgroundTranscriptTerminator:"--webchat__background--transcript-terminator",BorderAnimationColor1:"--webchat__border-animation--color-1",BorderAnimationColor2:"--webchat__border-animation--color-2",BorderAnimationColor3:"--webchat__border-animation--color-3",BorderColorBubble:"--webchat__border-color--bubble",BorderColorBubbleUser:"--webchat__border-color--bubble-user",BorderRadiusAvatar:"--webchat__border-radius--avatar",BorderRadiusBubble:"--webchat__border-radius--bubble",BorderRadiusBubbleUser:"--webchat__border-radius--bubble-user",BorderStyleBubble:"--webchat__border-style--bubble",BorderStyleBubbleUser:"--webchat__border-style--bubble-user",BorderStyleTranscriptActivityVisualKeyboardIndicator:"--webchat__border-style--transcript-activity-visual-keyboard-indicator",BorderStyleTranscriptVisualKeyboardIndicator:"--webchat__border-style--transcript-visual-keyboard-indicator",BorderWidthBubble:"--webchat__border-width--bubble",BorderWidthBubbleUser:"--webchat__border-width--bubble-user",BorderWidthTranscriptActivityVisualKeyboardIndicator:"--webchat__border-width--transcript-activity-visual-keyboard-indicator",BorderRadiusTranscriptTerminator:"--webchat__border-radius--transcript-terminator",BorderWidthTranscriptVisualKeyboardIndicator:"--webchat__border-width--transcript-visual-keyboard-indicator",ColorAccent:"--webchat__color--accent",ColorBubble:"--webchat__color--bubble",ColorBubbleUser:"--webchat__color--bubble-user",ColorCardPushButton:"--webchat__color--card-push-button",ColorCodeBlock:"--webchat__color--code-block",ColorConnectivityFailed:"--webchat__color--connectivity-failed",ColorSubtle:"--webchat__color--subtle",ColorTimestamp:"--webchat__color--timestamp",ColorTranscriptActivityVisualKeyboardIndicator:"--webchat__color--transcript-activity-visual-keyboard-indicator",ColorTranscriptOverlayButton:"--webchat__color--transcript-overlay-button",ColorTranscriptOverlayButtonDisabled:"--webchat__color--transcript-overlay-button-disabled",ColorTranscriptOverlayButtonFocus:"--webchat__color--transcript-overlay-button-focus",ColorTranscriptOverlayButtonHover:"--webchat__color--transcript-overlay-button-hover",ColorTranscriptTerminator:"--webchat__color--transcript-terminator",ColorTranscriptVisualKeyboardIndicator:"--webchat__color--transcript-visual-keyboard-indicator",FontPrimary:"--webchat__font--primary",FontMonospace:"--webchat__font--monospace",FontSizeSmall:"--webchat__font-size--small",FontSizeTranscriptTerminator:"--webchat__font-size--transcript-terminator",IconURLExternalLink:"--webchat__icon-url--external-link",MaxHeightImageBubble:"--webchat__max-height--image-bubble",MaxHeightSendBoxAttachmentBar:"--webchat__max-height--send-box-attachment-bar",MaxWidthAttachmentBubble:"--webchat__max-width--attachment-bubble",MaxWidthMessageBubble:"--webchat__max-width--message-bubble",MinHeightBubble:"--webchat__min-height--bubble",MinHeightImageBubble:"--webchat__min-height--image-bubble",MinWidthAttachmentBubble:"--webchat__min-width--attachment-bubble",MinWidthMessageBubble:"--webchat__min-width--message-bubble",PaddingConnectivityIcon:"--webchat__padding--connectivity-icon",PaddingRegular:"--webchat__padding--regular",SizeAvatar:"--webchat__size--avatar",SizeBubbleNub:"--webchat__size--bubble-nub",SizeBubbleNubUser:"--webchat__size--bubble-nub-user",SpaceBubbleNub:"--webchat__space--bubble-nub",SpaceBubbleNubUser:"--webchat__space--bubble-nub-user",TransitionDuration:"--webchat__transition-duration",TransitionEasing:"--webchat__transition-easing",WordBreakMessageActivity:"--webchat__word-break--message-activity"}),F=av;var sv=new Proxy({},{get(t,e){return`var(${F[e]})`}}),D=sv;var dv={"&.webchat__fixed-width-image":{display:"flex",justifyContent:"center",maxHeight:D.MaxHeightImageBubble,minHeight:D.MinHeightImageBubble,overflow:"hidden",position:"relative","& .webchat__fixed-width-image__filler":{visibility:"hidden",width:"100%"},"& .webchat__fixed-width-image__image":{left:"50%",objectFit:"cover",position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"100%"}}},Ap=_react.memo.call(void 0, ({alt:t,className:e,src:o})=>_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__fixed-width-image",_chunkPOTPE56Bjs.a.call(void 0, )(dv)+"",(e||"")+"")},_react2.default.createElement("img",{alt:"",className:"webchat__fixed-width-image__filler",role:"none",src:o}),_react2.default.createElement("img",{alt:t,className:"webchat__fixed-width-image__image",src:o})));Ap.displayName="FixedWidthImage";var xp=Ap;var mv=_react.memo.call(void 0, ({alt:t,src:e})=>_react2.default.createElement(xp,{alt:t||"",src:e})),Ai= exports.c =mv;var gv=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {attachment:_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.union.call(void 0, [_valibot.object.call(void 0, {contentUrl:_valibot.string.call(void 0, ),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),thumbnailUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.object.call(void 0, {contentUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),thumbnailUrl:_valibot.string.call(void 0, )})]),t))}),_valibot.readonly.call(void 0, )),Av=_react.memo.call(void 0, function(e){let{attachment:o}=_chunkTMUNLKZWjs.h.call(void 0, gv,e),r=o.thumbnailUrl||o.contentUrl,i=aa(r);return i&&(r=URL.createObjectURL(new Blob([i],{type:i.type.startsWith("image/")?i.type:"application/octet-stream"}))),_react2.default.createElement(Ai,{alt:o.name,src:r})}),Sp=Av;var _botframeworkwebchatcore = require('botframework-webchat-core');function Jo(t){var e;return!!(t&&((e=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (t==null?void 0:t.entities)||[]))!=null&&e.keywords.includes("AIGeneratedContent")))}var _orgschemajs = require('botframework-webchat-core/org-schema.js');var _usereffrom = require('use-ref-from');var _jsonldjs = require('botframework-webchat-core/json-ld.js');var _reactwrapwith = require('react-wrap-with');var pB=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),id:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function Ov({className:t,id:e,text:o}){let r=_chunkQGLO74KJjs.i.call(void 0, "message activity"),i=_react.useMemo.call(void 0, ()=>Object.freeze({__html:r==null?void 0:r(o)}),[o,r]);return i?_react2.default.createElement("span",{className:t,dangerouslySetInnerHTML:i,id:e}):_react2.default.createElement("span",{className:t,id:e},o)}var kp=_react.memo.call(void 0, Ov);var Ne={"text-area--hidden":"w4-KLeG_text-area--hidden","text-area-doppelganger":"w4-KLeG_text-area-doppelganger","text-area-input":"w4-KLeG_text-area-input","text-area-shared":"w4-KLeG_text-area-shared","text-area--scroll":"w4-KLeG_text-area--scroll","text-area":"w4-KLeG_text-area","text-area--in-completion":"w4-KLeG_text-area--in-completion"},Ip=Ne,_B=Ne["text-area--hidden"];var yB=Ne["text-area-doppelganger"];var hB=Ne["text-area-input"];var vB=Ne["text-area-shared"];var wB=Ne["text-area--scroll"];var gB=Ne["text-area"];var AB=Ne["text-area--in-completion"];var{useUIState:Fv}=_botframeworkwebchatapi.hooks,Dv=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-describedby":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),"aria-label":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),"aria-labelledby":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),completion:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),"data-testid":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),hidden:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),onClick:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>typeof t=="function")),onInput:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>typeof t=="function")),placeholder:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),readOnly:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),startRows:_valibot.optional.call(void 0, _valibot.number.call(void 0, )),value:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),Mp=_react.forwardRef.call(void 0, (t,e)=>{var d;let o=_chunkTMUNLKZWjs.h.call(void 0, Dv,t),[r]=Fv(),i=_chunkTMUNLKZWjs.k.call(void 0, Ip),n=_react.useRef.call(void 0, !1),a=r==="disabled"||o.readOnly,s=_react.useCallback.call(void 0, ()=>{n.current=!1},[n]),c=_react.useCallback.call(void 0, ()=>{n.current=!0},[n]),l=_react.useCallback.call(void 0, p=>{var m,u;!p.shiftKey&&p.key==="Enter"&&!n.current&&(p.preventDefault(),"form"in p.target&&p.target.form instanceof HTMLFormElement&&((u=(m=p.target)==null?void 0:m.form)==null||u.requestSubmit()))},[]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["text-area"],i["text-area--scroll"],{[i["text-area--hidden"]]:o.hidden},{[i["text-area--in-completion"]]:o.completion},o.className),role:o.hidden?"hidden":void 0},r==="blueprint"?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["text-area-doppelganger"],i["text-area-shared"])}," "):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["text-area-doppelganger"],i["text-area-shared"])},o.completion||o.value," "),_react2.default.createElement("textarea",{"aria-describedby":o["aria-describedby"],"aria-disabled":a,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],"aria-placeholder":o.placeholder,className:_classnames2.default.call(void 0, i["text-area-input"],i["text-area-shared"]),"data-testid":o["data-testid"],onClick:o.onClick,onCompositionEnd:s,onCompositionStart:c,onInput:o.onInput,onKeyDown:l,placeholder:o.placeholder,readOnly:a,ref:e,rows:(d=o.startRows)!=null?d:1,tabIndex:o.hidden?-1:void 0,value:o.value})))});Mp.displayName="TextArea";var Xo=Mp;var zv=_react.createContext.call(void 0, new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only be used under <ActivityFeedbackContext>")}})),Ci=zv;function de(){return _react.useContext.call(void 0, Ci)}function pa(t){let e=_valibot.safeParse.call(void 0, _orgschemajs.orgSchemaUserReviewSchema,t.result[0]);return e.success?e.output.reviewAspect[0]:void 0}var Dt={"feedback-form__submission-button-bar":"w_eFzsG_feedback-form__submission-button-bar","feedback-form__text-box":"w_eFzsG_feedback-form__text-box","feedback-form__form-header":"w_eFzsG_feedback-form__form-header","feedback-form__cancel-button":"w_eFzsG_feedback-form__cancel-button","feedback-form__submit-button":"w_eFzsG_feedback-form__submit-button","feedback-form":"w_eFzsG_feedback-form","feedback-form__vote-button-bar":"w_eFzsG_feedback-form__vote-button-bar","feedback-form__text-area":"w_eFzsG_feedback-form__text-area","feedback-form__form-footer":"w_eFzsG_feedback-form__form-footer","feedback-form__form":"w_eFzsG_feedback-form__form"},mo=Dt,HB=Dt["feedback-form__submission-button-bar"];var YB=Dt["feedback-form__text-box"];var VB=Dt["feedback-form__form-header"];var UB=Dt["feedback-form__cancel-button"];var JB=Dt["feedback-form__submit-button"];var ZB=Dt["feedback-form"];var XB=Dt["feedback-form__vote-button-bar"];var QB=Dt["feedback-form__text-area"];var $B=Dt["feedback-form__form-footer"];var t7=Dt["feedback-form__form"];var{useLocalizer:Xv}=_botframeworkwebchatapi.hooks;function Qv(){let t=_chunkTMUNLKZWjs.k.call(void 0, mo),{useFeedbackText:e,useSelectedAction:o}=de(),r=_chunkXQWBSH7Pjs.a.call(void 0, "feedback-form__form-header__id"),i=_chunkXQWBSH7Pjs.a.call(void 0, "feedback-form__form-footer__id"),[n]=o(),[a,s]=_react.useState.call(void 0, !1),[c,l]=e(),d=_react.useRef.call(void 0, null),p=Xv(),m=pa(n),u=_react.useCallback.call(void 0, ({currentTarget:{value:f}})=>l(f),[l]);return _react.useEffect.call(void 0, ()=>{d.current&&!a&&(s(!0),d.current.focus())},[d,a,s]),_react2.default.createElement("div",{className:t["feedback-form__form"]},_react2.default.createElement("span",{className:t["feedback-form__form-header"],id:r},p("FEEDBACK_FORM_TITLE")),_react2.default.createElement("div",{className:t["feedback-form__text-box"]},_react2.default.createElement(Xo,{"aria-describedby":m?i:void 0,"aria-labelledby":r,className:t["feedback-form__text-area"],"data-testid":_chunkQGLO74KJjs.I.feedbackSendBox,onInput:u,placeholder:p("FEEDBACK_FORM_PLACEHOLDER"),ref:d,startRows:3,value:c})),m&&_react2.default.createElement(kp,{className:t["feedback-form__form-footer"],id:i,text:m}),_react2.default.createElement("div",{className:t["feedback-form__submission-button-bar"]},_react2.default.createElement("button",{className:t["feedback-form__submit-button"],type:"submit"},p("FEEDBACK_FORM_SUBMIT_BUTTON_LABEL")),_react2.default.createElement("button",{className:t["feedback-form__cancel-button"],type:"reset"},p("FEEDBACK_FORM_CANCEL_BUTTON_LABEL"))))}var Pp=_react.memo.call(void 0, Qv);var _usepropagate = require('use-propagate');var{PropagationScope:Ep,useListen:Lp,usePropagate:Bp}=_usepropagate.createPropagation.call(void 0, );function rw({children:t,className:e,position:o="block-start"}){let[{tooltip:r}]=_chunkQGLO74KJjs.c.call(void 0, );return _react2.default.createElement("span",{className:_classnames2.default.call(void 0, "webchat__tooltip",e,r,`webchat__tooltip--${o}`),inert:"true",role:"tooltip"},t)}var ua=_react.memo.call(void 0, rw);var uw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),direction:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "down"),_valibot.literal.call(void 0, "up")]),filled:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, )),Fp=_react.memo.call(void 0, t=>{let{className:e,direction:o,filled:r=!1}=_chunkTMUNLKZWjs.h.call(void 0, uw,t);return _react2.default.createElement(_chunkPOTPE56Bjs.e,{appearance:"text",className:e,icon:o==="down"?r?"thumb-down-filled":"thumb-down":r?"thumb-up-filled":"thumb-up"})});Fp.displayName="ThumbButtonImage";var ma=Fp;var pe={"thumb-button--large":"wwPVtVa_thumb-button--large","thumb-button":"wwPVtVa_thumb-button","thumb-button__input":"wwPVtVa_thumb-button__input","thumb-button__image":"wwPVtVa_thumb-button__image","thumb-button__tooltip":"wwPVtVa_thumb-button__tooltip","thumb-button__image--is-filled":"wwPVtVa_thumb-button__image--is-filled","thumb-button--has-submitted":"wwPVtVa_thumb-button--has-submitted","thumb-button__image--is-stroked":"wwPVtVa_thumb-button__image--is-stroked"},Dp=pe,O7=pe["thumb-button--large"];var N7=pe["thumb-button"];var M7=pe["thumb-button__input"];var P7=pe["thumb-button__image"];var E7=pe["thumb-button__tooltip"];var L7=pe["thumb-button__image--is-filled"];var B7=pe["thumb-button--has-submitted"];var j7=pe["thumb-button__image--is-stroked"];var{useLocalizer:Aw}=_botframeworkwebchatapi.hooks,xw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {as:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "button"),_valibot.literal.call(void 0, "radio")]),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),direction:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "down"),_valibot.literal.call(void 0, "up")]),disabled:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),name:_valibot.string.call(void 0, ),onClick:_valibot.optional.call(void 0, _valibot.function_.call(void 0, )),pressed:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),size:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "small"),_valibot.literal.call(void 0, "large")]),submitted:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Sw(t,e){let{as:o,className:r,direction:i,disabled:n,name:a,onClick:s,pressed:c,size:l,submitted:d,title:p}=_chunkTMUNLKZWjs.h.call(void 0, xw,t),m=Aw(),u=_usereffrom.useRefFrom.call(void 0, s),f=_chunkTMUNLKZWjs.k.call(void 0, Dp),b=_react.useMemo.call(void 0, ()=>p!=null?p:m(i==="down"?"VOTE_DISLIKE_ALT":"VOTE_LIKE_ALT"),[i,m,p]),y=_react.useCallback.call(void 0, ()=>{var h;return!n&&((h=u.current)==null?void 0:h.call(u))},[n,u]),v=_react.useCallback.call(void 0, h=>{h.key==="Enter"&&h.preventDefault()},[]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, f["thumb-button"],{[f["thumb-button--large"]]:l==="large",[f["thumb-button--has-submitted"]]:d},r)},_react2.default.createElement("input",{"aria-disabled":n?"true":void 0,"aria-label":b,className:_classnames2.default.call(void 0, f["thumb-button__input"],r),"data-testid":_chunkQGLO74KJjs.I.feedbackButton,name:a,onKeyDown:v,ref:e,...o==="radio"?{checked:c,onChange:y,type:"radio"}:{"aria-pressed":c,onClick:y,type:"button"}}),_react2.default.createElement(ma,{className:_classnames2.default.call(void 0, f["thumb-button__image"],f["thumb-button__image--is-stroked"]),direction:i}),_react2.default.createElement(ma,{className:_classnames2.default.call(void 0, f["thumb-button__image"],f["thumb-button__image--is-filled"]),direction:i,filled:!0}),_react2.default.createElement(ua,{className:f["thumb-button__tooltip"]},b))}var zp=_react.memo.call(void 0, _react.forwardRef.call(void 0, Sw));function $t(t){var o;let[e]=(o=t==null?void 0:t.result)!=null?o:[];return _jsonldjs.isOfType.call(void 0, "UserReview",e)}function $o(t){return!$t(t)}var{useLocalizer:Rw,useStyleOptions:Fw}=_botframeworkwebchatapi.hooks,Dw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {action:_valibot.union.call(void 0, [_orgschemajs.orgSchemaActionSchema,_orgschemajs.orgSchemaVoteActionSchema]),as:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "button"),_valibot.literal.call(void 0, "radio")]),name:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function qw(t){let{useHasSubmitted:e,useSelectedAction:o}=de(),{action:r,as:i,name:n}=_chunkTMUNLKZWjs.h.call(void 0, Dw,t),[{feedbackActionsPlacement:a}]=Fw(),[s]=e(),[c,l]=o(),d=_usereffrom.useRefFrom.call(void 0, r),p=_react.useRef.call(void 0, null),m=_react.useMemo.call(void 0, ()=>{if(_jsonldjs.isOfType.call(void 0, "DislikeAction",r))return"down";if(_jsonldjs.isOfType.call(void 0, "LikeAction",r))return"up";if(_jsonldjs.isOfType.call(void 0, "VoteAction",r)){if(r.actionOption[0]==="downvote")return"down";if(r.actionOption[0]==="upvote")return"up"}return console.warn('botframework-webchat: <FeedbackVoteButton> supports `DislikeAction`, `LikeAction`, and `VoteAction` with `actionOption` of "downvote" and "upvote" only.'),"up"},[r]),u=Rw(),f=_usereffrom.useRefFrom.call(void 0, c),b=_react.useCallback.call(void 0, ()=>l(d.current===f.current?void 0:d.current),[d,f,l]),y=s&&!$o(r);return Lp(_react.useCallback.call(void 0, v=>{var h;return v===d.current&&((h=p.current)==null?void 0:h.focus())},[d])),_react2.default.createElement(zp,{as:i,direction:m,disabled:y,name:n,onClick:b,pressed:c===r,ref:p,size:$t(r)||a==="activity-actions"?"large":"small",submitted:s,title:y?u("VOTE_COMPLETE_ALT"):void 0})}var Yp=_react.memo.call(void 0, qw);var Yw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {buttonAs:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "button"),_valibot.literal.call(void 0, "radio")])}),_valibot.readonly.call(void 0, ));function Vw(t){let e=_chunkTMUNLKZWjs.k.call(void 0, mo),{buttonAs:o}=_chunkTMUNLKZWjs.h.call(void 0, Yw,t),{useActions:r}=de(),[i]=r(),n=_chunkXQWBSH7Pjs.a.call(void 0, "webchat__feedback-form__vote-button-bar");return _react2.default.createElement("div",{className:e["feedback-form__vote-button-bar"]},i.map((a,s)=>_react2.default.createElement(Yp,{action:a,as:o,key:a["@id"]||s,name:n})))}var Jp=_react.memo.call(void 0, Vw);var _mathrandom = require('math-random'); var _mathrandom2 = _interopRequireDefault(_mathrandom);var _usestatewithref = require('use-state-with-ref');var _deepfreezestrict = require('deep-freeze-strict'); var _deepfreezestrict2 = _interopRequireDefault(_deepfreezestrict);var Uw=["__proto__","constructor","prototype"];function ki(t){return Object.getOwnPropertyNames(t).filter(e=>!Uw.includes(e))}function _o(t){if(t){let e=t["@id"];return typeof e=="string"&&e.startsWith("_:")}return!1}function Ii(t){return _o(t)&&Object.getOwnPropertyNames(t).every(e=>e.startsWith("@"))}function Oi(){let t=new Set;return e=>t.has(e)?!1:(t.add(e),!0)}function Zw(t){let e=new Map,o=[t],r=Oi();for(;o.length;){let a=o.shift();if(!a)continue;let s=ki(a);for(let c of s){let l=a[c];_o(l)&&!Ii(l)&&e.set(l["@id"],l),r(l)&&o.push(l)}}let i=[t],n=Oi();for(;i.length;){let a=i.shift();if(!a)continue;let s=ki(a);for(let c of s){let l=a[c];if(_o(l)&&Ii(l)){let d=e.get(l["@id"]);d&&(a[c]=d)}else n(l)&&i.push(l)}}}function Ye(t){let e=structuredClone(t);return Zw(e),_deepfreezestrict2.default.call(void 0, e)}var Qp=_valibot.object.call(void 0, {channelData:_valibot.object.call(void 0, {feedbackLoop:_valibot.object.call(void 0, {disclaimer:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),type:_valibot.literal.call(void 0, "default")})})}),tg=_valibot.object.call(void 0, {channelData:_valibot.object.call(void 0, {feedbackLoop:_valibot.object.call(void 0, {type:_valibot.literal.call(void 0, "default")})})}),eg=_valibot.union.call(void 0, [Qp,tg]);function $p(t){return _valibot.is.call(void 0, Qp,t)}function ha(t){return _valibot.is.call(void 0, eg,t)}function Ni(t){return $p(t)?t.channelData.feedbackLoop.disclaimer:void 0}var{usePonyfill:yg,usePostActivity:hg}=_botframeworkwebchatapi.hooks,vg=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t)),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),wg=500;function ou(t,e){var r;e=e.map(i=>i["@id"]?i:Object.freeze({...i,"@id":`_:${_mathrandom2.default.call(void 0, ).toString(36).substring(2,7)}`}));let o=(r=t.channelData)==null?void 0:r.feedbackLoop;return o&&(console.warn('botframework-webchat: `channelData.feedbackLoop` is deprecated, use `entities[@type="Message"][@id=""].potentialAction[@type="Action"].result[@type="UserReview"].description instead. It will be removed on or after YYYY-MM-DD.'),e=e.map(i=>i.result?i:_valibot.parse.call(void 0, _orgschemajs.orgSchemaActionSchema,{...i,result:{"@type":"UserReview",reviewAspect:o.disclaimer}}))),Object.freeze(e)}function gg(t){let{children:e,activity:o}=_chunkTMUNLKZWjs.h.call(void 0, vg,t),[{clearTimeout:r,setTimeout:i}]=yg(),[n,a,s]=_usestatewithref.useStateWithRef.call(void 0, ),c=_react.useMemo.call(void 0, ()=>ha(o)?Object.freeze({...o,entities:[{"@context":"https://schema.org","@id":"","@type":"Message",type:"https://schema.org/Message",keywords:[],potentialAction:[{"@type":"LikeAction",actionStatus:"PotentialActionStatus",result:[{"@type":"UserReview",reviewAspect:Ni(o)}]},{"@type":"DislikeAction",actionStatus:"PotentialActionStatus",result:[{"@type":"UserReview",reviewAspect:Ni(o)}]}]}]}):o,[o]),l=_usereffrom.useRefFrom.call(void 0, c),d=_react.useRef.call(void 0, void 0),[p,m]=_react.useState.call(void 0, {}),u=_react.useCallback.call(void 0, M=>{d.current=M,m({})},[d,m]),f=_react.useMemo.call(void 0, ()=>{var M;try{let U=Ye(c.entities||[]),V=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, U),et=Object.freeze((M=V==null?void 0:V.potentialAction.filter(ft=>_jsonldjs.isOfType.call(void 0, "LikeAction",ft)||_jsonldjs.isOfType.call(void 0, "DislikeAction",ft)))!=null?M:[]);if(et.length)return ou(c,et);let pt=Object.freeze(U.reduce((ft,gt)=>{let ut=_valibot.safeParse.call(void 0, _orgschemajs.orgSchemaActionSchema,gt);if(ut.success){let{output:rt}=ut;rt.actionOption[0]&&ft.push(rt)}return ft},[]));if(pt.length)return ou(c,pt)}catch(U){console.warn("botframework-webchat: Internal error in <ActivityFeedbackComposer>",U)}return Object.freeze([])},[c]);_react.useMemo.call(void 0, ()=>{let M=f.find(U=>U.actionStatus[0]==="ActiveActionStatus"||U.actionStatus[0]==="CompletedActionStatus");d.current=M?{actionId:M["@id"],actionStatus:M.actionStatus[0]}:void 0},[f]);let b=d.current,y=_react.useMemo.call(void 0, ()=>Object.freeze(f.map(M=>b&&b.actionId===M["@id"]?Object.freeze({...M,actionStatus:[b.actionStatus]}):M.actionStatus[0]==="PotentialActionStatus"?M:Object.freeze({...M,actionStatus:["PotentialActionStatus"]}))),[b,f]),v=_usereffrom.useRefFrom.call(void 0, y),h=hg(),x=_react.useMemo.call(void 0, ()=>y.some(M=>M.actionStatus[0]==="CompletedActionStatus"),[y]),w=_usereffrom.useRefFrom.call(void 0, x),g=_react.useCallback.call(void 0, M=>{var gt,ut,rt;if(((gt=d.current)==null?void 0:gt.actionStatus)==="CompletedActionStatus")return console.warn("botframework-webchat internal: useFeedbackActions().submitCallback() must not be called after feedback is completed, ignoring the call.");if(!v.current.includes(M))return console.warn("botframework-webchat internal: Cannot submit an action that does not exists in the message, ignoring the call.");u(Object.freeze({actionId:M["@id"],actionStatus:"CompletedActionStatus"}));let{"@id":U,actionStatus:V,...et}=M,{current:pt}=s,ft=_jsonldjs.isOfType.call(void 0, "VoteAction",M);if($t(M))h({name:"message/submitAction",replyToId:l.current.id,type:"invoke",value:{actionName:"feedback",actionValue:{feedback:{feedbackText:pt||""},reaction:_jsonldjs.isOfType.call(void 0, "LikeAction",M)?"like":"dislike"}}});else{let vt=ft?et:M;h({entities:[{...vt,actionOption:vt.actionOption[0],type:new URL((ut=vt["@type"][0])!=null?ut:"",(rt=vt["@context"])!=null?rt:"https://schema.org").href}],name:"webchat:activity-status/feedback",type:"event"})}},[v,d,l,s,h,u]),k=_react.useMemo.call(void 0, ()=>y.find(({actionStatus:M})=>M[0]==="ActiveActionStatus"||M[0]==="CompletedActionStatus"),[y]),I=_react.useRef.call(void 0, void 0),_=_react.useCallback.call(void 0, M=>{let U=$o(M);if(w.current&&!U)return console.warn("botframework-webchat internal: useFeedbackActions().setSelectedAction() must not be called after feedback is completed as it does not allow resubmission, ignoring the call.");if(M&&!v.current.includes(M))return console.warn("botframework-webchat internal: Cannot select an action that does not exists in the message, ignoring the call.");u(M?Object.freeze({actionId:M["@id"],actionStatus:"ActiveActionStatus"}):void 0),U&&(r(I.current),M!=null&&M["@id"]&&(I.current=i(()=>g(v.current.find(({"@id":V})=>V===M["@id"])),wg)))},[v,I,r,w,u,i,g]),S=_react.useMemo.call(void 0, ()=>Object.freeze([k,_]),[k,_]),N=_react.useMemo.call(void 0, ()=>Object.freeze([y]),[y]),B=_react.useMemo.call(void 0, ()=>Object.freeze([n,a]),[n,a]),L=_react.useMemo.call(void 0, ()=>Object.freeze([x]),[x]),z=_react.useMemo.call(void 0, ()=>Object.freeze([c]),[c]),W=Bp(),K=_react.useCallback.call(void 0, ()=>N,[N]),T=_react.useCallback.call(void 0, ()=>z,[z]),R=_react.useCallback.call(void 0, ()=>B,[B]),O=_react.useCallback.call(void 0, ()=>W,[W]),j=_react.useCallback.call(void 0, ()=>L,[L]),G=_react.useCallback.call(void 0, ()=>S,[S]),q=_react.useCallback.call(void 0, ()=>g,[g]),Y=_react.useMemo.call(void 0, ()=>({useActions:K,useActivity:T,useFeedbackText:R,useFocusFeedbackButton:O,useHasSubmitted:j,useSelectedAction:G,useSubmit:q}),[K,T,R,O,j,G,q]);return _react2.default.createElement(Ci.Provider,{value:Y},e)}var iu=_react.memo.call(void 0, _reactwrapwith.wrapWith.call(void 0, Ep)(gg));function kg(){let t=_chunkTMUNLKZWjs.k.call(void 0, mo),{useActions:e,useFeedbackText:o,useFocusFeedbackButton:r,useHasSubmitted:i,useSelectedAction:n,useSubmit:a}=de(),[s,c]=o(),[l]=e(),[d]=i(),[p,m]=n(),u=r(),f=a(),b=_react.useMemo.call(void 0, ()=>l.find($t),[l]),y=_usereffrom.useRefFrom.call(void 0, p),v=_react.useCallback.call(void 0, ()=>{u(y.current),c(void 0),m(void 0)},[u,y,c,m]),h=_react.useCallback.call(void 0, g=>{g.preventDefault(),f(y.current)},[y,f]),x=_react.useCallback.call(void 0, g=>{g.key==="Escape"&&$t(y.current)&&(g.stopPropagation(),g.currentTarget.reset())},[y]),w=_react.useMemo.call(void 0, ()=>!d&&_jsonldjs.isOfType.call(void 0, "UserReview",p==null?void 0:p.result[0]),[d,p]);return!!l.length&&_react2.default.createElement("form",{className:t["feedback-form"],onKeyDown:x,onReset:v,onSubmit:h},_react2.default.createElement(Jp,{buttonAs:b?"radio":"button"}),w&&_react2.default.createElement(Pp,null))}var au=_reactwrapwith.wrapWith.call(void 0, iu,{activity:_reactwrapwith.Extract})(kg);au.displayName="ActivityFeedback";var Pi=_react.memo.call(void 0, au);var it={"link-definitions__header":"wFYu5rq_link-definitions__header","link-definitions__list-item-badge":"wFYu5rq_link-definitions__list-item-badge","link-definitions__header-accessory":"wFYu5rq_link-definitions__header-accessory","link-definitions":"wFYu5rq_link-definitions","link-definitions__message-sensitivity-label":"wFYu5rq_link-definitions__message-sensitivity-label","link-definitions__message-sensitivity-label-icon":"wFYu5rq_link-definitions__message-sensitivity-label-icon","link-definitions__header-text":"wFYu5rq_link-definitions__header-text","link-definitions__header-section--left":"wFYu5rq_link-definitions__header-section--left","link-definitions__list-item":"wFYu5rq_link-definitions__list-item","link-definitions__list-item-box--as-link":"wFYu5rq_link-definitions__list-item-box--as-link","link-definitions__badge":"wFYu5rq_link-definitions__badge","link-definitions__open-in-new-window-icon":"wFYu5rq_link-definitions__open-in-new-window-icon","link-definitions__header-section":"wFYu5rq_link-definitions__header-section","link-definitions__list-item-box--as-button":"wFYu5rq_link-definitions__list-item-box--as-button","link-definitions__list":"wFYu5rq_link-definitions__list","link-definitions__list-item-main-text":"wFYu5rq_link-definitions__list-item-main-text","link-definitions__message-sensitivity-label-text":"wFYu5rq_link-definitions__message-sensitivity-label-text","link-definitions__list-item-body":"wFYu5rq_link-definitions__list-item-body","link-definitions__list-item-body-main":"wFYu5rq_link-definitions__list-item-body-main","link-definitions__header-chevron":"wFYu5rq_link-definitions__header-chevron","link-definitions__list-item-text":"wFYu5rq_link-definitions__list-item-text","link-definitions__list-item-box":"wFYu5rq_link-definitions__list-item-box"},ee=it,y8=it["link-definitions__header"];var h8=it["link-definitions__list-item-badge"];var v8=it["link-definitions__header-accessory"];var w8=it["link-definitions"];var g8=it["link-definitions__message-sensitivity-label"];var A8=it["link-definitions__message-sensitivity-label-icon"];var x8=it["link-definitions__header-text"];var S8=it["link-definitions__header-section--left"];var C8=it["link-definitions__list-item"];var T8=it["link-definitions__list-item-box--as-link"];var k8=it["link-definitions__badge"];var I8=it["link-definitions__open-in-new-window-icon"];var O8=it["link-definitions__header-section"];var N8=it["link-definitions__list-item-box--as-button"];var M8=it["link-definitions__list"];var P8=it["link-definitions__list-item-main-text"];var E8=it["link-definitions__message-sensitivity-label-text"];var L8=it["link-definitions__list-item-body"];var B8=it["link-definitions__list-item-body-main"];var j8=it["link-definitions__header-chevron"];var R8=it["link-definitions__list-item-text"];var F8=it["link-definitions__list-item-box"];var su=_react.memo.call(void 0, ({value:t})=>{let e=_chunkTMUNLKZWjs.k.call(void 0, ee);return _react2.default.createElement("div",{className:e["link-definitions__badge"],title:t},t)});su.displayName="Badge";var cu=su;var Ve={"text-content--is-markdown":"wOVnR0W_text-content--is-markdown","text-content__open-in-new-window-icon":"wOVnR0W_text-content__open-in-new-window-icon","text-content__markdown":"wOVnR0W_text-content__markdown","text-content__activity-actions":"wOVnR0W_text-content__activity-actions","text-content":"wOVnR0W_text-content","text-content__generated-badge":"wOVnR0W_text-content__generated-badge"},Pe=Ve,V8=Ve["text-content--is-markdown"];var U8=Ve["text-content__open-in-new-window-icon"];var J8=Ve["text-content__markdown"];var Z8=Ve["text-content__activity-actions"];var X8=Ve["text-content"];var Q8=Ve["text-content__generated-badge"];var Mg=({className:t})=>{let e=_chunkTMUNLKZWjs.k.call(void 0, Pe);return _react2.default.createElement("svg",{className:_classnames2.default.call(void 0, e["text-content__open-in-new-window-icon"],t),viewBox:"3 3 18 18",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M7.2501 4.50017H10.7495C11.1637 4.50017 11.4995 4.83596 11.4995 5.25017C11.4995 5.62986 11.2173 5.94366 10.8513 5.99332L10.7495 6.00017H7.24974C6.07079 5.99961 5.10349 6.90656 5.00786 8.06112L5.00028 8.22003L5.00312 16.7507C5.00343 17.9415 5.92885 18.9161 7.09966 18.9949L7.25371 19.0001L15.7518 18.9884C16.9415 18.9868 17.9145 18.062 17.9935 16.8923L17.9987 16.7384V13.2321C17.9987 12.8179 18.3345 12.4821 18.7487 12.4821C19.1284 12.4821 19.4422 12.7643 19.4918 13.1303L19.4987 13.2321V16.7384C19.4987 18.7407 17.9293 20.3769 15.9528 20.4829L15.7538 20.4884L7.25827 20.5001L7.05495 20.4949C5.14239 20.3954 3.60895 18.8627 3.50837 16.9502L3.50312 16.7511L3.50089 8.2527L3.50529 8.0502C3.60539 6.13749 5.13867 4.60449 7.05096 4.50527L7.2501 4.50017H10.7495H7.2501ZM13.7481 3.00146L20.3018 3.00197L20.4014 3.01575L20.5022 3.04393L20.559 3.06803C20.6122 3.09122 20.6634 3.12163 20.7111 3.15885L20.7804 3.22156L20.8641 3.32014L20.9183 3.41025L20.957 3.50057L20.9762 3.56476L20.9898 3.62862L20.9992 3.72282L20.9997 10.2554C20.9997 10.6696 20.6639 11.0054 20.2497 11.0054C19.87 11.0054 19.5562 10.7232 19.5065 10.3571L19.4997 10.2554L19.4989 5.56147L12.2797 12.7847C12.0134 13.051 11.5968 13.0753 11.3031 12.8575L11.219 12.7849C10.9527 12.5187 10.9284 12.1021 11.1462 11.8084L11.2188 11.7243L18.4369 4.50146H13.7481C13.3684 4.50146 13.0546 4.21931 13.005 3.85324L12.9981 3.75146C12.9981 3.37177 13.2803 3.05797 13.6464 3.00831L13.7481 3.00146Z",fill:"currentcolor"}))},du=Mg;var pu=_react.memo.call(void 0, ({badgeName:t,badgeTitle:e,identifier:o,isExternal:r,text:i})=>{let n=_chunkTMUNLKZWjs.k.call(void 0, ee);return _react2.default.createElement("div",{className:n["link-definitions__list-item-body"]},o?_react2.default.createElement(cu,{value:o}):null,_react2.default.createElement("div",{className:n["link-definitions__list-item-body-main"]},_react2.default.createElement("div",{className:n["link-definitions__list-item-main-text"]},_react2.default.createElement("div",{className:n["link-definitions__list-item-text"],title:i},i),r?_react2.default.createElement(du,{className:n["link-definitions__open-in-new-window-icon"]}):null),t&&_react2.default.createElement("div",{className:n["link-definitions__list-item-badge"],title:e},t)))});pu.displayName="ItemBody";var Aa=pu;function xa(t){try{let{host:e,port:o,protocol:r}=new URL(t);if(r==="http:"||r==="https:")return o?e:e.replace(/^www\./iu,"")}catch (e23){}return t}var mu=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {badgeName:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),badgeTitle:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),identifier:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),onClick:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>typeof t=="function")),sanitizedHref:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),qg=_react.memo.call(void 0, function(e){let{badgeName:o,badgeTitle:r,identifier:i,onClick:n,sanitizedHref:a,text:s}=_chunkTMUNLKZWjs.h.call(void 0, mu,e),c=_chunkTMUNLKZWjs.k.call(void 0, ee),l=_usereffrom.useRefFrom.call(void 0, n),d=_react.useCallback.call(void 0, p=>{let{current:m}=l;if(m){let u=new CustomEvent("click");m(u),u.defaultPrevented&&p.preventDefault()}},[l]);return a?_react2.default.createElement("a",{className:_classnames2.default.call(void 0, c["link-definitions__list-item-box"],c["link-definitions__list-item-box--as-link"]),href:a,onClick:d,rel:"noopener noreferrer",target:"_blank"},_react2.default.createElement(Aa,{badgeName:o,badgeTitle:r,identifier:i,isExternal:!0,text:s||xa(a)})):_react2.default.createElement("button",{className:_classnames2.default.call(void 0, c["link-definitions__list-item-box"],c["link-definitions__list-item-box--as-button"]),onClick:d,type:"button"},_react2.default.createElement(Aa,{badgeName:o,badgeTitle:r,identifier:i,text:s}))}),Sa=qg;var{useLocalizer:Ug,useStyleOptions:Jg}=_botframeworkwebchatapi.hooks,{count:Zg,map:Xg}=_react.Children,Qg={one:"REFERENCE_LIST_HEADER_ONE",few:"REFERENCE_LIST_HEADER_FEW",many:"REFERENCE_LIST_HEADER_MANY",other:"REFERENCE_LIST_HEADER_OTHER",two:"REFERENCE_LIST_HEADER_TWO"};function $g(t=1/0){return _mathrandom2.default.call(void 0, ).toString(36).substring(2,2+t)}var bu=({accessoryComponentType:t,accessoryProps:e,children:o})=>{let[r]=_react.useState.call(void 0, ()=>`webchat-link-definitions-${$g()}`),i=Ug({plural:!0}),n=_react.useRef.call(void 0, null),a=_chunkTMUNLKZWjs.k.call(void 0, ee),[{referenceListDefaultOpen:s}]=Jg(),c=i(Qg,Zg(o)),l=_react.useMemo.call(void 0, ()=>s?"true":"false",[s]),d=_react.useCallback.call(void 0, p=>{let m=n.current,u=p.target;if(m&&u&&u instanceof HTMLDetailsElement){let f=u.open.toString();m.setAttribute("aria-expanded",f),m.setAttribute("aria-pressed",f)}},[]);return _react2.default.createElement("details",{className:a["link-definitions"],id:r,onToggle:d,open:s},_react2.default.createElement("summary",{"aria-controls":r,"aria-expanded":l,"aria-pressed":l,className:a["link-definitions__header"],ref:n,role:"button"},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["link-definitions__header-section"],a["link-definitions__header-section--left"])},_react2.default.createElement("div",{className:a["link-definitions__header-text"]},c),_react2.default.createElement(_chunkPOTPE56Bjs.e,{appearance:"text",className:a["link-definitions__header-chevron"],icon:"chevron"})),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["link-definitions__header-section"],a["link-definitions__header-section--right"])},t&&_react2.default.createElement("div",{className:a["link-definitions__header-accessory"]},_react2.default.createElement(t,e)))),_react2.default.createElement("div",{className:a["link-definitions__list"],role:"list"},Xg(o,p=>_react2.default.createElement("div",{className:a["link-definitions__list-item"],role:"listitem"},p))))};bu.displayName="LinkDefinitions";var Ca=bu;function er(t){var e;return((e=t==null?void 0:t.isBasedOn)!=null?e:[]).find(({"@type":o})=>o.includes("SoftwareSourceCode"))}function or(){let t=_chunkQGLO74KJjs.g.call(void 0, );return _react.useCallback.call(void 0, e=>{let o=document.createElement("a");o.setAttribute("href",e||"");let r=document.createDocumentFragment();r.append(o);let n=t(r).querySelector("a");return{openInNewTab:!!(n!=null&&n.getAttribute("target")),originalHref:e,sanitizedHref:(n==null?void 0:n.getAttribute("href"))||void 0}},[t])}var _css = require('@emotion/css');var _mdastutilfrommarkdown = require('mdast-util-from-markdown');var{useLocalizer:sA,useStyleOptions:cA}=_botframeworkwebchatapi.hooks,Ta=Object.freeze([]);function ka(t,e,o=!1){let{renderMarkdown:r}=_chunkQGLO74KJjs.b.call(void 0, ),[i]=cA(),n=sA(),a=_chunkQGLO74KJjs.g.call(void 0, ),s=_usereffrom.useRefFrom.call(void 0, i),c=_chunkTMUNLKZWjs.k.call(void 0, _chunkQGLO74KJjs.h),l=n("MARKDOWN_EXTERNAL_LINK_ALT"),d=_react.useMemo.call(void 0, ()=>_css.cx.call(void 0, c["render-markdown"],{[c["render-markdown--message-activity"]]:!0}),[c]),p=!!(r!=null&&r.createStreamingRenderer),m=_react.useRef.call(void 0, ""),u=_react.useMemo.call(void 0, ()=>{if(m.current="",r!=null&&r.createStreamingRenderer)return r.createStreamingRenderer(s.current,{externalLinkAlt:l})},[l,r,s]),[f,b]=_react.useState.call(void 0, Ta);_react.useLayoutEffect.call(void 0, ()=>{m.current="",b(Ta)},[u]),_react.useLayoutEffect.call(void 0, ()=>{if(!u)return;let h=t.current;if(!h)return;if(!e){u.reset(),m.current="",h.textContent="";return}let x=m.current,w=!!x&&e.startsWith(x);w||u.reset();let g=w?e.slice(x.length):e,k={container:h,containerClassName:d,transformFragment:a};if(m.current=e,o){g&&u.next(g,k);let{definitions:I}=u.finalize(k);b(I)}else u.next(g,k)},[d,t,o,e,u,a]);let y=_react.useMemo.call(void 0, ()=>{if(!(p||!r||!e))return r(e,s.current,{externalLinkAlt:l})},[l,p,e,r,s]),v=_react.useMemo.call(void 0, ()=>p?Ta:_mdastutilfrommarkdown.fromMarkdown.call(void 0, e).children.filter(h=>h.type==="definition"),[p,e]);return _react.useLayoutEffect.call(void 0, ()=>{if(u||y===void 0)return;let h=t.current;if(!h)return;let x=a(_chunkPOTPE56Bjs.g.call(void 0, y)),w=document.createElement("div");w.className=d||"",w.append(...x.childNodes),h.textContent="",h.appendChild(w)},[d,t,y,u,a]),_react.useLayoutEffect.call(void 0, ()=>{if(u||y!==void 0)return;let h=t.current;h&&(h.textContent="")},[t,y,u]),Object.freeze({definitions:f!=null?f:v})}var dA={close:{get(){throw new Error("close cannot be used outside of <ModalDialogComposer>.")}},showModal:{get(){throw new Error("showModal cannot be used outside of <ModalDialogComposer>.")}}},_u=_react.createContext.call(void 0, Object.create({},dA));_u.displayName="ModalDialogComposer";var ji=_u;function Ia(){return _react.useContext.call(void 0, ji)}function rr(){return Ia().showModal}function yA(t,e){return _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.check.call(void 0, o=>_valibot.is.call(void 0, _valibot.pipe.call(void 0, _valibot.object.call(void 0, {current:t},e),_valibot.readonly.call(void 0, )),o)))}var hu=yA;var Je={"activity-copy-button--copied":"w4rKArW_activity-copy-button--copied","activity-button__icon":"w4rKArW_activity-button__icon","activity-button__text":"w4rKArW_activity-button__text","activity-copy-button__copy-announcement":"w4rKArW_activity-copy-button__copy-announcement","activity-copy-button__copied-text":"w4rKArW_activity-copy-button__copied-text","activity-copy-button":"w4rKArW_activity-copy-button"},vu=Je,aR=Je["activity-copy-button--copied"];var sR=Je["activity-button__icon"];var cR=Je["activity-button__text"];var lR=Je["activity-copy-button__copy-announcement"];var dR=Je["activity-copy-button__copied-text"];var pR=Je["activity-copy-button"];var{useLocalizer:MA,useUIState:PA}=_botframeworkwebchatapi.hooks,EA=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),targetRef:hu(_valibot.nullable.call(void 0, _valibot.instance.call(void 0, HTMLElement)))}),_valibot.readonly.call(void 0, )),gu=t=>{let{className:e,targetRef:o}=_chunkTMUNLKZWjs.h.call(void 0, EA,t),r=_chunkTMUNLKZWjs.k.call(void 0, vu),[i,n]=_react.useState.call(void 0, !1),[a]=PA(),s=_react.useRef.call(void 0, null),c=MA(),l=_chunkPOTPE56Bjs.k.call(void 0, ),d=c("COPY_BUTTON_COPIED_TEXT"),p=c("COPY_BUTTON_TEXT"),m=!i||a==="disabled";_react.useEffect.call(void 0, ()=>{let{current:f}=s;if(f){let b=()=>f.classList.remove(...r["activity-copy-button--copied"].split(/\s+/gu));return f.addEventListener("animationend",b),()=>f.removeEventListener("animationend",b)}},[s,r]);let u=_react.useCallback.call(void 0, ()=>{var y,v,h,x,w,g;let f=(y=o.current)==null?void 0:y.outerHTML,b=(v=o.current)==null?void 0:v.textContent;(h=navigator.clipboard)==null||h.write([new ClipboardItem({...f?{"text/html":new Blob([f],{type:"text/html"})}:{},...b?{"text/plain":new Blob([b],{type:"text/plain"})}:{}})]).catch(k=>console.error("botframework-webchat-fluent-theme: Failed to copy to clipboard.",k)),(x=s.current)==null||x.classList.remove(...r["activity-copy-button--copied"].split(/\s+/gu)),(w=s.current)==null||w.offsetWidth,(g=s.current)==null||g.classList.add(...r["activity-copy-button--copied"].split(/\s+/gu)),l(_react2.default.createElement("div",{className:r["activity-copy-button__copy-announcement"]},d))},[r,d,l,o]);return _react.useEffect.call(void 0, ()=>{let f=!1;return(async function(){(await navigator.permissions.query({name:"clipboard-write"})).state==="granted"&&(f||n(!0))})(),()=>{f=!0}},[n]),_react2.default.createElement(_chunkXQWBSH7Pjs.b,{className:_classnames2.default.call(void 0, r["activity-copy-button"],e),"data-testid":"copy button",disabled:m,icon:"copy",onClick:u,ref:s,text:p},_react2.default.createElement("span",{className:r["activity-copy-button__copied-text"]},d))};gu.displayName="ActivityCopyButton";var Au=_react.memo.call(void 0, gu);var _hookjs = require('botframework-webchat-api/hook.js');var _micromark = require('micromark');var GA=["data","http","https","ftp","mailto","sip","tel"],Cu=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {stringIds:_valibot.object.call(void 0, {zero:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),one:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),two:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),few:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),many:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),other:_valibot.string.call(void 0, )}),values:_valibot.pipe.call(void 0, _valibot.tupleWithRest.call(void 0, [_valibot.number.call(void 0, )],_valibot.union.call(void 0, [_valibot.string.call(void 0, )])),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, )),HA=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {stringIds:_valibot.string.call(void 0, ),values:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.string.call(void 0, )),_valibot.readonly.call(void 0, )))}),_valibot.readonly.call(void 0, )),YA=_valibot.intersect.call(void 0, [_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),linkClassName:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),_valibot.union.call(void 0, [Cu,HA])]);function VA(t){return _valibot.is.call(void 0, Cu,t)}var UA=t=>{let{className:e,linkClassName:o}=_chunkTMUNLKZWjs.h.call(void 0, YA,t),r=_hookjs.useLocalizer.call(void 0, {plural:!0}),i=_hookjs.useLocalizer.call(void 0, ),n=i("MARKDOWN_EXTERNAL_LINK_ALT"),a=_react.useMemo.call(void 0, ()=>{let s;if(VA(t)){let{stringIds:l,values:d}=t;s=r(l,...d)}else{let{stringIds:l,values:d}=t;s=i(l,...d||[])}let c=_chunkPOTPE56Bjs.g.call(void 0, _micromark.micromark.call(void 0, s));return _chunkPOTPE56Bjs.f.call(void 0, c,(l,d)=>{let p={rel:"noopener noreferrer",target:"_blank",wrapZeroWidthSpace:!0},m=new Set([o]),u=_botframeworkwebchatcore.onErrorResumeNext.call(void 0, ()=>new URL(l).protocol);return GA.map(f=>`${f}:`).includes(u)?(u==="http:"||u==="https:")&&(p.ariaLabel=f=>[f||d,n].filter(Boolean).join(" "),p.iconClassName="render-markdown__external-link-icon"):p.asButton=!0,p.className=Array.from(m).join(" "),p.title=!1,p}),Object.freeze({__html:_chunkPOTPE56Bjs.i.call(void 0, _chunkPOTPE56Bjs.h.call(void 0, c))})},[n,o,r,i,t]);return _react2.default.createElement("span",{className:e,dangerouslySetInnerHTML:a})},Fi= exports.e =_react.memo.call(void 0, UA);var vo={"view-code-dialog__title":"wyq2fIq_view-code-dialog__title","view-code-dialog":"wyq2fIq_view-code-dialog","view-code-dialog__body":"wyq2fIq_view-code-dialog__body","view-code-dialog__footer":"wyq2fIq_view-code-dialog__footer","view-code-dialog__header":"wyq2fIq_view-code-dialog__header"},Di=vo,BR=vo["view-code-dialog__title"];var jR=vo["view-code-dialog"];var RR=vo["view-code-dialog__body"];var FR=vo["view-code-dialog__footer"];var DR=vo["view-code-dialog__header"];var ex=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),code:_valibot.string.call(void 0, ),language:_valibot.string.call(void 0, ),title:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function ox(t){let{children:e,className:o,code:r,language:i,title:n}=_chunkTMUNLKZWjs.h.call(void 0, ex,t),[,a]=_chunkQGLO74KJjs.f.call(void 0, ),s=_chunkTMUNLKZWjs.k.call(void 0, Di);return _react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",{className:s["view-code-dialog__header"]},_react2.default.createElement("h2",{className:s["view-code-dialog__title"]},n)),_react2.default.createElement(a,{className:_classnames2.default.call(void 0, s["view-code-dialog__body"],o),language:i},_react2.default.createElement("code",null,r)),e)}var ku=_react.memo.call(void 0, ox);var{useLocalizer:dx}=_botframeworkwebchatapi.hooks,px=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),code:_valibot.string.call(void 0, ),language:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),isAIGenerated:_valibot.boolean.call(void 0, ),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),ux=t=>{let{className:e,code:o,language:r,title:i,isAIGenerated:n}=_chunkTMUNLKZWjs.h.call(void 0, px,t),a=_chunkTMUNLKZWjs.k.call(void 0, Di),s=rr(),c=dx(),l=_react.useCallback.call(void 0, ()=>{s(()=>_react2.default.createElement(ku,{code:o,language:r,title:i},n&&_react2.default.createElement("div",{className:a["view-code-dialog__footer"]},_react2.default.createElement(Fi,{linkClassName:"view-code-dialog__link",stringIds:"ACTIVITY_CODE_CAUTION"}))),{className:a["view-code-dialog"],"aria-label":c("ACTIVITY_CODE_ALT",i!=null?i:"")})},[o,n,r,c,s,i,a]);return _react2.default.createElement(_chunkXQWBSH7Pjs.b,{className:e,"data-testid":"view code button",icon:"view-code",onClick:l,text:c("VIEW_CODE_BUTTON_TEXT")})},Iu=_react.memo.call(void 0, ux);var Ki={"citation-modal-dialog__header":"wOauhfq_citation-modal-dialog__header","citation-modal-dialog__body":"wOauhfq_citation-modal-dialog__body","citation-modal-dialog":"wOauhfq_citation-modal-dialog"},Gi=Ki,lF=Ki["citation-modal-dialog__header"];var dF=Ki["citation-modal-dialog__body"];var pF=Ki["citation-modal-dialog"];var gx=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {headerText:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),markdown:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function Ax(t){let{headerText:e,markdown:o}=_chunkTMUNLKZWjs.h.call(void 0, gx,t),r=_chunkTMUNLKZWjs.k.call(void 0, Gi),i=_chunkQGLO74KJjs.i.call(void 0, "citation modal"),n=_react.useMemo.call(void 0, ()=>({__html:i(o)}),[o,i]);return _react2.default.createElement(_react.Fragment,null,e&&_react2.default.createElement("h2",{className:r["citation-modal-dialog__header"]},e),i?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, r["citation-modal-dialog__body"],"render-markdown"),dangerouslySetInnerHTML:n}):_react2.default.createElement("div",{className:"render-markdown"},o))}var Nu=_react.memo.call(void 0, Ax);var Ox=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fillColor:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),hasLock:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Nx(t){let{className:e,fillColor:o,hasLock:r}=_chunkTMUNLKZWjs.h.call(void 0, Ox,t);return _react2.default.createElement("svg",{className:_classnames2.default.call(void 0, e),height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},r?_react2.default.createElement(_react.Fragment,null,o&&_react2.default.createElement("path",{d:"M8.35464 2.14678C8.15946 1.95123 7.84268 1.95105 7.64728 2.14638C6.40416 3.38902 5.02923 4 3.5 4C3.22386 4 3 4.22386 3 4.5V7.50126C3 10.4242 4.35378 12.4971 7 13.6523V10C7 9.06808 7.63739 8.28503 8.5 8.06301V8C8.5 6.34315 9.84315 5 11.5 5C12.0464 5 12.5587 5.14609 13 5.40135V4.5C13 4.22386 12.7761 4 12.5 4C10.9689 4 9.5947 3.38913 8.35464 2.14678ZM9.5 9V8C9.5 6.89543 10.3954 6 11.5 6C12.6046 6 13.5 6.89543 13.5 8V9H14C14.5523 9 15 9.44772 15 10V14C15 14.5523 14.5523 15 14 15H9C8.44771 15 8 14.5523 8 14V10C8 9.44772 8.44772 9 9 9H9.5ZM10.5 8V9H12.5V8C12.5 7.44772 12.0523 7 11.5 7C10.9477 7 10.5 7.44772 10.5 8ZM12.25 12C12.25 11.5858 11.9142 11.25 11.5 11.25C11.0858 11.25 10.75 11.5858 10.75 12C10.75 12.4142 11.0858 12.75 11.5 12.75C11.9142 12.75 12.25 12.4142 12.25 12Z",fill:o}),_react2.default.createElement("path",{d:"M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V5.40135C12.6963 5.22567 12.359 5.1017 12 5.04148V4.98121C10.5195 4.86895 9.18521 4.25528 8.00042 3.18917C6.81393 4.25491 5.47941 4.86879 4 4.98118V7.50126C4 8.9349 4.36269 10.0655 5.02127 10.9453C5.49089 11.5727 6.14168 12.1134 7 12.5478V13.6523C4.35378 12.4971 3 10.4242 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638ZM9.5 8V9H9C8.44772 9 8 9.44772 8 10V14C8 14.5523 8.44771 15 9 15H14C14.5523 15 15 14.5523 15 14V10C15 9.44772 14.5523 9 14 9H13.5V8C13.5 6.89543 12.6046 6 11.5 6C10.3954 6 9.5 6.89543 9.5 8ZM10.5 9V8C10.5 7.44772 10.9477 7 11.5 7C12.0523 7 12.5 7.44772 12.5 8V9H10.5ZM11.5 11.25C11.9142 11.25 12.25 11.5858 12.25 12C12.25 12.4142 11.9142 12.75 11.5 12.75C11.0858 12.75 10.75 12.4142 10.75 12C10.75 11.5858 11.0858 11.25 11.5 11.25Z",fill:"currentcolor"})):_react2.default.createElement(_react.Fragment,null,o&&_react2.default.createElement("path",{d:"M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V7.50126C13 10.7196 11.3587 12.9075 8.15811 13.9743C8.05548 14.0086 7.94452 14.0086 7.84189 13.9743C4.64126 12.9075 3 10.7196 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638Z",fill:o}),_react2.default.createElement("path",{d:"M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V7.50126C13 10.7196 11.3587 12.9075 8.15811 13.9743C8.05548 14.0086 7.94452 14.0086 7.84189 13.9743C4.64126 12.9075 3 10.7196 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638ZM8.00042 3.18917C6.81393 4.25491 5.47941 4.86879 4 4.98118V7.50126C4 8.9349 4.36269 10.0655 5.02127 10.9453C5.65858 11.7967 6.62953 12.4885 8 12.9715C9.37047 12.4885 10.3414 11.7967 10.9787 10.9453C11.6373 10.0655 12 8.9349 12 7.50126V4.98121C10.5195 4.86895 9.18521 4.25528 8.00042 3.18917Z",fill:"currentcolor"})))}var Eu=_react.memo.call(void 0, Nx);var Fx=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),color:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),isEncrypted:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Dx(t){let{className:e,color:o,isEncrypted:r,name:i,title:n}=_chunkTMUNLKZWjs.h.call(void 0, Fx,t),a=_chunkTMUNLKZWjs.k.call(void 0, ee);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["link-definitions__message-sensitivity-label"],{"link-definitions__message-sensitivity-label--is-encrypted":r},e),title:_react.useMemo.call(void 0, ()=>[i,n].filter(Boolean).join(`
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkI6EXXZUNjs = require('./chunk-I6EXXZUN.js');var _chunkUQHIWKDVjs = require('./chunk-UQHIWKDV.js');var _chunkJG75MOPDjs = require('./chunk-JG75MOPD.js');var _chunkENHWW2TZjs = require('./chunk-ENHWW2TZ.js');var _chunkTMUNLKZWjs = require('./chunk-TMUNLKZW.js');var s6={};_chunkTMUNLKZWjs.a.call(void 0, s6,{AccessKeySinkSurface:()=>zn,AttachmentBar:()=>_chunkUQHIWKDVjs.J,AudioContent:()=>vi,Avatar:()=>ly,BasicConnectivityStatus:()=>Ln,BasicSendBox:()=>_chunkUQHIWKDVjs.fa,BasicSendBoxToolbar:()=>Mn,BasicToaster:()=>Bn,BasicTranscript:()=>qn,BasicWebChat:()=>Wn,Bubble:()=>ne,Composer:()=>Ro,DictationInterims:()=>_chunkUQHIWKDVjs.K,ErrorBox:()=>dy,FileContent:()=>gi,HTMLVideoContent:()=>Xi,ImageContent:()=>Ai,LocalizedString:()=>Fi,MicrophoneButton:()=>_chunkUQHIWKDVjs.T,ReactWebChat:()=>sy,SendButton:()=>_chunkUQHIWKDVjs.U,SendStatus:()=>hn,SendTextBox:()=>_chunkUQHIWKDVjs.da,SpeakActivity:()=>nn,SuggestedActions:()=>_chunkUQHIWKDVjs.$,TextArea:()=>Xo,TextContent:()=>Vi,ThemeProvider:()=>fy,Timestamp:()=>Oo,UploadButton:()=>Nn,VideoContent:()=>en,VimeoContent:()=>Qi,YouTubeContent:()=>lr});var yy=Object.create,Ed=Object.defineProperty,hy=Object.getOwnPropertyDescriptor,vy=Object.getOwnPropertyNames,wy=Object.getPrototypeOf,gy=Object.prototype.hasOwnProperty,A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ay=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vy(e))!gy.call(t,i)&&i!==o&&Ed(t,i,{get:()=>e[i],enumerable:!(r=hy(e,i))||r.enumerable});return t},Vn=(t,e,o)=>(o=t!=null?yy(wy(t)):{},Ay(e||!t||!t.__esModule?Ed(o,"default",{value:t,enumerable:!0}):o,t));var mt=A((t,e)=>{"use strict";var o=function(r){return r&&r.Math===Math&&r};e.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof global=="object"&&global)||o(typeof t=="object"&&t)||(function(){return this})()||Function("return this")()}),ce=A((t,e)=>{"use strict";e.exports=function(o){try{return!!o()}catch (e3){return!0}}}),li=A((t,e)=>{"use strict";var o=ce();e.exports=!o(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")})}),jd=A((t,e)=>{"use strict";var o=li(),r=Function.prototype,i=r.apply,n=r.call;e.exports=typeof Reflect=="object"&&Reflect.apply||(o?n.bind(i):function(){return n.apply(i,arguments)})}),Ut=A((t,e)=>{"use strict";var o=li(),r=Function.prototype,i=r.call,n=o&&r.bind.bind(i,i);e.exports=o?n:function(a){return function(){return i.apply(a,arguments)}}}),di=A((t,e)=>{"use strict";var o=Ut(),r=o({}.toString),i=o("".slice);e.exports=function(n){return i(r(n),8,-1)}}),Rd=A((t,e)=>{"use strict";var o=di(),r=Ut();e.exports=function(i){if(o(i)==="Function")return r(i)}}),ht=A((t,e)=>{"use strict";var o=typeof document=="object"&&document.all;e.exports=typeof o>"u"&&o!==void 0?function(r){return typeof r=="function"||r===o}:function(r){return typeof r=="function"}}),Te=A((t,e)=>{"use strict";var o=ce();e.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),Jt=A((t,e)=>{"use strict";var o=li(),r=Function.prototype.call;e.exports=o?r.bind(r):function(){return r.apply(r,arguments)}}),xy=A(t=>{"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!e.call({1:2},1);t.f=r?function(i){var n=o(this,i);return!!n&&n.enumerable}:e}),Un=A((t,e)=>{"use strict";e.exports=function(o,r){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:r}}}),Sy=A((t,e)=>{"use strict";var o=Ut(),r=ce(),i=di(),n=Object,a=o("".split);e.exports=r(function(){return!n("z").propertyIsEnumerable(0)})?function(s){return i(s)==="String"?a(s,""):n(s)}:n}),pi=A((t,e)=>{"use strict";e.exports=function(o){return o==null}}),Jn=A((t,e)=>{"use strict";var o=pi(),r=TypeError;e.exports=function(i){if(o(i))throw new r("Can't call method on "+i);return i}}),Fd=A((t,e)=>{"use strict";var o=Sy(),r=Jn();e.exports=function(i){return o(r(i))}}),le=A((t,e)=>{"use strict";var o=ht();e.exports=function(r){return typeof r=="object"?r!==null:o(r)}}),ui=A((t,e)=>{"use strict";e.exports={}}),Ge=A((t,e)=>{"use strict";var o=ui(),r=mt(),i=ht(),n=function(a){return i(a)?a:void 0};e.exports=function(a,s){return arguments.length<2?n(o[a])||n(r[a]):o[a]&&o[a][s]||r[a]&&r[a][s]}}),Zn=A((t,e)=>{"use strict";var o=Ut();e.exports=o({}.isPrototypeOf)}),Go=A((t,e)=>{"use strict";var o=mt(),r=o.navigator,i=r&&r.userAgent;e.exports=i?String(i):""}),Dd=A((t,e)=>{"use strict";var o=mt(),r=Go(),i=o.process,n=o.Deno,a=i&&i.versions||n&&n.version,s=a&&a.v8,c,l;s&&(c=s.split("."),l=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!l&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(l=+c[1]))),e.exports=l}),qd=A((t,e)=>{"use strict";var o=Dd(),r=ce(),i=mt(),n=i.String;e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var a=Symbol("symbol detection");return!n(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&o&&o<41})}),zd=A((t,e)=>{"use strict";var o=qd();e.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Wd=A((t,e)=>{"use strict";var o=Ge(),r=ht(),i=Zn(),n=zd(),a=Object;e.exports=n?function(s){return typeof s=="symbol"}:function(s){var c=o("Symbol");return r(c)&&i(c.prototype,a(s))}}),mi=A((t,e)=>{"use strict";var o=String;e.exports=function(r){try{return o(r)}catch (e7){return"Object"}}}),ke=A((t,e)=>{"use strict";var o=ht(),r=mi(),i=TypeError;e.exports=function(n){if(o(n))return n;throw new i(r(n)+" is not a function")}}),Xn=A((t,e)=>{"use strict";var o=ke(),r=pi();e.exports=function(i,n){var a=i[n];return r(a)?void 0:o(a)}}),Cy=A((t,e)=>{"use strict";var o=Jt(),r=ht(),i=le(),n=TypeError;e.exports=function(a,s){var c,l;if(s==="string"&&r(c=a.toString)&&!i(l=o(c,a))||r(c=a.valueOf)&&!i(l=o(c,a))||s!=="string"&&r(c=a.toString)&&!i(l=o(c,a)))return l;throw new n("Can't convert object to primitive value")}}),Ho=A((t,e)=>{"use strict";e.exports=!0}),Ty=A((t,e)=>{"use strict";var o=mt(),r=Object.defineProperty;e.exports=function(i,n){try{r(o,i,{value:n,configurable:!0,writable:!0})}catch (e8){o[i]=n}return n}}),fi=A((t,e)=>{"use strict";var o=Ho(),r=mt(),i=Ty(),n="__core-js_shared__",a=e.exports=r[n]||i(n,{});(a.versions||(a.versions=[])).push({version:"3.49.0",mode:o?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Kd=A((t,e)=>{"use strict";var o=fi();e.exports=function(r,i){return o[r]||(o[r]=i||{})}}),ky=A((t,e)=>{"use strict";var o=Jn(),r=Object;e.exports=function(i){return r(o(i))}}),co=A((t,e)=>{"use strict";var o=Ut(),r=ky(),i=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(n,a){return i(r(n),a)}}),Gd=A((t,e)=>{"use strict";var o=Ut(),r=0,i=Math.random(),n=o(1.1.toString);e.exports=function(a){return"Symbol("+(a===void 0?"":a)+")_"+n(++r+i,36)}}),Zt=A((t,e)=>{"use strict";var o=mt(),r=Kd(),i=co(),n=Gd(),a=qd(),s=zd(),c=o.Symbol,l=r("wks"),d=s?c.for||c:c&&c.withoutSetter||n;e.exports=function(p){return i(l,p)||(l[p]=a&&i(c,p)?c[p]:d("Symbol."+p)),l[p]}}),Iy=A((t,e)=>{"use strict";var o=Jt(),r=le(),i=Wd(),n=Xn(),a=Cy(),s=Zt(),c=TypeError,l=s("toPrimitive");e.exports=function(d,p){if(!r(d)||i(d))return d;var m=n(d,l),u;if(m){if(p===void 0&&(p="default"),u=o(m,d,p),!r(u)||i(u))return u;throw new c("Can't convert object to primitive value")}return p===void 0&&(p="number"),a(d,p)}}),Hd=A((t,e)=>{"use strict";var o=Iy(),r=Wd();e.exports=function(i){var n=o(i,"string");return r(n)?n:n+""}}),Yd=A((t,e)=>{"use strict";var o=mt(),r=le(),i=o.document,n=r(i)&&r(i.createElement);e.exports=function(a){return n?i.createElement(a):{}}}),Vd=A((t,e)=>{"use strict";var o=Te(),r=ce(),i=Yd();e.exports=!o&&!r(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!==7})}),Oy=A(t=>{"use strict";var e=Te(),o=Jt(),r=xy(),i=Un(),n=Fd(),a=Hd(),s=co(),c=Vd(),l=Object.getOwnPropertyDescriptor;t.f=e?l:function(d,p){if(d=n(d),p=a(p),c)try{return l(d,p)}catch (e9){}if(s(d,p))return i(!o(r.f,d,p),d[p])}}),Ud=A((t,e)=>{"use strict";var o=ce(),r=ht(),i=/#|\.prototype\./,n=function(d,p){var m=s[a(d)];return m===l?!0:m===c?!1:r(p)?o(p):!!p},a=n.normalize=function(d){return String(d).replace(i,".").toLowerCase()},s=n.data={},c=n.NATIVE="N",l=n.POLYFILL="P";e.exports=n}),bi=A((t,e)=>{"use strict";var o=Rd(),r=ke(),i=li(),n=o(o.bind);e.exports=function(a,s){return r(a),s===void 0?a:i?n(a,s):function(){return a.apply(s,arguments)}}}),Ny=A((t,e)=>{"use strict";var o=Te(),r=ce();e.exports=o&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}),lo=A((t,e)=>{"use strict";var o=le(),r=String,i=TypeError;e.exports=function(n){if(o(n))return n;throw new i(r(n)+" is not an object")}}),_i=A(t=>{"use strict";var e=Te(),o=Vd(),r=Ny(),i=lo(),n=Hd(),a=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",p="writable";t.f=e?r?function(m,u,f){if(i(m),u=n(u),i(f),typeof m=="function"&&u==="prototype"&&"value"in f&&p in f&&!f[p]){var b=c(m,u);b&&b[p]&&(m[u]=f.value,f={configurable:d in f?f[d]:b[d],enumerable:l in f?f[l]:b[l],writable:!1})}return s(m,u,f)}:s:function(m,u,f){if(i(m),u=n(u),i(f),o)try{return s(m,u,f)}catch (e10){}if("get"in f||"set"in f)throw new a("Accessors not supported");return"value"in f&&(m[u]=f.value),m}}),yi=A((t,e)=>{"use strict";var o=Te(),r=_i(),i=Un();e.exports=o?function(n,a,s){return r.f(n,a,i(1,s))}:function(n,a,s){return n[a]=s,n}}),Ie=A((t,e)=>{"use strict";var o=mt(),r=jd(),i=Rd(),n=ht(),a=Oy().f,s=Ud(),c=ui(),l=bi(),d=yi(),p=co();fi();var m=function(u){var f=function(b,y,v){if(this instanceof f){switch(arguments.length){case 0:return new u;case 1:return new u(b);case 2:return new u(b,y)}return new u(b,y,v)}return r(u,this,arguments)};return f.prototype=u.prototype,f};e.exports=function(u,f){var b=u.target,y=u.global,v=u.stat,h=u.proto,x=y?o:v?o[b]:o[b]&&o[b].prototype,w=y?c:c[b]||d(c,b,{})[b],g=w.prototype,k,I,_,S,N,B,L,z,W;for(S in f)k=s(y?S:b+(v?".":"#")+S,u.forced),I=!k&&x&&p(x,S),B=w[S],I&&(u.dontCallGetSet?(W=a(x,S),L=W&&W.value):L=x[S]),N=I&&L?L:f[S],!(!k&&!h&&typeof B==typeof N)&&(u.bind&&I?z=l(N,o):u.wrap&&I?z=m(N):h&&n(N)?z=i(N):z=N,(u.sham||N&&N.sham||B&&B.sham)&&d(z,"sham",!0),d(w,S,z),h&&(_=b+"Prototype",p(c,_)||d(c,_,{}),d(c[_],S,N),u.real&&g&&(k||!g[S])&&d(g,S,N)))}}),My=A((t,e)=>{"use strict";e.exports=function(){}}),Py=A((t,e)=>{"use strict";var o=TypeError,r=9007199254740991;e.exports=function(i){if(i>r)throw new o("Maximum allowed index exceeded");return i}}),Ey=A((t,e)=>{"use strict";var o=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(i){var n=+i;return(n>0?r:o)(n)}}),Qn=A((t,e)=>{"use strict";var o=Ey();e.exports=function(r){var i=+r;return i!==i||i===0?0:o(i)}}),Ly=A((t,e)=>{"use strict";var o=Qn(),r=Math.min;e.exports=function(i){var n=o(i);return n>0?r(n,9007199254740991):0}}),Jd=A((t,e)=>{"use strict";var o=Ly();e.exports=function(r){return o(r.length)}}),By=A((t,e)=>{"use strict";var o=Qn(),r=Math.max,i=Math.min;e.exports=function(n,a){var s=o(n);return s<0?r(s+a,0):i(s,a)}}),jy=A((t,e)=>{"use strict";var o=Te(),r=_i(),i=Un();e.exports=function(n,a,s){o?r.f(n,a,i(0,s)):n[a]=s}}),Zd=A(()=>{"use strict";var t=Ie(),e=My(),o=Py(),r=Jd(),i=By(),n=Fd(),a=Qn(),s=jy(),c=Array,l=Math.max,d=Math.min;t({target:"Array",proto:!0},{toSpliced:function(p,m){var u=n(this),f=r(u),b=i(p,f),y=arguments.length,v=0,h,x,w,g;for(y===0?h=x=0:y===1?(h=0,x=f-b):(h=y-2,x=d(l(a(m),0),f-b)),w=o(f+h-x),g=c(w);v<b;v++)s(g,v,u[v]);for(;v<b+h;v++)s(g,v,arguments[v-b+2]);for(;v<w;v++)s(g,v,u[v+x-h]);return g}}),e("toSpliced")}),Ry=A((t,e)=>{"use strict";var o=Ge();e.exports=o}),Fy=A((t,e)=>{"use strict";Zd();var o=Ry();e.exports=o("Array","toSpliced")}),Dy=A((t,e)=>{"use strict";var o=Fy();e.exports=o}),qy=A(()=>{"use strict";Zd()}),zy=A((t,e)=>{"use strict";var o=Dy();qy(),e.exports=o}),Wy=A((t,e)=>{"use strict";var o=zy();e.exports=o}),Ky=A((t,e)=>{"use strict";e.exports=Wy()}),Xd=A((t,e)=>{"use strict";var o=mt(),r=Go(),i=di(),n=function(a){return r.slice(0,a.length)===a};e.exports=(function(){return n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":o.Bun&&typeof Bun.version=="string"?"BUN":o.Deno&&typeof Deno.version=="object"?"DENO":i(o.process)==="process"?"NODE":o.window&&o.document?"BROWSER":"REST"})()}),$n=A((t,e)=>{"use strict";var o=Xd();e.exports=o==="NODE"}),Qd=A((t,e)=>{"use strict";var o=yi();e.exports=function(r,i,n,a){return a&&a.enumerable?r[i]=n:o(r,i,n),r}}),Gy=A((t,e)=>{"use strict";var o=Ut(),r=ke();e.exports=function(i,n,a){try{return o(r(Object.getOwnPropertyDescriptor(i,n)[a]))}catch (e11){}}}),Hy=A((t,e)=>{"use strict";var o=le();e.exports=function(r){return o(r)||r===null}}),Yy=A((t,e)=>{"use strict";var o=Hy(),r=String,i=TypeError;e.exports=function(n){if(o(n))return n;throw new i("Can't set "+r(n)+" as a prototype")}}),Vy=A((t,e)=>{"use strict";var o=Gy(),r=le(),i=Jn(),n=Yy();e.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var a=!1,s={},c;try{c=o(Object.prototype,"__proto__","set"),c(s,[]),a=s instanceof Array}catch (e12){}return function(l,d){return i(l),n(d),r(l)&&(a?c(l,d):l.__proto__=d),l}})():void 0)}),ta=A((t,e)=>{"use strict";var o=Zt(),r=o("toStringTag"),i={};i[r]="z",e.exports=String(i)==="[object z]"}),ea=A((t,e)=>{"use strict";var o=ta(),r=ht(),i=di(),n=Zt(),a=n("toStringTag"),s=Object,c=i((function(){return arguments})())==="Arguments",l=function(d,p){try{return d[p]}catch (e13){}};e.exports=o?i:function(d){var p,m,u;return d===void 0?"Undefined":d===null?"Null":typeof(m=l(p=s(d),a))=="string"?m:c?i(p):(u=i(p))==="Object"&&r(p.callee)?"Arguments":u}}),Uy=A((t,e)=>{"use strict";var o=ta(),r=ea();e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}}),Jy=A((t,e)=>{"use strict";var o=ta(),r=_i().f,i=yi(),n=co(),a=Uy(),s=Zt(),c=s("toStringTag");e.exports=function(l,d,p,m){var u=p?l:l&&l.prototype;u&&(n(u,c)||r(u,c,{configurable:!0,value:d}),m&&!o&&i(u,"toString",a))}}),Zy=A((t,e)=>{"use strict";var o=_i();e.exports=function(r,i,n){return o.f(r,i,n)}}),Xy=A((t,e)=>{"use strict";var o=Ge(),r=Zy(),i=Zt(),n=Te(),a=i("species");e.exports=function(s){var c=o(s);n&&c&&!c[a]&&r(c,a,{configurable:!0,get:function(){return this}})}}),Qy=A((t,e)=>{"use strict";var o=Zn(),r=TypeError;e.exports=function(i,n){if(o(n,i))return i;throw new r("Incorrect invocation")}}),$d=A((t,e)=>{"use strict";var o=Ut(),r=ht(),i=fi(),n=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(a){return n(a)}),e.exports=i.inspectSource}),$y=A((t,e)=>{"use strict";var o=Ut(),r=ce(),i=ht(),n=ea(),a=Ge(),s=$d(),c=function(){},l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=o(d.exec),m=!d.test(c),u=function(b){if(!i(b))return!1;try{return l(c,[],b),!0}catch (e14){return!1}},f=function(b){if(!i(b))return!1;switch(n(b)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!p(d,s(b))}catch (e15){return!0}};f.sham=!0,e.exports=!l||r(function(){var b;return u(u.call)||!u(Object)||!u(function(){b=!0})||b})?f:u}),th=A((t,e)=>{"use strict";var o=$y(),r=mi(),i=TypeError;e.exports=function(n){if(o(n))return n;throw new i(r(n)+" is not a constructor")}}),eh=A((t,e)=>{"use strict";var o=lo(),r=th(),i=pi(),n=Zt(),a=n("species");e.exports=function(s,c){var l=o(s).constructor,d;return l===void 0||i(d=o(l)[a])?c:r(d)}}),oh=A((t,e)=>{"use strict";var o=Ge();e.exports=o("document","documentElement")}),rh=A((t,e)=>{"use strict";var o=Ut();e.exports=o([].slice)}),ih=A((t,e)=>{"use strict";var o=TypeError;e.exports=function(r,i){if(r<i)throw new o("Not enough arguments");return r}}),tp=A((t,e)=>{"use strict";var o=Go();e.exports=/ipad|iphone|ipod/i.test(o)&&/applewebkit/i.test(o)}),ep=A((t,e)=>{"use strict";var o=mt(),r=jd(),i=bi(),n=ht(),a=co(),s=ce(),c=oh(),l=rh(),d=Yd(),p=ih(),m=tp(),u=$n(),f=o.setImmediate,b=o.clearImmediate,y=o.process,v=o.Dispatch,h=o.Function,x=o.MessageChannel,w=o.String,g=0,k={},I="onreadystatechange",_,S,N,B;s(function(){_=o.location});var L=function(T){if(a(k,T)){var R=k[T];delete k[T],R()}},z=function(T){return function(){L(T)}},W=function(T){L(T.data)},K=function(T){o.postMessage(w(T),_.protocol+"//"+_.host)};(!f||!b)&&(f=function(T){p(arguments.length,1);var R=n(T)?T:h(T),O=l(arguments,1);return k[++g]=function(){r(R,void 0,O)},S(g),g},b=function(T){delete k[T]},u?S=function(T){y.nextTick(z(T))}:v&&v.now?S=function(T){v.now(z(T))}:x&&!m?(N=new x,B=N.port2,N.port1.onmessage=W,S=i(B.postMessage,B)):o.addEventListener&&n(o.postMessage)&&!o.importScripts&&_&&_.protocol!=="file:"&&!s(K)?(S=K,o.addEventListener("message",W,!1)):I in d("script")?S=function(T){c.appendChild(d("script"))[I]=function(){c.removeChild(this),L(T)}}:S=function(T){setTimeout(z(T),0)}),e.exports={set:f,clear:b}}),nh=A((t,e)=>{"use strict";var o=mt(),r=Te(),i=Object.getOwnPropertyDescriptor;e.exports=function(n){if(!r)return o[n];var a=i(o,n);return a&&a.value}}),op=A((t,e)=>{"use strict";var o=function(){this.head=null,this.tail=null};o.prototype={add:function(r){var i={item:r,next:null},n=this.tail;n?n.next=i:this.head=i,this.tail=i},get:function(){var r=this.head;if(r){var i=this.head=r.next;return i===null&&(this.tail=null),r.item}}},e.exports=o}),ah=A((t,e)=>{"use strict";var o=Go();e.exports=/ipad|iphone|ipod/i.test(o)&&typeof Pebble<"u"}),sh=A((t,e)=>{"use strict";var o=Go();e.exports=/web0s(?!.*chrome)/i.test(o)}),ch=A((t,e)=>{"use strict";var o=mt(),r=nh(),i=bi(),n=ep().set,a=op(),s=tp(),c=ah(),l=sh(),d=$n(),p=o.MutationObserver||o.WebKitMutationObserver,m=o.document,u=o.process,f=o.Promise,b=r("queueMicrotask"),y,v,h,x,w;b||(g=new a,k=function(){var I,_;for(d&&(I=u.domain)&&I.exit();_=g.get();)try{_()}catch(S){throw g.head&&y(),S}I&&I.enter()},!s&&!d&&!l&&p&&m?(v=!0,h=m.createTextNode(""),new p(k).observe(h,{characterData:!0}),y=function(){h.data=v=!v}):!c&&f&&f.resolve?(x=f.resolve(void 0),x.constructor=f,w=i(x.then,x),y=function(){w(k)}):d?y=function(){u.nextTick(k)}:(n=i(n,o),y=function(){n(k)}),b=function(I){g.head||y(),g.add(I)});var g,k;e.exports=b}),lh=A((t,e)=>{"use strict";e.exports=function(o,r){try{arguments.length===1?console.error(o):console.error(o,r)}catch (e16){}}}),oa=A((t,e)=>{"use strict";e.exports=function(o){try{return{error:!1,value:o()}}catch(r){return{error:!0,value:r}}}}),dh=A((t,e)=>{"use strict";var o=mt(),r=ht(),i=o.WeakMap;e.exports=r(i)&&/native code/.test(String(i))}),ph=A((t,e)=>{"use strict";var o=Kd(),r=Gd(),i=o("keys");e.exports=function(n){return i[n]||(i[n]=r(n))}}),uh=A((t,e)=>{"use strict";e.exports={}}),mh=A((t,e)=>{"use strict";var o=dh(),r=mt(),i=le(),n=yi(),a=co(),s=fi(),c=ph(),l=uh(),d="Object already initialized",p=r.TypeError,m=r.WeakMap,u,f,b,y=function(w){return b(w)?f(w):u(w,{})},v=function(w){return function(g){var k;if(!i(g)||(k=f(g)).type!==w)throw new p("Incompatible receiver, "+w+" required");return k}};o||s.state?(h=s.state||(s.state=new m),h.get=h.get,h.has=h.has,h.set=h.set,u=function(w,g){if(h.has(w))throw new p(d);return g.facade=w,h.set(w,g),g},f=function(w){return h.get(w)||{}},b=function(w){return h.has(w)}):(x=c("state"),l[x]=!0,u=function(w,g){if(a(w,x))throw new p(d);return g.facade=w,n(w,x,g),g},f=function(w){return a(w,x)?w[x]:{}},b=function(w){return a(w,x)});var h,x;e.exports={set:u,get:f,has:b,enforce:y,getterFor:v}}),Yo=A((t,e)=>{"use strict";var o=mt();e.exports=o.Promise}),Vo=A((t,e)=>{"use strict";var o=mt(),r=Yo(),i=ht(),n=Ud(),a=$d(),s=Zt(),c=Xd(),l=Ho(),d=Dd(),p=r&&r.prototype,m=s("species"),u=!1,f=i(o.PromiseRejectionEvent),b=n("Promise",function(){var y=a(r),v=y!==String(r);if(!v&&d===66||l&&!(p.catch&&p.finally))return!0;if(!d||d<51||!/native code/.test(y)){var h=new r(function(g){g(1)}),x=function(g){g(function(){},function(){})},w=h.constructor={};if(w[m]=x,u=h.then(function(){})instanceof x,!u)return!0}return!v&&(c==="BROWSER"||c==="DENO")&&!f});e.exports={CONSTRUCTOR:b,REJECTION_EVENT:f,SUBCLASSING:u}}),po=A((t,e)=>{"use strict";var o=ke(),r=TypeError,i=function(n){var a,s;this.promise=new n(function(c,l){if(a!==void 0||s!==void 0)throw new r("Bad Promise constructor");a=c,s=l}),this.resolve=o(a),this.reject=o(s)};e.exports.f=function(n){return new i(n)}}),fh=A(()=>{"use strict";var t=Ie(),e=Ho(),o=$n(),r=mt(),i=ui(),n=Jt(),a=Qd(),s=Vy(),c=Jy(),l=Xy(),d=ke(),p=ht(),m=le(),u=Qy(),f=eh(),b=ep().set,y=ch(),v=lh(),h=oa(),x=op(),w=mh(),g=Yo(),k=Vo(),I=po(),_="Promise",S=k.CONSTRUCTOR,N=k.REJECTION_EVENT,B=k.SUBCLASSING,L=w.getterFor(_),z=w.set,W=g&&g.prototype,K=g,T=W,R=r.TypeError,O=r.document,j=r.process,G=I.f,q=G,Y=!!(O&&O.createEvent&&r.dispatchEvent),M="unhandledrejection",U="rejectionhandled",V=0,et=1,pt=2,ft=1,gt=2,ut,rt,vt,Ft,io=function(P){var J;return m(P)&&p(J=P.then)?J:!1},zr=function(P,J){var Q=J.value,$=J.state===et,ct=$?P.ok:P.fail,We=P.resolve,Ke=P.reject,ve=P.domain,we,Hr,Yr;try{ct?($||(J.rejection===gt&&Gn(J),J.rejection=ft),ct===!0?we=Q:(ve&&ve.enter(),we=ct(Q),ve&&(ve.exit(),Yr=!0)),we===P.promise?Ke(new R("Promise-chain cycle")):(Hr=io(we))?n(Hr,we,We,Ke):We(we)):Ke(Q)}catch(by){ve&&!Yr&&ve.exit(),Ke(by)}},Wr=function(P,J){P.notified||(P.notified=!0,y(function(){for(var Q=P.reactions,$;$=Q.get();)zr($,P);P.notified=!1,J&&!P.rejection&&Kn(P)}))},Kr=function(P,J,Q){var $,ct;Y?($=O.createEvent("Event"),$.promise=J,$.reason=Q,$.initEvent(P,!1,!0),r.dispatchEvent($)):$={promise:J,reason:Q},!N&&(ct=r["on"+P])?ct($):P===M&&v("Unhandled promise rejection",Q)},Kn=function(P){n(b,r,function(){var J=P.facade,Q=P.value,$=Gr(P),ct;if($&&(ct=h(function(){o?j.emit("unhandledRejection",Q,J):Kr(M,J,Q)}),P.rejection=o||Gr(P)?gt:ft,ct.error))throw ct.value})},Gr=function(P){return P.rejection!==ft&&!P.parent},Gn=function(P){n(b,r,function(){var J=P.facade;o?j.emit("rejectionHandled",J):Kr(U,J,P.value)})},ye=function(P,J,Q){return function($){P(J,$,Q)}},he=function(P,J,Q){P.done||(P.done=!0,Q&&(P=Q),P.value=J,P.state=pt,Wr(P,!0))},Fo=function(P,J,Q){if(!P.done){P.done=!0,Q&&(P=Q);try{if(P.facade===J)throw new R("Promise can't be resolved itself");var $=io(J);$?y(function(){var ct={done:!1};try{n($,J,ye(Fo,ct,P),ye(he,ct,P))}catch(We){he(ct,We,P)}}):(P.value=J,P.state=et,Wr(P,!1))}catch(ct){he({done:!1},ct,P)}}};if(S&&(K=function(P){u(this,T),d(P),n(ut,this);var J=L(this);try{P(ye(Fo,J),ye(he,J))}catch(Q){he(J,Q)}},T=K.prototype,ut=function(P){z(this,{type:_,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:V,value:null})},ut.prototype=a(T,"then",function(P,J){var Q=L(this),$=G(f(this,K));return Q.parent=!0,$.ok=p(P)?P:!0,$.fail=p(J)&&J,$.domain=o?j.domain:void 0,Q.state===V?Q.reactions.add($):y(function(){zr($,Q)}),$.promise}),rt=function(){var P=new ut,J=L(P);this.promise=P,this.resolve=ye(Fo,J),this.reject=ye(he,J)},I.f=G=function(P){return P===K||P===vt?new rt(P):q(P)},!e&&p(g)&&W!==Object.prototype)){Ft=W.then,B||a(W,"then",function(P,J){var Q=this;return new K(function($,ct){n(Ft,Q,$,ct)}).then(P,J)},{unsafe:!0});try{delete W.constructor}catch (e17){}s&&s(W,T)}t({global:!0,constructor:!0,wrap:!0,forced:S},{Promise:K}),vt=i.Promise,c(K,_,!1,!0),l(_)}),rp=A((t,e)=>{"use strict";e.exports={}}),bh=A((t,e)=>{"use strict";var o=Zt(),r=rp(),i=o("iterator"),n=Array.prototype;e.exports=function(a){return a!==void 0&&(r.Array===a||n[i]===a)}}),ip=A((t,e)=>{"use strict";var o=ea(),r=Xn(),i=pi(),n=rp(),a=Zt(),s=a("iterator");e.exports=function(c){if(!i(c))return r(c,s)||r(c,"@@iterator")||n[o(c)]}}),_h=A((t,e)=>{"use strict";var o=Jt(),r=ke(),i=lo(),n=mi(),a=ip(),s=TypeError;e.exports=function(c,l){var d=arguments.length<2?a(c):l;if(r(d))return i(o(d,c));throw new s(n(c)+" is not iterable")}}),yh=A((t,e)=>{"use strict";var o=Jt(),r=lo(),i=Xn();e.exports=function(n,a,s){var c,l;r(n);try{if(c=i(n,"return"),!c){if(a==="throw")throw s;return s}c=o(c,n)}catch(d){l=!0,c=d}if(a==="throw")throw s;if(l)throw c;return r(c),s}}),np=A((t,e)=>{"use strict";var o=bi(),r=Jt(),i=lo(),n=mi(),a=bh(),s=Jd(),c=Zn(),l=_h(),d=ip(),p=yh(),m=TypeError,u=function(b,y){this.stopped=b,this.result=y},f=u.prototype;e.exports=function(b,y,v){var h=v&&v.that,x=!!(v&&v.AS_ENTRIES),w=!!(v&&v.IS_RECORD),g=!!(v&&v.IS_ITERATOR),k=!!(v&&v.INTERRUPTED),I=o(y,h),_,S,N,B,L,z,W,K=function(O){var j=_;return _=void 0,j&&p(j,"normal"),new u(!0,O)},T=function(O){return x?(i(O),k?I(O[0],O[1],K):I(O[0],O[1])):k?I(O,K):I(O)};if(w)_=b.iterator;else if(g)_=b;else{if(S=d(b),!S)throw new m(n(b)+" is not iterable");if(a(S)){for(N=0,B=s(b);B>N;N++)if(L=T(b[N]),L&&c(f,L))return L;return new u(!1)}_=l(b,S)}for(z=w?b.next:_.next;!(W=r(z,_)).done;){var R=W.value;try{L=T(R)}catch(O){if(_)p(_,"throw",O);else throw O}if(typeof L=="object"&&L&&c(f,L))return L}return new u(!1)}}),hh=A((t,e)=>{"use strict";var o=Zt(),r=o("iterator"),i=!1;try{n=0,a={next:function(){return{done:!!n++}},return:function(){i=!0}},a[r]=function(){return this},Array.from(a,function(){throw 2})}catch (e18){}var n,a;e.exports=function(s,c){try{if(!c&&!i)return!1}catch (e19){return!1}var l=!1;try{var d={};d[r]=function(){return{next:function(){return{done:l=!0}}}},s(d)}catch (e20){}return l}}),ap=A((t,e)=>{"use strict";var o=Yo(),r=hh(),i=Vo().CONSTRUCTOR;e.exports=i||!r(function(n){o.all(n).then(void 0,function(){})})}),vh=A(()=>{"use strict";var t=Ie(),e=Jt(),o=ke(),r=po(),i=oa(),n=np(),a=ap();t({target:"Promise",stat:!0,forced:a},{all:function(s){var c=this,l=r.f(c),d=l.resolve,p=l.reject,m=i(function(){var u=o(c.resolve),f=[],b=0,y=1;n(s,function(v){var h=b++,x=!1;y++,e(u,c,v).then(function(w){x||(x=!0,f[h]=w,--y||d(f))},p)}),--y||d(f)});return m.error&&p(m.value),l.promise}})}),wh=A(()=>{"use strict";var t=Ie(),e=Ho(),o=Vo().CONSTRUCTOR,r=Yo(),i=Ge(),n=ht(),a=Qd(),s=r&&r.prototype;t({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&n(r)&&(c=i("Promise").prototype.catch,s.catch!==c&&a(s,"catch",c,{unsafe:!0}));var c}),gh=A(()=>{"use strict";var t=Ie(),e=Jt(),o=ke(),r=po(),i=oa(),n=np(),a=ap();t({target:"Promise",stat:!0,forced:a},{race:function(s){var c=this,l=r.f(c),d=l.reject,p=i(function(){var m=o(c.resolve);n(s,function(u){e(m,c,u).then(l.resolve,d)})});return p.error&&d(p.value),l.promise}})}),Ah=A(()=>{"use strict";var t=Ie(),e=po(),o=Vo().CONSTRUCTOR;t({target:"Promise",stat:!0,forced:o},{reject:function(r){var i=e.f(this),n=i.reject;return n(r),i.promise}})}),xh=A((t,e)=>{"use strict";var o=lo(),r=le(),i=po();e.exports=function(n,a){if(o(n),r(a)&&a.constructor===n)return a;var s=i.f(n),c=s.resolve;return c(a),s.promise}}),Sh=A(()=>{"use strict";var t=Ie(),e=Ge(),o=Ho(),r=Yo(),i=Vo().CONSTRUCTOR,n=xh(),a=e("Promise"),s=o&&!i;t({target:"Promise",stat:!0,forced:o||i},{resolve:function(c){return n(s&&this===a?r:this,c)}})}),Ch=A(()=>{"use strict";fh(),vh(),wh(),gh(),Ah(),Sh()}),sp=A(()=>{"use strict";var t=Ie(),e=po();t({target:"Promise",stat:!0},{withResolvers:function(){var o=e.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})}),Th=A((t,e)=>{"use strict";Ch(),sp();var o=Jt(),r=ht(),i=ui(),n=i.Promise,a=n.withResolvers;e.exports=function(){return o(a,r(this)?this:n)}}),kh=A((t,e)=>{"use strict";var o=Th();e.exports=o}),Ih=A(()=>{"use strict";sp()}),Oh=A((t,e)=>{"use strict";var o=kh();Ih(),e.exports=o}),Nh=A((t,e)=>{"use strict";var o=Oh();e.exports=o}),Mh=A((t,e)=>{"use strict";e.exports=Nh()});function Ph(t){return t.replace(/[A-Z]+(?![a-z])|[A-Z]/gu,(e,o)=>(o?"-":"")+e.toLowerCase())}function Ld(t,e){try{let{document:o}=globalThis;if(typeof o<"u"&&o.createElement&&o.head&&o.head.appendChild){let r=o.querySelector(`html meta[name="${encodeURI(t)}"]`)||o.createElement("meta");r.setAttribute("name",t),r.setAttribute("content",typeof e=="string"?e:Array.from(e.entries()).map(([i,n])=>{let a=Ph(encodeURIComponent(i));return typeof n>"u"?a:`${a}=${encodeURIComponent(n)}`}).join("; ")),o.head.appendChild(r)}}catch (e21){}}var Ce,Wo,Ko,ci,cp,Bd,Eh=(Bd=class{constructor(t){_chunkTMUNLKZWjs.d.call(void 0, this,ci);_chunkTMUNLKZWjs.d.call(void 0, this,Ce,new Map);_chunkTMUNLKZWjs.d.call(void 0, this,Wo);_chunkTMUNLKZWjs.d.call(void 0, this,Ko,{});_chunkTMUNLKZWjs.e.call(void 0, this,Wo,t)}get name(){return _chunkTMUNLKZWjs.c.call(void 0, this,Wo)}get object(){return _chunkTMUNLKZWjs.c.call(void 0, this,Ko)}get version(){return _chunkTMUNLKZWjs.c.call(void 0, this,Ce).get("version")}delete(t){_chunkTMUNLKZWjs.c.call(void 0, this,Ce).delete(t)}get(t){return _chunkTMUNLKZWjs.c.call(void 0, this,Ce).get(t)}set(t,e){_chunkTMUNLKZWjs.c.call(void 0, this,Ce).set(t,e),Object.defineProperty(_chunkTMUNLKZWjs.c.call(void 0, this,Ko),t,{configurable:!0,enumerable:!0,value:e,writable:!1}),_chunkTMUNLKZWjs.f.call(void 0, this,ci,cp).call(this)}},Ce=new WeakMap,Wo=new WeakMap,Ko=new WeakMap,ci=new WeakSet,cp=function(){Ld(this.name,_chunkTMUNLKZWjs.c.call(void 0, this,Ce)),this.version&&Ld(`${this.name}:version`,this.version)},Bd);function Lh(t){return new Eh(t)}var d6=Lh;function Bh(t){let e=!1;return(...o)=>{e||(t(...o),e=!0)}}function lp(t){return Bh((...e)=>console.warn(`botframework-webchat: ${t}`,...e))}var p6=Object.freeze(Array.from(new Set([...Object.getOwnPropertyNames(Object.prototype),"prototype"])));var u6=Object.prototype;var jh=Object.freeze([]);function Xt(t){return typeof t>"u"?jh:Object.freeze(Array.isArray(t)?[...t]:[t])}var m6=Vn(Ky());var f6=Vn(Mh());var _botframeworkwebchatapi = require('botframework-webchat-api');var _decoratorjs = require('botframework-webchat-api/decorator.js');var _internaljs = require('botframework-webchat-core/internal.js');var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);var _proptypes = require('prop-types'); var _proptypes2 = _interopRequireDefault(_proptypes);var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _reactsay = require('react-say'); var _reactsay2 = _interopRequireDefault(_reactsay);var _valibot = require('valibot');var Wh=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),poster:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),src:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function Kh(t){let{alt:e,autoPlay:o=!1,loop:r=!1,src:i}=_chunkTMUNLKZWjs.h.call(void 0, Wh,t),[{audioContent:n}]=_chunkUQHIWKDVjs.c.call(void 0, );return _react2.default.createElement("audio",{"aria-label":e,autoPlay:o,className:n,controls:!0,loop:r,src:i})}var vi=_react.memo.call(void 0, Kh);var up=({attachment:t})=>{let[{audioAttachment:e}]=_chunkUQHIWKDVjs.c.call(void 0, );return _react2.default.createElement("div",{className:e},_react2.default.createElement(vi,{alt:t.name,src:t.contentUrl}))};up.propTypes={attachment:_proptypes2.default.shape({contentUrl:_proptypes2.default.string.isRequired,name:_proptypes2.default.string}).isRequired};var mp=up;var{useByteFormatter:wp,useDirection:Vh,useLocalizer:Uh}=_botframeworkwebchatapi.hooks,Jh={display:"flex","& .webchat__fileContent__buttonLink":{display:"flex",flex:1},"& .webchat__fileContent__badge":{display:"flex",flex:1,flexDirection:"column"}},Zh=["blob:","data:","http:","https:"];function Xh(t){try{return Zh.includes(new URL(t).protocol)}catch (e22){return!1}}var Qh=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {downloadIcon:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),fileName:_valibot.string.call(void 0, ),size:_valibot.optional.call(void 0, _valibot.number.call(void 0, ))}),_valibot.readonly.call(void 0, )),fp=t=>{let{downloadIcon:e=!1,fileName:o,size:r}=_chunkTMUNLKZWjs.h.call(void 0, Qh,t),[i]=Vh(),n=wp(),a=typeof r=="number"&&n(r);return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__fileContent__badge"},_react2.default.createElement("div",{className:"webchat__fileContent__fileName"},o),!!a&&_react2.default.createElement("div",{className:"webchat__fileContent__size"},a)),e&&_react2.default.createElement(_chunkENHWW2TZjs.e,{appearance:"text",className:_classnames2.default.call(void 0, "webchat__fileContent__downloadIcon",i==="rtl"&&"webchat__fileContent__downloadIcon--rtl"),icon:"download"}))},$h=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fileName:_valibot.string.call(void 0, ),href:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),size:_valibot.optional.call(void 0, _valibot.number.call(void 0, ))}),_valibot.readonly.call(void 0, ));function tv(t){let{className:e,href:o,fileName:r,size:i}=_chunkTMUNLKZWjs.h.call(void 0, $h,t),[{fileContent:n}]=_chunkUQHIWKDVjs.c.call(void 0, ),a=Uh(),s=wp(),c=_chunkENHWW2TZjs.a.call(void 0, )(Jh)+"",l=typeof i=="number"&&s(i),d=o&&Xh(o)?o:void 0,p=a(d?l?"FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"FILE_CONTENT_DOWNLOADABLE_ALT":l?"FILE_CONTENT_WITH_SIZE_ALT":"FILE_CONTENT_ALT",r,l);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__fileContent",c,n+"",e)},d?_react2.default.createElement("a",{"aria-label":p,className:"webchat__fileContent__buttonLink",download:r,href:d,rel:"noopener noreferrer",target:"_blank"},_react2.default.createElement(fp,{downloadIcon:!0,fileName:r,size:i})):_react2.default.createElement(fp,{downloadIcon:!1,fileName:r,size:i}))}var gi=_react.memo.call(void 0, tv);var gp=({activity:{attachments:t=[],channelData:{attachmentSizes:e=[]}={}}={},attachment:o})=>{let r=t.indexOf(o),i=e[+r];return _react2.default.createElement(gi,{fileName:o.name,href:o.contentUrl,size:i})};gp.propTypes={activity:_proptypes2.default.shape({attachment:_proptypes2.default.array,channelData:_proptypes2.default.shape({attachmentSizes:_proptypes2.default.arrayOf(_proptypes2.default.number)})}).isRequired,attachment:_proptypes2.default.shape({contentUrl:_proptypes2.default.string,name:_proptypes2.default.string.isRequired}).isRequired};var na=gp;var _base64js = require('base64-js');var rv=/^data:([^,]*?)(;(base64)){0,1},([A-Za-z0-9+/=]+)/u,iv="text/plain;charset=US-ASCII";function nv(t){let e=rv.exec(t);if(!e)return;let[,o,,r,i]=e;if(r==="base64")return{base64:i,contentType:o||iv,encoding:r}}function aa(t){let e=nv(t);if(e)return new Blob([_base64js.toByteArray.call(void 0, e.base64).buffer],{type:e.contentType})}var av=Object.freeze({BackgroundCardPushButton:"--webchat__background--card-push-button",BackgroundBubble:"--webchat__background--bubble",BackgroundBubbleUser:"--webchat__background--bubble-user",BackgroundCodeBlock:"--webchat__background--code-block",BackgroundImageSpinnerAnimation:"--webchat__background-image--spinner-animation",BackgroundImageTypingAnimation:"--webchat__background-image--typing-animation",BackgroundToastError:"--webchat__background--toast-error",BackgroundToastInfo:"--webchat__background--toast-info",BackgroundToastSuccess:"--webchat__background--toast-success",BackgroundToastWarn:"--webchat__background--toast-warn",BackgroundTranscriptOverlayButton:"--webchat__background--transcript-overlay-button",BackgroundTranscriptOverlayButtonDisabled:"--webchat__background--transcript-overlay-button-disabled",BackgroundTranscriptOverlayButtonFocus:"--webchat__background--transcript-overlay-button-focus",BackgroundTranscriptOverlayButtonHover:"--webchat__background--transcript-overlay-button-hover",BackgroundTranscriptTerminator:"--webchat__background--transcript-terminator",BorderAnimationColor1:"--webchat__border-animation--color-1",BorderAnimationColor2:"--webchat__border-animation--color-2",BorderAnimationColor3:"--webchat__border-animation--color-3",BorderColorBubble:"--webchat__border-color--bubble",BorderColorBubbleUser:"--webchat__border-color--bubble-user",BorderRadiusAvatar:"--webchat__border-radius--avatar",BorderRadiusBubble:"--webchat__border-radius--bubble",BorderRadiusBubbleUser:"--webchat__border-radius--bubble-user",BorderStyleBubble:"--webchat__border-style--bubble",BorderStyleBubbleUser:"--webchat__border-style--bubble-user",BorderStyleTranscriptActivityVisualKeyboardIndicator:"--webchat__border-style--transcript-activity-visual-keyboard-indicator",BorderStyleTranscriptVisualKeyboardIndicator:"--webchat__border-style--transcript-visual-keyboard-indicator",BorderWidthBubble:"--webchat__border-width--bubble",BorderWidthBubbleUser:"--webchat__border-width--bubble-user",BorderWidthTranscriptActivityVisualKeyboardIndicator:"--webchat__border-width--transcript-activity-visual-keyboard-indicator",BorderRadiusTranscriptTerminator:"--webchat__border-radius--transcript-terminator",BorderWidthTranscriptVisualKeyboardIndicator:"--webchat__border-width--transcript-visual-keyboard-indicator",ColorAccent:"--webchat__color--accent",ColorBubble:"--webchat__color--bubble",ColorBubbleUser:"--webchat__color--bubble-user",ColorCardPushButton:"--webchat__color--card-push-button",ColorCodeBlock:"--webchat__color--code-block",ColorConnectivityFailed:"--webchat__color--connectivity-failed",ColorSubtle:"--webchat__color--subtle",ColorTimestamp:"--webchat__color--timestamp",ColorTranscriptActivityVisualKeyboardIndicator:"--webchat__color--transcript-activity-visual-keyboard-indicator",ColorTranscriptOverlayButton:"--webchat__color--transcript-overlay-button",ColorTranscriptOverlayButtonDisabled:"--webchat__color--transcript-overlay-button-disabled",ColorTranscriptOverlayButtonFocus:"--webchat__color--transcript-overlay-button-focus",ColorTranscriptOverlayButtonHover:"--webchat__color--transcript-overlay-button-hover",ColorTranscriptTerminator:"--webchat__color--transcript-terminator",ColorTranscriptVisualKeyboardIndicator:"--webchat__color--transcript-visual-keyboard-indicator",FontPrimary:"--webchat__font--primary",FontMonospace:"--webchat__font--monospace",FontSizeSmall:"--webchat__font-size--small",FontSizeTranscriptTerminator:"--webchat__font-size--transcript-terminator",IconURLExternalLink:"--webchat__icon-url--external-link",MaxHeightImageBubble:"--webchat__max-height--image-bubble",MaxHeightSendBoxAttachmentBar:"--webchat__max-height--send-box-attachment-bar",MaxWidthAttachmentBubble:"--webchat__max-width--attachment-bubble",MaxWidthMessageBubble:"--webchat__max-width--message-bubble",MinHeightBubble:"--webchat__min-height--bubble",MinHeightImageBubble:"--webchat__min-height--image-bubble",MinWidthAttachmentBubble:"--webchat__min-width--attachment-bubble",MinWidthMessageBubble:"--webchat__min-width--message-bubble",PaddingConnectivityIcon:"--webchat__padding--connectivity-icon",PaddingRegular:"--webchat__padding--regular",SizeAvatar:"--webchat__size--avatar",SizeBubbleNub:"--webchat__size--bubble-nub",SizeBubbleNubUser:"--webchat__size--bubble-nub-user",SpaceBubbleNub:"--webchat__space--bubble-nub",SpaceBubbleNubUser:"--webchat__space--bubble-nub-user",TransitionDuration:"--webchat__transition-duration",TransitionEasing:"--webchat__transition-easing",WordBreakMessageActivity:"--webchat__word-break--message-activity"}),F=av;var sv=new Proxy({},{get(t,e){return`var(${F[e]})`}}),D=sv;var dv={"&.webchat__fixed-width-image":{display:"flex",justifyContent:"center",maxHeight:D.MaxHeightImageBubble,minHeight:D.MinHeightImageBubble,overflow:"hidden",position:"relative","& .webchat__fixed-width-image__filler":{visibility:"hidden",width:"100%"},"& .webchat__fixed-width-image__image":{left:"50%",objectFit:"cover",position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"100%"}}},Ap=_react.memo.call(void 0, ({alt:t,className:e,src:o})=>_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__fixed-width-image",_chunkENHWW2TZjs.a.call(void 0, )(dv)+"",(e||"")+"")},_react2.default.createElement("img",{alt:"",className:"webchat__fixed-width-image__filler",role:"none",src:o}),_react2.default.createElement("img",{alt:t,className:"webchat__fixed-width-image__image",src:o})));Ap.displayName="FixedWidthImage";var xp=Ap;var mv=_react.memo.call(void 0, ({alt:t,src:e})=>_react2.default.createElement(xp,{alt:t||"",src:e})),Ai= exports.c =mv;var gv=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {attachment:_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.union.call(void 0, [_valibot.object.call(void 0, {contentUrl:_valibot.string.call(void 0, ),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),thumbnailUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.object.call(void 0, {contentUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),thumbnailUrl:_valibot.string.call(void 0, )})]),t))}),_valibot.readonly.call(void 0, )),Av=_react.memo.call(void 0, function(e){let{attachment:o}=_chunkTMUNLKZWjs.h.call(void 0, gv,e),r=o.thumbnailUrl||o.contentUrl,i=aa(r);return i&&(r=URL.createObjectURL(new Blob([i],{type:i.type.startsWith("image/")?i.type:"application/octet-stream"}))),_react2.default.createElement(Ai,{alt:o.name,src:r})}),Sp=Av;var _botframeworkwebchatcore = require('botframework-webchat-core');function Jo(t){var e;return!!(t&&((e=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, (t==null?void 0:t.entities)||[]))!=null&&e.keywords.includes("AIGeneratedContent")))}var _orgschemajs = require('botframework-webchat-core/org-schema.js');var _usereffrom = require('use-ref-from');var _jsonldjs = require('botframework-webchat-core/json-ld.js');var _reactwrapwith = require('react-wrap-with');var pB=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),id:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function Ov({className:t,id:e,text:o}){let r=_chunkUQHIWKDVjs.i.call(void 0, "message activity"),i=_react.useMemo.call(void 0, ()=>Object.freeze({__html:r==null?void 0:r(o)}),[o,r]);return i?_react2.default.createElement("span",{className:t,dangerouslySetInnerHTML:i,id:e}):_react2.default.createElement("span",{className:t,id:e},o)}var kp=_react.memo.call(void 0, Ov);var Ne={"text-area":"w4-KLeG_text-area","text-area--in-completion":"w4-KLeG_text-area--in-completion","text-area-input":"w4-KLeG_text-area-input","text-area-shared":"w4-KLeG_text-area-shared","text-area-doppelganger":"w4-KLeG_text-area-doppelganger","text-area--scroll":"w4-KLeG_text-area--scroll","text-area--hidden":"w4-KLeG_text-area--hidden"},Ip=Ne,_B=Ne["text-area"];var yB=Ne["text-area--in-completion"];var hB=Ne["text-area-input"];var vB=Ne["text-area-shared"];var wB=Ne["text-area-doppelganger"];var gB=Ne["text-area--scroll"];var AB=Ne["text-area--hidden"];var{useUIState:Fv}=_botframeworkwebchatapi.hooks,Dv=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-describedby":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),"aria-label":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),"aria-labelledby":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),completion:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),"data-testid":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),hidden:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),onClick:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>typeof t=="function")),onInput:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>typeof t=="function")),placeholder:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),readOnly:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),startRows:_valibot.optional.call(void 0, _valibot.number.call(void 0, )),value:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),Mp=_react.forwardRef.call(void 0, (t,e)=>{var d;let o=_chunkTMUNLKZWjs.h.call(void 0, Dv,t),[r]=Fv(),i=_chunkTMUNLKZWjs.k.call(void 0, Ip),n=_react.useRef.call(void 0, !1),a=r==="disabled"||o.readOnly,s=_react.useCallback.call(void 0, ()=>{n.current=!1},[n]),c=_react.useCallback.call(void 0, ()=>{n.current=!0},[n]),l=_react.useCallback.call(void 0, p=>{var m,u;!p.shiftKey&&p.key==="Enter"&&!n.current&&(p.preventDefault(),"form"in p.target&&p.target.form instanceof HTMLFormElement&&((u=(m=p.target)==null?void 0:m.form)==null||u.requestSubmit()))},[]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["text-area"],i["text-area--scroll"],{[i["text-area--hidden"]]:o.hidden},{[i["text-area--in-completion"]]:o.completion},o.className),role:o.hidden?"hidden":void 0},r==="blueprint"?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["text-area-doppelganger"],i["text-area-shared"])}," "):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["text-area-doppelganger"],i["text-area-shared"])},o.completion||o.value," "),_react2.default.createElement("textarea",{"aria-describedby":o["aria-describedby"],"aria-disabled":a,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],"aria-placeholder":o.placeholder,className:_classnames2.default.call(void 0, i["text-area-input"],i["text-area-shared"]),"data-testid":o["data-testid"],onClick:o.onClick,onCompositionEnd:s,onCompositionStart:c,onInput:o.onInput,onKeyDown:l,placeholder:o.placeholder,readOnly:a,ref:e,rows:(d=o.startRows)!=null?d:1,tabIndex:o.hidden?-1:void 0,value:o.value})))});Mp.displayName="TextArea";var Xo=Mp;var zv=_react.createContext.call(void 0, new Proxy({},{get(){throw new Error("botframework-webchat: This hook can only be used under <ActivityFeedbackContext>")}})),Ci=zv;function de(){return _react.useContext.call(void 0, Ci)}function pa(t){let e=_valibot.safeParse.call(void 0, _orgschemajs.orgSchemaUserReviewSchema,t.result[0]);return e.success?e.output.reviewAspect[0]:void 0}var Dt={"feedback-form__submit-button":"w_eFzsG_feedback-form__submit-button","feedback-form__text-box":"w_eFzsG_feedback-form__text-box","feedback-form__form-footer":"w_eFzsG_feedback-form__form-footer","feedback-form__text-area":"w_eFzsG_feedback-form__text-area","feedback-form__vote-button-bar":"w_eFzsG_feedback-form__vote-button-bar","feedback-form__cancel-button":"w_eFzsG_feedback-form__cancel-button","feedback-form__submission-button-bar":"w_eFzsG_feedback-form__submission-button-bar","feedback-form__form-header":"w_eFzsG_feedback-form__form-header","feedback-form__form":"w_eFzsG_feedback-form__form","feedback-form":"w_eFzsG_feedback-form"},mo=Dt,HB=Dt["feedback-form__submit-button"];var YB=Dt["feedback-form__text-box"];var VB=Dt["feedback-form__form-footer"];var UB=Dt["feedback-form__text-area"];var JB=Dt["feedback-form__vote-button-bar"];var ZB=Dt["feedback-form__cancel-button"];var XB=Dt["feedback-form__submission-button-bar"];var QB=Dt["feedback-form__form-header"];var $B=Dt["feedback-form__form"];var t7=Dt["feedback-form"];var{useLocalizer:Xv}=_botframeworkwebchatapi.hooks;function Qv(){let t=_chunkTMUNLKZWjs.k.call(void 0, mo),{useFeedbackText:e,useSelectedAction:o}=de(),r=_chunkJG75MOPDjs.a.call(void 0, "feedback-form__form-header__id"),i=_chunkJG75MOPDjs.a.call(void 0, "feedback-form__form-footer__id"),[n]=o(),[a,s]=_react.useState.call(void 0, !1),[c,l]=e(),d=_react.useRef.call(void 0, null),p=Xv(),m=pa(n),u=_react.useCallback.call(void 0, ({currentTarget:{value:f}})=>l(f),[l]);return _react.useEffect.call(void 0, ()=>{d.current&&!a&&(s(!0),d.current.focus())},[d,a,s]),_react2.default.createElement("div",{className:t["feedback-form__form"]},_react2.default.createElement("span",{className:t["feedback-form__form-header"],id:r},p("FEEDBACK_FORM_TITLE")),_react2.default.createElement("div",{className:t["feedback-form__text-box"]},_react2.default.createElement(Xo,{"aria-describedby":m?i:void 0,"aria-labelledby":r,className:t["feedback-form__text-area"],"data-testid":_chunkUQHIWKDVjs.I.feedbackSendBox,onInput:u,placeholder:p("FEEDBACK_FORM_PLACEHOLDER"),ref:d,startRows:3,value:c})),m&&_react2.default.createElement(kp,{className:t["feedback-form__form-footer"],id:i,text:m}),_react2.default.createElement("div",{className:t["feedback-form__submission-button-bar"]},_react2.default.createElement("button",{className:t["feedback-form__submit-button"],type:"submit"},p("FEEDBACK_FORM_SUBMIT_BUTTON_LABEL")),_react2.default.createElement("button",{className:t["feedback-form__cancel-button"],type:"reset"},p("FEEDBACK_FORM_CANCEL_BUTTON_LABEL"))))}var Pp=_react.memo.call(void 0, Qv);var _usepropagate = require('use-propagate');var{PropagationScope:Ep,useListen:Lp,usePropagate:Bp}=_usepropagate.createPropagation.call(void 0, );function rw({children:t,className:e,position:o="block-start"}){let[{tooltip:r}]=_chunkUQHIWKDVjs.c.call(void 0, );return _react2.default.createElement("span",{className:_classnames2.default.call(void 0, "webchat__tooltip",e,r,`webchat__tooltip--${o}`),inert:"true",role:"tooltip"},t)}var ua=_react.memo.call(void 0, rw);var uw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),direction:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "down"),_valibot.literal.call(void 0, "up")]),filled:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, )),Fp=_react.memo.call(void 0, t=>{let{className:e,direction:o,filled:r=!1}=_chunkTMUNLKZWjs.h.call(void 0, uw,t);return _react2.default.createElement(_chunkENHWW2TZjs.e,{appearance:"text",className:e,icon:o==="down"?r?"thumb-down-filled":"thumb-down":r?"thumb-up-filled":"thumb-up"})});Fp.displayName="ThumbButtonImage";var ma=Fp;var pe={"thumb-button--large":"wwPVtVa_thumb-button--large","thumb-button__input":"wwPVtVa_thumb-button__input","thumb-button--has-submitted":"wwPVtVa_thumb-button--has-submitted","thumb-button__tooltip":"wwPVtVa_thumb-button__tooltip","thumb-button__image":"wwPVtVa_thumb-button__image","thumb-button__image--is-filled":"wwPVtVa_thumb-button__image--is-filled","thumb-button":"wwPVtVa_thumb-button","thumb-button__image--is-stroked":"wwPVtVa_thumb-button__image--is-stroked"},Dp=pe,O7=pe["thumb-button--large"];var N7=pe["thumb-button__input"];var M7=pe["thumb-button--has-submitted"];var P7=pe["thumb-button__tooltip"];var E7=pe["thumb-button__image"];var L7=pe["thumb-button__image--is-filled"];var B7=pe["thumb-button"];var j7=pe["thumb-button__image--is-stroked"];var{useLocalizer:Aw}=_botframeworkwebchatapi.hooks,xw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {as:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "button"),_valibot.literal.call(void 0, "radio")]),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),direction:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "down"),_valibot.literal.call(void 0, "up")]),disabled:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),name:_valibot.string.call(void 0, ),onClick:_valibot.optional.call(void 0, _valibot.function_.call(void 0, )),pressed:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),size:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "small"),_valibot.literal.call(void 0, "large")]),submitted:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Sw(t,e){let{as:o,className:r,direction:i,disabled:n,name:a,onClick:s,pressed:c,size:l,submitted:d,title:p}=_chunkTMUNLKZWjs.h.call(void 0, xw,t),m=Aw(),u=_usereffrom.useRefFrom.call(void 0, s),f=_chunkTMUNLKZWjs.k.call(void 0, Dp),b=_react.useMemo.call(void 0, ()=>p!=null?p:m(i==="down"?"VOTE_DISLIKE_ALT":"VOTE_LIKE_ALT"),[i,m,p]),y=_react.useCallback.call(void 0, ()=>{var h;return!n&&((h=u.current)==null?void 0:h.call(u))},[n,u]),v=_react.useCallback.call(void 0, h=>{h.key==="Enter"&&h.preventDefault()},[]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, f["thumb-button"],{[f["thumb-button--large"]]:l==="large",[f["thumb-button--has-submitted"]]:d},r)},_react2.default.createElement("input",{"aria-disabled":n?"true":void 0,"aria-label":b,className:_classnames2.default.call(void 0, f["thumb-button__input"],r),"data-testid":_chunkUQHIWKDVjs.I.feedbackButton,name:a,onKeyDown:v,ref:e,...o==="radio"?{checked:c,onChange:y,type:"radio"}:{"aria-pressed":c,onClick:y,type:"button"}}),_react2.default.createElement(ma,{className:_classnames2.default.call(void 0, f["thumb-button__image"],f["thumb-button__image--is-stroked"]),direction:i}),_react2.default.createElement(ma,{className:_classnames2.default.call(void 0, f["thumb-button__image"],f["thumb-button__image--is-filled"]),direction:i,filled:!0}),_react2.default.createElement(ua,{className:f["thumb-button__tooltip"]},b))}var zp=_react.memo.call(void 0, _react.forwardRef.call(void 0, Sw));function $t(t){var o;let[e]=(o=t==null?void 0:t.result)!=null?o:[];return _jsonldjs.isOfType.call(void 0, "UserReview",e)}function $o(t){return!$t(t)}var{useLocalizer:Rw,useStyleOptions:Fw}=_botframeworkwebchatapi.hooks,Dw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {action:_valibot.union.call(void 0, [_orgschemajs.orgSchemaActionSchema,_orgschemajs.orgSchemaVoteActionSchema]),as:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "button"),_valibot.literal.call(void 0, "radio")]),name:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function qw(t){let{useHasSubmitted:e,useSelectedAction:o}=de(),{action:r,as:i,name:n}=_chunkTMUNLKZWjs.h.call(void 0, Dw,t),[{feedbackActionsPlacement:a}]=Fw(),[s]=e(),[c,l]=o(),d=_usereffrom.useRefFrom.call(void 0, r),p=_react.useRef.call(void 0, null),m=_react.useMemo.call(void 0, ()=>{if(_jsonldjs.isOfType.call(void 0, "DislikeAction",r))return"down";if(_jsonldjs.isOfType.call(void 0, "LikeAction",r))return"up";if(_jsonldjs.isOfType.call(void 0, "VoteAction",r)){if(r.actionOption[0]==="downvote")return"down";if(r.actionOption[0]==="upvote")return"up"}return console.warn('botframework-webchat: <FeedbackVoteButton> supports `DislikeAction`, `LikeAction`, and `VoteAction` with `actionOption` of "downvote" and "upvote" only.'),"up"},[r]),u=Rw(),f=_usereffrom.useRefFrom.call(void 0, c),b=_react.useCallback.call(void 0, ()=>l(d.current===f.current?void 0:d.current),[d,f,l]),y=s&&!$o(r);return Lp(_react.useCallback.call(void 0, v=>{var h;return v===d.current&&((h=p.current)==null?void 0:h.focus())},[d])),_react2.default.createElement(zp,{as:i,direction:m,disabled:y,name:n,onClick:b,pressed:c===r,ref:p,size:$t(r)||a==="activity-actions"?"large":"small",submitted:s,title:y?u("VOTE_COMPLETE_ALT"):void 0})}var Yp=_react.memo.call(void 0, qw);var Yw=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {buttonAs:_valibot.union.call(void 0, [_valibot.literal.call(void 0, "button"),_valibot.literal.call(void 0, "radio")])}),_valibot.readonly.call(void 0, ));function Vw(t){let e=_chunkTMUNLKZWjs.k.call(void 0, mo),{buttonAs:o}=_chunkTMUNLKZWjs.h.call(void 0, Yw,t),{useActions:r}=de(),[i]=r(),n=_chunkJG75MOPDjs.a.call(void 0, "webchat__feedback-form__vote-button-bar");return _react2.default.createElement("div",{className:e["feedback-form__vote-button-bar"]},i.map((a,s)=>_react2.default.createElement(Yp,{action:a,as:o,key:a["@id"]||s,name:n})))}var Jp=_react.memo.call(void 0, Vw);var _mathrandom = require('math-random'); var _mathrandom2 = _interopRequireDefault(_mathrandom);var _usestatewithref = require('use-state-with-ref');var _deepfreezestrict = require('deep-freeze-strict'); var _deepfreezestrict2 = _interopRequireDefault(_deepfreezestrict);var Uw=["__proto__","constructor","prototype"];function ki(t){return Object.getOwnPropertyNames(t).filter(e=>!Uw.includes(e))}function _o(t){if(t){let e=t["@id"];return typeof e=="string"&&e.startsWith("_:")}return!1}function Ii(t){return _o(t)&&Object.getOwnPropertyNames(t).every(e=>e.startsWith("@"))}function Oi(){let t=new Set;return e=>t.has(e)?!1:(t.add(e),!0)}function Zw(t){let e=new Map,o=[t],r=Oi();for(;o.length;){let a=o.shift();if(!a)continue;let s=ki(a);for(let c of s){let l=a[c];_o(l)&&!Ii(l)&&e.set(l["@id"],l),r(l)&&o.push(l)}}let i=[t],n=Oi();for(;i.length;){let a=i.shift();if(!a)continue;let s=ki(a);for(let c of s){let l=a[c];if(_o(l)&&Ii(l)){let d=e.get(l["@id"]);d&&(a[c]=d)}else n(l)&&i.push(l)}}}function Ye(t){let e=structuredClone(t);return Zw(e),_deepfreezestrict2.default.call(void 0, e)}var Qp=_valibot.object.call(void 0, {channelData:_valibot.object.call(void 0, {feedbackLoop:_valibot.object.call(void 0, {disclaimer:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),type:_valibot.literal.call(void 0, "default")})})}),tg=_valibot.object.call(void 0, {channelData:_valibot.object.call(void 0, {feedbackLoop:_valibot.object.call(void 0, {type:_valibot.literal.call(void 0, "default")})})}),eg=_valibot.union.call(void 0, [Qp,tg]);function $p(t){return _valibot.is.call(void 0, Qp,t)}function ha(t){return _valibot.is.call(void 0, eg,t)}function Ni(t){return $p(t)?t.channelData.feedbackLoop.disclaimer:void 0}var{usePonyfill:yg,usePostActivity:hg}=_botframeworkwebchatapi.hooks,vg=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t)),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),wg=500;function ou(t,e){var r;e=e.map(i=>i["@id"]?i:Object.freeze({...i,"@id":`_:${_mathrandom2.default.call(void 0, ).toString(36).substring(2,7)}`}));let o=(r=t.channelData)==null?void 0:r.feedbackLoop;return o&&(console.warn('botframework-webchat: `channelData.feedbackLoop` is deprecated, use `entities[@type="Message"][@id=""].potentialAction[@type="Action"].result[@type="UserReview"].description instead. It will be removed on or after YYYY-MM-DD.'),e=e.map(i=>i.result?i:_valibot.parse.call(void 0, _orgschemajs.orgSchemaActionSchema,{...i,result:{"@type":"UserReview",reviewAspect:o.disclaimer}}))),Object.freeze(e)}function gg(t){let{children:e,activity:o}=_chunkTMUNLKZWjs.h.call(void 0, vg,t),[{clearTimeout:r,setTimeout:i}]=yg(),[n,a,s]=_usestatewithref.useStateWithRef.call(void 0, ),c=_react.useMemo.call(void 0, ()=>ha(o)?Object.freeze({...o,entities:[{"@context":"https://schema.org","@id":"","@type":"Message",type:"https://schema.org/Message",keywords:[],potentialAction:[{"@type":"LikeAction",actionStatus:"PotentialActionStatus",result:[{"@type":"UserReview",reviewAspect:Ni(o)}]},{"@type":"DislikeAction",actionStatus:"PotentialActionStatus",result:[{"@type":"UserReview",reviewAspect:Ni(o)}]}]}]}):o,[o]),l=_usereffrom.useRefFrom.call(void 0, c),d=_react.useRef.call(void 0, void 0),[p,m]=_react.useState.call(void 0, {}),u=_react.useCallback.call(void 0, M=>{d.current=M,m({})},[d,m]),f=_react.useMemo.call(void 0, ()=>{var M;try{let U=Ye(c.entities||[]),V=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, U),et=Object.freeze((M=V==null?void 0:V.potentialAction.filter(ft=>_jsonldjs.isOfType.call(void 0, "LikeAction",ft)||_jsonldjs.isOfType.call(void 0, "DislikeAction",ft)))!=null?M:[]);if(et.length)return ou(c,et);let pt=Object.freeze(U.reduce((ft,gt)=>{let ut=_valibot.safeParse.call(void 0, _orgschemajs.orgSchemaActionSchema,gt);if(ut.success){let{output:rt}=ut;rt.actionOption[0]&&ft.push(rt)}return ft},[]));if(pt.length)return ou(c,pt)}catch(U){console.warn("botframework-webchat: Internal error in <ActivityFeedbackComposer>",U)}return Object.freeze([])},[c]);_react.useMemo.call(void 0, ()=>{let M=f.find(U=>U.actionStatus[0]==="ActiveActionStatus"||U.actionStatus[0]==="CompletedActionStatus");d.current=M?{actionId:M["@id"],actionStatus:M.actionStatus[0]}:void 0},[f]);let b=d.current,y=_react.useMemo.call(void 0, ()=>Object.freeze(f.map(M=>b&&b.actionId===M["@id"]?Object.freeze({...M,actionStatus:[b.actionStatus]}):M.actionStatus[0]==="PotentialActionStatus"?M:Object.freeze({...M,actionStatus:["PotentialActionStatus"]}))),[b,f]),v=_usereffrom.useRefFrom.call(void 0, y),h=hg(),x=_react.useMemo.call(void 0, ()=>y.some(M=>M.actionStatus[0]==="CompletedActionStatus"),[y]),w=_usereffrom.useRefFrom.call(void 0, x),g=_react.useCallback.call(void 0, M=>{var gt,ut,rt;if(((gt=d.current)==null?void 0:gt.actionStatus)==="CompletedActionStatus")return console.warn("botframework-webchat internal: useFeedbackActions().submitCallback() must not be called after feedback is completed, ignoring the call.");if(!v.current.includes(M))return console.warn("botframework-webchat internal: Cannot submit an action that does not exists in the message, ignoring the call.");u(Object.freeze({actionId:M["@id"],actionStatus:"CompletedActionStatus"}));let{"@id":U,actionStatus:V,...et}=M,{current:pt}=s,ft=_jsonldjs.isOfType.call(void 0, "VoteAction",M);if($t(M))h({name:"message/submitAction",replyToId:l.current.id,type:"invoke",value:{actionName:"feedback",actionValue:{feedback:{feedbackText:pt||""},reaction:_jsonldjs.isOfType.call(void 0, "LikeAction",M)?"like":"dislike"}}});else{let vt=ft?et:M;h({entities:[{...vt,actionOption:vt.actionOption[0],type:new URL((ut=vt["@type"][0])!=null?ut:"",(rt=vt["@context"])!=null?rt:"https://schema.org").href}],name:"webchat:activity-status/feedback",type:"event"})}},[v,d,l,s,h,u]),k=_react.useMemo.call(void 0, ()=>y.find(({actionStatus:M})=>M[0]==="ActiveActionStatus"||M[0]==="CompletedActionStatus"),[y]),I=_react.useRef.call(void 0, void 0),_=_react.useCallback.call(void 0, M=>{let U=$o(M);if(w.current&&!U)return console.warn("botframework-webchat internal: useFeedbackActions().setSelectedAction() must not be called after feedback is completed as it does not allow resubmission, ignoring the call.");if(M&&!v.current.includes(M))return console.warn("botframework-webchat internal: Cannot select an action that does not exists in the message, ignoring the call.");u(M?Object.freeze({actionId:M["@id"],actionStatus:"ActiveActionStatus"}):void 0),U&&(r(I.current),M!=null&&M["@id"]&&(I.current=i(()=>g(v.current.find(({"@id":V})=>V===M["@id"])),wg)))},[v,I,r,w,u,i,g]),S=_react.useMemo.call(void 0, ()=>Object.freeze([k,_]),[k,_]),N=_react.useMemo.call(void 0, ()=>Object.freeze([y]),[y]),B=_react.useMemo.call(void 0, ()=>Object.freeze([n,a]),[n,a]),L=_react.useMemo.call(void 0, ()=>Object.freeze([x]),[x]),z=_react.useMemo.call(void 0, ()=>Object.freeze([c]),[c]),W=Bp(),K=_react.useCallback.call(void 0, ()=>N,[N]),T=_react.useCallback.call(void 0, ()=>z,[z]),R=_react.useCallback.call(void 0, ()=>B,[B]),O=_react.useCallback.call(void 0, ()=>W,[W]),j=_react.useCallback.call(void 0, ()=>L,[L]),G=_react.useCallback.call(void 0, ()=>S,[S]),q=_react.useCallback.call(void 0, ()=>g,[g]),Y=_react.useMemo.call(void 0, ()=>({useActions:K,useActivity:T,useFeedbackText:R,useFocusFeedbackButton:O,useHasSubmitted:j,useSelectedAction:G,useSubmit:q}),[K,T,R,O,j,G,q]);return _react2.default.createElement(Ci.Provider,{value:Y},e)}var iu=_react.memo.call(void 0, _reactwrapwith.wrapWith.call(void 0, Ep)(gg));function kg(){let t=_chunkTMUNLKZWjs.k.call(void 0, mo),{useActions:e,useFeedbackText:o,useFocusFeedbackButton:r,useHasSubmitted:i,useSelectedAction:n,useSubmit:a}=de(),[s,c]=o(),[l]=e(),[d]=i(),[p,m]=n(),u=r(),f=a(),b=_react.useMemo.call(void 0, ()=>l.find($t),[l]),y=_usereffrom.useRefFrom.call(void 0, p),v=_react.useCallback.call(void 0, ()=>{u(y.current),c(void 0),m(void 0)},[u,y,c,m]),h=_react.useCallback.call(void 0, g=>{g.preventDefault(),f(y.current)},[y,f]),x=_react.useCallback.call(void 0, g=>{g.key==="Escape"&&$t(y.current)&&(g.stopPropagation(),g.currentTarget.reset())},[y]),w=_react.useMemo.call(void 0, ()=>!d&&_jsonldjs.isOfType.call(void 0, "UserReview",p==null?void 0:p.result[0]),[d,p]);return!!l.length&&_react2.default.createElement("form",{className:t["feedback-form"],onKeyDown:x,onReset:v,onSubmit:h},_react2.default.createElement(Jp,{buttonAs:b?"radio":"button"}),w&&_react2.default.createElement(Pp,null))}var au=_reactwrapwith.wrapWith.call(void 0, iu,{activity:_reactwrapwith.Extract})(kg);au.displayName="ActivityFeedback";var Pi=_react.memo.call(void 0, au);var it={"link-definitions__header-chevron":"wFYu5rq_link-definitions__header-chevron","link-definitions__message-sensitivity-label":"wFYu5rq_link-definitions__message-sensitivity-label","link-definitions__list-item-box--as-button":"wFYu5rq_link-definitions__list-item-box--as-button","link-definitions__header":"wFYu5rq_link-definitions__header","link-definitions__badge":"wFYu5rq_link-definitions__badge","link-definitions__list-item-main-text":"wFYu5rq_link-definitions__list-item-main-text","link-definitions__list-item-badge":"wFYu5rq_link-definitions__list-item-badge","link-definitions__open-in-new-window-icon":"wFYu5rq_link-definitions__open-in-new-window-icon","link-definitions__list-item-text":"wFYu5rq_link-definitions__list-item-text","link-definitions__list":"wFYu5rq_link-definitions__list","link-definitions__header-text":"wFYu5rq_link-definitions__header-text","link-definitions__header-accessory":"wFYu5rq_link-definitions__header-accessory","link-definitions__list-item-box--as-link":"wFYu5rq_link-definitions__list-item-box--as-link","link-definitions__list-item-box":"wFYu5rq_link-definitions__list-item-box","link-definitions__list-item-body":"wFYu5rq_link-definitions__list-item-body","link-definitions__header-section--left":"wFYu5rq_link-definitions__header-section--left","link-definitions":"wFYu5rq_link-definitions","link-definitions__message-sensitivity-label-text":"wFYu5rq_link-definitions__message-sensitivity-label-text","link-definitions__header-section":"wFYu5rq_link-definitions__header-section","link-definitions__list-item-body-main":"wFYu5rq_link-definitions__list-item-body-main","link-definitions__message-sensitivity-label-icon":"wFYu5rq_link-definitions__message-sensitivity-label-icon","link-definitions__list-item":"wFYu5rq_link-definitions__list-item"},ee=it,y8=it["link-definitions__header-chevron"];var h8=it["link-definitions__message-sensitivity-label"];var v8=it["link-definitions__list-item-box--as-button"];var w8=it["link-definitions__header"];var g8=it["link-definitions__badge"];var A8=it["link-definitions__list-item-main-text"];var x8=it["link-definitions__list-item-badge"];var S8=it["link-definitions__open-in-new-window-icon"];var C8=it["link-definitions__list-item-text"];var T8=it["link-definitions__list"];var k8=it["link-definitions__header-text"];var I8=it["link-definitions__header-accessory"];var O8=it["link-definitions__list-item-box--as-link"];var N8=it["link-definitions__list-item-box"];var M8=it["link-definitions__list-item-body"];var P8=it["link-definitions__header-section--left"];var E8=it["link-definitions"];var L8=it["link-definitions__message-sensitivity-label-text"];var B8=it["link-definitions__header-section"];var j8=it["link-definitions__list-item-body-main"];var R8=it["link-definitions__message-sensitivity-label-icon"];var F8=it["link-definitions__list-item"];var su=_react.memo.call(void 0, ({value:t})=>{let e=_chunkTMUNLKZWjs.k.call(void 0, ee);return _react2.default.createElement("div",{className:e["link-definitions__badge"],title:t},t)});su.displayName="Badge";var cu=su;var Ve={"text-content__open-in-new-window-icon":"wOVnR0W_text-content__open-in-new-window-icon","text-content--is-markdown":"wOVnR0W_text-content--is-markdown","text-content__activity-actions":"wOVnR0W_text-content__activity-actions","text-content":"wOVnR0W_text-content","text-content__generated-badge":"wOVnR0W_text-content__generated-badge","text-content__markdown":"wOVnR0W_text-content__markdown"},Pe=Ve,V8=Ve["text-content__open-in-new-window-icon"];var U8=Ve["text-content--is-markdown"];var J8=Ve["text-content__activity-actions"];var Z8=Ve["text-content"];var X8=Ve["text-content__generated-badge"];var Q8=Ve["text-content__markdown"];var Mg=({className:t})=>{let e=_chunkTMUNLKZWjs.k.call(void 0, Pe);return _react2.default.createElement("svg",{className:_classnames2.default.call(void 0, e["text-content__open-in-new-window-icon"],t),viewBox:"3 3 18 18",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M7.2501 4.50017H10.7495C11.1637 4.50017 11.4995 4.83596 11.4995 5.25017C11.4995 5.62986 11.2173 5.94366 10.8513 5.99332L10.7495 6.00017H7.24974C6.07079 5.99961 5.10349 6.90656 5.00786 8.06112L5.00028 8.22003L5.00312 16.7507C5.00343 17.9415 5.92885 18.9161 7.09966 18.9949L7.25371 19.0001L15.7518 18.9884C16.9415 18.9868 17.9145 18.062 17.9935 16.8923L17.9987 16.7384V13.2321C17.9987 12.8179 18.3345 12.4821 18.7487 12.4821C19.1284 12.4821 19.4422 12.7643 19.4918 13.1303L19.4987 13.2321V16.7384C19.4987 18.7407 17.9293 20.3769 15.9528 20.4829L15.7538 20.4884L7.25827 20.5001L7.05495 20.4949C5.14239 20.3954 3.60895 18.8627 3.50837 16.9502L3.50312 16.7511L3.50089 8.2527L3.50529 8.0502C3.60539 6.13749 5.13867 4.60449 7.05096 4.50527L7.2501 4.50017H10.7495H7.2501ZM13.7481 3.00146L20.3018 3.00197L20.4014 3.01575L20.5022 3.04393L20.559 3.06803C20.6122 3.09122 20.6634 3.12163 20.7111 3.15885L20.7804 3.22156L20.8641 3.32014L20.9183 3.41025L20.957 3.50057L20.9762 3.56476L20.9898 3.62862L20.9992 3.72282L20.9997 10.2554C20.9997 10.6696 20.6639 11.0054 20.2497 11.0054C19.87 11.0054 19.5562 10.7232 19.5065 10.3571L19.4997 10.2554L19.4989 5.56147L12.2797 12.7847C12.0134 13.051 11.5968 13.0753 11.3031 12.8575L11.219 12.7849C10.9527 12.5187 10.9284 12.1021 11.1462 11.8084L11.2188 11.7243L18.4369 4.50146H13.7481C13.3684 4.50146 13.0546 4.21931 13.005 3.85324L12.9981 3.75146C12.9981 3.37177 13.2803 3.05797 13.6464 3.00831L13.7481 3.00146Z",fill:"currentcolor"}))},du=Mg;var pu=_react.memo.call(void 0, ({badgeName:t,badgeTitle:e,identifier:o,isExternal:r,text:i})=>{let n=_chunkTMUNLKZWjs.k.call(void 0, ee);return _react2.default.createElement("div",{className:n["link-definitions__list-item-body"]},o?_react2.default.createElement(cu,{value:o}):null,_react2.default.createElement("div",{className:n["link-definitions__list-item-body-main"]},_react2.default.createElement("div",{className:n["link-definitions__list-item-main-text"]},_react2.default.createElement("div",{className:n["link-definitions__list-item-text"],title:i},i),r?_react2.default.createElement(du,{className:n["link-definitions__open-in-new-window-icon"]}):null),t&&_react2.default.createElement("div",{className:n["link-definitions__list-item-badge"],title:e},t)))});pu.displayName="ItemBody";var Aa=pu;function xa(t){try{let{host:e,port:o,protocol:r}=new URL(t);if(r==="http:"||r==="https:")return o?e:e.replace(/^www\./iu,"")}catch (e23){}return t}var mu=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {badgeName:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),badgeTitle:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),identifier:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),onClick:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>typeof t=="function")),sanitizedHref:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),qg=_react.memo.call(void 0, function(e){let{badgeName:o,badgeTitle:r,identifier:i,onClick:n,sanitizedHref:a,text:s}=_chunkTMUNLKZWjs.h.call(void 0, mu,e),c=_chunkTMUNLKZWjs.k.call(void 0, ee),l=_usereffrom.useRefFrom.call(void 0, n),d=_react.useCallback.call(void 0, p=>{let{current:m}=l;if(m){let u=new CustomEvent("click");m(u),u.defaultPrevented&&p.preventDefault()}},[l]);return a?_react2.default.createElement("a",{className:_classnames2.default.call(void 0, c["link-definitions__list-item-box"],c["link-definitions__list-item-box--as-link"]),href:a,onClick:d,rel:"noopener noreferrer",target:"_blank"},_react2.default.createElement(Aa,{badgeName:o,badgeTitle:r,identifier:i,isExternal:!0,text:s||xa(a)})):_react2.default.createElement("button",{className:_classnames2.default.call(void 0, c["link-definitions__list-item-box"],c["link-definitions__list-item-box--as-button"]),onClick:d,type:"button"},_react2.default.createElement(Aa,{badgeName:o,badgeTitle:r,identifier:i,text:s}))}),Sa=qg;var{useLocalizer:Ug,useStyleOptions:Jg}=_botframeworkwebchatapi.hooks,{count:Zg,map:Xg}=_react.Children,Qg={one:"REFERENCE_LIST_HEADER_ONE",few:"REFERENCE_LIST_HEADER_FEW",many:"REFERENCE_LIST_HEADER_MANY",other:"REFERENCE_LIST_HEADER_OTHER",two:"REFERENCE_LIST_HEADER_TWO"};function $g(t=1/0){return _mathrandom2.default.call(void 0, ).toString(36).substring(2,2+t)}var bu=({accessoryComponentType:t,accessoryProps:e,children:o})=>{let[r]=_react.useState.call(void 0, ()=>`webchat-link-definitions-${$g()}`),i=Ug({plural:!0}),n=_react.useRef.call(void 0, null),a=_chunkTMUNLKZWjs.k.call(void 0, ee),[{referenceListDefaultOpen:s}]=Jg(),c=i(Qg,Zg(o)),l=_react.useMemo.call(void 0, ()=>s?"true":"false",[s]),d=_react.useCallback.call(void 0, p=>{let m=n.current,u=p.target;if(m&&u&&u instanceof HTMLDetailsElement){let f=u.open.toString();m.setAttribute("aria-expanded",f),m.setAttribute("aria-pressed",f)}},[]);return _react2.default.createElement("details",{className:a["link-definitions"],id:r,onToggle:d,open:s},_react2.default.createElement("summary",{"aria-controls":r,"aria-expanded":l,"aria-pressed":l,className:a["link-definitions__header"],ref:n,role:"button"},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["link-definitions__header-section"],a["link-definitions__header-section--left"])},_react2.default.createElement("div",{className:a["link-definitions__header-text"]},c),_react2.default.createElement(_chunkENHWW2TZjs.e,{appearance:"text",className:a["link-definitions__header-chevron"],icon:"chevron"})),_react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["link-definitions__header-section"],a["link-definitions__header-section--right"])},t&&_react2.default.createElement("div",{className:a["link-definitions__header-accessory"]},_react2.default.createElement(t,e)))),_react2.default.createElement("div",{className:a["link-definitions__list"],role:"list"},Xg(o,p=>_react2.default.createElement("div",{className:a["link-definitions__list-item"],role:"listitem"},p))))};bu.displayName="LinkDefinitions";var Ca=bu;function er(t){var e;return((e=t==null?void 0:t.isBasedOn)!=null?e:[]).find(({"@type":o})=>o.includes("SoftwareSourceCode"))}function or(){let t=_chunkUQHIWKDVjs.g.call(void 0, );return _react.useCallback.call(void 0, e=>{let o=document.createElement("a");o.setAttribute("href",e||"");let r=document.createDocumentFragment();r.append(o);let n=t(r).querySelector("a");return{openInNewTab:!!(n!=null&&n.getAttribute("target")),originalHref:e,sanitizedHref:(n==null?void 0:n.getAttribute("href"))||void 0}},[t])}var _css = require('@emotion/css');var _mdastutilfrommarkdown = require('mdast-util-from-markdown');var{useLocalizer:sA,useStyleOptions:cA}=_botframeworkwebchatapi.hooks,Ta=Object.freeze([]);function ka(t,e,o=!1){let{renderMarkdown:r}=_chunkUQHIWKDVjs.b.call(void 0, ),[i]=cA(),n=sA(),a=_chunkUQHIWKDVjs.g.call(void 0, ),s=_usereffrom.useRefFrom.call(void 0, i),c=_chunkTMUNLKZWjs.k.call(void 0, _chunkUQHIWKDVjs.h),l=n("MARKDOWN_EXTERNAL_LINK_ALT"),d=_react.useMemo.call(void 0, ()=>_css.cx.call(void 0, c["render-markdown"],{[c["render-markdown--message-activity"]]:!0}),[c]),p=!!(r!=null&&r.createStreamingRenderer),m=_react.useRef.call(void 0, ""),u=_react.useMemo.call(void 0, ()=>{if(m.current="",r!=null&&r.createStreamingRenderer)return r.createStreamingRenderer(s.current,{externalLinkAlt:l})},[l,r,s]),[f,b]=_react.useState.call(void 0, Ta);_react.useLayoutEffect.call(void 0, ()=>{m.current="",b(Ta)},[u]),_react.useLayoutEffect.call(void 0, ()=>{if(!u)return;let h=t.current;if(!h)return;if(!e){u.reset(),m.current="",h.textContent="";return}let x=m.current,w=!!x&&e.startsWith(x);w||u.reset();let g=w?e.slice(x.length):e,k={container:h,containerClassName:d,transformFragment:a};if(m.current=e,o){g&&u.next(g,k);let{definitions:I}=u.finalize(k);b(I)}else u.next(g,k)},[d,t,o,e,u,a]);let y=_react.useMemo.call(void 0, ()=>{if(!(p||!r||!e))return r(e,s.current,{externalLinkAlt:l})},[l,p,e,r,s]),v=_react.useMemo.call(void 0, ()=>p?Ta:_mdastutilfrommarkdown.fromMarkdown.call(void 0, e).children.filter(h=>h.type==="definition"),[p,e]);return _react.useLayoutEffect.call(void 0, ()=>{if(u||y===void 0)return;let h=t.current;if(!h)return;let x=a(_chunkENHWW2TZjs.g.call(void 0, y)),w=document.createElement("div");w.className=d||"",w.append(...x.childNodes),h.textContent="",h.appendChild(w)},[d,t,y,u,a]),_react.useLayoutEffect.call(void 0, ()=>{if(u||y!==void 0)return;let h=t.current;h&&(h.textContent="")},[t,y,u]),Object.freeze({definitions:f!=null?f:v})}var dA={close:{get(){throw new Error("close cannot be used outside of <ModalDialogComposer>.")}},showModal:{get(){throw new Error("showModal cannot be used outside of <ModalDialogComposer>.")}}},_u=_react.createContext.call(void 0, Object.create({},dA));_u.displayName="ModalDialogComposer";var ji=_u;function Ia(){return _react.useContext.call(void 0, ji)}function rr(){return Ia().showModal}function yA(t,e){return _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.check.call(void 0, o=>_valibot.is.call(void 0, _valibot.pipe.call(void 0, _valibot.object.call(void 0, {current:t},e),_valibot.readonly.call(void 0, )),o)))}var hu=yA;var Je={"activity-button__icon":"w4rKArW_activity-button__icon","activity-copy-button":"w4rKArW_activity-copy-button","activity-button__text":"w4rKArW_activity-button__text","activity-copy-button__copied-text":"w4rKArW_activity-copy-button__copied-text","activity-copy-button--copied":"w4rKArW_activity-copy-button--copied","activity-copy-button__copy-announcement":"w4rKArW_activity-copy-button__copy-announcement"},vu=Je,aR=Je["activity-button__icon"];var sR=Je["activity-copy-button"];var cR=Je["activity-button__text"];var lR=Je["activity-copy-button__copied-text"];var dR=Je["activity-copy-button--copied"];var pR=Je["activity-copy-button__copy-announcement"];var{useLocalizer:MA,useUIState:PA}=_botframeworkwebchatapi.hooks,EA=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),targetRef:hu(_valibot.nullable.call(void 0, _valibot.instance.call(void 0, HTMLElement)))}),_valibot.readonly.call(void 0, )),gu=t=>{let{className:e,targetRef:o}=_chunkTMUNLKZWjs.h.call(void 0, EA,t),r=_chunkTMUNLKZWjs.k.call(void 0, vu),[i,n]=_react.useState.call(void 0, !1),[a]=PA(),s=_react.useRef.call(void 0, null),c=MA(),l=_chunkENHWW2TZjs.k.call(void 0, ),d=c("COPY_BUTTON_COPIED_TEXT"),p=c("COPY_BUTTON_TEXT"),m=!i||a==="disabled";_react.useEffect.call(void 0, ()=>{let{current:f}=s;if(f){let b=()=>f.classList.remove(...r["activity-copy-button--copied"].split(/\s+/gu));return f.addEventListener("animationend",b),()=>f.removeEventListener("animationend",b)}},[s,r]);let u=_react.useCallback.call(void 0, ()=>{var y,v,h,x,w,g;let f=(y=o.current)==null?void 0:y.outerHTML,b=(v=o.current)==null?void 0:v.textContent;(h=navigator.clipboard)==null||h.write([new ClipboardItem({...f?{"text/html":new Blob([f],{type:"text/html"})}:{},...b?{"text/plain":new Blob([b],{type:"text/plain"})}:{}})]).catch(k=>console.error("botframework-webchat-fluent-theme: Failed to copy to clipboard.",k)),(x=s.current)==null||x.classList.remove(...r["activity-copy-button--copied"].split(/\s+/gu)),(w=s.current)==null||w.offsetWidth,(g=s.current)==null||g.classList.add(...r["activity-copy-button--copied"].split(/\s+/gu)),l(_react2.default.createElement("div",{className:r["activity-copy-button__copy-announcement"]},d))},[r,d,l,o]);return _react.useEffect.call(void 0, ()=>{let f=!1;return(async function(){(await navigator.permissions.query({name:"clipboard-write"})).state==="granted"&&(f||n(!0))})(),()=>{f=!0}},[n]),_react2.default.createElement(_chunkJG75MOPDjs.b,{className:_classnames2.default.call(void 0, r["activity-copy-button"],e),"data-testid":"copy button",disabled:m,icon:"copy",onClick:u,ref:s,text:p},_react2.default.createElement("span",{className:r["activity-copy-button__copied-text"]},d))};gu.displayName="ActivityCopyButton";var Au=_react.memo.call(void 0, gu);var _hookjs = require('botframework-webchat-api/hook.js');var _micromark = require('micromark');var GA=["data","http","https","ftp","mailto","sip","tel"],Cu=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {stringIds:_valibot.object.call(void 0, {zero:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),one:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),two:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),few:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),many:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),other:_valibot.string.call(void 0, )}),values:_valibot.pipe.call(void 0, _valibot.tupleWithRest.call(void 0, [_valibot.number.call(void 0, )],_valibot.union.call(void 0, [_valibot.string.call(void 0, )])),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, )),HA=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {stringIds:_valibot.string.call(void 0, ),values:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.string.call(void 0, )),_valibot.readonly.call(void 0, )))}),_valibot.readonly.call(void 0, )),YA=_valibot.intersect.call(void 0, [_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),linkClassName:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),_valibot.union.call(void 0, [Cu,HA])]);function VA(t){return _valibot.is.call(void 0, Cu,t)}var UA=t=>{let{className:e,linkClassName:o}=_chunkTMUNLKZWjs.h.call(void 0, YA,t),r=_hookjs.useLocalizer.call(void 0, {plural:!0}),i=_hookjs.useLocalizer.call(void 0, ),n=i("MARKDOWN_EXTERNAL_LINK_ALT"),a=_react.useMemo.call(void 0, ()=>{let s;if(VA(t)){let{stringIds:l,values:d}=t;s=r(l,...d)}else{let{stringIds:l,values:d}=t;s=i(l,...d||[])}let c=_chunkENHWW2TZjs.g.call(void 0, _micromark.micromark.call(void 0, s));return _chunkENHWW2TZjs.f.call(void 0, c,(l,d)=>{let p={rel:"noopener noreferrer",target:"_blank",wrapZeroWidthSpace:!0},m=new Set([o]),u=_botframeworkwebchatcore.onErrorResumeNext.call(void 0, ()=>new URL(l).protocol);return GA.map(f=>`${f}:`).includes(u)?(u==="http:"||u==="https:")&&(p.ariaLabel=f=>[f||d,n].filter(Boolean).join(" "),p.iconClassName="render-markdown__external-link-icon"):p.asButton=!0,p.className=Array.from(m).join(" "),p.title=!1,p}),Object.freeze({__html:_chunkENHWW2TZjs.i.call(void 0, _chunkENHWW2TZjs.h.call(void 0, c))})},[n,o,r,i,t]);return _react2.default.createElement("span",{className:e,dangerouslySetInnerHTML:a})},Fi= exports.e =_react.memo.call(void 0, UA);var vo={"view-code-dialog__body":"wyq2fIq_view-code-dialog__body","view-code-dialog__header":"wyq2fIq_view-code-dialog__header","view-code-dialog":"wyq2fIq_view-code-dialog","view-code-dialog__footer":"wyq2fIq_view-code-dialog__footer","view-code-dialog__title":"wyq2fIq_view-code-dialog__title"},Di=vo,BR=vo["view-code-dialog__body"];var jR=vo["view-code-dialog__header"];var RR=vo["view-code-dialog"];var FR=vo["view-code-dialog__footer"];var DR=vo["view-code-dialog__title"];var ex=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),code:_valibot.string.call(void 0, ),language:_valibot.string.call(void 0, ),title:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function ox(t){let{children:e,className:o,code:r,language:i,title:n}=_chunkTMUNLKZWjs.h.call(void 0, ex,t),[,a]=_chunkUQHIWKDVjs.f.call(void 0, ),s=_chunkTMUNLKZWjs.k.call(void 0, Di);return _react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",{className:s["view-code-dialog__header"]},_react2.default.createElement("h2",{className:s["view-code-dialog__title"]},n)),_react2.default.createElement(a,{className:_classnames2.default.call(void 0, s["view-code-dialog__body"],o),language:i},_react2.default.createElement("code",null,r)),e)}var ku=_react.memo.call(void 0, ox);var{useLocalizer:dx}=_botframeworkwebchatapi.hooks,px=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),code:_valibot.string.call(void 0, ),language:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),isAIGenerated:_valibot.boolean.call(void 0, ),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),ux=t=>{let{className:e,code:o,language:r,title:i,isAIGenerated:n}=_chunkTMUNLKZWjs.h.call(void 0, px,t),a=_chunkTMUNLKZWjs.k.call(void 0, Di),s=rr(),c=dx(),l=_react.useCallback.call(void 0, ()=>{s(()=>_react2.default.createElement(ku,{code:o,language:r,title:i},n&&_react2.default.createElement("div",{className:a["view-code-dialog__footer"]},_react2.default.createElement(Fi,{linkClassName:"view-code-dialog__link",stringIds:"ACTIVITY_CODE_CAUTION"}))),{className:a["view-code-dialog"],"aria-label":c("ACTIVITY_CODE_ALT",i!=null?i:"")})},[o,n,r,c,s,i,a]);return _react2.default.createElement(_chunkJG75MOPDjs.b,{className:e,"data-testid":"view code button",icon:"view-code",onClick:l,text:c("VIEW_CODE_BUTTON_TEXT")})},Iu=_react.memo.call(void 0, ux);var Ki={"citation-modal-dialog__header":"wOauhfq_citation-modal-dialog__header","citation-modal-dialog__body":"wOauhfq_citation-modal-dialog__body","citation-modal-dialog":"wOauhfq_citation-modal-dialog"},Gi=Ki,lF=Ki["citation-modal-dialog__header"];var dF=Ki["citation-modal-dialog__body"];var pF=Ki["citation-modal-dialog"];var gx=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {headerText:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),markdown:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function Ax(t){let{headerText:e,markdown:o}=_chunkTMUNLKZWjs.h.call(void 0, gx,t),r=_chunkTMUNLKZWjs.k.call(void 0, Gi),i=_chunkUQHIWKDVjs.i.call(void 0, "citation modal"),n=_react.useMemo.call(void 0, ()=>({__html:i(o)}),[o,i]);return _react2.default.createElement(_react.Fragment,null,e&&_react2.default.createElement("h2",{className:r["citation-modal-dialog__header"]},e),i?_react2.default.createElement("div",{className:_classnames2.default.call(void 0, r["citation-modal-dialog__body"],"render-markdown"),dangerouslySetInnerHTML:n}):_react2.default.createElement("div",{className:"render-markdown"},o))}var Nu=_react.memo.call(void 0, Ax);var Ox=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fillColor:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),hasLock:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Nx(t){let{className:e,fillColor:o,hasLock:r}=_chunkTMUNLKZWjs.h.call(void 0, Ox,t);return _react2.default.createElement("svg",{className:_classnames2.default.call(void 0, e),height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},r?_react2.default.createElement(_react.Fragment,null,o&&_react2.default.createElement("path",{d:"M8.35464 2.14678C8.15946 1.95123 7.84268 1.95105 7.64728 2.14638C6.40416 3.38902 5.02923 4 3.5 4C3.22386 4 3 4.22386 3 4.5V7.50126C3 10.4242 4.35378 12.4971 7 13.6523V10C7 9.06808 7.63739 8.28503 8.5 8.06301V8C8.5 6.34315 9.84315 5 11.5 5C12.0464 5 12.5587 5.14609 13 5.40135V4.5C13 4.22386 12.7761 4 12.5 4C10.9689 4 9.5947 3.38913 8.35464 2.14678ZM9.5 9V8C9.5 6.89543 10.3954 6 11.5 6C12.6046 6 13.5 6.89543 13.5 8V9H14C14.5523 9 15 9.44772 15 10V14C15 14.5523 14.5523 15 14 15H9C8.44771 15 8 14.5523 8 14V10C8 9.44772 8.44772 9 9 9H9.5ZM10.5 8V9H12.5V8C12.5 7.44772 12.0523 7 11.5 7C10.9477 7 10.5 7.44772 10.5 8ZM12.25 12C12.25 11.5858 11.9142 11.25 11.5 11.25C11.0858 11.25 10.75 11.5858 10.75 12C10.75 12.4142 11.0858 12.75 11.5 12.75C11.9142 12.75 12.25 12.4142 12.25 12Z",fill:o}),_react2.default.createElement("path",{d:"M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V5.40135C12.6963 5.22567 12.359 5.1017 12 5.04148V4.98121C10.5195 4.86895 9.18521 4.25528 8.00042 3.18917C6.81393 4.25491 5.47941 4.86879 4 4.98118V7.50126C4 8.9349 4.36269 10.0655 5.02127 10.9453C5.49089 11.5727 6.14168 12.1134 7 12.5478V13.6523C4.35378 12.4971 3 10.4242 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638ZM9.5 8V9H9C8.44772 9 8 9.44772 8 10V14C8 14.5523 8.44771 15 9 15H14C14.5523 15 15 14.5523 15 14V10C15 9.44772 14.5523 9 14 9H13.5V8C13.5 6.89543 12.6046 6 11.5 6C10.3954 6 9.5 6.89543 9.5 8ZM10.5 9V8C10.5 7.44772 10.9477 7 11.5 7C12.0523 7 12.5 7.44772 12.5 8V9H10.5ZM11.5 11.25C11.9142 11.25 12.25 11.5858 12.25 12C12.25 12.4142 11.9142 12.75 11.5 12.75C11.0858 12.75 10.75 12.4142 10.75 12C10.75 11.5858 11.0858 11.25 11.5 11.25Z",fill:"currentcolor"})):_react2.default.createElement(_react.Fragment,null,o&&_react2.default.createElement("path",{d:"M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V7.50126C13 10.7196 11.3587 12.9075 8.15811 13.9743C8.05548 14.0086 7.94452 14.0086 7.84189 13.9743C4.64126 12.9075 3 10.7196 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638Z",fill:o}),_react2.default.createElement("path",{d:"M7.64728 2.14638C7.84268 1.95105 8.15946 1.95123 8.35464 2.14678C9.5947 3.38913 10.9689 4 12.5 4C12.7761 4 13 4.22386 13 4.5V7.50126C13 10.7196 11.3587 12.9075 8.15811 13.9743C8.05548 14.0086 7.94452 14.0086 7.84189 13.9743C4.64126 12.9075 3 10.7196 3 7.50126V4.5C3 4.22386 3.22386 4 3.5 4C5.02923 4 6.40416 3.38902 7.64728 2.14638ZM8.00042 3.18917C6.81393 4.25491 5.47941 4.86879 4 4.98118V7.50126C4 8.9349 4.36269 10.0655 5.02127 10.9453C5.65858 11.7967 6.62953 12.4885 8 12.9715C9.37047 12.4885 10.3414 11.7967 10.9787 10.9453C11.6373 10.0655 12 8.9349 12 7.50126V4.98121C10.5195 4.86895 9.18521 4.25528 8.00042 3.18917Z",fill:"currentcolor"})))}var Eu=_react.memo.call(void 0, Nx);var Fx=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),color:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),isEncrypted:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Dx(t){let{className:e,color:o,isEncrypted:r,name:i,title:n}=_chunkTMUNLKZWjs.h.call(void 0, Fx,t),a=_chunkTMUNLKZWjs.k.call(void 0, ee);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, a["link-definitions__message-sensitivity-label"],{"link-definitions__message-sensitivity-label--is-encrypted":r},e),title:_react.useMemo.call(void 0, ()=>[i,n].filter(Boolean).join(`
2
2
 
3
3
  `),[i,n])},_react2.default.createElement(Eu,{className:a["link-definitions__message-sensitivity-label-icon"],fillColor:o,hasLock:r}),_react2.default.createElement("span",{className:a["link-definitions__message-sensitivity-label-text"]},i))}var Lu=_react.memo.call(void 0, Dx);function Ea(t){return t.matches("button")}var{useLocalizer:Qx,useStyleOptions:$x}=_botframeworkwebchatapi.hooks,tS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.custom.call(void 0, ()=>!0),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),markdown:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function eS(t){var e;return((e=_botframeworkwebchatcore.onErrorResumeNext.call(void 0, ()=>new URL(t)))==null?void 0:e.protocol)==="cite:"}function oS(t){return!!t.appearance.length&&!t.appearance[0].url.length}function rS(t){let{activity:e,children:o,markdown:r}=_chunkTMUNLKZWjs.h.call(void 0, tS,t),i=_chunkTMUNLKZWjs.k.call(void 0, Gi),n=_chunkTMUNLKZWjs.k.call(void 0, Pe),[{feedbackActionsPlacement:a}]=$x(),s=_react.useRef.call(void 0, null),c=Qx(),l=_react.useMemo.call(void 0, ()=>Ye(e.entities||[]),[e.entities]),d=rr(),{definitions:p}=ka(s,r,e.type==="message"),m=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, l),[l]),u=c("CITATION_MODEL_DIALOG_ALT"),f=_react.useCallback.call(void 0, (_,S,N)=>{d(()=>_react2.default.createElement(Nu,{headerText:_,markdown:S}),{"aria-label":N||_||u,className:i["citation-modal-dialog"]})},[i,u,d]),b=or(),y=_react.useMemo.call(void 0, ()=>Object.freeze(p.map(_=>{var L,z,W;let S=m==null?void 0:m.citation.map(K=>_valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,K)).find(({position:K})=>""+K[0]===_.identifier);if(!S){let K=l.filter(({type:T})=>T==="https://schema.org/Claim").map(T=>_valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,T)).find(T=>T["@id"]===_.url);K&&(console.warn('botframework-webchat: Root-level `Claim` thing is deprecated, please use `Message[@id=""].citation[@type="Claim"]` instead. It will be removed on or after 2027-08-29.'),S=_valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,{"@context":"https://schema.org","@id":_.url,"@type":"Claim",alternateName:K.alternateName,appearance:[eS(K["@id"])?{"@type":"DigitalDocument",name:K.name,text:K.text}:{"@type":"DigitalDocument",url:_.url}]}))}let{url:N}=_,{sanitizedHref:B}=b(_.url);if(S){if(oS(S)){let{appearance:K}=S;return{claim:S,key:N,handleClick:()=>{var T,R,O;return f((R=(T=K[0])==null?void 0:T.name[0])!=null?R:_.title,(O=K[0])==null?void 0:O.text[0],S.alternateName[0])},markdownDefinition:_}}return(L=S.appearance[0])!=null&&L.url[0]&&((z=S.appearance[0])==null?void 0:z.url[0])!==N&&console.warn('botframework-webchat: When "Message.citation[].url" is set in entities, it must match its corresponding URL in Markdown link reference definition',{citation:S,markdownDefinition:_,url:{citation:(W=S.appearance[0])==null?void 0:W.url[0],markdown:N}}),B?{claim:S,key:_.url,markdownDefinition:_,sanitizedHref:_.url}:void 0}return B&&{key:_.url,markdownDefinition:_,sanitizedHref:B}}).filter(Boolean)),[l,p,m,b,f]),v=_usereffrom.useRefFrom.call(void 0, y),h=_react.useCallback.call(void 0, _=>{let S=_.target,N=Ea(S)?S:S.closest("button");if(!N||!S.contains(N))return;let B=v.current.find(({key:L})=>L===N.value);B!=null&&B.handleClick&&(_.preventDefault(),_.stopPropagation(),B.handleClick())},[v]),x=_react.useMemo.call(void 0, ()=>{let _=m==null?void 0:m.usageInfo[0];if(_){let[S]=_.pattern,N=!!_.keywords.find(B=>B==="encrypted-content");return{color:S&&S.inDefinedTermSet[0]==="https://www.w3.org/TR/css-color-4/"&&S.name[0]==="color"&&S.termCode[0],isEncrypted:N,name:_.name[0],title:_.description[0]}}},[m]),w=_=>{var S,N,B,L,z;return(z=(L=(S=_.claim)==null?void 0:S.name[0])!=null?L:(B=(N=_.claim)==null?void 0:N.appearance[0])==null?void 0:B.name[0])!=null?z:_.markdownDefinition.title||void 0},g=_=>{var S,N,B;return(B=(N=(S=_.claim)==null?void 0:S.appearance[0])==null?void 0:N.usageInfo[0])==null?void 0:B.name[0]},k=_=>{var S,N,B;return(B=(N=(S=_.claim)==null?void 0:S.appearance[0])==null?void 0:N.usageInfo[0])==null?void 0:B.description[0]},I=_react.useMemo.call(void 0, ()=>{let _=er(m);if(_!=null&&_.programmingLanguage[0])return _},[m]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, n["text-content"],n["text-content--is-markdown"])},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, n["text-content__markdown"]),onClick:h,ref:s}),o,!!y.length&&_react2.default.createElement(Ca,{accessoryComponentType:x&&Lu,accessoryProps:x},y.map(_=>{var S,N;return _react2.default.createElement(Sa,{badgeName:g(_),badgeTitle:`${(S=g(_))!=null?S:""}
4
4
 
5
5
  ${(N=k(_))!=null?N:""}`.trim(),identifier:_.markdownDefinition.label,key:_.key,onClick:_.handleClick,sanitizedHref:_.sanitizedHref,text:w(_)})})),_react2.default.createElement("div",{className:n["text-content__activity-actions"]},e.type==="message"&&(I!=null&&I.text)&&!(m!=null&&m.keywords.includes("Collapsible"))?_react2.default.createElement(Iu,{className:"text-content__activity-view-code-button",code:I.text[0],isAIGenerated:Jo(e),language:I.programmingLanguage[0],title:I.programmingLanguage[0]}):null,e.type==="message"&&e.text&&(m!=null&&m.keywords.includes("AllowCopy"))?_react2.default.createElement(Au,{className:"text-content__activity-copy-button",targetRef:s}):null,e.type==="message"&&a==="activity-actions"&&_react2.default.createElement(Pi,{activity:e})))}var Ru=_react.memo.call(void 0, rS);var uS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),text:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function mS(t){let{children:e,text:o}=_chunkTMUNLKZWjs.h.call(void 0, uS,t),r=_chunkTMUNLKZWjs.k.call(void 0, Pe);return _react2.default.createElement(_react.Fragment,null,(o||"").split(`
6
- `).map(i=>_react2.default.createElement("p",{className:_classnames2.default.call(void 0, r["text-content"]),key:i},i.trim())),e&&_react2.default.createElement("div",{className:r["text-content"]},e))}var Fu=_react.memo.call(void 0, mS);var{useLocalizer:AS}=_botframeworkwebchatapi.hooks,xS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, ),contentType:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function SS(t){let{activity:e,contentType:o="text/plain",text:r}=_chunkTMUNLKZWjs.h.call(void 0, xS,t),i=_chunkTMUNLKZWjs.k.call(void 0, Pe),n=!!_chunkQGLO74KJjs.i.call(void 0, "message activity"),a=AS(),s=_react.useMemo.call(void 0, ()=>Jo(e)&&_react2.default.createElement("div",{className:i["text-content__generated-badge"]},a("ACTIVITY_CONTENT_CAUTION")),[e,i,a]);return r?o==="text/markdown"&&n?_react2.default.createElement(Ru,{activity:e,markdown:r},s):_react2.default.createElement(Fu,{text:r},s):null}var Vi=_react.memo.call(void 0, SS);var MS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {content:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),contentType:_valibot.string.call(void 0, ),contentUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),thumbnailUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),PS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, ),attachment:_valibot.pipe.call(void 0, _valibot.object.call(void 0, {...MS.entries,contentType:_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.pipe.call(void 0, _valibot.string.call(void 0, ),_valibot.startsWith.call(void 0, "text/")),t))}),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ));function ES(t){let{activity:e,attachment:{content:o,contentType:r}}=_chunkTMUNLKZWjs.h.call(void 0, PS,t);return _react2.default.createElement(Vi,{activity:e,contentType:r,text:o})}var qu=_react.memo.call(void 0, ES);var DS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),poster:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),src:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function qS(t){let{alt:e,autoPlay:o=!1,loop:r=!1,poster:i,src:n}=_chunkTMUNLKZWjs.h.call(void 0, DS,t),[{videoContent:a}]=_chunkQGLO74KJjs.c.call(void 0, );return _react2.default.createElement("video",{"aria-label":e,autoPlay:o,className:a,controls:!0,loop:r,poster:i,src:n})}var Xi=_react.memo.call(void 0, qS);var{useLocalizer:VS}=_botframeworkwebchatapi.hooks,US=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),embedID:_valibot.string.call(void 0, ),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function JS(t){let{alt:e,autoPlay:o=!1,embedID:r,loop:i=!1}=_chunkTMUNLKZWjs.h.call(void 0, US,t),[{vimeoContent:n}]=_chunkQGLO74KJjs.c.call(void 0, ),a=VS(),s=new URLSearchParams({autoplay:o?"1":"0",badge:"0",byline:"0",loop:i?"1":"0",portrait:"0",title:"0"}).toString(),c=a("ATTACHMENT_VIDEO");return _react2.default.createElement("iframe",{allowFullScreen:!0,"aria-label":e,className:n,sandbox:"allow-same-origin allow-scripts",src:`https://player.vimeo.com/video/${encodeURI(r)}?${s}`,title:c})}var Qi=_react.memo.call(void 0, JS);var{useLocalizer:oC}=_botframeworkwebchatapi.hooks,rC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),embedID:_valibot.string.call(void 0, ),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function iC(t){let{alt:e,autoPlay:o=!1,embedID:r,loop:i=!1}=_chunkTMUNLKZWjs.h.call(void 0, rC,t),[{youTubeContent:n}]=_chunkQGLO74KJjs.c.call(void 0, ),a=oC(),s=new URLSearchParams({autoplay:o?"1":"0",loop:i?"1":"0",modestbranding:"1"}).toString(),c=a("ATTACHMENT_VIDEO");return _react2.default.createElement("iframe",{allowFullScreen:!0,"aria-label":e,className:n,sandbox:"allow-same-origin allow-scripts",src:`https://youtube.com/embed/${r}?${s}`,title:c})}var lr=_react.memo.call(void 0, iC);var lC="youtube.com",dC="www.youtube.com",pC="youtu.be",uC="www.youtu.be",mC="vimeo.com",fC="www.vimeo.com";function bC(t){let e;typeof URL=="function"?e=new URL(t):(e=document.createElement("a"),e.setAttribute("href",t));let{hostname:o,pathname:r,search:i}=e;return{hostname:o,pathname:r,search:i}}var _C=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),poster:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),src:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function yC(t){let{alt:e,autoPlay:o=!1,loop:r=!1,poster:i,src:n}=_chunkTMUNLKZWjs.h.call(void 0, _C,t),{hostname:a,pathname:s,search:c}=bC(n),l=s.split("/").pop(),d=new URLSearchParams(c);switch(a){case mC:case fC:return _react2.default.createElement(Qi,{alt:e,autoPlay:o,embedID:l,loop:r});case lC:case dC:return _react2.default.createElement(lr,{alt:e,autoPlay:o,embedID:d.get("v"),loop:r});case pC:case uC:return _react2.default.createElement(lr,{alt:e,autoPlay:o,embedID:l,loop:r});default:return _react2.default.createElement(Xi,{alt:e,autoPlay:o,loop:r,poster:i,src:n})}}var en=_react.memo.call(void 0, yC);var vC={display:"flex",flexDirection:"column"},Uu=({attachment:t})=>{let[{videoAttachment:e}]=_chunkQGLO74KJjs.c.call(void 0, ),o=_chunkPOTPE56Bjs.a.call(void 0, )(vC)+"";return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, o,e+"")},_react2.default.createElement(en,{alt:t.name,src:t.contentUrl}))};Uu.propTypes={attachment:_proptypes2.default.shape({contentUrl:_proptypes2.default.string.isRequired,name:_proptypes2.default.string}).isRequired};var Ju=Uu;function wC(t){return t.contentType.startsWith("text/")}function Ha(){return[()=>t=>(...e)=>{let[{activity:o,activity:{from:{role:r=void 0}={}}={},attachment:i,attachment:{contentType:n=void 0,contentUrl:a=void 0,thumbnailUrl:s=void 0}={}}]=e,c=wC(i);return(c?!i.content:r==="user"&&!s)?_react2.default.createElement(na,{activity:o,attachment:i}):/^audio\//u.test(n)?_react2.default.createElement(mp,{attachment:i}):/^image\//u.test(n)?_react2.default.createElement(Sp,{attachment:i}):/^video\//u.test(n)?_react2.default.createElement(Ju,{attachment:i}):a||n==="application/octet-stream"?_react2.default.createElement(na,{activity:o,attachment:i}):c?_react2.default.createElement(qu,{activity:o,attachment:i}):t(...e)}]}var _internaljs3 = require('botframework-webchat-api/internal.js');var{contextComponentType:gC,useContext:Ao}=_chunkXQWBSH7Pjs.e.call(void 0, "RenderingActivitiesContext"),Zu=gC;function dr(){return Ao().activityRendererMapState}var Xu={"say-alt":"w6N4Cvq_say-alt"},Qu=Xu,wq=Xu["say-alt"];var NC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {speak:_valibot.union.call(void 0, [_valibot.literal.call(void 0, !1),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, )),MC=t=>{let{speak:e}=_chunkTMUNLKZWjs.h.call(void 0, NC,t),o=_chunkTMUNLKZWjs.k.call(void 0, Qu);return!!e&&_react2.default.createElement("pre",{className:o["say-alt"]},e)},$u=_react.memo.call(void 0, MC);var{useMarkActivityAsSpoken:zC,useStyleOptions:WC,useVoiceSelector:KC}=_botframeworkwebchatapi.hooks,GC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {attachments:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.pipe.call(void 0, _valibot.object.call(void 0, {content:_valibot.optional.call(void 0, _valibot.any.call(void 0, )),contentType:_valibot.string.call(void 0, ),speak:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),subtitle:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ))),_valibot.readonly.call(void 0, ))),channelData:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.object.call(void 0, {speechSynthesisUtterance:_valibot.optional.call(void 0, _valibot.any.call(void 0, ))}),_valibot.readonly.call(void 0, ))),speak:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),type:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, )),HC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:GC}),_valibot.readonly.call(void 0, ));function YC(t){var d;let{activity:e}=_chunkTMUNLKZWjs.h.call(void 0, HC,t),[{showSpokenText:o}]=WC(),[r]=_chunkQGLO74KJjs.D.call(void 0, ),i=_usereffrom.useRefFrom.call(void 0, e),n=zC(),a=KC(e),s=_react.useCallback.call(void 0, ()=>n(i.current),[i,n]),c=_react.useMemo.call(void 0, ()=>{if(e.type!=="message")return!1;let{attachments:p=[],speak:m,text:u}=e;return[m||u,...p.filter(f=>f.contentType==="application/vnd.microsoft.card.adaptive"&&f.content).map(f=>{var b;return(b=f==null?void 0:f.content)==null?void 0:b.speak})].filter(f=>f).join(`\r
7
- `)},[e]),l=e.type==="message"&&((d=e.channelData)==null?void 0:d.speechSynthesisUtterance);return!!e&&_react2.default.createElement(_react.Fragment,null,l?_react2.default.createElement(_reactsay.SayUtterance,{onEnd:s,onError:s,ponyfill:r,utterance:l}):_react2.default.createElement(_reactsay2.default,{onEnd:s,onError:s,ponyfill:r,text:c,voice:a}),!!o&&_react2.default.createElement($u,{speak:c}))}var nn=_react.memo.call(void 0, YC);var UC=["render"],Ya=class extends _internaljs.RestrictedDebugAPI{constructor(e){super(UC,Object.freeze({activity:e}))}},Va=Ya;function Xe(){return _chunkXQWBSH7Pjs.r.call(void 0, ).focusByActivityKey}function Ua(){return _chunkXQWBSH7Pjs.r.call(void 0, ).getDescendantIdByActivityKey}var mr="sending",me="send failed",em="sent";function Qe(t){switch(t){case"plain":return"text/plain";case"xml":return"text/xml";default:return"text/markdown"}}function JC(t,e){let o=[].slice.call(t.childNodes),r=[];for(;o.length;){let i=o.shift(),{childNodes:n}=i;r.push(...e(i)||[]),o.unshift(...[].slice.call(n))}return r}var ZC=["A","ABBR","ACRONYM","AUDIO","B","BDI","BDO","BIG","BR","BUTTON","CANVAS","CITE","CODE","DATA","DATALIST","DEL","DFN","EM","EMBED","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","MAP","MARK","METER","NOSCRIPT","OBJECT","OUTPUT","PICTURE","PROGRESS","Q","RUBY","S","SAMP","SCRIPT","SELECT","SLOT","SMALL","SPAN","STRONG","SUB","SUP","SVG","TEMPLATE","TEXTAREA","TIME","U","TT","VAR","VIDEO","WBR"];function XC(t){return JC(t,e=>{let{nodeType:o,tagName:r,textContent:i}=e;if(o===Node.TEXT_NODE)return[i];if(r==="IMG")return[e.getAttribute("alt")];if(!ZC.includes(r))return[`
6
+ `).map(i=>_react2.default.createElement("p",{className:_classnames2.default.call(void 0, r["text-content"]),key:i},i.trim())),e&&_react2.default.createElement("div",{className:r["text-content"]},e))}var Fu=_react.memo.call(void 0, mS);var{useLocalizer:AS}=_botframeworkwebchatapi.hooks,xS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, ),contentType:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function SS(t){let{activity:e,contentType:o="text/plain",text:r}=_chunkTMUNLKZWjs.h.call(void 0, xS,t),i=_chunkTMUNLKZWjs.k.call(void 0, Pe),n=!!_chunkUQHIWKDVjs.i.call(void 0, "message activity"),a=AS(),s=_react.useMemo.call(void 0, ()=>Jo(e)&&_react2.default.createElement("div",{className:i["text-content__generated-badge"]},a("ACTIVITY_CONTENT_CAUTION")),[e,i,a]);return r?o==="text/markdown"&&n?_react2.default.createElement(Ru,{activity:e,markdown:r},s):_react2.default.createElement(Fu,{text:r},s):null}var Vi=_react.memo.call(void 0, SS);var MS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {content:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),contentType:_valibot.string.call(void 0, ),contentUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),name:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),thumbnailUrl:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),PS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, ),attachment:_valibot.pipe.call(void 0, _valibot.object.call(void 0, {...MS.entries,contentType:_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.pipe.call(void 0, _valibot.string.call(void 0, ),_valibot.startsWith.call(void 0, "text/")),t))}),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ));function ES(t){let{activity:e,attachment:{content:o,contentType:r}}=_chunkTMUNLKZWjs.h.call(void 0, PS,t);return _react2.default.createElement(Vi,{activity:e,contentType:r,text:o})}var qu=_react.memo.call(void 0, ES);var DS=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),poster:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),src:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function qS(t){let{alt:e,autoPlay:o=!1,loop:r=!1,poster:i,src:n}=_chunkTMUNLKZWjs.h.call(void 0, DS,t),[{videoContent:a}]=_chunkUQHIWKDVjs.c.call(void 0, );return _react2.default.createElement("video",{"aria-label":e,autoPlay:o,className:a,controls:!0,loop:r,poster:i,src:n})}var Xi=_react.memo.call(void 0, qS);var{useLocalizer:VS}=_botframeworkwebchatapi.hooks,US=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),embedID:_valibot.string.call(void 0, ),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function JS(t){let{alt:e,autoPlay:o=!1,embedID:r,loop:i=!1}=_chunkTMUNLKZWjs.h.call(void 0, US,t),[{vimeoContent:n}]=_chunkUQHIWKDVjs.c.call(void 0, ),a=VS(),s=new URLSearchParams({autoplay:o?"1":"0",badge:"0",byline:"0",loop:i?"1":"0",portrait:"0",title:"0"}).toString(),c=a("ATTACHMENT_VIDEO");return _react2.default.createElement("iframe",{allowFullScreen:!0,"aria-label":e,className:n,sandbox:"allow-same-origin allow-scripts",src:`https://player.vimeo.com/video/${encodeURI(r)}?${s}`,title:c})}var Qi=_react.memo.call(void 0, JS);var{useLocalizer:oC}=_botframeworkwebchatapi.hooks,rC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),embedID:_valibot.string.call(void 0, ),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function iC(t){let{alt:e,autoPlay:o=!1,embedID:r,loop:i=!1}=_chunkTMUNLKZWjs.h.call(void 0, rC,t),[{youTubeContent:n}]=_chunkUQHIWKDVjs.c.call(void 0, ),a=oC(),s=new URLSearchParams({autoplay:o?"1":"0",loop:i?"1":"0",modestbranding:"1"}).toString(),c=a("ATTACHMENT_VIDEO");return _react2.default.createElement("iframe",{allowFullScreen:!0,"aria-label":e,className:n,sandbox:"allow-same-origin allow-scripts",src:`https://youtube.com/embed/${r}?${s}`,title:c})}var lr=_react.memo.call(void 0, iC);var lC="youtube.com",dC="www.youtube.com",pC="youtu.be",uC="www.youtu.be",mC="vimeo.com",fC="www.vimeo.com";function bC(t){let e;typeof URL=="function"?e=new URL(t):(e=document.createElement("a"),e.setAttribute("href",t));let{hostname:o,pathname:r,search:i}=e;return{hostname:o,pathname:r,search:i}}var _C=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {alt:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),autoPlay:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),loop:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),poster:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),src:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function yC(t){let{alt:e,autoPlay:o=!1,loop:r=!1,poster:i,src:n}=_chunkTMUNLKZWjs.h.call(void 0, _C,t),{hostname:a,pathname:s,search:c}=bC(n),l=s.split("/").pop(),d=new URLSearchParams(c);switch(a){case mC:case fC:return _react2.default.createElement(Qi,{alt:e,autoPlay:o,embedID:l,loop:r});case lC:case dC:return _react2.default.createElement(lr,{alt:e,autoPlay:o,embedID:d.get("v"),loop:r});case pC:case uC:return _react2.default.createElement(lr,{alt:e,autoPlay:o,embedID:l,loop:r});default:return _react2.default.createElement(Xi,{alt:e,autoPlay:o,loop:r,poster:i,src:n})}}var en=_react.memo.call(void 0, yC);var vC={display:"flex",flexDirection:"column"},Uu=({attachment:t})=>{let[{videoAttachment:e}]=_chunkUQHIWKDVjs.c.call(void 0, ),o=_chunkENHWW2TZjs.a.call(void 0, )(vC)+"";return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, o,e+"")},_react2.default.createElement(en,{alt:t.name,src:t.contentUrl}))};Uu.propTypes={attachment:_proptypes2.default.shape({contentUrl:_proptypes2.default.string.isRequired,name:_proptypes2.default.string}).isRequired};var Ju=Uu;function wC(t){return t.contentType.startsWith("text/")}function Ha(){return[()=>t=>(...e)=>{let[{activity:o,activity:{from:{role:r=void 0}={}}={},attachment:i,attachment:{contentType:n=void 0,contentUrl:a=void 0,thumbnailUrl:s=void 0}={}}]=e,c=wC(i);return(c?!i.content:r==="user"&&!s)?_react2.default.createElement(na,{activity:o,attachment:i}):/^audio\//u.test(n)?_react2.default.createElement(mp,{attachment:i}):/^image\//u.test(n)?_react2.default.createElement(Sp,{attachment:i}):/^video\//u.test(n)?_react2.default.createElement(Ju,{attachment:i}):a||n==="application/octet-stream"?_react2.default.createElement(na,{activity:o,attachment:i}):c?_react2.default.createElement(qu,{activity:o,attachment:i}):t(...e)}]}var _internaljs3 = require('botframework-webchat-api/internal.js');var{contextComponentType:gC,useContext:Ao}=_chunkJG75MOPDjs.e.call(void 0, "RenderingActivitiesContext"),Zu=gC;function dr(){return Ao().activityRendererMapState}var Xu={"say-alt":"w6N4Cvq_say-alt"},Qu=Xu,wq=Xu["say-alt"];var NC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {speak:_valibot.union.call(void 0, [_valibot.literal.call(void 0, !1),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, )),MC=t=>{let{speak:e}=_chunkTMUNLKZWjs.h.call(void 0, NC,t),o=_chunkTMUNLKZWjs.k.call(void 0, Qu);return!!e&&_react2.default.createElement("pre",{className:o["say-alt"]},e)},$u=_react.memo.call(void 0, MC);var{useMarkActivityAsSpoken:zC,useStyleOptions:WC,useVoiceSelector:KC}=_botframeworkwebchatapi.hooks,GC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {attachments:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.pipe.call(void 0, _valibot.object.call(void 0, {content:_valibot.optional.call(void 0, _valibot.any.call(void 0, )),contentType:_valibot.string.call(void 0, ),speak:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),subtitle:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ))),_valibot.readonly.call(void 0, ))),channelData:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.object.call(void 0, {speechSynthesisUtterance:_valibot.optional.call(void 0, _valibot.any.call(void 0, ))}),_valibot.readonly.call(void 0, ))),speak:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),text:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),type:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, )),HC=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:GC}),_valibot.readonly.call(void 0, ));function YC(t){var d;let{activity:e}=_chunkTMUNLKZWjs.h.call(void 0, HC,t),[{showSpokenText:o}]=WC(),[r]=_chunkUQHIWKDVjs.D.call(void 0, ),i=_usereffrom.useRefFrom.call(void 0, e),n=zC(),a=KC(e),s=_react.useCallback.call(void 0, ()=>n(i.current),[i,n]),c=_react.useMemo.call(void 0, ()=>{if(e.type!=="message")return!1;let{attachments:p=[],speak:m,text:u}=e;return[m||u,...p.filter(f=>f.contentType==="application/vnd.microsoft.card.adaptive"&&f.content).map(f=>{var b;return(b=f==null?void 0:f.content)==null?void 0:b.speak})].filter(f=>f).join(`\r
7
+ `)},[e]),l=e.type==="message"&&((d=e.channelData)==null?void 0:d.speechSynthesisUtterance);return!!e&&_react2.default.createElement(_react.Fragment,null,l?_react2.default.createElement(_reactsay.SayUtterance,{onEnd:s,onError:s,ponyfill:r,utterance:l}):_react2.default.createElement(_reactsay2.default,{onEnd:s,onError:s,ponyfill:r,text:c,voice:a}),!!o&&_react2.default.createElement($u,{speak:c}))}var nn=_react.memo.call(void 0, YC);var UC=["render"],Ya=class extends _internaljs.RestrictedDebugAPI{constructor(e){super(UC,Object.freeze({activity:e}))}},Va=Ya;function Xe(){return _chunkJG75MOPDjs.r.call(void 0, ).focusByActivityKey}function Ua(){return _chunkJG75MOPDjs.r.call(void 0, ).getDescendantIdByActivityKey}var mr="sending",me="send failed",em="sent";function Qe(t){switch(t){case"plain":return"text/plain";case"xml":return"text/xml";default:return"text/markdown"}}function JC(t,e){let o=[].slice.call(t.childNodes),r=[];for(;o.length;){let i=o.shift(),{childNodes:n}=i;r.push(...e(i)||[]),o.unshift(...[].slice.call(n))}return r}var ZC=["A","ABBR","ACRONYM","AUDIO","B","BDI","BDO","BIG","BR","BUTTON","CANVAS","CITE","CODE","DATA","DATALIST","DEL","DFN","EM","EMBED","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","MAP","MARK","METER","NOSCRIPT","OBJECT","OUTPUT","PICTURE","PROGRESS","Q","RUBY","S","SAMP","SCRIPT","SELECT","SLOT","SMALL","SPAN","STRONG","SUB","SUP","SVG","TEMPLATE","TEXTAREA","TIME","U","TT","VAR","VIDEO","WBR"];function XC(t){return JC(t,e=>{let{nodeType:o,tagName:r,textContent:i}=e;if(o===Node.TEXT_NODE)return[i];if(r==="IMG")return[e.getAttribute("alt")];if(!ZC.includes(r))return[`
8
8
  `]})}function fr(t,e){var i,n,a;if(t.type!=="message")return!1;let o=(i=t==null?void 0:t.channelData)==null?void 0:i["webchat:fallback-text"];if(typeof o=="string")return o||!1;let r=((a=(n=t==null?void 0:t.channelData)==null?void 0:n.messageBack)==null?void 0:a.displayText)||t.text;return r?e&&Qe(t.textFormat)==="text/markdown"?XC(new DOMParser().parseFromString(e(r),"text/html")).join("").replace(/\n{2,}/gu,`
9
- `).trim():r:""}var{useAvatarForBot:eT,useGetKeyByActivity:oT,useLocalizer:om,useSendStatusByActivityKey:rT}=_botframeworkwebchatapi.hooks,iT={few:"ACTIVITY_NUM_ATTACHMENTS_FEW_ALT",many:"ACTIVITY_NUM_ATTACHMENTS_MANY_ALT",one:"ACTIVITY_NUM_ATTACHMENTS_ONE_ALT",other:"ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT",two:"ACTIVITY_NUM_ATTACHMENTS_TWO_ALT"};function Ja(t,e){var I,_;let[{initials:o}]=eT(),[r,i]=_react.useState.call(void 0, !1),[n]=rT(),a=((I=t.from)==null?void 0:I.role)==="user",s=oT(),c=om(),l=om({plural:!0}),d=t.type==="message"&&((_=t.attachments)==null?void 0:_.length)||0,p=_chunkQGLO74KJjs.i.call(void 0, ),m=c("ACTIVITY_INTERACTIVE_FOOTNOTE_ALT"),u=c("ACTIVITY_INTERACTIVE_REASON_INTERACTIVE_CONTENT_ALT"),f=c("ACTIVITY_INTERACTIVE_REASON_LINK_ALT"),b=c("ACTIVITY_INTERACTIVE_REASON_SEND_FAILED_ALT"),y=_react.useMemo.call(void 0, ()=>s(t),[t,s]),v=_react.useMemo.call(void 0, ()=>(a?c("ACTIVITY_YOU_SAID_ALT"):c("ACTIVITY_BOT_SAID_ALT",o||"")).replace(/\s{2,}/gu," "),[o,a,c]),h=_chunkQGLO74KJjs.O.call(void 0, r),x=_react.useMemo.call(void 0, ()=>fr(t,p),[t,p]),w=_react.useMemo.call(void 0, ()=>d?l(iT,d):"",[l,d]),g=_react.useMemo.call(void 0, ()=>n.get(y)===me,[y,n]),k=_react.useMemo.call(void 0, ()=>[v,x,w,g?b:"",r===0?f:r===1?u:"",r||g?m:""].filter(Boolean).join(" "),[m,u,f,b,v,r,g,x,w]);return _react.useEffect.call(void 0, ()=>{var B;let S=!!((B=e.current)!=null&&B.querySelector("a")),N=!!_chunkXQWBSH7Pjs.t.call(void 0, e.current).length;h.current!==N&&i(S?0:N?1:!1)},[e,h,i]),[k]}var{useActivityKeysByRead:lT,useGetHasAcknowledgedByActivityKey:dT,useGetKeyByActivity:pT}=_botframeworkwebchatapi.hooks,an=_react.forwardRef.call(void 0, ({activity:t,children:e},o)=>{var z;let[r]=_chunkXQWBSH7Pjs.s.call(void 0, ),[i]=lT(),n=_usereffrom.useRefFrom.call(void 0, t),a=_react.useRef.call(void 0, ),s=Xe(),c=pT(),l=(z=t.channelData)==null?void 0:z.speak,[d]=Ja(t,a),p=c(t),m=dT()(p),u=_usereffrom.useRefFrom.call(void 0, p),f=Ua()(p),b=`webchat__basic-transcript__active-descendant-label--${p}`,y=f===r,v=i.includes(p),h=_react.useCallback.call(void 0, W=>s(u.current,W),[u,s]),x=_react.useCallback.call(void 0, ()=>h(!1),[h]),w=_react.useCallback.call(void 0, ()=>h(),[h]),g=_react.useCallback.call(void 0, ()=>h(!1),[h]),k=_react.useMemo.call(void 0, ()=>_react2.default.createElement("div",{className:"webchat__basic-transcript__activity-body",ref:a},e),[a,e]),I=_usereffrom.useRefFrom.call(void 0, t.id),_=_react.useCallback.call(void 0, W=>{var R;let{webchatIncludeActivityId:K,webchatIncludeActivityKey:T}=W.target.dataset;K&&W.formData.set(K,(R=I.current)!=null?R:""),T&&W.formData.set(T,u.current)},[u,I]),S=_react.useRef.call(void 0, null),N=_react.useMemo.call(void 0, ()=>new Va(()=>n.current),[n]),B=_react.useMemo.call(void 0, ()=>N.toPublic(),[N]),L=_react.useCallback.call(void 0, W=>{S.current&&(S.current.removeEventListener("formdata",_),S.current.webChat=void 0),W&&(W.addEventListener("formdata",_),W.webChat=B),S.current=W,o&&(typeof o=="function"?o(W):o.current=W)},[B,_,o]);return N.UNSAFE_callBreakpoint.render(),_react2.default.createElement(_chunkXQWBSH7Pjs.E,{className:_classnames2.default.call(void 0, "webchat__basic-transcript__activity",{"webchat__basic-transcript__activity--acknowledged":m,"webchat__basic-transcript__activity--read":v}),focused:y,onMouseDownCapture:g,ref:L,tag:"article"},_react2.default.createElement(_chunkXQWBSH7Pjs.u,{onFocus:x,onLeave:w,targetClassName:"webchat__basic-transcript__activity-focus-target"},k),l&&_react2.default.createElement(nn,{activity:t}),_react2.default.createElement(_chunkXQWBSH7Pjs.F,null,!_chunkXQWBSH7Pjs.I&&_react2.default.createElement(_chunkXQWBSH7Pjs.G,{"aria-labelledby":b,className:"webchat__basic-transcript__activity-active-descendant",id:f,role:"article"},_react2.default.createElement(_chunkXQWBSH7Pjs.d,{"aria-hidden":!0,id:b,text:d})),_react2.default.createElement(_chunkXQWBSH7Pjs.C,{type:"content"})))});an.defaultProps={children:void 0};an.displayName="ActivityRow";an.propTypes={activity:_proptypes2.default.shape({channelData:_proptypes2.default.shape({speak:_proptypes2.default.bool,"webchat:fallback-text":_proptypes2.default.string})}).isRequired,children:_proptypes2.default.any};var im=_react.memo.call(void 0, an);var{useStyleOptions:AT}=_botframeworkwebchatapi.hooks,xT=_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t)),ST=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:xT,children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, ));function CT(t){var k;let{activity:e,children:o}=_chunkTMUNLKZWjs.h.call(void 0, ST,t),[{bubbleFromUserNubOffset:r,bubbleNubOffset:i,groupTimestamp:n,showAvatarInGroup:a}]=AT(),[s]=_chunkXQWBSH7Pjs.w.call(void 0, ),[c]=_chunkXQWBSH7Pjs.z.call(void 0, ),[l]=_chunkXQWBSH7Pjs.x.call(void 0, ),[d]=_chunkXQWBSH7Pjs.A.call(void 0, ),p=n===!1,m=s===e||typeof s=="undefined",u=c===e||typeof c=="undefined",f=l===e||typeof l=="undefined",b=d===e||typeof d=="undefined",y=_chunkXQWBSH7Pjs.c.call(void 0, i),v=_chunkXQWBSH7Pjs.c.call(void 0, r),h=p||!b,x=((k=e.from)==null?void 0:k.role)==="user"?v:y,w;a==="sender"?x?w=m&&u:w=f&&b:a==="status"?x?w=u:w=b:w=!0;let g=_react.useMemo.call(void 0, ()=>Object.freeze({hideTimestamp:h,showCallout:w}),[h,w]);return _react2.default.createElement(_internaljs3.LegacyActivityContextProvider,{value:g},o)}var am=_react.memo.call(void 0, CT);var{useGetKeyByActivity:NT}=_botframeworkwebchatapi.hooks;function MT({activity:t}){var s;let e=_chunkXQWBSH7Pjs.p.call(void 0, ),o=NT(),r=_react.useMemo.call(void 0, ()=>o(t),[t,o]),i=_react.useCallback.call(void 0, c=>{c?e.current.set(r,c):e.current.delete(r)},[e,r]),[n]=dr(),a=(s=n.get(t))==null?void 0:s({});return _react2.default.createElement(im,{activity:t,ref:i},_react2.default.createElement(am,{activity:t},a))}var cm=_react.memo.call(void 0, MT);var{useGetKeyByActivity:FT}=_botframeworkwebchatapi.hooks,DT=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activities:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t))),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ));function qT(t){let{activities:e}=_chunkTMUNLKZWjs.h.call(void 0, DT,t),[o]=dr(),r=FT();return _react2.default.createElement(_react.Fragment,null,e.map(i=>{var a;return((a=o.get(i))==null?void 0:a({}))&&_react2.default.createElement(cm,{activity:i,key:r(i)})}))}var mm=_react.memo.call(void 0, qT);var XT=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activities:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.transform.call(void 0, t=>t))),_valibot.minLength.call(void 0, 1,'botframework-webchat: "activities" must have at least 1 activity'),_valibot.readonly.call(void 0, )),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),bm=t=>{let{activities:e,children:o}=_valibot.parse.call(void 0, XT,t),r=e[0],i=e.at(-1),n=_react.useMemo.call(void 0, ()=>Object.freeze({firstActivityState:Object.freeze([r]),lastActivityState:Object.freeze([i])}),[r,i]);return _react2.default.createElement(_chunkXQWBSH7Pjs.v.Provider,{value:n},o)};bm.displayName="SenderGrouping";var _m=_react.memo.call(void 0, bm);var ck=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activities:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.transform.call(void 0, t=>t))),_valibot.minLength.call(void 0, 1,'botframework-webchat: "activities" must have at least 1 activity'),_valibot.readonly.call(void 0, )),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),hm=t=>{let{activities:e,children:o}=_valibot.parse.call(void 0, ck,t),r=e[0],i=e.at(-1),n=_react.useMemo.call(void 0, ()=>Object.freeze({firstActivityState:Object.freeze([r]),lastActivityState:Object.freeze([i])}),[r,i]);return _react2.default.createElement(_chunkXQWBSH7Pjs.y.Provider,{value:n},o)};hm.displayName="StatusGrouping";var vm=_react.memo.call(void 0, hm);function ts(){return Object.freeze([_decoratorjs.createActivityGroupingMiddleware.call(void 0, ()=>({groupingName:t})=>t==="sender"?_m:t==="status"?vm:t==="part"?_chunkXQWBSH7Pjs.K:mm)])}var mk=Object.freeze([...ts()]);function fk({children:t}){return _react2.default.createElement(_internaljs3.LowPriorityDecoratorComposer,{middleware:mk},t)}var wm=_react.memo.call(void 0, fk);var _reactdictatebutton = require('react-dictate-button');function es(){let[{resumeAudioContext:t}]=_chunkQGLO74KJjs.D.call(void 0, );return()=>t&&t()}var{useDictateInterims:Ak,useDictateState:xk,useEmitTypingIndicator:Sk,useLanguage:Ck,useSendBoxValue:Tk,useSendTypingIndicator:kk,useShouldSpeakIncomingActivity:Ik,useStopDictate:Ok,useStyleOptions:Nk,useSubmitSendBox:Mk,useUIState:Pk}=_botframeworkwebchatapi.hooks,{DictateState:{DICTATING:Co,IDLE:cn,STARTING:_r}}=_botframeworkwebchatcore.Constants,os=({onError:t})=>{let[,e]=_chunkQGLO74KJjs.l.call(void 0, ),[,o]=Ak(),[,r]=Tk(),[,i]=Ik(),[{SpeechGrammarList:n,SpeechRecognition:a}={}]=_chunkQGLO74KJjs.D.call(void 0, ),[{speechRecognitionContinuous:s}]=Nk(),[c]=xk(),[l]=kk(),[d]=Ck("speech"),[p]=Pk(),m=Sk(),u=es(),f=_internaljs3.useSetDictateState.call(void 0, ),b=Ok(),y=Mk(),v=_react.useCallback.call(void 0, ({result:{confidence:g,transcript:k}={}})=>{(c===Co||c===_r)&&(o([]),k&&(r(k),y("speech",{channelData:{speech:{alternatives:[{confidence:g,transcript:k}]}}}),i(!0)))},[c,o,r,y,i]),h=_react.useCallback.call(void 0, ({abortable:g,results:k=[]})=>{if(c===Co||c===_r){let I=k.map(({transcript:_})=>_);e(g),o(I),f(Co),l&&m()}},[c,m,l,e,o,f]),x=_react.useCallback.call(void 0, ()=>{c!==cn&&f(cn),(c===Co||c===_r)&&b()},[c,f,b]),w=_react.useCallback.call(void 0, g=>{c!==cn&&f(cn),(c===Co||c===_r)&&b(),t&&t(g)},[c,t,f,b]);return _react.useEffect.call(void 0, ()=>(window.addEventListener("pointerdown",u),()=>window.removeEventListener("pointerdown",u)),[u]),_react2.default.createElement(_reactdictatebutton.Composer,{continuous:s,lang:d,onDictate:v,onEnd:x,onError:w,onProgress:h,speechGrammarList:n,speechRecognition:a,started:p!=="disabled"&&(c===_r||c===Co)})};os.defaultProps={onError:void 0};os.propTypes={onError:_proptypes2.default.func};var gm=os;function ln(t){let e=new Map;return{get(o){return e.get(o)},set(o,r){let i=e.get(o);i&&t.removeEventListener(o,i),r?(t.addEventListener(o,r),e.set(o,r)):e.delete(o)}}}var dn=class extends Event{constructor(e,o){super(e),this._utterance=o}get charIndex(){return 0}get elapsedTime(){return 0}get name(){}get utterance(){return this._utterance}},pn=class extends EventTarget{constructor(e){super(),this._lang="en-US",this._pitch=1,this._rate=1,this._text=e,this._voice=null,this._volume=1,this._shim=ln(this)}get lang(){return this._lang}set lang(e){this._lang=e}get pitch(){return this._pitch}set pitch(e){this._pitch=e}get rate(){return this._rate}set rate(e){this._rate=e}get text(){return this._text}set text(e){this._text=e}get voice(){return this._voice}set voice(e){this._voice=e}get volume(){return this._volume}set volume(e){this._volume=e}get onboundary(){return this._shim.get("boundary")}set onboundary(e){this._shim.set("boundary",e)}get onend(){return this._shim.get("end")}set onend(e){this._shim.set("end",e)}get onerror(){return this._shim.get("error")}set onerror(e){this._shim.set("error",e)}get onmark(){return this._shim.get("mark")}set onmark(e){this._shim.set("mark",e)}get onpause(){return this._shim.get("pause")}set onpause(e){this._shim.set("pause",e)}get onresume(){return this._shim.get("resume")}set onresume(e){this._shim.set("resume",e)}get onstart(){return this._shim.get("start")}set onstart(e){this._shim.set("start",e)}},rs=class{get default(){return!0}get lang(){return"en-US"}get localService(){return!0}get name(){return"English (US)"}get voiceURI(){return"English (US)"}},is=class extends EventTarget{constructor(){super(),this._shim=ln(this)}get paused(){return!1}get pending(){return!1}get speaking(){return!1}cancel(){}getVoices(){return[new rs]}pause(){throw new Error("pause is not implemented.")}resume(){throw new Error("resume is not implemented.")}speak(e){e.dispatchEvent(new dn("start",e)),e.dispatchEvent(new dn("end",e))}get onvoiceschanged(){return this._shim.get("voiceschanged")}set onvoiceschanged(e){this._shim.set("voiceschanged",e)}},un=new is;var{useTrackDimension:Bk}=_botframeworkwebchatapi.hooks,jk=()=>{let[t]=_chunkQGLO74KJjs.D.call(void 0, ),e=Bk(),o=!!t.SpeechRecognition,r=t.speechSynthesis&&t.speechSynthesis!==un;return _react.useEffect.call(void 0, ()=>{e("capability:downscaleImage:workerType",_chunkQGLO74KJjs.q.call(void 0, )?"web worker":"main"),e("capability:renderer","html"),e("prop:speechRecognition",!!o+""),e("prop:speechSynthesis",!!r+"")},[e,o,r]),null},Am=jk;var _middlewarejs = require('botframework-webchat-api/middleware.js');var _reactfilm = require('react-film');var ie={bubble__content:"wYVITZq_bubble__content","bubble--hide-nub":"wYVITZq_bubble--hide-nub","bubble__nub-pad":"wYVITZq_bubble__nub-pad","bubble--from-user":"wYVITZq_bubble--from-user","bubble--nub-on-top":"wYVITZq_bubble--nub-on-top",bubble__nub:"wYVITZq_bubble__nub","bubble--show-nub":"wYVITZq_bubble--show-nub","bubble__nub-outline":"wYVITZq_bubble__nub-outline",bubble:"wYVITZq_bubble"},xm=ie,L9=ie.bubble__content;var B9=ie["bubble--hide-nub"];var j9=ie["bubble__nub-pad"];var R9=ie["bubble--from-user"];var F9=ie["bubble--nub-on-top"];var D9=ie.bubble__nub;var q9=ie["bubble--show-nub"];var z9=ie["bubble__nub-outline"];var W9=ie.bubble;var{useStyleOptions:Yk}=_botframeworkwebchatapi.hooks;function Vk(t,e,o,r=!1,i){if(typeof t!="number")return!1;let n=t/2,a=e/2,s=o==="bot"?"":`translate(${n} 0) scale(-1 1) translate(${-n} 0)`,c=r?`translate(0 ${n}) scale(1 -1) translate(0 ${-n})`:"",l=[t,a].join(" "),d=[e,a].join(" "),p=[t+e,t+a].join(" ");return _react2.default.createElement("svg",{className:i.bubble__nub,version:"1.1",viewBox:`0 0 ${t} ${t}`,xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("g",{transform:`${s} ${c}`},_react2.default.createElement("path",{className:i["bubble__nub-outline"],d:`M${l} L${d} L${p}`})))}var Uk=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fromUser:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),nub:_valibot.optional.call(void 0, _valibot.union.call(void 0, [_valibot.boolean.call(void 0, ),_valibot.literal.call(void 0, "hidden")]))}),_valibot.readonly.call(void 0, ));function Jk(t){let{"aria-hidden":e,children:o,className:r,fromUser:i,nub:n=!1}=_chunkTMUNLKZWjs.h.call(void 0, Uk,t),[{bubbleBorderWidth:a,bubbleFromUserBorderWidth:s,bubbleFromUserNubSize:c,bubbleNubSize:l,bubbleNubOffset:d,bubbleFromUserNubOffset:p}]=Yk(),m=_chunkTMUNLKZWjs.k.call(void 0, xm),{borderWidth:u,nubOffset:f,nubSize:b,side:y}=i?{borderWidth:s,nubOffset:p,nubSize:c,side:"user"}:{borderWidth:a,nubOffset:d,nubSize:l,side:"bot"};return _react2.default.createElement("div",{"aria-hidden":e,className:_classnames2.default.call(void 0, m.bubble,{[m["bubble--from-user"]]:i,[m["bubble--hide-nub"]]:n!==!0&&n!==!1,[m["bubble--nub-on-top"]]:_chunkXQWBSH7Pjs.c.call(void 0, f),[m["bubble--show-nub"]]:n===!0},r)},_react2.default.createElement("div",{className:m["bubble__nub-pad"]}),_react2.default.createElement("div",{className:m.bubble__content},o),n===!0&&Vk(b,u,y,!_chunkXQWBSH7Pjs.c.call(void 0, f),m))}var ne=_react.memo.call(void 0, Jk);var $e={"carousel-filmstrip-attachment--focus":"waR7HEa_carousel-filmstrip-attachment--focus","carousel-filmstrip-attachment--hide-nub":"waR7HEa_carousel-filmstrip-attachment--hide-nub","carousel-filmstrip-attachment--show-nub":"waR7HEa_carousel-filmstrip-attachment--show-nub","carousel-filmstrip-attachment":"waR7HEa_carousel-filmstrip-attachment","carousel-filmstrip-attachment--hide-avatar":"waR7HEa_carousel-filmstrip-attachment--hide-avatar","carousel-filmstrip-attachment--show-avatar":"waR7HEa_carousel-filmstrip-attachment--show-avatar"},Sm=$e,oW=$e["carousel-filmstrip-attachment--focus"];var rW=$e["carousel-filmstrip-attachment--hide-nub"];var iW=$e["carousel-filmstrip-attachment--show-nub"];var nW=$e["carousel-filmstrip-attachment"];var aW=$e["carousel-filmstrip-attachment--hide-avatar"];var sW=$e["carousel-filmstrip-attachment--show-avatar"];var{useLocalizer:Qk}=_botframeworkwebchatapi.hooks,as=({activity:t,attachment:e,className:o,fromUser:r,hasAvatar:i,hideNub:n,index:a,renderAttachment:s,showAvatar:c,showNub:l})=>{let d=Qk(),p=_chunkTMUNLKZWjs.k.call(void 0, Sm),m=d(r?"ACTIVITY_YOU_ATTACHED_ALT":"ACTIVITY_BOT_ATTACHED_ALT");return _react2.default.createElement("li",{"aria-roledescription":"attachment",className:_classnames2.default.call(void 0, p["carousel-filmstrip-attachment"],{[p["carousel-filmstrip-attachment--hide-avatar"]]:i&&!c,[p["carousel-filmstrip-attachment--hide-nub"]]:n,[p["carousel-filmstrip-attachment--show-avatar"]]:c,[p["carousel-filmstrip-attachment--show-nub"]]:l},"react-film__filmstrip__item",o),role:"listitem",tabIndex:0},_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:m}),_react2.default.createElement(ne,{fromUser:r,key:a,nub:!1},s({activity:t,attachment:e}),_react2.default.createElement("div",{className:p["carousel-filmstrip-attachment--focus"]})))};as.defaultProps={className:""};as.propTypes={activity:_proptypes2.default.shape({attachments:_proptypes2.default.array,from:_proptypes2.default.shape({role:_proptypes2.default.string.isRequired}).isRequired,text:_proptypes2.default.string,textFormat:_proptypes2.default.string,timestamp:_proptypes2.default.string}).isRequired,attachment:_proptypes2.default.shape({content:_proptypes2.default.any}).isRequired,className:_proptypes2.default.string,fromUser:_proptypes2.default.any.isRequired,hasAvatar:_proptypes2.default.any.isRequired,hideNub:_proptypes2.default.bool.isRequired,index:_proptypes2.default.number.isRequired,renderAttachment:_proptypes2.default.func.isRequired,showAvatar:_proptypes2.default.bool.isRequired,showNub:_proptypes2.default.bool.isRequired};var Cm=as;var at={"carousel-filmstrip__nub-pad":"wzsijdG_carousel-filmstrip__nub-pad","carousel-filmstrip__avatar":"wzsijdG_carousel-filmstrip__avatar","carousel-filmstrip__filler":"wzsijdG_carousel-filmstrip__filler","carousel-filmstrip__main":"wzsijdG_carousel-filmstrip__main","carousel-filmstrip":"wzsijdG_carousel-filmstrip","carousel-filmstrip__attachments":"wzsijdG_carousel-filmstrip__attachments","carousel-filmstrip__content":"wzsijdG_carousel-filmstrip__content","carousel-filmstrip--extra-trailing":"wzsijdG_carousel-filmstrip--extra-trailing","carousel-filmstrip--show-avatar":"wzsijdG_carousel-filmstrip--show-avatar","carousel-filmstrip__complimentary-content":"wzsijdG_carousel-filmstrip__complimentary-content","carousel-filmstrip__complimentary":"wzsijdG_carousel-filmstrip__complimentary","carousel-filmstrip--top-callout":"wzsijdG_carousel-filmstrip--top-callout","carousel-filmstrip--hide-avatar":"wzsijdG_carousel-filmstrip--hide-avatar","carousel-filmstrip--show-nub":"wzsijdG_carousel-filmstrip--show-nub","carousel-filmstrip--hide-nub":"wzsijdG_carousel-filmstrip--hide-nub","carousel-filmstrip__bubble":"wzsijdG_carousel-filmstrip__bubble","carousel-filmstrip--no-message":"wzsijdG_carousel-filmstrip--no-message","carousel-filmstrip__status":"wzsijdG_carousel-filmstrip__status","carousel-filmstrip__message":"wzsijdG_carousel-filmstrip__message","carousel-filmstrip__avatar-gutter":"wzsijdG_carousel-filmstrip__avatar-gutter","carousel-filmstrip__alignment-pad":"wzsijdG_carousel-filmstrip__alignment-pad"},Tm=at,gW=at["carousel-filmstrip__nub-pad"];var AW=at["carousel-filmstrip__avatar"];var xW=at["carousel-filmstrip__filler"];var SW=at["carousel-filmstrip__main"];var CW=at["carousel-filmstrip"];var TW=at["carousel-filmstrip__attachments"];var kW=at["carousel-filmstrip__content"];var IW=at["carousel-filmstrip--extra-trailing"];var OW=at["carousel-filmstrip--show-avatar"];var NW=at["carousel-filmstrip__complimentary-content"];var MW=at["carousel-filmstrip__complimentary"];var PW=at["carousel-filmstrip--top-callout"];var EW=at["carousel-filmstrip--hide-avatar"];var LW=at["carousel-filmstrip--show-nub"];var BW=at["carousel-filmstrip--hide-nub"];var jW=at["carousel-filmstrip__bubble"];var RW=at["carousel-filmstrip--no-message"];var FW=at["carousel-filmstrip__status"];var DW=at["carousel-filmstrip__message"];var qW=at["carousel-filmstrip__avatar-gutter"];var zW=at["carousel-filmstrip__alignment-pad"];var{useAvatarForBot:o1,useAvatarForUser:r1,useLocalizer:i1,useStyleOptions:n1}=_botframeworkwebchatapi.hooks,ss=({activity:t,className:e,hideTimestamp:o,renderActivityStatus:r,renderAttachment:i,renderAvatar:n,showCallout:a})=>{let[{bubbleNubOffset:s,bubbleNubSize:c,bubbleFromUserNubOffset:l,bubbleFromUserNubSize:d}]=n1(),[{initials:p}]=o1(),[{initials:m}]=r1(),u=i1(),f=typeof r=="function",b=_chunkTMUNLKZWjs.k.call(void 0, Tm),y=_reactfilm.useItemContainerCallbackRef.call(void 0, ),v=_reactfilm.useScrollableCallbackRef.call(void 0, ),{attachments:h=[],channelData:{messageBack:{displayText:x}={}}={},from:{role:w}={},text:g,textFormat:k}=t,I=x||g,_=w==="user",S=(_?u("ACTIVITY_YOU_SAID_ALT"):u("ACTIVITY_BOT_SAID_ALT",p||"")).replace(/\s{2,}/gu," "),N=_?m:p,B=_?l:s,L=_?d:c,z=_?p:m,W=_?c:d,K=N||typeof N=="string",T=z||typeof z=="string",R=typeof L=="number",O=typeof W=="number",j=_chunkXQWBSH7Pjs.c.call(void 0, B),G=!T&&O,q=a&&K&&!!n,Y=a&&R&&(j||!h.length),M=R&&!Y;return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, b["carousel-filmstrip"],{[b["carousel-filmstrip--extra-trailing"]]:G,[b["carousel-filmstrip--hide-avatar"]]:K&&!q,[b["carousel-filmstrip--hide-nub"]]:M,[b["carousel-filmstrip--no-message"]]:!I,[b["carousel-filmstrip--show-avatar"]]:q,[b["carousel-filmstrip--show-nub"]]:Y,[b["carousel-filmstrip--top-callout"]]:j},"react-film__filmstrip",e),ref:v},_react2.default.createElement("div",{className:b["carousel-filmstrip__main"]},_react2.default.createElement("div",{className:b["carousel-filmstrip__avatar-gutter"]},q&&n({activity:t})),_react2.default.createElement("div",{className:b["carousel-filmstrip__content"]},!!I&&_react2.default.createElement("div",{"aria-roledescription":"message",className:b["carousel-filmstrip__message"],role:"group"},_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:S}),_react2.default.createElement(ne,{className:b["carousel-filmstrip__bubble"],fromUser:_,nub:Y||(K||R)&&"hidden"},i({activity:t,attachment:{content:I,contentType:Qe(k)}})),_react2.default.createElement("div",{className:b["carousel-filmstrip__filler"]})),_react2.default.createElement("div",{className:b["carousel-filmstrip__complimentary"]},_react2.default.createElement("div",{className:b["carousel-filmstrip__nub-pad"]}),_react2.default.createElement("div",{className:b["carousel-filmstrip__complimentary-content"]},_react2.default.createElement("ul",{className:_classnames2.default.call(void 0, b["carousel-filmstrip__attachments"],"react-film__filmstrip__list"),ref:y},h.map((U,V)=>_react2.default.createElement(Cm,{activity:t,attachment:U,fromUser:_,hasAvatar:K,hideNub:M,index:V,key:V,renderAttachment:i,showAvatar:q,showNub:Y})))))),_react2.default.createElement("div",{className:b["carousel-filmstrip__alignment-pad"]})),f&&_react2.default.createElement("div",{className:b["carousel-filmstrip__status"]},_react2.default.createElement("div",{className:b["carousel-filmstrip__avatar-gutter"]}),_react2.default.createElement("div",{className:b["carousel-filmstrip__nub-pad"]}),r({hideTimestamp:o})))};ss.defaultProps={className:"",hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:!1,showCallout:!1};ss.propTypes={activity:_proptypes2.default.shape({attachments:_proptypes2.default.array,channelData:_proptypes2.default.shape({messageBack:_proptypes2.default.shape({displayText:_proptypes2.default.string})}),from:_proptypes2.default.shape({role:_proptypes2.default.string.isRequired}).isRequired,text:_proptypes2.default.string,textFormat:_proptypes2.default.string,timestamp:_proptypes2.default.string}).isRequired,className:_proptypes2.default.string,hideTimestamp:_proptypes2.default.bool,renderActivityStatus:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),renderAttachment:_proptypes2.default.func.isRequired,renderAvatar:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),showCallout:_proptypes2.default.bool};var Im=ss;var Om={"carousel-layout":"wtvQgqa_carousel-layout"},Nm=Om,nK=Om["carousel-layout"];var{useDirection:Lm,useLocalizer:m1,useStyleOptions:f1}=_botframeworkwebchatapi.hooks,hr=({activity:t,hideTimestamp:e,renderActivityStatus:o,renderAttachment:r,renderAvatar:i,showCallout:n})=>{let[{root:a}]=_reactfilm.useStyleSetClassNames.call(void 0, ),[s]=Lm(),[c]=_reactfilm.useScrollBarWidth.call(void 0, ),[l]=_reactfilm.useScrolling.call(void 0, ),d=s==="rtl"?">":"<",p=m1(),m=s==="rtl"?"<":">",u=_chunkTMUNLKZWjs.k.call(void 0, Nm),f=p("CAROUSEL_FLIPPER_NEXT_ALT"),b=p("CAROUSEL_FLIPPER_PREVIOUS_ALT"),y=s==="rtl"?f:b,v=s==="rtl"?b:f;return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, u["carousel-layout"],a)},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "react-film__main",{"react-film__main--scrolling":l})},_react2.default.createElement(Im,{activity:t,hideTimestamp:e,renderActivityStatus:o,renderAttachment:r,renderAvatar:i,showCallout:n}),c!=="100%"&&_react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_reactfilm.Flipper,{"aria-label":y,blurFocusOnClick:!0,mode:"left"},d),_react2.default.createElement(_reactfilm.Flipper,{"aria-label":v,blurFocusOnClick:!0,mode:"right"},m))))};hr.defaultProps={hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:!1,showCallout:!0};hr.propTypes={activity:_proptypes2.default.shape({attachments:_proptypes2.default.array}).isRequired,hideTimestamp:_proptypes2.default.bool,renderActivityStatus:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),renderAttachment:_proptypes2.default.func.isRequired,renderAvatar:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),showCallout:_proptypes2.default.bool};var cs=t=>{let{activity:{attachments:e=[]}={}}=t,[o]=Lm(),[r]=_chunkQGLO74KJjs.N.call(void 0, ),i=_react.useMemo.call(void 0, ()=>_reactfilm.createBasicStyleSet.call(void 0, {cursor:null}),[]),[{stylesRoot:n}]=f1(),a=_react.useMemo.call(void 0, ()=>({stylesRoot:n}),[n]);return _react2.default.createElement(_reactfilm.Composer,{dir:o,nonce:r,numItems:e.length,styleOptions:a,styleSet:i},_react2.default.createElement(hr,{...t}))};cs.defaultProps={...hr.defaultProps};cs.propTypes={...hr.propTypes};var Bm=_react.memo.call(void 0, cs);var g1=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {attachedAlt:_valibot.string.call(void 0, ),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),fromUser:_valibot.boolean.call(void 0, ),hasAvatar:_valibot.boolean.call(void 0, ),hasNub:_valibot.boolean.call(void 0, ),showBubble:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function A1(t){let{attachedAlt:e,children:o,fromUser:r,hasAvatar:i,hasNub:n,showBubble:a=!0}=_chunkTMUNLKZWjs.h.call(void 0, g1,t),s=_chunkTMUNLKZWjs.k.call(void 0, _chunkXQWBSH7Pjs.j);return _react2.default.createElement("div",{"aria-roledescription":"attachment",className:s["stacked-layout__attachment-row"],role:"group"},_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:e}),a?_react2.default.createElement(ne,{className:s["stacked-layout__attachment"],fromUser:r,nub:i||n?"hidden":!1},o):_react2.default.createElement("div",{className:_classnames2.default.call(void 0, s["stacked-layout__attachment"])},o))}var _n=_react.memo.call(void 0, A1);var vr={"code-block-content__header":"w4KLAFG_code-block-content__header","code-block-content":"w4KLAFG_code-block-content","code-block-content__code-block":"w4KLAFG_code-block-content__code-block","code-block-content__title":"w4KLAFG_code-block-content__title"},Rm=vr,OK=vr["code-block-content__header"];var NK=vr["code-block-content"];var MK=vr["code-block-content__code-block"];var PK=vr["code-block-content__title"];var k1=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {code:_valibot.string.call(void 0, ),language:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function I1(t){let{code:e,language:o,title:r}=_chunkTMUNLKZWjs.h.call(void 0, k1,t),i=_chunkTMUNLKZWjs.k.call(void 0, Rm),[,n]=_chunkQGLO74KJjs.f.call(void 0, );return _react2.default.createElement("div",{className:i["code-block-content"]},r&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["code-block-content__header"])},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["code-block-content__title"])},r)),_react2.default.createElement(n,{className:_classnames2.default.call(void 0, i["code-block-content__code-block"]),language:o},_react2.default.createElement("code",null,e)))}var Dm=_react.memo.call(void 0, I1);var ko={"collapsible-content__chevron":"wo1OXYa_collapsible-content__chevron","collapsible-content__content":"wo1OXYa_collapsible-content__content","collapsible-content__summary-text":"wo1OXYa_collapsible-content__summary-text","collapsible-content":"wo1OXYa_collapsible-content","collapsible-content__summary":"wo1OXYa_collapsible-content__summary"},qm=ko,HK=ko["collapsible-content__chevron"];var YK=ko["collapsible-content__content"];var VK=ko["collapsible-content__summary-text"];var UK=ko["collapsible-content"];var JK=ko["collapsible-content__summary"];var D1=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_chunkTMUNLKZWjs.g.call(void 0, ),summary:_chunkTMUNLKZWjs.g.call(void 0, ),summaryClassName:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function q1(t=1/0){return _mathrandom2.default.call(void 0, ).toString(36).substring(2,2+t)}function z1(t){let{children:e,summary:o,summaryClassName:r}=_chunkTMUNLKZWjs.h.call(void 0, D1,t),[i]=_react.useState.call(void 0, ()=>`webchat-collapsible-content-${q1()}`),n=_chunkTMUNLKZWjs.k.call(void 0, qm),a=_react.useRef.call(void 0, null),s=_react.useCallback.call(void 0, c=>{let l=a.current,d=c.target;if(l&&d&&d instanceof HTMLDetailsElement){let p=d.open.toString();l.setAttribute("aria-expanded",p),l.setAttribute("aria-pressed",p)}},[]);return _react2.default.createElement("details",{className:_classnames2.default.call(void 0, n["collapsible-content"]),id:i,onToggle:s},_react2.default.createElement("summary",{"aria-controls":i,"aria-expanded":"false","aria-pressed":"false",className:_classnames2.default.call(void 0, n["collapsible-content__summary"],r),ref:a,role:"button"},o&&_react2.default.createElement("span",{className:n["collapsible-content__summary-text"]},o),_react2.default.createElement(_chunkPOTPE56Bjs.e,{appearance:"text",className:n["collapsible-content__chevron"],icon:"chevron"})),_react2.default.createElement("div",{className:n["collapsible-content__content"]},e))}var Wm=_react.memo.call(void 0, z1);var{useAvatarForBot:Vm,useAvatarForUser:U1,useLocalizer:Um,useGetKeyByActivity:J1,useStyleOptions:Z1}=_botframeworkwebchatapi.hooks,Jm=_react.memo.call(void 0, ({activity:t,children:e,fromUser:o,hasAvatar:r,hasDisplayText:i,hasNub:n,id:a,renderAvatar:s,renderBubbleContent:c,showAvatar:l,showNub:d})=>{let[{initials:p}]=Vm(),m=Um(),u=_chunkTMUNLKZWjs.k.call(void 0, _chunkXQWBSH7Pjs.j),f=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, t.entities),[t]),b=(o?m("ACTIVITY_YOU_SAID_ALT"):m("ACTIVITY_BOT_SAID_ALT",p||"")).replace(/\s{2,}/gu," ");return _react2.default.createElement(_chunkXQWBSH7Pjs.k,{avatar:l&&s&&s()},!!(i||f!=null&&f.abstract[0])&&_react2.default.createElement("div",{"aria-roledescription":"message",className:_classnames2.default.call(void 0, u["stacked-layout__message-row"]),id:a,role:"group"},_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:b}),_react2.default.createElement(ne,{className:u["stacked-layout__message"],fromUser:o,nub:d||(r||n?"hidden":!1)},_react2.default.createElement(_decoratorjs.ActivityBorderDecorator,{activity:t},c(f==null?void 0:f.abstract[0])))),_react2.default.createElement("div",{className:u["stacked-layout__attachment-list"]},e))});Jm.displayName="StackedLayoutInner";var Zm=({activity:t,hideTimestamp:e,renderActivityStatus:o,renderAttachment:r,renderAvatar:i,showCallout:n})=>{var gt,ut;let[a]=Z1(),[{initials:s}]=Vm(),[{initials:c}]=U1(),l=_chunkXQWBSH7Pjs.a.call(void 0, "webchat__stacked-layout__id"),d=Um(),p=_chunkTMUNLKZWjs.k.call(void 0, _chunkXQWBSH7Pjs.j),{bubbleNubOffset:m,bubbleNubSize:u,bubbleFromUserNubOffset:f,bubbleFromUserNubSize:b}=a,y=t.type==="message"||t.type==="typing",v=_react.useMemo.call(void 0, ()=>y&&t.attachments||[],[t,y]),h=t.from.role==="user"||_botframeworkwebchatcore.getVoiceActivityRole.call(void 0, t)==="user",x=y&&((ut=(gt=t.channelData)==null?void 0:gt.messageBack)==null?void 0:ut.displayText)||"",w=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, t.entities),[t]),g=_react.useMemo.call(void 0, ()=>{var rt;return(rt=w==null?void 0:w.keywords)==null?void 0:rt.includes("Collapsible")},[w]),k=w==null?void 0:w.creativeWorkStatus[0],I=!!_botframeworkwebchatcore.getActivityLivestreamingMetadata.call(void 0, t),_=y?x||t.text:I&&"text"in t?t.text:_botframeworkwebchatcore.isVoiceActivity.call(void 0, t)?_botframeworkwebchatcore.getVoiceActivityText.call(void 0, t):"",S=h?c:s,N=h?f:m,B=h?b:u,L=h?s:c,z=h?u:b,W=J1()(t),K=!!_chunkXQWBSH7Pjs.h.call(void 0, )(W),T=(S||typeof S=="string")&&!K,R=L||typeof L=="string",O=typeof B=="number",j=typeof z=="number",G=_chunkXQWBSH7Pjs.c.call(void 0, N),q=!R&&j,Y=n&&T&&!!i,M=!K&&n&&O&&(G||!(v!=null&&v.length)),U=!!k||K,V=_react.useCallback.call(void 0, (rt="",vt=!0)=>_react2.default.createElement("div",{className:p["stacked-layout__bubble"]},vt&&U&&_react2.default.createElement(_chunkXQWBSH7Pjs.l,{creativeWorkStatus:k}),rt&&_react2.default.createElement("div",{className:p["stacked-layout__title"]},rt),_&&r({activity:t,attachment:{content:_,contentType:Qe("textFormat"in t?t.textFormat:void 0)}})),[t,_,p,k,r,U]),et=_react.useMemo.call(void 0, ()=>{let rt=[],vt=d(h?"ACTIVITY_YOU_ATTACHED_ALT":"ACTIVITY_BOT_ATTACHED_ALT",L||"");if(g&&"text"in t&&t.text&&rt.push(_react2.default.createElement(_n,{attachedAlt:vt,fromUser:h,hasAvatar:!!T,hasNub:!!O,key:rt.length,showBubble:!1},V("",!1))),g){let Ft=er(w);Ft&&rt.push(_react2.default.createElement(_n,{attachedAlt:vt,fromUser:h,hasAvatar:!!T,hasNub:!!O,key:rt.length,showBubble:!1},_react2.default.createElement(Dm,{code:Ft.text[0],key:rt.length,language:Ft.programmingLanguage[0],title:Ft.programmingLanguage[0]})))}return rt.concat(v.map((Ft,io)=>_react2.default.createElement(_n,{attachedAlt:vt,fromUser:h,hasAvatar:!!T,hasNub:!!O,key:io+rt.length,showBubble:!g},r({activity:t,attachment:Ft}))))},[t,v,h,T,O,g,d,w,L,r,V]),pt=_react.useCallback.call(void 0, (rt="")=>_react2.default.createElement("div",{className:p["stacked-layout__bubble"]},U&&_react2.default.createElement(_chunkXQWBSH7Pjs.l,{creativeWorkStatus:k}),_react2.default.createElement(Wm,{summary:rt,summaryClassName:_classnames2.default.call(void 0, p["stacked-layout__title"],p["stacked-layout__title--collapsible"])},_react2.default.createElement("div",{className:p["stacked-layout__attachment-list"]},et))),[et,p,k,U]),ft=g?pt:V;return _react2.default.createElement(_chunkXQWBSH7Pjs.m,{ariaLabelId:_?l:void 0,extraTrailing:q,fromUser:h,hideAvatar:T&&!Y,hideNub:O&&!M,isActivity:!0,noMessage:!_&&!g,showAvatar:Y,showNub:M,topCallout:G},_react2.default.createElement(Jm,{activity:t,fromUser:h,hasAvatar:T,hasDisplayText:!!(_!=null&&_.length)||g,hasNub:O,id:l,renderAvatar:i,renderBubbleContent:ft,showAvatar:Y,showNub:M},!g&&et.length>0&&et),o&&!K&&_react2.default.createElement(_chunkXQWBSH7Pjs.n,null,o({hideTimestamp:e})))};Zm.displayName="StackedLayout";var Xm=_react.memo.call(void 0, Zm);function t0(t,e){var r,i,n,a,s;let{type:o}=t;return!!(o==="conversationUpdate"||o==="event"&&!_botframeworkwebchatcore.isVoiceTranscriptActivity.call(void 0, t)||o==="invoke"||o==="typing"&&(((r=_botframeworkwebchatcore.getActivityLivestreamingMetadata.call(void 0, t))==null?void 0:r.type)==="contentless"||!(t.text||((i=t.attachments)==null?void 0:i.length)>0||e!=null&&e.abstract.length))||o==="message"&&((n=t.channelData)!=null&&n.postBack||(a=t.channelData)!=null&&a.messageBack&&!t.channelData.messageBack.displayText||!(t.text||(s=t.attachments)!=null&&s.length||e!=null&&e.abstract.length)))}function e0(){return Object.freeze([()=>t=>(...e)=>{var n;let[{activity:o}]=e,r=o.type==="message"||o.type==="typing",i=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, o.entities);return t0(o,i)?!1:r||_botframeworkwebchatcore.isVoiceTranscriptActivity.call(void 0, o)?r&&(((n=o.attachments)==null?void 0:n.length)||0)>1&&o.attachmentLayout==="carousel"?function(s,c){return typeof c=="undefined"&&console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."),_react2.default.createElement(Bm,{activity:o,renderAttachment:s,...c})}:function(s,c){return typeof c=="undefined"&&console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."),_react2.default.createElement(Xm,{activity:o,renderAttachment:s,...c})}:t(...e)}])}var o0=_middlewarejs.createActivityPolymiddlewareFromLegacy.call(void 0, ...e0()),tf=o0;function ps(t,e){let o;return typeof CustomEvent=="function"?o=new CustomEvent(t):(o=document.createEvent("Event"),o.initEvent(t,!0,!0)),Object.entries(e).forEach(([r,i])=>{_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, r)||(o[r]=i)}),o}var nf=_valibot.union.call(void 0, [_valibot.instance.call(void 0, Event),_valibot.object.call(void 0, {data:_valibot.string.call(void 0, )})]),y0=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {markdown:_valibot.string.call(void 0, ),onReference:_valibot.pipe.call(void 0, _valibot.function_.call(void 0, ),_valibot.args.call(void 0, _valibot.tuple.call(void 0, [nf]))),references:_valibot.optional.call(void 0, _valibot.array.call(void 0, _valibot.string.call(void 0, )))}),_valibot.readonly.call(void 0, )),h0=t=>{let{markdown:e,onReference:o,references:r}=_chunkTMUNLKZWjs.h.call(void 0, y0,t),[{accent:i}]=_hookjs.useStyleOptions.call(void 0, ),n=_chunkPOTPE56Bjs.a.call(void 0, ),a=_react.useMemo.call(void 0, ()=>n({"& button[data-markdown-href]":{appearance:"none",backgroundColor:"transparent",border:0,color:i,cursor:"pointer",fontFamily:"inherit",fontSize:"inherit",padding:0},"@media screen and (forced-colors: active)":{"& button[data-markdown-href]":{color:"LinkText",textDecoration:"underline"}}})+"",[i,n]),s=_react.useMemo.call(void 0, ()=>{let l=e;r!=null&&r.length&&(l+=`
9
+ `).trim():r:""}var{useAvatarForBot:eT,useGetKeyByActivity:oT,useLocalizer:om,useSendStatusByActivityKey:rT}=_botframeworkwebchatapi.hooks,iT={few:"ACTIVITY_NUM_ATTACHMENTS_FEW_ALT",many:"ACTIVITY_NUM_ATTACHMENTS_MANY_ALT",one:"ACTIVITY_NUM_ATTACHMENTS_ONE_ALT",other:"ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT",two:"ACTIVITY_NUM_ATTACHMENTS_TWO_ALT"};function Ja(t,e){var I,_;let[{initials:o}]=eT(),[r,i]=_react.useState.call(void 0, !1),[n]=rT(),a=((I=t.from)==null?void 0:I.role)==="user",s=oT(),c=om(),l=om({plural:!0}),d=t.type==="message"&&((_=t.attachments)==null?void 0:_.length)||0,p=_chunkUQHIWKDVjs.i.call(void 0, ),m=c("ACTIVITY_INTERACTIVE_FOOTNOTE_ALT"),u=c("ACTIVITY_INTERACTIVE_REASON_INTERACTIVE_CONTENT_ALT"),f=c("ACTIVITY_INTERACTIVE_REASON_LINK_ALT"),b=c("ACTIVITY_INTERACTIVE_REASON_SEND_FAILED_ALT"),y=_react.useMemo.call(void 0, ()=>s(t),[t,s]),v=_react.useMemo.call(void 0, ()=>(a?c("ACTIVITY_YOU_SAID_ALT"):c("ACTIVITY_BOT_SAID_ALT",o||"")).replace(/\s{2,}/gu," "),[o,a,c]),h=_chunkUQHIWKDVjs.O.call(void 0, r),x=_react.useMemo.call(void 0, ()=>fr(t,p),[t,p]),w=_react.useMemo.call(void 0, ()=>d?l(iT,d):"",[l,d]),g=_react.useMemo.call(void 0, ()=>n.get(y)===me,[y,n]),k=_react.useMemo.call(void 0, ()=>[v,x,w,g?b:"",r===0?f:r===1?u:"",r||g?m:""].filter(Boolean).join(" "),[m,u,f,b,v,r,g,x,w]);return _react.useEffect.call(void 0, ()=>{var B;let S=!!((B=e.current)!=null&&B.querySelector("a")),N=!!_chunkJG75MOPDjs.t.call(void 0, e.current).length;h.current!==N&&i(S?0:N?1:!1)},[e,h,i]),[k]}var{useActivityKeysByRead:lT,useGetHasAcknowledgedByActivityKey:dT,useGetKeyByActivity:pT}=_botframeworkwebchatapi.hooks,an=_react.forwardRef.call(void 0, ({activity:t,children:e},o)=>{var z;let[r]=_chunkJG75MOPDjs.s.call(void 0, ),[i]=lT(),n=_usereffrom.useRefFrom.call(void 0, t),a=_react.useRef.call(void 0, ),s=Xe(),c=pT(),l=(z=t.channelData)==null?void 0:z.speak,[d]=Ja(t,a),p=c(t),m=dT()(p),u=_usereffrom.useRefFrom.call(void 0, p),f=Ua()(p),b=`webchat__basic-transcript__active-descendant-label--${p}`,y=f===r,v=i.includes(p),h=_react.useCallback.call(void 0, W=>s(u.current,W),[u,s]),x=_react.useCallback.call(void 0, ()=>h(!1),[h]),w=_react.useCallback.call(void 0, ()=>h(),[h]),g=_react.useCallback.call(void 0, ()=>h(!1),[h]),k=_react.useMemo.call(void 0, ()=>_react2.default.createElement("div",{className:"webchat__basic-transcript__activity-body",ref:a},e),[a,e]),I=_usereffrom.useRefFrom.call(void 0, t.id),_=_react.useCallback.call(void 0, W=>{var R;let{webchatIncludeActivityId:K,webchatIncludeActivityKey:T}=W.target.dataset;K&&W.formData.set(K,(R=I.current)!=null?R:""),T&&W.formData.set(T,u.current)},[u,I]),S=_react.useRef.call(void 0, null),N=_react.useMemo.call(void 0, ()=>new Va(()=>n.current),[n]),B=_react.useMemo.call(void 0, ()=>N.toPublic(),[N]),L=_react.useCallback.call(void 0, W=>{S.current&&(S.current.removeEventListener("formdata",_),S.current.webChat=void 0),W&&(W.addEventListener("formdata",_),W.webChat=B),S.current=W,o&&(typeof o=="function"?o(W):o.current=W)},[B,_,o]);return N.UNSAFE_callBreakpoint.render(),_react2.default.createElement(_chunkJG75MOPDjs.E,{className:_classnames2.default.call(void 0, "webchat__basic-transcript__activity",{"webchat__basic-transcript__activity--acknowledged":m,"webchat__basic-transcript__activity--read":v}),focused:y,onMouseDownCapture:g,ref:L,tag:"article"},_react2.default.createElement(_chunkJG75MOPDjs.u,{onFocus:x,onLeave:w,targetClassName:"webchat__basic-transcript__activity-focus-target"},k),l&&_react2.default.createElement(nn,{activity:t}),_react2.default.createElement(_chunkJG75MOPDjs.F,null,!_chunkJG75MOPDjs.I&&_react2.default.createElement(_chunkJG75MOPDjs.G,{"aria-labelledby":b,className:"webchat__basic-transcript__activity-active-descendant",id:f,role:"article"},_react2.default.createElement(_chunkJG75MOPDjs.d,{"aria-hidden":!0,id:b,text:d})),_react2.default.createElement(_chunkJG75MOPDjs.C,{type:"content"})))});an.defaultProps={children:void 0};an.displayName="ActivityRow";an.propTypes={activity:_proptypes2.default.shape({channelData:_proptypes2.default.shape({speak:_proptypes2.default.bool,"webchat:fallback-text":_proptypes2.default.string})}).isRequired,children:_proptypes2.default.any};var im=_react.memo.call(void 0, an);var{useStyleOptions:AT}=_botframeworkwebchatapi.hooks,xT=_valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t)),ST=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:xT,children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, ));function CT(t){var k;let{activity:e,children:o}=_chunkTMUNLKZWjs.h.call(void 0, ST,t),[{bubbleFromUserNubOffset:r,bubbleNubOffset:i,groupTimestamp:n,showAvatarInGroup:a}]=AT(),[s]=_chunkJG75MOPDjs.w.call(void 0, ),[c]=_chunkJG75MOPDjs.z.call(void 0, ),[l]=_chunkJG75MOPDjs.x.call(void 0, ),[d]=_chunkJG75MOPDjs.A.call(void 0, ),p=n===!1,m=s===e||typeof s=="undefined",u=c===e||typeof c=="undefined",f=l===e||typeof l=="undefined",b=d===e||typeof d=="undefined",y=_chunkJG75MOPDjs.c.call(void 0, i),v=_chunkJG75MOPDjs.c.call(void 0, r),h=p||!b,x=((k=e.from)==null?void 0:k.role)==="user"?v:y,w;a==="sender"?x?w=m&&u:w=f&&b:a==="status"?x?w=u:w=b:w=!0;let g=_react.useMemo.call(void 0, ()=>Object.freeze({hideTimestamp:h,showCallout:w}),[h,w]);return _react2.default.createElement(_internaljs3.LegacyActivityContextProvider,{value:g},o)}var am=_react.memo.call(void 0, CT);var{useGetKeyByActivity:NT}=_botframeworkwebchatapi.hooks;function MT({activity:t}){var s;let e=_chunkJG75MOPDjs.p.call(void 0, ),o=NT(),r=_react.useMemo.call(void 0, ()=>o(t),[t,o]),i=_react.useCallback.call(void 0, c=>{c?e.current.set(r,c):e.current.delete(r)},[e,r]),[n]=dr(),a=(s=n.get(t))==null?void 0:s({});return _react2.default.createElement(im,{activity:t,ref:i},_react2.default.createElement(am,{activity:t},a))}var cm=_react.memo.call(void 0, MT);var{useGetKeyByActivity:FT}=_botframeworkwebchatapi.hooks,DT=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activities:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t))),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ));function qT(t){let{activities:e}=_chunkTMUNLKZWjs.h.call(void 0, DT,t),[o]=dr(),r=FT();return _react2.default.createElement(_react.Fragment,null,e.map(i=>{var a;return((a=o.get(i))==null?void 0:a({}))&&_react2.default.createElement(cm,{activity:i,key:r(i)})}))}var mm=_react.memo.call(void 0, qT);var XT=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activities:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.transform.call(void 0, t=>t))),_valibot.minLength.call(void 0, 1,'botframework-webchat: "activities" must have at least 1 activity'),_valibot.readonly.call(void 0, )),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),bm=t=>{let{activities:e,children:o}=_valibot.parse.call(void 0, XT,t),r=e[0],i=e.at(-1),n=_react.useMemo.call(void 0, ()=>Object.freeze({firstActivityState:Object.freeze([r]),lastActivityState:Object.freeze([i])}),[r,i]);return _react2.default.createElement(_chunkJG75MOPDjs.v.Provider,{value:n},o)};bm.displayName="SenderGrouping";var _m=_react.memo.call(void 0, bm);var ck=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activities:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.transform.call(void 0, t=>t))),_valibot.minLength.call(void 0, 1,'botframework-webchat: "activities" must have at least 1 activity'),_valibot.readonly.call(void 0, )),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),hm=t=>{let{activities:e,children:o}=_valibot.parse.call(void 0, ck,t),r=e[0],i=e.at(-1),n=_react.useMemo.call(void 0, ()=>Object.freeze({firstActivityState:Object.freeze([r]),lastActivityState:Object.freeze([i])}),[r,i]);return _react2.default.createElement(_chunkJG75MOPDjs.y.Provider,{value:n},o)};hm.displayName="StatusGrouping";var vm=_react.memo.call(void 0, hm);function ts(){return Object.freeze([_decoratorjs.createActivityGroupingMiddleware.call(void 0, ()=>({groupingName:t})=>t==="sender"?_m:t==="status"?vm:t==="part"?_chunkJG75MOPDjs.K:mm)])}var mk=Object.freeze([...ts()]);function fk({children:t}){return _react2.default.createElement(_internaljs3.LowPriorityDecoratorComposer,{middleware:mk},t)}var wm=_react.memo.call(void 0, fk);var _reactdictatebutton = require('react-dictate-button');function es(){let[{resumeAudioContext:t}]=_chunkUQHIWKDVjs.D.call(void 0, );return()=>t&&t()}var{useDictateInterims:Ak,useDictateState:xk,useEmitTypingIndicator:Sk,useLanguage:Ck,useSendBoxValue:Tk,useSendTypingIndicator:kk,useShouldSpeakIncomingActivity:Ik,useStopDictate:Ok,useStyleOptions:Nk,useSubmitSendBox:Mk,useUIState:Pk}=_botframeworkwebchatapi.hooks,{DictateState:{DICTATING:Co,IDLE:cn,STARTING:_r}}=_botframeworkwebchatcore.Constants,os=({onError:t})=>{let[,e]=_chunkUQHIWKDVjs.l.call(void 0, ),[,o]=Ak(),[,r]=Tk(),[,i]=Ik(),[{SpeechGrammarList:n,SpeechRecognition:a}={}]=_chunkUQHIWKDVjs.D.call(void 0, ),[{speechRecognitionContinuous:s}]=Nk(),[c]=xk(),[l]=kk(),[d]=Ck("speech"),[p]=Pk(),m=Sk(),u=es(),f=_internaljs3.useSetDictateState.call(void 0, ),b=Ok(),y=Mk(),v=_react.useCallback.call(void 0, ({result:{confidence:g,transcript:k}={}})=>{(c===Co||c===_r)&&(o([]),k&&(r(k),y("speech",{channelData:{speech:{alternatives:[{confidence:g,transcript:k}]}}}),i(!0)))},[c,o,r,y,i]),h=_react.useCallback.call(void 0, ({abortable:g,results:k=[]})=>{if(c===Co||c===_r){let I=k.map(({transcript:_})=>_);e(g),o(I),f(Co),l&&m()}},[c,m,l,e,o,f]),x=_react.useCallback.call(void 0, ()=>{c!==cn&&f(cn),(c===Co||c===_r)&&b()},[c,f,b]),w=_react.useCallback.call(void 0, g=>{c!==cn&&f(cn),(c===Co||c===_r)&&b(),t&&t(g)},[c,t,f,b]);return _react.useEffect.call(void 0, ()=>(window.addEventListener("pointerdown",u),()=>window.removeEventListener("pointerdown",u)),[u]),_react2.default.createElement(_reactdictatebutton.Composer,{continuous:s,lang:d,onDictate:v,onEnd:x,onError:w,onProgress:h,speechGrammarList:n,speechRecognition:a,started:p!=="disabled"&&(c===_r||c===Co)})};os.defaultProps={onError:void 0};os.propTypes={onError:_proptypes2.default.func};var gm=os;function ln(t){let e=new Map;return{get(o){return e.get(o)},set(o,r){let i=e.get(o);i&&t.removeEventListener(o,i),r?(t.addEventListener(o,r),e.set(o,r)):e.delete(o)}}}var dn=class extends Event{constructor(e,o){super(e),this._utterance=o}get charIndex(){return 0}get elapsedTime(){return 0}get name(){}get utterance(){return this._utterance}},pn=class extends EventTarget{constructor(e){super(),this._lang="en-US",this._pitch=1,this._rate=1,this._text=e,this._voice=null,this._volume=1,this._shim=ln(this)}get lang(){return this._lang}set lang(e){this._lang=e}get pitch(){return this._pitch}set pitch(e){this._pitch=e}get rate(){return this._rate}set rate(e){this._rate=e}get text(){return this._text}set text(e){this._text=e}get voice(){return this._voice}set voice(e){this._voice=e}get volume(){return this._volume}set volume(e){this._volume=e}get onboundary(){return this._shim.get("boundary")}set onboundary(e){this._shim.set("boundary",e)}get onend(){return this._shim.get("end")}set onend(e){this._shim.set("end",e)}get onerror(){return this._shim.get("error")}set onerror(e){this._shim.set("error",e)}get onmark(){return this._shim.get("mark")}set onmark(e){this._shim.set("mark",e)}get onpause(){return this._shim.get("pause")}set onpause(e){this._shim.set("pause",e)}get onresume(){return this._shim.get("resume")}set onresume(e){this._shim.set("resume",e)}get onstart(){return this._shim.get("start")}set onstart(e){this._shim.set("start",e)}},rs=class{get default(){return!0}get lang(){return"en-US"}get localService(){return!0}get name(){return"English (US)"}get voiceURI(){return"English (US)"}},is=class extends EventTarget{constructor(){super(),this._shim=ln(this)}get paused(){return!1}get pending(){return!1}get speaking(){return!1}cancel(){}getVoices(){return[new rs]}pause(){throw new Error("pause is not implemented.")}resume(){throw new Error("resume is not implemented.")}speak(e){e.dispatchEvent(new dn("start",e)),e.dispatchEvent(new dn("end",e))}get onvoiceschanged(){return this._shim.get("voiceschanged")}set onvoiceschanged(e){this._shim.set("voiceschanged",e)}},un=new is;var{useTrackDimension:Bk}=_botframeworkwebchatapi.hooks,jk=()=>{let[t]=_chunkUQHIWKDVjs.D.call(void 0, ),e=Bk(),o=!!t.SpeechRecognition,r=t.speechSynthesis&&t.speechSynthesis!==un;return _react.useEffect.call(void 0, ()=>{e("capability:downscaleImage:workerType",_chunkUQHIWKDVjs.q.call(void 0, )?"web worker":"main"),e("capability:renderer","html"),e("prop:speechRecognition",!!o+""),e("prop:speechSynthesis",!!r+"")},[e,o,r]),null},Am=jk;var _middlewarejs = require('botframework-webchat-api/middleware.js');var _reactfilm = require('react-film');var ie={bubble:"wYVITZq_bubble","bubble--from-user":"wYVITZq_bubble--from-user","bubble__nub-outline":"wYVITZq_bubble__nub-outline","bubble--hide-nub":"wYVITZq_bubble--hide-nub","bubble--nub-on-top":"wYVITZq_bubble--nub-on-top",bubble__nub:"wYVITZq_bubble__nub",bubble__content:"wYVITZq_bubble__content","bubble--show-nub":"wYVITZq_bubble--show-nub","bubble__nub-pad":"wYVITZq_bubble__nub-pad"},xm=ie,L9=ie.bubble;var B9=ie["bubble--from-user"];var j9=ie["bubble__nub-outline"];var R9=ie["bubble--hide-nub"];var F9=ie["bubble--nub-on-top"];var D9=ie.bubble__nub;var q9=ie.bubble__content;var z9=ie["bubble--show-nub"];var W9=ie["bubble__nub-pad"];var{useStyleOptions:Yk}=_botframeworkwebchatapi.hooks;function Vk(t,e,o,r=!1,i){if(typeof t!="number")return!1;let n=t/2,a=e/2,s=o==="bot"?"":`translate(${n} 0) scale(-1 1) translate(${-n} 0)`,c=r?`translate(0 ${n}) scale(1 -1) translate(0 ${-n})`:"",l=[t,a].join(" "),d=[e,a].join(" "),p=[t+e,t+a].join(" ");return _react2.default.createElement("svg",{className:i.bubble__nub,version:"1.1",viewBox:`0 0 ${t} ${t}`,xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("g",{transform:`${s} ${c}`},_react2.default.createElement("path",{className:i["bubble__nub-outline"],d:`M${l} L${d} L${p}`})))}var Uk=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fromUser:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),nub:_valibot.optional.call(void 0, _valibot.union.call(void 0, [_valibot.boolean.call(void 0, ),_valibot.literal.call(void 0, "hidden")]))}),_valibot.readonly.call(void 0, ));function Jk(t){let{"aria-hidden":e,children:o,className:r,fromUser:i,nub:n=!1}=_chunkTMUNLKZWjs.h.call(void 0, Uk,t),[{bubbleBorderWidth:a,bubbleFromUserBorderWidth:s,bubbleFromUserNubSize:c,bubbleNubSize:l,bubbleNubOffset:d,bubbleFromUserNubOffset:p}]=Yk(),m=_chunkTMUNLKZWjs.k.call(void 0, xm),{borderWidth:u,nubOffset:f,nubSize:b,side:y}=i?{borderWidth:s,nubOffset:p,nubSize:c,side:"user"}:{borderWidth:a,nubOffset:d,nubSize:l,side:"bot"};return _react2.default.createElement("div",{"aria-hidden":e,className:_classnames2.default.call(void 0, m.bubble,{[m["bubble--from-user"]]:i,[m["bubble--hide-nub"]]:n!==!0&&n!==!1,[m["bubble--nub-on-top"]]:_chunkJG75MOPDjs.c.call(void 0, f),[m["bubble--show-nub"]]:n===!0},r)},_react2.default.createElement("div",{className:m["bubble__nub-pad"]}),_react2.default.createElement("div",{className:m.bubble__content},o),n===!0&&Vk(b,u,y,!_chunkJG75MOPDjs.c.call(void 0, f),m))}var ne=_react.memo.call(void 0, Jk);var $e={"carousel-filmstrip-attachment--show-nub":"waR7HEa_carousel-filmstrip-attachment--show-nub","carousel-filmstrip-attachment--focus":"waR7HEa_carousel-filmstrip-attachment--focus","carousel-filmstrip-attachment--show-avatar":"waR7HEa_carousel-filmstrip-attachment--show-avatar","carousel-filmstrip-attachment":"waR7HEa_carousel-filmstrip-attachment","carousel-filmstrip-attachment--hide-avatar":"waR7HEa_carousel-filmstrip-attachment--hide-avatar","carousel-filmstrip-attachment--hide-nub":"waR7HEa_carousel-filmstrip-attachment--hide-nub"},Sm=$e,oW=$e["carousel-filmstrip-attachment--show-nub"];var rW=$e["carousel-filmstrip-attachment--focus"];var iW=$e["carousel-filmstrip-attachment--show-avatar"];var nW=$e["carousel-filmstrip-attachment"];var aW=$e["carousel-filmstrip-attachment--hide-avatar"];var sW=$e["carousel-filmstrip-attachment--hide-nub"];var{useLocalizer:Qk}=_botframeworkwebchatapi.hooks,as=({activity:t,attachment:e,className:o,fromUser:r,hasAvatar:i,hideNub:n,index:a,renderAttachment:s,showAvatar:c,showNub:l})=>{let d=Qk(),p=_chunkTMUNLKZWjs.k.call(void 0, Sm),m=d(r?"ACTIVITY_YOU_ATTACHED_ALT":"ACTIVITY_BOT_ATTACHED_ALT");return _react2.default.createElement("li",{"aria-roledescription":"attachment",className:_classnames2.default.call(void 0, p["carousel-filmstrip-attachment"],{[p["carousel-filmstrip-attachment--hide-avatar"]]:i&&!c,[p["carousel-filmstrip-attachment--hide-nub"]]:n,[p["carousel-filmstrip-attachment--show-avatar"]]:c,[p["carousel-filmstrip-attachment--show-nub"]]:l},"react-film__filmstrip__item",o),role:"listitem",tabIndex:0},_react2.default.createElement(_chunkJG75MOPDjs.d,{text:m}),_react2.default.createElement(ne,{fromUser:r,key:a,nub:!1},s({activity:t,attachment:e}),_react2.default.createElement("div",{className:p["carousel-filmstrip-attachment--focus"]})))};as.defaultProps={className:""};as.propTypes={activity:_proptypes2.default.shape({attachments:_proptypes2.default.array,from:_proptypes2.default.shape({role:_proptypes2.default.string.isRequired}).isRequired,text:_proptypes2.default.string,textFormat:_proptypes2.default.string,timestamp:_proptypes2.default.string}).isRequired,attachment:_proptypes2.default.shape({content:_proptypes2.default.any}).isRequired,className:_proptypes2.default.string,fromUser:_proptypes2.default.any.isRequired,hasAvatar:_proptypes2.default.any.isRequired,hideNub:_proptypes2.default.bool.isRequired,index:_proptypes2.default.number.isRequired,renderAttachment:_proptypes2.default.func.isRequired,showAvatar:_proptypes2.default.bool.isRequired,showNub:_proptypes2.default.bool.isRequired};var Cm=as;var at={"carousel-filmstrip__bubble":"wzsijdG_carousel-filmstrip__bubble","carousel-filmstrip__alignment-pad":"wzsijdG_carousel-filmstrip__alignment-pad","carousel-filmstrip--show-avatar":"wzsijdG_carousel-filmstrip--show-avatar","carousel-filmstrip--top-callout":"wzsijdG_carousel-filmstrip--top-callout","carousel-filmstrip__main":"wzsijdG_carousel-filmstrip__main","carousel-filmstrip__avatar-gutter":"wzsijdG_carousel-filmstrip__avatar-gutter","carousel-filmstrip__nub-pad":"wzsijdG_carousel-filmstrip__nub-pad","carousel-filmstrip--hide-nub":"wzsijdG_carousel-filmstrip--hide-nub","carousel-filmstrip__status":"wzsijdG_carousel-filmstrip__status","carousel-filmstrip__complimentary":"wzsijdG_carousel-filmstrip__complimentary","carousel-filmstrip--hide-avatar":"wzsijdG_carousel-filmstrip--hide-avatar","carousel-filmstrip--no-message":"wzsijdG_carousel-filmstrip--no-message","carousel-filmstrip__attachments":"wzsijdG_carousel-filmstrip__attachments","carousel-filmstrip__avatar":"wzsijdG_carousel-filmstrip__avatar","carousel-filmstrip__complimentary-content":"wzsijdG_carousel-filmstrip__complimentary-content","carousel-filmstrip__content":"wzsijdG_carousel-filmstrip__content","carousel-filmstrip__message":"wzsijdG_carousel-filmstrip__message","carousel-filmstrip--extra-trailing":"wzsijdG_carousel-filmstrip--extra-trailing","carousel-filmstrip":"wzsijdG_carousel-filmstrip","carousel-filmstrip--show-nub":"wzsijdG_carousel-filmstrip--show-nub","carousel-filmstrip__filler":"wzsijdG_carousel-filmstrip__filler"},Tm=at,gW=at["carousel-filmstrip__bubble"];var AW=at["carousel-filmstrip__alignment-pad"];var xW=at["carousel-filmstrip--show-avatar"];var SW=at["carousel-filmstrip--top-callout"];var CW=at["carousel-filmstrip__main"];var TW=at["carousel-filmstrip__avatar-gutter"];var kW=at["carousel-filmstrip__nub-pad"];var IW=at["carousel-filmstrip--hide-nub"];var OW=at["carousel-filmstrip__status"];var NW=at["carousel-filmstrip__complimentary"];var MW=at["carousel-filmstrip--hide-avatar"];var PW=at["carousel-filmstrip--no-message"];var EW=at["carousel-filmstrip__attachments"];var LW=at["carousel-filmstrip__avatar"];var BW=at["carousel-filmstrip__complimentary-content"];var jW=at["carousel-filmstrip__content"];var RW=at["carousel-filmstrip__message"];var FW=at["carousel-filmstrip--extra-trailing"];var DW=at["carousel-filmstrip"];var qW=at["carousel-filmstrip--show-nub"];var zW=at["carousel-filmstrip__filler"];var{useAvatarForBot:o1,useAvatarForUser:r1,useLocalizer:i1,useStyleOptions:n1}=_botframeworkwebchatapi.hooks,ss=({activity:t,className:e,hideTimestamp:o,renderActivityStatus:r,renderAttachment:i,renderAvatar:n,showCallout:a})=>{let[{bubbleNubOffset:s,bubbleNubSize:c,bubbleFromUserNubOffset:l,bubbleFromUserNubSize:d}]=n1(),[{initials:p}]=o1(),[{initials:m}]=r1(),u=i1(),f=typeof r=="function",b=_chunkTMUNLKZWjs.k.call(void 0, Tm),y=_reactfilm.useItemContainerCallbackRef.call(void 0, ),v=_reactfilm.useScrollableCallbackRef.call(void 0, ),{attachments:h=[],channelData:{messageBack:{displayText:x}={}}={},from:{role:w}={},text:g,textFormat:k}=t,I=x||g,_=w==="user",S=(_?u("ACTIVITY_YOU_SAID_ALT"):u("ACTIVITY_BOT_SAID_ALT",p||"")).replace(/\s{2,}/gu," "),N=_?m:p,B=_?l:s,L=_?d:c,z=_?p:m,W=_?c:d,K=N||typeof N=="string",T=z||typeof z=="string",R=typeof L=="number",O=typeof W=="number",j=_chunkJG75MOPDjs.c.call(void 0, B),G=!T&&O,q=a&&K&&!!n,Y=a&&R&&(j||!h.length),M=R&&!Y;return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, b["carousel-filmstrip"],{[b["carousel-filmstrip--extra-trailing"]]:G,[b["carousel-filmstrip--hide-avatar"]]:K&&!q,[b["carousel-filmstrip--hide-nub"]]:M,[b["carousel-filmstrip--no-message"]]:!I,[b["carousel-filmstrip--show-avatar"]]:q,[b["carousel-filmstrip--show-nub"]]:Y,[b["carousel-filmstrip--top-callout"]]:j},"react-film__filmstrip",e),ref:v},_react2.default.createElement("div",{className:b["carousel-filmstrip__main"]},_react2.default.createElement("div",{className:b["carousel-filmstrip__avatar-gutter"]},q&&n({activity:t})),_react2.default.createElement("div",{className:b["carousel-filmstrip__content"]},!!I&&_react2.default.createElement("div",{"aria-roledescription":"message",className:b["carousel-filmstrip__message"],role:"group"},_react2.default.createElement(_chunkJG75MOPDjs.d,{text:S}),_react2.default.createElement(ne,{className:b["carousel-filmstrip__bubble"],fromUser:_,nub:Y||(K||R)&&"hidden"},i({activity:t,attachment:{content:I,contentType:Qe(k)}})),_react2.default.createElement("div",{className:b["carousel-filmstrip__filler"]})),_react2.default.createElement("div",{className:b["carousel-filmstrip__complimentary"]},_react2.default.createElement("div",{className:b["carousel-filmstrip__nub-pad"]}),_react2.default.createElement("div",{className:b["carousel-filmstrip__complimentary-content"]},_react2.default.createElement("ul",{className:_classnames2.default.call(void 0, b["carousel-filmstrip__attachments"],"react-film__filmstrip__list"),ref:y},h.map((U,V)=>_react2.default.createElement(Cm,{activity:t,attachment:U,fromUser:_,hasAvatar:K,hideNub:M,index:V,key:V,renderAttachment:i,showAvatar:q,showNub:Y})))))),_react2.default.createElement("div",{className:b["carousel-filmstrip__alignment-pad"]})),f&&_react2.default.createElement("div",{className:b["carousel-filmstrip__status"]},_react2.default.createElement("div",{className:b["carousel-filmstrip__avatar-gutter"]}),_react2.default.createElement("div",{className:b["carousel-filmstrip__nub-pad"]}),r({hideTimestamp:o})))};ss.defaultProps={className:"",hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:!1,showCallout:!1};ss.propTypes={activity:_proptypes2.default.shape({attachments:_proptypes2.default.array,channelData:_proptypes2.default.shape({messageBack:_proptypes2.default.shape({displayText:_proptypes2.default.string})}),from:_proptypes2.default.shape({role:_proptypes2.default.string.isRequired}).isRequired,text:_proptypes2.default.string,textFormat:_proptypes2.default.string,timestamp:_proptypes2.default.string}).isRequired,className:_proptypes2.default.string,hideTimestamp:_proptypes2.default.bool,renderActivityStatus:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),renderAttachment:_proptypes2.default.func.isRequired,renderAvatar:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),showCallout:_proptypes2.default.bool};var Im=ss;var Om={"carousel-layout":"wtvQgqa_carousel-layout"},Nm=Om,nK=Om["carousel-layout"];var{useDirection:Lm,useLocalizer:m1,useStyleOptions:f1}=_botframeworkwebchatapi.hooks,hr=({activity:t,hideTimestamp:e,renderActivityStatus:o,renderAttachment:r,renderAvatar:i,showCallout:n})=>{let[{root:a}]=_reactfilm.useStyleSetClassNames.call(void 0, ),[s]=Lm(),[c]=_reactfilm.useScrollBarWidth.call(void 0, ),[l]=_reactfilm.useScrolling.call(void 0, ),d=s==="rtl"?">":"<",p=m1(),m=s==="rtl"?"<":">",u=_chunkTMUNLKZWjs.k.call(void 0, Nm),f=p("CAROUSEL_FLIPPER_NEXT_ALT"),b=p("CAROUSEL_FLIPPER_PREVIOUS_ALT"),y=s==="rtl"?f:b,v=s==="rtl"?b:f;return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, u["carousel-layout"],a)},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "react-film__main",{"react-film__main--scrolling":l})},_react2.default.createElement(Im,{activity:t,hideTimestamp:e,renderActivityStatus:o,renderAttachment:r,renderAvatar:i,showCallout:n}),c!=="100%"&&_react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_reactfilm.Flipper,{"aria-label":y,blurFocusOnClick:!0,mode:"left"},d),_react2.default.createElement(_reactfilm.Flipper,{"aria-label":v,blurFocusOnClick:!0,mode:"right"},m))))};hr.defaultProps={hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:!1,showCallout:!0};hr.propTypes={activity:_proptypes2.default.shape({attachments:_proptypes2.default.array}).isRequired,hideTimestamp:_proptypes2.default.bool,renderActivityStatus:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),renderAttachment:_proptypes2.default.func.isRequired,renderAvatar:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.func]),showCallout:_proptypes2.default.bool};var cs=t=>{let{activity:{attachments:e=[]}={}}=t,[o]=Lm(),[r]=_chunkUQHIWKDVjs.N.call(void 0, ),i=_react.useMemo.call(void 0, ()=>_reactfilm.createBasicStyleSet.call(void 0, {cursor:null}),[]),[{stylesRoot:n}]=f1(),a=_react.useMemo.call(void 0, ()=>({stylesRoot:n}),[n]);return _react2.default.createElement(_reactfilm.Composer,{dir:o,nonce:r,numItems:e.length,styleOptions:a,styleSet:i},_react2.default.createElement(hr,{...t}))};cs.defaultProps={...hr.defaultProps};cs.propTypes={...hr.propTypes};var Bm=_react.memo.call(void 0, cs);var g1=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {attachedAlt:_valibot.string.call(void 0, ),children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),fromUser:_valibot.boolean.call(void 0, ),hasAvatar:_valibot.boolean.call(void 0, ),hasNub:_valibot.boolean.call(void 0, ),showBubble:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function A1(t){let{attachedAlt:e,children:o,fromUser:r,hasAvatar:i,hasNub:n,showBubble:a=!0}=_chunkTMUNLKZWjs.h.call(void 0, g1,t),s=_chunkTMUNLKZWjs.k.call(void 0, _chunkJG75MOPDjs.j);return _react2.default.createElement("div",{"aria-roledescription":"attachment",className:s["stacked-layout__attachment-row"],role:"group"},_react2.default.createElement(_chunkJG75MOPDjs.d,{text:e}),a?_react2.default.createElement(ne,{className:s["stacked-layout__attachment"],fromUser:r,nub:i||n?"hidden":!1},o):_react2.default.createElement("div",{className:_classnames2.default.call(void 0, s["stacked-layout__attachment"])},o))}var _n=_react.memo.call(void 0, A1);var vr={"code-block-content__code-block":"w4KLAFG_code-block-content__code-block","code-block-content__title":"w4KLAFG_code-block-content__title","code-block-content__header":"w4KLAFG_code-block-content__header","code-block-content":"w4KLAFG_code-block-content"},Rm=vr,OK=vr["code-block-content__code-block"];var NK=vr["code-block-content__title"];var MK=vr["code-block-content__header"];var PK=vr["code-block-content"];var k1=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {code:_valibot.string.call(void 0, ),language:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),title:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function I1(t){let{code:e,language:o,title:r}=_chunkTMUNLKZWjs.h.call(void 0, k1,t),i=_chunkTMUNLKZWjs.k.call(void 0, Rm),[,n]=_chunkUQHIWKDVjs.f.call(void 0, );return _react2.default.createElement("div",{className:i["code-block-content"]},r&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["code-block-content__header"])},_react2.default.createElement("div",{className:_classnames2.default.call(void 0, i["code-block-content__title"])},r)),_react2.default.createElement(n,{className:_classnames2.default.call(void 0, i["code-block-content__code-block"]),language:o},_react2.default.createElement("code",null,e)))}var Dm=_react.memo.call(void 0, I1);var ko={"collapsible-content":"wo1OXYa_collapsible-content","collapsible-content__chevron":"wo1OXYa_collapsible-content__chevron","collapsible-content__summary":"wo1OXYa_collapsible-content__summary","collapsible-content__summary-text":"wo1OXYa_collapsible-content__summary-text","collapsible-content__content":"wo1OXYa_collapsible-content__content"},qm=ko,HK=ko["collapsible-content"];var YK=ko["collapsible-content__chevron"];var VK=ko["collapsible-content__summary"];var UK=ko["collapsible-content__summary-text"];var JK=ko["collapsible-content__content"];var D1=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_chunkTMUNLKZWjs.g.call(void 0, ),summary:_chunkTMUNLKZWjs.g.call(void 0, ),summaryClassName:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function q1(t=1/0){return _mathrandom2.default.call(void 0, ).toString(36).substring(2,2+t)}function z1(t){let{children:e,summary:o,summaryClassName:r}=_chunkTMUNLKZWjs.h.call(void 0, D1,t),[i]=_react.useState.call(void 0, ()=>`webchat-collapsible-content-${q1()}`),n=_chunkTMUNLKZWjs.k.call(void 0, qm),a=_react.useRef.call(void 0, null),s=_react.useCallback.call(void 0, c=>{let l=a.current,d=c.target;if(l&&d&&d instanceof HTMLDetailsElement){let p=d.open.toString();l.setAttribute("aria-expanded",p),l.setAttribute("aria-pressed",p)}},[]);return _react2.default.createElement("details",{className:_classnames2.default.call(void 0, n["collapsible-content"]),id:i,onToggle:s},_react2.default.createElement("summary",{"aria-controls":i,"aria-expanded":"false","aria-pressed":"false",className:_classnames2.default.call(void 0, n["collapsible-content__summary"],r),ref:a,role:"button"},o&&_react2.default.createElement("span",{className:n["collapsible-content__summary-text"]},o),_react2.default.createElement(_chunkENHWW2TZjs.e,{appearance:"text",className:n["collapsible-content__chevron"],icon:"chevron"})),_react2.default.createElement("div",{className:n["collapsible-content__content"]},e))}var Wm=_react.memo.call(void 0, z1);var{useAvatarForBot:Vm,useAvatarForUser:U1,useLocalizer:Um,useGetKeyByActivity:J1,useStyleOptions:Z1}=_botframeworkwebchatapi.hooks,Jm=_react.memo.call(void 0, ({activity:t,children:e,fromUser:o,hasAvatar:r,hasDisplayText:i,hasNub:n,id:a,renderAvatar:s,renderBubbleContent:c,showAvatar:l,showNub:d})=>{let[{initials:p}]=Vm(),m=Um(),u=_chunkTMUNLKZWjs.k.call(void 0, _chunkJG75MOPDjs.j),f=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, t.entities),[t]),b=(o?m("ACTIVITY_YOU_SAID_ALT"):m("ACTIVITY_BOT_SAID_ALT",p||"")).replace(/\s{2,}/gu," ");return _react2.default.createElement(_chunkJG75MOPDjs.k,{avatar:l&&s&&s()},!!(i||f!=null&&f.abstract[0])&&_react2.default.createElement("div",{"aria-roledescription":"message",className:_classnames2.default.call(void 0, u["stacked-layout__message-row"]),id:a,role:"group"},_react2.default.createElement(_chunkJG75MOPDjs.d,{text:b}),_react2.default.createElement(ne,{className:u["stacked-layout__message"],fromUser:o,nub:d||(r||n?"hidden":!1)},_react2.default.createElement(_decoratorjs.ActivityBorderDecorator,{activity:t},c(f==null?void 0:f.abstract[0])))),_react2.default.createElement("div",{className:u["stacked-layout__attachment-list"]},e))});Jm.displayName="StackedLayoutInner";var Zm=({activity:t,hideTimestamp:e,renderActivityStatus:o,renderAttachment:r,renderAvatar:i,showCallout:n})=>{var gt,ut;let[a]=Z1(),[{initials:s}]=Vm(),[{initials:c}]=U1(),l=_chunkJG75MOPDjs.a.call(void 0, "webchat__stacked-layout__id"),d=Um(),p=_chunkTMUNLKZWjs.k.call(void 0, _chunkJG75MOPDjs.j),{bubbleNubOffset:m,bubbleNubSize:u,bubbleFromUserNubOffset:f,bubbleFromUserNubSize:b}=a,y=t.type==="message"||t.type==="typing",v=_react.useMemo.call(void 0, ()=>y&&t.attachments||[],[t,y]),h=t.from.role==="user"||_botframeworkwebchatcore.getVoiceActivityRole.call(void 0, t)==="user",x=y&&((ut=(gt=t.channelData)==null?void 0:gt.messageBack)==null?void 0:ut.displayText)||"",w=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, t.entities),[t]),g=_react.useMemo.call(void 0, ()=>{var rt;return(rt=w==null?void 0:w.keywords)==null?void 0:rt.includes("Collapsible")},[w]),k=w==null?void 0:w.creativeWorkStatus[0],I=!!_botframeworkwebchatcore.getActivityLivestreamingMetadata.call(void 0, t),_=y?x||t.text:I&&"text"in t?t.text:_botframeworkwebchatcore.isVoiceActivity.call(void 0, t)?_botframeworkwebchatcore.getVoiceActivityText.call(void 0, t):"",S=h?c:s,N=h?f:m,B=h?b:u,L=h?s:c,z=h?u:b,W=J1()(t),K=!!_chunkJG75MOPDjs.h.call(void 0, )(W),T=(S||typeof S=="string")&&!K,R=L||typeof L=="string",O=typeof B=="number",j=typeof z=="number",G=_chunkJG75MOPDjs.c.call(void 0, N),q=!R&&j,Y=n&&T&&!!i,M=!K&&n&&O&&(G||!(v!=null&&v.length)),U=!!k||K,V=_react.useCallback.call(void 0, (rt="",vt=!0)=>_react2.default.createElement("div",{className:p["stacked-layout__bubble"]},vt&&U&&_react2.default.createElement(_chunkJG75MOPDjs.l,{creativeWorkStatus:k}),rt&&_react2.default.createElement("div",{className:p["stacked-layout__title"]},rt),_&&r({activity:t,attachment:{content:_,contentType:Qe("textFormat"in t?t.textFormat:void 0)}})),[t,_,p,k,r,U]),et=_react.useMemo.call(void 0, ()=>{let rt=[],vt=d(h?"ACTIVITY_YOU_ATTACHED_ALT":"ACTIVITY_BOT_ATTACHED_ALT",L||"");if(g&&"text"in t&&t.text&&rt.push(_react2.default.createElement(_n,{attachedAlt:vt,fromUser:h,hasAvatar:!!T,hasNub:!!O,key:rt.length,showBubble:!1},V("",!1))),g){let Ft=er(w);Ft&&rt.push(_react2.default.createElement(_n,{attachedAlt:vt,fromUser:h,hasAvatar:!!T,hasNub:!!O,key:rt.length,showBubble:!1},_react2.default.createElement(Dm,{code:Ft.text[0],key:rt.length,language:Ft.programmingLanguage[0],title:Ft.programmingLanguage[0]})))}return rt.concat(v.map((Ft,io)=>_react2.default.createElement(_n,{attachedAlt:vt,fromUser:h,hasAvatar:!!T,hasNub:!!O,key:io+rt.length,showBubble:!g},r({activity:t,attachment:Ft}))))},[t,v,h,T,O,g,d,w,L,r,V]),pt=_react.useCallback.call(void 0, (rt="")=>_react2.default.createElement("div",{className:p["stacked-layout__bubble"]},U&&_react2.default.createElement(_chunkJG75MOPDjs.l,{creativeWorkStatus:k}),_react2.default.createElement(Wm,{summary:rt,summaryClassName:_classnames2.default.call(void 0, p["stacked-layout__title"],p["stacked-layout__title--collapsible"])},_react2.default.createElement("div",{className:p["stacked-layout__attachment-list"]},et))),[et,p,k,U]),ft=g?pt:V;return _react2.default.createElement(_chunkJG75MOPDjs.m,{ariaLabelId:_?l:void 0,extraTrailing:q,fromUser:h,hideAvatar:T&&!Y,hideNub:O&&!M,isActivity:!0,noMessage:!_&&!g,showAvatar:Y,showNub:M,topCallout:G},_react2.default.createElement(Jm,{activity:t,fromUser:h,hasAvatar:T,hasDisplayText:!!(_!=null&&_.length)||g,hasNub:O,id:l,renderAvatar:i,renderBubbleContent:ft,showAvatar:Y,showNub:M},!g&&et.length>0&&et),o&&!K&&_react2.default.createElement(_chunkJG75MOPDjs.n,null,o({hideTimestamp:e})))};Zm.displayName="StackedLayout";var Xm=_react.memo.call(void 0, Zm);function t0(t,e){var r,i,n,a,s;let{type:o}=t;return!!(o==="conversationUpdate"||o==="event"&&!_botframeworkwebchatcore.isVoiceTranscriptActivity.call(void 0, t)||o==="invoke"||o==="typing"&&(((r=_botframeworkwebchatcore.getActivityLivestreamingMetadata.call(void 0, t))==null?void 0:r.type)==="contentless"||!(t.text||((i=t.attachments)==null?void 0:i.length)>0||e!=null&&e.abstract.length))||o==="message"&&((n=t.channelData)!=null&&n.postBack||(a=t.channelData)!=null&&a.messageBack&&!t.channelData.messageBack.displayText||!(t.text||(s=t.attachments)!=null&&s.length||e!=null&&e.abstract.length)))}function e0(){return Object.freeze([()=>t=>(...e)=>{var n;let[{activity:o}]=e,r=o.type==="message"||o.type==="typing",i=_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, o.entities);return t0(o,i)?!1:r||_botframeworkwebchatcore.isVoiceTranscriptActivity.call(void 0, o)?r&&(((n=o.attachments)==null?void 0:n.length)||0)>1&&o.attachmentLayout==="carousel"?function(s,c){return typeof c=="undefined"&&console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."),_react2.default.createElement(Bm,{activity:o,renderAttachment:s,...c})}:function(s,c){return typeof c=="undefined"&&console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."),_react2.default.createElement(Xm,{activity:o,renderAttachment:s,...c})}:t(...e)}])}var o0=_middlewarejs.createActivityPolymiddlewareFromLegacy.call(void 0, ...e0()),tf=o0;function ps(t,e){let o;return typeof CustomEvent=="function"?o=new CustomEvent(t):(o=document.createEvent("Event"),o.initEvent(t,!0,!0)),Object.entries(e).forEach(([r,i])=>{_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, r)||(o[r]=i)}),o}var nf=_valibot.union.call(void 0, [_valibot.instance.call(void 0, Event),_valibot.object.call(void 0, {data:_valibot.string.call(void 0, )})]),y0=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {markdown:_valibot.string.call(void 0, ),onReference:_valibot.pipe.call(void 0, _valibot.function_.call(void 0, ),_valibot.args.call(void 0, _valibot.tuple.call(void 0, [nf]))),references:_valibot.optional.call(void 0, _valibot.array.call(void 0, _valibot.string.call(void 0, )))}),_valibot.readonly.call(void 0, )),h0=t=>{let{markdown:e,onReference:o,references:r}=_chunkTMUNLKZWjs.h.call(void 0, y0,t),[{accent:i}]=_hookjs.useStyleOptions.call(void 0, ),n=_chunkENHWW2TZjs.a.call(void 0, ),a=_react.useMemo.call(void 0, ()=>n({"& button[data-markdown-href]":{appearance:"none",backgroundColor:"transparent",border:0,color:i,cursor:"pointer",fontFamily:"inherit",fontSize:"inherit",padding:0},"@media screen and (forced-colors: active)":{"& button[data-markdown-href]":{color:"LinkText",textDecoration:"underline"}}})+"",[i,n]),s=_react.useMemo.call(void 0, ()=>{let l=e;r!=null&&r.length&&(l+=`
10
10
 
11
11
  `);for(let p of r||[])l+=`[${p}]: #${p}
12
- `;let d=_chunkPOTPE56Bjs.g.call(void 0, _micromark.micromark.call(void 0, l));return _chunkPOTPE56Bjs.f.call(void 0, d,p=>{if(p!=null&&p.startsWith("#"))return{asButton:!0,dataset:{markdownHref:p}}}),{__html:_chunkPOTPE56Bjs.i.call(void 0, _chunkPOTPE56Bjs.h.call(void 0, d))}},[e,r]),c=_react.useCallback.call(void 0, l=>{var m;l.stopPropagation();let d=(m=l.target.getAttribute("value"))!=null?m:void 0,p=d!=null&&d.startsWith("#")?d.slice(1):d;if(p){let u=ps("reference",{data:p});_valibot.parse.call(void 0, nf,u),o==null||o(u)}},[o]);return _react2.default.createElement("span",{className:a,dangerouslySetInnerHTML:s,onClick:c})},af=h0;var T0=["RETRY"],k0=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {onRetryClick:_valibot.function_.call(void 0, )}),_valibot.readonly.call(void 0, )),I0=t=>{let{onRetryClick:e}=_chunkTMUNLKZWjs.h.call(void 0, k0,t),o=_react.useCallback.call(void 0, ({data:n})=>n==="RETRY"&&e(),[e]),i=_hookjs.useLocalizer.call(void 0, )("ACTIVITY_STATUS_SEND_FAILED_RETRY");return _react2.default.createElement(af,{markdown:i,onReference:o,references:T0})},sf=I0;var Io={"activity-status":"wBpMa5G_activity-status","activity-status__originator--has-link":"wBpMa5G_activity-status__originator--has-link","activity-status-slot":"wBpMa5G_activity-status-slot","activity-status__originator":"wBpMa5G_activity-status__originator","activity-status--slotted":"wBpMa5G_activity-status--slotted"},ae=Io,eH=Io["activity-status"];var oH=Io["activity-status__originator--has-link"];var rH=Io["activity-status-slot"];var iH=Io["activity-status__originator"];var nH=Io["activity-status--slotted"];var{useLocalizer:R0,usePostActivity:F0}=_botframeworkwebchatapi.hooks,D0=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, ),sendStatus:_valibot.union.call(void 0, [_valibot.literal.call(void 0, mr),_valibot.literal.call(void 0, me),_valibot.literal.call(void 0, em)])}),_valibot.readonly.call(void 0, ));function q0(t){let{activity:e,sendStatus:o}=_chunkTMUNLKZWjs.h.call(void 0, D0,t),r=_chunkQGLO74KJjs.p.call(void 0, ),i=R0(),n=F0(),a=_chunkTMUNLKZWjs.k.call(void 0, ae),s=_react.useCallback.call(void 0, ()=>{n(e),r("sendBoxWithoutKeyboard")},[e,r,n]),c=i("ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING");return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement("span",{className:a["activity-status"]},o===mr?c:o===me?_react2.default.createElement(sf,{onRetryClick:s}):!1))}var hn=_react.memo.call(void 0, q0);function fs(){return()=>t=>({activity:e,sendState:o,...r})=>{switch(o){case mr:case me:return _react2.default.createElement(hn,{activity:e,sendStatus:o});default:return t({activity:e,sendState:o,...r})}}}var{useDateFormatter:$0,useLocalizer:tI}=_botframeworkwebchatapi.hooks,eI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {hide:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ),!1),value:_valibot.union.call(void 0, [_valibot.date.call(void 0, ),_valibot.number.call(void 0, ),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, )),oI=t=>{let{hide:e,value:o}=_chunkTMUNLKZWjs.h.call(void 0, eI,t),r=tI(),n=$0()(o);return _react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:r("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",n)}),!e&&_react2.default.createElement("span",{"aria-hidden":!0},n))},vn=oI;var cI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {name:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, )),slogan:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, )),url:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),lI=_react.memo.call(void 0, function(e){let{name:o,slogan:r,url:i}=_chunkTMUNLKZWjs.h.call(void 0, cI,e),n=or(),a=_chunkTMUNLKZWjs.k.call(void 0, ae),{sanitizedHref:s}=n(i),c=r||o;return s?_react2.default.createElement("a",{className:_classnames2.default.call(void 0, a["activity-status__originator"],a["activity-status__originator--has-link"]),href:s,rel:"noopener noreferrer",target:"_blank"},c):_react2.default.createElement("span",{className:a["activity-status__originator"]},c)}),lf=lI;var df=({children:t,className:e})=>{let o=_chunkTMUNLKZWjs.k.call(void 0, ae);return _react2.default.createElement("span",{className:_classnames2.default.call(void 0, o["activity-status-slot"],e)},t)};df.displayName="StatusSlot";var wn=_react.memo.call(void 0, df);var{usePonyfill:bI}=_botframeworkwebchatapi.hooks;function xr(t,e){let[{clearTimeout:o,Date:r,setTimeout:i}]=bI();_react.useEffect.call(void 0, ()=>{if(typeof t=="number"){let n=Math.max(0,t-r.now());if(n){let a=i(e,n);return()=>o(a)}e()}},[t,o,r,e,i])}var{usePonyfill:wI}=_botframeworkwebchatapi.hooks;function pf(t,e,{Date:o}){let r=t.getTime(),i=o.now();return r>i?r:i+e-(i-r)%e}function hs(t,e,o){let[r]=wI(),[i,n]=_react.useState.call(void 0, pf(t,e,r)),a=_react.useCallback.call(void 0, ()=>{o&&o(),n(pf(t,e,r)+_mathrandom2.default.call(void 0, ))},[o,t,e,r]);return xr(i,a),[i,n]}var{useDateFormatter:NI,useLocalizer:MI,usePonyfill:PI,useRelativeTimeFormatter:EI}=_botframeworkwebchatapi.hooks,LI=6e4,BI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {value:_valibot.union.call(void 0, [_valibot.date.call(void 0, ),_valibot.number.call(void 0, ),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, )),jI=t=>{let{value:e}=_chunkTMUNLKZWjs.h.call(void 0, BI,t),[{Date:o}]=PI(),r=NI(),i=EI(),n=MI(),a=new o(e);return hs(a,LI),_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:n("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",r(a))}),_react2.default.createElement("span",{"aria-hidden":!0},i(a)))},uf=jI;var{useStyleOptions:YI}=_botframeworkwebchatapi.hooks,VI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {timestamp:_valibot.union.call(void 0, [_valibot.date.call(void 0, ),_valibot.number.call(void 0, ),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, ));function UI(t){let{timestamp:e}=_chunkTMUNLKZWjs.h.call(void 0, VI,t),[{timestampFormat:o}]=YI();return o==="relative"?_react2.default.createElement(uf,{value:e}):_react2.default.createElement(vn,{value:e})}var Oo=_react.memo.call(void 0, UI);var{useStyleOptions:tO}=_botframeworkwebchatapi.hooks,bf=lp('Root-level things are being deprecated, please relate all things to `entities[@id=""]` instead. This feature will be removed in 2025-03-06.'),_f=_react.memo.call(void 0, ({activity:t,className:e,slotted:o})=>{let[{feedbackActionsPlacement:r}]=tO(),i=_chunkTMUNLKZWjs.k.call(void 0, ae),{timestamp:n}=t,a=_react.useMemo.call(void 0, ()=>Ye(t.entities||[]),[t.entities]),s=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, a),[a]),c=_react.useMemo.call(void 0, ()=>{try{if(s)return _valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,s==null?void 0:s.citation[0]).claimInterpreter[0];let[l]=a.filter(({type:p})=>p==="https://schema.org/Claim").map(p=>_valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,p));if(l)return bf(),l==null?void 0:l.claimInterpreter[0];let d=_valibot.parse.call(void 0, _orgschemajs.orgSchemaActionSchema,a.find(({type:p})=>p==="https://schema.org/ReplyAction"));if(d)return bf(),d==null?void 0:d.provider[0]}catch (e24){}},[a,s]);return _react2.default.createElement("span",{className:_classnames2.default.call(void 0, i["activity-status"],{[i["activity-status--slotted"]]:o},e)},n&&_react2.default.createElement(wn,null,_react2.default.createElement(Oo,{key:"timestamp",timestamp:n})),c&&_react2.default.createElement(wn,null,_react2.default.createElement(lf,{key:"originator",name:c.name[0],slogan:c.slogan[0],url:c.url[0]})),r==="activity-status"&&_react2.default.createElement(wn,null,_react2.default.createElement(Pi,{activity:t,key:"feedback"})))});_f.displayName="OthersActivityStatus";var yf=_f;var vf=_react.memo.call(void 0, ({activity:t,className:e,slotted:o})=>{let r=_chunkTMUNLKZWjs.k.call(void 0, ae),{timestamp:i}=t;return i?_react2.default.createElement("span",{className:_classnames2.default.call(void 0, r["activity-status"],{[r["activity-status--slotted"]]:o},e)},_react2.default.createElement(Oo,{timestamp:i})):null});vf.displayName="SelftActivityStatus";var wf=vf;function As(){return()=>()=>(...t)=>{let[{activity:e,hideTimestamp:o}]=t;return typeof e.timestamp=="undefined"?_react2.default.createElement(_react.Fragment,null):o?_react2.default.createElement(vn,{hide:!0,value:e.timestamp}):e.from.role==="bot"?_react2.default.createElement(yf,{activity:e,slotted:!0}):_react2.default.createElement(wf,{activity:e,slotted:!0})}}function xs(){return[fs(),As()]}var{useLocalizer:aO}=_botframeworkwebchatapi.hooks,sO=()=>{let e=aO()("ATTACHMENT_AUDIO");return _react2.default.createElement("article",null,e)},gf=sO;var{useLocalizer:dO}=_botframeworkwebchatapi.hooks,xf=({attachment:{name:t=""}={}})=>{let o=dO()("ATTACHMENT_FILE",t);return _react2.default.createElement("article",null,o)};xf.propTypes={attachment:_proptypes2.default.shape({name:_proptypes2.default.string.isRequired}).isRequired};var Ss=xf;var{useLocalizer:mO}=_botframeworkwebchatapi.hooks,fO=()=>{let e=mO()("ATTACHMENT_IMAGE");return _react2.default.createElement("article",null,e)},Sf=fO;var{useLocalizer:yO}=_botframeworkwebchatapi.hooks,Tf=({attachment:{content:t=""}={}})=>{let o=yO()("ATTACHMENT_TEXT",t);return _react2.default.createElement("article",null,o)};Tf.propTypes={attachment:_proptypes2.default.shape({content:_proptypes2.default.string.isRequired}).isRequired};var kf=Tf;var{useLocalizer:wO}=_botframeworkwebchatapi.hooks,gO=()=>{let e=wO()("ATTACHMENT_VIDEO");return _react2.default.createElement("article",null,e)},If=gO;function Cs(){return[()=>t=>(...e)=>{let[{activity:{from:{role:o=void 0}={}}={},attachment:r,attachment:{contentType:i=void 0,contentUrl:n=void 0,thumbnailUrl:a=void 0}={}}]=e,s=/^text\//u.test(i);return(s?!r.content:o==="user"&&!a)?()=>_react2.default.createElement(Ss,{attachment:r}):/^audio\//u.test(i)?()=>_react2.default.createElement(gf,null):/^image\//u.test(i)?()=>_react2.default.createElement(Sf,null):/^video\//u.test(i)?()=>_react2.default.createElement(If,null):n||i==="application/octet-stream"?()=>_react2.default.createElement(Ss,{attachment:r}):s?()=>_react2.default.createElement(kf,{attachment:r}):t(...e)}]}var{useAvatarForBot:OO,useAvatarForUser:NO}=_botframeworkwebchatapi.hooks,MO={"& .webchat__imageAvatar__image":{width:"100%",height:"auto"}},PO=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {fromUser:_valibot.boolean.call(void 0, )}),_valibot.readonly.call(void 0, )),EO=t=>{let{fromUser:e}=_chunkTMUNLKZWjs.h.call(void 0, PO,t),[{image:o}]=OO(),[{image:r}]=NO(),[{imageAvatar:i}]=_chunkQGLO74KJjs.c.call(void 0, ),n=_chunkPOTPE56Bjs.a.call(void 0, )(MO)+"";return!!(e?r:o)&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__imageAvatar",n,i+"")},_react2.default.createElement("img",{alt:"",className:"webchat__imageAvatar__image",src:e?r:o}))},Nf=_react.memo.call(void 0, EO);var{useAvatarForBot:WO,useAvatarForUser:KO}=_botframeworkwebchatapi.hooks,GO={alignItems:"center",display:"flex","& .webchat__initialsAvatar__initials":{justifyContent:"center"}},HO=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {fromUser:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function YO(t){let{fromUser:e=!1}=_chunkTMUNLKZWjs.h.call(void 0, HO,t),[{initials:o}]=WO(),[{initials:r}]=KO(),[{initialsAvatar:i}]=_chunkQGLO74KJjs.c.call(void 0, ),n=_chunkPOTPE56Bjs.a.call(void 0, )(GO)+"";return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__initialsAvatar",{"webchat__initialsAvatar--fromUser":e},n,i+"")},_react2.default.createElement("div",{className:"webchat__initialsAvatar__initials"},e?r:o))}var Pf=_react.memo.call(void 0, YO);var tN={overflow:["hidden","clip"],position:"relative","> *":{left:0,position:"absolute",top:0}},eN=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ),!0),children:_valibot.optional.call(void 0, _valibot.never.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fromUser:_valibot.boolean.call(void 0, )}),_valibot.readonly.call(void 0, ));function Lf(t){let{"aria-hidden":e,className:o,fromUser:r}=_chunkTMUNLKZWjs.h.call(void 0, eN,t,"strict"),[{avatar:i}]=_chunkQGLO74KJjs.c.call(void 0, ),n=_chunkPOTPE56Bjs.a.call(void 0, )(tN)+"";return _react2.default.createElement("div",{"aria-hidden":e,className:_classnames2.default.call(void 0, "webchat__defaultAvatar",{"webchat__defaultAvatar--fromUser":r},n,i+"",o)},_react2.default.createElement(Pf,{fromUser:r}),_react2.default.createElement(Nf,{fromUser:r}))}Lf.displayName="DefaultAvatar";var An=_react.memo.call(void 0, Lf);function iN(t){let{botAvatarImage:e,botAvatarInitials:o,userAvatarImage:r,userAvatarInitials:i}=t!=null?t:{};return _middlewarejs.createAvatarPolymiddleware.call(void 0, n=>({activity:a})=>{var c;let s=((c=a.from)==null?void 0:c.role)==="user";return(s?r||i:e||o)?_middlewarejs.avatarComponent.call(void 0, An,Object.freeze({fromUser:s})):void 0})}var Bf=iN;function jf(t){t=t.replace(/[\x00-\x20]+/gu,""),t=t.replace(/<!--.*?-->/gu,"");let e=t.match(/^([a-zA-Z]+):/u);if(e)return e[1].toLowerCase()}var nN=["data","http","https","ftp","mailto","sip","tel"];function Is(){return[()=>t=>(...e)=>{let[{cardAction:{type:o,value:r},getSignInUrl:i}]=e;switch(o){case"call":case"downloadFile":case"openUrl":case"playAudio":case"playVideo":case"showImage":if(nN.includes(jf(r)))if(_chunkXQWBSH7Pjs.J){let n=window.open();n.opener=null,n.location=r}else window.open(r,"_blank","noopener noreferrer");else console.warn("botframework-webchat: Cannot open URL with disallowed schemes.",r);break;case"signin":{(async function(){let n=window.open(),a=await i();["http","https"].includes(jf(a))?n.location.href=a:(console.warn("botframework-webchat: Cannot open URL with disallowed schemes.",a),n.close())})();break}default:return t(...e)}}]}var{useLocalizer:lN,useStyleOptions:dN}=_botframeworkwebchatapi.hooks,Os="U u \xDC \xFC",Ff=({onClick:t})=>{let e=_react.useRef.call(void 0, null),[{scrollToEndButton:o}]=_chunkQGLO74KJjs.c.call(void 0, ),[{scrollToEndButtonBehavior:r}]=dN(),i=lN(),n=_chunkQGLO74KJjs.X.call(void 0, "accessible name"),a=r!=="any",s=i(a?"TRANSCRIPT_NEW_MESSAGES":"TRANSCRIPT_MORE_MESSAGES"),c=i("TRANSCRIPT_LIVE_REGION_NEW_MESSAGES_ALT",n(Os),s);return _chunkQGLO74KJjs._.call(void 0, a?Os:"",e),_chunkPOTPE56Bjs.l.call(void 0, ()=>a&&_react2.default.createElement("div",{className:"webchat__scroll-to-end-button__status"},c),[c,a]),_react2.default.createElement("button",{"aria-keyshortcuts":a?n(Os):void 0,"aria-label":s,className:_classnames2.default.call(void 0, "webchat__scroll-to-end-button",o+""),onClick:t,ref:e,tabIndex:0,type:"button"},s)};Ff.displayName="ScrollToEndButton";var Ns=Ff;function Ms(){return[()=>()=>({atEnd:t,styleOptions:{scrollToEndButtonBehavior:e},unread:o})=>e?e==="any"?!t&&Ns:!t&&o&&Ns:!1]}var Ps=({className:t})=>_react2.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"14",role:"presentation",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M7.71094 7L13.1016 12.3984L12.3984 13.1016L7 7.71094L1.60156 13.1016L0.898438 12.3984L6.28906 7L0.898438 1.60156L1.60156 0.898438L7 6.28906L12.3984 0.898438L13.1016 1.60156L7.71094 7Z"}));Ps.defaultProps={className:void 0};Ps.propTypes={className:_proptypes2.default.string};var qf=Ps;var Es=({"aria-label":t,className:e})=>_react2.default.createElement("svg",{"aria-label":t,className:(e||"")+"",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M14.5605 5.81055L15.4395 6.68945L8.125 14.0039L4.56055 10.4395L5.43945 9.56055L8.125 12.2461L14.5605 5.81055ZM10 0C10.918 0 11.8034 0.120443 12.6562 0.361328C13.5091 0.595703 14.3066 0.93099 15.0488 1.36719C15.791 1.79688 16.4648 2.31771 17.0703 2.92969C17.6823 3.53516 18.2031 4.20898 18.6328 4.95117C19.069 5.69336 19.4043 6.49089 19.6387 7.34375C19.8796 8.19661 20 9.08203 20 10C20 10.918 19.8796 11.8034 19.6387 12.6562C19.4043 13.5091 19.069 14.3066 18.6328 15.0488C18.2031 15.791 17.6823 16.4681 17.0703 17.0801C16.4648 17.6855 15.791 18.2064 15.0488 18.6426C14.3066 19.0723 13.5091 19.4076 12.6562 19.6484C11.8034 19.8828 10.918 20 10 20C9.08203 20 8.19661 19.8828 7.34375 19.6484C6.49089 19.4076 5.69336 19.0723 4.95117 18.6426C4.20898 18.2064 3.5319 17.6855 2.91992 17.0801C2.31445 16.4681 1.79362 15.791 1.35742 15.0488C0.927734 14.3066 0.592448 13.5124 0.351562 12.666C0.117188 11.8132 0 10.9245 0 10C0 9.08203 0.117188 8.19661 0.351562 7.34375C0.592448 6.49089 0.927734 5.69336 1.35742 4.95117C1.79362 4.20898 2.31445 3.53516 2.91992 2.92969C3.5319 2.31771 4.20898 1.79688 4.95117 1.36719C5.69336 0.93099 6.48763 0.595703 7.33398 0.361328C8.18685 0.120443 9.07552 0 10 0ZM10 18.75C10.8008 18.75 11.5723 18.6458 12.3145 18.4375C13.0632 18.2292 13.7598 17.9362 14.4043 17.5586C15.0553 17.1745 15.6478 16.7155 16.1816 16.1816C16.7155 15.6478 17.1712 15.0586 17.5488 14.4141C17.9329 13.763 18.2292 13.0664 18.4375 12.3242C18.6458 11.582 18.75 10.8073 18.75 10C18.75 9.19922 18.6458 8.42773 18.4375 7.68555C18.2292 6.93685 17.9329 6.24023 17.5488 5.5957C17.1712 4.94466 16.7155 4.35221 16.1816 3.81836C15.6478 3.28451 15.0553 2.82878 14.4043 2.45117C13.7598 2.06706 13.0632 1.77083 12.3145 1.5625C11.5723 1.35417 10.8008 1.25 10 1.25C9.19922 1.25 8.42448 1.35417 7.67578 1.5625C6.93359 1.77083 6.23698 2.06706 5.58594 2.45117C4.94141 2.82878 4.35221 3.28451 3.81836 3.81836C3.28451 4.35221 2.82552 4.94466 2.44141 5.5957C2.0638 6.24023 1.77083 6.93685 1.5625 7.68555C1.35417 8.42773 1.25 9.19922 1.25 10C1.25 10.8008 1.35417 11.5755 1.5625 12.3242C1.77083 13.0664 2.0638 13.763 2.44141 14.4141C2.82552 15.0586 3.28451 15.6478 3.81836 16.1816C4.35221 16.7155 4.94141 17.1745 5.58594 17.5586C6.23698 17.9362 6.93359 18.2292 7.67578 18.4375C8.41797 18.6458 9.19271 18.75 10 18.75Z",fill:"#107C10"}));Es.defaultProps={"aria-label":void 0,className:void 0};Es.propTypes={"aria-label":_proptypes2.default.string,className:_proptypes2.default.string};var Kf=Es;var Ls=({"aria-label":t,className:e})=>_react2.default.createElement("svg",{"aria-label":t,className:(e||"")+"",height:"19",viewBox:"0 0 19 19",width:"19",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M9.375 0C10.2409 0 11.071 0.110677 11.8652 0.332031C12.666 0.553385 13.4147 0.869141 14.1113 1.2793C14.8079 1.68294 15.4395 2.17122 16.0059 2.74414C16.5788 3.31055 17.0671 3.94206 17.4707 4.63867C17.8809 5.33529 18.1966 6.08398 18.418 6.88477C18.6393 7.67904 18.75 8.50911 18.75 9.375C18.75 10.2409 18.6393 11.0742 18.418 11.875C18.1966 12.6693 17.8809 13.4147 17.4707 14.1113C17.0671 14.8079 16.5788 15.4427 16.0059 16.0156C15.4395 16.582 14.8079 17.0703 14.1113 17.4805C13.4147 17.8841 12.666 18.1966 11.8652 18.418C11.071 18.6393 10.2409 18.75 9.375 18.75C8.50911 18.75 7.67578 18.6393 6.875 18.418C6.08073 18.1966 5.33529 17.8841 4.63867 17.4805C3.94206 17.0703 3.30729 16.582 2.73438 16.0156C2.16797 15.4427 1.67969 14.8079 1.26953 14.1113C0.865885 13.4147 0.553385 12.6693 0.332031 11.875C0.110677 11.0742 0 10.2409 0 9.375C0 8.50911 0.110677 7.67904 0.332031 6.88477C0.553385 6.08398 0.865885 5.33529 1.26953 4.63867C1.67969 3.94206 2.16797 3.31055 2.73438 2.74414C3.30729 2.17122 3.94206 1.68294 4.63867 1.2793C5.33529 0.869141 6.08073 0.553385 6.875 0.332031C7.67578 0.110677 8.50911 0 9.375 0ZM9.375 17.5C10.1172 17.5 10.8333 17.4023 11.5234 17.207C12.2201 17.0117 12.8678 16.7383 13.4668 16.3867C14.0723 16.0352 14.6224 15.612 15.1172 15.1172C15.612 14.6224 16.0352 14.0755 16.3867 13.4766C16.7383 12.8711 17.0117 12.2233 17.207 11.5332C17.4023 10.8431 17.5 10.1237 17.5 9.375C17.5 8.63281 17.4023 7.91667 17.207 7.22656C17.0117 6.52995 16.7383 5.88216 16.3867 5.2832C16.0352 4.67773 15.612 4.1276 15.1172 3.63281C14.6224 3.13802 14.0723 2.71484 13.4668 2.36328C12.8678 2.01172 12.2201 1.73828 11.5234 1.54297C10.8333 1.34766 10.1172 1.25 9.375 1.25C8.6263 1.25 7.9069 1.34766 7.2168 1.54297C6.52669 1.73828 5.87891 2.01172 5.27344 2.36328C4.67448 2.71484 4.1276 3.13802 3.63281 3.63281C3.13802 4.1276 2.71484 4.67773 2.36328 5.2832C2.01172 5.88216 1.73828 6.52995 1.54297 7.22656C1.34766 7.91667 1.25 8.63281 1.25 9.375C1.25 10.1172 1.34766 10.8366 1.54297 11.5332C1.73828 12.2233 2.01172 12.8711 2.36328 13.4766C2.71484 14.0755 3.13802 14.6224 3.63281 15.1172C4.1276 15.612 4.67448 16.0352 5.27344 16.3867C5.87891 16.7383 6.52669 17.0117 7.2168 17.207C7.9069 17.4023 8.6263 17.5 9.375 17.5ZM8.75 5H10V11.25H8.75V5ZM8.75 12.5H10V13.75H8.75V12.5Z"}));Ls.defaultProps={"aria-label":void 0,className:void 0};Ls.propTypes={"aria-label":_proptypes2.default.string,className:_proptypes2.default.string};var Yf=Ls;var{useLocalizer:fN}=_botframeworkwebchatapi.hooks,Bs=({className:t,level:e})=>{let o=fN(),r={error:o("TOAST_ALT_ERROR"),info:o("TOAST_ALT_INFO"),success:o("TOAST_ALT_SUCCESS"),warn:o("TOAST_ALT_WARN")},i=!_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, e)&&r[e]||"";return _react2.default.createElement(_react2.default.Fragment,null,e==="success"?_react2.default.createElement(Kf,{"aria-label":i,className:t}):_react2.default.createElement(Yf,{"aria-label":i,className:t}))};Bs.defaultProps={className:void 0};Bs.propTypes={className:_proptypes2.default.string,level:_proptypes2.default.oneOf(["error","info","success","warn"]).isRequired};var Sn=Bs;function Sr(t=5){return _mathrandom2.default.call(void 0, ).toString(36).substr(2,t)}function _N(t){_chunkPOTPE56Bjs.f.call(void 0, t,e=>{if(e&&/^\w/u.test(e))return{rel:"noopener noreferrer",target:"_blank"}})}var Uf=_N;function hN(t){let e=_chunkPOTPE56Bjs.g.call(void 0, _micromark.micromark.call(void 0, t));Uf(e);let o=_chunkPOTPE56Bjs.h.call(void 0, e);return _chunkPOTPE56Bjs.i.call(void 0, o)}var Cn=hN;var{useDismissNotification:AN,useLocalizer:xN}=_botframeworkwebchatapi.hooks,SN={display:"flex","& .webchat__toast__text":{flex:1}},Zf=({notification:{alt:t,id:e,level:o,message:r=""}})=>{let[{toast:i}]=_chunkQGLO74KJjs.c.call(void 0, ),n=_react.useMemo.call(void 0, ()=>`webchat__toast__${Sr()}`,[]),a=xN(),s=AN(),c=_chunkPOTPE56Bjs.a.call(void 0, )(SN)+"",l=_react.useCallback.call(void 0, ()=>s(e),[s,e]),d=_react.useMemo.call(void 0, ()=>({__html:Cn(r)}),[r]);return _react2.default.createElement("div",{"aria-describedby":n,"aria-label":a("TOAST_TITLE_ALT"),className:_classnames2.default.call(void 0, "webchat__toast",{"webchat__toast--error":o==="error","webchat__toast--info":o==="info","webchat__toast--success":o==="success","webchat__toast--warn":o==="warn"},c,i+""),role:"dialog"},_react2.default.createElement("div",{className:"webchat__toast__iconBox"},_react2.default.createElement(Sn,{className:"webchat__toast__icon",level:o})),!!t&&_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:t}),_react2.default.createElement("div",{"aria-hidden":!!t,className:"webchat__toast__text",dangerouslySetInnerHTML:d,id:n}),_react2.default.createElement("button",{"aria-label":a("TOAST_DISMISS_BUTTON"),className:"webchat__toast__dismissButton",onClick:l,type:"button"},_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__toast__dismissButtonFocus"},_react2.default.createElement(qf,null))))};Zf.propTypes={notification:_proptypes2.default.shape({alt:_proptypes2.default.string,id:_proptypes2.default.string.isRequired,level:_proptypes2.default.string.isRequired,message:_proptypes2.default.string.isRequired}).isRequired};var Xf=Zf;function TN(){return()=>()=>({notification:t})=>_react2.default.createElement(Xf,{notification:t})}var Qf=TN;function kN(){return[()=>t=>(...e)=>{let[{notification:{id:o}}]=e;return o!=="connectivitystatus"&&t(...e)},Qf()]}var $f=kN;var{useDirection:NN,useLocalizer:MN}=_botframeworkwebchatapi.hooks,PN={"&.webchat__typing-indicator.webchat__typing-indicator--rtl":{transform:"scale(-1, 1)"}},EN=()=>{let[{typingAnimation:t}]=_chunkQGLO74KJjs.c.call(void 0, ),[e]=NN(),o=MN(),r=_chunkPOTPE56Bjs.a.call(void 0, )(PN)+"";return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:o("TYPING_INDICATOR_ALT")}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__typing-indicator",{"webchat__typing-indicator--rtl":e==="rtl"},r,t+""),"data-testid":_chunkQGLO74KJjs.I.typingIndicator}))},tb=EN;var{useDirection:jN,useLocalizer:RN}=_botframeworkwebchatapi.hooks,FN=()=>{let[{typingIndicator:t}]=_chunkQGLO74KJjs.c.call(void 0, ),[e]=jN(),o=RN();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, t+"",e==="rtl"&&"webchat__typing-indicator--rtl")},_react2.default.createElement(tb,{"aria-label":o("TYPING_INDICATOR_ALT")}))};function Rs(){return[()=>()=>({visible:t})=>t&&_react2.default.createElement(FN,null)]}var Tr={"code-block":"wWoZ38W_code-block","code-block__theme--github-light-default":"wWoZ38W_code-block__theme--github-light-default","code-block__theme--github-dark-default":"wWoZ38W_code-block__theme--github-dark-default","code-block__body":"wWoZ38W_code-block__body"},eb=Tr,tJ=Tr["code-block"];var eJ=Tr["code-block__theme--github-light-default"];var oJ=Tr["code-block__theme--github-dark-default"];var rJ=Tr["code-block__body"];var{useStyleOptions:zN,useLocalizer:WN}=_botframeworkwebchatapi.hooks,Mo,Po,Eo,kr=class extends HTMLElement{constructor(){super(...arguments);_chunkTMUNLKZWjs.b.call(void 0, this,"copyButtonElement");_chunkTMUNLKZWjs.d.call(void 0, this,Mo,!1);_chunkTMUNLKZWjs.d.call(void 0, this,Po);_chunkTMUNLKZWjs.d.call(void 0, this,Eo)}get code(){var o,r;return(r=(o=this.querySelector("code"))==null?void 0:o.textContent)!=null?r:""}get theme(){return this.getAttribute("theme")}set theme(o){this.setAttribute("theme",o)}get language(){return this.getAttribute("language")}set language(o){this.setAttribute("language",o)}get options(){let{theme:o}=this;return o?{theme:o}:void 0}connectedCallback(){_chunkTMUNLKZWjs.e.call(void 0, this,Mo,!0),this.scheduleUpdate()}disconnectedCallback(){_chunkTMUNLKZWjs.e.call(void 0, this,Mo,!1)}attributeChangedCallback(o,r,i){let n=!Object.is(r,i);_chunkTMUNLKZWjs.c.call(void 0, this,Mo)&&n&&this.scheduleUpdate()}scheduleUpdate(){_chunkTMUNLKZWjs.c.call(void 0, this,Eo)||_chunkTMUNLKZWjs.e.call(void 0, this,Eo,Promise.resolve().then(()=>{_chunkTMUNLKZWjs.e.call(void 0, this,Eo,void 0),this.update()}))}update(){let{code:o,language:r,options:i,ownerDocument:n}=this;if(!o)return;_chunkTMUNLKZWjs.c.call(void 0, this,Po)||(_chunkTMUNLKZWjs.e.call(void 0, this,Po,n.createDocumentFragment()),_chunkTMUNLKZWjs.c.call(void 0, this,Po).replaceChildren(...this.children));let a=this.highlightCode(o,r,i),s=a instanceof DocumentFragment?a:_chunkPOTPE56Bjs.g.call(void 0, a);s.insertBefore(this.copyButtonElement,s.firstChild),this.replaceChildren(s),this.copyButtonElement&&(this.copyButtonElement.dataset.value=o)}highlightCode(...o){return _chunkXQWBSH7Pjs.L.call(void 0, ...o)}};Mo=new WeakMap,Po=new WeakMap,Eo=new WeakMap,_chunkTMUNLKZWjs.b.call(void 0, kr,"observedAttributes",["theme","language"]);var KN=t=>{let e=_chunkXQWBSH7Pjs.M.call(void 0, ),o=WN(),[{codeBlockTheme:r}]=zN(),i=o("COPY_BUTTON_COPIED_TEXT"),n=o("COPY_BUTTON_TEXT"),a=_react.useMemo.call(void 0, ()=>new EventTarget,[]),s=_react.useRef.call(void 0, );return _react.useMemo.call(void 0, ()=>{s.current=Object.freeze({codeBlockTheme:r,copyButtonAltCopied:i,copyButtonAltCopy:n,copyButtonTagName:t,highlightCode:e}),a.dispatchEvent(new CustomEvent("change"))},[r,i,n,t,e,a]),_react.useMemo.call(void 0, ()=>Object.freeze([a,s]),[a,s])};function Ds(t){let[e,o]=KN(t),r=_chunkTMUNLKZWjs.k.call(void 0, eb);return _react.useMemo.call(void 0, ()=>{var i,n,a,Fs,c;return i=class extends kr{constructor(){super(...arguments);_chunkTMUNLKZWjs.d.call(void 0, this,a);_chunkTMUNLKZWjs.d.call(void 0, this,n);_chunkTMUNLKZWjs.d.call(void 0, this,c,()=>{let p=_chunkTMUNLKZWjs.c.call(void 0, this,a,Fs),m=_chunkTMUNLKZWjs.c.call(void 0, this,n);if(_chunkTMUNLKZWjs.e.call(void 0, this,n,p),this.setAttribute("theme",p.codeBlockTheme),(m==null?void 0:m.highlightCode)!==p.highlightCode&&this.scheduleUpdate(),(m==null?void 0:m.copyButtonTagName)!==p.copyButtonTagName||!this.copyButtonElement){let{ownerDocument:u}=this;this.copyButtonElement=u.createElement(p.copyButtonTagName),this.scheduleUpdate()}this.copyButtonElement.dataset.altCopy=p.copyButtonAltCopy,this.copyButtonElement.dataset.altCopied=p.copyButtonAltCopied})}connectedCallback(){this.classList.add(...r["code-block"].split(/\s+/gu)),e.addEventListener("change",_chunkTMUNLKZWjs.c.call(void 0, this,c)),_chunkTMUNLKZWjs.c.call(void 0, this,c).call(this),super.connectedCallback()}update(){var u,f;super.update();let p=this.querySelector("pre");p==null||p.classList.add(...r["code-block__body"].split(/\s+/gu));let m=(u=this.options)==null?void 0:u.theme;m&&(p==null||p.classList.add(...((f=r[`code-block__theme--${m}`])!=null?f:`code-block__theme--${m}`).split(/\s+/gu)))}disconnectedCallback(){e.removeEventListener("change",_chunkTMUNLKZWjs.c.call(void 0, this,c)),super.disconnectedCallback()}highlightCode(...p){let[,m,u]=p;return!m||!u?_chunkXQWBSH7Pjs.L.call(void 0, ...p):_chunkTMUNLKZWjs.c.call(void 0, this,a,Fs).highlightCode(...p)}},n=new WeakMap,a=new WeakSet,Fs=function(){return o.current},c=new WeakMap,_chunkTMUNLKZWjs.b.call(void 0, i,"observedAttributes",kr.observedAttributes),i},[r,o,e])}var _reactdom = require('react-dom');var eo={DISCONNECTED:0,CONNECTED:1,PENDING:2};function zs(t,e){var r,i,n,qs,s;let o=e.map(c=>c==="className"?"class":c);return s=class extends HTMLElement{constructor(){super();_chunkTMUNLKZWjs.d.call(void 0, this,n);_chunkTMUNLKZWjs.d.call(void 0, this,r,eo.DISCONNECTED);_chunkTMUNLKZWjs.d.call(void 0, this,i);let d=_chunkTMUNLKZWjs.e.call(void 0, this,i,new Map);for(let p of o){let m=this.getAttribute(p);typeof m=="string"&&d.set(p==="class"?"className":p,m)}}static get observedAttributes(){return o}attributeChangedCallback(d,p,m){d==="class"&&(d="className");let u=new Map(_chunkTMUNLKZWjs.c.call(void 0, this,i));typeof m=="string"?_chunkTMUNLKZWjs.c.call(void 0, this,i).set(d,m):_chunkTMUNLKZWjs.c.call(void 0, this,i).delete(d),!(u.size===_chunkTMUNLKZWjs.c.call(void 0, this,i).size&&Array.from(new Set(u.keys()).union(new Set(_chunkTMUNLKZWjs.c.call(void 0, this,i)))).every(b=>Object.is(u.get(b),_chunkTMUNLKZWjs.c.call(void 0, this,i).get(b))))&&_chunkTMUNLKZWjs.c.call(void 0, this,r)===eo.CONNECTED&&_reactdom.render.call(void 0, _react.createElement.call(void 0, t,_chunkTMUNLKZWjs.f.call(void 0, this,n,qs).call(this)),this)}connectedCallback(){_chunkTMUNLKZWjs.c.call(void 0, this,r)!==eo.PENDING&&_reactdom.render.call(void 0, _react.createElement.call(void 0, t,_chunkTMUNLKZWjs.f.call(void 0, this,n,qs).call(this)),this),_chunkTMUNLKZWjs.e.call(void 0, this,r,eo.CONNECTED)}async disconnectedCallback(){_chunkTMUNLKZWjs.e.call(void 0, this,r,eo.PENDING),await Promise.resolve(),_chunkTMUNLKZWjs.c.call(void 0, this,r)===eo.PENDING&&(_chunkTMUNLKZWjs.e.call(void 0, this,r,eo.DISCONNECTED),_reactdom.unmountComponentAtNode.call(void 0, this),this.replaceChildren())}},r=new WeakMap,i=new WeakMap,n=new WeakSet,qs=function(){let d=Array.from(_chunkTMUNLKZWjs.c.call(void 0, this,i).entries());return Object.freeze(Object.fromEntries(d))},s}var Ir={"code-block-copy-button__icon":"wGHOKkG_code-block-copy-button__icon","code-block-copy-button__icon--copied":"wGHOKkG_code-block-copy-button__icon--copied","code-block-copy-button":"wGHOKkG_code-block-copy-button","code-block-copy-button--copied":"wGHOKkG_code-block-copy-button--copied"},ib=Ir,CJ=Ir["code-block-copy-button__icon"];var TJ=Ir["code-block-copy-button__icon--copied"];var kJ=Ir["code-block-copy-button"];var IJ=Ir["code-block-copy-button--copied"];var ab=_react.memo.call(void 0, ({className:t,"data-alt-copied":e,"data-alt-copy":o,"data-value":r})=>{let i=_chunkTMUNLKZWjs.k.call(void 0, ib),[n,a,s]=_usestatewithref.useStateWithRef.call(void 0, !1),[c,l]=_react.useState.call(void 0, !1),d=_usereffrom.useRefFrom.call(void 0, r),p=_react.useCallback.call(void 0, ()=>{if(s.current)return;let u=!1;return(async()=>{var f;try{let{state:b}=await navigator.permissions.query({name:"clipboard-write"});u||(b==="granted"?(await((f=navigator.clipboard)==null?void 0:f.write([new ClipboardItem({"text/plain":new Blob([d.current],{type:"text/plain"})})])),u||l(!0)):b==="denied"&&a(!0))}catch(b){console.warn("botframework-webchat: Failed to copy code block to clipboard.",b)}})(),()=>{u=!0}},[s,a,l,d]),m=_react.useCallback.call(void 0, ()=>l(!1),[l]);return _react2.default.createElement("button",{"aria-disabled":n,"aria-live":"assertive","aria-pressed":c?"true":void 0,className:_classnames2.default.call(void 0, t,i["code-block-copy-button"],{[i["code-block-copy-button--copied"]]:c}),"data-testid":_chunkQGLO74KJjs.I.codeBlockCopyButton,onAnimationEnd:m,onClick:p,type:"button"},_react2.default.createElement(_chunkPOTPE56Bjs.e,{"aria-hidden":c?"true":void 0,"aria-label":o,className:_classnames2.default.call(void 0, i["code-block-copy-button__icon"],i["code-block-copy-button__icon--copy"]),icon:c?"copy-code-checkmark":"copy-code",role:"img"}),_react2.default.createElement("div",{"aria-hidden":c?void 0:"true","aria-label":e,className:_classnames2.default.call(void 0, i["code-block-copy-button__icon"],i["code-block-copy-button__icon--copied"]),role:"img"}))});ab.displayName="CodeBlockCopyButton";var sb=zs(ab,["className","data-alt-copied","data-alt-copy","data-value"]);var $N=({children:t})=>{let e=_react.useMemo.call(void 0, ()=>_mathrandom2.default.call(void 0, ).toString(36).substring(2,7),[]),o=_react.useCallback.call(void 0, (s,c)=>{let l=`webchat-${e}--${s}`;return customElements.define(l,class extends c{static get observedAttributes(){return Object.freeze("observedAttributes"in c?c.observedAttributes:[])}}),l},[e]),r=_react.useMemo.call(void 0, ()=>o("code-block-copy-button",sb),[o]),i=Ds(r),n=_react.useMemo.call(void 0, ()=>o("code-block",i),[i,o]),a=_react.useMemo.call(void 0, ()=>Object.freeze({codeBlockTagName:n,codeBlockCopyButtonTagName:r}),[n,r]);return _react2.default.createElement(_chunkQGLO74KJjs.e.Provider,{value:a},t)},cb=_react.memo.call(void 0, $N);var db=_react.memo.call(void 0, ({children:t,middleware:e})=>{let o=_react.useMemo.call(void 0, ()=>(e||[]).map(n=>n()).reverse().reduce((n,a)=>a(n),n=>{let a=document.createDocumentFragment(),s=document.createElement("p");return s.textContent=n.documentFragment.firstElementChild.outerHTML,a.append(s),a}),[e]),r=_react.useMemo.call(void 0, ()=>Object.freeze({transform:o}),[o]);return _react2.default.createElement(_chunkQGLO74KJjs.d.Provider,{value:r},t)});db.displayName="HTMLContentTransformComposer";var pb=db;var{useConnectivityStatus:s2,useLocalizer:c2,useSendBoxAttachments:l2,useSendBoxValue:d2,useSubmitSendBox:p2}=_botframeworkwebchatapi.hooks,u2={"&.webchat__submit-error-message":{color:"transparent",height:1,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}},mb=({children:t})=>{let[e]=l2(),[o]=s2(),[r,i]=_react.useState.call(void 0, !1),[n]=d2(),a=p2(),s=_chunkQGLO74KJjs.p.call(void 0, ),c=c2(),l=_chunkQGLO74KJjs.z.call(void 0, ),d=_chunkPOTPE56Bjs.a.call(void 0, ),p=_chunkXQWBSH7Pjs.a.call(void 0, "webchat__send-box__error-message-id"),m=_react.useMemo.call(void 0, ()=>Object.freeze(new Map().set("empty",c("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",c("CONNECTIVITY_STATUS_ALT_FATAL"))),[c]),u=_usereffrom.useRefFrom.call(void 0, s),f=_usereffrom.useRefFrom.call(void 0, l),b=d(u2)+"",y=_react.useMemo.call(void 0, ()=>Object.freeze([r?p:void 0]),[r,p]),v=_usereffrom.useRefFrom.call(void 0, o!=="connected"&&o!=="reconnected"?"offline":!n&&!e.length?"empty":void 0),h=_react.useCallback.call(void 0, ({setFocus:k}={})=>{var _,S;(k==="main"||k==="sendBox"||k==="sendBoxWithoutKeyboard")&&((_=u.current)==null||_.call(u,k==="main"||k==="sendBox"?k:"sendBoxWithoutKeyboard"));let{current:I}=v;i(I!=null?I:!1),I||((S=f.current)==null||S.call(f),a())},[a,u,f,v]),x=_react.useMemo.call(void 0, ()=>({submit:h,submitErrorMessageIdState:y}),[h,y]),w=!!(n!=null&&n.trim());_react.useEffect.call(void 0, ()=>{r==="empty"&&w&&i(!1)},[r,w]);let g=r&&m.get(r);return _chunkPOTPE56Bjs.l.call(void 0, ()=>g&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__submit-error-message__status")},g),[g]),_react2.default.createElement(_chunkQGLO74KJjs.G.Provider,{value:x},t,_react2.default.createElement("span",{className:_classnames2.default.call(void 0, "webchat__submit-error-message",b),id:p},r?m.get(r):""))};mb.displayName="SendBoxComposer";var fb=_react.memo.call(void 0, mb);var{useLocalizer:v2}=_botframeworkwebchatapi.hooks,bb=_react.memo.call(void 0, ({"aria-label":t,"aria-labelledby":e,children:o,className:r,onDismiss:i})=>{let[{modalDialog:n}]=_chunkQGLO74KJjs.c.call(void 0, ),a=_react.useRef.call(void 0, null),c=v2()("CLOSE_BUTTON_ALT"),l=_react.useCallback.call(void 0, ()=>{var d;return(d=a.current)==null?void 0:d.close()},[a]);return _react.useLayoutEffect.call(void 0, ()=>{var d;return(d=a.current)==null?void 0:d.showModal()},[a]),_react2.default.createElement("dialog",{"aria-label":e?void 0:t,"aria-labelledby":e,className:_classnames2.default.call(void 0, "webchat__modal-dialog",r,n+""),onClose:i,open:!1,ref:a,role:"dialog"},_react2.default.createElement("div",{className:"webchat__modal-dialog__box"},_react2.default.createElement("div",{className:"webchat__modal-dialog__close-button-layout"},_react2.default.createElement("button",{"aria-label":c,className:"webchat__modal-dialog__close-button",onClick:l,type:"button"},_react2.default.createElement(_chunkPOTPE56Bjs.e,{appearance:"text",className:"webchat__modal-dialog__close-button-icon",icon:"dismiss"}))),_react2.default.createElement("div",{className:"webchat__modal-dialog__body"},o)))});bb.displayName="ModalDialog";var _b=bb;var vb=_react.memo.call(void 0, ({children:t})=>{var a,s,c;let[e,o]=_react.useState.call(void 0, ),r=_react.useCallback.call(void 0, ()=>o(void 0),[o]),i=_react.useCallback.call(void 0, (l,d)=>o(Object.freeze([l,d])),[o]),n=_react.useMemo.call(void 0, ()=>Object.freeze({close:r,showModal:i}),[r,i]);return _react2.default.createElement(ji.Provider,{value:n},t,e&&_react2.default.createElement(_b,{"aria-label":(a=e[1])==null?void 0:a["aria-label"],"aria-labelledby":(s=e[1])==null?void 0:s["aria-labelledby"],className:(c=e[1])==null?void 0:c.className,onDismiss:r},e[0]()))});vb.displayName="ModalDialogComposer";var wb=vb;var gb=_react.memo.call(void 0, ({children:t})=>{let e=_react.useMemo.call(void 0, ()=>matchMedia==null?void 0:matchMedia("(prefers-reduced-motion: reduce)"),[]),[o,r]=_react.useState.call(void 0, ()=>{var a;return(a=e==null?void 0:e.matches)!=null?a:!1}),i=_react.useMemo.call(void 0, ()=>Object.freeze([o]),[o]),n=_react.useMemo.call(void 0, ()=>Object.freeze({shouldReduceMotionState:i}),[i]);return _react.useEffect.call(void 0, ()=>{let a=({matches:s})=>r(s);return e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[r,e]),_react2.default.createElement(_chunkQGLO74KJjs.j.Provider,{value:n},t)});gb.displayName="ReducedMotionComposer";var Ab=gb;var Mt=Object.freeze([]),Or=_react.createContext.call(void 0, {activityMiddleware:Mt,activityStatusMiddleware:Mt,attachmentForScreenReaderMiddleware:Mt,attachmentMiddleware:Mt,avatarMiddleware:Mt,cardActionMiddleware:Mt,groupActivitiesMiddleware:Mt,polymiddleware:Mt,scrollToEndButtonMiddleware:Mt,sendBoxMiddleware:Mt,sendBoxToolbarMiddleware:Mt,toastMiddleware:Mt,typingIndicatorMiddleware:Mt});function Us(){return _react.useContext.call(void 0, Or)}var{useStyleOptions:M2}=_botframeworkwebchatapi.hooks,P2=({className:t})=>{let[{hideSendBox:e}]=M2();return e?null:_react2.default.createElement(_chunkQGLO74KJjs.fa,{className:t})},E2=()=>Object.freeze([()=>()=>()=>P2]),xb=E2;var B2={"&.webchat__attachment-icon":{display:"grid",gridTemplateArea:"body",position:"relative","& .webchat__attachment-icon__icon":{gridArea:"body"},"&:not(.webchat__attachment-icon--checked) .webchat__attachment-icon__checkmark-icon":{display:"none"},"& .webchat__attachment-icon__checkmark-icon":{border:"2px solid white",borderRadius:"50%",position:"absolute",left:"45%",top:"50%"}}},j2=({checked:t})=>{let e=_chunkPOTPE56Bjs.a.call(void 0, )(B2)+"";return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__attachment-icon",{"webchat__attachment-icon--checked":t},e)},_react2.default.createElement(_chunkPOTPE56Bjs.e,{appearance:"text",className:"webchat__attachment-icon__icon",icon:t?"attachment-checkmark":"attachment"}))},Cb=j2;var{useSendBoxAttachments:V2,useLocalizer:U2,useStyleOptions:J2,useUIState:Z2}=_botframeworkwebchatapi.hooks,X2={"&.webchat__upload-button":{display:"flex",overflow:"hidden",position:"relative","& .webchat__upload-button--file-input":{height:0,width:0,opacity:0,position:"absolute",left:0,top:0}}},Q2=t=>t.preventDefault(),$2=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function tM(t){let{className:e}=_chunkTMUNLKZWjs.h.call(void 0, $2,t),[{sendAttachmentOn:o,uploadAccept:r,uploadMultiple:i}]=J2(),[{uploadButton:n}]=_chunkQGLO74KJjs.c.call(void 0, ),[a,s]=_react.useState.call(void 0, 0),[c,l]=V2(),[d]=Z2(),p=_chunkQGLO74KJjs.p.call(void 0, ),m=_react.useRef.call(void 0, null),u=U2(),f=_chunkQGLO74KJjs.s.call(void 0, ),b=_chunkPOTPE56Bjs.a.call(void 0, )(X2)+"",y=_chunkQGLO74KJjs.H.call(void 0, ),v=d==="disabled",h=_usereffrom.useRefFrom.call(void 0, o),x=_usereffrom.useRefFrom.call(void 0, c),w=u("TEXT_INPUT_UPLOAD_BUTTON_ALT"),g=_react.useCallback.call(void 0, ()=>{var I;return(I=m.current)==null?void 0:I.click()},[m]),k=_react.useCallback.call(void 0, ({currentTarget:I})=>{p("sendBox"),(async function(){l(Object.freeze([...x.current,...await Promise.all(Array.from(I.files).map(async _=>{let S=x.current.find(B=>B.blob===_);if(S)return S;let N=await f(_);return{blob:_,thumbnailURL:N}}))])),s(_mathrandom2.default.call(void 0, )),h.current==="attach"&&y()})()},[p,f,x,h,s,l,y]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, b,"webchat__upload-button",n+"",e)},_react2.default.createElement("input",{accept:r,"aria-disabled":v,"aria-hidden":"true",className:"webchat__upload-button--file-input",key:a,multiple:i,onChange:v?void 0:k,onClick:v?Q2:void 0,readOnly:v,ref:m,role:"button",tabIndex:-1,type:"file"}),_react2.default.createElement(_chunkQGLO74KJjs.Q,{alt:w,"aria-label":w,disabled:v,onClick:g},_react2.default.createElement(Cb,{checked:!!c.length})))}var Nn=_react.memo.call(void 0, tM);var{useStyleOptions:iM}=_botframeworkwebchatapi.hooks;function nM({className:t}){let[{disableFileUpload:e}]=iM();return!e&&_react2.default.createElement(Nn,{className:t})}var Mn=_react.memo.call(void 0, nM);var aM=()=>Object.freeze([()=>()=>()=>Mn]),Ib=aM;function Js(){return{margin:0,padding:0}}function Zs(){return{"&.webchat__activity-button":{alignItems:"center",appearance:"none",background:"#fff",borderRadius:"4px",border:"1px solid #d1d1d1",color:"#242424",display:"flex",gap:"4px",justifyContent:"center",padding:"5px 12px","&:hover":{background:"#f5f5f5",border:"1px solid #c7c7c7",color:"#242424"},"&:active":{background:"#e0e0e0",border:"1px solid #b3b3b3",color:"#242424"},"&:focus-visible":{background:"#fff",outline:"2px solid #000",outlineOffset:"-2px"},'&[aria-disabled="true"]':{background:"#f0f0f0",border:"1px solid #e0e0e0",color:"#bdbdbd",cursor:"not-allowed"},"& .webchat__activity-button__icon":{height:"20px",width:"20px","--webchat__component-icon--color":"#707070","--webchat__component-icon--size":"20px"}}}}function Xs(){return{"&.webchat__activity-copy-button":{overflow:["clip","hidden"],position:"relative","& .webchat__activity-copy-button__copied-text":{alignItems:"center",backgroundColor:"#fff",display:"flex",height:"100%",justifyContent:"center",position:"absolute",visibility:"hidden",width:"100%"},"&.webchat__activity-copy-button--copied":{".webchat__activity-copy-button__copied-text":{animation:"webchat__activity-copy-button__copied-animation 0.7s linear"},".webchat__activity-button__icon, .webchat__activity-button__text":{visibility:"hidden"}},"@keyframes webchat__activity-copy-button__copied-animation":{"0%":{visibility:"visible"},"100%":{visibility:"unset"}}}}}function Qs(){return{display:"flex",minHeight:D.SizeAvatar}}function $s(){return{width:"100%"}}function tc({primaryFont:t}){return{"&.webchat__auto-resize-textarea":{fontFamily:t,overflow:"hidden",position:"relative","& .webchat__auto-resize-textarea__doppelganger":{color:"transparent",height:"100%",overflowY:"auto",userSelect:"none",width:"inherit",whiteSpace:"pre-wrap",wordBreak:"break-word"},"& .webchat__auto-resize-textarea__textarea":{appearance:"none",backgroundColor:"transparent",border:0,color:"inherit",fontFamily:"inherit",fontSize:"inherit",height:"100%",left:0,margin:0,outline:0,overflowY:"auto",padding:0,position:"absolute",resize:"none",top:0,width:"100%",wordBreak:"break-word"}}}}function ec({avatarBorderRadius:t}){return{"&.webchat__defaultAvatar":{borderRadius:t,height:D.SizeAvatar,width:D.SizeAvatar}}}function oc({paddingRegular:t,primaryFont:e,transcriptActivityVisualKeyboardIndicatorColor:o,transcriptActivityVisualKeyboardIndicatorStyle:r,transcriptActivityVisualKeyboardIndicatorWidth:i,transcriptTerminatorBackgroundColor:n,transcriptTerminatorBorderRadius:a,transcriptTerminatorColor:s,transcriptTerminatorFontSize:c,transcriptVisualKeyboardIndicatorColor:l,transcriptVisualKeyboardIndicatorStyle:d,transcriptVisualKeyboardIndicatorWidth:p}){return{"&.webchat__basic-transcript":{"&:focus":{outline:0,"& .webchat__basic-transcript__activity-indicator.webchat__basic-transcript__activity-indicator--focus":{borderColor:o,borderStyle:r,borderWidth:i,boxSizing:"border-box",height:`calc(100% - ${t/2}px)`,left:0,marginBottom:0,marginLeft:t/2,marginRight:t/2,marginTop:0,pointerEvents:"none",position:"absolute",top:0,width:`calc(100% - ${t}px)`}},"&:focus-visible .webchat__basic-transcript__focus-indicator, .webchat__basic-transcript__terminator:focus-visible + .webchat__basic-transcript__focus-indicator":{height:"100%",borderColor:l,borderStyle:d,borderWidth:p,boxSizing:"border-box",pointerEvents:"none",position:"absolute",top:0,width:"100%"},"& .webchat__basic-transcript__activity":{paddingTop:t/2,position:"relative","&:first-child":{marginTop:t/2},"&:not(:first-child)":{marginTop:-t/2}},"& .webchat__basic-transcript__activity-active-descendant":{height:"100%",left:0,marginTop:-t/2,paddingBottom:t/2,pointerEvents:"none",position:"absolute",top:0,width:"100%"},"& .webchat__basic-transcript__activity-body:not(:empty)":{paddingBottom:t},"& .webchat__basic-transcript__terminator":{bottom:0,height:0,outline:0,position:"relative",width:"100%"},"& .webchat__basic-transcript__terminator-body":{bottom:0,display:"flex",justifyContent:"center",position:"absolute",width:"100%"},"& .webchat__basic-transcript__terminator:not(:focus) .webchat__basic-transcript__terminator-body":{display:"none"},"& .webchat__basic-transcript__terminator-text":{backgroundColor:n,borderRadius:a,color:s,fontFamily:e,fontSize:c,margin:t/2,padding:t/2}}}}function Re(t,e){let o={};for(let[i,n]of Object.entries(e))if(typeof n=="number"||typeof n=="string"){let a=i.replace(/(^left|^right|Left|Right)/u,s=>s==="Left"?"Right":s==="left"?"right":s==="Right"?"Left":"left");_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, a)||(o[a]=n)}else _botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, i)||(o[i]=Re("",n));let r=/^&\s*/gu.exec(t)||"";return t?{[`${r}:not(${t.substr(r.length)})`]:e,[t]:o}:o}function rc({bubbleBackground:t,bubbleBorderColor:e,bubbleBorderRadius:o,bubbleBorderStyle:r,bubbleBorderWidth:i,bubbleFromUserBackground:n,bubbleFromUserBorderColor:a,bubbleFromUserBorderRadius:s,bubbleFromUserBorderStyle:c,bubbleFromUserBorderWidth:l,bubbleFromUserNubOffset:d,bubbleFromUserNubSize:p,bubbleFromUserTextColor:m,bubbleMinHeight:u,bubbleNubOffset:f,bubbleNubSize:b,bubbleTextColor:y,messageActivityWordBreak:v,paddingRegular:h,transitionDuration:x}){let w=typeof f=="number"?Math.min(o,Math.abs(f)):o,g=typeof d=="number"?Math.min(s,Math.abs(d)):s;return{"&.webchat__bubble":{"& .webchat__bubble__content":{marginLeft:0,marginRight:0,transitionDuration:x,transitionProperty:"margin-left, margin-right",wordBreak:v},"& .webchat__bubble__nub":{overflow:"hidden",position:"absolute"},"& .webchat__bubble__nub-pad":{transitionDuration:x,transitionProperty:"width",width:0},"&.webchat__bubble--hide-nub, &.webchat__bubble--show-nub":{"& .webchat__bubble__nub-pad":{width:h}},"&.webchat__bubble--rtl .webchat__bubble__nub":{transform:"scale(-1, 1)"},"&:not(.webchat__bubble--from-user)":{"& .webchat__bubble__content":{background:t,borderColor:e,borderRadius:o,borderStyle:r,borderWidth:i,color:y,minHeight:u-i*2},...typeof b=="number"?{"& .webchat__bubble__nub":{height:b,width:b}}:{},"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub":{bottom:-f},"&.webchat__bubble--nub-on-top .webchat__bubble__nub":{top:f},"& .webchat__bubble__nub-outline":{fill:t,stroke:e,strokeWidth:i}},"&.webchat__bubble--from-user":{flexDirection:"row-reverse","& .webchat__bubble__content":{background:n,borderColor:a,borderRadius:s,borderStyle:c,borderWidth:l,color:m,minHeight:u-l*2},...typeof p=="number"?{"& .webchat__bubble__nub":{height:p,width:p}}:{},"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub":{bottom:-d},"&.webchat__bubble--nub-on-top .webchat__bubble__nub":{top:d},"& .webchat__bubble__nub-outline":{fill:n,stroke:a,strokeWidth:l}},...Re("&.webchat__bubble--rtl",{"&:not(.webchat__bubble--from-user)":{"&.webchat__bubble--show-nub":{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__content":{borderBottomLeftRadius:w},"&.webchat__bubble--nub-on-top .webchat__bubble__content":{borderTopLeftRadius:w}},...typeof b=="number"?{"& .webchat__bubble__nub":{left:i-b+h}}:{}},"&.webchat__bubble--from-user":{"&.webchat__bubble--show-nub":{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__content":{borderBottomRightRadius:g},"&.webchat__bubble--nub-on-top .webchat__bubble__content":{borderTopRightRadius:g}},...typeof p=="number"?{"& .webchat__bubble__nub":{right:l-p+h}}:{}}})}}}function ic({avatarSize:t,bubbleMessageMaxWidth:e,paddingRegular:o,transitionDuration:r}){return{"&.webchat__carousel-filmstrip":{"@supports (-moz-appearance: none)":{marginBottom:-17},"& .webchat__carousel-filmstrip__bubble":{maxWidth:D.MaxWidthMessageBubble,minWidth:D.MinWidthMessageBubble,transitionDuration:r,transitionProperty:"max-width"},"&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub, &.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__bubble":{maxWidth:e+o}},"& .webchat__carousel-filmstrip__alignment-pad":{transitionDuration:r,transitionProperty:"width",width:D.PaddingRegular},"&.webchat__carousel-filmstrip--extra-trailing .webchat__carousel-filmstrip__alignment-pad":{width:o*2},"&:not(.webchat__carousel-filmstrip--no-message) .webchat__carousel-filmstrip__attachments":{marginTop:o},"& .webchat__carousel-filmstrip__avatar-gutter":{alignItems:"flex-end",transitionDuration:r,transitionProperty:"width"},"& .webchat__carousel-filmstrip__nub-pad":{transitionDuration:r,transitionProperty:"width",width:0},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__avatar-gutter":{width:D.SizeAvatar}},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar, &.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub":{"& .webchat__carousel-filmstrip__nub-pad":{width:o}},"&:not(.webchat__carousel-filmstrip--top-callout) .webchat__carousel-filmstrip__avatar-gutter":{justifyContent:"flex-end"},...Re("&.webchat__carousel-filmstrip--rtl",{"& .webchat__carousel-filmstrip__avatar-gutter":{marginLeft:o},"& .webchat__carousel-filmstrip__attachments":{marginLeft:-o},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__attachments":{marginLeft:-(t+o*2)}},"&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub":{"&:not(.webchat__carousel-filmstrip--hide-avatar.webchat__carousel-filmstrip--show-avatar)":{"& .webchat__carousel-filmstrip__attachments":{marginLeft:-o*2}}}})}}}function nc({avatarSize:t,paddingRegular:e,transcriptVisualKeyboardIndicatorColor:o,transcriptVisualKeyboardIndicatorStyle:r,transcriptVisualKeyboardIndicatorWidth:i,transitionDuration:n}){return{"&.webchat__carousel-filmstrip-attachment":{maxWidth:D.MaxWidthAttachmentBubble,minWidth:D.MinWidthAttachmentBubble,transitionDuration:n,transitionProperty:"max-width, min-width","&:focus":{outline:0},"&:focus .webchat__carousel-filmstrip-attachment--focus":{borderColor:o,borderStyle:r,borderWidth:i,boxSizing:"border-box",height:`calc(100% - ${i}px)`,left:0,pointerEvents:"none",position:"absolute",top:0,width:`calc(100% - ${i}px)`}},...Re("&.webchat__carousel-filmstrip-attachment--rtl",{paddingLeft:e,"&.webchat__carousel-filmstrip-attachment--hide-avatar, &.webchat__carousel-filmstrip-attachment--show-avatar":{"&:first-child":{paddingLeft:t+e*2}},"&.webchat__carousel-filmstrip-attachment--hide-nub, &.webchat__carousel-filmstrip-attachment--show-nub":{"&:not(.webchat__carousel-filmstrip-attachment--hide-avatar.webchat__carousel-filmstrip-attachment--show-avatar):first-child":{paddingLeft:e*2}}})}}function ac({transcriptOverlayButtonBackground:t,transcriptOverlayButtonBackgroundOnDisabled:e,transcriptOverlayButtonBackgroundOnFocus:o,transcriptOverlayButtonBackgroundOnHover:r,transcriptOverlayButtonColor:i,transcriptOverlayButtonColorOnDisabled:n,transcriptOverlayButtonColorOnFocus:a,transcriptOverlayButtonColorOnHover:s}){return{"&.webchat__carousel-layout":{"& .react-film__flipper":{"& .react-film__flipper__body":{backgroundColor:t,color:i,outline:0},'&:disabled, &[aria-disabled="true"]':{"& .react-film__flipper__body":{backgroundColor:e,color:n}},"&:focus .react-film__flipper__body":{backgroundColor:o,color:a||i},"&:hover .react-film__flipper__body":{backgroundColor:r,color:s||i}}}}}function sc(){return{"&.webchat__chat-history-box":{display:"flex",flex:"auto",overflow:["clip","hidden"],position:"relative"},".webchat__chat-history-box__toolbar":{bottom:"5px",isolation:"isolate",position:"absolute",right:"20px",zIndex:1,"&.webchat__chat-history-box__toolbar--rtl":{left:"20px"}}}}function cc(){return{"&.webchat__citation-modal-dialog":{"& .webchat__citation-modal-dialog__body":{lineHeight:"20px"}}}}function lc({connectivityMarginLeftRight:t,connectivityMarginTopBottom:e,connectivityTextSize:o,notificationText:r,primaryFont:i}){return{alignItems:"center",color:r,display:"flex",fontFamily:i,fontSize:o,marginBottom:e,marginLeft:t,marginRight:t,marginTop:e}}function dc({paddingRegular:t,primaryFont:e}){return{fontFamily:e,margin:0,paddingBottom:0,paddingLeft:t,paddingRight:t,paddingTop:0,"&.dictating > span:not(:first-child), &.status":{opacity:.5}}}function pc({monospaceFont:t,primaryFont:e}){return{display:"flex",flexDirection:"column",fontFamily:e,margin:0,minHeight:20,maxHeight:200,overflowY:"auto",WebkitOverflowScrolling:"touch","& > :first-child":{backgroundColor:"#B60000",color:"White",padding:"5px 10px"},"& > :last-child":{borderColor:"#B60000",borderStyle:"dashed",borderBottomWidth:2,borderLeftWidth:2,borderRightWidth:2,borderTopWidth:0,margin:0,overflowY:"auto",padding:10,"& > pre":{fontFamily:t,fontSize:"60%",margin:0}}}}function uc({connectivityIconPadding:t,connectivityMarginLeftRight:e,connectivityMarginTopBottom:o,connectivityTextSize:r,failedConnectivity:i,primaryFont:n}){return{alignItems:"center",color:i,display:"flex",fontFamily:n,fontSize:r,fontWeight:"bold",marginBottom:o,marginLeft:e,marginRight:e,marginTop:o,"& > svg":{fill:i,"&:not(.webchat__error--rtl)":{paddingRight:t},"&.webchat__error--rtl":{paddingLeft:t}}}}function mc({accent:t,bubbleTextColor:e,paddingRegular:o,primaryFont:r}){return{color:e,display:"flex",fontFamily:r,padding:o,"& .webchat__fileContent__badge":{justifyContent:"center"},"& .webchat__fileContent__buttonLink":{alignItems:"center",color:e,textDecoration:"none","&:focus":{backgroundColor:"rgba(0, 0, 0, .1)"}},"& .webchat__fileContent__downloadIcon":{color:t,fontSize:"33px",padding:o,"&:not(.webchat__fileContent__downloadIcon--rtl)":{marginLeft:o},"&.webchat__fileContent__downloadIcon--rtl":{marginRight:o}},"& .webchat__fileContent__fileName":{color:t}}}function fc(){return{alignItems:"center",display:"flex",height:D.SizeAvatar,justifyContent:"center",overflow:["hidden","clip"],width:D.SizeAvatar}}function bc({accent:t,botAvatarBackgroundColor:e,userAvatarBackgroundColor:o}){return{"&.webchat__initialsAvatar":{alignItems:"center",color:"White",fontFamily:D.FontPrimary,height:D.SizeAvatar,justifyContent:"center",overflow:"hidden",width:D.SizeAvatar,"&.webchat__initialsAvatar--fromUser":{backgroundColor:o||t},"&:not(.webchat__initialsAvatar--fromUser)":{backgroundColor:e||t}}}}var Fe="@media (forced-colors: active)";var be="@media (forced-colors: none)";var _c="@media (forced-colors: none) and not (forced-colors: none)",yc="@media (forced-colors: none)";function hc(){return{"&.webchat__link-definitions":{".webchat__link-definitions__header":{alignItems:"center",cursor:"default",display:"flex",fontFamily:D.FontPrimary,fontSize:D.FontSizeSmall,gap:4,justifyContent:"space-between",listStyle:"none",[yc]:{color:"#616161"},[_c]:{color:"#616161"}},".webchat__link-definitions__header-section":{alignItems:"center",display:"flex",gap:4,overflow:"hidden"},".webchat__link-definitions__header-section--left":{flexShrink:0},".webchat__link-definitions__header-text":{flexShrink:0},".webchat__link-definitions__header::-webkit-details-marker":{display:"none"},".webchat__link-definitions__header-chevron":{flexShrink:0},"&:not([open]) .webchat__link-definitions__header-chevron":{transform:"rotate(-180deg)"},".webchat__link-definitions__header-accessory":{overflow:"hidden"},".webchat__link-definitions__message-sensitivity-label":{alignItems:"center",display:"flex",gap:4},".webchat__link-definitions__message-sensitivity-label-icon":{color:"CanvasText",flexShrink:0},".webchat__link-definitions__message-sensitivity-label-text":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},".webchat__link-definitions__list":{display:"flex",flexDirection:"column",gap:4,margin:"4px 0 0",padding:0},".webchat__link-definitions__list-item":{display:"flex",flexDirection:"column"},".webchat__link-definitions__badge":{alignSelf:"flex-start",borderRadius:"4px",borderStyle:"solid",borderWidth:1,flexShrink:0,fontSize:"75%",margin:4,maxWidth:"4em",minWidth:"1em",overflow:"hidden",padding:2,textAlign:"center",textOverflow:"ellipsis",whiteSpace:"nowrap",[yc]:{backgroundColor:"white",borderColor:"#e0e0e0",color:"black"},[_c]:{backgroundColor:"black",borderColor:"#e0e0e0",color:"white"},[Fe]:{borderColor:"buttonborder"}},".webchat__link-definitions__list-item-box":{alignItems:"center",borderRadius:4,borderStyle:"solid",borderWidth:1,[yc]:{backgroundColor:"white",borderColor:"#d1d1d1"},[_c]:{backgroundColor:"black",borderColor:"#d1d1d1"},[Fe]:{backgroundColor:"canvas",borderColor:"buttonborder"}},".webchat__link-definitions__list-item-box--as-link":{display:"block",outlineOffset:0,textDecoration:"none"},".webchat__link-definitions__list-item-box--as-button":{appearance:"none",background:"transparent",cursor:"pointer",fontFamily:"inherit",fontSize:"inherit",overflow:"hidden",padding:0,textAlign:"initial"},".webchat__link-definitions__list-item-body":{alignItems:"center",display:"flex",fontFamily:"Calibri, 'Helvetica Neue', Arial, 'sans-serif'",gap:4,padding:4},".webchat__link-definitions__list-item-body-main":{display:"flex",flexDirection:"column",gap:2,overflow:"hidden"},".webchat__link-definitions__list-item-main-text":{alignItems:"baseline",display:"flex",gap:4},".webchat__link-definitions__list-item-badge, .webchat__link-definitions__list-item-text":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},".webchat__link-definitions__list-item-text":{textDecoration:"underline",[be]:{color:D.ColorAccent}},".webchat__link-definitions__list-item-badge":{fontSize:D.FontSizeSmall,[be]:{color:D.ColorSubtle}},".webchat__link-definitions__open-in-new-window-icon":{flexShrink:0,paddingRight:4,[be]:{color:D.ColorAccent}}}}}function vc({microphoneButtonColorOnDictate:t}){return{"&.webchat__microphone-button":{"&.webchat__microphone-button--dictating .webchat__microphone-button__button":{"&, &:focus, &:hover":{"& .webchat__microphone-button__icon":{"--webchat__component-icon--color":t}}}}}}var wc="@media (forced-colors: none) and not (forced-colors: none)",gc="@media (forced-colors: none)";function Ac(){return{"&.webchat__modal-dialog":{fontFamily:D.FontPrimary,maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",width:"100%",[be]:{backgroundColor:"transparent",border:0},"&:has(.webchat__modal-dialog__body:empty)":{opacity:0},"& .webchat__modal-dialog__box":{borderRadius:2,overflow:"hidden",margin:"auto","@media screen and (max-width: 639px)":{maxWidth:"unset"},"@media screen and (min-width: 640px)":{maxWidth:"60%",minWidth:"calc(640px - 2em - 6px)",width:"60%"},[gc]:{backgroundColor:"White",boxShadow:"0px 8px 16px rgba(0, 0, 0, 0.14), 0px 0px 2px rgba(0, 0, 0, 0.12)"},[wc]:{backgroundColor:"Black",boxShadow:"0px 8px 16px rgba(0, 0, 0, 0.28), 0px 0px 2px rgba(0, 0, 0, 0.24)",color:"White"},[Fe]:{outlineColor:"ButtonBorder",outlineStyle:"solid",outlineWidth:4}},"& .webchat__modal-dialog__close-button-layout":{float:"right",padding:D.PaddingRegular},"& .webchat__modal-dialog__close-button":{height:30,width:30,padding:0,"--webchat__component-icon--size":"16px",[be]:{appearance:"none",backgroundColor:"transparent",borderColor:"transparent",borderRadius:4,borderStyle:"solid",borderWidth:2,color:"#999",outline:0}},"& .webchat__modal-dialog__close-button:focus":{[gc]:{borderColor:"black","&:active":{backgroundColor:"#EDEBE9"},"&:not(:active):hover":{backgroundColor:"#F3F2F1"}},[wc]:{borderColor:"white","&:active":{backgroundColor:"#292827"},"&:not(:active):hover":{backgroundColor:"#252423"}}},"& .webchat__modal-dialog__close-button-icon":{[gc]:{color:"#323130"},[wc]:{color:"#F3F2F1"},[Fe]:{color:"currentcolor"}},"& .webchat__modal-dialog__body":{margin:`calc(${D.PaddingRegular} * 2)`}}}}function xc(){return{"&.webchat__render-markdown":{display:"contents","&.webchat__render-markdown--adaptive-cards > *:first-child":{marginTop:0,width:"100%",overflow:"hidden",textOverflow:"ellipsis"},"&.webchat__render-markdown--adaptive-cards > *:last-child":{marginBottom:0},"&.webchat__render-markdown--message-activity > *:first-child":{marginTop:0},"&.webchat__render-markdown--message-activity > *:last-child":{marginBottom:0},"& .webchat__render-markdown__external-link-icon":{backgroundImage:D.IconURLExternalLink,height:".75em",marginLeft:".25em"},"& .webchat__render-markdown__citation":{background:"transparent",border:0,cursor:"pointer",display:"inline-block",fontFamily:"unset",fontSize:"unset",overflow:"hidden",padding:0,textDecoration:"underline",textOverflow:"ellipsis",verticalAlign:"bottom",whiteSpace:"nowrap",[Fe]:{color:"LinkText"},[be]:{color:D.ColorAccent}},"& .webchat__render-markdown__pure-identifier":{display:"inline-block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",whiteSpace:"nowrap"},"& .webchat__render-markdown__pure-identifier::after":{content:"']'"},"& .webchat__render-markdown__pure-identifier::before":{content:"'['"},"& [data-math-type=block]":{alignItems:"center",display:"flex",flexDirection:"column",marginBottom:"-4px",paddingBottom:"4px",outlineOffset:"2px",overflowX:"auto",overflowY:"clip",scrollbarWidth:"thin"},"& span[data-math-type=block]":{display:"inline-flex"},"& [data-math-type=inline]":{alignItems:"center",display:"inline-flex",flexDirection:"column"},"& :is([data-math-type=block], [data-math-type=inline]) > span":{display:"contents"}}}}function Nb({backgroundColor:t,rootHeight:e,rootWidth:o,rootZIndex:r}){return{backgroundColor:t,height:e,width:o,zIndex:r}}function Sc({paddingRegular:t,primaryFont:e,scrollToEndButtonFontSize:o,transcriptOverlayButtonBackground:r,transcriptOverlayButtonBackgroundOnFocus:i,transcriptOverlayButtonBackgroundOnHover:n,transcriptOverlayButtonColor:a,transcriptOverlayButtonColorOnFocus:s,transcriptOverlayButtonColorOnHover:c}){return{"&.webchat__scroll-to-end-button":{"@media screen and (forced-colors: active)":{borderWidth:"initial",outline:"initial"},appearance:"none",backgroundColor:r,borderRadius:t,borderWidth:0,color:a,fontFamily:e,fontSize:o,outline:0,padding:t,"&:hover":{backgroundColor:n,color:c||a},"&:focus":{backgroundColor:i,color:s||a}}}}function Nr(t){return typeof t=="number"?`${t}px`:t}function Cc({paddingRegular:t,primaryFont:e,sendBoxBackground:o,sendBoxBorderBottom:r,sendBoxBorderLeft:i,sendBoxBorderRight:n,sendBoxBorderTop:a,sendBoxHeight:s}){return{"&.webchat__send-box":{fontFamily:e,"& .webchat__send-box__button--align-bottom":{alignSelf:"flex-end"},"& .webchat__send-box__button--align-stretch":{alignSelf:"stretch"},"& .webchat__send-box__button--align-top":{alignSelf:"flex-start"},"& .webchat__send-box__main":{alignItems:"stretch",backgroundColor:o,borderBottom:Nr(r),borderLeft:Nr(i),borderRight:Nr(n),borderTop:Nr(a),display:"grid",gridTemplateAreas:'"upload-button text-box send-button"',gridTemplateColumns:"auto 1fr auto",gridTemplateRows:"auto",minHeight:Nr(s),"&:has(.webchat__send-box__attachment-bar)":{gridTemplateAreas:'"attachment-bar attachment-bar attachment-bar" "upload-button text-box send-button"',gridTemplateRows:"auto auto"}},"& .webchat__send-box__editable":{display:"flex",flexDirection:"column",gap:`${t/2}px`,gridArea:"text-box",paddingBottom:`${t/2}px`,paddingTop:`${t/2}px`,overflowX:"hidden",width:"100%"},"& .webchat__send-box__attachment-bar":{padding:`${t}px`,paddingBlockEnd:"0px"},"& .webchat__upload-button":{gridArea:"upload-button"},"& .webchat__send-button":{gridArea:"send-button"}}}}function Tc({sendBoxButtonColor:t,sendBoxButtonColorOnActive:e,sendBoxButtonColorOnDisabled:o,sendBoxButtonColorOnFocus:r,sendBoxButtonColorOnHover:i,sendBoxButtonKeyboardFocusIndicatorBorderColor:n,sendBoxButtonKeyboardFocusIndicatorBorderRadius:a,sendBoxButtonKeyboardFocusIndicatorBorderStyle:s,sendBoxButtonKeyboardFocusIndicatorBorderWidth:c,sendBoxButtonKeyboardFocusIndicatorInset:l,sendBoxButtonShadeBorderRadius:d,sendBoxButtonShadeColor:p,sendBoxButtonShadeColorOnActive:m,sendBoxButtonShadeColorOnDisabled:u,sendBoxButtonShadeColorOnFocus:f,sendBoxButtonShadeColorOnHover:b,sendBoxButtonShadeInset:y,sendBoxHeight:v,subtle:h}){return{"&.webchat__icon-button":{alignItems:"center",appearance:"none",backgroundColor:"Transparent",border:0,color:t||h,display:"flex",justifyContent:"center",outline:0,padding:0,position:"relative",width:v,"--webchat__component-icon--size":"28px","&:not(.webchat__icon-button--stretch)":{height:v},'&:disabled, &[aria-disabled="true"]':{color:o,"& .webchat__icon-button__shade":{backgroundColor:u}},'&:not(:disabled):not([aria-disabled="true"])':{"&:active":{color:e,"& .webchat__icon-button__shade":{backgroundColor:m}},"&:not(:active)":{"&:hover":{color:i,"& .webchat__icon-button__shade":{backgroundColor:b}},"&:not(:hover)":{"&:focus":{color:r,"& .webchat__icon-button__shade":{backgroundColor:f}}}}},"&:not(:focus-visible) .webchat__icon-button__keyboard-focus-indicator":{display:"none"},"&:not(.webchat__icon-button--focus-visible) .webchat__icon-button__keyboard-focus-indicator":{display:"none"},"& > *":{position:"relative"},"& .webchat__icon-button__shade":{backgroundColor:p,borderRadius:d,bottom:y,left:y,position:"absolute",right:y,top:y},"& .webchat__icon-button__keyboard-focus-indicator":{borderColor:n,borderRadius:a,borderStyle:s,borderWidth:c,bottom:l,left:l,position:"absolute",right:l,top:l}}}}function kc({paddingRegular:t,primaryFont:e,sendBoxDisabledTextColor:o,sendBoxMaxHeight:r,sendBoxPlaceholderColor:i,sendBoxTextColor:n,subtle:a}){return{"&.webchat__send-box-text-box":{alignItems:"center",fontFamily:e,paddingBottom:t/2,paddingLeft:t,paddingRight:t,paddingTop:t/2,position:"relative","& .webchat__send-box-text-box__input":{border:0,fontFamily:"inherit",fontSize:"inherit",height:"100%",outline:0,padding:0},"& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area":{backgroundColor:"transparent",'&:not(:disabled):not([aria-disabled="true"])':{color:n},'&:disabled, &[aria-disabled="true"]':{color:o||a},"&::placeholder":{color:i||a}},"& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area":{maxHeight:r},"& .webchat__send-box-text-box__glass":{height:"100%",left:0,position:"absolute",top:0,userSelect:0,width:"100%"}}}}function Ic(){return{"&.webchat__activity-status":{color:D.ColorTimestamp,fontFamily:D.FontPrimary,fontSize:D.FontSizeSmall,marginTop:`calc(${D.PaddingRegular} / 2)`},"&.webchat__activity-status--slotted":{display:"inline-flex",gap:4},"& .webchat__activity-status-slot":{display:"contents","&:not(:first-child)::before":{content:'"|"'},"&:empty":{display:"none"}},"& .webchat__activity-status__originator":{alignItems:"center","&.webchat__activity-status__originator--has-link":{color:D.ColorAccent}}}}var cM="R0lGODlhJQEsAfAAAHp6ev///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OcdIEAsta1+w+G4kiW5uls6nqh7gvH8kxL7K3W+s73vowL5n7EovHYEyo3yKbzCZ0sp5mo9YotUretrPcLHnG34bL5nBpT0ew2WM11y+dN+JiOz+vsd73/f8LXB0hYWCEYZ6i4yICYyAjJ6PgYWfk3SWmpSYdJtvk51+kJSnomulaaGnY6perqxbr0OmsVq0SL62QrlNtrtIvjK/wDHDx8XFPMgsw8o7zSHA3zzCRtbULN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USVnJZUJEqR7RiUvCVCKdNeTo19dwJaZjPf0AbSBv6s6iBdyTnKUUQrum+pwuZWhRKteq6q1OLmmN5Z6vSrx7VWPX6lSvWsWnDigVKFiypt3DbunWKluzdrnXtQsTL1u9cvjvjciRcWK/amVkVL4b51PFeglm10p0MmapgzCMrWz6KtLPnz2tVphzt73KgiKiXqiZJGlZrqIBzZpxNOynNibhdE/Uk5EzvoIxRaRhuoTjybKeXa2PtfFzF6Ok4Ua8eu9v1fjnKbv8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///D2CAAg5IYIEGHohgggouyGCDDj4IYYQSTkhhhRZeiGGGGm7IYYcefghiiCKOSGKJP3RnIhgHpWiQbCwWcduLNEwnow6L1PgAQxtAh2NqybjDY40l8SQaji4apRyL1ilAmYwxJlDTixcRl1mJNEIZpZJTYpmliSEx+ZuVX/rYpJdX5lammE9md5KWW3KZJolnklmlnGv6lqSZocBZp5288VmklH+iGaSgxCRXqJPBeUfojT02Kg6jgL75aAltVmrNnJhaeuemnA7pqQy1hKqEVsKRimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/Lstss84+C2200k5LbbXWXottttpuy2233n4LbrjijktuueZKi+K0wTE7KLCd9grSksAtdOp5jmq0bnmJNtJudM29JK+//9pGqcADH3IpdXGuFihyYTK872wPS9Uwbro9NuZwE3OWcG8X/7UwaqVhnLHFG4Ocp8Rdktxxax+3tLLJIQ8Ws8gn05yyyzPj3KfNOaPcs88Hs6ypykMTXbDHR3PcssZNU7y00iWbFrXUSYd273fvUv20wv0iXPF28f4I3NTkxVsvvlvruja8RyK7IrTpnks3GmMf1+yoye4pbNFuX81217hGbGvVs/5M686x1py44q++DOvNi0v+OOWuMUJeOeOTax655Zdznjnimwc9uuGdm3562LeiLqvquWbtLuB/f+3r23s7Q62kde9uSwEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/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f3yj03pylr+nGneW+aMbN3X3oi3X9b2jfgg1daOOGHI74443HrXbfdj3s6OeU9EpN6OdtDs7p5q0enamCtiTpVAAA7",lM="image/gif",Oc;function Nc({spinnerAnimationBackgroundImage:t,spinnerAnimationHeight:e,spinnerAnimationWidth:o,spinnerAnimationPadding:r}){return Oc||(Oc=URL.createObjectURL(new Blob([new Uint8Array(_base64js.toByteArray.call(void 0, cM))],{type:lM}))),{backgroundImage:t||`url('${Oc}')`,backgroundRepeat:"no-repeat",backgroundSize:"contain",height:e,width:o,":not(.webchat__spinner--rtl)":{marginRight:r},".webchat__spinner--rtl":{marginLeft:r}}}function Mc({bubbleAttachmentMaxWidth:t,bubbleAttachmentMinWidth:e,bubbleMessageMaxWidth:o,bubbleMessageMinWidth:r,paddingRegular:i,transitionDuration:n}){return{"&.webchat__stacked-layout":{marginLeft:i,marginRight:i,"& .webchat__stacked-layout__alignment-pad":{transitionDuration:n,transitionProperty:"width",width:0},"&.webchat__stacked-layout--extra-trailing .webchat__stacked-layout__alignment-pad":{width:i},"& .webchat__stacked-layout__avatar-gutter":{transitionDuration:n,transitionProperty:"width",width:0},"& .webchat__stacked-layout__attachment":{maxWidth:D.MaxWidthAttachmentBubble,minWidth:D.MinWidthAttachmentBubble,transitionDuration:n,transitionProperty:"max-width, min-width"},"& .webchat__stacked-layout__attachment-row":{marginTop:i,width:"100%"},"&.webchat__stacked-layout--no-message .webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first":{marginTop:0},"& .webchat__stacked-layout__message":{maxWidth:D.MaxWidthMessageBubble,minWidth:D.MinWidthMessageBubble,overflow:"hidden",transitionDuration:n,transitionProperty:"max-width"},"& .webchat__stacked-layout__nub-pad":{transitionDuration:n,transitionProperty:"width",width:0},"&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar":{"& .webchat__stacked-layout__avatar-gutter":{width:D.SizeAvatar}},"&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub":{"& .webchat__stacked-layout__attachment":{maxWidth:t+i,minWidth:e+i},"& .webchat__stacked-layout__message":{maxWidth:o+i,minWidth:r+i},"& .webchat__stacked-layout__nub-pad":{width:i}},"&:not(.webchat__stacked-layout--top-callout)":{"& .webchat__stacked-layout__avatar-gutter, & .webchat__stacked-layout__content":{justifyContent:"flex-end"}}}}}function Pc({accent:t,paddingRegular:e,paddingWide:o,primaryFont:r,suggestedActionBorderRadius:i,suggestedActionBackgroundColor:n,suggestedActionBorderColor:a,suggestedActionBorderStyle:s,suggestedActionBorderWidth:c,suggestedActionTextColor:l,suggestedActionBackgroundColorOnActive:d,suggestedActionBorderColorOnActive:p,suggestedActionBorderStyleOnActive:m,suggestedActionBorderWidthOnActive:u,suggestedActionTextColorOnActive:f,suggestedActionBackgroundColorOnDisabled:b,suggestedActionBorderColorOnDisabled:y,suggestedActionBorderStyleOnDisabled:v,suggestedActionBorderWidthOnDisabled:h,suggestedActionTextColorOnDisabled:x,suggestedActionBackgroundColorOnFocus:w,suggestedActionBorderColorOnFocus:g,suggestedActionBorderStyleOnFocus:k,suggestedActionBorderWidthOnFocus:I,suggestedActionTextColorOnFocus:_,suggestedActionBackgroundColorOnHover:S,suggestedActionBorderColorOnHover:N,suggestedActionBorderStyleOnHover:B,suggestedActionBorderWidthOnHover:L,suggestedActionTextColorOnHover:z,suggestedActionKeyboardFocusIndicatorBorderColor:W,suggestedActionKeyboardFocusIndicatorBorderRadius:K,suggestedActionKeyboardFocusIndicatorBorderStyle:T,suggestedActionKeyboardFocusIndicatorBorderWidth:R,suggestedActionKeyboardFocusIndicatorInset:O,suggestedActionHeight:j,suggestedActionImageHeight:G,suggestedActionsStackedLayoutButtonMaxHeight:q,subtle:Y}){return{"&.webchat__suggested-action":{alignItems:"center",backgroundColor:n,borderColor:a||t,borderRadius:i,borderStyle:s,borderWidth:c,color:l||t,fontFamily:r,fontSize:"inherit",height:j,justifyContent:"center",maxWidth:"100%",outline:0,paddingLeft:o,paddingRight:o,position:"relative",whiteSpace:"nowrap",width:"100%",'&:disabled, &[aria-disabled="true"]':{backgroundColor:b,borderColor:y,borderStyle:v,borderWidth:h,color:x||Y},'&:not(:disabled):not([aria-disabled="true"])':{"&:active":{backgroundColor:d,borderColor:p,borderStyle:m,borderWidth:u,color:f},"&:not(:active)":{"&:hover":{backgroundColor:S,borderColor:N,borderStyle:B,borderWidth:L,color:z},"&:not(:hover)":{"&:focus":{backgroundColor:w,borderColor:g,borderStyle:k,borderWidth:I,color:_}}}},"&:not(:focus-visible) .webchat__suggested-action__keyboard-focus-indicator":{display:"none"},"&:not(.webchat__suggested-action--focus-visible) .webchat__suggested-action__keyboard-focus-indicator":{display:"none"},"&:not(.webchat__suggested-action--rtl) .webchat__suggested-action__image + .webchat__suggested-action__text":{paddingLeft:e},"&.webchat__suggested-action--rtl .webchat__suggested-action__image + .webchat__suggested-action__text":{paddingRight:e},"&.webchat__suggested-action--wrapping":{height:"auto",maxHeight:q||"100%",minHeight:typeof q=="number"&&typeof j=="number"?Math.min(q,j):j},"& .webchat__suggested-action__image":{height:G},"& .webchat__suggested-action__keyboard-focus-indicator":{borderColor:W,borderRadius:K,borderStyle:T,borderWidth:R,bottom:O,left:O,position:"absolute",right:O,top:O}}}}function Ec({paddingRegular:t,suggestedActionsCarouselFlipperSize:e,suggestedActionsFlowMaxHeight:o,suggestedActionsStackedHeight:r,suggestedActionsStackedOverflow:i,suggestedActionsVisualKeyboardIndicatorColor:n,suggestedActionsVisualKeyboardIndicatorStyle:a,suggestedActionsVisualKeyboardIndicatorWidth:s,transcriptOverlayButtonBackground:c,transcriptOverlayButtonBackgroundOnDisabled:l,transcriptOverlayButtonBackgroundOnFocus:d,transcriptOverlayButtonBackgroundOnHover:p,transcriptOverlayButtonColor:m,transcriptOverlayButtonColorOnDisabled:u,transcriptOverlayButtonColorOnFocus:f,transcriptOverlayButtonColorOnHover:b}){return{"&.webchat__suggested-actions":{position:"relative","&.webchat__suggested-actions--carousel-layout":{"& .webchat__suggested-actions__carousel":{paddingBottom:t/2,paddingTop:t/2,"& .webchat__suggested-actions__item-box":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .react-film__filmstrip":{scrollbarWidth:"none"},"& .react-film__flipper":{'&:disabled, &[aria-disabled="true"]':{"& .react-film__flipper__body":{backgroundColor:l,color:u}},"&:focus .react-film__flipper__body":{backgroundColor:d,color:f||m},"&:hover .react-film__flipper__body":{backgroundColor:p,color:b||m},"& .react-film__flipper__body":{background:c,color:m,outline:0}}},"&:not(.webchat__suggested-actions--rtl)":{"& .react-film__filmstrip__item:first-child":{paddingLeft:t/2},"& .react-film__filmstrip__item:last-child":{paddingRight:t/2},"& .react-film__flipper + .react-film__filmstrip":{"& .react-film__filmstrip__item:first-child":{paddingLeft:e+t*1.5},"& .react-film__filmstrip__item:last-child":{paddingRight:e+t*1.5}}},"&.webchat__suggested-actions--rtl":{"& .react-film__filmstrip__item:first-child":{paddingRight:t/2},"& .react-film__filmstrip__item:last-child":{paddingLeft:t/2},"& .react-film__flipper + .react-film__filmstrip":{"& .react-film__filmstrip__item:first-child":{paddingRight:e+t*1.5},"& .react-film__filmstrip__item:last-child":{paddingLeft:e+t*1.5}}}},"&.webchat__suggested-actions--flow-layout":{"& .webchat__suggested-actions__flow-box":{maxHeight:o,overflowY:"auto",paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .webchat__suggested-actions__flow-item-box":{maxWidth:"100%",overflow:"hidden"},"& .webchat__suggested-actions__item-box":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2}},"&.webchat__suggested-actions--stacked-layout":{"& .webchat__suggested-actions__stack":{maxHeight:r||"auto",overflowY:i||"auto",paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .webchat__suggested-actions__item-box":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2}},"&.webchat__suggested-actions--flow-layout, &.webchat__suggested-actions--stacked-layout":{"& .webchat__suggested-actions__button-text":{overflow:"hidden",textOverflow:"ellipsis"},"& .webchat__suggested-actions__button-text-stacked-text-wrap":{alignItems:"center",display:"flex",whiteSpace:"normal"}},"& .webchat__suggested-actions__item-box":{display:"flex",maxWidth:"100%"},"&.webchat__suggested-actions--focus-within, &:focus-within":{"& .webchat__suggested-actions__focus-indicator":{borderColor:n,borderStyle:a,borderWidth:s,boxSizing:"border-box",height:"100%",pointerEvents:"none",position:"absolute",top:0,width:"100%"}}}}}function Lc(){return{"&.webchat__text-content":{fontFamily:D.FontPrimary,margin:0,minHeight:`calc(${D.MinHeightBubble} - ${D.PaddingRegular} * 2)`,padding:D.PaddingRegular,"&.webchat__text-content--is-markdown":{display:"flex",flexDirection:"column",justifyContent:"center",gap:D.PaddingRegular,minWidth:0},"& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)":{maxWidth:D.MaxWidthMessageBubble,minWidth:D.MinWidthMessageBubble,width:"100%"},"& .webchat__text-content__markdown pre":{overflow:"hidden"},"& .webchat__text-content__open-in-new-window-icon":{height:".75em"},"& .webchat__text-content__activity-actions":{alignSelf:"flex-start",display:"flex",flexWrap:"wrap",gap:`8px calc(${D.PaddingRegular} / 2)`,width:"100%"},"& .webchat__text-content__activity-actions:empty":{display:"none"}}}}function Mb(){return{"&.webchat__thumb-button":{alignItems:"center",borderRadius:"2px",boxSizing:"content-box",display:"grid",gridTemplateAreas:'"main"',height:"16px",width:"16px","& .webchat__thumb-button__input":{appearance:"none",background:"transparent",border:0,gridArea:"main",height:"16px",margin:0,opacity:0,padding:0,width:"16px","&:active":{background:"#EDEBE9"}},"&:has(.webchat__thumb-button__input:focus-visible)":{outline:"solid 1px #605E5C"},"& .webchat__thumb-button__image":{color:D.ColorAccent,gridArea:"main",justifySelf:"center",pointerEvents:"none",visibility:"hidden",width:14,"&.webchat__thumb-button__image--is-stroked":{visibility:"unset"}},'&:has(.webchat__thumb-button__input:is(:not([aria-disabled="true"]):hover, :checked, [aria-pressed="true"]))':{"& .webchat__thumb-button__image":{"&.webchat__thumb-button__image--is-stroked":{visibility:"hidden"},"&.webchat__thumb-button__image--is-filled":{visibility:"unset"}}},"&.webchat__thumb-button--large":{border:"1px solid transparent",borderRadius:"4px",height:"30px",width:"30px","& .webchat__thumb-button__input":{background:"currentColor",height:"30px",width:"30px"},"& .webchat__thumb-button__image":{color:"currentColor",fontSize:"20px",height:"1em",width:"1em"},'&:has(.webchat__thumb-button__input:is(:hover, :active, :checked, [aria-pressed="true"])) .webchat__thumb-button__image':{color:D.ColorAccent},'&:has(.webchat__thumb-button__input[aria-disabled="true"]) .webchat__thumb-button__image':{color:D.ColorSubtle},'&.webchat__thumb-button--has-submitted:has(.webchat__thumb-button__input:not(:checked):not([aria-pressed="true"])) .webchat__thumb-button__tooltip':{display:"none"},"&.webchat__thumb-button--has-submitted .webchat__thumb-button__tooltip":{"--webchat__tooltip-anchor-inline-start":"20%"}}}}}function Bc({primaryFont:t,toasterHeight:e,toastErrorColor:o,toastFontSize:r,toastIconWidth:i,toastInfoColor:n,toastSuccessColor:a,toastTextPadding:s,toastWarnColor:c}){return{fontFamily:t,fontSize:r,minHeight:e,"&.webchat__toast--error":{color:o,fill:o},"&.webchat__toast--info":{color:n,fill:n},"&.webchat__toast--success":{color:a,fill:a},"&.webchat__toast--warn":{color:c,fill:c},"& .webchat__toast__iconBox":{alignItems:"center",display:"flex",flexShrink:0,height:e,justifyContent:"center",width:i},"& .webchat__toast__dismissButton":{alignItems:"center",appearance:"none",backgroundColor:"Transparent",border:0,display:"flex",height:e,justifyContent:"center",outline:0,padding:0,width:e,"&:focus .webchat__toast__dismissButtonFocus":{borderColor:"rgba(26, 10, 0, .7)"},"&:hover .webchat__toast__dismissButtonFocus":{backgroundColor:"rgba(0, 0, 0, .12)"}},"& .webchat__toast__dismissButtonFocus":{alignItems:"center",borderColor:"Transparent",borderStyle:"solid",borderWidth:1,borderRadius:3,display:"flex",height:22,justifyContent:"center",width:22},"& .webchat__toast__text":{alignSelf:"center",paddingBottom:s,paddingTop:s}}}function jc({primaryFont:t,toasterHeight:e,toasterMaxHeight:o,toastErrorBackgroundColor:r,toastErrorColor:i,toasterSingularMaxHeight:n,toastFontSize:a,toastIconWidth:s,toastInfoBackgroundColor:c,toastInfoColor:l,toastSeparatorColor:d,toastSuccessBackgroundColor:p,toastSuccessColor:m,toastWarnBackgroundColor:u,toastWarnColor:f}){return{overflowY:"hidden","&:not(.webchat__toaster--expandable)":{maxHeight:n},"&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul":{height:0},"&.webchat__toaster--expandable.webchat__toaster--expanded":{maxHeight:o},"& .webchat__toaster__header":{alignItems:"center",alignSelf:"stretch",appearance:"none",backgroundColor:"Transparent",border:0,display:"flex",fontFamily:t,fontSize:a,minHeight:e,outline:0,padding:0,textAlign:"left","&:focus .webchat__toaster__expandIconFocus":{borderColor:"rgba(26, 10, 0, .7)"},"&:hover .webchat__toaster__expandIconFocus":{backgroundColor:"rgba(0, 0, 0, .12)"}},"& .webchat__toaster__expandIconFocus":{alignItems:"center",borderColor:"Transparent",borderStyle:"solid",borderWidth:1,borderRadius:3,display:"flex",height:22,justifyContent:"center",width:22},"&.webchat__toaster--error":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:r},"& .webchat__toaster__header":{color:i,fill:i}},"&.webchat__toaster--info":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:c},"& .webchat__toaster__header":{color:l,fill:l}},"&.webchat__toaster--success":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:p},"& .webchat__toaster__header":{color:m,fill:m}},"&.webchat__toaster--warn":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:u},"& .webchat__toaster__header":{color:f,fill:f}},"& .webchat__toaster__expandLevelIconBox":{height:e,width:s},"& .webchat__toaster__expandIcon":{height:e,width:e},"& .webchat__toaster__expandText":{padding:"6px 0"},"& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon":{alignItems:"center",display:"flex",justifyContent:"center"},"& .webchat__toaster__list":{margin:0,overflowY:"auto",padding:0},"& .webchat__toaster__listItem:first-child:last-child":{overflow:"hidden"},"& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)":{borderBottomColor:d,borderBottomStyle:"solid",borderBottomWidth:1,minHeight:32}}}var Pb=()=>({"*:has(> &.webchat__tooltip)":{position:"relative","&:is(:hover, :focus-visible, :active) > .webchat__tooltip, &:has(:is(:hover, :focus-visible, :active)) > .webchat__tooltip":{opacity:1,transitionDelay:"400ms"}},"&.webchat__tooltip":{"--webchat__tooltip-tip-size":"8.484px","--webchat__tooltip-background":"#fff","--webchat__tooltip-anchor-inline-start":"50%",background:"var(--webchat__tooltip-background)",borderRadius:"4px",color:"#242424",filter:"drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.14)) drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.12))",fontSize:"12px",inlineSize:"max-content",isolation:"isolate",lineHeight:"16px",margin:0,maxInlineSize:"30ch",opacity:0,padding:"6px 12px",pointerEvents:"none",position:"absolute",textAlign:"start",transition:"opacity 0.2s ease",userSelect:"none",willChange:"filter","&::after":{background:"inherit",color:"currentColor",content:'""',inset:0,position:"absolute"},"&.webchat__tooltip--block-start, &.webchat__tooltip--block-end":{textAlign:"center"},"&.webchat__tooltip--block-start":{insetBlockEnd:"calc(100% + 7px)",insetInlineStart:"50%",transform:"translate(calc(-1 * var(--webchat__tooltip-anchor-inline-start)), 0)","&::after":{border:"1px solid var(--webchat__tooltip-background)",borderBottomLeftRadius:"2px",clipPath:"polygon(0% 0%, 100% 100%, 0% 100%)",height:"var(--webchat__tooltip-tip-size)",insetBlockStart:"calc(100% - 6px)",insetInlineStart:"calc(var(--webchat__tooltip-anchor-inline-start) - var(--webchat__tooltip-tip-size) / 2)",transform:"rotate(-45deg)",width:"var(--web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W4+lLym8ycqczwer0YEAIfkEBQcACwAsAAAHABYACQAABS4gIAbkaJ5oVF3HIJTpqWJ048bpVKsFjM+7xA03WgV7xOIRmUQ4jKxh0/V0+oghACH5BAUVAAEALAAABwAKAAkAAAIIhI+py+0PYQEAIfkEBQcABQAsJgAHAAwACQAAB0qAAIIEYhQGAYODN1R1bnpXN4iCGV98bZd+ZxmIFx54l6B4SodhYI2gbXZUOQAwSnqoqVMYrSV9sWUbA5NYp7IwiRgaZndmHhWDgQAh+QQFBwAHACwZAAcAGAAJAAAHboAAgoMEhYYBhImJMUMcGyNII0JANQWKimEkHUpVaWlUSkdLOFGXgxIoIY9dZWZnWCYsRBGmgikZPyJSnmhdU1pOJxKIpkW4kLy+kjfDtRWpHlhnvWOwPB8NxMXHVGevyxBqtacgQSFcTsFQtOOBACH5BAUHAAMALAkABwAgAAkAAAdtgACCgwKFhoSIiYoFFWEZPi1PJDczEQSLmIONQCElGyYckZUFmZg2KEwcHkqsPUsfEwYBpYkRMDc8R59gHkJBKzgNh7SCtriqvL2/KQzDxGIpK0FOq0jKsLLPiConLLrXNs3atS6UqDQS2eMAgQAh+QQFBwALACwAAAcAGQAJAAAHUIAAAYNNhIKHiImIDDk6ICoSCQSKlIg1MjcnmRAHk5WKFTErmqQURoafghA0KKStoQKplpCuMRUKsbKqW0S1EQOoshispQa5urtFMxO/x8iBACH5BAUHAAIALAAABwALAAkAAAIJhI+py+3xolwFACH5BAUHAAEALAAACQABAAUAAAIChF0AOw==",uM="image/gif",Rc;function Fc({typingAnimationBackgroundImage:t,typingAnimationHeight:e,typingAnimationWidth:o}){return Rc||(Rc=URL.createObjectURL(new Blob([new Uint8Array(_base64js.toByteArray.call(void 0, pM))],{type:uM}))),{backgroundImage:t||`url('${Rc}')`,backgroundRepeat:"no-repeat",height:e,width:o}}function Dc({paddingRegular:t}){return{paddingBottom:t,"&:not(.webchat__typing-indicator--rtl)":{paddingLeft:t},"&.webchat__typing-indicator--rtl":{paddingRight:t}}}function qc({sendBoxButtonColor:t,sendBoxButtonColorOnFocus:e,sendBoxButtonColorOnHover:o,sendBoxHeight:r,subtle:i}){return{width:r,"& > .icon > svg":{fill:t||i},"& > input:hover + .icon > svg":{fill:o},"& > input:focus + .icon > svg":{fill:e}}}function zc(){return{}}function Wc({videoHeight:t}){return{height:t,width:"100%"}}function Kc({videoHeight:t}){return{border:0,height:t,width:"100%"}}function Gc({connectivityIconPadding:t,connectivityMarginLeftRight:e,connectivityMarginTopBottom:o,connectivityTextSize:r,primaryFont:i,slowConnectivity:n,notificationText:a}){return{alignItems:"center",color:a,display:"flex",fontFamily:i,fontSize:r,marginBottom:o,marginLeft:e,marginRight:e,marginTop:o,"& > svg":{fill:n,"&:not(webchat__warning--rtl)":{paddingRight:t},"&.webchat__warning--rtl":{paddingLeft:t}}}}function Hc({videoHeight:t}){return{border:0,height:t,width:"100%"}}function Yc(t){let e=_botframeworkwebchatapi.normalizeStyleOptions.call(void 0, t);return Object.freeze({activities:Js(),activityButton:Zs(),activityCopyButton:Xs(),audioAttachment:Qs(),audioContent:$s(),autoResizeTextArea:tc(e),avatar:ec(e),basicTranscript:oc(e),bubble:rc(e),carouselFilmStrip:ic(e),carouselFilmStripAttachment:nc(e),carouselFlipper:ac(e),connectivityNotification:lc(e),dictationInterims:dc(e),errorBox:pc(e),errorNotification:uc(e),fileContent:mc(e),imageAvatar:fc(),initialsAvatar:bc(e),microphoneButton:vc(e),options:{...e},root:Nb(e),scrollToEndButton:Sc(e),sendBox:Cc(e),sendBoxButton:Tc(e),sendBoxTextBox:kc(e),spinnerAnimation:Nc(e),stackedLayout:Mc(e),suggestedAction:Pc(e),suggestedActions:Ec(e),toast:Bc(e),toaster:jc(e),typingAnimation:Fc(e),typingIndicator:Dc(e),uploadButton:qc(e),videoAttachment:zc(),videoContent:Wc(e),vimeoContent:Kc(e),warningNotification:Gc(e),youTubeContent:Hc(e),chatHistoryBox:sc(),citationModalDialog:cc(),linkDefinitions:hc(),modalDialog:Ac(),renderMarkdown:xc(),sendStatus:Ic(),textContent:Lc(),thumbButton:Mb(),tooltip:Pb()})}var SM=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),nonce:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),Vc="webchat__css-custom-properties";function jb(){return Math.ceil(_mathrandom2.default.call(void 0, )*Number.MAX_SAFE_INTEGER).toString(36)}function CM(t){return"cardPushButtonBackgroundColor"in t||"cardPushButtonTextColor"in t}function Rb(t,e){let{children:o,className:r,nonce:i}=_chunkTMUNLKZWjs.h.call(void 0, SM,t),[n]=_hookjs.useStyleOptions.call(void 0, ),[a,s]=_react.useMemo.call(void 0, ()=>{let{accent:c,avatarSize:l,borderAnimationColor1:d,borderAnimationColor2:p,borderAnimationColor3:m,bubbleAttachmentMaxWidth:u,bubbleAttachmentMinWidth:f,bubbleBackground:b,bubbleBorderColor:y,bubbleBorderRadius:v,bubbleBorderStyle:h,bubbleBorderWidth:x,bubbleFromUserBackground:w,bubbleFromUserBorderColor:g,bubbleFromUserBorderRadius:k,bubbleFromUserBorderStyle:I,bubbleFromUserBorderWidth:_,bubbleFromUserNubOffset:S,bubbleFromUserNubSize:N,bubbleFromUserTextColor:B,bubbleTextColor:L,bubbleImageMaxHeight:z,bubbleImageMinHeight:W,bubbleMessageMaxWidth:K,bubbleMessageMinWidth:T,bubbleMinHeight:R,bubbleNubOffset:O,bubbleNubSize:j,fontSizeSmall:G,markdownExternalLinkIconImage:q,messageActivityWordBreak:Y,monospaceFont:M,paddingRegular:U,primaryFont:V,sendBoxAttachmentBarMaxHeight:et,subtle:pt,timestampColor:ft,transcriptActivityVisualKeyboardIndicatorColor:gt,transcriptActivityVisualKeyboardIndicatorStyle:ut,transcriptActivityVisualKeyboardIndicatorWidth:rt,transcriptOverlayButtonBackground:vt,transcriptOverlayButtonBackgroundOnDisabled:Ft,transcriptOverlayButtonBackgroundOnFocus:io,transcriptOverlayButtonBackgroundOnHover:zr,transcriptOverlayButtonColor:Wr,transcriptOverlayButtonColorOnDisabled:Kr,transcriptOverlayButtonColorOnFocus:Kn,transcriptOverlayButtonColorOnHover:Gr,transcriptTerminatorBackgroundColor:Gn,transcriptTerminatorBorderRadius:ye,transcriptTerminatorColor:he,transcriptTerminatorFontSize:Fo,transcriptVisualKeyboardIndicatorColor:P,transcriptVisualKeyboardIndicatorStyle:J,transcriptVisualKeyboardIndicatorWidth:Q,transitionDuration:$,transitionEasing:ct}=n,We="";if(CM(n)){let{cardPushButtonBackgroundColor:Hr,cardPushButtonTextColor:Yr}=n;We=`
12
+ `;let d=_chunkENHWW2TZjs.g.call(void 0, _micromark.micromark.call(void 0, l));return _chunkENHWW2TZjs.f.call(void 0, d,p=>{if(p!=null&&p.startsWith("#"))return{asButton:!0,dataset:{markdownHref:p}}}),{__html:_chunkENHWW2TZjs.i.call(void 0, _chunkENHWW2TZjs.h.call(void 0, d))}},[e,r]),c=_react.useCallback.call(void 0, l=>{var m;l.stopPropagation();let d=(m=l.target.getAttribute("value"))!=null?m:void 0,p=d!=null&&d.startsWith("#")?d.slice(1):d;if(p){let u=ps("reference",{data:p});_valibot.parse.call(void 0, nf,u),o==null||o(u)}},[o]);return _react2.default.createElement("span",{className:a,dangerouslySetInnerHTML:s,onClick:c})},af=h0;var T0=["RETRY"],k0=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {onRetryClick:_valibot.function_.call(void 0, )}),_valibot.readonly.call(void 0, )),I0=t=>{let{onRetryClick:e}=_chunkTMUNLKZWjs.h.call(void 0, k0,t),o=_react.useCallback.call(void 0, ({data:n})=>n==="RETRY"&&e(),[e]),i=_hookjs.useLocalizer.call(void 0, )("ACTIVITY_STATUS_SEND_FAILED_RETRY");return _react2.default.createElement(af,{markdown:i,onReference:o,references:T0})},sf=I0;var Io={"activity-status__originator--has-link":"wBpMa5G_activity-status__originator--has-link","activity-status":"wBpMa5G_activity-status","activity-status--slotted":"wBpMa5G_activity-status--slotted","activity-status-slot":"wBpMa5G_activity-status-slot","activity-status__originator":"wBpMa5G_activity-status__originator"},ae=Io,eH=Io["activity-status__originator--has-link"];var oH=Io["activity-status"];var rH=Io["activity-status--slotted"];var iH=Io["activity-status-slot"];var nH=Io["activity-status__originator"];var{useLocalizer:R0,usePostActivity:F0}=_botframeworkwebchatapi.hooks,D0=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, ),sendStatus:_valibot.union.call(void 0, [_valibot.literal.call(void 0, mr),_valibot.literal.call(void 0, me),_valibot.literal.call(void 0, em)])}),_valibot.readonly.call(void 0, ));function q0(t){let{activity:e,sendStatus:o}=_chunkTMUNLKZWjs.h.call(void 0, D0,t),r=_chunkUQHIWKDVjs.p.call(void 0, ),i=R0(),n=F0(),a=_chunkTMUNLKZWjs.k.call(void 0, ae),s=_react.useCallback.call(void 0, ()=>{n(e),r("sendBoxWithoutKeyboard")},[e,r,n]),c=i("ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING");return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement("span",{className:a["activity-status"]},o===mr?c:o===me?_react2.default.createElement(sf,{onRetryClick:s}):!1))}var hn=_react.memo.call(void 0, q0);function fs(){return()=>t=>({activity:e,sendState:o,...r})=>{switch(o){case mr:case me:return _react2.default.createElement(hn,{activity:e,sendStatus:o});default:return t({activity:e,sendState:o,...r})}}}var{useDateFormatter:$0,useLocalizer:tI}=_botframeworkwebchatapi.hooks,eI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {hide:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ),!1),value:_valibot.union.call(void 0, [_valibot.date.call(void 0, ),_valibot.number.call(void 0, ),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, )),oI=t=>{let{hide:e,value:o}=_chunkTMUNLKZWjs.h.call(void 0, eI,t),r=tI(),n=$0()(o);return _react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:r("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",n)}),!e&&_react2.default.createElement("span",{"aria-hidden":!0},n))},vn=oI;var cI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {name:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, )),slogan:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, )),url:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),lI=_react.memo.call(void 0, function(e){let{name:o,slogan:r,url:i}=_chunkTMUNLKZWjs.h.call(void 0, cI,e),n=or(),a=_chunkTMUNLKZWjs.k.call(void 0, ae),{sanitizedHref:s}=n(i),c=r||o;return s?_react2.default.createElement("a",{className:_classnames2.default.call(void 0, a["activity-status__originator"],a["activity-status__originator--has-link"]),href:s,rel:"noopener noreferrer",target:"_blank"},c):_react2.default.createElement("span",{className:a["activity-status__originator"]},c)}),lf=lI;var df=({children:t,className:e})=>{let o=_chunkTMUNLKZWjs.k.call(void 0, ae);return _react2.default.createElement("span",{className:_classnames2.default.call(void 0, o["activity-status-slot"],e)},t)};df.displayName="StatusSlot";var wn=_react.memo.call(void 0, df);var{usePonyfill:bI}=_botframeworkwebchatapi.hooks;function xr(t,e){let[{clearTimeout:o,Date:r,setTimeout:i}]=bI();_react.useEffect.call(void 0, ()=>{if(typeof t=="number"){let n=Math.max(0,t-r.now());if(n){let a=i(e,n);return()=>o(a)}e()}},[t,o,r,e,i])}var{usePonyfill:wI}=_botframeworkwebchatapi.hooks;function pf(t,e,{Date:o}){let r=t.getTime(),i=o.now();return r>i?r:i+e-(i-r)%e}function hs(t,e,o){let[r]=wI(),[i,n]=_react.useState.call(void 0, pf(t,e,r)),a=_react.useCallback.call(void 0, ()=>{o&&o(),n(pf(t,e,r)+_mathrandom2.default.call(void 0, ))},[o,t,e,r]);return xr(i,a),[i,n]}var{useDateFormatter:NI,useLocalizer:MI,usePonyfill:PI,useRelativeTimeFormatter:EI}=_botframeworkwebchatapi.hooks,LI=6e4,BI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {value:_valibot.union.call(void 0, [_valibot.date.call(void 0, ),_valibot.number.call(void 0, ),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, )),jI=t=>{let{value:e}=_chunkTMUNLKZWjs.h.call(void 0, BI,t),[{Date:o}]=PI(),r=NI(),i=EI(),n=MI(),a=new o(e);return hs(a,LI),_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:n("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",r(a))}),_react2.default.createElement("span",{"aria-hidden":!0},i(a)))},uf=jI;var{useStyleOptions:YI}=_botframeworkwebchatapi.hooks,VI=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {timestamp:_valibot.union.call(void 0, [_valibot.date.call(void 0, ),_valibot.number.call(void 0, ),_valibot.string.call(void 0, )])}),_valibot.readonly.call(void 0, ));function UI(t){let{timestamp:e}=_chunkTMUNLKZWjs.h.call(void 0, VI,t),[{timestampFormat:o}]=YI();return o==="relative"?_react2.default.createElement(uf,{value:e}):_react2.default.createElement(vn,{value:e})}var Oo=_react.memo.call(void 0, UI);var{useStyleOptions:tO}=_botframeworkwebchatapi.hooks,bf=lp('Root-level things are being deprecated, please relate all things to `entities[@id=""]` instead. This feature will be removed in 2025-03-06.'),_f=_react.memo.call(void 0, ({activity:t,className:e,slotted:o})=>{let[{feedbackActionsPlacement:r}]=tO(),i=_chunkTMUNLKZWjs.k.call(void 0, ae),{timestamp:n}=t,a=_react.useMemo.call(void 0, ()=>Ye(t.entities||[]),[t.entities]),s=_react.useMemo.call(void 0, ()=>_botframeworkwebchatcore.getOrgSchemaMessage.call(void 0, a),[a]),c=_react.useMemo.call(void 0, ()=>{try{if(s)return _valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,s==null?void 0:s.citation[0]).claimInterpreter[0];let[l]=a.filter(({type:p})=>p==="https://schema.org/Claim").map(p=>_valibot.parse.call(void 0, _orgschemajs.orgSchemaClaimSchema,p));if(l)return bf(),l==null?void 0:l.claimInterpreter[0];let d=_valibot.parse.call(void 0, _orgschemajs.orgSchemaActionSchema,a.find(({type:p})=>p==="https://schema.org/ReplyAction"));if(d)return bf(),d==null?void 0:d.provider[0]}catch (e24){}},[a,s]);return _react2.default.createElement("span",{className:_classnames2.default.call(void 0, i["activity-status"],{[i["activity-status--slotted"]]:o},e)},n&&_react2.default.createElement(wn,null,_react2.default.createElement(Oo,{key:"timestamp",timestamp:n})),c&&_react2.default.createElement(wn,null,_react2.default.createElement(lf,{key:"originator",name:c.name[0],slogan:c.slogan[0],url:c.url[0]})),r==="activity-status"&&_react2.default.createElement(wn,null,_react2.default.createElement(Pi,{activity:t,key:"feedback"})))});_f.displayName="OthersActivityStatus";var yf=_f;var vf=_react.memo.call(void 0, ({activity:t,className:e,slotted:o})=>{let r=_chunkTMUNLKZWjs.k.call(void 0, ae),{timestamp:i}=t;return i?_react2.default.createElement("span",{className:_classnames2.default.call(void 0, r["activity-status"],{[r["activity-status--slotted"]]:o},e)},_react2.default.createElement(Oo,{timestamp:i})):null});vf.displayName="SelftActivityStatus";var wf=vf;function As(){return()=>()=>(...t)=>{let[{activity:e,hideTimestamp:o}]=t;return typeof e.timestamp=="undefined"?_react2.default.createElement(_react.Fragment,null):o?_react2.default.createElement(vn,{hide:!0,value:e.timestamp}):e.from.role==="bot"?_react2.default.createElement(yf,{activity:e,slotted:!0}):_react2.default.createElement(wf,{activity:e,slotted:!0})}}function xs(){return[fs(),As()]}var{useLocalizer:aO}=_botframeworkwebchatapi.hooks,sO=()=>{let e=aO()("ATTACHMENT_AUDIO");return _react2.default.createElement("article",null,e)},gf=sO;var{useLocalizer:dO}=_botframeworkwebchatapi.hooks,xf=({attachment:{name:t=""}={}})=>{let o=dO()("ATTACHMENT_FILE",t);return _react2.default.createElement("article",null,o)};xf.propTypes={attachment:_proptypes2.default.shape({name:_proptypes2.default.string.isRequired}).isRequired};var Ss=xf;var{useLocalizer:mO}=_botframeworkwebchatapi.hooks,fO=()=>{let e=mO()("ATTACHMENT_IMAGE");return _react2.default.createElement("article",null,e)},Sf=fO;var{useLocalizer:yO}=_botframeworkwebchatapi.hooks,Tf=({attachment:{content:t=""}={}})=>{let o=yO()("ATTACHMENT_TEXT",t);return _react2.default.createElement("article",null,o)};Tf.propTypes={attachment:_proptypes2.default.shape({content:_proptypes2.default.string.isRequired}).isRequired};var kf=Tf;var{useLocalizer:wO}=_botframeworkwebchatapi.hooks,gO=()=>{let e=wO()("ATTACHMENT_VIDEO");return _react2.default.createElement("article",null,e)},If=gO;function Cs(){return[()=>t=>(...e)=>{let[{activity:{from:{role:o=void 0}={}}={},attachment:r,attachment:{contentType:i=void 0,contentUrl:n=void 0,thumbnailUrl:a=void 0}={}}]=e,s=/^text\//u.test(i);return(s?!r.content:o==="user"&&!a)?()=>_react2.default.createElement(Ss,{attachment:r}):/^audio\//u.test(i)?()=>_react2.default.createElement(gf,null):/^image\//u.test(i)?()=>_react2.default.createElement(Sf,null):/^video\//u.test(i)?()=>_react2.default.createElement(If,null):n||i==="application/octet-stream"?()=>_react2.default.createElement(Ss,{attachment:r}):s?()=>_react2.default.createElement(kf,{attachment:r}):t(...e)}]}var{useAvatarForBot:OO,useAvatarForUser:NO}=_botframeworkwebchatapi.hooks,MO={"& .webchat__imageAvatar__image":{width:"100%",height:"auto"}},PO=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {fromUser:_valibot.boolean.call(void 0, )}),_valibot.readonly.call(void 0, )),EO=t=>{let{fromUser:e}=_chunkTMUNLKZWjs.h.call(void 0, PO,t),[{image:o}]=OO(),[{image:r}]=NO(),[{imageAvatar:i}]=_chunkUQHIWKDVjs.c.call(void 0, ),n=_chunkENHWW2TZjs.a.call(void 0, )(MO)+"";return!!(e?r:o)&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__imageAvatar",n,i+"")},_react2.default.createElement("img",{alt:"",className:"webchat__imageAvatar__image",src:e?r:o}))},Nf=_react.memo.call(void 0, EO);var{useAvatarForBot:WO,useAvatarForUser:KO}=_botframeworkwebchatapi.hooks,GO={alignItems:"center",display:"flex","& .webchat__initialsAvatar__initials":{justifyContent:"center"}},HO=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {fromUser:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function YO(t){let{fromUser:e=!1}=_chunkTMUNLKZWjs.h.call(void 0, HO,t),[{initials:o}]=WO(),[{initials:r}]=KO(),[{initialsAvatar:i}]=_chunkUQHIWKDVjs.c.call(void 0, ),n=_chunkENHWW2TZjs.a.call(void 0, )(GO)+"";return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__initialsAvatar",{"webchat__initialsAvatar--fromUser":e},n,i+"")},_react2.default.createElement("div",{className:"webchat__initialsAvatar__initials"},e?r:o))}var Pf=_react.memo.call(void 0, YO);var tN={overflow:["hidden","clip"],position:"relative","> *":{left:0,position:"absolute",top:0}},eN=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ),!0),children:_valibot.optional.call(void 0, _valibot.never.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fromUser:_valibot.boolean.call(void 0, )}),_valibot.readonly.call(void 0, ));function Lf(t){let{"aria-hidden":e,className:o,fromUser:r}=_chunkTMUNLKZWjs.h.call(void 0, eN,t,"strict"),[{avatar:i}]=_chunkUQHIWKDVjs.c.call(void 0, ),n=_chunkENHWW2TZjs.a.call(void 0, )(tN)+"";return _react2.default.createElement("div",{"aria-hidden":e,className:_classnames2.default.call(void 0, "webchat__defaultAvatar",{"webchat__defaultAvatar--fromUser":r},n,i+"",o)},_react2.default.createElement(Pf,{fromUser:r}),_react2.default.createElement(Nf,{fromUser:r}))}Lf.displayName="DefaultAvatar";var An=_react.memo.call(void 0, Lf);function iN(t){let{botAvatarImage:e,botAvatarInitials:o,userAvatarImage:r,userAvatarInitials:i}=t!=null?t:{};return _middlewarejs.createAvatarPolymiddleware.call(void 0, n=>({activity:a})=>{var c;let s=((c=a.from)==null?void 0:c.role)==="user";return(s?r||i:e||o)?_middlewarejs.avatarComponent.call(void 0, An,Object.freeze({fromUser:s})):void 0})}var Bf=iN;function jf(t){t=t.replace(/[\x00-\x20]+/gu,""),t=t.replace(/<!--.*?-->/gu,"");let e=t.match(/^([a-zA-Z]+):/u);if(e)return e[1].toLowerCase()}var nN=["data","http","https","ftp","mailto","sip","tel"];function Is(){return[()=>t=>(...e)=>{let[{cardAction:{type:o,value:r},getSignInUrl:i}]=e;switch(o){case"call":case"downloadFile":case"openUrl":case"playAudio":case"playVideo":case"showImage":if(nN.includes(jf(r)))if(_chunkJG75MOPDjs.J){let n=window.open();n.opener=null,n.location=r}else window.open(r,"_blank","noopener noreferrer");else console.warn("botframework-webchat: Cannot open URL with disallowed schemes.",r);break;case"signin":{(async function(){let n=window.open(),a=await i();["http","https"].includes(jf(a))?n.location.href=a:(console.warn("botframework-webchat: Cannot open URL with disallowed schemes.",a),n.close())})();break}default:return t(...e)}}]}var{useLocalizer:lN,useStyleOptions:dN}=_botframeworkwebchatapi.hooks,Os="U u \xDC \xFC",Ff=({onClick:t})=>{let e=_react.useRef.call(void 0, null),[{scrollToEndButton:o}]=_chunkUQHIWKDVjs.c.call(void 0, ),[{scrollToEndButtonBehavior:r}]=dN(),i=lN(),n=_chunkUQHIWKDVjs.X.call(void 0, "accessible name"),a=r!=="any",s=i(a?"TRANSCRIPT_NEW_MESSAGES":"TRANSCRIPT_MORE_MESSAGES"),c=i("TRANSCRIPT_LIVE_REGION_NEW_MESSAGES_ALT",n(Os),s);return _chunkUQHIWKDVjs._.call(void 0, a?Os:"",e),_chunkENHWW2TZjs.l.call(void 0, ()=>a&&_react2.default.createElement("div",{className:"webchat__scroll-to-end-button__status"},c),[c,a]),_react2.default.createElement("button",{"aria-keyshortcuts":a?n(Os):void 0,"aria-label":s,className:_classnames2.default.call(void 0, "webchat__scroll-to-end-button",o+""),onClick:t,ref:e,tabIndex:0,type:"button"},s)};Ff.displayName="ScrollToEndButton";var Ns=Ff;function Ms(){return[()=>()=>({atEnd:t,styleOptions:{scrollToEndButtonBehavior:e},unread:o})=>e?e==="any"?!t&&Ns:!t&&o&&Ns:!1]}var Ps=({className:t})=>_react2.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"14",role:"presentation",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M7.71094 7L13.1016 12.3984L12.3984 13.1016L7 7.71094L1.60156 13.1016L0.898438 12.3984L6.28906 7L0.898438 1.60156L1.60156 0.898438L7 6.28906L12.3984 0.898438L13.1016 1.60156L7.71094 7Z"}));Ps.defaultProps={className:void 0};Ps.propTypes={className:_proptypes2.default.string};var qf=Ps;var Es=({"aria-label":t,className:e})=>_react2.default.createElement("svg",{"aria-label":t,className:(e||"")+"",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M14.5605 5.81055L15.4395 6.68945L8.125 14.0039L4.56055 10.4395L5.43945 9.56055L8.125 12.2461L14.5605 5.81055ZM10 0C10.918 0 11.8034 0.120443 12.6562 0.361328C13.5091 0.595703 14.3066 0.93099 15.0488 1.36719C15.791 1.79688 16.4648 2.31771 17.0703 2.92969C17.6823 3.53516 18.2031 4.20898 18.6328 4.95117C19.069 5.69336 19.4043 6.49089 19.6387 7.34375C19.8796 8.19661 20 9.08203 20 10C20 10.918 19.8796 11.8034 19.6387 12.6562C19.4043 13.5091 19.069 14.3066 18.6328 15.0488C18.2031 15.791 17.6823 16.4681 17.0703 17.0801C16.4648 17.6855 15.791 18.2064 15.0488 18.6426C14.3066 19.0723 13.5091 19.4076 12.6562 19.6484C11.8034 19.8828 10.918 20 10 20C9.08203 20 8.19661 19.8828 7.34375 19.6484C6.49089 19.4076 5.69336 19.0723 4.95117 18.6426C4.20898 18.2064 3.5319 17.6855 2.91992 17.0801C2.31445 16.4681 1.79362 15.791 1.35742 15.0488C0.927734 14.3066 0.592448 13.5124 0.351562 12.666C0.117188 11.8132 0 10.9245 0 10C0 9.08203 0.117188 8.19661 0.351562 7.34375C0.592448 6.49089 0.927734 5.69336 1.35742 4.95117C1.79362 4.20898 2.31445 3.53516 2.91992 2.92969C3.5319 2.31771 4.20898 1.79688 4.95117 1.36719C5.69336 0.93099 6.48763 0.595703 7.33398 0.361328C8.18685 0.120443 9.07552 0 10 0ZM10 18.75C10.8008 18.75 11.5723 18.6458 12.3145 18.4375C13.0632 18.2292 13.7598 17.9362 14.4043 17.5586C15.0553 17.1745 15.6478 16.7155 16.1816 16.1816C16.7155 15.6478 17.1712 15.0586 17.5488 14.4141C17.9329 13.763 18.2292 13.0664 18.4375 12.3242C18.6458 11.582 18.75 10.8073 18.75 10C18.75 9.19922 18.6458 8.42773 18.4375 7.68555C18.2292 6.93685 17.9329 6.24023 17.5488 5.5957C17.1712 4.94466 16.7155 4.35221 16.1816 3.81836C15.6478 3.28451 15.0553 2.82878 14.4043 2.45117C13.7598 2.06706 13.0632 1.77083 12.3145 1.5625C11.5723 1.35417 10.8008 1.25 10 1.25C9.19922 1.25 8.42448 1.35417 7.67578 1.5625C6.93359 1.77083 6.23698 2.06706 5.58594 2.45117C4.94141 2.82878 4.35221 3.28451 3.81836 3.81836C3.28451 4.35221 2.82552 4.94466 2.44141 5.5957C2.0638 6.24023 1.77083 6.93685 1.5625 7.68555C1.35417 8.42773 1.25 9.19922 1.25 10C1.25 10.8008 1.35417 11.5755 1.5625 12.3242C1.77083 13.0664 2.0638 13.763 2.44141 14.4141C2.82552 15.0586 3.28451 15.6478 3.81836 16.1816C4.35221 16.7155 4.94141 17.1745 5.58594 17.5586C6.23698 17.9362 6.93359 18.2292 7.67578 18.4375C8.41797 18.6458 9.19271 18.75 10 18.75Z",fill:"#107C10"}));Es.defaultProps={"aria-label":void 0,className:void 0};Es.propTypes={"aria-label":_proptypes2.default.string,className:_proptypes2.default.string};var Kf=Es;var Ls=({"aria-label":t,className:e})=>_react2.default.createElement("svg",{"aria-label":t,className:(e||"")+"",height:"19",viewBox:"0 0 19 19",width:"19",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M9.375 0C10.2409 0 11.071 0.110677 11.8652 0.332031C12.666 0.553385 13.4147 0.869141 14.1113 1.2793C14.8079 1.68294 15.4395 2.17122 16.0059 2.74414C16.5788 3.31055 17.0671 3.94206 17.4707 4.63867C17.8809 5.33529 18.1966 6.08398 18.418 6.88477C18.6393 7.67904 18.75 8.50911 18.75 9.375C18.75 10.2409 18.6393 11.0742 18.418 11.875C18.1966 12.6693 17.8809 13.4147 17.4707 14.1113C17.0671 14.8079 16.5788 15.4427 16.0059 16.0156C15.4395 16.582 14.8079 17.0703 14.1113 17.4805C13.4147 17.8841 12.666 18.1966 11.8652 18.418C11.071 18.6393 10.2409 18.75 9.375 18.75C8.50911 18.75 7.67578 18.6393 6.875 18.418C6.08073 18.1966 5.33529 17.8841 4.63867 17.4805C3.94206 17.0703 3.30729 16.582 2.73438 16.0156C2.16797 15.4427 1.67969 14.8079 1.26953 14.1113C0.865885 13.4147 0.553385 12.6693 0.332031 11.875C0.110677 11.0742 0 10.2409 0 9.375C0 8.50911 0.110677 7.67904 0.332031 6.88477C0.553385 6.08398 0.865885 5.33529 1.26953 4.63867C1.67969 3.94206 2.16797 3.31055 2.73438 2.74414C3.30729 2.17122 3.94206 1.68294 4.63867 1.2793C5.33529 0.869141 6.08073 0.553385 6.875 0.332031C7.67578 0.110677 8.50911 0 9.375 0ZM9.375 17.5C10.1172 17.5 10.8333 17.4023 11.5234 17.207C12.2201 17.0117 12.8678 16.7383 13.4668 16.3867C14.0723 16.0352 14.6224 15.612 15.1172 15.1172C15.612 14.6224 16.0352 14.0755 16.3867 13.4766C16.7383 12.8711 17.0117 12.2233 17.207 11.5332C17.4023 10.8431 17.5 10.1237 17.5 9.375C17.5 8.63281 17.4023 7.91667 17.207 7.22656C17.0117 6.52995 16.7383 5.88216 16.3867 5.2832C16.0352 4.67773 15.612 4.1276 15.1172 3.63281C14.6224 3.13802 14.0723 2.71484 13.4668 2.36328C12.8678 2.01172 12.2201 1.73828 11.5234 1.54297C10.8333 1.34766 10.1172 1.25 9.375 1.25C8.6263 1.25 7.9069 1.34766 7.2168 1.54297C6.52669 1.73828 5.87891 2.01172 5.27344 2.36328C4.67448 2.71484 4.1276 3.13802 3.63281 3.63281C3.13802 4.1276 2.71484 4.67773 2.36328 5.2832C2.01172 5.88216 1.73828 6.52995 1.54297 7.22656C1.34766 7.91667 1.25 8.63281 1.25 9.375C1.25 10.1172 1.34766 10.8366 1.54297 11.5332C1.73828 12.2233 2.01172 12.8711 2.36328 13.4766C2.71484 14.0755 3.13802 14.6224 3.63281 15.1172C4.1276 15.612 4.67448 16.0352 5.27344 16.3867C5.87891 16.7383 6.52669 17.0117 7.2168 17.207C7.9069 17.4023 8.6263 17.5 9.375 17.5ZM8.75 5H10V11.25H8.75V5ZM8.75 12.5H10V13.75H8.75V12.5Z"}));Ls.defaultProps={"aria-label":void 0,className:void 0};Ls.propTypes={"aria-label":_proptypes2.default.string,className:_proptypes2.default.string};var Yf=Ls;var{useLocalizer:fN}=_botframeworkwebchatapi.hooks,Bs=({className:t,level:e})=>{let o=fN(),r={error:o("TOAST_ALT_ERROR"),info:o("TOAST_ALT_INFO"),success:o("TOAST_ALT_SUCCESS"),warn:o("TOAST_ALT_WARN")},i=!_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, e)&&r[e]||"";return _react2.default.createElement(_react2.default.Fragment,null,e==="success"?_react2.default.createElement(Kf,{"aria-label":i,className:t}):_react2.default.createElement(Yf,{"aria-label":i,className:t}))};Bs.defaultProps={className:void 0};Bs.propTypes={className:_proptypes2.default.string,level:_proptypes2.default.oneOf(["error","info","success","warn"]).isRequired};var Sn=Bs;function Sr(t=5){return _mathrandom2.default.call(void 0, ).toString(36).substr(2,t)}function _N(t){_chunkENHWW2TZjs.f.call(void 0, t,e=>{if(e&&/^\w/u.test(e))return{rel:"noopener noreferrer",target:"_blank"}})}var Uf=_N;function hN(t){let e=_chunkENHWW2TZjs.g.call(void 0, _micromark.micromark.call(void 0, t));Uf(e);let o=_chunkENHWW2TZjs.h.call(void 0, e);return _chunkENHWW2TZjs.i.call(void 0, o)}var Cn=hN;var{useDismissNotification:AN,useLocalizer:xN}=_botframeworkwebchatapi.hooks,SN={display:"flex","& .webchat__toast__text":{flex:1}},Zf=({notification:{alt:t,id:e,level:o,message:r=""}})=>{let[{toast:i}]=_chunkUQHIWKDVjs.c.call(void 0, ),n=_react.useMemo.call(void 0, ()=>`webchat__toast__${Sr()}`,[]),a=xN(),s=AN(),c=_chunkENHWW2TZjs.a.call(void 0, )(SN)+"",l=_react.useCallback.call(void 0, ()=>s(e),[s,e]),d=_react.useMemo.call(void 0, ()=>({__html:Cn(r)}),[r]);return _react2.default.createElement("div",{"aria-describedby":n,"aria-label":a("TOAST_TITLE_ALT"),className:_classnames2.default.call(void 0, "webchat__toast",{"webchat__toast--error":o==="error","webchat__toast--info":o==="info","webchat__toast--success":o==="success","webchat__toast--warn":o==="warn"},c,i+""),role:"dialog"},_react2.default.createElement("div",{className:"webchat__toast__iconBox"},_react2.default.createElement(Sn,{className:"webchat__toast__icon",level:o})),!!t&&_react2.default.createElement(_chunkJG75MOPDjs.d,{text:t}),_react2.default.createElement("div",{"aria-hidden":!!t,className:"webchat__toast__text",dangerouslySetInnerHTML:d,id:n}),_react2.default.createElement("button",{"aria-label":a("TOAST_DISMISS_BUTTON"),className:"webchat__toast__dismissButton",onClick:l,type:"button"},_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__toast__dismissButtonFocus"},_react2.default.createElement(qf,null))))};Zf.propTypes={notification:_proptypes2.default.shape({alt:_proptypes2.default.string,id:_proptypes2.default.string.isRequired,level:_proptypes2.default.string.isRequired,message:_proptypes2.default.string.isRequired}).isRequired};var Xf=Zf;function TN(){return()=>()=>({notification:t})=>_react2.default.createElement(Xf,{notification:t})}var Qf=TN;function kN(){return[()=>t=>(...e)=>{let[{notification:{id:o}}]=e;return o!=="connectivitystatus"&&t(...e)},Qf()]}var $f=kN;var{useDirection:NN,useLocalizer:MN}=_botframeworkwebchatapi.hooks,PN={"&.webchat__typing-indicator.webchat__typing-indicator--rtl":{transform:"scale(-1, 1)"}},EN=()=>{let[{typingAnimation:t}]=_chunkUQHIWKDVjs.c.call(void 0, ),[e]=NN(),o=MN(),r=_chunkENHWW2TZjs.a.call(void 0, )(PN)+"";return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:o("TYPING_INDICATOR_ALT")}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__typing-indicator",{"webchat__typing-indicator--rtl":e==="rtl"},r,t+""),"data-testid":_chunkUQHIWKDVjs.I.typingIndicator}))},tb=EN;var{useDirection:jN,useLocalizer:RN}=_botframeworkwebchatapi.hooks,FN=()=>{let[{typingIndicator:t}]=_chunkUQHIWKDVjs.c.call(void 0, ),[e]=jN(),o=RN();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, t+"",e==="rtl"&&"webchat__typing-indicator--rtl")},_react2.default.createElement(tb,{"aria-label":o("TYPING_INDICATOR_ALT")}))};function Rs(){return[()=>()=>({visible:t})=>t&&_react2.default.createElement(FN,null)]}var Tr={"code-block__body":"wWoZ38W_code-block__body","code-block":"wWoZ38W_code-block","code-block__theme--github-light-default":"wWoZ38W_code-block__theme--github-light-default","code-block__theme--github-dark-default":"wWoZ38W_code-block__theme--github-dark-default"},eb=Tr,tJ=Tr["code-block__body"];var eJ=Tr["code-block"];var oJ=Tr["code-block__theme--github-light-default"];var rJ=Tr["code-block__theme--github-dark-default"];var{useStyleOptions:zN,useLocalizer:WN}=_botframeworkwebchatapi.hooks,Mo,Po,Eo,kr=class extends HTMLElement{constructor(){super(...arguments);_chunkTMUNLKZWjs.b.call(void 0, this,"copyButtonElement");_chunkTMUNLKZWjs.d.call(void 0, this,Mo,!1);_chunkTMUNLKZWjs.d.call(void 0, this,Po);_chunkTMUNLKZWjs.d.call(void 0, this,Eo)}get code(){var o,r;return(r=(o=this.querySelector("code"))==null?void 0:o.textContent)!=null?r:""}get theme(){return this.getAttribute("theme")}set theme(o){this.setAttribute("theme",o)}get language(){return this.getAttribute("language")}set language(o){this.setAttribute("language",o)}get options(){let{theme:o}=this;return o?{theme:o}:void 0}connectedCallback(){_chunkTMUNLKZWjs.e.call(void 0, this,Mo,!0),this.scheduleUpdate()}disconnectedCallback(){_chunkTMUNLKZWjs.e.call(void 0, this,Mo,!1)}attributeChangedCallback(o,r,i){let n=!Object.is(r,i);_chunkTMUNLKZWjs.c.call(void 0, this,Mo)&&n&&this.scheduleUpdate()}scheduleUpdate(){_chunkTMUNLKZWjs.c.call(void 0, this,Eo)||_chunkTMUNLKZWjs.e.call(void 0, this,Eo,Promise.resolve().then(()=>{_chunkTMUNLKZWjs.e.call(void 0, this,Eo,void 0),this.update()}))}update(){let{code:o,language:r,options:i,ownerDocument:n}=this;if(!o)return;_chunkTMUNLKZWjs.c.call(void 0, this,Po)||(_chunkTMUNLKZWjs.e.call(void 0, this,Po,n.createDocumentFragment()),_chunkTMUNLKZWjs.c.call(void 0, this,Po).replaceChildren(...this.children));let a=this.highlightCode(o,r,i),s=a instanceof DocumentFragment?a:_chunkENHWW2TZjs.g.call(void 0, a);s.insertBefore(this.copyButtonElement,s.firstChild),this.replaceChildren(s),this.copyButtonElement&&(this.copyButtonElement.dataset.value=o)}highlightCode(...o){return _chunkJG75MOPDjs.L.call(void 0, ...o)}};Mo=new WeakMap,Po=new WeakMap,Eo=new WeakMap,_chunkTMUNLKZWjs.b.call(void 0, kr,"observedAttributes",["theme","language"]);var KN=t=>{let e=_chunkJG75MOPDjs.M.call(void 0, ),o=WN(),[{codeBlockTheme:r}]=zN(),i=o("COPY_BUTTON_COPIED_TEXT"),n=o("COPY_BUTTON_TEXT"),a=_react.useMemo.call(void 0, ()=>new EventTarget,[]),s=_react.useRef.call(void 0, );return _react.useMemo.call(void 0, ()=>{s.current=Object.freeze({codeBlockTheme:r,copyButtonAltCopied:i,copyButtonAltCopy:n,copyButtonTagName:t,highlightCode:e}),a.dispatchEvent(new CustomEvent("change"))},[r,i,n,t,e,a]),_react.useMemo.call(void 0, ()=>Object.freeze([a,s]),[a,s])};function Ds(t){let[e,o]=KN(t),r=_chunkTMUNLKZWjs.k.call(void 0, eb);return _react.useMemo.call(void 0, ()=>{var i,n,a,Fs,c;return i=class extends kr{constructor(){super(...arguments);_chunkTMUNLKZWjs.d.call(void 0, this,a);_chunkTMUNLKZWjs.d.call(void 0, this,n);_chunkTMUNLKZWjs.d.call(void 0, this,c,()=>{let p=_chunkTMUNLKZWjs.c.call(void 0, this,a,Fs),m=_chunkTMUNLKZWjs.c.call(void 0, this,n);if(_chunkTMUNLKZWjs.e.call(void 0, this,n,p),this.setAttribute("theme",p.codeBlockTheme),(m==null?void 0:m.highlightCode)!==p.highlightCode&&this.scheduleUpdate(),(m==null?void 0:m.copyButtonTagName)!==p.copyButtonTagName||!this.copyButtonElement){let{ownerDocument:u}=this;this.copyButtonElement=u.createElement(p.copyButtonTagName),this.scheduleUpdate()}this.copyButtonElement.dataset.altCopy=p.copyButtonAltCopy,this.copyButtonElement.dataset.altCopied=p.copyButtonAltCopied})}connectedCallback(){this.classList.add(...r["code-block"].split(/\s+/gu)),e.addEventListener("change",_chunkTMUNLKZWjs.c.call(void 0, this,c)),_chunkTMUNLKZWjs.c.call(void 0, this,c).call(this),super.connectedCallback()}update(){var u,f;super.update();let p=this.querySelector("pre");p==null||p.classList.add(...r["code-block__body"].split(/\s+/gu));let m=(u=this.options)==null?void 0:u.theme;m&&(p==null||p.classList.add(...((f=r[`code-block__theme--${m}`])!=null?f:`code-block__theme--${m}`).split(/\s+/gu)))}disconnectedCallback(){e.removeEventListener("change",_chunkTMUNLKZWjs.c.call(void 0, this,c)),super.disconnectedCallback()}highlightCode(...p){let[,m,u]=p;return!m||!u?_chunkJG75MOPDjs.L.call(void 0, ...p):_chunkTMUNLKZWjs.c.call(void 0, this,a,Fs).highlightCode(...p)}},n=new WeakMap,a=new WeakSet,Fs=function(){return o.current},c=new WeakMap,_chunkTMUNLKZWjs.b.call(void 0, i,"observedAttributes",kr.observedAttributes),i},[r,o,e])}var _reactdom = require('react-dom');var eo={DISCONNECTED:0,CONNECTED:1,PENDING:2};function zs(t,e){var r,i,n,qs,s;let o=e.map(c=>c==="className"?"class":c);return s=class extends HTMLElement{constructor(){super();_chunkTMUNLKZWjs.d.call(void 0, this,n);_chunkTMUNLKZWjs.d.call(void 0, this,r,eo.DISCONNECTED);_chunkTMUNLKZWjs.d.call(void 0, this,i);let d=_chunkTMUNLKZWjs.e.call(void 0, this,i,new Map);for(let p of o){let m=this.getAttribute(p);typeof m=="string"&&d.set(p==="class"?"className":p,m)}}static get observedAttributes(){return o}attributeChangedCallback(d,p,m){d==="class"&&(d="className");let u=new Map(_chunkTMUNLKZWjs.c.call(void 0, this,i));typeof m=="string"?_chunkTMUNLKZWjs.c.call(void 0, this,i).set(d,m):_chunkTMUNLKZWjs.c.call(void 0, this,i).delete(d),!(u.size===_chunkTMUNLKZWjs.c.call(void 0, this,i).size&&Array.from(new Set(u.keys()).union(new Set(_chunkTMUNLKZWjs.c.call(void 0, this,i)))).every(b=>Object.is(u.get(b),_chunkTMUNLKZWjs.c.call(void 0, this,i).get(b))))&&_chunkTMUNLKZWjs.c.call(void 0, this,r)===eo.CONNECTED&&_reactdom.render.call(void 0, _react.createElement.call(void 0, t,_chunkTMUNLKZWjs.f.call(void 0, this,n,qs).call(this)),this)}connectedCallback(){_chunkTMUNLKZWjs.c.call(void 0, this,r)!==eo.PENDING&&_reactdom.render.call(void 0, _react.createElement.call(void 0, t,_chunkTMUNLKZWjs.f.call(void 0, this,n,qs).call(this)),this),_chunkTMUNLKZWjs.e.call(void 0, this,r,eo.CONNECTED)}async disconnectedCallback(){_chunkTMUNLKZWjs.e.call(void 0, this,r,eo.PENDING),await Promise.resolve(),_chunkTMUNLKZWjs.c.call(void 0, this,r)===eo.PENDING&&(_chunkTMUNLKZWjs.e.call(void 0, this,r,eo.DISCONNECTED),_reactdom.unmountComponentAtNode.call(void 0, this),this.replaceChildren())}},r=new WeakMap,i=new WeakMap,n=new WeakSet,qs=function(){let d=Array.from(_chunkTMUNLKZWjs.c.call(void 0, this,i).entries());return Object.freeze(Object.fromEntries(d))},s}var Ir={"code-block-copy-button__icon":"wGHOKkG_code-block-copy-button__icon","code-block-copy-button__icon--copied":"wGHOKkG_code-block-copy-button__icon--copied","code-block-copy-button--copied":"wGHOKkG_code-block-copy-button--copied","code-block-copy-button":"wGHOKkG_code-block-copy-button"},ib=Ir,CJ=Ir["code-block-copy-button__icon"];var TJ=Ir["code-block-copy-button__icon--copied"];var kJ=Ir["code-block-copy-button--copied"];var IJ=Ir["code-block-copy-button"];var ab=_react.memo.call(void 0, ({className:t,"data-alt-copied":e,"data-alt-copy":o,"data-value":r})=>{let i=_chunkTMUNLKZWjs.k.call(void 0, ib),[n,a,s]=_usestatewithref.useStateWithRef.call(void 0, !1),[c,l]=_react.useState.call(void 0, !1),d=_usereffrom.useRefFrom.call(void 0, r),p=_react.useCallback.call(void 0, ()=>{if(s.current)return;let u=!1;return(async()=>{var f;try{let{state:b}=await navigator.permissions.query({name:"clipboard-write"});u||(b==="granted"?(await((f=navigator.clipboard)==null?void 0:f.write([new ClipboardItem({"text/plain":new Blob([d.current],{type:"text/plain"})})])),u||l(!0)):b==="denied"&&a(!0))}catch(b){console.warn("botframework-webchat: Failed to copy code block to clipboard.",b)}})(),()=>{u=!0}},[s,a,l,d]),m=_react.useCallback.call(void 0, ()=>l(!1),[l]);return _react2.default.createElement("button",{"aria-disabled":n,"aria-live":"assertive","aria-pressed":c?"true":void 0,className:_classnames2.default.call(void 0, t,i["code-block-copy-button"],{[i["code-block-copy-button--copied"]]:c}),"data-testid":_chunkUQHIWKDVjs.I.codeBlockCopyButton,onAnimationEnd:m,onClick:p,type:"button"},_react2.default.createElement(_chunkENHWW2TZjs.e,{"aria-hidden":c?"true":void 0,"aria-label":o,className:_classnames2.default.call(void 0, i["code-block-copy-button__icon"],i["code-block-copy-button__icon--copy"]),icon:c?"copy-code-checkmark":"copy-code",role:"img"}),_react2.default.createElement("div",{"aria-hidden":c?void 0:"true","aria-label":e,className:_classnames2.default.call(void 0, i["code-block-copy-button__icon"],i["code-block-copy-button__icon--copied"]),role:"img"}))});ab.displayName="CodeBlockCopyButton";var sb=zs(ab,["className","data-alt-copied","data-alt-copy","data-value"]);var $N=({children:t})=>{let e=_react.useMemo.call(void 0, ()=>_mathrandom2.default.call(void 0, ).toString(36).substring(2,7),[]),o=_react.useCallback.call(void 0, (s,c)=>{let l=`webchat-${e}--${s}`;return customElements.define(l,class extends c{static get observedAttributes(){return Object.freeze("observedAttributes"in c?c.observedAttributes:[])}}),l},[e]),r=_react.useMemo.call(void 0, ()=>o("code-block-copy-button",sb),[o]),i=Ds(r),n=_react.useMemo.call(void 0, ()=>o("code-block",i),[i,o]),a=_react.useMemo.call(void 0, ()=>Object.freeze({codeBlockTagName:n,codeBlockCopyButtonTagName:r}),[n,r]);return _react2.default.createElement(_chunkUQHIWKDVjs.e.Provider,{value:a},t)},cb=_react.memo.call(void 0, $N);var db=_react.memo.call(void 0, ({children:t,middleware:e})=>{let o=_react.useMemo.call(void 0, ()=>(e||[]).map(n=>n()).reverse().reduce((n,a)=>a(n),n=>{let a=document.createDocumentFragment(),s=document.createElement("p");return s.textContent=n.documentFragment.firstElementChild.outerHTML,a.append(s),a}),[e]),r=_react.useMemo.call(void 0, ()=>Object.freeze({transform:o}),[o]);return _react2.default.createElement(_chunkUQHIWKDVjs.d.Provider,{value:r},t)});db.displayName="HTMLContentTransformComposer";var pb=db;var{useConnectivityStatus:s2,useLocalizer:c2,useSendBoxAttachments:l2,useSendBoxValue:d2,useSubmitSendBox:p2}=_botframeworkwebchatapi.hooks,u2={"&.webchat__submit-error-message":{color:"transparent",height:1,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}},mb=({children:t})=>{let[e]=l2(),[o]=s2(),[r,i]=_react.useState.call(void 0, !1),[n]=d2(),a=p2(),s=_chunkUQHIWKDVjs.p.call(void 0, ),c=c2(),l=_chunkUQHIWKDVjs.z.call(void 0, ),d=_chunkENHWW2TZjs.a.call(void 0, ),p=_chunkJG75MOPDjs.a.call(void 0, "webchat__send-box__error-message-id"),m=_react.useMemo.call(void 0, ()=>Object.freeze(new Map().set("empty",c("SEND_BOX_IS_EMPTY_TOOLTIP_ALT")).set("offline",c("CONNECTIVITY_STATUS_ALT_FATAL"))),[c]),u=_usereffrom.useRefFrom.call(void 0, s),f=_usereffrom.useRefFrom.call(void 0, l),b=d(u2)+"",y=_react.useMemo.call(void 0, ()=>Object.freeze([r?p:void 0]),[r,p]),v=_usereffrom.useRefFrom.call(void 0, o!=="connected"&&o!=="reconnected"?"offline":!n&&!e.length?"empty":void 0),h=_react.useCallback.call(void 0, ({setFocus:k}={})=>{var _,S;(k==="main"||k==="sendBox"||k==="sendBoxWithoutKeyboard")&&((_=u.current)==null||_.call(u,k==="main"||k==="sendBox"?k:"sendBoxWithoutKeyboard"));let{current:I}=v;i(I!=null?I:!1),I||((S=f.current)==null||S.call(f),a())},[a,u,f,v]),x=_react.useMemo.call(void 0, ()=>({submit:h,submitErrorMessageIdState:y}),[h,y]),w=!!(n!=null&&n.trim());_react.useEffect.call(void 0, ()=>{r==="empty"&&w&&i(!1)},[r,w]);let g=r&&m.get(r);return _chunkENHWW2TZjs.l.call(void 0, ()=>g&&_react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__submit-error-message__status")},g),[g]),_react2.default.createElement(_chunkUQHIWKDVjs.G.Provider,{value:x},t,_react2.default.createElement("span",{className:_classnames2.default.call(void 0, "webchat__submit-error-message",b),id:p},r?m.get(r):""))};mb.displayName="SendBoxComposer";var fb=_react.memo.call(void 0, mb);var{useLocalizer:v2}=_botframeworkwebchatapi.hooks,bb=_react.memo.call(void 0, ({"aria-label":t,"aria-labelledby":e,children:o,className:r,onDismiss:i})=>{let[{modalDialog:n}]=_chunkUQHIWKDVjs.c.call(void 0, ),a=_react.useRef.call(void 0, null),c=v2()("CLOSE_BUTTON_ALT"),l=_react.useCallback.call(void 0, ()=>{var d;return(d=a.current)==null?void 0:d.close()},[a]);return _react.useLayoutEffect.call(void 0, ()=>{var d;return(d=a.current)==null?void 0:d.showModal()},[a]),_react2.default.createElement("dialog",{"aria-label":e?void 0:t,"aria-labelledby":e,className:_classnames2.default.call(void 0, "webchat__modal-dialog",r,n+""),onClose:i,open:!1,ref:a,role:"dialog"},_react2.default.createElement("div",{className:"webchat__modal-dialog__box"},_react2.default.createElement("div",{className:"webchat__modal-dialog__close-button-layout"},_react2.default.createElement("button",{"aria-label":c,className:"webchat__modal-dialog__close-button",onClick:l,type:"button"},_react2.default.createElement(_chunkENHWW2TZjs.e,{appearance:"text",className:"webchat__modal-dialog__close-button-icon",icon:"dismiss"}))),_react2.default.createElement("div",{className:"webchat__modal-dialog__body"},o)))});bb.displayName="ModalDialog";var _b=bb;var vb=_react.memo.call(void 0, ({children:t})=>{var a,s,c;let[e,o]=_react.useState.call(void 0, ),r=_react.useCallback.call(void 0, ()=>o(void 0),[o]),i=_react.useCallback.call(void 0, (l,d)=>o(Object.freeze([l,d])),[o]),n=_react.useMemo.call(void 0, ()=>Object.freeze({close:r,showModal:i}),[r,i]);return _react2.default.createElement(ji.Provider,{value:n},t,e&&_react2.default.createElement(_b,{"aria-label":(a=e[1])==null?void 0:a["aria-label"],"aria-labelledby":(s=e[1])==null?void 0:s["aria-labelledby"],className:(c=e[1])==null?void 0:c.className,onDismiss:r},e[0]()))});vb.displayName="ModalDialogComposer";var wb=vb;var gb=_react.memo.call(void 0, ({children:t})=>{let e=_react.useMemo.call(void 0, ()=>matchMedia==null?void 0:matchMedia("(prefers-reduced-motion: reduce)"),[]),[o,r]=_react.useState.call(void 0, ()=>{var a;return(a=e==null?void 0:e.matches)!=null?a:!1}),i=_react.useMemo.call(void 0, ()=>Object.freeze([o]),[o]),n=_react.useMemo.call(void 0, ()=>Object.freeze({shouldReduceMotionState:i}),[i]);return _react.useEffect.call(void 0, ()=>{let a=({matches:s})=>r(s);return e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[r,e]),_react2.default.createElement(_chunkUQHIWKDVjs.j.Provider,{value:n},t)});gb.displayName="ReducedMotionComposer";var Ab=gb;var Mt=Object.freeze([]),Or=_react.createContext.call(void 0, {activityMiddleware:Mt,activityStatusMiddleware:Mt,attachmentForScreenReaderMiddleware:Mt,attachmentMiddleware:Mt,avatarMiddleware:Mt,cardActionMiddleware:Mt,groupActivitiesMiddleware:Mt,polymiddleware:Mt,scrollToEndButtonMiddleware:Mt,sendBoxMiddleware:Mt,sendBoxToolbarMiddleware:Mt,toastMiddleware:Mt,typingIndicatorMiddleware:Mt});function Us(){return _react.useContext.call(void 0, Or)}var{useStyleOptions:M2}=_botframeworkwebchatapi.hooks,P2=({className:t})=>{let[{hideSendBox:e}]=M2();return e?null:_react2.default.createElement(_chunkUQHIWKDVjs.fa,{className:t})},E2=()=>Object.freeze([()=>()=>()=>P2]),xb=E2;var B2={"&.webchat__attachment-icon":{display:"grid",gridTemplateArea:"body",position:"relative","& .webchat__attachment-icon__icon":{gridArea:"body"},"&:not(.webchat__attachment-icon--checked) .webchat__attachment-icon__checkmark-icon":{display:"none"},"& .webchat__attachment-icon__checkmark-icon":{border:"2px solid white",borderRadius:"50%",position:"absolute",left:"45%",top:"50%"}}},j2=({checked:t})=>{let e=_chunkENHWW2TZjs.a.call(void 0, )(B2)+"";return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__attachment-icon",{"webchat__attachment-icon--checked":t},e)},_react2.default.createElement(_chunkENHWW2TZjs.e,{appearance:"text",className:"webchat__attachment-icon__icon",icon:t?"attachment-checkmark":"attachment"}))},Cb=j2;var{useSendBoxAttachments:V2,useLocalizer:U2,useStyleOptions:J2,useUIState:Z2}=_botframeworkwebchatapi.hooks,X2={"&.webchat__upload-button":{display:"flex",overflow:"hidden",position:"relative","& .webchat__upload-button--file-input":{height:0,width:0,opacity:0,position:"absolute",left:0,top:0}}},Q2=t=>t.preventDefault(),$2=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.string.call(void 0, )}),_valibot.readonly.call(void 0, ));function tM(t){let{className:e}=_chunkTMUNLKZWjs.h.call(void 0, $2,t),[{sendAttachmentOn:o,uploadAccept:r,uploadMultiple:i}]=J2(),[{uploadButton:n}]=_chunkUQHIWKDVjs.c.call(void 0, ),[a,s]=_react.useState.call(void 0, 0),[c,l]=V2(),[d]=Z2(),p=_chunkUQHIWKDVjs.p.call(void 0, ),m=_react.useRef.call(void 0, null),u=U2(),f=_chunkUQHIWKDVjs.s.call(void 0, ),b=_chunkENHWW2TZjs.a.call(void 0, )(X2)+"",y=_chunkUQHIWKDVjs.H.call(void 0, ),v=d==="disabled",h=_usereffrom.useRefFrom.call(void 0, o),x=_usereffrom.useRefFrom.call(void 0, c),w=u("TEXT_INPUT_UPLOAD_BUTTON_ALT"),g=_react.useCallback.call(void 0, ()=>{var I;return(I=m.current)==null?void 0:I.click()},[m]),k=_react.useCallback.call(void 0, ({currentTarget:I})=>{p("sendBox"),(async function(){l(Object.freeze([...x.current,...await Promise.all(Array.from(I.files).map(async _=>{let S=x.current.find(B=>B.blob===_);if(S)return S;let N=await f(_);return{blob:_,thumbnailURL:N}}))])),s(_mathrandom2.default.call(void 0, )),h.current==="attach"&&y()})()},[p,f,x,h,s,l,y]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, b,"webchat__upload-button",n+"",e)},_react2.default.createElement("input",{accept:r,"aria-disabled":v,"aria-hidden":"true",className:"webchat__upload-button--file-input",key:a,multiple:i,onChange:v?void 0:k,onClick:v?Q2:void 0,readOnly:v,ref:m,role:"button",tabIndex:-1,type:"file"}),_react2.default.createElement(_chunkUQHIWKDVjs.Q,{alt:w,"aria-label":w,disabled:v,onClick:g},_react2.default.createElement(Cb,{checked:!!c.length})))}var Nn=_react.memo.call(void 0, tM);var{useStyleOptions:iM}=_botframeworkwebchatapi.hooks;function nM({className:t}){let[{disableFileUpload:e}]=iM();return!e&&_react2.default.createElement(Nn,{className:t})}var Mn=_react.memo.call(void 0, nM);var aM=()=>Object.freeze([()=>()=>()=>Mn]),Ib=aM;function Js(){return{margin:0,padding:0}}function Zs(){return{"&.webchat__activity-button":{alignItems:"center",appearance:"none",background:"#fff",borderRadius:"4px",border:"1px solid #d1d1d1",color:"#242424",display:"flex",gap:"4px",justifyContent:"center",padding:"5px 12px","&:hover":{background:"#f5f5f5",border:"1px solid #c7c7c7",color:"#242424"},"&:active":{background:"#e0e0e0",border:"1px solid #b3b3b3",color:"#242424"},"&:focus-visible":{background:"#fff",outline:"2px solid #000",outlineOffset:"-2px"},'&[aria-disabled="true"]':{background:"#f0f0f0",border:"1px solid #e0e0e0",color:"#bdbdbd",cursor:"not-allowed"},"& .webchat__activity-button__icon":{height:"20px",width:"20px","--webchat__component-icon--color":"#707070","--webchat__component-icon--size":"20px"}}}}function Xs(){return{"&.webchat__activity-copy-button":{overflow:["clip","hidden"],position:"relative","& .webchat__activity-copy-button__copied-text":{alignItems:"center",backgroundColor:"#fff",display:"flex",height:"100%",justifyContent:"center",position:"absolute",visibility:"hidden",width:"100%"},"&.webchat__activity-copy-button--copied":{".webchat__activity-copy-button__copied-text":{animation:"webchat__activity-copy-button__copied-animation 0.7s linear"},".webchat__activity-button__icon, .webchat__activity-button__text":{visibility:"hidden"}},"@keyframes webchat__activity-copy-button__copied-animation":{"0%":{visibility:"visible"},"100%":{visibility:"unset"}}}}}function Qs(){return{display:"flex",minHeight:D.SizeAvatar}}function $s(){return{width:"100%"}}function tc({primaryFont:t}){return{"&.webchat__auto-resize-textarea":{fontFamily:t,overflow:"hidden",position:"relative","& .webchat__auto-resize-textarea__doppelganger":{color:"transparent",height:"100%",overflowY:"auto",userSelect:"none",width:"inherit",whiteSpace:"pre-wrap",wordBreak:"break-word"},"& .webchat__auto-resize-textarea__textarea":{appearance:"none",backgroundColor:"transparent",border:0,color:"inherit",fontFamily:"inherit",fontSize:"inherit",height:"100%",left:0,margin:0,outline:0,overflowY:"auto",padding:0,position:"absolute",resize:"none",top:0,width:"100%",wordBreak:"break-word"}}}}function ec({avatarBorderRadius:t}){return{"&.webchat__defaultAvatar":{borderRadius:t,height:D.SizeAvatar,width:D.SizeAvatar}}}function oc({paddingRegular:t,primaryFont:e,transcriptActivityVisualKeyboardIndicatorColor:o,transcriptActivityVisualKeyboardIndicatorStyle:r,transcriptActivityVisualKeyboardIndicatorWidth:i,transcriptTerminatorBackgroundColor:n,transcriptTerminatorBorderRadius:a,transcriptTerminatorColor:s,transcriptTerminatorFontSize:c,transcriptVisualKeyboardIndicatorColor:l,transcriptVisualKeyboardIndicatorStyle:d,transcriptVisualKeyboardIndicatorWidth:p}){return{"&.webchat__basic-transcript":{"&:focus":{outline:0,"& .webchat__basic-transcript__activity-indicator.webchat__basic-transcript__activity-indicator--focus":{borderColor:o,borderStyle:r,borderWidth:i,boxSizing:"border-box",height:`calc(100% - ${t/2}px)`,left:0,marginBottom:0,marginLeft:t/2,marginRight:t/2,marginTop:0,pointerEvents:"none",position:"absolute",top:0,width:`calc(100% - ${t}px)`}},"&:focus-visible .webchat__basic-transcript__focus-indicator, .webchat__basic-transcript__terminator:focus-visible + .webchat__basic-transcript__focus-indicator":{height:"100%",borderColor:l,borderStyle:d,borderWidth:p,boxSizing:"border-box",pointerEvents:"none",position:"absolute",top:0,width:"100%"},"& .webchat__basic-transcript__activity":{paddingTop:t/2,position:"relative","&:first-child":{marginTop:t/2},"&:not(:first-child)":{marginTop:-t/2}},"& .webchat__basic-transcript__activity-active-descendant":{height:"100%",left:0,marginTop:-t/2,paddingBottom:t/2,pointerEvents:"none",position:"absolute",top:0,width:"100%"},"& .webchat__basic-transcript__activity-body:not(:empty)":{paddingBottom:t},"& .webchat__basic-transcript__terminator":{bottom:0,height:0,outline:0,position:"relative",width:"100%"},"& .webchat__basic-transcript__terminator-body":{bottom:0,display:"flex",justifyContent:"center",position:"absolute",width:"100%"},"& .webchat__basic-transcript__terminator:not(:focus) .webchat__basic-transcript__terminator-body":{display:"none"},"& .webchat__basic-transcript__terminator-text":{backgroundColor:n,borderRadius:a,color:s,fontFamily:e,fontSize:c,margin:t/2,padding:t/2}}}}function Re(t,e){let o={};for(let[i,n]of Object.entries(e))if(typeof n=="number"||typeof n=="string"){let a=i.replace(/(^left|^right|Left|Right)/u,s=>s==="Left"?"Right":s==="left"?"right":s==="Right"?"Left":"left");_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, a)||(o[a]=n)}else _botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, i)||(o[i]=Re("",n));let r=/^&\s*/gu.exec(t)||"";return t?{[`${r}:not(${t.substr(r.length)})`]:e,[t]:o}:o}function rc({bubbleBackground:t,bubbleBorderColor:e,bubbleBorderRadius:o,bubbleBorderStyle:r,bubbleBorderWidth:i,bubbleFromUserBackground:n,bubbleFromUserBorderColor:a,bubbleFromUserBorderRadius:s,bubbleFromUserBorderStyle:c,bubbleFromUserBorderWidth:l,bubbleFromUserNubOffset:d,bubbleFromUserNubSize:p,bubbleFromUserTextColor:m,bubbleMinHeight:u,bubbleNubOffset:f,bubbleNubSize:b,bubbleTextColor:y,messageActivityWordBreak:v,paddingRegular:h,transitionDuration:x}){let w=typeof f=="number"?Math.min(o,Math.abs(f)):o,g=typeof d=="number"?Math.min(s,Math.abs(d)):s;return{"&.webchat__bubble":{"& .webchat__bubble__content":{marginLeft:0,marginRight:0,transitionDuration:x,transitionProperty:"margin-left, margin-right",wordBreak:v},"& .webchat__bubble__nub":{overflow:"hidden",position:"absolute"},"& .webchat__bubble__nub-pad":{transitionDuration:x,transitionProperty:"width",width:0},"&.webchat__bubble--hide-nub, &.webchat__bubble--show-nub":{"& .webchat__bubble__nub-pad":{width:h}},"&.webchat__bubble--rtl .webchat__bubble__nub":{transform:"scale(-1, 1)"},"&:not(.webchat__bubble--from-user)":{"& .webchat__bubble__content":{background:t,borderColor:e,borderRadius:o,borderStyle:r,borderWidth:i,color:y,minHeight:u-i*2},...typeof b=="number"?{"& .webchat__bubble__nub":{height:b,width:b}}:{},"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub":{bottom:-f},"&.webchat__bubble--nub-on-top .webchat__bubble__nub":{top:f},"& .webchat__bubble__nub-outline":{fill:t,stroke:e,strokeWidth:i}},"&.webchat__bubble--from-user":{flexDirection:"row-reverse","& .webchat__bubble__content":{background:n,borderColor:a,borderRadius:s,borderStyle:c,borderWidth:l,color:m,minHeight:u-l*2},...typeof p=="number"?{"& .webchat__bubble__nub":{height:p,width:p}}:{},"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub":{bottom:-d},"&.webchat__bubble--nub-on-top .webchat__bubble__nub":{top:d},"& .webchat__bubble__nub-outline":{fill:n,stroke:a,strokeWidth:l}},...Re("&.webchat__bubble--rtl",{"&:not(.webchat__bubble--from-user)":{"&.webchat__bubble--show-nub":{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__content":{borderBottomLeftRadius:w},"&.webchat__bubble--nub-on-top .webchat__bubble__content":{borderTopLeftRadius:w}},...typeof b=="number"?{"& .webchat__bubble__nub":{left:i-b+h}}:{}},"&.webchat__bubble--from-user":{"&.webchat__bubble--show-nub":{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__content":{borderBottomRightRadius:g},"&.webchat__bubble--nub-on-top .webchat__bubble__content":{borderTopRightRadius:g}},...typeof p=="number"?{"& .webchat__bubble__nub":{right:l-p+h}}:{}}})}}}function ic({avatarSize:t,bubbleMessageMaxWidth:e,paddingRegular:o,transitionDuration:r}){return{"&.webchat__carousel-filmstrip":{"@supports (-moz-appearance: none)":{marginBottom:-17},"& .webchat__carousel-filmstrip__bubble":{maxWidth:D.MaxWidthMessageBubble,minWidth:D.MinWidthMessageBubble,transitionDuration:r,transitionProperty:"max-width"},"&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub, &.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__bubble":{maxWidth:e+o}},"& .webchat__carousel-filmstrip__alignment-pad":{transitionDuration:r,transitionProperty:"width",width:D.PaddingRegular},"&.webchat__carousel-filmstrip--extra-trailing .webchat__carousel-filmstrip__alignment-pad":{width:o*2},"&:not(.webchat__carousel-filmstrip--no-message) .webchat__carousel-filmstrip__attachments":{marginTop:o},"& .webchat__carousel-filmstrip__avatar-gutter":{alignItems:"flex-end",transitionDuration:r,transitionProperty:"width"},"& .webchat__carousel-filmstrip__nub-pad":{transitionDuration:r,transitionProperty:"width",width:0},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__avatar-gutter":{width:D.SizeAvatar}},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar, &.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub":{"& .webchat__carousel-filmstrip__nub-pad":{width:o}},"&:not(.webchat__carousel-filmstrip--top-callout) .webchat__carousel-filmstrip__avatar-gutter":{justifyContent:"flex-end"},...Re("&.webchat__carousel-filmstrip--rtl",{"& .webchat__carousel-filmstrip__avatar-gutter":{marginLeft:o},"& .webchat__carousel-filmstrip__attachments":{marginLeft:-o},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__attachments":{marginLeft:-(t+o*2)}},"&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub":{"&:not(.webchat__carousel-filmstrip--hide-avatar.webchat__carousel-filmstrip--show-avatar)":{"& .webchat__carousel-filmstrip__attachments":{marginLeft:-o*2}}}})}}}function nc({avatarSize:t,paddingRegular:e,transcriptVisualKeyboardIndicatorColor:o,transcriptVisualKeyboardIndicatorStyle:r,transcriptVisualKeyboardIndicatorWidth:i,transitionDuration:n}){return{"&.webchat__carousel-filmstrip-attachment":{maxWidth:D.MaxWidthAttachmentBubble,minWidth:D.MinWidthAttachmentBubble,transitionDuration:n,transitionProperty:"max-width, min-width","&:focus":{outline:0},"&:focus .webchat__carousel-filmstrip-attachment--focus":{borderColor:o,borderStyle:r,borderWidth:i,boxSizing:"border-box",height:`calc(100% - ${i}px)`,left:0,pointerEvents:"none",position:"absolute",top:0,width:`calc(100% - ${i}px)`}},...Re("&.webchat__carousel-filmstrip-attachment--rtl",{paddingLeft:e,"&.webchat__carousel-filmstrip-attachment--hide-avatar, &.webchat__carousel-filmstrip-attachment--show-avatar":{"&:first-child":{paddingLeft:t+e*2}},"&.webchat__carousel-filmstrip-attachment--hide-nub, &.webchat__carousel-filmstrip-attachment--show-nub":{"&:not(.webchat__carousel-filmstrip-attachment--hide-avatar.webchat__carousel-filmstrip-attachment--show-avatar):first-child":{paddingLeft:e*2}}})}}function ac({transcriptOverlayButtonBackground:t,transcriptOverlayButtonBackgroundOnDisabled:e,transcriptOverlayButtonBackgroundOnFocus:o,transcriptOverlayButtonBackgroundOnHover:r,transcriptOverlayButtonColor:i,transcriptOverlayButtonColorOnDisabled:n,transcriptOverlayButtonColorOnFocus:a,transcriptOverlayButtonColorOnHover:s}){return{"&.webchat__carousel-layout":{"& .react-film__flipper":{"& .react-film__flipper__body":{backgroundColor:t,color:i,outline:0},'&:disabled, &[aria-disabled="true"]':{"& .react-film__flipper__body":{backgroundColor:e,color:n}},"&:focus .react-film__flipper__body":{backgroundColor:o,color:a||i},"&:hover .react-film__flipper__body":{backgroundColor:r,color:s||i}}}}}function sc(){return{"&.webchat__chat-history-box":{display:"flex",flex:"auto",overflow:["clip","hidden"],position:"relative"},".webchat__chat-history-box__toolbar":{bottom:"5px",isolation:"isolate",position:"absolute",right:"20px",zIndex:1,"&.webchat__chat-history-box__toolbar--rtl":{left:"20px"}}}}function cc(){return{"&.webchat__citation-modal-dialog":{"& .webchat__citation-modal-dialog__body":{lineHeight:"20px"}}}}function lc({connectivityMarginLeftRight:t,connectivityMarginTopBottom:e,connectivityTextSize:o,notificationText:r,primaryFont:i}){return{alignItems:"center",color:r,display:"flex",fontFamily:i,fontSize:o,marginBottom:e,marginLeft:t,marginRight:t,marginTop:e}}function dc({paddingRegular:t,primaryFont:e}){return{fontFamily:e,margin:0,paddingBottom:0,paddingLeft:t,paddingRight:t,paddingTop:0,"&.dictating > span:not(:first-child), &.status":{opacity:.5}}}function pc({monospaceFont:t,primaryFont:e}){return{display:"flex",flexDirection:"column",fontFamily:e,margin:0,minHeight:20,maxHeight:200,overflowY:"auto",WebkitOverflowScrolling:"touch","& > :first-child":{backgroundColor:"#B60000",color:"White",padding:"5px 10px"},"& > :last-child":{borderColor:"#B60000",borderStyle:"dashed",borderBottomWidth:2,borderLeftWidth:2,borderRightWidth:2,borderTopWidth:0,margin:0,overflowY:"auto",padding:10,"& > pre":{fontFamily:t,fontSize:"60%",margin:0}}}}function uc({connectivityIconPadding:t,connectivityMarginLeftRight:e,connectivityMarginTopBottom:o,connectivityTextSize:r,failedConnectivity:i,primaryFont:n}){return{alignItems:"center",color:i,display:"flex",fontFamily:n,fontSize:r,fontWeight:"bold",marginBottom:o,marginLeft:e,marginRight:e,marginTop:o,"& > svg":{fill:i,"&:not(.webchat__error--rtl)":{paddingRight:t},"&.webchat__error--rtl":{paddingLeft:t}}}}function mc({accent:t,bubbleTextColor:e,paddingRegular:o,primaryFont:r}){return{color:e,display:"flex",fontFamily:r,padding:o,"& .webchat__fileContent__badge":{justifyContent:"center"},"& .webchat__fileContent__buttonLink":{alignItems:"center",color:e,textDecoration:"none","&:focus":{backgroundColor:"rgba(0, 0, 0, .1)"}},"& .webchat__fileContent__downloadIcon":{color:t,fontSize:"33px",padding:o,"&:not(.webchat__fileContent__downloadIcon--rtl)":{marginLeft:o},"&.webchat__fileContent__downloadIcon--rtl":{marginRight:o}},"& .webchat__fileContent__fileName":{color:t}}}function fc(){return{alignItems:"center",display:"flex",height:D.SizeAvatar,justifyContent:"center",overflow:["hidden","clip"],width:D.SizeAvatar}}function bc({accent:t,botAvatarBackgroundColor:e,userAvatarBackgroundColor:o}){return{"&.webchat__initialsAvatar":{alignItems:"center",color:"White",fontFamily:D.FontPrimary,height:D.SizeAvatar,justifyContent:"center",overflow:"hidden",width:D.SizeAvatar,"&.webchat__initialsAvatar--fromUser":{backgroundColor:o||t},"&:not(.webchat__initialsAvatar--fromUser)":{backgroundColor:e||t}}}}var Fe="@media (forced-colors: active)";var be="@media (forced-colors: none)";var _c="@media (forced-colors: none) and not (forced-colors: none)",yc="@media (forced-colors: none)";function hc(){return{"&.webchat__link-definitions":{".webchat__link-definitions__header":{alignItems:"center",cursor:"default",display:"flex",fontFamily:D.FontPrimary,fontSize:D.FontSizeSmall,gap:4,justifyContent:"space-between",listStyle:"none",[yc]:{color:"#616161"},[_c]:{color:"#616161"}},".webchat__link-definitions__header-section":{alignItems:"center",display:"flex",gap:4,overflow:"hidden"},".webchat__link-definitions__header-section--left":{flexShrink:0},".webchat__link-definitions__header-text":{flexShrink:0},".webchat__link-definitions__header::-webkit-details-marker":{display:"none"},".webchat__link-definitions__header-chevron":{flexShrink:0},"&:not([open]) .webchat__link-definitions__header-chevron":{transform:"rotate(-180deg)"},".webchat__link-definitions__header-accessory":{overflow:"hidden"},".webchat__link-definitions__message-sensitivity-label":{alignItems:"center",display:"flex",gap:4},".webchat__link-definitions__message-sensitivity-label-icon":{color:"CanvasText",flexShrink:0},".webchat__link-definitions__message-sensitivity-label-text":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},".webchat__link-definitions__list":{display:"flex",flexDirection:"column",gap:4,margin:"4px 0 0",padding:0},".webchat__link-definitions__list-item":{display:"flex",flexDirection:"column"},".webchat__link-definitions__badge":{alignSelf:"flex-start",borderRadius:"4px",borderStyle:"solid",borderWidth:1,flexShrink:0,fontSize:"75%",margin:4,maxWidth:"4em",minWidth:"1em",overflow:"hidden",padding:2,textAlign:"center",textOverflow:"ellipsis",whiteSpace:"nowrap",[yc]:{backgroundColor:"white",borderColor:"#e0e0e0",color:"black"},[_c]:{backgroundColor:"black",borderColor:"#e0e0e0",color:"white"},[Fe]:{borderColor:"buttonborder"}},".webchat__link-definitions__list-item-box":{alignItems:"center",borderRadius:4,borderStyle:"solid",borderWidth:1,[yc]:{backgroundColor:"white",borderColor:"#d1d1d1"},[_c]:{backgroundColor:"black",borderColor:"#d1d1d1"},[Fe]:{backgroundColor:"canvas",borderColor:"buttonborder"}},".webchat__link-definitions__list-item-box--as-link":{display:"block",outlineOffset:0,textDecoration:"none"},".webchat__link-definitions__list-item-box--as-button":{appearance:"none",background:"transparent",cursor:"pointer",fontFamily:"inherit",fontSize:"inherit",overflow:"hidden",padding:0,textAlign:"initial"},".webchat__link-definitions__list-item-body":{alignItems:"center",display:"flex",fontFamily:"Calibri, 'Helvetica Neue', Arial, 'sans-serif'",gap:4,padding:4},".webchat__link-definitions__list-item-body-main":{display:"flex",flexDirection:"column",gap:2,overflow:"hidden"},".webchat__link-definitions__list-item-main-text":{alignItems:"baseline",display:"flex",gap:4},".webchat__link-definitions__list-item-badge, .webchat__link-definitions__list-item-text":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},".webchat__link-definitions__list-item-text":{textDecoration:"underline",[be]:{color:D.ColorAccent}},".webchat__link-definitions__list-item-badge":{fontSize:D.FontSizeSmall,[be]:{color:D.ColorSubtle}},".webchat__link-definitions__open-in-new-window-icon":{flexShrink:0,paddingRight:4,[be]:{color:D.ColorAccent}}}}}function vc({microphoneButtonColorOnDictate:t}){return{"&.webchat__microphone-button":{"&.webchat__microphone-button--dictating .webchat__microphone-button__button":{"&, &:focus, &:hover":{"& .webchat__microphone-button__icon":{"--webchat__component-icon--color":t}}}}}}var wc="@media (forced-colors: none) and not (forced-colors: none)",gc="@media (forced-colors: none)";function Ac(){return{"&.webchat__modal-dialog":{fontFamily:D.FontPrimary,maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",width:"100%",[be]:{backgroundColor:"transparent",border:0},"&:has(.webchat__modal-dialog__body:empty)":{opacity:0},"& .webchat__modal-dialog__box":{borderRadius:2,overflow:"hidden",margin:"auto","@media screen and (max-width: 639px)":{maxWidth:"unset"},"@media screen and (min-width: 640px)":{maxWidth:"60%",minWidth:"calc(640px - 2em - 6px)",width:"60%"},[gc]:{backgroundColor:"White",boxShadow:"0px 8px 16px rgba(0, 0, 0, 0.14), 0px 0px 2px rgba(0, 0, 0, 0.12)"},[wc]:{backgroundColor:"Black",boxShadow:"0px 8px 16px rgba(0, 0, 0, 0.28), 0px 0px 2px rgba(0, 0, 0, 0.24)",color:"White"},[Fe]:{outlineColor:"ButtonBorder",outlineStyle:"solid",outlineWidth:4}},"& .webchat__modal-dialog__close-button-layout":{float:"right",padding:D.PaddingRegular},"& .webchat__modal-dialog__close-button":{height:30,width:30,padding:0,"--webchat__component-icon--size":"16px",[be]:{appearance:"none",backgroundColor:"transparent",borderColor:"transparent",borderRadius:4,borderStyle:"solid",borderWidth:2,color:"#999",outline:0}},"& .webchat__modal-dialog__close-button:focus":{[gc]:{borderColor:"black","&:active":{backgroundColor:"#EDEBE9"},"&:not(:active):hover":{backgroundColor:"#F3F2F1"}},[wc]:{borderColor:"white","&:active":{backgroundColor:"#292827"},"&:not(:active):hover":{backgroundColor:"#252423"}}},"& .webchat__modal-dialog__close-button-icon":{[gc]:{color:"#323130"},[wc]:{color:"#F3F2F1"},[Fe]:{color:"currentcolor"}},"& .webchat__modal-dialog__body":{margin:`calc(${D.PaddingRegular} * 2)`}}}}function xc(){return{"&.webchat__render-markdown":{display:"contents","&.webchat__render-markdown--adaptive-cards > *:first-child":{marginTop:0,width:"100%",overflow:"hidden",textOverflow:"ellipsis"},"&.webchat__render-markdown--adaptive-cards > *:last-child":{marginBottom:0},"&.webchat__render-markdown--message-activity > *:first-child":{marginTop:0},"&.webchat__render-markdown--message-activity > *:last-child":{marginBottom:0},"& .webchat__render-markdown__external-link-icon":{backgroundImage:D.IconURLExternalLink,height:".75em",marginLeft:".25em"},"& .webchat__render-markdown__citation":{background:"transparent",border:0,cursor:"pointer",display:"inline-block",fontFamily:"unset",fontSize:"unset",overflow:"hidden",padding:0,textDecoration:"underline",textOverflow:"ellipsis",verticalAlign:"bottom",whiteSpace:"nowrap",[Fe]:{color:"LinkText"},[be]:{color:D.ColorAccent}},"& .webchat__render-markdown__pure-identifier":{display:"inline-block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",whiteSpace:"nowrap"},"& .webchat__render-markdown__pure-identifier::after":{content:"']'"},"& .webchat__render-markdown__pure-identifier::before":{content:"'['"},"& [data-math-type=block]":{alignItems:"center",display:"flex",flexDirection:"column",marginBottom:"-4px",paddingBottom:"4px",outlineOffset:"2px",overflowX:"auto",overflowY:"clip",scrollbarWidth:"thin"},"& span[data-math-type=block]":{display:"inline-flex"},"& [data-math-type=inline]":{alignItems:"center",display:"inline-flex",flexDirection:"column"},"& :is([data-math-type=block], [data-math-type=inline]) > span":{display:"contents"}}}}function Nb({backgroundColor:t,rootHeight:e,rootWidth:o,rootZIndex:r}){return{backgroundColor:t,height:e,width:o,zIndex:r}}function Sc({paddingRegular:t,primaryFont:e,scrollToEndButtonFontSize:o,transcriptOverlayButtonBackground:r,transcriptOverlayButtonBackgroundOnFocus:i,transcriptOverlayButtonBackgroundOnHover:n,transcriptOverlayButtonColor:a,transcriptOverlayButtonColorOnFocus:s,transcriptOverlayButtonColorOnHover:c}){return{"&.webchat__scroll-to-end-button":{"@media screen and (forced-colors: active)":{borderWidth:"initial",outline:"initial"},appearance:"none",backgroundColor:r,borderRadius:t,borderWidth:0,color:a,fontFamily:e,fontSize:o,outline:0,padding:t,"&:hover":{backgroundColor:n,color:c||a},"&:focus":{backgroundColor:i,color:s||a}}}}function Nr(t){return typeof t=="number"?`${t}px`:t}function Cc({paddingRegular:t,primaryFont:e,sendBoxBackground:o,sendBoxBorderBottom:r,sendBoxBorderLeft:i,sendBoxBorderRight:n,sendBoxBorderTop:a,sendBoxHeight:s}){return{"&.webchat__send-box":{fontFamily:e,"& .webchat__send-box__button--align-bottom":{alignSelf:"flex-end"},"& .webchat__send-box__button--align-stretch":{alignSelf:"stretch"},"& .webchat__send-box__button--align-top":{alignSelf:"flex-start"},"& .webchat__send-box__main":{alignItems:"stretch",backgroundColor:o,borderBottom:Nr(r),borderLeft:Nr(i),borderRight:Nr(n),borderTop:Nr(a),display:"grid",gridTemplateAreas:'"upload-button text-box send-button"',gridTemplateColumns:"auto 1fr auto",gridTemplateRows:"auto",minHeight:Nr(s),"&:has(.webchat__send-box__attachment-bar)":{gridTemplateAreas:'"attachment-bar attachment-bar attachment-bar" "upload-button text-box send-button"',gridTemplateRows:"auto auto"}},"& .webchat__send-box__editable":{display:"flex",flexDirection:"column",gap:`${t/2}px`,gridArea:"text-box",paddingBottom:`${t/2}px`,paddingTop:`${t/2}px`,overflowX:"hidden",width:"100%"},"& .webchat__send-box__attachment-bar":{padding:`${t}px`,paddingBlockEnd:"0px"},"& .webchat__upload-button":{gridArea:"upload-button"},"& .webchat__send-button":{gridArea:"send-button"}}}}function Tc({sendBoxButtonColor:t,sendBoxButtonColorOnActive:e,sendBoxButtonColorOnDisabled:o,sendBoxButtonColorOnFocus:r,sendBoxButtonColorOnHover:i,sendBoxButtonKeyboardFocusIndicatorBorderColor:n,sendBoxButtonKeyboardFocusIndicatorBorderRadius:a,sendBoxButtonKeyboardFocusIndicatorBorderStyle:s,sendBoxButtonKeyboardFocusIndicatorBorderWidth:c,sendBoxButtonKeyboardFocusIndicatorInset:l,sendBoxButtonShadeBorderRadius:d,sendBoxButtonShadeColor:p,sendBoxButtonShadeColorOnActive:m,sendBoxButtonShadeColorOnDisabled:u,sendBoxButtonShadeColorOnFocus:f,sendBoxButtonShadeColorOnHover:b,sendBoxButtonShadeInset:y,sendBoxHeight:v,subtle:h}){return{"&.webchat__icon-button":{alignItems:"center",appearance:"none",backgroundColor:"Transparent",border:0,color:t||h,display:"flex",justifyContent:"center",outline:0,padding:0,position:"relative",width:v,"--webchat__component-icon--size":"28px","&:not(.webchat__icon-button--stretch)":{height:v},'&:disabled, &[aria-disabled="true"]':{color:o,"& .webchat__icon-button__shade":{backgroundColor:u}},'&:not(:disabled):not([aria-disabled="true"])':{"&:active":{color:e,"& .webchat__icon-button__shade":{backgroundColor:m}},"&:not(:active)":{"&:hover":{color:i,"& .webchat__icon-button__shade":{backgroundColor:b}},"&:not(:hover)":{"&:focus":{color:r,"& .webchat__icon-button__shade":{backgroundColor:f}}}}},"&:not(:focus-visible) .webchat__icon-button__keyboard-focus-indicator":{display:"none"},"&:not(.webchat__icon-button--focus-visible) .webchat__icon-button__keyboard-focus-indicator":{display:"none"},"& > *":{position:"relative"},"& .webchat__icon-button__shade":{backgroundColor:p,borderRadius:d,bottom:y,left:y,position:"absolute",right:y,top:y},"& .webchat__icon-button__keyboard-focus-indicator":{borderColor:n,borderRadius:a,borderStyle:s,borderWidth:c,bottom:l,left:l,position:"absolute",right:l,top:l}}}}function kc({paddingRegular:t,primaryFont:e,sendBoxDisabledTextColor:o,sendBoxMaxHeight:r,sendBoxPlaceholderColor:i,sendBoxTextColor:n,subtle:a}){return{"&.webchat__send-box-text-box":{alignItems:"center",fontFamily:e,paddingBottom:t/2,paddingLeft:t,paddingRight:t,paddingTop:t/2,position:"relative","& .webchat__send-box-text-box__input":{border:0,fontFamily:"inherit",fontSize:"inherit",height:"100%",outline:0,padding:0},"& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area":{backgroundColor:"transparent",'&:not(:disabled):not([aria-disabled="true"])':{color:n},'&:disabled, &[aria-disabled="true"]':{color:o||a},"&::placeholder":{color:i||a}},"& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area":{maxHeight:r},"& .webchat__send-box-text-box__glass":{height:"100%",left:0,position:"absolute",top:0,userSelect:0,width:"100%"}}}}function Ic(){return{"&.webchat__activity-status":{color:D.ColorTimestamp,fontFamily:D.FontPrimary,fontSize:D.FontSizeSmall,marginTop:`calc(${D.PaddingRegular} / 2)`},"&.webchat__activity-status--slotted":{display:"inline-flex",gap:4},"& .webchat__activity-status-slot":{display:"contents","&:not(:first-child)::before":{content:'"|"'},"&:empty":{display:"none"}},"& .webchat__activity-status__originator":{alignItems:"center","&.webchat__activity-status__originator--has-link":{color:D.ColorAccent}}}}var cM="R0lGODlhJQEsAfAAAHp6ev///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OcdIEAsta1+w+G4kiW5uls6nqh7gvH8kxL7K3W+s73vowL5n7EovHYEyo3yKbzCZ0sp5mo9YotUretrPcLHnG34bL5nBpT0ew2WM11y+dN+JiOz+vsd73/f8LXB0hYWCEYZ6i4yICYyAjJ6PgYWfk3SWmpSYdJtvk51+kJSnomulaaGnY6perqxbr0OmsVq0SL62QrlNtrtIvjK/wDHDx8XFPMgsw8o7zSHA3zzCRtbULNcb0tkt3FDe6RHU7eQV1udlGljvaM/tW6WvyOpSa/Sx8l+Babr+8Ij5U/XZ0CFhxYR5RBgAiP2Fpop2HCfhAzSSSG7x6qi/+/5pWRxRHJuTbsIJUsNTKkOGOfxqk8xGuTt5dSNkby9o1mg1Emcep8MEiSz5+N7PWcSdSCUaFDkx7gc9Sl06cRF+HUNhVDVatNs0JlitTrVkNXq2TVCidqSrFLuYY9O5ZsV7YWC109iyAoWHd4Deh1y7cvVZCWpApGGwTU2sN+WcoMzDiBupyKPUZGZvnyMGCamz3sHO0UaGkKR1ubZHrbvtTg2rJuHe91vhyUZdu+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/jz+//v38+/v//w8gCjEFiFFsBO7x14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48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///DyAKMQWIUWwE7vHXgS6spuCCiDQoIGoQroOBOaUFeIsNovlXl2QC9eeaAp/p95WIGd33oFIj2ifhYCvSh4mHnNV3IWTy1agMjRvaCN+Hi73XD4/uPfRje0TmON+RSMan5Iw3UrQkk1Bm1uOUTj6545VYHtTYi1JeiNiGOoIZJpdjtpiXmCya6SKaKLqZJpxvplgUQ/vRmUaJHMaVZ4L8hRhBh3vaBFOGELa5TAnsmHVoIxUy2mikkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/YjrZScg1Cykphg5HmCaC4nYtIGn5BighemL7rbYMgsunH3KaFqO354KW7iXtskYmJ/Gyy6a88172IR4UoatmKPmO9q+//WrmJUkBE7yvwANHVnA7DR/2sCkH45uwHBH3dfFHEzNcsRsdU7yxwwuDXK/HITN2ssjvAjyyySuz/LK9dsJbssJ40jyzu+PKlrPO5b62s7rb6hauXNkC7afR1f5GaGEDEjctSo82t+iyVl+NddZab811114rUhuuidnatKtJn/qzqTervXap64Ja86f3yj03pylr+nGneW+aMbN3X3oi3X9b2jfgg1daOOGHI74443HrXbfdj3s6OeU9EpN6OdtDs7p5q0enamCtiTpVAAA7",lM="image/gif",Oc;function Nc({spinnerAnimationBackgroundImage:t,spinnerAnimationHeight:e,spinnerAnimationWidth:o,spinnerAnimationPadding:r}){return Oc||(Oc=URL.createObjectURL(new Blob([new Uint8Array(_base64js.toByteArray.call(void 0, cM))],{type:lM}))),{backgroundImage:t||`url('${Oc}')`,backgroundRepeat:"no-repeat",backgroundSize:"contain",height:e,width:o,":not(.webchat__spinner--rtl)":{marginRight:r},".webchat__spinner--rtl":{marginLeft:r}}}function Mc({bubbleAttachmentMaxWidth:t,bubbleAttachmentMinWidth:e,bubbleMessageMaxWidth:o,bubbleMessageMinWidth:r,paddingRegular:i,transitionDuration:n}){return{"&.webchat__stacked-layout":{marginLeft:i,marginRight:i,"& .webchat__stacked-layout__alignment-pad":{transitionDuration:n,transitionProperty:"width",width:0},"&.webchat__stacked-layout--extra-trailing .webchat__stacked-layout__alignment-pad":{width:i},"& .webchat__stacked-layout__avatar-gutter":{transitionDuration:n,transitionProperty:"width",width:0},"& .webchat__stacked-layout__attachment":{maxWidth:D.MaxWidthAttachmentBubble,minWidth:D.MinWidthAttachmentBubble,transitionDuration:n,transitionProperty:"max-width, min-width"},"& .webchat__stacked-layout__attachment-row":{marginTop:i,width:"100%"},"&.webchat__stacked-layout--no-message .webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first":{marginTop:0},"& .webchat__stacked-layout__message":{maxWidth:D.MaxWidthMessageBubble,minWidth:D.MinWidthMessageBubble,overflow:"hidden",transitionDuration:n,transitionProperty:"max-width"},"& .webchat__stacked-layout__nub-pad":{transitionDuration:n,transitionProperty:"width",width:0},"&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar":{"& .webchat__stacked-layout__avatar-gutter":{width:D.SizeAvatar}},"&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub":{"& .webchat__stacked-layout__attachment":{maxWidth:t+i,minWidth:e+i},"& .webchat__stacked-layout__message":{maxWidth:o+i,minWidth:r+i},"& .webchat__stacked-layout__nub-pad":{width:i}},"&:not(.webchat__stacked-layout--top-callout)":{"& .webchat__stacked-layout__avatar-gutter, & .webchat__stacked-layout__content":{justifyContent:"flex-end"}}}}}function Pc({accent:t,paddingRegular:e,paddingWide:o,primaryFont:r,suggestedActionBorderRadius:i,suggestedActionBackgroundColor:n,suggestedActionBorderColor:a,suggestedActionBorderStyle:s,suggestedActionBorderWidth:c,suggestedActionTextColor:l,suggestedActionBackgroundColorOnActive:d,suggestedActionBorderColorOnActive:p,suggestedActionBorderStyleOnActive:m,suggestedActionBorderWidthOnActive:u,suggestedActionTextColorOnActive:f,suggestedActionBackgroundColorOnDisabled:b,suggestedActionBorderColorOnDisabled:y,suggestedActionBorderStyleOnDisabled:v,suggestedActionBorderWidthOnDisabled:h,suggestedActionTextColorOnDisabled:x,suggestedActionBackgroundColorOnFocus:w,suggestedActionBorderColorOnFocus:g,suggestedActionBorderStyleOnFocus:k,suggestedActionBorderWidthOnFocus:I,suggestedActionTextColorOnFocus:_,suggestedActionBackgroundColorOnHover:S,suggestedActionBorderColorOnHover:N,suggestedActionBorderStyleOnHover:B,suggestedActionBorderWidthOnHover:L,suggestedActionTextColorOnHover:z,suggestedActionKeyboardFocusIndicatorBorderColor:W,suggestedActionKeyboardFocusIndicatorBorderRadius:K,suggestedActionKeyboardFocusIndicatorBorderStyle:T,suggestedActionKeyboardFocusIndicatorBorderWidth:R,suggestedActionKeyboardFocusIndicatorInset:O,suggestedActionHeight:j,suggestedActionImageHeight:G,suggestedActionsStackedLayoutButtonMaxHeight:q,subtle:Y}){return{"&.webchat__suggested-action":{alignItems:"center",backgroundColor:n,borderColor:a||t,borderRadius:i,borderStyle:s,borderWidth:c,color:l||t,fontFamily:r,fontSize:"inherit",height:j,justifyContent:"center",maxWidth:"100%",outline:0,paddingLeft:o,paddingRight:o,position:"relative",whiteSpace:"nowrap",width:"100%",'&:disabled, &[aria-disabled="true"]':{backgroundColor:b,borderColor:y,borderStyle:v,borderWidth:h,color:x||Y},'&:not(:disabled):not([aria-disabled="true"])':{"&:active":{backgroundColor:d,borderColor:p,borderStyle:m,borderWidth:u,color:f},"&:not(:active)":{"&:hover":{backgroundColor:S,borderColor:N,borderStyle:B,borderWidth:L,color:z},"&:not(:hover)":{"&:focus":{backgroundColor:w,borderColor:g,borderStyle:k,borderWidth:I,color:_}}}},"&:not(:focus-visible) .webchat__suggested-action__keyboard-focus-indicator":{display:"none"},"&:not(.webchat__suggested-action--focus-visible) .webchat__suggested-action__keyboard-focus-indicator":{display:"none"},"&:not(.webchat__suggested-action--rtl) .webchat__suggested-action__image + .webchat__suggested-action__text":{paddingLeft:e},"&.webchat__suggested-action--rtl .webchat__suggested-action__image + .webchat__suggested-action__text":{paddingRight:e},"&.webchat__suggested-action--wrapping":{height:"auto",maxHeight:q||"100%",minHeight:typeof q=="number"&&typeof j=="number"?Math.min(q,j):j},"& .webchat__suggested-action__image":{height:G},"& .webchat__suggested-action__keyboard-focus-indicator":{borderColor:W,borderRadius:K,borderStyle:T,borderWidth:R,bottom:O,left:O,position:"absolute",right:O,top:O}}}}function Ec({paddingRegular:t,suggestedActionsCarouselFlipperSize:e,suggestedActionsFlowMaxHeight:o,suggestedActionsStackedHeight:r,suggestedActionsStackedOverflow:i,suggestedActionsVisualKeyboardIndicatorColor:n,suggestedActionsVisualKeyboardIndicatorStyle:a,suggestedActionsVisualKeyboardIndicatorWidth:s,transcriptOverlayButtonBackground:c,transcriptOverlayButtonBackgroundOnDisabled:l,transcriptOverlayButtonBackgroundOnFocus:d,transcriptOverlayButtonBackgroundOnHover:p,transcriptOverlayButtonColor:m,transcriptOverlayButtonColorOnDisabled:u,transcriptOverlayButtonColorOnFocus:f,transcriptOverlayButtonColorOnHover:b}){return{"&.webchat__suggested-actions":{position:"relative","&.webchat__suggested-actions--carousel-layout":{"& .webchat__suggested-actions__carousel":{paddingBottom:t/2,paddingTop:t/2,"& .webchat__suggested-actions__item-box":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .react-film__filmstrip":{scrollbarWidth:"none"},"& .react-film__flipper":{'&:disabled, &[aria-disabled="true"]':{"& .react-film__flipper__body":{backgroundColor:l,color:u}},"&:focus .react-film__flipper__body":{backgroundColor:d,color:f||m},"&:hover .react-film__flipper__body":{backgroundColor:p,color:b||m},"& .react-film__flipper__body":{background:c,color:m,outline:0}}},"&:not(.webchat__suggested-actions--rtl)":{"& .react-film__filmstrip__item:first-child":{paddingLeft:t/2},"& .react-film__filmstrip__item:last-child":{paddingRight:t/2},"& .react-film__flipper + .react-film__filmstrip":{"& .react-film__filmstrip__item:first-child":{paddingLeft:e+t*1.5},"& .react-film__filmstrip__item:last-child":{paddingRight:e+t*1.5}}},"&.webchat__suggested-actions--rtl":{"& .react-film__filmstrip__item:first-child":{paddingRight:t/2},"& .react-film__filmstrip__item:last-child":{paddingLeft:t/2},"& .react-film__flipper + .react-film__filmstrip":{"& .react-film__filmstrip__item:first-child":{paddingRight:e+t*1.5},"& .react-film__filmstrip__item:last-child":{paddingLeft:e+t*1.5}}}},"&.webchat__suggested-actions--flow-layout":{"& .webchat__suggested-actions__flow-box":{maxHeight:o,overflowY:"auto",paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .webchat__suggested-actions__flow-item-box":{maxWidth:"100%",overflow:"hidden"},"& .webchat__suggested-actions__item-box":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2}},"&.webchat__suggested-actions--stacked-layout":{"& .webchat__suggested-actions__stack":{maxHeight:r||"auto",overflowY:i||"auto",paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .webchat__suggested-actions__item-box":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2}},"&.webchat__suggested-actions--flow-layout, &.webchat__suggested-actions--stacked-layout":{"& .webchat__suggested-actions__button-text":{overflow:"hidden",textOverflow:"ellipsis"},"& .webchat__suggested-actions__button-text-stacked-text-wrap":{alignItems:"center",display:"flex",whiteSpace:"normal"}},"& .webchat__suggested-actions__item-box":{display:"flex",maxWidth:"100%"},"&.webchat__suggested-actions--focus-within, &:focus-within":{"& .webchat__suggested-actions__focus-indicator":{borderColor:n,borderStyle:a,borderWidth:s,boxSizing:"border-box",height:"100%",pointerEvents:"none",position:"absolute",top:0,width:"100%"}}}}}function Lc(){return{"&.webchat__text-content":{fontFamily:D.FontPrimary,margin:0,minHeight:`calc(${D.MinHeightBubble} - ${D.PaddingRegular} * 2)`,padding:D.PaddingRegular,"&.webchat__text-content--is-markdown":{display:"flex",flexDirection:"column",justifyContent:"center",gap:D.PaddingRegular,minWidth:0},"& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)":{maxWidth:D.MaxWidthMessageBubble,minWidth:D.MinWidthMessageBubble,width:"100%"},"& .webchat__text-content__markdown pre":{overflow:"hidden"},"& .webchat__text-content__open-in-new-window-icon":{height:".75em"},"& .webchat__text-content__activity-actions":{alignSelf:"flex-start",display:"flex",flexWrap:"wrap",gap:`8px calc(${D.PaddingRegular} / 2)`,width:"100%"},"& .webchat__text-content__activity-actions:empty":{display:"none"}}}}function Mb(){return{"&.webchat__thumb-button":{alignItems:"center",borderRadius:"2px",boxSizing:"content-box",display:"grid",gridTemplateAreas:'"main"',height:"16px",width:"16px","& .webchat__thumb-button__input":{appearance:"none",background:"transparent",border:0,gridArea:"main",height:"16px",margin:0,opacity:0,padding:0,width:"16px","&:active":{background:"#EDEBE9"}},"&:has(.webchat__thumb-button__input:focus-visible)":{outline:"solid 1px #605E5C"},"& .webchat__thumb-button__image":{color:D.ColorAccent,gridArea:"main",justifySelf:"center",pointerEvents:"none",visibility:"hidden",width:14,"&.webchat__thumb-button__image--is-stroked":{visibility:"unset"}},'&:has(.webchat__thumb-button__input:is(:not([aria-disabled="true"]):hover, :checked, [aria-pressed="true"]))':{"& .webchat__thumb-button__image":{"&.webchat__thumb-button__image--is-stroked":{visibility:"hidden"},"&.webchat__thumb-button__image--is-filled":{visibility:"unset"}}},"&.webchat__thumb-button--large":{border:"1px solid transparent",borderRadius:"4px",height:"30px",width:"30px","& .webchat__thumb-button__input":{background:"currentColor",height:"30px",width:"30px"},"& .webchat__thumb-button__image":{color:"currentColor",fontSize:"20px",height:"1em",width:"1em"},'&:has(.webchat__thumb-button__input:is(:hover, :active, :checked, [aria-pressed="true"])) .webchat__thumb-button__image':{color:D.ColorAccent},'&:has(.webchat__thumb-button__input[aria-disabled="true"]) .webchat__thumb-button__image':{color:D.ColorSubtle},'&.webchat__thumb-button--has-submitted:has(.webchat__thumb-button__input:not(:checked):not([aria-pressed="true"])) .webchat__thumb-button__tooltip':{display:"none"},"&.webchat__thumb-button--has-submitted .webchat__thumb-button__tooltip":{"--webchat__tooltip-anchor-inline-start":"20%"}}}}}function Bc({primaryFont:t,toasterHeight:e,toastErrorColor:o,toastFontSize:r,toastIconWidth:i,toastInfoColor:n,toastSuccessColor:a,toastTextPadding:s,toastWarnColor:c}){return{fontFamily:t,fontSize:r,minHeight:e,"&.webchat__toast--error":{color:o,fill:o},"&.webchat__toast--info":{color:n,fill:n},"&.webchat__toast--success":{color:a,fill:a},"&.webchat__toast--warn":{color:c,fill:c},"& .webchat__toast__iconBox":{alignItems:"center",display:"flex",flexShrink:0,height:e,justifyContent:"center",width:i},"& .webchat__toast__dismissButton":{alignItems:"center",appearance:"none",backgroundColor:"Transparent",border:0,display:"flex",height:e,justifyContent:"center",outline:0,padding:0,width:e,"&:focus .webchat__toast__dismissButtonFocus":{borderColor:"rgba(26, 10, 0, .7)"},"&:hover .webchat__toast__dismissButtonFocus":{backgroundColor:"rgba(0, 0, 0, .12)"}},"& .webchat__toast__dismissButtonFocus":{alignItems:"center",borderColor:"Transparent",borderStyle:"solid",borderWidth:1,borderRadius:3,display:"flex",height:22,justifyContent:"center",width:22},"& .webchat__toast__text":{alignSelf:"center",paddingBottom:s,paddingTop:s}}}function jc({primaryFont:t,toasterHeight:e,toasterMaxHeight:o,toastErrorBackgroundColor:r,toastErrorColor:i,toasterSingularMaxHeight:n,toastFontSize:a,toastIconWidth:s,toastInfoBackgroundColor:c,toastInfoColor:l,toastSeparatorColor:d,toastSuccessBackgroundColor:p,toastSuccessColor:m,toastWarnBackgroundColor:u,toastWarnColor:f}){return{overflowY:"hidden","&:not(.webchat__toaster--expandable)":{maxHeight:n},"&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul":{height:0},"&.webchat__toaster--expandable.webchat__toaster--expanded":{maxHeight:o},"& .webchat__toaster__header":{alignItems:"center",alignSelf:"stretch",appearance:"none",backgroundColor:"Transparent",border:0,display:"flex",fontFamily:t,fontSize:a,minHeight:e,outline:0,padding:0,textAlign:"left","&:focus .webchat__toaster__expandIconFocus":{borderColor:"rgba(26, 10, 0, .7)"},"&:hover .webchat__toaster__expandIconFocus":{backgroundColor:"rgba(0, 0, 0, .12)"}},"& .webchat__toaster__expandIconFocus":{alignItems:"center",borderColor:"Transparent",borderStyle:"solid",borderWidth:1,borderRadius:3,display:"flex",height:22,justifyContent:"center",width:22},"&.webchat__toaster--error":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:r},"& .webchat__toaster__header":{color:i,fill:i}},"&.webchat__toaster--info":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:c},"& .webchat__toaster__header":{color:l,fill:l}},"&.webchat__toaster--success":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:p},"& .webchat__toaster__header":{color:m,fill:m}},"&.webchat__toaster--warn":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:u},"& .webchat__toaster__header":{color:f,fill:f}},"& .webchat__toaster__expandLevelIconBox":{height:e,width:s},"& .webchat__toaster__expandIcon":{height:e,width:e},"& .webchat__toaster__expandText":{padding:"6px 0"},"& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon":{alignItems:"center",display:"flex",justifyContent:"center"},"& .webchat__toaster__list":{margin:0,overflowY:"auto",padding:0},"& .webchat__toaster__listItem:first-child:last-child":{overflow:"hidden"},"& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)":{borderBottomColor:d,borderBottomStyle:"solid",borderBottomWidth:1,minHeight:32}}}var Pb=()=>({"*:has(> &.webchat__tooltip)":{position:"relative","&:is(:hover, :focus-visible, :active) > .webchat__tooltip, &:has(:is(:hover, :focus-visible, :active)) > .webchat__tooltip":{opacity:1,transitionDelay:"400ms"}},"&.webchat__tooltip":{"--webchat__tooltip-tip-size":"8.484px","--webchat__tooltip-background":"#fff","--webchat__tooltip-anchor-inline-start":"50%",background:"var(--webchat__tooltip-background)",borderRadius:"4px",color:"#242424",filter:"drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.14)) drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.12))",fontSize:"12px",inlineSize:"max-content",isolation:"isolate",lineHeight:"16px",margin:0,maxInlineSize:"30ch",opacity:0,padding:"6px 12px",pointerEvents:"none",position:"absolute",textAlign:"start",transition:"opacity 0.2s ease",userSelect:"none",willChange:"filter","&::after":{background:"inherit",color:"currentColor",content:'""',inset:0,position:"absolute"},"&.webchat__tooltip--block-start, &.webchat__tooltip--block-end":{textAlign:"center"},"&.webchat__tooltip--block-start":{insetBlockEnd:"calc(100% + 7px)",insetInlineStart:"50%",transform:"translate(calc(-1 * var(--webchat__tooltip-anchor-inline-start)), 0)","&::after":{border:"1px solid var(--webchat__tooltip-background)",borderBottomLeftRadius:"2px",clipPath:"polygon(0% 0%, 100% 100%, 0% 100%)",height:"var(--webchat__tooltip-tip-size)",insetBlockStart:"calc(100% - 6px)",insetInlineStart:"calc(var(--webchat__tooltip-anchor-inline-start) - var(--webchat__tooltip-tip-size) / 2)",transform:"rotate(-45deg)",width:"var(--webchat__tooltip-tip-size)"}}}});var pM="R0lGODlhQAAYAPYBAOzv8evu8Ort7+fq7Ons7ujr7eXo6uTn6ebp6+Xn6ebo6uzu8OPm6OTm6OPm5+Tn6N/i4+Ll59/i5N7h4+Hk5uDj5evu7+Hk5d/h49PV18PFx7/BwsfJysXHyMLExdja3Nfa28vNz72/wL7Awc/S08TGyMDCw9TW2NbY2t3g4trd39bZ2szO0M7Q0dnb3djb3Nvd39ve4Nnc3dze4Nrc3t7g4tzf4dXX2d3f4d7h4tnc3tve383P0MrMzs7Q0sjKzNLU1s/R08jKy9DT1NfZ293g4efp68bIyby+v9bZ27q8vdHT1c7R0uvt78nLzM/R0tjb3ens7bO0tbS2t7GztK+xsrW3uK6vsLe4utfa3L/Awtzf4MnLzamqq5WWl66wsbm7vNrd3uXo6a2ur6yurp2en6Kj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AAMALAkABwAgAAkAAAdtgACCgwKFhoSIiYoFFWEZPi1PJDczEQSLmIONQCElGyYckZUFmZg2KEwcHkqsPUsfEwYBpYkRMDc8R59gHkJBKzgNh7SCtriqvL2/KQzDxGIpK0FOq0jKsLLPiConLLrXNs3atS6UqDQS2eMAgQAh+QQFBwALACwAAAcAGQAJAAAHUIAAAYNNhIKHiImIDDk6ICoSCQSKlIg1MjcnmRAHk5WKFTErmqQURoafghA0KKStoQKplpCuMRUKsbKqW0S1EQOoshispQa5urtFMxO/x8iBACH5BAUHAAIALAAABwALAAkAAAIJhI+py+3xolwFACH5BAUHAAEALAAACQABAAUAAAIChF0AOw==",uM="image/gif",Rc;function Fc({typingAnimationBackgroundImage:t,typingAnimationHeight:e,typingAnimationWidth:o}){return Rc||(Rc=URL.createObjectURL(new Blob([new Uint8Array(_base64js.toByteArray.call(void 0, pM))],{type:uM}))),{backgroundImage:t||`url('${Rc}')`,backgroundRepeat:"no-repeat",height:e,width:o}}function Dc({paddingRegular:t}){return{paddingBottom:t,"&:not(.webchat__typing-indicator--rtl)":{paddingLeft:t},"&.webchat__typing-indicator--rtl":{paddingRight:t}}}function qc({sendBoxButtonColor:t,sendBoxButtonColorOnFocus:e,sendBoxButtonColorOnHover:o,sendBoxHeight:r,subtle:i}){return{width:r,"& > .icon > svg":{fill:t||i},"& > input:hover + .icon > svg":{fill:o},"& > input:focus + .icon > svg":{fill:e}}}function zc(){return{}}function Wc({videoHeight:t}){return{height:t,width:"100%"}}function Kc({videoHeight:t}){return{border:0,height:t,width:"100%"}}function Gc({connectivityIconPadding:t,connectivityMarginLeftRight:e,connectivityMarginTopBottom:o,connectivityTextSize:r,primaryFont:i,slowConnectivity:n,notificationText:a}){return{alignItems:"center",color:a,display:"flex",fontFamily:i,fontSize:r,marginBottom:o,marginLeft:e,marginRight:e,marginTop:o,"& > svg":{fill:n,"&:not(webchat__warning--rtl)":{paddingRight:t},"&.webchat__warning--rtl":{paddingLeft:t}}}}function Hc({videoHeight:t}){return{border:0,height:t,width:"100%"}}function Yc(t){let e=_botframeworkwebchatapi.normalizeStyleOptions.call(void 0, t);return Object.freeze({activities:Js(),activityButton:Zs(),activityCopyButton:Xs(),audioAttachment:Qs(),audioContent:$s(),autoResizeTextArea:tc(e),avatar:ec(e),basicTranscript:oc(e),bubble:rc(e),carouselFilmStrip:ic(e),carouselFilmStripAttachment:nc(e),carouselFlipper:ac(e),connectivityNotification:lc(e),dictationInterims:dc(e),errorBox:pc(e),errorNotification:uc(e),fileContent:mc(e),imageAvatar:fc(),initialsAvatar:bc(e),microphoneButton:vc(e),options:{...e},root:Nb(e),scrollToEndButton:Sc(e),sendBox:Cc(e),sendBoxButton:Tc(e),sendBoxTextBox:kc(e),spinnerAnimation:Nc(e),stackedLayout:Mc(e),suggestedAction:Pc(e),suggestedActions:Ec(e),toast:Bc(e),toaster:jc(e),typingAnimation:Fc(e),typingIndicator:Dc(e),uploadButton:qc(e),videoAttachment:zc(),videoContent:Wc(e),vimeoContent:Kc(e),warningNotification:Gc(e),youTubeContent:Hc(e),chatHistoryBox:sc(),citationModalDialog:cc(),linkDefinitions:hc(),modalDialog:Ac(),renderMarkdown:xc(),sendStatus:Ic(),textContent:Lc(),thumbButton:Mb(),tooltip:Pb()})}var SM=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),nonce:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),Vc="webchat__css-custom-properties";function jb(){return Math.ceil(_mathrandom2.default.call(void 0, )*Number.MAX_SAFE_INTEGER).toString(36)}function CM(t){return"cardPushButtonBackgroundColor"in t||"cardPushButtonTextColor"in t}function Rb(t,e){let{children:o,className:r,nonce:i}=_chunkTMUNLKZWjs.h.call(void 0, SM,t),[n]=_hookjs.useStyleOptions.call(void 0, ),[a,s]=_react.useMemo.call(void 0, ()=>{let{accent:c,avatarSize:l,borderAnimationColor1:d,borderAnimationColor2:p,borderAnimationColor3:m,bubbleAttachmentMaxWidth:u,bubbleAttachmentMinWidth:f,bubbleBackground:b,bubbleBorderColor:y,bubbleBorderRadius:v,bubbleBorderStyle:h,bubbleBorderWidth:x,bubbleFromUserBackground:w,bubbleFromUserBorderColor:g,bubbleFromUserBorderRadius:k,bubbleFromUserBorderStyle:I,bubbleFromUserBorderWidth:_,bubbleFromUserNubOffset:S,bubbleFromUserNubSize:N,bubbleFromUserTextColor:B,bubbleTextColor:L,bubbleImageMaxHeight:z,bubbleImageMinHeight:W,bubbleMessageMaxWidth:K,bubbleMessageMinWidth:T,bubbleMinHeight:R,bubbleNubOffset:O,bubbleNubSize:j,fontSizeSmall:G,markdownExternalLinkIconImage:q,messageActivityWordBreak:Y,monospaceFont:M,paddingRegular:U,primaryFont:V,sendBoxAttachmentBarMaxHeight:et,subtle:pt,timestampColor:ft,transcriptActivityVisualKeyboardIndicatorColor:gt,transcriptActivityVisualKeyboardIndicatorStyle:ut,transcriptActivityVisualKeyboardIndicatorWidth:rt,transcriptOverlayButtonBackground:vt,transcriptOverlayButtonBackgroundOnDisabled:Ft,transcriptOverlayButtonBackgroundOnFocus:io,transcriptOverlayButtonBackgroundOnHover:zr,transcriptOverlayButtonColor:Wr,transcriptOverlayButtonColorOnDisabled:Kr,transcriptOverlayButtonColorOnFocus:Kn,transcriptOverlayButtonColorOnHover:Gr,transcriptTerminatorBackgroundColor:Gn,transcriptTerminatorBorderRadius:ye,transcriptTerminatorColor:he,transcriptTerminatorFontSize:Fo,transcriptVisualKeyboardIndicatorColor:P,transcriptVisualKeyboardIndicatorStyle:J,transcriptVisualKeyboardIndicatorWidth:Q,transitionDuration:$,transitionEasing:ct}=n,We="";if(CM(n)){let{cardPushButtonBackgroundColor:Hr,cardPushButtonTextColor:Yr}=n;We=`
13
13
  ${F.BackgroundCardPushButton}: ${Hr};
14
14
  ${F.ColorCardPushButton}: ${Yr};
15
15
  `}let Ke=`w${jb()}_${Vc.replace("webchat__","")}`,ve=`
@@ -76,5 +76,5 @@ ${(N=k(_))!=null?N:""}`.trim(),identifier:_.markdownDefinition.label,key:_.key,o
76
76
  /* From bundle */
77
77
  ${We}
78
78
  }
79
- `,[we]=_chunkI6EXXZUNjs.a.call(void 0, ve)(`component/CustomPropertiesContainer-${jb()}`);return[Object.freeze([we]),Object.freeze([`${Vc} ${Ke}`])]},[n]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, r,s[0]),ref:e},_react2.default.createElement(_chunkTMUNLKZWjs.j,{at:n.stylesRoot,nonce:i,styleElements:a}),o)}Rb.displayName="CustomPropertiesContainer";var Fb=_react.memo.call(void 0, _react.forwardRef.call(void 0, Rb));var TM=".webchat .w61aa0a_component-icon{min-width:var(--webchat__component-icon--size, 1em);min-height:var(--webchat__component-icon--size, 1em);place-self:var(--webchat__component-icon--placement, center);background-image:var(--webchat__component-icon--image, none);background-position:center;background-repeat:no-repeat;background-size:var(--webchat__component-icon--size, 1em);background-color:var(--webchat__component-icon--color, transparent);-webkit-mask-image:var(--webchat__component-icon--mask);-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:var(--webchat__component-icon--size, 1em);mask-image:var(--webchat__component-icon--mask);mask-position:center;mask-repeat:no-repeat;mask-size:var(--webchat__component-icon--size, 1em)}.webchat .w61aa0a_appearance--text{--webchat__component-icon--color: currentColor}@media(forced-colors:active){.webchat .w61aa0a_appearance--text{--webchat__component-icon--color: canvasText}}.webchat .w61aa0a_icon--dismiss{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\"><path d=\"m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z\"/></svg>')}.webchat .w61aa0a_icon--view-code{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path d=\"M12.94 4.05a.75.75 0 0 0-1.38-.6l-5.5 12.5a.75.75 0 1 0 1.38.6l5.5-12.5Zm1.35 9.8a.75.75 0 0 1-.13-1.06L16.3 10l-2.14-2.8a.75.75 0 0 1 1.18-.9l2.5 3.24c.21.27.21.65 0 .92l-2.5 3.25a.75.75 0 0 1-1.05.13Zm-8.58-7.7c.33.26.39.73.13 1.06L3.7 10l2.14 2.8a.75.75 0 1 1-1.18.9l-2.5-3.24a.75.75 0 0 1 0-.92l2.5-3.25a.75.75 0 0 1 1.05-.13Z\" fill=\"currentColor\"></path></svg>')}.webchat .w61aa0a_icon--copy{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21\" height=\"20\" viewBox=\"0 0 21 20\" fill=\"none\"><path d=\"M8.5 2C7.39543 2 6.5 2.89543 6.5 4V14C6.5 15.1046 7.39543 16 8.5 16H14.5C15.6046 16 16.5 15.1046 16.5 14V4C16.5 2.89543 15.6046 2 14.5 2H8.5ZM7.5 4C7.5 3.44772 7.94772 3 8.5 3H14.5C15.0523 3 15.5 3.44772 15.5 4V14C15.5 14.5523 15.0523 15 14.5 15H8.5C7.94772 15 7.5 14.5523 7.5 14V4ZM4.5 6.00001C4.5 5.25973 4.9022 4.61339 5.5 4.26758V14.5C5.5 15.8807 6.61929 17 8 17H14.2324C13.8866 17.5978 13.2403 18 12.5 18H8C6.067 18 4.5 16.433 4.5 14.5V6.00001Z\" fill=\"currentColor\"/></svg>')}.webchat .w61aa0a_icon--microphone{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 34.75 46\"><path d=\"M29.75,23v6.36a7,7,0,0,1-.56,2.78,7.16,7.16,0,0,1-3.8,3.8,7,7,0,0,1-2.78.56H18.5v2.25H23V41H11.75v-2.25h4.5V36.5h-4.11a7,7,0,0,1-2.78-.56,7.16,7.16,0,0,1-3.8-3.8,7,7,0,0,1-.56-2.78V23h2.25v6.36a4.72,4.72,0,0,0,.39,1.9,4.78,4.78,0,0,0,2.6,2.6,4.72,4.72,0,0,0,1.9.39h10.47a4.72,4.72,0,0,0,1.9-.39,4.78,4.78,0,0,0,2.6-2.6,4.72,4.72,0,0,0,.39-1.9V23Zm-18,5.62a1.13,1.13,0,0,0,1.13,1.13h9a1.13,1.13,0,0,0,1.12-1.13V8.38a1.13,1.13,0,0,0-1.12-1.13h-9a1.13,1.13,0,0,0-1.13,1.13Zm1.13,3.38a3.41,3.41,0,0,1-1.32-.26,3.31,3.31,0,0,1-1.8-1.8,3.41,3.41,0,0,1-.26-1.32V8.38a3.41,3.41,0,0,1,.26-1.32,3.31,3.31,0,0,1,1.8-1.8,3.41,3.41,0,0,1,1.32-.26h9a3.4,3.4,0,0,1,1.31.26,3.31,3.31,0,0,1,1.8,1.8,3.41,3.41,0,0,1,.26,1.32v20.24a3.41,3.41,0,0,1-.26,1.32,3.31,3.31,0,0,1-1.8,1.8,3.4,3.4,0,0,1-1.31.26Z\"/></svg>')}.webchat .w61aa0a_icon--send{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 45.7 33.8\"><path clipRule=\"evenodd\" d=\"M8.55 25.25l21.67-7.25H11zm2.41-9.47h19.26l-21.67-7.23zm-6 13l4-11.9L5 5l35.7 11.9z\"/></svg>')}.webchat .w61aa0a_icon--send.w61aa0a_direction--rtl{transform:scaleX(-1)}.webchat .w61aa0a_icon--send.w61aa0a_direction--follow:dir(rtl){transform:scaleX(-1)}.webchat .w61aa0a_icon--attachment{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\"><path fill=\"currentColor\" d=\"M18.794 7.152V20.16a4.682 4.682 0 0 1-.378 1.869 4.84 4.84 0 0 1-2.55 2.55 4.802 4.802 0 0 1-3.732 0 4.84 4.84 0 0 1-2.55-2.55 4.681 4.681 0 0 1-.377-1.869V6.464c-.004-.454.09-.905.273-1.32a3.464 3.464 0 0 1 1.826-1.827 3.336 3.336 0 0 1 2.648 0 3.463 3.463 0 0 1 1.826 1.826c.184.416.278.867.274 1.321V20.16c.002.276-.052.549-.158.803A2.015 2.015 0 0 1 14.8 22.06c-.512.21-1.088.21-1.6 0a2.013 2.013 0 0 1-1.096-1.096 2.074 2.074 0 0 1-.158-.803V8.522h1.37V20.16a.687.687 0 1 0 1.369 0V6.464a2.068 2.068 0 0 0-.597-1.454 2.014 2.014 0 0 0-.657-.439 2.106 2.106 0 0 0-1.601 0 2.015 2.015 0 0 0-1.096 1.096 2.07 2.07 0 0 0-.158.797V20.16c-.003.457.09.909.274 1.327a3.463 3.463 0 0 0 1.826 1.826 3.335 3.335 0 0 0 2.648 0 3.463 3.463 0 0 0 1.826-1.826c.184-.418.277-.87.274-1.327V7.152h1.37Z\"/></svg>')}.webchat .w61aa0a_icon--attachment-checkmark{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\"><path fill=\"currentColor\" d=\"M12.634 3.04c.455 0 .905.094 1.323.274a3.464 3.464 0 0 1 1.826 1.827c.184.415.278.865.275 1.32v9.494c-.517.334-.98.744-1.37 1.216V6.46a2.07 2.07 0 0 0-.596-1.454 2.018 2.018 0 0 0-.658-.439 2.106 2.106 0 0 0-1.6 0 2.015 2.015 0 0 0-1.097 1.096 2.071 2.071 0 0 0-.158.797v13.696c-.003.457.09.91.275 1.327a3.464 3.464 0 0 0 1.825 1.826c.384.167.797.257 1.215.271.227.476.516.916.855 1.313a4.801 4.801 0 0 1-2.611-.317 4.84 4.84 0 0 1-2.551-2.552 4.68 4.68 0 0 1-.377-1.868V6.461c-.003-.455.09-.905.274-1.32a3.464 3.464 0 0 1 1.826-1.827c.418-.18.868-.274 1.324-.274Zm.684 17.117a.684.684 0 0 0 .022.235 6.068 6.068 0 0 0 .078 1.738 2.019 2.019 0 0 1-1.31-1.169 2.079 2.079 0 0 1-.159-.804V8.52h1.37v11.638Zm5.479-5.136c-.475.04-.933.134-1.37.279V7.15h1.37v7.87Z\"/><path fill=\"currentColor\" d=\"M19.31 26a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm2.104-5.896-2.25 2.25a.5.5 0 0 1-.708 0l-1-1a.5.5 0 0 1 .707-.707l.647.646 1.896-1.896a.5.5 0 0 1 .708.707Z\"/></svg>')}.webchat .w61aa0a_icon--copy-code{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M5.085 2A1.5 1.5 0 0 1 6.5 1h3a1.5 1.5 0 0 1 1.415 1h.585A1.5 1.5 0 0 1 13 3.5v3.996c-.168 0-.336.027-.497.084A1.503 1.503 0 0 0 12 6.377V3.5a.5.5 0 0 0-.5-.5h-.585A1.5 1.5 0 0 1 9.5 4h-3a1.5 1.5 0 0 1-1.415-1H4.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h3.088l-.026.088c-.089.312-.072.628.028.912H4.5A1.5 1.5 0 0 1 3 13.5v-10A1.5 1.5 0 0 1 4.5 2h.585ZM6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm2.87 12.842a.502.502 0 0 1-.82-.136.498.498 0 0 1-.026-.343l2-7a.5.5 0 1 1 .962.274l-2 7a.498.498 0 0 1-.116.205ZM7.38 9.32a.5.5 0 1 0-.76-.65l-1.5 1.75a.5.5 0 0 0 0 .65l1.5 1.75a.5.5 0 1 0 .76-.65l-1.221-1.425 1.22-1.425Zm5.295 3.554a.5.5 0 0 1-.055-.705l1.222-1.424L12.62 9.32a.5.5 0 1 1 .76-.65l1.5 1.75a.5.5 0 0 1 0 .65l-1.5 1.75a.5.5 0 0 1-.705.054Z\"/></svg>')}.webchat .w61aa0a_icon--copy-code-checkmark{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M5.085 2A1.5 1.5 0 0 1 6.5 1h3a1.5 1.5 0 0 1 1.415 1h.585A1.5 1.5 0 0 1 13 3.5v2.707a5.48 5.48 0 0 0-1-.185V3.5a.5.5 0 0 0-.5-.5h-.585A1.5 1.5 0 0 1 9.5 4h-3a1.5 1.5 0 0 1-1.415-1H4.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h2.1c.183.358.404.693.657 1H4.5A1.5 1.5 0 0 1 3 13.5v-10A1.5 1.5 0 0 1 4.5 2h.585ZM6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm9.5 9.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-2.146-1.854a.5.5 0 0 0-.708 0L10.5 12.293l-.646-.647a.5.5 0 0 0-.708.708l1 1a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0 0-.708Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-up{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M8.035 1.923c.21-.52.795-1.08 1.546-.871.59.164.973.52 1.193.996.204.443.254.965.264 1.462.01.535-.102 1.176-.233 1.738a14.53 14.53 0 0 1-.195.74h1.385a2 2 0 0 1 1.919 2.563l-1.364 4.646a2.5 2.5 0 0 1-3.148 1.681l-5.356-1.682a2 2 0 0 1-1.273-1.205l-.52-1.384a2 2 0 0 1 .856-2.426l1.872-1.104a4.063 4.063 0 0 0 .523-.495c.344-.389.817-1.036 1.292-2.045.205-.436.377-.779.533-1.09.253-.503.465-.924.706-1.524ZM5.519 7.92a.517.517 0 0 1-.017.01L3.617 9.042a1 1 0 0 0-.428 1.213l.52 1.384a1 1 0 0 0 .637.603L9.7 13.924a1.5 1.5 0 0 0 1.89-1.008l1.363-4.646a1 1 0 0 0-.96-1.282H9.927a.5.5 0 0 1-.471-.667c.1-.282.252-.771.376-1.302.126-.538.215-1.082.207-1.49-.01-.468-.059-.816-.173-1.062-.098-.215-.251-.368-.552-.452-.043-.012-.094-.008-.16.035a.538.538 0 0 0-.19.246 20.426 20.426 0 0 1-.765 1.651c-.155.309-.318.634-.497 1.015-.514 1.094-1.04 1.822-1.45 2.283-.204.23-.378.393-.506.502a2.922 2.922 0 0 1-.202.157l-.016.01-.005.004-.003.002Zm-.543-.84-.001.001h.001Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-down{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M10.578 10c.016.133.034.285.05.45.074.74.131 1.793-.013 2.677-.072.44-.201.887-.442 1.237-.257.372-.647.635-1.173.635-.516 0-.83-.37-1.024-.69-.192-.321-.36-.756-.533-1.201l-.013-.034c-.547-1.41-1.295-3.317-3.307-4.658a4.979 4.979 0 0 0-.853-.458c-.697-.289-1.322-1.057-1.157-1.936l.224-1.196a2 2 0 0 1 1.43-1.558l4.95-1.375a3.5 3.5 0 0 1 4.377 2.727l.454 2.419a2.5 2.5 0 0 1-2.458 2.96h-.512Zm1.533-5.196a2.5 2.5 0 0 0-3.126-1.948l-4.95 1.375a1 1 0 0 0-.716.78l-.224 1.195c-.053.283.162.664.558.828.31.129.659.306 1.025.55 2.287 1.524 3.128 3.696 3.676 5.108l.008.02c.19.49.329.844.472 1.082.069.115.12.17.151.195a.11.11 0 0 0 .016.01c.142 0 .245-.054.349-.203.118-.173.216-.451.278-.83.122-.75.077-1.697.005-2.417a16.374 16.374 0 0 0-.114-.897l-.009-.05-.002-.013v-.003A.5.5 0 0 1 10 9h1.09a1.5 1.5 0 0 0 1.475-1.777l-.454-2.419Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-up-filled{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M9.58 1.052c-.75-.209-1.336.35-1.545.871-.24.6-.453 1.021-.706 1.524-.156.311-.328.654-.533 1.09-.475 1.01-.948 1.656-1.293 2.045a4.063 4.063 0 0 1-.405.402 1.92 1.92 0 0 1-.101.081l-.016.012L3.109 8.18a2 2 0 0 0-.856 2.426l.52 1.384a2 2 0 0 0 1.273 1.205l5.356 1.682a2.5 2.5 0 0 0 3.148-1.68l1.364-4.647a2 2 0 0 0-1.92-2.563H10.61c.066-.227.133-.479.195-.74.131-.562.243-1.203.232-1.738-.009-.497-.06-1.019-.264-1.462-.219-.475-.602-.832-1.192-.996ZM4.978 7.08l-.002.001.002-.001Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-down-filled{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M13.094 4.62a3.5 3.5 0 0 0-4.377-2.727l-4.95 1.375a2 2 0 0 0-1.43 1.558l-.224 1.196c-.165.879.46 1.647 1.157 1.936.255.106.546.253.853.458 1.68 1.119 2.48 2.636 3.016 3.925.096.232.188.47.277.699.146.376.284.73.416 1.001.111.227.245.455.42.63.186.188.435.329.748.329.357 0 .666-.124.912-.34.235-.207.393-.481.502-.761.214-.554.281-1.251.29-1.893A14.73 14.73 0 0 0 10.577 10h.512a2.5 2.5 0 0 0 2.457-2.961l-.453-2.42Z\"/></svg>')}.webchat .w61aa0a_icon--download{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"22\" viewBox=\"0 0 31.8 46\"><path fill=\"currentColor\" d=\"m26.8 23.8-10.9 11L5 23.8l1.6-1.6 8.2 8.3V5H17v25.5l8.2-8.3 1.6 1.6zM5.8 41v-2.2H26V41H5.8z\"/></svg>')}.webchat .w61aa0a_icon--chevron{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M3.146 5.646a.5.5 0 0 1 .708 0L8 9.793l4.146-4.147a.5.5 0 0 1 .708.708l-4.5 4.5a.5.5 0 0 1-.708 0l-4.5-4.5a.5.5 0 0 1 0-.708Z\"/></svg>')}.webchat .w61aa0a_icon--checkmark-circle{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill=\"currentColor\" d=\"M1 7a6 6 0 1 1 12 0A6 6 0 0 1 1 7m6-7a7 7 0 1 0 0 14A7 7 0 0 0 7 0m2.854 5.854a.5.5 0 0 0-.708-.708L6.25 8.043 4.854 6.646a.5.5 0 1 0-.708.708l1.75 1.75a.5.5 0 0 0 .708 0z\"/></svg>')}.webchat .w61aa0a_icon--unchecked-circle{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill=\"currentColor\" d=\"M1 7a6 6 0 1 1 12 0A6 6 0 0 1 1 7m6-7a7 7 0 1 0 0 14A7 7 0 0 0 7 0z\"/></svg>')}.webchat .wlkyN3a_render-markdown{display:contents}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--adaptive-cards>:first-child{text-overflow:ellipsis;width:100%;margin-block-start:0;overflow:hidden}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--adaptive-cards>:last-child{margin-block-end:0}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--message-activity>:first-child{margin-block-start:0}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--message-activity>:last-child{margin-block-end:0}.webchat .wlkyN3a_render-markdown .render-markdown__external-link-icon{background-image:var(--webchat__icon-url--external-link);height:.75em;margin-inline-start:.25em}.webchat .wlkyN3a_render-markdown .render-markdown__citation{cursor:pointer;font-family:unset;font-size:unset;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;background:none;border:0;padding:0;text-decoration:underline;display:inline-block;overflow:hidden}@media(forced-colors:active){.webchat .wlkyN3a_render-markdown .render-markdown__citation{color:linktext}}@media not (forced-colors:active){.webchat .wlkyN3a_render-markdown .render-markdown__citation{color:var(--webchat__color--accent)}}.webchat .wlkyN3a_render-markdown .render-markdown__pure-identifier{text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.webchat .wlkyN3a_render-markdown .render-markdown__pure-identifier:before{content:\"[\"}.webchat .wlkyN3a_render-markdown .render-markdown__pure-identifier:after{content:\"]\"}.webchat .wlkyN3a_render-markdown [data-math-type=block]{outline-offset:2px;scrollbar-width:thin;flex-direction:column;align-items:center;margin-block-end:-4px;padding-block-end:4px;display:flex;overflow:auto clip}.webchat .wlkyN3a_render-markdown span[data-math-type=block]{display:inline-flex}.webchat .wlkyN3a_render-markdown [data-math-type=inline]{flex-direction:column;align-items:center;display:inline-flex}.webchat .wlkyN3a_render-markdown :is([data-math-type=block],[data-math-type=inline])>span{display:contents}.webchat .wAcnLYa_send-box-attachment-bar{grid-area:attachment-bar}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-list-item{max-height:var(--webchat__max-height--send-box-attachment-bar);scrollbar-gutter:stable;scrollbar-width:thin;overflow-y:auto}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-thumbnail{overflow-x:auto}.webchat .wAcnLYa_send-box-attachment-bar .wAcnLYa_send-box-attachment-bar__box{gap:4px}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-list-item .wAcnLYa_send-box-attachment-bar__box{grid-template-columns:1fr 1fr;display:grid}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-list-item .wAcnLYa_send-box-attachment-bar__box:not(:empty){padding:4px}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-thumbnail .wAcnLYa_send-box-attachment-bar__box{scrollbar-width:thin;display:flex}.webchat .w_D4JNa_send-box-attachment-bar-item{font-family:var(--webchat__font--primary);flex-shrink:0;grid-template-rows:auto;display:grid}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item{border-radius:4px;grid-template-columns:1fr auto;grid-template-areas:\"body auxiliary\";padding:2px;box-shadow:0 2px 4px #00000024,0 0 2px #0000001f}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-thumbnail{aspect-ratio:1;border:1px solid #00000040;border-radius:8px;grid-template-columns:auto;grid-template-areas:\"body\";height:80px;overflow:hidden}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button{-webkit-appearance:none;appearance:none;cursor:pointer;opacity:1;color:#242424;--webchat__component-icon--size: 19px;background-color:#fff;border-color:#d1d1d1;border-radius:4px;grid-area:body;justify-self:end;align-items:center;padding:0;transition:opacity 50ms}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button:hover{background-color:#f5f5f5;border-color:#c7c7c7}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button:active{background-color:#e0e0e0;border-color:#c7c7c7}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button:disabled,.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button[aria-disabled=true]{color:#bdbdbd;background-color:#f0f0f0;border-color:#e0e0e0}@media(prefers-color-scheme:dark){.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button{color:#fff;background-color:#292929;border-color:#666}.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button:hover{background-color:#3d3d3d;border-color:#757575}.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button:active{background-color:#1f1f1f;border-color:#6b6b6b}.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button:disabled,.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button[aria-disabled=true]{color:#5c5c5c;background-color:#141414;border-color:#424242}}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item .w_D4JNa_send-box-attachment-bar-item__delete-button{border:0;grid-area:auxiliary;width:24px;height:24px}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item .w_D4JNa_send-box-attachment-bar-item__delete-button .w_D4JNa_send-box-attachment-bar-item__dismiss-icon{--webchat__component-icon--size: 7px;--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg viewBox=\"0 0 8 8\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0.0885911 0.215694L0.146447 0.146447C0.320013 -0.0271197 0.589437 -0.046405 0.784306 0.0885911L0.853553 0.146447L4 3.293L7.14645 0.146447C7.34171 -0.0488154 7.65829 -0.0488154 7.85355 0.146447C8.04882 0.341709 8.04882 0.658291 7.85355 0.853553L4.707 4L7.85355 7.14645C8.02712 7.32001 8.0464 7.58944 7.91141 7.78431L7.85355 7.85355C7.67999 8.02712 7.41056 8.0464 7.21569 7.91141L7.14645 7.85355L4 4.707L0.853553 7.85355C0.658291 8.04882 0.341709 8.04882 0.146447 7.85355C-0.0488154 7.65829 -0.0488154 7.34171 0.146447 7.14645L3.293 4L0.146447 0.853553C-0.0271197 0.679987 -0.046405 0.410563 0.0885911 0.215694L0.146447 0.146447L0.0885911 0.215694Z\"/></svg>')}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-thumbnail .w_D4JNa_send-box-attachment-bar-item__delete-button{border-style:solid;border-width:1px;grid-area:body;width:23px;height:23px;margin:8px}@media not (prefers-reduced-motion:reduce){.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-thumbnail:not(:hover):not(:focus-within) .w_D4JNa_send-box-attachment-bar-item__delete-button{opacity:0}}.webchat .w_D4JNa_send-box-attachment-bar-item__preview{grid-area:body;align-items:center;display:grid;overflow:hidden}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item .w_D4JNa_send-box-attachment-bar-item__preview{padding-inline:8px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview{align-items:center;display:grid}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-list-item{grid-template-columns:auto 1fr;gap:8px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-thumbnail{width:100%;height:100%}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-thumbnail.wrjrhMq_send-box-attachment-bar-item-file-preview--is-file{--webchat__component-icon--image: url('data:image/svg+xml;utf8,<svg fill=\"none\" height=\"36\" viewBox=\"0 0 36 36\" width=\"36\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.386 33H28.6C28.816 33 29 32.83 29 32.628V10H23.4C22.628 10 22 9.372 22 8.6V3H7.4C7.184 3 7 3.17 7 3.372V32.642C7 32.839 7.173 33 7.386 33Z\" fill=\"%23FFFFFF\" /><path d=\"M28.204 9.00043L23 3.81543V8.60043C23 8.82043 23.18 9.00043 23.4 9.00043H28.204Z\" fill=\"white\" /><path clip-rule=\"evenodd\" d=\"M29.613 8.993L23.018 2.421C22.7473 2.15221 22.3815 2.00095 22 2H7.4C6.628 2 6 2.615 6 3.372V32.642C6 33.39 6.622 34 7.386 34H28.6C29.372 34 30 33.385 30 32.628V9.923C30 9.577 29.86 9.237 29.613 8.993ZM23 3.815L28.204 9H23.4C23.1791 9 23 8.82091 23 8.6V3.815ZM28.6 33C28.816 33 29 32.83 29 32.628V10H23.4C22.628 10 22 9.372 22 8.6V3H7.4C7.184 3 7 3.17 7 3.372V32.642C7 32.84 7.173 33 7.386 33H28.6Z\" fill=\"%23605E5C\" fill-rule=\"evenodd\" opacity=\"0.67\" /></svg>');--webchat__component-icon--size: 36px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-list-item.wrjrhMq_send-box-attachment-bar-item-file-preview--is-file{--webchat__component-icon--image: url('data:image/svg+xml;utf8,<svg fill=\"none\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3.5 15H12.5C12.775 15 13 14.775 13 14.5V5H11.5C10.673 5 10 4.327 10 3.5V1H3.5C3.225 1 3 1.225 3 1.5V14.5C3 14.775 3.225 15 3.5 15Z\" fill=\"%23FCFCFC\" /><path d=\"M13 4V3.914C13.0004 3.78156 12.9478 3.65446 12.854 3.561L11 1.707V3.5C11 3.775 11.225 4 11.5 4H13Z\" fill=\"%23FCFCFC\" /><path clip-rule=\"evenodd\" d=\"M13.56 2.853L11.146 0.44C10.8643 0.159539 10.4835 0.00143923 10.086 0H3.5C2.673 0 2 0.673 2 1.5V14.5C2 15.327 2.673 16 3.5 16H12.5C13.327 16 14 15.327 14 14.5V3.914C14 3.514 13.844 3.137 13.56 2.854V2.853ZM12.853 3.561C12.948 3.655 13 3.781 13 3.914V4H11.5C11.2241 3.99945 11.0006 3.77591 11 3.5V1.707L12.854 3.561H12.853ZM3.5 15H12.5C12.775 15 13 14.775 13 14.5V5H11.5C10.673 5 10 4.327 10 3.5V1H3.5C3.225 1 3 1.225 3 1.5V14.5C3.00055 14.7759 3.22409 14.9994 3.5 15Z\" fill=\"%23616161\" fill-rule=\"evenodd\" opacity=\"0.67\" /></svg>');--webchat__component-icon--size: 16px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--is-image{--webchat__component-icon--image: url('data:image/svg+xml;utf8,<svg fill=\"none\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.5 14H13.5C13.775 14 14 13.775 14 13.5V2.5C14 2.225 13.775 2 13.5 2H2.5C2.225 2 2 2.225 2 2.5V13.5C2 13.775 2.225 14 2.5 14Z\" fill=\"%23FCFCFC\" /><path clip-rule=\"evenodd\" d=\"M9.27768 8.63L8.66968 9.476L7.38468 7.792C7.19551 7.54408 6.90152 7.39861 6.58968 7.39861C6.27784 7.39861 5.98385 7.54408 5.79468 7.792L4.18968 9.893C3.95877 10.1953 3.91939 10.6024 4.08807 10.9434C4.25675 11.2844 4.60427 11.5001 4.98468 11.5H11.0137C11.3887 11.4997 11.7321 11.2896 11.903 10.9557C12.074 10.6219 12.0437 10.2205 11.8247 9.916L10.9007 8.63C10.7128 8.36861 10.4106 8.21365 10.0887 8.21365C9.76678 8.21365 9.46456 8.36861 9.27668 8.63H9.27768Z\" fill=\"%23FCFCFC\" fill-rule=\"evenodd\" stroke=\"%23A6CCC3\" /><path clip-rule=\"evenodd\" d=\"M10.5 6.5C11.0523 6.5 11.5 6.05228 11.5 5.5C11.5 4.94772 11.0523 4.5 10.5 4.5C9.94772 4.5 9.5 4.94772 9.5 5.5C9.5 6.05228 9.94772 6.5 10.5 6.5Z\" fill-rule=\"evenodd\" stroke=\"%23FF9810\" /><path clip-rule=\"evenodd\" d=\"M2.5 15H13.5C14.327 15 15 14.327 15 13.5V2.5C15 1.673 14.327 1 13.5 1H2.5C1.673 1 1 1.673 1 2.5V13.5C1 14.327 1.673 15 2.5 15ZM2 2.5C2 2.22386 2.22386 2 2.5 2H13.5C13.7761 2 14 2.22386 14 2.5V13.5C14 13.7761 13.7761 14 13.5 14H2.5C2.22386 14 2 13.7761 2 13.5V2.5Z\" fill=\"%23616161\" fill-rule=\"evenodd\" opacity=\"0.67\" /></svg>');--webchat__component-icon--size: 16px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview .wrjrhMq_send-box-attachment-bar-item-file-preview__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.webchat .wSCtrvW_send-box-attachment-bar-item-image-preview{object-fit:cover;width:100%;height:100%}.webchat .w4-KLeG_text-area{font-family:var(--webchat__font--primary);max-height:var(--webchat__text-area--max-height, 200px);scrollbar-gutter:stable;grid-template-areas:\"main\";display:grid;overflow:auto}.webchat .w4-KLeG_text-area--hidden{visibility:collapse;height:0}.webchat .w4-KLeG_text-area--in-completion .w4-KLeG_text-area-doppelganger{visibility:unset}.webchat .w4-KLeG_text-area--in-completion .w4-KLeG_text-area-input{caret-color:var(--webchat__text-area--carret-color, #242424);color:#0000;background-color:#0000}.webchat .w4-KLeG_text-area--in-completion textarea::placeholder{color:#0000}.webchat .w4-KLeG_text-area-shared{font:inherit;outline:inherit;overflow-wrap:anywhere;resize:inherit;border:none;grid-area:main}.webchat .w4-KLeG_text-area-doppelganger{pointer-events:none;-webkit-user-select:none;user-select:none;visibility:hidden;white-space:pre-wrap;overflow:visible}.webchat .w4-KLeG_text-area-input{background-color:inherit;color:currentColor;contain:size;padding:0;overflow:hidden}.webchat .w4-KLeG_text-area--scroll{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:#373435 var(--webchat__color--subtle);-moz-scrollbar-width:thin}.webchat .w4-KLeG_text-area--scroll::-webkit-scrollbar{width:8px}.webchat .w4-KLeG_text-area--scroll::-webkit-scrollbar-thumb{background-color:var(--webchat__color--subtle);border-radius:10px}.webchat .w4-KLeG_text-area--scroll::-webkit-scrollbar-corner{background-color:#373435}.webchat .w_eFzsG_feedback-form{display:contents}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__vote-button-bar{gap:2px;display:flex}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__form{flex-direction:column;gap:4px;width:100%;display:flex;position:relative}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__form-header{color:#373435;font-family:var(--webchat__font--primary);flex-direction:column;font-size:14px;font-style:normal;font-weight:400;line-height:20px;display:flex}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box{background-color:#fff;border:1px solid #e8e8e8;border-radius:4px;padding:8px 12px;font-size:14px;line-height:20px;position:relative;overflow:hidden}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box:after{border-bottom:3px solid var(--webchat__color--accent);clip-path:inset(calc(100% - 3px) 50% 0);content:\"\";border-bottom-right-radius:4px;border-bottom-left-radius:4px;height:4px;transition:none;position:absolute;bottom:-1px;left:-1px;right:-1px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box:focus-within{border:1px solid #e8e8e8}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box:focus-within:after{clip-path:inset(calc(100% - 3px) 0 0);transition:clip-path .2s cubic-bezier(0,0,0,1)}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-area{resize:none;margin-inline-end:-8px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__form-footer{color:var(--webchat__color--subtle);font-family:var(--webchat__font--primary);font-size:10px;font-style:normal;font-weight:400;line-height:14px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submission-button-bar{gap:8px;margin-block-start:6px;display:flex}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submit-button{background-color:var(--webchat__color--accent);border:1px solid var(--webchat__color--accent);color:#fff;cursor:pointer;font-family:var(--webchat__font--primary);border-radius:4px;height:24px;padding:0 8px;font-size:12px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submit-button:hover,.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submit-button:active{color:#fff;background-color:#004a98;border:1px solid #004a98}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__cancel-button{color:var(--webchat__color--subtle);cursor:pointer;font-family:var(--webchat__font--primary);background-color:#fff;border:1px solid #e8e8e8;border-radius:4px;height:24px;padding:0 8px;font-size:12px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__cancel-button:hover{background-color:var(--webchat__color--subtle);color:#fff}.webchat .wwPVtVa_thumb-button{box-sizing:content-box;border-radius:2px;grid-template-areas:\"main\";align-items:center;width:16px;height:16px;display:grid}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__input{-webkit-appearance:none;appearance:none;opacity:0;background:none;border:0;grid-area:main;width:16px;height:16px;margin:0;padding:0}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__input:active{background:#edebe9}.webchat .wwPVtVa_thumb-button:has(.wwPVtVa_thumb-button__input:focus-visible){outline:1px solid #605e5c}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__image{color:var(--webchat__color--accent);pointer-events:none;visibility:hidden;grid-area:main;justify-self:center;width:14px}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__image.wwPVtVa_thumb-button__image--is-stroked{visibility:unset}.webchat .wwPVtVa_thumb-button:has(.wwPVtVa_thumb-button__input:is(:not([aria-disabled=true]):hover,:checked,[aria-pressed=true])) .wwPVtVa_thumb-button__image.wwPVtVa_thumb-button__image--is-stroked{visibility:hidden}.webchat .wwPVtVa_thumb-button:has(.wwPVtVa_thumb-button__input:is(:not([aria-disabled=true]):hover,:checked,[aria-pressed=true])) .wwPVtVa_thumb-button__image.wwPVtVa_thumb-button__image--is-filled{visibility:unset}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large{border:1px solid #0000;border-radius:4px;width:30px;height:30px}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large .wwPVtVa_thumb-button__input{background:currentColor;width:30px;height:30px}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large .wwPVtVa_thumb-button__image{color:currentColor;width:1em;height:1em;font-size:20px}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large:has(.wwPVtVa_thumb-button__input:is(:hover,:active,:checked,[aria-pressed=true])) .wwPVtVa_thumb-button__image{color:var(--webchat__color--accent)}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large:has(.wwPVtVa_thumb-button__input[aria-disabled=true]) .wwPVtVa_thumb-button__image{color:var(--webchat__color--subtle)}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large.wwPVtVa_thumb-button--has-submitted:has(.wwPVtVa_thumb-button__input:not(:checked):not([aria-pressed=true])) .wwPVtVa_thumb-button__tooltip{display:none}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large.wwPVtVa_thumb-button--has-submitted .wwPVtVa_thumb-button__tooltip{--webchat__tooltip-anchor-inline-start: 20%}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header{cursor:default;font-family:var(--webchat__font--primary);font-size:var(--webchat__font-size--small);justify-content:space-between;align-items:center;gap:4px;list-style:none;display:flex}@media(forced-colors:none){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header{color:#616161}}@media(forced-colors:none)and (not (forced-colors:none)){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header{color:#616161}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-section{align-items:center;gap:4px;display:flex;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-section--left,.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-text{flex-shrink:0}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header::-webkit-details-marker{display:none}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-chevron{flex-shrink:0}.webchat .wFYu5rq_link-definitions:not([open]) .wFYu5rq_link-definitions__header-chevron{transform:rotate(-180deg)}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-accessory{overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__message-sensitivity-label{align-items:center;gap:4px;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__message-sensitivity-label-icon{color:canvastext;flex-shrink:0}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__message-sensitivity-label-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list{flex-direction:column;gap:4px;margin:4px 0 0;padding:0;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item{flex-direction:column;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{text-align:center;text-overflow:ellipsis;white-space:nowrap;border-style:solid;border-width:1px;border-radius:4px;flex-shrink:0;align-self:flex-start;min-width:1em;max-width:4em;margin:4px;padding:2px;font-size:75%;overflow:hidden}@media(forced-colors:none){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{color:#000;background-color:#fff;border-color:#e0e0e0}}@media(forced-colors:none)and (not (forced-colors:none)){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{color:#fff;background-color:#000;border-color:#e0e0e0}}@media(forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{border-color:buttonborder}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{border-style:solid;border-width:1px;border-radius:4px;align-items:center}@media(forced-colors:none){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{background-color:#fff;border-color:#d1d1d1}}@media(forced-colors:none)and (not (forced-colors:none)){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{background-color:#000;border-color:#d1d1d1}}@media(forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{background-color:canvas;border-color:buttonborder}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box--as-link{outline-offset:0;text-decoration:none;display:block}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box--as-button{-webkit-appearance:none;appearance:none;cursor:pointer;font-family:inherit;font-size:inherit;text-align:initial;background:none;padding:0;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-body{align-items:center;gap:4px;padding:4px;font-family:Calibri,Helvetica Neue,Arial,sans-serif;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-body-main{flex-direction:column;gap:2px;display:flex;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-main-text{align-items:baseline;gap:4px;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-badge,.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-text{text-decoration:underline}@media not (forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-text{color:var(--webchat__color--accent)}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-badge{font-size:var(--webchat__font-size--small)}@media not (forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-badge{color:var(--webchat__color--subtle)}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__open-in-new-window-icon{flex-shrink:0;padding-right:4px}@media not (forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__open-in-new-window-icon{color:var(--webchat__color--accent)}}.webchat .wOVnR0W_text-content{font-family:var(--webchat__font--primary);min-height:calc(var(--webchat__min-height--bubble) - var(--webchat__padding--regular) * 2);padding:var(--webchat__padding--regular);margin:0}.webchat .wOVnR0W_text-content.wOVnR0W_text-content--is-markdown{justify-content:center;gap:var(--webchat__padding--regular);flex-direction:column;min-width:0;display:flex}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__markdown img:not(.render-markdown__external-link-icon){max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);width:100%}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__markdown pre{overflow:hidden}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__open-in-new-window-icon{height:.75em}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__activity-actions{align-self:flex-start;gap:8px calc(var(--webchat__padding--regular) / 2);flex-wrap:wrap;width:100%;display:flex}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__activity-actions:empty{display:none}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__generated-badge{color:var(--webchat__color--subtle);font-size:var(--webchat__font-size--small)}.webchat .wMObAfW_activity-button{-webkit-appearance:none;appearance:none;color:#242424;background:#fff;border:1px solid #d1d1d1;border-radius:4px;justify-content:center;align-items:center;gap:4px;padding:5px 12px;display:flex}.webchat .wMObAfW_activity-button:hover{color:#242424;background:#f5f5f5;border:1px solid #c7c7c7}.webchat .wMObAfW_activity-button:active{color:#242424;background:#e0e0e0;border:1px solid #b3b3b3}.webchat .wMObAfW_activity-button:focus-visible{outline-offset:-2px;background:#fff;outline:2px solid #000}.webchat .wMObAfW_activity-button[aria-disabled=true]{color:#bdbdbd;cursor:not-allowed;background:#f0f0f0;border:1px solid #e0e0e0}.webchat .wMObAfW_activity-button .wMObAfW_activity-button__icon{--webchat__component-icon--color: #707070;--webchat__component-icon--size: 20px;width:20px;height:20px}.webchat .w4rKArW_activity-copy-button{position:relative;overflow:clip}@supports not (overflow: clip){.webchat .w4rKArW_activity-copy-button{overflow:hidden}}.webchat .w4rKArW_activity-copy-button .w4rKArW_activity-copy-button__copied-text{visibility:hidden;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute}.webchat .w4rKArW_activity-copy-button.w4rKArW_activity-copy-button--copied .w4rKArW_activity-copy-button__copied-text{animation:.7s linear webchat__activity-copy-button__copied-animation}.webchat .w4rKArW_activity-copy-button.w4rKArW_activity-copy-button--copied .w4rKArW_activity-button__icon,.webchat .w4rKArW_activity-copy-button.w4rKArW_activity-copy-button--copied .w4rKArW_activity-button__text{visibility:hidden}.webchat .w4rKArW_activity-copy-button__copy-announcement{pointer-events:none}@keyframes webchat__activity-copy-button__copied-animation{0%{visibility:visible}to{visibility:unset}}.webchat .wyq2fIq_view-code-dialog{box-sizing:border-box;place-items:center;height:100%;max-height:100vh;padding:1rem;display:grid;overflow:hidden}.webchat .wyq2fIq_view-code-dialog .webchat__modal-dialog__box{flex-direction:column;max-width:100%;max-height:100%;display:flex;position:relative}.webchat .wyq2fIq_view-code-dialog .webchat__modal-dialog__close-button-layout{position:absolute;right:0}.webchat .wyq2fIq_view-code-dialog .webchat__modal-dialog__body{gap:var(--webchat__padding--regular);flex-direction:column;display:flex;overflow:hidden}.webchat .wyq2fIq_view-code-dialog__header{align-items:center;padding-inline-end:30px;display:flex}.webchat .wyq2fIq_view-code-dialog__title{text-transform:capitalize;margin:0 auto 0 0}.webchat .wyq2fIq_view-code-dialog .wyq2fIq_view-code-dialog__body{border:none;border-radius:0;height:100%;overflow:auto}.webchat .wyq2fIq_view-code-dialog .code-block__body{padding:16px 0;line-height:normal;display:block}.webchat .wyq2fIq_view-code-dialog__footer{color:var(--webchat__color--subtle);line-height:20px}.webchat .wOauhfq_citation-modal-dialog .wOauhfq_citation-modal-dialog__header{cursor:default}.webchat .wOauhfq_citation-modal-dialog .wOauhfq_citation-modal-dialog__body{line-height:20px}.webchat .wYVITZq_bubble{--webchat__bubble--background: var(--webchat__background--bubble);--webchat__bubble--border-color: var(--webchat__border-color--bubble);--webchat__bubble--border-radius: var(--webchat__border-radius--bubble);--webchat__bubble--border-style: var(--webchat__border-style--bubble);--webchat__bubble--border-width: var(--webchat__border-width--bubble);--webchat__bubble--color: var(--webchat__color--bubble);--webchat__bubble--nub-size: var(--webchat__size--bubble-nub);--webchat__bubble--nub-space: var(--webchat__space--bubble-nub);--webchat__bubble--nub-border-radius: min(var(--webchat__bubble--border-radius), calc(var(--webchat__bubble--nub-space) * -1));--webchat__bubble--nub-inset-block: auto calc(-1 * var(--webchat__bubble--nub-space));--webchat__bubble--nub-inset-inline: calc(var(--webchat__bubble--border-width) - var(--webchat__bubble--nub-size) + var(--webchat__padding--regular)) auto;display:flex;position:relative}.webchat .wYVITZq_bubble.wYVITZq_bubble--nub-on-top{--webchat__bubble--nub-border-radius: min(var(--webchat__bubble--border-radius), var(--webchat__bubble--nub-space));--webchat__bubble--nub-inset-block: var(--webchat__bubble--nub-space) auto}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user{--webchat__bubble--background: var(--webchat__background--bubble-user);--webchat__bubble--border-color: var(--webchat__border-color--bubble-user);--webchat__bubble--border-radius: var(--webchat__border-radius--bubble-user);--webchat__bubble--border-style: var(--webchat__border-style--bubble-user);--webchat__bubble--border-width: var(--webchat__border-width--bubble-user);--webchat__bubble--color: var(--webchat__color--bubble-user);--webchat__bubble--nub-size: var(--webchat__size--bubble-nub-user);--webchat__bubble--nub-space: var(--webchat__space--bubble-nub-user);--webchat__bubble--nub-inset-inline: auto calc(var(--webchat__bubble--border-width) - var(--webchat__bubble--nub-size) + var(--webchat__padding--regular))}.webchat .wYVITZq_bubble .wYVITZq_bubble__content{transition-duration:var(--webchat__transition-duration);word-break:var(--webchat__word-break--message-activity);flex-grow:1;margin-inline:0;transition-property:margin-inline-start,margin-inline-end;overflow:hidden}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub{position:absolute;overflow:hidden}.webchat .wYVITZq_bubble:dir(rtl) .wYVITZq_bubble__nub{transform:scaleX(-1)}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}:is(.webchat .wYVITZq_bubble.wYVITZq_bubble--hide-nub,.webchat .wYVITZq_bubble.wYVITZq_bubble--show-nub) .wYVITZq_bubble__nub-pad{width:var(--webchat__padding--regular)}.webchat .wYVITZq_bubble .wYVITZq_bubble__content{background:var(--webchat__bubble--background);border-color:var(--webchat__bubble--border-color);border-radius:var(--webchat__bubble--border-radius);border-style:var(--webchat__bubble--border-style);border-width:var(--webchat__bubble--border-width);color:var(--webchat__bubble--color);min-height:calc(var(--webchat__min-height--bubble) - var(--webchat__bubble--border-width) * 2)}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub{height:var(--webchat__bubble--nub-size);inset-block:var(--webchat__bubble--nub-inset-block);inset-inline:var(--webchat__bubble--nub-inset-inline);width:var(--webchat__bubble--nub-size)}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub-outline{fill:var(--webchat__bubble--background);stroke-width:var(--webchat__bubble--border-width);stroke:var(--webchat__bubble--border-color)}.webchat .wYVITZq_bubble:not(.wYVITZq_bubble--from-user).wYVITZq_bubble--show-nub:not(.wYVITZq_bubble--nub-on-top) .wYVITZq_bubble__content{border-end-start-radius:var(--webchat__bubble--nub-border-radius)}.webchat .wYVITZq_bubble:not(.wYVITZq_bubble--from-user).wYVITZq_bubble--show-nub.wYVITZq_bubble--nub-on-top .wYVITZq_bubble__content{border-start-start-radius:var(--webchat__bubble--nub-border-radius)}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user{flex-direction:row-reverse}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user.wYVITZq_bubble--show-nub:not(.wYVITZq_bubble--nub-on-top) .wYVITZq_bubble__content{border-end-end-radius:var(--webchat__bubble--nub-border-radius)}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user.wYVITZq_bubble--show-nub.wYVITZq_bubble--nub-on-top .wYVITZq_bubble__content{border-start-end-radius:var(--webchat__bubble--nub-border-radius)}.webchat .waR7HEa_carousel-filmstrip-attachment{max-width:var(--webchat__max-width--attachment-bubble);min-width:var(--webchat__min-width--attachment-bubble);transition-duration:var(--webchat__transition-duration);padding-inline-start:var(--webchat__padding--regular);transition-property:max-width,min-width}.webchat .waR7HEa_carousel-filmstrip-attachment:focus{outline:0}.webchat .waR7HEa_carousel-filmstrip-attachment:focus .waR7HEa_carousel-filmstrip-attachment--focus{border-color:var(--webchat__color--transcript-visual-keyboard-indicator);border-style:var(--webchat__border-style--transcript-visual-keyboard-indicator);border-width:var(--webchat__border-width--transcript-visual-keyboard-indicator);box-sizing:border-box;height:calc(100% - var(--webchat__border-width--transcript-visual-keyboard-indicator));pointer-events:none;width:calc(100% - var(--webchat__border-width--transcript-visual-keyboard-indicator));position:absolute;inset-block-start:0;inset-inline-start:0}:is(.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--hide-avatar,.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--show-avatar):first-child{padding-inline-start:calc(var(--webchat__size--avatar) + var(--webchat__padding--regular) * 2)}:is(.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--hide-nub,.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--show-nub):not(.waR7HEa_carousel-filmstrip-attachment--hide-avatar.waR7HEa_carousel-filmstrip-attachment--show-avatar):first-child{padding-inline-start:calc(var(--webchat__padding--regular) * 2)}.webchat .wzsijdG_carousel-filmstrip{-ms-overflow-style:none;touch-action:manipulation;-webkit-overflow-scrolling:touch;flex-direction:column;display:flex;position:relative;overflow:scroll hidden}@supports ((-moz-appearance: none)){.webchat .wzsijdG_carousel-filmstrip{margin-block-end:-17px}}.webchat .wzsijdG_carousel-filmstrip::-webkit-scrollbar{display:none}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__bubble{max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);transition-duration:var(--webchat__transition-duration);transition-property:max-width}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__bubble{max-width:calc(var(--webchat__max-width--message-bubble) + var(--webchat__padding--regular))}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__alignment-pad{transition-duration:var(--webchat__transition-duration);width:var(--webchat__padding--regular);flex-shrink:0;transition-property:width}.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--extra-trailing .wzsijdG_carousel-filmstrip__alignment-pad{width:calc(var(--webchat__padding--regular) * 2)}.webchat .wzsijdG_carousel-filmstrip:not(.wzsijdG_carousel-filmstrip--no-message) .wzsijdG_carousel-filmstrip__attachments{margin-block-start:var(--webchat__padding--regular)}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__attachments{margin:0;padding:0;list-style-type:none;display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__avatar{flex-shrink:0}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__avatar-gutter{transition-duration:var(--webchat__transition-duration);flex-direction:column;flex-shrink:0;align-items:flex-end;transition-property:width;display:flex}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__avatar-gutter{width:var(--webchat__size--avatar)}.webchat .wzsijdG_carousel-filmstrip:not(.wzsijdG_carousel-filmstrip--top-callout) .wzsijdG_carousel-filmstrip__avatar-gutter{justify-content:flex-end}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__complimentary{display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__complimentary-content,.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__content{flex-direction:column;flex-grow:1;display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__filler{flex-grow:10000;flex-shrink:1}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__main,.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__message{display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__nub-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-nub) .wzsijdG_carousel-filmstrip__nub-pad{width:var(--webchat__padding--regular)}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__status{display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__avatar-gutter{margin-inline-start:var(--webchat__padding--regular)}.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__attachments{margin-inline-start:calc(-1 * var(--webchat__padding--regular))}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__attachments{margin-inline-start:calc(-1 * (var(--webchat__size--avatar) + var(--webchat__padding--regular) * 2))}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-nub):not(.wzsijdG_carousel-filmstrip--hide-avatar.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__attachments{margin-inline-start:calc(-1 * var(--webchat__padding--regular) * 2)}.webchat .wtvQgqa_carousel-layout{position:relative;overflow:hidden}.webchat .wtvQgqa_carousel-layout .react-film__flipper .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button);color:var(--webchat__color--transcript-overlay-button);outline:0}:is(.webchat .wtvQgqa_carousel-layout .react-film__flipper:disabled,.webchat .wtvQgqa_carousel-layout .react-film__flipper[aria-disabled=true]) .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button-disabled);color:var(--webchat__color--transcript-overlay-button-disabled)}.webchat .wtvQgqa_carousel-layout .react-film__flipper:focus .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button-focus);color:var(--webchat__color--transcript-overlay-button-focus, var(--webchat__color--transcript-overlay-button))}.webchat .wtvQgqa_carousel-layout .react-film__flipper:hover .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button-hover);color:var(--webchat__color--transcript-overlay-button-hover, var(--webchat__color--transcript-overlay-button))}.webchat .wRAis8G_stacked-layout{font-family:var(--webchat__font--primary);margin-inline:var(--webchat__padding--regular);position:relative}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-row,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__main,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-row,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__status{display:flex}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__alignment-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--extra-trailing .wRAis8G_stacked-layout__alignment-pad{width:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__title{color:var(--webchat__color--subtle);margin-block:var(--webchat__padding--regular);margin-inline:var(--webchat__padding--regular);font-size:1.1em}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble>.wRAis8G_stacked-layout__title:not(:last-child){margin-block-end:0}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment{max-width:var(--webchat__max-width--attachment-bubble);min-width:var(--webchat__min-width--attachment-bubble);transition-duration:var(--webchat__transition-duration);width:100%;transition-property:max-width,min-width}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-list{flex-direction:column;display:flex}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-list:empty{display:none}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-row{width:100%;margin-block-start:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--no-message .wRAis8G_stacked-layout__attachment-list .wRAis8G_stacked-layout__attachment-row:first-child{margin-block-start:0}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__avatar-gutter{transition-duration:var(--webchat__transition-duration);flex-direction:column;flex-shrink:0;width:0;transition-property:width;display:flex}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__attachment-row,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__main,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__message-row,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__status{flex-direction:row-reverse}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__content{flex-direction:column;flex:1;display:flex;overflow:hidden}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message{max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);transition-duration:var(--webchat__transition-duration);transition-property:max-width;overflow:hidden}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-row{gap:var(--webchat__padding--regular);display:flex}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status{--webchat__component-icon--size: 19px;box-sizing:border-box;color:var(--webchat__color--subtle);height:1lh;grid-template-areas:\"message-status-icon\";place-self:start;width:1em;margin-block-start:var(--webchat__padding--regular);margin-inline-start:var(--webchat__padding--regular);font-size:1.1em;display:grid}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status:has(+.text-content){font-size:1em}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status>*{grid-area:message-status-icon}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status-unset-icon,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status-complete-icon,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status-loader{visibility:hidden}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status--unset .wRAis8G_stacked-layout__message-status-unset-icon,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status--incomplete .wRAis8G_stacked-layout__message-status-loader,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status--published .wRAis8G_stacked-layout__message-status-complete-icon{visibility:unset}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble{grid-template:\"content\" 1fr / 1fr;display:grid}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble>*{grid-column:content}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble>.wRAis8G_stacked-layout__message-status{grid-area:status}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble:has(.wRAis8G_stacked-layout__message-status){grid-template:\"status content\" \". content\" / min-content auto}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__nub-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__avatar-gutter{width:var(--webchat__size--avatar)}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-nub,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-nub).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__attachment{max-width:calc(var(--webchat__max-width--attachment-bubble) + var(--webchat__padding--regular));min-width:calc(var(--webchat__min-width--attachment-bubble) + var(--webchat__padding--regular))}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-nub,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-nub).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__message{max-width:calc(var(--webchat__max-width--message-bubble) + var(--webchat__padding--regular));min-width:calc(var(--webchat__min-width--message-bubble) + var(--webchat__padding--regular))}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-nub,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-nub).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__nub-pad{width:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout:not(.wRAis8G_stacked-layout--top-callout) .wRAis8G_stacked-layout__avatar-gutter,.webchat .wRAis8G_stacked-layout:not(.wRAis8G_stacked-layout--top-callout) .wRAis8G_stacked-layout__content{justify-content:flex-end}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group.wRAis8G_stacked-layout--show-avatar)>.wRAis8G_stacked-layout__main>.wRAis8G_stacked-layout__avatar-gutter{width:var(--webchat__size--avatar);margin-inline-end:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group .wRAis8G_stacked-layout__message-status{display:none}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--incomplete),.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--published)) .wRAis8G_stacked-layout__bubble{grid-template:\"status content\" \". content\" / min-content auto}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--incomplete),.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--published)) .wRAis8G_stacked-layout__message-status{display:grid}.webchat .w4KLAFG_code-block-content{border:var(--webchat__border-width--bubble) var(--webchat__border-style--bubble) var(--webchat__border-color--bubble);border-radius:var(--webchat__border-radius--bubble);font-family:var(--webchat__font--primary);margin:0 calc(var(--webchat__border-width--bubble) * -1) calc(var(--webchat__border-width--bubble) * -1);font-size:14px;font-style:normal;font-weight:400;display:block;position:relative;overflow:hidden}@supports (overflow: clip){.webchat .w4KLAFG_code-block-content{overflow:clip}}.webchat .w4KLAFG_code-block-content__header{align-items:center;gap:var(--webchat__padding--regular);padding:var(--webchat__padding--regular);justify-content:space-between;display:flex}.webchat .w4KLAFG_code-block-content__title{font-weight:600}.webchat .w4KLAFG_code-block-content__title:first-letter{text-transform:uppercase}.webchat .w4KLAFG_code-block-content .w4KLAFG_code-block-content__code-block{max-height:360px;padding:var(--webchat__padding--regular) 8px var(--webchat__padding--regular) var(--webchat__padding--regular);border:none;margin:0;overflow-y:auto}.webchat .wo1OXYa_collapsible-content{display:grid}.webchat .wo1OXYa_collapsible-content[open] .wo1OXYa_collapsible-content__chevron{transform:rotate(180deg)}.webchat .wo1OXYa_collapsible-content[open] .wo1OXYa_collapsible-content__summary{margin-block-end:0}.webchat .wo1OXYa_collapsible-content__summary{cursor:pointer;font-family:var(--webchat__font--primary);gap:calc(var(--webchat__padding--regular) / 2);margin:var(--webchat__padding--regular);justify-self:self-start;padding:0;list-style:none;display:inline-flex}.webchat .wo1OXYa_collapsible-content__summary::-webkit-details-marker{display:none}.webchat .wo1OXYa_collapsible-content__summary:focus-visible{outline-offset:3px}.webchat .wo1OXYa_collapsible-content__summary-text{flex:auto}.webchat .wo1OXYa_collapsible-content__chevron{transition:transform var(--webchat__transition-duration) var(--webchat__transition-easing)}.webchat .wo1OXYa_collapsible-content__content{flex-direction:column;display:flex}.webchat .wgymfeG_message-status-loader{--webchat__component-icon--mask: url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='3'/></svg>\");animation:1.5s ease-in-out infinite message-status-loader__pulse}@media(prefers-reduced-motion:reduce){.webchat .wgymfeG_message-status-loader{animation-play-state:paused}}@keyframes message-status-loader__pulse{0%,to{opacity:.3}50%{opacity:1}}.webchat .wBpMa5G_activity-status{color:var(--webchat__color--timestamp);font-family:var(--webchat__font--primary);font-size:var(--webchat__font-size--small);margin-block-start:calc(var(--webchat__padding--regular) / 2)}.webchat .wBpMa5G_activity-status.wBpMa5G_activity-status--slotted{gap:4px;display:inline-flex}.webchat .wBpMa5G_activity-status-slot{display:contents}.webchat .wBpMa5G_activity-status-slot:not(:first-child):before{content:\"|\"}.webchat .wBpMa5G_activity-status-slot:empty{display:none}.webchat .wBpMa5G_activity-status__originator{align-items:center}.webchat .wBpMa5G_activity-status__originator.wBpMa5G_activity-status__originator--has-link{color:var(--webchat__color--accent)}.webchat .wHUVgzG_transcript-focus-area{--webchat__transcript--spacing: 10px;outline:0;grid-template-areas:\"content\";display:grid}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__indicator,.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__transcript-indicator{box-sizing:border-box;isolation:isolate;pointer-events:none;grid-area:content;min-height:0;font-size:0}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__root,.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content-root{grid-area:content;min-width:0;min-height:0}.webchat .wHUVgzG_transcript-focus-area:focus .wHUVgzG_transcript-focus-area__content--focused>.wHUVgzG_transcript-focus-area__content-overlay .wHUVgzG_transcript-focus-area__indicator{border-color:var(--webchat__color--transcript-activity-visual-keyboard-indicator);border-style:var(--webchat__border-style--transcript-activity-visual-keyboard-indicator);border-width:var(--webchat__border-width--transcript-activity-visual-keyboard-indicator);inset:calc(var(--webchat__transcript--spacing) / -2) calc(var(--webchat__transcript--spacing) / 2) calc(var(--webchat__transcript--spacing) / -2) calc(var(--webchat__transcript--spacing) / 2);position:absolute}.webchat .wHUVgzG_transcript-focus-area:focus-visible .wHUVgzG_transcript-focus-area__transcript-indicator,.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__root:has(.wHUVgzG_transcript-focus-area__terminator:focus-visible)+.wHUVgzG_transcript-focus-area__transcript-indicator{border-color:var(--webchat__border-color--transcript-visual-keyboard-indicator);border-style:var(--webchat__border-style--transcript-visual-keyboard-indicator);border-width:var(--webchat__border-width--transcript-visual-keyboard-indicator)}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__activity-list{gap:var(--webchat__transcript--spacing);padding-block:var(--webchat__transcript--spacing);display:grid}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content{grid-template-areas:\"content\";min-width:0;min-height:0;display:grid}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content>*{grid-area:content;min-width:0}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content-overlay{pointer-events:none;grid-area:content;width:100%;min-height:0;position:relative}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content-active-descendant{inset:calc(var(--webchat__transcript--spacing) / -1) 0 calc(var(--webchat__transcript--spacing) / -1) 0;position:absolute}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator{outline:0;width:100%;height:0;position:relative}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator-body{justify-content:center;display:flex;position:absolute;inset:auto 0 0}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator:not(:focus) .wHUVgzG_transcript-focus-area__terminator-body{display:none}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator-text{background:var(--webchat__background--transcript-terminator);border-radius:var(--webchat__border-radius--transcript-terminator);color:var(--webchat__color--transcript-terminator);font-family:var(--webchat__font--primary);font-size:var(--webchat__font-size--transcript-terminator);margin:calc(var(--webchat__transcript--spacing) / 2);padding:calc(var(--webchat__transcript--spacing) / 2)}.webchat .wDvoJHW_collapsible-grouping{border-radius:var(--webchat__border-radius--bubble);border:var(--webchat__border-width--bubble) var(--webchat__border-style--bubble) var(--webchat__border-color--bubble);box-sizing:border-box;font-family:var(--webchat__font--primary);max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);transition:gap var(--webchat__transition-duration) var(--webchat__transition-easing);gap:0;font-style:normal;font-weight:400;display:block;position:relative}.webchat .wDvoJHW_collapsible-grouping__header{padding:var(--webchat__padding--regular);align-items:center;display:flex;position:relative}.webchat .wDvoJHW_collapsible-grouping__title{margin-inline-end:var(--webchat__padding--regular);font-size:1.1em}.webchat .wDvoJHW_collapsible-grouping__toggle{flex:none;margin-inline-start:auto}.webchat .wDvoJHW_collapsible-grouping__chevron{transition:transform var(--webchat__transition-duration) var(--webchat__transition-easing);order:-1}.webchat .wDvoJHW_collapsible-grouping--open .wDvoJHW_collapsible-grouping__chevron{transform:rotate(180deg)}.webchat .wDvoJHW_collapsible-grouping__content{interpolate-size:allow-keywords;opacity:0;min-width:0;height:0;transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),visibility 0s linear var(--webchat__transition-duration);visibility:hidden;display:grid;overflow:clip}.webchat .wDvoJHW_collapsible-grouping__content--open{height:auto;margin:calc(var(--webchat__padding--regular) / -2);opacity:1;padding:calc(var(--webchat__padding--regular) / 2);transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),border-color var(--webchat__transition-duration) calc(var(--webchat__transition-duration) / 2) var(--webchat__transition-easing),visibility 0s linear 0s;visibility:unset}.webchat .wDvoJHW_collapsible-grouping__list{gap:0;margin-block-end:calc(var(--webchat--collapsible-grouping__list--gap, var(--webchat__padding--regular)) * -1);display:grid}.webchat .wDvoJHW_collapsible-grouping__list>*{margin-block-end:var(--webchat--collapsible-grouping__list--gap, var(--webchat__padding--regular))}.webchat .wjtNCTG_part-grouping-activity .wjtNCTG_part-grouping-activity__activities{padding-block:0 var(--webchat__padding--regular);gap:0}.webchat .wjtNCTG_part-grouping-activity .wjtNCTG_part-grouping-activity__message-status{color:currentColor;opacity:1;transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),visibility 0s linear 0s;visibility:unset;place-self:center;margin-block:0;margin-inline-end:var(--webchat__padding--regular)}.webchat .wjtNCTG_part-grouping-activity .wjtNCTG_part-grouping-activity__collapsible.wjtNCTG_part-grouping-activity__collapsible--open .wjtNCTG_part-grouping-activity__message-status{opacity:0;visibility:hidden;transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),visibility 0s linear var(--webchat__transition-duration);width:0;margin-inline:0}.webchat .w6N4Cvq_say-alt{color:red;margin:0}.webchat .wWoZ38W_code-block{background:var(--webchat__background--code-block, inherit);color:var(--webchat__color--code-block, currentColor);border:1px solid #d1d1d1;border-radius:4px;margin:16px 0;padding:4px 4px 4px 8px;line-height:normal;display:block;overflow:hidden}.webchat .wWoZ38W_code-block:has(.wWoZ38W_code-block__theme--github-dark-default){background:var(--webchat__background--code-block, #0d1117);color:var(--webchat__color--code-block, #e6edf3)}.webchat .wWoZ38W_code-block:has(.wWoZ38W_code-block__theme--github-light-default){background:var(--webchat__background--code-block, #fff);color:var(--webchat__color--code-block, #1f2328)}.webchat .wWoZ38W_code-block:has(.wWoZ38W_code-block__body:focus-visible):focus-within{outline-offset:-2px;outline:2px solid #000}.webchat .wWoZ38W_code-block__body{white-space:pre-wrap;line-height:unset;outline:none;margin:0;display:inline}.webchat .wGHOKkG_code-block-copy-button{-webkit-appearance:none;appearance:none;color:#242424;float:right;background:#fff;border:1px solid #d1d1d1;border-radius:4px;justify-content:center;align-items:center;gap:4px;margin-inline-start:var(--webchat__padding--regular);padding:3px;display:grid}.webchat .wGHOKkG_code-block-copy-button:hover{color:#242424;background:#f5f5f5;border:1px solid #c7c7c7}.webchat .wGHOKkG_code-block-copy-button:active{color:#242424;background:#e0e0e0;border:1px solid #b3b3b3}.webchat .wGHOKkG_code-block-copy-button:focus-visible{outline-offset:-2px;background:#fff;outline:2px solid #000}.webchat .wGHOKkG_code-block-copy-button[aria-disabled=true]{color:#bdbdbd;cursor:not-allowed;background:#f0f0f0;border:1px solid #e0e0e0}.webchat .wGHOKkG_code-block-copy-button__icon{--webchat__component-icon--color: #707070;--webchat__component-icon--size: 16px;grid-area:1 / 1}.webchat .wGHOKkG_code-block-copy-button__icon--copied{opacity:0}.webchat .wGHOKkG_code-block-copy-button--copied .wGHOKkG_code-block-copy-button__icon{animation:.5s linear code-block-copy-button__copied-animation}@keyframes code-block-copy-button__copied-animation{0%{opacity:1}to{opacity:unset}}\n",kM=_chunkI6EXXZUNjs.a.call(void 0, TM),Db=kM;var FM=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _valibot.never.call(void 0, )),nonce:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),DM=Db("component");function qb(t){let{nonce:e}=_chunkTMUNLKZWjs.h.call(void 0, FM,t),[{stylesRoot:o}]=_hookjs.useStyleOptions.call(void 0, );return _react2.default.createElement(_chunkTMUNLKZWjs.j,{at:o,nonce:e,styleElements:DM})}qb.displayName="ComponentStylesheet";var zb=_react.memo.call(void 0, qb);function Uc(t,e){return Object.entries(t).reduce((o,[r,i])=>(_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, r)||(o[r]=e(i,r)),o),{})}var{useGetActivityByKey:UM,useReferenceGrammarID:JM,useStyleOptions:Hb,useTrackException:ZM}=_botframeworkwebchatapi.hooks;function XM(t,e){return Uc(e,(o,r)=>r==="options"?o:t(o))}var QM={"&.webchat__css-custom-properties":{"& .webchat__live-region":{color:"transparent",height:1,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}}},Yb=_react.memo.call(void 0, ({children:t,nonce:e,storeDebugAPI:o})=>{let[{internalLiveRegionFadeAfter:r}]=Hb(),i=_chunkPOTPE56Bjs.a.call(void 0, )(QM)+"",n=_react.useRef.call(void 0, null),a=ZM(),s=_react.useCallback.call(void 0, c=>{if(c.error!=="aborted"){let l=new Error("Speech recognition failed");l.cause=c,a(l,!1),console.error(l)}},[a]);return _react.useEffect.call(void 0, ()=>{let{current:c}=n;return c?(c.webChat=o,()=>delete c.webChat):()=>{}},[o]),_react2.default.createElement(Fb,{className:_classnames2.default.call(void 0, "webchat","webchat__css-custom-properties",i),nonce:e,ref:n},_react2.default.createElement(cb,null,_react2.default.createElement(_chunkQGLO74KJjs.n,null,_react2.default.createElement(_chunkQGLO74KJjs.v,null,_react2.default.createElement(_chunkPOTPE56Bjs.j,{className:"webchat__live-region",fadeAfter:r},_react2.default.createElement(wb,null,_react2.default.createElement(fb,null,_react2.default.createElement(_chunkXQWBSH7Pjs.g,null,t),_react2.default.createElement(gm,{onError:s}))))))))});Yb.displayName="ComposerCoreUI";var Mr=({children:t,extraStyleSet:e,nonce:o,renderMarkdown:r,storeDebugAPI:i,styleSet:n,suggestedActionsAccessKey:a,webSpeechPonyfillFactory:s})=>{let[c,l]=_react.useState.call(void 0, ),[d]=JM(),[p]=Hb(),m=_react.useRef.call(void 0, []),u=_react.useRef.call(void 0, []),f=_react.useRef.call(void 0, []),b=_chunkPOTPE56Bjs.a.call(void 0, ),y=_react.useMemo.call(void 0, ()=>XM(b,{...n||Yc(p),...e}),[e,p,n,b]),v=_react.useMemo.call(void 0, ()=>{let L=s&&s({referenceGrammarID:d}),{speechSynthesis:z,SpeechSynthesisUtterance:W}=L||{};return{...L,speechSynthesis:z||un,SpeechSynthesisUtterance:W||pn}},[d,s]),h=_react.useRef.call(void 0, []),x=_react.useCallback.call(void 0, L=>h.current.forEach(z=>z(L)),[h]),w=_react.useCallback.call(void 0, L=>(h.current=[...h.current,L],()=>{h.current=h.current.filter(z=>z!==L)}),[h]),g=_react.useRef.call(void 0, []),[k,I]=_react.useState.call(void 0, 0),_=UM(),S=_react.useMemo.call(void 0, ()=>{let L=Symbol();return z=>{if(z!==L){L=z;let W={activity:_(z)};g.current.forEach(K=>K(W))}}},[_,g]),N=_react.useCallback.call(void 0, L=>(g.current=[...g.current,L],I(g.current.length),()=>{g.current=g.current.filter(z=>z!==L),I(g.current.length)}),[g,I]),B=_react.useMemo.call(void 0, ()=>({dictateAbortable:c,dispatchScrollPosition:x,dispatchTranscriptFocusByActivityKey:S,focusTranscriptCallbacksRef:m,nonce:o,numTranscriptFocusObservers:k,observeScrollPosition:w,observeTranscriptFocus:N,renderMarkdown:r,scrollToCallbacksRef:u,scrollToEndCallbacksRef:f,setDictateAbortable:l,styleSet:y,suggestedActionsAccessKey:a,webSpeechPonyfill:v}),[c,x,S,m,o,k,w,N,y,r,u,f,l,a,v]);return _react2.default.createElement(_reactsay.Composer,{ponyfill:v},_react2.default.createElement(_chunkQGLO74KJjs.a.Provider,{value:B},_react2.default.createElement(Yb,{nonce:o,storeDebugAPI:i},t)))};Mr.defaultProps={extraStyleSet:void 0,nonce:void 0,renderMarkdown:void 0,styleSet:void 0,suggestedActionsAccessKey:"A a \xC5 \xE5",webSpeechPonyfillFactory:void 0};Mr.propTypes={extraStyleSet:_proptypes2.default.any,nonce:_proptypes2.default.string,renderMarkdown:_proptypes2.default.func,styleSet:_proptypes2.default.any,suggestedActionsAccessKey:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.string]),webSpeechPonyfillFactory:_proptypes2.default.func};var Zc=({activityMiddleware:t,activityStatusMiddleware:e,attachmentForScreenReaderMiddleware:o,attachmentMiddleware:r,avatarMiddleware:i,cardActionMiddleware:n,children:a,decoratorMiddleware:s,extraStyleSet:c,htmlContentTransformMiddleware:l,polymiddleware:d,renderMarkdown:p,scrollToEndButtonMiddleware:m,sendBoxMiddleware:u,sendBoxToolbarMiddleware:f,styleOptions:b,styleSet:y,suggestedActionsAccessKey:v,toastMiddleware:h,typingIndicatorMiddleware:x,webSpeechPonyfillFactory:w,...g})=>{let{nonce:k,onTelemetry:I}=g,_=Us(),S=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(t),..._.activityMiddleware]),[t,_.activityMiddleware]),N=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(e),..._.activityStatusMiddleware,...xs()]),[e,_.activityStatusMiddleware]),B=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(o),..._.attachmentForScreenReaderMiddleware,...Cs()]),[o,_.attachmentForScreenReaderMiddleware]),L=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(r),..._.attachmentMiddleware,...Ha()]),[r,_.attachmentMiddleware]),z=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(i),..._.avatarMiddleware]),[i,_.avatarMiddleware]),W=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(n),..._.cardActionMiddleware,...Is()]),[n,_.cardActionMiddleware]),K=_react.useMemo.call(void 0, ()=>Bf(b),[b]),T=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...d||[],..._.polymiddleware,tf,K]),[K,d,_.polymiddleware]),R=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(h),..._.toastMiddleware,...$f()]),[h,_.toastMiddleware]),O=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(x),..._.typingIndicatorMiddleware,...Rs()]),[x,_.typingIndicatorMiddleware]),j=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([...Xt(m),..._.scrollToEndButtonMiddleware,...Ms()]),[m,_.scrollToEndButtonMiddleware]),G=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([..._botframeworkwebchatapi.extractSendBoxMiddleware.call(void 0, u),..._botframeworkwebchatapi.extractSendBoxMiddleware.call(void 0, _.sendBoxMiddleware),...xb()]),[u,_.sendBoxMiddleware]),q=_chunkQGLO74KJjs.M.call(void 0, ()=>Object.freeze([..._botframeworkwebchatapi.extractSendBoxToolbarMiddleware.call(void 0, f),..._botframeworkwebchatapi.extractSendBoxToolbarMiddleware.call(void 0, _.sendBoxToolbarMiddleware),...Ib()]),[f,_.sendBoxToolbarMiddleware]),Y=_react.useMemo.call(void 0, ()=>_internaljs.StoreDebugAPIRegistry.get(g.store),[g.store]);return _react2.default.createElement(_botframeworkwebchatapi.Composer,{activityMiddleware:S,activityStatusMiddleware:N,attachmentForScreenReaderMiddleware:B,attachmentMiddleware:L,avatarMiddleware:z,cardActionMiddleware:W,downscaleImageToDataURL:_chunkQGLO74KJjs.r,nonce:k,polymiddleware:T,scrollToEndButtonMiddleware:j,sendBoxMiddleware:G,sendBoxToolbarMiddleware:q,styleOptions:b,toastMiddleware:R,typingIndicatorMiddleware:O,...g},_react2.default.createElement(zb,{nonce:k}),_react2.default.createElement(_chunkPOTPE56Bjs.b,{nonce:k},_react2.default.createElement(pb,{middleware:l},_react2.default.createElement(Ab,null,_react2.default.createElement(wm,null,_react2.default.createElement(_decoratorjs.DecoratorComposer,{middleware:s},_react2.default.createElement(Mr,{extraStyleSet:c,nonce:k,renderMarkdown:p,storeDebugAPI:Y,styleSet:y,suggestedActionsAccessKey:v,webSpeechPonyfillFactory:w},a,I&&_react2.default.createElement(Am,null))))))))};Zc.defaultProps={..._botframeworkwebchatapi.Composer.defaultProps,...Mr.defaultProps,children:void 0};Zc.propTypes={..._botframeworkwebchatapi.Composer.propTypes,...Mr.propTypes,children:_proptypes2.default.any};var Ro=Zc;var{useLocalizer:eP}=_botframeworkwebchatapi.hooks,oP=()=>{let t=eP();return _react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:t("CONNECTIVITY_STATUS_ALT",t("CONNECTIVITY_STATUS_ALT_CONNECTED"))})},Vb=oP;function nP(){let[,t]=_react.useState.call(void 0, );return _react.useCallback.call(void 0, ()=>t({}),[t])}var Ub=nP;var{useDirection:lP}=_botframeworkwebchatapi.hooks,dP=()=>{let[{spinnerAnimation:t}]=_chunkQGLO74KJjs.c.call(void 0, ),[e]=lP();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, t+"",e==="rtl"&&"webchat__spinner--rtl")})},Jb=dP;var{useDirection:mP}=_botframeworkwebchatapi.hooks,Qb=16,Xc=({className:t,size:e})=>{let[o]=mP();return _react2.default.createElement("svg",{alt:"",className:_classnames2.default.call(void 0, t+"",o==="rtl"&&"webchat_warning--rtl"),height:Qb*e,viewBox:"0 0 13.1 13.1",width:Qb*e},_react2.default.createElement("path",{d:"M13.1,13.1H0L6.6,0L13.1,13.1z M7,10.5H6.1v0.9H7V10.5z M7,9.7V5.2H6.1v4.4L7,9.7z",fillRule:"evenodd"}))};Xc.defaultProps={className:"",size:1};Xc.propTypes={className:_proptypes2.default.string,size:_proptypes2.default.number};var $b=Xc;var{useDirection:AP,useLocalizer:xP,usePonyfill:SP,useStyleOptions:CP}=_botframeworkwebchatapi.hooks,TP=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {reconnect:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function kP(t){let{reconnect:e=!1}=_chunkTMUNLKZWjs.h.call(void 0, TP,t),[{Date:o}]=SP(),[{slowConnectionAfter:r}]=CP(),[{connectivityNotification:i,warningNotification:n}]=_chunkQGLO74KJjs.c.call(void 0, ),[a]=AP(),[s]=_react.useState.call(void 0, ()=>o.now()),c=Ub(),l=xP(),d=l("CONNECTIVITY_STATUS_ALT_CONNECTING"),p=l("CONNECTIVITY_STATUS_ALT_RECONNECTING"),m=l("CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION");return xr(s+r,c),o.now()>=s+r?_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:l("CONNECTIVITY_STATUS_ALT",m)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",n+""),dir:a},_react2.default.createElement($b,null),m)):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:l("CONNECTIVITY_STATUS_ALT",e?p:d)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",i+""),dir:a},_react2.default.createElement(Jb,null),e?p:d))}var Qc=_react.memo.call(void 0, kP);var{useDirection:NP}=_botframeworkwebchatapi.hooks,i_=16,$c=({className:t,size:e})=>{let[o]=NP();return _react2.default.createElement("svg",{alt:"",className:_classnames2.default.call(void 0, t+"",o==="rtl"&&"webchat__error--rtl"),height:i_*e,viewBox:"0 0 13.1 13.1",width:i_*e},_react2.default.createElement("path",{d:"M6.5,13C2.9,13,0,10.1,0,6.5S2.9,0,6.5,0S13,2.9,13,6.5S10.1,13,6.5,13z M6.1,3.5v4.3h0.9V3.5H6.1z M6.1,8.7v0.9h0.9V8.7H6.1z",fillRule:"evenodd"}))};$c.defaultProps={className:"",size:1};$c.propTypes={className:_proptypes2.default.string,size:_proptypes2.default.number};var En=$c;var{useDirection:EP,useLocalizer:LP}=_botframeworkwebchatapi.hooks,BP=()=>{let[{errorNotification:t}]=_chunkQGLO74KJjs.c.call(void 0, ),[e]=EP(),o=LP(),r=o("CONNECTIVITY_STATUS_ALT_FATAL");return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:o("CONNECTIVITY_STATUS_ALT",r)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",t+""),dir:e},_react2.default.createElement(En,null),r))},n_=BP;var{useDirection:FP,useLocalizer:DP}=_botframeworkwebchatapi.hooks,qP=()=>{let[{errorNotification:t}]=_chunkQGLO74KJjs.c.call(void 0, ),[e]=FP(),o=DP(),r=o("CONNECTIVITY_STATUS_ALT_RENDER_ERROR");return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:o("CONNECTIVITY_STATUS_ALT",r)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",t+""),dir:e},_react2.default.createElement(En,null),r))},a_=qP;var{useDebouncedNotifications:WP}=_botframeworkwebchatapi.hooks,KP=({className:t})=>{let[{connectivitystatus:e}]=WP();if(!e)return null;switch(e.message){case"connecting":return _react2.default.createElement(Qc,{className:t});case"javascripterror":return _react2.default.createElement(a_,{className:t});case"failedtoconnect":return _react2.default.createElement(n_,{className:t});case"reconnecting":return _react2.default.createElement(Qc,{className:t,reconnect:!0});default:return _react2.default.createElement(Vb,{className:t})}},Ln= exports.x =KP;var tl=({className:t})=>_react2.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"9",role:"presentation",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M15.2734 8.97656L8 1.71094L0.726563 8.97656L0.0234375 8.27344L8 0.289062L15.9766 8.27344L15.2734 8.97656Z"}));tl.defaultProps={className:void 0};tl.propTypes={className:_proptypes2.default.string};var c_=tl;var el=({className:t})=>_react2.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"10",role:"presentation",viewBox:"0 0 16 10",width:"16",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M15.1484 0.648437L15.8516 1.35156L8 9.20312L0.148438 1.35156L0.851563 0.648438L8 7.79687L15.1484 0.648437Z"}));el.defaultProps={className:void 0};el.propTypes={className:_proptypes2.default.string};var d_=el;var{useDebouncedNotifications:tE,useLocalizer:eE,useRenderToast:oE}=_botframeworkwebchatapi.hooks,rE={display:"flex",flexDirection:"column","& .webchat__toaster__header":{display:"flex",flexShrink:0},"& .webchat__toaster__expandText":{flex:1},"& .webchat__toaster__list":{display:"block",listStyleType:"none"}},u_={error:1,warn:2,info:3,success:4},iE=Object.keys(u_);function p_(t){return iE.includes(t)?u_[t]:5}function nE(t,e){return p_(t)-p_(e)}function aE(t){return Object.values(t).sort(({timestamp:e},{timestamp:o})=>o-e)}var sE=t=>t,cE={two:"TOAST_ACCORDION_TWO",few:"TOAST_ACCORDION_FEW",many:"TOAST_ACCORDION_MANY",other:"TOAST_ACCORDION_OTHER"},m_=({className:t})=>{let e=_react.useMemo.call(void 0, ()=>Sr(),[]),[{toaster:o}]=_chunkQGLO74KJjs.c.call(void 0, ),[r]=tE(),[i,n]=_react.useState.call(void 0, !1),a=eE({plural:!0}),s=oE(),c=_chunkPOTPE56Bjs.a.call(void 0, )(rE)+"",l=_react.useCallback.call(void 0, ()=>n(!i),[i,n]),d=_react.useMemo.call(void 0, ()=>aE(r),[r]),p=_react.useMemo.call(void 0, ()=>d.map(v=>{let h=s({notification:v});return h&&{children:h,notification:v}}).filter(sE),[s,d]),m=p.length>1,[u]=p.map(({notification:{level:v}})=>v).sort(nE),f=_react.useMemo.call(void 0, ()=>!m||i?`webchat__toaster__list__${e}`:void 0,[m,i,e]),b=_react.useMemo.call(void 0, ()=>m?`webchat__toaster__header__${e}`:void 0,[m,e]);_react.useEffect.call(void 0, ()=>{!m&&n(!1)},[m]);let y=_react.useRef.call(void 0, new Set);return _chunkPOTPE56Bjs.l.call(void 0, ()=>{var h;let v=[];for(let x of d.slice().reverse())y.current.has(x.id)||(y.current.add(x.id),v.push(x.alt?_react2.default.createElement("div",{"aria-atomic":!0,className:"webchat__toaster__notifications",key:x.id},x.alt):_react2.default.createElement("div",{"aria-atomic":!0,className:"webchat__toaster__notifications",dangerouslySetInnerHTML:{__html:Cn((h=x.message)!=null?h:"")},key:x.id})));return v.length>0&&_react2.default.createElement(_react.Fragment,null,v)},[d]),_react2.default.createElement("div",{"aria-labelledby":b,"aria-relevant":"all",className:_classnames2.default.call(void 0, "webchat__toaster",{"webchat__toaster--expandable":m,"webchat__toaster--expanded":i,"webchat__toaster--error":u==="error","webchat__toaster--info":u==="info","webchat__toaster--success":u==="success","webchat__toaster--warn":u==="warn"},c,o+"",t),role:"log"},m&&_react2.default.createElement("button",{"aria-controls":f,"aria-expanded":i,className:"webchat__toaster__header",id:b,onClick:l,type:"button"},_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__toaster__expandLevelIconBox"},_react2.default.createElement(Sn,{className:"webchat__toaster__expandLevelIcon",level:u})),_react2.default.createElement("div",{className:"webchat__toaster__expandText"},a(cE,p.length)),_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__toaster__expandIcon"},_react2.default.createElement("div",{className:"webchat__toaster__expandIconFocus"},i?_react2.default.createElement(c_,null):_react2.default.createElement(d_,null)))),(!m||i)&&_react2.default.createElement("div",{"aria-labelledby":b,className:"webchat__toaster__list",id:f},p.map(({children:v,notification:{id:h}})=>_react2.default.createElement("div",{className:"webchat__toaster__listItem",key:h},v))))};m_.displayName="BasicToaster";var Bn=_react.memo.call(void 0, m_);var _reactscrolltobottom = require('react-scroll-to-bottom');var _E=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function yE(t){let{children:e,className:o}=_chunkTMUNLKZWjs.h.call(void 0, _E,t),[{chatHistoryBox:r}]=_chunkQGLO74KJjs.c.call(void 0, );return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__chat-history-box",o,r)},e)}var b_=_react.memo.call(void 0, yE);var{useDirection:TE}=_botframeworkwebchatapi.hooks,kE=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, ));function IE(t){let{children:e}=_chunkTMUNLKZWjs.h.call(void 0, kE,t),[o]=TE();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__chat-history-box__toolbar",o==="rtl"?"webchat__chat-history-box__toolbar--rtl":"")},e)}var __=_react.memo.call(void 0, IE);function jr(){return Ao().renderingActivityKeysState}var{useActivityKeysByRead:FE,useCreateScrollToEndButtonRenderer:DE,useMarkActivityKeyAsRead:qE,useStyleOptions:zE}=_botframeworkwebchatapi.hooks,WE=t=>{let[e]=jr(),[o]=_reactscrolltobottom.useSticky.call(void 0, ),[r]=_reactscrolltobottom.useAnimatingToEnd.call(void 0, ),[i]=_reactscrolltobottom.useAtEnd.call(void 0, ),[,n]=FE(),[a]=zE(),s=Xe(),c=qE(),l=_reactscrolltobottom.useScrollToEnd.call(void 0, ),d=_usereffrom.useRefFrom.call(void 0, e),p=_react.useMemo.call(void 0, ()=>o&&n.length?(c(n[n.length-1]),[]):n,[c,o,n]),m=_usereffrom.useRefFrom.call(void 0, p),u=_react.useMemo.call(void 0, ()=>p.some(y=>e.includes(y)),[e,p]),f=_react.useCallback.call(void 0, ()=>{var h;l({behavior:"smooth"});let{current:y}=d,v=m.current.find(x=>y.includes(x));v?s(v):(h=t.current)==null||h.focus()},[s,m,d,l,t]),b=DE()({atEnd:r||i||o,styleOptions:a,unread:u});return b&&b({onClick:f})};function KE({terminatorRef:t}){let e=WE(t);return _react2.default.createElement(_react.Fragment,null,e)}var v_=_react.memo.call(void 0, KE);var{contextComponentType:GE,useContext:jn}=_chunkXQWBSH7Pjs.e.call(void 0, "GroupedRenderingActivitiesContext"),w_=GE;function ol(){return jn().groupedRenderingActivitiesState}var rl=_react.memo.call(void 0, ({group:t})=>_react2.default.createElement(_decoratorjs.ActivityGroupingDecorator,{activities:t.activities,groupingName:t.groupingName},t.children.map(e=>_react2.default.createElement(rl,{group:e,key:e.key}))));rl.displayName="ActivityTreeGroup";var A_=()=>{let[t]=ol();return _react2.default.createElement(_react.Fragment,null,t.map(e=>_react2.default.createElement(rl,{group:e,key:e.key})))};A_.displayName="ActivityTree";var x_=_react.memo.call(void 0, A_);var{useCreateAttachmentForScreenReaderRenderer:JE,useLocalizer:ZE}=_botframeworkwebchatapi.hooks,XE={few:"ACTIVITY_NUM_ATTACHMENTS_FEW_ALT",many:"ACTIVITY_NUM_ATTACHMENTS_MANY_ALT",one:"ACTIVITY_NUM_ATTACHMENTS_ONE_ALT",other:"ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT",two:"ACTIVITY_NUM_ATTACHMENTS_TWO_ALT"},QE=({activity:t})=>{let{attachments:e=[]}=t,o=JE(),r=ZE({plural:!0}),i=e.map(s=>o({activity:t,attachment:s})).filter(Boolean),n=e.length-i.length,a=!!n&&r(XE,n);return _react2.default.createElement(_react.Fragment,null,i.map((s,c)=>_react2.default.createElement("div",{key:c},typeof s=="function"&&s())),a&&_react2.default.createElement("p",null,a))},S_=QE;var oL=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {suggestedActions:_valibot.pipe.call(void 0, _valibot.object.call(void 0, {actions:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.any.call(void 0, )),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ));function rL(t){var o;let{suggestedActions:e}=_chunkTMUNLKZWjs.h.call(void 0, oL,t);return((o=e.actions)==null?void 0:o.length)&&_react2.default.createElement("p",{className:"webchat__live-region-activity__suggested-actions"},e.actions.map((r,i)=>_react2.default.createElement("button",{className:"webchat__live-region-activity__suggested-action",key:i,tabIndex:-1,type:"button"},_chunkQGLO74KJjs.V.call(void 0, r))))}var k_=_react.memo.call(void 0, rL);var{useAvatarForBot:pL,useLocalizer:uL}=_botframeworkwebchatapi.hooks,mL={"&.webchat__live-region-activity":{color:"transparent",height:1,opacity:0,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}},fL=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, )}),_valibot.readonly.call(void 0, ));function bL(t){let{activity:e}=_chunkTMUNLKZWjs.h.call(void 0, fL,t),[{initials:o}]=pL(),{from:{role:r},type:i}=e,n=i==="message"?e.channelData["webchat:fallback-text"]:void 0,a=uL(),s=_chunkQGLO74KJjs.i.call(void 0, "accessible name"),c=_chunkPOTPE56Bjs.a.call(void 0, )(mL)+"",l=_react.useMemo.call(void 0, ()=>fr(e,s),[e,s]),d=(r==="user"?a("ACTIVITY_YOU_SAID_ALT"):a("ACTIVITY_BOT_SAID_ALT",o||"")).replace(/\s{2,}/gu," "),p=n&&typeof n=="string";return _react2.default.createElement("article",{"aria-atomic":!0,className:_classnames2.default.call(void 0, "webchat__live-region-activity",c)},_react2.default.createElement("div",null,d),p?_react2.default.createElement("div",null,n):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",null,l),i==="message"&&_react2.default.createElement(_react.Fragment,null,!!e.suggestedActions&&_react2.default.createElement(k_,{suggestedActions:e.suggestedActions}),_react2.default.createElement(S_,{activity:e}))))}var O_=bL;function oo(t){let e=_react.useRef.call(void 0, );return _react.useEffect.call(void 0, ()=>{e.current=t}),e.current}function Rr(t){var r,i,n,a;if(t.type!=="message")return!0;let{channelData:e}=t,o=e==null?void 0:e["webchat:fallback-text"];return typeof o=="string"?!o:!((r=e==null?void 0:e.messageBack)!=null&&r.displayText||t.text||(i=t.attachments)!=null&&i.length||(a=(n=t.suggestedActions)==null?void 0:n.actions)!=null&&a.length)}var{useGetActivityByKey:wL,useLocalizer:gL,useSendStatusByActivityKey:AL}=_botframeworkwebchatapi.hooks,M_=()=>{let[t]=AL(),e=wL(),o=gL(),r=_react.useMemo.call(void 0, ()=>Array.from(t).reduce((s,[c,l])=>l===me&&!Rr(e(c))?s.add(c):s,new Set),[e,t]),i=o("TRANSCRIPT_LIVE_REGION_SEND_FAILED_ALT"),n=oo(r),a=_react.useMemo.call(void 0, ()=>{if(r===n)return!1;for(let s of r.keys())if(!n.has(s))return!0;return!1},[r,n]);return _chunkPOTPE56Bjs.l.call(void 0, ()=>a&&i,[a,i]),null};M_.displayName="LiveRegionSendFailed";var P_=_react.memo.call(void 0, M_);var{useActiveTyping:TL}=_botframeworkwebchatapi.hooks;function kL(t,e){return t.length===e.length&&t.every((o,r)=>e[+r]===o)}function sl(){let[t]=TL(),e=_react.useRef.call(void 0, Object.freeze([Object.freeze([])])),r=Object.values(t).filter(({role:s})=>s!=="user").sort(({at:s},{at:c})=>s-c),i=Object.freeze([Object.freeze(r.map(({name:s})=>s))]),{current:n}=e,a=kL(i[0],n[0])?n:i;return _react.useEffect.call(void 0, ()=>{e.current=a},[e,a]),a}var{useActivities:PL,useGetKeyByActivity:EL,useLocalizer:LL}=_botframeworkwebchatapi.hooks,L_=({activityElementMapRef:t})=>{let[e]=_chunkQGLO74KJjs.Y.call(void 0, ),[o]=PL(),[r]=sl(),i=EL(),n=LL(),a=_chunkQGLO74KJjs.X.call(void 0, "accessible name"),s=_chunkPOTPE56Bjs.k.call(void 0, ),c=n("TRANSCRIPT_LIVE_REGION_INTERACTIVE_LABEL_ALT"),l=n("TRANSCRIPT_LIVE_REGION_INTERACTIVE_WITH_LINKS_LABEL_ALT"),d=!!r.length&&n(r.length>1?"TYPING_INDICATOR_MULTIPLE_TEXT":"TYPING_INDICATOR_SINGLE_TEXT",r[0]),p=e?n("TRANSCRIPT_LIVE_REGION_SUGGESTED_ACTIONS_WITH_ACCESS_KEY_LABEL_ALT",a(e)):n("TRANSCRIPT_LIVE_REGION_SUGGESTED_ACTIONS_LABEL_ALT"),m=_react.useMemo.call(void 0, ()=>Object.freeze(o.reduce((f,b)=>b.type==="message"?f.set(i(b),b):f,new Map)),[o,i]),u=_react.useRef.call(void 0, );return _react.useEffect.call(void 0, ()=>{let{current:f}=u,b=[];for(let[x,w]of Array.from(m.entries()).reverse()){if(f!=null&&f.has(x))break;b.unshift({activity:w,key:x}),Rr(w)||s(_react2.default.createElement(O_,{activity:w}))}let y=b.some(({key:x})=>{var w;return(w=t.current.get(x))==null?void 0:w.querySelector("a")}),v=b.some(({key:x})=>{var w;return!!_chunkXQWBSH7Pjs.t.call(void 0, (w=t.current.get(x))==null?void 0:w.querySelector(".webchat__basic-transcript__activity-body")).length}),h=b.some(({activity:x})=>{var w,g;return x.type==="message"&&((g=(w=x.suggestedActions)==null?void 0:w.actions)==null?void 0:g.length)});(y||v)&&s(_react2.default.createElement("div",{className:"webchat__live-region-transcript__note",role:"note"},y?l:c)),h&&s(_react2.default.createElement("div",{className:"webchat__live-region-transcript__note",role:"note"},p)),u.current=m},[t,c,l,p,u,s,m]),_react.useMemo.call(void 0, ()=>d&&s(d),[s,d]),_react2.default.createElement(P_,null)};L_.displayName="LiveRegionTranscript";var B_=_react.memo.call(void 0, L_);function qL(t,e){return _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.check.call(void 0, o=>_valibot.is.call(void 0, _valibot.object.call(void 0, {current:t},e),o)))}var j_=qL;var QL=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),onFocus:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))),redirectRef:_valibot.optional.call(void 0, j_(_valibot.nullable.call(void 0, _valibot.instance.call(void 0, HTMLElement))))}),_valibot.readonly.call(void 0, ));function $L(t){let{className:e,onFocus:o,redirectRef:r}=_chunkTMUNLKZWjs.h.call(void 0, QL,t),i=_react.useCallback.call(void 0, ()=>{var n;(n=r==null?void 0:r.current)==null||n.focus(),o&&o()},[o,r]);return _react2.default.createElement("div",{className:e,onFocus:i,tabIndex:0})}var ll=$L;var R_={Add:"+",Decimal:".",Divide:"/",Multiply:"*",Subtract:"-"},t4=Object.keys(R_);function dl(t){return t.length===1?t:t4.includes(t)?R_[t]:void 0}function pl(){return _chunkQGLO74KJjs.b.call(void 0, ).dispatchScrollPosition}function ul(){return _chunkQGLO74KJjs.b.call(void 0, ).dispatchTranscriptFocusByActivityKey}function ro(t,...e){e.forEach(o=>{let r;for(;~(r=t.indexOf(o));)t.splice(r,1)})}function ml(t){let{focusTranscriptCallbacksRef:e}=_chunkQGLO74KJjs.b.call(void 0, );_react.useEffect.call(void 0, ()=>{if(t){let{current:o}=e;return o.push(t),()=>ro(o,t)}},[t,e])}function fl(t){let{scrollToCallbacksRef:e}=_chunkQGLO74KJjs.b.call(void 0, );_react.useEffect.call(void 0, ()=>{if(t){let{current:o}=e;return o.push(t),()=>ro(o,t)}},[t,e])}function bl(t){let{scrollToEndCallbacksRef:e}=_chunkQGLO74KJjs.b.call(void 0, );_react.useEffect.call(void 0, ()=>{let{current:o}=e;return o.push(t),()=>ro(o,t)},[t,e])}var F_=({children:t})=>{let e=_react.useRef.call(void 0, new Map),o=_react.useMemo.call(void 0, ()=>({activityElementRef:e}),[e]);return _react2.default.createElement(_chunkXQWBSH7Pjs.o.Provider,{value:o},t)};F_.displayName="ChatHistoryDOMComposer";var D_=_react.memo.call(void 0, F_);function _l(){return Ao().renderingActivitiesState}var{useGetKeyByActivity:_4,useGroupActivitiesByName:y4,useStyleOptions:h4}=_botframeworkwebchatapi.hooks,v4=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),q_=t=>{let{children:e}=_valibot.parse.call(void 0, v4,t),[{groupActivitiesBy:o}]=h4(),[r]=_l(),i=_4(),n=y4(),a=_react.useMemo.call(void 0, ()=>Object.freeze([r.length]),[r]),s=_react.useMemo.call(void 0, ()=>{let l=(d,p)=>{let[m,...u]=p;return Object.freeze(typeof m=="undefined"?[Object.freeze({activities:d,children:Object.freeze([]),key:i(d[0]),groupingName:void 0})]:n(d,m).map(f=>Object.freeze({activities:f,children:l(f,u),groupingName:m,key:i(f[0])})))};return Object.freeze([l(r,o)])},[r,i,o,n]),c=_react.useMemo.call(void 0, ()=>Object.freeze({groupedRenderingActivitiesState:s,numRenderingActivitiesState:a}),[s,a]);return _react2.default.createElement(w_.Provider,{value:c},e)};q_.displayName="GroupedRenderingActivitiesComposer";var z_=_react.memo.call(void 0, q_);function hl(){return jn().numRenderingActivitiesState}var _usereducememo = require('use-reduce-memo');var{useActivities:T4,useActivityKeys:k4,useGetActivitiesByKey:I4,useGetKeyByActivity:O4}=_botframeworkwebchatapi.hooks,W_=({children:t})=>{let[e]=T4(),o=k4(),r=I4(),i=O4(),n=_react.useMemo.call(void 0, ()=>{let m=[];if(!o)return e;for(let u of e){let f=r(i(u));(f==null?void 0:f[0])===u&&m.push(f[f.length-1])}return Object.freeze(m)},[o,r,i,e]),a=_middlewarejs.useBuildRenderActivityCallback.call(void 0, ),s=_usereducememo.useReduceMemo.call(void 0, n,_react.useCallback.call(void 0, (m,u)=>{let f=a({activity:u});return f?Object.freeze(new Map(m).set(u,f)):m},[a]),new Map),c=_react.useMemo.call(void 0, ()=>Object.freeze([Object.freeze(s)]),[s]),l=_react.useMemo.call(void 0, ()=>Object.freeze([Object.freeze(Array.from(c[0].keys()))]),[c]),d=_react.useMemo.call(void 0, ()=>{let m=Object.freeze(l[0].map(u=>i(u)));if(m.some(u=>!u))throw new Error("botframework-webchat internal: activityRendererMap[].activity must have activity key");return Object.freeze([m])},[i,l]),p=_react.useMemo.call(void 0, ()=>({activityRendererMapState:c,renderingActivitiesState:l,renderingActivityKeysState:d}),[c,l,d]);return _react2.default.createElement(Zu.Provider,{value:p},t)};W_.displayName="RenderingActivitiesComposer";var K_=_react.memo.call(void 0, W_);function Dn(t){let[e,o]=_react.useState.call(void 0, ),r=_react.useRef.call(void 0, t),i=_react.useCallback.call(void 0, n=>{let{current:a}=r;n=n instanceof Function?n(a):n,a!==n&&(r.current=n,o({}))},[o,r]);return Object.freeze([r.current,i,r])}var _computescrollintoview = require('compute-scroll-into-view'); var _computescrollintoview2 = _interopRequireDefault(_computescrollintoview);function vl(t){if("scrollBehavior"in document.documentElement.style)return t.scrollIntoView({block:"nearest"});let[e]=_computescrollintoview2.default.call(void 0, t,{block:"nearest"});e.el.scrollTop=e.top}function wl(){return _chunkXQWBSH7Pjs.f.call(void 0, ).getGroupBoundaries}function R4(t=1/0){return _mathrandom2.default.call(void 0, ).toString(36).substring(2,2+t)}var gl=({children:t,containerRef:e})=>{var K;let[o,r,i]=Dn(),[n]=jr(),[,a,s]=Dn(),c=wl(),l=_chunkXQWBSH7Pjs.h.call(void 0, ),d=_chunkXQWBSH7Pjs.i.call(void 0, ),p=_react.useMemo.call(void 0, ()=>R4(3),[]),m=_react.useCallback.call(void 0, T=>T&&`webchat__transcript-focus-${p}__activity-${T}`,[p]),u=_react.useCallback.call(void 0, T=>T&&`webchat__transcript-focus-${p}__group-${T}`,[p]),f=_react.useCallback.call(void 0, T=>T&&u(l(T)),[u,l]),b=_chunkQGLO74KJjs.O.call(void 0, n),y=oo(n);n!==y&&!((K=e.current)!=null&&K.contains(document.activeElement))&&(s.current=void 0);let{current:v}=s,h=_react.useMemo.call(void 0, ()=>n.includes(v)?v:n.at(-1),[n,v]),x=_chunkQGLO74KJjs.O.call(void 0, h),w=_react.useMemo.call(void 0, ()=>m(h),[m,h]),g=_react.useMemo.call(void 0, ()=>u(o),[u,o]),k=_react.useCallback.call(void 0, T=>{var O;(O=e.current)==null||O.focus();let R=T&&document.getElementById(T);R&&!R.contains(document.activeElement)&&vl(R)},[e]),I=_react.useCallback.call(void 0, (T,R=!0)=>{if(!T){r(void 0);return}r(T);let O=u(T);R&&O&&k(O)},[u,k,r]),_=_react.useCallback.call(void 0, (T,R=!0)=>{T===!1?a(void 0):T===!0?a(q=>q||x.current):T?(a(T),I(void 0,!1)):T===void 0&&(R=!0);let O=typeof T=="string"&&l(T),j=O&&d(O);if(j!=null&&j.isCollapsed)return;let G=m(T===!1?b.current.at(-1):T&&T!==!0?T:s.current);R&&k(G)},[I,x,m,l,d,k,s,b,a]),S=_react.useCallback.call(void 0, (T,R)=>{let{current:O}=b,j=O.indexOf(T);if(j===-1)return;let q=j+(R==="up"?-1:1);if(q>=0&&q<O.length)return O[+q]},[b]),N=_react.useCallback.call(void 0, T=>{let{current:R}=i,{current:O}=b,j=d(R),[G,q]=c(R);if(T==="down")if(!(j!=null&&j.isCollapsed))G&&_(G,!0);else{let Y=O.indexOf(q);if(Y!==-1&&Y+1<O.length){let M=O[Y+1],U=l(M);U?I(U):_(M,!0)}}else if(T==="up"){let Y=O.indexOf(G);if(Y!==-1){let M=O[Y-1],U=l(M),V=U&&U!==R?d(U):void 0;V!=null&&V.isCollapsed?(_(M,!1),I(U)):_(M,!0)}}},[_,I,c,l,d,i,b]),B=_react.useCallback.call(void 0, (T,R,O)=>{let j=l(T),G=l(R);if(!G||G===j){_(R,!0);return}let[q,Y]=c(G),M=d(G);O==="down"&&q===R?(_(T,!1),I(G)):O==="up"&&Y===R&&(M!=null&&M.isCollapsed)?I(G):_(R,!0)},[_,I,c,l,d]),L=_react.useCallback.call(void 0, T=>{let{current:R}=b,{current:O}=x;if(Math.abs(T)===1/0||Math.abs(T)>=R.length){let j=T<0?R.at(0):R.at(-1);j&&_(j,!0);return}if(Math.abs(T)>1){let j=R.indexOf(O||"");if(j!==-1){let G=Math.max(0,Math.min(R.length-1,j+T)),q=R.at(G);q&&_(q,!0)}}},[_,x,b]),z=_react.useCallback.call(void 0, T=>{let{current:R}=b,{current:O}=i;if(isNaN(T)||!R.length)return _(!1,!0);let{current:j}=x,G=!!g;if(T===0){G?I(O,!0):_(j,!0);return}if(Math.abs(T)>1)return L(T);let q=T<0?"up":"down";if(G&&O)return N(q);let Y=l(j),[M,U]=c(Y),V=Y?d(Y):void 0;if(Y){if(q==="up"){if(M===j&&!(V!=null&&V.isCollapsed)||V!=null&&V.isCollapsed){_(j,!1),I(Y);return}}else if(q==="down"&&V!=null&&V.isCollapsed){let pt=S(U,q);return B(U,pt,q)}}let et=S(j,q);if(et)return B(j,et,q)},[g,_,I,x,c,l,d,S,L,B,N,i,b]),W=_react.useMemo.call(void 0, ()=>({activeDescendantIdState:Object.freeze([w]),activeGroupDescendantIdState:Object.freeze([g]),focusByActivityKey:_,focusByGroupKey:I,focusedActivityKeyState:Object.freeze([h]),focusedExplicitlyState:Object.freeze([!!v]),focusedGroupKeyState:Object.freeze([o]),focusRelativeActivity:z,getDescendantIdByActivityKey:m,getGroupDescendantIdByActivityKey:f}),[w,g,_,I,h,z,m,f,o,v]);return _react2.default.createElement(_chunkXQWBSH7Pjs.q.Provider,{value:W},t)};gl.displayName="TranscriptFocusComposer";gl.propTypes={containerRef:_proptypes2.default.shape({current:_proptypes2.default.instanceOf(HTMLElement)}).isRequired};var H_=_react.memo.call(void 0, gl);function Al(){return _chunkXQWBSH7Pjs.r.call(void 0, ).focusRelativeActivity}function xl(){return _chunkXQWBSH7Pjs.r.call(void 0, ).focusedExplicitlyState}function Sl(){let t=_chunkXQWBSH7Pjs.r.call(void 0, );return t.focusedGroupKeyState[0]?t.focusedGroupKeyState:t.focusedActivityKeyState}var{useActivityKeys:U4,useDirection:J4,useGetActivityByKey:Z4,useGetKeyByActivityId:X4,useLastAcknowledgedActivityKey:Q4,useLocalizer:U_,useMarkActivityKeyAsRead:$4,useMarkAllAsAcknowledged:t5,useStyleOptions:J_}=_botframeworkwebchatapi.hooks,e5={"&.webchat__basic-transcript":{display:"flex",flexDirection:"column",overflow:"hidden",position:"relative","& .webchat__basic-transcript__filler":{flex:1},"& .webchat__basic-transcript__scrollable":{display:"flex",flexDirection:"column",overflowX:"hidden",WebkitOverflowScrolling:"touch"},"& .webchat__basic-transcript__transcript":{listStyleType:"none"},"& .webchat__basic-transcript__activity-focus-target":{pointerEvents:"none"}}},Z_=_react.memo.call(void 0, _react.forwardRef.call(void 0, ({className:t,terminatorRef:e},o)=>{let[r]=_chunkXQWBSH7Pjs.s.call(void 0, ),[i]=J4(),[n]=Sl(),[a]=xl(),s=_chunkXQWBSH7Pjs.p.call(void 0, ),c=_chunkQGLO74KJjs.p.call(void 0, ),l=Xe(),d=Al(),p=Z4(),m=X4(),u=U_(),f=_chunkPOTPE56Bjs.a.call(void 0, )(e5)+"",b=_react.useRef.call(void 0, null),y=_chunkQGLO74KJjs.O.call(void 0, n),v=u("TRANSCRIPT_ARIA_LABEL_ALT"),h=_react.useCallback.call(void 0, O=>{typeof o=="function"?o(O):o.current=O,b.current=O},[o,b]),[x]=hl(),w=_reactscrolltobottom.useScrollTo.call(void 0, ),g=_reactscrolltobottom.useScrollToEnd.call(void 0, ),k=_react.useCallback.call(void 0, (O,{behavior:j="auto"}={})=>{var Y;if(!O)throw new Error('botframework-webchat: First argument passed to "useScrollTo" must be a ScrollPosition object.');let{activityID:G,scrollTop:q}=O;if(typeof q!="undefined")w(q,{behavior:j});else if(typeof G!="undefined"){let M=(Y=s.current.get(m(G)))==null?void 0:Y.querySelector(".webchat__basic-transcript__activity-active-descendant"),U=b.current.querySelector(".webchat__basic-transcript__scrollable");if(U&&M){let V=M.getClientRects()[0],et=U.getClientRects()[0];if(V&&et){let{height:pt,y:ft}=V,{height:gt}=et,ut=ft+U.scrollTop,rt=Math.min(ut,ut-gt+pt);w(rt,{behavior:j})}}}},[s,m,b,w]),I=_react.useCallback.call(void 0, ()=>g({behavior:"smooth"}),[g]),_=_react.useCallback.call(void 0, ({direction:O,displacement:j})=>{let{current:G}=b;if(!G)return;let q=G.querySelector(".webchat__basic-transcript__scrollable"),Y;typeof j=="number"?Y=q.scrollTop+(O==="down"?1:-1)*j:Y=q.scrollTop+(O==="down"?1:-1)*q.offsetHeight,k({scrollTop:Math.max(0,Math.min(q.scrollHeight-q.offsetHeight,Y))},{behavior:"smooth"})},[b,k]);fl(k),bl(I),_chunkQGLO74KJjs.w.call(void 0, _);let S=$4(),N=pl(),B=_react.useCallback.call(void 0, ({scrollTop:O})=>{var V;let{current:j}=b;if(!j)return;let G=j.querySelector(".webchat__basic-transcript__scrollable"),q=G.getClientRects()[0];if(!q)return;let{bottom:Y}=q,M=Array.from(s.current.entries()),U=(V=G.scrollTop?M.reverse().find(([,et])=>{let pt=et.getClientRects()[0];return pt&&pt.bottom<Y+1}):M[0])==null?void 0:V[0];if(U&&S(U),N){let et=p(U);N({...et?{activityID:et.id}:{},scrollTop:O})}},[s,N,p,S,b]);_reactscrolltobottom.useObserveScrollPosition.call(void 0, B);let L=_react.useCallback.call(void 0, O=>{var M,U;let{target:j}=O,G=j===e.current,q=j===O.currentTarget;if(!G&&!q)return;let Y=!0;switch(O.key){case"ArrowDown":d(G?0:1);break;case"ArrowUp":d(G?0:-1);break;case"End":d(1/0);break;case"Enter":if(!G){let V=(M=s.current)==null?void 0:M.get(y.current),et=(U=V==null?void 0:V.querySelector(".webchat__basic-transcript__group-focus-target"))!=null?U:V==null?void 0:V.querySelector(".webchat__basic-transcript__activity-focus-target");et==null||et.focus()}break;case"Escape":c("sendBoxWithoutKeyboard");break;case"Home":d(-1/0);break;default:Y=!1;break}Y&&(O.preventDefault(),O.stopPropagation())},[s,c,y,d,e]),z=_react.useCallback.call(void 0, O=>{let{altKey:j,ctrlKey:G,key:q,metaKey:Y,target:M}=O;j||G&&q!=="v"&&q!=="V"||Y||!dl(q)&&q!=="Backspace"||(M===O.currentTarget||M===e.current)&&(O.stopPropagation(),c("sendBox"))},[c,e]);ml(_react.useCallback.call(void 0, ()=>l(void 0),[l]));let W=ul();_react.useMemo.call(void 0, ()=>W(a?n:void 0),[W,n,a]);let K=_react.useCallback.call(void 0, ({currentTarget:O,target:j})=>j===O&&l(!0,!1),[l]),T=_react.useCallback.call(void 0, ()=>l(void 0),[l]);_chunkQGLO74KJjs.P.call(void 0, b,_react.useCallback.call(void 0, ()=>l(void 0),[l]));let R=!!x;return _react2.default.createElement(_chunkXQWBSH7Pjs.D,{"aria-activedescendant":_chunkXQWBSH7Pjs.I?void 0:r,"aria-label":v,className:_classnames2.default.call(void 0, "webchat__basic-transcript",f,(t||"")+""),dir:i,onFocus:K,onKeyDown:L,onKeyDownCapture:z,ref:h,role:"group",tabIndex:0},_react2.default.createElement(B_,{activityElementMapRef:s}),R&&_react2.default.createElement(ll,{redirectRef:e}),_react2.default.createElement(o5,{onFocusFiller:T},R&&_react2.default.createElement(x_,null)),R&&_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(ll,{redirectRef:b}),_react2.default.createElement(_chunkXQWBSH7Pjs.H,{ref:e,role:"note",tabIndex:0})))}));Z_.displayName="InternalTranscript";var o5=({children:t,onFocusFiller:e})=>{let[{activities:o}]=_chunkQGLO74KJjs.c.call(void 0, ),[r]=_reactscrolltobottom.useSticky.call(void 0, ),i=U_(),n=t5(),a=oo(r),s=i("TRANSCRIPT_ARIA_ROLE_ALT"),c=a!==r&&r;_react.useMemo.call(void 0, ()=>c&&n(),[n,c]);let l=!!t&&!!_react2.default.Children.count(t);return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_reactscrolltobottom.Panel,{className:"webchat__basic-transcript__scrollable"},_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__basic-transcript__filler",onFocus:e}),l&&_react2.default.createElement(_chunkXQWBSH7Pjs.B,{"aria-roledescription":s,className:_classnames2.default.call(void 0, o+"","webchat__basic-transcript__transcript"),role:"feed"},t),_react2.default.createElement(_chunkQGLO74KJjs.F,null)))},r5=t=>{let[e]=U4(),[o]=Q4(),[r]=J_(),i=_chunkQGLO74KJjs.O.call(void 0, e),n=_chunkQGLO74KJjs.O.call(void 0, o),a=_chunkQGLO74KJjs.O.call(void 0, r);return _react.useCallback.call(void 0, ({offsetHeight:s,scrollTop:c})=>{let{current:{autoScrollSnapOnActivity:l,autoScrollSnapOnActivityOffset:d,autoScrollSnapOnPage:p,autoScrollSnapOnPageOffset:m}}=a,u=typeof l=="number"?Math.max(0,l):l?1:0,f=typeof p=="number"?Math.max(0,Math.min(1,p)):p?1:0,b=typeof d=="number"?d:0,y=typeof m=="number"?m:0;if(u||f){let{current:v}=t,{current:h}=i,{current:x}=n,w=[],g=h.indexOf(x);if(~g){let k=Array.from(v.keys()),I=-1;for(let _ of h.slice(0,g+1).reverse()){let S=k.indexOf(_);if(~S){S!==k.length-1&&(I=S+1);break}}if(~I){let _=Array.from(v.values());if(u){let S=_[I+u-1];if(S){let N=S==null?void 0:S.querySelector(".webchat__basic-transcript__activity-active-descendant"),B=S.offsetTop+N.offsetTop;w.push(B+N.offsetHeight-s-c+b)}}if(f){let S=_[+I],N=S.querySelector(".webchat__basic-transcript__activity-active-descendant"),B=S.offsetTop+N.offsetTop;w.push(B-c-s*(1-f)+y)}}}return Math.min(...w)}return 1/0},[t,i,n,a])},i5=({className:t=""})=>{let[{stylesRoot:e}]=J_(),[o]=_chunkQGLO74KJjs.N.call(void 0, ),r=_chunkXQWBSH7Pjs.p.call(void 0, ),i=_react.useRef.call(void 0, null),n=_react.useRef.call(void 0, null),a=r5(r),s=_react.useMemo.call(void 0, ()=>({stylesRoot:e}),[e]);return _react2.default.createElement(b_,{className:t},_react2.default.createElement(K_,null,_react2.default.createElement(H_,{containerRef:i},_react2.default.createElement(_reactscrolltobottom.Composer,{nonce:o,scroller:a,styleOptions:s},_react2.default.createElement(__,null,_react2.default.createElement(v_,{terminatorRef:n})),_react2.default.createElement(z_,null,_react2.default.createElement(Z_,{ref:i,terminatorRef:n}))))))},qn= exports.z =_reactwrapwith.wrapWith.call(void 0, D_)(_react.memo.call(void 0, i5));var{navigator:{userAgent:X_}}=window,n5=["a","body","button","frame","iframe","img","input","isindex","object","select","textarea"],a5=/Firefox\//iu.test(X_),s5=/Trident\//iu.test(X_);function kl(t){let{tabIndex:e}=t;if(s5){let o=t.attributes.getNamedItem("tabindex");if(!o||!o.specified)return~n5.indexOf(t.nodeName.toLowerCase())?0:null}else if(!~e){let o=t.getAttribute("tabindex");if(o===null||o===""&&!a5)return null}return e}var c5=()=>!0,Q_="a[href], audio, button, details, details summary, embed, iframe, input, object, rect, select, svg[focusable], textarea, video, [tabindex]";function $_(t,e=c5){if(!t)return;let o=[].filter.call(t.querySelectorAll(Q_),e);return[].find.call(o,r=>{let i=kl(r);return typeof i=="number"&&i>=0})}function ty(t){if(t)return(t.matches||t.msMatchesSelector).call(t,Q_)?t:$_(t)}var b5=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),role:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),_5=_react.forwardRef.call(void 0, (t,e)=>{let{children:o,className:r,role:i}=_chunkTMUNLKZWjs.h.call(void 0, b5,t),[{apple:n}]=_chunkQGLO74KJjs.W.call(void 0, ),a=_react.useRef.call(void 0, {focii:[]}),s=_react.useCallback.call(void 0, c=>{let{altKey:l,ctrlKey:d,key:p,shiftKey:m}=c;if(l&&(n?d:m)){let u=a.current.focii.filter(y=>y.keys.includes(p)),f=u.findIndex(({ref:{current:y}})=>y===document.activeElement||y.contains(document.activeElement)),b=u[(f+1)%u.length];if(b){c.preventDefault(),c.stopPropagation();let y=ty(b.ref.current);y&&y.focus()}}},[n]);return _react2.default.createElement(_chunkQGLO74KJjs.Z.Provider,{value:a.current},_react2.default.createElement("div",{className:r,onKeyUp:s,ref:e,role:i},o))}),zn= exports.A =_5;var{useStyleOptions:C5}=_botframeworkwebchatapi.hooks,T5={display:"flex",flexDirection:"column"},k5={flexShrink:0},I5={flexShrink:0},O5={flexShrink:0},N5={".webchat__basic-transcript":{flex:1}},M5=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),role:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function P5(t){let{className:e,role:o}=_chunkTMUNLKZWjs.h.call(void 0, M5,t,"strict"),r=_react.useRef.call(void 0, null),[{root:i}]=_chunkQGLO74KJjs.c.call(void 0, ),[n]=C5(),a=_chunkPOTPE56Bjs.a.call(void 0, ),s=a(k5)+"",c=a(T5)+"",l=a(I5)+"",d=a(O5)+"",p=a(N5)+"";return _react2.default.createElement(zn,{className:_classnames2.default.call(void 0, "webchat__surface",c,i+"",e),ref:r,role:o},!n.hideToaster&&_react2.default.createElement(Bn,{className:d}),_react2.default.createElement(qn,{className:p}),_react2.default.createElement(Ln,{className:s}),_react2.default.createElement(_botframeworkwebchatapi.SendBoxMiddlewareProxy,{className:l,request:void 0}))}var Wn=_react.memo.call(void 0, P5);var Ol=({className:t,role:e,...o})=>_react2.default.createElement(Ro,{...o},_react2.default.createElement(Wn,{className:t,role:e}));Ol.defaultProps={className:void 0,role:void 0,...Ro.defaultProps};var{children:znt,...E5}=Ro.propTypes;Ol.propTypes={className:_proptypes2.default.string,role:_proptypes2.default.string,...E5};var sy=Ol;var q5=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fromUser:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function z5(t){let{"aria-hidden":e=!1,className:o,fromUser:r}=_chunkTMUNLKZWjs.h.call(void 0, q5,t);return console.warn("botframework-webchat: <Avatar> component is deprecated and will be removed on or after 2022-02-25. Please use `useRenderAvatar` hook instead."),_react2.default.createElement(An,{"aria-hidden":e,className:o,fromUser:r})}var ly=_react.memo.call(void 0, z5);var{useLocalizer:Q5,useTrackException:$5}=_botframeworkwebchatapi.hooks,t6=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {error:_valibot.unknown.call(void 0, ),type:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function e6(t){let{error:e,type:o=""}=_chunkTMUNLKZWjs.h.call(void 0, t6,t),[{errorBox:r}]=_chunkQGLO74KJjs.c.call(void 0, ),i=Q5(),n=$5();return _react.useEffect.call(void 0, ()=>{let a;e instanceof Error?a=e:(a=new Error("Unknown error occured"),a.cause=e),n(a,!1)},[e,n]),_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkXQWBSH7Pjs.d,{text:i("ACTIVITY_ERROR_BOX_TITLE")}),_react2.default.createElement("div",{className:r},_react2.default.createElement("div",null,o),e instanceof Error?_react2.default.createElement("details",null,_react2.default.createElement("summary",null,e.message),_react2.default.createElement("pre",null,e.stack)):_react2.default.createElement("pre",null,JSON.stringify(e,null,2))))}var dy=_react.memo.call(void 0, e6);var a6=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),styleOptions:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t))),activityMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),activityStatusMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),attachmentForScreenReaderMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),attachmentMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),avatarMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),cardActionMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),groupActivitiesMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),polymiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),scrollToEndButtonMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),sendBoxMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),sendBoxToolbarMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),toastMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),typingIndicatorMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t)))))}),_valibot.readonly.call(void 0, )),Rt=Object.freeze([]),my=t=>{let{activityMiddleware:e,activityStatusMiddleware:o,attachmentForScreenReaderMiddleware:r,attachmentMiddleware:i,avatarMiddleware:n,cardActionMiddleware:a,children:s,groupActivitiesMiddleware:c,polymiddleware:l,scrollToEndButtonMiddleware:d,sendBoxMiddleware:p,sendBoxToolbarMiddleware:m,styleOptions:u,toastMiddleware:f,typingIndicatorMiddleware:b}=_chunkTMUNLKZWjs.h.call(void 0, a6,t),y=_react.useContext.call(void 0, Or),v=_react.useMemo.call(void 0, ()=>Object.freeze([...e||[],...y.activityMiddleware]),[e,y.activityMiddleware]),h=_react.useMemo.call(void 0, ()=>Object.freeze([...o||Rt,...y.activityStatusMiddleware]),[o,y.activityStatusMiddleware]),x=_react.useMemo.call(void 0, ()=>Object.freeze([...r||Rt,...y.attachmentForScreenReaderMiddleware]),[r,y.attachmentForScreenReaderMiddleware]),w=_react.useMemo.call(void 0, ()=>Object.freeze([...i||Rt,...y.attachmentMiddleware]),[i,y.attachmentMiddleware]),g=_react.useMemo.call(void 0, ()=>Object.freeze([...n||Rt,...y.avatarMiddleware]),[n,y.avatarMiddleware]),k=_react.useMemo.call(void 0, ()=>Object.freeze([...a||Rt,...y.cardActionMiddleware]),[a,y.cardActionMiddleware]),I=_react.useMemo.call(void 0, ()=>Object.freeze([...c||Rt,...y.groupActivitiesMiddleware]),[c,y.groupActivitiesMiddleware]),_=_react.useMemo.call(void 0, ()=>Object.freeze([...l||Rt,...y.polymiddleware]),[l,y.polymiddleware]),S=_react.useMemo.call(void 0, ()=>Object.freeze([...d||Rt,...y.scrollToEndButtonMiddleware]),[d,y.scrollToEndButtonMiddleware]),N=_react.useMemo.call(void 0, ()=>Object.freeze([...p||Rt,...y.sendBoxMiddleware]),[p,y.sendBoxMiddleware]),B=_react.useMemo.call(void 0, ()=>Object.freeze([...m||Rt,...y.sendBoxToolbarMiddleware]),[m,y.sendBoxToolbarMiddleware]),L=_react.useMemo.call(void 0, ()=>Object.freeze([...f||Rt,...y.toastMiddleware]),[f,y.toastMiddleware]),z=_react.useMemo.call(void 0, ()=>Object.freeze([...b||Rt,...y.typingIndicatorMiddleware]),[b,y.typingIndicatorMiddleware]),W=_react.useMemo.call(void 0, ()=>({activityMiddleware:v,activityStatusMiddleware:h,attachmentForScreenReaderMiddleware:x,attachmentMiddleware:w,avatarMiddleware:g,cardActionMiddleware:k,groupActivitiesMiddleware:I,polymiddleware:_,scrollToEndButtonMiddleware:S,sendBoxMiddleware:N,sendBoxToolbarMiddleware:B,toastMiddleware:L,typingIndicatorMiddleware:z}),[v,h,x,w,g,k,I,_,S,N,B,L,z]);return _react2.default.createElement(_internaljs3.StyleOptionsComposer,{styleOptions:u},_react2.default.createElement(Or.Provider,{value:W},s))};my.displayName="ThemeProvider";var fy=_react.memo.call(void 0, my);exports.a = vi; exports.b = gi; exports.c = Ai; exports.d = Xo; exports.e = Fi; exports.f = Vi; exports.g = Xi; exports.h = Qi; exports.i = lr; exports.j = en; exports.k = Ha; exports.l = ne; exports.m = e0; exports.n = hn; exports.o = d6; exports.p = Oo; exports.q = xs; exports.r = Yc; exports.s = kl; exports.t = nn; exports.u = Nn; exports.v = Mn; exports.w = Ro; exports.x = Ln; exports.y = Bn; exports.z = qn; exports.A = zn; exports.B = Wn; exports.C = sy; exports.D = ly; exports.E = dy; exports.F = fy; exports.G = s6;
80
- //# sourceMappingURL=chunk-BXGPZLGZ.js.map
79
+ `,[we]=_chunkI6EXXZUNjs.a.call(void 0, ve)(`component/CustomPropertiesContainer-${jb()}`);return[Object.freeze([we]),Object.freeze([`${Vc} ${Ke}`])]},[n]);return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, r,s[0]),ref:e},_react2.default.createElement(_chunkTMUNLKZWjs.j,{at:n.stylesRoot,nonce:i,styleElements:a}),o)}Rb.displayName="CustomPropertiesContainer";var Fb=_react.memo.call(void 0, _react.forwardRef.call(void 0, Rb));var TM=".webchat .w61aa0a_component-icon{min-width:var(--webchat__component-icon--size, 1em);min-height:var(--webchat__component-icon--size, 1em);place-self:var(--webchat__component-icon--placement, center);background-image:var(--webchat__component-icon--image, none);background-position:center;background-repeat:no-repeat;background-size:var(--webchat__component-icon--size, 1em);background-color:var(--webchat__component-icon--color, transparent);-webkit-mask-image:var(--webchat__component-icon--mask);-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:var(--webchat__component-icon--size, 1em);mask-image:var(--webchat__component-icon--mask);mask-position:center;mask-repeat:no-repeat;mask-size:var(--webchat__component-icon--size, 1em)}.webchat .w61aa0a_appearance--text{--webchat__component-icon--color: currentColor}@media(forced-colors:active){.webchat .w61aa0a_appearance--text{--webchat__component-icon--color: canvasText}}.webchat .w61aa0a_icon--dismiss{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\"><path d=\"m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z\"/></svg>')}.webchat .w61aa0a_icon--view-code{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path d=\"M12.94 4.05a.75.75 0 0 0-1.38-.6l-5.5 12.5a.75.75 0 1 0 1.38.6l5.5-12.5Zm1.35 9.8a.75.75 0 0 1-.13-1.06L16.3 10l-2.14-2.8a.75.75 0 0 1 1.18-.9l2.5 3.24c.21.27.21.65 0 .92l-2.5 3.25a.75.75 0 0 1-1.05.13Zm-8.58-7.7c.33.26.39.73.13 1.06L3.7 10l2.14 2.8a.75.75 0 1 1-1.18.9l-2.5-3.24a.75.75 0 0 1 0-.92l2.5-3.25a.75.75 0 0 1 1.05-.13Z\" fill=\"currentColor\"></path></svg>')}.webchat .w61aa0a_icon--copy{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21\" height=\"20\" viewBox=\"0 0 21 20\" fill=\"none\"><path d=\"M8.5 2C7.39543 2 6.5 2.89543 6.5 4V14C6.5 15.1046 7.39543 16 8.5 16H14.5C15.6046 16 16.5 15.1046 16.5 14V4C16.5 2.89543 15.6046 2 14.5 2H8.5ZM7.5 4C7.5 3.44772 7.94772 3 8.5 3H14.5C15.0523 3 15.5 3.44772 15.5 4V14C15.5 14.5523 15.0523 15 14.5 15H8.5C7.94772 15 7.5 14.5523 7.5 14V4ZM4.5 6.00001C4.5 5.25973 4.9022 4.61339 5.5 4.26758V14.5C5.5 15.8807 6.61929 17 8 17H14.2324C13.8866 17.5978 13.2403 18 12.5 18H8C6.067 18 4.5 16.433 4.5 14.5V6.00001Z\" fill=\"currentColor\"/></svg>')}.webchat .w61aa0a_icon--microphone{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 34.75 46\"><path d=\"M29.75,23v6.36a7,7,0,0,1-.56,2.78,7.16,7.16,0,0,1-3.8,3.8,7,7,0,0,1-2.78.56H18.5v2.25H23V41H11.75v-2.25h4.5V36.5h-4.11a7,7,0,0,1-2.78-.56,7.16,7.16,0,0,1-3.8-3.8,7,7,0,0,1-.56-2.78V23h2.25v6.36a4.72,4.72,0,0,0,.39,1.9,4.78,4.78,0,0,0,2.6,2.6,4.72,4.72,0,0,0,1.9.39h10.47a4.72,4.72,0,0,0,1.9-.39,4.78,4.78,0,0,0,2.6-2.6,4.72,4.72,0,0,0,.39-1.9V23Zm-18,5.62a1.13,1.13,0,0,0,1.13,1.13h9a1.13,1.13,0,0,0,1.12-1.13V8.38a1.13,1.13,0,0,0-1.12-1.13h-9a1.13,1.13,0,0,0-1.13,1.13Zm1.13,3.38a3.41,3.41,0,0,1-1.32-.26,3.31,3.31,0,0,1-1.8-1.8,3.41,3.41,0,0,1-.26-1.32V8.38a3.41,3.41,0,0,1,.26-1.32,3.31,3.31,0,0,1,1.8-1.8,3.41,3.41,0,0,1,1.32-.26h9a3.4,3.4,0,0,1,1.31.26,3.31,3.31,0,0,1,1.8,1.8,3.41,3.41,0,0,1,.26,1.32v20.24a3.41,3.41,0,0,1-.26,1.32,3.31,3.31,0,0,1-1.8,1.8,3.4,3.4,0,0,1-1.31.26Z\"/></svg>')}.webchat .w61aa0a_icon--send{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 45.7 33.8\"><path clipRule=\"evenodd\" d=\"M8.55 25.25l21.67-7.25H11zm2.41-9.47h19.26l-21.67-7.23zm-6 13l4-11.9L5 5l35.7 11.9z\"/></svg>')}.webchat .w61aa0a_icon--send.w61aa0a_direction--rtl{transform:scaleX(-1)}.webchat .w61aa0a_icon--send.w61aa0a_direction--follow:dir(rtl){transform:scaleX(-1)}.webchat .w61aa0a_icon--attachment{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\"><path fill=\"currentColor\" d=\"M18.794 7.152V20.16a4.682 4.682 0 0 1-.378 1.869 4.84 4.84 0 0 1-2.55 2.55 4.802 4.802 0 0 1-3.732 0 4.84 4.84 0 0 1-2.55-2.55 4.681 4.681 0 0 1-.377-1.869V6.464c-.004-.454.09-.905.273-1.32a3.464 3.464 0 0 1 1.826-1.827 3.336 3.336 0 0 1 2.648 0 3.463 3.463 0 0 1 1.826 1.826c.184.416.278.867.274 1.321V20.16c.002.276-.052.549-.158.803A2.015 2.015 0 0 1 14.8 22.06c-.512.21-1.088.21-1.6 0a2.013 2.013 0 0 1-1.096-1.096 2.074 2.074 0 0 1-.158-.803V8.522h1.37V20.16a.687.687 0 1 0 1.369 0V6.464a2.068 2.068 0 0 0-.597-1.454 2.014 2.014 0 0 0-.657-.439 2.106 2.106 0 0 0-1.601 0 2.015 2.015 0 0 0-1.096 1.096 2.07 2.07 0 0 0-.158.797V20.16c-.003.457.09.909.274 1.327a3.463 3.463 0 0 0 1.826 1.826 3.335 3.335 0 0 0 2.648 0 3.463 3.463 0 0 0 1.826-1.826c.184-.418.277-.87.274-1.327V7.152h1.37Z\"/></svg>')}.webchat .w61aa0a_icon--attachment-checkmark{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\"><path fill=\"currentColor\" d=\"M12.634 3.04c.455 0 .905.094 1.323.274a3.464 3.464 0 0 1 1.826 1.827c.184.415.278.865.275 1.32v9.494c-.517.334-.98.744-1.37 1.216V6.46a2.07 2.07 0 0 0-.596-1.454 2.018 2.018 0 0 0-.658-.439 2.106 2.106 0 0 0-1.6 0 2.015 2.015 0 0 0-1.097 1.096 2.071 2.071 0 0 0-.158.797v13.696c-.003.457.09.91.275 1.327a3.464 3.464 0 0 0 1.825 1.826c.384.167.797.257 1.215.271.227.476.516.916.855 1.313a4.801 4.801 0 0 1-2.611-.317 4.84 4.84 0 0 1-2.551-2.552 4.68 4.68 0 0 1-.377-1.868V6.461c-.003-.455.09-.905.274-1.32a3.464 3.464 0 0 1 1.826-1.827c.418-.18.868-.274 1.324-.274Zm.684 17.117a.684.684 0 0 0 .022.235 6.068 6.068 0 0 0 .078 1.738 2.019 2.019 0 0 1-1.31-1.169 2.079 2.079 0 0 1-.159-.804V8.52h1.37v11.638Zm5.479-5.136c-.475.04-.933.134-1.37.279V7.15h1.37v7.87Z\"/><path fill=\"currentColor\" d=\"M19.31 26a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm2.104-5.896-2.25 2.25a.5.5 0 0 1-.708 0l-1-1a.5.5 0 0 1 .707-.707l.647.646 1.896-1.896a.5.5 0 0 1 .708.707Z\"/></svg>')}.webchat .w61aa0a_icon--copy-code{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M5.085 2A1.5 1.5 0 0 1 6.5 1h3a1.5 1.5 0 0 1 1.415 1h.585A1.5 1.5 0 0 1 13 3.5v3.996c-.168 0-.336.027-.497.084A1.503 1.503 0 0 0 12 6.377V3.5a.5.5 0 0 0-.5-.5h-.585A1.5 1.5 0 0 1 9.5 4h-3a1.5 1.5 0 0 1-1.415-1H4.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h3.088l-.026.088c-.089.312-.072.628.028.912H4.5A1.5 1.5 0 0 1 3 13.5v-10A1.5 1.5 0 0 1 4.5 2h.585ZM6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm2.87 12.842a.502.502 0 0 1-.82-.136.498.498 0 0 1-.026-.343l2-7a.5.5 0 1 1 .962.274l-2 7a.498.498 0 0 1-.116.205ZM7.38 9.32a.5.5 0 1 0-.76-.65l-1.5 1.75a.5.5 0 0 0 0 .65l1.5 1.75a.5.5 0 1 0 .76-.65l-1.221-1.425 1.22-1.425Zm5.295 3.554a.5.5 0 0 1-.055-.705l1.222-1.424L12.62 9.32a.5.5 0 1 1 .76-.65l1.5 1.75a.5.5 0 0 1 0 .65l-1.5 1.75a.5.5 0 0 1-.705.054Z\"/></svg>')}.webchat .w61aa0a_icon--copy-code-checkmark{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M5.085 2A1.5 1.5 0 0 1 6.5 1h3a1.5 1.5 0 0 1 1.415 1h.585A1.5 1.5 0 0 1 13 3.5v2.707a5.48 5.48 0 0 0-1-.185V3.5a.5.5 0 0 0-.5-.5h-.585A1.5 1.5 0 0 1 9.5 4h-3a1.5 1.5 0 0 1-1.415-1H4.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h2.1c.183.358.404.693.657 1H4.5A1.5 1.5 0 0 1 3 13.5v-10A1.5 1.5 0 0 1 4.5 2h.585ZM6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm9.5 9.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-2.146-1.854a.5.5 0 0 0-.708 0L10.5 12.293l-.646-.647a.5.5 0 0 0-.708.708l1 1a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0 0-.708Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-up{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M8.035 1.923c.21-.52.795-1.08 1.546-.871.59.164.973.52 1.193.996.204.443.254.965.264 1.462.01.535-.102 1.176-.233 1.738a14.53 14.53 0 0 1-.195.74h1.385a2 2 0 0 1 1.919 2.563l-1.364 4.646a2.5 2.5 0 0 1-3.148 1.681l-5.356-1.682a2 2 0 0 1-1.273-1.205l-.52-1.384a2 2 0 0 1 .856-2.426l1.872-1.104a4.063 4.063 0 0 0 .523-.495c.344-.389.817-1.036 1.292-2.045.205-.436.377-.779.533-1.09.253-.503.465-.924.706-1.524ZM5.519 7.92a.517.517 0 0 1-.017.01L3.617 9.042a1 1 0 0 0-.428 1.213l.52 1.384a1 1 0 0 0 .637.603L9.7 13.924a1.5 1.5 0 0 0 1.89-1.008l1.363-4.646a1 1 0 0 0-.96-1.282H9.927a.5.5 0 0 1-.471-.667c.1-.282.252-.771.376-1.302.126-.538.215-1.082.207-1.49-.01-.468-.059-.816-.173-1.062-.098-.215-.251-.368-.552-.452-.043-.012-.094-.008-.16.035a.538.538 0 0 0-.19.246 20.426 20.426 0 0 1-.765 1.651c-.155.309-.318.634-.497 1.015-.514 1.094-1.04 1.822-1.45 2.283-.204.23-.378.393-.506.502a2.922 2.922 0 0 1-.202.157l-.016.01-.005.004-.003.002Zm-.543-.84-.001.001h.001Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-down{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M10.578 10c.016.133.034.285.05.45.074.74.131 1.793-.013 2.677-.072.44-.201.887-.442 1.237-.257.372-.647.635-1.173.635-.516 0-.83-.37-1.024-.69-.192-.321-.36-.756-.533-1.201l-.013-.034c-.547-1.41-1.295-3.317-3.307-4.658a4.979 4.979 0 0 0-.853-.458c-.697-.289-1.322-1.057-1.157-1.936l.224-1.196a2 2 0 0 1 1.43-1.558l4.95-1.375a3.5 3.5 0 0 1 4.377 2.727l.454 2.419a2.5 2.5 0 0 1-2.458 2.96h-.512Zm1.533-5.196a2.5 2.5 0 0 0-3.126-1.948l-4.95 1.375a1 1 0 0 0-.716.78l-.224 1.195c-.053.283.162.664.558.828.31.129.659.306 1.025.55 2.287 1.524 3.128 3.696 3.676 5.108l.008.02c.19.49.329.844.472 1.082.069.115.12.17.151.195a.11.11 0 0 0 .016.01c.142 0 .245-.054.349-.203.118-.173.216-.451.278-.83.122-.75.077-1.697.005-2.417a16.374 16.374 0 0 0-.114-.897l-.009-.05-.002-.013v-.003A.5.5 0 0 1 10 9h1.09a1.5 1.5 0 0 0 1.475-1.777l-.454-2.419Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-up-filled{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M9.58 1.052c-.75-.209-1.336.35-1.545.871-.24.6-.453 1.021-.706 1.524-.156.311-.328.654-.533 1.09-.475 1.01-.948 1.656-1.293 2.045a4.063 4.063 0 0 1-.405.402 1.92 1.92 0 0 1-.101.081l-.016.012L3.109 8.18a2 2 0 0 0-.856 2.426l.52 1.384a2 2 0 0 0 1.273 1.205l5.356 1.682a2.5 2.5 0 0 0 3.148-1.68l1.364-4.647a2 2 0 0 0-1.92-2.563H10.61c.066-.227.133-.479.195-.74.131-.562.243-1.203.232-1.738-.009-.497-.06-1.019-.264-1.462-.219-.475-.602-.832-1.192-.996ZM4.978 7.08l-.002.001.002-.001Z\"/></svg>')}.webchat .w61aa0a_icon--thumb-down-filled{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M13.094 4.62a3.5 3.5 0 0 0-4.377-2.727l-4.95 1.375a2 2 0 0 0-1.43 1.558l-.224 1.196c-.165.879.46 1.647 1.157 1.936.255.106.546.253.853.458 1.68 1.119 2.48 2.636 3.016 3.925.096.232.188.47.277.699.146.376.284.73.416 1.001.111.227.245.455.42.63.186.188.435.329.748.329.357 0 .666-.124.912-.34.235-.207.393-.481.502-.761.214-.554.281-1.251.29-1.893A14.73 14.73 0 0 0 10.577 10h.512a2.5 2.5 0 0 0 2.457-2.961l-.453-2.42Z\"/></svg>')}.webchat .w61aa0a_icon--download{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"22\" viewBox=\"0 0 31.8 46\"><path fill=\"currentColor\" d=\"m26.8 23.8-10.9 11L5 23.8l1.6-1.6 8.2 8.3V5H17v25.5l8.2-8.3 1.6 1.6zM5.8 41v-2.2H26V41H5.8z\"/></svg>')}.webchat .w61aa0a_icon--chevron{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M3.146 5.646a.5.5 0 0 1 .708 0L8 9.793l4.146-4.147a.5.5 0 0 1 .708.708l-4.5 4.5a.5.5 0 0 1-.708 0l-4.5-4.5a.5.5 0 0 1 0-.708Z\"/></svg>')}.webchat .w61aa0a_icon--checkmark-circle{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill=\"currentColor\" d=\"M1 7a6 6 0 1 1 12 0A6 6 0 0 1 1 7m6-7a7 7 0 1 0 0 14A7 7 0 0 0 7 0m2.854 5.854a.5.5 0 0 0-.708-.708L6.25 8.043 4.854 6.646a.5.5 0 1 0-.708.708l1.75 1.75a.5.5 0 0 0 .708 0z\"/></svg>')}.webchat .w61aa0a_icon--unchecked-circle{--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill=\"currentColor\" d=\"M1 7a6 6 0 1 1 12 0A6 6 0 0 1 1 7m6-7a7 7 0 1 0 0 14A7 7 0 0 0 7 0z\"/></svg>')}.webchat .wlkyN3a_render-markdown{display:contents}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--adaptive-cards>:first-child{text-overflow:ellipsis;width:100%;margin-block-start:0;overflow:hidden}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--adaptive-cards>:last-child{margin-block-end:0}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--message-activity>:first-child{margin-block-start:0}.webchat .wlkyN3a_render-markdown.wlkyN3a_render-markdown--message-activity>:last-child{margin-block-end:0}.webchat .wlkyN3a_render-markdown .render-markdown__external-link-icon{background-image:var(--webchat__icon-url--external-link);height:.75em;margin-inline-start:.25em}.webchat .wlkyN3a_render-markdown .render-markdown__citation{cursor:pointer;font-family:unset;font-size:unset;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;background:none;border:0;padding:0;text-decoration:underline;display:inline-block;overflow:hidden}@media(forced-colors:active){.webchat .wlkyN3a_render-markdown .render-markdown__citation{color:linktext}}@media not (forced-colors:active){.webchat .wlkyN3a_render-markdown .render-markdown__citation{color:var(--webchat__color--accent)}}.webchat .wlkyN3a_render-markdown .render-markdown__pure-identifier{text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.webchat .wlkyN3a_render-markdown .render-markdown__pure-identifier:before{content:\"[\"}.webchat .wlkyN3a_render-markdown .render-markdown__pure-identifier:after{content:\"]\"}.webchat .wlkyN3a_render-markdown [data-math-type=block]{outline-offset:2px;scrollbar-width:thin;flex-direction:column;align-items:center;margin-block-end:-4px;padding-block-end:4px;display:flex;overflow:auto clip}.webchat .wlkyN3a_render-markdown span[data-math-type=block]{display:inline-flex}.webchat .wlkyN3a_render-markdown [data-math-type=inline]{flex-direction:column;align-items:center;display:inline-flex}.webchat .wlkyN3a_render-markdown :is([data-math-type=block],[data-math-type=inline])>span{display:contents}.webchat .wAcnLYa_send-box-attachment-bar{grid-area:attachment-bar}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-list-item{max-height:var(--webchat__max-height--send-box-attachment-bar);scrollbar-gutter:stable;scrollbar-width:thin;overflow-y:auto}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-thumbnail{overflow-x:auto}.webchat .wAcnLYa_send-box-attachment-bar .wAcnLYa_send-box-attachment-bar__box{gap:4px}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-list-item .wAcnLYa_send-box-attachment-bar__box{grid-template-columns:1fr 1fr;display:grid}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-list-item .wAcnLYa_send-box-attachment-bar__box:not(:empty){padding:4px}.webchat .wAcnLYa_send-box-attachment-bar.wAcnLYa_send-box-attachment-bar--as-thumbnail .wAcnLYa_send-box-attachment-bar__box{scrollbar-width:thin;display:flex}.webchat .w_D4JNa_send-box-attachment-bar-item{font-family:var(--webchat__font--primary);flex-shrink:0;grid-template-rows:auto;display:grid}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item{border-radius:4px;grid-template-columns:1fr auto;grid-template-areas:\"body auxiliary\";padding:2px;box-shadow:0 2px 4px #00000024,0 0 2px #0000001f}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-thumbnail{aspect-ratio:1;border:1px solid #00000040;border-radius:8px;grid-template-columns:auto;grid-template-areas:\"body\";height:80px;overflow:hidden}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button{-webkit-appearance:none;appearance:none;cursor:pointer;opacity:1;color:#242424;--webchat__component-icon--size: 19px;background-color:#fff;border-color:#d1d1d1;border-radius:4px;grid-area:body;justify-self:end;align-items:center;padding:0;transition:opacity 50ms}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button:hover{background-color:#f5f5f5;border-color:#c7c7c7}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button:active{background-color:#e0e0e0;border-color:#c7c7c7}.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button:disabled,.webchat .w_D4JNa_send-box-attachment-bar-item__delete-button[aria-disabled=true]{color:#bdbdbd;background-color:#f0f0f0;border-color:#e0e0e0}@media(prefers-color-scheme:dark){.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button{color:#fff;background-color:#292929;border-color:#666}.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button:hover{background-color:#3d3d3d;border-color:#757575}.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button:active{background-color:#1f1f1f;border-color:#6b6b6b}.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button:disabled,.webchat.theme--prefers-color-scheme .w_D4JNa_send-box-attachment-bar-item__delete-button[aria-disabled=true]{color:#5c5c5c;background-color:#141414;border-color:#424242}}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item .w_D4JNa_send-box-attachment-bar-item__delete-button{border:0;grid-area:auxiliary;width:24px;height:24px}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item .w_D4JNa_send-box-attachment-bar-item__delete-button .w_D4JNa_send-box-attachment-bar-item__dismiss-icon{--webchat__component-icon--size: 7px;--webchat__component-icon--mask: url('data:image/svg+xml;utf8,<svg viewBox=\"0 0 8 8\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0.0885911 0.215694L0.146447 0.146447C0.320013 -0.0271197 0.589437 -0.046405 0.784306 0.0885911L0.853553 0.146447L4 3.293L7.14645 0.146447C7.34171 -0.0488154 7.65829 -0.0488154 7.85355 0.146447C8.04882 0.341709 8.04882 0.658291 7.85355 0.853553L4.707 4L7.85355 7.14645C8.02712 7.32001 8.0464 7.58944 7.91141 7.78431L7.85355 7.85355C7.67999 8.02712 7.41056 8.0464 7.21569 7.91141L7.14645 7.85355L4 4.707L0.853553 7.85355C0.658291 8.04882 0.341709 8.04882 0.146447 7.85355C-0.0488154 7.65829 -0.0488154 7.34171 0.146447 7.14645L3.293 4L0.146447 0.853553C-0.0271197 0.679987 -0.046405 0.410563 0.0885911 0.215694L0.146447 0.146447L0.0885911 0.215694Z\"/></svg>')}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-thumbnail .w_D4JNa_send-box-attachment-bar-item__delete-button{border-style:solid;border-width:1px;grid-area:body;width:23px;height:23px;margin:8px}@media not (prefers-reduced-motion:reduce){.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-thumbnail:not(:hover):not(:focus-within) .w_D4JNa_send-box-attachment-bar-item__delete-button{opacity:0}}.webchat .w_D4JNa_send-box-attachment-bar-item__preview{grid-area:body;align-items:center;display:grid;overflow:hidden}.webchat .w_D4JNa_send-box-attachment-bar-item.w_D4JNa_send-box-attachment-bar-item--as-list-item .w_D4JNa_send-box-attachment-bar-item__preview{padding-inline:8px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview{align-items:center;display:grid}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-list-item{grid-template-columns:auto 1fr;gap:8px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-thumbnail{width:100%;height:100%}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-thumbnail.wrjrhMq_send-box-attachment-bar-item-file-preview--is-file{--webchat__component-icon--image: url('data:image/svg+xml;utf8,<svg fill=\"none\" height=\"36\" viewBox=\"0 0 36 36\" width=\"36\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.386 33H28.6C28.816 33 29 32.83 29 32.628V10H23.4C22.628 10 22 9.372 22 8.6V3H7.4C7.184 3 7 3.17 7 3.372V32.642C7 32.839 7.173 33 7.386 33Z\" fill=\"%23FFFFFF\" /><path d=\"M28.204 9.00043L23 3.81543V8.60043C23 8.82043 23.18 9.00043 23.4 9.00043H28.204Z\" fill=\"white\" /><path clip-rule=\"evenodd\" d=\"M29.613 8.993L23.018 2.421C22.7473 2.15221 22.3815 2.00095 22 2H7.4C6.628 2 6 2.615 6 3.372V32.642C6 33.39 6.622 34 7.386 34H28.6C29.372 34 30 33.385 30 32.628V9.923C30 9.577 29.86 9.237 29.613 8.993ZM23 3.815L28.204 9H23.4C23.1791 9 23 8.82091 23 8.6V3.815ZM28.6 33C28.816 33 29 32.83 29 32.628V10H23.4C22.628 10 22 9.372 22 8.6V3H7.4C7.184 3 7 3.17 7 3.372V32.642C7 32.84 7.173 33 7.386 33H28.6Z\" fill=\"%23605E5C\" fill-rule=\"evenodd\" opacity=\"0.67\" /></svg>');--webchat__component-icon--size: 36px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--as-list-item.wrjrhMq_send-box-attachment-bar-item-file-preview--is-file{--webchat__component-icon--image: url('data:image/svg+xml;utf8,<svg fill=\"none\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3.5 15H12.5C12.775 15 13 14.775 13 14.5V5H11.5C10.673 5 10 4.327 10 3.5V1H3.5C3.225 1 3 1.225 3 1.5V14.5C3 14.775 3.225 15 3.5 15Z\" fill=\"%23FCFCFC\" /><path d=\"M13 4V3.914C13.0004 3.78156 12.9478 3.65446 12.854 3.561L11 1.707V3.5C11 3.775 11.225 4 11.5 4H13Z\" fill=\"%23FCFCFC\" /><path clip-rule=\"evenodd\" d=\"M13.56 2.853L11.146 0.44C10.8643 0.159539 10.4835 0.00143923 10.086 0H3.5C2.673 0 2 0.673 2 1.5V14.5C2 15.327 2.673 16 3.5 16H12.5C13.327 16 14 15.327 14 14.5V3.914C14 3.514 13.844 3.137 13.56 2.854V2.853ZM12.853 3.561C12.948 3.655 13 3.781 13 3.914V4H11.5C11.2241 3.99945 11.0006 3.77591 11 3.5V1.707L12.854 3.561H12.853ZM3.5 15H12.5C12.775 15 13 14.775 13 14.5V5H11.5C10.673 5 10 4.327 10 3.5V1H3.5C3.225 1 3 1.225 3 1.5V14.5C3.00055 14.7759 3.22409 14.9994 3.5 15Z\" fill=\"%23616161\" fill-rule=\"evenodd\" opacity=\"0.67\" /></svg>');--webchat__component-icon--size: 16px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview.wrjrhMq_send-box-attachment-bar-item-file-preview--is-image{--webchat__component-icon--image: url('data:image/svg+xml;utf8,<svg fill=\"none\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.5 14H13.5C13.775 14 14 13.775 14 13.5V2.5C14 2.225 13.775 2 13.5 2H2.5C2.225 2 2 2.225 2 2.5V13.5C2 13.775 2.225 14 2.5 14Z\" fill=\"%23FCFCFC\" /><path clip-rule=\"evenodd\" d=\"M9.27768 8.63L8.66968 9.476L7.38468 7.792C7.19551 7.54408 6.90152 7.39861 6.58968 7.39861C6.27784 7.39861 5.98385 7.54408 5.79468 7.792L4.18968 9.893C3.95877 10.1953 3.91939 10.6024 4.08807 10.9434C4.25675 11.2844 4.60427 11.5001 4.98468 11.5H11.0137C11.3887 11.4997 11.7321 11.2896 11.903 10.9557C12.074 10.6219 12.0437 10.2205 11.8247 9.916L10.9007 8.63C10.7128 8.36861 10.4106 8.21365 10.0887 8.21365C9.76678 8.21365 9.46456 8.36861 9.27668 8.63H9.27768Z\" fill=\"%23FCFCFC\" fill-rule=\"evenodd\" stroke=\"%23A6CCC3\" /><path clip-rule=\"evenodd\" d=\"M10.5 6.5C11.0523 6.5 11.5 6.05228 11.5 5.5C11.5 4.94772 11.0523 4.5 10.5 4.5C9.94772 4.5 9.5 4.94772 9.5 5.5C9.5 6.05228 9.94772 6.5 10.5 6.5Z\" fill-rule=\"evenodd\" stroke=\"%23FF9810\" /><path clip-rule=\"evenodd\" d=\"M2.5 15H13.5C14.327 15 15 14.327 15 13.5V2.5C15 1.673 14.327 1 13.5 1H2.5C1.673 1 1 1.673 1 2.5V13.5C1 14.327 1.673 15 2.5 15ZM2 2.5C2 2.22386 2.22386 2 2.5 2H13.5C13.7761 2 14 2.22386 14 2.5V13.5C14 13.7761 13.7761 14 13.5 14H2.5C2.22386 14 2 13.7761 2 13.5V2.5Z\" fill=\"%23616161\" fill-rule=\"evenodd\" opacity=\"0.67\" /></svg>');--webchat__component-icon--size: 16px}.webchat .wrjrhMq_send-box-attachment-bar-item-file-preview .wrjrhMq_send-box-attachment-bar-item-file-preview__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.webchat .wSCtrvW_send-box-attachment-bar-item-image-preview{object-fit:cover;width:100%;height:100%}.webchat .w4-KLeG_text-area{font-family:var(--webchat__font--primary);max-height:var(--webchat__text-area--max-height, 200px);scrollbar-gutter:stable;grid-template-areas:\"main\";display:grid;overflow:auto}.webchat .w4-KLeG_text-area--hidden{visibility:collapse;height:0}.webchat .w4-KLeG_text-area--in-completion .w4-KLeG_text-area-doppelganger{visibility:unset}.webchat .w4-KLeG_text-area--in-completion .w4-KLeG_text-area-input{caret-color:var(--webchat__text-area--carret-color, #242424);color:#0000;background-color:#0000}.webchat .w4-KLeG_text-area--in-completion textarea::placeholder{color:#0000}.webchat .w4-KLeG_text-area-shared{font:inherit;outline:inherit;overflow-wrap:anywhere;resize:inherit;border:none;grid-area:main}.webchat .w4-KLeG_text-area-doppelganger{pointer-events:none;-webkit-user-select:none;user-select:none;visibility:hidden;white-space:pre-wrap;overflow:visible}.webchat .w4-KLeG_text-area-input{background-color:inherit;color:currentColor;contain:size;padding:0;overflow:hidden}.webchat .w4-KLeG_text-area--scroll{scrollbar-color:unset;scrollbar-width:unset;-moz-scrollbar-color:#373435 var(--webchat__color--subtle);-moz-scrollbar-width:thin}.webchat .w4-KLeG_text-area--scroll::-webkit-scrollbar{width:8px}.webchat .w4-KLeG_text-area--scroll::-webkit-scrollbar-thumb{background-color:var(--webchat__color--subtle);border-radius:10px}.webchat .w4-KLeG_text-area--scroll::-webkit-scrollbar-corner{background-color:#373435}.webchat .w_eFzsG_feedback-form{display:contents}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__vote-button-bar{gap:2px;display:flex}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__form{flex-direction:column;gap:4px;width:100%;display:flex;position:relative}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__form-header{color:#373435;font-family:var(--webchat__font--primary);flex-direction:column;font-size:14px;font-style:normal;font-weight:400;line-height:20px;display:flex}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box{background-color:#fff;border:1px solid #e8e8e8;border-radius:4px;padding:8px 12px;font-size:14px;line-height:20px;position:relative;overflow:hidden}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box:after{border-bottom:3px solid var(--webchat__color--accent);clip-path:inset(calc(100% - 3px) 50% 0);content:\"\";border-bottom-right-radius:4px;border-bottom-left-radius:4px;height:4px;transition:none;position:absolute;bottom:-1px;left:-1px;right:-1px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box:focus-within{border:1px solid #e8e8e8}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-box:focus-within:after{clip-path:inset(calc(100% - 3px) 0 0);transition:clip-path .2s cubic-bezier(0,0,0,1)}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__text-area{resize:none;margin-inline-end:-8px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__form-footer{color:var(--webchat__color--subtle);font-family:var(--webchat__font--primary);font-size:10px;font-style:normal;font-weight:400;line-height:14px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submission-button-bar{gap:8px;margin-block-start:6px;display:flex}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submit-button{background-color:var(--webchat__color--accent);border:1px solid var(--webchat__color--accent);color:#fff;cursor:pointer;font-family:var(--webchat__font--primary);border-radius:4px;height:24px;padding:0 8px;font-size:12px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submit-button:hover,.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__submit-button:active{color:#fff;background-color:#004a98;border:1px solid #004a98}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__cancel-button{color:var(--webchat__color--subtle);cursor:pointer;font-family:var(--webchat__font--primary);background-color:#fff;border:1px solid #e8e8e8;border-radius:4px;height:24px;padding:0 8px;font-size:12px}.webchat .w_eFzsG_feedback-form .w_eFzsG_feedback-form__cancel-button:hover{background-color:var(--webchat__color--subtle);color:#fff}.webchat .wwPVtVa_thumb-button{box-sizing:content-box;border-radius:2px;grid-template-areas:\"main\";align-items:center;width:16px;height:16px;display:grid}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__input{-webkit-appearance:none;appearance:none;opacity:0;background:none;border:0;grid-area:main;width:16px;height:16px;margin:0;padding:0}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__input:active{background:#edebe9}.webchat .wwPVtVa_thumb-button:has(.wwPVtVa_thumb-button__input:focus-visible){outline:1px solid #605e5c}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__image{color:var(--webchat__color--accent);pointer-events:none;visibility:hidden;grid-area:main;justify-self:center;width:14px}.webchat .wwPVtVa_thumb-button .wwPVtVa_thumb-button__image.wwPVtVa_thumb-button__image--is-stroked{visibility:unset}.webchat .wwPVtVa_thumb-button:has(.wwPVtVa_thumb-button__input:is(:not([aria-disabled=true]):hover,:checked,[aria-pressed=true])) .wwPVtVa_thumb-button__image.wwPVtVa_thumb-button__image--is-stroked{visibility:hidden}.webchat .wwPVtVa_thumb-button:has(.wwPVtVa_thumb-button__input:is(:not([aria-disabled=true]):hover,:checked,[aria-pressed=true])) .wwPVtVa_thumb-button__image.wwPVtVa_thumb-button__image--is-filled{visibility:unset}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large{border:1px solid #0000;border-radius:4px;width:30px;height:30px}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large .wwPVtVa_thumb-button__input{background:currentColor;width:30px;height:30px}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large .wwPVtVa_thumb-button__image{color:currentColor;width:1em;height:1em;font-size:20px}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large:has(.wwPVtVa_thumb-button__input:is(:hover,:active,:checked,[aria-pressed=true])) .wwPVtVa_thumb-button__image{color:var(--webchat__color--accent)}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large:has(.wwPVtVa_thumb-button__input[aria-disabled=true]) .wwPVtVa_thumb-button__image{color:var(--webchat__color--subtle)}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large.wwPVtVa_thumb-button--has-submitted:has(.wwPVtVa_thumb-button__input:not(:checked):not([aria-pressed=true])) .wwPVtVa_thumb-button__tooltip{display:none}.webchat .wwPVtVa_thumb-button.wwPVtVa_thumb-button--large.wwPVtVa_thumb-button--has-submitted .wwPVtVa_thumb-button__tooltip{--webchat__tooltip-anchor-inline-start: 20%}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header{cursor:default;font-family:var(--webchat__font--primary);font-size:var(--webchat__font-size--small);justify-content:space-between;align-items:center;gap:4px;list-style:none;display:flex}@media(forced-colors:none){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header{color:#616161}}@media(forced-colors:none)and (not (forced-colors:none)){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header{color:#616161}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-section{align-items:center;gap:4px;display:flex;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-section--left,.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-text{flex-shrink:0}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header::-webkit-details-marker{display:none}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-chevron{flex-shrink:0}.webchat .wFYu5rq_link-definitions:not([open]) .wFYu5rq_link-definitions__header-chevron{transform:rotate(-180deg)}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__header-accessory{overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__message-sensitivity-label{align-items:center;gap:4px;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__message-sensitivity-label-icon{color:canvastext;flex-shrink:0}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__message-sensitivity-label-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list{flex-direction:column;gap:4px;margin:4px 0 0;padding:0;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item{flex-direction:column;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{text-align:center;text-overflow:ellipsis;white-space:nowrap;border-style:solid;border-width:1px;border-radius:4px;flex-shrink:0;align-self:flex-start;min-width:1em;max-width:4em;margin:4px;padding:2px;font-size:75%;overflow:hidden}@media(forced-colors:none){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{color:#000;background-color:#fff;border-color:#e0e0e0}}@media(forced-colors:none)and (not (forced-colors:none)){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{color:#fff;background-color:#000;border-color:#e0e0e0}}@media(forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__badge{border-color:buttonborder}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{border-style:solid;border-width:1px;border-radius:4px;align-items:center}@media(forced-colors:none){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{background-color:#fff;border-color:#d1d1d1}}@media(forced-colors:none)and (not (forced-colors:none)){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{background-color:#000;border-color:#d1d1d1}}@media(forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box{background-color:canvas;border-color:buttonborder}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box--as-link{outline-offset:0;text-decoration:none;display:block}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-box--as-button{-webkit-appearance:none;appearance:none;cursor:pointer;font-family:inherit;font-size:inherit;text-align:initial;background:none;padding:0;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-body{align-items:center;gap:4px;padding:4px;font-family:Calibri,Helvetica Neue,Arial,sans-serif;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-body-main{flex-direction:column;gap:2px;display:flex;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-main-text{align-items:baseline;gap:4px;display:flex}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-badge,.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-text{text-decoration:underline}@media not (forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-text{color:var(--webchat__color--accent)}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-badge{font-size:var(--webchat__font-size--small)}@media not (forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__list-item-badge{color:var(--webchat__color--subtle)}}.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__open-in-new-window-icon{flex-shrink:0;padding-right:4px}@media not (forced-colors:active){.webchat .wFYu5rq_link-definitions .wFYu5rq_link-definitions__open-in-new-window-icon{color:var(--webchat__color--accent)}}.webchat .wOVnR0W_text-content{font-family:var(--webchat__font--primary);min-height:calc(var(--webchat__min-height--bubble) - var(--webchat__padding--regular) * 2);padding:var(--webchat__padding--regular);margin:0}.webchat .wOVnR0W_text-content.wOVnR0W_text-content--is-markdown{justify-content:center;gap:var(--webchat__padding--regular);flex-direction:column;min-width:0;display:flex}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__markdown img:not(.render-markdown__external-link-icon){max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);width:100%}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__markdown pre{overflow:hidden}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__open-in-new-window-icon{height:.75em}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__activity-actions{align-self:flex-start;gap:8px calc(var(--webchat__padding--regular) / 2);flex-wrap:wrap;width:100%;display:flex}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__activity-actions:empty{display:none}.webchat .wOVnR0W_text-content .wOVnR0W_text-content__generated-badge{color:var(--webchat__color--subtle);font-size:var(--webchat__font-size--small)}.webchat .wMObAfW_activity-button{-webkit-appearance:none;appearance:none;color:#242424;background:#fff;border:1px solid #d1d1d1;border-radius:4px;justify-content:center;align-items:center;gap:4px;padding:5px 12px;display:flex}.webchat .wMObAfW_activity-button:hover{color:#242424;background:#f5f5f5;border:1px solid #c7c7c7}.webchat .wMObAfW_activity-button:active{color:#242424;background:#e0e0e0;border:1px solid #b3b3b3}.webchat .wMObAfW_activity-button:focus-visible{outline-offset:-2px;background:#fff;outline:2px solid #000}.webchat .wMObAfW_activity-button[aria-disabled=true]{color:#bdbdbd;cursor:not-allowed;background:#f0f0f0;border:1px solid #e0e0e0}.webchat .wMObAfW_activity-button .wMObAfW_activity-button__icon{--webchat__component-icon--color: #707070;--webchat__component-icon--size: 20px;width:20px;height:20px}.webchat .w4rKArW_activity-copy-button{position:relative;overflow:clip}@supports not (overflow: clip){.webchat .w4rKArW_activity-copy-button{overflow:hidden}}.webchat .w4rKArW_activity-copy-button .w4rKArW_activity-copy-button__copied-text{visibility:hidden;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute}.webchat .w4rKArW_activity-copy-button.w4rKArW_activity-copy-button--copied .w4rKArW_activity-copy-button__copied-text{animation:.7s linear webchat__activity-copy-button__copied-animation}.webchat .w4rKArW_activity-copy-button.w4rKArW_activity-copy-button--copied .w4rKArW_activity-button__icon,.webchat .w4rKArW_activity-copy-button.w4rKArW_activity-copy-button--copied .w4rKArW_activity-button__text{visibility:hidden}.webchat .w4rKArW_activity-copy-button__copy-announcement{pointer-events:none}@keyframes webchat__activity-copy-button__copied-animation{0%{visibility:visible}to{visibility:unset}}.webchat .wyq2fIq_view-code-dialog{box-sizing:border-box;place-items:center;height:100%;max-height:100vh;padding:1rem;display:grid;overflow:hidden}.webchat .wyq2fIq_view-code-dialog .webchat__modal-dialog__box{flex-direction:column;max-width:100%;max-height:100%;display:flex;position:relative}.webchat .wyq2fIq_view-code-dialog .webchat__modal-dialog__close-button-layout{position:absolute;right:0}.webchat .wyq2fIq_view-code-dialog .webchat__modal-dialog__body{gap:var(--webchat__padding--regular);flex-direction:column;display:flex;overflow:hidden}.webchat .wyq2fIq_view-code-dialog__header{align-items:center;padding-inline-end:30px;display:flex}.webchat .wyq2fIq_view-code-dialog__title{text-transform:capitalize;margin:0 auto 0 0}.webchat .wyq2fIq_view-code-dialog .wyq2fIq_view-code-dialog__body{border:none;border-radius:0;height:100%;overflow:auto}.webchat .wyq2fIq_view-code-dialog .code-block__body{padding:16px 0;line-height:normal;display:block}.webchat .wyq2fIq_view-code-dialog__footer{color:var(--webchat__color--subtle);line-height:20px}.webchat .wOauhfq_citation-modal-dialog .wOauhfq_citation-modal-dialog__header{cursor:default}.webchat .wOauhfq_citation-modal-dialog .wOauhfq_citation-modal-dialog__body{line-height:20px}.webchat .wYVITZq_bubble{--webchat__bubble--background: var(--webchat__background--bubble);--webchat__bubble--border-color: var(--webchat__border-color--bubble);--webchat__bubble--border-radius: var(--webchat__border-radius--bubble);--webchat__bubble--border-style: var(--webchat__border-style--bubble);--webchat__bubble--border-width: var(--webchat__border-width--bubble);--webchat__bubble--color: var(--webchat__color--bubble);--webchat__bubble--nub-size: var(--webchat__size--bubble-nub);--webchat__bubble--nub-space: var(--webchat__space--bubble-nub);--webchat__bubble--nub-border-radius: min(var(--webchat__bubble--border-radius), calc(var(--webchat__bubble--nub-space) * -1));--webchat__bubble--nub-inset-block: auto calc(-1 * var(--webchat__bubble--nub-space));--webchat__bubble--nub-inset-inline: calc(var(--webchat__bubble--border-width) - var(--webchat__bubble--nub-size) + var(--webchat__padding--regular)) auto;display:flex;position:relative}.webchat .wYVITZq_bubble.wYVITZq_bubble--nub-on-top{--webchat__bubble--nub-border-radius: min(var(--webchat__bubble--border-radius), var(--webchat__bubble--nub-space));--webchat__bubble--nub-inset-block: var(--webchat__bubble--nub-space) auto}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user{--webchat__bubble--background: var(--webchat__background--bubble-user);--webchat__bubble--border-color: var(--webchat__border-color--bubble-user);--webchat__bubble--border-radius: var(--webchat__border-radius--bubble-user);--webchat__bubble--border-style: var(--webchat__border-style--bubble-user);--webchat__bubble--border-width: var(--webchat__border-width--bubble-user);--webchat__bubble--color: var(--webchat__color--bubble-user);--webchat__bubble--nub-size: var(--webchat__size--bubble-nub-user);--webchat__bubble--nub-space: var(--webchat__space--bubble-nub-user);--webchat__bubble--nub-inset-inline: auto calc(var(--webchat__bubble--border-width) - var(--webchat__bubble--nub-size) + var(--webchat__padding--regular))}.webchat .wYVITZq_bubble .wYVITZq_bubble__content{transition-duration:var(--webchat__transition-duration);word-break:var(--webchat__word-break--message-activity);flex-grow:1;margin-inline:0;transition-property:margin-inline-start,margin-inline-end;overflow:hidden}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub{position:absolute;overflow:hidden}.webchat .wYVITZq_bubble:dir(rtl) .wYVITZq_bubble__nub{transform:scaleX(-1)}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}:is(.webchat .wYVITZq_bubble.wYVITZq_bubble--hide-nub,.webchat .wYVITZq_bubble.wYVITZq_bubble--show-nub) .wYVITZq_bubble__nub-pad{width:var(--webchat__padding--regular)}.webchat .wYVITZq_bubble .wYVITZq_bubble__content{background:var(--webchat__bubble--background);border-color:var(--webchat__bubble--border-color);border-radius:var(--webchat__bubble--border-radius);border-style:var(--webchat__bubble--border-style);border-width:var(--webchat__bubble--border-width);color:var(--webchat__bubble--color);min-height:calc(var(--webchat__min-height--bubble) - var(--webchat__bubble--border-width) * 2)}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub{height:var(--webchat__bubble--nub-size);inset-block:var(--webchat__bubble--nub-inset-block);inset-inline:var(--webchat__bubble--nub-inset-inline);width:var(--webchat__bubble--nub-size)}.webchat .wYVITZq_bubble .wYVITZq_bubble__nub-outline{fill:var(--webchat__bubble--background);stroke-width:var(--webchat__bubble--border-width);stroke:var(--webchat__bubble--border-color)}.webchat .wYVITZq_bubble:not(.wYVITZq_bubble--from-user).wYVITZq_bubble--show-nub:not(.wYVITZq_bubble--nub-on-top) .wYVITZq_bubble__content{border-end-start-radius:var(--webchat__bubble--nub-border-radius)}.webchat .wYVITZq_bubble:not(.wYVITZq_bubble--from-user).wYVITZq_bubble--show-nub.wYVITZq_bubble--nub-on-top .wYVITZq_bubble__content{border-start-start-radius:var(--webchat__bubble--nub-border-radius)}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user{flex-direction:row-reverse}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user.wYVITZq_bubble--show-nub:not(.wYVITZq_bubble--nub-on-top) .wYVITZq_bubble__content{border-end-end-radius:var(--webchat__bubble--nub-border-radius)}.webchat .wYVITZq_bubble.wYVITZq_bubble--from-user.wYVITZq_bubble--show-nub.wYVITZq_bubble--nub-on-top .wYVITZq_bubble__content{border-start-end-radius:var(--webchat__bubble--nub-border-radius)}.webchat .waR7HEa_carousel-filmstrip-attachment{max-width:var(--webchat__max-width--attachment-bubble);min-width:var(--webchat__min-width--attachment-bubble);transition-duration:var(--webchat__transition-duration);padding-inline-start:var(--webchat__padding--regular);transition-property:max-width,min-width}.webchat .waR7HEa_carousel-filmstrip-attachment:focus{outline:0}.webchat .waR7HEa_carousel-filmstrip-attachment:focus .waR7HEa_carousel-filmstrip-attachment--focus{border-color:var(--webchat__color--transcript-visual-keyboard-indicator);border-style:var(--webchat__border-style--transcript-visual-keyboard-indicator);border-width:var(--webchat__border-width--transcript-visual-keyboard-indicator);box-sizing:border-box;height:calc(100% - var(--webchat__border-width--transcript-visual-keyboard-indicator));pointer-events:none;width:calc(100% - var(--webchat__border-width--transcript-visual-keyboard-indicator));position:absolute;inset-block-start:0;inset-inline-start:0}:is(.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--hide-avatar,.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--show-avatar):first-child{padding-inline-start:calc(var(--webchat__size--avatar) + var(--webchat__padding--regular) * 2)}:is(.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--hide-nub,.webchat .waR7HEa_carousel-filmstrip-attachment.waR7HEa_carousel-filmstrip-attachment--show-nub):not(.waR7HEa_carousel-filmstrip-attachment--hide-avatar.waR7HEa_carousel-filmstrip-attachment--show-avatar):first-child{padding-inline-start:calc(var(--webchat__padding--regular) * 2)}.webchat .wzsijdG_carousel-filmstrip{-ms-overflow-style:none;touch-action:manipulation;-webkit-overflow-scrolling:touch;flex-direction:column;display:flex;position:relative;overflow:scroll hidden}@supports ((-moz-appearance: none)){.webchat .wzsijdG_carousel-filmstrip{margin-block-end:-17px}}.webchat .wzsijdG_carousel-filmstrip::-webkit-scrollbar{display:none}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__bubble{max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);transition-duration:var(--webchat__transition-duration);transition-property:max-width}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__bubble{max-width:calc(var(--webchat__max-width--message-bubble) + var(--webchat__padding--regular))}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__alignment-pad{transition-duration:var(--webchat__transition-duration);width:var(--webchat__padding--regular);flex-shrink:0;transition-property:width}.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--extra-trailing .wzsijdG_carousel-filmstrip__alignment-pad{width:calc(var(--webchat__padding--regular) * 2)}.webchat .wzsijdG_carousel-filmstrip:not(.wzsijdG_carousel-filmstrip--no-message) .wzsijdG_carousel-filmstrip__attachments{margin-block-start:var(--webchat__padding--regular)}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__attachments{margin:0;padding:0;list-style-type:none;display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__avatar{flex-shrink:0}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__avatar-gutter{transition-duration:var(--webchat__transition-duration);flex-direction:column;flex-shrink:0;align-items:flex-end;transition-property:width;display:flex}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__avatar-gutter{width:var(--webchat__size--avatar)}.webchat .wzsijdG_carousel-filmstrip:not(.wzsijdG_carousel-filmstrip--top-callout) .wzsijdG_carousel-filmstrip__avatar-gutter{justify-content:flex-end}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__complimentary{display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__complimentary-content,.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__content{flex-direction:column;flex-grow:1;display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__filler{flex-grow:10000;flex-shrink:1}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__main,.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__message{display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__nub-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-nub) .wzsijdG_carousel-filmstrip__nub-pad{width:var(--webchat__padding--regular)}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__status{display:flex}.webchat .wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__avatar-gutter{margin-inline-start:var(--webchat__padding--regular)}.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip .wzsijdG_carousel-filmstrip__attachments{margin-inline-start:calc(-1 * var(--webchat__padding--regular))}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-avatar,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__attachments{margin-inline-start:calc(-1 * (var(--webchat__size--avatar) + var(--webchat__padding--regular) * 2))}:is(.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--hide-nub,.webchat .wzsijdG_carousel-filmstrip.wzsijdG_carousel-filmstrip--show-nub):not(.wzsijdG_carousel-filmstrip--hide-avatar.wzsijdG_carousel-filmstrip--show-avatar) .wzsijdG_carousel-filmstrip__attachments{margin-inline-start:calc(-1 * var(--webchat__padding--regular) * 2)}.webchat .wtvQgqa_carousel-layout{position:relative;overflow:hidden}.webchat .wtvQgqa_carousel-layout .react-film__flipper .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button);color:var(--webchat__color--transcript-overlay-button);outline:0}:is(.webchat .wtvQgqa_carousel-layout .react-film__flipper:disabled,.webchat .wtvQgqa_carousel-layout .react-film__flipper[aria-disabled=true]) .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button-disabled);color:var(--webchat__color--transcript-overlay-button-disabled)}.webchat .wtvQgqa_carousel-layout .react-film__flipper:focus .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button-focus);color:var(--webchat__color--transcript-overlay-button-focus, var(--webchat__color--transcript-overlay-button))}.webchat .wtvQgqa_carousel-layout .react-film__flipper:hover .react-film__flipper__body{background-color:var(--webchat__background--transcript-overlay-button-hover);color:var(--webchat__color--transcript-overlay-button-hover, var(--webchat__color--transcript-overlay-button))}.webchat .wRAis8G_stacked-layout{font-family:var(--webchat__font--primary);margin-inline:var(--webchat__padding--regular);position:relative}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-row,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__main,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-row,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__status{display:flex}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__alignment-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--extra-trailing .wRAis8G_stacked-layout__alignment-pad{width:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__title{color:var(--webchat__color--subtle);margin-block:var(--webchat__padding--regular);margin-inline:var(--webchat__padding--regular);font-size:1.1em}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble>.wRAis8G_stacked-layout__title:not(:last-child){margin-block-end:0}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment{max-width:var(--webchat__max-width--attachment-bubble);min-width:var(--webchat__min-width--attachment-bubble);transition-duration:var(--webchat__transition-duration);width:100%;transition-property:max-width,min-width}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-list{flex-direction:column;display:flex}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-list:empty{display:none}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__attachment-row{width:100%;margin-block-start:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--no-message .wRAis8G_stacked-layout__attachment-list .wRAis8G_stacked-layout__attachment-row:first-child{margin-block-start:0}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__avatar-gutter{transition-duration:var(--webchat__transition-duration);flex-direction:column;flex-shrink:0;width:0;transition-property:width;display:flex}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__attachment-row,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__main,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__message-row,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--from-user .wRAis8G_stacked-layout__status{flex-direction:row-reverse}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__content{flex-direction:column;flex:1;display:flex;overflow:hidden}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message{max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);transition-duration:var(--webchat__transition-duration);transition-property:max-width;overflow:hidden}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-row{gap:var(--webchat__padding--regular);display:flex}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status{--webchat__component-icon--size: 19px;box-sizing:border-box;color:var(--webchat__color--subtle);height:1lh;grid-template-areas:\"message-status-icon\";place-self:start;width:1em;margin-block-start:var(--webchat__padding--regular);margin-inline-start:var(--webchat__padding--regular);font-size:1.1em;display:grid}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status:has(+.text-content){font-size:1em}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status>*{grid-area:message-status-icon}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status-unset-icon,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status-complete-icon,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status-loader{visibility:hidden}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status--unset .wRAis8G_stacked-layout__message-status-unset-icon,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status--incomplete .wRAis8G_stacked-layout__message-status-loader,.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__message-status--published .wRAis8G_stacked-layout__message-status-complete-icon{visibility:unset}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble{grid-template:\"content\" 1fr / 1fr;display:grid}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble>*{grid-column:content}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble>.wRAis8G_stacked-layout__message-status{grid-area:status}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__bubble:has(.wRAis8G_stacked-layout__message-status){grid-template:\"status content\" \". content\" / min-content auto}.webchat .wRAis8G_stacked-layout .wRAis8G_stacked-layout__nub-pad{transition-duration:var(--webchat__transition-duration);flex-shrink:0;width:0;transition-property:width}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__avatar-gutter{width:var(--webchat__size--avatar)}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-nub,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-nub).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__attachment{max-width:calc(var(--webchat__max-width--attachment-bubble) + var(--webchat__padding--regular));min-width:calc(var(--webchat__min-width--attachment-bubble) + var(--webchat__padding--regular))}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-nub,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-nub).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__message{max-width:calc(var(--webchat__max-width--message-bubble) + var(--webchat__padding--regular));min-width:calc(var(--webchat__min-width--message-bubble) + var(--webchat__padding--regular))}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--hide-nub,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--show-nub).wRAis8G_stacked-layout--activity .wRAis8G_stacked-layout__nub-pad{width:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout:not(.wRAis8G_stacked-layout--top-callout) .wRAis8G_stacked-layout__avatar-gutter,.webchat .wRAis8G_stacked-layout:not(.wRAis8G_stacked-layout--top-callout) .wRAis8G_stacked-layout__content{justify-content:flex-end}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group.wRAis8G_stacked-layout--hide-avatar,.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group.wRAis8G_stacked-layout--show-avatar)>.wRAis8G_stacked-layout__main>.wRAis8G_stacked-layout__avatar-gutter{width:var(--webchat__size--avatar);margin-inline-end:var(--webchat__padding--regular)}.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group .wRAis8G_stacked-layout__message-status{display:none}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--incomplete),.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--published)) .wRAis8G_stacked-layout__bubble{grid-template:\"status content\" \". content\" / min-content auto}:is(.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--incomplete),.webchat .wRAis8G_stacked-layout.wRAis8G_stacked-layout--group:has(.wRAis8G_stacked-layout__bubble .wRAis8G_stacked-layout__message-status--published)) .wRAis8G_stacked-layout__message-status{display:grid}.webchat .w4KLAFG_code-block-content{border:var(--webchat__border-width--bubble) var(--webchat__border-style--bubble) var(--webchat__border-color--bubble);border-radius:var(--webchat__border-radius--bubble);font-family:var(--webchat__font--primary);margin:0 calc(var(--webchat__border-width--bubble) * -1) calc(var(--webchat__border-width--bubble) * -1);font-size:14px;font-style:normal;font-weight:400;display:block;position:relative;overflow:hidden}@supports (overflow: clip){.webchat .w4KLAFG_code-block-content{overflow:clip}}.webchat .w4KLAFG_code-block-content__header{align-items:center;gap:var(--webchat__padding--regular);padding:var(--webchat__padding--regular);justify-content:space-between;display:flex}.webchat .w4KLAFG_code-block-content__title{font-weight:600}.webchat .w4KLAFG_code-block-content__title:first-letter{text-transform:uppercase}.webchat .w4KLAFG_code-block-content .w4KLAFG_code-block-content__code-block{max-height:360px;padding:var(--webchat__padding--regular) 8px var(--webchat__padding--regular) var(--webchat__padding--regular);border:none;margin:0;overflow-y:auto}.webchat .wo1OXYa_collapsible-content{display:grid}.webchat .wo1OXYa_collapsible-content[open] .wo1OXYa_collapsible-content__chevron{transform:rotate(180deg)}.webchat .wo1OXYa_collapsible-content[open] .wo1OXYa_collapsible-content__summary{margin-block-end:0}.webchat .wo1OXYa_collapsible-content__summary{cursor:pointer;font-family:var(--webchat__font--primary);gap:calc(var(--webchat__padding--regular) / 2);margin:var(--webchat__padding--regular);justify-self:self-start;padding:0;list-style:none;display:inline-flex}.webchat .wo1OXYa_collapsible-content__summary::-webkit-details-marker{display:none}.webchat .wo1OXYa_collapsible-content__summary:focus-visible{outline-offset:3px}.webchat .wo1OXYa_collapsible-content__summary-text{flex:auto}.webchat .wo1OXYa_collapsible-content__chevron{transition:transform var(--webchat__transition-duration) var(--webchat__transition-easing)}.webchat .wo1OXYa_collapsible-content__content{flex-direction:column;display:flex}.webchat .wgymfeG_message-status-loader{--webchat__component-icon--mask: url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='3'/></svg>\");animation:1.5s ease-in-out infinite message-status-loader__pulse}@media(prefers-reduced-motion:reduce){.webchat .wgymfeG_message-status-loader{animation-play-state:paused}}@keyframes message-status-loader__pulse{0%,to{opacity:.3}50%{opacity:1}}.webchat .wBpMa5G_activity-status{color:var(--webchat__color--timestamp);font-family:var(--webchat__font--primary);font-size:var(--webchat__font-size--small);margin-block-start:calc(var(--webchat__padding--regular) / 2)}.webchat .wBpMa5G_activity-status.wBpMa5G_activity-status--slotted{gap:4px;display:inline-flex}.webchat .wBpMa5G_activity-status-slot{display:contents}.webchat .wBpMa5G_activity-status-slot:not(:first-child):before{content:\"|\"}.webchat .wBpMa5G_activity-status-slot:empty{display:none}.webchat .wBpMa5G_activity-status__originator{align-items:center}.webchat .wBpMa5G_activity-status__originator.wBpMa5G_activity-status__originator--has-link{color:var(--webchat__color--accent)}.webchat .wHUVgzG_transcript-focus-area{--webchat__transcript--spacing: 10px;outline:0;grid-template-areas:\"content\";display:grid}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__indicator,.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__transcript-indicator{box-sizing:border-box;isolation:isolate;pointer-events:none;grid-area:content;min-height:0;font-size:0}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__root,.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content-root{grid-area:content;min-width:0;min-height:0}.webchat .wHUVgzG_transcript-focus-area:focus .wHUVgzG_transcript-focus-area__content--focused>.wHUVgzG_transcript-focus-area__content-overlay .wHUVgzG_transcript-focus-area__indicator{border-color:var(--webchat__color--transcript-activity-visual-keyboard-indicator);border-style:var(--webchat__border-style--transcript-activity-visual-keyboard-indicator);border-width:var(--webchat__border-width--transcript-activity-visual-keyboard-indicator);inset:calc(var(--webchat__transcript--spacing) / -2) calc(var(--webchat__transcript--spacing) / 2) calc(var(--webchat__transcript--spacing) / -2) calc(var(--webchat__transcript--spacing) / 2);position:absolute}.webchat .wHUVgzG_transcript-focus-area:focus-visible .wHUVgzG_transcript-focus-area__transcript-indicator,.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__root:has(.wHUVgzG_transcript-focus-area__terminator:focus-visible)+.wHUVgzG_transcript-focus-area__transcript-indicator{border-color:var(--webchat__border-color--transcript-visual-keyboard-indicator);border-style:var(--webchat__border-style--transcript-visual-keyboard-indicator);border-width:var(--webchat__border-width--transcript-visual-keyboard-indicator)}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__activity-list{gap:var(--webchat__transcript--spacing);padding-block:var(--webchat__transcript--spacing);display:grid}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content{grid-template-areas:\"content\";min-width:0;min-height:0;display:grid}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content>*{grid-area:content;min-width:0}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content-overlay{pointer-events:none;grid-area:content;width:100%;min-height:0;position:relative}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__content-active-descendant{inset:calc(var(--webchat__transcript--spacing) / -1) 0 calc(var(--webchat__transcript--spacing) / -1) 0;position:absolute}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator{outline:0;width:100%;height:0;position:relative}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator-body{justify-content:center;display:flex;position:absolute;inset:auto 0 0}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator:not(:focus) .wHUVgzG_transcript-focus-area__terminator-body{display:none}.webchat .wHUVgzG_transcript-focus-area .wHUVgzG_transcript-focus-area__terminator-text{background:var(--webchat__background--transcript-terminator);border-radius:var(--webchat__border-radius--transcript-terminator);color:var(--webchat__color--transcript-terminator);font-family:var(--webchat__font--primary);font-size:var(--webchat__font-size--transcript-terminator);margin:calc(var(--webchat__transcript--spacing) / 2);padding:calc(var(--webchat__transcript--spacing) / 2)}.webchat .wDvoJHW_collapsible-grouping{border-radius:var(--webchat__border-radius--bubble);border:var(--webchat__border-width--bubble) var(--webchat__border-style--bubble) var(--webchat__border-color--bubble);box-sizing:border-box;font-family:var(--webchat__font--primary);max-width:var(--webchat__max-width--message-bubble);min-width:var(--webchat__min-width--message-bubble);transition:gap var(--webchat__transition-duration) var(--webchat__transition-easing);gap:0;font-style:normal;font-weight:400;display:block;position:relative}.webchat .wDvoJHW_collapsible-grouping__header{padding:var(--webchat__padding--regular);align-items:center;display:flex;position:relative}.webchat .wDvoJHW_collapsible-grouping__title{margin-inline-end:var(--webchat__padding--regular);font-size:1.1em}.webchat .wDvoJHW_collapsible-grouping__toggle{flex:none;margin-inline-start:auto}.webchat .wDvoJHW_collapsible-grouping__chevron{transition:transform var(--webchat__transition-duration) var(--webchat__transition-easing);order:-1}.webchat .wDvoJHW_collapsible-grouping--open .wDvoJHW_collapsible-grouping__chevron{transform:rotate(180deg)}.webchat .wDvoJHW_collapsible-grouping__content{interpolate-size:allow-keywords;opacity:0;min-width:0;height:0;transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),visibility 0s linear var(--webchat__transition-duration);visibility:hidden;display:grid;overflow:clip}.webchat .wDvoJHW_collapsible-grouping__content--open{height:auto;margin:calc(var(--webchat__padding--regular) / -2);opacity:1;padding:calc(var(--webchat__padding--regular) / 2);transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),border-color var(--webchat__transition-duration) calc(var(--webchat__transition-duration) / 2) var(--webchat__transition-easing),visibility 0s linear 0s;visibility:unset}.webchat .wDvoJHW_collapsible-grouping__list{gap:0;margin-block-end:calc(var(--webchat--collapsible-grouping__list--gap, var(--webchat__padding--regular)) * -1);display:grid}.webchat .wDvoJHW_collapsible-grouping__list>*{margin-block-end:var(--webchat--collapsible-grouping__list--gap, var(--webchat__padding--regular))}.webchat .wjtNCTG_part-grouping-activity .wjtNCTG_part-grouping-activity__activities{padding-block:0 var(--webchat__padding--regular);gap:0}.webchat .wjtNCTG_part-grouping-activity .wjtNCTG_part-grouping-activity__message-status{color:currentColor;opacity:1;transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),visibility 0s linear 0s;visibility:unset;place-self:center;margin-block:0;margin-inline-end:var(--webchat__padding--regular)}.webchat .wjtNCTG_part-grouping-activity .wjtNCTG_part-grouping-activity__collapsible.wjtNCTG_part-grouping-activity__collapsible--open .wjtNCTG_part-grouping-activity__message-status{opacity:0;visibility:hidden;transition:all var(--webchat__transition-duration) var(--webchat__transition-easing),visibility 0s linear var(--webchat__transition-duration);width:0;margin-inline:0}.webchat .w6N4Cvq_say-alt{color:red;margin:0}.webchat .wWoZ38W_code-block{background:var(--webchat__background--code-block, inherit);color:var(--webchat__color--code-block, currentColor);border:1px solid #d1d1d1;border-radius:4px;margin:16px 0;padding:4px 4px 4px 8px;line-height:normal;display:block;overflow:hidden}.webchat .wWoZ38W_code-block:has(.wWoZ38W_code-block__theme--github-dark-default){background:var(--webchat__background--code-block, #0d1117);color:var(--webchat__color--code-block, #e6edf3)}.webchat .wWoZ38W_code-block:has(.wWoZ38W_code-block__theme--github-light-default){background:var(--webchat__background--code-block, #fff);color:var(--webchat__color--code-block, #1f2328)}.webchat .wWoZ38W_code-block:has(.wWoZ38W_code-block__body:focus-visible):focus-within{outline-offset:-2px;outline:2px solid #000}.webchat .wWoZ38W_code-block__body{white-space:pre-wrap;line-height:unset;outline:none;margin:0;display:inline}.webchat .wGHOKkG_code-block-copy-button{-webkit-appearance:none;appearance:none;color:#242424;float:right;background:#fff;border:1px solid #d1d1d1;border-radius:4px;justify-content:center;align-items:center;gap:4px;margin-inline-start:var(--webchat__padding--regular);padding:3px;display:grid}.webchat .wGHOKkG_code-block-copy-button:hover{color:#242424;background:#f5f5f5;border:1px solid #c7c7c7}.webchat .wGHOKkG_code-block-copy-button:active{color:#242424;background:#e0e0e0;border:1px solid #b3b3b3}.webchat .wGHOKkG_code-block-copy-button:focus-visible{outline-offset:-2px;background:#fff;outline:2px solid #000}.webchat .wGHOKkG_code-block-copy-button[aria-disabled=true]{color:#bdbdbd;cursor:not-allowed;background:#f0f0f0;border:1px solid #e0e0e0}.webchat .wGHOKkG_code-block-copy-button__icon{--webchat__component-icon--color: #707070;--webchat__component-icon--size: 16px;grid-area:1 / 1}.webchat .wGHOKkG_code-block-copy-button__icon--copied{opacity:0}.webchat .wGHOKkG_code-block-copy-button--copied .wGHOKkG_code-block-copy-button__icon{animation:.5s linear code-block-copy-button__copied-animation}@keyframes code-block-copy-button__copied-animation{0%{opacity:1}to{opacity:unset}}\n",kM=_chunkI6EXXZUNjs.a.call(void 0, TM),Db=kM;var FM=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _valibot.never.call(void 0, )),nonce:_valibot.undefinedable.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),DM=Db("component");function qb(t){let{nonce:e}=_chunkTMUNLKZWjs.h.call(void 0, FM,t),[{stylesRoot:o}]=_hookjs.useStyleOptions.call(void 0, );return _react2.default.createElement(_chunkTMUNLKZWjs.j,{at:o,nonce:e,styleElements:DM})}qb.displayName="ComponentStylesheet";var zb=_react.memo.call(void 0, qb);function Uc(t,e){return Object.entries(t).reduce((o,[r,i])=>(_botframeworkwebchatcore.isForbiddenPropertyName.call(void 0, r)||(o[r]=e(i,r)),o),{})}var{useGetActivityByKey:UM,useReferenceGrammarID:JM,useStyleOptions:Hb,useTrackException:ZM}=_botframeworkwebchatapi.hooks;function XM(t,e){return Uc(e,(o,r)=>r==="options"?o:t(o))}var QM={"&.webchat__css-custom-properties":{"& .webchat__live-region":{color:"transparent",height:1,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}}},Yb=_react.memo.call(void 0, ({children:t,nonce:e,storeDebugAPI:o})=>{let[{internalLiveRegionFadeAfter:r}]=Hb(),i=_chunkENHWW2TZjs.a.call(void 0, )(QM)+"",n=_react.useRef.call(void 0, null),a=ZM(),s=_react.useCallback.call(void 0, c=>{if(c.error!=="aborted"){let l=new Error("Speech recognition failed");l.cause=c,a(l,!1),console.error(l)}},[a]);return _react.useEffect.call(void 0, ()=>{let{current:c}=n;return c?(c.webChat=o,()=>delete c.webChat):()=>{}},[o]),_react2.default.createElement(Fb,{className:_classnames2.default.call(void 0, "webchat","webchat__css-custom-properties",i),nonce:e,ref:n},_react2.default.createElement(cb,null,_react2.default.createElement(_chunkUQHIWKDVjs.n,null,_react2.default.createElement(_chunkUQHIWKDVjs.v,null,_react2.default.createElement(_chunkENHWW2TZjs.j,{className:"webchat__live-region",fadeAfter:r},_react2.default.createElement(wb,null,_react2.default.createElement(fb,null,_react2.default.createElement(_chunkJG75MOPDjs.g,null,t),_react2.default.createElement(gm,{onError:s}))))))))});Yb.displayName="ComposerCoreUI";var Mr=({children:t,extraStyleSet:e,nonce:o,renderMarkdown:r,storeDebugAPI:i,styleSet:n,suggestedActionsAccessKey:a,webSpeechPonyfillFactory:s})=>{let[c,l]=_react.useState.call(void 0, ),[d]=JM(),[p]=Hb(),m=_react.useRef.call(void 0, []),u=_react.useRef.call(void 0, []),f=_react.useRef.call(void 0, []),b=_chunkENHWW2TZjs.a.call(void 0, ),y=_react.useMemo.call(void 0, ()=>XM(b,{...n||Yc(p),...e}),[e,p,n,b]),v=_react.useMemo.call(void 0, ()=>{let L=s&&s({referenceGrammarID:d}),{speechSynthesis:z,SpeechSynthesisUtterance:W}=L||{};return{...L,speechSynthesis:z||un,SpeechSynthesisUtterance:W||pn}},[d,s]),h=_react.useRef.call(void 0, []),x=_react.useCallback.call(void 0, L=>h.current.forEach(z=>z(L)),[h]),w=_react.useCallback.call(void 0, L=>(h.current=[...h.current,L],()=>{h.current=h.current.filter(z=>z!==L)}),[h]),g=_react.useRef.call(void 0, []),[k,I]=_react.useState.call(void 0, 0),_=UM(),S=_react.useMemo.call(void 0, ()=>{let L=Symbol();return z=>{if(z!==L){L=z;let W={activity:_(z)};g.current.forEach(K=>K(W))}}},[_,g]),N=_react.useCallback.call(void 0, L=>(g.current=[...g.current,L],I(g.current.length),()=>{g.current=g.current.filter(z=>z!==L),I(g.current.length)}),[g,I]),B=_react.useMemo.call(void 0, ()=>({dictateAbortable:c,dispatchScrollPosition:x,dispatchTranscriptFocusByActivityKey:S,focusTranscriptCallbacksRef:m,nonce:o,numTranscriptFocusObservers:k,observeScrollPosition:w,observeTranscriptFocus:N,renderMarkdown:r,scrollToCallbacksRef:u,scrollToEndCallbacksRef:f,setDictateAbortable:l,styleSet:y,suggestedActionsAccessKey:a,webSpeechPonyfill:v}),[c,x,S,m,o,k,w,N,y,r,u,f,l,a,v]);return _react2.default.createElement(_reactsay.Composer,{ponyfill:v},_react2.default.createElement(_chunkUQHIWKDVjs.a.Provider,{value:B},_react2.default.createElement(Yb,{nonce:o,storeDebugAPI:i},t)))};Mr.defaultProps={extraStyleSet:void 0,nonce:void 0,renderMarkdown:void 0,styleSet:void 0,suggestedActionsAccessKey:"A a \xC5 \xE5",webSpeechPonyfillFactory:void 0};Mr.propTypes={extraStyleSet:_proptypes2.default.any,nonce:_proptypes2.default.string,renderMarkdown:_proptypes2.default.func,styleSet:_proptypes2.default.any,suggestedActionsAccessKey:_proptypes2.default.oneOfType([_proptypes2.default.oneOf([!1]),_proptypes2.default.string]),webSpeechPonyfillFactory:_proptypes2.default.func};var Zc=({activityMiddleware:t,activityStatusMiddleware:e,attachmentForScreenReaderMiddleware:o,attachmentMiddleware:r,avatarMiddleware:i,cardActionMiddleware:n,children:a,decoratorMiddleware:s,extraStyleSet:c,htmlContentTransformMiddleware:l,polymiddleware:d,renderMarkdown:p,scrollToEndButtonMiddleware:m,sendBoxMiddleware:u,sendBoxToolbarMiddleware:f,styleOptions:b,styleSet:y,suggestedActionsAccessKey:v,toastMiddleware:h,typingIndicatorMiddleware:x,webSpeechPonyfillFactory:w,...g})=>{let{nonce:k,onTelemetry:I}=g,_=Us(),S=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(t),..._.activityMiddleware]),[t,_.activityMiddleware]),N=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(e),..._.activityStatusMiddleware,...xs()]),[e,_.activityStatusMiddleware]),B=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(o),..._.attachmentForScreenReaderMiddleware,...Cs()]),[o,_.attachmentForScreenReaderMiddleware]),L=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(r),..._.attachmentMiddleware,...Ha()]),[r,_.attachmentMiddleware]),z=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(i),..._.avatarMiddleware]),[i,_.avatarMiddleware]),W=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(n),..._.cardActionMiddleware,...Is()]),[n,_.cardActionMiddleware]),K=_react.useMemo.call(void 0, ()=>Bf(b),[b]),T=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...d||[],..._.polymiddleware,tf,K]),[K,d,_.polymiddleware]),R=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(h),..._.toastMiddleware,...$f()]),[h,_.toastMiddleware]),O=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(x),..._.typingIndicatorMiddleware,...Rs()]),[x,_.typingIndicatorMiddleware]),j=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([...Xt(m),..._.scrollToEndButtonMiddleware,...Ms()]),[m,_.scrollToEndButtonMiddleware]),G=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([..._botframeworkwebchatapi.extractSendBoxMiddleware.call(void 0, u),..._botframeworkwebchatapi.extractSendBoxMiddleware.call(void 0, _.sendBoxMiddleware),...xb()]),[u,_.sendBoxMiddleware]),q=_chunkUQHIWKDVjs.M.call(void 0, ()=>Object.freeze([..._botframeworkwebchatapi.extractSendBoxToolbarMiddleware.call(void 0, f),..._botframeworkwebchatapi.extractSendBoxToolbarMiddleware.call(void 0, _.sendBoxToolbarMiddleware),...Ib()]),[f,_.sendBoxToolbarMiddleware]),Y=_react.useMemo.call(void 0, ()=>_internaljs.StoreDebugAPIRegistry.get(g.store),[g.store]);return _react2.default.createElement(_botframeworkwebchatapi.Composer,{activityMiddleware:S,activityStatusMiddleware:N,attachmentForScreenReaderMiddleware:B,attachmentMiddleware:L,avatarMiddleware:z,cardActionMiddleware:W,downscaleImageToDataURL:_chunkUQHIWKDVjs.r,nonce:k,polymiddleware:T,scrollToEndButtonMiddleware:j,sendBoxMiddleware:G,sendBoxToolbarMiddleware:q,styleOptions:b,toastMiddleware:R,typingIndicatorMiddleware:O,...g},_react2.default.createElement(zb,{nonce:k}),_react2.default.createElement(_chunkENHWW2TZjs.b,{nonce:k},_react2.default.createElement(pb,{middleware:l},_react2.default.createElement(Ab,null,_react2.default.createElement(wm,null,_react2.default.createElement(_decoratorjs.DecoratorComposer,{middleware:s},_react2.default.createElement(Mr,{extraStyleSet:c,nonce:k,renderMarkdown:p,storeDebugAPI:Y,styleSet:y,suggestedActionsAccessKey:v,webSpeechPonyfillFactory:w},a,I&&_react2.default.createElement(Am,null))))))))};Zc.defaultProps={..._botframeworkwebchatapi.Composer.defaultProps,...Mr.defaultProps,children:void 0};Zc.propTypes={..._botframeworkwebchatapi.Composer.propTypes,...Mr.propTypes,children:_proptypes2.default.any};var Ro=Zc;var{useLocalizer:eP}=_botframeworkwebchatapi.hooks,oP=()=>{let t=eP();return _react2.default.createElement(_chunkJG75MOPDjs.d,{text:t("CONNECTIVITY_STATUS_ALT",t("CONNECTIVITY_STATUS_ALT_CONNECTED"))})},Vb=oP;function nP(){let[,t]=_react.useState.call(void 0, );return _react.useCallback.call(void 0, ()=>t({}),[t])}var Ub=nP;var{useDirection:lP}=_botframeworkwebchatapi.hooks,dP=()=>{let[{spinnerAnimation:t}]=_chunkUQHIWKDVjs.c.call(void 0, ),[e]=lP();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, t+"",e==="rtl"&&"webchat__spinner--rtl")})},Jb=dP;var{useDirection:mP}=_botframeworkwebchatapi.hooks,Qb=16,Xc=({className:t,size:e})=>{let[o]=mP();return _react2.default.createElement("svg",{alt:"",className:_classnames2.default.call(void 0, t+"",o==="rtl"&&"webchat_warning--rtl"),height:Qb*e,viewBox:"0 0 13.1 13.1",width:Qb*e},_react2.default.createElement("path",{d:"M13.1,13.1H0L6.6,0L13.1,13.1z M7,10.5H6.1v0.9H7V10.5z M7,9.7V5.2H6.1v4.4L7,9.7z",fillRule:"evenodd"}))};Xc.defaultProps={className:"",size:1};Xc.propTypes={className:_proptypes2.default.string,size:_proptypes2.default.number};var $b=Xc;var{useDirection:AP,useLocalizer:xP,usePonyfill:SP,useStyleOptions:CP}=_botframeworkwebchatapi.hooks,TP=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {reconnect:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function kP(t){let{reconnect:e=!1}=_chunkTMUNLKZWjs.h.call(void 0, TP,t),[{Date:o}]=SP(),[{slowConnectionAfter:r}]=CP(),[{connectivityNotification:i,warningNotification:n}]=_chunkUQHIWKDVjs.c.call(void 0, ),[a]=AP(),[s]=_react.useState.call(void 0, ()=>o.now()),c=Ub(),l=xP(),d=l("CONNECTIVITY_STATUS_ALT_CONNECTING"),p=l("CONNECTIVITY_STATUS_ALT_RECONNECTING"),m=l("CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION");return xr(s+r,c),o.now()>=s+r?_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:l("CONNECTIVITY_STATUS_ALT",m)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",n+""),dir:a},_react2.default.createElement($b,null),m)):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:l("CONNECTIVITY_STATUS_ALT",e?p:d)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",i+""),dir:a},_react2.default.createElement(Jb,null),e?p:d))}var Qc=_react.memo.call(void 0, kP);var{useDirection:NP}=_botframeworkwebchatapi.hooks,i_=16,$c=({className:t,size:e})=>{let[o]=NP();return _react2.default.createElement("svg",{alt:"",className:_classnames2.default.call(void 0, t+"",o==="rtl"&&"webchat__error--rtl"),height:i_*e,viewBox:"0 0 13.1 13.1",width:i_*e},_react2.default.createElement("path",{d:"M6.5,13C2.9,13,0,10.1,0,6.5S2.9,0,6.5,0S13,2.9,13,6.5S10.1,13,6.5,13z M6.1,3.5v4.3h0.9V3.5H6.1z M6.1,8.7v0.9h0.9V8.7H6.1z",fillRule:"evenodd"}))};$c.defaultProps={className:"",size:1};$c.propTypes={className:_proptypes2.default.string,size:_proptypes2.default.number};var En=$c;var{useDirection:EP,useLocalizer:LP}=_botframeworkwebchatapi.hooks,BP=()=>{let[{errorNotification:t}]=_chunkUQHIWKDVjs.c.call(void 0, ),[e]=EP(),o=LP(),r=o("CONNECTIVITY_STATUS_ALT_FATAL");return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:o("CONNECTIVITY_STATUS_ALT",r)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",t+""),dir:e},_react2.default.createElement(En,null),r))},n_=BP;var{useDirection:FP,useLocalizer:DP}=_botframeworkwebchatapi.hooks,qP=()=>{let[{errorNotification:t}]=_chunkUQHIWKDVjs.c.call(void 0, ),[e]=FP(),o=DP(),r=o("CONNECTIVITY_STATUS_ALT_RENDER_ERROR");return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:o("CONNECTIVITY_STATUS_ALT",r)}),_react2.default.createElement("div",{"aria-hidden":!0,className:_classnames2.default.call(void 0, "webchat__connectivityStatus",t+""),dir:e},_react2.default.createElement(En,null),r))},a_=qP;var{useDebouncedNotifications:WP}=_botframeworkwebchatapi.hooks,KP=({className:t})=>{let[{connectivitystatus:e}]=WP();if(!e)return null;switch(e.message){case"connecting":return _react2.default.createElement(Qc,{className:t});case"javascripterror":return _react2.default.createElement(a_,{className:t});case"failedtoconnect":return _react2.default.createElement(n_,{className:t});case"reconnecting":return _react2.default.createElement(Qc,{className:t,reconnect:!0});default:return _react2.default.createElement(Vb,{className:t})}},Ln= exports.x =KP;var tl=({className:t})=>_react2.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"9",role:"presentation",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M15.2734 8.97656L8 1.71094L0.726563 8.97656L0.0234375 8.27344L8 0.289062L15.9766 8.27344L15.2734 8.97656Z"}));tl.defaultProps={className:void 0};tl.propTypes={className:_proptypes2.default.string};var c_=tl;var el=({className:t})=>_react2.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"10",role:"presentation",viewBox:"0 0 16 10",width:"16",xmlns:"http://www.w3.org/2000/svg"},_react2.default.createElement("path",{d:"M15.1484 0.648437L15.8516 1.35156L8 9.20312L0.148438 1.35156L0.851563 0.648438L8 7.79687L15.1484 0.648437Z"}));el.defaultProps={className:void 0};el.propTypes={className:_proptypes2.default.string};var d_=el;var{useDebouncedNotifications:tE,useLocalizer:eE,useRenderToast:oE}=_botframeworkwebchatapi.hooks,rE={display:"flex",flexDirection:"column","& .webchat__toaster__header":{display:"flex",flexShrink:0},"& .webchat__toaster__expandText":{flex:1},"& .webchat__toaster__list":{display:"block",listStyleType:"none"}},u_={error:1,warn:2,info:3,success:4},iE=Object.keys(u_);function p_(t){return iE.includes(t)?u_[t]:5}function nE(t,e){return p_(t)-p_(e)}function aE(t){return Object.values(t).sort(({timestamp:e},{timestamp:o})=>o-e)}var sE=t=>t,cE={two:"TOAST_ACCORDION_TWO",few:"TOAST_ACCORDION_FEW",many:"TOAST_ACCORDION_MANY",other:"TOAST_ACCORDION_OTHER"},m_=({className:t})=>{let e=_react.useMemo.call(void 0, ()=>Sr(),[]),[{toaster:o}]=_chunkUQHIWKDVjs.c.call(void 0, ),[r]=tE(),[i,n]=_react.useState.call(void 0, !1),a=eE({plural:!0}),s=oE(),c=_chunkENHWW2TZjs.a.call(void 0, )(rE)+"",l=_react.useCallback.call(void 0, ()=>n(!i),[i,n]),d=_react.useMemo.call(void 0, ()=>aE(r),[r]),p=_react.useMemo.call(void 0, ()=>d.map(v=>{let h=s({notification:v});return h&&{children:h,notification:v}}).filter(sE),[s,d]),m=p.length>1,[u]=p.map(({notification:{level:v}})=>v).sort(nE),f=_react.useMemo.call(void 0, ()=>!m||i?`webchat__toaster__list__${e}`:void 0,[m,i,e]),b=_react.useMemo.call(void 0, ()=>m?`webchat__toaster__header__${e}`:void 0,[m,e]);_react.useEffect.call(void 0, ()=>{!m&&n(!1)},[m]);let y=_react.useRef.call(void 0, new Set);return _chunkENHWW2TZjs.l.call(void 0, ()=>{var h;let v=[];for(let x of d.slice().reverse())y.current.has(x.id)||(y.current.add(x.id),v.push(x.alt?_react2.default.createElement("div",{"aria-atomic":!0,className:"webchat__toaster__notifications",key:x.id},x.alt):_react2.default.createElement("div",{"aria-atomic":!0,className:"webchat__toaster__notifications",dangerouslySetInnerHTML:{__html:Cn((h=x.message)!=null?h:"")},key:x.id})));return v.length>0&&_react2.default.createElement(_react.Fragment,null,v)},[d]),_react2.default.createElement("div",{"aria-labelledby":b,"aria-relevant":"all",className:_classnames2.default.call(void 0, "webchat__toaster",{"webchat__toaster--expandable":m,"webchat__toaster--expanded":i,"webchat__toaster--error":u==="error","webchat__toaster--info":u==="info","webchat__toaster--success":u==="success","webchat__toaster--warn":u==="warn"},c,o+"",t),role:"log"},m&&_react2.default.createElement("button",{"aria-controls":f,"aria-expanded":i,className:"webchat__toaster__header",id:b,onClick:l,type:"button"},_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__toaster__expandLevelIconBox"},_react2.default.createElement(Sn,{className:"webchat__toaster__expandLevelIcon",level:u})),_react2.default.createElement("div",{className:"webchat__toaster__expandText"},a(cE,p.length)),_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__toaster__expandIcon"},_react2.default.createElement("div",{className:"webchat__toaster__expandIconFocus"},i?_react2.default.createElement(c_,null):_react2.default.createElement(d_,null)))),(!m||i)&&_react2.default.createElement("div",{"aria-labelledby":b,className:"webchat__toaster__list",id:f},p.map(({children:v,notification:{id:h}})=>_react2.default.createElement("div",{className:"webchat__toaster__listItem",key:h},v))))};m_.displayName="BasicToaster";var Bn=_react.memo.call(void 0, m_);var _reactscrolltobottom = require('react-scroll-to-bottom');var _E=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function yE(t){let{children:e,className:o}=_chunkTMUNLKZWjs.h.call(void 0, _E,t),[{chatHistoryBox:r}]=_chunkUQHIWKDVjs.c.call(void 0, );return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__chat-history-box",o,r)},e)}var b_=_react.memo.call(void 0, yE);var{useDirection:TE}=_botframeworkwebchatapi.hooks,kE=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, ));function IE(t){let{children:e}=_chunkTMUNLKZWjs.h.call(void 0, kE,t),[o]=TE();return _react2.default.createElement("div",{className:_classnames2.default.call(void 0, "webchat__chat-history-box__toolbar",o==="rtl"?"webchat__chat-history-box__toolbar--rtl":"")},e)}var __=_react.memo.call(void 0, IE);function jr(){return Ao().renderingActivityKeysState}var{useActivityKeysByRead:FE,useCreateScrollToEndButtonRenderer:DE,useMarkActivityKeyAsRead:qE,useStyleOptions:zE}=_botframeworkwebchatapi.hooks,WE=t=>{let[e]=jr(),[o]=_reactscrolltobottom.useSticky.call(void 0, ),[r]=_reactscrolltobottom.useAnimatingToEnd.call(void 0, ),[i]=_reactscrolltobottom.useAtEnd.call(void 0, ),[,n]=FE(),[a]=zE(),s=Xe(),c=qE(),l=_reactscrolltobottom.useScrollToEnd.call(void 0, ),d=_usereffrom.useRefFrom.call(void 0, e),p=_react.useMemo.call(void 0, ()=>o&&n.length?(c(n[n.length-1]),[]):n,[c,o,n]),m=_usereffrom.useRefFrom.call(void 0, p),u=_react.useMemo.call(void 0, ()=>p.some(y=>e.includes(y)),[e,p]),f=_react.useCallback.call(void 0, ()=>{var h;l({behavior:"smooth"});let{current:y}=d,v=m.current.find(x=>y.includes(x));v?s(v):(h=t.current)==null||h.focus()},[s,m,d,l,t]),b=DE()({atEnd:r||i||o,styleOptions:a,unread:u});return b&&b({onClick:f})};function KE({terminatorRef:t}){let e=WE(t);return _react2.default.createElement(_react.Fragment,null,e)}var v_=_react.memo.call(void 0, KE);var{contextComponentType:GE,useContext:jn}=_chunkJG75MOPDjs.e.call(void 0, "GroupedRenderingActivitiesContext"),w_=GE;function ol(){return jn().groupedRenderingActivitiesState}var rl=_react.memo.call(void 0, ({group:t})=>_react2.default.createElement(_decoratorjs.ActivityGroupingDecorator,{activities:t.activities,groupingName:t.groupingName},t.children.map(e=>_react2.default.createElement(rl,{group:e,key:e.key}))));rl.displayName="ActivityTreeGroup";var A_=()=>{let[t]=ol();return _react2.default.createElement(_react.Fragment,null,t.map(e=>_react2.default.createElement(rl,{group:e,key:e.key})))};A_.displayName="ActivityTree";var x_=_react.memo.call(void 0, A_);var{useCreateAttachmentForScreenReaderRenderer:JE,useLocalizer:ZE}=_botframeworkwebchatapi.hooks,XE={few:"ACTIVITY_NUM_ATTACHMENTS_FEW_ALT",many:"ACTIVITY_NUM_ATTACHMENTS_MANY_ALT",one:"ACTIVITY_NUM_ATTACHMENTS_ONE_ALT",other:"ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT",two:"ACTIVITY_NUM_ATTACHMENTS_TWO_ALT"},QE=({activity:t})=>{let{attachments:e=[]}=t,o=JE(),r=ZE({plural:!0}),i=e.map(s=>o({activity:t,attachment:s})).filter(Boolean),n=e.length-i.length,a=!!n&&r(XE,n);return _react2.default.createElement(_react.Fragment,null,i.map((s,c)=>_react2.default.createElement("div",{key:c},typeof s=="function"&&s())),a&&_react2.default.createElement("p",null,a))},S_=QE;var oL=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {suggestedActions:_valibot.pipe.call(void 0, _valibot.object.call(void 0, {actions:_valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.any.call(void 0, )),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ))}),_valibot.readonly.call(void 0, ));function rL(t){var o;let{suggestedActions:e}=_chunkTMUNLKZWjs.h.call(void 0, oL,t);return((o=e.actions)==null?void 0:o.length)&&_react2.default.createElement("p",{className:"webchat__live-region-activity__suggested-actions"},e.actions.map((r,i)=>_react2.default.createElement("button",{className:"webchat__live-region-activity__suggested-action",key:i,tabIndex:-1,type:"button"},_chunkUQHIWKDVjs.V.call(void 0, r))))}var k_=_react.memo.call(void 0, rL);var{useAvatarForBot:pL,useLocalizer:uL}=_botframeworkwebchatapi.hooks,mL={"&.webchat__live-region-activity":{color:"transparent",height:1,opacity:0,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}},fL=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {activity:_valibot.any.call(void 0, )}),_valibot.readonly.call(void 0, ));function bL(t){let{activity:e}=_chunkTMUNLKZWjs.h.call(void 0, fL,t),[{initials:o}]=pL(),{from:{role:r},type:i}=e,n=i==="message"?e.channelData["webchat:fallback-text"]:void 0,a=uL(),s=_chunkUQHIWKDVjs.i.call(void 0, "accessible name"),c=_chunkENHWW2TZjs.a.call(void 0, )(mL)+"",l=_react.useMemo.call(void 0, ()=>fr(e,s),[e,s]),d=(r==="user"?a("ACTIVITY_YOU_SAID_ALT"):a("ACTIVITY_BOT_SAID_ALT",o||"")).replace(/\s{2,}/gu," "),p=n&&typeof n=="string";return _react2.default.createElement("article",{"aria-atomic":!0,className:_classnames2.default.call(void 0, "webchat__live-region-activity",c)},_react2.default.createElement("div",null,d),p?_react2.default.createElement("div",null,n):_react2.default.createElement(_react.Fragment,null,_react2.default.createElement("div",null,l),i==="message"&&_react2.default.createElement(_react.Fragment,null,!!e.suggestedActions&&_react2.default.createElement(k_,{suggestedActions:e.suggestedActions}),_react2.default.createElement(S_,{activity:e}))))}var O_=bL;function oo(t){let e=_react.useRef.call(void 0, );return _react.useEffect.call(void 0, ()=>{e.current=t}),e.current}function Rr(t){var r,i,n,a;if(t.type!=="message")return!0;let{channelData:e}=t,o=e==null?void 0:e["webchat:fallback-text"];return typeof o=="string"?!o:!((r=e==null?void 0:e.messageBack)!=null&&r.displayText||t.text||(i=t.attachments)!=null&&i.length||(a=(n=t.suggestedActions)==null?void 0:n.actions)!=null&&a.length)}var{useGetActivityByKey:wL,useLocalizer:gL,useSendStatusByActivityKey:AL}=_botframeworkwebchatapi.hooks,M_=()=>{let[t]=AL(),e=wL(),o=gL(),r=_react.useMemo.call(void 0, ()=>Array.from(t).reduce((s,[c,l])=>l===me&&!Rr(e(c))?s.add(c):s,new Set),[e,t]),i=o("TRANSCRIPT_LIVE_REGION_SEND_FAILED_ALT"),n=oo(r),a=_react.useMemo.call(void 0, ()=>{if(r===n)return!1;for(let s of r.keys())if(!n.has(s))return!0;return!1},[r,n]);return _chunkENHWW2TZjs.l.call(void 0, ()=>a&&i,[a,i]),null};M_.displayName="LiveRegionSendFailed";var P_=_react.memo.call(void 0, M_);var{useActiveTyping:TL}=_botframeworkwebchatapi.hooks;function kL(t,e){return t.length===e.length&&t.every((o,r)=>e[+r]===o)}function sl(){let[t]=TL(),e=_react.useRef.call(void 0, Object.freeze([Object.freeze([])])),r=Object.values(t).filter(({role:s})=>s!=="user").sort(({at:s},{at:c})=>s-c),i=Object.freeze([Object.freeze(r.map(({name:s})=>s))]),{current:n}=e,a=kL(i[0],n[0])?n:i;return _react.useEffect.call(void 0, ()=>{e.current=a},[e,a]),a}var{useActivities:PL,useGetKeyByActivity:EL,useLocalizer:LL}=_botframeworkwebchatapi.hooks,L_=({activityElementMapRef:t})=>{let[e]=_chunkUQHIWKDVjs.Y.call(void 0, ),[o]=PL(),[r]=sl(),i=EL(),n=LL(),a=_chunkUQHIWKDVjs.X.call(void 0, "accessible name"),s=_chunkENHWW2TZjs.k.call(void 0, ),c=n("TRANSCRIPT_LIVE_REGION_INTERACTIVE_LABEL_ALT"),l=n("TRANSCRIPT_LIVE_REGION_INTERACTIVE_WITH_LINKS_LABEL_ALT"),d=!!r.length&&n(r.length>1?"TYPING_INDICATOR_MULTIPLE_TEXT":"TYPING_INDICATOR_SINGLE_TEXT",r[0]),p=e?n("TRANSCRIPT_LIVE_REGION_SUGGESTED_ACTIONS_WITH_ACCESS_KEY_LABEL_ALT",a(e)):n("TRANSCRIPT_LIVE_REGION_SUGGESTED_ACTIONS_LABEL_ALT"),m=_react.useMemo.call(void 0, ()=>Object.freeze(o.reduce((f,b)=>b.type==="message"?f.set(i(b),b):f,new Map)),[o,i]),u=_react.useRef.call(void 0, );return _react.useEffect.call(void 0, ()=>{let{current:f}=u,b=[];for(let[x,w]of Array.from(m.entries()).reverse()){if(f!=null&&f.has(x))break;b.unshift({activity:w,key:x}),Rr(w)||s(_react2.default.createElement(O_,{activity:w}))}let y=b.some(({key:x})=>{var w;return(w=t.current.get(x))==null?void 0:w.querySelector("a")}),v=b.some(({key:x})=>{var w;return!!_chunkJG75MOPDjs.t.call(void 0, (w=t.current.get(x))==null?void 0:w.querySelector(".webchat__basic-transcript__activity-body")).length}),h=b.some(({activity:x})=>{var w,g;return x.type==="message"&&((g=(w=x.suggestedActions)==null?void 0:w.actions)==null?void 0:g.length)});(y||v)&&s(_react2.default.createElement("div",{className:"webchat__live-region-transcript__note",role:"note"},y?l:c)),h&&s(_react2.default.createElement("div",{className:"webchat__live-region-transcript__note",role:"note"},p)),u.current=m},[t,c,l,p,u,s,m]),_react.useMemo.call(void 0, ()=>d&&s(d),[s,d]),_react2.default.createElement(P_,null)};L_.displayName="LiveRegionTranscript";var B_=_react.memo.call(void 0, L_);function qL(t,e){return _valibot.pipe.call(void 0, _valibot.any.call(void 0, ),_valibot.check.call(void 0, o=>_valibot.is.call(void 0, _valibot.object.call(void 0, {current:t},e),o)))}var j_=qL;var QL=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),onFocus:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))),redirectRef:_valibot.optional.call(void 0, j_(_valibot.nullable.call(void 0, _valibot.instance.call(void 0, HTMLElement))))}),_valibot.readonly.call(void 0, ));function $L(t){let{className:e,onFocus:o,redirectRef:r}=_chunkTMUNLKZWjs.h.call(void 0, QL,t),i=_react.useCallback.call(void 0, ()=>{var n;(n=r==null?void 0:r.current)==null||n.focus(),o&&o()},[o,r]);return _react2.default.createElement("div",{className:e,onFocus:i,tabIndex:0})}var ll=$L;var R_={Add:"+",Decimal:".",Divide:"/",Multiply:"*",Subtract:"-"},t4=Object.keys(R_);function dl(t){return t.length===1?t:t4.includes(t)?R_[t]:void 0}function pl(){return _chunkUQHIWKDVjs.b.call(void 0, ).dispatchScrollPosition}function ul(){return _chunkUQHIWKDVjs.b.call(void 0, ).dispatchTranscriptFocusByActivityKey}function ro(t,...e){e.forEach(o=>{let r;for(;~(r=t.indexOf(o));)t.splice(r,1)})}function ml(t){let{focusTranscriptCallbacksRef:e}=_chunkUQHIWKDVjs.b.call(void 0, );_react.useEffect.call(void 0, ()=>{if(t){let{current:o}=e;return o.push(t),()=>ro(o,t)}},[t,e])}function fl(t){let{scrollToCallbacksRef:e}=_chunkUQHIWKDVjs.b.call(void 0, );_react.useEffect.call(void 0, ()=>{if(t){let{current:o}=e;return o.push(t),()=>ro(o,t)}},[t,e])}function bl(t){let{scrollToEndCallbacksRef:e}=_chunkUQHIWKDVjs.b.call(void 0, );_react.useEffect.call(void 0, ()=>{let{current:o}=e;return o.push(t),()=>ro(o,t)},[t,e])}var F_=({children:t})=>{let e=_react.useRef.call(void 0, new Map),o=_react.useMemo.call(void 0, ()=>({activityElementRef:e}),[e]);return _react2.default.createElement(_chunkJG75MOPDjs.o.Provider,{value:o},t)};F_.displayName="ChatHistoryDOMComposer";var D_=_react.memo.call(void 0, F_);function _l(){return Ao().renderingActivitiesState}var{useGetKeyByActivity:_4,useGroupActivitiesByName:y4,useStyleOptions:h4}=_botframeworkwebchatapi.hooks,v4=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, ))}),_valibot.readonly.call(void 0, )),q_=t=>{let{children:e}=_valibot.parse.call(void 0, v4,t),[{groupActivitiesBy:o}]=h4(),[r]=_l(),i=_4(),n=y4(),a=_react.useMemo.call(void 0, ()=>Object.freeze([r.length]),[r]),s=_react.useMemo.call(void 0, ()=>{let l=(d,p)=>{let[m,...u]=p;return Object.freeze(typeof m=="undefined"?[Object.freeze({activities:d,children:Object.freeze([]),key:i(d[0]),groupingName:void 0})]:n(d,m).map(f=>Object.freeze({activities:f,children:l(f,u),groupingName:m,key:i(f[0])})))};return Object.freeze([l(r,o)])},[r,i,o,n]),c=_react.useMemo.call(void 0, ()=>Object.freeze({groupedRenderingActivitiesState:s,numRenderingActivitiesState:a}),[s,a]);return _react2.default.createElement(w_.Provider,{value:c},e)};q_.displayName="GroupedRenderingActivitiesComposer";var z_=_react.memo.call(void 0, q_);function hl(){return jn().numRenderingActivitiesState}var _usereducememo = require('use-reduce-memo');var{useActivities:T4,useActivityKeys:k4,useGetActivitiesByKey:I4,useGetKeyByActivity:O4}=_botframeworkwebchatapi.hooks,W_=({children:t})=>{let[e]=T4(),o=k4(),r=I4(),i=O4(),n=_react.useMemo.call(void 0, ()=>{let m=[];if(!o)return e;for(let u of e){let f=r(i(u));(f==null?void 0:f[0])===u&&m.push(f[f.length-1])}return Object.freeze(m)},[o,r,i,e]),a=_middlewarejs.useBuildRenderActivityCallback.call(void 0, ),s=_usereducememo.useReduceMemo.call(void 0, n,_react.useCallback.call(void 0, (m,u)=>{let f=a({activity:u});return f?Object.freeze(new Map(m).set(u,f)):m},[a]),new Map),c=_react.useMemo.call(void 0, ()=>Object.freeze([Object.freeze(s)]),[s]),l=_react.useMemo.call(void 0, ()=>Object.freeze([Object.freeze(Array.from(c[0].keys()))]),[c]),d=_react.useMemo.call(void 0, ()=>{let m=Object.freeze(l[0].map(u=>i(u)));if(m.some(u=>!u))throw new Error("botframework-webchat internal: activityRendererMap[].activity must have activity key");return Object.freeze([m])},[i,l]),p=_react.useMemo.call(void 0, ()=>({activityRendererMapState:c,renderingActivitiesState:l,renderingActivityKeysState:d}),[c,l,d]);return _react2.default.createElement(Zu.Provider,{value:p},t)};W_.displayName="RenderingActivitiesComposer";var K_=_react.memo.call(void 0, W_);function Dn(t){let[e,o]=_react.useState.call(void 0, ),r=_react.useRef.call(void 0, t),i=_react.useCallback.call(void 0, n=>{let{current:a}=r;n=n instanceof Function?n(a):n,a!==n&&(r.current=n,o({}))},[o,r]);return Object.freeze([r.current,i,r])}var _computescrollintoview = require('compute-scroll-into-view'); var _computescrollintoview2 = _interopRequireDefault(_computescrollintoview);function vl(t){if("scrollBehavior"in document.documentElement.style)return t.scrollIntoView({block:"nearest"});let[e]=_computescrollintoview2.default.call(void 0, t,{block:"nearest"});e.el.scrollTop=e.top}function wl(){return _chunkJG75MOPDjs.f.call(void 0, ).getGroupBoundaries}function R4(t=1/0){return _mathrandom2.default.call(void 0, ).toString(36).substring(2,2+t)}var gl=({children:t,containerRef:e})=>{var K;let[o,r,i]=Dn(),[n]=jr(),[,a,s]=Dn(),c=wl(),l=_chunkJG75MOPDjs.h.call(void 0, ),d=_chunkJG75MOPDjs.i.call(void 0, ),p=_react.useMemo.call(void 0, ()=>R4(3),[]),m=_react.useCallback.call(void 0, T=>T&&`webchat__transcript-focus-${p}__activity-${T}`,[p]),u=_react.useCallback.call(void 0, T=>T&&`webchat__transcript-focus-${p}__group-${T}`,[p]),f=_react.useCallback.call(void 0, T=>T&&u(l(T)),[u,l]),b=_chunkUQHIWKDVjs.O.call(void 0, n),y=oo(n);n!==y&&!((K=e.current)!=null&&K.contains(document.activeElement))&&(s.current=void 0);let{current:v}=s,h=_react.useMemo.call(void 0, ()=>n.includes(v)?v:n.at(-1),[n,v]),x=_chunkUQHIWKDVjs.O.call(void 0, h),w=_react.useMemo.call(void 0, ()=>m(h),[m,h]),g=_react.useMemo.call(void 0, ()=>u(o),[u,o]),k=_react.useCallback.call(void 0, T=>{var O;(O=e.current)==null||O.focus();let R=T&&document.getElementById(T);R&&!R.contains(document.activeElement)&&vl(R)},[e]),I=_react.useCallback.call(void 0, (T,R=!0)=>{if(!T){r(void 0);return}r(T);let O=u(T);R&&O&&k(O)},[u,k,r]),_=_react.useCallback.call(void 0, (T,R=!0)=>{T===!1?a(void 0):T===!0?a(q=>q||x.current):T?(a(T),I(void 0,!1)):T===void 0&&(R=!0);let O=typeof T=="string"&&l(T),j=O&&d(O);if(j!=null&&j.isCollapsed)return;let G=m(T===!1?b.current.at(-1):T&&T!==!0?T:s.current);R&&k(G)},[I,x,m,l,d,k,s,b,a]),S=_react.useCallback.call(void 0, (T,R)=>{let{current:O}=b,j=O.indexOf(T);if(j===-1)return;let q=j+(R==="up"?-1:1);if(q>=0&&q<O.length)return O[+q]},[b]),N=_react.useCallback.call(void 0, T=>{let{current:R}=i,{current:O}=b,j=d(R),[G,q]=c(R);if(T==="down")if(!(j!=null&&j.isCollapsed))G&&_(G,!0);else{let Y=O.indexOf(q);if(Y!==-1&&Y+1<O.length){let M=O[Y+1],U=l(M);U?I(U):_(M,!0)}}else if(T==="up"){let Y=O.indexOf(G);if(Y!==-1){let M=O[Y-1],U=l(M),V=U&&U!==R?d(U):void 0;V!=null&&V.isCollapsed?(_(M,!1),I(U)):_(M,!0)}}},[_,I,c,l,d,i,b]),B=_react.useCallback.call(void 0, (T,R,O)=>{let j=l(T),G=l(R);if(!G||G===j){_(R,!0);return}let[q,Y]=c(G),M=d(G);O==="down"&&q===R?(_(T,!1),I(G)):O==="up"&&Y===R&&(M!=null&&M.isCollapsed)?I(G):_(R,!0)},[_,I,c,l,d]),L=_react.useCallback.call(void 0, T=>{let{current:R}=b,{current:O}=x;if(Math.abs(T)===1/0||Math.abs(T)>=R.length){let j=T<0?R.at(0):R.at(-1);j&&_(j,!0);return}if(Math.abs(T)>1){let j=R.indexOf(O||"");if(j!==-1){let G=Math.max(0,Math.min(R.length-1,j+T)),q=R.at(G);q&&_(q,!0)}}},[_,x,b]),z=_react.useCallback.call(void 0, T=>{let{current:R}=b,{current:O}=i;if(isNaN(T)||!R.length)return _(!1,!0);let{current:j}=x,G=!!g;if(T===0){G?I(O,!0):_(j,!0);return}if(Math.abs(T)>1)return L(T);let q=T<0?"up":"down";if(G&&O)return N(q);let Y=l(j),[M,U]=c(Y),V=Y?d(Y):void 0;if(Y){if(q==="up"){if(M===j&&!(V!=null&&V.isCollapsed)||V!=null&&V.isCollapsed){_(j,!1),I(Y);return}}else if(q==="down"&&V!=null&&V.isCollapsed){let pt=S(U,q);return B(U,pt,q)}}let et=S(j,q);if(et)return B(j,et,q)},[g,_,I,x,c,l,d,S,L,B,N,i,b]),W=_react.useMemo.call(void 0, ()=>({activeDescendantIdState:Object.freeze([w]),activeGroupDescendantIdState:Object.freeze([g]),focusByActivityKey:_,focusByGroupKey:I,focusedActivityKeyState:Object.freeze([h]),focusedExplicitlyState:Object.freeze([!!v]),focusedGroupKeyState:Object.freeze([o]),focusRelativeActivity:z,getDescendantIdByActivityKey:m,getGroupDescendantIdByActivityKey:f}),[w,g,_,I,h,z,m,f,o,v]);return _react2.default.createElement(_chunkJG75MOPDjs.q.Provider,{value:W},t)};gl.displayName="TranscriptFocusComposer";gl.propTypes={containerRef:_proptypes2.default.shape({current:_proptypes2.default.instanceOf(HTMLElement)}).isRequired};var H_=_react.memo.call(void 0, gl);function Al(){return _chunkJG75MOPDjs.r.call(void 0, ).focusRelativeActivity}function xl(){return _chunkJG75MOPDjs.r.call(void 0, ).focusedExplicitlyState}function Sl(){let t=_chunkJG75MOPDjs.r.call(void 0, );return t.focusedGroupKeyState[0]?t.focusedGroupKeyState:t.focusedActivityKeyState}var{useActivityKeys:U4,useDirection:J4,useGetActivityByKey:Z4,useGetKeyByActivityId:X4,useLastAcknowledgedActivityKey:Q4,useLocalizer:U_,useMarkActivityKeyAsRead:$4,useMarkAllAsAcknowledged:t5,useStyleOptions:J_}=_botframeworkwebchatapi.hooks,e5={"&.webchat__basic-transcript":{display:"flex",flexDirection:"column",overflow:"hidden",position:"relative","& .webchat__basic-transcript__filler":{flex:1},"& .webchat__basic-transcript__scrollable":{display:"flex",flexDirection:"column",overflowX:"hidden",WebkitOverflowScrolling:"touch"},"& .webchat__basic-transcript__transcript":{listStyleType:"none"},"& .webchat__basic-transcript__activity-focus-target":{pointerEvents:"none"}}},Z_=_react.memo.call(void 0, _react.forwardRef.call(void 0, ({className:t,terminatorRef:e},o)=>{let[r]=_chunkJG75MOPDjs.s.call(void 0, ),[i]=J4(),[n]=Sl(),[a]=xl(),s=_chunkJG75MOPDjs.p.call(void 0, ),c=_chunkUQHIWKDVjs.p.call(void 0, ),l=Xe(),d=Al(),p=Z4(),m=X4(),u=U_(),f=_chunkENHWW2TZjs.a.call(void 0, )(e5)+"",b=_react.useRef.call(void 0, null),y=_chunkUQHIWKDVjs.O.call(void 0, n),v=u("TRANSCRIPT_ARIA_LABEL_ALT"),h=_react.useCallback.call(void 0, O=>{typeof o=="function"?o(O):o.current=O,b.current=O},[o,b]),[x]=hl(),w=_reactscrolltobottom.useScrollTo.call(void 0, ),g=_reactscrolltobottom.useScrollToEnd.call(void 0, ),k=_react.useCallback.call(void 0, (O,{behavior:j="auto"}={})=>{var Y;if(!O)throw new Error('botframework-webchat: First argument passed to "useScrollTo" must be a ScrollPosition object.');let{activityID:G,scrollTop:q}=O;if(typeof q!="undefined")w(q,{behavior:j});else if(typeof G!="undefined"){let M=(Y=s.current.get(m(G)))==null?void 0:Y.querySelector(".webchat__basic-transcript__activity-active-descendant"),U=b.current.querySelector(".webchat__basic-transcript__scrollable");if(U&&M){let V=M.getClientRects()[0],et=U.getClientRects()[0];if(V&&et){let{height:pt,y:ft}=V,{height:gt}=et,ut=ft+U.scrollTop,rt=Math.min(ut,ut-gt+pt);w(rt,{behavior:j})}}}},[s,m,b,w]),I=_react.useCallback.call(void 0, ()=>g({behavior:"smooth"}),[g]),_=_react.useCallback.call(void 0, ({direction:O,displacement:j})=>{let{current:G}=b;if(!G)return;let q=G.querySelector(".webchat__basic-transcript__scrollable"),Y;typeof j=="number"?Y=q.scrollTop+(O==="down"?1:-1)*j:Y=q.scrollTop+(O==="down"?1:-1)*q.offsetHeight,k({scrollTop:Math.max(0,Math.min(q.scrollHeight-q.offsetHeight,Y))},{behavior:"smooth"})},[b,k]);fl(k),bl(I),_chunkUQHIWKDVjs.w.call(void 0, _);let S=$4(),N=pl(),B=_react.useCallback.call(void 0, ({scrollTop:O})=>{var V;let{current:j}=b;if(!j)return;let G=j.querySelector(".webchat__basic-transcript__scrollable"),q=G.getClientRects()[0];if(!q)return;let{bottom:Y}=q,M=Array.from(s.current.entries()),U=(V=G.scrollTop?M.reverse().find(([,et])=>{let pt=et.getClientRects()[0];return pt&&pt.bottom<Y+1}):M[0])==null?void 0:V[0];if(U&&S(U),N){let et=p(U);N({...et?{activityID:et.id}:{},scrollTop:O})}},[s,N,p,S,b]);_reactscrolltobottom.useObserveScrollPosition.call(void 0, B);let L=_react.useCallback.call(void 0, O=>{var M,U;let{target:j}=O,G=j===e.current,q=j===O.currentTarget;if(!G&&!q)return;let Y=!0;switch(O.key){case"ArrowDown":d(G?0:1);break;case"ArrowUp":d(G?0:-1);break;case"End":d(1/0);break;case"Enter":if(!G){let V=(M=s.current)==null?void 0:M.get(y.current),et=(U=V==null?void 0:V.querySelector(".webchat__basic-transcript__group-focus-target"))!=null?U:V==null?void 0:V.querySelector(".webchat__basic-transcript__activity-focus-target");et==null||et.focus()}break;case"Escape":c("sendBoxWithoutKeyboard");break;case"Home":d(-1/0);break;default:Y=!1;break}Y&&(O.preventDefault(),O.stopPropagation())},[s,c,y,d,e]),z=_react.useCallback.call(void 0, O=>{let{altKey:j,ctrlKey:G,key:q,metaKey:Y,target:M}=O;j||G&&q!=="v"&&q!=="V"||Y||!dl(q)&&q!=="Backspace"||(M===O.currentTarget||M===e.current)&&(O.stopPropagation(),c("sendBox"))},[c,e]);ml(_react.useCallback.call(void 0, ()=>l(void 0),[l]));let W=ul();_react.useMemo.call(void 0, ()=>W(a?n:void 0),[W,n,a]);let K=_react.useCallback.call(void 0, ({currentTarget:O,target:j})=>j===O&&l(!0,!1),[l]),T=_react.useCallback.call(void 0, ()=>l(void 0),[l]);_chunkUQHIWKDVjs.P.call(void 0, b,_react.useCallback.call(void 0, ()=>l(void 0),[l]));let R=!!x;return _react2.default.createElement(_chunkJG75MOPDjs.D,{"aria-activedescendant":_chunkJG75MOPDjs.I?void 0:r,"aria-label":v,className:_classnames2.default.call(void 0, "webchat__basic-transcript",f,(t||"")+""),dir:i,onFocus:K,onKeyDown:L,onKeyDownCapture:z,ref:h,role:"group",tabIndex:0},_react2.default.createElement(B_,{activityElementMapRef:s}),R&&_react2.default.createElement(ll,{redirectRef:e}),_react2.default.createElement(o5,{onFocusFiller:T},R&&_react2.default.createElement(x_,null)),R&&_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(ll,{redirectRef:b}),_react2.default.createElement(_chunkJG75MOPDjs.H,{ref:e,role:"note",tabIndex:0})))}));Z_.displayName="InternalTranscript";var o5=({children:t,onFocusFiller:e})=>{let[{activities:o}]=_chunkUQHIWKDVjs.c.call(void 0, ),[r]=_reactscrolltobottom.useSticky.call(void 0, ),i=U_(),n=t5(),a=oo(r),s=i("TRANSCRIPT_ARIA_ROLE_ALT"),c=a!==r&&r;_react.useMemo.call(void 0, ()=>c&&n(),[n,c]);let l=!!t&&!!_react2.default.Children.count(t);return _react2.default.createElement(_react2.default.Fragment,null,_react2.default.createElement(_reactscrolltobottom.Panel,{className:"webchat__basic-transcript__scrollable"},_react2.default.createElement("div",{"aria-hidden":!0,className:"webchat__basic-transcript__filler",onFocus:e}),l&&_react2.default.createElement(_chunkJG75MOPDjs.B,{"aria-roledescription":s,className:_classnames2.default.call(void 0, o+"","webchat__basic-transcript__transcript"),role:"feed"},t),_react2.default.createElement(_chunkUQHIWKDVjs.F,null)))},r5=t=>{let[e]=U4(),[o]=Q4(),[r]=J_(),i=_chunkUQHIWKDVjs.O.call(void 0, e),n=_chunkUQHIWKDVjs.O.call(void 0, o),a=_chunkUQHIWKDVjs.O.call(void 0, r);return _react.useCallback.call(void 0, ({offsetHeight:s,scrollTop:c})=>{let{current:{autoScrollSnapOnActivity:l,autoScrollSnapOnActivityOffset:d,autoScrollSnapOnPage:p,autoScrollSnapOnPageOffset:m}}=a,u=typeof l=="number"?Math.max(0,l):l?1:0,f=typeof p=="number"?Math.max(0,Math.min(1,p)):p?1:0,b=typeof d=="number"?d:0,y=typeof m=="number"?m:0;if(u||f){let{current:v}=t,{current:h}=i,{current:x}=n,w=[],g=h.indexOf(x);if(~g){let k=Array.from(v.keys()),I=-1;for(let _ of h.slice(0,g+1).reverse()){let S=k.indexOf(_);if(~S){S!==k.length-1&&(I=S+1);break}}if(~I){let _=Array.from(v.values());if(u){let S=_[I+u-1];if(S){let N=S==null?void 0:S.querySelector(".webchat__basic-transcript__activity-active-descendant"),B=S.offsetTop+N.offsetTop;w.push(B+N.offsetHeight-s-c+b)}}if(f){let S=_[+I],N=S.querySelector(".webchat__basic-transcript__activity-active-descendant"),B=S.offsetTop+N.offsetTop;w.push(B-c-s*(1-f)+y)}}}return Math.min(...w)}return 1/0},[t,i,n,a])},i5=({className:t=""})=>{let[{stylesRoot:e}]=J_(),[o]=_chunkUQHIWKDVjs.N.call(void 0, ),r=_chunkJG75MOPDjs.p.call(void 0, ),i=_react.useRef.call(void 0, null),n=_react.useRef.call(void 0, null),a=r5(r),s=_react.useMemo.call(void 0, ()=>({stylesRoot:e}),[e]);return _react2.default.createElement(b_,{className:t},_react2.default.createElement(K_,null,_react2.default.createElement(H_,{containerRef:i},_react2.default.createElement(_reactscrolltobottom.Composer,{nonce:o,scroller:a,styleOptions:s},_react2.default.createElement(__,null,_react2.default.createElement(v_,{terminatorRef:n})),_react2.default.createElement(z_,null,_react2.default.createElement(Z_,{ref:i,terminatorRef:n}))))))},qn= exports.z =_reactwrapwith.wrapWith.call(void 0, D_)(_react.memo.call(void 0, i5));var{navigator:{userAgent:X_}}=window,n5=["a","body","button","frame","iframe","img","input","isindex","object","select","textarea"],a5=/Firefox\//iu.test(X_),s5=/Trident\//iu.test(X_);function kl(t){let{tabIndex:e}=t;if(s5){let o=t.attributes.getNamedItem("tabindex");if(!o||!o.specified)return~n5.indexOf(t.nodeName.toLowerCase())?0:null}else if(!~e){let o=t.getAttribute("tabindex");if(o===null||o===""&&!a5)return null}return e}var c5=()=>!0,Q_="a[href], audio, button, details, details summary, embed, iframe, input, object, rect, select, svg[focusable], textarea, video, [tabindex]";function $_(t,e=c5){if(!t)return;let o=[].filter.call(t.querySelectorAll(Q_),e);return[].find.call(o,r=>{let i=kl(r);return typeof i=="number"&&i>=0})}function ty(t){if(t)return(t.matches||t.msMatchesSelector).call(t,Q_)?t:$_(t)}var b5=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),role:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, )),_5=_react.forwardRef.call(void 0, (t,e)=>{let{children:o,className:r,role:i}=_chunkTMUNLKZWjs.h.call(void 0, b5,t),[{apple:n}]=_chunkUQHIWKDVjs.W.call(void 0, ),a=_react.useRef.call(void 0, {focii:[]}),s=_react.useCallback.call(void 0, c=>{let{altKey:l,ctrlKey:d,key:p,shiftKey:m}=c;if(l&&(n?d:m)){let u=a.current.focii.filter(y=>y.keys.includes(p)),f=u.findIndex(({ref:{current:y}})=>y===document.activeElement||y.contains(document.activeElement)),b=u[(f+1)%u.length];if(b){c.preventDefault(),c.stopPropagation();let y=ty(b.ref.current);y&&y.focus()}}},[n]);return _react2.default.createElement(_chunkUQHIWKDVjs.Z.Provider,{value:a.current},_react2.default.createElement("div",{className:r,onKeyUp:s,ref:e,role:i},o))}),zn= exports.A =_5;var{useStyleOptions:C5}=_botframeworkwebchatapi.hooks,T5={display:"flex",flexDirection:"column"},k5={flexShrink:0},I5={flexShrink:0},O5={flexShrink:0},N5={".webchat__basic-transcript":{flex:1}},M5=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),role:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function P5(t){let{className:e,role:o}=_chunkTMUNLKZWjs.h.call(void 0, M5,t,"strict"),r=_react.useRef.call(void 0, null),[{root:i}]=_chunkUQHIWKDVjs.c.call(void 0, ),[n]=C5(),a=_chunkENHWW2TZjs.a.call(void 0, ),s=a(k5)+"",c=a(T5)+"",l=a(I5)+"",d=a(O5)+"",p=a(N5)+"";return _react2.default.createElement(zn,{className:_classnames2.default.call(void 0, "webchat__surface",c,i+"",e),ref:r,role:o},!n.hideToaster&&_react2.default.createElement(Bn,{className:d}),_react2.default.createElement(qn,{className:p}),_react2.default.createElement(Ln,{className:s}),_react2.default.createElement(_botframeworkwebchatapi.SendBoxMiddlewareProxy,{className:l,request:void 0}))}var Wn=_react.memo.call(void 0, P5);var Ol=({className:t,role:e,...o})=>_react2.default.createElement(Ro,{...o},_react2.default.createElement(Wn,{className:t,role:e}));Ol.defaultProps={className:void 0,role:void 0,...Ro.defaultProps};var{children:znt,...E5}=Ro.propTypes;Ol.propTypes={className:_proptypes2.default.string,role:_proptypes2.default.string,...E5};var sy=Ol;var q5=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.boolean.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),fromUser:_valibot.optional.call(void 0, _valibot.boolean.call(void 0, ))}),_valibot.readonly.call(void 0, ));function z5(t){let{"aria-hidden":e=!1,className:o,fromUser:r}=_chunkTMUNLKZWjs.h.call(void 0, q5,t);return console.warn("botframework-webchat: <Avatar> component is deprecated and will be removed on or after 2022-02-25. Please use `useRenderAvatar` hook instead."),_react2.default.createElement(An,{"aria-hidden":e,className:o,fromUser:r})}var ly=_react.memo.call(void 0, z5);var{useLocalizer:Q5,useTrackException:$5}=_botframeworkwebchatapi.hooks,t6=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {error:_valibot.unknown.call(void 0, ),type:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function e6(t){let{error:e,type:o=""}=_chunkTMUNLKZWjs.h.call(void 0, t6,t),[{errorBox:r}]=_chunkUQHIWKDVjs.c.call(void 0, ),i=Q5(),n=$5();return _react.useEffect.call(void 0, ()=>{let a;e instanceof Error?a=e:(a=new Error("Unknown error occured"),a.cause=e),n(a,!1)},[e,n]),_react2.default.createElement(_react.Fragment,null,_react2.default.createElement(_chunkJG75MOPDjs.d,{text:i("ACTIVITY_ERROR_BOX_TITLE")}),_react2.default.createElement("div",{className:r},_react2.default.createElement("div",null,o),e instanceof Error?_react2.default.createElement("details",null,_react2.default.createElement("summary",null,e.message),_react2.default.createElement("pre",null,e.stack)):_react2.default.createElement("pre",null,JSON.stringify(e,null,2))))}var dy=_react.memo.call(void 0, e6);var a6=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {children:_valibot.optional.call(void 0, _chunkTMUNLKZWjs.g.call(void 0, )),styleOptions:_valibot.optional.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.object.call(void 0, {}),t))),activityMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),activityStatusMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),attachmentForScreenReaderMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),attachmentMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),avatarMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),cardActionMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),groupActivitiesMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),polymiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),scrollToEndButtonMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),sendBoxMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),sendBoxToolbarMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),toastMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t))))),typingIndicatorMiddleware:_valibot.optional.call(void 0, _valibot.pipe.call(void 0, _valibot.array.call(void 0, _valibot.custom.call(void 0, t=>_valibot.is.call(void 0, _valibot.function_.call(void 0, ),t)))))}),_valibot.readonly.call(void 0, )),Rt=Object.freeze([]),my=t=>{let{activityMiddleware:e,activityStatusMiddleware:o,attachmentForScreenReaderMiddleware:r,attachmentMiddleware:i,avatarMiddleware:n,cardActionMiddleware:a,children:s,groupActivitiesMiddleware:c,polymiddleware:l,scrollToEndButtonMiddleware:d,sendBoxMiddleware:p,sendBoxToolbarMiddleware:m,styleOptions:u,toastMiddleware:f,typingIndicatorMiddleware:b}=_chunkTMUNLKZWjs.h.call(void 0, a6,t),y=_react.useContext.call(void 0, Or),v=_react.useMemo.call(void 0, ()=>Object.freeze([...e||[],...y.activityMiddleware]),[e,y.activityMiddleware]),h=_react.useMemo.call(void 0, ()=>Object.freeze([...o||Rt,...y.activityStatusMiddleware]),[o,y.activityStatusMiddleware]),x=_react.useMemo.call(void 0, ()=>Object.freeze([...r||Rt,...y.attachmentForScreenReaderMiddleware]),[r,y.attachmentForScreenReaderMiddleware]),w=_react.useMemo.call(void 0, ()=>Object.freeze([...i||Rt,...y.attachmentMiddleware]),[i,y.attachmentMiddleware]),g=_react.useMemo.call(void 0, ()=>Object.freeze([...n||Rt,...y.avatarMiddleware]),[n,y.avatarMiddleware]),k=_react.useMemo.call(void 0, ()=>Object.freeze([...a||Rt,...y.cardActionMiddleware]),[a,y.cardActionMiddleware]),I=_react.useMemo.call(void 0, ()=>Object.freeze([...c||Rt,...y.groupActivitiesMiddleware]),[c,y.groupActivitiesMiddleware]),_=_react.useMemo.call(void 0, ()=>Object.freeze([...l||Rt,...y.polymiddleware]),[l,y.polymiddleware]),S=_react.useMemo.call(void 0, ()=>Object.freeze([...d||Rt,...y.scrollToEndButtonMiddleware]),[d,y.scrollToEndButtonMiddleware]),N=_react.useMemo.call(void 0, ()=>Object.freeze([...p||Rt,...y.sendBoxMiddleware]),[p,y.sendBoxMiddleware]),B=_react.useMemo.call(void 0, ()=>Object.freeze([...m||Rt,...y.sendBoxToolbarMiddleware]),[m,y.sendBoxToolbarMiddleware]),L=_react.useMemo.call(void 0, ()=>Object.freeze([...f||Rt,...y.toastMiddleware]),[f,y.toastMiddleware]),z=_react.useMemo.call(void 0, ()=>Object.freeze([...b||Rt,...y.typingIndicatorMiddleware]),[b,y.typingIndicatorMiddleware]),W=_react.useMemo.call(void 0, ()=>({activityMiddleware:v,activityStatusMiddleware:h,attachmentForScreenReaderMiddleware:x,attachmentMiddleware:w,avatarMiddleware:g,cardActionMiddleware:k,groupActivitiesMiddleware:I,polymiddleware:_,scrollToEndButtonMiddleware:S,sendBoxMiddleware:N,sendBoxToolbarMiddleware:B,toastMiddleware:L,typingIndicatorMiddleware:z}),[v,h,x,w,g,k,I,_,S,N,B,L,z]);return _react2.default.createElement(_internaljs3.StyleOptionsComposer,{styleOptions:u},_react2.default.createElement(Or.Provider,{value:W},s))};my.displayName="ThemeProvider";var fy=_react.memo.call(void 0, my);exports.a = vi; exports.b = gi; exports.c = Ai; exports.d = Xo; exports.e = Fi; exports.f = Vi; exports.g = Xi; exports.h = Qi; exports.i = lr; exports.j = en; exports.k = Ha; exports.l = ne; exports.m = e0; exports.n = hn; exports.o = d6; exports.p = Oo; exports.q = xs; exports.r = Yc; exports.s = kl; exports.t = nn; exports.u = Nn; exports.v = Mn; exports.w = Ro; exports.x = Ln; exports.y = Bn; exports.z = qn; exports.A = zn; exports.B = Wn; exports.C = sy; exports.D = ly; exports.E = dy; exports.F = fy; exports.G = s6;
80
+ //# sourceMappingURL=chunk-2YUBQM5B.js.map