1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[102,462,6936],{606:function(e,t,r){r.d(t,{b:function(){return u}});var a,s,o,l,i,n,d=r(9479);r(59933);var c=r(51020),p=r(78686),m=r(58543);(a=l||(l={})).primary="bg-purple-100",a.warning="bg-gold-100",a.success="bg-green-100",a.error="bg-red-100",(s=i||(i={})).primary="text-purple-600",s.warning="text-gold-600",s.success="text-green-600",s.error="text-red-600",(o=n||(n={})).primary="text-purple-500",o.warning="text-gold-500",o.success="text-green-500",o.error="text-red-500";let u=e=>{let{as:t,button:r,className:a,color:s="primary",icon:o,iconClass:u,image:x,imageAltText:h,imageClassName:y,title:b,"data-testid":f,children:g}=e;return(0,d.jsx)("div",{className:(0,c.W)("rounded p-3",l[s],a),"data-testid":f,children:(0,d.jsxs)("div",{className:"flex flex-col justify-between space-y-2 md:flex-row md:space-x-2 md:space-y-0",children:[(0,d.jsxs)("div",{className:"flex grow",children:["function"==typeof o?(0,d.jsx)("div",{className:"mr-2.5 shrink-0",children:(0,d.jsx)(o,{className:(0,c.W)(b?"h-6 w-6":"h-5 w-5",n[s],u)})}):"string"==typeof x&&(0,d.jsx)("div",{className:"mr-2.5 shrink-0",children:(0,d.jsx)(p.E,{src:x,alt:h||"",className:(0,c.W)("aspect-video w-20 overflow-hidden",y)})}),(0,d.jsxs)("div",{className:"mr-auto",children:[b&&(0,d.jsx)(m.u,{variant:"semibold",className:i[s],children:b}),(0,d.jsx)(m.u,{tag:t,size:"small",className:(0,c.W)("text-sm",b?"text-black text-opacity-40":i[s]),children:g})]})]}),r]})})}},66924:function(e,t,r){r.d(t,{E:function(){return b}});var a,s,o,l,i,n,d,c,p,m,u=r(9479);r(59933);var x=r(51020),h=r(28655),y=r(58543);(a=n||(n={})).tiny="h-6 px-1.5 text-body-small",a.small="h-8 p-2 text-body-small",a.medium="h-10 p-3 text-body",(s=d||(d={})).tiny="w-6 h-6 p-1.5 text-body-small",s.small="w-8 h-8 p-2 text-body-small",s.medium="w-10 h-10 p-2.5 text-body",(o=c||(c={})).tiny="w-4 h-4",o.small="w-4 h-4",o.medium="w-5 h-5",(l=p||(p={})).primaryGhost="border-purple-pop-300 hover:shadow-primary",l.secondaryGhost="border-magenta-300 hover:shadow-primary",l.socialFacebook="border-facebook border-opacity-35 hover:shadow-facebook",l.socialTwitter="border-twitter border-opacity-35 hover:shadow-twitter",l.socialLinkedin="border-linkedin border-opacity-35 hover:shadow-linkedin",l.socialMeneame="border-meneame border-opacity-35 hover:shadow-meneame",l.socialWhatsapp="border-whatsapp border-opacity-35 hover:shadow-whatsapp",l.socialYoutube="border-youtube border-opacity-35 hover:shadow-youtube",l.socialInstagram="border-instagram border-opacity-35 hover:shadow-instagram",l.white="",l.disabled="border-purple-pop-200 border-opacity-20 hover:shadow-none",(i=m||(m={})).primaryGhost="text-purple-pop-400",i.secondaryGhost="text-magenta-400",i.socialFacebook="text-facebook",i.socialTwitter="text-twitter",i.socialLinkedin="text-linkedin",i.socialMeneame="text-meneame",i.socialWhatsapp="text-whatsapp",i.socialYoutube="text-youtube",i.socialInstagram="text-instagram",i.white="text-white",i.disabled="text-purple-pop-200 text-opacity-20";let b=e=>{let{color:t="primaryGhost",icon:r,label:a,href:s,type:o,size:l="medium",rel:i,externalLink:b,isTransparent:f=!1,rounded:g=!0,isEmpty:w,onClick:v,children:j,...N}=e;if(!w&&"function"!=typeof v&&"submit"!==o&&!s)return null;if("function"!=typeof r)throw Error("You need to provide a component for `icon` prop.");let k=(0,x.W)("ease box-border inline-flex items-center justify-center whitespace-nowrap border transition duration-200 focus:outline-none",g?"rounded-full":"rounded-md",N.disabled&&!f?"border-purple-pop-200 border-opacity-20 hover:shadow-none":f?"border-transparent hover:bg-white hover:bg-opacity-10":p[t],a?n[l]:d[l],{"hover:shadow":!f&&!N.disabled,"cursor-not-allowed":N.disabled},N.className),C=b?"a":h.r;return s?(0,u.jsxs)(C,{"aria-label":N["aria-label"],href:s,className:k,rel:i,children:["function"==typeof r&&(0,u.jsx)(r,{className:(0,x.W)("shrink-0",c[l],N.disabled?"text-purple-pop-200 text-opacity-20":m[t])}),a&&(0,u.jsx)(y.u,{size:"small",variant:"semibold",className:(0,x.W)(N.disabled?"text-purple-pop-200 text-opacity-20":m[t],{"ml-0.5":"tiny"===l,"ml-1":"small"===l,"ml-2":"medium"===l}),children:a})]}):(0,u.jsxs)("button",{...N,className:k,type:o||"button",onClick:v,children:["function"==typeof r&&(0,u.jsx)(r,{className:(0,x.W)("shrink-0",c[l],N.disabled?"text-purple-pop-200 text-opacity-20":m[t])}),a&&(0,u.jsx)(y.u,{size:"small",variant:"semibold",className:(0,x.W)(N.disabled?"text-purple-pop-200 text-opacity-20":m[t],{"px-0.5":"tiny"===l,"px-1":"small"===l,"px-2":"medium"===l}),children:a})]})}},88432:function(e,t,r){r.d(t,{a:function(){return s}});var a=r(9479);r(59933);let s=e=>{let{className:t="w-6 h-6",...r}=e;return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,...r,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V11H13V17ZM13 9H11V7H13V9Z",fill:"currentColor"})})}},78686:function(e,t,r){r.d(t,{E:function(){return s}});var a=r(9479);r(59933);let s=e=>{let{alt:t,src:r,webpSrc:s,pictureClassName:o,skipFormatSources:l,imageRef:i,...n}=e;if(!r)return null;let[d,c]=[r.substring(0,r.lastIndexOf(".")),r.substring(r.lastIndexOf(".")+1,r.length)];return!l&&(s||r.startsWith("/nx-img/")&&("png"===c||"jpg"===c))?(0,a.jsxs)("picture",{className:o,children:[!s&&(0,a.jsx)("source",{srcSet:"".concat(d,".avif"),type:"image/avif"}),(0,a.jsx)("source",{srcSet:s||"".concat(d,".webp"),type:"image/webp"}),(0,a.jsx)("source",{srcSet:r,type:"png"===c?"image/png":"image/jpeg"}),(0,a.jsx)("img",{ref:i,alt:t,src:r,loading:n.loading||"lazy",decoding:n.decoding||"async",...n})]}):(0,a.jsx)("img",{ref:i,alt:t,src:r,loading:"lazy",decoding:"async",...n})}},40102:function(e,t,r){r.r(t),r.d(t,{ChapterTestFeedbackModal:function(){return p}});
1var a=r(9479),s=r(59933),o=r(606),l=r(77828),i=r(88432),n=r(16936),d=r(58543),c=r(83856);let p=s.forwardRef((e,t)=>{let{alertText:r,title:s,body:p,confirmButtonText:m,dismissButtonText:u,confirmButtonHref:x,dismissButtonHref:h,onConfirmButtonClick:y,onDismissButtonClick:b,show:f,handleHide:g}=e;return(0,a.jsx)(n.Modal,{ref:t,onDismiss:g,show:f,children:(0,a.jsxs)("div",{className:"flex flex-col space-y-4 p-6 md:p-10",children:[(0,a.jsx)(c.s,{className:"text-purple-700",children:s}),(0,a.jsx)(d.u,{className:"text-purple-grey-400",children:p}),r&&(0,a.jsx)(o.b,{icon:i.a,className:"mt-6",children:r}),(0,a.jsxs)("div",{className:"flex space-x-2",children:[(0,a.jsx)(l.zx,{href:x,onClick:y,btnType:"block",color:"secondary",children:m}),(0,a.jsx)(l.zx,{href:h,onClick:b,btnType:"block",color:"secondaryGhost",children:u})]})]})})});p.displayName="ChapterTestFeedbackModal"},16936:function(e,t,r){r.r(t),r.d(t,{Modal:function(){return x}});var a,s,o=r(9479),l=r(59933),i=r(11173),n=r(22188),d=r(51020),c=r(66924),p=r(77828),m=r(79917),u=r(93427);(a=s||(s={})).left="justify-start",a.right="flex-row-reverse space-x-reverse";let x=l.forwardRef((e,t)=>{let{actionAlign:r="left",actionButtonsContainerClassName:a,autoWidth:x,buttonSize:h="medium",children:y,containerClassName:b,enableContainerOverflow:f=!0,fullScreenOnMobile:g,hideCloseButton:w,initialFocus:v,isPrimaryButtonDisabled:j,isPrimaryButtonLoading:N,largeBorderRadius:k,dialogZIndex:C="".concat(40),modalZIndex:W=50,onCloseIconClick:z,onDismiss:T,onPrimaryButtonClick:F,onSecondaryButtonClick:G,onTertiaryButtonClick:M,position:E="middle",preventAccidentalClose:I,primaryButtonStyle:V="primary",primaryButtonText:R,rounded:Y=!0,secondaryButtonStyle:H="primaryGhost",secondaryButtonText:_,show:L=!1,stickyFooter:S,tertiaryButtonAlign:Z,tertiaryButtonClassName:B,tertiaryButtonStyle:D="primaryGhost",tertiaryButtonText:O,title:P,whiteCloseButton:q}=e,A=!!(R&&F),J=!!(_&&(G||T)),K=!!(O&&"function"==typeof M);return(0,o.jsx)(i.u,{appear:!0,show:L,as:l.Fragment,children:(0,o.jsxs)(n.V,{static:!0,className:"fixed inset-0 overflow-y-auto",open:L,onClose:I?()=>null:T,...v&&{initialFocus:v},style:{zIndex:W},children:[(0,o.jsx)(i.u.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,o.jsx)(n.V.Backdrop,{className:"fixed inset-0 bg-purple-grey-700 bg-opacity-40 transition-opacity",style:{zIndex:C}})}),(0,o.jsx)("div",{className:(0,d.W)("flex min-h-screen justify-center text-center",{"items-start":"top"===E,"items-center":"middle"===E,"items-end":"bottom"===E,"px-4":!g}),children:(0,o.jsx)(i.u.Child,{as:l.Fragment,enter:"transition-all ease duration-300 transform",enterFrom:"opacity-0 -translate-y-2.5",enterTo:"opacity-100",leave:"transition-all ease duration-300 transform",leaveFrom:"opacity-100",leaveTo:"opacity-0 -translate-y-2.5",children:(0,o.jsxs)(n.V.Panel,{ref:t,className:(0,d.W)("relative flex w-full flex-col text-left align-bottom shadow-xl transition-all sm:align-middle",x?b||"max-w-max":"sm:w-full sm:max-w-xl",{"rounded-lg":Y&&!k,"rounded-2xl":Y&&k,"my-20":!g,"sm:mih-h-auto my-0 min-h-screen sm:my-20":g,"overflow-hidden":f}),children:[!!P&&(0,o.jsxs)("header",{className:(0,d.W)("bg-purple-grey-50",g?"sticky top-0 z-10 sm:relative":"relative",{"rounded-t-lg":Y&&!k&&!g,"rounded-t-2xl":Y&&k&&!g,"sm:rounded-t-lg":Y&&!k&&g,"sm:rounded-t-2xl":Y&&k&&g}),children:[P&&(0,o.jsx)(n.V.Title,{as:"div",className:"w-full border-b border-grey-100 px-6 py-4",children:(0,o.jsx)(u.Y,{tag:"h2",className:"text-purple-grey-500",children:P})}),!w&&(0,o.jsx)("div",{className:"absolute right-0 top-0 p-2",style:{zIndex:W},children:(0,o.jsx)(c.E,{color:q?"white":"primaryGhost",icon:m.W,size:"small",onClick:null!=z?z:T,className:"shrink-0",isTransparent:!0})})]}),!P&&!w&&(0,o.jsx)("div",{className:"absolute right-4 top-4",style:{zIndex:W},children:(0,o.jsx)(c.E,{color:q?"white":"primaryGhost",icon:m.W,size:"small",onClick:T,className:"shrink-0",isTransparent:!0})}),(0,o.jsx)("div",{className:(0,d.W)("bg-white",{"grow overflow-y-auto":g,"rounded-t-lg":Y&&!k&&!g&&!P,"rounded-t-2xl":Y&&k&&!g&&!P,"sm:rounded-t-lg":Y&&!k&&g&&!P,"sm:rounded-t-2xl":Y&&k&&g&&!P}),children:y}),A&&(0,o.jsxs)("div",{className:(0,d.W)("flex w-full bg-white px-6 py-6",a,s[r],{"sticky bottom-0 border-t border-grey-100":S,"rounded-b-lg":Y&&!k&&!g,"rounded-b-2xl":Y&&k&&!g,"sm:rounded-b-lg":Y&&!k&&g,"sm:rounded-b-2xl":Y&&k&&g}),children:[(0,o.jsx)(p.zx,{className:(0,d.W)({"w-full":"full"===h}),size:h,color:V,onClick:F,disabled:j,isLoading:N,children:R}),J&&(0,o.jsx)(p.zx,{className:"ml-2",size:h,color:H,onClick:null!=G?G:T,children:_}),K&&(0,o.jsx)(p.zx,{className:(0,d.W)(B,Z?"ml-2":"ml-auto"),size:h,color:D,onClick:M,children:O})]})]})})})]})})});x.displayName="ModalComponent"},93427:function(e,t,r){r.d(t,{Y:function(){return d}});var a,s,o=r(9479),l=r(59933),i=r(51020),n=r(84411);(a=s||(s={})).medium="text-caption",a.small="text-caption-small";let d=l.forwardRef((e,t)=>
1{let{id:r,className:a,size:l="medium",tag:d="h2",variant:c="bold",children:p,italic:m,...u}=e;return(0,o.jsx)(d,{id:r,className:(0,i.W)("font-body uppercase",s[l],n.x[c],{italic:m},a),ref:t,...u,children:p})});d.displayName="CaptionTypographyComponent"},83856:function(e,t,r){r.d(t,{s:function(){return n}});var a,s,o=r(9479),l=r(59933),i=r(51020);(a=s||(s={})).medium="text-display",a.large="text-display-large";let n=l.forwardRef((e,t)=>{let{id:r,className:a,size:l="medium",tag:n="h2",italic:d,children:c}=e;return(0,o.jsx)(n,{id:r,className:(0,i.W)("font-body font-bold",s[l],{italic:d},a),ref:t,children:c})});n.displayName="DisplayTypographyComponent"}}]);
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.