@soul-refiner/design-system 2.14.131 → 2.14.133

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.
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),r=require("next/image"),i=require("styled-components"),t=require("../../atoms/typography/heading.js"),a=require("../../atoms/typography/paragraph.js"),s=require("../../actions/button/button.js"),o=require("../../iconography/avatar/avatar.js");require("../../feedback/badge/badge.js"),require("../../feedback/banner/banner.js"),require("../../feedback/loader/loader.js"),require("../../feedback/notification/notification.js"),require("../../feedback/progress/progress.js"),require("../../feedback/toast/toast.js");var l=require("../../feedback/tooltip/tooltip.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../feedback/animated_toast/animated_toast.js"),require("../../feedback/emojiPicker/emoji-picker.js"),require("../../feedback/emojiPicker/emoji-reactions.js"),require("../../feedback/videoLoader/videoLoader.js");var n=d(r);const c=i.styled.div`
2
+ "use strict";var e=require("react/jsx-runtime"),r=require("next/image"),i=require("styled-components"),a=require("../../atoms/typography/heading.js"),s=require("../../atoms/typography/paragraph.js"),t=require("../../actions/button/button.js"),o=require("../../iconography/avatar/avatar.js");require("../../feedback/badge/badge.js"),require("../../feedback/banner/banner.js"),require("../../feedback/loader/loader.js"),require("../../feedback/notification/notification.js"),require("../../feedback/progress/progress.js"),require("../../feedback/toast/toast.js");var l=require("../../feedback/tooltip/tooltip.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../feedback/animated_toast/animated_toast.js"),require("../../feedback/emojiPicker/emoji-picker.js"),require("../../feedback/emojiPicker/emoji-reactions.js"),require("../../feedback/videoLoader/videoLoader.js");var d=n(r);const c=i.styled.div`
3
3
  position: relative;
4
4
  display: flex;
5
5
  flex-direction: column;
@@ -33,13 +33,13 @@
33
33
  flex-direction: column;
34
34
  gap: 8px;
35
35
  flex: 1;
36
- `,f=i.styled(t.H)`
36
+ `,g=i.styled(a.H)`
37
37
  font-size: 18px;
38
38
  font-weight: 500;
39
39
  color: var(--color-grey-2);
40
40
  margin: 0;
41
41
  line-height: 26px;
42
- `,g=i.styled.div`
42
+ `,f=i.styled.div`
43
43
  display: flex;
44
44
  align-items: center;
45
45
  `,h=i.styled.span`
@@ -51,15 +51,15 @@
51
51
  display: flex;
52
52
  align-items: flex-start;
53
53
  flex: 1;
54
- `,j=i.styled.div`
54
+ `,m=i.styled.div`
55
55
  display: flex;
56
56
  align-items: center;
57
57
  flex-wrap: wrap;
58
- `,v=i.styled.div`
58
+ `,j=i.styled.div`
59
59
  border: 2px solid var(--color-white);
60
60
  border-radius: 50%;
61
61
  position: relative;
62
- `,y=i.styled.div`
62
+ `,v=i.styled.div`
63
63
  margin-left: -8px;
64
64
  width: 32px;
65
65
  height: 32px;
@@ -73,7 +73,7 @@
73
73
  font-weight: 600;
74
74
  color: var(--color-grey-3);
75
75
  z-index: 1;
76
- `,m=i.styled.div`
76
+ `,y=i.styled.div`
77
77
  display: flex;
78
78
  gap: 12px;
79
79
  margin-top: auto;
@@ -99,4 +99,4 @@
99
99
  }
100
100
 
101
101
  transition: all 0.2s ease;
