(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[358],{70294:(e,t,s)=>{"use strict";s.d(t,{_:()=>L});var n=s(24643),r=s(40099),i=s(25616),o=s(78662),a=s(49057),l=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;"),p=(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;"),m=(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;"),_=(0,d.default)("div",{target:"e1xbbn5s5"})({display:"flex",alignItems:"center"},"label:DivMultiEvents;"),b=(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;"),f=(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;"),y=(0,d.default)("div",{target:"e1xbbn5s9"})({cursor:"pointer"},"label:DivEventLink;"),k=(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,z=s(88091),I=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:I.f.commonParams.page_name,anchor_type:"live_event"}),E=e=>{I.f.event("livesdk_live_event_card_show",Object.assign(Object.assign({},e),C()))};var D=s(47172),S=s(4474);const M="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:O}=s[0],B=(0,i.s)(),{pathname:H}=(0,D.useLocation)(),T=(0,r.useMemo)((()=>"video"===(0,o.sn)(H)?"landing_page":(0,o.sn)(H)),[H]),{language:A}=null!==(t=(0,a.W)((()=>["language","user"]),[]))&&void 0!==t?t:{},P=null!=A?A:"en",R=M?(0,l.SV)(Number(L),P,"MMM D, h:mm A"):(0,n.jsx)(z.sO,{width:130}),W=`/live/event/${h}`,[U,N]=(0,r.useState)(!1),V=(0,r.useRef)(!0),q=(0,r.useCallback)((({visible:e})=>{var t;setTimeout((()=>N(e))),e&&(t={live_event_id:h,author_id:O||""},I.f.event("livesdk_live_event_card_more_click",Object.assign(Object.assign({},t),C())),V.current&&s.length&&(s.forEach(((e,t)=>{E({live_event_id:e.eventId,author_id:e.authorId||"",impr_position:1+t})})),V.current=!1))}),[O,h,s]);(0,r.useEffect)((()=>{d&&E({live_event_id:h,author_id:O||"",impr_position:1})}),[O,d,h]),(0,r.useEffect)((()=>{var e;d||(e={live_event_id:h,author_id:O||"",group_id:w||"",video_show_mode:c?"browser_mode":T},I.f.event("multi_anchor_entrance_show",Object.assign(Object.assign({},e),C())))}),[O,d,h,w,T]);const $=(e,t,s,n="",r)=>{var i;e.stopPropagation(),d?(i={live_event_id:s,author_id:n,impr_position:1+t},I.f.event("livesdk_live_event_card_click",Object.assign(Object.assign({},i),C()))):(e=>{I.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,S.stringifyUrl)({url:r,query:{enter_from:d?"personal_live_event_card":"anchor"}}),"_blank")},F=(0,n.jsx)(x,{children:s.map(((e,t)=>{const{eventId:s,eventStartTime:r,authorId:i}=e,o=(0,l.SV)(Number(r),P,"MMM D, h:mm A"),a=`/live/event/${s}`;return(0,n.jsx)(k,{children:(0,n.jsx)(y,{onClick:e=>$(e,t,s,i,a),style:{textDecoration:"none"},children:(0,n.jsxs)(v,{children:[(0,n.jsx)(g,{}),(0,n.jsx)("span",{children:B("event_dm_share_message_card")}),"  · ",o]})})},s)}))});return(0,n.jsx)(u,{children:(0,n.jsx)(y,{onClick:e=>$(e,0,h,O,W),style:{textDecoration:"none"},children:(0,n.jsxs)(v,{children:[(0,n.jsx)(m,{}),(0,n.jsxs)(p,{children:[(0,n.jsx)("span",{children:B("event_dm_share_message_card")}),(0,n.jsx)("span",{children:" · "}),(0,n.jsx)("span",{children:R}),M&&d&&j>1&&(0,n.jsx)(z.N0,{maxWidth:1e3,background:"BGPrimary",content:F,position:"Bottom",onVisibleChange:q,children:(0,n.jsxs)(_,{children:[(0,n.jsx)(b,{children:"|"})," ",j,(0,n.jsx)(f,{style:U?{transform:"rotate(180deg)"}:{}})]})})]})]})})})}},80357:(e,t,s)=>{"use strict";s.d(t,{I:()=>w});var n=s(24643),r=s(40099),i=s(88091),o=s(62186),a=s(32545),l=s(72153),d=s(84987);const c={id:"desktop-055ad845",use:"desktop-055ad845-usage",viewBox:"0 0 180 104",content:''};function j(e){const t=(0,r.useContext)(d.X);return(0,r.useLayoutEffect)((()=>(t.add(c),()=>{t.remove("desktop-055ad845")})),[]),(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e,{children:(0,n.jsx)("use",{xlinkHref:"#desktop-055ad845"},void 0)}),void 0)}const h=(0,o.default)("div",{target:"e1fz9kua0"})((({playMode:e=0,radius:t=0,theme:{colors:s}})=>({flex:"1 0 600px",maxWidth:"100%",background:s.ConstBGInverse,position:0===e?"static":"relative",overflow:"hidden",padding:"0 80px",height:4===e?"606px":"100%",borderTopLeftRadius:`${t}px`,borderTopRightRadius:`${t}px`,borderBottomLeftRadius:4===e?"0px":`${t}px`,borderBottomRightRadius:4===e?"0px":`${t}px`})),"label:DivPlayerErrorPlaceHolder;"),u=(0,o.default)("div",{target:"e1fz9kua1"})({position:"absolute",left:0,top:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",alignContent:"center",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(18, 18, 18, 1)",borderRadius:"8px",overflow:"hidden"},"label:DivPlayerPlaceHolder;"),v=(0,o.default)("div",{target:"e1fz9kua2"})({display:"flex",flexDirection:"column",alignContent:"center",justifyContent:"center",alignItems:"center",width:"80%"},"label:DivContentContainer;"),p=(0,o.default)("p",{target:"e1fz9kua3"})((({theme:e})=>[(0,l.zy)({theme:e,typography:"P2",fontWeight:"normal"}),(0,l.mp)({direction:e.direction,end:"16px"}),{color:"rgba(255, 255, 255, .8)",marginBottom:"18px",zIndex:1,textAlign:"center"}]),"label:StyledErrorText;"),m=(0,o.default)("p",{target:"e1fz9kua4"})((({theme:e})=>[(0,l.zy)({theme:e,typography:"H5",fontWeight:"bold"}),(0,l.mp)({direction:e.direction,end:"24px"}),{color:"rgba(255, 255, 255, 1)",zIndex:1,textAlign:"center",fontSize:"24px",marginBottom:"12px"}]),"label:StyledErrorTitle;"),g=(0,o.default)(i.QK,{target:"e1fz9kua5"})((({theme:e})=>[(0,l.mp)({direction:e.direction}),{fontSize:"15px",fontWeight:"600",lineHeight:"19.5px",paddingInline:"12px",minWidth:"56px",zIndex:1,color:"white",":hover":{color:"white"}}]),"label:ButtonLearnMore;"),_=(0,o.default)(a.x,{target:"e1fz9kua6"})({position:"absolute",filter:"blur(5px)",opacity:"0.3"},"label:StyledVideoBlurBackground;"),b=(0,o.default)(j,{target:"e1fz9kua7"})({display:"block",margin:"auto",height:"100px",width:"126px",zIndex:1,fill:"white"},"label:StyledImageIcon;");var f=s(15343),x=s(91257),y=s(53924),k=s(25616);const w=(0,r.memo)((function(e){var t;const{item:s,playMode:i,children:o,radius:a=0}=e,{originCover:l=""}=null!==(t=null==s?void 0:s.video)&&void 0!==t?t:{},d=(0,r.useMemo)((()=>({cover:l,quality:"720"})),[l]),c=(0,k.s)(),{shouldShowPlayerUnsupported:j,shouldShowLearnMore:w}=(0,y.w)();return(0,r.useEffect)((()=>{(0,f.Ii)({play_mode:x.Jr[i],error_type:Number(j)})}),[]),(0,n.jsx)(h,{playMode:i,radius:a,children:(0,n.jsxs)(u,{children:[o,(0,n.jsx)(_,{video:d,objectFit:"contain"}),(0,n.jsx)(v,{children:j?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{}),(0,n.jsx)(m,{children:c("Webapp_unsupport_browser_info_title")}),(0,n.jsx)(p,{children:c("Webapp_unsupport_browser_info_content")})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{children:c("Webapp_player_error_info")}),w&&(0,n.jsx)(g,{label:c("Webapp_player_error_CTA"),type:"H7",onClick:()=>{(0,f.Mq)({play_mode:x.Jr[i]}),window.open("https://www.tiktok.com/feedback?id=7078299665837332998","_blank")}})]})})]})})}))},86152:(e,t,s)=>{"use strict";s.d(t,{SV:()=>l});var n=s(4408),r=s.n(n),i=s(64821),o=s.n(i);r().extend(o());const a={ar:"ar","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","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 l(e,t,s="MM-DD-YYYY HH:mm"){return r().unix(e).locale(a[t]).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":[71893,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":[19581,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 r(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],r=t[0];return s.e(t[1]).then((()=>s.t(r,23)))}r.keys=()=>Object.keys(n),r.id=76776,e.exports=r}}]);