@useloops/design-system 1.4.490 → 1.4.492

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.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{forwardRef as n,useState as i,useEffect as o,Fragment as r,startTransition as s,useRef as a,useCallback as l,createContext as c,useMemo as d,useContext as u,useImperativeHandle as p,createElement as h,cloneElement as m,useId as x,useInsertionEffect as g,Children as f,isValidElement as v,useLayoutEffect as C,Component as y,memo as w}from"react";import{SvgIcon as j,useTheme as b,Tooltip as k,Box as M,Typography as z,alpha as S,useMediaQuery as V,styled as F,TextField as T,autocompleteClasses as L,Checkbox as P,Stack as A,FormLabel as B,Autocomplete as E,Chip as H,Popper as R,MenuItem as I,Select as $,FormControlLabel as D,Switch as O,Accordion as _,AccordionSummary as N,AccordionDetails as W,Container as Z,Grid2 as U,Avatar as G,AvatarGroup as q,Link as Y,linkClasses as X,Button as K,InputAdornment as Q,FormGroup as J,createFilterOptions as ee,InputLabel as te,Radio as ne,RadioGroup as ie,Menu as oe,ButtonBase as re,Divider as se,selectClasses as ae,Slider as le,Rating as ce,LinearProgress as de,linearProgressClasses as ue,IconButton as pe,CircularProgress as he,ButtonGroup as me,Fade as xe,Skeleton as ge,paperClasses as fe,Paper as ve,ClickAwayListener as Ce,Grow as ye,boxClasses as we,Slide as je,typographyClasses as be,containerClasses as ke,chipClasses as Me,Modal as ze,Backdrop as Se,formControlLabelClasses as Ve,checkboxClasses as Fe,ListItemButton as Te,CardActionArea as Le,CardContent as Pe,sliderClasses as Ae,createTheme as Be,GlobalStyles as Ee,CssBaseline as He}from"@mui/material";import{mergeSx as Re}from"merge-sx";import{Check as Ie,Remove as $e,KeyboardArrowDown as De,CloseRounded as Oe,Info as _e,ErrorOutline as Ne,ArrowDropUp as We,ArrowDropDown as Ze,DragHandle as Ue,ExpandLess as Ge,VolumeUp as qe,VolumeOff as Ye}from"@mui/icons-material";import{styled as Xe,useTheme as Ke,useThemeProps as Qe,alpha as Je,ThemeProvider as et}from"@mui/material/styles";import{Controller as tt,useForm as nt}from"react-hook-form";import{isValidPhoneNumber as it}from"react-phone-number-input";import{NumericFormat as ot}from"react-number-format";import{defaultDropAnimationSideEffects as rt,DragOverlay as st,useSensors as at,useSensor as lt,KeyboardSensor as ct,DndContext as dt,MeasuringStrategy as ut,MouseSensor as pt,TouchSensor as ht}from"@dnd-kit/core";import{useSortable as mt,defaultAnimateLayoutChanges as xt,sortableKeyboardCoordinates as gt,arrayMove as ft,SortableContext as vt,horizontalListSortingStrategy as Ct,verticalListSortingStrategy as yt}from"@dnd-kit/sortable";import{CSS as wt}from"@dnd-kit/utilities";import{createPortal as jt}from"react-dom";import{Placeholder as bt}from"@tiptap/extension-placeholder";import kt from"@tiptap/extension-underline";import{StarterKit as Mt}from"@tiptap/starter-kit";import{RichTextEditor as zt,MenuButtonBold as St,MenuButtonItalic as Vt,MenuButtonUnderline as Ft}from"mui-tiptap";import{zxcvbnOptions as Tt,zxcvbn as Lt}from"@zxcvbn-ts/core";import*as Pt from"@zxcvbn-ts/language-common";import*as At from"@zxcvbn-ts/language-en";import{ErrorMessage as Bt}from"@hookform/error-message";import Et,{domToReact as Ht}from"html-react-parser";import{LazyLoadImage as Rt}from"react-lazy-load-image-component";import{DotLottieReact as It}from"@lottiefiles/dotlottie-react";import $t from"markdown-to-jsx";import Dt from"@mui/icons-material/CameraAlt";import Ot from"@number-flow/react";import _t from"@mui/material/Box";import Nt from"@mui/material/ListItem";import Wt from"@mui/material/ListItemIcon";import Zt from"@mui/material/ListItemText";import{TimelineDot as Ut,timelineItemClasses as Gt,TimelineItem as qt,TimelineSeparator as Yt,TimelineConnector as Xt,TimelineContent as Kt}from"@mui/lab";import{capitalize as Qt}from"@mui/material/utils";import Jt from"dayjs";import{TruncatedList as en}from"react-truncate-list";import tn from"@use-it/event-listener";import nn from"@mui/icons-material/VolumeDown";import{stringify as on,rulesheet as rn,middleware as sn,RULESET as an,combine as ln,match as cn,serialize as dn,copy as un,replace as pn,WEBKIT as hn,MOZ as mn,MS as xn,KEYFRAMES as gn,DECLARATION as fn,compile as vn,dealloc as Cn,alloc as yn,hash as wn,charat as jn,strlen as bn,indexof as kn,next as Mn,token as zn,from as Sn,peek as Vn,delimit as Fn,slice as Tn,position as Ln,prefixer as Pn}from"stylis";import{CacheProvider as An}from"@emotion/react";import Bn from"stylis-plugin-rtl";const En={0:"#FFFFFF",50:"#F8F8F9",100:"#E8E7EB",200:"#D1CFD6",300:"#BAB7C2",400:"#A39FAD",500:"#8C8799",600:"#756F85",700:"#5E5770",800:"#473F5C",900:"#302747",950:"#251B3D",1e3:"#190F33",1100:"#0D081A"},Hn={0:"#130B26",50:"#1C142F",100:"#2A223C",200:"#413A51",300:"#585267",400:"#6F697D",500:"#868092",600:"#9D98A8",700:"#B4AFBE",800:"#CBC7D4",900:"#E2DEE9",1e3:"#F9F6FF",950:"#EDEAF4",1100:"#FFFFFF"},Rn={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},In={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},$n={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},Dn={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},On={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},_n={0:"#FFF9E5",100:"#FFECB2",200:"#FFDF80",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},Nn={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},Wn={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Zn={light:{0:En[0],50:En[50],100:En[100],200:En[200],300:En[300],400:En[400],500:En[500],600:En[600],700:En[700],800:En[800],900:En[900],950:En[950],1e3:En[1e3],1100:En[1100]},dark:{0:Hn[0],50:Hn[50],100:Hn[100],200:Hn[200],300:Hn[300],400:Hn[400],500:Hn[500],600:Hn[600],700:Hn[700],800:Hn[800],900:Hn[900],950:Hn[950],1e3:Hn[1e3],1100:Hn[1100]}},Un=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),Gn=Un($n),qn=Un(Dn),Yn=Un(On),Xn=Un(_n),Kn=Un(Nn),Qn=Un(Wn),Jn={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},ei={0:0,25:2,50:4,100:8,150:12,200:16,300:24,350:28,400:32,500:40,600:48,800:64,1e3:80,2e3:160},ti=ei[100],ni={none:ei[0],xs:ei[50]/ti,sm:ei[100]/ti,md:ei[200]/ti,lg:ei[400]/ti,xl:ei[600]/ti,xxl:ei[1e3]/ti,xxxl:ei[2e3]/ti},ii={none:ei[0],xs:ei[50]/ti,sm:ei[100]/ti,md:ei[200]/ti,lg:ei[400]/ti,xl:ei[600]/ti},oi={none:ei[0],xs:ei[25]/ti,sm:ei[50]/ti,md:ei[100]/ti,lg:ei[200]/ti,xl:ei[300]/ti,round:999},ri={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",float:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 8px 16px 0px rgba(6, 4, 13, 0.08), 0px 2px 4px 0px rgba(6, 4, 13, 0.08)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)"},si={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",float:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 8px 16px rgba(6, 4, 13, 0.08)) drop-shadow(0px 2px 4px rgba(6, 4, 13, 0.08))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},ai={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},li={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ci={light:{surface:{sunken:En[50],default:En[0],raised:En[0],float:En[0],overlay:En[0],scrim:Rn[5],transparent:Rn[.01]},interaction:{none:Rn[0],hover:Rn[1],press:Rn[2],hoverOnDark:Rn[3],pressOnDark:Rn[4],disabled:Rn[2]},stroke:{default:En[200],light:En[100],focus:$n[500],disabled:En[100]},text:{primary:En[1e3],secondary:En[600],placeholder:En[400],disabled:En[300],link:$n[800],linkHover:$n[900],primaryInverted:En[0],secondaryInverted:En[400],placeholderInverted:En[600],disabledInverted:En[700],positive:Wn[800],negative:Dn[700],lockedWhite:En[0]},icon:{primary:En[1e3],secondary:En[600],disabled:En[300],primaryInverted:En[0],secondaryInverted:En[400],disabledInverted:En[700],positive:Wn[800],negative:Dn[700],lockedWhite:En[0],link:$n[800],linkHover:$n[900]},input:{default:En[0],disabled:"#FFFFFF80"},skeleton:{default:Rn[2]},data:{sentimentVeryPositive:Wn[300],sentimentPositive:Wn[100],sentimentNeutral:En[100],sentimentNegative:Dn[100],sentimentVeryNegative:Dn[300]}},dark:{surface:{default:Hn[50],sunken:Hn[0],raised:Hn[100],float:Hn[100],overlay:Hn[200],scrim:In[5],transparent:In[.01]},interaction:{none:In[0],hover:In[1],press:In[2],hoverOnDark:In[3],pressOnDark:In[4],disabled:In[2]},stroke:{default:Hn[200],light:Hn[100],focus:$n[500],disabled:Hn[100]},text:{primary:Hn[1e3],secondary:Hn[700],placeholder:Hn[400],disabled:Hn[300],link:$n[100],linkHover:$n[0],primaryInverted:Hn[0],secondaryInverted:Hn[400],placeholderInverted:Hn[600],disabledInverted:Hn[700],positive:Wn[300],negative:Dn[300],lockedWhite:En[0]},icon:{primary:Hn[1e3],secondary:Hn[700],disabled:Hn[300],primaryInverted:Hn[0],secondaryInverted:Hn[400],disabledInverted:Hn[700],positive:Wn[300],negative:Dn[300],lockedWhite:En[0],link:$n[100],linkHover:$n[0]},input:{default:Hn[100],disabled:"#2A223C80"},skeleton:{default:In[2]},data:{sentimentVeryPositive:Wn[600],sentimentPositive:Wn[800],sentimentNeutral:Hn[100],sentimentNegative:Dn[800],sentimentVeryNegative:Dn[600]}}};var di;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(di||(di={}));const ui={Domaine:{name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:di.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:di.BOLD}},FoundersGrotesk:{name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:di.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:di.BOLD}},FontStack:{Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'}};function pi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hi,mi={exports:{}},xi={};var gi,fi={};
1
+ import*as e from"react";import t,{forwardRef as n,useState as i,useEffect as o,Fragment as r,startTransition as s,useRef as a,useCallback as l,createContext as c,useMemo as d,useContext as u,useImperativeHandle as p,createElement as h,cloneElement as m,useId as x,useInsertionEffect as g,Children as f,isValidElement as v,useLayoutEffect as C,Component as y,memo as w}from"react";import{SvgIcon as j,useTheme as b,Tooltip as k,Box as M,Typography as z,alpha as S,useMediaQuery as V,styled as F,TextField as T,autocompleteClasses as L,Checkbox as P,Stack as A,FormLabel as B,Autocomplete as E,Chip as H,Popper as R,MenuItem as I,Select as $,FormControlLabel as D,Switch as O,Accordion as _,AccordionSummary as N,AccordionDetails as W,Container as Z,Grid2 as U,Avatar as G,AvatarGroup as q,Link as Y,linkClasses as X,Button as K,InputAdornment as Q,FormGroup as J,createFilterOptions as ee,InputLabel as te,Radio as ne,RadioGroup as ie,Menu as oe,ButtonBase as re,Divider as se,selectClasses as ae,Slider as le,Rating as ce,LinearProgress as de,linearProgressClasses as ue,IconButton as pe,CircularProgress as he,ButtonGroup as me,Fade as xe,Skeleton as ge,paperClasses as fe,Paper as ve,ClickAwayListener as Ce,Grow as ye,boxClasses as we,Slide as je,typographyClasses as be,containerClasses as ke,chipClasses as Me,Modal as ze,Backdrop as Se,formControlLabelClasses as Ve,checkboxClasses as Fe,ListItemButton as Te,CardActionArea as Le,CardContent as Pe,sliderClasses as Ae,createTheme as Be,GlobalStyles as Ee,CssBaseline as He}from"@mui/material";import{mergeSx as Re}from"merge-sx";import{Check as Ie,Remove as $e,KeyboardArrowDown as De,CloseRounded as Oe,Info as _e,ErrorOutline as Ne,ArrowDropUp as We,ArrowDropDown as Ze,DragHandle as Ue,ExpandLess as Ge,VolumeUp as qe,VolumeOff as Ye}from"@mui/icons-material";import{styled as Xe,useTheme as Ke,useThemeProps as Qe,alpha as Je,ThemeProvider as et}from"@mui/material/styles";import{Controller as tt,useForm as nt}from"react-hook-form";import{isValidPhoneNumber as it}from"react-phone-number-input";import{NumericFormat as ot}from"react-number-format";import{defaultDropAnimationSideEffects as rt,DragOverlay as st,useSensors as at,useSensor as lt,KeyboardSensor as ct,DndContext as dt,MeasuringStrategy as ut,MouseSensor as pt,TouchSensor as ht}from"@dnd-kit/core";import{useSortable as mt,defaultAnimateLayoutChanges as xt,sortableKeyboardCoordinates as gt,arrayMove as ft,SortableContext as vt,horizontalListSortingStrategy as Ct,verticalListSortingStrategy as yt}from"@dnd-kit/sortable";import{CSS as wt}from"@dnd-kit/utilities";import{createPortal as jt}from"react-dom";import{Placeholder as bt}from"@tiptap/extension-placeholder";import kt from"@tiptap/extension-underline";import{StarterKit as Mt}from"@tiptap/starter-kit";import{RichTextEditor as zt,MenuButtonBold as St,MenuButtonItalic as Vt,MenuButtonUnderline as Ft}from"mui-tiptap";import{zxcvbnOptions as Tt,zxcvbn as Lt}from"@zxcvbn-ts/core";import*as Pt from"@zxcvbn-ts/language-common";import*as At from"@zxcvbn-ts/language-en";import{ErrorMessage as Bt}from"@hookform/error-message";import Et,{domToReact as Ht}from"html-react-parser";import{LazyLoadImage as Rt}from"react-lazy-load-image-component";import{DotLottieReact as It}from"@lottiefiles/dotlottie-react";import $t from"markdown-to-jsx";import Dt from"@mui/icons-material/CameraAlt";import Ot from"@number-flow/react";import _t from"@mui/material/Box";import Nt from"@mui/material/ListItem";import Wt from"@mui/material/ListItemIcon";import Zt from"@mui/material/ListItemText";import{TimelineDot as Ut,timelineItemClasses as Gt,TimelineItem as qt,TimelineSeparator as Yt,TimelineConnector as Xt,TimelineContent as Kt}from"@mui/lab";import{capitalize as Qt}from"@mui/material/utils";import Jt from"dayjs";import{TruncatedList as en}from"react-truncate-list";import tn from"@use-it/event-listener";import nn from"@mui/icons-material/VolumeDown";import{stringify as on,rulesheet as rn,middleware as sn,RULESET as an,combine as ln,match as cn,serialize as dn,copy as un,replace as pn,WEBKIT as hn,MOZ as mn,MS as xn,KEYFRAMES as gn,DECLARATION as fn,compile as vn,dealloc as Cn,alloc as yn,hash as wn,charat as jn,strlen as bn,indexof as kn,next as Mn,token as zn,from as Sn,peek as Vn,delimit as Fn,slice as Tn,position as Ln,prefixer as Pn}from"stylis";import{CacheProvider as An}from"@emotion/react";import Bn from"stylis-plugin-rtl";const En={0:"#FFFFFF",50:"#F8F8F9",100:"#E8E7EB",200:"#D1CFD6",300:"#BAB7C2",400:"#A39FAD",500:"#8C8799",600:"#756F85",700:"#5E5770",800:"#473F5C",900:"#302747",950:"#251B3D",1e3:"#190F33",1100:"#0D081A"},Hn={0:"#130B26",50:"#1C142F",100:"#2A223C",200:"#413A51",300:"#585267",400:"#6F697D",500:"#868092",600:"#9D98A8",700:"#B4AFBE",800:"#CBC7D4",900:"#E2DEE9",1e3:"#F9F6FF",950:"#EDEAF4",1100:"#FFFFFF"},Rn={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},In={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},$n={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},Dn={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},On={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},_n={0:"#FFF9E5",100:"#FFECB2",200:"#FFDF80",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},Nn={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},Wn={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Zn={light:{0:En[0],50:En[50],100:En[100],200:En[200],300:En[300],400:En[400],500:En[500],600:En[600],700:En[700],800:En[800],900:En[900],950:En[950],1e3:En[1e3],1100:En[1100]},dark:{0:Hn[0],50:Hn[50],100:Hn[100],200:Hn[200],300:Hn[300],400:Hn[400],500:Hn[500],600:Hn[600],700:Hn[700],800:Hn[800],900:Hn[900],950:Hn[950],1e3:Hn[1e3],1100:Hn[1100]}},Un=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),Gn=Un($n),qn=Un(Dn),Yn=Un(On),Xn=Un(_n),Kn=Un(Nn),Qn=Un(Wn),Jn={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},ei={0:0,25:2,50:4,100:8,150:12,200:16,300:24,350:28,400:32,500:40,600:48,800:64,1e3:80,2e3:160},ti=ei[100],ni={none:ei[0],xs:ei[50]/ti,sm:ei[100]/ti,md:ei[200]/ti,lg:ei[400]/ti,xl:ei[600]/ti,xxl:ei[1e3]/ti,xxxl:ei[2e3]/ti},ii={none:ei[0],xs:ei[50]/ti,sm:ei[100]/ti,md:ei[200]/ti,lg:ei[400]/ti,xl:ei[600]/ti},oi={none:ei[0],xs:ei[25]/ti,sm:ei[50]/ti,md:ei[100]/ti,lg:ei[200]/ti,xl:ei[300]/ti,round:999},ri={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",float:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 8px 16px 0px rgba(6, 4, 13, 0.08), 0px 2px 4px 0px rgba(6, 4, 13, 0.08)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)"},si={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",float:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 8px 16px rgba(6, 4, 13, 0.08)) drop-shadow(0px 2px 4px rgba(6, 4, 13, 0.08))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},ai={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},li={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ci={light:{surface:{sunken:En[50],default:En[0],raised:En[0],float:En[0],overlay:En[0],scrim:Rn[5],transparent:Rn[.01]},interaction:{none:Rn[0],hover:Rn[1],press:Rn[2],hoverOnDark:Rn[3],pressOnDark:Rn[4],disabled:Rn[2],disabledMuted:Rn[1]},stroke:{default:En[200],light:En[100],focus:$n[500],disabled:En[100]},text:{primary:En[1e3],secondary:En[600],placeholder:En[400],disabled:En[300],link:$n[800],linkHover:$n[900],primaryInverted:En[0],secondaryInverted:En[400],placeholderInverted:En[600],disabledInverted:En[700],positive:Wn[800],negative:Dn[700],lockedWhite:En[0]},icon:{primary:En[1e3],secondary:En[600],disabled:En[300],primaryInverted:En[0],secondaryInverted:En[400],disabledInverted:En[700],positive:Wn[800],negative:Dn[700],lockedWhite:En[0],link:$n[800],linkHover:$n[900]},input:{default:En[0],disabled:"#FFFFFF80"},skeleton:{default:Rn[2]},data:{sentimentVeryPositive:Wn[300],sentimentPositive:Wn[100],sentimentNeutral:En[100],sentimentNegative:Dn[100],sentimentVeryNegative:Dn[300]}},dark:{surface:{default:Hn[50],sunken:Hn[0],raised:Hn[100],float:Hn[100],overlay:Hn[200],scrim:In[5],transparent:In[.01]},interaction:{none:In[0],hover:In[1],press:In[2],hoverOnDark:In[3],pressOnDark:In[4],disabled:In[2],disabledMuted:In[1]},stroke:{default:Hn[200],light:Hn[100],focus:$n[500],disabled:Hn[100]},text:{primary:Hn[1e3],secondary:Hn[700],placeholder:Hn[400],disabled:Hn[300],link:$n[100],linkHover:$n[0],primaryInverted:Hn[0],secondaryInverted:Hn[400],placeholderInverted:Hn[600],disabledInverted:Hn[700],positive:Wn[300],negative:Dn[300],lockedWhite:En[0]},icon:{primary:Hn[1e3],secondary:Hn[700],disabled:Hn[300],primaryInverted:Hn[0],secondaryInverted:Hn[400],disabledInverted:Hn[700],positive:Wn[300],negative:Dn[300],lockedWhite:En[0],link:$n[100],linkHover:$n[0]},input:{default:Hn[100],disabled:"#2A223C80"},skeleton:{default:In[2]},data:{sentimentVeryPositive:Wn[600],sentimentPositive:Wn[800],sentimentNeutral:Hn[100],sentimentNegative:Dn[800],sentimentVeryNegative:Dn[600]}}};var di;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(di||(di={}));const ui={Domaine:{name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:di.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:di.BOLD}},FoundersGrotesk:{name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:di.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:di.BOLD}},FontStack:{Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'}};function pi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hi,mi={exports:{}},xi={};var gi,fi={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -20,4 +20,4 @@ import*as e from"react";import t,{forwardRef as n,useState as i,useEffect as o,F
20
20
  object-assign
21
21
  (c) Sindre Sorhus
22
22
  @license MIT
23
- */function ub(){if(Qj)return Kj;Qj=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Kj=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(i,o){for(var r,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(i),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))t.call(r,c)&&(a[c]=r[c]);if(e){s=e(r);for(var d=0;d<s.length;d++)n.call(r,s[d])&&(a[s[d]]=r[s[d]])}}return a},Kj}function pb(){if(eb)return Jj;eb=1;return Jj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function hb(){return nb?tb:(nb=1,tb=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var mb=db();Uj.exports=function(){if(sb)return rb;sb=1;var e=db(),t=ub(),n=pb(),i=hb(),o=function(){if(ob)return ib;ob=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=pb(),n={},i=hb();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,r,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(i(o,c)){var d;try{if("function"!=typeof o[c]){var u=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}d=o[c](r,c,a,s,null,t)}catch(e){d=e}if(!d||d instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+d.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ib=o}(),r=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),rb=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator,d="<<anonymous>>",u={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:m(s),arrayOf:function(e){return m((function(t,i,o,r,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[i];if(!Array.isArray(a))return new h("Invalid "+r+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,r,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,i,o){var r=e[t];return a(r)?null:new h("Invalid "+i+" `"+o+"` of type `"+v(r)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,i,o,r){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+o+" `"+r+"` of type `"+v(s)+"` supplied to `"+i+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,i,o,r){if(!(t[n]instanceof e)){var s=e.name||d;return new h("Invalid "+o+" `"+r+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:d)+"` supplied to `"+i+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,i,o){return f(e[t])?null:new h("Invalid "+i+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,r,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var d in l)if(i(l,d)){var u=e(l,d,r,s,a+"."+d,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,i,o,r){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===C(t)?String(t):t}));return new h("Invalid "+o+" `"+r+"` of value `"+String(s)+"` supplied to `"+i+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+y(o)+" at index "+t+"."),s}return m((function(t,o,r,s,a){for(var l=[],c=0;c<e.length;c++){var d=(0,e[c])(t,o,r,s,a,n);if(null==d)return null;d.data&&i(d.data,"expectedType")&&l.push(d.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,i,o,r,s){var a=t[i],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(o,r,s,c,C(d));var u=d(a,c,o,r,s+"."+c,n);if(u)return u}return null}))},exact:function(e){return m((function(o,r,s,a,l){var c=o[r],d=v(c);if("object"!==d)return new h("Invalid "+a+" `"+l+"` of type `"+d+"` supplied to `"+s+"`, expected `object`.");var u=t({},o[r],e);for(var p in u){var m=e[p];if(i(e,p)&&"function"!=typeof m)return g(s,a,l,p,C(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var x=m(c,p,s,a,l+"."+p,n);if(x)return x}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},i=0;function o(o,s,a,c,u,p,m){if(c=c||d,p=p||a,m!==n){if(l){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&i<3&&(r("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,i++)}}return null==s[a]?o?null===s[a]?new h("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,u,p)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function x(e){return m((function(t,n,i,o,r,s){var a=t[n];return v(a)!==e?new h("Invalid "+o+" `"+r+"` of type `"+C(a)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,i,o){return new h((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function f(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(f);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,i=t.call(e);if(t!==e.entries){for(;!(n=i.next()).done;)if(!f(n.value))return!1}else for(;!(n=i.next()).done;){var o=n.value;if(o&&!f(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function C(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=C(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},rb}()(mb.isElement,!0)}else Uj.exports=function(){if(lb)return ab;lb=1;var e=pb();function t(){}function n(){}return n.resetWarningCache=t,ab=function(){function i(t,n,i,o,r,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return i}i.isRequired=i;var r={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:o,element:i,elementType:i,instanceOf:o,node:i,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return r.PropTypes=r,r}}()();var xb=pi(Uj.exports);function gb(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=gb(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function fb(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=gb(e))&&(i&&(i+=" "),i+=t);return i}const vb=e=>e,Cb=(()=>{let e=vb;return{configure(t){e=t},generate:t=>e(t),reset(){e=vb}}})(),yb={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function wb(e,t,n="Mui"){const i=yb[t];return i?`${n}-${i}`:`${Cb.generate(e)}-${t}`}const jb=e.createContext({});function bb(e){return wb("MuiTimeline",e)}function kb(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${Qt(e)}`}"production"!==process.env.NODE_ENV&&(jb.displayName="TimelineContext"),function(e,t,n="Mui"){const i={};t.forEach((t=>{i[t]=wb(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const Mb=Xe("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[kb(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),zb=e.forwardRef((function(t,n){const i=Qe({props:t,name:"MuiTimeline"}),{position:o="right",className:r,...s}=i,a={...i,position:o},l=(e=>{const{position:t,classes:n}=e;return function(e,t,n){const i={};for(const o in e){const r=e[o];let s="",a=!0;for(let e=0;e<r.length;e+=1){const i=r[e];i&&(s+=(!0===a?"":" ")+t(i),a=!1,n&&n[i]&&(s+=" "+n[i]))}i[o]=s}return i}({root:["root",t&&kb(t)]},bb,n)})(a),c=e.useMemo((()=>({position:o})),[o]);return vi.jsx(jb.Provider,{value:c,children:vi.jsx(Mb,{className:fb(l.root,r),ownerState:a,ref:n,...s})})}));"production"!==process.env.NODE_ENV&&(zb.propTypes={children:xb.node,classes:xb.object,className:xb.string,position:xb.oneOf(["alternate-reverse","alternate","left","right"]),sx:xb.oneOfType([xb.arrayOf(xb.oneOfType([xb.func,xb.object,xb.bool])),xb.func,xb.object])});const Sb=F(Ut)((({theme:e,completed:t})=>({width:"24px",height:"24px",backgroundColor:e.custom.palette.surface.raised,boxShadow:"none",border:"none",padding:0,margin:"4px 0",...!t&&{border:`2px dashed ${e.custom.palette.icon.disabled}`}}))),Vb=F(M)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),Fb=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),Tb=F(Sl)((({theme:e})=>({[`&.${X.root}`]:{...Fb(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"> .MuiTypography-root":{textAlign:"start"},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),Lb=F(M)((({theme:e})=>({[`&.${we.root}`]:{...Fb(e),"& .MuiTypography-root":{color:"inherit"}}}))),Pb=F(Js)((()=>({color:"inherit",fontWeight:500,fontSize:ua.lg}))),Ab=F(Js)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),Bb=({children:e,complete:t,onClick:n})=>t?vi.jsx(Lb,{children:e}):vi.jsx(Tb,{underline:"none",component:"button",onClick:n,target:"_self",children:e}),Eb=({complete:e,title:t,description:n,onClick:i})=>vi.jsx(Vb,{children:vi.jsxs(Bb,{complete:e,onClick:i,children:[vi.jsx(Pb,{component:"p",variation:"lg",children:t}),!e&&vi.jsx(Xs,{name:"arrow-right",size:16}),!e&&n&&vi.jsx(Ab,{variation:"lg",component:"p",children:n})]})}),Hb=({item:e,showConnector:t})=>{const{complete:n,title:i,description:o,onClick:r}=e;return vi.jsxs(qt,{children:[vi.jsxs(Yt,{children:[vi.jsx(Sb,{completed:n,children:n?vi.jsx(Xs,{name:"badge-tick-in-circle",size:24}):void 0}),t&&vi.jsx(Xt,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&vi.jsx(Kt,{component:()=>vi.jsx(Eb,{complete:n,title:i,description:o,onClick:r})})]})},Rb={initial:{height:"auto",transition:{duration:0}},animate:e=>({height:e,transition:{duration:.4,ease:[.645,.045,.355,1]}})},Ib=({expanded:e,onToggleExpanded:t,items:n})=>{const r=n.find((e=>!e.complete)),s=d((()=>e?n:[r]),[e,n,r]),c=a(null),[u,p]=i(),h=l((()=>{if(!c.current)return;const e=c.current.scrollHeight;p(e)}),[n]);return o((()=>{h()}),[e,h]),o((()=>{const e=new ResizeObserver(h);return c.current&&e.observe(c.current),()=>e.disconnect()}),[h]),vi.jsx(Iw.div,{variants:Rb,initial:"initial",animate:"auto"===u?"initial":["initial","animate"],custom:u,style:{overflow:"hidden"},children:vi.jsx("div",{ref:c,style:{display:"flex"},children:vi.jsxs(zb,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),marginBottom:0,[`& .${Gt.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[s.map(((e,t)=>{const n=t<s.length-1;return e&&e?.title===r?.title?vi.jsx(Hb,{item:e,showConnector:s.length>1?n:!!r?.description},`${e.title}-${e.complete}`):e&&vi.jsx(Hb,{item:e,showConnector:n},e.title)})),!e&&vi.jsx(M,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:vi.jsx(Gl,{endIcon:vi.jsx(Xs,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:t,children:"Show more"})})]})})})},$b=({completed:e,total:t})=>vi.jsx(Js,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),Db=({cardTitle:e,cardSubtitle:t,welcomeImageUrl:n,welcomeImageAltDescription:o,items:r=[]})=>{const[s,a]=i(!0),l=Va(),c=()=>a(!s),d=r.length,u=r.filter((e=>e.complete)).length,p=u/d*100;return vi.jsxs(zu,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===l?"row":"column",gap:e=>({sm:e.spacing(e.custom.padding.md),lg:e.spacing(e.custom.margin.lg)}),padding:e=>({sm:e.spacing(e.custom.margin.md),lg:e.spacing(e.custom.margin.lg)})},children:[vi.jsxs(_j,{children:[vi.jsx(M,{component:"img",src:n,alt:o,sx:{width:{sm:56,lg:72},height:{sm:56,lg:72}}}),vi.jsx(Js,{component:"h1",variation:"md",fontWeight:500,children:e}),vi.jsx(Wj,{component:"p",variation:"lg",children:t})]}),vi.jsxs(Nj,{children:[vi.jsxs(M,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[vi.jsx($b,{completed:u,total:d}),s&&vi.jsx(qd,{sizing:"sm",variation:"outlined",icon:vi.jsx(Ge,{}),onClick:c})]}),vi.jsx(ep,{variation:"determinate",value:p}),vi.jsx(Ib,{expanded:s,onToggleExpanded:c,items:r})]})]})},Ob=(e,t)=>vi.jsxs(M,{display:"flex",gap:.5,children:[vi.jsx(Js,{variation:"sm",component:"p",weight:"bold",children:e||0}),vi.jsx(Js,{variation:"sm",component:"p",sx:{color:e=>e.custom.palette.text.secondary},children:jj(t,e||0)})]}),_b=({loops:e,tests:t,drafts:n})=>vi.jsxs(M,{display:"flex",alignItems:"center",flexWrap:"wrap",columnGap:1,children:[!!e&&Ob(e,"Loop"),!!t&&Ob(t,"Test"),!!n&&Ob(n,"Draft")]}),Nb=F(A)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.purple[100]}`,backgroundColor:e.custom.palette.purple[0],padding:`${e.spacing(e.custom.padding.xs)} ${e.spacing(e.custom.padding.sm)}`,"& p":{color:e.custom.palette.purple[1e3]}}))),Wb=({sx:e,body:t})=>vi.jsx(Nb,{"data-id":"pill-container",sx:Re(e,{position:"absolute",zIndex:1}),children:vi.jsx(Js,{variation:"xxs",component:"p",weight:"bold",children:t})}),Zb=({title:e,maxLines:t,sx:n})=>vi.jsx(Js,{variation:"md",component:"p",weight:"bold",sx:Re({overflow:"hidden",display:"-webkit-box",WebkitLineClamp:`${t}`,WebkitBoxOrient:"vertical"},n),children:e}),Ub=F(M,{shouldForwardProp:e=>!["disableRaisedEffect"].includes(e)})((({theme:e,disableRaisedEffect:t})=>({width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:t?"none":e.custom.elevation.raised}}}))),Gb=F(Le,{shouldForwardProp:e=>!["disableHoverStyle"].includes(e)})((({theme:e,disableHoverStyle:t=!1})=>({cursor:"pointer",...!0===t&&{"& .MuiCardActionArea-focusHighlight":{backgroundColor:e.palette.background.paper}}}))),qb=F(M)((({theme:e})=>({boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:e.spacing(e.custom.radius.md),[`> .${we.root}`]:{display:"flex",height:"100%","> span":{display:"flex",width:"100%"}}}))),Yb=({title:e,description:t,thumbnail:n})=>{const i=[e,t].filter(Boolean).join(" | ");return vi.jsx(Qd,{src:n,alt:i,title:i,style:{width:"100%",height:"auto",objectFit:"cover"}})},Xb=F(Pe)((({theme:e})=>({paddingTop:e.spacing(e.custom.padding.xs),paddingBottom:e.spacing(e.custom.padding.xs),paddingLeft:0,paddingRight:0,display:"flex",flexDirection:"column",gap:e.spacing(e.custom.margin.xs),'& [data-id="title-container"]':{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"start",gap:e.spacing(e.custom.margin.xs),"& > p":{alignSelf:"center"}}}))),Kb=F(M,{shouldForwardProp:e=>!["viewType"].includes(e)})((({theme:e,viewType:t})=>({width:"grid"===t?"100%":108,height:"grid"===t?150:72,backgroundColor:e.custom.palette.purple[0],display:"flex",justifyContent:"center",alignItems:"center",borderRadius:e.spacing(e.custom.radius.md),"& svg":{height:"grid"===t?64:32,width:"grid"===t?64:32}}))),Qb=({updatedDate:e,format:t=!1,noWrap:n})=>vi.jsxs(Js,{variation:"xxs",component:"p",noWrap:n,sx:{color:e=>e.custom.palette.text.secondary},children:["Edited on ",t?Jt(e).format("DD MMM YYYY"):e]}),Jb=({title:e,description:t,loopCount:n,testCount:i,draftCount:o,updatedAt:r,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:d})=>c?vi.jsx(Ub,{disableRaisedEffect:!0,sx:{pointerEvents:"none"},children:vi.jsxs(Gb,{component:"div",disableHoverStyle:!0,children:[vi.jsx(qb,{"data-id":"image-container",children:vi.jsx(np,{})}),vi.jsxs(Xb,{children:[vi.jsx(M,{"data-id":"title-container",height:32,children:vi.jsx(np,{})}),vi.jsx(np,{height:20}),vi.jsx(np,{height:16,width:"60%"})]})]})}):vi.jsx(Ub,{children:vi.jsxs(Gb,{component:"div",disableHoverStyle:!0,onClick:d,children:[vi.jsxs(qb,{"data-id":"image-container",sx:{border:e=>`1px solid ${e.custom.palette.stroke.light}`},children:[l&&vi.jsx(Wb,{body:"Demo",sx:{bottom:8,left:8}}),vi.jsx(Yb,{thumbnail:a,title:e,description:t})]}),vi.jsxs(Xb,{children:[vi.jsxs(M,{"data-id":"title-container",children:[vi.jsx(Zb,{title:e,maxLines:2}),vi.jsx(M,{"data-id":"more-actions-container",onClick:e=>{e.stopPropagation()},children:s})]}),vi.jsx(_b,{loops:n,tests:i,drafts:o}),vi.jsx(Qb,{updatedDate:r,format:!0})]})]})}),ek=({title:e,description:t,loopCount:n,testCount:i,draftCount:o,updatedAt:r,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:d})=>{const u=b();return c?vi.jsx(Ub,{disableRaisedEffect:!0,sx:{pointerEvents:"none",borderBottom:`1px solid ${u.custom.palette.stroke.light}`},children:vi.jsxs(Gb,{component:"div",onClick:d,sx:{display:"flex",gap:u.spacing(u.custom.margin.sm),alignItems:"center",padding:u.spacing(u.custom.padding.xs)},children:[vi.jsx(qb,{sx:{border:e=>`1px solid ${e.custom.palette.stroke.light}`,height:72,width:108},"data-id":"image-container",children:vi.jsx(np,{})}),vi.jsx(Xb,{sx:{overflow:"hidden",pl:u.spacing(u.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:vi.jsxs(A,{gap:u.spacing(u.custom.margin.xs),children:[vi.jsx(np,{width:"100%",height:20}),vi.jsxs(A,{direction:"row",gap:u.spacing(u.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[vi.jsx(np,{height:20,width:"70%"}),vi.jsx(np,{height:16,width:200})]})]})})]})}):vi.jsx(Ub,{disableRaisedEffect:!0,sx:{borderBottom:`1px solid ${u.custom.palette.stroke.light}`},children:vi.jsxs(Gb,{component:"div",onClick:d,sx:{display:"flex",gap:u.spacing(u.custom.margin.sm),alignItems:"center",padding:u.spacing(u.custom.padding.xs)},children:[vi.jsxs(qb,{sx:{border:e=>`1px solid ${e.custom.palette.stroke.light}`,height:72,width:108},"data-id":"image-container",children:[l&&vi.jsx(Wb,{sx:{top:4,right:4},body:"Demo"}),vi.jsx(Yb,{thumbnail:a,title:e,description:t})]}),vi.jsx(Xb,{sx:{overflow:"hidden",pl:u.spacing(u.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:vi.jsxs(A,{gap:u.spacing(u.custom.margin.xs),children:[vi.jsx(Zb,{title:e,maxLines:1}),vi.jsxs(A,{direction:"row",gap:u.spacing(u.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[vi.jsx(_b,{loops:n,tests:i,drafts:o}),vi.jsx(Qb,{updatedDate:r,format:!0,noWrap:!0})]})]})}),s&&vi.jsx(M,{onClick:e=>e.stopPropagation(),children:s})]})})},tk=e=>"list"===e.viewType?vi.jsx(ek,{...e}):vi.jsx(Jb,{...e}),nk=({onClick:e,viewType:t,title:n})=>{const i=b();return"list"===t?vi.jsx(Ub,{disableRaisedEffect:!0,sx:{borderBottom:`1px solid ${i.custom.palette.stroke.light}`},children:vi.jsxs(Gb,{component:"div",onClick:e,sx:{display:"flex",gap:i.spacing(i.custom.margin.sm),alignItems:"center",padding:i.spacing(i.custom.padding.xs)},children:[vi.jsx(qb,{sx:{height:72,width:108},"data-id":"image-container",children:vi.jsx(Kb,{viewType:t,children:vi.jsx(Xs,{name:"add"})})}),vi.jsx(Xb,{sx:{overflow:"hidden",pl:i.spacing(i.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:vi.jsx(A,{gap:i.spacing(i.custom.margin.xs),children:vi.jsx(Zb,{title:n,maxLines:1})})})]})}):vi.jsx(Ub,{sx:{height:"100%"},children:vi.jsxs(Gb,{component:"div",onClick:e,disableHoverStyle:!0,sx:{height:"inherit",display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start"},children:[vi.jsx(qb,{"data-id":"image-container",sx:{width:"100%"},children:vi.jsx(Kb,{viewType:t,children:vi.jsx(Xs,{name:"add"})})}),vi.jsx(Xb,{children:vi.jsx(Zb,{title:n,maxLines:2})})]})})},ik=F(M)((({theme:e,type:t})=>({backgroundColor:"focus"===t?e.custom.palette.peach[300]:e.custom.palette.surface.sunken,borderRadius:`${e.spacing(e.custom.radius.lg)} ${e.spacing(e.custom.radius.lg)} 0 0`,display:"flex",alignItems:"center",gap:e.spacing(e.custom.margin.xs),padding:`${e.spacing(e.custom.padding.sm)} ${e.spacing(e.custom.padding.md)}`}))),ok=({type:e,loading:t})=>{const n=b(),i=(e=>{switch(e){case"single-punch":return{icon:"check",label:"Single punch question"};case"multi-punch":return{icon:"check-double",label:"Multi punch question"};case"slider":return{icon:"linear-scale",label:"Slider question"};case"likert":return{icon:"thumbs-up-down",label:"Likert question"};case"rank":return{icon:"rank",label:"Rank question"};case"open-question":return{icon:"comment",label:"Open question"};case"emoji":return{icon:"emoticon",label:"Emoji question"};case"focus":return{icon:"image-search",label:"Focus step"};default:return{icon:"help",label:"Unknown type"}}})(e);return t?vi.jsx(np,{width:"100%",height:36,sx:{borderRadius:`${n.spacing(n.custom.radius.lg)} ${n.spacing(n.custom.radius.lg)} 0 0`}}):vi.jsxs(ik,{type:e,children:[vi.jsx(Xs,{name:i.icon,size:16}),vi.jsx(Js,{variation:"sm",component:"p",sx:{px:n.spacing(n.custom.padding.xs)},children:i.label})]})},rk=F(A)((({theme:e})=>({border:`1px solid ${e.custom.palette.stroke.light}`,borderRadius:e.spacing(e.custom.radius.lg)}))),sk=F(A)((({theme:e})=>({gap:e.spacing(e.custom.padding.sm),padding:e.spacing(e.custom.padding.md)}))),ak=({preQuestionText:e,questionText:t,questionType:n,supportText:i,slotProps:o,loading:r})=>{const s=b();return r?vi.jsxs(rk,{children:[vi.jsx(ok,{loading:!0}),vi.jsxs(A,{gap:1,sx:{padding:s.spacing(s.custom.padding.md)},children:[vi.jsx(np,{width:"100%",height:22}),vi.jsx(np,{width:"100%",height:44}),vi.jsx(np,{width:"100%",height:66})]})]}):vi.jsxs(rk,{children:[vi.jsx(ok,{type:n}),vi.jsxs(sk,{children:[e&&vi.jsx(Js,{variation:"md",component:"p",color:s.custom.palette.text.secondary,children:e}),vi.jsx(Js,{variation:"md",component:"p",weight:"bold",children:t}),i&&vi.jsx(lu,{typographyProps:{variation:"md",component:"p",color:s.custom.palette.text.secondary,sx:Re({"& strong":{fontWeight:400}},o?.supportText?.sx)},children:i})]})]})},lk=F(Xl)({width:"100%","& .MuiOutlinedInput-root":{height:32}}),ck=n((({onChange:e,onClear:t,onFocus:n,placeholder:i,value:o,...r},s)=>{const l=b(),c=a(null),d=()=>{e?.({target:{value:""},currentTarget:{value:""}}),t?.()};p(s,(()=>({...c.current,clear:d})));const u={color:l.custom.palette.icon.primary};return vi.jsx(lk,{inputRef:c,placeholder:i,value:o,onChange:e,onFocus:n,startAdornment:vi.jsx(Xs,{name:"search",size:17,sx:u}),endAdornment:o?vi.jsx(M,{onClick:d,sx:{cursor:"pointer",display:"flex"},children:vi.jsx(Xs,{name:"close",size:17,sx:u})}):void 0,...r})})),dk=F(M)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),uk=F(M)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),pk=F(Js)((({theme:e})=>({color:e.custom.palette.text.secondary}))),hk=({loading:e,...t})=>vi.jsx(vi.Fragment,{children:e?vi.jsx(xk,{...t}):vi.jsx(mk,{...t})}),mk=({buttons:e,subtitle:t,title:n})=>vi.jsx(vi.Fragment,{children:vi.jsx(dk,{sx:{justifyContent:"space-between"},children:vi.jsx(Z,{children:vi.jsx(U,{container:!0,spacing:2,children:vi.jsx(U,{size:12,children:vi.jsxs(uk,{sx:{justifyContent:"space-between",py:1},children:[vi.jsx(uk,{children:vi.jsxs(uk,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&vi.jsx(Js,{variation:"sm",component:"h2",weight:"bold",children:n}),t&&vi.jsx(pk,{variation:"sm",component:"p",children:t})]})}),e&&vi.jsx(uk,{children:e})]})})})})})}),xk=({title:e,subtitle:t,buttons:n})=>vi.jsx(vi.Fragment,{children:vi.jsx(dk,{sx:{justifyContent:"space-between"},children:vi.jsx(Z,{children:vi.jsx(U,{container:!0,spacing:2,children:vi.jsx(U,{size:12,children:vi.jsxs(uk,{sx:{justifyContent:"space-between",py:1},children:[vi.jsx(uk,{children:vi.jsxs(uk,{sx:{alignItems:"flex-start",flexDirection:"column",gap:.5},children:[e&&vi.jsx(np,{variant:"text",width:200,height:28}),t&&vi.jsx(np,{variant:"text",width:140,height:17})]})}),vi.jsx(uk,{children:n&&vi.jsxs(vi.Fragment,{children:[vi.jsx(np,{variant:"text",width:72,height:28}),vi.jsx(np,{variant:"text",width:56,height:28})]})})]})})})})})}),gk=F(Iw.div,{shouldForwardProp:e=>!["active"].includes(e)})((({active:e,theme:t})=>({backgroundColor:e?t.custom.palette.blue[0]:t.custom.palette.surface.default,border:e?`1px solid ${t.custom.palette.blue[500]}`:`1px solid ${t.custom.palette.stroke.default}`,borderRadius:t.spacing(t.custom.radius.md),cursor:"pointer",display:"flex",flex:1,flexDirection:"column",justifyContent:"space-between",padding:t.spacing(t.custom.padding.sm,t.custom.padding.md)}))),fk=F(Iw.div)((({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(e.custom.padding.sm)}))),vk=({active:e,animated:t,label:n,sentimentScore:i,stat:o,title:r,onClick:s})=>{const a=b();return vi.jsxs(gk,{layout:t,active:e,onClick:s,children:[vi.jsx(Js,{component:"p",variation:"sm",weight:"bold",children:r}),vi.jsxs(fk,{layout:t,children:["number"==typeof i?vi.jsxs(vi.Fragment,{children:[vi.jsx(Js,{variation:"md",component:"p",weight:"bold",sx:{fontVariantNumeric:"tabular-nums",lineHeight:"160%"},children:vi.jsx(Ot,{value:i,format:{maximumFractionDigits:1},animated:t})}),vi.jsx(ih,{sentimentScore:i})]}):vi.jsx(Js,{component:"p",variation:"md",weight:"bold",sx:{fontVariantNumeric:"tabular-nums"},children:vi.jsx(vi.Fragment,{children:"number"==typeof o?vi.jsx(Ot,{value:o,format:{maximumFractionDigits:1},animated:t}):"-"})}),!!n&&vi.jsx(Js,{component:"p",variation:"xs",color:a.custom.palette.text.secondary,clamp:1,sx:{wordBreak:"break-all"},children:n})]})]})};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".react-truncate-list {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n list-style: none;\n overflow: auto;\n}\n\n.react-truncate-list *,\n.react-truncate-list *::before,\n.react-truncate-list *::after {\n box-sizing: inherit;\n}\n");const Ck=({animated:e=!0,status:t,menuItems:n,title:o,tags:r,stats:s,user:a,slotProps:l,loading:c=!1,...d})=>{const[u,p]=i(!1);return vi.jsx(zu,{variation:"raised",borderradius:"lg",...d,sx:Re({padding:e=>e.spacing(e.custom.padding.md),border:e=>`1px solid ${e.custom.palette.stroke.light}`,width:"100%",cursor:"pointer","&:hover .TestItem__Menu":{opacity:1}},d.sx),children:vi.jsxs(A,{component:"article",gap:2,children:[vi.jsxs(A,{component:"header",gap:1,justifyContent:"space-between",children:[vi.jsxs(A,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:1,children:[c?vi.jsx(np,{sx:{width:90,height:32}}):vi.jsx(bh,{status:t,...l?.status}),!c&&Boolean(n?.length)&&vi.jsx(Bu,{trigger:vi.jsx(qd,{icon:vi.jsx(Xs,{name:"more-horizontal",size:16}),variation:"outlined",className:"TestItem__Menu",sx:{width:28,aspectRatio:1,borderRadius:"100% !important",transition:"opacity 0.3s ease",opacity:0,"&:focus":{background:e=>`${e.custom.palette.interaction.press} !important`,opacity:1}}}),bindOn:["toggle"],menuItems:n,width:128,offset:[0,8],placement:"bottom-end",...l?.menu})]}),c?vi.jsx(np,{}):vi.jsx(Js,{component:"h1",weight:"bold",...l?.title,sx:Re({fontSize:e=>e.custom.typography.body.xl},l?.title?.sx),children:o})]}),vi.jsx(M,{children:c?vi.jsx(M,{display:"flex",flexDirection:"row",gap:.5,children:[...new Array(3).fill(void 0)].map(((e,t)=>vi.jsx(np,{sx:{maxWidth:50}},`test-item-skeleton-${t}`)))}):Boolean(r?.length)&&vi.jsx(en,{style:{display:"flex",flexWrap:"wrap",maxHeight:30,gap:"4px",...u&&{maxHeight:"none"}},alwaysShowTruncator:u,renderTruncator:({hiddenItemsCount:e})=>e>0?vi.jsx(nu,{body:`+${e}`,weight:"light",onClick:e=>{e.stopPropagation(),p(!0)},...l?.tagsExpand,sx:Re({background:e=>e.custom.palette.neutral[50]},l?.tagsExpand?.sx)}):vi.jsx(qd,{sizing:"sm",icon:vi.jsx(Xs,{name:"chevron-up",size:16}),onClick:e=>{e.stopPropagation(),p(!1)},...l?.tagsCollapse,sx:Re({color:e=>e.custom.palette.icon.primary},l?.tagsCollapse?.sx)}),children:r.map((e=>vi.jsx(nu,{body:e,weight:"light",...l?.pill,sx:Re({background:e=>e.custom.palette.neutral[50]},l?.pill?.sx)},e)))})}),!c&&s?.progress&&vi.jsx(zu,{variation:"sunken",borderradius:"md",sx:{border:e=>`1px solid ${e.custom.palette.neutral[100]}`,padding:e=>e.spacing(e.custom.padding.md)},children:vi.jsxs(A,{gap:2,children:[vi.jsx(ep,{variation:"determinate",value:s.progress.percentage}),vi.jsxs(M,{gap:{sm:.5,md:1},justifyContent:"stretch",sx:e=>({display:"grid",[e.breakpoints.up("lg")]:{gridTemplateColumns:"repeat(3, 1fr)"},[e.breakpoints.down("lg")]:{gridTemplateColumns:"auto"},[e.containerQueries.up("lg")]:{gridTemplateColumns:"repeat(3, 1fr)"},[e.containerQueries.down("lg")]:{gridTemplateColumns:"auto"}}),children:[vi.jsx(M,{flexBasis:0,flexGrow:1,children:vi.jsx(yk,{animated:e,label:"Completed",primaryText:s.progress.completed.toString(),secondaryText:`of ${s.progress.total}`})}),vi.jsx(M,{flexBasis:0,flexGrow:1,children:vi.jsx(yk,{animated:e,label:"Incomplete",primaryText:s.progress.incomplete.toString(),secondaryText:`${s.progress.incompletePercentage}%`})}),vi.jsx(M,{flexBasis:0,flexGrow:1,children:vi.jsx(yk,{animated:e,label:"Duration",primaryText:s.progress.averageDuration,secondaryText:"average"})})]}),"results-ready"!==t&&vi.jsxs(M,{display:"flex",justifyItems:"center",gap:.3,children:[vi.jsx(Js,{component:"p",sx:{fontSize:e=>e.custom.typography.body.sm,color:e=>s?.progress?.estimatedTimeToComplete?e.custom.palette.text.secondary:e.custom.palette.text.placeholder,"& > strong":{color:e=>e.custom.palette.text.primary}},children:s.progress.estimatedTimeToComplete?vi.jsxs(vi.Fragment,{children:[(e=>{switch(e){case"draft":default:return"";case"in-progress":return"Expected to complete in";case"results-ready":return"Completed"}})(t)," ",vi.jsx("strong",{children:s.progress.estimatedTimeToComplete})]}):vi.jsx(vi.Fragment,{children:"Not enough data to estimate completion time"})}),s.progress.estimatedTimeToComplete&&vi.jsx(Ks,{message:"Based on current respondent completion rates",slotProps:{wrapper:{sx:{display:"inline-flex"}}},children:vi.jsx(M,{lineHeight:"normal",display:"flex",onClick:e=>e.stopPropagation(),children:vi.jsx(Xs,{name:"info",size:16})})})]})]})}),vi.jsxs(M,{component:"footer",display:"flex",flexDirection:"row",justifyContent:a?"space-between":"end",gap:1,children:[a&&vi.jsx(M,{display:"flex",alignItems:"center",gap:1,children:c?vi.jsxs(vi.Fragment,{children:[vi.jsx(np,{sx:{borderRadius:"50%",width:24,aspectRatio:1,flexShrink:0}}),vi.jsx(np,{sx:{width:100}})]}):vi.jsx(vi.Fragment,{children:vi.jsx(Js,{component:"p",clamp:1,sx:{fontSize:e=>e.custom.typography.body.xs,color:e=>e.custom.palette.text.secondary},children:a.activityDescription})})}),!c&&"draft"!==t&&vi.jsxs(M,{display:"flex",alignItems:"center",gap:2,flexShrink:0,children:[vi.jsx(wk,{animated:e,iconName:"data-bar",label:"answers",value:s?.count?.answers??0}),vi.jsx(wk,{animated:e,iconName:"comment-filled",label:"comments",value:s?.count?.comments??0,slotProps:{icon:{size:20}}})]})]})]})})},yk=({animated:e,label:t,primaryText:n,secondaryText:i})=>{const o=n.match(/\d{1,2}:\d{2}/),r=n.split(":"),s=!isNaN(Number(n)),a=i.includes("%")&&!isNaN(Number(i.replace("%","")));return vi.jsxs(A,{sx:{background:e=>e.custom.palette.surface.default,minWidth:"92px",border:e=>`1px solid ${e.custom.palette.neutral[100]}`,borderRadius:1,padding:e=>`${e.spacing(e.custom.padding.sm)} ${e.spacing(e.custom.padding.md)}`,color:e=>e.custom.palette.text.primary,flexShrink:0,height:"100%"},direction:{sm:"row",md:"row",lg:"column"},alignItems:"center",gap:{sm:1,md:1,lg:0},children:[vi.jsx(Js,{component:"p",sx:{width:"100%",textAlign:{md:"left",lg:"center"},fontSize:e=>e.custom.typography.body.sm},children:t}),vi.jsx(Js,{component:"h3",sx:{fontSize:e=>({sm:e.custom.typography.body.sm,md:e.custom.typography.body.md,lg:e.custom.typography.body.xxl}),fontWeight:500,flexShrink:0},children:vi.jsx(vi.Fragment,{children:o||s?vi.jsx(vi.Fragment,{children:o?vi.jsxs(vi.Fragment,{children:[vi.jsx(Ot,{value:Number(r[0]),format:{minimumIntegerDigits:2,useGrouping:!1},animated:e}),":",vi.jsx(Ot,{value:Number(r[1]),format:{minimumIntegerDigits:2,useGrouping:!1},animated:e})]}):vi.jsx(Ot,{value:Number(n),animated:e})}):vi.jsx(vi.Fragment,{children:n})})}),vi.jsx(Js,{component:"p",sx:{color:e=>e.custom.palette.text.secondary,fontSize:e=>e.custom.typography.body.sm,flexShrink:0},children:a?vi.jsxs(vi.Fragment,{children:[vi.jsx(Ot,{value:i.replace("%",""),animated:e}),"%"]}):i})]})},wk=({animated:e,iconName:t,label:n,value:i,slotProps:o})=>vi.jsxs(M,{display:"flex",alignItems:"center",gap:.5,children:[vi.jsx(Xs,{name:t,...o?.icon,sx:Re({color:e=>e.custom.palette.icon.secondary},o?.icon?.sx)}),vi.jsxs(Js,{component:"p",sx:e=>({fontSize:e=>e.custom.typography.body.xs,color:e=>e.custom.palette.text.primary,"& > span":{color:e=>e.custom.palette.text.secondary,[e.breakpoints.up("lg")]:{display:"inline"},[e.breakpoints.down("lg")]:{display:"none"},[e.containerQueries.up("lg")]:{display:"inline"},[e.containerQueries.down("lg")]:{display:"none"}}}),children:[vi.jsx(Ot,{value:i,animated:e})," ",vi.jsx("span",{children:n})]})]}),jk=n((({colorScheme:e="purple",variation:t,title:n,description:i,loading:o,onShowMoreClick:r,menuItems:s,active:a,...l},c)=>{const d=b(),u="raised";return vi.jsxs(zu,{ref:c,active:a,borderradius:"lg",variation:u,...l,sx:Re({display:"flex",flexDirection:"column",gap:d.custom.margin.sm,border:`1px solid ${d.custom.palette.stroke.light}`,padding:d.custom.padding.md,"&:hover":{cursor:"pointer",".TestKPICard__Menu":{opacity:1}},..."dimmed"===t&&{border:`1px solid ${d.custom.palette.stroke.light}`}},l.sx),children:[vi.jsxs(A,{direction:"row",gap:1,children:[vi.jsxs(A,{direction:"row",gap:1,width:"100%",sx:{minHeight:"22px"},children:[vi.jsx(vi.Fragment,{children:o?vi.jsx(np,{sx:{width:17,height:16}}):vi.jsx(M,{sx:{height:"22px",display:"flex",placeItems:"center"},children:vi.jsx(dh,{colorScheme:e,disabled:t&&"dimmed"===t})})}),o?vi.jsx(np,{sx:{marginTop:"-1px"}}):vi.jsx(Js,{component:"p",variation:"md",weight:"bold",sx:{color:"dimmed"===t?d.custom.palette.text.disabled:d.custom.palette.text.primary},children:n})]}),!o&&Boolean(s?.length)&&vi.jsx(Bu,{trigger:vi.jsx(qd,{icon:vi.jsx(Xs,{name:"more-horizontal",size:16}),variation:"outlined",className:"TestKPICard__Menu",sx:{width:28,aspectRatio:1,borderRadius:"100% !important",transition:"opacity 0.3s ease",opacity:0,"&:focus":{background:`${d.custom.palette.interaction.press} !important`,opacity:1}}}),menuItems:s,width:128,offset:[0,-8],placement:"bottom-end"})]}),o?vi.jsx(M,{display:"flex",flexDirection:"column",gap:.5,children:[...new Array(3).fill(void 0)].map(((e,t)=>vi.jsx(np,{height:19},`TestKPICard__Skeleton--description-${t}`)))}):vi.jsx(Sc,{clamp:3,component:"p",variation:"sm",sx:{color:"dimmed"===t?d.custom.palette.text.disabled:d.custom.palette.text.secondary},onShowMoreClick:r,slotProps:{showMoreButton:{disabled:"dimmed"===t},gradientBox:{background:a?d.custom.palette.blue[0]:ku(u,d)}},children:i})]})})),bk=(e,t=1e5)=>Math.round(e*t)/t;var kk=w((({playing:e,ended:t,seeking:n,buffering:i,handleAction:o})=>vi.jsx(qd,{disabled:i,loading:i,onClick:()=>o(),shape:"round",sizing:"xl",variation:"outlined",icon:vi.jsx(Xs,{name:(()=>{switch(!0){case n&&t:return"replay";case n:return"play";case!e&&t:return"replay";case e:return"pause";default:return"play"}})()})})));const Mk=e=>{const t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%60),o=i<10?"0"+i:i,r=t>0&&n<10?"0"+n:n;return t>0?`${t}:${r}:${o}`:`${r}:${o}`},zk=(e,t)=>t/e*100,Sk=F(M)((({theme:e})=>({position:"absolute",top:"100%",marginTop:e.spacing((e.breakpoints.down("lg"),e.custom.margin.xs)),left:0,display:"flex",alignItems:"center",width:"100%",height:18}))),Vk=F(M)((({theme:e,width:t,left:n})=>({position:"absolute",background:e.custom.palette.neutralAlpha[2],opacity:1,borderRadius:18,height:18,pointerEvents:"none",top:0,left:`${n}%`,width:`${t}%`,zIndex:0,"&:after":{content:'" "',position:"absolute",width:"100%",height:78,top:38,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.neutralAlpha[1]}}))),Fk=F(M,{shouldForwardProp:e=>"isActive"!==e})((({theme:e,isActive:t})=>({position:"absolute",background:e.custom.palette.purple[500],height:8,width:8,borderRadius:8,...t?{transform:"translateX(-50%) scale(1)"}:{transform:"translateX(-50%) scale(0.5)"},transition:"all 0.2s, background 0.2s"})));var Tk=w((({startTime:e,endTime:t,currentTime:n,markers:i=[],markerIndicator:o=!0,markerIndicatorSize:r=3,markerIndicatorMode:s,marker:a})=>{const l=d((()=>zk(t-e,n-e)),[n,e,t]),c=d((()=>"time"===s?r:(t-e)*r),[t,e,s,r]),{width:u,left:p}=d((()=>{const i=t-e,o=(n-e)/i;let a;a="time"===s?r/i*100:100*r;const c=a/2,d=100*o,u=100-100*o,p=Math.min(c,d);return{width:p+Math.min(c,u),left:l-p}}),[n,e,t,l,s,r]),h=d((()=>i.map((({timeStamp:i,id:o,meta:r})=>({id:o,timeStamp:i,markerPosition:zk(t-e,i),isActive:Math.abs(i-n+e)<=c/2+1e-10,meta:r})))),[i,t,e,n,c]),m=a||Fk;return vi.jsxs(Sk,{children:[o&&vi.jsx(Vk,{width:u,left:p}),h.map((({id:e,markerPosition:t,isActive:n,meta:i})=>vi.jsx(m,{isActive:n,sx:{zIndex:2,left:`${t}%`},...i&&{meta:i}},e)))]})}));var Lk=w(F(le)((({theme:e,type:t,muted:n,value:i})=>({padding:0,"@media (pointer: coarse)":{padding:0},[`.${Ae.thumb}`]:{border:0,boxShadow:"none",width:4,height:4,"&:hover":{boxShadow:`${Je(e.custom.palette.purple[300],.2)} 0px 0px 0px 4px`},[`&.${Ae.active}`]:{width:8,height:8,boxShadow:`${Je(e.custom.palette.purple[300],.2)} 0px 0px 0px 8px`},[`&.${Ae.focusVisible}`]:{boxShadow:`${Je(e.custom.palette.purple[300],.2)} 0px 0px 0px 4px`}},..."volume"===t?{height:100,color:e.custom.palette.icon.primary,...(n||0===i)&&{opacity:.5},[`.${Ae.valueLabel}`]:{background:e.custom.palette.surface.default,color:e.custom.palette.text.primary,fontSize:e.custom.typography.body.xs,fontWeight:"normal",boxShadow:e.custom.elevation.overlay},[`.${Ae.thumb}`]:{border:0,boxShadow:"none",width:8,height:8,"&:hover":{boxShadow:`${Je(e.custom.palette.neutral[300],.2)} 0px 0px 0px 4px`},[`&.${Ae.active}`]:{width:8,height:8,boxShadow:`${Je(e.custom.palette.neutral[300],.2)} 0px 0px 0px 8px`},[`&.${Ae.focusVisible}`]:{boxShadow:`${Je(e.custom.palette.neutral[300],.2)} 0px 0px 0px 4px`}}}:{color:e.custom.palette.purple.main,height:4,[`.${Ae.rail}`]:{height:4,background:Je(e.custom.palette.neutral[400],.5),opacity:1},[`.${Ae.track}`]:{border:0,boxShadow:"none",height:4}}}))));const Pk=F(A)((({theme:e})=>({flexDirection:"row",gap:e.spacing(e.custom.padding.xs),alignItems:"center"}))),Ak=({handleVolumeMute:e,handleVolumeChange:t,muted:n,volume:i,volumeControlsType:o})=>{const r=vi.jsx(qd,{icon:(()=>{switch(!0){case 0===i||n:return vi.jsx(Ye,{});case i<.5:return vi.jsx(nn,{});default:return vi.jsx(qe,{})}})(),variation:"default",shape:"default",sizing:"xs",onClick:e});return vi.jsx(Pk,{children:"mute"===o?r:vi.jsx(Vu,{bindOn:["hover"],trigger:r,popperProps:{placement:"top",style:{zIndex:40}},children:vi.jsx(Lk,{muted:n,type:"volume",valueLabelDisplay:"auto",orientation:"vertical",step:.01,value:i,valueLabelFormat:e=>`${Math.ceil(zk(1,e))}%`,min:0,max:1,onChange:(e,n)=>{e.preventDefault(),t(n)}})})})},Bk=F(A)({flex:1,position:"relative"}),Ek=F(A)((({theme:e})=>({ml:"auto",alignItems:"center",position:"absolute",width:"100%",overflow:"hidden",right:0,bottom:8,gap:e.spacing(e.custom.margin.xs)}))),Hk=F(Js)((({theme:e})=>({color:e.custom.palette.text.secondary,textOverflow:"ellipsis",overflow:"hidden",textWrap:"nowrap",marginLeft:"auto"}))),Rk=F(M)((({theme:e})=>({position:"relative",width:"100%",display:"flex",gap:e.spacing(e.custom.margin.xs),alignItems:"center"}))),Ik=F(M)((({theme:e,left:t,width:n})=>({background:e.custom.palette.neutral[300],height:4,position:"absolute",left:`${t}%`,pointerEvents:"none",top:"50%",transform:"translateY(-50%)",borderRadius:e.custom.radius.round,width:`${n}%`})));var $k=w((({startTime:e,currentTime:t,endTime:n,playing:o,markerIndicator:r,bufferRanges:s,handleSeeking:a,handleSeekEnd:c,handleSeekStart:d,markers:u,marker:p,markerIndicatorMode:h,markerIndicatorSize:m,volume:x,muted:g,handleVolumeMute:f,handleVolumeChange:v,volumeControlsType:C,volumeControls:y})=>{const[w,j]=i(o),b=l(((e,t)=>{e.stopPropagation(),a?.(t)}),[a]),k=l(((e,t)=>{e.stopPropagation(),c?.(w),w&&j(!1)}),[w,c]),M=l((e=>{e.stopPropagation(),o&&j(o),d?.(o)}),[o,d]),z=l((()=>{o&&j(o),d?.(o)}),[o,d]),S=l((()=>{c?.(w),w&&j(!1)}),[w,c]);return vi.jsxs(Bk,{children:[vi.jsxs(Ek,{direction:"row",children:[vi.jsxs(Hk,{component:"p",variation:"md",children:[Mk(t-e)," / ",Mk(n-e)]}),y&&vi.jsx(Ak,{volume:x,muted:g,handleVolumeMute:f,handleVolumeChange:v,volumeControlsType:C})]}),s.length>0&&s.map((({startPercent:e,widthPercent:t},n)=>vi.jsx(Ik,{left:e,width:t},n))),vi.jsxs(Rk,{children:[vi.jsx(Lk,{step:.05,value:t,max:n,min:e,onChangeCommitted:k,onMouseDown:M,onChange:b,onTouchStart:z,onTouchEnd:S}),u&&u?.length>0&&vi.jsx(Tk,{markerIndicatorMode:h,markerIndicatorSize:m,markerIndicator:r,markers:u,marker:p,startTime:e,currentTime:t,endTime:n})]})]})}));const Dk=F(zu)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(e.custom.padding.md),borderColor:e.custom.palette.stroke.light,borderWidth:1,gap:e.spacing(e.custom.padding.sm),borderStyle:"solid",flexDirection:"column"}))),Ok=F(A)((({theme:e})=>({alignItems:"center",gap:e.spacing(e.custom.padding.md),justifyContent:"space-between",flexDirection:"row",flex:1}))),_k=n((({id:e,videoElement:t,initialEndTime:n=0,initialCurrentTime:r=0,initialMuted:s,initialVolume:a,markers:c,options:d,slots:u,events:{onEnd:h,onPlay:m,onSeekEnd:x,onSeeking:g,onSeekStart:f,onTimeUpdate:v,onPause:C,onVolumeChange:y,onVolumeMute:w,onRestart:j,onFirstPlay:b,onFirstEnded:k,onReset:M}={},videoSeekTime:z},S)=>{const[V,F]=i([]),T={rtl:!1,volumeControls:!0,normaliseTime:!1,markerIndicatorMode:"time",markerIndicator:!1,markerIndicatorSize:3,volumeControlsType:"mute",...d},[{seeking:L,endTime:P,currentTime:A,playing:B,buffering:E,loaded:H,ended:R,volume:I,muted:$,startTime:D,firstPlay:O,firstEnded:_},N]=i({startTime:bk(T.normaliseTime?r:0),endTime:bk(T.normaliseTime?n:t.duration),currentTime:bk(r??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1,volume:a||1,muted:s||!1,buffering:!1});o((()=>{if(t.muted=$,t.volume=I,T.normaliseTime&&(void 0===n||void 0===r))throw new Error("Please supply an initial end time and initial currentTime for normalising time in VideoControls.tsx");return()=>{te()}}),[]),o((()=>{N((e=>({...e,startTime:bk(T.normaliseTime?r:0),endTime:bk(T.normaliseTime?n:t.duration),currentTime:bk(r??0)}))),t.currentTime=bk(r??0)}),[r,n]);const W=l((()=>{N((e=>({...e,playing:!1,ended:!0,...!_&&{firstEnded:!0}}))),h&&h(),!_&&k&&k()}),[_]);o((()=>{if(!t||null==z)return;(async()=>{const e=!t.paused,n=z===P;N((e=>({...e,playing:!1,currentTime:bk(z)}))),await new Promise((e=>{const n=()=>{t.removeEventListener("seeked",n),e()};t.addEventListener("seeked",n),setTimeout(e,500)})),N((e=>({...e,currentTime:bk(z)}))),await new Promise((e=>setTimeout(e,50))),N((t=>({...t,playing:e,currentTime:bk(n?z-.001:z+.001)})))})().catch((e=>{console.error("Error seeking video:",e)}))}),[z,t]);const Z=l((e=>{N((t=>({...t,muted:e.target?.muted,volume:"number"==typeof e.target?.volume?e.target?.volume:1}))),$!==e.target?.muted&&w&&w(!$),I!==e.target?.volume&&y&&y(I)}),[$,I]),U=l((()=>{const e=bk(t.currentTime)>=P&&P!==bk(t.duration)&&!R,n=bk(t.currentTime)>=P&&P===bk(t.duration)&&!R&&!B;(e||n)&&(t.pause(),t.dispatchEvent(new Event("ended"))),N((e=>({...e,currentTime:bk(t.currentTime)}))),v&&v(bk(t.currentTime))}),[P,R,B]),G=l((()=>{N((e=>({...e,playing:!1}))),C&&C()}),[A]),q=l((()=>{N((e=>({...e,playing:!0,ended:!1,buffering:!1,...!O&&{firstPlay:!0}}))),!O&&b&&b(),m&&m()}),[O]),Y=l((()=>{N((e=>({...e,buffering:!0})))}),[]),X=l((()=>{N((e=>({...e,buffering:!1})))}),[E]),K=l((()=>{const e=[];for(let n=0;n<t.buffered.length;n++){const i=t.buffered.start(n),o=t.buffered.end(n);if(o>=D&&i<=P){const t=Math.max(i,D),n=Math.min(o,P);e.push({start:t-D,end:n-D,startPercent:(t-D)/(P-D)*100,widthPercent:(n-t)/(P-D)*100})}}F(e)}),[L,P,A,B,E,H,R,I,$,D,V]),Q=l((async e=>{B&&te(),t.currentTime=D,e&&await ee(),j&&j()}),[B,A,D,P,R]),J=l((async()=>{B&&te(),t.currentTime=D,N((e=>({...e,startTime:bk(T.normaliseTime?r:0),endTime:bk(T.normaliseTime?n:t.duration),currentTime:bk(r??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1}))),M&&M()}),[B,A,D,P,R,r,n]),ee=async()=>{await t.play()},te=()=>{t.pause()},ne=l((e=>{t.currentTime=bk(e),N((t=>({...t,currentTime:bk(e),ended:!1,seeking:!0,buffering:!1,firstPlay:!O||t.firstPlay,bufferProgress:e}))),g&&g(e),!O&&b&&b()}),[E,O]),ie=l((e=>{e&&t.pause(),N((e=>({...e,seeking:!0}))),f&&f()}),[R]),oe=l((async(e,n,i)=>{n&&(t.currentTime=n),e&&!R&&await t.play(),i&&B&&t.pause(),N((e=>({...e,...n?{currentTime:n}:{},ended:!i&&e.ended,seeking:!1}))),x&&x(n)}),[B,R,E,L]);return tn("pause",G,t),tn("playing",q,t),tn("timeupdate",U,t),tn("ended",W,t),tn("volumechange",Z,t),tn("waiting",Y,t),tn("canplay",X,t),tn("progress",K,t),p(S,(()=>({play:ee,pause:te,restart:Q,reset:J,seek:(e,t,n)=>oe(t,e,n),videoState:{seeking:L,endTime:P,currentTime:A,playing:B,buffering:E,loaded:H,ended:R,volume:I,firstPlay:O,firstEnded:_,muted:$,startTime:D}}))),vi.jsxs(Dk,{variation:"raised",borderradius:"xl",id:e,children:[vi.jsxs(Ok,{...T?.rtl&&{dir:"rtl"},children:[vi.jsx(kk,{seeking:L,playing:B,ended:R,buffering:E,handleAction:async()=>{R?await Q(!0):B?te():await ee()}}),vi.jsx($k,{handleSeeking:ne,handleSeekEnd:oe,handleSeekStart:ie,ended:R,marker:u?.marker,markers:c,markerIndicatorMode:T.markerIndicatorMode,markerIndicatorSize:T.markerIndicatorSize,markerIndicator:T.markerIndicator,startTime:T.normaliseTime?D:0,currentTime:A,endTime:P,playing:B,bufferRanges:V,buffering:E,volume:I,muted:$,volumeControls:T.volumeControls,volumeControlsType:T.volumeControlsType,handleVolumeMute:()=>{t.muted=!$},handleVolumeChange:e=>{t.volume=e,$&&(t.muted=!1)}})]}),u?.bottom]})}));var Nk=w(_k);const Wk=F(M)((({theme:e})=>({backgroundColor:e.custom.palette.surface.sunken,display:"flex",flexDirection:"row",gap:e.spacing(e.custom.margin.sm),padding:e.spacing(e.custom.padding.sm),borderRadius:e.spacing(e.custom.radius.md),alignSelf:"stretch"}))),Zk=F(A)((({theme:e})=>({gap:e.spacing(e.custom.margin.xs),flexDirection:"row",flexWrap:"wrap",flex:"1 1 0",alignItems:"flex-start",justifyContent:"flex-end"}))),Uk=({demographicOptionLabel:e,demographicSelectionLabels:t})=>vi.jsxs(Wk,{children:[vi.jsx(Js,{component:"p",weight:"bold",variation:"xs",sx:{maxWidth:"128px",color:e=>e.custom.palette.text.primary,paddingTop:"1px"},children:e}),vi.jsx(Zk,{children:t.map(((e,t)=>vi.jsx(Ku,{label:e,sx:{maxWidth:"256px"}},`${t}-${e}`)))})]}),Gk="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",qk=(e,t,n)=>Be({direction:n,custom:{palette:{black:"#000000",white:"#ffffff",neutral:Zn[e],neutralAlpha:"light"===e?Rn:In,purple:Gn[e],red:qn[e],peach:Yn[e],yellow:Xn[e],blue:Kn[e],green:Qn[e],icon:ci[e].icon,interaction:ci[e].interaction,stroke:ci[e].stroke,surface:ci[e].surface,text:ci[e].text,input:ci[e].input,skeleton:ci[e].skeleton,data:ci[e].data,body:ci[e].surface.default},margin:ni,padding:ii,radius:oi,elevation:ri,elevationFilter:si,boxShadow:ai,easing:li,typography:ca[t]},palette:{mode:e,primary:{main:$n[500]}},spacing:ti,shape:{borderRadius:ti,hotspot:{default:12,active:24}},breakpoints:{values:Jn},typography:{fontFamily:`"${ui.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:da(t),styleOverrides:{root:{color:ci[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:e=>`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${e.custom.palette.body};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${ui.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.Domaine.default.weight};\n src: url(${Gk}${ui.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ui.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.Domaine.bold.weight};\n src: url(${Gk}${ui.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ui.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.FoundersGrotesk.default.weight};\n src: url(${Gk}${ui.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ui.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.FoundersGrotesk.bold.weight};\n src: url(${Gk}${ui.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${Jn.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${Jn.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:ui.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*ti}px ${e.padding.md*ti}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:e}})=>({border:`1px solid ${e.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}}}});var Yk="production"===process.env.NODE_ENV,Xk="Invariant failed";const Kk=c(null),Qk=(e="light",t="lg",n="ltr")=>{const{width:r}=kc(),[a,l]=i(e),[c,u]=i(t),[p,h]=i(n),[m,x]=i(!1),[g,f]=i("");o((()=>{p&&document.documentElement.setAttribute("dir",p)}),[p]);o((()=>{s((()=>{u(r&&r<Jn.lg?"sm":"lg")}))}),[r]),o((()=>{s((()=>{h(n)}))}),[n]),o((()=>{s((()=>{l(e)}))}),[e]);const v=d((()=>qk(a,c,p)),[a,p,c]),C=V(v.breakpoints.only("sm"),{noSsr:!0}),y=V(v.breakpoints.only("md"),{noSsr:!0}),w=V(v.breakpoints.between("lg","xl"),{noSsr:!0}),j=V(v.breakpoints.up("xl"),{noSsr:!0});return o((()=>{s((()=>{C&&f("sm"),y&&f("md"),w&&f("lg"),j&&f("xl")}))}),[C,y,w,j]),{breakpoint:g,gridOverlayVisible:m,mode:a,theme:v,toggleGridOverlay:()=>{s((()=>{x((e=>!e))}))},toggleMode:e=>{s((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}},Jk=()=>{const e=u(Kk);return function(e,t){if(!e){if(Yk)throw new Error(Xk);var n=t,i="".concat(Xk,": ").concat(n);throw new Error(i)}}(e,"useTheme must be used within a ThemeProvider"),e};var eM=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var tM="undefined"!=typeof document,nM=function(e,t,n){for(var i=0,o=0;i=o,o=Vn(),38===i&&12===o&&(t[n]=1),!zn(o);)Mn();return Tn(e,Ln)},iM=function(e,t){return Cn(function(e,t){var n=-1,i=44;do{switch(zn(i)){case 0:38===i&&12===Vn()&&(t[n]=1),e[n]+=nM(Ln-1,t,n);break;case 2:e[n]+=Fn(i);break;case 4:if(44===i){e[++n]=58===Vn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Sn(i)}}while(i=Mn());return e}(yn(e),t))},oM=new WeakMap,rM=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||oM.get(n))&&!i){oM.set(e,!0);for(var o=[],r=iM(t,o),s=n.props,a=0,l=0;a<r.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?r[a].replace(/&\f/g,s[c]):s[c]+" "+r[a]}}},sM=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function aM(e,t){switch(wn(e,t)){case 5103:return hn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return hn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return hn+e+mn+e+xn+e+e;case 6828:case 4268:return hn+e+xn+e+e;case 6165:return hn+e+xn+"flex-"+e+e;case 5187:return hn+e+pn(e,/(\w+).+(:[^]+)/,hn+"box-$1$2"+xn+"flex-$1$2")+e;case 5443:return hn+e+xn+"flex-item-"+pn(e,/flex-|-self/,"")+e;case 4675:return hn+e+xn+"flex-line-pack"+pn(e,/align-content|flex-|-self/,"")+e;case 5548:return hn+e+xn+pn(e,"shrink","negative")+e;case 5292:return hn+e+xn+pn(e,"basis","preferred-size")+e;case 6060:return hn+"box-"+pn(e,"-grow","")+hn+e+xn+pn(e,"grow","positive")+e;case 4554:return hn+pn(e,/([^-])(transform)/g,"$1"+hn+"$2")+e;case 6187:return pn(pn(pn(e,/(zoom-|grab)/,hn+"$1"),/(image-set)/,hn+"$1"),e,"")+e;case 5495:case 3959:return pn(e,/(image-set\([^]*)/,hn+"$1$`$1");case 4968:return pn(pn(e,/(.+:)(flex-)?(.*)/,hn+"box-pack:$3"+xn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+hn+e+e;case 4095:case 3583:case 4068:case 2532:return pn(e,/(.+)-inline(.+)/,hn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(bn(e)-1-t>6)switch(jn(e,t+1)){case 109:if(45!==jn(e,t+4))break;case 102:return pn(e,/(.+:)(.+)-([^]+)/,"$1"+hn+"$2-$3$1"+mn+(108==jn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kn(e,"stretch")?aM(pn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==jn(e,t+1))break;case 6444:switch(jn(e,bn(e)-3-(~kn(e,"!important")&&10))){case 107:return pn(e,":",":"+hn)+e;case 101:return pn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+hn+(45===jn(e,14)?"inline-":"")+"box$3$1"+hn+"$2$3$1"+xn+"$2box$3")+e}break;case 5936:switch(jn(e,t+11)){case 114:return hn+e+xn+pn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return hn+e+xn+pn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return hn+e+xn+pn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return hn+e+xn+e+e}return e}var lM,cM,dM=tM?void 0:(lM=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},cM=new WeakMap,function(e){if(cM.has(e))return cM.get(e);var t=lM(e);return cM.set(e,t),t}),uM=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case fn:e.return=aM(e.value,e.length);break;case gn:return dn([un(e,{value:pn(e.value,"@","@"+hn)})],i);case an:if(e.length)return ln(e.props,(function(t){switch(cn(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dn([un(e,{props:[pn(t,/:(read-\w+)/,":"+mn+"$1")]})],i);case"::placeholder":return dn([un(e,{props:[pn(t,/:(plac\w+)/,":"+hn+"input-$1")]}),un(e,{props:[pn(t,/:(plac\w+)/,":"+mn+"$1")]}),un(e,{props:[pn(t,/:(plac\w+)/,xn+"input-$1")]})],i)}return""}))}}],pM=function(e){var t=e.key;if(tM&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,r=e.stylisPlugins||uM,s={},a=[];tM&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[rM,sM];if(dM){var c=[on],d=sn(l.concat(r,c)),u=dM(r)(t),p=function(e,t){var n,i=t.name;return void 0===u[i]&&(u[i]=(n=e?e+"{"+t.styles+"}":t.styles,dn(vn(n),d))),u[i]};o=function(e,t,n,i){var o=t.name,r=p(e,t);return void 0===g.compat?(i&&(g.inserted[o]=!0),r):i?void(g.inserted[o]=r):r}}else{var h,m=[on,rn((function(e){h.insert(e)}))],x=sn(l.concat(r,m));o=function(e,t,n,i){var o;h=n,o=e?e+"{"+t.styles+"}":t.styles,dn(vn(o),x),i&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new eM({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return g.sheet.hydrate(a),g};const hM=()=>vi.jsx(Ee,{styles:{"strong, b":{fontWeight:500}}}),mM=pM({key:"muirtl",stylisPlugins:[Pn,Bn]}),xM=pM({key:"mui"}),gM=({mode:e="light",screenSize:t="lg",direction:n="ltr",ignoreCacheProvider:i,children:o})=>{const r=Qk(e,t,n),s=()=>vi.jsxs(et,{theme:r.theme,children:[vi.jsx(He,{}),vi.jsx(hM,{}),o]});return vi.jsx(Kk.Provider,{value:r,children:i?s():vi.jsx(An,{value:"rtl"===n?mM:xM,children:s()})})};export{Np as AISummary,Dp as AIWrittenByLockUp,rl as Accordion,_p as AiContentContainer,ol as AnnualController,Qp as AssetItem,Jp as AuthContainerSurface,cl as AuthFormHeader,dl as Avatar,ul as AvatarGroup,ml as Badge,Ml as BrandBadge,Pl as Breadcrumb,Nl as BulletGraphic,Gl as Button,Zl as ButtonBase,ql as Checkbox,Kl as CheckboxGroup,eh as ClipboardCopyingOverlay,Ql as ColorBackgroundContainer,ah as CommentCard,rc as CreatableAutocomplete,sc as CustomField,oa as DEFAULT_MAX_INPUT_LENGTH,xh as DataPointInfo,Uk as DemographicSelectionSection,fc as Differential,Cc as DropdownMenu,wc as EmojiWrapper,gh as EmptyStateCard,Sc as ExpandableTypographyClamp,Sh as ExtendedTestStatus,Th as FilterCount,Ah as FilterGroupAccordion,$w as FilterPyramidGraph,Zw as FilterRow,Ph as FilteredItemsCard,Fc as Flag,di as FontWeight,el as FormControlLabel,Md as FormGenerator,Yw as GraphBar,Ld as GridOverlay,Xw as Header,Tc as Html,Pd as HtmlParser,Xs as Icon,qd as IconButton,Zd as IconButtonBase,Xd as IconButtonGroup,Qd as Image,Yl as InputFieldBase,Lc as InputLabel,cc as InputLabelHelp,wj as KpiDataPopover,dh as KpiIndicator,nu as Label,$c as Likert,Sl as Link,ou as Loader,ru as Logo,Lj as LoopItem,Pj as LoopItemEmpty,au as LoopsAiButton,lu as Markdown,Bu as Menu,Hu as ModalActionsWrapper,Ru as ModalContentWrapper,Iu as ModalLayout,Oj as Navigation,Wu as NavigationButton,Yu as Nudge,Oc as NumberField,Db as OnboardingCard,Ku as Pill,Sp as PlanFeatureTable,Ip as PlanTierCard,Vu as Popper,Qu as PoweredByWatermarkLogo,Gd as Progress,ep as ProgressBar,tk as ProjectItem,nk as ProjectItemEmpty,ak as QuestionBlock,ok as QuestionLabel,hc as Radio,_c as RadioGroup,td as Rank,id as RichTextField,ck as SearchInput,hk as SectionHeader,Ja as Select,ih as SentimentArrow,np as Skeleton,dd as Slider,ed as SortableList,pd as StarRating,zu as Surface,nl as Switch,vk as Tab,Ck as TestItem,jk as TestKPICard,ip as TextBarDivider,Xl as TextField,md as Textarea,Kk as ThemeContext,gM as ThemeProvider,$p as TickGroup,op as Toast,Ks as Tooltip,pp as TrialCard,Js as Typography,vp as UserMenu,Nk as VideoControls,Cp as VideoModal,Sa as backgroundCreator,ti as base,Nn as blue,Kn as blueRamp,ai as boxShadow,Jn as breakpoints,fa as buttonHeightMap,ga as buttonInteraction,na as chooseArticle,jc as compareArrayMembers,qk as customTheme,Hn as darkNeutral,In as darkNeutralAlpha,ia as defaultInputValidation,li as easing,ri as elevation,si as elevationFilter,ta as emailValidation,ui as fonts,Un as generateRamp,wa as getButtonSizing,ya as getButtonTypography,Ca as getIconSizing,ch as getKpiIndicatorColor,Wn as green,Qn as greenRamp,Nd as iconButtonHelpers,Ys as iconSizeMap,bc as isButton,lh as mapKpiColorSchemeByInteger,ni as margin,En as neutral,Rn as neutralAlpha,Zn as neutralRamp,ha as outlined,ii as padding,ra as passwordValidation,On as peach,Yn as peachRamp,xa as primary,$n as purple,Gn as purpleRamp,oi as radius,Dn as red,qn as redRamp,ma as secondary,ci as semantic,ei as space,pa as subtle,Va as useBreakpoint,yc as useDropdownMenu,Mc as useKeyCombo,zc as usePrevious,kc as useScreenSize,Jk as useTheme,Qk as useThemeBuilder,_n as yellow,Xn as yellowRamp};
23
+ */function ub(){if(Qj)return Kj;Qj=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Kj=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(i,o){for(var r,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(i),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))t.call(r,c)&&(a[c]=r[c]);if(e){s=e(r);for(var d=0;d<s.length;d++)n.call(r,s[d])&&(a[s[d]]=r[s[d]])}}return a},Kj}function pb(){if(eb)return Jj;eb=1;return Jj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function hb(){return nb?tb:(nb=1,tb=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var mb=db();Uj.exports=function(){if(sb)return rb;sb=1;var e=db(),t=ub(),n=pb(),i=hb(),o=function(){if(ob)return ib;ob=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=pb(),n={},i=hb();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,r,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(i(o,c)){var d;try{if("function"!=typeof o[c]){var u=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}d=o[c](r,c,a,s,null,t)}catch(e){d=e}if(!d||d instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+d.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ib=o}(),r=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),rb=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator,d="<<anonymous>>",u={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:m(s),arrayOf:function(e){return m((function(t,i,o,r,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[i];if(!Array.isArray(a))return new h("Invalid "+r+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,r,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,i,o){var r=e[t];return a(r)?null:new h("Invalid "+i+" `"+o+"` of type `"+v(r)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,i,o,r){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+o+" `"+r+"` of type `"+v(s)+"` supplied to `"+i+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,i,o,r){if(!(t[n]instanceof e)){var s=e.name||d;return new h("Invalid "+o+" `"+r+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:d)+"` supplied to `"+i+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,i,o){return f(e[t])?null:new h("Invalid "+i+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,r,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var d in l)if(i(l,d)){var u=e(l,d,r,s,a+"."+d,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,i,o,r){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===C(t)?String(t):t}));return new h("Invalid "+o+" `"+r+"` of value `"+String(s)+"` supplied to `"+i+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+y(o)+" at index "+t+"."),s}return m((function(t,o,r,s,a){for(var l=[],c=0;c<e.length;c++){var d=(0,e[c])(t,o,r,s,a,n);if(null==d)return null;d.data&&i(d.data,"expectedType")&&l.push(d.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,i,o,r,s){var a=t[i],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(o,r,s,c,C(d));var u=d(a,c,o,r,s+"."+c,n);if(u)return u}return null}))},exact:function(e){return m((function(o,r,s,a,l){var c=o[r],d=v(c);if("object"!==d)return new h("Invalid "+a+" `"+l+"` of type `"+d+"` supplied to `"+s+"`, expected `object`.");var u=t({},o[r],e);for(var p in u){var m=e[p];if(i(e,p)&&"function"!=typeof m)return g(s,a,l,p,C(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var x=m(c,p,s,a,l+"."+p,n);if(x)return x}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},i=0;function o(o,s,a,c,u,p,m){if(c=c||d,p=p||a,m!==n){if(l){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&i<3&&(r("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,i++)}}return null==s[a]?o?null===s[a]?new h("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,u,p)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function x(e){return m((function(t,n,i,o,r,s){var a=t[n];return v(a)!==e?new h("Invalid "+o+" `"+r+"` of type `"+C(a)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,i,o){return new h((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function f(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(f);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,i=t.call(e);if(t!==e.entries){for(;!(n=i.next()).done;)if(!f(n.value))return!1}else for(;!(n=i.next()).done;){var o=n.value;if(o&&!f(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function C(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=C(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},rb}()(mb.isElement,!0)}else Uj.exports=function(){if(lb)return ab;lb=1;var e=pb();function t(){}function n(){}return n.resetWarningCache=t,ab=function(){function i(t,n,i,o,r,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return i}i.isRequired=i;var r={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:o,element:i,elementType:i,instanceOf:o,node:i,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return r.PropTypes=r,r}}()();var xb=pi(Uj.exports);function gb(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=gb(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function fb(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=gb(e))&&(i&&(i+=" "),i+=t);return i}const vb=e=>e,Cb=(()=>{let e=vb;return{configure(t){e=t},generate:t=>e(t),reset(){e=vb}}})(),yb={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function wb(e,t,n="Mui"){const i=yb[t];return i?`${n}-${i}`:`${Cb.generate(e)}-${t}`}const jb=e.createContext({});function bb(e){return wb("MuiTimeline",e)}function kb(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${Qt(e)}`}"production"!==process.env.NODE_ENV&&(jb.displayName="TimelineContext"),function(e,t,n="Mui"){const i={};t.forEach((t=>{i[t]=wb(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const Mb=Xe("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[kb(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),zb=e.forwardRef((function(t,n){const i=Qe({props:t,name:"MuiTimeline"}),{position:o="right",className:r,...s}=i,a={...i,position:o},l=(e=>{const{position:t,classes:n}=e;return function(e,t,n){const i={};for(const o in e){const r=e[o];let s="",a=!0;for(let e=0;e<r.length;e+=1){const i=r[e];i&&(s+=(!0===a?"":" ")+t(i),a=!1,n&&n[i]&&(s+=" "+n[i]))}i[o]=s}return i}({root:["root",t&&kb(t)]},bb,n)})(a),c=e.useMemo((()=>({position:o})),[o]);return vi.jsx(jb.Provider,{value:c,children:vi.jsx(Mb,{className:fb(l.root,r),ownerState:a,ref:n,...s})})}));"production"!==process.env.NODE_ENV&&(zb.propTypes={children:xb.node,classes:xb.object,className:xb.string,position:xb.oneOf(["alternate-reverse","alternate","left","right"]),sx:xb.oneOfType([xb.arrayOf(xb.oneOfType([xb.func,xb.object,xb.bool])),xb.func,xb.object])});const Sb=F(Ut)((({theme:e,completed:t})=>({width:"24px",height:"24px",backgroundColor:e.custom.palette.surface.raised,boxShadow:"none",border:"none",padding:0,margin:"4px 0",...!t&&{border:`2px dashed ${e.custom.palette.icon.disabled}`}}))),Vb=F(M)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),Fb=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),Tb=F(Sl)((({theme:e})=>({[`&.${X.root}`]:{...Fb(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"> .MuiTypography-root":{textAlign:"start"},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),Lb=F(M)((({theme:e})=>({[`&.${we.root}`]:{...Fb(e),"& .MuiTypography-root":{color:"inherit"}}}))),Pb=F(Js)((()=>({color:"inherit",fontWeight:500,fontSize:ua.lg}))),Ab=F(Js)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),Bb=({children:e,complete:t,onClick:n})=>t?vi.jsx(Lb,{children:e}):vi.jsx(Tb,{underline:"none",component:"button",onClick:n,target:"_self",children:e}),Eb=({complete:e,title:t,description:n,onClick:i})=>vi.jsx(Vb,{children:vi.jsxs(Bb,{complete:e,onClick:i,children:[vi.jsx(Pb,{component:"p",variation:"lg",children:t}),!e&&vi.jsx(Xs,{name:"arrow-right",size:16}),!e&&n&&vi.jsx(Ab,{variation:"lg",component:"p",children:n})]})}),Hb=({item:e,showConnector:t})=>{const{complete:n,title:i,description:o,onClick:r}=e;return vi.jsxs(qt,{children:[vi.jsxs(Yt,{children:[vi.jsx(Sb,{completed:n,children:n?vi.jsx(Xs,{name:"badge-tick-in-circle",size:24}):void 0}),t&&vi.jsx(Xt,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&vi.jsx(Kt,{component:()=>vi.jsx(Eb,{complete:n,title:i,description:o,onClick:r})})]})},Rb={initial:{height:"auto",transition:{duration:0}},animate:e=>({height:e,transition:{duration:.4,ease:[.645,.045,.355,1]}})},Ib=({expanded:e,onToggleExpanded:t,items:n})=>{const r=n.find((e=>!e.complete)),s=d((()=>e?n:[r]),[e,n,r]),c=a(null),[u,p]=i(),h=l((()=>{if(!c.current)return;const e=c.current.scrollHeight;p(e)}),[n]);return o((()=>{h()}),[e,h]),o((()=>{const e=new ResizeObserver(h);return c.current&&e.observe(c.current),()=>e.disconnect()}),[h]),vi.jsx(Iw.div,{variants:Rb,initial:"initial",animate:"auto"===u?"initial":["initial","animate"],custom:u,style:{overflow:"hidden"},children:vi.jsx("div",{ref:c,style:{display:"flex"},children:vi.jsxs(zb,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),marginBottom:0,[`& .${Gt.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[s.map(((e,t)=>{const n=t<s.length-1;return e&&e?.title===r?.title?vi.jsx(Hb,{item:e,showConnector:s.length>1?n:!!r?.description},`${e.title}-${e.complete}`):e&&vi.jsx(Hb,{item:e,showConnector:n},e.title)})),!e&&vi.jsx(M,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:vi.jsx(Gl,{endIcon:vi.jsx(Xs,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:t,children:"Show more"})})]})})})},$b=({completed:e,total:t})=>vi.jsx(Js,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),Db=({cardTitle:e,cardSubtitle:t,welcomeImageUrl:n,welcomeImageAltDescription:o,items:r=[]})=>{const[s,a]=i(!0),l=Va(),c=()=>a(!s),d=r.length,u=r.filter((e=>e.complete)).length,p=u/d*100;return vi.jsxs(zu,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===l?"row":"column",gap:e=>({sm:e.spacing(e.custom.padding.md),lg:e.spacing(e.custom.margin.lg)}),padding:e=>({sm:e.spacing(e.custom.margin.md),lg:e.spacing(e.custom.margin.lg)})},children:[vi.jsxs(_j,{children:[vi.jsx(M,{component:"img",src:n,alt:o,sx:{width:{sm:56,lg:72},height:{sm:56,lg:72}}}),vi.jsx(Js,{component:"h1",variation:"md",fontWeight:500,children:e}),vi.jsx(Wj,{component:"p",variation:"lg",children:t})]}),vi.jsxs(Nj,{children:[vi.jsxs(M,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[vi.jsx($b,{completed:u,total:d}),s&&vi.jsx(qd,{sizing:"sm",variation:"outlined",icon:vi.jsx(Ge,{}),onClick:c})]}),vi.jsx(ep,{variation:"determinate",value:p}),vi.jsx(Ib,{expanded:s,onToggleExpanded:c,items:r})]})]})},Ob=(e,t)=>vi.jsxs(M,{display:"flex",gap:.5,children:[vi.jsx(Js,{variation:"sm",component:"p",weight:"bold",children:e||0}),vi.jsx(Js,{variation:"sm",component:"p",sx:{color:e=>e.custom.palette.text.secondary},children:jj(t,e||0)})]}),_b=({loops:e,tests:t,drafts:n})=>vi.jsxs(M,{display:"flex",alignItems:"center",flexWrap:"wrap",columnGap:1,children:[!!e&&Ob(e,"Loop"),!!t&&Ob(t,"Test"),!!n&&Ob(n,"Draft")]}),Nb=F(A)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.purple[100]}`,backgroundColor:e.custom.palette.purple[0],padding:`${e.spacing(e.custom.padding.xs)} ${e.spacing(e.custom.padding.sm)}`,"& p":{color:e.custom.palette.purple[1e3]}}))),Wb=({sx:e,body:t})=>vi.jsx(Nb,{"data-id":"pill-container",sx:Re(e,{position:"absolute",zIndex:1}),children:vi.jsx(Js,{variation:"xxs",component:"p",weight:"bold",children:t})}),Zb=({title:e,maxLines:t,sx:n})=>vi.jsx(Js,{variation:"md",component:"p",weight:"bold",sx:Re({overflow:"hidden",display:"-webkit-box",WebkitLineClamp:`${t}`,WebkitBoxOrient:"vertical"},n),children:e}),Ub=F(M,{shouldForwardProp:e=>!["disableRaisedEffect"].includes(e)})((({theme:e,disableRaisedEffect:t})=>({width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:t?"none":e.custom.elevation.raised}}}))),Gb=F(Le,{shouldForwardProp:e=>!["disableHoverStyle"].includes(e)})((({theme:e,disableHoverStyle:t=!1})=>({cursor:"pointer",...!0===t&&{"& .MuiCardActionArea-focusHighlight":{backgroundColor:e.palette.background.paper}}}))),qb=F(M)((({theme:e})=>({boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:e.spacing(e.custom.radius.md),[`> .${we.root}`]:{display:"flex",height:"100%","> span":{display:"flex",width:"100%"}}}))),Yb=({title:e,description:t,thumbnail:n})=>{const i=[e,t].filter(Boolean).join(" | ");return vi.jsx(Qd,{src:n,alt:i,title:i,style:{width:"100%",height:"auto",objectFit:"cover"}})},Xb=F(Pe)((({theme:e})=>({paddingTop:e.spacing(e.custom.padding.xs),paddingBottom:e.spacing(e.custom.padding.xs),paddingLeft:0,paddingRight:0,display:"flex",flexDirection:"column",gap:e.spacing(e.custom.margin.xs),'& [data-id="title-container"]':{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"start",gap:e.spacing(e.custom.margin.xs),"& > p":{alignSelf:"center"}}}))),Kb=F(M,{shouldForwardProp:e=>!["viewType"].includes(e)})((({theme:e,viewType:t})=>({width:"grid"===t?"100%":108,height:"grid"===t?150:72,backgroundColor:e.custom.palette.purple[0],display:"flex",justifyContent:"center",alignItems:"center",borderRadius:e.spacing(e.custom.radius.md),"& svg":{height:"grid"===t?64:32,width:"grid"===t?64:32}}))),Qb=({updatedDate:e,format:t=!1,noWrap:n})=>vi.jsxs(Js,{variation:"xxs",component:"p",noWrap:n,sx:{color:e=>e.custom.palette.text.secondary},children:["Edited on ",t?Jt(e).format("DD MMM YYYY"):e]}),Jb=({title:e,description:t,loopCount:n,testCount:i,draftCount:o,updatedAt:r,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:d})=>c?vi.jsx(Ub,{disableRaisedEffect:!0,sx:{pointerEvents:"none"},children:vi.jsxs(Gb,{component:"div",disableHoverStyle:!0,children:[vi.jsx(qb,{"data-id":"image-container",children:vi.jsx(np,{})}),vi.jsxs(Xb,{children:[vi.jsx(M,{"data-id":"title-container",height:32,children:vi.jsx(np,{})}),vi.jsx(np,{height:20}),vi.jsx(np,{height:16,width:"60%"})]})]})}):vi.jsx(Ub,{children:vi.jsxs(Gb,{component:"div",disableHoverStyle:!0,onClick:d,children:[vi.jsxs(qb,{"data-id":"image-container",sx:{border:e=>`1px solid ${e.custom.palette.stroke.light}`},children:[l&&vi.jsx(Wb,{body:"Demo",sx:{bottom:8,left:8}}),vi.jsx(Yb,{thumbnail:a,title:e,description:t})]}),vi.jsxs(Xb,{children:[vi.jsxs(M,{"data-id":"title-container",children:[vi.jsx(Zb,{title:e,maxLines:2}),vi.jsx(M,{"data-id":"more-actions-container",onClick:e=>{e.stopPropagation()},children:s})]}),vi.jsx(_b,{loops:n,tests:i,drafts:o}),vi.jsx(Qb,{updatedDate:r,format:!0})]})]})}),ek=({title:e,description:t,loopCount:n,testCount:i,draftCount:o,updatedAt:r,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:d})=>{const u=b();return c?vi.jsx(Ub,{disableRaisedEffect:!0,sx:{pointerEvents:"none",borderBottom:`1px solid ${u.custom.palette.stroke.light}`},children:vi.jsxs(Gb,{component:"div",onClick:d,sx:{display:"flex",gap:u.spacing(u.custom.margin.sm),alignItems:"center",padding:u.spacing(u.custom.padding.xs)},children:[vi.jsx(qb,{sx:{border:e=>`1px solid ${e.custom.palette.stroke.light}`,height:72,width:108},"data-id":"image-container",children:vi.jsx(np,{})}),vi.jsx(Xb,{sx:{overflow:"hidden",pl:u.spacing(u.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:vi.jsxs(A,{gap:u.spacing(u.custom.margin.xs),children:[vi.jsx(np,{width:"100%",height:20}),vi.jsxs(A,{direction:"row",gap:u.spacing(u.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[vi.jsx(np,{height:20,width:"70%"}),vi.jsx(np,{height:16,width:200})]})]})})]})}):vi.jsx(Ub,{disableRaisedEffect:!0,sx:{borderBottom:`1px solid ${u.custom.palette.stroke.light}`},children:vi.jsxs(Gb,{component:"div",onClick:d,sx:{display:"flex",gap:u.spacing(u.custom.margin.sm),alignItems:"center",padding:u.spacing(u.custom.padding.xs)},children:[vi.jsxs(qb,{sx:{border:e=>`1px solid ${e.custom.palette.stroke.light}`,height:72,width:108},"data-id":"image-container",children:[l&&vi.jsx(Wb,{sx:{top:4,right:4},body:"Demo"}),vi.jsx(Yb,{thumbnail:a,title:e,description:t})]}),vi.jsx(Xb,{sx:{overflow:"hidden",pl:u.spacing(u.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:vi.jsxs(A,{gap:u.spacing(u.custom.margin.xs),children:[vi.jsx(Zb,{title:e,maxLines:1}),vi.jsxs(A,{direction:"row",gap:u.spacing(u.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[vi.jsx(_b,{loops:n,tests:i,drafts:o}),vi.jsx(Qb,{updatedDate:r,format:!0,noWrap:!0})]})]})}),s&&vi.jsx(M,{onClick:e=>e.stopPropagation(),children:s})]})})},tk=e=>"list"===e.viewType?vi.jsx(ek,{...e}):vi.jsx(Jb,{...e}),nk=({onClick:e,viewType:t,title:n})=>{const i=b();return"list"===t?vi.jsx(Ub,{disableRaisedEffect:!0,sx:{borderBottom:`1px solid ${i.custom.palette.stroke.light}`},children:vi.jsxs(Gb,{component:"div",onClick:e,sx:{display:"flex",gap:i.spacing(i.custom.margin.sm),alignItems:"center",padding:i.spacing(i.custom.padding.xs)},children:[vi.jsx(qb,{sx:{height:72,width:108},"data-id":"image-container",children:vi.jsx(Kb,{viewType:t,children:vi.jsx(Xs,{name:"add"})})}),vi.jsx(Xb,{sx:{overflow:"hidden",pl:i.spacing(i.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:vi.jsx(A,{gap:i.spacing(i.custom.margin.xs),children:vi.jsx(Zb,{title:n,maxLines:1})})})]})}):vi.jsx(Ub,{sx:{height:"100%"},children:vi.jsxs(Gb,{component:"div",onClick:e,disableHoverStyle:!0,sx:{height:"inherit",display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start"},children:[vi.jsx(qb,{"data-id":"image-container",sx:{width:"100%"},children:vi.jsx(Kb,{viewType:t,children:vi.jsx(Xs,{name:"add"})})}),vi.jsx(Xb,{children:vi.jsx(Zb,{title:n,maxLines:2})})]})})},ik=F(M)((({theme:e,type:t})=>({backgroundColor:"focus"===t?e.custom.palette.peach[300]:e.custom.palette.surface.sunken,borderRadius:`${e.spacing(e.custom.radius.lg)} ${e.spacing(e.custom.radius.lg)} 0 0`,display:"flex",alignItems:"center",gap:e.spacing(e.custom.margin.xs),padding:`${e.spacing(e.custom.padding.sm)} ${e.spacing(e.custom.padding.md)}`}))),ok=({type:e,loading:t})=>{const n=b(),i=(e=>{switch(e){case"single-punch":return{icon:"check",label:"Single punch question"};case"multi-punch":return{icon:"check-double",label:"Multi punch question"};case"slider":return{icon:"linear-scale",label:"Slider question"};case"likert":return{icon:"thumbs-up-down",label:"Likert question"};case"rank":return{icon:"rank",label:"Rank question"};case"open-question":return{icon:"comment",label:"Open question"};case"emoji":return{icon:"emoticon",label:"Emoji question"};case"focus":return{icon:"image-search",label:"Focus step"};default:return{icon:"help",label:"Unknown type"}}})(e);return t?vi.jsx(np,{width:"100%",height:36,sx:{borderRadius:`${n.spacing(n.custom.radius.lg)} ${n.spacing(n.custom.radius.lg)} 0 0`}}):vi.jsxs(ik,{type:e,children:[vi.jsx(Xs,{name:i.icon,size:16}),vi.jsx(Js,{variation:"sm",component:"p",sx:{px:n.spacing(n.custom.padding.xs)},children:i.label})]})},rk=F(A)((({theme:e})=>({border:`1px solid ${e.custom.palette.stroke.light}`,borderRadius:e.spacing(e.custom.radius.lg)}))),sk=F(A)((({theme:e})=>({gap:e.spacing(e.custom.padding.sm),padding:e.spacing(e.custom.padding.md)}))),ak=({preQuestionText:e,questionText:t,questionType:n,supportText:i,slotProps:o,loading:r})=>{const s=b();return r?vi.jsxs(rk,{children:[vi.jsx(ok,{loading:!0}),vi.jsxs(A,{gap:1,sx:{padding:s.spacing(s.custom.padding.md)},children:[vi.jsx(np,{width:"100%",height:22}),vi.jsx(np,{width:"100%",height:44}),vi.jsx(np,{width:"100%",height:66})]})]}):vi.jsxs(rk,{children:[vi.jsx(ok,{type:n}),vi.jsxs(sk,{children:[e&&vi.jsx(Js,{variation:"md",component:"p",color:s.custom.palette.text.secondary,children:e}),vi.jsx(Js,{variation:"md",component:"p",weight:"bold",children:t}),i&&vi.jsx(lu,{typographyProps:{variation:"md",component:"p",color:s.custom.palette.text.secondary,sx:Re({"& strong":{fontWeight:400}},o?.supportText?.sx)},children:i})]})]})},lk=F(Xl)({width:"100%","& .MuiOutlinedInput-root":{height:32}}),ck=n((({onChange:e,onClear:t,onFocus:n,placeholder:i,value:o,...r},s)=>{const l=b(),c=a(null),d=()=>{e?.({target:{value:""},currentTarget:{value:""}}),t?.()};p(s,(()=>({...c.current,clear:d})));const u={color:l.custom.palette.icon.primary};return vi.jsx(lk,{inputRef:c,placeholder:i,value:o,onChange:e,onFocus:n,startAdornment:vi.jsx(Xs,{name:"search",size:17,sx:u}),endAdornment:o?vi.jsx(M,{onClick:d,sx:{cursor:"pointer",display:"flex"},children:vi.jsx(Xs,{name:"close",size:17,sx:u})}):void 0,...r})})),dk=F(M)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),uk=F(M)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),pk=F(Js)((({theme:e})=>({color:e.custom.palette.text.secondary}))),hk=({loading:e,...t})=>vi.jsx(vi.Fragment,{children:e?vi.jsx(xk,{...t}):vi.jsx(mk,{...t})}),mk=({buttons:e,subtitle:t,title:n})=>vi.jsx(vi.Fragment,{children:vi.jsx(dk,{sx:{justifyContent:"space-between"},children:vi.jsx(Z,{children:vi.jsx(U,{container:!0,spacing:2,children:vi.jsx(U,{size:12,children:vi.jsxs(uk,{sx:{justifyContent:"space-between",py:1},children:[vi.jsx(uk,{children:vi.jsxs(uk,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&vi.jsx(Js,{variation:"sm",component:"h2",weight:"bold",children:n}),t&&vi.jsx(pk,{variation:"sm",component:"p",children:t})]})}),e&&vi.jsx(uk,{children:e})]})})})})})}),xk=({title:e,subtitle:t,buttons:n})=>vi.jsx(vi.Fragment,{children:vi.jsx(dk,{sx:{justifyContent:"space-between"},children:vi.jsx(Z,{children:vi.jsx(U,{container:!0,spacing:2,children:vi.jsx(U,{size:12,children:vi.jsxs(uk,{sx:{justifyContent:"space-between",py:1},children:[vi.jsx(uk,{children:vi.jsxs(uk,{sx:{alignItems:"flex-start",flexDirection:"column",gap:.5},children:[e&&vi.jsx(np,{variant:"text",width:200,height:28}),t&&vi.jsx(np,{variant:"text",width:140,height:17})]})}),vi.jsx(uk,{children:n&&vi.jsxs(vi.Fragment,{children:[vi.jsx(np,{variant:"text",width:72,height:28}),vi.jsx(np,{variant:"text",width:56,height:28})]})})]})})})})})}),gk=F(Iw.div,{shouldForwardProp:e=>!["active"].includes(e)})((({active:e,theme:t})=>({backgroundColor:e?t.custom.palette.blue[0]:t.custom.palette.surface.default,border:e?`1px solid ${t.custom.palette.blue[500]}`:`1px solid ${t.custom.palette.stroke.default}`,borderRadius:t.spacing(t.custom.radius.md),cursor:"pointer",display:"flex",flex:1,flexDirection:"column",justifyContent:"space-between",padding:t.spacing(t.custom.padding.sm,t.custom.padding.md)}))),fk=F(Iw.div)((({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(e.custom.padding.sm)}))),vk=({active:e,animated:t,label:n,sentimentScore:i,stat:o,title:r,onClick:s})=>{const a=b();return vi.jsxs(gk,{layout:t,active:e,onClick:s,children:[vi.jsx(Js,{component:"p",variation:"sm",weight:"bold",children:r}),vi.jsxs(fk,{layout:t,children:["number"==typeof i?vi.jsxs(vi.Fragment,{children:[vi.jsx(Js,{variation:"md",component:"p",weight:"bold",sx:{fontVariantNumeric:"tabular-nums",lineHeight:"160%"},children:vi.jsx(Ot,{value:i,format:{maximumFractionDigits:1},animated:t})}),vi.jsx(ih,{sentimentScore:i})]}):vi.jsx(Js,{component:"p",variation:"md",weight:"bold",sx:{fontVariantNumeric:"tabular-nums"},children:vi.jsx(vi.Fragment,{children:"number"==typeof o?vi.jsx(Ot,{value:o,format:{maximumFractionDigits:1},animated:t}):"-"})}),!!n&&vi.jsx(Js,{component:"p",variation:"xs",color:a.custom.palette.text.secondary,clamp:1,sx:{wordBreak:"break-all"},children:n})]})]})};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".react-truncate-list {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n list-style: none;\n overflow: auto;\n}\n\n.react-truncate-list *,\n.react-truncate-list *::before,\n.react-truncate-list *::after {\n box-sizing: inherit;\n}\n");const Ck=({animated:e=!0,status:t,menuItems:n,title:o,tags:r,stats:s,user:a,slotProps:l,loading:c=!1,...d})=>{const[u,p]=i(!1);return vi.jsx(zu,{variation:"raised",borderradius:"lg",...d,sx:Re({padding:e=>e.spacing(e.custom.padding.md),border:e=>`1px solid ${e.custom.palette.stroke.light}`,width:"100%",cursor:"pointer","&:hover .TestItem__Menu":{opacity:1}},d.sx),children:vi.jsxs(A,{component:"article",gap:2,children:[vi.jsxs(A,{component:"header",gap:1,justifyContent:"space-between",children:[vi.jsxs(A,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:1,children:[c?vi.jsx(np,{sx:{width:90,height:32}}):vi.jsx(bh,{status:t,...l?.status}),!c&&Boolean(n?.length)&&vi.jsx(Bu,{trigger:vi.jsx(qd,{icon:vi.jsx(Xs,{name:"more-horizontal",size:16}),variation:"outlined",className:"TestItem__Menu",sx:{width:28,aspectRatio:1,borderRadius:"100% !important",transition:"opacity 0.3s ease",opacity:0,"&:focus":{background:e=>`${e.custom.palette.interaction.press} !important`,opacity:1}}}),bindOn:["toggle"],menuItems:n,width:128,offset:[0,8],placement:"bottom-end",...l?.menu})]}),c?vi.jsx(np,{}):vi.jsx(Js,{component:"h1",weight:"bold",...l?.title,sx:Re({fontSize:e=>e.custom.typography.body.xl},l?.title?.sx),children:o})]}),vi.jsx(M,{children:c?vi.jsx(M,{display:"flex",flexDirection:"row",gap:.5,children:[...new Array(3).fill(void 0)].map(((e,t)=>vi.jsx(np,{sx:{maxWidth:50}},`test-item-skeleton-${t}`)))}):Boolean(r?.length)&&vi.jsx(en,{style:{display:"flex",flexWrap:"wrap",maxHeight:30,gap:"4px",...u&&{maxHeight:"none"}},alwaysShowTruncator:u,renderTruncator:({hiddenItemsCount:e})=>e>0?vi.jsx(nu,{body:`+${e}`,weight:"light",onClick:e=>{e.stopPropagation(),p(!0)},...l?.tagsExpand,sx:Re({background:e=>e.custom.palette.neutral[50]},l?.tagsExpand?.sx)}):vi.jsx(qd,{sizing:"sm",icon:vi.jsx(Xs,{name:"chevron-up",size:16}),onClick:e=>{e.stopPropagation(),p(!1)},...l?.tagsCollapse,sx:Re({color:e=>e.custom.palette.icon.primary},l?.tagsCollapse?.sx)}),children:r.map((e=>vi.jsx(nu,{body:e,weight:"light",...l?.pill,sx:Re({background:e=>e.custom.palette.neutral[50]},l?.pill?.sx)},e)))})}),!c&&s?.progress&&vi.jsx(zu,{variation:"sunken",borderradius:"md",sx:{border:e=>`1px solid ${e.custom.palette.neutral[100]}`,padding:e=>e.spacing(e.custom.padding.md)},children:vi.jsxs(A,{gap:2,children:[vi.jsx(ep,{variation:"determinate",value:s.progress.percentage}),vi.jsxs(M,{gap:{sm:.5,md:1},justifyContent:"stretch",sx:e=>({display:"grid",[e.breakpoints.up("lg")]:{gridTemplateColumns:"repeat(3, 1fr)"},[e.breakpoints.down("lg")]:{gridTemplateColumns:"auto"},[e.containerQueries.up("lg")]:{gridTemplateColumns:"repeat(3, 1fr)"},[e.containerQueries.down("lg")]:{gridTemplateColumns:"auto"}}),children:[vi.jsx(M,{flexBasis:0,flexGrow:1,children:vi.jsx(yk,{animated:e,label:"Completed",primaryText:s.progress.completed.toString(),secondaryText:`of ${s.progress.total}`})}),vi.jsx(M,{flexBasis:0,flexGrow:1,children:vi.jsx(yk,{animated:e,label:"Incomplete",primaryText:s.progress.incomplete.toString(),secondaryText:`${s.progress.incompletePercentage}%`})}),vi.jsx(M,{flexBasis:0,flexGrow:1,children:vi.jsx(yk,{animated:e,label:"Duration",primaryText:s.progress.averageDuration,secondaryText:"average"})})]}),"results-ready"!==t&&vi.jsxs(M,{display:"flex",justifyItems:"center",gap:.3,children:[vi.jsx(Js,{component:"p",sx:{fontSize:e=>e.custom.typography.body.sm,color:e=>s?.progress?.estimatedTimeToComplete?e.custom.palette.text.secondary:e.custom.palette.text.placeholder,"& > strong":{color:e=>e.custom.palette.text.primary}},children:s.progress.estimatedTimeToComplete?vi.jsxs(vi.Fragment,{children:[(e=>{switch(e){case"draft":default:return"";case"in-progress":return"Expected to complete in";case"results-ready":return"Completed"}})(t)," ",vi.jsx("strong",{children:s.progress.estimatedTimeToComplete})]}):vi.jsx(vi.Fragment,{children:"Not enough data to estimate completion time"})}),s.progress.estimatedTimeToComplete&&vi.jsx(Ks,{message:"Based on current respondent completion rates",slotProps:{wrapper:{sx:{display:"inline-flex"}}},children:vi.jsx(M,{lineHeight:"normal",display:"flex",onClick:e=>e.stopPropagation(),children:vi.jsx(Xs,{name:"info",size:16})})})]})]})}),vi.jsxs(M,{component:"footer",display:"flex",flexDirection:"row",justifyContent:a?"space-between":"end",gap:1,children:[a&&vi.jsx(M,{display:"flex",alignItems:"center",gap:1,children:c?vi.jsxs(vi.Fragment,{children:[vi.jsx(np,{sx:{borderRadius:"50%",width:24,aspectRatio:1,flexShrink:0}}),vi.jsx(np,{sx:{width:100}})]}):vi.jsx(vi.Fragment,{children:vi.jsx(Js,{component:"p",clamp:1,sx:{fontSize:e=>e.custom.typography.body.xs,color:e=>e.custom.palette.text.secondary},children:a.activityDescription})})}),!c&&"draft"!==t&&vi.jsxs(M,{display:"flex",alignItems:"center",gap:2,flexShrink:0,children:[vi.jsx(wk,{animated:e,iconName:"data-bar",label:"answers",value:s?.count?.answers??0}),vi.jsx(wk,{animated:e,iconName:"comment-filled",label:"comments",value:s?.count?.comments??0,slotProps:{icon:{size:20}}})]})]})]})})},yk=({animated:e,label:t,primaryText:n,secondaryText:i})=>{const o=n.match(/\d{1,2}:\d{2}/),r=n.split(":"),s=!isNaN(Number(n)),a=i.includes("%")&&!isNaN(Number(i.replace("%","")));return vi.jsxs(A,{sx:{background:e=>e.custom.palette.surface.default,minWidth:"92px",border:e=>`1px solid ${e.custom.palette.neutral[100]}`,borderRadius:1,padding:e=>`${e.spacing(e.custom.padding.sm)} ${e.spacing(e.custom.padding.md)}`,color:e=>e.custom.palette.text.primary,flexShrink:0,height:"100%"},direction:{sm:"row",md:"row",lg:"column"},alignItems:"center",gap:{sm:1,md:1,lg:0},children:[vi.jsx(Js,{component:"p",sx:{width:"100%",textAlign:{md:"left",lg:"center"},fontSize:e=>e.custom.typography.body.sm},children:t}),vi.jsx(Js,{component:"h3",sx:{fontSize:e=>({sm:e.custom.typography.body.sm,md:e.custom.typography.body.md,lg:e.custom.typography.body.xxl}),fontWeight:500,flexShrink:0},children:vi.jsx(vi.Fragment,{children:o||s?vi.jsx(vi.Fragment,{children:o?vi.jsxs(vi.Fragment,{children:[vi.jsx(Ot,{value:Number(r[0]),format:{minimumIntegerDigits:2,useGrouping:!1},animated:e}),":",vi.jsx(Ot,{value:Number(r[1]),format:{minimumIntegerDigits:2,useGrouping:!1},animated:e})]}):vi.jsx(Ot,{value:Number(n),animated:e})}):vi.jsx(vi.Fragment,{children:n})})}),vi.jsx(Js,{component:"p",sx:{color:e=>e.custom.palette.text.secondary,fontSize:e=>e.custom.typography.body.sm,flexShrink:0},children:a?vi.jsxs(vi.Fragment,{children:[vi.jsx(Ot,{value:i.replace("%",""),animated:e}),"%"]}):i})]})},wk=({animated:e,iconName:t,label:n,value:i,slotProps:o})=>vi.jsxs(M,{display:"flex",alignItems:"center",gap:.5,children:[vi.jsx(Xs,{name:t,...o?.icon,sx:Re({color:e=>e.custom.palette.icon.secondary},o?.icon?.sx)}),vi.jsxs(Js,{component:"p",sx:e=>({fontSize:e=>e.custom.typography.body.xs,color:e=>e.custom.palette.text.primary,"& > span":{color:e=>e.custom.palette.text.secondary,[e.breakpoints.up("lg")]:{display:"inline"},[e.breakpoints.down("lg")]:{display:"none"},[e.containerQueries.up("lg")]:{display:"inline"},[e.containerQueries.down("lg")]:{display:"none"}}}),children:[vi.jsx(Ot,{value:i,animated:e})," ",vi.jsx("span",{children:n})]})]}),jk=n((({colorScheme:e="purple",variation:t,title:n,description:i,loading:o,onShowMoreClick:r,menuItems:s,active:a,...l},c)=>{const d=b(),u="raised";return vi.jsxs(zu,{ref:c,active:a,borderradius:"lg",variation:u,...l,sx:Re({display:"flex",flexDirection:"column",gap:d.custom.margin.sm,border:`1px solid ${d.custom.palette.stroke.light}`,padding:d.custom.padding.md,"&:hover":{cursor:"pointer",".TestKPICard__Menu":{opacity:1}},..."dimmed"===t&&{border:`1px solid ${d.custom.palette.stroke.light}`}},l.sx),children:[vi.jsxs(A,{direction:"row",gap:1,children:[vi.jsxs(A,{direction:"row",gap:1,width:"100%",sx:{minHeight:"22px"},children:[vi.jsx(vi.Fragment,{children:o?vi.jsx(np,{sx:{width:17,height:16}}):vi.jsx(M,{sx:{height:"22px",display:"flex",placeItems:"center"},children:vi.jsx(dh,{colorScheme:e,disabled:t&&"dimmed"===t})})}),o?vi.jsx(np,{sx:{marginTop:"-1px"}}):vi.jsx(Js,{component:"p",variation:"md",weight:"bold",sx:{color:"dimmed"===t?d.custom.palette.text.disabled:d.custom.palette.text.primary},children:n})]}),!o&&Boolean(s?.length)&&vi.jsx(Bu,{trigger:vi.jsx(qd,{icon:vi.jsx(Xs,{name:"more-horizontal",size:16}),variation:"outlined",className:"TestKPICard__Menu",sx:{width:28,aspectRatio:1,borderRadius:"100% !important",transition:"opacity 0.3s ease",opacity:0,"&:focus":{background:`${d.custom.palette.interaction.press} !important`,opacity:1}}}),menuItems:s,width:128,offset:[0,-8],placement:"bottom-end"})]}),o?vi.jsx(M,{display:"flex",flexDirection:"column",gap:.5,children:[...new Array(3).fill(void 0)].map(((e,t)=>vi.jsx(np,{height:19},`TestKPICard__Skeleton--description-${t}`)))}):vi.jsx(Sc,{clamp:3,component:"p",variation:"sm",sx:{color:"dimmed"===t?d.custom.palette.text.disabled:d.custom.palette.text.secondary},onShowMoreClick:r,slotProps:{showMoreButton:{disabled:"dimmed"===t},gradientBox:{background:a?d.custom.palette.blue[0]:ku(u,d)}},children:i})]})})),bk=(e,t=1e5)=>Math.round(e*t)/t;var kk=w((({playing:e,ended:t,seeking:n,buffering:i,handleAction:o})=>vi.jsx(qd,{disabled:i,loading:i,onClick:()=>o(),shape:"round",sizing:"xl",variation:"outlined",icon:vi.jsx(Xs,{name:(()=>{switch(!0){case n&&t:return"replay";case n:return"play";case!e&&t:return"replay";case e:return"pause";default:return"play"}})()})})));const Mk=e=>{const t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%60),o=i<10?"0"+i:i,r=t>0&&n<10?"0"+n:n;return t>0?`${t}:${r}:${o}`:`${r}:${o}`},zk=(e,t)=>t/e*100,Sk=F(M)((({theme:e})=>({position:"absolute",top:"100%",marginTop:e.spacing((e.breakpoints.down("lg"),e.custom.margin.xs)),left:0,display:"flex",alignItems:"center",width:"100%",height:18}))),Vk=F(M)((({theme:e,width:t,left:n})=>({position:"absolute",background:e.custom.palette.neutralAlpha[2],opacity:1,borderRadius:18,height:18,pointerEvents:"none",top:0,left:`${n}%`,width:`${t}%`,zIndex:0,"&:after":{content:'" "',position:"absolute",width:"100%",height:78,top:38,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.neutralAlpha[1]}}))),Fk=F(M,{shouldForwardProp:e=>"isActive"!==e})((({theme:e,isActive:t})=>({position:"absolute",background:e.custom.palette.purple[500],height:8,width:8,borderRadius:8,...t?{transform:"translateX(-50%) scale(1)"}:{transform:"translateX(-50%) scale(0.5)"},transition:"all 0.2s, background 0.2s"})));var Tk=w((({startTime:e,endTime:t,currentTime:n,markers:i=[],markerIndicator:o=!0,markerIndicatorSize:r=3,markerIndicatorMode:s,marker:a})=>{const l=d((()=>zk(t-e,n-e)),[n,e,t]),c=d((()=>"time"===s?r:(t-e)*r),[t,e,s,r]),{width:u,left:p}=d((()=>{const i=t-e,o=(n-e)/i;let a;a="time"===s?r/i*100:100*r;const c=a/2,d=100*o,u=100-100*o,p=Math.min(c,d);return{width:p+Math.min(c,u),left:l-p}}),[n,e,t,l,s,r]),h=d((()=>i.map((({timeStamp:i,id:o,meta:r})=>({id:o,timeStamp:i,markerPosition:zk(t-e,i),isActive:Math.abs(i-n+e)<=c/2+1e-10,meta:r})))),[i,t,e,n,c]),m=a||Fk;return vi.jsxs(Sk,{children:[o&&vi.jsx(Vk,{width:u,left:p}),h.map((({id:e,markerPosition:t,isActive:n,meta:i})=>vi.jsx(m,{isActive:n,sx:{zIndex:2,left:`${t}%`},...i&&{meta:i}},e)))]})}));var Lk=w(F(le)((({theme:e,type:t,muted:n,value:i})=>({padding:0,"@media (pointer: coarse)":{padding:0},[`.${Ae.thumb}`]:{border:0,boxShadow:"none",width:4,height:4,"&:hover":{boxShadow:`${Je(e.custom.palette.purple[300],.2)} 0px 0px 0px 4px`},[`&.${Ae.active}`]:{width:8,height:8,boxShadow:`${Je(e.custom.palette.purple[300],.2)} 0px 0px 0px 8px`},[`&.${Ae.focusVisible}`]:{boxShadow:`${Je(e.custom.palette.purple[300],.2)} 0px 0px 0px 4px`}},..."volume"===t?{height:100,color:e.custom.palette.icon.primary,...(n||0===i)&&{opacity:.5},[`.${Ae.valueLabel}`]:{background:e.custom.palette.surface.default,color:e.custom.palette.text.primary,fontSize:e.custom.typography.body.xs,fontWeight:"normal",boxShadow:e.custom.elevation.overlay},[`.${Ae.thumb}`]:{border:0,boxShadow:"none",width:8,height:8,"&:hover":{boxShadow:`${Je(e.custom.palette.neutral[300],.2)} 0px 0px 0px 4px`},[`&.${Ae.active}`]:{width:8,height:8,boxShadow:`${Je(e.custom.palette.neutral[300],.2)} 0px 0px 0px 8px`},[`&.${Ae.focusVisible}`]:{boxShadow:`${Je(e.custom.palette.neutral[300],.2)} 0px 0px 0px 4px`}}}:{color:e.custom.palette.purple.main,height:4,[`.${Ae.rail}`]:{height:4,background:Je(e.custom.palette.neutral[400],.5),opacity:1},[`.${Ae.track}`]:{border:0,boxShadow:"none",height:4}}}))));const Pk=F(A)((({theme:e})=>({flexDirection:"row",gap:e.spacing(e.custom.padding.xs),alignItems:"center"}))),Ak=({handleVolumeMute:e,handleVolumeChange:t,muted:n,volume:i,volumeControlsType:o})=>{const r=vi.jsx(qd,{icon:(()=>{switch(!0){case 0===i||n:return vi.jsx(Ye,{});case i<.5:return vi.jsx(nn,{});default:return vi.jsx(qe,{})}})(),variation:"default",shape:"default",sizing:"xs",onClick:e});return vi.jsx(Pk,{children:"mute"===o?r:vi.jsx(Vu,{bindOn:["hover"],trigger:r,popperProps:{placement:"top",style:{zIndex:40}},children:vi.jsx(Lk,{muted:n,type:"volume",valueLabelDisplay:"auto",orientation:"vertical",step:.01,value:i,valueLabelFormat:e=>`${Math.ceil(zk(1,e))}%`,min:0,max:1,onChange:(e,n)=>{e.preventDefault(),t(n)}})})})},Bk=F(A)({flex:1,position:"relative"}),Ek=F(A)((({theme:e})=>({ml:"auto",alignItems:"center",position:"absolute",width:"100%",overflow:"hidden",right:0,bottom:8,gap:e.spacing(e.custom.margin.xs)}))),Hk=F(Js)((({theme:e})=>({color:e.custom.palette.text.secondary,textOverflow:"ellipsis",overflow:"hidden",textWrap:"nowrap",marginLeft:"auto"}))),Rk=F(M)((({theme:e})=>({position:"relative",width:"100%",display:"flex",gap:e.spacing(e.custom.margin.xs),alignItems:"center"}))),Ik=F(M)((({theme:e,left:t,width:n})=>({background:e.custom.palette.neutral[300],height:4,position:"absolute",left:`${t}%`,pointerEvents:"none",top:"50%",transform:"translateY(-50%)",borderRadius:e.custom.radius.round,width:`${n}%`})));var $k=w((({startTime:e,currentTime:t,endTime:n,playing:o,markerIndicator:r,bufferRanges:s,handleSeeking:a,handleSeekEnd:c,handleSeekStart:d,markers:u,marker:p,markerIndicatorMode:h,markerIndicatorSize:m,volume:x,muted:g,handleVolumeMute:f,handleVolumeChange:v,volumeControlsType:C,volumeControls:y})=>{const[w,j]=i(o),b=l(((e,t)=>{e.stopPropagation(),a?.(t)}),[a]),k=l(((e,t)=>{e.stopPropagation(),c?.(w),w&&j(!1)}),[w,c]),M=l((e=>{e.stopPropagation(),o&&j(o),d?.(o)}),[o,d]),z=l((()=>{o&&j(o),d?.(o)}),[o,d]),S=l((()=>{c?.(w),w&&j(!1)}),[w,c]);return vi.jsxs(Bk,{children:[vi.jsxs(Ek,{direction:"row",children:[vi.jsxs(Hk,{component:"p",variation:"md",children:[Mk(t-e)," / ",Mk(n-e)]}),y&&vi.jsx(Ak,{volume:x,muted:g,handleVolumeMute:f,handleVolumeChange:v,volumeControlsType:C})]}),s.length>0&&s.map((({startPercent:e,widthPercent:t},n)=>vi.jsx(Ik,{left:e,width:t},n))),vi.jsxs(Rk,{children:[vi.jsx(Lk,{step:.05,value:t,max:n,min:e,onChangeCommitted:k,onMouseDown:M,onChange:b,onTouchStart:z,onTouchEnd:S}),u&&u?.length>0&&vi.jsx(Tk,{markerIndicatorMode:h,markerIndicatorSize:m,markerIndicator:r,markers:u,marker:p,startTime:e,currentTime:t,endTime:n})]})]})}));const Dk=F(zu)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(e.custom.padding.md),borderColor:e.custom.palette.stroke.light,borderWidth:1,gap:e.spacing(e.custom.padding.sm),borderStyle:"solid",flexDirection:"column"}))),Ok=F(A)((({theme:e})=>({alignItems:"center",gap:e.spacing(e.custom.padding.md),justifyContent:"space-between",flexDirection:"row",flex:1}))),_k=n((({id:e,videoElement:t,initialEndTime:n=0,initialCurrentTime:r=0,initialMuted:s,initialVolume:a,markers:c,options:d,slots:u,events:{onEnd:h,onPlay:m,onSeekEnd:x,onSeeking:g,onSeekStart:f,onTimeUpdate:v,onPause:C,onVolumeChange:y,onVolumeMute:w,onRestart:j,onFirstPlay:b,onFirstEnded:k,onReset:M}={},videoSeekTime:z},S)=>{const[V,F]=i([]),T={rtl:!1,volumeControls:!0,normaliseTime:!1,markerIndicatorMode:"time",markerIndicator:!1,markerIndicatorSize:3,volumeControlsType:"mute",...d},[{seeking:L,endTime:P,currentTime:A,playing:B,buffering:E,loaded:H,ended:R,volume:I,muted:$,startTime:D,firstPlay:O,firstEnded:_},N]=i({startTime:bk(T.normaliseTime?r:0),endTime:bk(T.normaliseTime?n:t.duration),currentTime:bk(r??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1,volume:a||1,muted:s||!1,buffering:!1});o((()=>{if(t.muted=$,t.volume=I,T.normaliseTime&&(void 0===n||void 0===r))throw new Error("Please supply an initial end time and initial currentTime for normalising time in VideoControls.tsx");return()=>{te()}}),[]),o((()=>{N((e=>({...e,startTime:bk(T.normaliseTime?r:0),endTime:bk(T.normaliseTime?n:t.duration),currentTime:bk(r??0)}))),t.currentTime=bk(r??0)}),[r,n]);const W=l((()=>{N((e=>({...e,playing:!1,ended:!0,...!_&&{firstEnded:!0}}))),h&&h(),!_&&k&&k()}),[_]);o((()=>{if(!t||null==z)return;(async()=>{const e=!t.paused,n=z===P;N((e=>({...e,playing:!1,currentTime:bk(z)}))),await new Promise((e=>{const n=()=>{t.removeEventListener("seeked",n),e()};t.addEventListener("seeked",n),setTimeout(e,500)})),N((e=>({...e,currentTime:bk(z)}))),await new Promise((e=>setTimeout(e,50))),N((t=>({...t,playing:e,currentTime:bk(n?z-.001:z+.001)})))})().catch((e=>{console.error("Error seeking video:",e)}))}),[z,t]);const Z=l((e=>{N((t=>({...t,muted:e.target?.muted,volume:"number"==typeof e.target?.volume?e.target?.volume:1}))),$!==e.target?.muted&&w&&w(!$),I!==e.target?.volume&&y&&y(I)}),[$,I]),U=l((()=>{const e=bk(t.currentTime)>=P&&P!==bk(t.duration)&&!R,n=bk(t.currentTime)>=P&&P===bk(t.duration)&&!R&&!B;(e||n)&&(t.pause(),t.dispatchEvent(new Event("ended"))),N((e=>({...e,currentTime:bk(t.currentTime)}))),v&&v(bk(t.currentTime))}),[P,R,B]),G=l((()=>{N((e=>({...e,playing:!1}))),C&&C()}),[A]),q=l((()=>{N((e=>({...e,playing:!0,ended:!1,buffering:!1,...!O&&{firstPlay:!0}}))),!O&&b&&b(),m&&m()}),[O]),Y=l((()=>{N((e=>({...e,buffering:!0})))}),[]),X=l((()=>{N((e=>({...e,buffering:!1})))}),[E]),K=l((()=>{const e=[];for(let n=0;n<t.buffered.length;n++){const i=t.buffered.start(n),o=t.buffered.end(n);if(o>=D&&i<=P){const t=Math.max(i,D),n=Math.min(o,P);e.push({start:t-D,end:n-D,startPercent:(t-D)/(P-D)*100,widthPercent:(n-t)/(P-D)*100})}}F(e)}),[L,P,A,B,E,H,R,I,$,D,V]),Q=l((async e=>{B&&te(),t.currentTime=D,e&&await ee(),j&&j()}),[B,A,D,P,R]),J=l((async()=>{B&&te(),t.currentTime=D,N((e=>({...e,startTime:bk(T.normaliseTime?r:0),endTime:bk(T.normaliseTime?n:t.duration),currentTime:bk(r??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1}))),M&&M()}),[B,A,D,P,R,r,n]),ee=async()=>{await t.play()},te=()=>{t.pause()},ne=l((e=>{t.currentTime=bk(e),N((t=>({...t,currentTime:bk(e),ended:!1,seeking:!0,buffering:!1,firstPlay:!O||t.firstPlay,bufferProgress:e}))),g&&g(e),!O&&b&&b()}),[E,O]),ie=l((e=>{e&&t.pause(),N((e=>({...e,seeking:!0}))),f&&f()}),[R]),oe=l((async(e,n,i)=>{n&&(t.currentTime=n),e&&!R&&await t.play(),i&&B&&t.pause(),N((e=>({...e,...n?{currentTime:n}:{},ended:!i&&e.ended,seeking:!1}))),x&&x(n)}),[B,R,E,L]);return tn("pause",G,t),tn("playing",q,t),tn("timeupdate",U,t),tn("ended",W,t),tn("volumechange",Z,t),tn("waiting",Y,t),tn("canplay",X,t),tn("progress",K,t),p(S,(()=>({play:ee,pause:te,restart:Q,reset:J,seek:(e,t,n)=>oe(t,e,n),videoState:{seeking:L,endTime:P,currentTime:A,playing:B,buffering:E,loaded:H,ended:R,volume:I,firstPlay:O,firstEnded:_,muted:$,startTime:D}}))),vi.jsxs(Dk,{variation:"raised",borderradius:"xl",id:e,children:[vi.jsxs(Ok,{...T?.rtl&&{dir:"rtl"},children:[vi.jsx(kk,{seeking:L,playing:B,ended:R,buffering:E,handleAction:async()=>{R?await Q(!0):B?te():await ee()}}),vi.jsx($k,{handleSeeking:ne,handleSeekEnd:oe,handleSeekStart:ie,ended:R,marker:u?.marker,markers:c,markerIndicatorMode:T.markerIndicatorMode,markerIndicatorSize:T.markerIndicatorSize,markerIndicator:T.markerIndicator,startTime:T.normaliseTime?D:0,currentTime:A,endTime:P,playing:B,bufferRanges:V,buffering:E,volume:I,muted:$,volumeControls:T.volumeControls,volumeControlsType:T.volumeControlsType,handleVolumeMute:()=>{t.muted=!$},handleVolumeChange:e=>{t.volume=e,$&&(t.muted=!1)}})]}),u?.bottom]})}));var Nk=w(_k);const Wk=F(M)((({theme:e})=>({backgroundColor:e.custom.palette.surface.sunken,display:"flex",flexDirection:"row",gap:e.spacing(e.custom.margin.sm),padding:e.spacing(e.custom.padding.sm),borderRadius:e.spacing(e.custom.radius.md),alignSelf:"stretch"}))),Zk=F(A)((({theme:e})=>({gap:e.spacing(e.custom.margin.xs),flexDirection:"row",flexWrap:"wrap",flex:"1 1 0",alignItems:"flex-start",justifyContent:"flex-end"}))),Uk=({demographicOptionLabel:e,demographicSelectionLabels:t})=>vi.jsxs(Wk,{children:[vi.jsx(Js,{component:"p",weight:"bold",variation:"xs",sx:{maxWidth:"128px",color:e=>e.custom.palette.text.primary,paddingTop:"1px"},children:e}),vi.jsx(Zk,{children:t.map(((e,t)=>vi.jsx(Ku,{label:e,sx:{maxWidth:"256px"}},`${t}-${e}`)))})]}),Gk=F(zu)((({theme:e,disabled:t,active:n})=>({position:"relative",display:"flex",gap:e.spacing(e.custom.margin.sm),alignItems:"center",minWidth:140,width:"100%",transition:"all 0.2s ease",cursor:t?"not-allowed":"pointer",border:`1px solid ${n?e.custom.palette.blue[500]:e.custom.palette.interaction.none}`,"&:before":{content:'""',position:"absolute",inset:0,borderRadius:"inherit",transition:"all 0.2s ease",pointerEvents:"none",backgroundColor:t?e.custom.palette.interaction.disabledMuted:"transparent"},"&:hover":{"&:before":{backgroundColor:t?e.custom.palette.interaction.disabledMuted:e.custom.palette.interaction.hover}},"&:active":{"&:before":{backgroundColor:t?e.custom.palette.interaction.disabledMuted:e.custom.palette.interaction.press}}}))),qk=({disabled:e,loading:t,active:n,onClick:i,icon:o,label:r,slotProps:s,...a})=>{const l=b();return vi.jsx(Gk,{borderradius:"md",variation:"default",active:!e&&n,disabled:e,onClick:e?void 0:i,sx:{px:l.custom.padding.sm,py:l.custom.padding.xs,...s?.surface?.sx},...s?.surface,...a,children:vi.jsxs(M,{sx:{display:"flex",alignItems:"center",gap:l.spacing(l.custom.margin.sm)},className:"emoji-list-item-content-container",children:[o&&vi.jsx(vi.Fragment,{children:t?vi.jsx(np,{variant:"text",width:24,sx:{borderRadius:"50%"}}):vi.jsx(wc,{disabled:e,checked:!0,...s?.icon,children:o})}),r&&vi.jsx(M,{sx:{height:24,flexGrow:1,display:"flex",alignItems:"center",gap:l.spacing(l.custom.margin.sm)},className:"emoji-list-item-label-container",children:t?vi.jsx(np,{variant:"text",width:120}):vi.jsx(Js,{component:"p",variation:"md",sx:{color:e?l.custom.palette.text.disabled:l.custom.palette.text.primary},...s?.label,children:r})})]})})},Yk=F(Gk)((({theme:e,disabled:t})=>({border:`1px solid ${e.custom.palette.stroke.default}`,cursor:"initial",...t&&{backgroundColor:e.custom.palette.interaction.disabled}}))),Xk=({dragHandle:e=!1,disabled:t,loading:n,onDelete:i,primaryAction:o,icon:r,label:s,slotProps:a,...l})=>{const c=b();return vi.jsxs(Yk,{borderradius:"md",variation:"default",disabled:t,sx:{p:c.custom.padding.sm,...a?.surface?.sx},...a?.surface,...l,children:[e&&vi.jsx(M,{sx:{display:"flex",alignItems:"center"},className:"emoji-list-item-drag-handle-container",children:vi.jsx(qd,{disabled:t,sizing:"xs",icon:vi.jsx(Xs,{name:"drag-handle",color:c.custom.palette.icon.secondary}),...a?.dragHandle})}),vi.jsxs(M,{sx:{display:"flex",alignItems:"center",gap:c.spacing(c.custom.margin.sm),flex:"1 0 0",px:c.spacing(c.custom.padding.sm)},className:"emoji-list-item-content-container",children:[r&&vi.jsx(vi.Fragment,{children:n?vi.jsx(np,{width:24,height:24,sx:{borderRadius:"50%"}}):vi.jsx(wc,{disabled:t,checked:!0,...a?.icon,children:r})}),s&&vi.jsx(M,{sx:{height:24,flexGrow:1,display:"flex",alignItems:"center",gap:c.spacing(c.custom.margin.sm)},className:"emoji-list-item-label-container",children:n?vi.jsx(np,{width:100,height:24}):vi.jsx(Js,{component:"p",variation:"md",sx:{color:t?c.custom.palette.text.disabled:c.custom.palette.text.primary},...a?.label,children:s})})]}),(o||i)&&vi.jsxs(M,{sx:{display:"flex",alignItems:"center",gap:c.spacing(c.custom.margin.xs)},className:"emoji-list-item-actions-container",children:[o&&vi.jsx(vi.Fragment,{children:n?vi.jsx(np,{width:24,height:24}):vi.jsx(qd,{sizing:"xs",disabled:t,icon:vi.jsx(Xs,{name:"edit",color:c.custom.palette.icon.secondary}),onClick:e=>{e.stopPropagation(),o&&o()},...a?.primaryAction})}),i&&vi.jsx(vi.Fragment,{children:n?vi.jsx(np,{width:24,height:24}):vi.jsx(qd,{sizing:"xs",disabled:t,icon:vi.jsx(Xs,{name:"delete",color:c.custom.palette.icon.secondary}),onClick:e=>{e.stopPropagation(),i&&i()},...a?.deleteAction})})]})]})},Kk="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",Qk=(e,t,n)=>Be({direction:n,custom:{palette:{black:"#000000",white:"#ffffff",neutral:Zn[e],neutralAlpha:"light"===e?Rn:In,purple:Gn[e],red:qn[e],peach:Yn[e],yellow:Xn[e],blue:Kn[e],green:Qn[e],icon:ci[e].icon,interaction:ci[e].interaction,stroke:ci[e].stroke,surface:ci[e].surface,text:ci[e].text,input:ci[e].input,skeleton:ci[e].skeleton,data:ci[e].data,body:ci[e].surface.default},margin:ni,padding:ii,radius:oi,elevation:ri,elevationFilter:si,boxShadow:ai,easing:li,typography:ca[t]},palette:{mode:e,primary:{main:$n[500]}},spacing:ti,shape:{borderRadius:ti,hotspot:{default:12,active:24}},breakpoints:{values:Jn},typography:{fontFamily:`"${ui.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:da(t),styleOverrides:{root:{color:ci[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:e=>`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${e.custom.palette.body};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${ui.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.Domaine.default.weight};\n src: url(${Kk}${ui.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ui.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.Domaine.bold.weight};\n src: url(${Kk}${ui.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ui.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.FoundersGrotesk.default.weight};\n src: url(${Kk}${ui.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${ui.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${ui.FoundersGrotesk.bold.weight};\n src: url(${Kk}${ui.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${Jn.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${Jn.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:ui.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*ti}px ${e.padding.md*ti}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:e}})=>({border:`1px solid ${e.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}}}});var Jk="production"===process.env.NODE_ENV,eM="Invariant failed";const tM=c(null),nM=(e="light",t="lg",n="ltr")=>{const{width:r}=kc(),[a,l]=i(e),[c,u]=i(t),[p,h]=i(n),[m,x]=i(!1),[g,f]=i("");o((()=>{p&&document.documentElement.setAttribute("dir",p)}),[p]);o((()=>{s((()=>{u(r&&r<Jn.lg?"sm":"lg")}))}),[r]),o((()=>{s((()=>{h(n)}))}),[n]),o((()=>{s((()=>{l(e)}))}),[e]);const v=d((()=>Qk(a,c,p)),[a,p,c]),C=V(v.breakpoints.only("sm"),{noSsr:!0}),y=V(v.breakpoints.only("md"),{noSsr:!0}),w=V(v.breakpoints.between("lg","xl"),{noSsr:!0}),j=V(v.breakpoints.up("xl"),{noSsr:!0});return o((()=>{s((()=>{C&&f("sm"),y&&f("md"),w&&f("lg"),j&&f("xl")}))}),[C,y,w,j]),{breakpoint:g,gridOverlayVisible:m,mode:a,theme:v,toggleGridOverlay:()=>{s((()=>{x((e=>!e))}))},toggleMode:e=>{s((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}},iM=()=>{const e=u(tM);return function(e,t){if(!e){if(Jk)throw new Error(eM);var n=t,i="".concat(eM,": ").concat(n);throw new Error(i)}}(e,"useTheme must be used within a ThemeProvider"),e};var oM=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var rM="undefined"!=typeof document,sM=function(e,t,n){for(var i=0,o=0;i=o,o=Vn(),38===i&&12===o&&(t[n]=1),!zn(o);)Mn();return Tn(e,Ln)},aM=function(e,t){return Cn(function(e,t){var n=-1,i=44;do{switch(zn(i)){case 0:38===i&&12===Vn()&&(t[n]=1),e[n]+=sM(Ln-1,t,n);break;case 2:e[n]+=Fn(i);break;case 4:if(44===i){e[++n]=58===Vn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Sn(i)}}while(i=Mn());return e}(yn(e),t))},lM=new WeakMap,cM=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||lM.get(n))&&!i){lM.set(e,!0);for(var o=[],r=aM(t,o),s=n.props,a=0,l=0;a<r.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?r[a].replace(/&\f/g,s[c]):s[c]+" "+r[a]}}},dM=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function uM(e,t){switch(wn(e,t)){case 5103:return hn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return hn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return hn+e+mn+e+xn+e+e;case 6828:case 4268:return hn+e+xn+e+e;case 6165:return hn+e+xn+"flex-"+e+e;case 5187:return hn+e+pn(e,/(\w+).+(:[^]+)/,hn+"box-$1$2"+xn+"flex-$1$2")+e;case 5443:return hn+e+xn+"flex-item-"+pn(e,/flex-|-self/,"")+e;case 4675:return hn+e+xn+"flex-line-pack"+pn(e,/align-content|flex-|-self/,"")+e;case 5548:return hn+e+xn+pn(e,"shrink","negative")+e;case 5292:return hn+e+xn+pn(e,"basis","preferred-size")+e;case 6060:return hn+"box-"+pn(e,"-grow","")+hn+e+xn+pn(e,"grow","positive")+e;case 4554:return hn+pn(e,/([^-])(transform)/g,"$1"+hn+"$2")+e;case 6187:return pn(pn(pn(e,/(zoom-|grab)/,hn+"$1"),/(image-set)/,hn+"$1"),e,"")+e;case 5495:case 3959:return pn(e,/(image-set\([^]*)/,hn+"$1$`$1");case 4968:return pn(pn(e,/(.+:)(flex-)?(.*)/,hn+"box-pack:$3"+xn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+hn+e+e;case 4095:case 3583:case 4068:case 2532:return pn(e,/(.+)-inline(.+)/,hn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(bn(e)-1-t>6)switch(jn(e,t+1)){case 109:if(45!==jn(e,t+4))break;case 102:return pn(e,/(.+:)(.+)-([^]+)/,"$1"+hn+"$2-$3$1"+mn+(108==jn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kn(e,"stretch")?uM(pn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==jn(e,t+1))break;case 6444:switch(jn(e,bn(e)-3-(~kn(e,"!important")&&10))){case 107:return pn(e,":",":"+hn)+e;case 101:return pn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+hn+(45===jn(e,14)?"inline-":"")+"box$3$1"+hn+"$2$3$1"+xn+"$2box$3")+e}break;case 5936:switch(jn(e,t+11)){case 114:return hn+e+xn+pn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return hn+e+xn+pn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return hn+e+xn+pn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return hn+e+xn+e+e}return e}var pM,hM,mM=rM?void 0:(pM=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},hM=new WeakMap,function(e){if(hM.has(e))return hM.get(e);var t=pM(e);return hM.set(e,t),t}),xM=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case fn:e.return=uM(e.value,e.length);break;case gn:return dn([un(e,{value:pn(e.value,"@","@"+hn)})],i);case an:if(e.length)return ln(e.props,(function(t){switch(cn(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dn([un(e,{props:[pn(t,/:(read-\w+)/,":"+mn+"$1")]})],i);case"::placeholder":return dn([un(e,{props:[pn(t,/:(plac\w+)/,":"+hn+"input-$1")]}),un(e,{props:[pn(t,/:(plac\w+)/,":"+mn+"$1")]}),un(e,{props:[pn(t,/:(plac\w+)/,xn+"input-$1")]})],i)}return""}))}}],gM=function(e){var t=e.key;if(rM&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,r=e.stylisPlugins||xM,s={},a=[];rM&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[cM,dM];if(mM){var c=[on],d=sn(l.concat(r,c)),u=mM(r)(t),p=function(e,t){var n,i=t.name;return void 0===u[i]&&(u[i]=(n=e?e+"{"+t.styles+"}":t.styles,dn(vn(n),d))),u[i]};o=function(e,t,n,i){var o=t.name,r=p(e,t);return void 0===g.compat?(i&&(g.inserted[o]=!0),r):i?void(g.inserted[o]=r):r}}else{var h,m=[on,rn((function(e){h.insert(e)}))],x=sn(l.concat(r,m));o=function(e,t,n,i){var o;h=n,o=e?e+"{"+t.styles+"}":t.styles,dn(vn(o),x),i&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new oM({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return g.sheet.hydrate(a),g};const fM=()=>vi.jsx(Ee,{styles:{"strong, b":{fontWeight:500}}}),vM=gM({key:"muirtl",stylisPlugins:[Pn,Bn]}),CM=gM({key:"mui"}),yM=({mode:e="light",screenSize:t="lg",direction:n="ltr",ignoreCacheProvider:i,children:o})=>{const r=nM(e,t,n),s=()=>vi.jsxs(et,{theme:r.theme,children:[vi.jsx(He,{}),vi.jsx(fM,{}),o]});return vi.jsx(tM.Provider,{value:r,children:i?s():vi.jsx(An,{value:"rtl"===n?vM:CM,children:s()})})};export{Np as AISummary,Dp as AIWrittenByLockUp,rl as Accordion,_p as AiContentContainer,ol as AnnualController,Qp as AssetItem,Jp as AuthContainerSurface,cl as AuthFormHeader,dl as Avatar,ul as AvatarGroup,ml as Badge,Ml as BrandBadge,Pl as Breadcrumb,Nl as BulletGraphic,Gl as Button,Zl as ButtonBase,ql as Checkbox,Kl as CheckboxGroup,eh as ClipboardCopyingOverlay,Ql as ColorBackgroundContainer,ah as CommentCard,rc as CreatableAutocomplete,sc as CustomField,oa as DEFAULT_MAX_INPUT_LENGTH,xh as DataPointInfo,Uk as DemographicSelectionSection,fc as Differential,Cc as DropdownMenu,qk as EmojiListItem,Xk as EmojiQuestionEditorOption,wc as EmojiWrapper,gh as EmptyStateCard,Sc as ExpandableTypographyClamp,Sh as ExtendedTestStatus,Th as FilterCount,Ah as FilterGroupAccordion,$w as FilterPyramidGraph,Zw as FilterRow,Ph as FilteredItemsCard,Fc as Flag,di as FontWeight,el as FormControlLabel,Md as FormGenerator,Yw as GraphBar,Ld as GridOverlay,Xw as Header,Tc as Html,Pd as HtmlParser,Xs as Icon,qd as IconButton,Zd as IconButtonBase,Xd as IconButtonGroup,Qd as Image,Yl as InputFieldBase,Lc as InputLabel,cc as InputLabelHelp,wj as KpiDataPopover,dh as KpiIndicator,nu as Label,$c as Likert,Sl as Link,ou as Loader,ru as Logo,Lj as LoopItem,Pj as LoopItemEmpty,au as LoopsAiButton,lu as Markdown,Bu as Menu,Hu as ModalActionsWrapper,Ru as ModalContentWrapper,Iu as ModalLayout,Oj as Navigation,Wu as NavigationButton,Yu as Nudge,Oc as NumberField,Db as OnboardingCard,Ku as Pill,Sp as PlanFeatureTable,Ip as PlanTierCard,Vu as Popper,Qu as PoweredByWatermarkLogo,Gd as Progress,ep as ProgressBar,tk as ProjectItem,nk as ProjectItemEmpty,ak as QuestionBlock,ok as QuestionLabel,hc as Radio,_c as RadioGroup,td as Rank,id as RichTextField,ck as SearchInput,hk as SectionHeader,Ja as Select,ih as SentimentArrow,np as Skeleton,dd as Slider,ed as SortableList,pd as StarRating,zu as Surface,nl as Switch,vk as Tab,Ck as TestItem,jk as TestKPICard,ip as TextBarDivider,Xl as TextField,md as Textarea,tM as ThemeContext,yM as ThemeProvider,$p as TickGroup,op as Toast,Ks as Tooltip,pp as TrialCard,Js as Typography,vp as UserMenu,Nk as VideoControls,Cp as VideoModal,Sa as backgroundCreator,ti as base,Nn as blue,Kn as blueRamp,ai as boxShadow,Jn as breakpoints,fa as buttonHeightMap,ga as buttonInteraction,na as chooseArticle,jc as compareArrayMembers,Qk as customTheme,Hn as darkNeutral,In as darkNeutralAlpha,ia as defaultInputValidation,li as easing,ri as elevation,si as elevationFilter,ta as emailValidation,ui as fonts,Un as generateRamp,wa as getButtonSizing,ya as getButtonTypography,Ca as getIconSizing,ch as getKpiIndicatorColor,Wn as green,Qn as greenRamp,Nd as iconButtonHelpers,Ys as iconSizeMap,bc as isButton,lh as mapKpiColorSchemeByInteger,ni as margin,En as neutral,Rn as neutralAlpha,Zn as neutralRamp,ha as outlined,ii as padding,ra as passwordValidation,On as peach,Yn as peachRamp,xa as primary,$n as purple,Gn as purpleRamp,oi as radius,Dn as red,qn as redRamp,ma as secondary,ci as semantic,ei as space,pa as subtle,Va as useBreakpoint,yc as useDropdownMenu,Mc as useKeyCombo,zc as usePrevious,kc as useScreenSize,iM as useTheme,nM as useThemeBuilder,_n as yellow,Xn as yellowRamp};
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { IconName as IconName$1 } from 'systems/BrandCore/Icon';
11
11
  import { KpiIndicatorProps as KpiIndicatorProps$1 } from 'systems/Platform/KpiIndicator';
12
12
  import { BoxProps as BoxProps$1 } from '@mui/material/Box';
13
13
  import { IconProps as IconProps$1 } from 'systems/BrandCore/Icon/Icon';
14
- import { TypographyProps as TypographyProps$2, CheckboxProps as CheckboxProps$2 } from 'systems/WebCore';
14
+ import { TypographyProps as TypographyProps$2, CheckboxProps as CheckboxProps$2, SurfaceProps as SurfaceProps$1, EmojiWrapperProps as EmojiWrapperProps$1, IconButtonProps as IconButtonProps$2 } from 'systems/WebCore';
15
15
  import { TooltipProps as TooltipProps$2 } from 'systems/WebCore/Tooltip';
16
16
  import { KpiIndicatorColor as KpiIndicatorColor$1 } from 'systems/Platform/KpiIndicator/utils';
17
17
  import { ChipProps } from '@mui/material/Chip';
@@ -71,6 +71,7 @@ interface SemanticColor {
71
71
  hoverOnDark: string | undefined;
72
72
  pressOnDark: string | undefined;
73
73
  disabled: string | undefined;
74
+ disabledMuted: string | undefined;
74
75
  };
75
76
  stroke: {
76
77
  default: string | undefined;
@@ -138,6 +139,7 @@ interface SemanticColor {
138
139
  hoverOnDark: string | undefined;
139
140
  pressOnDark: string | undefined;
140
141
  disabled: string | undefined;
142
+ disabledMuted: string | undefined;
141
143
  };
142
144
  stroke: {
143
145
  default: string | undefined;
@@ -577,6 +579,7 @@ interface CustomTheme {
577
579
  hoverOnDark: string;
578
580
  pressOnDark: string;
579
581
  disabled: string;
582
+ disabledMuted: string;
580
583
  };
581
584
  stroke: {
582
585
  default: string;
@@ -2491,6 +2494,44 @@ interface DemographicSelectionSectionProps {
2491
2494
  }
2492
2495
  declare const DemographicSelectionSection: FunctionComponent<DemographicSelectionSectionProps>;
2493
2496
 
2497
+ interface EmojiListItemSlotProps {
2498
+ surface?: SurfaceProps$1;
2499
+ icon?: EmojiWrapperProps$1;
2500
+ label?: TypographyProps$2;
2501
+ }
2502
+ interface EmojiListItemProps {
2503
+ disabled?: boolean;
2504
+ loading?: boolean;
2505
+ icon?: React.ReactNode | undefined;
2506
+ active?: boolean;
2507
+ onClick?: () => void | undefined;
2508
+ label?: string;
2509
+ slotProps?: EmojiListItemSlotProps;
2510
+ id?: string;
2511
+ }
2512
+ declare const EmojiListItem: FunctionComponent<EmojiListItemProps>;
2513
+
2514
+ interface EmojiQuestionEditorOptionProps {
2515
+ icon?: React.ReactNode | undefined;
2516
+ label?: string;
2517
+ id?: string;
2518
+ name?: string;
2519
+ disabled?: boolean;
2520
+ loading?: boolean;
2521
+ dragHandle?: boolean;
2522
+ onDelete?: () => void;
2523
+ primaryAction?: () => void;
2524
+ slotProps?: {
2525
+ surface?: SurfaceProps$1;
2526
+ icon?: EmojiWrapperProps$1;
2527
+ dragHandle?: IconButtonProps$2;
2528
+ label?: TypographyProps$2;
2529
+ deleteAction?: IconButtonProps$2;
2530
+ primaryAction?: IconButtonProps$2;
2531
+ };
2532
+ }
2533
+ declare const EmojiQuestionEditorOption: FunctionComponent<EmojiQuestionEditorOptionProps>;
2534
+
2494
2535
  type BreakpointOrNull = Breakpoint | null;
2495
2536
  declare const useBreakpoint: () => Breakpoint;
2496
2537
 
@@ -2603,6 +2644,10 @@ declare module '@mui/material/styles' {
2603
2644
  none?: string;
2604
2645
  hover?: string;
2605
2646
  press?: string;
2647
+ hoverOnDark?: string;
2648
+ pressOnDark?: string;
2649
+ disabled?: string;
2650
+ disabledMuted?: string;
2606
2651
  };
2607
2652
  stroke?: {
2608
2653
  default?: string;
@@ -2764,4 +2809,4 @@ declare module '@mui/system' {
2764
2809
  }
2765
2810
  }
2766
2811
 
2767
- export { AISummary, type AISummaryProps, AiWrittenByLockUp as AIWrittenByLockUp, Accordion, type AccordionProps, AiContentContainer, type AiContentContainerProps, type AiWrittenByLockUpProps, AnnualController, type AnnualControllerProps, AssetItem, type AssetItemProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BrandBadge, type BrandBadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, BulletGraphic, type BulletGraphicProps, Button, ButtonBase, type ButtonBaseProps, type ButtonProps, type ButtonSizing, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ClipboardCopyingOverlay, type ClipboardCopyingOverlayProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CommentCard, type CommentCardProps, CreatableAutocomplete, type CreatableAutocompleteOption, type CreatableAutocompleteProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, DataPointInfo, type DataPointInfoProps, DemographicSelectionSection, type DemographicSelectionSectionProps, Differential, type DifferentialProps, DropdownMenu, EmojiWrapper, type EmojiWrapperProps, EmptyStateCard, type EmptyStateCardProps, ExpandableTypographyClamp, type ExpandableTypographyClampProps, ExtendedTestStatus, type ExtendedTestStatusProps, type FieldType, type FieldTypes, FilterCount, type FilterCountProps, FilterGroupAccordion, type FilterGroupAccordionProps, FilterPyramidGraphBar as FilterPyramidGraph, type FilterPyramidGraphBarProps, FilterRow, type FilterRowProps, FilteredItemsCard, type FilteredItemsCardProps, Flag, type FlagProps, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GraphBar, type GraphBarProps, GridOverlay, type GridOverlayProps, type GroupSelectOption, Header, type HeaderProps, Html, HtmlParser, type HtmlParserProps, type HtmlProps, Icon, IconButton, IconButtonBase, type IconButtonBaseProps, IconButtonGroup, type IconButtonGroupProps, type IconButtonProps, type IconName, Image, type ImageProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, KpiDataPopover, type KpiDataPopoverProps, KpiIndicator, type KpiIndicatorProps, Label, type LabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, LoopsAiButton, type LoopsAiButtonProps, Markdown, type MarkdownProps, type MarkerComponentProps, Menu, type MenuProps, ModalActionsWrapper, ModalContentWrapper, ModalLayout, type ModalLayoutProps, Navigation, NavigationButton, type NavigationButtonProps, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, type OnboardingItem, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableData, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, Popper, type PopperProps, PoweredByWatermarkLogo, Progress, ProgressBar, type ProgressBarProps, type ProgressProps, ProjectItem, ProjectItemEmpty, type ProjectItemEmptyProps, type ProjectItemProps, QuestionBlock, type QuestionBlockProps, QuestionLabel, type QuestionLabelProps, type QuestionStats, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, SearchInput, type SearchInputProps, type Section, SectionHeader, type SectionHeaderProps, Select, type SelectOption, type SelectProps, type SemanticColor, SentimentArrow, type SentimentArrowProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Tab, type TabProps, TestItem, type TestItemProps, TestKPICard, type TestKPICardProps, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, Textarea, type TextareaProps, ThemeContext, type ThemeCtx, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, TrialCard, type TrialCardProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, _default as VideoControls, type VideoControlsProps, VideoModal, type VideoModalProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, buttonHeightMap, buttonInteraction, chooseArticle, compareArrayMembers, customTheme, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, getButtonSizing, getButtonTypography, getIconSizing$1 as getIconSizing, getKpiIndicatorColor, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, isButton, mapKpiColorSchemeByInteger, margin, neutral, neutralAlpha, neutralRamp, outlined$1 as outlined, padding, passwordValidation, peach, peachRamp, primary, purple, purpleRamp, radius, red, redRamp, secondary, semantic, space, subtle, useBreakpoint, useDropdownMenu, useKeyCombo, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };
2812
+ export { AISummary, type AISummaryProps, AiWrittenByLockUp as AIWrittenByLockUp, Accordion, type AccordionProps, AiContentContainer, type AiContentContainerProps, type AiWrittenByLockUpProps, AnnualController, type AnnualControllerProps, AssetItem, type AssetItemProps, AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BrandBadge, type BrandBadgeProps, Breadcrumb, type BreadcrumbProps, type BreakpointOrNull, BulletGraphic, type BulletGraphicProps, Button, ButtonBase, type ButtonBaseProps, type ButtonProps, type ButtonSizing, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ClipboardCopyingOverlay, type ClipboardCopyingOverlayProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CommentCard, type CommentCardProps, CreatableAutocomplete, type CreatableAutocompleteOption, type CreatableAutocompleteProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, DataPointInfo, type DataPointInfoProps, DemographicSelectionSection, type DemographicSelectionSectionProps, Differential, type DifferentialProps, DropdownMenu, EmojiListItem, type EmojiListItemProps, EmojiQuestionEditorOption, type EmojiQuestionEditorOptionProps, EmojiWrapper, type EmojiWrapperProps, EmptyStateCard, type EmptyStateCardProps, ExpandableTypographyClamp, type ExpandableTypographyClampProps, ExtendedTestStatus, type ExtendedTestStatusProps, type FieldType, type FieldTypes, FilterCount, type FilterCountProps, FilterGroupAccordion, type FilterGroupAccordionProps, FilterPyramidGraphBar as FilterPyramidGraph, type FilterPyramidGraphBarProps, FilterRow, type FilterRowProps, FilteredItemsCard, type FilteredItemsCardProps, Flag, type FlagProps, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GraphBar, type GraphBarProps, GridOverlay, type GridOverlayProps, type GroupSelectOption, Header, type HeaderProps, Html, HtmlParser, type HtmlParserProps, type HtmlProps, Icon, IconButton, IconButtonBase, type IconButtonBaseProps, IconButtonGroup, type IconButtonGroupProps, type IconButtonProps, type IconName, Image, type ImageProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, KpiDataPopover, type KpiDataPopoverProps, KpiIndicator, type KpiIndicatorProps, Label, type LabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, LoopItem, LoopItemEmpty, type LoopItemEmptyProps, type LoopItemProps, LoopsAiButton, type LoopsAiButtonProps, Markdown, type MarkdownProps, type MarkerComponentProps, Menu, type MenuProps, ModalActionsWrapper, ModalContentWrapper, ModalLayout, type ModalLayoutProps, Navigation, NavigationButton, type NavigationButtonProps, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, OnboardingCard, type OnboardingCardProps, type OnboardingItem, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableData, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, Popper, type PopperProps, PoweredByWatermarkLogo, Progress, ProgressBar, type ProgressBarProps, type ProgressProps, ProjectItem, ProjectItemEmpty, type ProjectItemEmptyProps, type ProjectItemProps, QuestionBlock, type QuestionBlockProps, QuestionLabel, type QuestionLabelProps, type QuestionStats, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, SearchInput, type SearchInputProps, type Section, SectionHeader, type SectionHeaderProps, Select, type SelectOption, type SelectProps, type SemanticColor, SentimentArrow, type SentimentArrowProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Tab, type TabProps, TestItem, type TestItemProps, TestKPICard, type TestKPICardProps, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, Textarea, type TextareaProps, ThemeContext, type ThemeCtx, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, TrialCard, type TrialCardProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, _default as VideoControls, type VideoControlsProps, VideoModal, type VideoModalProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, buttonHeightMap, buttonInteraction, chooseArticle, compareArrayMembers, customTheme, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, getButtonSizing, getButtonTypography, getIconSizing$1 as getIconSizing, getKpiIndicatorColor, green, greenRamp, IconButton_variantHelpers as iconButtonHelpers, iconSizeMap, isButton, mapKpiColorSchemeByInteger, margin, neutral, neutralAlpha, neutralRamp, outlined$1 as outlined, padding, passwordValidation, peach, peachRamp, primary, purple, purpleRamp, radius, red, redRamp, secondary, semantic, space, subtle, useBreakpoint, useDropdownMenu, useKeyCombo, usePrevious, useScreenSize, useTheme, useThemeBuilder, yellow, yellowRamp };