var A=Object.create;var i=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty;var _=(e,t)=>()=>(e&&(t=e(e=0)),t);var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),G=(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0})},l=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of x(t))!O.call(e,r)&&r!==o&&i(e,r,{get:()=>t[r],enumerable:!(n=L(t,r))||n.enumerable});return e};var U=(e,t,o)=>(o=e!=null?A(k(e)):{},l(t||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e)),z=e=>l(i({},"__esModule",{value:!0}),e);import*as F from"botframework-webchat-api/decorator";import{WebChatDecorator as I}from"botframework-webchat-component/decorator";import{Constants as te,createStore as oe,createStoreWithDevTools as re,createStoreWithOptions as ne}from"botframework-webchat-core";import*as ie from"botframework-webchat-component/internal";import f,{Components as se,concatMiddleware as ce,createStyleSet as pe,hooks as me,testIds as le,withEmoji as he}from"botframework-webchat-component";function h(){return!window.SpeechRecognition&&!window.webkitSpeechRecognition&&console.warn("Web Chat: This browser does not support Web Speech API Speech Recognition."),window.speechSynthesis||console.warn("Web Chat: This browser does not support Web Speech API Speech Synthesis."),()=>({SpeechGrammarList:window.SpeechGrammarList||window.webkitSpeechGrammarList,SpeechRecognition:window.SpeechRecognition||window.webkitSpeechRecognition,speechSynthesis:window.speechSynthesis,SpeechSynthesisUtterance:window.SpeechSynthesisUtterance})}import{DirectLine as P}from"botframework-directlinejs";function a({botAgent:e,conversationId:t,conversationStartProperties:o,domain:n,fetch:r,pollingInterval:b,secret:d,streamUrl:S,token:w,watermark:y,webSocket:g}){return new P({botAgent:e,conversationId:t,conversationStartProperties:o,domain:n,fetch:r,pollingInterval:b,secret:d,streamUrl:S,token:w,watermark:y,webSocket:g,createFormData:u=>{let m=new FormData;return u.forEach(({contentType:C,data:W,filename:D,name:v})=>{m.append(v,new Blob(W,{type:C}),D)}),m}})}import{DirectLineStreaming as R}from"botframework-directlinejs";function s({botAgent:e,conversationId:t,domain:o,token:n}){return Promise.resolve(new R({botAgent:e,conversationId:t,domain:o,token:n}))}import T from"react";import E from"react-dom";function c(e,t,o){E.render(T.createElement(e,{...t}),o)}var we=c.bind(null,f),B="tsup",M="esmodules",p="4.18.1-main.20241104.06bf029",ye=Object.freeze({buildTool:B,moduleFormat:M,variant:"minimal",version:p}),ge=e=>(e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),a({...e,botAgent:`WebChat/${p} (Minimal)`})),ue=e=>(e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),s({...e,botAgent:`WebChat/${p} (Minimal)`})),Ce=f,We=Object.freeze({...F,WebChatDecorator:I});export{_ as a,j as b,G as c,U as d,z as e,a as f,s as g,h,c as i,te as j,oe as k,re as l,ne as m,ie as n,f as o,se as p,ce as q,pe as r,me as s,le as t,he as u,we as v,p as w,ye as x,ge as y,ue as z,Ce as A,We as B};
/*! For license information please see chunk-JIGZT37P.mjs.LEGAL.txt */
//# sourceMappingURL=chunk-JIGZT37P.mjs.map