"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1211],{8800:(e,n,t)=>{t.d(n,{PT:()=>o,bg:()=>l});var r=t(99789),a=t.n(r);const c={[-1]:-1,0:0,1:1,2:2,4:3};function o(e,n={}){var t;const r=a()(e,"user","reply_comment");return r.user=null!==(t=e.user.unique_id)&&void 0!==t?t:"",!e.reply_comment||n.ignoreReply?[r]:[r,...e.reply_comment.reduce(((e,n)=>(o(n).forEach((n=>{e.push(n)})),e)),[])]}function s(e){var n,t;return null!==(t=null===(n=null==e?void 0:e.url_list)||void 0===n?void 0:n.find((e=>!/\.webp/.test(e))))&&void 0!==t?t:""}function i({is_block:e,is_blocked:n,follow_status:t,follower_status:r}){if(null!=t)return e?4:n?5:0===t&&1===r?6:c[t]}function l(e,n){const{avatar_larger:t,avatar_medium:r,avatar_thumb:a,uid:c,short_id:o,unique_id:l,sec_uid:_,room_id:d,nickname:h,is_block:u,is_blocked:f,follow_status:m,signature:p,show_favorite_list:v,custom_verify:g,enterprise_verify_reason:S,comment_setting:k,duet_setting:w,is_ad_fake:E,is_private_account:b,secret:C,show_secret_banner:y,stitch_setting:O,follower_status:A}=e;return{avatarLarger:s(t),avatarMedium:s(r),avatarThumb:s(a),id:c,shortId:o,uniqueId:null!=l?l:"",secUid:null!=_?_:"",roomId:d?String(d):void 0,nickname:h,relation:i({is_block:u,is_blocked:f,follow_status:m,follower_status:A}),signature:p,openFavorite:v,verified:Boolean(g||S),commentSetting:k,duetSetting:w,stitchSetting:O,isADVirtual:E,privateAccount:Boolean(b)||Boolean(C),secret:Boolean(C),createTime:0,showPrivateBanner:Boolean(y),extraInfo:Object.assign({followerStatus:A},n)}}},22573:(e,n,t)=>{t.d(n,{EG:()=>r,Vj:()=>a});const r="fyp_live_preview_265",a="live_survey_open"},49473:(e,n,t)=>{t.d(n,{$l:()=>o,AF:()=>s,GH:()=>u,gc:()=>h});var r=t(97086),a=t(58305);const c='video/mp4;codecs="hev1.1.6.L93.B0"';function o(e){return[3,4,31].includes(e)}function s(){return!(0,r.fU)()&&("undefined"!=typeof MediaSource&&!(!MediaSource.isTypeSupported(c)||"probably"!==document.createElement("video").canPlayType(c)))}const i="hevc_support_key_v4",l="hevc_support_key_time",_=12096e5;let d;function h(){if((0,r.fU)())return!1;if(void 0!==d)return d;const e=(0,a._S)(i,""),n=Number((0,a._S)(l,"0"));return Date.now()-n>_||""===e?(d=s(),(0,a.AP)(i,d?"1":"0"),(0,a.AP)(l,String(Date.now())),d&&navigator.mediaCapabilities.decodingInfo({type:"file",video:{contentType:c,width:1920,height:1080,bitrate:1e4,framerate:30}}).then((({supported:e})=>{d=e,(0,a.AP)(i,e?"1":"0")})).catch((e=>console.error(e))),d):"1"===e}function u(){(0,a.AP)(i,"0"),(0,a.AP)(l,String(Date.now())),d=!1}},60144:(e,n,t)=>{t.d(n,{A:()=>l});var r=t(40099),a=t(49057),c=t(71281),o=t(49473),s=t(97086),i=t(22573);function l(){const e=(0,a.W)((()=>["abTestVersion"]),[]),n=(0,r.useMemo)((()=>(0,o.gc)()),[]),t=(0,r.useMemo)((()=>{var t;return(0,s.fU)()?"web_h264":"v1"===(null!==(t=(0,c.V7)(null==e?void 0:e.abTestVersion,i.EG))&&void 0!==t?t:"v0")&&n?"web_h265":"web_h264"}),[null==e?void 0:e.abTestVersion,n]);return{openH265:"web_h265"===t,streamDeviceType:t,hevcSupport:n}}},46705:(e,n,t)=>{t.d(n,{Q:()=>d});var r=t(58632),a=t(64162),c=t(4126),o=t(93995),s=t(26324),i=t(62564),l=t(93341),_=t(34360);let d=class extends a.E{constructor(){super(...arguments),this.defaultState=(0,l.$V)()}updateVideo(e){return e.pipe((0,i.T)((e=>((0,l.LM)().updateVideo(e),this.noop()))))}};d.jotaiAtom=l.yA,(0,r.__decorate)([(0,c.Mj)(),(0,r.__metadata)("design:type",Function),(0,r.__metadata)("design:paramtypes",[s.c]),(0,r.__metadata)("design:returntype",void 0)],d.prototype,"updateVideo",null),d=(0,r.__decorate)([(0,o.n)("VideoPlayerJotai")],d),l.yA.__SIGI_MODULE__=d,(0,_.y)(d)},65365:(e,n,t)=>{t.d(n,{$G:()=>k});var r,a,c,o,s,i,l,_,d,h,u,f,m,p,v,g,S=t(93608);!function(e){e.ClickEnter="click_enter",e.ClickIcon="click_icon",e.ClickViewAll="click_view_all",e.ClickSearch="homepage_click_search",e.ClickMoreGeneralList="click_more_general_list",e.ClickSearchResult="click_search_result",e.SearchHistory="search_history",e.RecomSearch="recom_search",e.ManagePersonalise="manage_personalise"}(r||(r={})),function(e){e.Hot="hot",e.Sav="top",e.Music="music",e.SearchBar="search_bar_outer",e.ExploreAll="explore_all"}(a||(a={})),function(e){e.EnrichSug="enrich_sug",e.NormalSug="normal_sug"}(c||(c={})),function(e){e.User="user",e.Video="video",e.General="general",e.Live="live"}(o||(o={})),function(e){e.SearchHistory="search_history",e.SearchSug="search_sug",e.NormalSearch="normal_search",e.SearchRecom="search_recommend"}(s||(s={})),function(e){e.RecomSearchFeedback="recom_search_feedback"}(i||(i={})),function(e){e.RecomSearch="recom_search",e.SearchHistory="search_history",e.videoTitleChallenge="video_title_challenge",e.NormalSearch="normal_search",e.SearchOuter="search_outer",e.SwitchTab="switch_tab",e.ClickMoreGeneralList="click_more_general_list",e.SearchSug="search_sug",e.DefaultSearchKeyword="default_search_keyword",e.CommentRelatedSearch="comment_related_search",e.CommentHighlightedWords="comment_highlighted_words",e.RelatedSearch="related_search"}(l||(l={})),function(e){e.Sug="sug",e.RecomSearch="recom_search",e.SearchBar="related_search_anchor_v2",e.CommentRelatedSearch="comment_related_search",e.CommentHighlightedWords="comment_highlighted_words",e.RelatedSearch="related_search",e.ExploreAll="explore_all"}(_||(_={})),function(e){e.Tag="tag",e.Person="person",e.LiveCard="live_card",e.HotUser="hot_user"}(d||(d={})),function(e){e.ClickIntoLive="click_into_live",e.ClickInfo="click_info",e.ClickClose="click_close",e.ClickBlankSpace="click_blank_space",e.ClickDone="click_done"}(h||(h={})),function(e){e.Report="report",e.NotRelevant="not_relevant",e.Close="close"}(u||(u={})),function(e){e.Show="show",e.ShowAll="show_all",e.Click="click",e.Clear="clear",e.ClearAll="clear_all"}(f||(f={})),function(e){e.Enter="enter",e.Cancel="cancel"}(m||(m={})),function(e){e.NotInterested="Not interested",e.UnrelatedContent="Unrelated content",e.InappropriateContent="Inappropriate content",e.Others="others",e.Cancel="cancel"}(p||(p={})),function(e){e[e.OnToOff=1]="OnToOff",e[e.OffToOn=2]="OffToOn",e[e.RemainOff=3]="RemainOff",e[e.RemainOn=4]="RemainOn"}(v||(v={})),function(e){e.On="on",e.Off="off"}(g||(g={}));const k={handleSugClick:e=>{S.f.sendEvent("trending_words_click",e)},handleSugImpression:e=>{S.f.sendEvent("trending_words_show",e)},handleSugGroupImpression:e=>{S.f.sendEvent("trending_show",e)},handleSearchEntry:e=>{S.f.sendEvent("enter_search",e)},handleSearchImpression:e=>{S.f.sendEvent("search_result_show",Object.assign({token_type:"person"},e))},handleSearchVideoImpression:e=>{S.f.sendEvent("search_result_show_video",Object.assign({},e))},handleSearch:e=>{S.f.sendEvent("search",Object.assign(Object.assign({},e),{is_success:1}))},handleSearchResultClick:e=>{S.f.sendEvent("search_result_click",Object.assign({},e))},handleSearchSessionFinish:e=>{S.f.sendEvent("search_session_finish",e)},handleSearchResultEmpty:e=>{S.f.sendEvent("empty_search",Object.assign({},e))},handleClickSearch:({target:e="homepage_click_search"})=>{S.f.sendEvent("click_search",{target:e})},handleEnterSearchPage:({enter_method:e="homepage_click_search"})=>{S.f.sendEvent("enter_search_page",{enter_method:e})},handleEnterSearchBlankPage:e=>{S.f.sendEvent("enter_search_blankpage",e)},handleSearchHistory:e=>{S.f.sendEvent("search_history",e)},handleTrendingWordsShow:e=>{S.f.sendEvent("trending_words_show",e)},handleTrendingWordsClick:e=>{S.f.sendEvent("trending_words_click",e)},handleTrendingShow:e=>{S.f.sendEvent("trending_show",e)},handleCommentRelatedSearchBoardShow:e=>{S.f.sendEvent("comment_related_search_board_show",e)},handleCommentRelatedSearchBoardClick:e=>{S.f.sendEvent("comment_related_search_board_click",e)},handleSugReportConfirm:e=>{S.f.sendEvent("sug_report_confirm",e)},handleSugReportLaunch:e=>{S.f.sendEvent("sug_report_launch",e)},handleChallengeTitleClick:e=>{S.f.sendEvent("challenge_title_click",e)},handleClickSearchFeedback:e=>{S.f.sendEvent("click_search_feedback",e)},handleSearchTextSubmit:e=>{S.f.sendEvent("search_text_submit",e)},handleSearchFeedbackStatus:e=>{S.f.sendEvent("search_feedback_status",e)},handleManageSearchPopupShow:e=>{S.f.sendEvent("manage_search_popup_show",e)},handleManageSearchPopupClick:e=>{S.f.sendEvent("manage_search_popup_click",e)}}}}]);