102
- `;exports.CourseSeatsCard=({courseId:r,courseName:i,alert:t,courseImage:d,href:q,assignedSeats:w,totalSeats:$,assignedUsers:z,onManageSeats:S,onAddSeats:A,sx:C})=>e.jsxs(c,{$sx:C,children:[t,e.jsx(p,{children:q?e.jsx(b,{href:q,children:e.jsx(n.default,{alt:i,src:d,fill:!0,style:{objectFit:"cover"}})}):e.jsx(n.default,{alt:i,src:d,fill:!0,style:{objectFit:"cover"}})}),e.jsxs(x,{children:[e.jsx(f,{children:i}),e.jsx(g,{children:e.jsxs(a.P,{$fontSize:14,$color:"grey-3",children:["Seat:",e.jsxs(h,{$isOverAssigned:w>$,children:[w,"/",$," Available"]})]})}),e.jsx(u,{children:z.length>0&&e.jsxs(j,{children:[z.slice(0,8).map((r,i)=>e.jsx(l.Tooltip,{content:r.name,place:"top",children:e.jsx(v,{children:r.url?e.jsx(k,{href:`/people/${r.url}/post`,children:e.jsx(o.Avatar,{image:r.imageUrl||"/images/default_avatar.png",size:24})}):e.jsx(o.Avatar,{image:r.imageUrl||"/images/default_avatar.png",size:24})},`${r.id}-${i}`)},`${r.id}-${i}`)),z.length>8&&e.jsxs(y,{children:["+",z.length-8]})]})}),e.jsxs(m,{children:[e.jsx(s.Button,{type:"outlined",size:"small",fluid:!0,onClick:()=>S(r),sx:"font-size: 14px;",children:"Manage Seats"}),e.jsx(s.Button,{type:"primary",fluid:!0,sx:"font-size: 14px;",size:"small",onClick:()=>A(r),children:"Add Seats"})]})]})]});
102
+ `;exports.CourseSeatsCard=({courseId:r,courseName:i,alert:a,courseImage:n,href:q,assignedSeats:w,totalSeats:$,assignedUsers:z,onManageSeats:A,onAddSeats:S,sx:U})=>e.jsxs(c,{$sx:U,children:[a,e.jsx(p,{children:q?e.jsx(b,{href:q,children:e.jsx(d.default,{alt:i,src:n,fill:!0,style:{objectFit:"cover"}})}):e.jsx(d.default,{alt:i,src:n,fill:!0,style:{objectFit:"cover"}})}),e.jsxs(x,{children:[e.jsx(g,{children:i}),e.jsx(f,{children:e.jsxs(s.P,{$fontSize:14,$color:"grey-3",children:["Seat:",e.jsxs(h,{$isOverAssigned:w>$,children:[w,"/",$," Available"]})]})}),e.jsx(u,{children:z.length>0&&e.jsxs(m,{children:[z.slice(0,8).map((r,i)=>e.jsx(l.Tooltip,{content:r.name,place:"top",children:e.jsx(j,{children:r.url?e.jsx(k,{href:`/people/${r.url}/post`,children:r.imageUrl&&"/images/default_avatar.png"!==r.imageUrl?e.jsx(o.Avatar,{image:r.imageUrl,size:24}):e.jsx(o.Avatar.Initials,{name:r.name||"U",size:24,sx:"font-size: 10px;"})}):r.imageUrl&&"/images/default_avatar.png"!==r.imageUrl?e.jsx(o.Avatar,{image:r.imageUrl,size:24}):e.jsx(o.Avatar.Initials,{name:r.name||"U",size:24,sx:"font-size: 10px;"})},`${r.id}-${i}`)},`${r.id}-${i}`)),z.length>8&&e.jsxs(v,{children:["+",z.length-8]})]})}),e.jsxs(y,{children:[e.jsx(t.Button,{type:"outlined",size:"small",fluid:!0,onClick:()=>A(r),sx:"font-size: 14px;",children:"Manage Seats"}),e.jsx(t.Button,{type:"primary",fluid:!0,sx:"font-size: 14px;",size:"small",onClick:()=>S(r),children:"Add Seats"})]})]})]});
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),i=require("next/image"),r=require("styled-components"),s=require("../../atoms/box/box.js"),n=require("../../atoms/typography/heading.js"),o=require("../../atoms/typography/paragraph.js"),a=require("./icons/approved.js"),l=require("./icons/busy.js"),d=require("./icons/declined.js"),A=require("./icons/default.js"),g=require("./icons/focus.js"),F=require("./icons/locked.js"),x=require("./icons/offline.js"),C=require("./icons/online.js"),I=require("./icons/subscribed.js"),p=require("./icons/ispaid.js"),h=require("next/link");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=c(t),Q=c(i),u=c(h);const B={approved:a.Approved,busy:l.Busy,declined:d.Declined,focus:g.Focus,locked:F.Locked,ispaid:p.IsPaid,none:()=>e.jsx(e.Fragment,{}),online:C.Online,offline:x.Offline,subscribed:I.Subscribed},f={96:18,72:18,64:18,56:15,48:15,40:15,36:14,32:14,24:12,16:8},b={96:-23,72:-21,64:-20,56:-16,48:-15,40:-13,36:-12,32:-12,24:-10,16:-8},v={96:5,72:3,64:2,56:1,48:0,40:-2,36:-2,32:-2,24:-2,16:-1},j=({as:t="button",href:i,image:r,fallbackImg:a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOQAAADkCAYAAACIV4iNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAl0SURBVHgB7d0PcxrHHYfxNVgyCCwE+oOqWrabNnn/L8V1Z9yZdpqJq0QxtiIZBQxBAed+R4iRZSmSdu/47t3zmWHkRImN8D3s3t1y9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J0Q5C00GhtEeAf2GlmYxHl3BHkNi9Cmo512mwg9LMe5mNbazXo4KPRlBLnEpqR2yQwL8fOjjPC3PK21o7YWpt2mAJ88ePHy1UdXcnYyvt1uud2dbUbDnC1GzV7vhCO1ruQjpE1L9/d2GA1XaHnUtItvlf0obSmDJERNi33NMk9nSzVlbSdHSu26p4QYB5vO2r1QyhRmKYK0EfHpk4PSnbwvijKFWegpqx01tbtM2ZI2xMveSJ8mf4/N5kbhD/4UNkj7VMXzZ08YFQukk17FveG+e33kRgU9j1nIY/y2r/jN138jxgKyv9Nvvv7K7WzHdSfq2yrcCNnd23X73TjuUIz7++vBfnr1hN7bYt3huVAjpI2MxFge+93d9Kh5kRQmSNtntB1/lMthcvTcPoNaFIUI0pa+2QEclNPzZ4eFWfJYiJ+im0xTOYBTXvZ3byNlEUQf5Hz1zZZDudm55qzvOp2H6IO0HXvAFGGUjDpIGx2ZqmLBtgXbJmIWdZCMjvhc7NtEtEHagnFGR3zOtomY9yWjDbJoJ4QRTjvibSPaIO1aqMCXxPzpniiDtOkq177BdWyNa6zT1ii3alsmB9ykFulyuiiDtA+qAje56Q5fyqIMslqpOuAmBJkjTnfgz8T6pk2QKKRYtxEOVQJCCBIQQpCAEIIEhBAkIIQgASEECQghSEAIQQJCCBIQQpCAEIIEhBAkIIQgASEECQghSEAIQQJCCBIQQpCAEIIEhBAkIIQgASEECQghSEAIQQJCHroI/fNf/3ZAETFCAkIIEhBCkIAQggSEECQghCABIQQJCCFIQAhBAkIIEhBCkIAQggSEECQghCABIQQJCCFIQAhBAkIIEhBCkIAQggSEECQghCABIQQJCCFIQAhBAkIIEhBCkIAQggSEECQghCABIQQJCCFIQAhBAkIIEhBCkIAQggSEECQghCABIQQJCCFIQAhBAkIIEhBCkIAQggSE/AbILrjDyekHTAAAAABJRU5ErkJggg==",size:l=64,status:d,subtitle:g,sx:F,isPaidUser:x,textPosition:C="left",title:I,tooltipContent:p,tooltipSx:h,...c})=>{const[u,f]=E.default.useState(!1),b=B?.[d??"none"],v=B?.[x?"ispaid":"none"];return e.jsxs(s.Box,{$align:"center",$gap:18,$dir:"row",sx:`\n position: relative; \n &:hover {\n .tooltipContainer {\n display: flex;\n }\n }\n ${F}\n `,...c,children:[e.jsxs($,{as:t,$size:l,href:i,children:[!u&&e.jsxs(e.Fragment,{children:[e.jsx(Q.default,{style:{pointerEvents:"none"},alt:"avatar image",height:l,onError:()=>f(!0),quality:100,sizes:"96 | 72 | 64 | 56 | 48 | 40 | 36 | 32 | 24 | 16",src:r??a,width:l,draggable:!1}),e.jsx(z,{})]}),u&&e.jsx(A.Default,{}),e.jsx("div",{children:e.jsx(b,{})})]}),(I||g)&&e.jsxs(s.Box,{$dir:"row-reverse",$gap:7,children:[e.jsxs(w,{$textPosition:C,children:[I&&e.jsx(n.H,{as:"h3",$bold:!0,$color:"grey-2",$textClampLines:1,sx:"font-size: 26px;",children:I}),g&&e.jsx(o.P,{$color:"grey-4",$textClampLines:1,children:g})]}),x&&e.jsx(s.Box,{sx:"padding: .6rem 0 0 0; width: 18.33px; height: 18.33px;",children:e.jsx(v,{})})]}),p&&e.jsx(H,{className:"tooltipContainer",$sx:h,children:p})]})};j.displayName="Avatar";const y=[{bg:"#F5C842",text:"#1A1A1A"},{bg:"#7C5CBF",text:"#FFFFFF"},{bg:"#D95555",text:"#FFFFFF"},{bg:"#2D8A6E",text:"#FFFFFF"},{bg:"#E87C3E",text:"#FFFFFF"},{bg:"#2A6BA8",text:"#FFFFFF"},{bg:"#4CAF82",text:"#FFFFFF"},{bg:"#B04A7A",text:"#FFFFFF"},{bg:"#F0A500",text:"#1A1A1A"},{bg:"#3D7A3D",text:"#FFFFFF"},{bg:"#5BA4CF",text:"#FFFFFF"},{bg:"#C0572B",text:"#FFFFFF"},{bg:"#9B72CF",text:"#FFFFFF"},{bg:"#3A7A8A",text:"#FFFFFF"},{bg:"#C0974A",text:"#FFFFFF"},{bg:"#5A5A9A",text:"#FFFFFF"}];const m=({name:t,size:i,sx:r})=>{const s=function(e){const t=e.trim().split(/\s+/).filter(Boolean);return t.length?1===t.length?t[0].slice(0,2).toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase():"?"}(t),{bg:n,text:o}=y[function(e){let t=0;for(let i=0;i<e.length;i++)t=e.charCodeAt(i)+((t<<5)-t);return Math.abs(t)}(t)%y.length];return e.jsx($,{as:"div",$size:i,children:e.jsx(k,{$size:i,$bgColor:n,$textColor:o,$sx:r??"",children:s})})};m.displayName="Avatar.Initials",j.Initials=m;const k=r.styled.div`
2
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),i=require("next/image"),s=require("styled-components"),r=require("../../atoms/box/box.js"),n=require("../../atoms/typography/heading.js"),o=require("../../atoms/typography/paragraph.js"),a=require("./icons/approved.js"),l=require("./icons/busy.js"),d=require("./icons/declined.js"),A=require("./icons/default.js"),g=require("./icons/focus.js"),F=require("./icons/locked.js"),x=require("./icons/offline.js"),C=require("./icons/online.js"),I=require("./icons/subscribed.js"),p=require("./icons/ispaid.js"),h=require("next/link");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=c(t),Q=c(i),u=c(h);const B={approved:a.Approved,busy:l.Busy,declined:d.Declined,focus:g.Focus,locked:F.Locked,ispaid:p.IsPaid,none:()=>e.jsx(e.Fragment,{}),online:C.Online,offline:x.Offline,subscribed:I.Subscribed},f={96:18,72:18,64:18,56:15,48:15,40:15,36:14,32:14,24:12,16:8},b={96:-23,72:-21,64:-20,56:-16,48:-15,40:-13,36:-12,32:-12,24:-10,16:-8},v={96:5,72:3,64:2,56:1,48:0,40:-2,36:-2,32:-2,24:-2,16:-1},j=({as:t="button",href:i,image:s,fallbackImg:a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOQAAADkCAYAAACIV4iNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAl0SURBVHgB7d0PcxrHHYfxNVgyCCwE+oOqWrabNnn/L8V1Z9yZ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ition:C="left",title:I,tooltipContent:p,tooltipSx:h,...c})=>{const[u,f]=E.default.useState(!1),b=B?.[d??"none"],v=B?.[x?"ispaid":"none"];return e.jsxs(r.Box,{$align:"center",$gap:18,$dir:"row",sx:`\n position: relative; \n &:hover {\n .tooltipContainer {\n display: flex;\n }\n }\n ${F}\n `,...c,children:[e.jsxs($,{as:t,$size:l,href:i,children:[!u&&e.jsxs(e.Fragment,{children:[e.jsx(Q.default,{style:{pointerEvents:"none"},alt:"avatar image",height:l,onError:()=>f(!0),quality:100,sizes:"96 | 72 | 64 | 56 | 48 | 40 | 36 | 32 | 24 | 16",src:s??a,width:l,draggable:!1}),e.jsx(z,{})]}),u&&e.jsx(A.Default,{}),e.jsx("div",{children:e.jsx(b,{})})]}),(I||g)&&e.jsxs(r.Box,{$dir:"row-reverse",$gap:7,children:[e.jsxs(w,{$textPosition:C,children:[I&&e.jsx(n.H,{as:"h3",$bold:!0,$color:"grey-2",$textClampLines:1,sx:"font-size: 26px;",children:I}),g&&e.jsx(o.P,{$color:"grey-4",$textClampLines:1,children:g})]}),x&&e.jsx(r.Box,{sx:"padding: .6rem 0 0 0; width: 18.33px; height: 18.33px;",children:e.jsx(v,{})})]}),p&&e.jsx(H,{className:"tooltipContainer",$sx:h,children:p})]})};j.displayName="Avatar";const y=[{bg:"#F5C842",text:"#1A1A1A"},{bg:"#7C5CBF",text:"#FFFFFF"},{bg:"#D95555",text:"#FFFFFF"},{bg:"#2D8A6E",text:"#FFFFFF"},{bg:"#E87C3E",text:"#FFFFFF"},{bg:"#2A6BA8",text:"#FFFFFF"},{bg:"#4CAF82",text:"#FFFFFF"},{bg:"#B04A7A",text:"#FFFFFF"},{bg:"#F0A500",text:"#1A1A1A"},{bg:"#3D7A3D",text:"#FFFFFF"},{bg:"#5BA4CF",text:"#FFFFFF"},{bg:"#C0572B",text:"#FFFFFF"},{bg:"#9B72CF",text:"#FFFFFF"},{bg:"#3A7A8A",text:"#FFFFFF"},{bg:"#C0974A",text:"#FFFFFF"},{bg:"#5A5A9A",text:"#FFFFFF"}];const m=({name:t,size:i,sx:s})=>{const r=function(e){const t=e.trim().split(/\s+/).filter(Boolean);return t.length?1===t.length?t[0].slice(0,2).toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase():"?"}(t),{bg:n,text:o}=y[function(e){let t=0;for(let i=0;i<e.length;i++)t=e.charCodeAt(i)+((t<<5)-t);return Math.abs(t)}(t)%y.length];return e.jsx($,{as:"div",$size:i,children:e.jsx(k,{$size:i,$bgColor:n,$textColor:o,$sx:s??"",children:r})})};m.displayName="Avatar.Initials";const k=s.styled.div`
3
3
  width: ${({$size:e})=>e}px;
4
4
  height: ${({$size:e})=>e}px;
5
5
  border-radius: 50%;
@@ -15,7 +15,7 @@
15
15
  user-select: none;
16
16
  flex-shrink: 0;
17
17
  ${({$sx:e})=>e}
18
- `,z=r.styled.div`
18
+ `,z=s.styled.div`
19
19
  position: absolute;
20
20
  top: 50%;
21
21
  left: 50%;
@@ -23,7 +23,7 @@
23
23
  width: 100%;
24
24
  height: 100%;
25
25
  z-index: 1;
26
- `,$=r.styled.div`
26
+ `,$=s.styled.div`
27
27
  flex-shrink: 0;
28
28
  display: flex;
29
29
  flex-flow: row nowrap;
@@ -50,12 +50,12 @@
50
50
  margin-left: ${({$size:e})=>b[`${e}`]}px;
51
51
  top: ${({$size:e})=>v[`${e}`]}px;
52
52
  }
53
- `,w=r.styled.div`
53
+ `,w=s.styled.div`
54
54
  display: flex;
55
55
  flex-flow: column nowrap;
56
56
  gap: 4px;
57
57
  order: ${({$textPosition:e})=>"left"===e?-1:1};
58
- `,H=r.styled.div`
58
+ `,H=s.styled.div`
59
59
  display: none;
60
60
  position: absolute;
61
61
  top: 100%;
@@ -64,13 +64,13 @@
64
64
  border-radius: 24px;
65
65
  box-shadow: var(--elevation-2);
66
66
  ${({$sx:e})=>e||""}
67
- `,N=({children:t,numDisplayed:i,total:r})=>{let n=0;const a=E.default.Children.map(t,(t,i)=>E.default.isValidElement(t)&&"Avatar"===t.type.displayName?(n=t.props.size,e.jsx(S,{$index:i,children:t})):null).slice(0,i);return a.push(e.jsx(q,{$index:a.length+1,$size:n,children:e.jsxs(o.P,{$fontSize:11,$lineHeight:20,children:["+",r-i]})})),e.jsx(s.Box,{children:a})};N.displayName="Avatar.Group",j.Group=N;const S=r.styled.div`
67
+ `,N=({children:t,numDisplayed:i,total:s})=>{let n=0;const a=E.default.Children.map(t,(t,i)=>E.default.isValidElement(t)&&"Avatar"===t.type.displayName?(n=t.props.size,e.jsx(S,{$index:i,children:t})):null).slice(0,i);return a.push(e.jsx(q,{$index:a.length+1,$size:n,children:e.jsxs(o.P,{$fontSize:11,$lineHeight:20,children:["+",s-i]})})),e.jsx(r.Box,{children:a})};N.displayName="Avatar.Group";const S=s.styled.div`
68
68
  position: relative;
69
69
  z-index: ${({$index:e})=>`-${e}`};
70
70
  border-radius: 50%;
71
71
  border: 2px solid var(--color-white);
72
72
  margin-right: -8px;
73
- `,q=r.styled.div`
73
+ `,q=s.styled.div`
74
74
  position: relative;
75
75
  z-index: ${({$index:e})=>`-${e}`};
76
76
  display: flex;
@@ -79,4 +79,4 @@
79
79
  ${({$size:e})=>`\n width: ${e}px;\n height: ${e}px;\n `}
80
80
  border-radius: 50%;
81
81
  background-color: var(--color-grey-9);
82
- `;exports.Avatar=j;
82
+ `,O=Object.assign(j,{Initials:m,Group:N});exports.Avatar=O;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("styled-components"),r=require("next/link"),o=require("../../iconography/avatar/avatar.js"),i=require("../../atoms/box/box.js"),s=require("../../atoms/highlighter/highlighter.js"),l=require("../../atoms/typography/paragraph.js"),a=require("../../actions/button/button.js"),c=require("../portal/portal.js"),d=require("../../../common/regex.js"),p=require("../../../common/styles.js"),x=require("../../../icons/basic/emoticon_add.js"),u=require("../../../icons/message/comment.js"),h=require("./helpers.js"),g=require("../../input/responsive-text_area/responsive_text_area.js"),f=require("../../../icons/email/send_text.js"),m=require("../../actions/AccountSelector/selector.js"),j=require("../../feedback/emojiPicker/emoji-picker.js"),y=require("../../feedback/emojiPicker/emoji-reactions.js"),$=require("../../../icons/basic/trash_slash.js"),b=require("../../../icons/security/lock.js"),v=require("../../../icons/basic/eye.js"),w=require("../../../icons/time/calendar_dates.js");function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=k(t),S=k(n),C=k(r);const P=/@(\S+)/g,R=(t,n={})=>{if(!t)return e.jsx(e.Fragment,{children:t});const r=new RegExp(P.source,"g");if(!r.test(t))return e.jsx(s.Highlighter,{highlightRender:t=>e.jsx(l.P,{as:"span",$color:"primary-blue-2",children:e.jsx(C.default,{href:t,target:"_blank",children:t})}),seperator:d.URL_REGEX,text:t});const o=[];let i=0;const a=[];let c;for(r.lastIndex=0;null!==(c=r.exec(t));)a.push({index:c.index,type:"mention",match:c});const p=new RegExp(d.URL_REGEX.source,"g");for(;null!==(c=p.exec(t));)a.push({index:c.index,type:"url",match:c});a.sort((e,t)=>e.index-t.index);for(const{index:e,type:n,match:r}of a)e>i&&o.push({type:"text",content:t.substring(i,e),start:i,end:e}),"mention"===n?(o.push({type:"mention",content:r[0],start:e,end:e+r[0].length}),i=e+r[0].length):(o.push({type:"url",content:r[0],start:e,end:e+r[0].length}),i=e+r[0].length);return i<t.length&&o.push({type:"text",content:t.substring(i),start:i,end:t.length}),e.jsx(e.Fragment,{children:o.map((t,r)=>{if("mention"===t.type){const o=t.content.substring(1),i=n[o];return i?e.jsx(A,{children:e.jsx(C.default,{href:i,children:t.content})},`${t.start}-${t.end}-${r}`):e.jsx(A,{children:t.content},`${t.start}-${t.end}-${r}`)}return"url"===t.type?e.jsx(l.P,{as:"span",$color:"primary-blue-2",children:e.jsx(C.default,{href:t.content,target:"_blank",children:t.content})},`${t.start}-${t.end}-${r}`):e.jsx(l.P,{as:"span",children:t.content},`${t.start}-${t.end}-${r}`)})})},B={PRIVATE:"Private",MEETING_MEMBERS:"Meeting",PUBLIC:"Public",PUBLIC_WITH_MEETING:""},I={PRIVATE:e.jsx(b.Lock,{}),MEETING_MEMBERS:e.jsx(w.CalendarDates,{}),PUBLIC:e.jsx(v.Eye,{}),PUBLIC_WITH_MEETING:e.jsx(e.Fragment,{})},q=S.default.div`
2
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("styled-components"),r=require("next/link"),o=require("../../iconography/avatar/avatar.js"),i=require("../../atoms/box/box.js"),s=require("../../atoms/highlighter/highlighter.js"),a=require("../../atoms/typography/paragraph.js"),l=require("../../actions/button/button.js"),c=require("../portal/portal.js"),d=require("../../../common/regex.js"),p=require("../../../common/styles.js"),x=require("../../../icons/basic/emoticon_add.js"),u=require("../../../icons/message/comment.js"),h=require("./helpers.js"),g=require("../../input/responsive-text_area/responsive_text_area.js"),f=require("../../../icons/email/send_text.js"),m=require("../../actions/AccountSelector/selector.js"),j=require("../../feedback/emojiPicker/emoji-picker.js"),y=require("../../feedback/emojiPicker/emoji-reactions.js"),$=require("../../../icons/basic/trash_slash.js"),b=require("../../../icons/security/lock.js"),v=require("../../../icons/basic/eye.js"),w=require("../../../icons/time/calendar_dates.js");function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=k(t),S=k(n),C=k(r);const P=/@(\S+)/g,R=(t,n={})=>{if(!t)return e.jsx(e.Fragment,{children:t});const r=new RegExp(P.source,"g");if(!r.test(t))return e.jsx(s.Highlighter,{highlightRender:t=>e.jsx(a.P,{as:"span",$color:"primary-blue-2",children:e.jsx(C.default,{href:t,target:"_blank",children:t})}),seperator:d.URL_REGEX,text:t});const o=[];let i=0;const l=[];let c;for(r.lastIndex=0;null!==(c=r.exec(t));)l.push({index:c.index,type:"mention",match:c});const p=new RegExp(d.URL_REGEX.source,"g");for(;null!==(c=p.exec(t));)l.push({index:c.index,type:"url",match:c});l.sort((e,t)=>e.index-t.index);for(const{index:e,type:n,match:r}of l)e>i&&o.push({type:"text",content:t.substring(i,e),start:i,end:e}),"mention"===n?(o.push({type:"mention",content:r[0],start:e,end:e+r[0].length}),i=e+r[0].length):(o.push({type:"url",content:r[0],start:e,end:e+r[0].length}),i=e+r[0].length);return i<t.length&&o.push({type:"text",content:t.substring(i),start:i,end:t.length}),e.jsx(e.Fragment,{children:o.map((t,r)=>{if("mention"===t.type){const o=t.content.substring(1),i=n[o];return i?e.jsx(A,{children:e.jsx(C.default,{href:i,children:t.content})},`${t.start}-${t.end}-${r}`):e.jsx(A,{children:t.content},`${t.start}-${t.end}-${r}`)}return"url"===t.type?e.jsx(a.P,{as:"span",$color:"primary-blue-2",children:e.jsx(C.default,{href:t.content,target:"_blank",children:t.content})},`${t.start}-${t.end}-${r}`):e.jsx(a.P,{as:"span",children:t.content},`${t.start}-${t.end}-${r}`)})})},B={PRIVATE:"Private",MEETING_MEMBERS:"Meeting",PUBLIC:"Public",PUBLIC_WITH_MEETING:""},I={PRIVATE:e.jsx(b.Lock,{}),MEETING_MEMBERS:e.jsx(w.CalendarDates,{}),PUBLIC:e.jsx(v.Eye,{}),PUBLIC_WITH_MEETING:e.jsx(e.Fragment,{})},z=S.default.div`
3
3
  max-width: 700px;
4
4
  display: flex;
5
5
  flex-direction: row;
@@ -9,12 +9,12 @@
9
9
  ${({$sx:e})=>e||""}
10
10
 
11
11
  ${({$moveButtonsToLeft:e})=>e?"justify-content: flex-start;":"justify-content: space-between;"}
12
- `,T=S.default.div`
12
+ `,q=S.default.div`
13
13
  display: flex;
14
14
  word-break: break-word;
15
15
  flex-direction: column;
16
16
  ${({$hasReplies:e})=>e?'\n position: relative;\n\n &::before {\n content: "";\n position: absolute;\n top: 32px;\n left: -28px;\n height: calc(100% - 12px);\n border-left: 2px solid var(--color-grey-9);\n }':""}
17
- `,z=S.default.div`
17
+ `,T=S.default.div`
18
18
  padding: 16px;
19
19
  display: flex;
20
20
  flex-direction: column;
@@ -70,4 +70,4 @@
70
70
  gap: 12px;
71
71
  width: 90%;
72
72
  padding: 8px 0;
73
- `;exports.Comment=({avatarTooltipContent:t,avatarTooltipSx:n,content:r,createdDate:s,hasMoreReplies:d,id:p,onComment:b,onReact:v,latestReaction:w,onShowReplies:k,onEdit:S,isEditing:P,setIsEditing:A,dropdown:G,reactionModal:N,reactions:D,replies:H,userImageUri:O,userName:W,userReactions:V,visibilityIcon:X,customPlaceHolder:Y,userProfileUri:J,sx:K,moveButtonsToLeft:Q=!1,useNewVersion:Z=!1,onDelete:ee,visibility:te,shareDropdown:ne,belongsToLoggedUser:re=!1,disableRedirectionToUserProfile:oe=!1,replyAccountOptions:ie,selectedReplyAccount:se,onReplyAccountChange:le,showAccountSelector:ae=!1,accountSelectorSize:ce=32,activeReplyId:de,onReplyClick:pe,flatReplies:xe=!1,mentionMap:ue={}})=>{const[he,ge]=E.default.useState(!1),[fe,me]=E.default.useState({x:0,y:0}),[je,ye]=E.default.useState("up"),[$e,be]=E.default.useState(!1),[ve,we]=E.default.useState(!1),[ke,Ee]=E.default.useState(""),[Se,Ce]=E.default.useState(r),Pe=E.default.useRef(null),[Re,Be]=E.default.useState(!1),Ie=de===p,qe=E.default.Children.toArray(H);E.default.useEffect(()=>{(P||Re)&&Pe.current&&Pe.current.focus()},[P,Re]);const Te=e=>{e.stopPropagation(),ge(e=>!e),me({y:e.clientY,x:e.clientX}),ye(e.clientY>400?"up":"down")},ze=()=>{k&&k(),we(!0)},_e=h.abbrTimeBeforeDate(s),Le=D&&Object.entries(D).slice(0,5).sort((e,t)=>e[1]<t[1]?1:-1).map(([t,n])=>e.jsx(e.Fragment,{children:e.jsx(y.EmojiReaction,{size:16,emoji:t,isActive:V?.includes(t),onReact:()=>v(t),showSparkle:t===w,count:n,showCount:!0},p+t)})),Me=!!qe?.length&&qe.length>0,Ae=Me&&qe.map((t,n)=>{if(!E.default.isValidElement(t))return null;const r=t.props?.id,o=n!==qe.length-1||d;return xe?e.jsx(E.default.Fragment,{children:t},r):e.jsxs(M,{$hasLine:o,children:[t,e.jsx(U,{})]},r)});return e.jsxs(q,{$sx:K,id:"comment-"+p,$moveButtonsToLeft:Q,children:[e.jsx(o.Avatar,{as:oe?void 0:C.default,href:oe?void 0:J,image:O,size:32,tooltipContent:t,tooltipSx:n}),e.jsxs(i.Box,{$flex:1,$dir:"column",children:[e.jsxs(T,{$hasReplies:!xe&&(Me||!!d),children:[P||Re?e.jsx(g.ResponsiveTextArea,{inputStyles:"min-height: 104px;",wrapperStyles:"background:var(--color-grey-9); ",onChange:e=>{Ce(e.target.value)},value:Se,ref:Pe,onBlur:async()=>{Z&&(S&&await S(Se,p),Be(!1))}}):e.jsxs(z,{onClick:()=>Z&&re?Be(!0):void 0,children:[e.jsxs(i.Box,{$dir:"row",$justify:"space-between",$align:"center",children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsx(l.P,{as:oe?void 0:J?C.default:"span",href:oe?void 0:J,$bold:!0,$color:"grey-2",sx:"text-decoration:none !important; color:var(--color-grey-2) !important;",$fontSize:14,$lineHeight:20,children:W}),Z&&te&&("PUBLIC_WITH_MEETING"===te?e.jsxs(e.Fragment,{children:[I.PUBLIC,e.jsx(l.P,{$fontSize:14,children:B.PUBLIC}),I.MEETING_MEMBERS,e.jsx(l.P,{$fontSize:14,children:B.MEETING_MEMBERS})]}):e.jsxs(e.Fragment,{children:[I[te],e.jsx(l.P,{$fontSize:14,children:B[te]})]}))]}),Z&&re?e.jsx($.TrashSlash,{sx:"cursor: pointer;",onClick:e=>{e.stopPropagation(),e.preventDefault(),ee&&ee()}}):G]}),e.jsx(l.P,{sx:"white-space: pre-line;letter-spacing: -0.176px; word-break: break-word;",children:R(r,ue)})]}),e.jsxs(i.Box,{$align:"flex-start",$dir:"row",$display:"flex",$gap:16,sx:"margin: 8px 0px; position: relative;",children:[P?e.jsxs(i.Box,{$display:"flex",$align:"center",$justify:"space-between",$gap:6,sx:"margin-top: 8px; width: 100%;",children:[e.jsx(x.Emoticon,{color:"primary-blue-2",onClick:Te,size:24,sx:`cursor: pointer; flex-shrink: 0;\n ${!Q&&"margin-right: auto;"}\n `}),e.jsx(a.Button,{onClick:()=>{A&&A(!P),Ce(r)},sx:`background-color: transparent; border: none; box-shadow: none; color: var(--color-primary-blue-2);\n ${Q?"margin-left: 20px;":"margin-left: auto;"}\n &:hover, &:focus {\n border: none;\n outline: none;\n }\n `,size:"small",type:"outlined",children:"Cancel"}),e.jsx(a.Button,{onClick:()=>{S&&S(Se,p),A&&A(!1)},size:"small",type:"primary",children:"Save"})]}):e.jsxs(e.Fragment,{children:[e.jsx(x.Emoticon,{color:"primary-blue-2",onClick:Te,size:24,sx:" cursor: pointer; flex-shrink: 0;"}),e.jsx(u.Comment,{color:"primary-blue-2",onClick:()=>{pe&&p?pe(de===p?"":p):be(e=>!e)},size:24,sx:"border-radius: 50%; cursor: pointer; flex-shrink: 0;"}),e.jsx(l.P,{$color:"grey-7",children:"•"}),e.jsx(l.P,{$color:"grey-4",$fontSize:12,$lineHeight:24,sx:"flex-shrink: 0;",children:_e}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",marginLeft:"auto",width:"100%"},children:[e.jsxs(i.Box,{$display:"flex",$flow:"row wrap",$justify:"flex-end",$align:"flex-end",$gap:6,sx:` \n margin-left: auto;\n @media (max-width: 500px) {\n max-width: 100%;\n }\n ${Le?.length?"margin-bottom: 12px;":""}\n `,children:[Le,N]}),Z&&ne]})]}),he&&e.jsx(c.Portal,{children:e.jsx(_,{$pickerOrientation:je,$top:fe.y,$left:fe.x,children:e.jsx(j.CustomEmojiPicker,{open:he,trigger:e.jsx(e.Fragment,{}),onSelect:({native:e})=>{v(e),ge(!1)},onClickOutside:()=>ge(!1)})})})]})]}),Me&&ve&&e.jsx(L,{children:Ae}),!ve&&!d&&Me&&e.jsx(L,{children:e.jsxs(M,{$hasLine:!1,children:[e.jsx(a.Button,{onClick:ze,size:"small",sx:"color: var(--color-grey-3);",type:"text",children:"show replies"}),e.jsx(U,{})]})}),d&&e.jsx(L,{children:e.jsxs(M,{$hasLine:!1,children:[e.jsx(a.Button,{onClick:ze,size:"small",sx:"color: var(--color-grey-3);",type:"text",children:"show more replies"}),e.jsx(U,{})]})}),(Ie||$e)&&e.jsxs(F,{children:[ae&&ie&&le?e.jsx(m.AccountSelector,{selectedOption:se??null,options:ie,onOptionChange:le,size:ce,showChevron:ie.length>1}):e.jsx(o.Avatar,{as:oe?void 0:C.default,href:oe?void 0:J,image:O,size:32,tooltipContent:t,tooltipSx:n}),e.jsx(g.ResponsiveTextArea,{bg:"var(--color-grey-10)",value:ke,onChange:e=>{Ee(e.target.value)},placeholder:Y||"Write a reply",maxCharacters:1e3,minWidth:"100%",wrapperStyles:"margin: 16px 0; width: 100%;",actionComponent:e.jsxs(i.Box,{sx:"margin: auto 0 5px 0px;",$align:"center",$justify:"center",$gap:8,children:[X,e.jsx(a.Button,{disabled:!ke.length,icon:e.jsx(f.SendText,{}),onClick:e=>{e.stopPropagation(),e.preventDefault(),b(ke,p),Ee("")},sx:"\n justify-content: center; \n background-color: var(--color-primary-blue-2);\n align-items: center; \n height: 40px;\n width: 40px;\n cursor: pointer;\n border: none;\n box-shadow: none;\n svg {\n fill: white;\n }\n &:disabled {\n svg {\n fill: var(--color-grey-7);\n }\n border: none !important;\n background-color: var(--color-grey-1);\n }\n ",type:"secondary"})]}),inputStyles:"font-size: 14px;"})]})]})]})};
73
+ `;exports.Comment=({avatarTooltipContent:t,avatarTooltipSx:n,content:r,createdDate:s,hasMoreReplies:d,id:p,onComment:b,onReact:v,latestReaction:w,onShowReplies:k,onEdit:S,isEditing:P,setIsEditing:A,dropdown:G,reactionModal:N,reactions:D,replies:H,userImageUri:O,userName:W,userReactions:V,visibilityIcon:X,customPlaceHolder:Y,userProfileUri:J,sx:K,moveButtonsToLeft:Q=!1,useNewVersion:Z=!1,onDelete:ee,visibility:te,shareDropdown:ne,belongsToLoggedUser:re=!1,disableRedirectionToUserProfile:oe=!1,replyAccountOptions:ie,selectedReplyAccount:se,onReplyAccountChange:ae,showAccountSelector:le=!1,accountSelectorSize:ce=32,activeReplyId:de,onReplyClick:pe,flatReplies:xe=!1,mentionMap:ue={}})=>{const[he,ge]=E.default.useState(!1),[fe,me]=E.default.useState({x:0,y:0}),[je,ye]=E.default.useState("up"),[$e,be]=E.default.useState(!1),[ve,we]=E.default.useState(!1),[ke,Ee]=E.default.useState(""),[Se,Ce]=E.default.useState(r),Pe=E.default.useRef(null),[Re,Be]=E.default.useState(!1),Ie=de===p,ze=E.default.Children.toArray(H);E.default.useEffect(()=>{(P||Re)&&Pe.current&&Pe.current.focus()},[P,Re]);const qe=e=>{e.stopPropagation(),ge(e=>!e),me({y:e.clientY,x:e.clientX}),ye(e.clientY>400?"up":"down")},Te=()=>{k&&k(),we(!0)},_e=h.abbrTimeBeforeDate(s),Le=D&&Object.entries(D).slice(0,5).sort((e,t)=>e[1]<t[1]?1:-1).map(([t,n])=>e.jsx(e.Fragment,{children:e.jsx(y.EmojiReaction,{size:16,emoji:t,isActive:V?.includes(t),onReact:()=>v(t),showSparkle:t===w,count:n,showCount:!0},p+t)})),Me=!!ze?.length&&ze.length>0,Ae=Me&&ze.map((t,n)=>{if(!E.default.isValidElement(t))return null;const r=t.props?.id,o=n!==ze.length-1||d;return xe?e.jsx(E.default.Fragment,{children:t},r):e.jsxs(M,{$hasLine:o,children:[t,e.jsx(U,{})]},r)});return e.jsxs(z,{$sx:K,id:"comment-"+p,$moveButtonsToLeft:Q,children:[O&&"/images/default_avatar.png"!==O?e.jsx(o.Avatar,{as:oe?void 0:C.default,href:oe?void 0:J,image:O,size:32,tooltipContent:t,tooltipSx:n}):e.jsx(o.Avatar.Initials,{name:W||"U",size:32,sx:"font-size: 12px;"}),e.jsxs(i.Box,{$flex:1,$dir:"column",children:[e.jsxs(q,{$hasReplies:!xe&&(Me||!!d),children:[P||Re?e.jsx(g.ResponsiveTextArea,{inputStyles:"min-height: 104px;",wrapperStyles:"background:var(--color-grey-9); ",onChange:e=>{Ce(e.target.value)},value:Se,ref:Pe,onBlur:async()=>{Z&&(S&&await S(Se,p),Be(!1))}}):e.jsxs(T,{onClick:()=>Z&&re?Be(!0):void 0,children:[e.jsxs(i.Box,{$dir:"row",$justify:"space-between",$align:"center",children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsx(a.P,{as:oe?void 0:J?C.default:"span",href:oe?void 0:J,$bold:!0,$color:"grey-2",sx:"text-decoration:none !important; color:var(--color-grey-2) !important;",$fontSize:14,$lineHeight:20,children:W}),Z&&te&&("PUBLIC_WITH_MEETING"===te?e.jsxs(e.Fragment,{children:[I.PUBLIC,e.jsx(a.P,{$fontSize:14,children:B.PUBLIC}),I.MEETING_MEMBERS,e.jsx(a.P,{$fontSize:14,children:B.MEETING_MEMBERS})]}):e.jsxs(e.Fragment,{children:[I[te],e.jsx(a.P,{$fontSize:14,children:B[te]})]}))]}),Z&&re?e.jsx($.TrashSlash,{sx:"cursor: pointer;",onClick:e=>{e.stopPropagation(),e.preventDefault(),ee&&ee()}}):G]}),e.jsx(a.P,{sx:"white-space: pre-line;letter-spacing: -0.176px; word-break: break-word;",children:R(r,ue)})]}),e.jsxs(i.Box,{$align:"flex-start",$dir:"row",$display:"flex",$gap:16,sx:"margin: 8px 0px; position: relative;",children:[P?e.jsxs(i.Box,{$display:"flex",$align:"center",$justify:"space-between",$gap:6,sx:"margin-top: 8px; width: 100%;",children:[e.jsx(x.Emoticon,{color:"primary-blue-2",onClick:qe,size:24,sx:`cursor: pointer; flex-shrink: 0;\n ${!Q&&"margin-right: auto;"}\n `}),e.jsx(l.Button,{onClick:()=>{A&&A(!P),Ce(r)},sx:`background-color: transparent; border: none; box-shadow: none; color: var(--color-primary-blue-2);\n ${Q?"margin-left: 20px;":"margin-left: auto;"}\n &:hover, &:focus {\n border: none;\n outline: none;\n }\n `,size:"small",type:"outlined",children:"Cancel"}),e.jsx(l.Button,{onClick:()=>{S&&S(Se,p),A&&A(!1)},size:"small",type:"primary",children:"Save"})]}):e.jsxs(e.Fragment,{children:[e.jsx(x.Emoticon,{color:"primary-blue-2",onClick:qe,size:24,sx:" cursor: pointer; flex-shrink: 0;"}),e.jsx(u.Comment,{color:"primary-blue-2",onClick:()=>{pe&&p?pe(de===p?"":p):be(e=>!e)},size:24,sx:"border-radius: 50%; cursor: pointer; flex-shrink: 0;"}),e.jsx(a.P,{$color:"grey-7",children:"•"}),e.jsx(a.P,{$color:"grey-4",$fontSize:12,$lineHeight:24,sx:"flex-shrink: 0;",children:_e}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",marginLeft:"auto",width:"100%"},children:[e.jsxs(i.Box,{$display:"flex",$flow:"row wrap",$justify:"flex-end",$align:"flex-end",$gap:6,sx:` \n margin-left: auto;\n @media (max-width: 500px) {\n max-width: 100%;\n }\n ${Le?.length?"margin-bottom: 12px;":""}\n `,children:[Le,N]}),Z&&ne]})]}),he&&e.jsx(c.Portal,{children:e.jsx(_,{$pickerOrientation:je,$top:fe.y,$left:fe.x,children:e.jsx(j.CustomEmojiPicker,{open:he,trigger:e.jsx(e.Fragment,{}),onSelect:({native:e})=>{v(e),ge(!1)},onClickOutside:()=>ge(!1)})})})]})]}),Me&&ve&&e.jsx(L,{children:Ae}),!ve&&!d&&Me&&e.jsx(L,{children:e.jsxs(M,{$hasLine:!1,children:[e.jsx(l.Button,{onClick:Te,size:"small",sx:"color: var(--color-grey-3);",type:"text",children:"show replies"}),e.jsx(U,{})]})}),d&&e.jsx(L,{children:e.jsxs(M,{$hasLine:!1,children:[e.jsx(l.Button,{onClick:Te,size:"small",sx:"color: var(--color-grey-3);",type:"text",children:"show more replies"}),e.jsx(U,{})]})}),(Ie||$e)&&e.jsxs(F,{children:[le&&ie&&ae?e.jsx(m.AccountSelector,{selectedOption:se??null,options:ie,onOptionChange:ae,size:ce,showChevron:ie.length>1}):O&&"/images/default_avatar.png"!==O?e.jsx(o.Avatar,{as:oe?void 0:C.default,href:oe?void 0:J,image:O,size:32,tooltipContent:t,tooltipSx:n}):e.jsx(o.Avatar.Initials,{name:W||"U",size:32,sx:"font-size: 12px;"}),e.jsx(g.ResponsiveTextArea,{bg:"var(--color-grey-10)",value:ke,onChange:e=>{Ee(e.target.value)},placeholder:Y||"Write a reply",maxCharacters:1e3,minWidth:"100%",wrapperStyles:"margin: 16px 0; width: 100%;",actionComponent:e.jsxs(i.Box,{sx:"margin: auto 0 5px 0px;",$align:"center",$justify:"center",$gap:8,children:[X,e.jsx(l.Button,{disabled:!ke.length,icon:e.jsx(f.SendText,{}),onClick:e=>{e.stopPropagation(),e.preventDefault(),b(ke,p),Ee("")},sx:"\n justify-content: center; \n background-color: var(--color-primary-blue-2);\n align-items: center; \n height: 40px;\n width: 40px;\n cursor: pointer;\n border: none;\n box-shadow: none;\n svg {\n fill: white;\n }\n &:disabled {\n svg {\n fill: var(--color-grey-7);\n }\n border: none !important;\n background-color: var(--color-grey-1);\n }\n ",type:"secondary"})]}),inputStyles:"font-size: 14px;"})]})]})]})};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),i=require("next/image"),r=require("next/link"),o=require("styled-components"),n=require("react-show-more-text"),s=require("../../../common/regex.js"),l=require("../../atoms/box/box.js"),a=require("../../atoms/highlighter/highlighter.js"),d=require("../../atoms/typography/heading.js"),c=require("../../atoms/typography/paragraph.js"),h=require("../modal/modal.js");require("../../atoms/typography/display.js"),require("../../atoms/typography/typography.js");var u=require("../../atoms/time_ago/time_ago.js");require("../../atoms/countdown/countdown.js");var p=require("../../iconography/avatar/avatar.js"),x=require("../../../icons/security/lock.js"),g=require("../../../icons/arrow/chevron_left.js"),f=require("../../../icons/arrow/chevron_right.js"),m=require("../../media/video/video.js");require("../../iconography/icon/icon.js");var y=require("../../../icons/audio_video/play.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../icons/security/verified_filled.js"),require("../../../common/colors.js");var b=v(t),j=v(i),w=v(r),$=v(n);const k=o.styled.div`
2
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),i=require("next/image"),r=require("next/link"),n=require("styled-components"),o=require("react-show-more-text"),s=require("../../../common/regex.js"),l=require("../../atoms/box/box.js"),a=require("../../atoms/highlighter/highlighter.js"),d=require("../../atoms/typography/heading.js"),c=require("../../atoms/typography/paragraph.js"),h=require("../modal/modal.js");require("../../atoms/typography/display.js"),require("../../atoms/typography/typography.js");var u=require("../../atoms/time_ago/time_ago.js");require("../../atoms/countdown/countdown.js");var p=require("../../iconography/avatar/avatar.js"),x=require("../../../icons/security/lock.js"),g=require("../../../icons/arrow/chevron_left.js"),f=require("../../../icons/arrow/chevron_right.js"),m=require("../../media/video/video.js");require("../../iconography/icon/icon.js");var y=require("../../../icons/audio_video/play.js");function j(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../icons/security/verified_filled.js"),require("../../../common/colors.js");var v=j(t),b=j(i),w=j(r),$=j(o);const k=n.styled.div`
3
3
  position: relative;
4
4
  max-width: 700px;
5
5
  width: 100%;
@@ -16,18 +16,18 @@
16
16
  text-decoration: underline;
17
17
  cursor: pointer;
18
18
  }
19
- `;o.styled.button`
19
+ `;n.styled.button`
20
20
  background: none;
21
21
  border: none;
22
22
  cursor: pointer;
23
23
  color: var(--color-grey-5);
24
- `;const q=o.styled.div`
24
+ `;const q=n.styled.div`
25
25
  padding: 16px 24px;
26
26
  display: flex;
27
27
  justify-content: space-between;
28
28
  align-items: flex-start;
29
29
  border-bottom: 1px solid var(--color-grey-9);
30
- `,C=o.styled.div`
30
+ `,C=n.styled.div`
31
31
  position: absolute;
32
32
  width: 100%;
33
33
  height: 100%;
@@ -41,7 +41,7 @@
41
41
  background: var(--color-grey-0);
42
42
  border-radius: inherit;
43
43
  overflow: hidden;
44
- `,z=o.styled.div`
44
+ `,z=n.styled.div`
45
45
  position: absolute;
46
46
  width: 64px;
47
47
  height: 64px;
@@ -56,7 +56,7 @@
56
56
  z-index: 3;
57
57
  pointer-events: none;
58
58
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
59
- `,P=o.styled.div`
59
+ `,H=n.styled.div`
60
60
  position: relative;
61
61
  display: flex;
62
62
  gap: 8px;
@@ -75,7 +75,7 @@
75
75
  }
76
76
 
77
77
  ${({$numImages:e})=>e>1?"\n div {\n min-width: calc(50% - 4px);\n max-width: calc(50% - 4px);\n\n flex:1;\n img {\n object-fit: cover;\n width: 100%;\n height: 100%;\n }\n }":"\n div > img {\n object-fit: contain;\n width: 100%;\n height: 100%;\n }\n "}
78
- `,H=o.styled.div`
78
+ `,P=n.styled.div`
79
79
  position: relative;
80
80
  aspect-ratio: 700 / 427;
81
81
  flex: 1;
@@ -90,11 +90,11 @@
90
90
  height: 100%;
91
91
  pointer-events: none;
92
92
  }
93
- `,S=o.styled.div`
93
+ `,S=n.styled.div`
94
94
  position: relative;
95
95
  width: 100%;
96
96
  height: 480px;
97
- `,R=o.styled.div`
97
+ `,R=n.styled.div`
98
98
  position: relative;
99
99
  display: flex;
100
100
  flex-direction: column;
@@ -104,17 +104,17 @@
104
104
  justify-content: center;
105
105
  gap: 16px;
106
106
  overflow: hidden;
107
- `,E=o.styled.div`
107
+ `,E=n.styled.div`
108
108
  display: flex;
109
109
  justify-content: space-around;
110
110
  align-items: center;
111
111
  padding: 24px;
112
- `,L=o.styled.div`
112
+ `,L=n.styled.div`
113
113
  padding: 24px;
114
114
  display: flex;
115
115
  flex-flow: column nowrap;
116
116
  gap: 24px;
117
- `,_=o.styled.button`
117
+ `,_=n.styled.button`
118
118
  width: 48px;
119
119
  height: 150px;
120
120
  display: flex;
@@ -130,7 +130,7 @@
130
130
  &:hover {
131
131
  background-color: rgba(0, 0, 0, 0.2);
132
132
  }
133
- `,M=o.styled.div`
133
+ `,U=n.styled.div`
134
134
  margin-top: 24px;
135
135
  border-radius: 32px;
136
136
  border: 1px solid var(--color-grey-8);
@@ -138,4 +138,4 @@
138
138
  padding: 6px 16px;
139
139
  width: fit-content;
140
140
  cursor: pointer;
141
- `;exports.Post=({actions:t,author:i,authorActive:r,authorHref:o,authorImage:n,avatarTooltipContent:v,avatarTooltipSx:U,children:I,content:A,createdDate:B,dropdown:F,hasComments:T,id:W,images:J,isPaidUser:D,isPaywalled:V=!1,link:X,video:G,onJoin:N,monthlyMembershipPrice:O,onImageClick:Y})=>{const K=b.default.useId(),Q=b.default.useRef(null),[Z,ee]=b.default.useState(!1),[te,ie]=b.default.useState(-1),[re,oe]=b.default.useState(!1);b.default.useRef(null);const[ne,se]=b.default.useState(-1),[le,ae]=b.default.useState({x:"30vw",y:"30vh"}),de=!!G?.url&&!!G?.thumbnail,ce=G?.displayHtmlVideo,[he,ue]=b.default.useState(!1),pe=b.default.useRef(null);b.default.useEffect(()=>{if(Q.current&&A?.length>0){const e=24,t=Math.ceil(Q.current.offsetHeight/e);if(ie(t),!Z)try{const t=Q.current.style.webkitLineClamp;Q.current.style.webkitLineClamp="none";const i=Q.current.offsetHeight,r=Math.ceil(i/e);Q.current.style.webkitLineClamp=t,oe(r>3)}catch(e){oe(t>=3)}}else ie(-1),oe(!1)},[A,Z]),b.default.useEffect(()=>{const e=e=>{"ArrowLeft"===e.key?me():"ArrowRight"===e.key?fe():"Escape"!==e.key&&"Enter"!==e.key||se(-1)};return"undefined"!=typeof document&&J?.length&&ne>-1&&document.addEventListener("keydown",e),()=>{J?.length&&document.removeEventListener("keydown",e)}},[]);const xe=b.default.Children.toArray(t),ge=b.default.Children.toArray(I),fe=()=>{se(e=>J?.length&&e!==J.length-1?e+1:e)},me=()=>{se(e=>J?.length&&0!==e?e-1:e)};return e.jsxs(k,{id:W,children:[ne>-1&&!!J?.[ne]&&e.jsx(h.Modal,{alwaysRender:!1,controlledOpen:!0,onChange:e=>!e&&se(-1),children:e.jsxs(h.Modal.Content,{sx:`\n position: relative; \n height: ${le.y}; \n width: ${le.x};\n margin: 0 auto;\n `,children:[e.jsx(_,{$side:"left",$visible:0!==ne,onClick:me,children:e.jsx(g.ChevronLeft,{color:"white",size:48})}),e.jsx(j.default,{alt:"",fill:!0,quality:100,onLoad:e=>{const{naturalHeight:t,naturalWidth:i}=e.target;let r=`${i}px`,o=`${t}px`;window?.innerHeight<t&&window?.innerWidth<i?(r=`${Math.floor(.95*window.innerHeight*i/t)}px`,o=`${Math.round(.95*window.innerWidth*t/i)}px`):window?.innerHeight<t?(r=`${Math.floor(.95*window.innerHeight*i/t)}px`,o="95vh"):window?.innerWidth<i&&(r="95vw",o=`${Math.round(.95*window.innerWidth*t/i)}px`),ae({x:r,y:o})},draggable:!1,priority:!0,sizes:"100vw",src:J[ne],style:{objectFit:"cover"}}),e.jsx(_,{$side:"right",$visible:ne!==J.length-1,onClick:fe,children:e.jsx(f.ChevronRight,{color:"white",size:48})})]})}),e.jsxs(q,{children:[e.jsx(p.Avatar,{isPaidUser:D,as:o?w.default:"button",href:o,image:n,size:64,status:r?"online":void 0,subtitle:e.jsx(c.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(u.TimeAgo,{date:new Date(B)})}),title:e.jsx(d.H,{as:o?w.default:"span",href:o,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:i}),textPosition:"right",tooltipContent:v,tooltipSx:U,sx:o?"img { cursor: pointer; }":void 0}),F]}),!!A?.length&&e.jsxs("div",{style:{padding:"16px 24px"},children:[V&&te>1?e.jsx($.default,{lines:2,more:"Continue Reading",onClick:N,anchorClass:"see-more",expanded:!1,truncatedEndingComponent:"... ",children:e.jsx(c.P,{$sx:"white-space: pre-line; word-break: break-word;",$textClampLines:2,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:t,target:"_blank",children:t})}),seperator:s.URL_REGEX,text:A})})}):e.jsxs(e.Fragment,{children:[e.jsx(c.P,{$sx:"white-space: pre-line; word-break: break-word;",innerRef:Q,$textClampLines:Z?void 0:5,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:t,target:"_blank",children:t})}),seperator:s.URL_REGEX,text:V&&1===te?"This is a premium post. Join to the membership to unlock the full access.":A})}),re&&!V?e.jsx(c.P,{$color:"grey-5",sx:"cursor:pointer;",$mediumBold:!0,$fontSize:14,onClick:()=>ee(e=>!e),children:Z?"See less":"See more"}):null]}),V&&!J?.length&&e.jsx(M,{onClick:N,children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),V&&!!J?.length&&!de&&e.jsxs(R,{children:[e.jsx(j.default,{alt:"",width:650,height:427,priority:!0,quality:100,src:J[0],style:{objectFit:"fill",height:"100%",width:"100%",filter:"blur(60px)",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)"}}),e.jsx(x.Lock,{size:40,color:"white",sx:"z-index: 1"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",zIndex:1},children:[e.jsx(c.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"Become a member"}),e.jsx(c.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"to unlock this post"})]}),e.jsx(M,{onClick:N,style:{zIndex:1,marginTop:0},children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),!!J?.length&&!de&&!V&&e.jsxs(P,{$numImages:J.length,children:[J.slice(0,4).map((t,i)=>e.jsx(H,{children:e.jsx(j.default,{alt:"",fill:!0,onClick:()=>{Y?.(i),se(i)},quality:100,src:t,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})},`${K}${t.slice(0,15)}${i}`)),J.length>4&&e.jsxs(d.H,{as:"p",className:"more-than",sx:"pointer-events: none;",$color:"grey-10",$fontSize:28,$lineHeight:36,$semiBold:!0,children:["+",J.length-4]})]}),!J?.length&&!de&&X&&!V&&e.jsxs(w.default,{href:X.url,target:"_blank",children:[e.jsx(H,{children:e.jsx(j.default,{alt:"",fill:!0,quality:100,src:X.imageUrl,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})}),e.jsxs(l.Box,{$dir:"column",$gap:8,sx:"padding: 8px 16px;",children:[e.jsx(c.P,{$color:"grey-2",$semiBold:!0,children:X.title}),e.jsx(c.P,{$color:"grey-5",children:X.description})]})]}),de&&e.jsx(S,{children:ce?he?e.jsxs("video",{ref:pe,style:{width:"100%",height:"100%"},controls:!0,playsInline:!0,poster:G.thumbnail,children:[G.videoUrls.webm&&e.jsx("source",{src:G.videoUrls.webm,type:"video/webm; codecs=vp9"}),G.videoUrls.mp4&&e.jsx("source",{src:G.videoUrls.mp4,type:"video/mp4; codecs=avc1.42E01E"}),"Your browser does not support the video tag."]}):e.jsxs(C,{onClick:()=>{ue(!0),setTimeout(()=>{pe.current?.play()},100)},children:[e.jsx(j.default,{src:G.thumbnail,alt:"Video thumbnail",fill:!0,style:{objectFit:"cover",borderRadius:"inherit"},priority:!0,draggable:!1}),e.jsx(z,{children:e.jsx(y.Play,{size:32,color:"white"})})]}):e.jsx(m.Video,{src:G.url,thumbnail:G.thumbnail,subtitles:[],title:G?.title})}),!!xe.length&&e.jsx(E,{children:!V&&xe}),T&&!!ge.length&&e.jsx(L,{children:ge})]})};
141
+ `;exports.Post=({actions:t,author:i,authorActive:r,authorHref:n,authorImage:o,avatarTooltipContent:j,avatarTooltipSx:A,children:B,content:I,createdDate:M,dropdown:T,hasComments:F,id:W,images:D,isPaidUser:J,isPaywalled:V=!1,link:X,video:G,onJoin:N,monthlyMembershipPrice:O,onImageClick:Y})=>{const K=v.default.useId(),Q=v.default.useRef(null),[Z,ee]=v.default.useState(!1),[te,ie]=v.default.useState(-1),[re,ne]=v.default.useState(!1);v.default.useRef(null);const[oe,se]=v.default.useState(-1),[le,ae]=v.default.useState({x:"30vw",y:"30vh"}),de=!!G?.url&&!!G?.thumbnail,ce=G?.displayHtmlVideo,[he,ue]=v.default.useState(!1),pe=v.default.useRef(null);v.default.useEffect(()=>{if(Q.current&&I?.length>0){const e=24,t=Math.ceil(Q.current.offsetHeight/e);if(ie(t),!Z)try{const t=Q.current.style.webkitLineClamp;Q.current.style.webkitLineClamp="none";const i=Q.current.offsetHeight,r=Math.ceil(i/e);Q.current.style.webkitLineClamp=t,ne(r>3)}catch(e){ne(t>=3)}}else ie(-1),ne(!1)},[I,Z]),v.default.useEffect(()=>{const e=e=>{"ArrowLeft"===e.key?me():"ArrowRight"===e.key?fe():"Escape"!==e.key&&"Enter"!==e.key||se(-1)};return"undefined"!=typeof document&&D?.length&&oe>-1&&document.addEventListener("keydown",e),()=>{D?.length&&document.removeEventListener("keydown",e)}},[]);const xe=v.default.Children.toArray(t),ge=v.default.Children.toArray(B),fe=()=>{se(e=>D?.length&&e!==D.length-1?e+1:e)},me=()=>{se(e=>D?.length&&0!==e?e-1:e)};return e.jsxs(k,{id:W,children:[oe>-1&&!!D?.[oe]&&e.jsx(h.Modal,{alwaysRender:!1,controlledOpen:!0,onChange:e=>!e&&se(-1),children:e.jsxs(h.Modal.Content,{sx:`\n position: relative; \n height: ${le.y}; \n width: ${le.x};\n margin: 0 auto;\n `,children:[e.jsx(_,{$side:"left",$visible:0!==oe,onClick:me,children:e.jsx(g.ChevronLeft,{color:"white",size:48})}),e.jsx(b.default,{alt:"",fill:!0,quality:100,onLoad:e=>{const{naturalHeight:t,naturalWidth:i}=e.target;let r=`${i}px`,n=`${t}px`;window?.innerHeight<t&&window?.innerWidth<i?(r=`${Math.floor(.95*window.innerHeight*i/t)}px`,n=`${Math.round(.95*window.innerWidth*t/i)}px`):window?.innerHeight<t?(r=`${Math.floor(.95*window.innerHeight*i/t)}px`,n="95vh"):window?.innerWidth<i&&(r="95vw",n=`${Math.round(.95*window.innerWidth*t/i)}px`),ae({x:r,y:n})},draggable:!1,priority:!0,sizes:"100vw",src:D[oe],style:{objectFit:"cover"}}),e.jsx(_,{$side:"right",$visible:oe!==D.length-1,onClick:fe,children:e.jsx(f.ChevronRight,{color:"white",size:48})})]})}),e.jsxs(q,{children:[o&&"/images/default_avatar.png"!==o?e.jsx(p.Avatar,{isPaidUser:J,as:n?w.default:"button",href:n,image:o,size:64,status:r?"online":void 0,subtitle:e.jsx(c.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(u.TimeAgo,{date:new Date(M)})}),title:e.jsx(d.H,{as:n?w.default:"span",href:n,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:i}),textPosition:"right",tooltipContent:j,tooltipSx:A,sx:n?"img { cursor: pointer; }":void 0}):e.jsxs(l.Box,{$align:"center",$gap:12,children:[e.jsx(p.Avatar.Initials,{name:i||"U",size:64}),e.jsxs(l.Box,{$dir:"column",children:[e.jsx(d.H,{as:n?w.default:"span",href:n,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:i}),e.jsx(c.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(u.TimeAgo,{date:new Date(M)})})]})]}),T]}),!!I?.length&&e.jsxs("div",{style:{padding:"16px 24px"},children:[V&&te>1?e.jsx($.default,{lines:2,more:"Continue Reading",onClick:N,anchorClass:"see-more",expanded:!1,truncatedEndingComponent:"... ",children:e.jsx(c.P,{$sx:"white-space: pre-line; word-break: break-word;",$textClampLines:2,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:t,target:"_blank",children:t})}),seperator:s.URL_REGEX,text:I})})}):e.jsxs(e.Fragment,{children:[e.jsx(c.P,{$sx:"white-space: pre-line; word-break: break-word;",innerRef:Q,$textClampLines:Z?void 0:5,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:t,target:"_blank",children:t})}),seperator:s.URL_REGEX,text:V&&1===te?"This is a premium post. Join to the membership to unlock the full access.":I})}),re&&!V?e.jsx(c.P,{$color:"grey-5",sx:"cursor:pointer;",$mediumBold:!0,$fontSize:14,onClick:()=>ee(e=>!e),children:Z?"See less":"See more"}):null]}),V&&!D?.length&&e.jsx(U,{onClick:N,children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),V&&!!D?.length&&!de&&e.jsxs(R,{children:[e.jsx(b.default,{alt:"",width:650,height:427,priority:!0,quality:100,src:D[0],style:{objectFit:"fill",height:"100%",width:"100%",filter:"blur(60px)",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)"}}),e.jsx(x.Lock,{size:40,color:"white",sx:"z-index: 1"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",zIndex:1},children:[e.jsx(c.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"Become a member"}),e.jsx(c.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"to unlock this post"})]}),e.jsx(U,{onClick:N,style:{zIndex:1,marginTop:0},children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),!!D?.length&&!de&&!V&&e.jsxs(H,{$numImages:D.length,children:[D.slice(0,4).map((t,i)=>e.jsx(P,{children:e.jsx(b.default,{alt:"",fill:!0,onClick:()=>{Y?.(i),se(i)},quality:100,src:t,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})},`${K}${t.slice(0,15)}${i}`)),D.length>4&&e.jsxs(d.H,{as:"p",className:"more-than",sx:"pointer-events: none;",$color:"grey-10",$fontSize:28,$lineHeight:36,$semiBold:!0,children:["+",D.length-4]})]}),!D?.length&&!de&&X&&!V&&e.jsxs(w.default,{href:X.url,target:"_blank",children:[e.jsx(P,{children:e.jsx(b.default,{alt:"",fill:!0,quality:100,src:X.imageUrl,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})}),e.jsxs(l.Box,{$dir:"column",$gap:8,sx:"padding: 8px 16px;",children:[e.jsx(c.P,{$color:"grey-2",$semiBold:!0,children:X.title}),e.jsx(c.P,{$color:"grey-5",children:X.description})]})]}),de&&e.jsx(S,{children:ce?he?e.jsxs("video",{ref:pe,style:{width:"100%",height:"100%"},controls:!0,playsInline:!0,poster:G.thumbnail,children:[G.videoUrls.webm&&e.jsx("source",{src:G.videoUrls.webm,type:"video/webm; codecs=vp9"}),G.videoUrls.mp4&&e.jsx("source",{src:G.videoUrls.mp4,type:"video/mp4; codecs=avc1.42E01E"}),"Your browser does not support the video tag."]}):e.jsxs(C,{onClick:()=>{ue(!0),setTimeout(()=>{pe.current?.play()},100)},children:[e.jsx(b.default,{src:G.thumbnail,alt:"Video thumbnail",fill:!0,style:{objectFit:"cover",borderRadius:"inherit"},priority:!0,draggable:!1}),e.jsx(z,{children:e.jsx(y.Play,{size:32,color:"white"})})]}):e.jsx(m.Video,{src:G.url,thumbnail:G.thumbnail,subtitles:[],title:G?.title})}),!!xe.length&&e.jsx(E,{children:!V&&xe}),F&&!!ge.length&&e.jsx(L,{children:ge})]})};
@@ -1 +1 @@
1
- {"version":3,"file":"course-seats.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/course-seats/course-seats.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,eAAe,iIAYzB,oBAAoB,4CA8FtB,CAAC"}
1
+ {"version":3,"file":"course-seats.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/course-seats/course-seats.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,eAAe,iIAYzB,oBAAoB,4CAwGtB,CAAC"}
@@ -19,18 +19,6 @@ export interface AvatarProps extends NativeProps {
19
19
  tooltipSx?: string;
20
20
  fallbackImg?: string;
21
21
  }
22
- /**
23
- *
24
- * Avatar
25
- */
26
- declare const Avatar: {
27
- ({ as, href, image, fallbackImg, size, status, subtitle, sx, isPaidUser, textPosition, title, tooltipContent, tooltipSx, ...rest }: AvatarProps): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- Group: {
30
- ({ children, numDisplayed, total }: AvatarGroupProps): import("react/jsx-runtime").JSX.Element;
31
- displayName: string;
32
- };
33
- };
34
22
  export interface InitialsAvatarProps {
35
23
  name: string;
36
24
  size: Size;
@@ -43,5 +31,18 @@ export interface AvatarGroupProps extends React.PropsWithChildren {
43
31
  numDisplayed: number;
44
32
  total: number;
45
33
  }
46
- export { Avatar };
34
+ declare const AvatarExport: {
35
+ ({ as, href, image, fallbackImg, size, status, subtitle, sx, isPaidUser, textPosition, title, tooltipContent, tooltipSx, ...rest }: AvatarProps): import("react/jsx-runtime").JSX.Element;
36
+ displayName: string;
37
+ } & {
38
+ Initials: {
39
+ ({ name, size, sx }: InitialsAvatarProps): import("react/jsx-runtime").JSX.Element;
40
+ displayName: string;
41
+ };
42
+ Group: {
43
+ ({ children, numDisplayed, total }: AvatarGroupProps): import("react/jsx-runtime").JSX.Element;
44
+ displayName: string;
45
+ };
46
+ };
47
+ export { AvatarExport as Avatar };
47
48
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,KAAK,WAAW,GAAG,IAAI,CACrB,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EACvB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,oBAAoB,GACpB,cAAc,GACd,cAAc,GACd,YAAY,GACZ,aAAa,CAChB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvB,KAAK,MAAM,GACP,SAAS,GACT,OAAO,GACP,MAAM,GACN,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,UAAU,CAAC;AAEf,KAAK,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAa5D,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAgED;;;GAGG;AACH,QAAA,MAAM,MAAM;wIAeT,WAAW;;;4CAmPoC,gBAAgB;;;CAtKjE,CAAC;AAyCF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAiHD;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,iBAAiB;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf;AA6DD,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/iconography/avatar/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,KAAK,WAAW,GAAG,IAAI,CACrB,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EACvB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,kBAAkB,GAClB,SA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C;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,IAAI,8PAsBd,SAAS,4CAgeX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.14.131",
3
+ "version": "2.14.133",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "license": "MIT",