(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9828],{70294:(e,t,s)=>{"use strict";s.d(t,{_:()=>L});var n=s(24643),i=s(40099),l=s(25616),r=s(95868),o=s(49057),a=s(86152),d=s(62186),c=s(38469),j=s(70629),h=s(72153);const u=(0,d.default)("div",{target:"e1xbbn5s0"})({height:24,overflow:"hidden",display:"flex"},"label:DivUserEventContainer;"),v=(0,d.default)("div",{target:"e1xbbn5s1"})({height:24,textDecoration:"none",display:"flex",alignItems:"center"},"label:DivUserEventLink;"),m=(0,d.default)("div",{target:"e1xbbn5s2"})((({theme:e})=>[(0,h.zy)({theme:e,fontWeight:"semiBold"}),{fontSize:16,color:e.colors.TextPrimary,padding:"0 8px",backgroundColor:e.colors.BGInput,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",borderRadius:2,display:"flex",alignItems:"center"}]),"label:DivUserEventTextWrapper;"),b=(0,d.default)(c.A,{target:"e1xbbn5s3"})((({theme:e})=>[(0,h.mp)({direction:e.direction,marginEnd:6}),{color:e.colors.ConstTextInverse,height:24,width:24}]),"label:StyledEventIcon;"),g=(0,d.default)(c.A,{target:"e1xbbn5s4"})((({theme:e})=>[(0,h.mp)({direction:e.direction,marginEnd:6}),{color:e.colors.ConstTextInverse,height:14,width:14}]),"label:StyledEventIcon2;"),p=(0,d.default)("div",{target:"e1xbbn5s5"})({display:"flex",alignItems:"center"},"label:DivMultiEvents;"),f=(0,d.default)("div",{target:"e1xbbn5s6"})((({theme:e})=>[(0,h.zy)({theme:e}),{fontSize:16,color:e.colors.LineSecondary,marginLeft:10,marginRight:8}]),"label:SpanVector;"),_=(0,d.default)(j.A,{target:"e1xbbn5s7"})((({theme:e})=>[(0,h.mp)({direction:e.direction,marginStart:4}),{color:e.colors.TextPrimary,height:16,transition:"all .3s ease",width:16}]),"label:StyledIconChevronDown;"),x=(0,d.default)("ul",{target:"e1xbbn5s8"})({margin:0,padding:0},"label:Ul;"),k=(0,d.default)("div",{target:"e1xbbn5s9"})({cursor:"pointer"},"label:DivEventLink;"),y=(0,d.default)("li",{target:"e1xbbn5s10"})((({theme:e})=>[(0,h.zy)({theme:e}),{listStyleType:"none",height:41,display:"flex",alignItems:"center",padding:8,":hover":{backgroundColor:e.colors.BGView}}]),"label:Li;");var w,S=s(88091),z=s(93608);!function(e){e.LiveEventCardShow="livesdk_live_event_card_show",e.LiveEventCardMoreClick="livesdk_live_event_card_more_click",e.LiveEventCardClick="livesdk_live_event_card_click",e.MultiAnchorEntranceShow="multi_anchor_entrance_show",e.MultiAnchorEntranceClick="multi_anchor_entrance_click"}(w||(w={}));const C=()=>({page_name:z.f.commonParams.page_name,anchor_type:"live_event"}),D=e=>{z.f.event("livesdk_live_event_card_show",Object.assign(Object.assign({},e),C()))};var O=s(47172),E=s(4474);const B="undefined"!=typeof window,L=e=>{var t;const{eventList:s,displayMultiEvents:d,isBrowserMode:c}=e,j=s.length,{eventId:h,groupId:w,eventStartTime:L,authorId:H}=s[0],M=(0,l.s)(),{pathname:I}=(0,O.useLocation)(),T=(0,i.useMemo)((()=>"video"===(0,r.sn)(I)?"landing_page":(0,r.sn)(I)),[I]),{language:U}=null!==(t=(0,o.W)((()=>["language","user"]),[]))&&void 0!==t?t:{},A=null!=U?U:"en",P=B?(0,a.SV)(Number(L),A,"MMM D, h:mm A"):(0,n.jsx)(S.sO,{width:130}),R=`/live/event/${h}`,[N,W]=(0,i.useState)(!1),V=(0,i.useRef)(!0),G=(0,i.useCallback)((({visible:e})=>{var t;setTimeout((()=>W(e))),e&&(t={live_event_id:h,author_id:H||""},z.f.event("livesdk_live_event_card_more_click",Object.assign(Object.assign({},t),C())),V.current&&s.length&&(s.forEach(((e,t)=>{D({live_event_id:e.eventId,author_id:e.authorId||"",impr_position:1+t})})),V.current=!1))}),[H,h,s]);(0,i.useEffect)((()=>{d&&D({live_event_id:h,author_id:H||"",impr_position:1})}),[H,d,h]),(0,i.useEffect)((()=>{var e;d||(e={live_event_id:h,author_id:H||"",group_id:w||"",video_show_mode:c?"browser_mode":T},z.f.event("multi_anchor_entrance_show",Object.assign(Object.assign({},e),C())))}),[H,d,h,w,T]);const Y=(e,t,s,n="",i)=>{var l;e.stopPropagation(),d?(l={live_event_id:s,author_id:n,impr_position:1+t},z.f.event("livesdk_live_event_card_click",Object.assign(Object.assign({},l),C()))):(e=>{z.f.event("multi_anchor_entrance_click",Object.assign(Object.assign({},e),C()))})({live_event_id:s,author_id:n||"",group_id:w||"",video_show_mode:c?"browser_mode":T}),window.open((0,E.stringifyUrl)({url:i,query:{enter_from:d?"personal_live_event_card":"anchor"}}),"_blank")},q=(0,n.jsx)(x,{children:s.map(((e,t)=>{const{eventId:s,eventStartTime:i,authorId:l}=e,r=(0,a.SV)(Number(i),A,"MMM D, h:mm A"),o=`/live/event/${s}`;return(0,n.jsx)(y,{children:(0,n.jsx)(k,{onClick:e=>Y(e,t,s,l,o),style:{textDecoration:"none"},children:(0,n.jsxs)(v,{children:[(0,n.jsx)(g,{}),(0,n.jsx)("span",{children:M("event_dm_share_message_card")}),"  · ",r]})})},s)}))});return(0,n.jsx)(u,{children:(0,n.jsx)(k,{onClick:e=>Y(e,0,h,H,R),style:{textDecoration:"none"},children:(0,n.jsxs)(v,{children:[(0,n.jsx)(b,{}),(0,n.jsxs)(m,{children:[(0,n.jsx)("span",{children:M("event_dm_share_message_card")}),(0,n.jsx)("span",{children:" · "}),(0,n.jsx)("span",{children:P}),B&&d&&j>1&&(0,n.jsx)(S.N0,{maxWidth:1e3,background:"BGPrimary",content:q,position:"Bottom",onVisibleChange:G,children:(0,n.jsxs)(p,{children:[(0,n.jsx)(f,{children:"|"})," ",j,(0,n.jsx)(_,{style:N?{transform:"rotate(180deg)"}:{}})]})})]})]})})})}},8513:(e,t,s)=>{"use strict";s.d(t,{k:()=>p});var n=s(24643),i=s(40099),l=s(25616),r=s(58305),o=s(5545),a=s(88920),d=s(45297),c=s(62186),j=s(72153);const h=(0,c.default)("div",{target:"e1mzilcj0"})((({paddingBottom:e})=>({display:"flex",width:"100%",overflow:"hidden",position:"relative",paddingBottom:e})),"label:DivWrapper;"),u=(0,c.default)("div",{target:"e1mzilcj1"})((({shouldShow3Dot:e,shouldDesOnlyShow2Lines:t,isUnfold:s,lineClamp:n,lineHeight:i,marginTop:l,theme:{colors:r}})=>[{width:"100%",overflow:"hidden",textOverflow:"ellipsis",display:e?"-webkit-box":"box",WebkitLineClamp:n,WebkitBoxOrient:"vertical",span:{display:"inline"},"*":{fill:r.Primary2},":before":{content:'""',height:`calc(100% - ${i}px)`,float:"right",width:0,marginTop:`${l}px`}},!s&&t&&{br:{display:"none"}}]),"label:DivText;"),v=(0,c.default)("button",{target:"e1mzilcj2"})((({theme:e})=>[(0,j.zy)({theme:e,typography:"P2",fontWeight:"semiBold",color:"TextPrimary"}),{border:"none",outline:"none",background:"none",cursor:"pointer"}]),"label:ButtonExpand;"),m=(0,c.default)(v,{target:"e1mzilcj3"})((({bottomBtnLeftOffset:e,isRightSide:t,theme:{direction:s},shouldAdjustLeftBtn:n})=>[(0,j.mp)({direction:s,end:t?e:"",start:t?"":e}),{position:"absolute",bottom:n?16:0}]),"label:StyledButtonBottom;"),b=(0,c.default)("div",{target:"e1mzilcj4"})((({moreBtnBottom:e,isMobileUiOptimize:t,btnShow:s,lineHeight:n,theme:{direction:i}})=>[{float:"rtl"===i?"left":"right",clear:"both",cursor:"pointer",display:s?"flex":"none",alignItems:"center",lineHeight:`${n}px`},t&&{position:"relative",bottom:e}]),"label:DivBtnWrapper;"),g=(0,c.default)("div",{target:"e1mzilcj5"})((({isUnfold:e,maxHeight:t})=>e?{overflowY:"auto",maxHeight:t,scrollbarWidth:"none","::-webkit-scrollbar":{width:4}}:{}),"label:DivOverflowContainer;"),p=(0,i.memo)((({children:e,lineClamp:t=2,overflowLineNum:s=0,onlyKey:c="",maxLine:j=999,btnOnClick:p,lineHeight:f=21,fontSize:_,showExpandButton:x=!0,btnStyle:k,expandBtnText:y,isMobile:w=!1,forceRightSide:S=!1,isCtaClick:z=!1,ctaTrigger:C,showTranslation:D,hasDefaultMaxHeight:O=!1})=>{const{isMobileUiOptimize:E}=(0,a.Eo)(),B=(0,l.s)(),L=(0,i.useRef)(null),H=(0,i.useRef)(null),[M,I]=(0,i.useState)(!1),[T,U]=(0,i.useState)(!1),[A,P]=(0,i.useState)(!1),[R,N]=(0,i.useState)(t),[W,V]=(0,i.useState)(O?t*f+2+"px":"unset"),[G,Y]=(0,i.useState)(!1),q=(0,i.useMemo)((()=>_?(f-_)/2:0),[_,f]),K=B(T?"pc_web_less_btn":"pc_web_more_btn");let $=f*s+"px";E&&($="42vh");const F=null!=y?y:K,J={shouldShow3Dot:!w&&A};let Z=w?"26px":"55px";T||(Z="unset");const Q=w?"0":"-4px";let X="3px";w||(X=J.shouldShow3Dot?"1px":"6px");const ee=(0,i.useCallback)((()=>{setTimeout((()=>{var e,s,n,i,l,r,o;if(null==L?void 0:L.current)if(T)V("unset"),(null!==(l=null===(i=H.current)||void 0===i?void 0:i.scrollHeight)&&void 0!==l?l:0)>(null!==(o=null===(r=H.current)||void 0===r?void 0:r.clientHeight)&&void 0!==o?o:0)&&Y(!0);else{const i=null!==(e=L.current.scrollHeight)&&void 0!==e?e:0,l=null!==(s=L.current.clientHeight)&&void 0!==s?s:0,r=null!==(n=L.current.offsetHeight)&&void 0!==n?n:0;Y(!1);const o=i-l>15||i>=f*t+15||r>=f*t+15;I(o),o&&V(t*f+2+"px")}}),0)}),[T,f,t]),te=(0,i.useCallback)((e=>{z&&C&&(e.stopPropagation(),e.preventDefault(),C())}),[z,C]),se=(0,i.useCallback)((e=>{(0,r.Gu)(e),N((e=>e===t?j:t)),z||U((e=>!e)),p&&p(T)}),[p,T,t,j,z]);return(0,i.useEffect)((()=>(L.current&&o.P.bind(L.current,ee),()=>{L.current&&o.P.remove(L.current,ee)})),[ee]),(0,i.useEffect)((()=>{ee()}),[D,ee]),(0,i.useEffect)((()=>{U(!1),N(t),I(!1),ee()}),[c]),(0,i.useEffect)((()=>{(0,r.nr)()||P(!0)}),[]),(0,n.jsxs)(h,{paddingBottom:Z,children:[(0,n.jsxs)(u,Object.assign({isUnfold:T,ref:L,lineClamp:R,lineHeight:f,marginTop:q,style:{maxHeight:W}},J,{shouldDesOnlyShow2Lines:!w,children:[(0,n.jsx)(b,{btnShow:M,lineHeight:f,isMobileUiOptimize:E,moreBtnBottom:X,children:x&&!T&&(0,n.jsx)(v,{style:k,type:"button",onClick:se,children:F})}),s>0?(0,n.jsx)(g,{lineClamp:t,ref:H,isUnfold:T,maxHeight:$,isMobileUiOptimize:E,className:T&&E&&G?d.dj:"",onClick:te,children:e}):e]})),T&&(0,n.jsx)(m,{style:k,type:"button",onClick:se,isRightSide:w&&E||S,shouldAdjustLeftBtn:!w,bottomBtnLeftOffset:Q,children:F})]})}))},86152:(e,t,s)=>{"use strict";s.d(t,{SV:()=>a});var n=s(4408),i=s.n(n),l=s(64821),r=s.n(l);i().extend(r());const o={az:"az",ar:"ar",ca:"ca",da:"da",et:"et","en-GB":"en-gb","es-419":"es","fr-CA":"fr-ca",ga:"ga",hr:"hr",is:"is",sw:"sw",lv:"lv",lt:"lt",nb:"nb",uz:"uz",pt:"pt",sq:"sq",sk:"sk",sl:"sl",bg:"bg",kk:"kk","bn-IN":"bn","ceb-PH":"en","cs-CZ":"cs","de-DE":"de","el-GR":"el",en:"en",es:"es","fi-FI":"fi","fil-PH":"en",fr:"fr","he-IL":"he","hi-IN":"hi","hu-HU":"hu","id-ID":"id","it-IT":"it","ja-JP":"ja","jv-ID":"jv","km-KH":"km","ko-KR":"ko","ms-MY":"ms","my-MM":"my","nl-NL":"nl","pl-PL":"pl","pt-BR":"pt-br","ro-RO":"ro","ru-RU":"ru","sv-SE":"sv","th-TH":"th","tr-TR":"tr","uk-UA":"uk",ur:"ur","vi-VN":"vi","zh-Hans":"zh","zh-Hant-TW":"zh-tw"};function a(e,t,s="MM-DD-YYYY HH:mm"){var n,l;const r=null!==(l=null!==(n=o[t])&&void 0!==n?n:t.split("-")[0])&&void 0!==l?l:"en";return i().unix(e).locale(r).format(s)}},76776:(e,t,s)=>{var n={"./af.js":[99439,8481],"./am.js":[47866,8481],"./ar-dz.js":[1710,8481],"./ar-iq.js":[52630,8481],"./ar-kw.js":[50846,8481],"./ar-ly.js":[67523,8481],"./ar-ma.js":[73386,8481],"./ar-sa.js":[53280,8481],"./ar-tn.js":[3906,8481],"./ar.js":[50427,8481],"./az.js":[65619,8481],"./be.js":[71845,8481],"./bg.js":[81219,8481],"./bi.js":[39697,8481],"./bm.js":[17261,8481],"./bn-bd.js":[1191,8481],"./bn.js":[92676,8481],"./bo.js":[57771,8481],"./br.js":[10272,8481],"./bs.js":[16343,8481],"./ca.js":[57024,8481],"./cs.js":[28077,8481],"./cv.js":[2245,8481],"./cy.js":[6808,8481],"./da.js":[17059,8481],"./de-at.js":[2021,8481],"./de-ch.js":[83643,8481],"./de.js":[66567,8481],"./dv.js":[93258,8481],"./el.js":[22146,8481],"./en-au.js":[92314,8481],"./en-ca.js":[21864,8481],"./en-gb.js":[10181,8481],"./en-ie.js":[29090,8481],"./en-il.js":[64745,8481],"./en-in.js":[21255,8481],"./en-nz.js":[62540,8481],"./en-sg.js":[19502,8481],"./en-tt.js":[53400,8481],"./en.js":[1171,8481],"./eo.js":[12300,8481],"./es-do.js":[14092,8481],"./es-mx.js":[59532,8481],"./es-pr.js":[68747,8481],"./es-us.js":[83397,8481],"./es.js":[91064,8481],"./et.js":[6797,8481],"./eu.js":[57486,8481],"./fa.js":[78989,8481],"./fi.js":[67749,8481],"./fo.js":[65364,8481],"./fr-ca.js":[54405,8481],"./fr-ch.js":[39118,8481],"./fr.js":[36404,8481],"./fy.js":[88853,8481],"./ga.js":[66804,8481],"./gd.js":[91039,8481],"./gl.js":[85175,8481],"./gom-latn.js":[98141,8481],"./gu.js":[68536,8481],"./he.js":[10339,8481],"./hi.js":[46831,8481],"./hr.js":[44010,8481],"./ht.js":[81612,8481],"./hu.js":[47699,8481],"./hy-am.js":[96742,8481],"./id.js":[87193,8481],"./is.js":[59100,8481],"./it-ch.js":[94274,8481],"./it.js":[99049,8481],"./ja.js":[14481,8481],"./jv.js":[64244,8481],"./ka.js":[35848,8481],"./kk.js":[95850,8481],"./km.js":[91436,8481],"./kn.js":[98133,8481],"./ko.js":[79894,8481],"./ku.js":[80580,8481],"./ky.js":[28112,8481],"./lb.js":[90478,8481],"./lo.js":[50153,8481],"./lt.js":[24392,8481],"./lv.js":[35858,8481],"./me.js":[82470,8481],"./mi.js":[77922,8481],"./mk.js":[31480,8481],"./ml.js":[63565,8481],"./mn.js":[43736,8481],"./mr.js":[57687,8481],"./ms-my.js":[68571,8481],"./ms.js":[16384,8481],"./mt.js":[56533,8481],"./my.js":[47186,8481],"./nb.js":[99468,8481],"./ne.js":[81081,8481],"./nl-be.js":[93078,8481],"./nl.js":[77586,8481],"./nn.js":[67176,8481],"./oc-lnc.js":[59924,8481],"./pa-in.js":[14123,8481],"./pl.js":[27324,8481],"./pt-br.js":[57573,8481],"./pt.js":[51751,8481],"./rn.js":[28308,8481],"./ro.js":[14984,8481],"./ru.js":[76005,8481],"./rw.js":[27907,8481],"./sd.js":[48272,8481],"./se.js":[20956,8481],"./si.js":[26968,8481],"./sk.js":[99586,8481],"./sl.js":[43019,8481],"./sq.js":[38048,8481],"./sr-cyrl.js":[51160,8481],"./sr.js":[49049,8481],"./ss.js":[36266,8481],"./sv-fi.js":[62703,8481],"./sv.js":[54901,8481],"./sw.js":[20310,8481],"./ta.js":[86707,8481],"./te.js":[83575,8481],"./tet.js":[11691,8481],"./tg.js":[79449,8481],"./th.js":[98164,8481],"./tk.js":[41962,8481],"./tl-ph.js":[24773,8481],"./tlh.js":[97250,8481],"./tr.js":[85062,8481],"./tzl.js":[48456,8481],"./tzm-latn.js":[64201,8481],"./tzm.js":[83071,8481],"./ug-cn.js":[6760,8481],"./uk.js":[4368,8481],"./ur.js":[46175,8481],"./uz-latn.js":[1473,8481],"./uz.js":[21079,8481],"./vi.js":[21141,8481],"./x-pseudo.js":[54181,8481],"./yo.js":[39736,8481],"./zh-cn.js":[2821,8481],"./zh-hk.js":[48158,8481],"./zh-tw.js":[81126,8481],"./zh.js":[19082,8481]};function i(e){if(!s.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],i=t[0];return s.e(t[1]).then((()=>s.t(i,23)))}i.keys=()=>Object.keys(n),i.id=76776,e.exports=i}}]);