"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9506],{5545:(e,t,o)=>{o.d(t,{P:()=>d});var n=o(35626),i=o.n(n);const a="object"==typeof HTMLElement?function(e){return e instanceof HTMLElement}:function(e){return e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName},r=[],l=[];let s;function c(e,t){var o;let n;const{defaultView:i}=e.ownerDocument;let a=t;return(null==i?void 0:i.getComputedStyle)?(a=t.replace(/([A-Z])/g,"-$1").toLowerCase(),i.getComputedStyle(e,null).getPropertyValue(a)):e.currentStyle?(a=t.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()})),n=null===(o=e.currentStyle)||void 0===o?void 0:o[a],n):""}const d={bind:function(e,t){if(a(e))if("undefined"!=typeof ResizeObserver){const o=new ResizeObserver(t);o.observe(e),l.push({el:e,observer:o})}else{const o={el:e,callback:t,style:{width:c(e,"width"),height:c(e,"height")}};r.push(o),s||(s&&clearInterval(s),s=setInterval((function(){var e;for(const t of r){const o=t.el,n={width:c(o,"width"),height:c(o,"height")};i()(n,t.style)||(t.style={width:n.width,height:n.height},null===(e=t.callback)||void 0===e||e.call(t))}}),200))}},remove:function(e,t){if("undefined"==typeof ResizeObserver){for(let o=0;o{o.d(t,{$:()=>j});var n,i,a=o(24643),r=o(40099),l=o(93608);!function(e){e.None="0",e.Manual="1",e.Auto="2"}(n||(n={})),function(e){e.WebFyp="web_fyp",e.BrowserMode="browser",e.VideoDetail="video_detail",e.WebMobileFyp="web_mobile_fyp",e.MiniPlayer="mini_player"}(i||(i={}));var s=o(25616),c=o(88920),d=o(33805),p=o(62186),u=o(72153);const h=(0,p.default)("a",{target:"evbdqjo0"})({textWrap:"nowrap",textDecoration:"none",":hover":{textDecoration:"none"}},"label:AigcLink;"),g=(0,p.default)("p",{target:"evbdqjo1"})((({theme:e,theme:{colors:t}})=>[(0,u.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3",color:"ConstTextInverse"}),{display:"inline-block",alignSelf:"flex-start",marginTop:"-4px",marginBottom:"8px",fontSize:"12px",fontWeight:500},{padding:"1px 3px",background:t.ConstBGMat,borderRadius:"2px",fontWeight:600,textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]),"label:AigcTagMobile;"),m=(0,p.default)("p",{target:"evbdqjo2"})((({theme:e})=>[(0,u.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3",color:"ConstTextInverse"}),{color:"#FFF",display:"inline-block",alignSelf:"flex-start",fontSize:"10px",fontWeight:500,padding:"1.5px 4px",background:"rgba(255, 255, 255, 0.34)",borderRadius:"4px",textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]),"label:AigcTagMiniPlayer;");var f=o(48615),x=o(49057),b=o(75282);const _=0,v=1,y=2,k={[v]:{teaLabelType:"1",i18nKey:"syntheticMedia_feed_bottomBanner_AIGCLabel"},[y]:{teaLabelType:"2",i18nKey:"AIGC_FYP_descSection_label"},[_]:{teaLabelType:"0",i18nKey:""}},j=(0,r.memo)((function({item:e,playMode:t,isMiniPlayer:o=!1}){var n,i,p;const u=(0,s.s)(),_=Number(null!==(n=e.aigcLabelType)&&void 0!==n?n:0),v=k[_].i18nKey,y=k[_].teaLabelType,j=(0,c.q)(),w=0!==_&&j,{language:T="",region:C=""}=null!==(i=(0,x.W)((()=>["language","region"]),[]))&&void 0!==i?i:{},{isMobile:P}=null!==(p=(0,f.U)((()=>["isMobile"]),[]))&&void 0!==p?p:{},M=(0,r.useMemo)((()=>P?"web_mobile_fyp":o?"mini_player":2===t?"browser":4===t?"video_detail":"web_fyp"),[t,P]),I=(0,r.useMemo)((()=>({aigc_label_type:y,enter_from:M,country_code:C})),[M,y,C]),L=(0,d.sN)(M,T),S=(0,r.useCallback)((()=>{var e;e=I,l.f.sendEvent("click_creator_label_aigc",e)}),[I]),O=(0,r.useCallback)((e=>P?(0,a.jsx)(g,{children:e}):o?(0,a.jsxs)(m,{children:[" ",e]}):(0,a.jsx)(b.ZN,{shouldOptProfile:!0,playMode:t,isTag:!0,children:e})),[P,o,t]);return(0,r.useEffect)((()=>{var e;w&&(e=I,l.f.sendEvent("view_creator_label_aigc",e))}),[w,I]),w?(0,a.jsx)(h,{target:"_blank",href:L,onClick:S,children:O(u(v))}):null}))},67960:(e,t,o)=>{o.d(t,{gF:()=>fe});var n=o(24643),i=o(40099),a=o(88091),r=o(3089),l=o(46682),s=o(47172),c=o(51004),d=o(48961),p=o(50772),u=o(2584),h=o(58305),g=o(60484),m=o(33805),f=o(49057),x=o(58632),b=o(64162),_=o(4126),v=o(93995),y=o(24451),k=o(46657),j=o(23999),w=o(62564),T=o(26324),C=o(35572),P=o(20259),M=o(76435),I=o(82535),L=o(7672),S=o(55099);let O=class{constructor(e){this.fetch=e}getPoiDetail(e){return this.fetch.get("/api/poi/detail/",{query:e,baseUrlType:2})}};O=(0,x.__decorate)([(0,L._)(),(0,x.__metadata)("design:paramtypes",[S.p])],O);let E=class extends b.E{constructor(e){super(),this.service=e,this.defaultState={poi:{}}}setPoiInfo(e,t){t&&(e.poi[t.id]=t)}getPoiInfo(e){return e.pipe((0,y.E)(this.state$),(0,C.p)((([{poiId:e="",language:t,teaParams:o,callback:n},{poi:i}])=>i[e]?(o&&(I.q.handleEnterPoi(Object.assign(Object.assign({},o),i[e])),null==n||n()),k.w):this.service.getPoiDetail({poiId:e,language:t}).pipe((0,P.W)((()=>(0,j.of)({statusCode:-1}))),(0,w.T)((e=>{var t,i;const{statusCode:a,poiInfo:r}=e;return 0===a?(o&&(I.q.handleEnterPoi(Object.assign(Object.assign({},o),null!==(t=null==r?void 0:r.poi)&&void 0!==t?t:{id:"",name:""})),null==n||n()),this.getActions().setPoiInfo(null===(i=null==e?void 0:e.poiInfo)||void 0===i?void 0:i.poi)):this.noop()})),(0,M.Q)(this.dispose$)))))}};(0,x.__decorate)([(0,_.uk)(),(0,x.__metadata)("design:type",T.c)],E.prototype,"dispose$",void 0),(0,x.__decorate)([(0,_.h5)(),(0,x.__metadata)("design:type",Function),(0,x.__metadata)("design:paramtypes",[Object,Object]),(0,x.__metadata)("design:returntype",void 0)],E.prototype,"setPoiInfo",null),(0,x.__decorate)([(0,_.Mj)(),(0,x.__metadata)("design:type",Function),(0,x.__metadata)("design:paramtypes",[T.c]),(0,x.__metadata)("design:returntype",void 0)],E.prototype,"getPoiInfo",null),E=(0,x.__decorate)([(0,v.n)("PoisModule"),(0,x.__metadata)("design:paramtypes",[O])],E);var W=o(75282),D=o(62186),R=o(67963);const A=(0,D.default)(R.N_,{target:"e65hkrg0"})({display:"inline-flex",alignItems:"center",textDecoration:"none",":hover":{textDecoration:"none"},minWidth:0},"label:StyledLink;"),B=function({info:e,playMode:t,teaParams:o,target:a="_self",videoId:r="",onLinkClick:x,isInTooltip:b,noWrapper:_}){const{id:v,name:y,fatherPoiName:k}=(0,g.L$)(e),{language:j}=(0,g.L$)((0,f.W)((()=>["language"]),[])),w=(0,l.w)(E),T=(0,s.useHistory)(),C=(0,m.Am)(v,y),P=Boolean(e),M=(0,i.useMemo)((()=>0===t?"one_column":4===t?"video_detail":"browser_mode"),[t]),I=(0,i.useMemo)((()=>({enter_method:M,anchor_id:v,anchor_name:y,author_id:o.author_id})),[v,y,M,o]);(0,i.useEffect)((()=>{P&&d.Gt.handlePoiAnchorShow(I),p.c.showSection("poi_anchor",{group_id:r})}),[P,r]);const L=(0,i.useCallback)((e=>{(0,h.Gu)(e),d.Gt.handlePoiAnchorClick(I),u.O.handleGeneralClick("poi_anchor",{group_id:r}),null==x||x(e,C,"poi"),w.getPoiInfo({poiId:v,language:j,teaParams:Object.assign(Object.assign({},o),{enter_method:"click_caption",play_mode:M}),callback(){"_blank"===a?window.open(C,"_blank"):T.push(C)}})}),[I,w,M,T,v,j,C,o,a,x,r]),S=(0,n.jsxs)(A,{rel:"opener",replace:2===t,target:a,to:C,onClick:L,children:[(0,n.jsx)(c.n,{size:14}),(0,n.jsxs)(W.nt,{isInTooltip:b,children:[y,k&&` · ${k}`]})]});return _?S:(0,n.jsx)(W.ZN,{"data-e2e":"poi-anchor",playMode:t,isInTooltip:b,noWrapper:_,shouldOptProfile:!0,children:S})};var F,U=o(93608);!function(e){e.OneColumn="one_column",e.BrowserMode="browser_mode",e.VideoDetail="video_detail",e.VideoAnchor="video_anchor",e.CommentAnchor="comment_anchor",e.ClickCaption="click_caption"}(F||(F={}));const z=(0,D.default)("img",{target:"e1t3ukaq1"})({width:"14px",height:"14px",objectFit:"cover"},"label:ImgLogo;"),N=(0,D.default)("a",{target:"e1t3ukaq2"})({display:"inline-flex",alignItems:"center",textDecoration:"none",":hover":{textDecoration:"none"}},"label:ACapCutLink;"),G=function({noWrapper:e,info:t,playMode:o,teaParams:a,isInTooltip:r}){var l;const{schema:s,icon:c,keyword:d,logExtra:p}=(0,g.L$)(null==t?void 0:t[0]),u=(0,g.L$)(null===(l=null==c?void 0:c.urlList)||void 0===l?void 0:l[0]),h=Boolean(null==t?void 0:t[0]),m=(0,i.useMemo)((()=>0===o?"one_column":4===o?"video_detail":"browser_mode"),[o]),f=(0,i.useMemo)((()=>{let e={};try{e=p&&JSON.parse(p)}catch(e){console.error(e)}return Object.assign(Object.assign(Object.assign({},a||{}),{enter_from:m}),e||{})}),[m,p,a]);(0,i.useEffect)((()=>{var e;h&&(e=f,U.f.sendEvent("multi_anchor_entrance_show",e))}),[h]);const x=(0,i.useCallback)((()=>{var e;e=f,U.f.sendEvent("multi_anchor_entrance_click",e)}),[f]),b=(0,i.useMemo)((()=>(0,n.jsxs)(N,{target:"_blank",href:s,onClick:x,children:[(0,n.jsx)(z,{alt:d,src:u}),(0,n.jsx)(W.nt,{isInTooltip:r,children:d})]})),[x,r,d,u,o,s]);return e?b:(0,n.jsx)(W.ZN,{"data-e2e":"capcut-anchor",isInTooltip:r,noWrapper:e,shouldOptProfile:!0,children:b})};var q=o(38401),V=o(45515),$=o(25616);const Z=(0,i.memo)((function({item:e,playMode:t}){const o=(0,$.s)(),{ad_info:i}=e,{tag_text:a,raw_ad_data:r}=null!=i?i:{},l=(()=>{if(r)try{const e=JSON.parse(r),{is_ad4ad:t,ad4ad:o}=e;if(t)return null==o?void 0:o.promotion_label}catch(e){console.error("[pc-ttam-ads-tag], Error parsing raw_ad_data:",e)}return null!=a?a:"Tag Text Placeholder"})();return(0,n.jsx)(W.ZN,{shouldOptProfile:!0,playMode:t,isTag:!0,children:o(l)})}));var H=o(67518),K=o(92846),J=o(57431),Q=o(76403),Y=o(60342),X=o(97706),ee=o(85041),te=o(5352);const oe=(0,i.memo)((function(e){const{playMode:t,handleClickRepost:o}=e,a=(0,$.s)(),[r,l]=(0,i.useState)(!1),s=(0,i.useCallback)((e=>(0,x.__awaiter)(this,void 0,void 0,(function*(){e.preventDefault(),e.stopPropagation(),r?yield o():l(!0)}))),[r,o]);return(0,n.jsx)(Q.Q7,{"data-e2e":"remove-repost-btn",playMode:t,active:r,shouldOptProfile:!0,onClick:s,style:{fontSize:"13px"},isRemoveButton:!0,children:a(r?"pcWeb_removeRepost_btn":"pcWeb_reposted_toast")})}));var ne=o(10332),ie=o(88920);const ae=(0,i.memo)((function({item:e,playMode:t,placement:o="bottom",onLinkClick:a}){const{colors:r}=(0,H.u)(),{user:l}=(0,J.x)(),{active:s,handleMouseEnter:c,handleMouseLeave:d}=(0,Y.K)(100),p=(0,i.useMemo)((()=>({page_name:U.f.commonParams.page_name,group_id:e.id,play_mode:null==t?void 0:t.toString()})),[e,t]);(0,i.useEffect)((()=>{s&&U.f.sendEvent("hover_repost_label",p)}),[s,p]);const u=(0,i.useMemo)((()=>({isColor:!1,isStrong:!0,size:12,showTick:!1})),[]),{repostActionVid:h}=(0,ie.hn)(),g=(0,ne.g)({itemId:e.id,iconConfig:u}),{handleClickRepost:m,canRepost:f,isReposted:x}=(0,ne.l)({itemId:e.id,playMode:t});if(!e.repostList||0===e.repostList.length)return null;const b="v4"===h&&f,_=b&&!x,v=b&&x,y=(0,n.jsxs)(Q.Q7,{"data-e2e":"repost-tag",playMode:t,active:s,onMouseEnter:c,onMouseLeave:d,shouldOptProfile:!0,children:[(0,n.jsx)(te.W,{item:e,onClick:c}),(0,n.jsx)(X.z,{backgroundColor:r.BGSecondary,placement:o,active:s,arrowMargin:10,style:{zIndex:100,minWidth:"80px",maxWidth:"200px",marginLeft:2===t?"20px":0},children:(0,n.jsx)(Q.Dp,{"data-e2e":"repost-user-list",children:e.repostList.map(((e,o)=>(0,n.jsx)(Q.ld,{children:(0,n.jsxs)(ee.E,{target:"_self",rel:"opener",onLinkClick:a,uniqueId:e.uniqueId,secUid:e.secUid,teaParams:Object.assign(Object.assign({},p),{to_user_id:e.id,enter_method:"repost"}),children:[(0,n.jsx)(K.e,{src:e.avatarThumb,size:14}),(0,n.jsx)(Q.Tz,{children:e.nickname}),v&&(null==l?void 0:l.secUid)===e.secUid&&(0,n.jsx)(oe,{playMode:t,handleClickRepost:m})]})},o)))})})]}),k=_?(0,n.jsx)(Q.Q7,{"data-e2e":"repost-action-tag",onClick:m,playMode:t,shouldOptProfile:!0,children:(0,n.jsx)(Q.IW,{children:g})}):null;return(0,n.jsxs)(n.Fragment,{children:[y,k]})}));var re=o(39430),le=o(48615);const se=[{id:"0",type:54,keyword:"CapCut | Edit like a pro",icon:{uri:"tiktok-obj/capcut_logo_64px_bk.png",urlList:["https://p16-sg.tiktokcdn.com/obj/tiktok-obj/capcut_logo_64px_bk.png"]},schema:"https://www.capcut.com/editor?scenario=tiktok&utm_campaign=70361230&utm_medium=tiktok_anchor&utm_source=tiktok_anchor_tool",logExtra:'{"anchor_id":0,"anchor_name":"CapCut | Edit like a pro","anchor_type":"TT_CAPCUT","capability_key":"effect;effect_13090155,effect_13566886,effect_15452450,effect_15608083,effect_7033800","template_id":"none","tutorial_id":"none","video_source":0,"video_type_id":1}',description:"CapCut · Video Editor",thumbnail:{uri:"tiktok-obj/64x_Capcut3x.png",urlList:["https://p16-sg.tiktokcdn.com/obj/tiktok-obj/64x_Capcut3x.png"],width:64,height:64},extraInfo:{subtype:""}}];var ce=o(97086),de=o(89744);const pe=(0,D.default)("img",{target:"e1fqbw141"})({width:"14px",height:"14px",objectFit:"cover"},"label:ImgLogo;"),ue=(0,D.default)("a",{target:"e1fqbw142"})({display:"flex",alignItems:"center",justifyContent:"flex-start",textDecoration:"none",width:"100%",":hover":{textDecoration:"none"}},"label:AEhEffectLink;"),he=o.p+"3e32775581ab07c1e660.png",ge=function({noWrapper:e,info:t,playMode:o,teaParams:a={},isInTooltip:r}){const l=Boolean(t),{id:s="",keyword:c="",description:d}=(0,g.L$)(t),p=(0,i.useMemo)((()=>{switch(!0){case 0===o:return"one_column";case 4===o:return"video_detail";default:return"browser_mode"}}),[o]),[u,h]=(0,i.useState)(Object.assign({anchor_name:c,anchor_id:s,anchor_type:"28",page_name:"",effect_id:s,enter_from:p},a));(0,i.useEffect)((()=>{if(!(0,ce.fU)()){const e=window.location.pathname;u.page_name=(0,m.oN)(e),h(u),l&&de.Y.handleEhEffectAnchorShow(u)}}),[l]);const f=(0,i.useCallback)((()=>{de.Y.handleEhEffectAnchorClick(u)}),[u]),x=(0,i.useMemo)((()=>{let e=(0,m.rE)(c,s);return(0,n.jsxs)(ue,{target:"_blank",href:e,onClick:f,children:[(0,n.jsx)(pe,{alt:d,src:he}),(0,n.jsx)(W.nt,{isInTooltip:r,children:c})]})}),[f,r,c,s,o]);return e?x:(0,n.jsx)(W.ZN,{isInTooltip:r,noWrapper:e,shouldOptProfile:!0,style:{width:"100%"},children:x})};var me;!function(e){e.Poi="poi",e.Capcut="capcut",e.Effect="effect"}(me||(me={}));const fe=function({target:e,item:t,playMode:o,capcapAnchorTeaParams:l,poiTeaParams:s,onLinkClick:c,noSubOnlyTag:d,noPaidPartnerTag:p,popoverAlignment:u="bottom",pageType:h}){const{poi:m,capcutAnchorsOriginal:f,ad_info:x,effectAnchors:b=[],id:_}=(0,g.L$)(t),v=Boolean(m),y=!!x,{isDesktopUiOptDebugOn:k}=(0,ie.kb)(),{isBot:j}=(0,g.L$)((0,le.U)((()=>["isBot"]),[])),{effectAnchors:w}=(0,ie.Jl)(b,h),T=j?b:w,{isRepostLabelEnabled:C}=(0,ie.hn)();let P=f;k&&(P=se);const M=Boolean(null==P?void 0:P[0]),I=(0,i.useCallback)(((t,i)=>v?(0,n.jsx)(B,{onLinkClick:c,target:e,videoId:_,info:m,playMode:o,teaParams:s,isInTooltip:t,noWrapper:i}):null),[v,o,m,c,s,e]),L=(0,i.useCallback)(((e,t)=>M?(0,n.jsx)(G,{info:P,playMode:o,teaParams:l,isInTooltip:e,noWrapper:t}):null),[l,P,M,o]),S=(0,i.useCallback)(((e,t,i)=>e?(0,n.jsx)(ge,{info:e,playMode:o,isInTooltip:t,noWrapper:i}):null),[o]),O=[...T.map((e=>e?me.Effect:null)),!(0,ce.fU)()&&v&&me.Poi,!(0,ce.fU)()&&M&&me.Capcut].filter(Boolean),E=O.length,D=0===E,[R,A,F]=(0,i.useMemo)((()=>{let e,t;switch(O[0]){case me.Effect:e=S(T[0],!1,!0);break;case me.Poi:e=I(!1,!0);break;case me.Capcut:e=L(!1,!0);break;default:e=null}const o=O.length>1;return o&&(t=(0,n.jsx)("div",{children:O.map(((e,t)=>{const o=[0===t?null:(0,n.jsx)(a.zm,{color:"LineSecondary"},"line")];let i;switch(e){case me.Effect:i=(0,n.jsx)(W.OT,{children:S(T[t],!0)},"item");break;case me.Poi:i=(0,n.jsx)(W.OT,{children:I(!0)},"item");break;case me.Capcut:i=(0,n.jsx)(W.OT,{children:L(!0)},"item");break;default:i=null}return o.push(i),o}))})),[e,t,o]}),[O,L,I,S,T]),U=p?null:(0,n.jsx)(q.P,{target:e,item:t,playMode:o}),z=d?null:(0,n.jsx)(V.a,{item:t,playMode:o}),N=y?(0,n.jsx)(Z,{item:t,playMode:o}):null,$=C?(0,n.jsx)(ae,{item:t,playMode:o,placement:"top"===u?"topLeft":"bottom",onLinkClick:c}):null,H=p||!y?(0,n.jsx)(re.$,{item:t,playMode:o}):null;return(0,n.jsxs)(W.mz,{children:[$,D?null:(0,n.jsx)(a.N0,{content:A,disabled:!F,position:"top"===u?"Top":"Bottom",background:"BGPrimary",children:(0,n.jsxs)(W.ZN,{playMode:o,shouldOptProfile:!0,children:[R,F&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(W.M8,{}),(0,n.jsxs)(W.VD,{children:[E,(0,n.jsx)(r.A,{})]})]})]})}),z,U,N,H]})}},75282:(e,t,o)=>{o.d(t,{M8:()=>d,OT:()=>c,VD:()=>p,ZN:()=>h,mz:()=>s,nt:()=>u});var n=o(62186),i=o(72153);const a={0:"4px",2:"8px",4:"12px"},r={0:"0px",2:"-2px",4:"-6px"},l={0:"2px",2:"8px",4:"8px"},s=(0,n.default)("div",{target:"e1sksq2r0"})({display:"flex",columnGap:"6px",rowGap:"2px",flexWrap:"wrap",marginLeft:"-2px"},"label:DivAnchorTagWrapper;"),c=(0,n.default)("div",{target:"e1sksq2r1"})((({theme:{colors:e}})=>({height:"41px",display:"flex",alignItems:"center",":hover":{background:e.BGView}})),"label:DivToolTipWrapper;"),d=(0,n.default)("span",{target:"e1sksq2r2"})((({theme:{colors:e}})=>({borderLeft:"0.5px solid green",height:"12px",marginLeft:"4px",marginRight:"4px",alignSelf:"center",borderColor:e.LineSecondary})),"label:SpanDivider;"),p=(0,n.default)("span",{target:"e1sksq2r3"})({width:"19px",display:"flex",alignItems:"center"},"label:SpanNum;"),u=(0,n.default)("p",{target:"e1sksq2r4"})((({isInTooltip:e,theme:{direction:t}})=>[{fontSize:"13px",fontWeight:400,"&:hover":{textDecoration:"underline"}},i.PR,e&&{fontSize:"14px",whiteSpace:"normal"},(0,i.mp)({direction:t,marginStart:"8px"})]),"label:PAnchorTagName;"),h=(0,n.default)("div",{target:"e1sksq2r5"})((({isTag:e,isInTooltip:t,shouldOptProfile:o,playMode:n=0,theme:{colors:i}})=>[{height:"24px",marginTop:a[n],marginBottom:r[n],minWidth:0},o&&[{height:"22px",padding:"1px 6px 1px 4px",background:t?"":i.BGView,display:"inline-flex",borderRadius:"4px",alignItems:"center",color:i.TextPrimary,marginTop:l[n]},t&&{marginTop:0,marginBottom:0},e&&{color:i.TextTertiaryAlt}]]),"label:DivAnchorTag;")},38401:(e,t,o)=>{o.d(t,{P:()=>b});var n=o(24643),i=o(40099),a=o(47172),r=o(45956),l=o(82535),s=o(25616),c=o(72688),d=o(49057),p=o(34131),u=o(67963),h=o(48615),g=o(75282),m=o(62186),f=o(72153);const x=(0,m.default)("p",{target:"ejymp3n0"})((({theme:e,theme:{colors:t},isMobile:o,isMiniPlayer:n})=>o?[(0,f.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3"}),{display:"inline-block",alignSelf:"flex-start",marginTop:"-4px",marginBottom:"8px",fontSize:"15px",fontWeight:400},{padding:"1px 5px",background:"rgba(255, 255, 255, 0.34)",borderRadius:"2px",fontWeight:600,textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]:n?[(0,f.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3"}),{color:"#FFF",display:"inline-block",alignSelf:"flex-start",fontSize:"10px",fontWeight:500,padding:"1.5px 4px",background:"rgba(255, 255, 255, 0.34)",borderRadius:"4px",textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]:[(0,f.zy)({theme:e,fontFamily:"TikTokFont",typography:"P2"}),{display:"inline-block",alignSelf:"flex-start",marginTop:"8px",marginBottom:"unset",fontSize:"16px",padding:"1px 4px",background:t.BGPlaceholderDefault,borderRadius:"2px",color:t.TextTertiaryAlt,fontWeight:600}]),"label:PPaidPartnership;"),b=(0,i.memo)((function({item:e,style:t,target:o="_self",isSharing:m=!1,playMode:f,isMiniPlayer:b=!1}){var _,v,y;const k=(0,s.s)(),{region:j=""}=null!==(_=(0,d.W)((()=>["region"]),[]))&&void 0!==_?_:{},{id:w,authorId:T,BAInfo:C,adLabelVersion:P,brandOrganicType:M=0,isECVideo:I}=e,L=C&&!m,S=2===P,O=Number(M)>0,{isMobile:E}=null!==(v=(0,h.U)((()=>["isMobile"]),[]))&&void 0!==v?v:{},W=(0,i.useCallback)((()=>{r.P.handleClickPartnershipTag({group_id:null!=w?w:"",author_id:null!=T?T:"",partnership_tag:null!=C?C:""}),l.q.handleEnterUser({to_user_name:null!=C?C:"",enter_method:"click_partnership_tag"})}),[w,T,C]),D=!E&&!b,R=(0,a.useLocation)(),A=(0,p.FR)({to:{pathname:(0,c.fJR)({uniqueId:null!==(y=null==e?void 0:e.BAInfo)&&void 0!==y?y:""})},location:R}),B=(0,i.useMemo)((()=>{if(S&&I){if("US"===j)return"bc_disclosure_tag_ecommerce_us";if("GB"===j)return"bc_disclosure_tag_ecommerce_uk"}return S?"bc_new_disclosure":"tcm_closedLoop_commercialContent_brandOrganic_videoTag"}),[S,I,j]),F=(0,i.useCallback)((e=>D?(0,n.jsx)(g.ZN,{shouldOptProfile:D,playMode:f,isTag:!0,children:e}):(0,n.jsx)(x,{isMobile:E,isMiniPlayer:b,style:t,children:e})),[E,b,f,D,t]);if(S&&I&&"US"!==j&&"GB"!==j)return null;if(S&&L){const e=`${k(B)} @${C}`;return(0,n.jsx)(u.N_,{target:o,rel:"opener",to:A,onClick:W,style:{textDecoration:"none",color:"inherit"},children:F(e)})}return S&&!L||O?F(k(B)):null}))},45515:(e,t,o)=>{o.d(t,{a:()=>u});var n=o(24643),i=o(40099),a=o(96110),r=o(25616),l=o(88920),s=o(75282),c=o(62186),d=o(72153);const p=(0,c.default)("span",{target:"e13ee5sf1"})((({theme:{direction:e}})=>[(0,d.mp)({direction:e,marginStart:"4px"})]),"label:SpanText;"),u=(0,i.memo)((function({item:e,playMode:t}){const o=(0,r.s)(),{isDesktopUiOptDebugOn:i}=(0,l.kb)();if(!(null==e?void 0:e.subVideoMeta)&&!i)return null;const c=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.P,{}),(0,n.jsx)(p,{children:o("subVideo_viewing_lable")})]});return(0,n.jsx)(s.ZN,{playMode:t,isTag:!0,shouldOptProfile:!0,children:c})}))},10332:(e,t,o)=>{o.d(t,{g:()=>u,l:()=>h});var n=o(24643),i=o(40099),a=o(57431),r=o(91257),l=o(2584),s=o(60072),c=o(32125),d=o(55913),p=o(96689);function u({itemId:e,iconConfig:t}){const{user:o}=(0,a.x)(),[{isReposted:r}]=(0,s.l8)((t=>{const n=t[e];return(null==n?void 0:n.repostList)&&o?{isReposted:n.repostList.some((e=>e.secUid===o.secUid))}:{isReposted:!1}}),c.bN);return(0,i.useMemo)((()=>(0,n.jsx)(d.j,Object.assign({},t,{showTick:r&&t.showTick}))),[t,r])}function h(e){const{itemId:t,playMode:o,playlistId:n}=e,{user:d}=(0,a.x)(),[{isReposted:u,canRepost:h},{postRepostVideo:g}]=(0,s.l8)((e=>{var o,n;const i=e[t],a=void 0!==i&&(null===(n=null===(o=i.item_control)||void 0===o?void 0:o.can_repost)||void 0===n||n);return(null==i?void 0:i.repostList)&&d?{isReposted:i.repostList.some((e=>e.secUid===d.secUid)),canRepost:a}:{isReposted:!1,canRepost:a}}),c.bN),m=function(e){return"string"==typeof e}(o)?o:r.Jr[o],f=(0,i.useCallback)((()=>g({id:t,playMode:m,playlistId:n})),[g,t,m,n]),x=(0,p.G)({actionWhenUserLoggedIn:f,modalConfig:{query:{enter_method:"click_repost",group_id:t}},reportClickEvent:()=>{l.O.handleGeneralClick("repost",{group_id:t,play_mode:m})}});return{handleClickRepost:(0,i.useCallback)((e=>{e&&(e.preventDefault(),e.stopPropagation()),x()}),[x]),canRepost:h,isReposted:u}}},5352:(e,t,o)=>{o.d(t,{W:()=>c});var n=o(24643),i=o(40099),a=o(25616),r=o(57431),l=o(92846),s=o(76403);const c=(0,i.memo)((function({item:e,onClick:t}){var o,c,d;const p=(0,a.s)(),{user:u}=(0,r.x)(),h=(null!==(o=e.repostList)&&void 0!==o?o:[]).slice(0,3),g=(0,i.useMemo)((()=>{var t,o,n,i;return 1===h.length?h[0].secUid===(null==u?void 0:u.secUid)?p("pcWeb_youReposted_label"):p("pcWeb_nickReposted_label",{s_nickname:h[0].nickname}):p("pcWeb_nickReposted_label",{s_nickname:null!==(i=null!==(o=null===(t=e.statsV2)||void 0===t?void 0:t.repostCount)&&void 0!==o?o:null===(n=e.repostList)||void 0===n?void 0:n.length)&&void 0!==i?i:"0"})}),[p,h,null==u?void 0:u.secUid,null===(c=e.statsV2)||void 0===c?void 0:c.repostCount,null===(d=e.repostList)||void 0===d?void 0:d.length]);return(0,n.jsxs)(s.IW,{onClick:t,children:[(0,n.jsx)(s.Uj,{children:h.map((e=>(0,n.jsx)(l.e,{src:e.avatarThumb,size:14,style:{lineHeight:"14px"}},e.id)))}),(0,n.jsx)(s.vl,{children:g})]})}))},76403:(e,t,o)=>{o.d(t,{Dp:()=>l,IW:()=>d,Q7:()=>r,Tz:()=>c,Uj:()=>p,ld:()=>s,vl:()=>u});var n=o(62186),i=o(72153),a=o(75282);const r=(0,n.default)(a.ZN,{target:"exw6gkr0"})((({theme:{colors:e},active:t,isRemoveButton:o})=>[{position:"relative",background:t?e.BGInput:e.BGView,":hover":{background:e.BGInput}},o?{marginTop:0,marginBottom:0}:{}]),"label:DivRepostTagContainer;"),l=(0,n.default)("ul",{target:"exw6gkr1"})((({theme:e})=>(0,i.zy)({theme:e,typography:"P2",fontWeight:"semiBold",fontFamily:"TikTokFont"})),{borderRadius:"8px",listStyle:"none",margin:"0",padding:"0",whiteSpace:"nowrap",minWidth:"200px"},"label:UlPopupContainer;"),s=(0,n.default)("li",{target:"exw6gkr2"})((({theme:{colors:e}})=>({position:"relative",padding:"0",":not(:first-of-type)::before":{content:'""',position:"absolute",left:"16px",top:0,width:"calc(100% - 32px)",height:"1px",background:e.ConstLineInverse2,transform:"scaleY(0.5)"},":hover":{background:e.BGView},"& > a":{display:"flex",padding:"10px 16px",height:"100%",width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",textDecoration:"none",alignItems:"center",gap:"4px","&:hover":{textDecoration:"none"}}})),"label:LiPopupItem;"),c=(0,n.default)("span",{target:"exw6gkr3"})((({theme:{direction:e}})=>Object.assign(Object.assign({},(0,i.mp)({direction:e,paddingStart:"4px"})),{fontSize:"14px",lineHeight:"22px",fontWeight:"400",flex:1,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",textDecoration:"none"})),"label:SpanPopupItemText;"),d=(0,n.default)("a",{target:"exw6gkr4"})((({theme:{direction:e}})=>[(0,i.mp)({direction:e,marginStart:0}),{display:"flex",alignItems:"center",direction:e,minWidth:0,textDecoration:"none",":hover":{textDecoration:"none"}}]),"label:DivRepostLabelContainer;"),p=(0,n.default)("span",{target:"exw6gkr5"})((({theme:{direction:e,colors:t}})=>[(0,i.mp)({direction:e,marginStart:0}),{display:"inline-flex",direction:e,position:"relative",height:"100%;",padding:0,"& > *":{height:"calc(100% - 8px)",width:"auto",borderRadius:"50%",outline:`.4px solid ${t.BGView}`,outlineOffset:"-.4px",objectFit:"cover","&:not(:first-child)":Object.assign(Object.assign({},(0,i.mp)({direction:e,marginStart:"-5px"})),{mask:"ltr"===e?"radial-gradient(circle 7.5px at -1px 50%,transparent 99%,#fff 50%)":"radial-gradient(circle 7.5px at 14px 50%,transparent 99%,#fff 50%)","&:before":Object.assign(Object.assign({content:'""'},(0,i.mp)({direction:e,start:"-8.2px"})),{position:"absolute",background:t.LineSecondary,display:"inline-block",borderRadius:"50%",height:"15px",width:"15px",top:"-.5px"})})}}]),"label:SpanAvatarsContainer;"),u=(0,n.default)("span",{target:"exw6gkr6"})((({theme:{direction:e}})=>[(0,i.mp)({direction:e,marginStart:"4px"}),{fontSize:"14px",lineHeight:"19.5px"}]),"label:SpanRepostText;")},89744:(e,t,o)=>{o.d(t,{Y:()=>a});var n,i=o(93608);!function(e){e.OneColumn="one_column",e.BrowserMode="browser_mode",e.VideoDetail="video_detail"}(n||(n={}));const a={handleEhEffectAnchorShow:e=>{i.f.sendEvent("multi_anchor_entrance_show",e)},handleEhEffectAnchorClick:e=>{i.f.sendEvent("multi_anchor_entrance_click",e)}}},45956:(e,t,o)=>{o.d(t,{P:()=>i});var n=o(93608);const i={handleClickPartnershipTag:e=>{n.f.sendEvent("click_partnership_tag",e)}}}}]);