@hydralms/components 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/StudentProfile-BPsZBaJj.cjs +1 -0
  2. package/dist/{StudentProfile-DeMxdrL3.js → StudentProfile-Cw2p-RZn.js} +577 -579
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.js +172 -166
  5. package/dist/license/index.d.ts +2 -2
  6. package/dist/license/tiers.d.ts +3 -0
  7. package/dist/modules.cjs +1 -1
  8. package/dist/modules.js +111 -110
  9. package/dist/sections/AdaptiveLearningPath/AdaptiveLearningPath.d.ts +5 -0
  10. package/dist/sections/AdaptiveLearningPath/path-connector.d.ts +8 -0
  11. package/dist/sections/AdaptiveLearningPath/path-milestone-marker.d.ts +7 -0
  12. package/dist/sections/AdaptiveLearningPath/path-node-card.d.ts +10 -0
  13. package/dist/sections/AdaptiveLearningPath/path-skill-bar.d.ts +8 -0
  14. package/dist/sections/AdaptiveLearningPath/types.d.ts +136 -0
  15. package/dist/sections/ContentAuthoringStudio/ContentAuthoringStudio.d.ts +5 -0
  16. package/dist/sections/ContentAuthoringStudio/block-editor-item.d.ts +14 -0
  17. package/dist/sections/ContentAuthoringStudio/block-type-picker.d.ts +12 -0
  18. package/dist/sections/ContentAuthoringStudio/types.d.ts +67 -0
  19. package/dist/sections/index.d.ts +4 -0
  20. package/dist/sections.cjs +1 -1
  21. package/dist/sections.js +1325 -232
  22. package/dist/withProGate-BJdu1T9Y.cjs +2 -0
  23. package/dist/withProGate-BvFc7Jwy.js +4975 -0
  24. package/package.json +24 -7
  25. package/src/license/index.ts +2 -2
  26. package/src/license/tiers.ts +12 -2
  27. package/src/modules/CoursePlayer/CoursePlayer.tsx +3 -1
  28. package/src/progress/stat-card.tsx +10 -5
  29. package/src/sections/AdaptiveLearningPath/AdaptiveLearningPath.tsx +251 -0
  30. package/src/sections/AdaptiveLearningPath/path-connector.tsx +27 -0
  31. package/src/sections/AdaptiveLearningPath/path-milestone-marker.tsx +50 -0
  32. package/src/sections/AdaptiveLearningPath/path-node-card.tsx +166 -0
  33. package/src/sections/AdaptiveLearningPath/path-skill-bar.tsx +49 -0
  34. package/src/sections/AdaptiveLearningPath/types.ts +159 -0
  35. package/src/sections/ContentAuthoringStudio/ContentAuthoringStudio.tsx +289 -0
  36. package/src/sections/ContentAuthoringStudio/block-editor-item.tsx +487 -0
  37. package/src/sections/ContentAuthoringStudio/block-type-picker.tsx +123 -0
  38. package/src/sections/ContentAuthoringStudio/types.ts +67 -0
  39. package/src/sections/ForumBoard/ForumBoard.tsx +8 -6
  40. package/src/sections/LessonPage/LessonPage.tsx +4 -7
  41. package/src/sections/index.ts +18 -0
  42. package/src/video/video-player.tsx +14 -5
  43. package/dist/StudentProfile-BVfZMbnV.cjs +0 -1
  44. package/dist/tabs-BsfVo2Bl.cjs +0 -173
  45. package/dist/tabs-BuY1iNJE.js +0 -22305
  46. package/dist/withProGate-BWqcKdPM.js +0 -137
  47. package/dist/withProGate-DX6XqKLp.cjs +0 -1
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tabs-BsfVo2Bl.cjs"),t=require("react/jsx-runtime"),d=require("react"),f=require("lucide-react"),v=require("./withProGate-DX6XqKLp.cjs"),R=require("react-dom"),V=require("class-variance-authority"),z=[{value:"low",label:"Guessing",icon:t.jsx(f.HelpCircle,{className:"size-3.5"})},{value:"medium",label:"Somewhat sure",icon:t.jsx(f.Brain,{className:"size-3.5"})},{value:"high",label:"Confident",icon:t.jsx(f.Lightbulb,{className:"size-3.5"})}],M=d.memo(function({value:s,onChange:a,levels:n=z,disabled:l=!1,readOnly:c=!1,className:i,style:o}){const m=l||c;return t.jsx("div",{"data-slot":"confidence-indicator",className:e.cn("flex items-center gap-1",i),style:o,role:"radiogroup","aria-label":"Confidence level",children:n.map(x=>{const u=s===x.value;return t.jsxs("button",{type:"button",role:"radio","aria-checked":u,"aria-label":x.label,disabled:m,onClick:()=>a(x.value),className:e.cn("inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-medium transition-all","border outline-none focus-visible:ring-2 focus-visible:ring-ring/50",u?"border-primary bg-primary/10 text-primary":"border-transparent bg-muted text-muted-foreground hover:bg-muted/80",m&&"opacity-50 pointer-events-none"),children:[x.icon,x.label]},x.value)})})}),F=({entries:r,currentTime:s=0,onSeek:a,readOnly:n=!1,maxHeight:l="400px",className:c,style:i})=>{const o=d.useRef(null),m=d.useRef(null),x=d.useMemo(()=>r.reduce((u,p,g)=>p.time<=s?g:u,-1),[r,s]);return d.useEffect(()=>{m.current&&o.current&&m.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[x]),r.length===0?t.jsxs("div",{className:e.cn("flex flex-col items-center justify-center gap-2 rounded-md border border-border bg-muted p-6",c),style:i,children:[t.jsx(f.Clock,{size:20,className:"text-muted-foreground"}),t.jsx("span",{className:"text-sm text-muted-foreground",children:"No transcript available"})]}):t.jsx("div",{ref:o,className:e.cn("overflow-y-auto rounded-md border border-border",c),style:{maxHeight:l,...i},children:r.map((u,p)=>{const g=p===x;return t.jsxs("div",{ref:g?m:void 0,className:e.cn("flex gap-3 px-3 py-2 text-sm transition-colors",g&&"bg-primary/10",!n&&a&&"cursor-pointer hover:bg-muted"),onClick:()=>!n&&(a==null?void 0:a(u.time)),role:!n&&a?"button":void 0,tabIndex:!n&&a?0:void 0,onKeyDown:!n&&a?b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),a(u.time))}:void 0,children:[t.jsx("span",{className:e.cn("shrink-0 font-mono text-xs tabular-nums pt-0.5",g?"text-primary font-medium":"text-muted-foreground"),children:e.formatTimer(Math.floor(u.time))}),t.jsxs("div",{className:"min-w-0",children:[u.speaker&&t.jsxs("span",{className:"mr-1 font-semibold text-foreground",children:[u.speaker,":"]}),t.jsx("span",{className:g?"text-foreground":"text-muted-foreground",children:u.text})]})]},`${u.time}-${u.text.slice(0,20)}`)})})},L=({chapters:r,currentTime:s=0,onSeek:a,className:n,style:l})=>{const c=d.useMemo(()=>r.reduce((i,o,m)=>o.time<=s?m:i,-1),[r,s]);return t.jsx("div",{className:e.cn("divide-y divide-border rounded-md border border-border",n),style:l,children:r.map((i,o)=>{const m=o===c;return t.jsxs("div",{className:e.cn("flex items-center gap-3 p-3 transition-colors",m&&"bg-primary/10",a&&"cursor-pointer hover:bg-muted"),onClick:()=>a==null?void 0:a(i.time),role:a?"button":void 0,tabIndex:a?0:void 0,onKeyDown:a?x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),a(i.time))}:void 0,children:[i.thumbnail?t.jsxs("div",{className:"relative shrink-0 w-16 overflow-hidden rounded",style:{aspectRatio:"16/9"},children:[t.jsx("img",{src:i.thumbnail,alt:i.title,loading:"lazy",className:"size-full object-cover"}),m&&t.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40",children:t.jsx(f.Play,{size:14,className:"ml-px text-white"})})]}):t.jsx("div",{className:e.cn("flex shrink-0 items-center justify-center size-8 rounded-full",m?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground"),children:t.jsx("span",{className:"text-xs font-semibold",children:o+1})}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("div",{className:e.cn("truncate text-sm font-medium",m?"text-primary":"text-foreground"),children:i.title}),t.jsxs("div",{className:"mt-0.5 flex items-center gap-2",children:[t.jsx("span",{className:"font-mono text-xs tabular-nums text-muted-foreground",children:e.formatTimer(Math.floor(i.time))}),i.duration!=null&&i.duration>0&&t.jsx("span",{className:"text-xs text-muted-foreground",children:e.formatDuration(i.duration)})]})]})]},i.time)})})},H=({poster:r,title:s,duration:a,progress:n,onClick:l,className:c,style:i})=>t.jsxs("div",{className:e.cn("group overflow-hidden rounded-lg border border-border transition-colors",l&&"cursor-pointer hover:border-primary/50 hover:shadow-sm",c),style:i,onClick:l,role:l?"button":void 0,tabIndex:l?0:void 0,onKeyDown:l?o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),l())}:void 0,children:[t.jsxs("div",{className:"relative overflow-hidden",style:{aspectRatio:"16/9"},children:[r?t.jsx("img",{src:r,alt:s,loading:"lazy",className:"size-full object-cover transition-transform duration-300 group-hover:scale-105"}):t.jsx("div",{className:"flex size-full items-center justify-center bg-muted",children:t.jsx(f.Video,{size:32,className:"text-muted-foreground"})}),t.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/0 transition-colors group-hover:bg-black/20",children:t.jsx("div",{className:"flex size-10 items-center justify-center rounded-full bg-black/60 opacity-0 transition-opacity group-hover:opacity-100",children:t.jsx(f.Play,{size:20,className:"ml-0.5 text-white"})})}),a!=null&&a>0&&t.jsx("span",{className:"absolute bottom-2 right-2 rounded bg-black/75 px-1.5 py-0.5 text-xs font-medium tabular-nums text-white",children:e.formatDuration(a)})]}),t.jsx("div",{className:"p-3",children:t.jsx("h4",{className:"truncate text-sm font-medium text-foreground",children:s})}),n!=null&&n>=0&&t.jsx("div",{className:"px-3 pb-3",children:t.jsx(e.Progress,{value:n,size:"sm",variant:n>=100?"success":"default"})})]}),E=d.memo(function({bookmark:s,onSeek:a,onDelete:n,onEdit:l,className:c,style:i}){return t.jsxs("div",{className:e.cn("flex items-start gap-3 rounded-md border border-border p-3",c),style:i,children:[t.jsx("div",{className:"flex shrink-0 items-center justify-center size-8 rounded-full bg-primary/10 text-primary",children:t.jsx(f.Bookmark,{size:16})}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("button",{type:"button",className:e.cn("font-mono text-xs font-medium tabular-nums",a?"cursor-pointer text-primary hover:underline":"text-muted-foreground"),onClick:()=>a==null?void 0:a(s.time),disabled:!a,children:e.formatTimer(Math.floor(s.time))}),s.note&&t.jsx("p",{className:"mt-0.5 text-sm text-foreground",children:s.note}),s.createdAt&&t.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(s.createdAt).toLocaleDateString()})]}),(l||n)&&t.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[l&&t.jsx("button",{type:"button",className:"inline-flex items-center justify-center rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground","aria-label":"Edit bookmark",onClick:()=>l(s.id),children:t.jsx(f.Pencil,{size:14})}),n&&t.jsx("button",{type:"button",className:"inline-flex items-center justify-center rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive","aria-label":"Delete bookmark",onClick:()=>n(s.id),children:t.jsx(f.Trash2,{size:14})})]})]})}),Q=d.memo(function({thumbnail:s,title:a,duration:n,status:l="unwatched",isActive:c=!1,index:i,onClick:o,className:m,style:x}){return t.jsxs("div",{className:e.cn("flex items-center gap-3 rounded-md px-3 py-2 transition-colors",c&&"bg-primary/10",o&&"cursor-pointer hover:bg-muted",m),style:x,onClick:o,role:o?"button":void 0,tabIndex:o?0:void 0,onKeyDown:o?u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),o())}:void 0,children:[t.jsx("div",{className:"flex shrink-0 items-center justify-center size-6",children:l==="completed"?t.jsx("span",{className:"text-success",children:t.jsx(f.CheckCircle2,{size:18})}):c?t.jsx("span",{className:"text-primary",children:t.jsx(f.Play,{size:16,className:"ml-px"})}):i!=null?t.jsx("span",{className:"text-xs font-medium tabular-nums text-muted-foreground",children:i}):t.jsx("span",{className:"text-muted-foreground",children:t.jsx(f.Circle,{size:16})})}),s&&t.jsxs("div",{className:"relative shrink-0 w-16 overflow-hidden rounded",style:{aspectRatio:"16/9"},children:[t.jsx("img",{src:s,alt:a,loading:"lazy",className:e.cn("size-full object-cover",l==="completed"&&"opacity-60")}),c&&t.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40",children:t.jsx(f.Play,{size:12,className:"ml-px text-white"})})]}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("div",{className:e.cn("truncate text-sm",c?"font-medium text-primary":"text-foreground",l==="completed"&&!c&&"text-muted-foreground"),children:a}),n!=null&&n>0&&t.jsx("span",{className:"text-xs text-muted-foreground",children:e.formatDuration(n)})]})]})});function S({durationSeconds:r,warningThresholdSeconds:s=60,onExpire:a,onWarning:n,autoStart:l=!1}){const[c,i]=d.useState(r),o=d.useRef(l?"running":"idle"),m=d.useRef(null),x=d.useRef(a),u=d.useRef(n),p=d.useRef(!1);x.current=a,u.current=n;const g=d.useCallback(()=>{m.current!=null&&(clearInterval(m.current),m.current=null)},[]),b=d.useCallback(()=>{g(),m.current=setInterval(()=>{i(y=>{var C,D;const h=y-1;return!p.current&&h<=s&&h>0&&(p.current=!0,(C=u.current)==null||C.call(u)),h<=0?(g(),o.current="expired",(D=x.current)==null||D.call(x),0):h})},1e3)},[g,s]),P=d.useCallback(()=>{i(r),p.current=!1,o.current="running",b()},[r,b]),I=d.useCallback(()=>{o.current==="running"&&(g(),o.current="paused",i(y=>y))},[g]),k=d.useCallback(()=>{o.current==="paused"&&(o.current="running",b())},[b]),B=d.useCallback(()=>{g(),o.current="idle",p.current=!1,i(r)},[g,r]);d.useEffect(()=>(l&&b(),g),[l,b,g]);const j=o.current;return{timeRemaining:c,isRunning:j==="running",isPaused:j==="paused",isExpired:j==="expired",isWarning:c<=s&&c>0,start:P,pause:I,resume:k,reset:B}}function q({children:r,colorMode:s="dark",licenseKey:a,validateUrl:n,className:l,style:c}){return t.jsx(v.HydraLicenseProvider,{licenseKey:a,validateUrl:n,children:t.jsx("div",{className:`hydra-root${s==="dark"?" dark":""}${l?` ${l}`:""}`,style:c,children:r})})}function G({className:r,...s}){return t.jsx("textarea",{"data-slot":"textarea",className:e.cn("placeholder:text-muted-foreground border-input flex min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-xs outline-none transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 aria-invalid:border-destructive",r),...s})}function O({className:r,...s}){return t.jsx("span",{"data-slot":"avatar",className:e.cn("relative flex size-9 shrink-0 overflow-hidden rounded-full",r),...s})}function U({className:r,onError:s,...a}){return t.jsx("img",{"data-slot":"avatar-image",className:e.cn("aspect-square size-full object-cover",r),onError:s,...a})}function $({className:r,...s}){return t.jsx("span",{"data-slot":"avatar-fallback",className:e.cn("bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-xs font-medium",r),...s})}const T=V.cva("pointer-events-auto relative flex w-full items-start gap-3 rounded-lg border p-4 pr-8 shadow-lg text-sm transition-all",{variants:{variant:{success:"border-success/50 bg-success/5 text-success [&>svg]:text-success",error:"border-destructive/50 bg-destructive/5 text-destructive [&>svg]:text-destructive",warning:"border-warning/50 bg-warning/5 text-warning [&>svg]:text-warning",info:"border-info/50 bg-info/5 text-info [&>svg]:text-info"}},defaultVariants:{variant:"info"}}),w=d.createContext(null),K={success:f.CheckCircle2,error:f.AlertCircle,warning:f.AlertTriangle,info:f.Info};function _({item:r,onDismiss:s}){const a=d.useRef(void 0),n=r.duration??5e3,l=K[r.variant??"info"];return d.useEffect(()=>(n>0&&(a.current=setTimeout(()=>s(r.id),n)),()=>clearTimeout(a.current)),[n,r.id,s]),t.jsxs("div",{"data-slot":"toast",role:"status","aria-live":"polite",className:e.cn(T({variant:r.variant??"info"})),children:[t.jsx(l,{className:"size-4 shrink-0 translate-y-0.5"}),t.jsxs("div",{className:"flex-1 space-y-1",children:[r.title&&t.jsx("p",{className:"font-medium leading-none",children:r.title}),t.jsx("p",{className:"text-sm opacity-90",children:r.message})]}),t.jsx("button",{type:"button",onClick:()=>s(r.id),"aria-label":"Dismiss notification",className:"absolute right-2 top-2 rounded-md p-1 opacity-70 hover:opacity-100 transition-opacity",children:t.jsx(f.X,{className:"size-3.5"})})]})}let Z=0;function N({children:r}){const[s,a]=d.useState([]),n=d.useCallback(c=>{const i=`toast-${++Z}`;a(o=>[...o.slice(-2),{...c,id:i}])},[]),l=d.useCallback(c=>{a(i=>i.filter(o=>o.id!==c))},[]);return t.jsxs(w.Provider,{value:{toast:n},children:[r,typeof document<"u"&&R.createPortal(t.jsx("div",{"data-slot":"toaster",className:"fixed top-4 right-4 z-50 flex flex-col gap-2 w-80 pointer-events-none",children:s.map(c=>t.jsx(_,{item:c,onDismiss:l},c.id))}),document.body)]})}function X(){const r=d.useContext(w);if(!r)throw new Error("useToast must be used within a ToastProvider");return r}const J=N,A=new Set(["QuizModule","FlashcardLab","CoursePlayer","ExamModule","SurveyModule","GradeCenterModule","AssignmentModule","CertificateModule","DiscussionModule","StudentDashboardModule","CourseCatalogModule","StudentProfileModule"]);function Y(r){return A.has(r)}exports.AchievementBadge=e.AchievementBadge;exports.ActivityTimeline=e.ActivityTimeline;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogBackdrop=e.AlertDialogBackdrop;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogPortal=e.AlertDialogPortal;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.AssessmentToolbar=e.AssessmentToolbar;exports.AttachmentList=e.AttachmentList;exports.AudioPlayer=e.AudioPlayer;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.CardAction=e.CardAction;exports.CardContent=e.CardContent;exports.CardDescription=e.CardDescription;exports.CardFooter=e.CardFooter;exports.CardHeader=e.CardHeader;exports.CardTitle=e.CardTitle;exports.Choice=e.Choice;exports.CodeBlock=e.CodeBlock;exports.ConfirmDialog=e.ConfirmDialog;exports.ContentBlock=e.ContentBlock;exports.CourseCard=e.CourseCard;exports.CurriculumItemRow=e.CurriculumItemRow;exports.CurriculumTree=e.CurriculumTree;exports.Drawer=e.Drawer;exports.DrawerBackdrop=e.DrawerBackdrop;exports.DrawerBody=e.DrawerBody;exports.DrawerClose=e.DrawerClose;exports.DrawerContent=e.DrawerContent;exports.DrawerDescription=e.DrawerDescription;exports.DrawerFooter=e.DrawerFooter;exports.DrawerHeader=e.DrawerHeader;exports.DrawerNav=e.DrawerNav;exports.DrawerNavItem=e.DrawerNavItem;exports.DrawerPortal=e.DrawerPortal;exports.DrawerTitle=e.DrawerTitle;exports.DrawerTrigger=e.DrawerTrigger;exports.DrawerViewport=e.DrawerViewport;exports.DueDateDisplay=e.DueDateDisplay;exports.EmbedBlock=e.EmbedBlock;exports.EmptyState=e.EmptyState;exports.Essay=e.Essay;exports.FeedbackBanner=e.FeedbackBanner;exports.FileUploadZone=e.FileUploadZone;exports.FillInTheBlank=e.FillInTheBlank;exports.Flashcard=e.Flashcard;exports.FlashcardDeck=e.FlashcardDeck;exports.GradeIndicator=e.GradeIndicator;exports.Hotspot=e.Hotspot;exports.InlineChoice=e.InlineChoice;exports.Input=e.Input;exports.LearningObjectIcon=e.LearningObjectIcon;exports.LikertScale=e.LikertScale;exports.Matching=e.Matching;exports.MultipleChoice=e.MultipleChoice;exports.Numeric=e.Numeric;exports.Ordering=e.Ordering;exports.Pagination=e.Pagination;exports.PostCard=e.PostCard;exports.Progress=e.Progress;exports.ProgressRing=e.ProgressRing;exports.QuestionHeaderBar=e.QuestionHeaderBar;exports.QuestionMaterialsDrawer=e.QuestionMaterialsDrawer;exports.QuestionNavigator=e.QuestionNavigator;exports.QuestionRenderer=e.QuestionRenderer;exports.RichTextEditor=e.RichTextEditor;exports.Scenario=e.Scenario;exports.SearchInput=e.SearchInput;exports.Separator=e.Separator;exports.Skeleton=e.Skeleton;exports.Spreadsheet=e.Spreadsheet;exports.StarRating=e.StarRating;exports.StatCard=e.StatCard;exports.StatusBadge=e.StatusBadge;exports.Stepper=e.Stepper;exports.StreakBadge=e.StreakBadge;exports.Table=e.Table;exports.TableBody=e.TableBody;exports.TableCaption=e.TableCaption;exports.TableCell=e.TableCell;exports.TableFooter=e.TableFooter;exports.TableHead=e.TableHead;exports.TableHeader=e.TableHeader;exports.TableRow=e.TableRow;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.TimerDisplay=e.TimerDisplay;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipTrigger=e.TooltipTrigger;exports.TrueFalse=e.TrueFalse;exports.UserAvatar=e.UserAvatar;exports.VideoPlayer=e.VideoPlayer;exports.alertVariants=e.alertVariants;exports.badgeVariants=e.badgeVariants;exports.buttonVariants=e.buttonVariants;exports.cn=e.cn;exports.drawerContentVariants=e.drawerContentVariants;exports.progressVariants=e.progressVariants;exports.scoreQuestion=e.scoreQuestion;exports.scoreScenarioSubQuestions=e.scoreScenarioSubQuestions;exports.HydraLicenseContext=v.HydraLicenseContext;exports.HydraLicenseProvider=v.HydraLicenseProvider;exports.ProBadge=v.ProBadge;exports.useHydraLicense=v.useHydraLicense;exports.withProGate=v.withProGate;exports.Avatar=O;exports.AvatarFallback=$;exports.AvatarImage=U;exports.ConfidenceIndicator=M;exports.HydraProvider=q;exports.PRO_MODULES=A;exports.Textarea=G;exports.ToastProvider=N;exports.Toaster=J;exports.VideoBookmark=E;exports.VideoChapterList=L;exports.VideoPlaylistItem=Q;exports.VideoThumbnailCard=H;exports.VideoTranscript=F;exports.isProModule=Y;exports.toastVariants=T;exports.useCountdown=S;exports.useToast=X;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./withProGate-BJdu1T9Y.cjs"),t=require("react/jsx-runtime"),d=require("react"),f=require("lucide-react"),B=require("react-dom"),V=require("class-variance-authority"),z=[{value:"low",label:"Guessing",icon:t.jsx(f.HelpCircle,{className:"size-3.5"})},{value:"medium",label:"Somewhat sure",icon:t.jsx(f.Brain,{className:"size-3.5"})},{value:"high",label:"Confident",icon:t.jsx(f.Lightbulb,{className:"size-3.5"})}],M=d.memo(function({value:s,onChange:a,levels:n=z,disabled:l=!1,readOnly:c=!1,className:i,style:o}){const m=l||c;return t.jsx("div",{"data-slot":"confidence-indicator",className:e.cn("flex items-center gap-1",i),style:o,role:"radiogroup","aria-label":"Confidence level",children:n.map(x=>{const u=s===x.value;return t.jsxs("button",{type:"button",role:"radio","aria-checked":u,"aria-label":x.label,disabled:m,onClick:()=>a(x.value),className:e.cn("inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-medium transition-all","border outline-none focus-visible:ring-2 focus-visible:ring-ring/50",u?"border-primary bg-primary/10 text-primary":"border-transparent bg-muted text-muted-foreground hover:bg-muted/80",m&&"opacity-50 pointer-events-none"),children:[x.icon,x.label]},x.value)})})}),F=({entries:r,currentTime:s=0,onSeek:a,readOnly:n=!1,maxHeight:l="400px",className:c,style:i})=>{const o=d.useRef(null),m=d.useRef(null),x=d.useMemo(()=>r.reduce((u,p,g)=>p.time<=s?g:u,-1),[r,s]);return d.useEffect(()=>{m.current&&o.current&&m.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[x]),r.length===0?t.jsxs("div",{className:e.cn("flex flex-col items-center justify-center gap-2 rounded-md border border-border bg-muted p-6",c),style:i,children:[t.jsx(f.Clock,{size:20,className:"text-muted-foreground"}),t.jsx("span",{className:"text-sm text-muted-foreground",children:"No transcript available"})]}):t.jsx("div",{ref:o,className:e.cn("overflow-y-auto rounded-md border border-border",c),style:{maxHeight:l,...i},children:r.map((u,p)=>{const g=p===x;return t.jsxs("div",{ref:g?m:void 0,className:e.cn("flex gap-3 px-3 py-2 text-sm transition-colors",g&&"bg-primary/10",!n&&a&&"cursor-pointer hover:bg-muted"),onClick:()=>!n&&(a==null?void 0:a(u.time)),role:!n&&a?"button":void 0,tabIndex:!n&&a?0:void 0,onKeyDown:!n&&a?b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),a(u.time))}:void 0,children:[t.jsx("span",{className:e.cn("shrink-0 font-mono text-xs tabular-nums pt-0.5",g?"text-primary font-medium":"text-muted-foreground"),children:e.formatTimer(Math.floor(u.time))}),t.jsxs("div",{className:"min-w-0",children:[u.speaker&&t.jsxs("span",{className:"mr-1 font-semibold text-foreground",children:[u.speaker,":"]}),t.jsx("span",{className:g?"text-foreground":"text-muted-foreground",children:u.text})]})]},`${u.time}-${u.text.slice(0,20)}`)})})},L=({chapters:r,currentTime:s=0,onSeek:a,className:n,style:l})=>{const c=d.useMemo(()=>r.reduce((i,o,m)=>o.time<=s?m:i,-1),[r,s]);return t.jsx("div",{className:e.cn("divide-y divide-border rounded-md border border-border",n),style:l,children:r.map((i,o)=>{const m=o===c;return t.jsxs("div",{className:e.cn("flex items-center gap-3 p-3 transition-colors",m&&"bg-primary/10",a&&"cursor-pointer hover:bg-muted"),onClick:()=>a==null?void 0:a(i.time),role:a?"button":void 0,tabIndex:a?0:void 0,onKeyDown:a?x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),a(i.time))}:void 0,children:[i.thumbnail?t.jsxs("div",{className:"relative shrink-0 w-16 overflow-hidden rounded",style:{aspectRatio:"16/9"},children:[t.jsx("img",{src:i.thumbnail,alt:i.title,loading:"lazy",className:"size-full object-cover"}),m&&t.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40",children:t.jsx(f.Play,{size:14,className:"ml-px text-white"})})]}):t.jsx("div",{className:e.cn("flex shrink-0 items-center justify-center size-8 rounded-full",m?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground"),children:t.jsx("span",{className:"text-xs font-semibold",children:o+1})}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("div",{className:e.cn("truncate text-sm font-medium",m?"text-primary":"text-foreground"),children:i.title}),t.jsxs("div",{className:"mt-0.5 flex items-center gap-2",children:[t.jsx("span",{className:"font-mono text-xs tabular-nums text-muted-foreground",children:e.formatTimer(Math.floor(i.time))}),i.duration!=null&&i.duration>0&&t.jsx("span",{className:"text-xs text-muted-foreground",children:e.formatDuration(i.duration)})]})]})]},i.time)})})},H=({poster:r,title:s,duration:a,progress:n,onClick:l,className:c,style:i})=>t.jsxs("div",{className:e.cn("group overflow-hidden rounded-lg border border-border transition-colors",l&&"cursor-pointer hover:border-primary/50 hover:shadow-sm",c),style:i,onClick:l,role:l?"button":void 0,tabIndex:l?0:void 0,onKeyDown:l?o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),l())}:void 0,children:[t.jsxs("div",{className:"relative overflow-hidden",style:{aspectRatio:"16/9"},children:[r?t.jsx("img",{src:r,alt:s,loading:"lazy",className:"size-full object-cover transition-transform duration-300 group-hover:scale-105"}):t.jsx("div",{className:"flex size-full items-center justify-center bg-muted",children:t.jsx(f.Video,{size:32,className:"text-muted-foreground"})}),t.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/0 transition-colors group-hover:bg-black/20",children:t.jsx("div",{className:"flex size-10 items-center justify-center rounded-full bg-black/60 opacity-0 transition-opacity group-hover:opacity-100",children:t.jsx(f.Play,{size:20,className:"ml-0.5 text-white"})})}),a!=null&&a>0&&t.jsx("span",{className:"absolute bottom-2 right-2 rounded bg-black/75 px-1.5 py-0.5 text-xs font-medium tabular-nums text-white",children:e.formatDuration(a)})]}),t.jsx("div",{className:"p-3",children:t.jsx("h4",{className:"truncate text-sm font-medium text-foreground",children:s})}),n!=null&&n>=0&&t.jsx("div",{className:"px-3 pb-3",children:t.jsx(e.Progress,{value:n,size:"sm",variant:n>=100?"success":"default"})})]}),E=d.memo(function({bookmark:s,onSeek:a,onDelete:n,onEdit:l,className:c,style:i}){return t.jsxs("div",{className:e.cn("flex items-start gap-3 rounded-md border border-border p-3",c),style:i,children:[t.jsx("div",{className:"flex shrink-0 items-center justify-center size-8 rounded-full bg-primary/10 text-primary",children:t.jsx(f.Bookmark,{size:16})}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("button",{type:"button",className:e.cn("font-mono text-xs font-medium tabular-nums",a?"cursor-pointer text-primary hover:underline":"text-muted-foreground"),onClick:()=>a==null?void 0:a(s.time),disabled:!a,children:e.formatTimer(Math.floor(s.time))}),s.note&&t.jsx("p",{className:"mt-0.5 text-sm text-foreground",children:s.note}),s.createdAt&&t.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(s.createdAt).toLocaleDateString()})]}),(l||n)&&t.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[l&&t.jsx("button",{type:"button",className:"inline-flex items-center justify-center rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground","aria-label":"Edit bookmark",onClick:()=>l(s.id),children:t.jsx(f.Pencil,{size:14})}),n&&t.jsx("button",{type:"button",className:"inline-flex items-center justify-center rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive","aria-label":"Delete bookmark",onClick:()=>n(s.id),children:t.jsx(f.Trash2,{size:14})})]})]})}),S=d.memo(function({thumbnail:s,title:a,duration:n,status:l="unwatched",isActive:c=!1,index:i,onClick:o,className:m,style:x}){return t.jsxs("div",{className:e.cn("flex items-center gap-3 rounded-md px-3 py-2 transition-colors",c&&"bg-primary/10",o&&"cursor-pointer hover:bg-muted",m),style:x,onClick:o,role:o?"button":void 0,tabIndex:o?0:void 0,onKeyDown:o?u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),o())}:void 0,children:[t.jsx("div",{className:"flex shrink-0 items-center justify-center size-6",children:l==="completed"?t.jsx("span",{className:"text-success",children:t.jsx(f.CheckCircle2,{size:18})}):c?t.jsx("span",{className:"text-primary",children:t.jsx(f.Play,{size:16,className:"ml-px"})}):i!=null?t.jsx("span",{className:"text-xs font-medium tabular-nums text-muted-foreground",children:i}):t.jsx("span",{className:"text-muted-foreground",children:t.jsx(f.Circle,{size:16})})}),s&&t.jsxs("div",{className:"relative shrink-0 w-16 overflow-hidden rounded",style:{aspectRatio:"16/9"},children:[t.jsx("img",{src:s,alt:a,loading:"lazy",className:e.cn("size-full object-cover",l==="completed"&&"opacity-60")}),c&&t.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40",children:t.jsx(f.Play,{size:12,className:"ml-px text-white"})})]}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("div",{className:e.cn("truncate text-sm",c?"font-medium text-primary":"text-foreground",l==="completed"&&!c&&"text-muted-foreground"),children:a}),n!=null&&n>0&&t.jsx("span",{className:"text-xs text-muted-foreground",children:e.formatDuration(n)})]})]})});function Q({durationSeconds:r,warningThresholdSeconds:s=60,onExpire:a,onWarning:n,autoStart:l=!1}){const[c,i]=d.useState(r),o=d.useRef(l?"running":"idle"),m=d.useRef(null),x=d.useRef(a),u=d.useRef(n),p=d.useRef(!1);x.current=a,u.current=n;const g=d.useCallback(()=>{m.current!=null&&(clearInterval(m.current),m.current=null)},[]),b=d.useCallback(()=>{g(),m.current=setInterval(()=>{i(j=>{var y,C;const v=j-1;return!p.current&&v<=s&&v>0&&(p.current=!0,(y=u.current)==null||y.call(u)),v<=0?(g(),o.current="expired",(C=x.current)==null||C.call(x),0):v})},1e3)},[g,s]),P=d.useCallback(()=>{i(r),p.current=!1,o.current="running",b()},[r,b]),I=d.useCallback(()=>{o.current==="running"&&(g(),o.current="paused",i(j=>j))},[g]),R=d.useCallback(()=>{o.current==="paused"&&(o.current="running",b())},[b]),k=d.useCallback(()=>{g(),o.current="idle",p.current=!1,i(r)},[g,r]);d.useEffect(()=>(l&&b(),g),[l,b,g]);const h=o.current;return{timeRemaining:c,isRunning:h==="running",isPaused:h==="paused",isExpired:h==="expired",isWarning:c<=s&&c>0,start:P,pause:I,resume:R,reset:k}}function O({children:r,colorMode:s="dark",licenseKey:a,validateUrl:n,className:l,style:c}){return t.jsx(e.HydraLicenseProvider,{licenseKey:a,validateUrl:n,children:t.jsx("div",{className:`hydra-root${s==="dark"?" dark":""}${l?` ${l}`:""}`,style:c,children:r})})}function q({className:r,...s}){return t.jsx("textarea",{"data-slot":"textarea",className:e.cn("placeholder:text-muted-foreground border-input flex min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-xs outline-none transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 aria-invalid:border-destructive",r),...s})}function G({className:r,...s}){return t.jsx("span",{"data-slot":"avatar",className:e.cn("relative flex size-9 shrink-0 overflow-hidden rounded-full",r),...s})}function U({className:r,onError:s,...a}){return t.jsx("img",{"data-slot":"avatar-image",className:e.cn("aspect-square size-full object-cover",r),onError:s,...a})}function _({className:r,...s}){return t.jsx("span",{"data-slot":"avatar-fallback",className:e.cn("bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-xs font-medium",r),...s})}const D=V.cva("pointer-events-auto relative flex w-full items-start gap-3 rounded-lg border p-4 pr-8 shadow-lg text-sm transition-all",{variants:{variant:{success:"border-success/50 bg-success/5 text-success [&>svg]:text-success",error:"border-destructive/50 bg-destructive/5 text-destructive [&>svg]:text-destructive",warning:"border-warning/50 bg-warning/5 text-warning [&>svg]:text-warning",info:"border-info/50 bg-info/5 text-info [&>svg]:text-info"}},defaultVariants:{variant:"info"}}),T=d.createContext(null),$={success:f.CheckCircle2,error:f.AlertCircle,warning:f.AlertTriangle,info:f.Info};function K({item:r,onDismiss:s}){const a=d.useRef(void 0),n=r.duration??5e3,l=$[r.variant??"info"];return d.useEffect(()=>(n>0&&(a.current=setTimeout(()=>s(r.id),n)),()=>clearTimeout(a.current)),[n,r.id,s]),t.jsxs("div",{"data-slot":"toast",role:"status","aria-live":"polite",className:e.cn(D({variant:r.variant??"info"})),children:[t.jsx(l,{className:"size-4 shrink-0 translate-y-0.5"}),t.jsxs("div",{className:"flex-1 space-y-1",children:[r.title&&t.jsx("p",{className:"font-medium leading-none",children:r.title}),t.jsx("p",{className:"text-sm opacity-90",children:r.message})]}),t.jsx("button",{type:"button",onClick:()=>s(r.id),"aria-label":"Dismiss notification",className:"absolute right-2 top-2 rounded-md p-1 opacity-70 hover:opacity-100 transition-opacity",children:t.jsx(f.X,{className:"size-3.5"})})]})}let Z=0;function N({children:r}){const[s,a]=d.useState([]),n=d.useCallback(c=>{const i=`toast-${++Z}`;a(o=>[...o.slice(-2),{...c,id:i}])},[]),l=d.useCallback(c=>{a(i=>i.filter(o=>o.id!==c))},[]);return t.jsxs(T.Provider,{value:{toast:n},children:[r,typeof document<"u"&&B.createPortal(t.jsx("div",{"data-slot":"toaster",className:"fixed top-4 right-4 z-50 flex flex-col gap-2 w-80 pointer-events-none",children:s.map(c=>t.jsx(K,{item:c,onDismiss:l},c.id))}),document.body)]})}function X(){const r=d.useContext(T);if(!r)throw new Error("useToast must be used within a ToastProvider");return r}const J=N,w=new Set(["QuizModule","FlashcardLab","CoursePlayer","ExamModule","SurveyModule","GradeCenterModule","AssignmentModule","CertificateModule","DiscussionModule","StudentDashboardModule","CourseCatalogModule","StudentProfileModule"]);function Y(r){return w.has(r)}const A=new Set(["ContentAuthoringStudio"]);function W(r){return A.has(r)}exports.AchievementBadge=e.AchievementBadge;exports.ActivityTimeline=e.ActivityTimeline;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogBackdrop=e.AlertDialogBackdrop;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogPortal=e.AlertDialogPortal;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.AssessmentToolbar=e.AssessmentToolbar;exports.AttachmentList=e.AttachmentList;exports.AudioPlayer=e.AudioPlayer;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.CardAction=e.CardAction;exports.CardContent=e.CardContent;exports.CardDescription=e.CardDescription;exports.CardFooter=e.CardFooter;exports.CardHeader=e.CardHeader;exports.CardTitle=e.CardTitle;exports.Choice=e.Choice;exports.CodeBlock=e.CodeBlock;exports.ConfirmDialog=e.ConfirmDialog;exports.ContentBlock=e.ContentBlock;exports.CourseCard=e.CourseCard;exports.CurriculumItemRow=e.CurriculumItemRow;exports.CurriculumTree=e.CurriculumTree;exports.Drawer=e.Drawer;exports.DrawerBackdrop=e.DrawerBackdrop;exports.DrawerBody=e.DrawerBody;exports.DrawerClose=e.DrawerClose;exports.DrawerContent=e.DrawerContent;exports.DrawerDescription=e.DrawerDescription;exports.DrawerFooter=e.DrawerFooter;exports.DrawerHeader=e.DrawerHeader;exports.DrawerNav=e.DrawerNav;exports.DrawerNavItem=e.DrawerNavItem;exports.DrawerPortal=e.DrawerPortal;exports.DrawerTitle=e.DrawerTitle;exports.DrawerTrigger=e.DrawerTrigger;exports.DrawerViewport=e.DrawerViewport;exports.DueDateDisplay=e.DueDateDisplay;exports.EmbedBlock=e.EmbedBlock;exports.EmptyState=e.EmptyState;exports.Essay=e.Essay;exports.FeedbackBanner=e.FeedbackBanner;exports.FileUploadZone=e.FileUploadZone;exports.FillInTheBlank=e.FillInTheBlank;exports.Flashcard=e.Flashcard;exports.FlashcardDeck=e.FlashcardDeck;exports.GradeIndicator=e.GradeIndicator;exports.Hotspot=e.Hotspot;exports.HydraLicenseContext=e.HydraLicenseContext;exports.HydraLicenseProvider=e.HydraLicenseProvider;exports.InlineChoice=e.InlineChoice;exports.Input=e.Input;exports.LearningObjectIcon=e.LearningObjectIcon;exports.LikertScale=e.LikertScale;exports.Matching=e.Matching;exports.MultipleChoice=e.MultipleChoice;exports.Numeric=e.Numeric;exports.Ordering=e.Ordering;exports.Pagination=e.Pagination;exports.PostCard=e.PostCard;exports.ProBadge=e.ProBadge;exports.Progress=e.Progress;exports.ProgressRing=e.ProgressRing;exports.QuestionHeaderBar=e.QuestionHeaderBar;exports.QuestionMaterialsDrawer=e.QuestionMaterialsDrawer;exports.QuestionNavigator=e.QuestionNavigator;exports.QuestionRenderer=e.QuestionRenderer;exports.RichTextEditor=e.RichTextEditor;exports.Scenario=e.Scenario;exports.SearchInput=e.SearchInput;exports.Separator=e.Separator;exports.Skeleton=e.Skeleton;exports.Spreadsheet=e.Spreadsheet;exports.StarRating=e.StarRating;exports.StatCard=e.StatCard;exports.StatusBadge=e.StatusBadge;exports.Stepper=e.Stepper;exports.StreakBadge=e.StreakBadge;exports.Table=e.Table;exports.TableBody=e.TableBody;exports.TableCaption=e.TableCaption;exports.TableCell=e.TableCell;exports.TableFooter=e.TableFooter;exports.TableHead=e.TableHead;exports.TableHeader=e.TableHeader;exports.TableRow=e.TableRow;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.TimerDisplay=e.TimerDisplay;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipTrigger=e.TooltipTrigger;exports.TrueFalse=e.TrueFalse;exports.UserAvatar=e.UserAvatar;exports.VideoPlayer=e.VideoPlayer;exports.alertVariants=e.alertVariants;exports.badgeVariants=e.badgeVariants;exports.buttonVariants=e.buttonVariants;exports.cn=e.cn;exports.drawerContentVariants=e.drawerContentVariants;exports.progressVariants=e.progressVariants;exports.scoreQuestion=e.scoreQuestion;exports.scoreScenarioSubQuestions=e.scoreScenarioSubQuestions;exports.useHydraLicense=e.useHydraLicense;exports.withProGate=e.withProGate;exports.Avatar=G;exports.AvatarFallback=_;exports.AvatarImage=U;exports.ConfidenceIndicator=M;exports.HydraProvider=O;exports.PRO_MODULES=w;exports.PRO_SECTIONS=A;exports.Textarea=q;exports.ToastProvider=N;exports.Toaster=J;exports.VideoBookmark=E;exports.VideoChapterList=L;exports.VideoPlaylistItem=S;exports.VideoThumbnailCard=H;exports.VideoTranscript=F;exports.isProModule=Y;exports.isProSection=W;exports.toastVariants=D;exports.useCountdown=Q;exports.useToast=X;
package/dist/index.js CHANGED
@@ -1,27 +1,25 @@
1
- import { c, f as C, a as D, P as F } from "./tabs-BuY1iNJE.js";
2
- import { A as Me, b as Re, d as ke, e as Le, g as Fe, h as Ee, i as He, j as Qe, k as $e, l as Ge, m as Ke, n as Ue, o as _e, p as qe, q as Oe, r as Xe, s as Ze, t as Je, u as Ye, B as We, v as Se, C as ea, w as aa, x as ta, y as ra, z as sa, D as ia, E as na, F as oa, G as la, H as da, I as ca, J as ua, K as ma, L as fa, M as pa, N as ga, O as ba, Q as xa, R as va, S as ha, T as ya, U as Na, V as wa, W as Ca, X as Da, Y as Ta, Z as za, _ as Aa, $ as Ia, a0 as Pa, a1 as Ba, a2 as Va, a3 as ja, a4 as Ma, a5 as Ra, a6 as ka, a7 as La, a8 as Fa, a9 as Ea, aa as Ha, ab as Qa, ac as $a, ad as Ga, ae as Ka, af as Ua, ag as _a, ah as qa, ai as Oa, aj as Xa, ak as Za, al as Ja, am as Ya, an as Wa, ao as Sa, ap as et, aq as at, ar as tt, as as rt, at as st, au as it, av as nt, aw as ot, ax as lt, ay as dt, az as ct, aA as ut, aB as mt, aC as ft, aD as pt, aE as gt, aF as bt, aG as xt, aH as vt, aI as ht, aJ as yt, aK as Nt, aL as wt, aM as Ct, aN as Dt, aO as Tt, aP as zt, aQ as At, aR as It, aS as Pt, aT as Bt, aU as Vt, aV as jt, aW as Mt, aX as Rt, aY as kt, aZ as Lt } from "./tabs-BuY1iNJE.js";
1
+ import { c, f as C, a as D, P as E, H as F } from "./withProGate-BvFc7Jwy.js";
2
+ import { A as Me, b as ke, d as Le, e as Ee, g as Fe, h as He, i as Qe, j as $e, k as Ge, l as Ke, m as Ue, n as _e, o as Oe, p as qe, q as Xe, r as Ze, s as Je, t as Ye, u as We, B as Se, v as ea, C as aa, w as ta, x as ra, y as sa, z as ia, D as na, E as oa, F as la, G as da, I as ca, J as ua, K as ma, L as fa, M as ga, N as pa, O as ba, Q as xa, R as va, S as ha, T as Na, U as ya, V as wa, W as Ca, X as Da, Y as Ta, Z as za, _ as Aa, $ as Ia, a0 as Pa, a1 as Ba, a2 as Ra, a3 as Va, a4 as ja, a5 as Ma, a6 as ka, a7 as La, a8 as Ea, a9 as Fa, aa as Ha, ab as Qa, ac as $a, ad as Ga, ae as Ka, af as Ua, ag as _a, ah as Oa, ai as qa, aj as Xa, ak as Za, al as Ja, am as Ya, an as Wa, ao as Sa, ap as et, aq as at, ar as tt, as as rt, at as st, au as it, av as nt, aw as ot, ax as lt, ay as dt, az as ct, aA as ut, aB as mt, aC as ft, aD as gt, aE as pt, aF as bt, aG as xt, aH as vt, aI as ht, aJ as Nt, aK as yt, aL as wt, aM as Ct, aN as Dt, aO as Tt, aP as zt, aQ as At, aR as It, aS as Pt, aT as Bt, aU as Rt, aV as Vt, aW as jt, aX as Mt, aY as kt, aZ as Lt, a_ as Et, a$ as Ft, b0 as Ht, b1 as Qt, b2 as $t } from "./withProGate-BvFc7Jwy.js";
3
3
  import { jsx as e, jsxs as f } from "react/jsx-runtime";
