"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("../../../features/LearningManagement/components/InstantLearningModal.js"),a=require("../../../features/LearningManagement/store/useLMSConfigStore.js"),n=require("react-markdown"),r=require("react-dom/server");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(n);exports.default=function(n){var l=n.pluginPayload||{},d=l.editingRule,s=l.editingTier,c=l.editingVariants,u=l.focusedVariantIndex,p=l.setFocusedVariantIndex,g=l.triggerAddVariant,T=l.triggerFixGaps,h=l.copiedRule,f=l.copiedSourceTier,b=l.copiedTargetTier,L=l.initialDraftMessage,m=l.app_integration_id,x=l.modeId;a.useTeachMeConfigStore(function(e){return e.teachMeConfig});var A=a.dttWelcomeMessageParts(),v=A.greeting,M=A.subtitle,S=A.actions,y=r.renderToStaticMarkup(t.jsxs("p",{children:[t.jsx("span",{children:v}),t.jsx(o.default,{children:M}),t.jsx("span",e.__assign({className:"clickable-button-group"},{children:S.map(function(i){var a=i.label,n=i.value;return t.jsx("button",e.__assign({className:"clickable-button","data-value":n},{children:a}),a)})}))]})),I={showScope:!1,showConfiguration:!1,welcomeMessage:a.dtt("welcomeMessage","Hi! 👋 I'm your Instant Learning Concierge."),formTitle:a.dtt("formTitle","Rule setup"),setupLabel:a.dtt("setupLabel","Configure your IL"),ruleTitle:a.dtt("ruleTitle","Main Rule Name"),scopeLabel:a.dtt("scopeLabel","Define Scope"),tierLabel:a.dtt("tierLabel","Select Tiers"),ruleDescriptionTitle:a.dtt("ruleDescriptionTitle","Learning Explanation"),whenToApplyTitle:a.dtt("whenToApplyTitle","Trigger Events (When to Apply)"),addWhenToApplyBtnLabel:a.dtt("addWhenToApplyBtnLabel","Add WTA"),whenNotToApplyTitle:a.dtt("whenNotToApplyTitle","Exclusion Events (When NOT to Apply)"),addWhenNotToApplyBtnLabel:a.dtt("addWhenNotToApplyBtnLabel","Add WNTA"),configTitle:a.dtt("configTitle","Advanced Settings"),saveBtnConfig:{label:a.dtt("saveBtnLabel","Save Rule"),loadingLabel:a.dtt("saveBtnLoadingLabel","Saving Rule...")},chatTitle:a.dtt("chatTitle","Teach Me OTJ - {scope} - Add Learning"),chatTitleEdit:a.dtt("chatTitleEdit","Teach Me OTJ - {scope} - Edit Learning"),chatTextareaPlaceholder:a.dtt("chatTextareaPlaceholder","Tell me more about this learning..")};return t.jsx(i.default,{isOpen:n.isOpen,onClose:n.onClose,initialScope:n.initialScope,ruleSet:n.ruleSet,editingRule:d,editingTier:s,editingVariants:c,focusedVariantIndex:u,setFocusedVariantIndex:p,triggerAddVariant:g,triggerFixGaps:T,copiedRule:h,copiedSourceTier:f,copiedTargetTier:b,initialDraftMessage:L,initialChatMessage:y,applicationIntegrationId:m,modeId:x,uiStateLabels:I})};
//# sourceMappingURL=DefaultTeachMeRenderer.js.map
