/* sohutv 2025-06-16 15:35:35 */ var un=Object.defineProperty,dn=Object.defineProperties;var fn=Object.getOwnPropertyDescriptors;var kt=Object.getOwnPropertySymbols;var vn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable;var wt=(e,o,i)=>o in e?un(e,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[o]=i,tt=(e,o)=>{for(var i in o||(o={}))vn.call(o,i)&&wt(e,i,o[i]);if(kt)for(var i of kt(o))pn.call(o,i)&&wt(e,i,o[i]);return e},Ct=(e,o)=>dn(e,fn(o));var oe=(e,o,i)=>new Promise((t,l)=>{var f=n=>{try{d(i.next(n))}catch(a){l(a)}},u=n=>{try{d(i.throw(n))}catch(a){l(a)}},d=n=>n.done?t(n.value):Promise.resolve(n.value).then(f,u);d((i=i.apply(e,o)).next())});import{b as p,i as c,f as s,F as Y,g as ue,d as Z,r as h,j as F,o as xe,l as W,t as S,M as Ie,p as J,e as B,u as se,k as $e,n as V,H as _n,I as de,x as He,h as ke,T as Bt,w as X,m as G,P as mn,L as Ue,K as me,D as Le,Q as we,R as We,y as Tt,z as Pt,O as ct,q as Ft,S as Et,U as hn,G as Ht,J as be,s as Ge}from"./vendor-CDgHT6Qw.js";import{h as he,b as Ee,_ as q,a as Ne,A as gn,F as Ut,L as le,u as De,c as Nt,g as st,p as Ot,e as re,k as yn,j as Mt,q as it,s as Qt}from"./lazyload-B-cG4Yvq.js";import{u as bn,b as In,a as kn}from"./likeType-BW3h8c-D.js";import{f as ot,c as wn,g as Cn,e as zt,d as xt}from"./formatNumber-DuRMNkpQ.js";import{u as jt,r as xn}from"./emotions-CR2ZNuR9.js";import{M as An}from"./md5-B6nkZR_V.js";import{D as Sn}from"./DislogConfirm-CHxaiQMQ.js";import{W as qt,d as $n,a as At,b as Ln}from"./topic_img_small-CxZaXfCB.js";import{S as Dn}from"./font-B0HLs8Wf.js";import{H as Rt,b as Bn,j as Tn}from"./transHighlight-B8xOIUaq.js";const at="//hd.my.tv.sohu.com",Vt={query(e){return oe(this,null,function*(){return e=tt({num:10},e),Ee(`${at}/feed/api/v1/pc/user/subscribe/query`,e)})},queryFold(e){return oe(this,null,function*(){return e=tt({num:10},e),Ee(`${at}/feed/api/v1/pc/user/foldinfo/query`,e)})},setUp(e){return oe(this,null,function*(){return he(`${at}/feed/api/v1/pc/user/feed/top`,e)})}},Pn={},Fn={class:"feed-card-loading-placeholder"},En={class:"right"},Hn={class:"short-line-box"},Un={class:"long-line-box"};function Nn(e,o){return c(),p("div",Fn,[o[0]||(o[0]=s("div",{class:"left flow-animation"},null,-1)),s("div",En,[s("div",Hn,[(c(),p(Y,null,ue(2,i=>s("div",{class:"line flow-animation",key:i})),64))]),s("div",Un,[(c(),p(Y,null,ue(6,i=>s("div",{class:"line flow-animation",key:i})),64))])])])}const On=q(Pn,[["render",Nn],["__scopeId","data-v-0b566aa4"]]),Mn={class:"userinfo"},Qn={class:"info"},zn={class:"nickInfo"},jn={class:"iconinfo"},qn=["src"],Rn=["src"],Vn={class:"title"},Xn={class:"right"},Jn=Z({__name:"UserInfo",props:{info:{}},setup(e){const o=Ne(),i=e,t=h([]),l=h([]),f=()=>{const n=i.info;kao("userInfoExt",()=>{const a=sohuHD.userInfoUtil.userInfoExt(n);a.tag_icon&&t.value.push(a.tag_icon),n.isvip&&t.value.push(sohuHD.userInfoUtil.vipIcon),n.titleIds&&n.titleIds.length&&n.titleIds.forEach(v=>{l.value.push(sohuHD.userInfoUtil.topHundredPodcasterIcon[v])})})},u=F(()=>o.scene==0?!0:o.scene!=1);function d(){var n,a;if((n=i.info)!=null&&n.uid){const v=document.createElement("a");v.target="_blank",v.href=le.makeAuthorHomeUrl({uid:(a=i.info)==null?void 0:a.uid}),v.click()}}return xe(()=>oe(this,null,function*(){f()})),(n,a)=>(c(),p("div",Mn,[s("div",{class:"avatar",onClick:d},[W(gn,{info:i.info},null,8,["info"])]),s("div",Qn,[s("div",zn,[s("div",{class:"nickname",onClick:d},S(n.info.nickname),1),s("div",jn,[(c(!0),p(Y,null,ue(t.value,v=>(c(),p("img",{class:"icon-tag",src:v},null,8,qn))),256)),(c(!0),p(Y,null,ue(l.value,v=>(c(),p("img",{class:"icon-title",src:v},null,8,Rn))),256))])]),s("div",Vn,S(n.info.title)+S(n.info.gpsCaption?" 路 "+n.info.gpsCaption:""),1)]),s("div",Xn,[Ie(n.$slots,"plevel",{},()=>[u.value?(c(),J(Ut,{key:0,followStatus:i.info.followStatus,uid:i.info.uid,isFollow:i.info.isFollow,from:se(o).scene==0?1:2},null,8,["followStatus","uid","isFollow","from"])):B("",!0)],!0),Ie(n.$slots,"fixedTop",{},void 0,!0)])]))}}),Yn=q(Jn,[["__scopeId","data-v-0c4771f1"]]),Zn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='20'%20height='20.30078125'%20viewBox='0%200%2020%2020.30078125'%3e%3cg%3e%3cg%3e%3c/g%3e%3cg%3e%3cg%3e%3cg%3e%3c/g%3e%3cg%3e%3cpath%20d='M14.500673875999452,18.26941875L4.23470387599945,18.26941875C2.577853875999451,18.26941875,1.2304760364994507,16.92621875,1.2304760364994507,15.26941875L1.2304760364994507,10.37549875C1.2304760364994507,8.71863875,2.5736238759994507,7.37549875,4.230473875999451,7.37549875L5.729393875999451,7.37549875Q6.99885387599945,7.37549875,7.511673875999451,6.69475875C8.02450387599945,6.01400875,8.306283875999451,6.19513875,8.61748387599945,4.2425887499999995C9.268933875999451,0.15528874999999998,13.65357387599945,0.8867747500000001,14.500673875999452,3.23393875C14.856773875999451,4.220678749999999,14.86457387599945,4.95687875,14.737973875999451,5.55649875C14.64437387599945,5.99995875,14.477173875999451,6.36870875,14.32297387599945,6.70885875C14.28487387599945,6.79291875,14.24757387599945,6.87523875,14.21237387599945,6.95649875L16.561673875999453,6.95649875C21.045273875999452,7.37549875,18.57317387599945,16.67601875,14.500673875999452,18.26941875ZM2.6304738759994506,15.26941875L2.6304738759994506,10.37549875Q2.6304738759994506,8.77549875,4.230473875999451,8.77549875L5.00000387599945,8.77549875L5.00000387599945,16.86941875L4.23470387599945,16.86941875Q2.6304738759994506,16.86941875,2.6304738759994506,15.26941875ZM6.400003875999451,16.86941875L14.21597387599945,16.86941875Q16.507073875999453,15.80671875,17.37237387599945,11.87181875Q17.74557387599945,10.17488875,17.38267387599945,9.14004875Q17.138573875999448,8.44379875,16.48507387599945,8.35649875L12.07987387599945,8.35649875L12.927773875999451,6.39980875Q12.96767387599945,6.30779875,13.04787387599945,6.13083875Q13.61017387599945,4.89054875,13.183773875999451,3.70920875Q12.81597387599945,2.68994875,11.52347387599945,2.72482875Q10.27167387599945,2.75861875,10.000033875999451,4.46294875Q9.691233875999451,6.40041875,8.843923875999451,7.29289875Q8.698463875999451,7.44610875,8.62989387599945,7.53713875Q7.86381387599945,8.55404875,6.400003875999451,8.73589875L6.400003875999451,16.86941875Z'%20fill-rule='evenodd'%20fill='%231A1A1A'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Gn="/s/follow/image/like_up-CJTyn4FH.gif",Kn=["src"],Wn={class:"likecount"},eo={key:1,class:"icon_area gray"},to=1200,no=Z({__name:"LikeButton",props:{isSerious:{type:Boolean,default:!1},likeInfo:{}},emits:["handel-like"],setup(e,{emit:o}){const i=h(Date.now()),t=h(!1),l=F(()=>`${Gn}?t=${i.value}`),f=()=>{t.value=!0,i.value=Date.now()},u=()=>{setTimeout(()=>{t.value=!1},to)},d=De(),n=o,a=e,v=h(a.likeInfo.upCountFmt),r=h(!1);r.value=a.likeInfo.isUp==1;const g=()=>{var A;const x=Object.assign({},{vid:a.likeInfo.id,type:a.likeInfo.type,userId:(A=d.userInfo)==null?void 0:A.id});r.value?kn(x).then(O=>{var w,U;const $=(U=(w=O.data)==null?void 0:w.data[0])==null?void 0:U.upCountFmt;y($),n("handel-like",O.data.data)}):(f(),bn(x).then(O=>{var U,k;const $=(k=(U=O.data)==null?void 0:U.data[0])==null?void 0:k.upCountFmt;y($);const w=In(a.likeInfo);Nt.shangBaoClick(w.txid,{memo:w.memo,channeled:w.channeled,vid:w.vid}),n("handel-like",O.data.data)}))},y=x=>{r.value=!r.value,x>=0?v.value=x:v.value=r.value?Number(v.value)+1:Number(v.value)-1},m=h({}),b=h(null);return xe(()=>{var A;m.value.position="absolute";const x=(A=b==null?void 0:b.value)==null?void 0:A.offsetLeft;m.value.left=x?`${x}px`:"0px"}),(x,A)=>(c(),p("div",{class:"like_area",ref_key:"toolbtn",ref:b,style:$e(m.value)},[x.isSerious?(c(),p("div",eo,A[0]||(A[0]=[s("img",{src:Zn},null,-1),s("div",{style:{"margin-left":"4px"}},"鐐硅禐",-1)]))):(c(),p("div",{key:0,class:V(["icon_area",{red:r.value}]),onClick:g},[W(_n,{name:"fade"},{default:de(()=>[t.value?(c(),p("img",{src:l.value,class:"anim icon gif",onLoad:u,key:"anim"},null,40,Kn)):B("",!0)]),_:1}),t.value?B("",!0):(c(),p("div",{key:0,class:V(["static icon",r.value?"normal-2":"normal"])},null,2)),s("div",Wn,S(v.value&&v.value!=0?v.value:"鐐硅禐"),1)],2))],4))}}),oo=q(no,[["__scopeId","data-v-3e334fce"]]),so=Z({__name:"CommentTrigger",props:{feedInfo:{},isSerious:{type:Boolean,default:!1}},emits:["on-close"],setup(e,{emit:o}){const i=He("commentRef"),t=h(!0);De();const l=o,f=e,u=F(()=>{var v,r,g,y,m,b;return f.feedInfo.type!=11?ot((r=(v=f.feedInfo)==null?void 0:v.commentDigg)==null?void 0:r.commentCount):ot((b=(m=(y=(g=f.feedInfo)==null?void 0:g.content)==null?void 0:y.forward_source_info)==null?void 0:m.commentDigg)==null?void 0:b.commentCount)}),d=()=>{f.isSerious||(i.value?t.value=i.value.innerHTML!="":t.value=!t.value,t.value||wn(f.feedInfo),l("on-close",t.value))},n=h({}),a=h(null);return xe(()=>{var r;n.value.position="absolute";const v=(r=a==null?void 0:a.value)==null?void 0:r.offsetLeft;n.value.left=v?`${v}px`:"199px"}),(v,r)=>(c(),p("div",{class:V(["icon_area",v.isSerious?"gray":""]),onClick:d,ref_key:"toolbtn",ref:a,style:$e(n.value)},[r[0]||(r[0]=s("div",{class:"normal"},null,-1)),s("div",null,S(u.value&&u.value!=0&&!v.isSerious?u.value:"璇勮"),1)],6))}}),io=q(so,[["__scopeId","data-v-237fd02c"]]),ao=Z({__name:"ShareAction",props:{feedInfo:{},isSerious:{type:Boolean,default:!1}},emits:["toggleShare"],setup(e,{emit:o}){const i=De(),t=e,l=o,f=F(()=>{var a,v,r,g,y,m,b;return((a=t.feedInfo)==null?void 0:a.type)!=11?ot(((r=(v=t.feedInfo)==null?void 0:v.commentDigg)==null?void 0:r.forwardCount)||0):ot(((b=(m=(y=(g=t.feedInfo)==null?void 0:g.content)==null?void 0:y.forward_source_info)==null?void 0:m.commentDigg)==null?void 0:b.forwardCount)||0)}),u=()=>{if(!t.isSerious){if(!i.isLogin){st(()=>{window.location.reload()});return}l("toggleShare")}},d=h({}),n=h(null);return xe(()=>{var v;d.value.position="absolute";const a=(v=n==null?void 0:n.value)==null?void 0:v.offsetLeft;d.value.left=a?`${a}px`:"391px"}),(a,v)=>(c(),p("div",{class:V(["icon_area",a.isSerious?"gray":""]),onClick:u,ref_key:"toolbtn",ref:n,style:$e(d.value)},[v[0]||(v[0]=s("div",{class:"normal"},null,-1)),s("div",null,S(f.value&&f.value!=0&&!a.isSerious?"杞彂路"+f.value+"娆":"杞彂"),1)],6))}}),lo=q(ao,[["__scopeId","data-v-8d7017f4"]]),ro="/s/follow/image/video_icon_more-2-Bu8qm62g.svg",co="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAADtSURBVGiB7dexbcJgEMXxd/4ySOrIEh7BBQuwQbKJN2AEkg1CTyI2wGECs4EXMEdFishOgfjOivL/ld8V904urCcBAAAAuIVFL/SqftSQNjJVkveS3uz42UTtDz3Yn+pKD+kwkuLVvj5eIjIUEUu+pbQefXc9e7msIyLEHmyqJmeFLyIixB4sdb/M+ogAwQfbdmLQqximZncVerAdd41c7z+eO51tZe0+5AuH/5YkyctlrcIXcp2UhtbafTdHDgAAZkY9zIl6eEU9zId6mBf1UKIeAgDwb1APc6IeXlEP86Ee5kU9lKiHAAAA+JsuKJd558fejD0AAAAASUVORK5CYII=",Xt="//api.my.tv.sohu.com",Jt="//api-live-pc.hd.sohu.com",uo="//posts.tv.sohu.com";function fo(){return oe(this,null,function*(){return Ee(Xt+"/mapi/capapi/v1/report/reason")})}function vo(e){return oe(this,null,function*(){const o={type:"",target_id:"",reason:""};return he(Xt+"/mapi/capapi/v1/pc/report",Object.assign(o,e))})}function po(e){return oe(this,null,function*(){const o={uid:"",topicId:"",reason:"",reasonDesc:""};return he(uo+"/post/admin/api/outer/v1/pc/topic/report",Object.assign(o,e))})}function _o(e){return oe(this,null,function*(){const o={roomId:"",targetUid:"",type:"",reason:"",cat:0};return he(Jt+"/play/u/v1/report.do",Object.assign(o,e))})}function mo(e){return oe(this,null,function*(){const o={scheduleId:"",reasonType:"",reason:""};return he(Jt+"/schedule/v1/scheduleReport.do",Object.assign(o,e))})}const Ze={getReason:fo,report:vo,reportTuwen:po,reportLive:_o,reportLiveYugao:mo},ft={1:"瑙嗛",2:"璇勮",3:"鐐硅禐",4:"甯栧瓙",5:"褰曞睆",6:"涓х鍚",7:"鏄庢槦寮瑰箷",8:"鐩存挱",9:"鐩存挱鍥炴斁",11:"杞彂",17:"鎾崟",18:"H5",19:"鐩存挱棰勫憡",20:"灏忚棰勫憡",21:"灏忚鐩存挱",22:"灏忚鍥炴斁",23:"浣滃搧鍚堥泦",24:"鐩存挱涓撻",25:"姒滃崟",26:"鍓ч泦鍚堥泦",27:"闊抽",28:"闊抽鐩存挱",29:"闊抽鍥炴斁",30:"璇煶",31:"vrs姒滃崟",32:"涓撻"},Yt=Object.fromEntries(Object.entries(ft).map(([e,o])=>[o,Number(e)]));function ut(e){return ft[e]||"鏈煡绫诲瀷"}function ho(e){return Yt[e]}function go(e){var t;const{type:o,content:i}=e;return o===11&&((t=i==null?void 0:i.forward_source_info)!=null&&t.type)?`杞彂 ${ut(i.forward_source_info.type)}`:ut(o)}const yo={feedType:ft,reverseFeedType:Yt,getFeedTypeDescription:ut,getTypeByFeedInfo:go,getFeedTypeValue:ho},bo={key:0,class:"report-overlay","data-pb-txid":"feed_feeback"},Io={class:"report-dialog"},ko={class:"options-wrap"},wo=["title"],Co=["id","value"],xo=["for"],Ao={key:0,class:"description-box"},So={class:"report-btn"},$o=Z({__name:"Report",props:{visible:{type:Boolean},info:{}},emits:["close"],setup(e,{emit:o}){var U;const i=De(),t=e,l=h([]),f=h(""),u=h("");let d=(U=t.info)==null?void 0:U.type,n=t.info;d==11&&(n=t.info.content.forward_source_info);const a=yo.getFeedTypeDescription(n.type),v=n.userInfo.uid,r=n==null?void 0:n.sourceId,g=Ot.getUid(),y=o;function m(){y("close")}function b(){Ze.getReason().then(k=>{if(k.data.status==200){const C=k.data.data;let N=[];C.forEach(M=>{N.push({id:M.name,name:M.name})}),l.value=N}})}const x=F(()=>f.value),A=a=="鐩存挱"||a=="闊抽鐩存挱"||a=="灏忚鐩存挱",O=a=="瑙嗛"||a=="鐩存挱鍥炴斁"||a=="鎾崟"||a=="鍓ч泦鍚堥泦"||a=="浣滃搧鍚堥泦"||a=="璇煶",$=a=="鐩存挱棰勫憡"||a=="灏忚棰勫憡";O||a=="甯栧瓙"?b():A?l.value=[{id:1,name:"鑹叉儏鍐呭"},{id:2,name:"鏁忔劅淇℃伅"},{id:3,name:"鎭舵剰娆鸿瘓"},{id:4,name:"杩濇硶渚垫潈"},{id:5,name:"鍨冨溇淇℃伅"},{id:6,name:"鏆村姏琛屼负"},{id:7,name:"鏈垚骞翠笉鑹俊鎭"},{id:8,name:"绠楁硶鎺ㄨ崘"},{id:9,name:"缃戠粶鏆村姏鏈夊淇℃伅"}]:$&&(l.value=[{id:1,name:"鍐呭浣庝織"},{id:2,name:"杩濇硶杩濊"},{id:3,name:"铏氬亣娆鸿瘓"},{id:4,name:"琛鑵ユ毚鍔"},{id:5,name:"鐤戜技鎶勮"},{id:6,name:"鍨冨溇淇℃伅"},{id:7,name:"鏈垚骞翠笉鑹俊鎭"}]);const w=()=>oe(this,null,function*(){if(f.value){if(!i.isLogin){st();return}if(O){let k=1;a=="瑙嗛"||a=="鐩存挱鍥炴斁"?k=1:a=="鎾崟"?k=2:a=="浣滃搧鍚堥泦"||a=="鍓ч泦鍚堥泦"?k=3:a=="璇煶"&&(k=4);const{data:C}=yield Ze.report({type:k,target_id:r,reason:`${f.value};${u.value}`});C.status==200?re({message:"涓炬姤鎴愬姛",duration:2e3}):re({message:"涓炬姤澶辫触",duration:2e3})}else if(a=="甯栧瓙"){const{data:k}=yield Ze.reportTuwen({uid:g,topicId:r,reason:f.value,reasonDesc:f.value});k.status==200?re({message:"涓炬姤鎴愬姛",duration:2e3}):re({message:"涓炬姤澶辫触",duration:2e3})}else if(A){const{data:k}=yield Ze.reportLive({roomId:v,targetUid:v,type:f.value,reason:""});k.status==200?re({message:"涓炬姤鎴愬姛",duration:2e3}):re({message:"涓炬姤澶辫触",duration:2e3})}else if($){const k=n.content.scheduleId,{data:C}=yield Ze.reportLiveYugao({scheduleId:k,reasonType:f.value,reason:u.value});C.status==200?re({message:"涓炬姤鎴愬姛",duration:2e3}):re({message:"涓炬姤澶辫触",duration:2e3})}m()}});return(k,C)=>{const N=ke("pb");return k.visible?(c(),J(Bt,{key:0,to:"body"},[l.value.length?X((c(),p("div",bo,[s("div",Io,[s("div",{class:"dialog-header"},[C[2]||(C[2]=G(" 涓炬姤鍘熷洜 ")),s("div",{class:"close-button",onClick:m})]),s("div",ko,[(c(!0),p(Y,null,ue(l.value,M=>(c(),p("div",{title:M.name,key:M.id,class:"option-item"},[X(s("input",{type:"radio",id:"option-"+M.id,value:M.id,"onUpdate:modelValue":C[0]||(C[0]=L=>f.value=L),name:"reportReason",class:"radio-input"},null,8,Co),[[mn,f.value]]),s("label",{for:"option-"+M.id},S(M.name),9,xo)],8,wo))),128))]),se(A)?B("",!0):(c(),p("div",Ao,[X(s("textarea",{maxlength:"25",placeholder:"鎻忚堪闂鐨勮缁嗘儏鍐碉紝鏈夊姪浜庢垜浠揩閫熷府鎮ㄨВ鍐筹紙閫夊~)","onUpdate:modelValue":C[1]||(C[1]=M=>u.value=M)},null,512),[[Ue,u.value]])])),s("div",So,[X((c(),p("button",{class:V(["submit-button",{"submit-button-dis":!x.value}]),onClick:w,"data-pb-txid":"feed_feeback_submit"},C[3]||(C[3]=[G("涓炬姤")]),2)),[[N,{},void 0,{click:!0,impress:!0}]])])])])),[[N,{},void 0,{click:!0,impress:!0}]]):B("",!0)])):B("",!0)}}}),Lo=q($o,[["__scopeId","data-v-68ff0bfd"]]),Do={class:"trigger"},Bo={key:0,src:ro},To={key:1,src:co},Po={class:"dropdown-menu"},Fo=["onClick","data-pb-txid"],Eo={name:"EllipsisMenu"},Ho=Z(Ct(tt({},Eo),{props:{options:{},isSerious:{type:Boolean,default:!1},info:{}},emits:["itemClick"],setup(e,{emit:o}){const i=n=>({1:"share",2:"report",3:"delete",4:"setUp",5:"cancelUp",6:"addBodan",7:"addDrama",8:"cancel"})[n],t=o,l=h(!1),f=h(!1),u=n=>{n.name==="涓炬姤"&&(l.value=!0),t("itemClick",{id:n.id,name:n.name}),f.value=!1},d=h({});return xe(()=>{d.value.position="absolute",d.value.right="0px"}),(n,a)=>{const v=ke("pb");return c(),p(Y,null,[s("div",{class:V(["menu-container",{gray:n.isSerious}]),onMouseenter:a[0]||(a[0]=r=>!n.isSerious&&(f.value=!0)),onMouseleave:a[1]||(a[1]=r=>f.value=!1),style:$e(d.value)},[s("div",Do,[f.value?(c(),p("img",To)):(c(),p("img",Bo))]),X(s("div",Po,[(c(!0),p(Y,null,ue(n.options,r=>X((c(),p("div",{key:r==null?void 0:r.id,class:V(["menu-item",i(r==null?void 0:r.id)]),onClick:g=>u(r),"data-pb-txid":r.txid},[G(S(r==null?void 0:r.name),1)],10,Fo)),[[v,r.pbData,void 0,{click:!0,impress:!0}]])),128))],512),[[me,f.value]])],38),l.value?(c(),J(Lo,{key:0,info:n.info,visible:l.value,onClose:a[2]||(a[2]=r=>l.value=!1)},null,8,["info","visible"])):B("",!0)],64)}}})),Uo=q(Ho,[["__scopeId","data-v-7647efbc"]]),No={class:"repost-box"},Oo={class:"comment"},Mo={class:"repost-footer"},Qo={class:"emoji-wrap"},zo={class:"emoji-list scrollbar"},jo=["title","onClick","data-description"],qo=["src"],Ro={class:"counter"},Vo={class:"count-num"},Xo=["disabled"],Jo=Z({__name:"InlineRepost",props:{info:{}},emits:["close","ok","fail"],setup(e,{emit:o}){const i=De(),t=jt(),l=e,f={11:{1:{vid:{path:"content.forward_source_info.content.content_video.vid"},source_type:{path:["content.forward_source_info.content.content_video.site"],format:$=>$==1?7:1},content_form:0},4:{source_type:2},5:{source_type:1},8:{source_type:3},9:{vid:{path:"content.forward_source_info.content.content_video.vid"},source_type:3},17:{source_type:5,broadListId:{path:"content.forward_source_info.content.content_broadlist.id"}},19:{source_type:4}},1:{source_type:{path:["content.content_video.site"],format:$=>$==1?7:1},vid:{path:"content.content_video.vid"},content_form:0},4:{source_type:2},5:{source_type:1},8:{source_type:3},9:{source_type:3,vid:{path:"content.content_video.vid"},content_form:0},17:{source_type:5,broadListId:{path:"content.content_broadlist.id"}},19:{source_type:4}},u=h(null),d=F(()=>Cn(l.info)),n=F(()=>l.info.userInfo),a=F(()=>zt(l.info,f)),v=o,r=h(""),g=h(!1),y=h([]),m=h(!0);function b(){return oe(this,null,function*(){yield t.getEmotionsList(),y.value=t.emotionsList})}const x=()=>{v("close")},A=$=>{r.value.length<200&&(r.value+=$)},O=()=>oe(this,null,function*(){if(!i.isLogin){st();return}if(r.value.length>200){re({message:"鎮ㄨ緭鍏ョ殑瀛楃杩囬暱锛屼笉鑳借秴杩 200 涓瓧绗",duration:2e3});return}const $=Object.assign({self_content:r.value},d.value);if(d.value.content){let k="";n.value.nickname&&(k+="@"+n.value.nickname+":"),d.value.content&&(k+=d.value.content),k?$.content=r.value+"//"+k:$.content=r.value;const C=$.content;let N={extraInfos:[{atExtraInfos:[],extraInfoType:"AtExtraInfoType",startIndex:0}]};if($.extraInfos){var w=JSON.parse($.extraInfos);N=Object.assign({},N,w),N.extraInfos.length==0&&(N.extraInfos=[{atExtraInfos:[],extraInfoType:"AtExtraInfoType",startIndex:0}]),N.extraInfos[0].atExtraInfos=N.extraInfos[0].atExtraInfos||[],N.extraInfos[0].atExtraInfos.length>0&&(N.extraInfos[0].atExtraInfos[0].startIndex=C.lastIndexOf("@")),N.extraInfos[0].atExtraInfos.unshift({sourceUserID:String(i.userInfo.id),sourceUserPassport:Ot.getPassport(),startIndex:C.indexOf("@"),length:n.value.nickname.length+1,targetUserNickname:n.value.nickname,targetUserID:String(n.value.uid),targetUserPassport:n.value.passport}),$.extraInfos=JSON.stringify(N)}}else $.content=r.value;const{data:U}=yield xn.repost($);if(U.status==200){v("ok",{data:U,param:$}),re({message:"杞彂鎴愬姛",duration:2e3}),x();let k=a.value;k.content_type=r.value?1:0,window.channeled=="1000029150"?k.from=1:window.channeled=="1000051000"&&(k.from=2),Nt.shangBaoClick("user_forward_suc",{broadListId:k.broadListId||"",vid:k.vid||"",memo:k}),window.messagebus&&window.messagebus.publish("global.repost",{param:$,data:U,userInfo:i.userInfo})}else v("fail",{data:U,param:$})});return xe(()=>{b(),u.value&&u.value.focus()}),($,w)=>(c(),p("div",No,[w[6]||(w[6]=s("div",{class:"repost-title"},"杞彂",-1)),s("div",Oo,[s("div",{class:V(["comment-textarea",{active:m.value}])},[X(s("textarea",{class:"scrollbar",ref_key:"commentBox",ref:u,placeholder:"璇磋杞彂鐞嗙敱鍚",onFocus:w[0]||(w[0]=U=>m.value=!0),onBlur:w[1]||(w[1]=U=>m.value=!1),"onUpdate:modelValue":w[2]||(w[2]=U=>r.value=U)},null,544),[[Ue,r.value]])],2)]),s("div",Mo,[s("div",{class:V(["emoji-button",{"emoji-active":g.value}]),onClick:w[3]||(w[3]=U=>g.value=!g.value)},w[4]||(w[4]=[s("span",{class:"icon-smile"},null,-1),s("span",{class:"smile-txt"},"琛ㄦ儏",-1)]),2),X(s("div",Qo,[s("div",zo,[(c(!0),p(Y,null,ue(y.value,U=>(c(),p("a",{title:U.description,onClick:k=>A(U.description),href:"javascript:void(0);","data-description":U.description},[s("img",{class:"emoji_icon",src:U.imageName},null,8,qo)],8,jo))),256))])],512),[[me,g.value]]),s("div",Ro,[s("span",Vo,[s("em",{class:V({red:r.value.length>200})},S(r.value.length),3),w[5]||(w[5]=G("/200"))]),s("button",{class:"send-button JS_send",onClick:O,disabled:r.value.length>200},"鍙戦",8,Xo)])])]))}}),Yo=q(Jo,[["__scopeId","data-v-47e257ac"]]),Zo=[[1,"鍒嗕韩"],[2,"涓炬姤"],[3,"鍒犻櫎"],[4,"璁句负缃《"],[5,"鍙栨秷缃《"],[6,"娣诲姞鍒版挱鍗"],[7,"娣诲姞鍒颁綔鍝侀泦"],[8,"鎾ら攢"]],Go=[[1,"鍘熷垱瑙嗛鍔ㄦ"],[4,"鍘熷垱鍥炬枃鍔ㄦ"],[17,"鍘熷垱鎾崟鍔ㄦ"],[8,"鍘熷垱鐩存挱鍔ㄦ-鐩存挱涓"],[108,"鍘熷垱鐩存挱鍔ㄦ-鐩存挱缁撴潫"],[9,"鍘熷垱鐩存挱鍔ㄦ-鐩存挱鍥炴斁"],[19,"鍘熷垱鐩存挱棰勫憡鍔ㄦ-棰勫憡鏈紑鎾湭瓒呮椂"],[1019,"鍘熷垱鐩存挱棰勫憡鍔ㄦ-棰勫憡鏈紑鎾凡瓒呮椂"],[10019,"鍘熷垱鐩存挱棰勫憡鍔ㄦ-棰勫憡宸插紑鎾"],[11,"鎵鏈夎浆鍙戝姩鎬"]],Ko=[[1,"鍏虫敞娴-鑷垜瑙嗚"],[2,"鍔ㄦ佹祦-鑷垜瑙嗚"],[3,"鍏虫敞娴-浠栦汉瑙嗚"],[4,"鍔ㄦ佹祦-浠栦汉瑙嗚"],[5,"鍏虫敞娴-鍏卞垱鑰呰瑙"],[6,"鍔ㄦ佹祦-鍏卞垱鑰呰瑙"]],Wo=[{鍔ㄦ佺被鍨:"鍘熷垱鍥炬枃鍔ㄦ","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鎾崟鍔ㄦ","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鐩存挱鍔ㄦ-鐩存挱涓","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鐩存挱鍔ㄦ-鐩存挱缁撴潫","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鐩存挱鍔ㄦ-鐩存挱鍥炴斁","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","娣诲姞鍒颁綔鍝侀泦","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","娣诲姞鍒颁綔鍝侀泦","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鐩存挱棰勫憡鍔ㄦ-棰勫憡鏈紑鎾湭瓒呮椂","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","鎾ら攢"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","鎾ら攢","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鐩存挱棰勫憡鍔ㄦ-棰勫憡鏈紑鎾凡瓒呮椂","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱鐩存挱棰勫憡鍔ㄦ-棰勫憡宸插紑鎾","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]},{鍔ㄦ佺被鍨:"鍘熷垱瑙嗛鍔ㄦ","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","娣诲姞鍒颁綔鍝侀泦","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","娣诲姞鍒颁綔鍝侀泦","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","娣诲姞鍒版挱鍗","涓炬姤"],"鍏虫敞娴-鍏卞垱鑰呰瑙":["鍒嗕韩","娣诲姞鍒版挱鍗"],"鍔ㄦ佹祦-鍏卞垱鑰呰瑙":["鍒嗕韩","娣诲姞鍒版挱鍗","璁句负缃《","鍙栨秷缃《"]},{鍔ㄦ佺被鍨:"鎵鏈夎浆鍙戝姩鎬","鍏虫敞娴-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎"],"鍔ㄦ佹祦-鑷垜瑙嗚":["鍒嗕韩","鍒犻櫎","璁句负缃《","鍙栨秷缃《"],"鍏虫敞娴-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"],"鍔ㄦ佹祦-浠栦汉瑙嗚":["鍒嗕韩","涓炬姤"]}],Zt={};Go.forEach(([e,o])=>Zt[e]=o);const Gt={};Ko.forEach(([e,o])=>Gt[e]=o);const es=new Map(Zo.map(([e,o])=>[o,e]));function ts(e,o){const i=Zt[o],t=Gt[e],l=Wo.find(f=>f.鍔ㄦ佺被鍨===i);return!l||!l[t]?[]:Array.isArray(l[t])?l[t].map(f=>{const u=es.get(f);return u?{id:u,name:f}:null}).filter(f=>!!f):[]}const ns={class:"pop-up"},os={class:"header"},ss={class:"body"},is={class:"footer"},as=Z({__name:"PopUp",props:{isConfirmDisabled:{type:Boolean}},emits:["on-confirm","on-cancel","on-close"],setup(e,{emit:o}){const i=e,t=o;function l(){t("on-close")}function f(){i.isConfirmDisabled||t("on-confirm")}function u(){t("on-cancel")}return(d,n)=>(c(),p("div",ns,[s("div",os,[Ie(d.$slots,"header-txt",{},void 0,!0),s("div",{class:"close-btn",onClick:l})]),s("div",ss,[Ie(d.$slots,"body",{},void 0,!0)]),s("div",is,[s("div",{class:"btn cancel-btn",onClick:u},"鍙栨秷"),s("div",{class:V(["btn confirm-btn",{"confirm-btn--disabled":d.isConfirmDisabled}]),onClick:f}," 纭畾 ",2)])]))}}),Kt=q(as,[["__scopeId","data-v-1171bf09"]]);function ls({currKey:e,tabItemList:o,changeDisabled:i,onChange:t}){const l=F(()=>{const d=new Map;return Array.isArray(o.value)&&o.value.forEach(n=>{d.set(n.key,n)}),d});Le(e,(d,n)=>{d!==n&&(d?t(l.value.get(d)):d===""&&t(null))});function f(d){i.value||e.value===d||!l.value.has(d)||l.value.get(d).isDisabled||(e.value=d)}function u(d){i.value||e.value!==d||!l.value.has(d)||l.value.get(d).isDisabled||(e.value="")}return{select:f,unselect:u}}const rs={class:"switch-tab"},cs=["onClick","onMouseenter","onMouseleave"],us=Z({__name:"SwitchTab",props:we({tabItemList:{},changeDisabled:{type:Boolean},valueName:{}},{currKey:{required:!0},currKeyModifiers:{}}),emits:we(["on-change-value","on-change"],["update:currKey"]),setup(e,{emit:o}){const i=e,t=o,l=F(()=>i.changeDisabled),f=F(()=>i.valueName||"value"),u=F(()=>i.tabItemList||[]),d=We(e,"currKey"),{select:n}=ls({currKey:d,tabItemList:u,changeDisabled:l,onChange:a});function a(y){t("on-change",y),y?t("on-change-value",y[f.value]):t("on-change-value",null)}const v=h("");function r(y){v.value!==y&&(v.value=y)}function g(y){y===v.value&&(v.value="")}return(y,m)=>(c(),p("div",rs,[(c(!0),p(Y,null,ue(y.tabItemList,(b,x)=>(c(),p("div",{class:"switch-tab-item",key:b.key,onClick:A=>se(n)(b.key),onMouseenter:A=>r(b.key),onMouseleave:A=>g(b.key)},[Ie(y.$slots,"default",{item:b,isSelected:b.key===d.value,index:x,isHovered:v.value===b.key},void 0,!0)],40,cs))),128))]))}}),Wt=q(us,[["__scopeId","data-v-0500adba"]]),Se="//my.tv.sohu.com",nt={getBoDanList(e){const o={bid:"",userId:"",use:1,pageNum:1,pageSize:20};return Ee(`${Se}/user/a/wvideo/broadVideolist.do?${it.stringify(Object.assign(o,e))}`)},getBoDanDetail(e){const o={bid:"",userId:""};return Ee(`${Se}/user/a/wvideo/getBroadDetail.do?${it.stringify(Object.assign(o,e))}`)},videoInBroad(e){return Ee(`${Se}/user/a/wvideo/videoInBroad.do?${it.stringify(Object.assign(e))}`)},getBroadList(e){return Mt(`${Se}/user/a/wvideo/selectBroadList.do`,e)},saveBroad(e){return he(`${Se}/user/a/wvideo/saveBroad.do`,e)},addVideoToBroad(e){return he(`${Se}/user/a/wvideo/addVideoToBroad.do`,e)},deleteBroad(e){return yn(`${Se}/user/a/wvideo/deleteBroad.do`,e)},deleteVideoFromBroad(e){return he(`${Se}/user/a/wvideo/deleteVideoFromBroad.do`,e)}},ds={class:"bodan-list"},fs=["title","onClick"],vs={class:"name"},ps=["title"],_s={class:"right"},ms={class:"counter"},hs={class:"status"},gs=Z({__name:"BoDanList",props:{list:{},isAudio:{type:Boolean},newBroadListItem:{}},emits:["on-check"],setup(e,{emit:o}){const i=e,t=o,l=F(()=>i.isAudio?"闊抽":"瑙嗛"),f=F(()=>i.list||[]);function u(d){if(d.isLocalChecked)d.isLocalChecked=!1,d.videoCount--;else{if(d.isFull)return;d.isLocalChecked=!0,d.videoCount++}t("on-check")}return(d,n)=>(c(),p("div",ds,[(c(!0),p(Y,null,ue(f.value,(a,v)=>(c(),p("div",{class:V(["bodan-list-item",{"bodan-list-item--checked":a.isLocalChecked,"bodan-list-item--full":a.isFull}]),key:a.id,title:a.isFull?`璇ユ挱鍗曞凡婊★紝璇峰垹鎺変竴浜${l.value}鍐嶆潵娣诲姞`:"",onClick:r=>u(a)},[n[0]||(n[0]=s("div",{class:"check-box"},null,-1)),s("div",vs,S(a.title),1),a.hasAdded?(c(),p("div",{key:0,class:"tag",title:`褰撳墠${l.value}宸插湪璇ユ挱鍗曚腑锛屽彇娑堥夋嫨灏嗙Щ闄よ${l.value}`}," 宸插湪璇ユ挱鍗 ",8,ps)):B("",!0),s("div",_s,[s("div",ms,[G(S(a.isFull?"宸叉弧":""),1),s("span",null,S(a.videoCount),1),G("涓"+S(l.value),1)]),s("div",hs,S(["鍏紑","浠呭ソ鍙嬪彲瑙","绉佷韩"][a.plevel]),1)])],10,fs))),128))]))}}),ys=q(gs,[["__scopeId","data-v-641671e3"]]);function bs({currKey:e,keyName:o,itemList:i,changeDisabled:t,onChange:l}){const f=F(()=>{const n=new Map;return Array.isArray(i.value)&&i.value.forEach(a=>{n.set(a[o.value],a)}),n});Le(e,(n,a)=>{n!==a&&(n?l(f.value.get(n)):n===""&&l(null))});function u(n){t.value||e.value===n||!f.value.has(n)||(e.value=n)}function d(n){t.value||e.value!==n||!f.value.has(n)||(e.value="")}return{select:u,unselect:d}}const Is=["onClick"],en=Z({__name:"SingleSelector",props:we({itemList:{},keyName:{},valueName:{},unselectDisabled:{type:Boolean}},{currKey:{required:!0},currKeyModifiers:{}}),emits:we(["on-change-value","on-change","on-click-item"],["update:currKey"]),setup(e,{emit:o}){const i=e,t=o,l=F(()=>i.keyName||"key"),f=F(()=>i.valueName||"value"),u=F(()=>i.itemList||[]),d=We(e,"currKey"),{select:n,unselect:a}=bs({currKey:d,keyName:l,itemList:u,changeDisabled:h(!1),onChange:r});function v(g){if(t("on-click-item",g),d.value===g[l.value]){if(i.unselectDisabled)return;a(g[l.value])}else n(g[l.value])}function r(g){t("on-change",g),g?t("on-change-value",g[f.value]):t("on-change-value",null)}return(g,y)=>(c(!0),p(Y,null,ue(g.itemList,(m,b)=>(c(),p("div",{key:m[l.value],onClick:x=>v(m)},[Ie(g.$slots,"default",{isSelected:d.value===m[l.value],item:m,index:b})],8,Is))),128))}}),ks={class:"btn-selector"},ws=["onMouseenter","onMouseleave"],Cs=Z({__name:"BtnSelector",props:we({itemList:{},valueName:{},unselectDisabled:{type:Boolean},itemDistance:{}},{currKey:{required:!0},currKeyModifiers:{}}),emits:we(["on-change-value","on-change"],["update:currKey"]),setup(e,{emit:o}){const i=e,t=o,l=We(e,"currKey"),f=F(()=>i.valueName||"value");function u(r){t("on-change",r)}function d(r){t("on-change-value",r)}const n=h("");function a(r){n.value=r}function v(r){r===n.value&&(n.value="")}return(r,g)=>(c(),p("div",ks,[W(en,{"item-list":r.itemList,"value-name":f.value,"curr-key":l.value,"onUpdate:currKey":g[0]||(g[0]=y=>l.value=y),onOnChange:u,onOnChangeValue:d,"unselect-disabled":r.unselectDisabled},{default:de(({isSelected:y,item:m,index:b})=>[s("div",{class:V(["btn-selector-item",{"btn-selector-item--selected":y,"btn-selector-item--not-first-child":b>0}]),style:$e({"--item-distance":r.itemDistance||"12px"}),onMouseenter:x=>a(m.key),onMouseleave:x=>v(m.key)},[Ie(r.$slots,"default",{item:m,isSelected:y,index:b,isHovered:n.value===m.key},()=>[G(S(m.name),1)],!0)],46,ws)]),_:3},8,["item-list","value-name","curr-key","unselect-disabled"])]))}}),xs=q(Cs,[["__scopeId","data-v-36dfb16e"]]),As={},Ss={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none"};function $s(e,o){const i=ke("svg-sprite");return X((c(),p("svg",Ss,o[0]||(o[0]=[s("defs",null,[s("clipPath",{id:"56aede1d_svg_a"},[s("rect",{width:"12",height:"12",rx:"0"})])],-1),s("g",{"clip-path":"url(#56aede1d_svg_a)"},[s("path",{fill:"#787878","fill-rule":"evenodd",d:"M2.354 3.647 6 7.293l3.646-3.646q.07-.07.163-.109Q9.9 3.5 10 3.5q.05 0 .098.01t.093.028.087.046.076.062q.034.035.062.076t.046.087.028.093.01.098q0 .1-.038.191-.038.092-.108.163L6 8.707 1.646 4.354q-.07-.07-.108-.163Q1.5 4.1 1.5 4q0-.05.01-.098t.028-.093.046-.087.062-.076q.035-.034.076-.062t.087-.046.093-.028T2 3.5q.1 0 .191.038.092.038.163.108"})],-1)]))),[[i,"icon-list-selector-1-arrow"]])}const Ls=q(As,[["render",$s]]),Ds={class:"list-selector__show-box"},Bs={key:0,class:"list-selector__option-box"},Ts=["onMouseenter","onMouseleave"],Ps=Z({__name:"ListSelector",props:we({itemList:{},valueName:{},unselectDisabled:{type:Boolean},itemDistance:{},placeHolderTxt:{}},{currKey:{required:!0},currKeyModifiers:{}}),emits:we(["on-change-value","on-change"],["update:currKey"]),setup(e,{emit:o}){const i=e,t=o,l=We(e,"currKey"),f=F(()=>i.valueName||"value"),u=h("");function d(m){m?u.value=m.name:u.value="",t("on-change",m)}function n(m){t("on-change-value",m)}const a=h("");function v(m){a.value=m}function r(m){m===a.value&&(a.value="")}const g=h(!1);function y(){g.value=!g.value}return(m,b)=>(c(),p("div",{class:"list-selector",onClick:y},[s("div",Ds,[s("div",{class:V(["list-selector__show-text",{"list-selector__show-text--placeholder":!u.value}])},S(u.value||m.placeHolderTxt||""),3),W(Ls,{class:"list-selector__arrow"})]),g.value?(c(),p("div",Bs,[W(en,{"item-list":m.itemList,"value-name":f.value,"curr-key":l.value,"onUpdate:currKey":b[0]||(b[0]=x=>l.value=x),onOnChange:d,onOnChangeValue:n,"unselect-disabled":m.unselectDisabled},{default:de(({isSelected:x,item:A,index:O})=>[s("div",{class:V(["list-selector-item",{"list-selector-item--selected":x,"list-selector-item--not-first-child":O>0}]),onMouseenter:$=>v(A.key),onMouseleave:$=>r(A.key)},S(A.name),43,Ts)]),_:1},8,["item-list","value-name","curr-key","unselect-disabled"])])):B("",!0)]))}}),Fs=q(Ps,[["__scopeId","data-v-90059976"]]),Es={class:"form"},Hs={class:"input-box"},Us={class:"textarea-box"},Ns={class:"txt"},Os=25,Ms=50,Qs=Z({__name:"CreateVideoBoDanForm",emits:["on-ready-state-change"],setup(e,{expose:o,emit:i}){const t=h(""),l=h(""),f=i;function u(k){if(!k)return 0;var C=k.match(/[^\x00-\xff]/g);return k.length+(C?C.length:0)}function d(k,C){function N(M,L){var E=M.replace(/\*/g," ").replace(/[^\x00-\xff]/g,"**");return M=M.slice(0,E.slice(0,L).replace(/\*\*/g," ").replace(/\*/g,"").length),u(M)>L&&L>0&&(M=M.slice(0,M.length-1)),M}return u(k)>C?N(k,C):k}const n=h(0),a=h(0);function v(k){const C=t.value,N=Os*2,M=u(C),L=N-M;n.value=Math.max(0,Math.floor(L/2)),L<0&&(t.value=d(C,N))}function r(k){const C=l.value,N=Ms*2,M=u(C),L=N-M;a.value=Math.max(0,Math.floor(L/2)),L<0&&(l.value=d(C,N))}const g=h([{key:"1",name:"鍏紑",value:0},{key:"2",name:"浠呬簰鐩稿叧娉ㄧ殑濂藉弸鍙",value:1},{key:"3",name:"绉佷韩",value:2}]),y=h(g.value[0].key),m=h(g.value[0]);function b(k){m.value=k}const x=h([{key:"1",name:"妯増鎾崟",value:1},{key:"2",name:"绔栫増鎾崟",value:2}]),A=h(""),O=h(null);function $(k){O.value=k}function w(){var k,C;return{title:t.value,intro:l.value,rotationType:(k=O.value)==null?void 0:k.value,plevel:(C=m.value)==null?void 0:C.value}}const U=F(()=>!!(t.value&&m.value&&O.value));return Le(U,k=>{f("on-ready-state-change",k)},{immediate:!0}),o({getFormParam:w}),(k,C)=>(c(),p("div",Es,[C[5]||(C[5]=s("div",{class:"label label--asterisk"},"鏍囬",-1)),s("div",Hs,[X(s("input",{type:"text",placeholder:"璇疯緭鍏ユ挱鍗曟爣棰橈紝涓嶈秴杩25涓瓧","onUpdate:modelValue":C[0]||(C[0]=N=>t.value=N),onInput:v},null,544),[[Ue,t.value]]),X(s("div",{class:"input__counter"}," 杩樺彲浠ヨ緭鍏"+S(n.value)+"涓瓧 ",513),[[me,t.value.length]])]),C[6]||(C[6]=s("div",{class:"label"},"鎻忚堪",-1)),s("div",Us,[X(s("textarea",{placeholder:"浠嬬粛鎮ㄧ殑鎾崟锛屼笉瓒呰繃50涓瓧","onUpdate:modelValue":C[1]||(C[1]=N=>l.value=N),onInput:r},null,544),[[Ue,l.value]]),X(s("div",{class:"textarea__counter"}," 杩樺彲浠ヨ緭鍏"+S(a.value)+"涓瓧 ",513),[[me,l.value.length]])]),C[7]||(C[7]=s("div",{class:"label label--asterisk"},"鎾崟绫诲瀷",-1)),W(Fs,{"item-list":x.value,"curr-key":A.value,"onUpdate:currKey":C[2]||(C[2]=N=>A.value=N),onOnChange:$,"place-holder-txt":"璇烽夋嫨鎾崟绫诲瀷","unselect-disabled":""},null,8,["item-list","curr-key"]),C[8]||(C[8]=s("div",{class:"label"},"瑙傜湅鏉冮檺",-1)),W(xs,{"item-list":g.value,"curr-key":y.value,"onUpdate:currKey":C[3]||(C[3]=N=>y.value=N),onOnChange:b,"item-distance":"30px","unselect-disabled":""},{default:de(({item:N,isSelected:M})=>[s("div",{class:V(["plevel-selector-item",{"plevel-selector-item--selected":M}])},[C[4]||(C[4]=s("div",{class:"icon"},null,-1)),s("div",Ns,S(N.name),1)],2)]),_:1},8,["item-list","curr-key"])]))}}),zs=q(Qs,[["__scopeId","data-v-7db35a5c"]]),js={};function qs(e,o){return null}const Rs=q(js,[["render",qs]]);function Vs(){const e=Date.now().valueOf();window.sohuHD&&window.sohuHD.cookie("tv-vlt",e,{domain:".sohu.com",path:"/",expires:1})}Vs();function Ke(e){let o="";return e&&window.sohuHD&&(o=An("23DB79C859A861584E13B7807E7631C5_"+e+"_"+window.sohuHD.cookie("tv-vlt")).toLowerCase()),o}const Xs={class:"add-to-bodan-pop-up"},Js={class:"body"},Ys={class:"switch-tab-box"},Zs=["title"],Gs={key:1,class:"form-wrap"},Ks=Z({__name:"AddToBoDanPopUp",props:{site:{},uid:{},vid:{},destroySelf:{type:Function},onSuccess:{type:Function},onFail:{type:Function}},emits:["on-close"],setup(e,{emit:o}){const i=e,t=o,l=h(null),f=h(!1),u=h([{key:"1",name:"閫夋嫨鎾崟"},{key:"2",name:`鍒涘缓${f.value?"闊抽":"瑙嗛"}鎾崟`,isDisabled:!1}]),d=h("1");function n(L){}const a=h(null),v=h(""),r=h([]),g=h(!1);function y(L){return oe(this,null,function*(){g.value=!1,L||(L=1);const E=50,z={userId:i.uid,videoType:"2",vid:i.vid,mediaType:f.value?1:0,pageNum:L,pageSize:E},{data:H,error:ce}=yield nt.getBroadList(z);H&&H.status===200&&H.data&&(L===1&&(r.value=[]),r.value.push(...(H.data.broadlistList||[]).map(j=>({id:j.id,bid:j.bid,title:j.title,plevel:j.plevel,hasAdded:!!j.hasAdded,isFull:!!j.full,videoCount:j.videoCount}))),H.data.broadlistList.length{a.value&&j.id===a.value.id&&(j.videoCount++,j.isLocalChecked=!0),j.hasAdded&&(j.isLocalChecked=!0)}),C(),H.data.getDayLimit?(v.value="鎮ㄤ粖鏃ュ凡鍒涘缓10涓挱鍗曪紝璇锋槑澶╁啀鏉",u.value[1].isDisabled=!0):H.data.getLimit?(v.value="鎮ㄧ殑鎾崟宸叉弧20涓紝璇峰垹鎺変竴浜涙挱鍗曞啀鏉ュ垱寤",u.value[1].isDisabled=!0):(v.value="",u.value[1].isDisabled=!1),g.value=!0):y(++L).then())})}const m=h(""),b=h(""),x=h(""),A=h(""),O=h(!1),$=F(()=>{if(d.value==="1")return b.value!==A.value||m.value!==x.value;if(d.value==="2")return O.value});function w(){return oe(this,null,function*(){if(d.value==="1"){let L=!1,E=!1,z=!1,H=!1;if(m.value!==x.value){L=!0;const ce={broadListIds:x.value,vidUidTypes:[i.vid,i.uid,i.site].join("|"),mediaType:f.value?1:0,ndltk:Ke(i.uid)},{data:j}=yield nt.addVideoToBroad(ce);(j==null?void 0:j.status)===200&&(E=!0)}if(b.value!==A.value){z=!0;const ce={bids:A.value,ndltk:Ke(i.uid)},{data:j}=yield nt.deleteVideoFromBroad(ce);(j==null?void 0:j.status)===200&&(H=!0)}(L||z)&&(L&&!E||z&&!H?i.onFail&&i.onFail():i.onSuccess&&i.onSuccess()),k()}else if(d.value==="2"&&!f.value&&l.value){const L=l.value.getFormParam(),E={title:L.title,introduction:L.intro,plevel:L.plevel,mediaType:f.value?1:0,rotationType:f.value?1:L.rotationType,ndltk:Ke(i.uid)},{data:z,error:H}=yield nt.saveBroad(E);z&&z.status===200&&(a.value=z.data,yield y(),d.value="1")}})}function U(){d.value==="1"?k():d.value==="2"&&(d.value="1")}function k(){t("on-close"),i.destroySelf()}function C(){var z;if(!((z=r.value)!=null&&z.length)){x.value="",A.value="";return}const L=[],E=[];r.value.forEach((H,ce)=>{!H.hasAdded&&H.isLocalChecked&&L.push(H.id),H.hasAdded&&!H.isLocalChecked&&E.push(H.bid)}),x.value=L.join(","),A.value=E.join(",")}function N(L){O.value=L}function M(){C()}return y().then(),(L,E)=>(c(),p("div",Xs,[E[3]||(E[3]=s("div",{class:"mask"},null,-1)),W(Kt,{"is-confirm-disabled":!$.value,onOnConfirm:w,onOnCancel:U,onOnClose:k},{"header-txt":de(()=>E[1]||(E[1]=[G("娣诲姞鑷虫挱鍗")])),body:de(()=>[s("div",Js,[s("div",Ys,[W(Wt,{"tab-item-list":u.value,"curr-key":d.value,"onUpdate:currKey":E[0]||(E[0]=z=>d.value=z),onOnChange:n},{default:de(({isSelected:z,item:H})=>[s("div",{class:V(["switch-tab-item",{"switch-tab-item--selected":z,"switch-tab-item--disabled":H.isDisabled}]),title:H.isDisabled?v.value:""},S(H.name),11,Zs)]),_:1},8,["tab-item-list","curr-key"]),E[2]||(E[2]=s("a",{class:"manage-broad-list-btn",href:"//my.tv.sohu.com/i/video/multicast",target:"_blank"}," 绠$悊鎴戠殑鎾崟>> ",-1))]),d.value==="1"?(c(),p(Y,{key:0},[g.value?(c(),J(ys,{key:0,class:"list-wrap",list:r.value,"is-audio":f.value,"new-broad-list-item":a.value,onOnCheck:M},null,8,["list","is-audio","new-broad-list-item"])):B("",!0)],64)):d.value==="2"?(c(),p("div",Gs,[f.value?(c(),J(Rs,{key:0})):(c(),J(zs,{key:1,onOnReadyStateChange:N,ref_key:"createVideoBoDanFormRef",ref:l},null,512))])):B("",!0)])]),_:1},8,["is-confirm-disabled"])]))}}),Ws=q(Ks,[["__scopeId","data-v-6630d7f0"]]);let Pe=null,Be=null;function tn(){Pe&&(Pe.unmount(),Pe=null),Be&&Be.remove()}function ei(e){!e.uid||!e.vid||(Be=document.createElement("div"),Be.style.position="fixed",Be.style.zIndex="999999",document.body.appendChild(Be),Pe=Tt(Ws,{uid:e.uid,vid:e.vid,site:2,destroySelf:tn,onSuccess:e.onSuccess,onFail:e.onFail}),Pe.use(Pt()),Pe.directive("svg-sprite",Qt),Pe.mount(Be))}const ti={init:ei,destroy:tn},lt="//my.tv.sohu.com",rt={getZuoPinJiList(e){return Mt(lt+"/user/a/playlist/wmPlayList.do",e)},addToZuoPinJi(e){return he(lt+"/user/a/playlist/addVideosToPlaylist.do",e)},saveZuoPinJi(e){return he(lt+"/user/a/playlist/saveOrUpdate.do",e)}},ni={class:"bodan-list"},oi=["title","onClick"],si={class:"name"},ii={key:0,class:"tag"},ai={class:"right"},li={class:"counter"},ri=Z({__name:"ZuoPinJiList",props:we({list:{},isAudio:{type:Boolean},newBroadListItem:{},remainCheckCount:{}},{newCheckCount:{required:!0},newCheckCountModifiers:{}}),emits:we(["on-check"],["update:newCheckCount"]),setup(e,{emit:o}){const i=e,t=o,l=F(()=>i.list||[]),f=We(e,"newCheckCount");function u(d){if(!d.isCheckDisabled){if(d.isLocalChecked)d.isLocalChecked=!1,d.videoCount--,f.value--;else{if(d.isFull||f.value>=i.remainCheckCount)return;d.isLocalChecked=!0,d.videoCount++,f.value++}t("on-check")}}return(d,n)=>(c(),p("div",ni,[(c(!0),p(Y,null,ue(l.value,(a,v)=>(c(),p("div",{class:V(["bodan-list-item",{"bodan-list-item--checked":a.isLocalChecked,"bodan-list-item--full":a.isFull}]),key:a.id,title:a.isFull?"璇ヤ綔鍝侀泦宸叉弧锛岃鍒犳帀涓浜涗綔鍝佸啀鏉ユ坊鍔":"",onClick:r=>u(a)},[n[1]||(n[1]=s("div",{class:"check-box"},null,-1)),s("div",si,S(a.title),1),a.hasAdded?(c(),p("div",ii,"宸插湪璇ヤ綔鍝侀泦")):B("",!0),s("div",ai,[s("div",li,[G(S(a.isFull?"宸叉弧":""),1),s("span",null,S(a.videoCount),1),n[0]||(n[0]=G("涓綔鍝 "))])])],10,oi))),128))]))}}),ci=q(ri,[["__scopeId","data-v-1b554b3b"]]),ui={class:"form"},di={class:"input-box"},fi={class:"textarea-box"},vi=20,pi=50,_i=Z({__name:"CreateZuoPinJiForm",emits:["on-ready-state-change"],setup(e,{expose:o,emit:i}){const t=h(""),l=h(""),f=i;function u(m){if(!m)return 0;var b=m.match(/[^\x00-\xff]/g);return m.length+(b?b.length:0)}function d(m,b){function x(A,O){var $=A.replace(/\*/g," ").replace(/[^\x00-\xff]/g,"**");return A=A.slice(0,$.slice(0,O).replace(/\*\*/g," ").replace(/\*/g,"").length),u(A)>O&&O>0&&(A=A.slice(0,A.length-1)),A}return u(m)>b?x(m,b):m}const n=h(0),a=h(0);function v(m){const b=t.value,x=vi*2,A=u(b),O=x-A;n.value=Math.max(0,Math.floor(O/2)),O<0&&(t.value=d(b,x))}function r(m){const b=l.value,x=pi*2,A=u(b),O=x-A;a.value=Math.max(0,Math.floor(O/2)),O<0&&(l.value=d(b,x))}function g(){return{title:t.value,intro:l.value}}const y=F(()=>!!t.value);return Le(y,m=>{f("on-ready-state-change",m)},{immediate:!0}),o({getFormParam:g}),(m,b)=>(c(),p("div",ui,[b[2]||(b[2]=s("div",{class:"label label--asterisk"},"鏍囬",-1)),s("div",di,[X(s("input",{type:"text",placeholder:"璇疯緭鍏ヤ綔鍝侀泦鏍囬锛屼笉瓒呰繃20涓瓧","onUpdate:modelValue":b[0]||(b[0]=x=>t.value=x),onInput:v},null,544),[[Ue,t.value]]),X(s("div",{class:"input__counter"}," 杩樺彲浠ヨ緭鍏"+S(n.value)+"涓瓧 ",513),[[me,t.value.length]])]),b[3]||(b[3]=s("div",{class:"label"},"鎻忚堪",-1)),s("div",fi,[X(s("textarea",{placeholder:"浠嬬粛鎮ㄧ殑浣滃搧闆嗭紝涓嶈秴杩50涓瓧","onUpdate:modelValue":b[1]||(b[1]=x=>l.value=x),onInput:r},null,544),[[Ue,l.value]]),X(s("div",{class:"textarea__counter"}," 杩樺彲浠ヨ緭鍏"+S(a.value)+"涓瓧 ",513),[[me,l.value.length]])])]))}}),mi=q(_i,[["__scopeId","data-v-96661f68"]]),hi={class:"add-to-zuopinji-pop-up"},gi={class:"body"},yi={class:"switch-tab-box"},bi=["title"],Ii={key:1,class:"form-wrap"},ki=Z({__name:"AddToZuoPinJiPopUp",props:{uid:{},vid:{},destroySelf:{type:Function},onSuccess:{type:Function},onFail:{type:Function}},emits:["on-close"],setup(e,{emit:o}){const i=e,t=o,l=h(null),f=h(!1),u=h([{key:"1",name:"閫夋嫨浣滃搧闆"},{key:"2",name:"鍒涘缓浣滃搧闆",isDisabled:!1}]),d=h("1");function n(L){}const a=h(null),v=h(""),r=h([]),g=h(!1),y=h(0),m=h(0);function b(L){return oe(this,null,function*(){g.value=!1,L||(L=1);const E=50,z={userId:i.uid,pg:L,size:E,vid:i.vid},{data:H,error:ce}=yield rt.getZuoPinJiList(z);H&&H.status===200&&H.data&&(L===1&&(r.value=[]),r.value.push(...(H.data.list||[]).map(j=>({id:j.id,title:j.title,hasAdded:j.vidFlag===1,isFull:!!j.isFull,videoCount:j.videoCount}))),H.data.list.length{a.value&&y.value>0&&j.id===a.value.id&&(j.videoCount++,j.isLocalChecked=!0,y.value--,m.value++),j.hasAdded&&(j.isLocalChecked=!0,j.isCheckDisabled=!0)}),C(),H.data.isFull?(v.value="鎮ㄧ殑浣滃搧闆嗘暟閲忓埌杈句笂闄愶紝璇峰垹鎺変竴浜涗綔鍝侀泦鍐嶆潵鍒涘缓",u.value[1].isDisabled=!0):(v.value="",u.value[1].isDisabled=!1),g.value=!0):b(++L).then())})}const x=h(""),A=h(""),O=h(!1),$=F(()=>{if(d.value==="1")return x.value!==A.value;if(d.value==="2")return O.value});function w(){return oe(this,null,function*(){if(d.value==="1"){let L=!1,E=!1;if(x.value!==A.value){L=!0;const z={playlistIds:A.value,vids:i.vid,uploadFrom:8,ndltk:Ke(i.uid)},{data:H}=yield rt.addToZuoPinJi(z);(H==null?void 0:H.status)===200&&(E=!0)}L&&(E?i.onSuccess&&i.onSuccess():i.onFail&&i.onFail()),k()}else if(d.value==="2"&&!f.value&&l.value){const L=l.value.getFormParam(),E={title:L.title,description:L.intro,uploadFrom:8,ndltk:Ke(i.uid)},{data:z,error:H}=yield rt.saveZuoPinJi(E);z&&z.status===200&&(a.value={id:z.playlistId},yield b(),d.value="1")}})}function U(){d.value==="1"?k():d.value==="2"&&(d.value="1")}function k(){t("on-close"),i.destroySelf()}function C(){var E;if(!((E=r.value)!=null&&E.length)){A.value="";return}const L=[];r.value.forEach((z,H)=>{!z.hasAdded&&z.isLocalChecked&&L.push(z.id)}),A.value=L.join(",")}function N(L){O.value=L}function M(){C()}return b().then(),(L,E)=>(c(),p("div",hi,[E[4]||(E[4]=s("div",{class:"mask"},null,-1)),W(Kt,{"is-confirm-disabled":!$.value,onOnConfirm:w,onOnCancel:U,onOnClose:k},{"header-txt":de(()=>E[2]||(E[2]=[G("娣诲姞鑷充綔鍝侀泦")])),body:de(()=>[s("div",gi,[s("div",yi,[W(Wt,{"tab-item-list":u.value,"curr-key":d.value,"onUpdate:currKey":E[0]||(E[0]=z=>d.value=z),onOnChange:n},{default:de(({isSelected:z,item:H})=>[s("div",{class:V(["switch-tab-item",{"switch-tab-item--selected":z,"switch-tab-item--disabled":H.isDisabled}]),title:H.isDisabled?v.value:""},S(H.name),11,bi)]),_:1},8,["tab-item-list","curr-key"]),E[3]||(E[3]=s("a",{class:"manage-broad-list-btn",href:"//my.tv.sohu.com/i/video/album",target:"_blank"}," 绠$悊鎴戠殑浣滃搧闆>> ",-1))]),d.value==="1"?(c(),p(Y,{key:0},[g.value?(c(),J(ci,{key:0,class:"list-wrap",list:r.value,"is-audio":f.value,"new-zuopinji-item":a.value,onOnCheck:M,"remain-check-count":y.value,"new-check-count":m.value,"onUpdate:newCheckCount":E[1]||(E[1]=z=>m.value=z)},null,8,["list","is-audio","new-zuopinji-item","remain-check-count","new-check-count"])):B("",!0)],64)):d.value==="2"?(c(),p("div",Ii,[W(mi,{onOnReadyStateChange:N,ref_key:"createZuoPinJiFormRef",ref:l},null,512)])):B("",!0)])]),_:1},8,["is-confirm-disabled"])]))}}),wi=q(ki,[["__scopeId","data-v-7685e225"]]);let Fe=null,Te=null;function nn(){Fe&&(Fe.unmount(),Fe=null),Te&&Te.remove()}function Ci(e){!e.uid||!e.vid||(Te=document.createElement("div"),Te.style.position="fixed",Te.style.zIndex="999999",document.body.appendChild(Te),Fe=Tt(wi,{uid:e.uid,vid:e.vid,site:2,destroySelf:nn,onSuccess:e.onSuccess,onFail:e.onFail}),Fe.use(Pt()),Fe.directive("svg-sprite",Qt),Fe.mount(Te))}const xi={init:Ci,destroy:nn},Ai="//api-live-pc.hd.sohu.com",Si={delSchedule(e){return Ee(`${Ai}/schedule/v1/del.do`,e)}},$i="//hd.my.tv.sohu.com",Li={deleteFeed(e){return he(`${$i}/feed/api/v1/pc/user/feed/delete`,e)}},Di={11:{1:{source_title:{path:"content.forward_source_info.content.content_video.video_name"},source_subtitle:{path:"content.forward_source_info.content.content_video.video_name"},pic_url:{path:["content.forward_source_info.content.content_video.hor_w16_pic","content.forward_source_info.content.content_video.cusCoverUrlNew"],format:(e,o)=>e||o||""},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeVideoUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},4:{source_title:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:(e,o)=>e.content||"鍒嗕韩鍐呭"},source_subtitle:{path:["content.forward_source_info.content"],format:e=>""},pic_url:{path:["content.forward_source_info.content"],format:e=>{var i,t,l;let o="";return e.topicType==0?o=e.pics?(i=e.pics[0])==null?void 0:i.picUrl:"":e.linkInfo?o=((t=e.linkInfo)==null?void 0:t.coverUrl)||"//kimg01.youju.sohu.com/imagetextlQLPJxgQw-9YOxDMw8zDsIRLTSbZLZDnBNxzRvgATwA_195_195.png":o=e.pics?(l=e.pics[0])==null?void 0:l.picUrl:"",o}},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeTopicUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩鍥炬枃"},5:{source_title:{path:"content.forward_source_info.content.content_video.video_name"},source_subtitle:{path:"content.forward_source_info.content.content_video.video_name"},pic_url:{path:"content.forward_source_info.content.content_video.cusCoverUrlNew"},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeVideoUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},8:{source_title:{path:"content.forward_source_info.content.content_live.roomName"},source_subtitle:{path:"content.forward_source_info.content.content_live.roomName"},pic_url:{path:"content.forward_source_info.content.content_live.cover"},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeLiveUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩鐩存挱"},9:{source_title:{path:"content.forward_source_info.content.content_video.video_name"},source_subtitle:{path:"content.forward_source_info.content.content_video.video_name"},pic_url:{path:"content.forward_source_info.content.content_video.cusCoverUrlNew"},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeVideoUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},17:{source_title:{path:"content.forward_source_info.content.content_broadlist.content_video.video_name"},source_subtitle:{path:"content.forward_source_info.content.content_broadlist.content_video.video_name"},pic_url:{path:"content.forward_source_info.content.content_broadlist.content_video.cusCoverUrlNew"},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeBroadUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},19:{source_title:{path:"content.forward_source_info.content.title"},source_subtitle:{path:"content.forward_source_info.content.intro"},pic_url:{path:"content.forward_source_info.content.cover"},link_url:{path:["content.forward_source_info.content","content.forward_source_info.userInfo"],format:le.makeLiveScheduleUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩鐩存挱棰勫憡"}},1:{source_title:{path:"content.content_video.video_name"},source_subtitle:{path:"content.content_video.video_name"},pic_url:{path:["content.content_video.hor_w16_pic","content.content_video.cusCoverUrlNew"],format:(e,o)=>e||o||""},link_url:{path:["content","userInfo"],format:le.makeVideoUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},4:{source_title:{path:["content","userInfo"],format:(e,o)=>e.content||"鍒嗕韩鍐呭"},source_subtitle:{path:["content"],format:e=>""},pic_url:{path:["content"],format:e=>{var i,t,l;let o="";return e.topicType==0?o=e.pics?(i=e.pics[0])==null?void 0:i.picUrl:"":e.linkInfo?o=((t=e.linkInfo)==null?void 0:t.coverUrl)||"//kimg01.youju.sohu.com/imagetextlQLPJxgQw-9YOxDMw8zDsIRLTSbZLZDnBNxzRvgATwA_195_195.png":o=e.pics?(l=e.pics[0])==null?void 0:l.picUrl:"",o}},link_url:{path:["content","userInfo"],format:le.makeTopicUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩鍥炬枃"},5:{source_title:{path:"content.content_video.video_name"},source_subtitle:{path:"content.content_video.video_name"},pic_url:{path:"content.content_video.cusCoverUrlNew"},link_url:{path:["content","userInfo"],format:le.makeVideoUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},8:{source_title:{path:"content.content_live.roomName"},source_subtitle:{path:"content.content_live.roomName"},pic_url:{path:"content.content_live.cover"},link_url:{path:["content","userInfo"],format:le.makeLiveUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩鐩存挱"},9:{source_title:{path:"content.content_video.video_name"},source_subtitle:{path:"content.content_video.video_name"},pic_url:{path:"content.content_video.cusCoverUrlNew"},link_url:{path:["content","userInfo"],format:le.makeVideoUrl},qr_title:"瑙嗛"},17:{source_title:{path:"content.content_broadlist.content_video.video_name"},source_subtitle:{path:"content.content_broadlist.content_video.video_name"},pic_url:{path:"content.content_broadlist.content_video.cusCoverUrlNew"},link_url:{path:["content","userInfo"],format:le.makeBroadUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩瑙嗛"},19:{source_title:{path:"content.title"},source_subtitle:{path:"content.intro"},pic_url:{path:"content.cover"},link_url:{path:["content","userInfo"],format:le.makeLiveScheduleUrl},qr_title:"鎵嬫満鎵爜鍒嗕韩鐩存挱棰勫憡"}},Bi=e=>zt(e,Di),Ti={style:{"margin-left":"56px"}},Pi={class:"interAction_area"},Fi={key:0,class:"repost_area"},Ei={class:"sohuCommList_area cardInterAction"},Hi=["id"],Ui=Z({__name:"CardInteraction",props:{feedInfo:{}},setup(e){const o=De(),i=Ne(),t=e,l=h([!1,!1,!1,!1]),f=h(!1),u=_=>{var I,P,D,R;if(o.isLogin){const te=(I=o.userInfo)==null?void 0:I.id,ne=_.userInfo.uid;return _.type!=1||((D=(P=_.content)==null?void 0:P.content_video)==null?void 0:D.co)!=2?i.scene>0?te==ne?2:4:te==ne?1:3:te!=ne?i.scene>0?4:3:((R=_.content)==null?void 0:R.coRole)==1?i.scene>0?2:1:i.scene>0?6:5}else return i.scene>0?4:3},d=()=>l.value.fill(!0,0,3),n=()=>{l.value=[!0,!0,!0,!0]},a=_=>{const I=_.split(",").map(Number);I[2]>0&&(l.value[0]=!0),I[0]>0&&(l.value[1]=!0),I[3]>0&&(l.value[2]=!0),I[6]>0&&(l.value[3]=!0)};ct(()=>{var I,P,D,R,te,ne,ie,ee,K,fe,ve,ye,_e,Ae,Oe,Me,Qe,ze,je,qe,Re,Ve,Xe,ae,Ce,Je,Ye,_t,mt,ht,gt,yt,bt,It;const _=u(t.feedInfo);switch(t.feedInfo.type){case 1:if(t.feedInfo.content.isSerious>0)d();else{const pe=(D=(P=(I=t.feedInfo.content)==null?void 0:I.content_video)==null?void 0:P.seriousExtend)!=null?D:"0,0,0,0,0,0,0,0,0,0";a(pe)}if(_!=3&&_!=4){const pe=(te=(R=t.feedInfo.content)==null?void 0:R.content_video)==null?void 0:te.status;[22,31].includes(pe)&&d(),[30,32].includes(pe)&&n()}break;case 4:t.feedInfo.content.isSerious>0&&d(),t.feedInfo.auditStatus==30&&n();break;case 17:const rn=(ie=(ne=t.feedInfo.content)==null?void 0:ne.content_broadlist)==null?void 0:ie.status;_!=3&&_!=4&&[32,33].includes(rn)&&n();break;case 19:t.feedInfo.auditStatus==30&&n();break;case 11:const cn=((ee=o.userInfo)==null?void 0:ee.id)==((ve=(fe=(K=t.feedInfo.content)==null?void 0:K.forward_source_info)==null?void 0:fe.userInfo)==null?void 0:ve.uid);if((t.feedInfo.content.sourceStatus==-1||((ye=t.feedInfo.content.forward_source_info)==null?void 0:ye.plevel)==3&&(_==3||_==4)&&!cn)&&d(),((_e=t.feedInfo.content.forward_source_info)==null?void 0:_e.type)==4)((Oe=(Ae=t.feedInfo.content.forward_source_info)==null?void 0:Ae.content)==null?void 0:Oe.isSerious)>0&&d();else if(((Me=t.feedInfo.content.forward_source_info)==null?void 0:Me.type)==1){const pe=(qe=(je=(ze=(Qe=t.feedInfo.content.forward_source_info)==null?void 0:Qe.content)==null?void 0:ze.content_video)==null?void 0:je.seriousExtend)!=null?qe:"0,0,0,0,0,0,0,0,0,0";a(pe)}if(((Ve=(Re=t.feedInfo.content.forward_source_info)==null?void 0:Re.content)==null?void 0:Ve.isSerious)>0)d();else{const pe=(Ye=(Je=(Ce=(ae=(Xe=t.feedInfo.content)==null?void 0:Xe.forward_source_info)==null?void 0:ae.content)==null?void 0:Ce.content_video)==null?void 0:Je.seriousExtend)!=null?Ye:"0,0,0,0,0,0,0,0,0,0";a(pe)}t.feedInfo.content.forwardCount>2&&(f.value=!0);const et=t.feedInfo.content.prevForwardInfos;if(et&&et.length>0){for(let pe=0;pe0)d();else{const pe=(ht=(mt=(_t=t.feedInfo.content)==null?void 0:_t.content_video)==null?void 0:mt.seriousExtend)!=null?ht:"0,0,0,0,0,0,0,0,0,0";a(pe)}t.feedInfo.type==8&&((yt=(gt=t.feedInfo.content)==null?void 0:gt.content_live)==null?void 0:yt.privacy)==1&&(f.value=!0),t.feedInfo.type==9&&((It=(bt=t.feedInfo.content)==null?void 0:bt.content_video)==null?void 0:It.plevel)==4&&(f.value=!0)}});const v=h({}),r=_=>{var I,P,D,R,te,ne,ie,ee,K,fe,ve,ye,_e,Ae;return Object.assign({},{isUp:_.type!=11?(I=_==null?void 0:_.commentDigg)==null?void 0:I.isUp:(D=(P=_.content)==null?void 0:P.forward_source_info)==null?void 0:D.commentDigg.isUp,upCount:_.type!=11?(R=_==null?void 0:_.commentDigg)==null?void 0:R.upCount:(ne=(te=_.content)==null?void 0:te.forward_source_info)==null?void 0:ne.commentDigg.upCount,upCountFmt:_.type!=11?(ie=_==null?void 0:_.commentDigg)==null?void 0:ie.upCountFmt:(K=(ee=_.content)==null?void 0:ee.forward_source_info)==null?void 0:K.commentDigg.upCountFmt,id:_.type!=11?(fe=_==null?void 0:_.commentDigg)==null?void 0:fe.id:(ye=(ve=_.content)==null?void 0:ve.forward_source_info)==null?void 0:ye.commentDigg.id,type:_.type!=11?_==null?void 0:_.type:(Ae=(_e=_.content)==null?void 0:_e.forward_source_info)==null?void 0:Ae.type})};v.value=r(t.feedInfo);const g=h(!1),y=h(""),m=h(""),b=He("deleteFeedItem",_=>{}),x=(_,I)=>{y.value=_,g.value=!0,m.value=I},A=_=>{if(_==="ok")m.value==="deleteFeed"?O():m.value==="deleteSchedule"&&$(),g.value=!1,y.value="";else return g.value=!1,y.value="",!1};function O(){return oe(this,null,function*(){var R;const _={feedId:t.feedInfo.feedId,feedType:t.feedInfo.type,userId:(R=o.userInfo)==null?void 0:R.id},I=!!t.feedInfo.content.scheduleId,P=t.feedInfo.type==11,{data:D}=yield Li.deleteFeed(_);D.status==200?re({message:I||P?"鍔ㄦ佸垹闄ゆ垚鍔":"鍔ㄦ佸垹闄ゆ垚鍔燂紝浣滃搧浼氳鍚屾鍒犻櫎",duration:2e3}).then(()=>{b(t.feedInfo.feedId)}):re({message:D.message||"鍔ㄦ佸垹闄ゅけ璐",duration:2e3})})}function $(){const _={scheduleId:t.feedInfo.content.scheduleId};Si.delSchedule(_).then(I=>{const P=I.data;P.status==200?re({message:"鏈満棰勫憡宸叉挙閿",duration:2e3}).then(()=>{b(t.feedInfo.feedId)}):re({message:P.data.message||"鐩存挱棰勫憡鎾ら攢澶辫触",duration:2e3})})}const w=He("setUpFeedItem",(_,I)=>{}),U={set(_){return oe(this,null,function*(){const I={feedId:t.feedInfo.feedId,feedType:t.feedInfo.type,opt:_},{data:P,error:D}=yield Vt.setUp(I);(P==null?void 0:P.status)==200&&(w(t.feedInfo.feedId,_),re({message:(_==0?"鍙栨秷":"")+"缃《鎴愬姛",duration:5e3}))})}},k=h(null),C=h(!0),N=_=>{C.value=!_,!C.value&&k.value&&(k.value.innerHTML=""),M.value=!1};Ft("commentRef",k);const M=h(!1),L=()=>{M.value||N(!0),M.value=!M.value},E=He("setFeedItemForward",()=>{}),z=_=>{M.value=!1;const I=!!_.param.self_content;E({feedId:t.feedInfo.feedId,hasComment:I})},H=_=>{M.value=!1,re({message:_.data.msg,duration:5e3})},ce=h(),j=_=>{var ie,ee,K,fe,ve,ye,_e,Ae,Oe,Me,Qe,ze,je,qe,Re,Ve,Xe;const I=ge(_),P=u(_);let D=ts(P,I);const R=_.isTopFeed,te=_.setTop,ne=_.plevel==3;if(!R){const ae=D.findIndex(Ce=>Ce.id==5);ae>-1&&D.splice(ae,1)}if(R||!te||ne){const ae=D.findIndex(Ce=>Ce.id==4);ae>-1&&D.splice(ae,1)}P!=3&&P!=4&&_.type==11&&(_.content.sourceStatus==-1||((ie=_.content.forward_source_info)==null?void 0:ie.plevel)===3)&&(D=[{id:3,name:"鍒犻櫎"}]),_.type==1&&(((K=(ee=_.content)==null?void 0:ee.content_video)==null?void 0:K.plevel)==3&&(D=D.filter(ae=>ae.id!=6)),((ve=(fe=_.content)==null?void 0:fe.content_video)==null?void 0:ve.status)==22&&(D=[{id:3,name:"鍒犻櫎"}])),_.type==9&&((_e=(ye=_.content)==null?void 0:ye.content_video)==null?void 0:_e.plevel)==4&&(D=D.filter(ae=>ae.id!=6&&ae.id!=7)),_.type==17&&(((Oe=(Ae=_.content)==null?void 0:Ae.content_broadlist)==null?void 0:Oe.plevel)==2&&(D=[{id:1,name:"鍒嗕韩"}]),(Qe=(Me=_.content)==null?void 0:Me.content_broadlist)!=null&&Qe.content_video||(D=D.filter(ae=>ae.id!=1))),_.type==11&&((je=(ze=_.content)==null?void 0:ze.forward_source_info)==null?void 0:je.type)==17&&((Xe=(Ve=(Re=(qe=_.content)==null?void 0:qe.forward_source_info)==null?void 0:Re.content)==null?void 0:Ve.content_broadlist)!=null&&Xe.content_video||(D=D.filter(ae=>ae.id!=1))),D.forEach(ae=>{var Ce,Je,Ye;ae.id==6&&(ae.pbData={vid:(Ye=(Je=(Ce=t.feedInfo)==null?void 0:Ce.content)==null?void 0:Je.content_video)==null?void 0:Ye.vid,memo:{from:"1"}},ae.txid="user_add_broadlist")}),ce.value=D},ge=_=>{var P,D;let I=_.type;return _.type==8&&((D=(P=_.content)==null?void 0:P.content_live)==null?void 0:D.live)!=1&&(I=108),_.type==19&&(_.content.scheduleStatus==0?_.content.remainTime>0?I=19:I=1019:I=10019),I};ct(()=>{t.feedInfo&&j(t.feedInfo)});const T=_=>{var I,P;if(_.id===1&&kao("shareGzl",()=>{const D=Bi(t.feedInfo),{link_url:R,pic_url:te,source_title:ne,source_subtitle:ie,qr_title:ee}=D;sohuHD.shareGzl.init({url:R,cover:te,title:ne,subTitle:ie,qrTitle:ee})}),_.id==3){let D="";const R=ge(t.feedInfo);R===108||t.feedInfo.type===19||R===11?D="纭鍒犻櫎璇ユ潯鍐呭锛":D="纭鍒犻櫎璇ユ潯鍐呭锛熷姩鎬佸搴旂殑浣滃搧灏嗕細琚竴璧峰垹闄",x(D,"deleteFeed")}if(_.id==4&&U.set(1),_.id==5&&U.set(0),_.id==6){if(!o.isLogin){st(()=>{window.location.reload()});return}ti.init({vid:t.feedInfo.sourceId,uid:(I=o.userInfo)==null?void 0:I.id,onSuccess:()=>{re({message:"鎿嶄綔鎴愬姛",duration:2e3})},onFail:()=>{re({message:"鎿嶄綔澶辫触",duration:2e3})}})}_.id==7&&xi.init({vid:t.feedInfo.sourceId,uid:(P=o.userInfo)==null?void 0:P.id,onSuccess:()=>{re({message:"娣诲姞鎴愬姛",duration:2e3})},onFail:()=>{re({message:"娣诲姞澶辫触",duration:2e3})}}),_.id==8&&x("鏄惁鎾ら攢鏈満鐩存挱棰勫憡锛鐗瑰埆鎻愰啋锛氬澶氭鎾ら攢棰勭害灏嗗绮変笣
閫犳垚涓嶅ソ鐨勫奖鍝嶅苟灏佺璇ュ姛鑳藉摝
","deleteSchedule")};return(_,I)=>(c(),p(Y,null,[s("div",Ti,[s("div",Pi,[(c(!0),p(Y,null,ue(l.value,(P,D)=>(c(),p(Y,{key:D},[D==0?(c(),J(oo,{key:0,isSerious:P,"like-info":v.value},null,8,["isSerious","like-info"])):B("",!0),D==1?(c(),J(io,{key:1,feedInfo:_.feedInfo,isSerious:P,onOnClose:N},null,8,["feedInfo","isSerious"])):B("",!0),D==2?(c(),J(lo,{key:2,isSerious:P,style:$e({visibility:f.value?"hidden":""}),feedInfo:_.feedInfo,onToggleShare:L},null,8,["isSerious","style","feedInfo"])):B("",!0),D==3?(c(),J(Uo,{key:3,options:ce.value,info:_.feedInfo,isSerious:P||ce.value.length==0,onItemClick:T},{default:de(()=>I[3]||(I[3]=[G("鎷撳睍")])),_:2},1032,["options","info","isSerious"])):B("",!0)],64))),128))])]),M.value?(c(),p("div",Fi,[W(Yo,{info:_.feedInfo,onOk:z,onFail:H},null,8,["info"])])):B("",!0),s("div",Ei,[X(s("div",{ref_key:"commentRef",ref:k,class:"feed-card-layout__pinglun sohuCommList",id:"pinglun"+_.feedInfo.feedId},null,8,Hi),[[me,C.value]])]),g.value?(c(),J(Bt,{key:1,to:"body"},[W(Sn,{content:y.value,visiable:g.value,onClose:I[0]||(I[0]=P=>A("close")),onCancel:I[1]||(I[1]=P=>A("cancel")),onOk:I[2]||(I[2]=P=>A("ok"))},null,8,["content","visiable"])])):B("",!0)],64))}}),Ni=q(Ui,[["__scopeId","data-v-65de7204"]]),Oi={},Mi={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",fill:"none"};function Qi(e,o){return c(),p("svg",Mi,o[0]||(o[0]=[s("rect",{width:"9.692",height:"6.182",x:"2.154",y:"6.242",stroke:"#888A8E","stroke-width":"1.077",rx:".538"},null,-1),s("rect",{width:"1.077",height:"3.111",x:"6.461",y:"7.778",fill:"#888A8E",rx:".538"},null,-1),s("path",{fill:"#888A8E","fill-rule":"evenodd",d:"M9.96 5.704v-.908q0-1.35-.852-2.298-.83-.923-1.992-.923h-.234q-1.161 0-1.992.923-.853.948-.853 2.298v.908H2.961v-.908q0-.375.05-.728.19-1.303 1.079-2.29Q5.24.498 6.882.498h.234q1.64 0 2.792 1.28.946 1.05 1.1 2.459.03.273.03.56v.907z"},null,-1)]))}const zi=q(Oi,[["render",Qi]]),ji={class:"feed-card-layout"},qi={class:"feed-card-layout__header"},Ri={key:0,class:"plevel-box"},Vi={key:0,class:"feed-top"},Xi={key:1,class:"statTip"},Ji={class:"feed-card-layout__body"},Yi={class:"feed-card-layout__footer"},Zi=Z({__name:"FeedCardLayout",props:{info:{}},setup(e){const o=e,i=F(()=>{var a,v,r,g,y,m,b;const f=JSON.parse(JSON.stringify(o.info)),{userInfo:u,title:d}=f;u.title=d,u.gpsCaption=((v=(a=o.info.content)==null?void 0:a.content_video)==null?void 0:v.gpsCaption)||((g=(r=o.info.content)==null?void 0:r.gpsInfo)==null?void 0:g.caption)||"";const n=f.content;return(((y=n==null?void 0:n.content_live)==null?void 0:y.privacy)==1||((m=n==null?void 0:n.content_video)==null?void 0:m.plevel)==4||(n==null?void 0:n.assign)==1||((b=n==null?void 0:n.content_broadlist)==null?void 0:b.plevel)==4)&&(u.gpsCaption=u.gpsCaption?`${u.gpsCaption}路鎸囧畾浜哄彲瑙乣:"鎸囧畾浜哄彲瑙"),u}),t=De(),l=F(()=>o.info.auditStatus==30?"瀹℃牳涓":"");return Ft("feedInfo",o.info),(f,u)=>(c(),p("div",ji,[s("div",qi,[W(Yn,{info:i.value},Et({fixedTop:de(()=>[f.info.isTopFeed?(c(),p("div",Vi)):B("",!0),l.value?(c(),p("div",Xi,S(l.value),1)):B("",!0)]),_:2},[l.value?void 0:{name:"plevel",fn:de(()=>{var d;return[String(i.value.uid)===String((d=se(t).userInfo)==null?void 0:d.id)&&f.info.plevel===3?(c(),p("div",Ri,[W(zi,{class:"icon"}),u[0]||(u[0]=G(" 浠呰嚜宸卞彲瑙 "))])):B("",!0)]}),key:"0"}]),1032,["info"])]),s("div",Ji,[Ie(f.$slots,"body",{},void 0,!0)]),s("div",Yi,[W(Ni,{"feed-info":f.info},null,8,["feed-info"])]),Ie(f.$slots,"fold-box",{},void 0,!0)]))}}),Gi=q(Zi,[["__scopeId","data-v-e721cb56"]]),Ki="/s/follow/image/livezfh-DpstUhdL.svg",Wi="/s/follow/image/liveh-CVdh9qN3.svg",ea="/s/follow/image/livezfs-BkjcCfo6.svg",ta="/s/follow/image/lives-CvK7e6Ye.svg",na={key:0,class:"zbyg_heng"},oa={class:"zbyg_t"},sa={class:"zbyg_l"},ia={key:0,src:Ki,class:"cover"},aa={key:1,src:Wi,class:"cover cover1"},la={class:"zbyg_r"},ra={class:"title two-line-ellipsis"},ca={key:0,class:"intro two-line-ellipsis"},ua={class:"zbyg_b"},da={class:"time"},fa={key:0},va={key:0,class:"zbyg_shu"},pa={class:"zbyg_l"},_a={key:0,src:ea,class:"cover"},ma={key:1,src:ta,class:"cover"},ha={class:"zbyg_r"},ga={class:"zbyg_t"},ya={class:"title two-line-ellipsis"},ba={key:0,class:"intro two-line-ellipsis"},Ia={class:"zbyg_b"},ka={class:"time"},wa={key:0},Ca={key:1,class:"zbyg_nopic"},xa={class:"zbyg_l"},Aa={class:"title two-line-ellipsis"},Sa={key:0,class:"intro two-line-ellipsis"},$a={class:"time"},La={class:"zbyg_r flc"},Da={key:0,class:"time"},Ba=Z({__name:"LivePreviewCard",props:{info:{},isForward:{type:Boolean}},setup(e){const o=e,i=o.isForward||!1;F(()=>{const{userInfo:$,title:w}=o.info;return $.title=w,$});const{coverType:t,title:l,intro:f,cover:u,planTimestamp:d,scheduleId:n,userId:a}=o.info.content,{auditStatus:v=-1}=o.info,r=hn({type:o.info.type,coverType:t,scheduleId:n,title:l,intro:f,cover:u,planTimestamp:d,userId:a}),g=xt(r.planTimestamp,"MM鏈圖D鏃"),y=xt(r.planTimestamp,"hh:mm"),m=h(0),b=h(0),x=h(0),A=$=>{const w=Date.now(),U=$-w;if(U>864e5)x.value=2;else if(U>0){const k=Math.floor(U/36e5),C=Math.floor(U%36e5/6e4);x.value=1,m.value=k,b.value=C}else x.value=0},O=()=>{if(v==30)return;const $=le.makeLiveScheduleUrl({scheduleId:n,uid:a});window.open($,"_blank")};return xe(()=>{A(r.planTimestamp)}),($,w)=>{const U=ke("lazyload");return c(),p("div",{class:V(["videocard",se(i)?"zf_videocard":""]),onClick:w[0]||(w[0]=k=>O())},[s("div",{class:V(["content zbyg",se(i)?"zf_zbyg":""])},[r.coverType==2?(c(),p("div",na,[s("div",oa,[s("div",sa,[se(i)?X((c(),p("img",ia,null,512)),[[U,r.cover]]):X((c(),p("img",aa,null,512)),[[U,r.cover]])]),s("div",la,[s("div",ra,S(r.title),1),r.intro?(c(),p("div",ca,S(r.intro),1)):B("",!0)])]),s("div",ua,[s("div",da,[G(S(se(g))+" "+S(se(y))+"寮鎾",1),x.value==1?(c(),p("p",fa,[w[1]||(w[1]=G("锛岃窛寮鎾")),s("span",null,S(m.value),1),w[2]||(w[2]=G("鏃")),s("span",null,S(b.value),1),w[3]||(w[3]=G("鍒"))])):B("",!0)]),w[4]||(w[4]=s("div",{class:"zbyg_yy_btn flc"},[s("span"),G("绔嬪嵆棰勭害")],-1))])])):(c(),p(Y,{key:1},[r.cover?(c(),p("div",va,[s("div",pa,[se(i)?X((c(),p("img",_a,null,512)),[[U,r.cover]]):X((c(),p("img",ma,null,512)),[[U,r.cover]])]),s("div",ha,[s("div",ga,[s("div",ya,S(r.title),1),r.intro?(c(),p("div",ba,S(r.intro),1)):B("",!0)]),s("div",Ia,[s("div",ka,[G(S(se(g))+" "+S(se(y))+"寮鎾",1),x.value==1?(c(),p("p",wa,[w[5]||(w[5]=G("锛岃窛寮鎾")),s("span",null,S(m.value),1),w[6]||(w[6]=G("鏃")),s("span",null,S(b.value),1),w[7]||(w[7]=G("鍒"))])):B("",!0)]),w[8]||(w[8]=s("div",{class:"zbyg_yy_btn flc"},[s("span"),G("绔嬪嵆棰勭害")],-1))])])])):(c(),p("div",Ca,[s("div",xa,[s("div",Aa,S(r.title),1),r.intro?(c(),p("div",Sa,S(r.intro),1)):B("",!0),s("div",$a,[w[9]||(w[9]=s("i",{class:"time_icon"},null,-1)),G(" "+S(se(g))+" | "+S(se(y))+"寮鎾 ",1)])]),s("div",La,[w[13]||(w[13]=s("div",{class:"zbyg_yy_btn flc"},[s("span"),G("绔嬪嵆棰勭害")],-1)),x.value==1?(c(),p("div",Da,[w[10]||(w[10]=G("璺濆紑鎾")),s("span",null,S(m.value),1),w[11]||(w[11]=G("鏃")),s("span",null,S(b.value),1),w[12]||(w[12]=G("鍒"))])):B("",!0)])]))],64))],2)],2)}}}),St=q(Ba,[["__scopeId","data-v-97d35df6"]]),Ta={},Pa={class:"private-placeholder"};function Fa(e,o){return c(),p("div",Pa,o[0]||(o[0]=[Ht('
璇ュ唴瀹瑰凡琚涓虹瀵
',2)]))}const Ea=q(Ta,[["render",Fa],["__scopeId","data-v-e2f1a4a7"]]),on="data:image/png;base64,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8YH4EB+ID/GB+BAfiA/xIT4QH+ID8SE+EB/iA/EhPhAf4gPxIT4QH+JDfCA+xAfiQ3wgPsQH4kN8ID7EB+JDfCA+xAfiQ3yID8SH+EB8iA/Eh/hAfIgPxIf4QHyID8SH+BAfiA/xgfgQH4gP8YH4EB+ID/GB+BAfiA/xgfgQH+ID8SE+EB/iA/EhPhAf4gPxIT4QH+ID8SE+EB/iQ3wgPsQH4kN8ID7EB+JDfCA+xAfiQ3wgPsSH+EB8iA/Eh/hAfIgPxIf4QHyID8SH+EB8iA/Eh/gQH4gP8YH4EB+ID/GB+BAfiA/xgfgQH4gP8SE+EB/iA/EhPhAf4gPxIT4QH+ID8SE+EB/iA/EhPsQH4kN8ID7EB+JDfCA+xAfiQ3wgPsQH4kN8iA/Eh/hAfIgPxIf4QHyID8SH+EB8iA/Eh/hAfIgP8YH4EB+ID/GB+BAfiA/xgfgQH4gP8YH4EB/i8ytAfIgPxIf4QHyID8SH+EB8iA/Eh/hAfIgPxIf4EB+ID/GB+BAfiA/xgfgQH4gP8YH4EB+ID/GB+BAf4gPxIT4QH+ID8SE+EB/ig+/7H14Qks1xiVZFAAAAAElFTkSuQmCC",Ha={},Ua={width:"88",height:"88",fill:"none"};function Na(e,o){const i=ke("svg-sprite");return X((c(),p("svg",Ua,o[0]||(o[0]=[Ht('',2)]))),[[i,"icon-play-btn"]])}const Oa=q(Ha,[["render",Na]]),Ma={key:0,class:"cover-tag-box"},Qa={class:"pic"},za={src:on},ja={key:0,class:"live-end-box"},qa={key:1,src:on},Ra={class:"video-time"},Va=Z({__name:"PlayerVideo",props:{info:{},hasChatList:{type:Boolean}},emits:["checkView"],setup(e,{emit:o}){const i=He("player"),t=He("checkVideoView"),l=h(),f=h(),u=e,d={20:"澶勭悊涓",21:"澶勭悊涓",22:"杞爜澶辫触",30:"澶勭悊涓",31:"杞爜涓",32:"瀹℃牳涓"},n=F(()=>{let y=!1,m=u.info.status||u.info.videoStatus;return(u.info.type==8&&u.info.live==0||d[String(m)])&&(y=!0),y}),a=F(()=>{let y=u.info.status||u.info.videoStatus;const m=d[String(y)];return m?{txt:m,className:y=="22"?"":"cover-tag--deal"}:u.info.bid?u.info.contentType==7?{txt:"鐭墽",className:"cover-tag--broad"}:{txt:"鎾崟",className:"cover-tag--broad"}:u.info.type==8?u.info.live==1?{txt:"鐩存挱涓",className:"cover-tag--live"}:{txt:"鐩存挱缁撴潫",className:""}:u.info.type==9&&u.info.vid&&u.info.vid!=-1?{txt:"鐩存挱鍥炴斁",className:"cover-tag--hf"}:null}),v=()=>{n.value||(u.info._isPlaying=!0,i.play(u.info,f.value))};Le(()=>u.info.live,y=>{y==0&&(u.info._isPlaying=!1,t({info:u.info,inView:!1,el:l.value}),r&&r.unobserve(l.value))});let r;const g=()=>{n.value||(r=new IntersectionObserver(y=>{let m=y[0];t({info:u.info,inView:m.isIntersecting,el:m.target})},{root:null,rootMargin:"0px",threshold:.66}),r.observe(l.value))};return xe(()=>{g()}),(y,m)=>{var x;const b=ke("lazyload");return c(),p("div",{class:V(["player-card",{"player-card-chat":u.hasChatList}]),ref_key:"playerCard",ref:l},[a.value?(c(),p("div",Ma,[s("div",{class:V(["cover-tag",a.value.className])},S(a.value.txt),3)])):B("",!0),s("div",{class:"poster",onClick:v},[s("div",Qa,[X(s("img",za,null,512),[[b,u.info.hor_w16_pic||u.info.cover]]),((x=u.info)==null?void 0:x.live)==0?(c(),p("div",ja,"鐩存挱宸茬粨鏉")):X((c(),p("img",qa,null,512)),[[b,u.info.hor_w16_pic||u.info.cover]])]),X(W(Oa,{class:"play-btn"},null,512),[[me,!n.value]]),s("div",Ra,S(u.info.time_length_format),1)]),s("div",{class:"player-box",ref_key:"playerBox",ref:f},null,512)],2)}}}),Xa=q(Va,[["__scopeId","data-v-4eb76523"]]),Ja={class:"carousel-container"},Ya={class:"nick"},Za=["innerHTML"],Ga={__name:"ScrollList",props:{list:{type:Array,required:!0}},setup(e){const o=jt(),i=e,t=h(null),l=h(3),f=h(null),u=i.list.slice(0),d=h([]),n=()=>{u.map(g=>oe(this,null,function*(){let y=yield o.transformEmotions(g.content,"22px");return g.content=y,g})),d.value=u.slice(0,l.value)};let a=0;const v=()=>{a+=1,a>22?(a=0,d.value.shift(),t.value.style.transform=`translateY(-${a}px)`):(t.value.style.transform=`translateY(-${a}px)`,requestAnimationFrame(v))},r=()=>{f.value=setInterval(()=>{d.value.push(u[l.value]),v(),l.value++,l.value>=u.length&&(l.value=0)},3e3)};return xe(()=>{n(),i.list.length>3&&r()}),(g,y)=>(c(),p("div",Ja,[s("div",{class:"carousel-track",ref_key:"carouselContainer",ref:t},[(c(!0),p(Y,null,ue(d.value,(m,b)=>(c(),p("div",{key:b,class:"carousel-item"},[s("div",Ya,S(m.nickname)+"锛",1),s("div",{class:"msg",innerHTML:m.content},null,8,Za)]))),128))],512)]))}},Ka=q(Ga,[["__scopeId","data-v-7c0feafc"]]),Wa={class:"content"},el={class:"video-title"},tl=["href"],nl={class:"video-extend"},ol={class:"video-mark-txt"},sl={key:2,class:"video-title"},il=["href"],al={key:1},ll=Z({__name:"VideoCard",props:{info:{},feedId:{},isForward:{type:Boolean}},setup(e){const o=e,i={20:"澶勭悊涓",21:"澶勭悊涓",22:"杞爜澶辫触",30:"澶勭悊涓",31:"杞爜涓",32:"瀹℃牳涓"},t=()=>Date.now().toString(36)+"-"+Math.random().toString(36).substring(2,5),l=F(()=>{var v,r,g,y;let n=o.info.content,a=n.content_video||n.content_live||((v=n.content_broadlist)==null?void 0:v.content_video);return a.userId=((r=o.info.userInfo)==null?void 0:r.uid)||"",a.cus_userId=a.userId,a.feedId=o.info.feedId||o.feedId||t(),a.type=o.info.type||"",a.bid=((g=o.info.content.content_broadlist)==null?void 0:g.bid)||"",a.contentType=((y=o.info.content.content_broadlist)==null?void 0:y.contentType)||"",a.roomId?a.live=="1"&&(a.playLink=le.makeLiveUrl(n)):i[String(a.status||a.videoStatus)]?a.playLink="":a.playLink=le.makeVideoUrlPC(n),a}),f=F(()=>{var n,a;return((a=(n=l.value)==null?void 0:n.contentMark)==null?void 0:a.content)||""}),u=F(()=>{var a,v;let n=[];return((a=l.value)==null?void 0:a.live)=="1"&&(n=((v=l.value)==null?void 0:v.chat_list)||[],n.length&&(n=n.filter(r=>r.op=="chat"))),n}),d=()=>{var a,v;if(!((a=l.value)!=null&&a.playLink))return;const n=document.createElement("a");n.target="_blank",n.href=(v=l.value)==null?void 0:v.playLink,n.click()};return(n,a)=>{var v,r,g,y,m,b,x,A,O,$;return c(),p("div",{class:V(["videocard",{"videocard-forward":o.isForward}])},[s("div",Wa,[W(Xa,{info:l.value,hasChatList:!!u.value.length},null,8,["info","hasChatList"]),u.value.length&&((v=l.value)==null?void 0:v.live)=="1"?(c(),J(Ka,{key:0,class:"chat-list",list:u.value,onClick:d},null,8,["list"])):B("",!0),o.info.content.content_live?o.info.content.content_live?(c(),p("div",sl,[(x=l.value)!=null&&x.playLink?(c(),p("a",{key:0,href:(A=l.value)==null?void 0:A.playLink,target:"_blank",class:"video-title"},S((O=l.value)==null?void 0:O.roomName),9,il)):(c(),p("div",al,S(($=l.value)==null?void 0:$.roomName),1))])):B("",!0):(c(),p(Y,{key:1},[s("div",el,[(r=l.value)!=null&&r.playLink?(c(),p("a",{key:0,href:(g=l.value)==null?void 0:g.playLink,target:"_blank",class:"video-title"},S((y=l.value)==null?void 0:y.video_name),9,tl)):(c(),p(Y,{key:1},[G(S((m=l.value)==null?void 0:m.video_name),1)],64))]),s("div",nl,[f.value?(c(),p("div",{key:0,class:V(["video-mark",{"video-mark-broad":(b=l.value)==null?void 0:b.bid}])},[W(qt),s("div",ol,S(f.value),1)],2)):B("",!0)])],64))])],2)}}}),dt=q(ll,[["__scopeId","data-v-e69821d7"]]);function rl(e){var i,t,l,f,u;const o=[1,4,8,9,17,19];return!!(o.includes(e.type)||e.type===11&&(((i=e.content)==null?void 0:i.sourceStatus)===-1||((l=(t=e.content)==null?void 0:t.forward_source_info)==null?void 0:l.plevel)===3||o.includes((u=(f=e.content)==null?void 0:f.forward_source_info)==null?void 0:u.type)))}const cl={class:"feed-card-fold-list"},ul=Z({__name:"FeedCardFoldList",props:{feedUserId:{},foldSetId:{},foldSetType:{}},emits:["on-error-and-empty"],setup(e,{emit:o}){const i=e,t=o,l=h([]);let f="";const u=h(!0),d=h(!1);function n(){return oe(this,null,function*(){if(d.value||!u.value)return;d.value=!0;const v={setId:i.foldSetId,userId:i.feedUserId,type:i.foldSetType};f&&(v.lastId=f);const{data:r,error:g}=yield Vt.queryFold(v);if((r==null?void 0:r.status)==200){let{feeds:y,hasmore:m,lastId:b}=r.data;f=b,u.value=m,v.lastId||(l.value=[]),l.value=l.value.concat(y)}else l.value.length===0&&t("on-error-and-empty");d.value=!1})}function a(){n().then()}return n().then(),(v,r)=>(c(),p("div",cl,[(c(!0),p(Y,null,ue(l.value,g=>{var y;return c(),p(Y,{key:g.feedId},[se(rl)(g)?(c(),J(xr,{key:0,class:"feed-card",item:g},null,8,["item"])):(c(),p(Y,{key:1},[G(" 闅愯棌涓涓崱鐗囷細"+S(g.type===11?"杞彂绫诲瀷"+((y=g.content.forward_source_info)==null?void 0:y.type):"鍘熷垱绫诲瀷"+g.type),1)],64))],64)}),128)),d.value?(c(),J(On,{key:0,class:"feed-card"})):B("",!0),u.value?(c(),J(Dn,{key:1,onOnTrigger:a})):B("",!0)]))}}),dl=q(ul,[["__scopeId","data-v-95cdc3a1"]]),fl={class:"txt"},vl=Z({__name:"FeedCardListFoldBox",props:{feedUserId:{},foldSetId:{},foldSetType:{}},setup(e){const o=h(!0),i=F(()=>o.value?"灞曞紑Ta鏈杩戝彂鐨勫叾瀹冨姩鎬":"鏀惰捣Ta鏈杩戝彂鐨勫叾瀹冨姩鎬");function t(){o.value=!o.value}function l(){o.value=!0}return(f,u)=>(c(),p("div",{class:V(["feed-card-list-fold-box",{"feed-card-list-fold-box--folded":o.value}])},[s("div",{class:"fold-btn",onClick:t},[s("div",fl,S(i.value),1),u[0]||(u[0]=s("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none"},[s("g",null,[s("path",{fill:"currentColor","fill-rule":"evenodd",d:"M9.87 8.73q.105.106.243.162.137.057.286.057.074 0 .146-.014.073-.015.14-.043.07-.028.13-.07.062-.04.114-.092.052-.053.093-.114t.07-.13q.028-.068.042-.14t.015-.147q0-.15-.058-.288-.057-.138-.163-.243l-4.42-4.399q-.052-.052-.114-.093-.061-.04-.13-.069-.068-.028-.14-.042t-.147-.014-.146.015-.14.043q-.069.028-.13.07-.061.04-.113.093L1.07 7.67q-.105.106-.162.243t-.057.286q0 .074.015.147.014.072.042.14t.07.13.093.114.114.093q.06.04.13.07.067.027.14.042.072.014.146.014.15 0 .288-.057.138-.058.244-.164l3.849-3.867z"})])],-1))]),o.value?B("",!0):(c(),J(dl,{key:0,"feed-user-id":f.feedUserId,"fold-set-id":f.foldSetId,"fold-set-type":f.foldSetType,onOnErrorAndEmpty:l},null,8,["feed-user-id","fold-set-id","fold-set-type"]))],2))}}),pl=q(vl,[["__scopeId","data-v-40f5f613"]]),_l={key:0,class:"btn"},ml=Z({__name:"OpenFoldBox",props:{lineHeight:{},lineNumAfterFold:{},contentToWatch:{}},setup(e){const o=e,i=h(null),t=h(null),l=h(!1),f=h(!1);function u(a){f.value=a,a||d()}ct(()=>{o.contentToWatch&&i.value&&t.value&&Ge(()=>{n()}).then()});function d(){if(i.value){const a=i.value.getBoundingClientRect();if(a.top>150)return;const r=a.top+document.body.scrollTop-150;document.body.scrollTo({top:r})}}function n(){i.value&&t.value&&!f.value&&(l.value=t.value.scrollHeight>i.value.offsetHeight)}return(a,v)=>(c(),p("div",{class:V(["open-fold-box",{"open-fold-box--folded":l.value&&!f.value,"open-fold-box--opened":l.value&&f.value}]),style:$e({"--line-height":a.lineHeight+"px","--line-num-after-fold":a.lineNumAfterFold}),ref_key:"outerContainerRef",ref:i},[l.value&&!f.value?(c(),p("div",_l,[v[2]||(v[2]=s("span",{class:"ellipsis-mark"},"...",-1)),s("span",{class:"txt",onClick:v[0]||(v[0]=be(r=>u(!0),["stop"]))},"灞曞紑")])):B("",!0),s("div",{class:"container",ref_key:"innerContainerRef",ref:t},[Ie(a.$slots,"content",{},void 0,!0),l.value&&f.value?(c(),p("div",{key:0,class:"btn",onClick:v[1]||(v[1]=be(r=>u(!1),["stop"]))},"鏀惰捣")):B("",!0)],512)],6))}}),sn=q(ml,[["__scopeId","data-v-1098c787"]]),hl={class:"forward-track-box"},gl={key:0,class:"item-divider forward-item"},yl=Z({__name:"ForwardTrackBox",props:{info:{}},setup(e){const o=e,i=h([]);return Le(()=>{var t;return(t=o.info)==null?void 0:t.content},()=>oe(this,null,function*(){var t,l;if((t=o.info)!=null&&t.content){const f=yield Bn((l=o.info)==null?void 0:l.content);i.value=f}else i.value=[]}),{immediate:!0,deep:!0}),(t,l)=>(c(),p("div",hl,[W(sn,{"line-height":24,"line-num-after-fold":5,"content-to-watch":i.value},{content:de(()=>[(c(!0),p(Y,null,ue(i.value,(f,u)=>(c(),p(Y,null,[u>0?(c(),p("span",gl,"//")):B("",!0),W(Rt,{"text-content-item":f},null,8,["text-content-item"])],64))),256))]),_:1},8,["content-to-watch"])]))}}),bl=q(yl,[["__scopeId","data-v-a01df17e"]]),Il={__name:"TopicContent",props:{isForward:{type:Boolean,default:!1},info:{type:Object,required:!0}},setup(e){Ne();const o=e,i=h([]);return Le(()=>o.info,()=>oe(this,null,function*(){o.info?i.value=yield Tn(o.info):i.value=[]}),{immediate:!0,deep:!0}),(t,l)=>(c(),p("div",{class:V(["topic-content",{"topic-content--forward":e.isForward}])},[W(sn,{"line-height":e.isForward?22:24,"line-num-after-fold":5,"content-to-watch":i.value},{content:de(()=>[W(Rt,{"text-content-item":i.value},null,8,["text-content-item"])]),_:1},8,["line-height","content-to-watch"])],2))}},kl="/s/follow/image/topic_img_z_forward-Bred0ysC.svg",wl="/s/follow/image/topic_link_default_forward-BFlYLQI1.svg",Cl="/s/follow/image/topic_img_small_forward-YdR1z9-k.svg",xl={key:0,class:"content-title"},Al={key:2,class:"linkinfo"},Sl={class:"left"},$l=["src"],Ll={class:"right"},Dl={class:"title"},Bl={class:"source"},Tl=["onClick"],Pl={key:0,class:"indicator-text"},Fl=["src"],El={class:"large-image-modal no-padding"},Hl=["src"],Ul={key:2,class:"count_tip"},Nl={class:"large-image-list-outer"},Ol={key:0,class:"large-image-list"},Ml=["onClick"],Ql=["src"],zl={key:4,class:"video-extend"},jl={class:"video-mark"},ql=Z({__name:"Topic",props:{isforward:{type:Boolean,default:!1},info:{}},setup(e){const o=Ne(),i=e,t=F(()=>{let{coteries:T=null,textLinkInfos:Q=null,linkInfo:_=null,contentMark:I=null,title:P="",topicType:D=0,pics:R=[],picList:te=[],extraInfosNew:ne={},contentLength:ie,content:ee,id:K}=i.info.content;R&&R.length&&te&&te.length==R.length?R.forEach((ve,ye)=>{const _e=te[ye];ve.square=_e.square.picUrl,ve.rectangle=_e.rectangle.picUrl}):R=[];let{auditStatus:fe=-1}=i.info;return{auditStatus:fe,coteries:T,pics:R,textLinkInfos:Q,linkInfo:_,contentMark:I,title:P,extraInfosNew:ne,contentLength:ie,content:ee,id:K,topicType:D}}),l=F(()=>{var T;return((T=i.info.content.contentMark)==null?void 0:T.content)||""}),f=h(!1),u=h(0),d="image-gallery-"+new Date().valueOf()+Math.random()*1e18,n=F(()=>t.value.pics&&t.value.pics.length>0?t.value.pics.length<=9?t.value.pics:t.value.pics.slice(0,9):[]),a=F(()=>t.value.pics.length>9),v=F(()=>t.value.pics.length-9);F(()=>t.value.pics[u.value]);const r=F(()=>u.value>0),g=F(()=>u.valueMath.ceil(t.value.pics.length/9)),m=h(0),b=F(()=>y.value>1&&m.value>0),x=F(()=>y.value>1&&m.valueo.scene>0?2:1);Le(()=>u.value,()=>oe(this,null,function*(){var T,Q,_,I,P,D,R,te,ne,ie,ee,K;(_=(Q=(T=t.value)==null?void 0:T.pics)==null?void 0:Q[u.value])!=null&&_.width&&((D=(P=(I=t.value)==null?void 0:I.pics)==null?void 0:P[u.value])!=null&&D.height)?A.value=`aspect-ratio:${(ne=(te=(R=t.value)==null?void 0:R.pics)==null?void 0:te[u.value])==null?void 0:ne.width}/${(K=(ee=(ie=t.value)==null?void 0:ie.pics)==null?void 0:ee[u.value])==null?void 0:K.height}`:A.value=""}),{immediate:!0});function $(){var Q,_,I,P,D;if(((Q=t.value)==null?void 0:Q.auditStatus)==30)return;let T="";((_=t.value)==null?void 0:_.topicType)==0?T=`//fans.tv.sohu.com/i/topic/detail?id=${(I=t.value)==null?void 0:I.id}`:((P=t.value)==null?void 0:P.topicType)==1&&(T=le.makeTopicUrl({id:(D=t.value)==null?void 0:D.id})),T&&window.open(T,"_blank")}function w(T){var _,I,P,D,R,te,ne,ie,ee,K,fe,ve;let Q="";return(P=(I=(_=t.value)==null?void 0:_.pics)==null?void 0:I[T])!=null&&P.width&&((te=(R=(D=t.value)==null?void 0:D.pics)==null?void 0:R[T])!=null&&te.height)?Q=`object-fit:contain;width:636px;height:${((ee=(ie=(ne=t.value)==null?void 0:ne.pics)==null?void 0:ie[T])==null?void 0:ee.height)*636/((ve=(fe=(K=t.value)==null?void 0:K.pics)==null?void 0:fe[T])==null?void 0:ve.width)}px`:Q="",Q}function U(T){u.value=T,m.value=Math.floor(T/9),f.value=!0}function k(){const T=document.getElementById(d);if(!T)return;const Q=T.getBoundingClientRect();if(Q.top>150)return;const I=Q.top+document.body.scrollTop-80;document.body.scrollTo({top:I})}function C(){f.value=!1,Ge(()=>{k()})}function N(T){if(n.value.length==1){C();return}const Q=T.target.getBoundingClientRect(),_=T.clientX-Q.left;_Q.width*.7?g.value?L():u.value==t.value.pics.length-1&&C():C()}function M(){r.value&&(u.value--,Ge(()=>{k()}))}function L(){g.value&&(u.value++,Ge(()=>{k()}))}function E(T){return T.width/T.height<.4}function z(T){const Q=n.value.length,_=E(n.value[T]);let I=[];if(T==0?(I.push("left-top"),Q==1?(I.push("left-bottom"),I.push("right-top"),I.push("right-bottom")):(Q==3||Q==2)&&I.push("left-bottom")):T==1?Q==2?(I.push("right-top"),I.push("right-bottom")):Q==4&&I.push("right-top"):T==2?Q==3?(I.push("right-top"),I.push("right-bottom")):Q==4?I.push("left-bottom"):Q==5?I.push("right-bottom"):I.push("right-top"):T==3?Q==5||Q==6?I.push("left-bottom"):Q==4&&I.push("right-bottom"):T==4?Q==5&&I.push("right-bottom"):T==5?Q!=9&&Q>=6&&I.push("right-bottom"):T==6?(I.push("left-bottom"),Q==7&&I.push("right-bottom")):T==7?Q!=9&&I.push("right-bottom"):T==8&&(I.push("right-bottom"),a.value&&I.push("last-remain")),_&&I.push("big"),Q==1){const P=n.value[0],D=(P==null?void 0:P.width)||0,R=(P==null?void 0:P.height)||0;D>R?I.push("single-heng"):I.push("single-shu")}return I.join(" ")}function H(T){return T===4?2:T==1?1:3}function ce(T){u.value=T,Ge(()=>{k()})}function j(){x&&(m.value=m.value+1)}function ge(){b&&(m.value=m.value-1)}return(T,Q)=>{var P,D,R,te,ne,ie;const _=ke("lazyload"),I=ke("pb");return c(),p("div",{class:V(["topic-wrap",T.isforward?"forwardTopic":""]),onClick:$},[t.value.title?(c(),p("div",xl,S(t.value.title),1)):B("",!0),t.value?(c(),J(Il,{key:1,class:"topic-content",info:t.value,"is-forward":T.isforward},null,8,["info","is-forward"])):B("",!0),t.value.linkInfo?(c(),p("div",Al,[s("div",Sl,[X(s("img",{class:"post-img",src:T.isforward?se(wl):se($n),onerror:"this.onerror=null; this.src='https://kimg01.youju.sohu.com/imagetextlQLPJxgQw-9YOxDMw8zDsIRLTSbZLZDnBNxzRvgATwA_195_195.png';"},null,8,$l),[[_,(P=t.value.linkInfo)==null?void 0:P.coverUrl]])]),s("div",Ll,[s("div",Dl,S((D=t.value.linkInfo)==null?void 0:D.title),1),s("div",Bl,S((R=t.value.linkInfo)==null?void 0:R.from),1)])])):B("",!0),(te=t.value)!=null&&te.pics&&((ie=(ne=t.value)==null?void 0:ne.pics)==null?void 0:ie.length)>0?(c(),p("div",{key:3,class:"image-gallery no-select",id:d},[X(s("div",{class:V(["grid-container",`cols-${H(n.value.length)}`])},[(c(!0),p(Y,null,ue(n.value,(ee,K)=>X((c(),p("div",{key:ee.id||K,class:V(["grid-item",z(K)]),onClick:be(fe=>U(K),["stop"]),"data-pb-txid":"user_pic_click"},[K===8&&a.value?(c(),p("span",Pl,"+"+S(v.value),1)):B("",!0),Q[0]||(Q[0]=s("span",{class:"long-image-indicator"},"闀垮浘",-1)),X(s("img",{src:se(At),class:"thumbnail-image"},null,8,Fl),[[_,n.value.length>1?ee.square:ee.picUrl]])],10,Tl)),[[I,{memo:{from:O.value}},void 0,{click:!0}]])),128))],2),[[me,!f.value]]),X(s("div",El,[s("div",{class:"large-image-view",onClick:be(N,["stop"])},[(c(!0),p(Y,null,ue(t.value.pics,(ee,K)=>X((c(),p("img",{class:"full-screen-image",key:K,src:T.isforward?se(kl):se(At),style:$e(w(K))},null,12,Hl)),[[me,K==u.value],[_,ee.picUrl]])),128)),r.value?(c(),p("div",{key:0,class:"nav-button prev",onClick:be(M,["stop"])})):B("",!0),g.value?(c(),p("div",{key:1,class:"nav-button next",onClick:be(L,["stop"])})):B("",!0),t.value.pics.length>1?(c(),p("span",Ul,S(u.value+1)+"/"+S(t.value.pics.length),1)):B("",!0)]),s("div",Nl,[t.value.pics.length>1?(c(),p("div",Ol,[s("div",{class:V(["large-image-list-wrap",`list-pos-${m.value}`])},[(c(!0),p(Y,null,ue(t.value.pics,(ee,K)=>(c(),p("div",{key:ee.id||K,class:V(["large-image-list-item",u.value==K?"current":""]),onClick:be(fe=>ce(K),["stop"])},[X(s("img",{src:T.isforward?se(Cl):se(Ln),class:"large-image-small"},null,8,Ql),[[_,ee.square]])],10,Ml))),128))],2)])):B("",!0),b.value?(c(),p("div",{key:1,class:"small-btn prev-small-btn",onClick:be(ge,["stop"])})):B("",!0),x.value?(c(),p("div",{key:2,class:"small-btn next-small-btn",onClick:be(j,["stop"])})):B("",!0)])],512),[[me,f.value]])])):B("",!0),l.value?(c(),p("div",zl,[s("div",jl,[W(qt),s("span",null,S(l.value),1)])])):B("",!0)],2)}}}),$t=q(ql,[["__scopeId","data-v-c21395ed"]]),Rl={},Vl={class:"deleted-placeholder"};function Xl(e,o){return c(),p("div",Vl,o[0]||(o[0]=[s("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg",width:"44",height:"29",fill:"none"},[s("path",{fill:"#888A8E","fill-rule":"evenodd",d:"M6.114 0H4a4 4 0 0 0-4 4v21a4 4 0 0 0 4 4h19.594L12.776 17.66l3.057-1.993-7.37-7.054 4.019-3.002zm19.023 29-6.671-12.004 3.458-2.496-6.574-6.37 3.116-1.677L13.056 0h17.277a4 4 0 0 1 4 4v3.734L39.28 4.27c1.988-1.392 4.72.03 4.72 2.458v15.543c0 2.427-2.732 3.849-4.72 2.457l-4.947-3.462V25a4 4 0 0 1-4 4z",style:{opacity:"0.25"}})],-1),s("div",{class:"txt"},"婧愬唴瀹瑰凡琚垹闄",-1)]))}const Jl=q(Rl,[["render",Xl],["__scopeId","data-v-4610234a"]]),an=/\/cut@m=[a-z]+,w=[0-9]*,h=[0-9]*/,vt=/\/c_pad,w_[0-9]*,h_[0-9]*,blur_80/,pt=/\/c_lfill,w_[0-9]*,h_[0-9]*,g_faces/,Yl=/_h|_o/,Zl=/_h/,Lt=/\d{3}\.img\.pu\.sohu\.com\.cn/;function Gl(e){const o=e.match(Lt);let i="";return o&&(i=e.replace(Lt,"e3f49eaa46b57.cdn.sohucs.com/o_convert,f_webp")),i}function Kl(e,o,i){if(e){e=e.replace(an,"");const t="/cut@m=force,w="+o+",h="+i+".",l=e.split(".");return e.replace("."+l[l.length-1],t+l[l.length-1])}else return e}function Wl(e,o,i){if(e){e=e.replace(vt,"");const t="/c_pad,w_"+o+",h_"+i+",blur_80",l=e.split("e3f49eaa46b57.cdn.sohucs.com");return"https://e3f49eaa46b57.cdn.sohucs.com"+t+l[1]}else return e}function er(e,o,i){if(e){e=e.replace(pt,"");const t="/c_lfill,w_"+o+",h_"+i+",g_faces",l=e.split("photocdn.tv.sohu.com/img");return"https://photocdn.tv.sohu.com/img"+t+l[1]}else return e}function tr(e,o,i){return e&&(e.indexOf(".img.pu.sohu.com.cn/group")!==-1?Kl(e,o,i):e.indexOf("e3f49eaa46b57.cdn.sohucs.com")!==-1?Wl(e,o,i):e.indexOf("photocdn.tv.sohu.com/img")!==-1?er(e,o,i):ln(e))}function nr(e){try{if(e&&e.indexOf("e3f49eaa46b57.cdn.sohucs.com")!==-1)return e.replace(vt,"");if(e&&e.indexOf("photocdn.tv.sohu.com/img")!==-1)return e.replace(pt,"");if(e&&e.match(Zl))return e.replace(Yl,"")}catch(o){}return e}function or(e){return e&&(e=e.replace(an,"")),e}function sr(e){return e&&(e=e.replace(vt,"")),e}function ir(e){return e&&(e=e.replace(pt,"")),e}function ln(e){try{if(e)return e.indexOf(".img.pu.sohu.com.cn/group")!==-1&&(e=or(e)),e.indexOf("e3f49eaa46b57.cdn.sohucs.com")!==-1?sr(e):e.indexOf("photocdn.tv.sohu.com/img")!==-1?ir(e):e}catch(o){}return e}const ar={convertToWebp:Gl,getOriginalCover:nr,getBigCover:ln,converURL:tr},lr={class:"content"},rr={class:"broad-extend"},cr=["src"],ur={class:"board-info-videocount"},dr={class:"video-num"},fr={class:"video-txt"},vr={class:"broad-right"},pr=Z({__name:"BroadListCard",props:{info:{},isForward:{type:Boolean}},setup(e){const o=e,i=F(()=>{var v,r;return(r=(v=o.info)==null?void 0:v.content)==null?void 0:r.content_broadlist}),t=F(()=>{var v;return!!((v=i.value)!=null&&v.content_video)}),l=F(()=>{var v,r;return((v=i.value)==null?void 0:v.mediaType)==0?"瑙嗛":((r=i.value)==null?void 0:r.mediaType)==1?"闊抽":"瑙嗛"}),f=F(()=>t.value?le.makeVideoUrlPC(o.info.content):""),u=F(()=>{var v;return(v=i.value)==null?void 0:v.videoCount}),d=F(()=>{var r,g,y,m;const v=((r=i.value)==null?void 0:r.coverurlNew)||((g=i.value)==null?void 0:g.coverurlNewVer)||((y=i.value)==null?void 0:y.cutCoverUrl)||((m=i.value)==null?void 0:m.coverurlNew);return ar.converURL(v,160,90)}),n=F(()=>{var v;return(v=i.value)==null?void 0:v.title}),a=()=>{const v=f.value;v&&window.open(v,"_blank")};return(v,r)=>(c(),p("div",{class:V(["broadcard",{"broadcard-forward":o.isForward}])},[s("div",lr,[t.value?(c(),J(dt,{key:0,info:v.info},null,8,["info"])):B("",!0),s("div",rr,[s("p",{class:V(["broad-left",{link:f.value}]),onClick:a},[d.value?(c(),p("img",{key:0,class:"broad-left-pic",src:d.value},null,8,cr)):B("",!0),s("span",ur,[s("strong",dr,S(u.value),1),s("span",fr,S(l.value),1),r[0]||(r[0]=s("span",{class:"video-icon"},null,-1))])],2),s("p",vr,[s("span",{class:V(["broad-right-title",{link:f.value}]),onClick:a},S(n.value),3)])])])],2))}}),Dt=q(pr,[["__scopeId","data-v-8ad04130"]]),_r={class:"forward-content-user-info"},mr=["alt"],hr={class:"right"},gr={class:"follow-box"},yr=Z({__name:"ForwardContentUserInfo",props:{info:{}},setup(e){const o=Ne(),i=e;function t(){var l,f;if((l=i.info)!=null&&l.uid){const u=document.createElement("a");u.target="_blank",u.href=le.makeAuthorHomeUrl({uid:(f=i.info)==null?void 0:f.uid}),u.click()}}return(l,f)=>{const u=ke("lazyload");return c(),p("div",_r,[s("div",{class:"avatar",onClick:t},[X(s("img",{src:"//photocdn.tv.sohu.com/img/20250320/pic_org_89c25496-d9cc-4c85-bd8f-af973981f66e.png",alt:l.info.nickname},null,8,mr),[[u,l.info.smallphoto]])]),s("div",{class:"name",onClick:t},S(l.info.nickname),1),s("div",hr,[s("div",gr,[W(Ut,{followStatus:l.info.followStatus,isFollow:l.info.isFollow,uid:l.info.uid,from:se(o).scene==0?1:2,type:"hollowadd"},null,8,["followStatus","isFollow","uid","from"])])])])}}}),br=q(yr,[["__scopeId","data-v-bb3e0cf0"]]),Ir=["data-pb-txid"],kr={class:"feed-card__forward-content"},wr={key:1,class:"feed-card__normal-content"},Cr=Z({__name:"FeedCard",props:{item:{}},setup(e){const o=e,i=De(),t=Ne();function l(n){var a,v,r,g;return i.userInfo?String((a=i.userInfo)==null?void 0:a.id)===String((g=(r=(v=n.content)==null?void 0:v.forward_source_info)==null?void 0:r.userInfo)==null?void 0:g.uid):!1}const f=F(()=>t.scene===1),u=F(()=>f.value?"personalpage_module_content":"focus_stream_content_in");function d(){var r,g,y,m,b,x,A,O;const n={feedType:o.item.type,userId:(r=o.item.userInfo)==null?void 0:r.uid};f.value&&(n.tab=1);let a;function v($){var w,U,k,C,N,M,L,E,z,H,ce,j,ge,T,Q;switch($.type){case 1:{a=(U=(w=$.content)==null?void 0:w.content_video)==null?void 0:U.vid;break}case 4:{n.tid=(k=$.content)==null?void 0:k.id;break}case 8:{n.roomid=(N=(C=$.content)==null?void 0:C.content_live)==null?void 0:N.roomId,n.streamName=(L=(M=$.content)==null?void 0:M.content_live)==null?void 0:L.streamName;break}case 9:{a=(z=(E=$.content)==null?void 0:E.content_video)==null?void 0:z.vid;break}case 12:break;case 17:{a=(j=(ce=(H=$.content)==null?void 0:H.content_broadlist)==null?void 0:ce.content_video)==null?void 0:j.vid,n.broadListId=(T=(ge=$.content)==null?void 0:ge.content_broadlist)==null?void 0:T.bid;break}case 19:{n.scheduleId=(Q=$.content)==null?void 0:Q.scheduleId;break}}}if(o.item.type===11){n.forwardType=(y=(g=o.item.content)==null?void 0:g.forward_source_info)==null?void 0:y.type,n.forwarduserid=(x=(b=(m=o.item.content)==null?void 0:m.forward_source_info)==null?void 0:b.userInfo)==null?void 0:x.uid,n.forwardCount=(A=o.item.content)==null?void 0:A.forwardCount;const $=(O=o.item.content)==null?void 0:O.forward_source_info;$&&v($)}else v(o.item);return{memo:n,vid:a}}return(n,a)=>{const v=ke("pb");return c(),J(Gi,{class:V(["feed-card",{"feed-card--with-fold-box":n.item.foldSetStatus===1}]),info:n.item},Et({body:de(()=>{var r,g,y,m,b,x,A,O,$,w,U,k,C,N,M,L,E,z,H,ce,j,ge,T,Q;return[X((c(),p("div",{class:"body-content","data-pb-txid":u.value},[n.item.type===11?(c(),p(Y,{key:0},[W(bl,{info:n.item,class:"forward-track-box"},null,8,["info"]),s("div",kr,[((r=n.item.content)==null?void 0:r.sourceStatus)===-1?(c(),J(Jl,{key:0})):((y=(g=n.item.content)==null?void 0:g.forward_source_info)==null?void 0:y.plevel)===3&&!l(n.item)?(c(),J(Ea,{key:1})):(c(),p(Y,{key:2},[(x=(b=(m=n.item.content)==null?void 0:m.forward_source_info)==null?void 0:b.userInfo)!=null&&x.uid?(c(),J(br,{key:0,class:"forward-content__user-info",info:(O=(A=n.item.content)==null?void 0:A.forward_source_info)==null?void 0:O.userInfo},null,8,["info"])):B("",!0),((w=($=n.item.content)==null?void 0:$.forward_source_info)==null?void 0:w.type)===1||((k=(U=n.item.content)==null?void 0:U.forward_source_info)==null?void 0:k.type)===8||((N=(C=n.item.content)==null?void 0:C.forward_source_info)==null?void 0:N.type)===9?(c(),J(dt,{key:1,info:(M=n.item.content)==null?void 0:M.forward_source_info,feedId:n.item.feedId,"is-forward":""},null,8,["info","feedId"])):B("",!0),((E=(L=n.item.content)==null?void 0:L.forward_source_info)==null?void 0:E.type)===17?(c(),J(Dt,{key:2,info:(z=n.item.content)==null?void 0:z.forward_source_info,"is-forward":""},null,8,["info"])):B("",!0),((ce=(H=n.item.content)==null?void 0:H.forward_source_info)==null?void 0:ce.type)===19?(c(),J(St,{key:3,info:(j=n.item.content)==null?void 0:j.forward_source_info,"is-forward":""},null,8,["info"])):B("",!0),((T=(ge=n.item.content)==null?void 0:ge.forward_source_info)==null?void 0:T.type)===4?(c(),J($t,{key:4,info:(Q=n.item.content)==null?void 0:Q.forward_source_info,isforward:!0},null,8,["info"])):B("",!0)],64))])],64)):(c(),p("div",wr,[n.item.type===1||n.item.type===8||n.item.type===9?(c(),J(dt,{key:0,info:n.item,feedId:n.item.feedId},null,8,["info","feedId"])):B("",!0),n.item.type===17?(c(),J(Dt,{key:1,info:n.item},null,8,["info"])):B("",!0),n.item.type===19?(c(),J(St,{key:2,info:n.item},null,8,["info"])):B("",!0),n.item.type===4?(c(),J($t,{key:3,info:n.item},null,8,["info"])):B("",!0)]))],8,Ir)),[[v,d(),void 0,{clickCapture:!0,impress:!0}]])]}),_:2},[n.item.foldSetStatus===1?{name:"fold-box",fn:de(()=>[W(pl,{"feed-user-id":n.item.feedUserId,"fold-set-id":n.item.foldSetId,"fold-set-type":n.item.foldSetType,onClick:a[0]||(a[0]=be(()=>{},["stop"]))},null,8,["feed-user-id","fold-set-id","fold-set-type"])]),key:"0"}:void 0]),1032,["class","info"])}}}),xr=q(Cr,[["__scopeId","data-v-e4b41e92"]]);export{On as F,Vt as a,xr as b,rl as c};