4
- import { memo as T, useRef as v, useMemo as P, useEffect as z, useState as B, useCallback as x, useContext as E, createContext as H } from "react";
5
- import { HelpCircle as Q, Brain as $, Lightbulb as G, Clock as K, Play as y, Video as U, Bookmark as _, Pencil as q, Trash2 as O, CheckCircle2 as V, Circle as X, Info as Z, AlertTriangle as J, AlertCircle as Y, X as W } from "lucide-react";
6
- import { H as S } from "./withProGate-BWqcKdPM.js";
7
- import { a as Et, P as Ht, u as Qt, w as $t } from "./withProGate-BWqcKdPM.js";
4
+ import { memo as T, useRef as v, useMemo as P, useEffect as z, useState as B, useCallback as x, useContext as H, createContext as Q } from "react";
5
+ import { HelpCircle as $, Brain as G, Lightbulb as K, Clock as U, Play as N, Video as _, Bookmark as O, Pencil as q, Trash2 as X, CheckCircle2 as R, Circle as Z, Info as J, AlertTriangle as Y, AlertCircle as W, X as S } from "lucide-react";
8
6
  import { createPortal as ee } from "react-dom";
9
7
  import { cva as ae } from "class-variance-authority";
10
8
  const te = [
11
9
  {
12
10
  value: "low",
13
11
  label: "Guessing",
14
- icon: /* @__PURE__ */ e(Q, { className: "size-3.5" })
12
+ icon: /* @__PURE__ */ e($, { className: "size-3.5" })
15
13
  },
16
14
  {
17
15
  value: "medium",
18
16
  label: "Somewhat sure",
19
- icon: /* @__PURE__ */ e($, { className: "size-3.5" })
17
+ icon: /* @__PURE__ */ e(G, { className: "size-3.5" })
20
18
  },
21
19
  {
22
20
  value: "high",
23
21
  label: "Confident",
24
- icon: /* @__PURE__ */ e(G, { className: "size-3.5" })
22
+ icon: /* @__PURE__ */ e(K, { className: "size-3.5" })
25
23
  }
26
24
  ], be = T(function({
27
25
  value: r,
@@ -78,7 +76,7 @@ const te = [
78
76
  style: s
79
77
  }) => {
80
78
  const n = v(null), u = v(null), m = P(
81
- () => a.reduce((d, b, p) => b.time <= r ? p : d, -1),
79
+ () => a.reduce((d, b, g) => b.time <= r ? g : d, -1),
82
80
  [a, r]
83
81
  );
84
82
  return z(() => {
@@ -95,7 +93,7 @@ const te = [
95
93
  ),
96
94
  style: s,
97
95
  children: [
98
- /* @__PURE__ */ e(K, { size: 20, className: "text-muted-foreground" }),
96
+ /* @__PURE__ */ e(U, { size: 20, className: "text-muted-foreground" }),
99
97
  /* @__PURE__ */ e("span", { className: "text-sm text-muted-foreground", children: "No transcript available" })
100
98
  ]
101
99
  }
@@ -109,21 +107,21 @@ const te = [
109
107
  ),
110
108
  style: { maxHeight: o, ...s },
111
109
  children: a.map((d, b) => {
112
- const p = b === m;
110
+ const g = b === m;
113
111
  return /* @__PURE__ */ f(
114
112
  "div",
115
113
  {
116
- ref: p ? u : void 0,
114
+ ref: g ? u : void 0,
117
115
  className: c(
118
116
  "flex gap-3 px-3 py-2 text-sm transition-colors",
119
- p && "bg-primary/10",
117
+ g && "bg-primary/10",
120
118
  !i && t && "cursor-pointer hover:bg-muted"
121
119
  ),
122
120
  onClick: () => !i && (t == null ? void 0 : t(d.time)),
123
121
  role: !i && t ? "button" : void 0,
124
122
  tabIndex: !i && t ? 0 : void 0,
125
- onKeyDown: !i && t ? (g) => {
126
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), t(d.time));
123
+ onKeyDown: !i && t ? (p) => {
124
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), t(d.time));
127
125
  } : void 0,
128
126
  children: [
129
127
  /* @__PURE__ */ e(
@@ -131,7 +129,7 @@ const te = [
131
129
  {
132
130
  className: c(
133
131
  "shrink-0 font-mono text-xs tabular-nums pt-0.5",
134
- p ? "text-primary font-medium" : "text-muted-foreground"
132
+ g ? "text-primary font-medium" : "text-muted-foreground"
135
133
  ),
136
134
  children: C(Math.floor(d.time))
137
135
  }
@@ -144,7 +142,7 @@ const te = [
144
142
  /* @__PURE__ */ e(
145
143
  "span",
146
144
  {
147
- className: p ? "text-foreground" : "text-muted-foreground",
145
+ className: g ? "text-foreground" : "text-muted-foreground",
148
146
  children: d.text
149
147
  }
150
148
  )
@@ -207,7 +205,7 @@ const te = [
207
205
  className: "size-full object-cover"
208
206
  }
209
207
  ),
210
- u && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ e(y, { size: 14, className: "ml-px text-white" }) })
208
+ u && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ e(N, { size: 14, className: "ml-px text-white" }) })
211
209
  ]
212
210
  }
213
211
  ) : /* @__PURE__ */ e(
@@ -276,13 +274,13 @@ const te = [
276
274
  loading: "lazy",
277
275
  className: "size-full object-cover transition-transform duration-300 group-hover:scale-105"
278
276
  }
279
- ) : /* @__PURE__ */ e("div", { className: "flex size-full items-center justify-center bg-muted", children: /* @__PURE__ */ e(U, { size: 32, className: "text-muted-foreground" }) }),
280
- /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/0 transition-colors group-hover:bg-black/20", children: /* @__PURE__ */ e("div", { className: "flex size-10 items-center justify-center rounded-full bg-black/60 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ e(y, { size: 20, className: "ml-0.5 text-white" }) }) }),
277
+ ) : /* @__PURE__ */ e("div", { className: "flex size-full items-center justify-center bg-muted", children: /* @__PURE__ */ e(_, { size: 32, className: "text-muted-foreground" }) }),
278
+ /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/0 transition-colors group-hover:bg-black/20", children: /* @__PURE__ */ e("div", { className: "flex size-10 items-center justify-center rounded-full bg-black/60 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ e(N, { size: 20, className: "ml-0.5 text-white" }) }) }),
281
279
  t != null && t > 0 && /* @__PURE__ */ e("span", { className: "absolute bottom-2 right-2 rounded bg-black/75 px-1.5 py-0.5 text-xs font-medium tabular-nums text-white", children: D(t) })
