"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _react = require('react');var C=_react.createContext.call(void 0, void 0),l= exports.b =C;function e(){let t=_react.useContext.call(void 0, l);if(!t)throw new Error("This hook can only be used on component that is decendants of <ComposerWithAdaptiveCards>");return t}function m(){let{adaptiveCardsPackage:t}=e();return[t]}var _botframeworkwebchatcomponent = require('botframework-webchat-component');function a(){let[t]=_botframeworkwebchatcomponent.hooks.useStyleOptions();return[t]}var g=_botframeworkwebchatcomponent.hooks.useStyleSet;function A(){let[t]=g();return Object.freeze([t])}var _botframeworkwebchatapi = require('botframework-webchat-api');var v={adaptiveCardsParserMaxVersion:void 0,cardEmphasisBackgroundColor:"#F9F9F9",cardPushButtonBackgroundColor:"#0063B1",cardPushButtonTextColor:"White",richCardWrapTitle:!1},s=v;function r(t){return{...s,...t}}function i(t){let{accent:o,bubbleTextColor:n,cardEmphasisBackgroundColor:u,primaryFont:p,subtle:d}={..._botframeworkwebchatapi.normalizeStyleOptions.call(void 0, t),...r(t)};return{containerStyles:{default:{foregroundColors:{default:{default:n,subtle:d},accent:{default:o,subtle:"#0078D4"},attention:{default:"#D13438",subtle:"#A4262C"},dark:{default:"#000000",subtle:"#646464"},good:{default:"#0B6A0B",subtle:"#028A02"},light:{default:"#FFFFFF",subtle:d},warning:{default:"#B75C00",subtle:"#986F0B"}}},emphasis:{backgroundColor:u,foregroundColors:{default:{default:"#000000",subtle:"#484644"}}},accent:{backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}},good:{backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}},attention:{backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}},warning:{backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}}},supportsInteractivity:!0,fontFamily:p,imageSizes:{small:40,medium:80,large:160},actions:{actionAlignment:"stretch",actionsOrientation:"vertical",buttonSpacing:8,maxActions:100,showCard:{actionMode:"inline",inlineTopMargin:8},spacing:"default"},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:"medium",maxImageHeight:100},factSet:{title:{color:"default",size:"default",isSubtle:!1,weight:"bolder",wrap:!0,maxWidth:150},value:{color:"default",size:"default",isSubtle:!1,weight:"default",wrap:!0},spacing:8},textBlock:{headingLevel:2}}}function h(){let{hostConfigFromProps:t}=e(),[o]=a();return[_react.useMemo.call(void 0, ()=>t||i(o),[t,o])]}exports.a = r; exports.b = l; exports.c = m; exports.d = a; exports.e = A; exports.f = h;
//# sourceMappingURL=chunk-OIOSEA2A.js.map