1(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_curipod"]="d-b926369f"}catch(l){}})();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7256],{87256:function(n,e,t){t.d(e,{HW:function(){return b},PL:function(){return w},fX:function(){return J},vl:function(){return Tn},KA:function(){return v},ay:function(){return y},$d:function(){return S},HG:function(){return I},Oq:function(){return q}});var o=t(67573),r=t(14251),i=t(52875),a=t(32692),s=t(85893),l=t(50888),c=t(1451),u=t(11382),d=t(67294),f=t(70643),h=t(50767),p=t(52901),g=t(61610),x=t(22995),m=t(23188),b="askUserQuestions",w="askUserQuestion",v="prefillPrompt";function y(n,e){return{pathname:"/[tenantId]/home",query:(0,r.Z)({tenantId:n,selectedCardId:"generate-lesson"},e?(0,o.Z)({},v,e):{})}}function Z(n){if("string"===typeof n)try{return Z(JSON.parse(n))}catch(e){return null}return!n||"object"!==typeof n||Array.isArray(n)?null:n}function k(n){return Array.isArray(n)?n.filter((function(n){return"string"===typeof n})).map((function(n){return n.trim()})).filter((function(n){return n.length>0})):[]}function j(n){var e=Z(n),t=null===e||void 0===e?void 0:e.question;return"string"===typeof t&&t.trim()?{question:t.trim(),options:k(null===e||void 0===e?void 0:e.options)}:null}function P(n){var e=Z(n.arguments);if(!e)return null;if(n.name===b){var t=e.questions;if(!Array.isArray(t))return null;var o=t.map(j).filter((function(n){return null!==n}));return o.length>0?o:null}if(n.name===w){var r=j(e);return r?[r]:null}return null}function C(n){if("exitToRegenerateTheWholeLesson"!==n.name)return null;var e=Z(n.arguments);if(!e)return null;
1var t="string"===typeof e.reason?e.reason.trim():"",o="string"===typeof e.proposedLearningObjective?e.proposedLearningObjective.trim():"";return t||o?(0,r.Z)({reason:t},o?{proposedLearningObjective:o}:{}):null}function D(n,e){if(!(null===n||void 0===n?void 0:n.length))return null;for(var t=n.length-1;t>=0;t--){var o,r=n[t];if(r.role===m.$C.USER)return null;for(var i=null!==(o=r.toolCalls)&&void 0!==o?o:[],a=i.length-1;a>=0;a--){var s=e(i[a]);if(null!==s)return{toolCall:i[a],parsed:s}}}return null}function I(n){var e=D(n,P);return e?{toolCallId:e.toolCall.callId,toolName:e.toolCall.name,questions:e.parsed}:null}function S(n,e){var t=new Set(e.map((function(n){return n.callId})).filter(Boolean)),o=n.find((function(n){return"failed"!==n.status&&!t.has(n.toolCallId)&&(n.toolName===b||n.toolName===w)}));return o?{toolCallId:o.toolCallId,toolName:o.toolName}:null}function q(n){var e=D(n,C);return e?(0,r.Z)({toolCallId:e.toolCall.callId},e.parsed):null}function T(){var n=(0,a.Z)(["\n from {\n opacity: 0;\n transform: translateY(12px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"]);return T=function(){return n},n}function N(){var n=(0,a.Z)(["\n width: 100%;\n max-width: 800px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 20px 22px 22px 22px;\n text-align: left;\n background-color: ",";\n border: 1px solid ",";\n border-radius: 10px 10px 0 0;\n box-shadow: ",";\n animation: "," 0.25s ease-out;\n /* Bigger question text and options need more room than the old, denser\n layout did \u2014 reading comfortably here matters more than keeping the\n chat visible behind it, so this is allowed to grow past half the\n screen. */\n max-height: 60%;\n /* This container itself never scrolls \u2014 that let a long option list push\n the Skip/Next buttons below the fold, scrolled out of reach along with\n everything else. The header, question, and actions all opt out of\n shrinking below; only OptionsList (see its own styled component) gives\n up space and scrolls internally when it doesn't fit. */\n overflow: hidden;\n\n /* Positioned, not a plain flex child: sitting in flow would make the\n chat area's flex: 1 sibling shrink to make room for it, resizing \u2014\n and visibly shifting \u2014 the chat scroll area every time the drawer\n opens or closes. Anchored to the bottom of the nearest positioned\n ancestor instead (the page container in the inline case; top: 0\n below covers the whole panel for floating), so the chat's height and\n scroll position never change regardless of the drawer.\n left/right, not width: 100% alone, so this still resolves against\n that ancestor's edges once taken out of flow. */\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 3;\n\n /* A viewport unit, not a %, so it doesn't need a definite-height ancestor\n to resolve. Only for inline: floating already fills its whole panel via\n top/bottom: 0 below, so a competing min-height there is redundant at\n best \u2014 and on a panel shorter than 50vh, could push this past its own\n top/bottom bounds. Claims real space immediately, while the question\n is still loading, instead of sizing to just a header and one spinner\n row, so the drawer doesn't visibly grow the moment it's done. */\n ","\n\n ","\n\n @media (max-width: 992px) {\n padding: 16px 18px 18px 18px;\n\n /* A percentage of the positioned ancestor, same unit as the 60% above,\n just taller \u2014 not vh. Mobile Safari's vh is pinned to the *largest*\n possible viewport (as if its chrome were permanently hidden), so with\n the address bar visible 75vh measured taller than the actual visible\n screen and the drawer ran off the bottom. The ancestor here (the\n mobile page's fixed, top/bottom-anchored container \u2014 see\n IntentRefinementMobile's ContainerMobile) already tracks the real\n visible height, so a percentage of it does too. Inline only \u2014\n floating already fills its whole panel via max-height: 100% below. */\n ","\n }\n"]);return N=function(){return n},n}function z(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n flex-shrink: 0;\n"]);return z=function(){return n},n}function A(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n"]);return A=function(){return n},n}function Q(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n gap: 2px;\n flex-shrink: 0;\n"]);return Q=function(){return n},n}function $(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n gap: 2px;\n"]);return $=function(){return n},n}function E(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n padding: 0;\n background: none;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n &:disabled {\n opacity: 0.35;
1\n cursor: not-allowed;\n }\n"]);return E=function(){return n},n}function O(){var n=(0,a.Z)(["\n font-size: 13px;\n font-weight: 900;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: ",";\n"]);return O=function(){return n},n}function M(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n padding: 0;\n background: none;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n"]);return M=function(){return n},n}function L(){var n=(0,a.Z)([""]);return L=function(){return n},n}function V(){var n=(0,a.Z)(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 0;\n"]);return V=function(){return n},n}function _(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 4px 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n"]);return _=function(){return n},n}function B(){var n=(0,a.Z)(["\n margin: 0;\n font-size: 20px;\n font-weight: 700;\n line-height: 1.45;\n color: ",";\n flex-shrink: 0;\n /* Caps a very long question at two lines instead of pushing the options\n and Skip/Next off the bottom of the (non-scrolling) drawer \u2014 see the\n comment on DrawerContainer's overflow: hidden. */\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"]);return B=function(){return n},n}function R(){var n=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 0 1 auto;\n min-height: 0;\n overflow-y: auto;\n"]);return R=function(){return n},n}function K(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n gap: 14px;\n width: 100%;\n padding: 16px 14px;\n text-align: left;\n background: none;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n color: ",";\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n ","\n"]);return K=function(){return n},n}function F(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n gap: 14px;\n padding: 16px 14px;\n border-radius: 10px;\n color: ",";\n\n ","\n"]);return F=function(){return n},n}function H(){var n=(0,a.Z)(["\n flex-shrink: 0;\n width: 22px;\n height: 22px;\n border-radius: 50%;\n transition: border-color 0.15s ease, box-shadow 0.15s ease;\n border: 2px solid\n ",";\n /* The dot, drawn with an inset shadow so no pseudo-element is needed. */\n box-shadow: ",";\n"]);return H=function(){return n},n}function U(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n padding: 0;\n background: none;\n border: none;\n cursor: pointer;\n\n &:focus-visible {\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"]);return U=function(){return n},n}function Y(){var n=(0,a.Z)(["\n font-size: 18px;\n line-height: 1.4;\n overflow-wrap: anywhere;\n"]);return Y=function(){return n},n}function G(){var n=(0,a.Z)(["\n flex: 1;\n min-width: 0;\n padding: 6px 0;\n font-size: 18px;\n font-weight: inherit;\n color: ",";\n background: none;\n border: none;\n border-bottom: 1.5px solid ",";\n\n &::placeholder {\n font-weight: 400;\n color: ",";\n }\n\n &:focus {\n outline: none;\n border-bottom-color: ",";\n }\n\n &:disabled {\n opacity: 0.5;\n }\n"]);return G=function(){return n},n}function W(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n flex-shrink: 0;\n"]);return W=function(){return n},n}var X="__other__";function J(n){var e,t=n.questions,a=n.onSubmit,f=n.onDismiss,m=n.isDisabled,b=n.variant,w=void 0===b?"inline":b,v=(0,c.qM)().t,y=(0,d.useState)(0),Z=y[0],k=y[1],j=(0,d.useState)({}),P=j[0],C=j[1],D=(0,d.useState)({}),I=D[0],S=D[1],q=(0,d.useState)(!1),T=q[0],N=q[1],z=null===t,A=(0,d.useMemo)((function(){return null!==t&&void 0!==t?t:[]}),[t]),Q=(0,d.useMemo)((function(){var n={};return A.forEach((function(e,t){var o,r=P[t];r===X||0===e.options.length?n[t]=null!==(o=I[t])&&void 0!==o?o:"":r&&(n[t]=r)})),n}),[A,P,I]),$=A[Z],E=Z===A.length-1,O=(null!==(e=Q[Z])&&void 0!==e?e:"").trim().length>0,M=function(n){var e=function(n,e){var t;return n.map((function(n,o){return{question:n,answer:(null!==(t=e[o])&&void 0!==t?t:"").trim()}})).filter((function(n){return n.answer.length>0})).map((function(n){var e=n.question,t=n.answer;return"Q: ".concat(e.question,"\nA: ").concat(t)})).join("\n\n")}(A,n);e.trim()?a(e):f()},L=function(){m||(E?M(Q):k((function(n){return n+1})))},V=function(n){return C((function(e){return(0,i.Z)((0,r.Z)({},e),(0,o.Z)({},Z,n))}))},_=function(n){m||n<0||n>A.length-1||k(n)};if(z)return(0,s.jsxs)(en,{$variant:w,$isLoading:!0,role:"group",children:[(0,s.jsxs)(tn,{children:[(0,s.jsx)(on,{children:(0,s.jsx)(ln,{children:(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.Title",defaultValue:"One quick question"})})}),(0,s.jsx)(cn,{type:"button",onClick:f,"aria-label":v("Dismiss","Dismiss"),children:(0,s.jsx)(x.a,{height:"10px",width:"10px",color:p.ZP.colors.greyDark,children:(0,s.jsx)(h.er,{})})})]}),(0,s.jsx)(dn,{children:(0,s.jsxs)(fn,{children:[(0,s.jsx)(u.Z,{indicator:(0,s.jsx)(l.Z,{style:{fontSize:18,color:p.ZP.colors.orange},spin:!0})}),(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.Preparing",defaultValue:"Getting your question ready\u2026"})]})})]});if(!$)return null;var B,R=P[Z]===X||0===$.options.length;return(0,s.jsxs)(en,{$variant:w,$isMinimized:T,role:"group",children:[(0,s.jsxs)(tn,{children:[(0,s.jsxs)(on,{children:[A.length>1&&(0,s.jsxs)(an,{children:[(0,s.jsx)(sn,{type:"button",disabled:m||0===Z,onClick:function(){return _(Z-1)},"aria-label":v("AgentQuestionDrawer.PreviousQuestion","Previous question"),children:(0,s.jsx)(x.a,{height:"16px",width:"16px",color:p.ZP.colors.greyDark,children:(0,s.jsx)(h.HD,{})})}),(0,s.jsx)(sn,{type:"button",disabled:m||E,onClick:function(){return _(Z+1)},"aria-label":v("AgentQuestionDrawer.NextQuestion","Next question"),children:(0,s.jsx)(x.a,{height:"16px",width:"16px",color:p.ZP.colors.greyDark,style:{transform:"rotate(180deg)"},children:(0,s.jsx)(h.HD,{})})})]}),(0,s.jsx)(ln,{children:A.length>1?(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.TitleProgress",defaultValue:"Question {current} of {total}",params:{current:Z+1,total:A.length}}):(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.Title",defaultValue:"One quick question"})})]}),(0,s.jsxs)(rn,{children:[(0,s.jsx)(un,{type:"button",onClick:function(){return N((function(n){return!n}))},"aria-label":T?v("AgentQuestionDrawer.Expand","Expand"):v("AgentQuestionDrawer.Minimize","Minimize"),children:(0,s.jsx)(x.a,{height:"14px",width:"14px",color:p.ZP.colors.greyDark,children:T?(0,s.jsx)(h.Xf,{}):(0,s.jsx)(h.Uy,{})})}),(0,s.jsx)(cn,{type:"button",onClick:f,"aria-label":v("Dismiss","Dismiss"),children:(0,s.jsx)(x.a,{height:"10px",width:"10px",color:p.ZP.colors.greyDark,children:(0,s.jsx)(h.er,{})})})]})]}),!T&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(hn,{title:$.question,children:$.question}),(0,s.jsxs)(pn,{role:"radiogroup","aria-label":$.question,children:[$.options.map((function(n){return(0,s.jsxs)(gn,{type:"button",role:"radio","aria-label":n,"aria-checked":P[Z]===n,disabled:m,$isSelected:P[Z]===n,onClick:function(){return V(n)},children:[(0,s.jsx)(mn,{$isSelected:P[Z]===n}),(0,s.jsx)(wn,{children:n})]},n)})),(0,s.jsxs)(xn,{$isSelected:R,children:[$.options.length>0&&(0,s.jsx)(bn,{type:"button",role:"radio","aria-checked":R,"aria-label":v("AgentQuestionDrawer.OtherPlaceholder","Something else..."),disabled:m,onClick:function(){return V(X)},children:(0,s.jsx)(mn,{$isSelected:R})}),(0,s.jsx)(vn,{disabled:m,value:null!==(B=I[Z])&&void 0!==B?B:"",placeholder:$.options.length>0?v("AgentQuestionDrawer.OtherPlaceholder","Something else..."):v("AgentQuestionDrawer.AnswerPlaceholder","Type your answer..."),onChange:function(n){S((function(e){return(0,i.Z)((0,r.Z)({},e),(0,o.Z)({},Z,n.target.value))})),V(X)},onKeyDown:function(n){"Enter"!==n.key||n.shiftKey||(n.preventDefault(),O&&L())}})]})]}),(0,s.jsxs)(yn,{children:[(0,s.jsx)(g.z,{type:"ghost",disabled:m,onClick:function(){m||(C((function(n){var e=(0,r.Z)({},n);return delete e[Z],e})),S((function(n){var e=(0,r.Z)({},n);return delete e[Z],e})),E?M((0,i.Z)((0,r.Z)({},Q),(0,o.Z)({},Z,""))):k((function(n){return n+1})))},children:(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.Skip",defaultValue:"Skip"})}),(0,s.jsx)(g.z,{type:"orange",disabled:m||!O,onClick:L,children:E?(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.Submit",defaultValue:"Submit"}):(0,s.jsx)(c.T,{keyName:"AgentQuestionDrawer.Next",defaultValue:"Next"})})]})]})]})}var nn=(0,f.F4)(T()),en=f.ZP.div.withConfig({componentId:"sc-54da9cb1-0"})(N(),p.ZP.colors.white,p.ZP.colors.beigeDark,p.ZP.effects.floatingCreatorElementShadow,nn,(function(n){var e=n.$isLoading,t=n.$variant;return e&&"inline"===t&&"min-height: 50vh;"}),(function(n){var e=n.$variant,t=n.$isMinimized;return"floating"===e&&(t?"\n /* Minimized: shrink to just the header instead of stretching the whole\n panel via top: 0 below \u2014 otherwise the opaque body still blanks out\n the chat this control is supposed to reveal again. Falls back to the\n base rule's rounded card look (border/radius
1/shadow), same as the\n inline variant's minimized state. */\n z-index: 1002;\n justify-content: flex-end;\n ":"\n /* Covers the chat rather than sitting over its last messages: the agent asks\n the same questions in its reply, and reading them twice \u2014 once in the\n bubble, once in the drawer \u2014 is just noise. The questions sit at the bottom,\n nearest the composer. */\n top: 0;\n z-index: 1002;\n max-height: 100%;\n justify-content: flex-end;\n border-radius: 0;\n border: none;\n box-shadow: none;\n ")}),(function(n){return"inline"===n.$variant&&"max-height: 75%;"})),tn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-1"})(z()),on=f.ZP.div.withConfig({componentId:"sc-54da9cb1-2"})(A()),rn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-3"})(Q()),an=f.ZP.div.withConfig({componentId:"sc-54da9cb1-4"})($()),sn=f.ZP.button.withConfig({componentId:"sc-54da9cb1-5"})(E(),p.ZP.colors.paleBeige,p.ZP.colors.orange),ln=f.ZP.span.withConfig({componentId:"sc-54da9cb1-6"})(O(),p.ZP.colors.greyDark),cn=f.ZP.button.withConfig({componentId:"sc-54da9cb1-7"})(M(),p.ZP.colors.paleBeige),un=(0,f.ZP)(cn).withConfig({componentId:"sc-54da9cb1-8"})(L()),dn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-9"})(V()),fn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-10"})(_(),p.ZP.colors.greyDark),hn=f.ZP.p.withConfig({componentId:"sc-54da9cb1-11"})(B(),p.ZP.colors.black),pn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-12"})(R()),gn=f.ZP.button.withConfig({componentId:"sc-54da9cb1-13"})(K(),p.ZP.colors.black,p.ZP.colors.paleBeige,p.ZP.colors.orange,(function(n){return n.$isSelected&&"font-weight: 700;"})),xn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-14"})(F(),p.ZP.colors.black,(function(n){return n.$isSelected&&"font-weight: 700;"})),mn=f.ZP.span.withConfig({componentId:"sc-54da9cb1-15"})(H(),(function(n){return n.$isSelected?p.ZP.colors.orange:p.ZP.colors.grey}),(function(n){return n.$isSelected?"inset 0 0 0 5.5px ".concat(p.ZP.colors.orange):"none"})),bn=f.ZP.button.withConfig({componentId:"sc-54da9cb1-16"})(U(),p.ZP.colors.orange),wn=f.ZP.span.withConfig({componentId:"sc-54da9cb1-17"})(Y()),vn=f.ZP.input.withConfig({componentId:"sc-54da9cb1-18"})(G(),p.ZP.colors.black,p.ZP.colors.beigeDark,p.ZP.colors.greyDark,p.ZP.colors.orange),yn=f.ZP.div.withConfig({componentId:"sc-54da9cb1-19"})(W());function Zn(){var n=(0,a.Z)(["\n from {\n opacity: 0;\n transform: translateY(12px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"]);return Zn=function(){return n},n}function kn(){var n=(0,a.Z)(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1002;\n display: flex;\n flex-direction: column;\n gap: 10px;\n padding: 12px 14px 14px 14px;\n text-align: left;\n background-color: ",";\n border: 1px solid ",";\n border-radius: 10px 10px 0 0;\n box-shadow: ",";\n animation: "," 0.25s ease-out;\n max-height: 70%;\n overflow-y: auto;\n"]);return kn=function(){return n},n}function jn(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n"]);return jn=function(){return n},n}function Pn(){var n=(0,a.Z)(["\n font-size: 13px;\n font-weight: 900;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: ",";\n"]);return Pn=function(){return n},n}function Cn(){var n=(0,a.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n padding: 0;\n background: none;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n"]);return Cn=function(){return n},n}function Dn(){var n=(0,a.Z)(["\n margin: 0;\n font-size: 15px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"]);return Dn=function(){return n},n}function In(){var n=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n gap: 4px;\n padding: 10px 12px;\n font-size: 14px;\n font-weight: 600;\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n border-radius: 10px;\n"]);return In=function(){return n},n}function Sn(){var n=(0,a.Z)(["\n font-size: 12px;\n font-weight: 900;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: ",";\n"]);return Sn=function(){return n},n}function qn(){var n=(0,a.Z)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 8px;\n"]);return qn=function(){return n},n}function Tn(n){var e=n.reason,t=n.proposedLearningObjective,o=n.onStartNewLesson,r=n.onDismiss,i=(0,c.qM)().t;return(0,s.jsxs)(zn,{children:[(0,s.jsxs)(An,{children:[(0,s.jsx)(Qn,{children:(0,s.jsx)(c.T,{keyName:"ExitToRegenerateDrawer.Title",defaultValue:"This
1needs a new lesson"})}),(0,s.jsx)($n,{type:"button",onClick:r,"aria-label":i("Dismiss","Dismiss"),children:(0,s.jsx)(x.a,{height:"10px",width:"10px",color:p.ZP.colors.greyDark,children:(0,s.jsx)(h.er,{})})})]}),e&&(0,s.jsx)(En,{children:e}),t&&(0,s.jsxs)(On,{children:[(0,s.jsx)(Mn,{children:(0,s.jsx)(c.T,{keyName:"ExitToRegenerateDrawer.ProposedObjective",defaultValue:"Suggested learning objective"})}),(0,s.jsx)("span",{children:t})]}),(0,s.jsxs)(Ln,{children:[(0,s.jsx)(g.z,{type:"ghost",onClick:r,children:(0,s.jsx)(c.T,{keyName:"ExitToRegenerateDrawer.KeepEditing",defaultValue:"Keep editing this lesson"})}),(0,s.jsx)(g.z,{type:"orange",onClick:o,children:(0,s.jsx)(c.T,{keyName:"ExitToRegenerateDrawer.StartNewLesson",defaultValue:"Start a new lesson"})})]})]})}var Nn=(0,f.F4)(Zn()),zn=f.ZP.div.withConfig({componentId:"sc-8bf0ef4a-0"})(kn(),p.ZP.colors.white,p.ZP.colors.beigeDark,p.ZP.effects.floatingCreatorElementShadow,Nn),An=f.ZP.div.withConfig({componentId:"sc-8bf0ef4a-1"})(jn()),Qn=f.ZP.span.withConfig({componentId:"sc-8bf0ef4a-2"})(Pn(),p.ZP.colors.orangeDark),$n=f.ZP.button.withConfig({componentId:"sc-8bf0ef4a-3"})(Cn(),p.ZP.colors.paleBeige),En=f.ZP.p.withConfig({componentId:"sc-8bf0ef4a-4"})(Dn(),p.ZP.colors.black),On=f.ZP.div.withConfig({componentId:"sc-8bf0ef4a-5"})(In(),p.ZP.colors.black,p.ZP.colors.paleBeige,p.ZP.colors.beigeDark),Mn=f.ZP.span.withConfig({componentId:"sc-8bf0ef4a-6"})(Sn(),p.ZP.colors.greyDark),Ln=f.ZP.div.withConfig({componentId:"sc-8bf0ef4a-7"})(qn())}}]); 2//# sourceMappingURL=7256-bb93ec7abe7d7a6a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.