282
280
  ] }),
283
281
  /* @__PURE__ */ e("div", { className: "p-3", children: /* @__PURE__ */ e("h4", { className: "truncate text-sm font-medium text-foreground", children: r }) }),
284
282
  i != null && i >= 0 && /* @__PURE__ */ e("div", { className: "px-3 pb-3", children: /* @__PURE__ */ e(
285
- F,
283
+ E,
286
284
  {
287
285
  value: i,
288
286
  size: "sm",
@@ -291,7 +289,7 @@ const te = [
291
289
  ) })
292
290
  ]
293
291
  }
294
- ), ye = T(function({
292
+ ), Ne = T(function({
295
293
  bookmark: r,
296
294
  onSeek: t,
297
295
  onDelete: i,
@@ -308,7 +306,7 @@ const te = [
308
306
  ),
309
307
  style: s,
310
308
  children: [
311
- /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center size-8 rounded-full bg-primary/10 text-primary", children: /* @__PURE__ */ e(_, { size: 16 }) }),
309
+ /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center size-8 rounded-full bg-primary/10 text-primary", children: /* @__PURE__ */ e(O, { size: 16 }) }),
312
310
  /* @__PURE__ */ f("div", { className: "min-w-0 flex-1", children: [
313
311
  /* @__PURE__ */ e(
314
312
  "button",
@@ -344,14 +342,14 @@ const te = [
344
342
  className: "inline-flex items-center justify-center rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive",
345
343
  "aria-label": "Delete bookmark",
346
344
  onClick: () => i(r.id),
347
- children: /* @__PURE__ */ e(O, { size: 14 })
345
+ children: /* @__PURE__ */ e(X, { size: 14 })
348
346
  }
349
347
  )
350
348
  ] })
351
349
  ]
352
350
  }
353
351
  );
354
- }), Ne = T(function({
352
+ }), ye = T(function({
355
353
  thumbnail: r,
356
354
  title: t,
357
355
  duration: i,
@@ -379,7 +377,7 @@ const te = [
379
377
  (d.key === "Enter" || d.key === " ") && (d.preventDefault(), n());
380
378
  } : void 0,
381
379
  children: [
382
- /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center size-6", children: o === "completed" ? /* @__PURE__ */ e("span", { className: "text-success", children: /* @__PURE__ */ e(V, { size: 18 }) }) : l ? /* @__PURE__ */ e("span", { className: "text-primary", children: /* @__PURE__ */ e(y, { size: 16, className: "ml-px" }) }) : s != null ? /* @__PURE__ */ e("span", { className: "text-xs font-medium tabular-nums text-muted-foreground", children: s }) : /* @__PURE__ */ e("span", { className: "text-muted-foreground", children: /* @__PURE__ */ e(X, { size: 16 }) }) }),
380
+ /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center size-6", children: o === "completed" ? /* @__PURE__ */ e("span", { className: "text-success", children: /* @__PURE__ */ e(R, { size: 18 }) }) : l ? /* @__PURE__ */ e("span", { className: "text-primary", children: /* @__PURE__ */ e(N, { size: 16, className: "ml-px" }) }) : s != null ? /* @__PURE__ */ e("span", { className: "text-xs font-medium tabular-nums text-muted-foreground", children: s }) : /* @__PURE__ */ e("span", { className: "text-muted-foreground", children: /* @__PURE__ */ e(Z, { size: 16 }) }) }),
383
381
  r && /* @__PURE__ */ f(
384
382
  "div",
385
383
  {
@@ -398,7 +396,7 @@ const te = [
398
396
  )
399
397
  }
400
398
  ),
401
- l && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ e(y, { size: 12, className: "ml-px text-white" }) })
399
+ l && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ e(N, { size: 12, className: "ml-px text-white" }) })
402
400
  ]
403
401
  }
