"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4144],{35656:(e,t,o)=>{o.d(t,{B:()=>d});var a=o(58632),l=o(24643),r=o(4474),i=o(40099),n=o(72688),s=o(31355);const d=(0,i.forwardRef)((function(e,t){var{uniqueId:o,secUid:d,extraQuery:c={},children:p,replace:u=!1,isInBrowserMode:m=!1,teaParams:g,stopPropagation:x=!0,onClick:h,onLinkClick:b}=e,f=(0,a.__rest)(e,["uniqueId","secUid","extraQuery","children","replace","isInBrowserMode","teaParams","stopPropagation","onClick","onLinkClick"]);const k=(0,i.useMemo)((()=>({pathname:(0,n.G2o)({uniqueId:o,secUid:d}),search:c})),[c,d,o]),_=(0,i.useRef)(null),y=(0,i.useCallback)((e=>{e.preventDefault(),window.open((0,r.stringifyUrl)({url:(0,n.G2o)({uniqueId:o,secUid:d}),query:c}),"tiktok_live_view_window")}),[o,d,c]),v=(0,i.useCallback)((e=>{y(e),x&&e.stopPropagation(),null==h||h(e),null==b||b(e,k.pathname)}),[y,x,h,b,k.pathname]),C=(0,i.useCallback)((e=>{var t;13===e.keyCode&&(e.preventDefault(),e.stopPropagation(),null===(t=_.current)||void 0===t||t.click())}),[]);return(0,i.useImperativeHandle)(t,(()=>({linkClick:()=>{var e;null===(e=_.current)||void 0===e||e.click()}}))),(0,l.jsx)(s.N_,Object.assign({to:k},f,{replace:u||m,ref:_,target:"tiktok_live_view_window",onClick:v,onKeyDown:C,children:p}))}))},44061:(e,t,o)=>{o.d(t,{C:()=>r});var a=o(40099),l=o(34012);const r=()=>{const e=(0,a.useRef)(null),[t,o]=(0,a.useState)(!1),r=(0,l.Ig)();return{showing:t&&!r,handleItemEnter:(0,a.useCallback)((()=>{e.current=setTimeout((()=>{e.current&&o(!0)}),1e3)}),[]),handleItemLeave:(0,a.useCallback)((()=>{e.current&&(clearTimeout(e.current),e.current=null),e.current=setTimeout((()=>{e.current&&o(!1)}),1e3)}),[]),handleCardEnter:(0,a.useCallback)((()=>{e.current&&(clearTimeout(e.current),e.current=null),o(!0)}),[]),handleCardLeave:(0,a.useCallback)((()=>{e.current=setTimeout((()=>{o(!1)}),500)}),[])}}},46251:(e,t,o)=>{o.d(t,{t:()=>U});var a=o(24643),l=o(40099),r=o(41183),i=o(50289),n=o(92846),s=o(97397),d=o(72688),c=o(58305),p=o(25616),u=o(22248),m=o(40772),g=o(60484),x=o(49057),h=o(81211),b=o(40935),f=o(96689),k=o(35810),_=o(62186),y=o(72153),v=o(85041);const C=(0,_.default)("div",{target:"er095111"})((({paddingStart:e=0,theme:{direction:t}})=>[{zIndex:100,position:"absolute"},(0,y.mp)({direction:t,paddingStart:e})]),"label:DivProfileOuterContainer;"),T=(0,_.default)("div",{target:"er095112"})((({theme:{colors:e,isDark:t}})=>({position:"relative",width:"320px",boxSizing:"border-box",padding:"20px",background:e.BGSecondary,boxShadow:t?"unset":`0px 4px 16px ${e.ShadowPrimary}`,borderRadius:"8px"})),"label:DivProfileContainer;"),w=(0,_.default)("div",{target:"er095113"})({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},"label:DivHeadContainer;"),S=(0,_.default)(v.E,{target:"er095114"})((({theme:e})=>(0,y.zy)({theme:e,color:"TextPrimary",fontWeight:"bold",fontFamily:"TikTokDisplayFont",typography:"H5"})),y.AB,"label:StyledUserTitle;"),j=(0,_.default)(v.E,{target:"er095115"})((({theme:e})=>(0,y.zy)({theme:e,color:"TextPrimary",fontWeight:"semiBold",fontFamily:"TikTokFont",typography:"P3"})),y.AB,"label:StyledUserName;"),D=(0,_.default)(v.E,{target:"er095116"})({display:"block",width:"44px",flex:"0 0 44px"},"label:StyledAvatarLink;"),z=(0,_.default)("p",{target:"er095117"})({marginTop:"8px"},"label:PUserStat;"),P=(0,_.default)("span",{target:"er095118"})((({theme:e})=>[(0,y.zy)({theme:e,fontWeight:"bold",typography:"H3"}),(0,y.mp)({direction:e.direction,marginEnd:"6px"}),{fontSize:"17px",lineHeight:"20px",display:"inline-block"}]),"label:SpanUserStatsText;"),F=(0,_.default)("span",{target:"er095119"})((({theme:e})=>[(0,y.zy)({theme:e,color:"TextSecondary",typography:"H3"}),{fontSize:"17px",lineHeight:"20px",display:"inline-block",":not(:last-of-type)":(0,y.mp)({direction:e.direction,marginEnd:"12px"})}]),"label:SpanUserStatsDesc;"),I=(0,_.default)("p",{target:"er0951110"})((({theme:e})=>[(0,y.zy)({theme:e,typography:"P3"}),{paddingTop:"16px",marginTop:"16px",borderTop:`1px solid ${e.colors.LineSecondary2}`}]),"label:PSignature;");var L=o(32125),M=o(84908);const U=(0,l.memo)((function(e){var t,o;const{uniqueId:_,top:y,target:v="_blank",hideSignature:U,fixedLeft:B,paddingStart:E,paddingTop:H,groupId:W,followTheme:A,teaParams:R,onClick:q}=e,O=(0,p.s)(),[N,G]=(0,M.JY)((e=>({user:e.users[_],stats:e.stats[_]})),L.bN),{isADVirtual:$}=null!==(t=null==N?void 0:N.user)&&void 0!==t?t:{},{language:J}=null!==(o=(0,x.W)((()=>["language"]),[]))&&void 0!==o?o:{},K=(0,f.G)({modalConfig:{query:{enter_method:"click_follow",group_id:W}}}),Q=Object.assign({enter_method:"click_hover"},R);W&&(Q.group_id=W);const{isFollowing:V,handleFollow:Y,text:X}=(0,b.Tu)({uniqueId:_,onNeedLogin:K,teaParams:Q}),{secUid:Z,id:ee}=(0,g.L$)(N.user);(0,l.useEffect)((()=>{N.stats&&!N.stats.needFix||G.getUserDetail({uniqueId:_,secUid:Z,language:J})}),[G,N.stats,J,Z,_]),(0,l.useEffect)((()=>{r.c.handleDropdownCardShow()}),[]);const te=(0,l.useMemo)((()=>({to_user_id:ee,author_id:ee,enter_method:"click_dropdown_card"})),[ee]),oe=(0,h.U)({pathname:(0,d.fJR)({uniqueId:_,secUid:Z})}),ae=(0,m.w)(),le=(0,l.useCallback)((e=>{(0,c.Gu)(e),null==q||q(e),$||("_blank"===v?window.open(oe,"_blank"):ae(e,{href:oe,shouldUsePush:!0}))}),[ae,oe,q,$,v]);if(!N.user)return(0,u.d)(["item.user"]);const{avatarThumb:re,nickname:ie,verified:ne,signature:se,stateControlledMedia:de}=N.user,{stats:ce}=N;return W&&(te.group_id=W),(0,a.jsx)(C,{paddingStart:E,paddingTop:H,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,style:{top:(null!=y?y:0)+40,left:B},children:(0,a.jsxs)(T,{children:[(0,a.jsxs)(w,{children:[(0,a.jsx)(D,{uniqueId:_,secUid:Z,target:v,rel:"opener",teaParams:te,"data-e2e":"user-card-avatar",onClick:le,children:(0,a.jsx)(n.e,{size:44,src:re})}),(0,a.jsx)(s.y,{size:"small",onClick:Y,buttonTheme:V?"default":null!=A?A:"line","data-e2e":"user-card-follow",children:X})]}),(0,a.jsxs)(S,{uniqueId:_,secUid:Z,target:v,rel:"opener",teaParams:te,children:[(0,a.jsx)("span",{"data-e2e":"user-card-username",children:_}),ne&&(0,a.jsx)(i.s,{width:14,height:14,"data-e2e":"user-card-bluev"})]}),(0,a.jsx)("br",{}),(0,a.jsx)(j,{uniqueId:_,secUid:Z,target:v,rel:"opener",teaParams:te,"data-e2e":"user-card-nickname",children:ie}),(0,a.jsx)(k.w,{stateControlledMedia:de,labelType:2}),(0,a.jsxs)(z,{children:[(0,a.jsx)(P,{"data-e2e":"user-card-follower-count",children:ce?(0,g.D1)(ce.followerCount):"--"}),(0,a.jsx)(F,{"data-e2e":"user-card-follower",children:O("Followers")}),(0,a.jsx)(P,{"data-e2e":"user-card-like-count",children:ce?(0,g.D1)(Number(ce.heart)||ce.heartCount):"--"}),(0,a.jsx)(F,{"data-e2e":"user-card-like",children:O("Likes")})]}),se&&!U&&(0,a.jsx)(I,{"data-e2e":"user-card-user-bio",children:se})]})})}))},35810:(e,t,o)=>{o.d(t,{w:()=>E});var a,l=o(24643),r=o(40099),i=o(41664),n=o(58757),s=o(93608);!function(e){e.SCMPageView="scm_page_view",e.SCMTagClick="scm_tag_click",e.SCMDescriptionPop="scm_description_pop",e.SCMLearnMoreClick="scm_learn_more_click",e.SCMQuit="scm_quit"}(a||(a={}));var d,c=o(62186),p=o(72153);!function(e){e[e.User=0]="User",e[e.Caption=1]="Caption",e[e.ToolTip=2]="ToolTip"}(d||(d={}));const u=(0,c.default)("div",{target:"e2imevf0"})((({labelType:e,theme:{colors:t}})=>[{display:"flex",width:"fit-content",borderRadius:"2px",alignItems:"center"},1===e?{backgroundColor:t.ConstBGInverse3,padding:"0 5px"}:0===e?{cursor:"pointer",backgroundColor:t.BGInput,padding:"1px 4px"}:{cursor:"pointer",flexDirection:"row-reverse"}]),"label:DivSCMLabel;"),m=(0,c.default)("div",{target:"e2imevf1"})((({labelType:e,theme:t})=>[(0,p.zy)({theme:t,fontFamily:"TikTokFont",fontWeight:2===e?"normal":"semiBold"}),1===e?{fontSize:"13px",lineHeight:"22px",color:t.colors.ConstTextInverse,marginLeft:"4px"}:0===e?{fontSize:"12px",lineHeight:"18px",color:t.colors.TextPrimary,marginLeft:"4px"}:{fontSize:"14px",lineHeight:"22px",color:t.colors.TextTertiary,marginRight:"4px"}]),"label:DivSCMText;");var g=o(47172),x=o(25616),h=o(60484),b=o(53764),f=o(95481),k=o(49057),_=o(48615),y=o(34131),v=o(31355);const C=(0,c.default)("div",{target:"es1egko0"})({padding:"24px 20px 6px",width:"310px",borderRadius:"8px",textAlign:"center",wordBreak:"break-word",display:"flex",flexDirection:"column",alignItems:"center"},"label:DivMobileWrapper;"),T=(0,c.default)("div",{target:"es1egko1"})((({theme:e})=>({padding:"32px",width:"400px",borderRadius:"8px",textAlign:"center",wordBreak:"break-word",display:"flex",flexDirection:"column",alignItems:"center",color:e.colors.TextPrimary})),"label:DivDesktopWrapper;"),w=(0,c.default)("div",{target:"es1egko4"})((({theme:e})=>[{textAlign:"center",fontSize:"20px",lineHeight:"24px",margin:"16px 0 12px"},(0,p.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"bold",color:"TextPrimary"})]),"label:DivMobileTitle;"),S=(0,c.default)("div",{target:"es1egko5"})((({theme:e})=>[{textAlign:"center",fontSize:"24px",lineHeight:"36px",margin:"16px 0"},(0,p.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"bold",color:"TextPrimary"})]),"label:DivDesktopTitle;"),j=(0,c.default)("div",{target:"es1egko6"})((({theme:e})=>[{textAlign:"center",fontSize:"15px",lineHeight:"18px"},(0,p.zy)({theme:e,fontFamily:"TikTokFont",color:"TextSecondary"})]),"label:DivMobileContent;"),D=(0,c.default)("div",{target:"es1egko7"})((({theme:e})=>[{textAlign:"center",fontSize:"16px",lineHeight:"22px"},(0,p.zy)({theme:e,fontFamily:"TikTokFont",color:"TextSecondary"})]),"label:DivDesktopContent;"),z=(0,c.default)("div",{target:"es1egko8"})({display:"flex",marginTop:"16px"},"label:DivDesktopBtnWrapper;"),P={width:"100%",height:"44px",fontSize:"15px",lineHeight:"44px",textDecoration:"none"},F={width:"164px",height:"48px",fontSize:"16px",lineHeight:"48px",borderRadius:"4px"},I=(0,c.default)(v.N_,{target:"es1egko9"})((({theme:e})=>[(0,p.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"semiBold"}),Object.assign(Object.assign({},P),{margin:"22px 0 2px",borderRadius:"2px",color:`${e.colors.ConstTextInverse} !important`,backgroundColor:e.colors.Primary,display:"block"})]),"label:StyledMobileLink;"),L=(0,c.default)(v.N_,{target:"es1egko10"})((({theme:e})=>[(0,p.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"bold"}),Object.assign(Object.assign({},F),{backgroundColor:e.colors.Primary,color:`${e.colors.ConstTextInverse} !important`,display:"block"})]),"label:StyledDesktopLink;"),M=(0,c.default)("div",{target:"es1egko11"})((({theme:e})=>[(0,p.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"normal"}),Object.assign(Object.assign({},P),{backgroundColor:e.colors.BGTertiary,color:e.colors.TextReverse2})]),"label:DivMobileDismiss;"),U=(0,c.default)("div",{target:"es1egko12"})((({theme:e})=>[(0,p.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"bold"}),Object.assign(Object.assign({},F),{backgroundColor:e.colors.BGSecondary2,marginRight:"8px",color:e.colors.TextPrimary,border:`1px solid ${e.colors.LineSecondary2}`,cursor:"pointer"})]),"label:DivDesktopDismiss;"),B=(0,r.memo)((({visible:e,pathname:t,newWindow:o=!1,isWebapp:a=!1,onClose:i,onJump:d})=>{const{language:c,user:p,region:u}=(0,h.L$)((0,k.W)((()=>["language","user","region"]),[])),{isMobile:m}=(0,h.L$)((0,_.U)((()=>["isMobile"]),[])),v=(0,x.s)(),P=(0,g.useLocation)(),F=(0,y.F)({location:P,to:{pathname:t,search:{lang:c,user_id:null==p?void 0:p.uid,is_user_log_in:p?1:0,country_code:u}}}),B=(0,b.M)();return(0,r.useEffect)((()=>{a&&e&&s.f.event("scm_description_pop")}),[a,e]),m?(0,l.jsx)(f.aF,{visible:e,maskCloseable:!0,onClose:i,children:(0,l.jsxs)(C,{children:[(0,l.jsx)(n.o,{size:48,center:!0}),(0,l.jsx)(w,{children:v("scm_label_and_appeal_modal_title")}),(0,l.jsx)(j,{children:v("scm_label_and_appeal_modal_desc")}),(0,l.jsx)(I,{target:o?"_blank":void 0,forceSSR:!0,to:F,onClick:d,children:v("scm_label_and_appeal_modal_button_learn_more")}),(0,l.jsx)(M,{onClick:i,children:v("scm_label_and_appeal_modal_button_dismiss")})]})}):(0,l.jsx)(f.aF,{parentRef:B,visible:e,maskCloseable:!0,onClose:i,children:(0,l.jsxs)(T,{children:[(0,l.jsx)(n.o,{size:64,center:!0}),(0,l.jsx)(S,{children:v("scm_label_and_appeal_modal_title")}),(0,l.jsx)(D,{children:v("scm_label_and_appeal_modal_desc")}),(0,l.jsxs)(z,{children:[(0,l.jsx)(U,{onClick:i,children:v("scm_label_and_appeal_modal_button_dismiss")}),(0,l.jsx)(L,{target:o?"_blank":void 0,forceSSR:!0,to:F,onClick:d,children:v("scm_label_and_appeal_modal_button_learn_more")})]})]})})})),E=(0,r.memo)((({stateControlledMedia:e,isUserPage:t,labelType:o,style:a={}})=>{const[d,c]=(0,r.useState)(!1),p=(0,r.useCallback)((()=>{c(!1),s.f.event("scm_quit")}),[]),g=(0,r.useCallback)((()=>{c(!0),s.f.event("scm_tag_click")}),[]),x=(0,r.useCallback)((()=>{s.f.event("scm_learn_more_click")}),[]);return(0,r.useEffect)((()=>{e&&t&&s.f.event("scm_page_view")}),[t,Boolean(e)]),e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(u,{style:a,labelType:o,onClick:g,children:[2===o?(0,l.jsx)(i.N,{size:12}):(0,l.jsx)(n.o,{size:14}),(0,l.jsx)(m,{labelType:o,children:null==e?void 0:e.text})]}),(0,l.jsx)(B,{pathname:null==e?void 0:e.url,visible:d,onClose:p,isWebapp:!0,onJump:x})]}):null}))},41183:(e,t,o)=>{o.d(t,{c:()=>l});var a=o(93608);const l={handleDropdownCardShow:()=>{a.f.sendEvent("dropdown_card_show")}}}}]);