404
402
  ),
@@ -429,35 +427,35 @@ function we({
429
427
  }) {
430
428
  const [l, s] = B(a), n = v(o ? "running" : "idle"), u = v(null), m = v(t), d = v(i), b = v(!1);
431
429
  m.current = t, d.current = i;
432
- const p = x(() => {
430
+ const g = x(() => {
433
431
  u.current != null && (clearInterval(u.current), u.current = null);
434
- }, []), g = x(() => {
435
- p(), u.current = setInterval(() => {
432
+ }, []), p = x(() => {
433
+ g(), u.current = setInterval(() => {
436
434
  s((w) => {
437
435
  var A, I;
438
436
  const h = w - 1;
439
- return !b.current && h <= r && h > 0 && (b.current = !0, (A = d.current) == null || A.call(d)), h <= 0 ? (p(), n.current = "expired", (I = m.current) == null || I.call(m), 0) : h;
437
+ return !b.current && h <= r && h > 0 && (b.current = !0, (A = d.current) == null || A.call(d)), h <= 0 ? (g(), n.current = "expired", (I = m.current) == null || I.call(m), 0) : h;
440
438
  });
441
439
  }, 1e3);
442
- }, [p, r]), M = x(() => {
443
- s(a), b.current = !1, n.current = "running", g();
444
- }, [a, g]), R = x(() => {
445
- n.current === "running" && (p(), n.current = "paused", s((w) => w));
446
- }, [p]), k = x(() => {
447
- n.current === "paused" && (n.current = "running", g());
448
- }, [g]), L = x(() => {
449
- p(), n.current = "idle", b.current = !1, s(a);
450
- }, [p, a]);
451
- z(() => (o && g(), p), [o, g, p]);
452
- const N = n.current;
440
+ }, [g, r]), j = x(() => {
441
+ s(a), b.current = !1, n.current = "running", p();
442
+ }, [a, p]), M = x(() => {
443
+ n.current === "running" && (g(), n.current = "paused", s((w) => w));
444
+ }, [g]), k = x(() => {
445
+ n.current === "paused" && (n.current = "running", p());
446
+ }, [p]), L = x(() => {
447
+ g(), n.current = "idle", b.current = !1, s(a);
448
+ }, [g, a]);
449
+ z(() => (o && p(), g), [o, p, g]);
450
+ const y = n.current;
453
451
  return {
454
452
  timeRemaining: l,
455
- isRunning: N === "running",
456
- isPaused: N === "paused",
457
- isExpired: N === "expired",
453
+ isRunning: y === "running",
454
+ isPaused: y === "paused",
455
+ isExpired: y === "expired",
458
456
  isWarning: l <= r && l > 0,
459
- start: M,
460
- pause: R,
457
+ start: j,
458
+ pause: M,
461
459
  resume: k,
462
460
  reset: L
463
461
  };
@@ -470,7 +468,7 @@ function Ce({
470
468
  className: o,
471
469
  style: l
472
470
  }) {
473
- return /* @__PURE__ */ e(S, { licenseKey: t, validateUrl: i, children: /* @__PURE__ */ e(
471
+ return /* @__PURE__ */ e(F, { licenseKey: t, validateUrl: i, children: /* @__PURE__ */ e(
474
472
  "div",
475
473
  {
476
474
  className: `hydra-root${r === "dark" ? " dark" : ""}${o ? ` ${o}` : ""}`,
@@ -556,11 +554,11 @@ const re = ae(
556
554
  variant: "info"
557
555
  }
558
556
  }
559
- ), j = H(null), se = {
560
- success: V,
561
- error: Y,
562
- warning: J,
563
- info: Z
557
+ ), V = Q(null), se = {
558
+ success: R,
559
+ error: W,
560
+ warning: Y,
561
+ info: J
564
562
  };
565
563
  function ie({
566
564
  item: a,
@@ -587,7 +585,7 @@ function ie({
587
585
  onClick: () => r(a.id),
588
586
  "aria-label": "Dismiss notification",
589
587
  className: "absolute right-2 top-2 rounded-md p-1 opacity-70 hover:opacity-100 transition-opacity",
590
- children: /* @__PURE__ */ e(W, { className: "size-3.5" })
588
+ children: /* @__PURE__ */ e(S, { className: "size-3.5" })
591
589
  }
592
590
  )
593
591
  ]
@@ -602,7 +600,7 @@ function oe({ children: a }) {
602
600
  }, []), o = x((l) => {
603
601
  t((s) => s.filter((n) => n.id !== l));
604
602
  }, []);
605
- return /* @__PURE__ */ f(j.Provider, { value: { toast: i }, children: [
603
+ return /* @__PURE__ */ f(V.Provider, { value: { toast: i }, children: [
606
604
  a,
607
605
  typeof document < "u" && ee(
608
606
  /* @__PURE__ */ e(
@@ -618,7 +616,7 @@ function oe({ children: a }) {
618
616
  ] });
619
617
  }
620
618
  function Ie() {
621
- const a = E(j);
619
+ const a = H(V);
622
620
  if (!a) throw new Error("useToast must be used within a ToastProvider");
623
621
  return a;
624
622
  }
@@ -639,139 +637,147 @@ const Pe = oe, le = /* @__PURE__ */ new Set([
639
637
  function Be(a) {
640
638
  return le.has(a);
641
639
  }
640
+ const de = /* @__PURE__ */ new Set([
641
+ "ContentAuthoringStudio"
642
+ ]);
643
+ function Re(a) {
644
+ return de.has(a);
645
+ }
642
646
  export {
643
647
  Me as AchievementBadge,
644
- Re as ActivityTimeline,
645
- ke as Alert,
646
- Le as AlertDescription,
648
+ ke as ActivityTimeline,
649
+ Le as Alert,
650
+ Ee as AlertDescription,
647
651
  Fe as AlertDialog,
648
- Ee as AlertDialogAction,
649
- He as AlertDialogBackdrop,
650
- Qe as AlertDialogCancel,
651
- $e as AlertDialogContent,
652
- Ge as AlertDialogDescription,
653
- Ke as AlertDialogFooter,
654
- Ue as AlertDialogHeader,
655
- _e as AlertDialogPortal,
652
+ He as AlertDialogAction,
653
+ Qe as AlertDialogBackdrop,
654
+ $e as AlertDialogCancel,
655
+ Ge as AlertDialogContent,
656
+ Ke as AlertDialogDescription,
657
+ Ue as AlertDialogFooter,
658
+ _e as AlertDialogHeader,
659
+ Oe as AlertDialogPortal,
656
660
  qe as AlertDialogTitle,
657
- Oe as AlertDialogTrigger,
658
- Xe as AlertTitle,
659
- Ze as AssessmentToolbar,
660
- Je as AttachmentList,
661
- Ye as AudioPlayer,
661
+ Xe as AlertDialogTrigger,
662
+ Ze as AlertTitle,
663
+ Je as AssessmentToolbar,
664
+ Ye as AttachmentList,
665
+ We as AudioPlayer,
662
666
  Te as Avatar,
663
667
  Ae as AvatarFallback,
664
668
  ze as AvatarImage,
665
- We as Badge,
666
- Se as Button,
667
- ea as Card,
668
- aa as CardAction,
669
- ta as CardContent,
670
- ra as CardDescription,
671
- sa as CardFooter,
672
- ia as CardHeader,
673
- na as CardTitle,
674
- oa as Choice,
675
- la as CodeBlock,
669
+ Se as Badge,
670
+ ea as Button,
671
+ aa as Card,
672
+ ta as CardAction,
673
+ ra as CardContent,
674
+ sa as CardDescription,
675
+ ia as CardFooter,
676
+ na as CardHeader,
677
+ oa as CardTitle,
678
+ la as Choice,
679
+ da as CodeBlock,
676
680
  be as ConfidenceIndicator,
677
- da as ConfirmDialog,
678
- ca as ContentBlock,
679
- ua as CourseCard,
680
- ma as CurriculumItemRow,
681
- fa as CurriculumTree,
681
+ ca as ConfirmDialog,
682
+ ua as ContentBlock,
683
+ ma as CourseCard,
684
+ fa as CurriculumItemRow,
685
+ ga as CurriculumTree,
682
686
  pa as Drawer,
683
- ga as DrawerBackdrop,
684
- ba as DrawerBody,
685
- xa as DrawerClose,
686
- va as DrawerContent,
687
- ha as DrawerDescription,
687
+ ba as DrawerBackdrop,
688
+ xa as DrawerBody,
689
+ va as DrawerClose,
690
+ ha as DrawerContent,
691
+ Na as DrawerDescription,
688
692
  ya as DrawerFooter,
689
- Na as DrawerHeader,
690
- wa as DrawerNav,
691
- Ca as DrawerNavItem,
692
- Da as DrawerPortal,
693
- Ta as DrawerTitle,
694
- za as DrawerTrigger,
695
- Aa as DrawerViewport,
696
- Ia as DueDateDisplay,
697
- Pa as EmbedBlock,
698
- Ba as EmptyState,
693
+ wa as DrawerHeader,
694
+ Ca as DrawerNav,
695
+ Da as DrawerNavItem,
696
+ Ta as DrawerPortal,
697
+ za as DrawerTitle,
698
+ Aa as DrawerTrigger,
699
+ Ia as DrawerViewport,
700
+ Pa as DueDateDisplay,
701
+ Ba as EmbedBlock,
702
+ Ra as EmptyState,
699
703
  Va as Essay,
700
704
  ja as FeedbackBanner,
701
705
  Ma as FileUploadZone,
702
- Ra as FillInTheBlank,
703
- ka as Flashcard,
704
- La as FlashcardDeck,
706
+ ka as FillInTheBlank,
707
+ La as Flashcard,
708
+ Ea as FlashcardDeck,
705
709
  Fa as GradeIndicator,
706
- Ea as Hotspot,
707
- Et as HydraLicenseContext,
708
- S as HydraLicenseProvider,
710
+ Ha as Hotspot,
711
+ Qa as HydraLicenseContext,
712
+ F as HydraLicenseProvider,
709
713
  Ce as HydraProvider,
710
- Ha as InlineChoice,
711
- Qa as Input,
712
- $a as LearningObjectIcon,
713
- Ga as LikertScale,
714
- Ka as Matching,
715
- Ua as MultipleChoice,
716
- _a as Numeric,
717
- qa as Ordering,
714
+ $a as InlineChoice,
715
+ Ga as Input,
716
+ Ka as LearningObjectIcon,
717
+ Ua as LikertScale,
718
+ _a as Matching,
719
+ Oa as MultipleChoice,
720
+ qa as Numeric,
721
+ Xa as Ordering,
718
722
  le as PRO_MODULES,
719
- Oa as Pagination,
720
- Xa as PostCard,
721
- Ht as ProBadge,
722
- F as Progress,
723
- Za as ProgressRing,
724
- Ja as QuestionHeaderBar,
725
- Ya as QuestionMaterialsDrawer,
726
- Wa as QuestionNavigator,
727
- Sa as QuestionRenderer,
728
- et as RichTextEditor,
729
- at as Scenario,
730
- tt as SearchInput,
731
- rt as Separator,
732
- st as Skeleton,
733
- it as Spreadsheet,
734
- nt as StarRating,
735
- ot as StatCard,
736
- lt as StatusBadge,
737
- dt as Stepper,
738
- ct as StreakBadge,
739
- ut as Table,
740
- mt as TableBody,
741
- ft as TableCaption,
742
- pt as TableCell,
743
- gt as TableFooter,
744
- bt as TableHead,
745
- xt as TableHeader,
746
- vt as TableRow,
747
- ht as Tabs,
748
- yt as TabsContent,
749
- Nt as TabsList,
750
- wt as TabsTrigger,
723
+ de as PRO_SECTIONS,
724
+ Za as Pagination,
725
+ Ja as PostCard,
726
+ Ya as ProBadge,
727
+ E as Progress,
728
+ Wa as ProgressRing,
729
+ Sa as QuestionHeaderBar,
730
+ et as QuestionMaterialsDrawer,
731
+ at as QuestionNavigator,
732
+ tt as QuestionRenderer,
733
+ rt as RichTextEditor,
734
+ st as Scenario,
735
+ it as SearchInput,
736
+ nt as Separator,
737
+ ot as Skeleton,
738
+ lt as Spreadsheet,
739
+ dt as StarRating,
740
+ ct as StatCard,
741
+ ut as StatusBadge,
742
+ mt as Stepper,
743
+ ft as StreakBadge,
744
+ gt as Table,
745
+ pt as TableBody,
746
+ bt as TableCaption,
747
+ xt as TableCell,
748
+ vt as TableFooter,
749
+ ht as TableHead,
750
+ Nt as TableHeader,
751
+ yt as TableRow,
752
+ wt as Tabs,
753
+ Ct as TabsContent,
754
+ Dt as TabsList,
755
+ Tt as TabsTrigger,
751
756
  De as Textarea,
752
- Ct as TimerDisplay,
757
+ zt as TimerDisplay,
753
758
  oe as ToastProvider,
754
759
  Pe as Toaster,
755
- Dt as Tooltip,
756
- Tt as TooltipContent,
757
- zt as TooltipTrigger,
758
- At as TrueFalse,
759
- It as UserAvatar,
760
- ye as VideoBookmark,
760
+ At as Tooltip,
761
+ It as TooltipContent,
762
+ Pt as TooltipTrigger,
763
+ Bt as TrueFalse,
764
+ Rt as UserAvatar,
765
+ Ne as VideoBookmark,
761
766
  ve as VideoChapterList,
762
- Pt as VideoPlayer,
763
- Ne as VideoPlaylistItem,
767
+ Vt as VideoPlayer,
768
+ ye as VideoPlaylistItem,
764
769
  he as VideoThumbnailCard,
765
770
  xe as VideoTranscript,
766
- Bt as alertVariants,
767
- Vt as badgeVariants,
768
- jt as buttonVariants,
771
+ jt as alertVariants,
772
+ Mt as badgeVariants,
773
+ kt as buttonVariants,
769
774
  c as cn,
770
- Mt as drawerContentVariants,
775
+ Lt as drawerContentVariants,
771
776
  Be as isProModule,
772
- Rt as progressVariants,
773
- kt as scoreQuestion,
774
- Lt as scoreScenarioSubQuestions,
777
+ Re as isProSection,
778
+ Et as progressVariants,
779
+ Ft as scoreQuestion,
780
+ Ht as scoreScenarioSubQuestions,
775
781
  re as toastVariants,
776
782
  we as useCountdown,
777
783
  Qt as useHydraLicense,