/*! For license information please see client-entry~6.cdd17691.js.LICENSE.txt */ "use strict";!function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,i=1,n=arguments.length;i/g,a=/&#([a-zA-Z0-9]*);?/gim,l=/"/g,s=/:?/gim,d=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,c=/u\s*r\s*l\s*\(.*/gi,_=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,m=/"/g,f=function(e){return e.replace(r,"<").replace(o,">")},p={indexOf:function(e,t){var i,n;for(i=0,n=e.length;i127&&n<2048?t+=String.fromCharCode(n>>6|192)+String.fromCharCode(63&n|128):t+=String.fromCharCode(n>>12|224)+String.fromCharCode(n>>6&63|128)+String.fromCharCode(63&n|128)}return t}(e);u>2,o=(3&t)<<4|(i=e.charCodeAt(u++))>>4,a=(15&i)<<2|(n=e.charCodeAt(u++))>>6,l=63&n,isNaN(i)?a=l=64:isNaN(n)&&(l=64),d=d+s.charAt(r)+s.charAt(o)+s.charAt(a)+s.charAt(l);return d}function w(e){var t,i,n,r,o,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",d=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");d>4,i=(15&r)<<4|(o=l.indexOf(e.charAt(d++)))>>2,n=(3&o)<<6|(a=l.indexOf(e.charAt(d++))),s+=String.fromCharCode(t),64!==o&&(s+=String.fromCharCode(i)),64!==a&&(s+=String.fromCharCode(n));return function(e){for(var t="",i=0,n=0,r=0,o=0;i191&&n<224?(t+=String.fromCharCode((31&n)<<6|63&(o=e.charCodeAt(i+1))),i+=2):(o=e.charCodeAt(i+1),t+=String.fromCharCode((15&n)<<12|(63&o)<<6|63&(r=e.charCodeAt(i+2))),i+=3);return t}(s)}function y(e,t,i){var n="",r=0,o=!1,a=!1,l=0,s=e.length,d="",u="";e:for(l=0;l"===c||l===s-1){n+=i(e.slice(r,o)),d=function(e){var t,i=p.spaceIndex(e);return t=-1===i?e.slice(1,-1):e.slice(1,i+1),"/"===(t=p.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(u=e.slice(o,l+1)),n+=t(o,n.length,d,u,"0;t--){var i=e[t];if(" "!==i)return"="===i?t:-1}return -1}(e,d-1))){s(a,h(p.trim(e.slice(i,d)))),a=!1,i=d+1;continue}}}else{if(-1===(c=e.indexOf(u,d+1)))break;s(a,p.trim(e.slice(r+1,c))),a=!1,i=(d=c)+1}}else a=e.slice(i,d),i=d+1,r='"'===e.charAt(i)||"'"===e.charAt(i)?i:function(e,t){for(;te.charCodeAt(i)?" ":e.charAt(i);return p.trim(t)}(e=(e=(e=e.replace(l,'"')).replace(a,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(s,":").replace(d," "))}(i),"href"===t||"src"===t){if("#"===(i=p.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===t){if(u.lastIndex=0,u.test(i))return""}else if("style"===t&&(_.lastIndex=0,_.test(i)||(c.lastIndex=0,c.test(i)&&(u.lastIndex=0,u.test(i)))))return"";return i=function(e){return e=f(e=e.replace(m,"""))}(i)}var b=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},E=function(){function e(e){var t=function(e){var t={};for(var i in e)t[i]=e[i];return t}(e||{});t.stripIgnoreTag&&(t.onIgnoreTag,t.onIgnoreTag=function(){return""}),t.whiteList={},t.onTag=function(){},t.onTagAttr=function(){},t.onIgnoreTag=function(){},t.onIgnoreTagAttr=function(){},t.safeAttrValue=C,t.escapeHtml=f,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,i,n,r,o,a,l=this.options,s=l.whiteList,d=l.onTag,u=l.onIgnoreTag,c=l.onTagAttr,_=l.onIgnoreTagAttr,m=l.safeAttrValue,f=l.escapeHtml;l.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),l.allowCommentTag||(e=function(e){for(var t="",i=0;i");var l=function(e){var t=p.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=p.trim(e.slice(t+1,-1)))[e.length-1];return i&&(e=p.trim(e.slice(0,-1))),{html:e,closing:i}}(n),v=s[i],h=S(l.html,function(e,t){var n=-1!==p.indexOf(v,e),r=c(i,e,t,n);return null==r?n?(t=m(i,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(r=_(i,e,t,n))?void 0:r:r});return n="<".concat(i),h&&(n+=" ".concat(h)),l.closing&&(n+=" /"),n+=">"}return null==(a=u(i,n,o))?f(n):a},f);return v&&(h=v.remove(h)),h},e}(),k=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),T=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,i,n="douyin_web";if(!p.includes(n,"bid"))return n;if(e.config&&e.config.bid)return e.config.bid;if(k&&k._xssBid)return k._xssBid;if(k&&k.slardar&&"function"==typeof k.slardar.config){var r=(k.slardar.config()||{}).bid;if(r)return r}if(k&&k.Slardar&&"function"==typeof k.Slardar.config){var o=(k.Slardar.config()||{}).bid;if(o)return o}return(null===(i=null===(t=null==k?void 0:k.Slardar)||void 0===t?void 0:t._baseParams)||void 0===i?void 0:i.bid)||"argus"},this.getConfigRegion=function(){var t;return p.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==k?void 0:k.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:w("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:w("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:w("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var i=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),k.fetch(t,{method:"post",body:JSON.stringify(i),headers:{"Content-Type":"application/json"}}).catch(function(e){}),e.lock=!1,e.upload()},this.timeout))},e.prototype.generateKey=function(e){return e.collectKey?[e.collectMode,e.collectKey].join("___"):""},e.prototype.push=function(e){this.batchData.push(e),this.upload()},e.prototype.report=function(e){var t=this.generateKey(e);if(k.fetch&&e.collectKey){var i="object"==typeof window?window.location.href:"SSR";e.documentUrl=i;var n={age:Math.floor(Date.now()),type:"xss",url:i,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==i||(n.url=t),"SSR"===i&&(n.url="SSR___".concat(n.url),n.body.ssr=!0),this.push(n)}},e}()),N=function(e){for(var t=0,i=function(i){Array.isArray(e[i])?0===e[i].length?delete e[i]:(e[i]=p.from(p.uniq(e[i])),t+=e[i].length):0===p.keys(e[i]).length?delete e[i]:p.keys(e[i]).forEach(function(n){e[i][n]=p.from(p.uniq(e[i][n])),t+=e[i][n].length})},n=0,r=p.keys(e);n0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var r=e.slice(11).replace(/\s/g,"").trim();return!!p.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===r})||(t&&t("javascript:"),!1)}return!0}var L=function(e,t){var i,n,r="<%= isSaveValidUrl =>";if("string"!=typeof e||(n=Number("<%= urlLimit =>"),void 0!==i&&(n=i),"NaN"!==e.toString()&&-1!==n&&e.length>=n)||A(e,t))return e;try{if(!0===(r=JSON.parse(r))||"true"===r){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function M(e,t,n){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!A(e=P(e)))return!1;var r,o={url:(r=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:r[1],slash:r[2],host:r[3],port:r[4],path:r[5],query:r[6],hash:r[7]},a=o.scheme,l=o.host;return n?!!n(e):!(!a||!l)&&(!p.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=i(i([],t,!0),[location.host],!1)),p.some(t,function(e){return!!(e instanceof RegExp&&e.test(l))||e===l})))}var R={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},D={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=N(this.collect),t=e.count,i=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(i),collectMode:"white"}},onIgnoreTagAttr:function(e,t,n){return e&&p.indexOf(["href","src"],t)>-1?D.domainWhiteList&&Array.isArray(D.domainWhiteList)&&D.domainWhiteList.length>0&&!M(n,i([],D.domainWhiteList,!0))?"":"".concat(t,'="').concat(L(n,function(e){var t;null===(t=D.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(p.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(n,'"'):(D.collect.whiteList[e]=D.collect.whiteList[e]||[],void D.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;y(t,function(e,t,i,n){S(x(n).html.replace("/",""),function(e){D.collect.whiteList[i]=D.collect.whiteList[i]||[],D.collect.whiteList[i].push(e)})},f)},whiteList:R,mergeWhiteList:function(e){for(var t,i={},n=0,r=p.keys(R);n");var o=x(n),a=S(o.html,function(e,t){var n,r=0;if(j.blackList[i]&&p.includes(j.blackList[i],e)&&(B.collect.blackList[i]=B.collect.blackList[i]||[],B.collect.blackList[i].push(e),r++),j.blackAttrRegExps.length&&j.blackAttrRegExps.some(function(t){return t.test(e)})&&p.forEach(j.blackAttrRegExps,function(t){t.test(e)&&(B.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),r++)}),j.blackAttrs.length&&p.includes(j.blackAttrs,e)&&(j.blackAttrs.push(e),r++),!r){if(j.filterList&&j.filterList[i]&&p.includes(j.filterList[i],e)){var o=L(t,function(e){var t;null===(t=B.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(B.collect.filterList[i]=B.collect.filterList[i]||[],B.collect.filterList[i].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return j.filterAttrs&&p.includes(j.filterAttrs,e)?((o=L(t,function(e){var t;null===(t=B.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(n=B.collect)||void 0===n||n.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return n="<".concat(i),a&&(n+=" ".concat(a)),o.closing&&(n+=" /"),n+=">"},f);null===(i=B.collect)||void 0===i||i.blackTags.push(e)}},H=function(e){var t=e.reportOnly,i=void 0===t||t,n=e.block;return i&&"all"===i?"report":("string"==typeof i&&("true"===i&&(i=!0),"false"===i&&(i=!1)),n?"enforce":i?"report":"enforce")},G=function(e){return function(i,n,r){if(!i||"string"!=typeof i)return i;var o=n;e===I&&(o=D).initCollect();var a=e(i,o);if(b(a)===b(i))return i;if(!r)return a;var l=r.logType,s=H(r),d=o.removeCollect();return T.report(t(t({type:l,disposition:s},d),{sourceText:g(i),filterText:g(a)})),"enforce"===s?a:i}},Z=G(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new E(t).process(e)}),Y=G(I),K=function(e,t,i){var n=[],r=L(e,function(e){n.push(e)});if(r===e)return e;n=p.from(p.uniq(n));var o=t||i||{};if(!o)return r;var a=o.logType,l=H(i);return T.report({type:a,disposition:l,collectKey:n.join("___"),collectData:JSON.stringify(n),collectMode:"black",sourceText:g(e),filterText:g(r)}),"enforce"===l?r:e},q=k._xssProject||{},z=k.xssNamespace||{},J="3.0.26",Q={FilterXSS:E,version:J,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:Z,_filterXSS:Y,filterUrl:K,Config:D,BlackConfig:B,project:q,setProjectName:function(e){q[e]=this,k._xssProjectName=e}};z.douyin_web=Q,k.xssNamespace=z,k.Math&&!k.Math.xssNamespace&&(k.Math.xssNamespace=z),q[J]=Q,k.globalThis=k,k.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:Q},k.xss=Q,k.isSafeUrl=M,k.isSafeDomain=M,k.isSafeProtocol=A,k._xssProject=q,k._xssProjectName&&(q[k._xssProjectName]=Q);var X=Q.setProjectName.bind(Q);e.BlackConfig=B,e.Config=D,e.FilterXSS=E,e._filterXSS=Y,e.filterUrl=K,e.filterXSS=Z,e.isSafeDomain=M,e.isSafeProtocol=A,e.isSafeUrl=M,e.project=q,e.setProjectName=X,e.setXssNamespace=function(e){var t=e.appId,i=e.bid,n=e.region;z[t]=Q;D.bid=i,D.region=n,D.enabled=!0},e.xssNamespace=z,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["16297"],{325399:function(e,t,i){i.r(t),t.default={wrapper:"wQu4fGDA",leftPanel:"kpju57Fp",title:"wwMTDTWA",rightEmpty:"ioBh9mmp"}},889449:function(e,t,i){i.r(t),t.default={Input:"OXtqIAYx"}},684185:function(e,t,i){i.r(t),t.default={pagination:"XowrPBcS",paginationText:"ePfNzP3M",paginationItem:"kcv9XLFv",active:"UazquNNZ",ellipsisDot:"QZvvx72Y",arrow:"ZyNJUI9r",disabled:"nBE7IWpt"}},165128:function(e,t,i){i.r(t),t.default={skeleton:"o_CR94UH",paragraph:"QpVRC80F"}},335612:function(e,t,i){i.r(t),t.default={backgroundContainer:"qJHlUdEu"}},274087:function(e,t,i){i.r(t),t.default={backgroundContainer:"V1gon98f"}},664023:function(e,t,i){i.r(t),t.default={wrap:"ZtkQqWkf",videoWrap:"MgVF2oMV",close:"zJo0Gobw",endLive:"RTeGTT02",h:"DCW1a4fl",closeIcon:"_8fpLxAo",fudai:"xXx4EKQr",fudaiImg:"imLrh0dA"}},218794:function(e,t,i){i.r(t),t.default={pkWrapper:"gfL8Er_4",pkContainer:"ia80cxuh",left:"wRvp0kp1",right:"cRQw91xi",desc:"scdzak5z"}},788631:function(e,t,i){i.r(t),t.default={textContainer:"mS_Bdn5S",timeBox:"Jveub4xw",valueBox:"qeOK3dJ0",marquee:"eucRr97v",userInfo:"IrStcAwJ",avatar:"YOjaE2VB",contriValue:"im9KkDtl"}},237987:function(e,t,i){i.r(t),t.default={propDrawAnchor:"zJlq7BPW",fail:"u6XW7AJa",propDraw:"s5O3QJuw",moveCard:"UM6XOKZ4",propDrawFail:"UfG5cWnf",moveFailCard:"tUTUqFnJ"}},732992:function(e,t,i){i.r(t),t.default={divider:"_TKdYXll",description:"JLkyTnKJ",link:"Rx_VyYvI",titleBar:"sRc3DTFB",title:"g4Zc162V",svg:"c1GYTuyk",infringement:"bFYQY1wt",submit:"QwL6aWxZ",douyinCode:"NUqOjreT",uploadContainer:"_fzcBuWY",uploadTips:"KnY5W_cU"}},227630:function(e,t,i){i.r(t),t.default={zoomIn:"NDNhvzHU",zoomOut:"LTP7xa7k"}},392188:function(e,t,i){i.r(t),t.default={messageContainer:"Oz8TYA1w",title:"_5awwftC2",icon:"vQxfKdh7"}},115855:function(e,t,i){i.r(t),t.default={categoryTextContainer:"PLkXyIGD",categoryText:"CkHE8jKg",iconContainer:"xwQEZf6t",alertCircle:"oqF_oPIs",categoryItemList:"JC9YZWjM",dataItemList:"_4e9of7_",dataItem:"OZSzfVNJ"}},61061:function(e,t,i){i.r(t),t.default={container:"GOD8H7wO",radio:"cs2nSkAl",checked:"UfQfszyv",disabled:"fE8BC3WX",label:"OrTUg0ay"}},867910:function(e,t,i){i.r(t),t.default={svg:"rU0NhFxE"}},770214:function(e,t,i){i.r(t),t.default={container:"zkQb5DWy",text:"uTyA3wQZ"}},569525:function(e,t,i){i.r(t),t.default={aiDouyinEntry:"G3RBOn14",blurBgContianer:"NIbN0HdY",blurBg:"MUe5EGsg",aiDouyinIcon:"qwWZ7wks",rotate:"kmQVSMlm",rotate360:"cafc7T7t",lottieIcon:"KD7yotND"}},781061:function(e,t,i){i.r(t),t.default={aiMentionTag:"LJMjiUvZ",aiArrowSvg:"gwfD_8i8",aiIcon:"ch7fsJR8",rotate:"s4cpxIfN",rotate360:"jiWmxt_F",lottieIcon:"g23sGlMn",knowledge:"bB6eAyY_",tagBg:"OOmYZYrW",npsStyle:"oY4KQXXi",npsCover:"eNGQGF0b"}},672761:function(e,t,i){i.r(t),t.default={withPanelShow:"O0SQ0Ocl",withPanelMiniImage:"uoZfMz1C",inputWithPanelMiniImage:"s6eV9_Ws",inputWithPanelUnShow:"Ca9GKQ4b",inputWithPanelShow:"wCXdplOm",textTransparent:"Hd0Ly_W_",searchButton:"L8wn8fr6",searchIconShow:"sF2sKgk8",searchButtonShow:"kjbaguEw",disableTransition:"od13r3wy",isUnShowUserInputText:"U0tNTOtA",isUnShowGuessText:"VFJMXU3G"}},60745:function(e,t,i){i.r(t),t.default={largeContainerWithLargeSearchBar:"ybGpkJkt",suggestion:"FKbELm18",largeContainerWithSmallSearchBar:"gIjGh3hR",suggestionContainer:"YT9TsB1O"}},633313:function(e,t,i){i.r(t),t.default={icon:"YZVFmSbt",shakeAnimation:"QienamFE"}},783198:function(e,t,i){i.r(t),t.default={avatarIcon:"eBxy2URy",avatar:"vUkgYA_Z",image:"i9qGg9iS",live:"ol2DmkLz",extraExtraExtraSmall:"Ptr38Zfy",extraExtraSmall:"kBTet_pJ",extraSmall:"jHiQ8CA1",small:"gJ7Li8xt",middle:"mhWtN9l7",default:"A7vsqK8c",showOverflow:"KneFqWA1",self:"P0M_EAuo",pendant:"xcEvJjLC"}},105928:function(e,t,i){i.r(t),t.default={liveItem:"C_LJ74Ut",avatar:"tM8V_PS6",nameWrap:"USXzApN4",name:"iw9od9Uy",redPackWrap:"_9_ZhVUaN",redPackImg:"h43lYzyw",redPackText:"kH1VLebL"}},572785:function(e,t,i){i.r(t),t.default={button:"WtJkuCm3",small:"dkiM6acB",fixed:"oXfZehUq",normal:"vqkaGFmN",large:"nKmSF1BB",primary:"VJw6es7S",border:"sFfpIxUW",secondary:"FqVWqJ3T",ghost:"oMtpokGR"}},490314:function(e,t,i){i.r(t),t.default={wrap:"Uh40Le7B",left:"dBLE3Bbh",text:"YNI2jHKf",openBtn:"tOwS7teA"}},973725:function(e,t,i){i.r(t),t.default={container:"waTJLxDi",innerContainer:"vMatJj1z",avatar:"ilZyPI9m",isSearch:"V6Is4jVp",atIcon:"Z2_isBZq",middle:"sDbT7zZl",reload:"VsAaEVT_"}},400119:function(e,t,i){i.r(t),t.default={container:"U5id3Ypg",innerContainer:"uMX7zuUb",bottomBox:"fjpQDP99",isSelected:"jFgBed4C",tabHidden:"UrYxxgxb",centerContainer:"PjeTh23d"}},905771:function(e,t,i){i.r(t),t.default={mask:"n9CKFLR9",modalContainer:"Owh0Ngjo",close:"WSKwvxL7",title:"oeMH8EBP",content:"m5rtjkY3",footer:"jtm_SLrU",button:"JGCrvqNo"}},179414:function(e,t,i){i.r(t),t.default={opContainer:"jn9aIg0n",container:"xCFb_UOU",iconSvg:"NuHDnKV5",iconHoverSvg:"qW7fVOnS",icon:"_Z8u2ilG",text:"ShSaiYP3",content:"zxcpwnfD",menu:"gd8KkwiM",show:"YFh8jZ4p",item:"xExdANws",xiguaOpContainer:"shW3BhtW",topBar:"mtUlx0ek",bottomBar:"HJgL0toq",showText:"LjNhyIkr",iframeContainer:"_mGsifRn",hidebar:"XKeLWYwE"}},321042:function(e,t,i){i.r(t),t.default={footer:"wHv5BnMW",empty:"MY54RDFY"}},626494:function(e,t,i){i.r(t),t.default={livingInfo:"Ek07bckQ",left:"m_8ZzkL6",avatar:"_2MNXQ8R",liveAvatar:"ppD70wsl",titleWrapper:"ALQ2dIP8",nameWrapper:"ukgvqdek",title:"Lja5gq1w",label:"vXY4vuYt",subTitle:"oz1vAawp",right:"YJwnbbjy",closeIcon:"kRglsnMr"}},176090:function(e,t,i){i.r(t),t.default={arrow:"Zbx62aOC",livingInfo:"t0D_rUwp",left:"cCvsPoAF",avatar:"KSBq6BIF",liveAvatar:"r2eap3jD",titleWrapper:"tHrJDWW7",title:"OdIeEGVX",subTitle:"KWqbzka7",right:"vXXEHyUv",closeIcon:"JecLNWdX",pushLiveSubtitle:"heqANBrT",largeLivingInfo:"ffNLTDEe",cover:"DcrXDoga",defaultCover:"cpRGTFIi",largeLiveBtn:"hpIm4Oce",btnText:"dLlDPj7g",icon:"GAepAkgY",btn:"Io18ffDv",feedMulticastInfo:"ucyV5bY5",playIcon:"N5LAp1_f",liveTag:"jRLCcMkX"}},168028:function(e,t,i){i.r(t),t.default={iconWrapper:"KjD8Qe8O",icon:"wQbKo3wd"}},388962:function(e,t,i){i.r(t),t.default={mask:"CwJ9Bx5d",halfOpacityModalInChange:"qJjJzh5l",modalContainer:"UekheLzc",loginWindowModalInScaleChange:"vA0KP5k2",loginWindowModalInOpacityChange:"qGQZ4vvY",close:"qfKkFoMV",title:"vtUErphK",content:"_4KAsG_AX",shadowChange:"wMhl_X4t",overflowChange:"yRavZ8Yd",conversationDtailAnimationKeyframes:"G8zW1tvu",popWindowModalOutChange:"HpnzLf7a"}},529840:function(e,t,i){i.r(t),t.default={container:"o7hAjQkB",hide:"I106X2Jm",circle:"gesnxrtb",close:"YTbAaMXT",back:"lJPNs8UO",clientHomeStyleWrap:"MKpfZgwq"}},813312:function(e,t,i){i.r(t),t.default={tabNav:"yYL1ODOa",tabExtraContent:"hOWJJXA4",inkBar:"BD99viWO",innerBar:"I7HAipob",tabNavList:"O4IuRR7S",centered:"S8rly_Us",tavNavListItem:"biM3tyT5",active:"I9F9lWkY",tabPaneList:"dm6vq5oa",tabPaneListItem:"_apnnXJu"}},983937:function(e,t,i){i.r(t),t.default={navigationContainer:"j8gaGYv5",menu:"ErwAv_TU",menuItem:"_8_XhDkrT",left:"qABEalL9",right:"g9vABl5G",logoContainer:"zL8kGMt_",logo:"XFyL62ZO"}},606191:function(e,t,i){i.r(t),t.default={wrapper:"gY50Al_i",guideTagContainer:"WFizddKq",text:"Ml6sFDkq",arrowSvg:"vB4EX11V",whiteTagContainer:"c_fMNl3V",whiteTag:"MmNMSER5",avatarList:"KrJ3jNd4",avatar:"_XXEHEAn",recommendText:"tt8m237a",nickname:"n79G6mZ8",singleUser:"PxYx__zF",recommendIconWrapper:"cakRGMfA"}},163094:function(e,t,i){i.r(t),t.default={letter:"WnebRmPk",active:"BVjADWPT"}},131505:function(e,t,i){i.r(t),t.default={item:"KIjKYFa6",text:"rB9izUJi"}},201986:function(e,t,i){i.r(t),t.default={modal:"qltYYPUD",header:"QaUEju0w",close:"SuDoSbvd",divider:"YAeQ83ad",content:"z7HNHvRX",reportType:"vD_XKBEl",star:"b_y82WXG",reportTypeGroup:"uM7QMH2J",radioLabel:"cGxnH475",radioText:"GHx59m5c",reportReason:"YCO7Cn0H",detailReason:"eHYZH3Tk",confirmBtn:"lChL268A",textareaWap:"kGXjzvYb",textarea:"VUDNkVRM",numLabel:"RbRhQWgO",warn:"bRE0_AQB"}},479936:function(e,t,i){i.r(t),t.default={aLink:"tU1hdA8z"}},731621:function(e,t,i){i.r(t),t.default={staticImgBackground:"vcB1XVUO",videoCover:"_z0_bniL",backgroundImg:"KLxF7Ltk",backgroundMask:"i2GhnhJm"}},538910:function(e,t,i){i.r(t),t.default={shortcutList:"_jd6zESO",header:"hI4gvSWF",modalTitle:"oInbr8wQ",closeIcon:"GScifXYp",disabled:"AF3fJPWQ",divider:"VSB9wq1N",main:"yLDDs4bU",navigation:"s5uStD4h",verticalDivider:"c5aMvdB2",listWrap:"WVTw3ImJ",menuItemsWrap:"_YqZStny",itemTitle:"nNcWEuDR",bottom:"x9WVVHPo",errorWrap:"mEJJlpU9",warnIcon:"MY582zpW",btns:"M_6t6CyK",btn:"mzC8VOOg",refreshIcon:"nY1dcl8Y",submitBtn:"o1HjXViV"}},961093:function(e,t,i){i.r(t),t.default={userInfoPannel:"fI7lzDn1",hasDefaultPosition:"At4Pvuey",top:"YiEL2rAd",bottom:"aMxuSeKU",left:"y3D8Kx1U",right:"aPRaw7Qr"}},494613:function(e,t,i){i.r(t),t.default={videoInfoSideCard:"me1I2vli",tab:"nhr4mk5K",header:"JToNbFZs",content:"EVDAy35S",closeBtn:"SeCcFLUR",icons:"maimT5dX",videoCreateTime:"DCx0H2kY",account:"Ph9gX6Kx",accountWrapper:"wWJV9hON",accountName:"l4HOsCrH",textMultiLineExpansionOldWrap:"DGLecYEq",button:"e2UbRGtm",videoTitleWrapper:"WPbbXM3l",userText:"VGYijBRm",linkHashTag:"nWqfuwxb",hashTagSpan:"Fc8OirCl",videoTitle:"a8ti70qD",aloneVideoTitle:"uRo9srYg",adaptive:"gh_dPUfl",expandButton:"WRaavr77",noMore:"umZG1gD8"}},127321:function(e,t,i){i.r(t),t.default={root:"syqjull6",hide:"EljciE3u",dark:"xw09Z0eZ",tag:"JsBttTcT",tagBg:"GtAMpGM2",searchRelatedTag:"T3Xtqi8b",enterIcon:"rmadnGJC",nextMixIcon:"hmlN3ESg",updateTextContainer:"vthW9B3g",updateText:"NVdvyZia",nextContainer:"AUhCaI4N",context:"nAvsM9Xp",lookNext:"Q0wcJs3l",bg:"qiRSlfx1"}},767872:function(e,t,i){i.r(t),t.default={root:"jCEsEIDt",tagWithNextContainer:"mpBJ8JN9",tag:"iP7HWAld",nextTag:"tsSlqyY1",tagText:"dzR3fYgc",nextEnterIcon:"WgRI5Xgh",nextMixIcon:"Er4MKIlZ",iconInner1:"Rsokb6FE",iconInner2:"ZBSMS3VT",tagIcon:"c26jz2NA",aiSearchIcon:"CQdINcgg",newSize:"sNHSfpLi",miniTag:"YgpLoEzl",entranceCardHover:"Qa_Nv_rB",searchRelatedTag:"LFuvAKR1",text:"wEAJgIhd",hintText:"H_qbtQQC",titleWord:"OHCNiojA",rsBarOpt:"f72L_tyx",enterIcon:"zmfSsp7B",searchIcon:"T1i0jaM2",tagBg:"eOTBNuiF",updateTextContainer:"yUzwapsv",divide:"guvXTnxi",updateText:"M_nNHyEL",lvTextContainer:"ZLBAl_SF",nextContainer:"DCxydfwj",context:"MydxW0BR",lookNext:"GB4ni_Vm",bg:"ycMeJ4E1",chapterTag:"rwqPGhYQ",noFirst:"U22SkEG9",connection:"VPDWNG3T",hoverContainer:"ft227RXG",hide:"n_V9ERTq"}},611077:function(e,t,i){i.r(t),t.default={box:"IWnT0pMe",navigation:"RjSqDVYT"}},171084:function(e,t,i){i.r(t),t.default={pushItem:"LV5IjJ14",transfromright:"RTsKtk_l",headBox:"r85CVF47",headIcon:"qVb4xUog",isGroup:"RW4RGbgA",userInfo:"OgYelNaR",titleBox:"si7pH1ky",titleTxt:"HGuxjEM8",contentBox:"L39qO_xf",msgTxt:"U9BHMW9T",operateBox:"i_sNHnST",isOhosOperateBox:"ceXhk7BQ",replyBtn:"fsNLc7Ye",closeBtn:"EijOqUtd",onlineTag:"la6vsSe1"}},472054:function(e,t,i){i.r(t),t.default={noticeContainer:"w6dMe2gp",noticeInfo:"o1P8UO5Z",mainInfo:"tLMB1jTW",hint:"RlNdyQJL",awemeCover:"YgMYMHD1"}},516021:function(e,t,i){i.r(t),t.default={loginClarityNewAdjust:"YLz12ugC",text:"UfVvPsrt",button:"RBCA7Nik",close:"Kt8r1eWL",down:"b70fOK3W",textClarityNewColor:"p0hp9eWe",textClarityNew:"jG9s_OCL"}},569502:function(e,t,i){i.r(t),t.default={tips:"TrARb03r",show:"vUpvUaD7",close:"tHQ8gRPw",title:"MakgBTqz",desc:"fk3YV5Bz",btn:"yGLccwQu"}},699290:function(e,t,i){i.r(t),t.default={customPluginRootWrap:"n4lEeITR",bottom:"cg7iIg9u",customPluginBottomWrap:"hR9ooTT5",customPluginLeftWrap:"j0sUkgGs",customPluginRightWrap:"oOamMcs8",isFireFox:"eHPQezPR",customPluginTopWrap:"GfJFeI2C",customPluginBottomWrapNew:"kiQnVlvx",customPluginRightWrapMini:"WI65lyk1"}},857078:function(e,t,i){i.r(t),t.default={container:"HvxybzOk",iconContainer:"m7GHKsoi",panel:"xbPYtyFX",playRatioSettingTitle:"HyB0c_TC",search:"sKQdv1G2"}},116569:function(e,t,i){i.r(t),t.default={adTag:"Ygg2ndEm"}},179994:function(e,t,i){i.r(t),t.default={adWrapper:"TRUq892o",lottie:"z7svE0eu",adButton:"vn3pPFGg",adTitleWrapper:"HyfwIA0Y",mainCover:"q5itJw9z",skeleton:"tFRR_4tn",info:"dA2it8EO",adName:"PfRk5zqD",tag:"K2STwGGC",price:"Om7nYuSy",unit:"A2gxI5vg"}},894306:function(e,t,i){i.r(t),t.default={adTag:"izllCDVG"}},830500:function(e,t,i){i.r(t),t.default={singleLineAdCard:"QvKd1yPv",easeIn:"pWplSYZG",adInfo:"kn4JXZQg",adIcon:"vYsyYWDX",swiperContainer:"X9cevJwz",btnBox:"qXwFfQy6",text:"Al8xjmNK",icon:"HsSXtVQS"}},153612:function(e,t,i){i.r(t),t.default={strongStyleAdCard:"u3a6Qs2R",easeIn:"Rh30iQWB",adInfo:"iqXNRWu0",adIcon:"BDMScpVd",detail:"BKxYdBEe",title:"VNg6xHTL",tagLine:"_3vpy4GXC",tag:"NgUqaIz2",swiperContainer:"gRk7UTk7",adButton:"lWxJkM43"}},537014:function(e,t,i){i.r(t),t.default={loginClarityNewAdjust:"FSIIySKe",text:"apeAqyCi",button:"P9X8Ouf1",close:"QMBraNNj",down:"iz3RqNQa",textClarityNewColor:"VHeUziZI",textClarityNew:"Eq8e2zL5"}},27017:function(e,t,i){i.r(t),t.default={container:"GEjLjyPo"}},146345:function(e,t,i){i.r(t),t.default={inPictureCover:"vVpZAQep",inPictureContainer:"hvHQrCSv",inPictureTitle:"pUqw_oLd",inPictureBtn:"MrypnTgi","xgplayer-start":"NTHUsiFk"}},469809:function(e,t,i){i.r(t),t.default={tipKey:"MhOoKbPq",listenVideo:"X8FkYUpY",shakeIcon:"UHKNnp2Q",shake:"tsSiW5cC",icon:"AseiKYh0",desc:"QOHVdIdV",ableMiniType:"dR9rKVUF"}},400418:function(e,t,i){i.r(t),t.default={container:"Ivm5LchK",arrowIcon:"T2zDThDa",isShow:"x2PFjgQ_",hideTitle:"TD1QEQzl",hidden:"rL9xZtCz",show:"hz1fLefW",entryContainer:"JRgaFQmZ",guideIcon:"Kav3bNEf",entryHover:"SnH7BMF_",icon:"lOJ4SXHa",guideContainer:"IJSBgjgR",mainTitle:"efzV33uk",bubbleIcon:"zPlzqUbm",guideHeader:"GbVVbGWn",countdown:"lK0nVbnW",guideBody:"BkIFfIFl",videoContainer:"LKwdWqFk",skeleton:"O9cDinZD",imgCt:"v_kIKiBa",long:"bioJf53W",small:"vc1ZzWzH",playMask:"AO9NwpU_",playIcon:"eYcy19DF",descCt:"oz7HmkVP",title:"QHvgfLOK",bottomWrap:"pWVlhAq7",userName:"bI37K2fc",diggNumWrap:"D179liht",diggNum:"pbJivDPW",duration:"STc55_6p",bottomMask:"FPi6e3HA",playLoadingWrap:"Tsf5wFza",playLoadingAniWrap:"DLUMyFvZ",playLoading:"s17VnvyY",playLoadingAnimation:"hlQ9STb3",playingLoading:"wXmSjDYm",playingAnimation:"cIOQao6y",playLoadingText:"X7_1bg2I",SkeletonContainer:"zWBoBEJv"}},365233:function(e,t,i){i.r(t),t.default={bg:"gN6WBfYT",videoCoverMask:"ogkVJEMU",container:"MaewFxya",question:"SoBictku",options:"zuAfutj_",option:"WXo7wnm9",iconContainer:"esDyRivK",optionText:"_Rw9Dtrc",bottomHint:"Ce20gAyY",hintText:"oUZNhAiU",arrowIcon:"IAuRjo95"}},696245:function(e,t,i){i.r(t),t.default={searchAlbumIcon:"cngLHKQP",searchPictureWordIconContainer:"QwpHidSB",icon:"Al9TFHyZ"}},948314:function(e,t,i){i.r(t),t.default={sevenDayMask:"mF9YuZjf",tipWrapper:"Vb9uBGd0",tip:"tGGXB0QT",button:"CctMNUwd"}},934897:function(e,t,i){i.r(t),t.default={previewExtText:"n4v8vpxq",previewExtTextDesc:"_fOuzeGe",previewExtTextDescTwoLine:"X4np4P3n"}},47324:function(e,t,i){i.r(t),t.default={container:"QtOUBShQ",iconContainer:"re3Eti61",panel:"KVV5dMZB",search:"nzMBreoq"}},2196:function(e,t,i){i.r(t),t.default={bar:"RUGeIIer",barDetail:"Rnk6YUoQ",hasUrl:"BBLUP7v4",content:"B6D57x3h",icon:"z2pqFECI",iconImage:"iGb3Rhkf",rightIcon:"RlRHn10j"}},47119:function(e,t,i){i.r(t),t.default={container:"QJLrZMUw",arrowSvg:"NiKW2RZX",icon:"ht3SgCcV",text:"X87ZayIC",tagBg:"YTgyQH3u"}},978994:function(e,t,i){i.r(t),t.default={container:"uOgY4cKb",closeButton:"lOZnmBR8",splashAdComponent:"JUx7MESN",enterTransition:"sSlWIPh2","avt-opacity":"CelgeaYt",tagLine:"QHXVCX9X",mask:"lOnUM8s0",videoInfo:"PB6EcKaS",rightPositionBox:"jFgYE1ps"}},536083:function(e,t,i){i.r(t),t.default={}},226736:function(e,t,i){i.r(t),t.default={swiperVideo:"lMkdF8wk",container:"vvkDckro",hidden:"DgQn2w5J",playSwitchContainer:"rbjrUHrv"}},99210:function(e,t,i){i.r(t),t.default={Danmaku:"_JoT8rnT",DanmakuItem:"NrPJAX8v",DanmakuItem_content:"ByReou99",DanmakuItem_divider:"rH15K_Mp",DanmakuItem_control:"mPoMe6TH",DanmakuItem_hover:"Evl45LWA"}},819757:function(e,t,i){i.r(t)},114911:function(e,t,i){i.r(t)},832241:function(e,t,i){i.r(t)},914014:function(e,t,i){i.r(t)},64747:function(e,t,i){i.r(t)},35918:function(e,t,i){i.r(t)},942594:function(e,t,i){i.r(t)},848722:function(e,t,i){e.exports=i.p+"media/11_1_first.a3b3fa389660d8df.png"},782842:function(e,t,i){e.exports=i.p+"media/3_first.4d57c776b02437e9.png"},789263:function(e,t,i){e.exports=i.p+"media/hongbao.b00efccc6d410204.png"},352927:function(e,t,i){e.exports=i.p+"media/get_app_help_fold_light_hover.78388b143b6ea40a.png"},790950:function(e,t,i){e.exports=i.p+"media/get_app_help_light_hover.7631362f233b01d1.png"},242163:function(e,t,i){e.exports=i.p+"media/jxWeakBtnHoverBg.3e19a3a05f191ca0.png"},560802:function(e,t,i){e.exports=i.p+"media/download-guide-white.a67d76c8dd5f466c.png"},43972:function(e,t,i){i.d(t,{w:function(){return a}}),i(490629);var n=i(101199),r=i(679785),o=i(414061);function a(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,i]=(0,n.useState)({x:0,y:0});return(0,n.useEffect)(()=>{if(e)return;let t=!1,n=e=>{requestAnimationFrame(()=>{if(t)return;let n=e.target;if((0,r.S)(n)){let{scrollLeft:e,scrollTop:t}=n;i({x:e,y:t})}else{let{scrollLeft:e,scrollTop:t}=document.documentElement;i({x:e,y:t})}})};window.addEventListener("scroll",n);let a=o.listen(o.EVENT.routePageScroll,n);return()=>{t=!0,window.removeEventListener("scroll",n),a()}},[e]),t}},630641:function(e,t,i){i.d(t,{y:function(){return s}});var n=i(320165);i(101199);var r=i(48625),o=i(469935),a=i.n(o),l=i(158112);let s=()=>(0,n.jsxs)("div",{className:l.default.videoDetailSkeleton,children:[(0,n.jsx)("div",{className:l.default.leftContainer,children:(0,n.jsx)("div",{className:l.default.videoWrapper,children:(0,n.jsx)(r.e,{className:l.default.video})})}),(0,n.jsxs)("div",{className:l.default.rightContainer,children:[(0,n.jsxs)("div",{className:l.default.headerInfo,children:[(0,n.jsx)("div",{className:l.default.avatar}),(0,n.jsxs)("div",{className:l.default.userInfo,children:[(0,n.jsx)("div",{className:l.default.nickname}),(0,n.jsx)("div",{className:l.default.extra})]})]}),(0,n.jsxs)("div",{className:l.default.videoList,children:[(0,n.jsxs)("div",{className:l.default.tab,children:[(0,n.jsx)("div",{className:l.default.tabItem}),(0,n.jsx)("div",{className:l.default.tabItem})]}),(0,n.jsx)("div",{children:Array(6).fill(0).map((e,t)=>(0,n.jsxs)("div",{className:l.default.listItem,children:[(0,n.jsx)("div",{className:l.default.cover}),(0,n.jsxs)("div",{className:l.default.desc,children:[(0,n.jsx)("div",{className:a()(l.default.rect,l.default.rect1)}),(0,n.jsx)("div",{className:a()(l.default.rect,l.default.rect2)}),(0,n.jsx)("div",{className:a()(l.default.rect,l.default.rect3)}),(0,n.jsx)("div",{className:a()(l.default.rect,l.default.rect4)})]})]},t))})]})]})]})},305219:function(e,t,i){i.d(t,{V:function(){return l}}),i(490629);var n=i(101199),r=i(339808),o=i(690301),a=i(813458);let l=e=>{let{abTestData:t,pathname:i,isPreRender:l}=e,s=(0,r.a)(),d={status:o.QB.Unknown,isTransitionEnd:!1},[u,c]=(0,n.useState)(d.status),[_,m]=(0,n.useState)(d.isTransitionEnd),f=(0,n.useRef)(),p=(0,n.useRef)(),v=(0,n.useRef)(!1);return(0,n.useEffect)(()=>l?()=>{}:(u===o.QB.Fullscreen?(clearTimeout(f.current),f.current=setTimeout(()=>{c(o.QB.Normal),p.current=setTimeout(()=>{m(!0)},500)},5e3)):(clearTimeout(f.current),u===o.QB.Normal&&(p.current=setTimeout(()=>{m(!0)},500))),()=>{clearTimeout(f.current),clearTimeout(p.current)}),[u,l]),(0,n.useEffect)(()=>{("/"!==s.pathname||"/"!==window.location.pathname)&&(0,n.startTransition)(()=>{c(o.QB.Normal),m(!0)})},[s.pathname]),(0,a.w)(()=>{u===o.QB.Fullscreen&&(c(o.QB.Normal),m(!0))},[]),{isSplashTransitionEnd:_,splashAdStatus:u,changeSplashAdStatus:(0,n.useCallback)(e=>{e===o.QB.Fullscreen?!v.current&&(v.current=!0,c(e)):c(e)},[])}}},587841:function(e,t,i){i.r(t),i.d(t,{Layout:function(){return tf}});var n=i("629686"),r=i("402748"),o=i("811603");i("490629"),i("362051"),i("14275"),i("759943");var a=i("320165"),l=i("101199"),s=i("473228"),d=i("38578"),u=i("670556"),c=i("955102"),_=i("116537"),m=i("51061"),f=i("113845"),p=i("975956"),v=i("292517"),h=i("708003"),g=i("752150"),w=i("66948"),y=i("528937"),S=i("788641"),C=i("953851"),b=i("242875"),E=i("582150"),k=i("557839"),T=i("757604"),N=i("341890"),I=i("412383"),x=i("294988"),P=i("618759"),A=i("512423"),L=i("452154"),M=i("661444"),R=i("499059"),D=i("995898"),O=i("863308"),V=i("21783"),W=i("177065"),j=i("991214"),F=i("43795"),U=i("542779"),B=i("467818"),H=i("764096"),G=i("938467"),Z=i("116146"),Y=i("778018"),K=i("429718"),q=i("246570"),z=i("799155"),J=i("330258"),Q=i("377381"),X=i("422824"),$=i("538807"),ee=i("578501"),et=i("321836"),ei=i("670404"),en=i("411348"),er=i("609401"),eo=i("629650"),ea=i("808590");i("706056");var el=i("56924"),es=i("103680");let ed=["THEME","player_nextautoplay"],eu=()=>{let e=()=>{let e=sessionStorage.setItem;sessionStorage.setItem=function(t,i){let n=e.apply(this,[t,i]);return ed.includes(t)&&es.invoke("sessionStorage.setItem",{key:t,value:i}),n}},t=()=>{let e=localStorage.setItem;localStorage.setItem=function(t,i){let n=e.apply(this,[t,i]);return ed.includes(t)&&es.invoke("localStorage.setItem",{key:t,value:i}),n}},i=()=>{let e={};ed.forEach(t=>{e[t]=localStorage.getItem(t)}),es.invoke("localStorage.setAll",{value:e})};(0,el.C)(()=>{if(!!(0,P.DT)())e(),t(),i()},[])};var ec=i("283095"),e_=i("93455"),em=i("963236"),ef=i("521032"),ep=i("418129"),ev=i("196724"),eh=i("740498"),eg=i("654473"),ew=i("414035"),ey=i("622498"),eS=i("305219"),eC=i("519609"),eb=i("77931"),eE=i("883598"),ek=i("718077"),eT=i("280769"),eN=i("549271"),eI=i("291284"),ex=i("964114"),eP=i("523191"),eA=i("178504"),eL=i("476674"),eM=i("672105"),eR=i("436068"),eD=i("425290");i("679308");var eO=i("810069");let eV=()=>{(0,l.useLayoutEffect)(()=>{(async()=>{var e,t;let{TncManager:n,proxyFetch:r,proxyXhr:o}=await i.e("62977").then(i.bind(i,83238)),a=new n({tncConfig:{aid:"6383",storeType:"localStorage",device_id:(null===(e=(0,eO.Es)())||void 0===e?void 0:e.user_unique_id)||"",user_id:(null===(t=(0,eO.Es)())||void 0===t?void 0:t.user_id)||"",swMode:"not-manage"}});a.init(),r({tncManager:a}),o({tncManager:a})})()},[])};var eW=i("102541"),ej=i("400541"),eF=i("566655"),eU=i("646888"),eB=i("397455");i("180281");var eH=i("231144"),eG=i("691227"),eZ=i("23479"),eY=i("362587"),eK=i("694117"),eq=i("389784"),ez=i("786618"),eJ=i("117462"),eQ=i("562944"),eX=i("144506"),e$=i("866198"),e0=i("675403"),e1=i("365169"),e2=i("576742"),e9=i("342750"),e6=i("751866"),e3=i("752318"),e4=i("483524"),e5=i("690500"),e8=i("663285"),e7=i("328178"),te=i("776610"),tt=i("556087"),ti=i("83845"),tn=i("625110"),tr=i("202417"),to=i("61109"),ta=i("911159"),tl=i("707246"),ts=i("344780"),td=i("288771"),tu=i("690514");let tc=/asiangames/;function t_(e){var t,i;let{tccData:r,children:o}=e;(0,l.useMemo)(()=>{(0,g.id)({service_name:"webcast.douyin.live_pc",data:null==r?void 0:r.main})},[]);let[s,d]=(0,l.useState)((0,n._)({},w.TCC_DEFAULT_VALUE_MAP.get(w.TccKey.PcRechargeConfig),null!==(i=null==r?void 0:null===(t=r.web)||void 0===t?void 0:t[w.TccKey.PcRechargeConfig])&&void 0!==i?i:{}));return(0,l.useEffect)(()=>{(async()=>{let e=await y.get({key:w.TccKey.PcRechargeConfig,defaultValue:w.TCC_DEFAULT_VALUE_MAP.get(w.TccKey.PcRechargeConfig)});(0,l.startTransition)(()=>{d(e)})})()},[]),(0,a.jsx)(T.F.Provider,{value:s,children:o})}function tm(e){let{children:t}=e,i=(0,o._)(e,["children"]),g=i;try{var w,y,T,el,es,ed,eO,td;if((0,P.DT)()&&(null===(y=window)||void 0===y?void 0:null===(w=y.TTE_ENV)||void 0===w?void 0:w.layoutInitialProps)&&(null==i?void 0:i.landingPage)!=="discover"){let e=JSON.parse(JSON.stringify(null===(td=window)||void 0===td?void 0:null===(eO=td.TTE_ENV)||void 0===eO?void 0:eO.layoutInitialProps)),t=(0,n._)({},(0,S.hA)([...S.Kl,...e6.R],e.allAbParams||{}),e.backendAbTest||{});g=(0,r._)((0,n._)({},i,e),{abTestData:t})}(0,P.DT)()&&(null===(T=window)||void 0===T?void 0:T.is_client_offline)&&(null===(ed=window)||void 0===ed?void 0:null===(es=ed.TTE_ENV)||void 0===es?void 0:null===(el=es.initPageStore)||void 0===el?void 0:el.layoutInitialPropsInOffline)&&(g=(0,e3.Z)(g))}catch(e){}let{user:tm,odin:tf,abTestData:tp={},ttwidCreateTime:tv,tccConfig:th,pathname:tg,isSpider:tw=(0,P._Q)(),isClient:ty,clientVersion:tS,ua:tC=(0,A.i)(),osInfo:tb,envService:tE,innerLink:tk,globalwid:tT,globaluid:tN,libracdid:tI,nonce:tx,serverTime:tP,videoDetail:tA,preloadAwemeList:tL,redirectFrom:tM,landingPage:tR,landingMode:tD,tceCluster:tO,lazyLoadConfig:tV,isOptTextHtmlRatio:tW,freeAdStatus:tj={status:x.J.NoRight,message:""},isDark:tF=!0,isiPad:tU=!1,isMobile:tB=!1,adminConfig:tH={},isMobileSite:tG,searchProps:tZ,specTheme:tY={},serverTccData:tK,XTTENV:tq,resourceList:tz,isIPv6:tJ,isOverSea:tQ=!1,isMainland:tX=!0,country:t$,cityName:t0,discoverFeedCardAdList:t1,discoverActiveSubTabList:t2,jxRedisMode:t9,pageLogId:t6}=g;C.a.clientRelaunch({tcc:th}),(0,P.WL)(),(0,e9.W)(),(0,ei.X)(),(0,to.P)();let{isMobile:t3,isiPad:t4}=(0,b.X)(tB,tU),t5=(0,ta.ho)(e=>e.setState),t8=(0,tl.s6)(e=>e.setState),t7=(0,l.useRef)(!0);(0,l.useRef)(!1);let ie=(0,l.useRef)(!1);(0,eH.Q)();let{abtest:it}=(0,en.Q)({abTestData:tp,isSpider:tw});(0,m.B)(it);let{removeSlideListButton:ii}=(0,e2.X)({abTestData:it,ttwidCreateTime:tv,from:"main"}),[ir,io]=(0,l.useState)([]),{jingxuanActivity:ia}=(0,eG._)({abTestData:it,initData:null==th?void 0:th.jingxuan_activity}),{isWebMiniWin:il,supportDocumentPip:is,pipWindow:id}=(0,er.r)({abTestData:it}),{isListenVideoMiniWin:iu,changeIsListenVideoMiniWin:ic,listenVideoContainer:i_}=(0,eo.j)({abTestData:it}),im=(0,L.Ae)(tC),ip=tX&&im,{fullScreenQuestionVars:iv}=(0,ea.c)(),[ih,ig]=(0,l.useState)(!0);(0,tu.v)();let iw=(0,l.useMemo)(()=>{let e={isMainland:tX,isOverSea:tQ,country:t$,cityName:t0,removeSlideListButton:ii,followListRoomData:ir,discoverFeedCardAdList:t1,discoverActiveSubTabList:t2,setFollowListRoomData:io,jingxuanActivity:ia,isWebMiniWin:il,supportDocumentPip:is,pipWindow:id,isListenVideoMiniWin:iu,changeIsListenVideoMiniWin:ic,listenVideoContainer:i_,supportAiTop1:ip,jxRedisMode:t9,fullScreenQuestionVars:iv,unloginNeedShowLoginModal:ih,setUnloginNeedShowLoginModal:ig};return t8(e,t7.current),e},[tX,tQ,t$,t0,ii,ir,t1,t2,io,ia,il,is,id,ic,iu,i_,ip,t9,iv,ih,ig,t8]);eu(),(0,ec.f)({landingPage:tR,landingMode:tD,abTestData:tp}),(0,eB.Z)();let{nowPathName:iy,version:iS}=(0,e_.f)({pathname:tg,tccConfig:th}),{isClient:iC,clientVersion:ib,osInfo:iE}=(0,em.K)({isClient:ty,osInfo:tb,clientVersion:tS});(0,l.useEffect)(()=>{!ie.current&&((0,q.YK)({abtestData:tp}),ie.current=!0),(null==tp?void 0:tp.__isLoaded)&&(0,q.kh)({abtestData:tp})},[tp]);let{userCtx:ik,Context:iT}=(0,ef.J)({defaultUserInfo:tm,odin:tf,abTestData:it}),iN=(0,f.cC)({abTestData:it}),{userInfo:iI,dispatch:ix}=ik;(0,ts.OG)({userInfo:iI}),(0,Z.t)({userInfo:iI}),(0,e$.H)({isLogin:null==iI?void 0:iI.isLogin,abTestData:it}),(0,B.c)(iC,iI),(0,eZ.A)({isLogin:null==iI?void 0:iI.isLogin,abTestData:it,cityName:t0});let iP=(0,l.useMemo)(()=>(0,M.En)(iy),[iy]),iA=(0,ep.D)((0,r._)((0,n._)({},tZ),{isClient:iC,tccConfig:th,osInfo:iE,isSearchPage:iP,userCtx:ik,supportAiTop1:ip,abTestData:it}));(0,eY.s)(),(0,ev.O)({ttwidCreateTime:tv,envService:tE}),(0,eh.v)({globalwid:tT,globaluid:tN,odin:tf,libracdid:tI}),(0,eg.w)({clientVersion:ib,userCtx:ik,ttwidCreateTime:tv,tceCluster:tO,pathname:tg,isIPv6:tJ,isMainland:tX}),(0,ew.A)({globalwid:tT}),(0,e8.p)({isLogin:(null==iI?void 0:iI.isLogin)||!1}),(0,e7.o)(it),null==tf||tf.user_id,(0,ey.Z)({abtest:it});let{isPreRender:iL}=(0,tt.M)({abTestData:it,isLoopCheck:!0}),iM=!iL,{splashAdStatus:iR,changeSplashAdStatus:iD,isSplashTransitionEnd:iO}=(0,eS.V)({abTestData:tp,pathname:tg,isPreRender:!iM}),{PWAInstallable:iV,installPWA:iW}=(0,W.uy)({abTestData:it});(0,H.T)({userInfo:iI,redirectFrom:tM,banUseCopyLog:!1,abTestData:it,pageLogId:t6}),(0,eK.B)(),(0,eq.$)();let{headerLoginPopupStatus:ij}=(0,eC.X)({userCtx:ik,abTestData:tp,isSpider:tw,splashAdStatus:iR,pathName:tg,isMainland:tX,setUnloginNeedShowLoginModal:ig});(0,eb.P)({abtest:it}),(0,eb.O)(),(0,eE.U)({abtest:it,userInfo:iI}),(0,ee.Z)({userCtx:ik,envService:tE}),(0,ek.Z)({isMainland:tX,userCtx:ik,notInit:t3||t4||/\/light\//.test(tg),abTestData:tp}),(0,eT.p)(),(0,eN.A)(),(0,eI.T)(),(0,ex.i)(),(0,et.Z)({abTestData:it}),(0,eP.$)();let iF=(0,eA.V)({});(0,eL.E)(),(0,eM.X)({abtestData:it}),(0,j.V)({abtestData:it}),(0,F.a)({abtestData:it}),(0,eR.L)(),(0,eD.y)(),eV(),(0,_.C)(Y.w3.components.layouts),(0,eW.A)(it);let iU=(0,d.k)();R.Le.setConfig(R.gI.History,iU),(0,U.T)({abTestData:it}),(0,ti.I)({enableReport:!0}),(0,e4.I)({abtestData:it}),(0,l.useEffect)(()=>{R.Le.setConfig(R.gI.ServerTime,tP)},[tP]),(0,l.useEffect)(()=>{R.Le.setConfig(R.gI.IsMainland,tX)},[tX]),(0,l.useEffect)(()=>{R.Le.setConfig(R.gI.isIPV6,tJ)},[tJ]),(0,l.useEffect)(()=>{(null==tp?void 0:tp.controlAdapt)&&(document.body.style.minWidth="696px")},[tp]);let iB=()=>{let e=(null==tj?void 0:tj.status)||x.J.NoRight;if(e===x.J.ExpiredNeedTips){let t=x.b[e];t&&h.F.info({text:t,zIndex:1e4}),e=x.J.ExpiredAlreadyTips,R.Le.setConfig(R.gI.FreeAdStatus,{status:e,message:""})}else R.Le.setConfig(R.gI.FreeAdStatus,tj)};(0,E.L)(),(0,l.useEffect)(()=>{iB()},[tj]),(0,eX.Z)({isLogin:null==iI?void 0:iI.isLogin}),(0,G.T)({ttwidCreateTime:null!=tv?tv:0});let iH=(0,l.useMemo)(()=>{let e={innerLink:tk,modalVideoDetail:tA,tccConfig:th,splashAdStatus:iR,isSplashTransitionEnd:iO,changeSplashAdStatus:iD,isMainland:tX,nonce:tx,XTTENV:tq};return t5(e,t7.current),e},[tk,tA,th,iR,iO,tw,tx,tq]),iG=(0,l.useMemo)(()=>!(tw&&tW||tG||(0,M.lZ)(tg)&&!iC)&&!0,[tw,tW,tg]);(0,V.Z)("LAYOUT_INDEX",{abtest:it,userCtx:ik,nowPathName:iy,version:iS,globalValue:iH,isSpider:tw,ua:tC,isClient:iC,osInfo:iE,redirectFrom:tM,headerLoginPopupStatus:ij,landingPage:tR,tccConfig:th,videoDetail:tA,dispatch:ix});let iZ=tc.test(iy);(0,ej.j)(),(0,l.useEffect)(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual")},[]),(0,te.n)(),(0,e5.M)({abtest:it});let iY=(0,D.oB)({isClient:iC,pathname:iy,abtestData:it});(0,k.O)(!0,()=>{if(iY)try{(0,c.t)({to:"/live/prefetch"})}catch(e){}}),(0,O.r)();let iK=(0,K.DO)(it),iq=(0,l.useMemo)(()=>{let e=(0,D.Sh)({isClient:iC,pathname:iy,abtestData:it})||iY;return t5({isEnableChildRoute:e},t7.current),e},[iC,iy,iY]);return((0,l.useEffect)(()=>{(null==iI?void 0:iI.isLogin)===void 0&&ix({type:"updateUserInfo"})},[ik]),(0,l.useEffect)(()=>()=>{let e=R.Le.getConfig(R.gI.RecommendPageCache);!(0,D.Nr)(location.pathname)&&!e&&(0,eQ.U)()},[iy]),(0,tn._)(),(0,eF.u)(),(0,ez.T)(tp),t7.current=!1,/light\/[0-9]+/.test(iy))?(0,a.jsx)("div",{children:t}):/creatorvideo\/[0-9]+/.test(iy)||/gameactivitydetail/.test(iy)?(0,a.jsx)(e1.ko.Provider,{value:iw,children:(0,a.jsx)(J.C.Provider,{value:it,children:(0,a.jsx)(iT.Provider,{value:ik,children:t})})}):(0,a.jsx)(e1.ko.Provider,{value:iw,children:(0,a.jsx)(f.Kb.Provider,{value:iN,children:(0,a.jsx)(eJ.Nn,{enable:iq,children:(0,a.jsx)(K.Bk.Provider,{value:iK,children:(0,a.jsx)(W.hn.Provider,{value:{PWAInstallable:iV,installPWA:iW},children:(0,a.jsx)(t_,{tccData:tK,children:(0,a.jsx)(I.wJ,{nonce:tx,children:(0,a.jsx)(J.C.Provider,{value:it,children:(0,a.jsx)(iT.Provider,{value:ik,children:(0,a.jsx)(Q.r.Provider,{value:iH,children:(0,a.jsx)(X.c.Provider,{value:iA,children:(0,a.jsx)(N.p8,{abtest:it,children:(0,a.jsx)(e0.UF,{resourceList:tz,abtestData:it,children:(0,a.jsx)(p.dm.Provider,{value:{XTTENV:tq},children:(0,a.jsx)($.z.Provider,{value:iF,children:(0,a.jsxs)(s.SV,{Slardar:z.oe,onError:()=>{var e;!(null===(e=navigator)||void 0===e?void 0:e.onLine)&&!(0,P.DT)()&&window.location.reload()},children:[(0,a.jsxs)(eU.Z,{isSpider:tw,ua:tC,userInfo:iI,dispatch:ix,abtest:it,nowPathName:iy,isClient:iC,isiPad:t4,isMobile:t3,osInfo:iE,redirectFrom:tM,landingPage:tR,tccConfig:th,videoDetail:tA,version:iS,headerLoginPopupStatus:ij,lazyLoadConfig:tV,isShowNavigator:iG,isDark:tF,adminConfig:tH,isMainland:tX,isOverSea:tQ,isMobileSite:tG,specTheme:tY,isSearchPage:iP,isPreRender:iL,showChildren:iM,disablePausePop:iZ,preloadAwemeList:tL,children:[t,(0,a.jsx)(u.NoSSR,{children:(0,a.jsx)(v.Y,{})})]}),(0,a.jsx)(tr.Z,{islandMode:"load",abTestData:it})]})})})})})})})})})})})})})})})})}function tf(e){return(0,a.jsx)(td.c6,{children:(0,a.jsx)(tm,(0,n._)({},e))})}},67407:function(e,t,i){i.d(t,{L:function(){return o}});var n=i(101199),r=i(889429);function o(){(0,n.useEffect)(()=>{var e,t;null===(t=document.documentElement)||void 0===t||null===(e=t.setAttribute)||void 0===e||e.call(t,`is-${(0,r.qs)()}`,"true")},[])}},828018:function(e,t,i){i.d(t,{w:function(){return c}});var n=i(629686),r=i(101199),o=i(715858),a=i(618759),l=i(654527),s=i(745285),d=i(499059),u=i(237869);function c(e){let{clientVersion:t,ttwidCreateTime:i,userCtx:c,tceCluster:_,pathname:m,isIPv6:f,isMainland:p}=e,{userInfo:v}=c,h=null==v?void 0:v.info,g=null==h?void 0:h.uid,w=null==v?void 0:v.isLogin;(0,r.useLayoutEffect)(()=>{var e,r,c,v;window.tce_cluster=_,(0,o.$n)((0,n._)({pathname:m,is_mainland:p?1:0,is_client:(0,a.DT)(),client_version:t,first_install_time:i||0,douyin_pc_seo_page_id:(0,l.P)(m),in_piture_enable:(0,s.Kv)(),document_pip_supported:(0,s.ZV)(),arch:null!==(v=null===(r=window)||void 0===r?void 0:null===(e=r.TTE_ENV)||void 0===e?void 0:e.arch)&&void 0!==v?v:"",tce_cluster:_,is_mobile:(0,a.tq)()?1:0,is_ipad:(0,a._1)()?1:0,is_apad:(0,a.iO)()?1:0,is_ad_block:(null===(c=d.Le.getConfig(d.gI.AdBlock))||void 0===c?void 0:c.needFilterAd)?1:0,is_client_offline:(0,u.PB)()?1:0,is_ipv6:f?1:0},(0,u.XD)())),(0,o.D$)(g,w)},[t,i,g,w,_,f,p])}},64094:function(e,t,i){i.d(t,{Z:function(){return s}}),i(490629);var n=i(101199),r=i(371827),o=i(528937),a=i(66948),l=i(799155);let s=e=>{let{abtest:t}=e,[i,s]=(0,n.useState)();(0,n.useEffect)(()=>{let e=!1;return(async()=>{let t=await o.get({key:a.TccKey.HeatmapAb,defaultValue:{enableKey:"heatmap",enableValue:1}});!e&&s(t)})(),()=>{e=!0}},[]),(0,n.useEffect)(()=>{i&&(null==t?void 0:t.__isLoaded)&&(null==t?void 0:t[i.enableKey])===i.enableValue&&(0,l.oe)("applyIntegrations",[(0,r.heatmap)({trackRootScroll:!1})])},[t,i])}},185815:function(e,t,i){i.d(t,{I:function(){return n}});let{useDispatch:n}=i(257795)},689222:function(e,t,i){i.d(t,{i:function(){return l}});var n=i(320165);i(101199);var r=i(191491),o=i(469935),a=i.n(o);let l=e=>{let{className:t,lineStyle:i="solid",height:o=1}=e||{};return(0,n.jsx)("div",{className:a()(r.default.divider,t),style:{borderTopStyle:i,borderTopWidth:`${o}px`}})}},754810:function(e,t,i){i.d(t,{IB:function(){return r},Tw:function(){return n}});let n=e=>{let t=document.createElement("div");return e.appendChild(t),t},r=(e,t)=>(e.className+=` ${t}`,e)},456818:function(e,t,i){i.d(t,{Y:function(){return s}}),i(679308),i(490629);var n=i(752150),r=i(593585),o=i(247167),a=i(690193);let l="webcast.douyin.live_pc";async function s(e){let{webRid:t,isPreEnterRoom:i}=e,s=Date.now(),d=Promise.all([(0,r.Yw)({webRid:t,isPreEnterRoom:i}),(0,n.ZP)({service_name:l,key:"iframe_conf"}),(0,n.ZP)({service_name:l,key:"linkmic_heart_config"}),(0,n.ZP)({service_name:l,key:"live_quality_count_tactics"}),(0,n.ZP)({service_name:l,key:"asiangame_season_ids"}),(0,n.ZP)({service_name:l,key:"olympicgame_season_ids"})]);return d.then(()=>{let e=Date.now()-s;(0,o.traceFetchDetailEvent)(e)}).catch(e=>{(0,a.WH)("liveDetailApi_error",{webRid:t,isPreEnterRoom:i,errorMessage:null==e?void 0:e.message,errorStack:null==e?void 0:e.stack,error:"string"==typeof e?e:""})}),d}},436698:function(e,t,i){i.d(t,{N:function(){return W}});var n=i(629686),r=i(402748);i(490629),i(706056);var o=i(320165),a=i(101199),l=i(352984),s=i(502615),d=i(243970),u=i(845975),c=i(869014),_=i.n(c),m=i(660122),f=i(612151),p=i(275469),v=i(397176),h=i(48065),g=i(689354),w=i(719981),y=i(535303),S=i(858651),C=i(764283),b=i(621386),E=i(469935),k=i.n(E),T=i(9672),N=i(119420),I=i(138386),x=i(621666),P=i(444326),A=i(476023),L=i(690193),M=i(953123),R=i(806217);let D=e=>{let{playerRef:t}=e,{playerRef:i,el:n,loggerRef:r}=(0,a.useContext)(s.ET);return(0,a.useEffect)(()=>{(null==t?void 0:t.current)&&(t.current.getPlayer=()=>null==i?void 0:i.current,t.current.getPlayerDom=()=>n,t.current.getPlayerLogger=()=>null==r?void 0:r.current)},[n,i.current,r.current]),null},O=()=>{let{playerRef:e}=(0,a.useContext)(s.ET);return(0,p.V)(e.current),null},V=e=>{let{playerRef:t,el:i}=(0,a.useContext)(s.ET);return(null==t?void 0:t.current)&&i?e.children:null},W=(0,a.forwardRef)((e,t)=>{var i,c,p,E,W,j;let{children:F,baseConfig:U,pluginsConfig:B,className:H,sessionId:G,playerRef:Z,onBeforePlayerInit:Y,playerAction:K={},reusePlayer:q,playerInstance:z,loggerInstance:J,disableDynamicBg:Q,disableLogger:X,scene:$}=e,ee=(0,m._)(e),[et,ei]=(0,a.useState)(!1),en=(0,S.useGetAllAbTestData)(),er=(0,a.useMemo)(()=>({plugins:[d.Gz,d.l1,d.Zh,u.c_,d.xQ,d.o,I.b,x.d]}),[]),eo=null===(c=(0,S.useInLiveClientSrNewScenes)())||void 0===c?void 0:null===(i=c.includes)||void 0===i?void 0:i.call(c,$),ea=null===(E=(0,S.useInLiveWebSrNewScenes)())||void 0===E?void 0:null===(p=E.includes)||void 0===p?void 0:p.call(E,$),el=(0,a.useMemo)(()=>_()({play:{position:s.PZ.CONTROL_LEFT,index:0},controls:{autoHide:!0,orderCounterintuitive:!0},loading:{text:"直播加载中"},tripleVideo:{enable:!1},[I.b.pluginName]:{enableClientSR:eo,enableWebSR:ea,scene:$}},B),[B,eo,ea]),es=(0,m.v)(e),ed=(null==Z?void 0:null===(j=Z.current)||void 0===j?void 0:null===(W=j.getPlayer)||void 0===W?void 0:W.call(j))||z,eu=(0,P.uR)(el)||(0,P.lw)(ed),ec=(0,a.useMemo)(()=>{var t,i,o,a,l;U.volume=U.volume<0?.6:U.volume;let s=null===(t=(0,P.Bk)({pluginsConfig:el}))||void 0===t?void 0:t.RTMConfig,d=(0,A.f)(s),u=(0,r._)((0,n._)((0,r._)((0,n._)({ctxDependList:[],coreType:(null==ed?void 0:null===(i=ed.baseConfig)||void 0===i?void 0:i.coreType)||(0,y.wA)({abTestData:en}),preProcessUrl:e=>(null==U?void 0:U.preProcessUrl)?U.preProcessUrl(e):(0,f.oM)(e,G)},(0,S.getLivePlayerLoadConfig)(en)),{veConfig:{minSamplesForPlayback:5,flvStallOptConfig:(0,S.getLiveFlvStallOptConfigAB)(en),flvAvSyncCorrectionConfig:(0,S.getLiveFlvAvAsyncCorrectionConfigAB)(en)}}),U,(0,S.getLivePlayerAdaptiveConfig)(en)),{ab:(0,n._)((0,r._)((0,n._)({},d,U.ab),{nochaseframe:(0,S.getLiveNoChaseFrameAB)(en)}),(null===(o=(0,S.getLiveDecryptionReuseAB)(en))||void 0===o?void 0:o.reuseAwManager)===1?{decryption:!0}:{},1===(0,S.getLivePlayerNoInStallAB)(en)?{noInStall:!0}:{})});if(!eu&&(0,L.WH)("BasicPlayer_baseConfig_inUseStreamPlugin_false",(0,r._)((0,n._)({},u),{scene:$})),eu){(null==ed?void 0:null===(a=ed.baseConfig)||void 0===a?void 0:a.coreType)&&(u.coreType=null==ed?void 0:null===(l=ed.baseConfig)||void 0===l?void 0:l.coreType);if(["url","_freezeUrl","protocol","decryption"].forEach(e=>delete u[e]),!(null==ed?void 0:ed.src)){let e=(0,n._)({},u),t=x.d.getInitUrlByStreamPluginConfig({streamPluginConfig:(0,P.Bk)({pluginsConfig:el}),baseConfig:e});t&&(u.url=null==t?void 0:t.url,u.protocol=null==t?void 0:t.protocol,u.decryption=null==t?void 0:t.decryption)}}return(0,L.qu)(`BasicPlayer_baseConfig_update_from_${$} url: ${(0,M.nr)(u.url||"")}`,{props:(0,n._)({},e),config:(0,n._)({},u)}),u},[U,G,z,q,et]),e_=(0,R.Z)(function(){for(var e=arguments.length,t=Array(e),i=0;i{var e;if(v.s)return{reusePlayer:!1};let{inlinePlayer:t}=K,{ret:i}=null!==(e=window.__inline_player__)&&void 0!==e?e:{};return{reusePlayer:t||q,playerInstance:t?null==i?void 0:i.player:z,loggerInstance:t?null==i?void 0:i.logger:J}},[K,q,z,J]),ef=(0,a.useRef)(!1),ep=(0,a.useRef)(null);return a.useMemo(()=>{let e=!0;if(v.s)return!0;try{new EventTarget}catch(t){e=!1}if(!e){var t;null===C.kg||void 0===C.kg||null===(t=C.kg.event)||void 0===t||t.call(C.kg,"new_player_event_target_not_support")}return e},[])?(!ef.current&&(Y&&Y(),ef.current=!0),(0,o.jsxs)(s.v7,{ref:e=>{ep.current=e,"function"==typeof t?t(e):(null==t?void 0:t.current)&&(t.current=e)},className:k()(H,b.default.basicPlayer,`LivePlayer_${$}`),baseConfig:ec,preset:er,pluginsConfig:el,logOptions:es,Logger:l.Z,onPlayerCreated:e_,reusePlayer:em.reusePlayer,playerInstance:em.playerInstance,loggerInstance:em.loggerInstance,children:[(0,o.jsx)(N.Pk,{}),(0,o.jsx)(g.p,(0,r._)((0,n._)({},e),{finalBaseConfig:ec,pluginsConfigInternal:el,children:(0,o.jsx)(h.J,(0,r._)((0,n._)({},e),{exposedRef:ep,children:(0,o.jsxs)(V,{children:[!Q&&(0,o.jsx)(u.Hc,{maskBg:"rgba(0,0,0,0.5)",defaultImage:null==e?void 0:e.poster,reduceDrawing:null==e?void 0:e.reduceDrawing,oomOptimize:1===(0,S.getLiveDynamicBackgroundOomOptimizeAB)(en)}),(0,o.jsx)(u.yb,{props:null==B?void 0:B.CompatibilityFullscreenPlugin,index:1}),(0,o.jsx)(D,{playerRef:Z}),(0,o.jsx)(O,{}),(0,o.jsx)(w.aR,{disableLogger:X}),(0,o.jsx)(T.k,{}),F]})}))}))]})):(0,o.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",color:"#ffffff"},children:"当前浏览器版本过低,暂不支持直播功能,请升级浏览器"})})},865526:function(e,t,i){var n=i(991879),r=i(198412),o=i.n(r),a=i(101199),l=i(414061);t.Z=e=>{let{initDuration:t,maxDuration:i,anchorId:r,roomId:s}=e,d=(0,a.useRef)(t),u=(0,a.useRef)(t),c=(0,a.useRef)(0),_=(0,a.useRef)(0),m=(e,t)=>async()=>{try{let t=await (0,n.xL)({id:r,entity_id:s,ping_type:e,id_type:3,timestamp:Math.floor(Date.now()/1e3),paid_live_type:101}),i=o()(t,"data.data.duration");d.current=i,u.current=i}catch(e){}},f=()=>m(1,!0)(),p=()=>m(3,!1)(),v=()=>m(2,!0)(),h=()=>{let e=()=>{if(u.current>=i){l.emit(l.EVENT.VipLivePreviewEnd);return}u.current+=1,l.emit(l.EVENT.VipLiveUpdateCountDown,u.current),_.current=setTimeout(e,1e3)};e()},g=()=>{let e=async()=>{if(await v(),d.current>=i){l.emit(l.EVENT.VipLivePreviewEnd),p();return}c.current=setTimeout(e,1e4)};e()},w=()=>{f(),g(),h()},y=()=>{p(),S()},S=()=>{clearTimeout(c.current),clearTimeout(_.current)},C=()=>{g(),h()};(0,a.useEffect)(()=>{if(!(t>i))d.current=t,u.current=t,w()},[]),(0,a.useEffect)(()=>{let e=l.listen(l.EVENT.VipLiveFreePreviewPause,y),t=l.listen(l.EVENT.VipLiveFreePreviewRecoverPlay,C);return()=>{e(),t(),y()}},[])}},370392:function(e,t){t.Z={DOMAIN:"live-boe.douyin.com",API_DOMAIN:"http://live-boe.douyin.com",VIDEO_DOMAIN:"www-boe.douyin.com",SSO_HOST:"https://sso.douyin.com",LINK_PREFIX:"//live-boe.douyin.com",BASENAME:""}},622063:function(e,t,i){var n=i(480333);i(490629),i(968336),i(932651);var r=i(397176),o=i(764283),a=i(690193),l=i(444326),s=i(858651);t.Z=r.s?null:new class e{save(e,t,i){var n,r,a;if(this.playerInstance&&(null===o.kg||void 0===o.kg||null===(a=o.kg.event)||void 0===a||a.call(o.kg,"player_save_error")),!e||this.playerInstance)return;this.playerInstance=e,this.loggerInstance=t;let l=e.root;this.originContainer=l;let s=document.createElement("div");s.className=i||"",this.el=s;let d=l.cloneNode();for(let[e,t]of(this.container=d,Object.entries(l)))e.startsWith("__react")&&t.stateNode&&(t.stateNode=d,t.alternate&&(t.alternate.stateNode=d));let{top:u,left:c,width:_,height:m}=l.getBoundingClientRect();this._previewRect={top:u,left:c,width:_,height:m},Object.assign(s.style,{position:"fixed",top:`${u}px`,left:`${c}px`,width:`${_}px`,height:`${m}px`,zIndex:"9999",transition:"all 0.3s ease"});let f=l.children;for(;f.length>0;)d.appendChild(f[0]);document.body.appendChild(s),s.appendChild(d),this.timeStamp=performance.now(),null===(n=this.playerInstance)||void 0===n||n.on("play",this._playHandler),null===(r=this.playerInstance)||void 0===r||r.on("pause",this._pauseHandler)}reuse(e){var t;if(!e||!this.el)return;let{top:i,left:n,width:r,height:o}=e.getBoundingClientRect();Object.assign(this.el.style,{top:`${i}px`,left:`${n}px`,width:`${r}px`,height:`${o}px`});let a=this.getContainer();if(a===e)return;for(let[t,i]of Object.entries(e))t.startsWith("__react")&&(a[t]=e[t],i.stateNode&&(i.stateNode=a,i.alternate&&(i.alternate.stateNode=a)));e.replaceWith(a),this._playReuseTransition(a),null===(t=this.playerInstance)||void 0===t||t.updateConfig({baseConfig:{el:a},pluginsConfig:{controls:{autoHide:!0,orderCounterintuitive:!0}}}),this._preCreateInstance.player===this.playerInstance&&setTimeout(()=>{null==a||a.classList.remove("douyin-player-pause"),null==a||a.classList.remove("douyin-player-loading"),null==a||a.classList.remove("douyin-player-isloading")},200),this.removeEl();let l=()=>{try{var e;let t=null==a?void 0:null===(e=a.getBoundingClientRect)||void 0===e?void 0:e.call(a);(null==t?void 0:t.width)&&(null==t?void 0:t.height)&&(this._roomRect={top:t.top,left:t.left,width:t.width,height:t.height})}catch(e){}};l();try{this._resizeObserver=new ResizeObserver(()=>{var e;null===(e=this.playerInstance)||void 0===e||e.emit("video_resize"),l()}),this._resizeObserver.observe(a)}catch(e){}for(let[e,t]of Object.entries(this.originContainer))e.startsWith("__react")&&t.stateNode&&(t.stateNode=this.originContainer,t.alternate&&(t.alternate.stateNode=this.originContainer));this.isReuse=!0}_flipTransition(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{if(!(0,s.getUseEnterRoomAnimationAB)()||!e||!t||!t.width||!t.height)return;let n=e.getBoundingClientRect();if(!n.width||!n.height){i>0&&requestAnimationFrame(()=>this._flipTransition(e,t,i-1));return}let r=t.left-n.left,o=t.top-n.top,a=t.width/n.width,l=t.height/n.height;if(1>Math.abs(r)&&1>Math.abs(o)&&.01>Math.abs(a-1)&&.01>Math.abs(l-1))return;let d=e.style.transition,u=e.style.transformOrigin,c=e.style.willChange;e.style.transition="none",e.style.transformOrigin="top left",e.style.willChange="transform",e.style.transform=`translate(${r}px, ${o}px) scale(${a}, ${l})`;let _=()=>{e.removeEventListener("transitionend",_),clearTimeout(m),e.style.transition=d,e.style.transform="",e.style.transformOrigin=u,e.style.willChange=c};requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.style.transition="transform 0.3s ease",e.style.transform=""})}),e.addEventListener("transitionend",_);let m=setTimeout(_,400)}catch(e){var n;null===o.kg||void 0===o.kg||null===(n=o.kg.event)||void 0===n||n.call(o.kg,"player_reuse_transition_error",{message:null==e?void 0:e.message})}}_playReuseTransition(e){this._flipTransition(e,this._previewRect)}_playRecoverTransition(e,t){let i=t&&t.width&&t.height?t:this._roomRect;this._flipTransition(e,i)}recover(){var e,t,i;if(!this.playerInstance||!this.originContainer)return;let n=!this.isReuse&&this.el;if(n)for(let[e,i]of(null===o.kg||void 0===o.kg||null===(t=o.kg.event)||void 0===t||t.call(o.kg,"player_recover_no_reuse"),Object.entries(this.originContainer)))e.startsWith("__react")&&i.stateNode&&(i.stateNode=this.originContainer,i.alternate&&(i.alternate.stateNode=this.originContainer));let r=n?this.container:this.playerInstance.root,a=this.isReuse&&r?null==r?void 0:null===(e=r.getBoundingClientRect)||void 0===e?void 0:e.call(r):void 0;Array.from(r.children).forEach(e=>{var t;(null==e?void 0:null===(t=e.dataset)||void 0===t?void 0:t.e2e)!=="toast"&&this.originContainer.appendChild(e)}),this._playRecoverTransition(this.originContainer,a),this.removeEl(),this.playerInstance===this._preCreateInstance.player&&(null===(i=this.playerInstance)||void 0===i||i.pause(),this.playerInstance.video.srcObject=null),this.playerInstance.updateConfig({baseConfig:{el:this.originContainer},pluginsConfig:{controls:{autoHide:!1,orderCounterintuitive:!1}}}),this.destroy()}reuseReplaceDom(){}destroy(){var e,t,i,n,r;null===(e=this.playerInstance)||void 0===e||e.off("play",this._playHandler),null===(t=this.playerInstance)||void 0===t||t.off("pause",this._pauseHandler),this.playerInstance=void 0,this.el=void 0,this.loggerInstance=void 0,this.playerEvents={},this.timeStamp=0,this.enterEndTimeStamp=0,this.container=void 0,this.originContainer=void 0,this._isPreLoadStream=!1,this._previewRect=void 0,this._roomRect=void 0,this._enterIsLandscapeHint=void 0,this.isReuse=!1,this.isDestroyError=!1;try{null===(n=this._preCreateInstance.player)||void 0===n||null===(i=n.updateConfig)||void 0===i||i.call(n,{baseConfig:{url:""}})}catch(e){}try{null===this||void 0===this||null===(r=this._resizeObserver)||void 0===r||r.disconnect(),this._resizeObserver=void 0}catch(e){}}getPlayerInstance(){return this.playerInstance}setEnterIsLandscapeHint(e){this._enterIsLandscapeHint=e}getEnterIsLandscapeHint(){return this._enterIsLandscapeHint}getLoggerInstance(){return this.loggerInstance}getContainer(){return this.container}removeEl(){var e,t;null===(t=this.el)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t),this.el=void 0}saveUsePreCreatePlayer(){if(this._preCreateInstance.player&&this._preCreateInstance.logger){this.save(this._preCreateInstance.player,this._preCreateInstance.logger);try{var e,t,i,n,r,o;null===(i=this._preCreateInstance.player)||void 0===i||null===(t=i.plugins)||void 0===t||null===(e=t.play)||void 0===e||e.show(),null===(o=this._preCreateInstance.player)||void 0===o||null===(r=o.plugins)||void 0===r||null===(n=r.volume)||void 0===n||n.show()}catch(e){}}}setPreCreatePlayerInstance(e,t){this._preCreateInstance={logger:t,player:e},e&&e.on("loadeddata",this._prePlayerFirstFrameHandler)}clearPreCreatePlayerInstance(){this._preCreateInstance={}}preLoadStream(e){let{h264PullData:t,h265PullData:i}=e;if(!!this._preCreateInstance.player&&(!!t||!!i)&&!this.isReuse)this._isPreLoadStream=!0,(0,a.qu)("PlayerReuseManager_preLoadStream",{h264PullData:t,h265PullData:i}),(0,l.b9)({player:this._preCreateInstance.player,partialStreamPluginConfig:{enable:!0,streamData:{h264PullData:t,h265PullData:i}}})}recordEnterEndTimeStamp(){!this.enterEndTimeStamp&&(this.enterEndTimeStamp=performance.now())}getPreCreatePlayerInstance(){var e;return null===(e=this._preCreateInstance)||void 0===e?void 0:e.player}isUsePreCreatePlayer(){var e;return this.playerInstance===(null===(e=this._preCreateInstance)||void 0===e?void 0:e.player)}isPreloadStream(){return this._isPreLoadStream}constructor(){(0,n._)(this,"playerInstance",void 0),(0,n._)(this,"el",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"originContainer",void 0),(0,n._)(this,"loggerInstance",void 0),(0,n._)(this,"playerEvents",{}),(0,n._)(this,"timeStamp",0),(0,n._)(this,"enterEndTimeStamp",0),(0,n._)(this,"_pauseHandler",()=>{try{var e,t,i,n;null===(t=this.originContainer)||void 0===t||null===(e=t.classList)||void 0===e||e.remove("douyin-player-play"),null===(n=this.originContainer)||void 0===n||null===(i=n.classList)||void 0===i||i.add("douyin-player-pause")}catch(e){}}),(0,n._)(this,"_playHandler",()=>{try{var e,t,i,n;null===(t=this.originContainer)||void 0===t||null===(e=t.classList)||void 0===e||e.remove("douyin-player-pause"),null===(n=this.originContainer)||void 0===n||null===(i=n.classList)||void 0===i||i.add("douyin-player-play")}catch(e){}}),(0,n._)(this,"_preCreateInstance",{}),(0,n._)(this,"_isPreLoadStream",!1),(0,n._)(this,"_previewRect",void 0),(0,n._)(this,"_roomRect",void 0),(0,n._)(this,"_enterIsLandscapeHint",void 0),(0,n._)(this,"isReuse",!1),(0,n._)(this,"isDestroyError",!1),(0,n._)(this,"_prePlayerFirstFrameHandler",()=>{var e,t;(null===(t=this._preCreateInstance)||void 0===t?void 0:null===(e=t.player)||void 0===e?void 0:e.video)&&this._preCreateInstance.player.play()})}}},810208:function(e,t,i){i.d(t,{G:function(){return d},v:function(){return u}}),i(490629);var n=i(795233),r=i.n(n),o=i(622063),a=i(339808),l=i(995898),s=i(101199);let d=(e,t,i)=>{var n;let{onReady:a=r(),onComplete:l=r(),onLoadedData:s=r(),onLoadStart:d=r(),beforePlayerInit:u=r(),onAutoplayWasPrevented:c=r()}=i;if(!(!e||!(null===o.Z||void 0===o.Z?void 0:o.Z.isPreloadStream())&&(null===o.Z||void 0===o.Z?void 0:o.Z.isUsePreCreatePlayer())))null===(n=i.onPlay)||void 0===n||n.call(i),d((null===o.Z||void 0===o.Z?void 0:o.Z.enterEndTimeStamp)-(null===o.Z||void 0===o.Z?void 0:o.Z.timeStamp)),s((null===o.Z||void 0===o.Z?void 0:o.Z.enterEndTimeStamp)-(null===o.Z||void 0===o.Z?void 0:o.Z.timeStamp))},u=()=>{let e=(0,a.a)(),t=(0,l.Nr)(e.pathname),i=(0,s.useRef)(t),[n,r]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{!t&&i.current?r(!0):r(!1),i.current=t},[t]),n}},997288:function(e,t,i){i.d(t,{V0:function(){return r},xs:function(){return n}});var n={Scene_Unknown:0,0:"Scene_Unknown",Scene_PK:1,1:"Scene_PK",Scene_AnchorLinkmic:2,2:"Scene_AnchorLinkmic",Scene_VirutalPK:3,3:"Scene_VirutalPK",Scene_AudienceLinkmic:4,4:"Scene_AudienceLinkmic",Scene_AudioChatRoom:5,5:"Scene_AudioChatRoom",Scene_CloudGame:6,6:"Scene_CloudGame",Scene_AnchorMultiLinkmic:7,7:"Scene_AnchorMultiLinkmic",Scene_VideoChatRoom:8,8:"Scene_VideoChatRoom",Scene_KTV:9,9:"Scene_KTV",Scene_ShareVideo:10,10:"Scene_ShareVideo",Scene_ShareKTV:11,11:"Scene_ShareKTV",Scene_VideoEqualRoom:12,12:"Scene_VideoEqualRoom",Scene_VideoKTV:13,13:"Scene_VideoKTV",Scene_GameAnchorLinkmic:14,14:"Scene_GameAnchorLinkmic",Scene_GameAnchorLinkmicWithLayout:15,15:"Scene_GameAnchorLinkmicWithLayout",Scene_CrossRoomLinkmic:16,16:"Scene_CrossRoomLinkmic",Scene_MediaLinkmic:17,17:"Scene_MediaLinkmic",Scene_AudioChannelRoom:18,18:"Scene_AudioChannelRoom",Scene_CommentaryLinkmic:19,19:"Scene_CommentaryLinkmic",Scene_VideoLinkmic:20,20:"Scene_VideoLinkmic",Scene_Default:100,100:"Scene_Default"},r={LinkmicPlayMode_Unknown:0,0:"LinkmicPlayMode_Unknown",LinkmicPlayMode_VideoFriend:1,1:"LinkmicPlayMode_VideoFriend",LinkmicPlayMode_VideoChatFloatWindowLayout:2,2:"LinkmicPlayMode_VideoChatFloatWindowLayout",linkmicPlayMode_MultiPK:3,3:"linkmicPlayMode_MultiPK",LinkmicPlayMode_DynamicLayout:4,4:"LinkmicPlayMode_DynamicLayout",LinkmicPlayMode_GuestBattle:5,5:"LinkmicPlayMode_GuestBattle",LinkmicPlayMode_KTVSingingChallenge:6,6:"LinkmicPlayMode_KTVSingingChallenge",LinkmicPlayMode_Teamfight:7,7:"LinkmicPlayMode_Teamfight",LinkmicPlayMode_AnchorKTV:8,8:"LinkmicPlayMode_AnchorKTV",LinkmicPlayMode_BGMKTV:9,9:"LinkmicPlayMode_BGMKTV",LinkmicPlayMode_VideoKTV:10,10:"LinkmicPlayMode_VideoKTV",LinkmicPlayMode_NormalPaidLinkmic:11,11:"LinkmicPlayMode_NormalPaidLinkmic",LinkmicPlayMode_BidPaidLinkmic:12,12:"LinkmicPlayMode_BidPaidLinkmic",LinkmicPlayMode_VideoEnlargeGuest:13,13:"LinkmicPlayMode_VideoEnlargeGuest",LinkmicPlayMode_VideoEqual_Top1V8:14,14:"LinkmicPlayMode_VideoEqual_Top1V8",LinkmicPlayMode_MultiPK_Team:15,15:"LinkmicPlayMode_MultiPK_Team",LinkmicPlayMode_RoomBattle:16,16:"LinkmicPlayMode_RoomBattle",LinkmicPlayMode_SelfDiscipline:17,17:"LinkmicPlayMode_SelfDiscipline",LinkmicPlayMode_DuoBattle:18,18:"LinkmicPlayMode_DuoBattle",LinkmicPlayMode_OrderSing:19,19:"LinkmicPlayMode_OrderSing",LinkmicPlayMode_InteractiveScreenCast:20,20:"LinkmicPlayMode_InteractiveScreenCast",LinkmicPlayMode_KTVComponent:21,21:"LinkmicPlayMode_KTVComponent",LinkmicPlayMode_ThemedCompetition:22,22:"LinkmicPlayMode_ThemedCompetition",LinkmicPlayMode_Chorus:23,23:"LinkmicPlayMode_Chorus",LinkmicPlayMode_AudioChat_1_PLUS_8:24,24:"LinkmicPlayMode_AudioChat_1_PLUS_8",LinkmicPlayMode_AudioChat_3x3_ONE_ENMPTY:25,25:"LinkmicPlayMode_AudioChat_3x3_ONE_ENMPTY",LinkmicPlayMode_AudioChat_3x3_N_EMPTY:26,26:"LinkmicPlayMode_AudioChat_3x3_N_EMPTY",LinkmicPlayMode_VotePlay:27,27:"LinkmicPlayMode_VotePlay",LinkmicPlayMode_ShellPlay:28,28:"LinkmicPlayMode_ShellPlay",LinkmicPlayMode_Adventure:29,29:"LinkmicPlayMode_Adventure",LinkmicPlayMode_Breakthrough:30,30:"LinkmicPlayMode_Breakthrough",LinkmicPlayMode_GameBarrage:31,31:"LinkmicPlayMode_GameBarrage",LinkmicPlayMode_AudioSubtitle:32,32:"LinkmicPlayMode_AudioSubtitle",LinkmicPlayMode_Survival:33,33:"LinkmicPlayMode_Survival",LinkmicPlayMode_StarWish:34,34:"LinkmicPlayMode_StarWish",LinkmicPlayMode_MV:35,35:"LinkmicPlayMode_MV",LinkmicPlayMode_RealTimeChorus:36,36:"LinkmicPlayMode_RealTimeChorus",LinkmicPlayMode_GuestLink:37,37:"LinkmicPlayMode_GuestLink",LinkmicPlayMode_GameBarrageLink:38,38:"LinkmicPlayMode_GameBarrageLink",LinkmicPlayMode_ChorusConcert:39,39:"LinkmicPlayMode_ChorusConcert",LinkmicPlayMode_ChestGame:40,40:"LinkmicPlayMode_ChestGame",LinkmicPlayMode_GiftComment:41,41:"LinkmicPlayMode_GiftComment",LinkmicPlaymode_InteractActing:42,42:"LinkmicPlaymode_InteractActing",LinkmicPlayMode_SpecifiedGuestsPK:43,43:"LinkmicPlayMode_SpecifiedGuestsPK",LinkmicPlayMode_GuestBattleV2:44,44:"LinkmicPlayMode_GuestBattleV2",LinkmicPlayMode_GiftSing:45,45:"LinkmicPlayMode_GiftSing",LinkmicPlayMode_LinkmicChorus:46,46:"LinkmicPlayMode_LinkmicChorus",LinkmicPlayMode_MicAvatar:47,47:"LinkmicPlayMode_MicAvatar",LinkmicPlayMode_MiniGameCasting:48,48:"LinkmicPlayMode_MiniGameCasting",LinkmicPlayMode_TeamfightV2:49,49:"LinkmicPlayMode_TeamfightV2",LinkmicPlayMode_ArenaBattle:50,50:"LinkmicPlayMode_ArenaBattle",LinkmicPlayMode_GuestTarget:51,51:"LinkmicPlayMode_GuestTarget",LinkmicPlayMode_Inno:52,52:"LinkmicPlayMode_Inno"}},247167:function(e,t,i){i.r(t),i.d(t,{StreamStallMonitorV2:function(){return L},checkAndRecordAccessSSRLiving:function(){return C},enterRecord:function(){return g},getFps:function(){return S},getPerfCommonParams:function(){return b},startLivePerfTrace:function(){return P},startTraceLiveDetailEvent:function(){return x},traceFetchDetailEvent:function(){return I},traceLivePerfPlayerLeaveEvent:function(){return A}});var n=i(480333),r=i(629686),o=i(402748);i(490629),i(656562),i(992871),i(706056),i(559561),i(374954),i(104882),i(76375);var a=i(318966),l=i(264034),s=i.n(l),d=i(350856),u=i.n(d),c=i(414061),_=i(335924),m=i(601034),f=i(442878);let p=()=>"undefined"!=typeof location?(0,a.ZB)(location.href):"",v=()=>"LIVING"===p(),h="undefined"==typeof window,g=(()=>{let e=!1,t=()=>{let e=()=>{},t=null,n=()=>{i(!1),e(),t&&clearTimeout(t)};e=c.listen(c.EVENT.afterVideoPlayed,n),t=setTimeout(()=>n(),1e4)},i=i=>{(e=i)&&t()};return v()&&i(!0),{startEnterRoom:()=>{i(!0)},getIsEnteringRoom:()=>e}})(),w=()=>"undefined"!=typeof document&&"hidden"===document.visibilityState,y=()=>"undefined"!=typeof document&&"visible"===document.visibilityState,S=(()=>{let e=-1;try{if(h||"function"!=typeof requestAnimationFrame)return()=>-1;let t=t=>{e=t},i=()=>{if(!y())return;let e=performance.now();requestAnimationFrame(()=>{let i=performance.now()-e;t(Math.round(1e3/i))})},n=0,r=performance.now(),o=w(),a=()=>{let e=performance.now();n++;let l=e-r;if(l>=1e3){let a=Math.round(1e3*n/l);o?(o=!1,i()):t(a),r=e,n=0,r=e}requestAnimationFrame(a)};document.addEventListener("visibilitychange",()=>{w()?o=!0:i()},{capture:!0}),i(),a()}catch(e){}return()=>e})(),C=()=>{if(h)return{};"LIVING"===p()&&(0,f.p)().recordAccess()};function b(){if(h)return{};try{let e={url:location.href,pid:p(),fps:S(),stay_time:performance.now(),is_entering_room:g.getIsEnteringRoom(),memory_limit:0,memory_total_size:0,memory_used_size:0,memory_device_memory:0,cpu_core_cnt:0,net_downlink:0,net_rtt:0,net_effective_type:"unknown",enter_method:(0,_.Rs)("enter_method"),enter_from:(0,m.yW)(),enter_from_merge:(0,_.Rs)("enter_from_merge"),is_fraud:(0,f.p)().isFraudulent()};if("memory"in performance&&performance.memory){let{memory:t}=performance;e=(0,o._)((0,r._)({},e),{memory_limit:Number(t.jsHeapSizeLimit/1024/1024),memory_total_size:Number(t.totalJSHeapSize/1024/1024),memory_used_size:Number(t.usedJSHeapSize/1024/1024),memory_device_memory:navigator.deviceMemory})}if("hardwareConcurrency"in navigator&&navigator.hardwareConcurrency&&(e=(0,o._)((0,r._)({},e),{cpu_core_cnt:navigator.hardwareConcurrency})),"connection"in navigator&&navigator.connection){let{connection:t}=navigator;e=(0,o._)((0,r._)({},e),{net_downlink:null==t?void 0:t.downlink,net_rtt:null==t?void 0:t.rtt,net_effective_type:null==t?void 0:t.effectiveType})}return e}catch(i){var e,t;return null===(t=(0,a.OK)())||void 0===t||null===(e=t.sendEvent)||void 0===e||e.call(t,{name:"getPerfCommonParams",categories:{error:i}}),{}}}let E=s()(()=>{if("undefined"!=typeof PerformanceObserver)new PerformanceObserver(e=>{for(let n of e.getEntries()){let{duration:e,startTime:o,name:a}=n;if(e>50){var t,i;null===(t=(i=window).collectEvent)||void 0===t||t.call(i,"livesdk_perf_longtask",(0,r._)({duration:Number(e),task_type:a,start_time:Number(o)},b()))}}}).observe({entryTypes:["longtask"],buffered:!0})}),k=s()(()=>{if("undefined"==typeof PerformanceObserver)return;let e=["LIVING","FOLLOW/LIVE","ROOT/LIVE"],t=e=>{try{let{pathname:t,host:i}=new URL(e);if(i.includes("zijieapi"))return!1;if(t.endsWith(".js")||t.endsWith(".css"))return!0;if(t.includes("."))return!1;return!0}catch(e){return!1}};new PerformanceObserver(i=>{if(!!e.includes(p())){for(let e of i.getEntries())if(e.duration>1e3&&t(e.name)){var n,o;null===(n=(o=window).collectEvent)||void 0===n||n.call(o,"livesdk_perf_slow_resource",(0,r._)({name:e.name,initiator_type:e.initiatorType,duration:e.duration,response_start:e.responseStart,transfer_size:e.transferSize},b()))}}}).observe({type:"resource"})}),T=s()(()=>{setInterval(()=>{let e=S();if(e<30&&"visible"===document.visibilityState){var t,i;null===(t=(i=window).collectEvent)||void 0===t||t.call(i,"livesdk_perf_low_fps",(0,r._)({fps:e},b()))}},3e3)}),N=s()(()=>{["click","input"].map(e=>{let t=u()(function(){for(var e,t,i=arguments.length,n=Array(i),r=0;r{var n;let o=performance.now(),a=null==i?void 0:null===(n=i.target)||void 0===n?void 0:n.className;setTimeout(()=>{let i=performance.now()-o;t("livesdk_perf_action_lag",(0,r._)({duration:i,action_type:e,target_class:a},b()))},0)},{capture:!0})})}),I=e=>{var t,i;if(!h)null===(t=(i=window).collectEvent)||void 0===t||t.call(i,"livesdk_perf_fetch_detail",(0,r._)({duration:e},b()))},x=e=>{var t,i,n,l;if(!h)try{let n=location.href.includes("preload=1"),a=()=>{};if(n){let t=!1,i=()=>{var i,n;if(!!y()&&!t)null===(i=(n=window).collectEvent)||void 0===i||i.call(n,"livesdk_perf_live_detail",(0,o._)((0,r._)({},b()),{is_entering_room:!0,room_id:e})),t=!0,a()};document.addEventListener("visibilitychange",i),a=()=>{document.removeEventListener("visibilitychange",i)},i()}else null===(t=(i=window).collectEvent)||void 0===t||t.call(i,"livesdk_perf_live_detail",(0,o._)((0,r._)({},b()),{room_id:e,is_entering_room:!0}));let l=setInterval(()=>{var t,i;if(!w())null===(t=(i=window).collectEvent)||void 0===t||t.call(i,"livesdk_perf_live_detail",(0,o._)((0,r._)({},b()),{room_id:e,is_entering_room:!1}))},15e3);return()=>{clearInterval(l),a()}}catch(e){null===(l=(0,a.OK)())||void 0===l||null===(n=l.sendEvent)||void 0===n||n.call(l,{name:"startTraceLiveDetailEvent",categories:{error:e}})}},P=s()(()=>{if(!h)try{E(),T(),N(),k(),C()}catch(i){var e,t;null===(t=(0,a.OK)())||void 0===t||null===(e=t.sendEvent)||void 0===e||e.call(t,{name:"startLivePerfTrace",categories:{error:i}})}}),A=e=>{var t,i;if(!h)null===(t=(i=window).collectEvent)||void 0===t||t.call(i,"livesdk_perf_player_leave",(0,r._)({},b(),e))};class L{_nowPerf(){return performance.now()}_perfToWall(e){return this.baseWallMs+(e-this.basePerfMs)}_wallToPerf(e){return this.basePerfMs+(e-this.baseWallMs)}_debug(e,t){if(!this.options.debug)return}_bindMediaEvents(){let e=this.media;e.addEventListener("play",this.eventHandlers.onPlay),e.addEventListener("pause",this.eventHandlers.onPause),e.addEventListener("waiting",this.eventHandlers.onWaiting),e.addEventListener("stalled",this.eventHandlers.onStalled),e.addEventListener("playing",this.eventHandlers.onPlaying),e.addEventListener("canplay",this.eventHandlers.onCanPlay),e.addEventListener("loadstart",this.eventHandlers.onLoadstart),e.addEventListener("abort",this.eventHandlers.onAbort),e.addEventListener("emptied",this.eventHandlers.onEmptied),e.addEventListener("suspend",this.eventHandlers.onSuspend),e.addEventListener("error",this.eventHandlers.onError)}_unbindMediaEvents(){let e=this.media;e.removeEventListener("play",this.eventHandlers.onPlay),e.removeEventListener("pause",this.eventHandlers.onPause),e.removeEventListener("waiting",this.eventHandlers.onWaiting),e.removeEventListener("stalled",this.eventHandlers.onStalled),e.removeEventListener("playing",this.eventHandlers.onPlaying),e.removeEventListener("canplay",this.eventHandlers.onCanPlay),e.removeEventListener("loadstart",this.eventHandlers.onLoadstart),e.removeEventListener("abort",this.eventHandlers.onAbort),e.removeEventListener("emptied",this.eventHandlers.onEmptied),e.removeEventListener("suspend",this.eventHandlers.onSuspend),e.removeEventListener("error",this.eventHandlers.onError)}_syncMedia(){let e=this.player.media;if(!e||e===this.media)return;let t=this._nowPerf();this._endStall(t,"media_change"),this._stopVideoFrameObserver(),this._unbindMediaEvents(),this.media=e,this._bindMediaEvents(),this._startVideoFrameObserver(),this.lastCurrentTime=this.player.currentTime,this.lastPlaybackAdvancedAtPerf=t,this.lastFrameRenderedAtPerf=t,this.hasFrameSignal=!1,this.lastTotalVideoFrames=null,this.recentBufferingSignalAtPerf=t,this._debug("media_change",{nowPerf:t})}_onPlay(){let e=this._nowPerf();this.lastPlaybackAdvancedAtPerf=e,this.recentBufferingSignalAtPerf=e,this._debug("event_play")}_onPause(){this._debug("event_pause")}_onPlaying(){let e=this._nowPerf();this.recentBufferingSignalAtPerf=e,this._endStall(e,"event_playing"),this._debug("event_playing")}_onCanPlay(){let e=this._nowPerf();this.recentBufferingSignalAtPerf=e,this._endStall(e,"event_canplay"),this._debug("event_canplay")}_onError(e){let t=this._nowPerf();this.recentBufferingSignalAtPerf=t,this._debug("event_error",{e})}_onBufferSignal(e){let t=this._nowPerf();this.recentBufferingSignalAtPerf=t,this._debug(`event_${e}`)}_stopVideoFrameObserver(){this.videoFrameObserverActive=!1;let e=this.media;null!==this.videoFrameCallbackId&&"function"==typeof e.cancelVideoFrameCallback&&e.cancelVideoFrameCallback(this.videoFrameCallbackId),this.videoFrameCallbackId=null}_startVideoFrameObserver(){let e=this.media;if("function"!=typeof e.requestVideoFrameCallback)return;this.videoFrameObserverActive=!0;let t=()=>{if(!this.videoFrameObserverActive)return;let i=this._nowPerf();this.hasFrameSignal=!0,this.lastFrameRenderedAtPerf=i,this.isStalling&&this._endStall(i,"frame"),this.videoFrameCallbackId=e.requestVideoFrameCallback(t)};this.videoFrameCallbackId=e.requestVideoFrameCallback(t)}_updateFrameFromQuality(e){var t,i;let n=null===(t=(i=this.player).getVideoPlaybackQuality)||void 0===t?void 0:t.call(i);if(!n||"number"!=typeof n.totalVideoFrames)return;let r=Number(n.totalVideoFrames);null!==this.lastTotalVideoFrames&&r>this.lastTotalVideoFrames&&(this.hasFrameSignal=!0,this.lastFrameRenderedAtPerf=e,this.isStalling&&this._endStall(e,"quality_frames")),this.lastTotalVideoFrames=r}_startCheckTimer(){this.checkTimer&&clearInterval(this.checkTimer),this.checkTimer=setInterval(()=>this._check(),this.options.checkInterval)}_startSecondTimer(){let e=()=>this._tickSecond(),t=L.SECOND_MS-Date.now()%L.SECOND_MS;this.secondAlignTimer=setTimeout(()=>{e(),this.secondTimer=setInterval(e,L.SECOND_MS)},t)}_isUserPausedIntent(e){return!!this.media.paused&&(!!this.media.ended||!(e-this.recentBufferingSignalAtPerf<=L.BUFFER_SIGNAL_WINDOW_MS)&&this.media.networkState!==HTMLMediaElement.NETWORK_LOADING&&!0)}_hasWeakBufferSignal(e,t){if(e-this.recentBufferingSignalAtPerf<=L.BUFFER_SIGNAL_WINDOW_MS||this.media.networkState===HTMLMediaElement.NETWORK_LOADING||this.media.readyState<3||this.media.seeking)return!0;let i=-1;try{let{buffered:e}=this.media;e&&e.length>0&&(i=e.end(e.length-1))}catch(e){}return!!(i>=0)&&!!(i-tthis.options.invalidThreshold){let t=Math.round(this._perfToWall(this.stallStartedAtPerf)),n=Math.round(this._perfToWall(e));this.totalStallMs+=i,this.totalStallCount+=1,this.stallRecords.push({startMs:t,endMs:n,durationMs:i})}this.isStalling=!1,this.stallStartedAtPerf=null,this.stallAccountedUntilPerf=null,this._debug("stall_end",{reason:t,durationMs:i})}_addStallTime(e,t){if(t<=e)return;let i=this._perfToWall(e),n=this._perfToWall(t);for(;ithis.options.invalidThreshold,totalStallTime:this.totalStallMs,totalStallCount:this.totalStallCount};!this.perSecondData.some(e=>e.timestamp===t)&&(this.perSecondData.push(n),this.perSecondData.length>this.options.keepHistoryCount&&this.perSecondData.shift())}_check(){let e=this._nowPerf();if(this._syncMedia(),this.media.ended){this._endStall(e,"ended");return}let t=this.player.currentTime;if(Math.abs(t-this.lastCurrentTime)>=.001&&(this.lastPlaybackAdvancedAtPerf=e,this.isStalling&&this._endStall(e,"progress")),this.lastCurrentTime=t,this._updateFrameFromQuality(e),this._isUserPausedIntent(e)){this._endStall(e,"user_paused");return}let i=e-this.lastPlaybackAdvancedAtPerf>=this.options.stallDetectMs,n=this.hasFrameSignal&&e-this.lastFrameRenderedAtPerf>=this.options.stallDetectMs,r=this._hasWeakBufferSignal(e,t);!this.isStalling&&(i||n)&&r&&this._startStall(Math.min(this.lastPlaybackAdvancedAtPerf,this.lastFrameRenderedAtPerf),"detect")}getTotalStats(){let e=this._nowPerf(),t=this.isStalling&&null!==this.stallStartedAtPerf?e-this.stallStartedAtPerf:0,i=this.totalStallMs+t;return{totalStallMs:this.totalStallMs,totalStallMsSec:(this.totalStallMs/1e3).toFixed(2),totalStallMsRealtime:i,totalStallMsRealtimeSec:(i/1e3).toFixed(2),totalStallCount:this.totalStallCount,records:[...this.stallRecords]}}getPerSecondStats(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e&&"number"==typeof e&&e>0?[...this.perSecondData.slice(-e)]:[...this.perSecondData]}destroy(){let e=this._nowPerf();this._endStall(e,"destroy"),this.checkTimer&&(clearInterval(this.checkTimer),this.checkTimer=null),this.secondTimer&&(clearInterval(this.secondTimer),this.secondTimer=null),this.secondAlignTimer&&(clearTimeout(this.secondAlignTimer),this.secondAlignTimer=null),this._stopVideoFrameObserver(),this._unbindMediaEvents(),this.perSecondBuckets.clear(),this.perSecondData=[],this.stallRecords=[]}constructor(e,t={}){var i,r,o,a,l,s;if((0,n._)(this,"player",void 0),(0,n._)(this,"media",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"baseWallMs",void 0),(0,n._)(this,"basePerfMs",void 0),(0,n._)(this,"lastCurrentTime",void 0),(0,n._)(this,"lastPlaybackAdvancedAtPerf",void 0),(0,n._)(this,"hasFrameSignal",void 0),(0,n._)(this,"lastFrameRenderedAtPerf",void 0),(0,n._)(this,"lastTotalVideoFrames",void 0),(0,n._)(this,"recentBufferingSignalAtPerf",void 0),(0,n._)(this,"isStalling",void 0),(0,n._)(this,"stallStartedAtPerf",void 0),(0,n._)(this,"stallAccountedUntilPerf",void 0),(0,n._)(this,"totalStallMs",void 0),(0,n._)(this,"totalStallCount",void 0),(0,n._)(this,"stallRecords",void 0),(0,n._)(this,"perSecondBuckets",void 0),(0,n._)(this,"perSecondData",void 0),(0,n._)(this,"checkTimer",void 0),(0,n._)(this,"secondTimer",void 0),(0,n._)(this,"secondAlignTimer",void 0),(0,n._)(this,"videoFrameObserverActive",void 0),(0,n._)(this,"videoFrameCallbackId",void 0),(0,n._)(this,"eventHandlers",void 0),!e||!e.media)throw Error("请传入有效的 playerInstance");this.player=e,this.media=e.media;let d=null!==(i=t.checkInterval)&&void 0!==i?i:L.DEFAULT_CHECK_INTERVAL_MS;this.options={invalidThreshold:null!==(r=t.invalidThreshold)&&void 0!==r?r:L.DEFAULT_INVALID_THRESHOLD_MS,checkInterval:d,keepHistoryCount:null!==(o=t.keepHistoryCount)&&void 0!==o?o:L.DEFAULT_KEEP_HISTORY_COUNT,stallDetectMs:null!==(a=t.stallDetectMs)&&void 0!==a?a:d*L.STALL_DETECT_MULTIPLIER,nearBufferEndSec:null!==(l=t.nearBufferEndSec)&&void 0!==l?l:L.DEFAULT_NEAR_BUFFER_END_SEC,debug:null!==(s=t.debug)&&void 0!==s&&s},this.baseWallMs=Date.now(),this.basePerfMs=performance.now();let u=this._nowPerf();this.lastCurrentTime=this.player.currentTime,this.lastPlaybackAdvancedAtPerf=u,this.hasFrameSignal=!1,this.lastFrameRenderedAtPerf=u,this.lastTotalVideoFrames=null,this.recentBufferingSignalAtPerf=u,this.isStalling=!1,this.stallStartedAtPerf=null,this.stallAccountedUntilPerf=null,this.totalStallMs=0,this.totalStallCount=0,this.stallRecords=[],this.perSecondBuckets=new Map,this.perSecondData=[],this.checkTimer=null,this.secondTimer=null,this.secondAlignTimer=null,this.videoFrameObserverActive=!1,this.videoFrameCallbackId=null,this.eventHandlers={onPlay:this._onPlay.bind(this),onPause:this._onPause.bind(this),onWaiting:this._onBufferSignal.bind(this,"waiting"),onStalled:this._onBufferSignal.bind(this,"stalled"),onPlaying:this._onPlaying.bind(this),onCanPlay:this._onCanPlay.bind(this),onLoadstart:this._onBufferSignal.bind(this,"loadstart"),onAbort:this._onBufferSignal.bind(this,"abort"),onEmptied:this._onBufferSignal.bind(this,"emptied"),onSuspend:this._onBufferSignal.bind(this,"suspend"),onError:this._onError.bind(this)},this._bindMediaEvents(),this._startVideoFrameObserver(),this._startSecondTimer(),this._startCheckTimer()}}(0,n._)(L,"SECOND_MS",1e3),(0,n._)(L,"DEFAULT_INVALID_THRESHOLD_MS",50),(0,n._)(L,"DEFAULT_CHECK_INTERVAL_MS",200),(0,n._)(L,"DEFAULT_KEEP_HISTORY_COUNT",600),(0,n._)(L,"STALL_DETECT_MULTIPLIER",5),(0,n._)(L,"DEFAULT_NEAR_BUFFER_END_SEC",.2),(0,n._)(L,"BUFFER_SIGNAL_WINDOW_MS",1500)},526226:function(e,t,i){i.d(t,{W:function(){return r},c:function(){return n}});var n={FLV:"flv",RTM:"rtm",M3U8:"m3u8"};let r={flv:{protocolName:"flv",fileTypeSuffix:"flv",streamObjKey:"flv"},rtm:{protocolName:"rtm",fileTypeSuffix:"sdp",streamObjKey:"lls"},m3u8:{protocolName:"m3u8",fileTypeSuffix:"m3u8",streamObjKey:"hls"}}},927061:function(e,t,i){i.d(t,{A5:function(){return P},BW:function(){return w},HD:function(){return M},Og:function(){return y},Ub:function(){return N},WE:function(){return x},c2:function(){return S},f9:function(){return A},fU:function(){return C},iv:function(){return E},rr:function(){return L}});var n=i(629686),r=i(402748);i(656562),i(992871),i(490629),i(706056),i(591964),i(117232),i(683656),i(759943),i(559561);var o=i(461014),a=i(953123),l=i(618759),s=i(585126),d=i.n(s),u=i(264034),c=i.n(u),_=i(614341),m=i(526226),f=i(299690),p=i(690193),v=i(423230),h=i(169631);let g=c()(()=>(0,_.tq)()),w="live-search-feed",y=c()(e=>{if(!!(0,o.m)())(0,p.qu)(`[${new Date().toISOString()}] checkAndPreloadRtmWebTsOnce_preCreatePlayerCore`),(0,f.tF)({enablePreloadWebTsSDK:e,webTsPreloadScopeId:w})});function S(e,t){try{if(!(null==t?void 0:t.length))return!1;let{host:i,pathname:n}=new URL(e),r=`${i}${n}`;return t.some(e=>r.includes(`-${e}.`))}catch(e){return(0,p.qu)("checkUrlCdnInList_error",{error:e},!0),!1}}let C=(0,v.g)(e=>{let{pullData:t}=e;try{let e=JSON.parse((null==t?void 0:t.stream_data)||"{}"),i=(null==e?void 0:e.data)||{};return i&&delete i.ao,e}catch(e){return(0,p.WH)("getServerStreamInfoFromPullData_error",{pullData:t}),null}},20,e=>{var t;return null===(t=e.pullData)||void 0===t?void 0:t.stream_data}),b=e=>{let{pullData:t}=e;try{var i,n;let e=C({pullData:t}),r=(null==e?void 0:e.data)||{},{streamObjKey:o}=m.W[m.c.RTM];return null===(n=Object.values(r).find(e=>{var t;return!!(null==e?void 0:null===(t=e.main)||void 0===t?void 0:t[o])}))||void 0===n?void 0:null===(i=n.main)||void 0===i?void 0:i[o]}catch(e){return null}},E=e=>{var t;let{pullData:i}=e;if(!i)return;let n=C({pullData:i}),r=null==n?void 0:null===(t=n.common)||void 0===t?void 0:t.secret_key;return r?{entry:"https://unpkg.byted-static.com/byted/webplayer-extensions/0.0.3/dist/live-decrytion.js",keyStr:r}:null},k=e=>{var t;let{main:i,backup:n}=e,r=null===(t=i||n)||void 0===t?void 0:t.flv;return r&&!(0,h.aN)(r)},T=e=>{try{return Object.entries(e).filter(e=>{let[t,i]=e;return k(i)}).reduce((e,t)=>{let[i,o]=t;return(0,r._)((0,n._)({},e),{[i]:o})},{})}catch(t){return(0,p.WH)("filterH264Stream_error",e),{}}},N=e=>{let{pullData:t}=e;try{let e=C({pullData:t}),i=(null==e?void 0:e.data)||{};return Object.values(i).some(e=>k(e))}catch(e){return!1}},I=e=>{let{data:t,quality:i,streamObjKey:n}=e;try{for(let e of Object.keys(t).filter(e=>(0,h.gW)({qualityA:i,qualityB:e})).sort((e,t)=>(0,h.gW)({qualityA:t,qualityB:e})?1:-1)){var r,o;let i=null==t?void 0:null===(o=t[e])||void 0===o?void 0:null===(r=o.main)||void 0===r?void 0:r[n];if(i)return i}}catch(e){(0,p.WH)("getFallbackUrl_error",{error:e,data:t,quality:i,streamObjKey:n})}return null},x=e=>{let{pullData:t,defaultQuality:i,protocol:r=m.c.FLV,useBackup:o=!1,needAddBizParams:l=!1,onlyH264:s,useLowerQualityFallback:d=!1,RTMExtraQuery:u}=e;try{var c,_,f,v;let e=C({pullData:t});if(!e)return null;let n=(null==e?void 0:e.data)||{};s&&(n=T(n));let p=null==t?void 0:t.options,h=i||(null==p?void 0:null===(c=p.default_quality)||void 0===c?void 0:c.sdk_key)||"origin",{streamObjKey:g}=m.W[r],w=null==n?void 0:null===(f=n[h])||void 0===f?void 0:null===(_=f[o?"backup":"main"])||void 0===_?void 0:_[g];if(!w){let e=d?I({data:n,quality:h,streamObjKey:g}):null;if(e)w=e;else{let e=Object.values(n).find(e=>{var t;return!!(null==e?void 0:null===(t=e.main)||void 0===t?void 0:t[g])});w=null==e?void 0:null===(v=e.main)||void 0===v?void 0:v[g]}}return r===m.c.RTM&&w&&u&&(w=(0,a.DI)(w,u||{})),l&&w&&(w=(0,a.DI)(w,{biz_quality:h,biz_protocol:r})),(null==w?void 0:w.includes("https"))?w:null==w?void 0:w.replace("http","https")}catch(t){return(0,p.WH)("getUrlFromPullData_error",(0,n._)({error:t},e)),null}};function P(e){return e!==m.c.RTM||(0,l.DT)()?e:f.b$.RTM_WEBTS}let A=d()(e=>{try{let{pathname:t}=new URL(e);return P([m.c.FLV,m.c.M3U8,m.c.RTM].find(e=>{let{fileTypeSuffix:i}=m.W[e];if(t.endsWith(`.${i}`))return e})||m.c.FLV)}catch(t){return(0,p.qu)("getProtocolFromUrl_error",{error:t,url:e}),m.c.FLV}});function L(e){try{if(g())return m.c.M3U8;if(function(e){let{playerCoreType:t,RTMConfig:i,pullData:n}=e;try{if(!(null==i?void 0:i.enable)||t&&"mediastream"!==t)return!1;let e=(null==i?void 0:i.enableCdnList)||[],r=b({pullData:n});if(!r)return!1;return S(r,e)}catch(e){return(0,p.qu)("getCanUseRTM_error",{error:e},!0),!1}}(e))return m.c.RTM;return m.c.FLV}catch(e){return(0,p.qu)("getCanUseProtocol_error",{error:e}),m.c.FLV}}function M(e){try{let t=A(e);return t===m.c.RTM||t===f.b$.RTM_WEBTS}catch(e){return!1}}},532834:function(e,t,i){var n=i(624508);t.Z=new n.h({componentErrorBoundary:{eventName:"component_error_boundary",params:{enter_from:"",enter_from_merge:"",message:"",stack:"",component_stack:"",component_name:""}}})},810867:function(e,t,i){var n=i(320165),r=i(101199),o=i(469935),a=i.n(o),l=i(48795),s=i(477667),d=i(773184),u=i(970778),c=i(268632);t.Z=e=>{let{title:t,titleChildren:i,contentText:o,children:_,confirmText:m,cancelText:f,closeButton:p,cancelButton:v=!0,okBtnInRight:h,onConfirm:g,onCancel:w,onClose:y,className:S,show:C,setShow:b}=e,E=(0,r.useCallback)(()=>{if(!y||!1!==y())b(!1)},[y,b]),k=(0,r.useCallback)(()=>{if(!g||!1!==g())b(!1)},[g,b]),T=(0,r.useCallback)(()=>{if(!w||!1!==w())b(!1)},[w,b]);return(0,n.jsx)("div",{children:C&&(0,n.jsx)(u.T6,{className:d.Z.mask,onClick:E,children:(0,n.jsxs)("div",{className:a()(d.Z.modalContainer,S),children:[p&&(0,n.jsx)("div",{className:d.Z.close,onClick:E,children:(0,n.jsx)(c.Z,{width:36,height:36,src:s.Z,color:"#A9AAB7"})}),t&&(0,n.jsx)("div",{className:d.Z.title,children:t}),(0,n.jsxs)("div",{className:d.Z.content,children:[o&&(0,n.jsx)("p",{children:o}),_]}),(0,n.jsxs)("div",{className:d.Z.footer,children:[v&&(0,n.jsx)(l.Button,{theme:"solid",className:d.Z.button,type:"secondary",onClick:T,children:f||"取消"}),(0,n.jsx)(l.Button,{theme:"solid",className:d.Z.button,type:"primary",onClick:k,children:m||"确定"})]})]})})})}},96506:function(e,t,i){i.d(t,{Z:function(){return m}}),i(706056);var n=i(320165),r=i(101199),o=i(469935),a=i.n(o),l=i(118616),s=i(950436),d=i(693101),u=i(69940),c=i(305247),_=i(29181);function m(e){let{onOtherClick:t,onHandleRecharge:i,onHandleUpload:o,onHandleHomeScreen:m,showUpload:f,className:p}=e;return(0,r.useEffect)(()=>{let e=e=>{var i,n;if(null===(n=e.target)||void 0===n?!void 0:null===(i=n.className)||void 0===i?!void 0:!i.includes("m-header"))null==t||t()};return document.addEventListener("click",e,!0),document.addEventListener("touchstart",e,!0),()=>{document.removeEventListener("click",e,!0),document.removeEventListener("touchstart",e,!0)}},[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{className:s.Z.triangle,src:d.Z,width:36,height:7,viewBox:"0 0 36 7"}),(0,n.jsxs)("div",{className:a()(s.Z.morePanel,"m-header-more-panel"),children:[f&&(0,n.jsxs)("div",{className:a()(s.Z.morePanelItem,"m-header-more-panel-item"),onClick:o,children:[(0,n.jsx)("div",{className:a()(s.Z.itemIcon,"m-header-xxx"),children:(0,n.jsx)(l.Z,{src:c.Z,width:24,height:24,viewBox:"0 0 24 24"})}),(0,n.jsx)("span",{className:a()(s.Z.itemText,"m-header-xxx"),children:"Upload"})]}),(0,n.jsxs)("div",{className:a()(s.Z.morePanelItem,"m-header-more-panel-item"),onClick:i,children:[(0,n.jsx)("div",{className:a()(s.Z.itemIcon,"m-header-xxx"),children:(0,n.jsx)(l.Z,{src:_.Z,width:24,height:24,viewBox:"0 0 24 24"})}),(0,n.jsx)("span",{className:a()(s.Z.itemText,"m-header-xxx"),children:"Charge"})]}),(0,n.jsxs)("div",{className:a()(s.Z.morePanelItem,"m-header-more-panel-item"),onClick:m,children:[(0,n.jsx)("div",{className:a()(s.Z.itemIcon,"m-header-xxx"),children:(0,n.jsx)(l.Z,{src:u.Z,width:24,height:24,viewBox:"0 0 24 24"})}),(0,n.jsx)("span",{className:a()(s.Z.itemText,"m-header-xxx"),children:"Add to home screen"})]})]})]})}},415020:function(e,t,i){i.d(t,{T:function(){return H}});var n=i("629686"),r=i("402748");i("490629"),i("374285"),i("566071"),i("759943"),i("414931"),i("14275"),i("240148"),i("968336"),i("706056"),i("112459"),i("228983");var o=i("121998"),a=i("101199"),l=i("38578"),s=i("656245"),d=i("205082"),u=i("231196"),c=i("139402"),_=i("655304"),m=i("515730"),f=i("335924"),p=i("810069"),v=i("618759"),h=i("995898"),g=i("601034"),w=i("499059"),y=i("409250"),S=i("442022"),C=i("134400"),b=i("19277"),E=i("449716"),k=i("661444"),T=i("237869"),N=i("991742"),I=i("414061"),x=i("532375"),P=i("426038"),A=i("603018"),L=i("326367"),M=i("679227");i("117232"),i("362051"),i("374954");var R=i("328981"),D=i("782166"),O=i("780946");let V=e=>{let[t,i]=(0,a.useState)([]),o=e=>e.sort((e,t)=>new Date(t.time).getTime()-new Date(e.time).getTime()),l=e=>{let t=window.localStorage.getItem(null==d?void 0:null==P?void 0:P.LOG_TRACE)||"";if(t){let i=o(JSON.parse(t)),n=JSON.stringify(i);e&&e({logTraceStr:n,logTraceJSON:i})}},s=async e=>{let{key:t="87A38998227CBBC23DCAD51CD7F76AB2"}=e||{};try{let e=y.Q.getItem({sKey:P.CookieKeys.MonitorWebId})||"",f=y.Q.getItem({sKey:P.CookieKeys.MonitorDeviceId})||"",v=(await (0,R.d)()||[]).join(",");if("87A38998227CBBC23DCAD51CD7F76AB2"===t)l(t=>{let{logTraceJSON:i}=t,o={};i.forEach(t=>{!o[null==t?void 0:t.url]&&(o[null==t?void 0:t.url]=[]),o[null==t?void 0:t.url].push((0,r._)((0,n._)({},t),{monitorWebId:e,monitorDeviceId:f,abTestVids:v}))});let a=JSON.stringify(o);(0,D.J)(a),O.F.info("已复制调试信息到剪切板")});else if("87A38998227CBBC23DCAD51CD7F76AB2_user_beta"===t){var i,o,a,s,d,u,c,_,m;let t=0===Object.keys((null===(i=window)||void 0===i?void 0:i.SSR_RENDER_DATA)||{}).length?null===(o=window)||void 0===o?void 0:o.SSR_RENDER_DATA:null===(a=window)||void 0===a?void 0:a.SSR_RENDER_DATA_DOC,n={version:null===(s=window)||void 0===s?void 0:s.version,ab:v,slardar:null===(c=window)||void 0===c?void 0:null===(u=c.slardar)||void 0===u?void 0:null===(d=u.config)||void 0===d?void 0:d.call(u),odin:(0,p.Es)(),ssr:t,uuid:null===(_=(0,p.Es)())||void 0===_?void 0:_.user_unique_id,uid:null===(m=(0,p.Es)())||void 0===m?void 0:m.user_id,wid:e,did:f};(0,D.J)(JSON.stringify(n)),O.F.info("已复制调试信息到剪切板")}}catch(e){O.F.info("调试信息复制失败,请重试")}};return(0,a.useEffect)(()=>{if(null==e?!void 0:!e.banUseCopyLog)try{l(e=>{let{logTraceJSON:t}=e;(0,a.startTransition)(()=>{i(t)})})}catch(e){}},[]),[t,s]};var W=i("90227");let j=!1,F=(e,t)=>{let i=window.__test_yestoday__;return e=i?new Date(i):e,t.getFullYear()>e.getFullYear()||t.getMonth()>e.getMonth()||t.getDate()>e.getDate()},{pageNameMap:U,ocpcReportReg:B}=d,H=e=>{let{pageLogId:t,userInfo:i,redirectFrom:d,banUseCopyLog:R=!1,abTestData:D}=e,[O,H]=V({banUseCopyLog:R}),G=(0,a.useRef)(i),Z=(0,l.k)(),Y=(0,a.useRef)(""),K=(0,a.useRef)(!1),{id:q}=(null===s.U||void 0===s.U?void 0:(0,s.U)())||{};(0,u.s)(),!function(){let e=(0,a.useRef)(null),t=(0,a.useRef)(null);(0,a.useEffect)(()=>{var i,n;let r=()=>e.current&&clearTimeout(e.current),o=()=>t.current&&clearTimeout(t.current),a=t=>{let i=void 0!==t?"hidden"!==t:y.Q.getItem({sKey:P.CookieKeys.IsDouyinActive});M.Z.sendLog("webOnlineTime",{is_visible:`${i?1:0}`},!1),r(),e.current=setTimeout(a,18e5)},l=()=>{o(),t.current=setTimeout(()=>{a()},1e3)},s=()=>a("hidden");return a(),null===(i=window)||void 0===i||i.addEventListener("beforeunload",s),null===(n=document)||void 0===n||n.addEventListener("visibilitychange",l),()=>{var e,t;r(),o(),null===(e=window)||void 0===e||e.removeEventListener("beforeunload",s),null===(t=document)||void 0===t||t.removeEventListener("visibilitychange",l)}},[])}();let z=(0,a.useCallback)(()=>{let{url:e,query:t}=o.parseUrl(location.href),i=t||{},n=(0,f.Rs)("sourceid")||(null==i?void 0:i.sourceid);if(n&&!K.current){var r,a,l;let t=null===(r=(0,p.Es)())||void 0===r?void 0:r.user_unique_id;if((0,f.U$)(["sourceid"]),null==i?void 0:i.sourceid){delete i.sourceid;let t=(0,o.stringify)(i);null===(l=window)||void 0===l||null===(a=l.history)||void 0===a||a.replaceState({},"",t?[e,t].join("?"):e)}K.current=!0,M.Z.sendLog("from360",{qhclickid:n||"",uuid:t}),(0,m.N)({qhclickid:n,trans_id:(0,A.H)(t)})}},[]),J=(0,a.useRef)({enterChildRouteTime:0}),Q=(0,a.useCallback)(async(e,a)=>{var l,s,u,m,A,R,D,O,V,j,H,G,Z,K,X,$,ee,et,ei;let en;M.Z.sendLog("pageViewMonitorTest",{url:location.href},!1),((null===(s=location)||void 0===s?void 0:null===(l=s.host)||void 0===l?void 0:l.indexOf("live"))!==-1||new RegExp(B).test(null===(u=location)||void 0===u?void 0:u.pathname)&&!(0,v._Q)())&&z();let{info:er}=i||{},eo=null===(m=(0,p.Es)())||void 0===m?void 0:m.user_unique_id,ea=(0,f.Rs)("previous_page")||"";for(let e of Object.keys(U))if(location.pathname.match(new RegExp(e))){-1===location.host.indexOf("live")?en=U[e]:en="/"===location.pathname?"live":U[e],("search_result"!==en||(0,h.Nr)(location.pathname))&&(0,g.TU)(en);break}"live_detail"===(0,g.yW)()&&(en="live_detail");let el={app_code_link:"app_code",web_code_link:"web_code",jianying_publish:"jianying_publish",jianying_profile:"jianying_profile",screen_share_to_pc:"screen_share_to_pc",local_player:"local_player",oversea_share_link:"oversea_share_link"},es=location.pathname.startsWith("/note")?68:0;if(M.Z.sendLog("pageViewMonitor",{enter_from:en||"",url:location.href,uid:null==er?void 0:er.uid,uuid:eo}),(0,c.L)(),en&&((null==er?void 0:er.uid)||eo)){;let{isRecommendLandingDiscover:i,defaultLandingDiscover:l}=w.Le.getConfig(w.gI.LandingPageGuideInfo)||{},s="/hot"===location.pathname?"trend":location.pathname.includes("activity")?"专题页":"",u=null!==(D=null!==(R=(0,f.Rs)("enter_method"))&&void 0!==R?R:i?"default_landing":void 0)&&void 0!==D?D:"other";"personal_homepage"===en&&(u=["personal_panel","left_entrance","top_bar","personal_homepage_like","personal_homepage_collect","personal_homepage_history"].includes(u)?u:""),"ai_search"===en&&(u=(null===(O=location.search)||void 0===O?void 0:O.includes("isPopup"))?"click_search_window":"tab_click");let c=(0,f.Rs)("match_id"),_="special_subject"===en?q:"",m="playlet"===en?en:"special_subject"===en?`special_subject_${_}`:(0,f.Rs)("enter_from_merge"),p=!!((null===(A=location.search)||void 0===A?void 0:A.includes("open_mini_window"))||w.Le.getConfig(w.gI.IsMiniWinFromWidget))&&"/"===location.pathname,U=y.Q.getItem({sKey:P.CookieKeys.Theme}),B=await (0,T.Re)(),z=new Date,er=(0,h.Nr)(location.pathname),eo=location.href,ed=location.pathname,{query:eu}=o.parseUrl(location.href),ec=ed.includes("jingxuan"),e_=ec?null!==(V=ed.split("/jingxuan/")[1])&&void 0!==V?V:"all":"";if(er)!J.current.enterChildRouteTime&&(J.current.enterChildRouteTime=Date.now());else{if(J.current.enterChildRouteTime){let e=Date.now()-J.current.enterChildRouteTime;M.Z.sendLog("pageStayTime",(0,r._)((0,n._)({},J.current,(0,T.Wc)(T.rh.PAGE_VIEW)),{duration:e,reason:"exit_child_route",is_visible:0,sidebar_status:(0,N.GE)(),is_recommend:"default_landing"===u?Number(l):void 0}),!1)}J.current={enter_from:(0,g.yW)(),enter_method:u,enter_from_merge:(0,g.yW)(),previous_page:ea,url:eo,url_path:ed,link_from:(0,L.f)()?"pwa":el[ea]||"",tab_name:s,aweme_type:es,enterChildRouteTime:0}}z=new Date,(0,S.B1)({tag:"page_view_report"}),M.Z.sendLog("pageView",(0,n._)((0,r._)((0,n._)({page_log_id:t||"",enter_from:en,url:eo,url_path:ed,link_from:a||((0,L.f)()?"pwa":el[ea]||""),is_from_share_link:(0,C.n)()?1:0,enter_method:u,is_recommend:"default_landing"===u?Number(l):void 0,tab_name:s,aweme_type:es,theme_raw_value:U||"default",theme:(0,b.bS)(U),enter_by_tab:(0,W.S)(),browser_height:window.innerHeight,browser_width:window.innerWidth,browser_ratio:window.innerHeight/window.innerWidth,redirect_from:d,from_push:y.Q.getItem({sKey:P.CookieKeys.FromClientPush})?1:0,seo_vids:E.t("seo_vids")||"",url_source:null!==($=null===(j=(0,k.pf)(location.href))||void 0===j?void 0:j.urlSource)&&void 0!==$?$:"",url_source_method:null!==(ee=null===(H=(0,k.pf)(location.href))||void 0===H?void 0:H.urlSourceMethod)&&void 0!==ee?ee:"",word_strategy:null===(G=window)||void 0===G?void 0:G.word_strategy,physical_screen_num:B.physical_screen_num,physical_screen_info:B.physical_screen_info,match_id:c,enter_from_merge:m,is_small_window:p?1:0,is_mobile:(0,v.tq)()?1:0,is_ipad:(0,v._1)()?1:0,is_apad:(0,v.iO)()?1:0},(0,T.Wc)(T.rh.PAGE_VIEW)),{is_child_route:er,sidebar_status:(0,N.GE)(),is_support_wasm:void 0!==window.WebAssembly,was_discarded:void 0===document.wasDiscarded?-1:Number(document.wasDiscarded)}),ec?{sub_tab_name:e_}:{}),e),M.Z.sendLog("pageViewV2",(0,n._)((0,r._)((0,n._)({enter_from:en,url:eo,url_path:ed,link_from:a||((0,L.f)()?"pwa":el[ea]||""),is_from_share_link:(0,C.n)()?1:0,enter_method:u,is_recommend:"default_landing"===u?Number(l):void 0,tab_name:s,aweme_type:es,theme_raw_value:U||"default",theme:(0,b.bS)(U),enter_by_tab:(0,W.S)(),browser_height:window.innerHeight,browser_width:window.innerWidth,browser_ratio:window.innerHeight/window.innerWidth,redirect_from:d,from_push:y.Q.getItem({sKey:P.CookieKeys.FromClientPush})?1:0,seo_vids:E.t("seo_vids")||"",url_source:null!==(et=null===(Z=(0,k.pf)(location.href))||void 0===Z?void 0:Z.urlSource)&&void 0!==et?et:"",url_source_method:null!==(ei=null===(K=(0,k.pf)(location.href))||void 0===K?void 0:K.urlSourceMethod)&&void 0!==ei?ei:"",word_strategy:null===(X=window)||void 0===X?void 0:X.word_strategy,physical_screen_num:B.physical_screen_num,physical_screen_info:B.physical_screen_info,match_id:c,enter_from_merge:m,is_small_window:p?1:0,is_mobile:(0,v.tq)()?1:0,is_ipad:(0,v._1)()?1:0,is_apad:(0,v.iO)()?1:0},(0,T.Wc)(T.rh.PAGE_VIEW)),{is_child_route:er,is_support_wasm:void 0!==window.WebAssembly,was_discarded:void 0===document.wasDiscarded?-1:Number(document.wasDiscarded)}),ec?{sub_tab_name:e_||"all"}:{}),e),i&&w.Le.setConfig(w.gI.LandingPageGuideInfo,{isRecommendLandingDiscover:void 0},!0),I.emit(I.EVENT.ReportToTea,{eventName:"pageView"}),(0,x.xC)(Y.current),Y.current=ed,(0,x.vP)({key:ed,event:(e,t,i)=>{var o,a,d,c;t>0&&(0,g.yW)()&&M.Z.sendLog("pageStayTime",(0,r._)((0,n._)({},(0,T.Wc)(T.rh.PAGE_VIEW)),{enter_from:(0,g.yW)(),enter_method:u,enter_from_merge:"special_subject"===(0,g.yW)()?`special_subject_${_}`:(0,g.yW)(),previous_page:ea,url:eo,url_path:ed,duration:t,is_visible:Number(e),link_from:(0,L.f)()?"pwa":el[ea]||"",sidebar_status:(0,N.GE)(),tab_name:s,aweme_type:es,player_paused:Number(null!==(d=null===(o=window.player)||void 0===o?void 0:o.paused)&&void 0!==d?d:1),player_muted:Number(null!==(c=null===(a=window.player)||void 0===a?void 0:a.muted)&&void 0!==c?c:1),reason:i,is_child_route:er,is_recommend:"default_landing"===u?Number(l):void 0}),!1),(0,h.Nr)(location.pathname)&&"page_unload"===i&&J.current.enterChildRouteTime&&M.Z.sendLog("pageStayTime",(0,r._)((0,n._)({},J.current,(0,T.Wc)(T.rh.PAGE_VIEW)),{duration:Date.now()-J.current.enterChildRouteTime,reason:"exit_child_route_page_unload",is_visible:0,is_child_route:er,sidebar_status:(0,N.GE)(),is_recommend:"default_landing"===u?Number(l):void 0}),!1),e&&F(z,new Date)&&Q(!1,"next_day")}})}else M.Z.sendLog("pageViewError",{enter_from:en||"",url:location.href,uid:null==er?void 0:er.uid,uuid:eo});(0,_.DC)()},[i,z,d,q]);(0,a.useEffect)(()=>{!j&&(Q(),j=!0);let e=Z.listen(()=>{if(w.Le.setConfig(w.gI.MarkFirstEnter,null),w.Le.setConfig(w.gI.isVideoPlayed,null),Y.current){try{(0,x.wq)(void 0,"page_history_change")}catch(e){}(0,x.xC)(Y.current)}Q()});return()=>{null==e||e()}},[]),(0,a.useEffect)(()=>{var e;let t=G.current;G.current=i;let n=null==i?void 0:i.info;(null==t?void 0:null===(e=t.info)||void 0===e?void 0:e.uid)!==(null==n?void 0:n.uid)&&(null==t?void 0:t.isLogin)!==void 0&&Q()},[i]),(0,a.useEffect)(()=>{let e=new Date;return(0,x.vP)({key:"PAGE_VIEW_EVENTS_TRACKING_UPDATE_ACROSS_DAY",event:()=>{let t="visible"===document.visibilityState,i=new Date;if(!t){e=i;return}F(e,i)&&(Q(!0,"next_day"),e=i)}}),()=>(0,x.xC)("PAGE_VIEW_EVENTS_TRACKING_UPDATE_ACROSS_DAY")},[])}},780946:function(e,t,i){i.d(t,{F:function(){return n}});let n=i(88743).F},477444:function(e,t,i){var n=i(841434),r=i(911429),o=i(932512),a=i(823470);t.Z=()=>{let e=null,t=null,i=async()=>e?e:t?await t:(t=(async()=>{let t=await (0,r.U2)("/webcast/setting/",{device_platform:"web",aid:"6383"},{},void 0,void 0,{},void 0);if((null==t?void 0:t.status_code)===0){let i=null==t?void 0:t.data;return e=i,i}})(),await t),l=async(e,t)=>{if(!t.key)return(0,n.bG)(n.MU.FAIL);let r=await i();return r?(0,n.Vp)({data:{[t.key]:r[t.key]}}):(0,n.bG)(n.MU.FAIL)};(0,o.z)(a.w.GetClientSetting,l)}},744543:function(e,t,i){var n=i(841434),r=i(932512),o=i(618759),a=i(823470);t.Z=()=>{let e=async(e,t)=>{if(!(0,o.DT)())return(0,n.Vp)({aid:6383},"success");try{let e=await window.TTE_ENV.bridge.invoke(window.TTE_ENV.bridge.EVENTS.TO_MAIN_EVENT_TYPES.getGameConfig);return(0,n.Vp)(e,"success")}catch(e){return(0,n.bG)(n.MU.FAIL)}};(0,r.z)(a.w.GetGameConfig,e)}},978250:function(e,t,i){var n=i(841434),r=i(932512),o=i(499059),a=i(823470);t.Z=()=>{(0,r.z)(a.w.GetStore,(e,t)=>{try{let{key:e}=t;if(!e)return(0,n.bG)(n.MU.FAIL);let i=o.Le.getConfig(e);return(0,n.Vp)(i,"success")}catch(e){return(0,n.bG)(n.MU.FAIL)}})}},173912:function(e,t,i){var n=i(841434),r=i(932512),o=i(499059),a=i(823470);t.Z=()=>{(0,r.z)(a.w.SetStore,(e,t)=>{try{let{key:e,val:i}=t;if(!e||!i)return(0,n.bG)(n.MU.FAIL);return o.Le.setConfig(e,i),(0,n.Vp)(void 0,"success")}catch(e){return(0,n.bG)(n.MU.FAIL)}})}},709514:function(e,t,i){i.d(t,{A:function(){return a}}),i(706056);var n=i(977829),r=i(683203);let o=["aweme","live","album","episode"];function a(e,t){let{attached_info:i,video_data_list:a}=e||{},l=a.filter(e=>o.includes(e.type)),s=(null==i?void 0:i.aweme_list)||[];return{dataList:l.map((e,i)=>{let{aweme_index:o,title:a,video_cover:l}=e,d=s[o];if(!d)return null;let u=(0,n.Uy)({aweme_info:d,logParams:t,options:{formatFieldsToSearchStyle:!0}});a&&(u.liveInfo&&(u.liveInfo.title=a),u.varietyInfo&&(u.varietyInfo.title=a));let c=u.liveInfo||u.varietyInfo||u.awemeInfo;return{videoItem:c,logParams:(0,r.g)(c,i),cover:l,title:a}}).filter(Boolean)}}},157368:function(e,t,i){i.d(t,{X:function(){return u}});var n=i(629686);i(490629);var r=i(101199),o=i(280647),a=i(312987),l=i(426038),s=i(135914),d=i(88885);function u(e){var t;let{activityInfo:i,defaultSearchParams:u,themeState:c}=e,[_,m]=(0,r.useState)(i),f=null!=u?u:(0,a.jv)();!f&&(f=(0,a.RM)((0,a.jv)()));let[p,v]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!p),[w,y]=(0,r.useState)(!1),[S,C]=(0,r.useState)({}),b=(0,r.useRef)(null!==(t=null==f?void 0:f.tab)&&void 0!==t?t:""),E=(0,r.useRef)(S);E.current=S;let k=(0,r.useCallback)(e=>{var t;f=e,v(!1),g(!0),y(!1),C({}),b.current=null!==(t=null==f?void 0:f.tab)&&void 0!==t?t:"",E.current={}},[]),T=(0,r.useMemo)(()=>!!_&&Object.keys(_).map(e=>{var t;return(null===(t=_[e])||void 0===t?void 0:t.isActive)===!0}).some(e=>e),[_]),N=(0,r.useMemo)(()=>{if(!!_&&!!(null==S?void 0:S.activityId))return _[S.activityId]},[_,S]),I=p&&!h&&c===l.ThemeValues.Dark,x=p&&!h&&c===l.ThemeValues.Light,P=(0,r.useMemo)(()=>N?c===l.ThemeValues.Light?{gradient:N.backgroundGradientLight,image:N.backgroundImageLight}:{gradient:N.backgroundGradientDark,image:N.backgroundImageDark}:void 0,[N,c]),A=(0,r.useCallback)((e,t)=>{var i;let r=null==_?void 0:_[null!==(i=t.activityId)&&void 0!==i?i:""],o=(null==r?void 0:r.isActive)===!0&&(null==r?void 0:r.activityTab)===e;b.current=e,v(o),g(!o),y(!1),C((0,n._)({},t))},[_]);return(0,o.Z)(()=>{A(b.current,E.current)},[_,A]),(0,r.useEffect)(()=>{var e,t;if(!p)return;let i=null===(t=window.CSS)||void 0===t?void 0:null===(e=t.supports)||void 0===e?void 0:e.call(t,"(backdrop-filter: blur(60px)) or (-webkit-backdrop-filter: blur(60px))"),{parentEl:n,listenerEl:o}=(0,d.M)(),a=()=>{let e=n.scrollTop;if(!(e<0))if(i&&c!==l.ThemeValues.Light){var t;let i=`${s.KW}-${null===(t=E.current)||void 0===t?void 0:t.activityId}`,n=document.getElementById(i);n&&n.clientHeight-e>0?(g(!1),y(0!==e)):(g(!0),y(!1))}else g(e>0),y(!1)};return(0,r.startTransition)(()=>{a()}),o.addEventListener("scroll",a),()=>{o.removeEventListener("scroll",a)}},[p,c]),{reInitActivity:k,isActivity:p,isActivityHidden:h,showActivityMask:w,headerActivity:I,searchLightActivity:x,isDuringActivity:T,hasHotCard:null==S?void 0:S.hasHotCard,activityName:(null==S?void 0:S.activityId)||"",activityBackgroundGradient:null==P?void 0:P.gradient,activityBackgroundImage:null==P?void 0:P.image,topRightModuleConfig:null==N?void 0:N.topRightModuleConfig,isClickOpenHotVideo:null==N?void 0:N.isClickOpenHotVideo,forceHeaderContentLight:null==N?void 0:N.forceHeaderContentLight,forceToolbarListTypeLight:null==N?void 0:N.forceToolbarListTypeLight,forceToolbarFilterLight:null==N?void 0:N.forceToolbarFilterLight,activityTab:null==N?void 0:N.activityTab,cardExtra:null==N?void 0:N.cardExtra,setActivityInfo:m,updateActivity:A}}},386754:function(e,t,i){i.d(t,{Zl:function(){return v},An:function(){return p},Uj:function(){return h},MU:function(){return f}});var n=i("320165"),r=i("101199"),o=i("118616"),a=i("770214"),l=i("158580"),s=i("629686"),d=i("402748");let u=(0,r.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,d._)((0,s._)({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none",ref:t},e),{children:[(0,n.jsx)("path",{opacity:".1",d:"M.5 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z",fill:"#FE2C55"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.946 8.333s.002 0 .001-.001a3.194 3.194 0 0 1 5.236-2.592.5.5 0 0 0 .634 0 3.194 3.194 0 0 1 5.237 2.594h.002c-.002 2.542-4.097 5.633-5.255 6.457a.514.514 0 0 1-.602 0c-1.158-.824-5.253-3.915-5.254-6.456l.001-.002z",fill:"url(#dig_svg__paint0_linear_5119_431972)"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"dig_svg__paint0_linear_5119_431972",x1:4.945,y1:5,x2:14.836,y2:15.986,gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#FF1764"}),(0,n.jsx)("stop",{offset:1,stopColor:"#ED3495"})]})})]})));var c=i("310436"),_=i("244910");function m(e){let{svg:t,text:i,svgWidth:r,svgHeight:l,svgViewBox:s}=e;return(0,n.jsxs)("div",{className:a.default.container,children:[(0,n.jsx)(o.Z,{src:t,width:r,height:l,viewBox:s}),(0,n.jsx)("span",{className:a.default.text,children:i})]})}function f(){return(0,n.jsx)(m,{svgWidth:20,svgHeight:20,svgViewBox:"0 0 20 20",text:"免费高清视频",svg:l.Z})}function p(){return(0,n.jsx)(m,{svgWidth:20,svgHeight:20,svgViewBox:"0 0 20 20",text:"点赞评论随心发",svg:u})}function v(){return(0,n.jsx)(m,{svgWidth:20,svgHeight:20,svgViewBox:"0 0 20 20",text:"直播间畅聊打赏",svg:c.Z})}function h(){return(0,n.jsx)(m,{svgWidth:20,svgHeight:20,svgViewBox:"0 0 20 20",text:"朋友视频一键览",svg:_.Z})}},433611:function(e,t,i){i.d(t,{f:function(){return d}});var n=i(320165);i(101199);var r=i(469935),o=i.n(r),a=i(118616),l=i(280322),s=i(499973);function d(e){let{children:t,childrenBoxClassName:i,withClose:r,onClose:d,buttonText:u,withEffect:c,onLogin:_,isDropDown:m}=e,f=()=>(0,n.jsx)("div",{className:o()(l.default.container),children:(0,n.jsxs)("div",{className:l.default.subContainer,children:[(0,n.jsx)(a.Z,{src:s.Z,className:o()(l.default.closeIcon,{[l.default.hidden]:!r}),onClick:e=>{null==d||d(e)},width:20,height:20,viewBox:"0 0 20 20"}),(0,n.jsx)("div",{className:o()(l.default.childrenContainer,i),"data-e2e":"login-container",children:t}),(0,n.jsxs)("div",{className:o()(l.default.loginButtonContainer),children:[(0,n.jsx)("span",{className:o()(l.default.loginButton),onClick:e=>{null==_||_(e)},children:u}),c&&(0,n.jsx)("div",{className:l.default.dot}),c&&(0,n.jsx)("div",{className:l.default.finger})]})]})});return m?(0,n.jsx)("div",{className:l.default.dropdownContainer,children:f()}):f()}},548669:function(e,t,i){i.d(t,{m:function(){return T}});var n=i(629686),r=i(402748);i(706056),i(679308);var o=i(320165);i(101199);var a=i(391948),l=i(513565),s=i(810069),d=i(896138),u=i(960496),c=i(601034),_=i(759894),m=i(162164),f=i(880327),p=i(661444),v=i(547857),h=i(642613),g=i(687581),w=i(699651),y=i(937375),S=i(332009),C=i(381957);let b=!1,E=async e=>{var t;let{config:i={},enterMethod:o,teaEvtParams:a={}}=e||{};return(0,n._)({defaultAreaCode:(0,w.lJ)()?"+1":"+86",loginPanelType:"flat",aid:6383,device_id:(null===(t=(0,s.Es)())||void 0===t?void 0:t.user_unique_id)||"unknown",next:(null==i?void 0:i.next)||"https://www.douyin.com",accountApiConfig:(0,r._)((0,n._)({},d.eP),{hcSwitch:!0,language:(0,w.GH)()?"en":"zh"}),title:(0,w.GH)()?"Log in to Douyin":(null==i?void 0:i.headerText)?i.headerText:["cold_start_full","cold_start","auto","navigation_bar","seo_guide_coldstart"].includes(o)?"登录后免费畅享高清视频":window.DOMAIN&&window.DOMAIN===l.LIVE_XIGUA_DOMAIN?"直播服务由抖音提供 需登录":"登录后抖音更懂你",loginType:["LOGIN_MOBILE_CODE","LOGIN_ACCOUNT_PWD"],loginOnly:!0,isFrontier:!0,frontierUrl:u.uZ?"":"wss://frontier100-normal.zijieapi.com",isKX:!1,success:e=>{if(null==i?void 0:i.success){var t;null==i||null===(t=i.success)||void 0===t||t.call(i,e)}else window.location.reload()},sendLog:(e,t)=>{var i,l,s,d,u;C.Z._sendLog(e,(0,n._)((0,r._)((0,n._)({},t),{page_type:(0,c.yW)()||"",enter_method:o,enter_from:(0,_.vM)()||"",url_path:null===(l=window)||void 0===l?void 0:null===(i=l.location)||void 0===i?void 0:i.pathname,is_guide:"0",video_detail_enter_from:(0,m.z)("web_link"),previous_page:(0,c.yW)("previous_page"),is_video_guide:"0",is_full_screen:(0,f.r)()?"1":"0",is_full_webscreen:S.s.getIsPageFullscreen()?"1":"0",scan_login_tips_type:"dyna_sidebar",url_source:null!==(u=null===(s=(0,p.pf)(null===(d=location)||void 0===d?void 0:d.href))||void 0===s?void 0:s.urlSource)&&void 0!==u?u:"",is_mainland:!(0,w.lJ)()}),a))},confirm:(0,w.GH)()?[{text:"user agreement",url:"https://www.douyin.com/agreements/?id=6773906068725565448"},{text:"privacy policy",url:"https://www.douyin.com/agreements/?id=6773901168964798477"}]:[{text:"用户协议",url:"https://www.douyin.com/agreements/?id=6773906068725565448"},{text:"隐私政策",url:"https://www.douyin.com/agreements/?id=6773901168964798477"}],isShowApple:!1,isShowGoogle:!1,districtList:(0,w.GH)()?y.D:void 0,textConfig:(0,w.GH)()?y.Z:{}},i)},k=async e=>{let{config:t,isPage:n=!1,ele:r,enterMethod:l,teaEvtParams:s}=e||{};if((0,w.iV)()||b)return;b=!0;let u=await E(e),c=document.createElement("div"),_=`login-full-panel-${(0,v.D)()}`;c.id=_;let m=document.body;if(r)m=r,r.appendChild(c);else{let e=document.getElementsByClassName("xgplayer-fullscreen-parent")[0]||(0,h.W)();(0,f.r)()&&e?(m=e,e.appendChild(c)):document.body.appendChild(c)}let p=a.createRoot(c),y=()=>{b=!1,(0,w.V7)().closeDialog(_)},S=()=>{try{p.unmount()}catch(e){}m.contains(c)&&m.removeChild(c),c.remove()},C=async()=>{try{let{default:t}=await Promise.resolve().then(i.bind(i,785701));p.render((0,o.jsx)(t,{config:u,isPage:n,destroy:y,enterMethod:l,style:e.style}))}catch(e){S(),g.oe.event.error({name:g.Mo.ComponentErrorBoundary,report:{message:e.message||"NewAccount load failed",stack:e.stack||"",componentStack:"NewAccount load failed",componentName:"NewAccount"}})}};(0,d.IX)(),(0,w.V7)().showDialog({id:_,onShow:C,onClose:S,rule:"immediately"})},T=async(e,t)=>{let i={config:(0,r._)((0,n._)({},e),{isH5:!0}),isPage:null==e?void 0:e.isPage,enterMethod:null==e?void 0:e.enterMethod,teaEvtParams:(0,r._)((0,n._)({},e.teaEvtParams),{is_auto:null==e?void 0:e.isAuto,gear_name:null==e?void 0:e.gearName,clarity:null==e?void 0:e.clarity,is_active:null==e?void 0:e.isActive}),ele:null==e?void 0:e.parentEle};return k((0,r._)((0,n._)({},i),{enterMethod:null==e?void 0:e.enterMethod,config:(0,n._)({},i.config||{},{}),ele:t,style:e.style})),!0};t.Z=T},699651:function(e,t,i){let n;i.d(t,{GH:function(){return y},Kx:function(){return p},V7:function(){return w},XR:function(){return f},Yl:function(){return h},iV:function(){return _},lJ:function(){return S},sh:function(){return C}});var r=i(480333),o=i(629686);i(679308),i(374954);var a=i(409250),l=i(601034),s=i(499059),d=i(709705),u=i(572806);let c=a.Q,_=()=>{let e=document.getElementById("login-pannel"),t=document.getElementById("login-panel-new");return!!e||!!t||!1},m=(e,t)=>!!e&&(new Date(e).toDateString()===new Date(t).toDateString()||!1),f=()=>{let e=(0,l.yW)()||"";return"follow"===e||"friend"===e},p=e=>{let t=(0,s.AQ)(),i=Math.floor((new Date().getTime()/1e3-t)/60/60/24);if(t)return e?i<=e:new Date(1e3*t).toDateString()===new Date().toDateString();return!1},v=e=>{let{type:t="localStorage",key:i=""}=e;return"cookie"===t?c&&c.getItem({sKey:i})||{}:(0,d.$o)(i)||{}};class h{constructor(e){(0,r._)(this,"strategy",{}),(0,r._)(this,"freq",{}),(0,r._)(this,"key",""),(0,r._)(this,"type","localStorage"),(0,r._)(this,"getFreq",()=>this.freq),(0,r._)(this,"setFreq",e=>{let t=(0,o._)({},this.freq,e);if(this.freq=t,"cookie"===this.type){c&&c.setItem(this.key,t,u.v,"/",u.J,"");return}(0,d.qQ)(this.key,t)}),(0,r._)(this,"isInFreq",()=>{let{total:e=0,timesOfPerDay:t=0,lastTime:i=0}=this.freq||{},{total:n=0,timesOfPerDay:r=0}=this.strategy||{};if(e{let{rule:t="inOrder"}=e;if("immediately"===t){this.showingQueue.push(e),e.onShow();return}0===this.showingQueue.length?(this.showingQueue.push(e),e.onShow()):this.waitingQueue.push(e)}),(0,r._)(this,"closeDialog",e=>{this.showingQueue=this.showingQueue.filter((t,i)=>t.id!==e||(t.onClose(),!1)),this.showNext()}),(0,r._)(this,"showNext",()=>{if(this.waitingQueue.length>0){let e=this.waitingQueue[0];this.waitingQueue=this.waitingQueue.slice(1),e.onShow(),this.showingQueue.push(e)}}),(0,r._)(this,"clear",()=>{this.waitingQueue=[],this.showingQueue.forEach((e,t)=>{e.onClose()}),this.showingQueue=[]})}}let w=()=>n?n:n=new g,y=()=>{var e;return null===(e=window)||void 0===e?void 0:e.isoversea},S=()=>{var e,t;return(null===(t=window)||void 0===t?void 0:null===(e=t.EXPOSE_DATA)||void 0===e?void 0:e.isMainland)===!1};function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5e3;return new Promise(n=>{let r=setTimeout(()=>{n(t)},i);e().then(e=>{clearTimeout(r),n(e)}).catch(e=>{clearTimeout(r),n(t)})})}},81683:function(e,t,i){i.d(t,{Z:function(){return j}});var n=i("629686"),r=i("402748");i("490629"),i("117232"),i("228983"),i("759943"),i("706056"),i("121926"),i("683656"),i("14275"),i("374954");var o=i("320165"),a=i("101199"),l=i("89063"),s=i("469935"),d=i.n(s),u=i("217913"),c=i.n(u),_=i("830283"),m=i("715858"),f=i("435587"),p=i("855357"),v=i("759894"),h=i("661444"),g=i("549912"),w=i("46892"),y=i("386206"),S=i("601034"),C=i("690343"),b=i("21877");let E={trendingShow:{eventName:"trending_show",params:{words_source:"title_named_entity",enter_group_id:"",enter_group_type:"",search_position:"",words_position:0,impr_id:""}}};var k=i("916876"),T=i("697156"),N=i("831356");let I=(e,t,i)=>{try{return null==i?void 0:i(e,t)}catch(n){return null==i?void 0:i((0,y.eC)(e),t)}};var x=i("539082"),P=i("199255"),A=i("234150"),L=i("909481"),M=i("581999");let R=a.memo(e=>{var t;let{hashtagId:i,text:n,onClickHashtag:r,onCloseVideoPlayer:l,href:s,className:u,isCommerce:c,isSpider:m,abTestData:f}=e,{userInfo:p}=(0,M.useUserInfoContext)()||{},[w,y]=(0,a.useState)(""),S=(0,a.useCallback)(e=>{l&&l(),r&&r(i,n,c,e)},[i,r,l,n,c]),C=(0,a.useCallback)(e=>{let t=e.split("/");return decodeURIComponent(t[t.length-1].split("?")[0])},[]);(0,a.useEffect)(()=>{let{uid:e}=JSON.parse(localStorage.getItem("user_info")||"{}");y(e)},[]);let E=(null==p?void 0:null===(t=p.info)||void 0===t?void 0:t.secUid)||w,{unshiftWord:k}=(0,_.u)(E),T=(0,a.useCallback)(e=>{if("creator_center"===(0,v.vM)()){null==e||e.preventDefault();return}n.slice(1),S(e)},[n,k,S]),N=(0,a.useMemo)(()=>{if(null==s?void 0:s.includes("/search/")){let e=C(s),t=(0,h.pf)(s);return(0,o.jsx)(L.Z,{className:d()(b.default.hashtagText,u),onClick:T,query:e,params:t,children:(0,o.jsx)("span",{children:n})})}return(0,o.jsx)(A.a,{className:d()(b.default.hashtagText,u),onClick:S,href:s,target:"_blank",isNeedSeoOpt:!0,children:(0,o.jsx)("span",{children:n})})},[s,n,T]),I=!m||m&&!(0,g.y2)(n,x.S+1);return(0,o.jsx)(o.Fragment,{children:s&&I?N:(0,o.jsx)("span",{className:d()(b.default.hashtagText,u),onClick:T,children:(0,o.jsx)("span",{children:n})})})}),D=a.memo(e=>{let{userId:t,secUid:i,text:n,enterMethod:r,onClickUser:l,onCloseVideoPlayer:s,className:u,awemeInfo:c}=e,_=(0,a.useCallback)(e=>{s&&s(e),l&&l(t,e)},[t,l,s]),m=`enter_method=${r}&enter_from=${(0,v.mo)()}&from_gid=${null==c?void 0:c.awemeId}`,f=i&&(0,w.HC)(i,m);return(0,o.jsx)(A.a,{onClick:e=>{_(e),!f&&e.preventDefault()},className:d()(b.default.userText,u),href:f,target:"_blank",rel:"noreferrer",isNeedSeoOpt:!0,children:(0,o.jsx)("span",{id:n,children:n})})});function O(e){let{text:t,isRemoveRowspan:i,renderTextWithTag:n,seoInfo:r}=e,a=t;i&&(a=(0,y.LT)(a));let l=a.replaceAll("\\N","\n").split("\n");return(0,o.jsx)(o.Fragment,{children:l.map((e,t)=>(null==r?void 0:r.isSpider)&&(null==r?void 0:r.awemeId)&&e.trim()&&!/^#/.test(e.trim())?(0,o.jsx)("a",{href:(0,w.JF)(null==r?void 0:r.awemeId),children:e},t):(null==r?void 0:r.isSpider)?(0,o.jsx)(o.Fragment,{children:e}):(0,o.jsxs)("span",{children:[(0,o.jsx)(k.Z,{text:e,imgClassname:b.default.twemojiText,renderTextWithTag:n}),t{let{text:i,enterMethod:n,userTextClassName:r,onClickUser:a,onCloseVideoPlayer:l,awemeInfo:s}=e,{userId:d,secUid:u}=t;return(0,o.jsx)(D,{text:i,enterMethod:n,className:r,onClickUser:a,onCloseVideoPlayer:l,awemeInfo:s,userId:d,secUid:u})},[f.w.HashTag]:(e,t)=>{let{hashTagClassName:i,text:n,getHashTagHref:r,onClickHashtag:a,onCloseVideoPlayer:l,seoInfo:s,abTestData:d}=e,{hashtagId:u,isCommerce:c}=t;return(0,o.jsx)(R,{className:i,href:I((null==n?void 0:n.slice(1))||"",u||"",r),hashtagId:u,text:n,onClickHashtag:a,onCloseVideoPlayer:l,isCommerce:c,isSpider:null==s?void 0:s.isSpider,abTestData:d})},[f.w.Search]:(e,t)=>{let{text:i,onCloseVideoPlayer:n,onSearchTextClick:r,getSearchTextUrl:a,searchTextClass:l,showSearchHighlight:s,isRemoveRowspan:d,onSearchTextMounted:u,seoInfo:c,abTestData:_,awemeInfo:m,enterMethod:f}=e,{searchQueryId:p,searchTextPos:v,searchExtra:h,searchText:g}=t;return(null==h?void 0:h.query_type)==="ai"?(0,o.jsx)(N.Z,{abTestData:_,text:i,onMounted:u,onSearchTextClick:r,searchTextPos:v,searchQueryId:p,awemeInfo:m,enterMethod:f}):s?(0,o.jsx)(T.Z,{onCloseVideoPlayer:n,href:I(i,p,a),text:i,onSearchTextClick:r,searchQueryId:p,className:l,onMounted:u,searchTextPos:v,isSpider:null==c?void 0:c.isSpider,abTestData:_}):(0,o.jsx)(P.Z,{text:i,abTestData:_,onSearchTextClick:r,searchQueryId:p,className:l,onMounted:u,searchTextPos:v,isSpider:null==c?void 0:c.isSpider})},[f.w.Unknown]:e=>{let{isRemoveRowspan:t,text:i,renderTextWithTag:n,seoInfo:r}=e;return(0,o.jsx)(O,{isRemoveRowspan:t,text:i,renderTextWithTag:n,seoInfo:r})}};function W(e,t){let i=V[function(e){if(!e)return f.w.Unknown;let{type:t,userId:i,hashtagId:n}=e;return c()(t)?i?f.w.User:n?f.w.HashTag:f.w.Unknown:t}(t)];return i?i(e,t):V[f.w.Unknown](e)}var j=a.memo(function(e){let{text:t="",textExtra:i=null,onClick:s=null,children:u,type:c="",className:_,seoInfo:v,wrapperClassName:h,showSearchHighlight:g,awemeInfo:w}=e,y=(0,a.useRef)(null),k=(0,a.useRef)(0),T=t||"",N=[],I=(0,a.useMemo)(()=>(0,m.y$)(E),[]);if((0,a.useEffect)(()=>{k.current>0&&!g&&w&&(null==i?void 0:i.length)!==0&&I("trendingShow",{words_num:k.current,enter_group_id:w.awemeId,enter_group_type:w.awemeType===p.e.Note?"aweme_image":"aweme_video",search_position:(0,S.yW)(),impr_id:(0,C.U)(w).impr_id})},[w,g]),!i||Array.isArray(i)&&0===i.length)N.push(W((0,r._)((0,n._)({},e),{text:T})));else{let t=0,o=function(e){if(!(e&&Array.isArray(e))||!(e.length>0))return e;{let t=[...e];return t.sort((e,t)=>e.start-t.start),t}}(i);o.some(e=>{let{type:t,start:i,end:n,hashtagName:r}=e;return t===f.w.HashTag&&`#${r}`.toLowerCase()!==T.slice(i,n).toLowerCase()||!1})&&(T=T.replace(/\s*\n/gi,"\n")),k.current=0,o.forEach(e=>{let{type:t,searchText:i}=e;if(t===f.w.Search){e.searchTextPos=k.current,k.current+=1;let t=T.indexOf(i);t>=0&&(e.start=t,e.end=t+i.length)}}),o.forEach(i=>{let{start:o,end:a}=i;t(0,o.jsx)(o.Fragment,{children:e})),(null==v?void 0:v.appendKeyword)&&(0,o.jsx)("h1",{children:v.appendKeyword})]})})}):(0,o.jsx)("span",{ref:y,className:h,children:(0,o.jsx)(l.default,{noWrapper:!0,options:{className:b.default.twemojiText,base:"//p-pc-weboff.byteimg.com/tos-cn-i-9r5gewecjs/twemoji/"},children:(0,o.jsxs)("span",{className:d()(b.default.actionableText,b.default[c],_),onClick:s,children:[u||"",N.map((e,t)=>(0,o.jsx)("span",{children:e},t))]})})})})},714102:function(e,t,i){i.d(t,{E1:function(){return k}});var n=i(629686),r=i(320165),o=i(101199),a=i(469935),l=i.n(a),s=i(562297),d=i(414800),u=i(934134),c=i(618759),_=i(414061),m=i(915821),f=i(749113),p=i(718587),v=i(624860),h=i(15973),g=i(317975),w=i(299104),y=i(913285),S=i(193441),C=i(568828),b=i(464758);let E=e=>{let{abTestData:t={},userInfo:i,onSearchClick:n,onHistoryClick:a,onInputKeyDown:d,customProps:y={},playerProps:E={},disableInnerPredict:k,onShowTextChange:T,onMouseEnter:N,onMouseLeave:I,onPanelAreaClick:x}=e,P=null==t?void 0:t.searchOpenCurrentTab,A=(0,g.j)(),{aiAndVisionParams:L,toggleForceUseAi:M}=(0,s.N)(),{searchParams:R}=(0,v.w)(),D=()=>{var e;((null==P?void 0:P.save_status)!==1||(0,c.DT)()||(null===(e=window)||void 0===e?void 0:e.location.pathname)!=="/")&&(_.emit(_.EVENT.videoPause,"AiSearchBarWithAiMiddlePage_searchOpenCb"),_.emit(_.EVENT.musicPause))},{placeHolder:O,inputRef:V,inputFocus:W,isUnderBoxWordShow:j,underInboxWordList:F,isOmitLastWord:U,searchBarRef:B,setInputText:H,setShowText:G,onInputClearButtonClick:Z,onFocus:Y,onBlur:K,onInputChange:q,onMouseDown:z,preventDefault:J,onCompositionStart:Q,onCompositionEnd:X,onUnderInboxWordClick:$,setButtonHover:ee,onMouseEnter:et,onMouseLeave:ei}=(0,g.M)(i,D,t,y,E),{uri:en,showText:er,guessText:eo,isGuessTextShow:ea,suggestionState:el,history:es,sug:ed,keyboardNavIndex:eu,inputToBottom:ec,inputRef:e_,guessListRef:em,guessList:ef,searchBarRef:ep,isMiddlePageReady:ev,onInputChange:eh,onFocus:eg,onBlur:ew,setShowText:ey,setInputText:eS,onSearchClick:eC,clearHistory:eb,onHistoryClick:eE,onSugClick:ek,onDeleteHistoryItem:eT,onInputKeyDown:eN,onInputClearButtonClick:eI,preventDefault:ex,onGuessListWordClick:eP,onMouseEnter:eA,onMouseLeave:eL,setMiddlePageReady:eM}=(0,S.M)({userInfo:i,searchOpenCb:D,abTestData:t,customProps:y,playerProps:E}),eR=e=>{null==eP||eP(e),null==x||x("guessList")};(0,o.useEffect)(()=>{null==T||T(er)},[er]);let eD=(0,o.useCallback)(e=>{let{value:t}=V.current;n&&n(t)&&eC(e)},[eC]),eO=(0,o.useCallback)(e=>{e.stopPropagation();let{value:t}=V.current;d&&d(e,t)&&eN(e)},[eN]);(0,o.useEffect)(()=>{let e=_.listen(_.EVENT.closeSearchSelect,()=>{V.current.blur()});return()=>{e()}},[]);let eV=null==y?void 0:y.forceLightStyle,eW=eV?"semi-always-light isLight":"",ej=(0,c.DT)()&&(0,m.y)((0,c.FJ)().awemePcClient,">=","5.4.0"),eF=y.isHeaderSearchBar,eU=(0,o.useCallback)(()=>{et(),null==eA||eA(),null==N||N()},[t]),eB=(0,o.useCallback)(()=>{ei(),null==eL||eL(),null==I||I()},[t]),eH=(0,o.useRef)(!1),eG=(0,o.useCallback)(()=>{if(!k&&!eH.current)eH.current=!0,_.emit(_.EVENT.searchBarMouseEnter,{type:"searchBarMouseEnter"})},[t,k]),eZ=(0,o.useCallback)(()=>{eH.current=!1},[t,k]),eY=(0,o.useCallback)(e=>{q(e),null==eh||eh(e)},[q,eh]),eK=(0,o.useCallback)(()=>{Y(),null==eg||eg()},[Y,eg]),eq=(0,o.useCallback)(()=>{null==K||K(),null==ew||ew()},[K,ew]),ez=(0,o.useCallback)(()=>{null==Z||Z(),null==eI||eI()},[Z,eI]),eJ=(0,o.useCallback)(e=>{let{text:t}=e.currentTarget.dataset;if(!!t)H(t),G(t),ey(t),eS(t),null==eR||eR(e)},[eR]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:l()(w.default.searchBarContainer,{[w.default.searchBarContainerWeak]:eF,[w.default.searchBarContainerWeakInputFocus]:W&&eF,"semi-always-dark":eV||(null==y?void 0:y.activityName)==="vsTransMode",isDark:eV||(null==y?void 0:y.activityName)==="vsTransMode"}),onMouseEnter:eU,onMouseLeave:eB,children:(0,r.jsxs)("div",{ref:e=>{B.current=e,ep.current=e},onMouseEnter:eG,onMouseLeave:eZ,className:l()(w.default.searchBar,w.default.borderInput,{[w.default.modalSearchBar]:null==y?void 0:y.isModalVideo,[w.default.modalSearchBarInNewStyle]:(null==y?void 0:y.isModalVideo)&&ej,[w.default.modalSearchBarIdle]:(null==y?void 0:y.isModalVideo)&&!W,[w.default.feedFullScreen]:(null==y?void 0:y.isInnerUpper)||(null==y?void 0:y.isFullScreenShow),[w.default.feedFullscreenIdle]:((null==y?void 0:y.isInnerUpper)||(null==y?void 0:y.isFullScreenShow))&&!W,[w.default.borderInputSpec]:null==y?void 0:y.themeSwitch,[w.default.transparent]:(null==y?void 0:y.transparent)||(null==y?void 0:y.isActivity),[w.default.transparentBg]:(null==y?void 0:y.transparentBg)||y.isHeaderSearchBar,[w.default.searchLightActivity]:null==y?void 0:y.searchLightActivity,[w.default.searchBarWeak]:eF,[w.default.searchBarWeakInputFocus]:W&&eF}),children:[(0,r.jsxs)("div",{className:w.default.searchBarInputForm,children:[!er&&ea&&eo&&(0,r.jsxs)("div",{className:w.default.searchBarGuessTextWrapper,children:[eo.icon_info&&(0,r.jsx)("img",{src:eo.icon_info.icon_url,className:w.default.activityIcon,style:{width:eo.icon_info.icon_width||20,height:eo.icon_info.icon_height||20}}),(0,r.jsx)("div",{className:l()(w.default.searchBarGuessText,{[w.default.searchBarGuessTextWeak]:eF}),children:eo.word})]}),er&&W&&(0,r.jsx)("div",{onClick:ez,onMouseDown:J,className:w.default.inputClearButton,"data-e2e":"clear-search",children:(0,r.jsx)(u.Z,{className:w.default.iconClose})}),(0,r.jsx)("input",{ref:e=>{V.current=e,e_.current=e},value:er,onFocus:eK,onBlur:eq,onChange:eY,onKeyDown:eO,onCompositionStart:Q,onCompositionEnd:X,className:l()(w.default.input,{[w.default.blur]:!W&&!y.isSearchPage,[w.default.inputWithClearButton]:W&&er}),"data-e2e":"searchbar-input",type:"text",maxLength:100,placeholder:O||""})]}),eF&&(0,r.jsx)("div",{className:w.default.splitLine}),(0,r.jsxs)("button",{className:l()(w.default.button,{isLight:null==y?void 0:y.isActivity,[w.default.buttonWeak]:eF}),"data-e2e":"searchbar-button",type:"button",onMouseDown:z,onClick:eD,onMouseEnter:()=>ee(!0),onMouseLeave:()=>ee(!1),children:[(0,r.jsx)(p.Z,{className:w.default.buttonIcon}),(0,r.jsx)("span",{className:"btn-title",children:f.a.t("search",{},"搜索")})]}),"middle_page"===el&&(0,r.jsx)(C.Z,{isMiddlePageReady:ev,className:eW,customProps:y,guessList:ef,guessListRef:em,history:es,inputToBottom:ec,keyboardNavIndex:eu,setMiddlePageReady:eM,onDeleteHistoryItem:eT,onHistoryClick:e=>{null==eE||eE(e),null==a||a(e),null==x||x("history")},clearHistory:eb,onGuessListWordClick:eJ,abTestData:t}),"sug"===el&&(0,r.jsx)(b.Z,{sug:ed,grayscale:A,className:eW,keyboardNavIndex:eu,abTestData:t,inputToBottom:ec,preventDefault:ex,onSugClick:e=>{null==ek||ek(e),null==x||x("sug")}})]})}),(0,r.jsx)("div",{className:l()(w.default.underInboxWord,{[w.default.show]:j,[w.default.activity]:null==y?void 0:y.isActivity,[null===w.default||void 0===w.default?void 0:w.default[null==y?void 0:y.activityName]]:null==y?void 0:y.activityName,[w.default.underInboxOpt]:null==t?void 0:t.underInboxOpt}),children:(0,r.jsx)(h.Z,{wordList:F,onUnderInboxWordClick:$,customProps:y,isOmitLastWord:U,abTestData:t})})]})},k=e=>(0,r.jsx)(y.k,{componentName:d.y.SearchBar,children:(0,r.jsx)(E,(0,n._)({},e))})},282622:function(e,t,i){i.d(t,{t:function(){return T}});var n=i(629686),r=i(402748);i(490629);var o=i(320165),a=i(101199),l=i(890710),s=i(298014),d=i(402678),u=i(955630),c=i(176449),_=i(712886),m=i(396868),f=i(983218),p=i(687875),v=i(250532),h=i(486463),g=i(638052),w=i(332009);let{ArrowUp:y,ArrowDown:S,W:C,S:b,Escape:E,F:k}=p.bf,T=e=>{let{imageUri:t,imageUrl:i,onClose:p,onBoxDetectionChange:T,logParams:N}=e,I=(0,a.useRef)(),[x,P]=(0,a.useState)(),[A,L]=(0,a.useState)(),M=(0,a.useRef)(!0);(0,a.useEffect)(()=>{(0,v.o)({pauseCustomShortcut:!0,pauseGlobalShortcut:!0,pausePlayControlShortcut:!0,disableKey:[y,S,C,b,E,k].map(e=>e.code)},"boxDetection");let e=(0,h.OB)(),t=w.s.getPlayer(e);return t&&(M.current=!t.paused,null==t||t.pause()),()=>{(0,v.m)("boxDetection"),t&&M.current&&(null==t||t.play())}},[]);let R=async()=>{L("pending");try{var e,i;let n=await (0,_.d1)({imageUri:t});0===Number(n.status_code)&&(null==n?void 0:null===(e=n.mmod_list)||void 0===e?void 0:e.length)?(P((null==n?void 0:null===(i=n.mmod_list)||void 0===i?void 0:i.map(e=>e.bbox))||[]),I.current=null==n?void 0:n.vision_extra,L("success")):(L("fail"),m.F.info("图片识别失败,请重试"),p())}catch(e){m.F.info("图片识别失败,请重试"),L("fail"),p()}};return(0,a.useEffect)(()=>{t&&R()},[t]),(0,l.createPortal)((0,o.jsxs)("div",{className:s.default.container,children:[(0,o.jsx)("div",{className:s.default.iconClose,onClick:()=>{g.logInstance.sendLog("searchPreviewPicturePageClose",N),null==p||p()},children:(0,o.jsx)(c.Z,{src:d.Z,width:"24",height:"24",viewBox:"0 0 24 24"})}),"pending"===A&&(0,o.jsx)(f.gb,{text:"图片识别中"}),"success"===A&&(0,o.jsx)(u.F,{imageUrl:i,boxList:x,onBoxDetectionChange:e=>{T(e?(0,r._)((0,n._)({},e),{vision_extra:I.current}):null)},logParams:N})]}),document.body)}},893219:function(e,t,i){i.d(t,{O:function(){return o}});var n=i(101199),r=i(562297);let o=()=>{let{aiAndVisionParams:e,toggleForceUseAi:t,setManualChangeForceUseAi:i}=(0,r.N)(),o=(0,n.useCallback)(()=>{t(!e.forceUseAi),i(!0)},[e,t,i]);return{isForceUseAi:e.forceUseAi,toggleForceUseAi:o}}},427648:function(e,t,i){i.d(t,{z:function(){return l}});var n=i(629686);i(490629);var r=i(101199),o=i(987134),a=i(712886);let l=e=>{let{ref:t,isPanelShow:i,suggestionState:l}=e,[s,d]=(0,r.useState)([]),u=o.oD,[c,_]=(0,r.useState)({gid:"",list:[],logId:""}),m=(0,r.useCallback)(async(e,i)=>{var r;let o={count:u,query:null===(r=t.current.guessText)||void 0===r?void 0:r.word},l=[],s={};t.current.feedBarIds&&(l=l.concat(t.current.feedBarIds)),e&&(s.is_manual_change=e,l=l.concat(t.current.guessListDedup)),l.length>0&&(s.pre_query_ids=Array.from(new Set(l)).join(",")),o.penetrate_params=s,i&&(o.is_prefetch=2),t.current.lastVideoGroupId=t.current.curVideoGroupId;let d=await (0,a.hV)((0,n._)({from_group_id:t.current.curVideoGroupId},o));return t.current.guessListLogId=d.logId,t.current.guessListDedup=t.current.guessListDedup.concat(d.data.inboxWords.words.map(e=>e.id)),d.data.inboxWords.words},[u]),f=(0,r.useCallback)(async e=>{let i=await m(e,!0);Array.isArray(i)&&i.length>0&&_({list:i.slice(0,u),gid:t.current.lastVideoGroupId,logId:t.current.guessListLogId})},[m]),p=(0,r.useCallback)(async e=>{let i=await m(e);Array.isArray(i)&&i.length>0&&(d(i.slice(0,u)),t.current.guessList=i.slice(0,u))},[m]);return{guessList:s,predictGuessList:c,getGuessList:m,predictFetchGuessList:f,updateGuessList:p}}},987134:function(e,t,i){i.d(t,{AW:function(){return p},TF:function(){return m},cf:function(){return w},g2:function(){return r},nT:function(){return h},ns:function(){return f},oD:function(){return _},xy:function(){return g},yG:function(){return v}});var n=i(412294);let{SUGGESTION_SHOW_LIMIT:r,SEARCHBAR_HOT_LIST_LIMIT:o,SEARCHBAR_HOT_LIST_OPT_LIMIT:a,GUESS_LIST_COUNT:l,BOTTOM_WORD_LIMIT:s,INSIDE_WORD_LIMIT:d,UNDER_BOX_MORE_LIMIT:u,UNDER_INBOX_WINDOW_HEIGHT_THRESHOLD:c}=n.ob,_=5,m=30068,f=30069,p="问AI、找答案",v=["recommend","follow","friend","video_detail","modal_entrance"],h=n.d3,g=10485760,w=10240},41190:function(e,t,i){i.d(t,{Aq:function(){return b}});var n=i(629686),r=i(402748),o=i(811603);i(968336),i(706056);var a=i(320165),l=i(101199),s=i(68901),d=i(339808),u=i(469935),c=i.n(u),_=i(113845),m=i(335924),f=i(618759),p=i(995898),v=i(499059),h=i(759894),g=i(524786),w=i(762086),y=i(338214),S=i(856165);let C=()=>{let e=(0,d.a)();return(null==e?void 0:e.pathname.startsWith("/follow"))?"返回关注":(null==e?void 0:e.pathname.startsWith("/friend"))?"返回朋友":(null==e?void 0:e.pathname.startsWith("/topic"))?"返回话题":"web_homepage_discover"===(0,m.Rs)("enter_from_merge")?"返回精选":"返回推荐"};t.ZP=e=>{var{text:t,onClick:i,neverHide:d,dark:u,abTestData:m}=e,v=(0,o._)(e,["text","onClick","neverHide","dark","abTestData"]);let h=C(),y=l.useMemo(()=>(0,f.DT)(),[]),b=(0,S.Q)(m),E=(0,_.$s)(e=>{let{fullscreen:t}=e;return{fullscreen:t}}),k=null==E?void 0:E.fullscreen;return(0,a.jsxs)("div",(0,r._)((0,n._)({className:c()(g.default.wrapper,{[g.default.noDrag]:!0,[g.default.childRouteFullScreen]:k||d,[g.default.noText]:""===t,[g.default.dark]:u}),onClick:()=>{y?b():document.referrer.includes("live.douyin.com")&&!(0,p.Nr)(location.pathname)?window.open("https://live.douyin.com/","_self"):window.history.length>1&&document.referrer&&document.referrer.includes("douyin.com")&&!document.referrer.includes("/live/")||(0,p.Nr)(location.pathname)?s.history.back():window.open("https://www.douyin.com/?recommend=1","_self"),null==i||i()}},v),{children:[(0,a.jsx)("span",{children:(0,a.jsx)(w.Z,{})}),""!==t&&(0,a.jsx)("span",{className:g.default.text,children:t||h})]}))};let b=e=>{let{withText:t}=e,i=(0,d.u)(),n=v.Le.getConfig(v.gI.searchSpaMainPath);return n?(0,a.jsxs)("div",{className:c()(g.default.searchSpaWebBack,{[g.default.searchSpaWebBack1]:t}),onClick:()=>{n&&(i(n),y.Z.sendLog("clickMainPage",{enter_from:(0,h.vM)()}))},children:[(0,a.jsx)(w.Z,{}),t&&(0,a.jsx)("div",{className:g.default.text,children:"返回"})]}):null}},36973:function(e,t,i){i.d(t,{C:function(){return u}}),i(490629);var n=i(320165),r=i(469935),o=i.n(r),a=i(101199),l=i(263832),s=i(344958);let d={[l.f_.LabelYellow]:"IcColorPersonal",[l.f_.LabelBlue]:"IcColorEnterprise",[l.f_.LabelLinearYellowV]:"IcVerifyYellowOutlined",[l.f_.LabelBlackGoldV]:"IcVerifyYellowFilled",[l.f_.LabelLinearBlueV]:"IcVerifyBlueOutlined",[l.f_.LabelBlackBlueV]:"IcVerifyBlueFilled",[l.f_.LabelRedV]:"IcVerifyRedFilled"};function u(e){let{className:t,accountCertInfo:i,isRoleNameShow:r=!0,iconClassName:u,roleNameClassName:c,certLabelStyle:_,useCertLabelStyle:m=!1}=e,[f,p]=(0,a.useMemo)(()=>m?[_,""]:[null==i?void 0:i.labelStyle,null==i?void 0:i.labelText],[i,_,m]);return(0,n.jsx)(n.Fragment,{children:f&&f!==l.f_.NoLabel?(0,n.jsxs)("div",{className:o()(s.default.role,t),children:[(0,n.jsx)("div",{className:o()(s.default.badgeBox,s.default[d[f]],u),children:"认证徽章"}),r&&(0,n.jsx)("span",{className:o()(s.default.roleName,c),"data-e2e":"badge-role-name",children:p})]}):null})}},913285:function(e,t,i){i.d(t,{h:function(){return _},k:function(){return c}});var n=i(629686);i(414931);var r=i(320165),o=i(101199),a=i(473228),l=i(687581),s=i(759894),d=i(601034),u=i(605027);let c=e=>{let{fallback:t,beforeCapture:i,onError:n,componentName:c,children:_,Slardar:m}=e,f=(0,o.useCallback)((e,t)=>{var i,r;l.oe.event.error({name:l.Mo.ComponentErrorBoundary,report:{message:e.message,stack:null!==(i=e.stack)&&void 0!==i?i:"",componentStack:t.toString(),componentName:c}}),null==n||n(e,t),u.Z.sendLog("componentErrorBoundary",{enter_from:(0,s.vM)(),enter_from_merge:(0,d.yW)(),message:e.message,stack:null!==(r=e.stack)&&void 0!==r?r:"",component_stack:t.toString(),component_name:c})},[]);return(0,r.jsx)(a.SV,{fallback:t,onError:f,beforeCapture:i,Slardar:m||l.oe.getSlardarInstance(),children:_})};function _(e,t){return i=>(0,r.jsx)(c,{componentName:t,Slardar:l.oe,children:(0,r.jsx)(e,(0,n._)({},i))})}},82564:function(e,t,i){i.d(t,{q:function(){return y}}),i("112459"),i("759943"),i("706056"),i("683656"),i("414931");var n=i("320165"),r=i("101199"),o=i("469935"),a=i.n(o),l=i("121998"),s=i("670556"),d=i("513565"),u=i("214676");let c=[{url:"https://www.douyin.com/friend_links",title:"友情链接"},{url:"https://www.douyin.com/htmlmap/hotauthor_0_1",title:"站点地图"}];var _=i("697132"),m=i("624508"),f=new m.h({pageClick:{eventName:"page_click",params:{click_position:"site_map"}}}),p=i("234150"),v=i("684103");let h=(0,r.memo)(e=>{let{links:t}=e;return(0,n.jsx)("div",{className:_.default.linkGroup,children:t.map((e,t)=>{let{url:i}=e;return(0,n.jsx)("div",{className:_.default.linkItem,children:e.url?(0,n.jsx)(p.a,{href:i,onClick:t=>{if("站点地图"===e.title){var n,r,o,a,s,u,c,_;let e=i,m=l.parse(null!==(_=null===(r=window)||void 0===r?void 0:null===(n=r.location)||void 0===n?void 0:n.search)&&void 0!==_?_:"");m.from=null===(a=window)||void 0===a?void 0:null===(o=a.location)||void 0===o?void 0:o.pathname,(null===(u=window)||void 0===u?void 0:null===(s=u.location)||void 0===s?void 0:s.href.includes(d.LIVE_DOMAIN))&&(m.from="live"),e+=`${decodeURIComponent(`?${l.stringify(m)}`)}`,null===(c=window)||void 0===c||c.open(e,"_blank"),f.sendLog("pageClick"),t.preventDefault()}},target:"_blank",rel:`noopener noreferrer ${(0,u.P)(e.title)}`,isNeedSeoOpt:!(null==e?void 0:e.needExtraParams),children:e.title}):(0,n.jsx)("span",{children:e.title})},`link_${t}`)})})}),g=(0,r.memo)(e=>{var t;let{sublink:i}=e;return(0,n.jsx)("div",{className:_.default.subLinkItem,children:i.url?(0,n.jsxs)(p.a,{href:i.url,target:"_blank",rel:"noopener noreferrer",children:[i.icon&&(0,n.jsx)("img",{className:_.default.icon,src:i.icon,alt:"icon"}),i.title]}):(0,n.jsx)("span",{children:null===(t=i.title)||void 0===t?void 0:t.replace("{{year}}",new Date().getFullYear().toString())})})}),w=(0,r.memo)(e=>{let{sublinksGroup:t}=e;return(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>(0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)("div",{className:_.default.subLinksGroup,children:e.map((e,t)=>(0,n.jsx)(g,{sublink:e},`sublink_${t}`))},`c_${t}`),(0,n.jsx)("div",{className:_.default.divider},`g_${t}`)]},`e_${t}`))})});function y(e){var t,i;let{linkItems:o,subLinkItems:l,isSpider:d,defaultValue:u}=e,m=(0,v.u)({defaultValue:u}),f=o||(null==m?void 0:null===(t=m.navFooter)||void 0===t?void 0:t.links)||[],p=l||(null==m?void 0:null===(i=m.navFooter)||void 0===i?void 0:i.subLinks)||[],g=(0,r.useMemo)(()=>o||(d?c:f),[o,f]),y=(0,r.useMemo)(()=>l||(d?[]:p),[l,p]);return(0,n.jsx)(s.NoSSR,{children:(0,n.jsx)("footer",{className:_.default.footer,children:(0,n.jsxs)("div",{className:a()(_.default.footerWrapper,_.default.footerMargin),children:[(0,n.jsx)(w,{sublinksGroup:y}),(0,n.jsx)(h,{links:g})]})})})}},217938:function(e,t,i){var n=i(624508);t.Z=new n.h({enterVideoTab:{eventName:"enter_video_tab",params:{tab_name:"",previous_page:"",enter_from:""}},stayVideoTab:{eventName:"stay_video_tab",params:{tab_name:"",duration:0,is_visible:1}},clickMoreTab:{eventName:"click_more_tab",params:{}},navigationBarExpand:{eventName:"navigation_bar_expand",params:{enter_from:""}},navigationBarFold:{eventName:"navigation_bar_fold",params:{enter_from:""}},clickAwemeLogo:{eventName:"click_aweme_logo",params:{enter_from:""}},brandAdBadgeClick:{eventName:"brand_ad_badge_click",params:{web_rid:""}},sidebarClick:{eventName:"sidebar_click",params:{click_type:"open"}},sidebarStatus:{eventName:"sidebar_status",params:{status:"open"}},aiChatButtonClick:{eventName:"ai_chat_button_click",params:{enter_from:"",ai_chat_button_position:"side_bar"}},discoverDownloadShow:{eventName:"discover_download_show",params:{tab_name:"",position:"tab",enter_from_merge:""}},discoverDownloadClick:{eventName:"discover_download_click",params:{tab_name:"",position:"tab",enter_from_merge:""}}})},624386:function(e,t,i){i.d(t,{e:function(){return d}}),i(490629);var n=i(101199),r=i(426038),o=i(709705),a=i(547352),l=i(103680),s=i(526867);let d=e=>{let[t,i]=(0,n.useState)(!1),d=(0,n.useRef)(!1),u=()=>{let{count:e,showTime:t,closeTime:i,needClose:n}=(0,o.$o)(r.LocalStorageKeys.FollowWidgetGuide)||{count:0,showTime:0,closeTime:0,needClose:!1};return{count:e,showTime:t,closeTime:i,needClose:n}},c=()=>{let{showTime:e,needClose:t}=u();return!!(t&&e&&(0,a.KC)(e))||!1},_=()=>{let{count:e=0,closeTime:t}=u();return c()?2:e<5&&Date.now()-t>6048e5?1:0},m=()=>{let{count:e=0,closeTime:t}=u();return e<5&&Date.now()-t>6048e5?1:0},f=async()=>{let t=await l.invoke("canSetDesktopFollowWidget"),n=await l.invoke("isDesktopFollowWidgetAutoAdd");(null==t?void 0:t.data)===!0&&(null==n?void 0:n.data)===!1&&("follow_list"===e.type&&_()&&(i(!0),d.current=!0),"follow"===e.type&&!c()&&m()&&(i(!0),d.current=!0))},p=t=>{d.current&&(d.current=!1,i(!1));let{count:n=0,showTime:a}=u();(0,o.qQ)(r.LocalStorageKeys.FollowWidgetGuide,{count:n,showTime:a,closeTime:Date.now(),needClose:!t&&(null==e?void 0:e.type)==="follow_list"})};return(0,n.useEffect)(()=>{f()},[]),{isShowGuide:t,onShowGuide:()=>{let{count:t=0,showTime:i}=u(),n=!!("follow_list"===e.type&&2===_());(0,o.qQ)(r.LocalStorageKeys.FollowWidgetGuide,{count:n?t:t+1,showTime:n?i:Date.now(),needClose:(null==e?void 0:e.type)==="follow_list",closeTime:n?i:Date.now()}),s.Z.sendLog("followWidgetAddToastShow",{type:null==e?void 0:e.type})},onAddFollowWidget:()=>{l.invoke("setDesktopFollowWidgetState",{data:!0}),p(!0),s.Z.sendLog("followWidgetAddToastClick",{type:null==e?void 0:e.type})},onCloseGuide:p,onDislikeGuide:()=>{s.Z.sendLog("followWidgetAddToastDislike")}}}},615686:function(e,t,i){i.d(t,{S:function(){return s}});var n=i(101199),r=i(601034),o=i(797705),a=i(526867);let l={[o.Hs.HomePage]:"homepage_button",[o.Hs.PersonalPanel]:"personal_panel"},s=e=>{let{activeTab:t,isSelf:i,enterPosition:s}=e,d=(0,n.useRef)({[o.OK.following]:0,[o.OK.follower]:0,reportActiveTab:t}),u=(0,n.useCallback)(()=>{let e=Date.now()-d.current[d.current.reportActiveTab];i&&e&&d.current.reportActiveTab===o.OK.following&&a.Z.sendLog("followListStayTime",{enter_from:(0,r.yW)(),enter_method:l[s],duration:e})},[]);(0,n.useEffect)(()=>{t!==d.current.reportActiveTab&&(u(),d.current.reportActiveTab=t,d.current[t]=Date.now())},[t]),(0,n.useEffect)(()=>(d.current[t]=Date.now(),()=>{u()}),[])}},526867:function(e,t,i){var n=i(624508);t.Z=new n.h({enterRelationTab:{eventName:"enter_relation_tab",params:{tab_name:""}},enterPersonalDetail:{eventName:"enter_personal_detail",params:{to_user_id:"",enter_from:"",enter_method:"",event_page:"",enter_from_merge:""}},changeFollowingOrder:{eventName:"change_following_order",params:{order_by:""}},clickFollowingOrderButton:{eventName:"click_following_order_button",params:{enter_from:"",enter_method:"follow_list"}},follow:{eventName:"follow",params:{enter_from:"",to_user_id:"",click_method:"",relation:""}},followCancel:{eventName:"follow_cancel",params:{enter_from:"",to_user_id:"",click_method:""}},search:{eventName:"search",params:{impr_id:"",enter_from:"",search_type:"general",enter_method:"normal_search",search_keyword:"",duration:0,is_success:0,anti_id:"",tab_name:""}},enterSearch:{eventName:"enter_search",params:{enter_from:"",tab_name:""}},searchResultShow:{eventName:"search_result_show",params:{enter_from:"",tab_name:"",search_keyword:""}},followCellShow:{eventName:"follow_cell_show",params:{enter_from:"",rank:0,is_search:0,nt:0}},followListStayTime:{eventName:"follow_list_stay_time",params:{enter_from:"",enter_method:"homepage_button",duration:0}},followWidgetAddToastShow:{eventName:"follow_widget_add_toast_show",params:{type:""}},followWidgetAddToastClick:{eventName:"follow_widget_add_toast_click",params:{type:""}},followWidgetAddToastDislike:{eventName:"follow_widget_add_toast_dislike",params:{}}})},423796:function(e,t,i){i.d(t,{ep:function(){return T},tt:function(){return k}}),i(490629);var n=i(320165),r=i(101199),o=i(469935),a=i.n(o),l=i(966473),s=i(528937),d=i(66948),u=i(759894),c=i(618759),_=i(889429),m=i(795653),f=i(331328),p=i(477389),v=i(942945),h=i(808191),g=i(939277),w=i(433692),y=i(176449),S=i(350746),C=i(455571),b=i(396868);let E=e=>{let{isInner:t,installPWA:i,withQuickAccessClose:o}=e,l=(0,r.useCallback)(()=>{S.Z.sendLog("webCollectClick",{enter_from:(0,u.vM)(),enter_method:t?"hover":"guide"}),i(),o&&o()},[i,o,t]);return(0,n.jsxs)("div",{className:a()(w.default.guideColumn,{[w.default.inner]:t}),children:[(0,n.jsx)(y.Z,{src:p.Z,width:50,height:51,viewBox:"0 0 50 51"}),(0,n.jsx)("div",{className:w.default.title,children:"添加抖音到电脑桌面"}),(0,n.jsx)("div",{className:w.default.desc,children:"下次可以在桌面快捷访问抖音"}),(0,n.jsx)("div",{className:a()(w.default.buttonContainer,{[w.default.inner]:t}),onClick:l,children:"立即添加"})]})},k=(0,r.memo)(e=>{let[t,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{i((0,c.tq)())},[]);let{installPWA:o,withQuickAccessClose:s}=e,d=(0,l.x)(()=>S.Z.sendLog("webCollectNotify",{enter_from:(0,u.mo)(),enter_method:"guide"}));return t?null:(0,n.jsxs)("div",{className:w.default.collectionPanelContainer,ref:d,children:[(0,n.jsxs)("div",{className:w.default.collectionPanelPWA,children:[(0,n.jsx)(y.Z,{src:f.Z,className:a()(w.default.closeIcon),onClick:s,width:16,height:16,viewBox:"0 0 16 16"}),(0,n.jsx)(E,{isInner:!1,installPWA:o,withQuickAccessClose:s})]}),(0,n.jsx)("div",{className:w.default.dot}),(0,n.jsx)("div",{className:w.default.finger})]})}),T=(0,r.memo)(e=>{let[t,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{i((0,c.tq)())},[]);let{installPWA:o,showBrowserPluginGuide:f,showQuickAccessPWA:p,withQuickAccessClose:k}=e,T=(0,l.x)(()=>S.Z.sendLog("webCollectNotify",{enter_from:(0,u.mo)(),enter_method:"hover"})),N=(0,l.x)(()=>S.Z.sendLog("webDesktopNotify",{enter_from:(0,u.vM)()})),[I,x]=(0,r.useState)([]),P=(0,r.useCallback)(async()=>{S.Z.sendLog("webDesktopClick",{enter_from:(0,u.vM)()});let e=await (0,C.Bg)();if((0,_.i7)()&&!e){b.F.info("当前网络无法访问chrome应用商店,请检查网络后再试");return}(0,C.d7)(I),k&&k()},[I,k]);return((0,r.useEffect)(()=>{if(!f)return;let e=!1;return s.get({key:d.TccKey.BrowserPluginInfo,defaultValue:d.TCC_DEFAULT_VALUE_MAP.get(d.TccKey.BrowserPluginInfo)}).then(t=>{var i;return!e&&x(null!==(i=null==t?void 0:t.pluginUrlList)&&void 0!==i?i:[])}),()=>{e=!0}},[]),t)?null:(0,n.jsx)("div",{id:"douyin-web-quick-access-collection-panel-container",className:w.default.collectionPanelContainer,ref:T,children:(0,n.jsxs)("div",{className:a()(w.default.collectionPanelPWA,{[w.default.notShowQuickAccessPWA]:!p}),children:[p&&(0,n.jsx)(E,{isInner:!0,installPWA:o}),f&&(0,n.jsxs)("div",{className:w.default.guideRow,ref:N,children:[(0,n.jsx)(y.Z,{src:h.Z,width:28,height:28,viewBox:"0 0 28 28"}),(0,n.jsxs)("div",{className:w.default.text,children:[(0,n.jsx)("p",{className:w.default.title,children:"抖音浏览器插件"}),(0,n.jsx)("p",{className:w.default.desc,children:"自定义浏览器新标签页"})]}),(0,n.jsxs)("div",{className:w.default.buttonContainer,onClick:P,children:[(0,n.jsx)(y.Z,{src:g.Z,width:7,height:10,viewBox:"0 0 7 10"}),(0,n.jsx)("span",{className:w.default.pluginText,children:"去安装"})]})]}),(0,n.jsxs)("div",{className:w.default.guideRow,children:[(0,n.jsx)(y.Z,{src:v.Z,width:28,height:28,viewBox:"0 0 28 28"}),(0,n.jsxs)("div",{className:w.default.text,children:[(0,n.jsx)("div",{className:w.default.title,children:"添加网页收藏夹"}),(0,n.jsx)("div",{className:w.default.desc,children:(0,m.Q5)()?"「command+D」添加至收藏夹":"「ctrl+D」添加抖音至收藏夹"})]})]})]})})})},860915:function(e,t,i){i.d(t,{E6:function(){return L}});var n=i("629686");i("490629");var r=i("320165"),o=i("101199"),a=i("350856"),l=i.n(a),s=i("469935"),d=i.n(s),u=i("880327"),c=i("499059"),_=i("749113"),m=i("618759"),f=i("324160"),p=i("469600"),v=i("702554"),h=i("147849"),g=i("501005"),w=i("53796"),y=i("178580"),S=i("402748");let C=(0,o.forwardRef)((e,t)=>(0,r.jsx)("svg",(0,S._)((0,n._)({width:79,height:90,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,r.jsx)("path",{d:"M66.76 18.041c-4.847-3.161-8.347-8.218-9.44-14.113A21.521 21.521 0 0 1 56.955 0H41.482l-.027 62.007c-.258 6.942-5.975 12.516-12.98 12.516-2.176 0-4.227-.544-6.033-1.494-4.138-2.18-6.974-6.519-6.974-11.513 0-7.17 5.837-13.007 13.007-13.007 1.338 0 2.622.223 3.84.602V33.318a28.646 28.646 0 0 0-3.84-.277C12.775 33.041 0 45.816 0 61.521c0 9.635 4.816 18.16 12.16 23.316A28.316 28.316 0 0 0 28.48 90c15.704 0 28.479-12.775 28.479-28.48V30.076a36.79 36.79 0 0 0 21.528 6.92V21.523a21.42 21.42 0 0 1-11.727-3.482z",fill:"#fff",fillOpacity:".8"})})));var b=i("455571"),E=i("760753"),k=i("589297"),T=i("350746"),N=i("907382");function I(e){let{isShow:t,onDownload:i}=e,{downloadAttr:n,downloadHref:a}=(0,k.o)(),l=(0,o.useCallback)(()=>{T.Z.sendLog("addToDesktopClick",{enter_from:"personal_homepage",type:"live_detail_button",platform:"client",is_full_screen:(0,u.r)()?"1":"0",ug_channel_id:c.Le.getConfig(c.gI.WebUgChannelId)||""}),null==i||i()},[i]);return(0,o.useEffect)(()=>{t&&T.Z.sendLog("addToDesktopShow",{enter_from:"live_detail",is_full_screen:(0,u.r)()?"1":"0",platform:"client",type:"live_detail_button",ug_channel_id:c.Le.getConfig(c.gI.WebUgChannelId)||""})},[t]),(0,r.jsx)("div",{children:t&&(0,r.jsx)(v.a,{buttonText:_.a.t("download_the_computer_client_side",{},"下载电脑客户端"),downloadAttr:n,downloadHref:a,onDownload:l,withClose:!1,children:(0,r.jsxs)("div",{className:g.default.priviledgeContainer,children:[(0,r.jsx)(h.BW,{}),(0,r.jsx)(h.PG,{})]})})})}function x(e){let{shouldShowGuideType:t,userOS:i,guideText:n}=e;return(0,r.jsxs)("div",{className:g.default.priviledgeContainer,children:[t===E.xj.Client&&i===b.CT.Mac&&!n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.BW,{}),(0,r.jsx)(h.PG,{}),(0,r.jsx)(h.Nr,{})]}),t===E.xj.Client&&i===b.CT.Win7Up&&!n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.BW,{}),(0,r.jsx)(h.Rx,{}),(0,r.jsx)(h.PG,{})]}),t===E.xj.PWA&&(0,r.jsx)(w.$,{text:"桌面便捷访问"})]})}function P(e){let{userOS:t,guideText:i}=e,{isDark:n}=(0,N.C)(),[a,l]=(0,o.useState)(!1),s=(0,o.useMemo)(()=>{var e;let i=!!document.querySelector("body[topic-page-force-dark]");return null===E.NT||void 0===E.NT?void 0:null===(e=E.NT[t])||void 0===e?void 0:e[i?"darkTheme":n?"darkTheme":"whiteTheme"]},[t,n]);return(0,r.jsxs)("div",{className:d()(g.default.priviledgeContainer,g.default.clodStartOptimize),children:[(0,r.jsx)(C,{width:79,height:90,className:d()(g.default.loadingLogo,{[g.default.hidden]:a})}),!i&&(0,r.jsx)("img",{className:d()(g.default.downloadGuideDesc,{[g.default.hidden]:!a}),src:s,onLoad:()=>{l(!0)}})]})}function A(e){var t,i;let{onDownload:n,onClose:a,downloadPWA:s,shouldShowGuideType:d,clientDownloadAttr:h,clientDownloadHref:w,withClose:S,withEffect:C,showType:k,setShowClientBadge:N,guideText:I,guideFrom:A,adminConfig:L,abTestData:M,showClientBadge:R}=e,[D,O]=(0,o.useState)(null),[V,W]=(0,o.useState)(_.a.t("download_the_computer_client_side",{},"下载电脑客户端")),j={[p.iv.RED_DOT]:1,[p.iv.NEW_ICON]:2,[p.iv.Image]:3},F=(0,o.useCallback)(()=>{var e,t,i,r,o,a,l,s;let _=(null==L?void 0:null===(t=L.config)||void 0===t?void 0:null===(e=t.ClientDownloadGuideConfig)||void 0===e?void 0:e.ID)?"yunying_guide":k===E.KK.Hover?"top_bar_hover":"top_bar_guide";T.Z.sendLog("addToDesktopClick",{enter_from:(0,T.v)(),is_full_screen:(0,u.r)()?"1":"0",type:_,platform:d===E.xj.PWA?"pwa":"client",guide_type:A,channel_id:(null==L?void 0:null===(r=L.config)||void 0===r?void 0:null===(i=r.ClientDownloadGuideConfig)||void 0===i?void 0:i.ID)?f.g.Yunying:f.g.ColdStart,if_reddot:R||(null==L?void 0:null===(a=L.config)||void 0===a?void 0:null===(o=a.ClientDownloadGuideConfig)||void 0===o?void 0:o.Type)===p.iv.Image?j[null==L?void 0:null===(s=L.config)||void 0===s?void 0:null===(l=s.ClientDownloadGuideConfig)||void 0===l?void 0:l.Type]:-1,ug_channel_id:c.Le.getConfig(c.gI.WebUgChannelId)||""}),c.Le.setConfig(c.gI.UserClick2DownloadClient,!0),null==n||n(),(0,E.v2)(!0),null==N||N(!1)},[n,d,k,N,A,L,R]),U=(0,o.useCallback)(l()((e,t,i)=>{var n,r,o,a,l,s,d,_;let m=t===E.xj.PWA?"pwa":"client_downloader",v=(null==L?void 0:null===(r=L.config)||void 0===r?void 0:null===(n=r.ClientDownloadGuideConfig)||void 0===n?void 0:n.ID)?"yunying_guide":e===E.KK.Hover?"top_bar_hover":"top_bar_guide";T.Z.sendLog("addToDesktopShow",{enter_from:(0,T.v)(),is_full_screen:(0,u.r)()?"1":"0",platform:m,type:v,guide_type:i,channel_id:(null==L?void 0:null===(a=L.config)||void 0===a?void 0:null===(o=a.ClientDownloadGuideConfig)||void 0===o?void 0:o.ID)?f.g.Yunying:f.g.ColdStart,if_reddot:R||(null==L?void 0:null===(s=L.config)||void 0===s?void 0:null===(l=s.ClientDownloadGuideConfig)||void 0===l?void 0:l.Type)===p.iv.Image?j[null==L?void 0:null===(_=L.config)||void 0===_?void 0:null===(d=_.ClientDownloadGuideConfig)||void 0===d?void 0:d.Type]:-1,ug_channel_id:c.Le.getConfig(c.gI.WebUgChannelId)||""})},500),[L,R]);if((0,o.useEffect)(()=>{O((0,b.P0)())},[]),(0,o.useEffect)(()=>{d===E.xj.Client?W(_.a.t("download_the_computer_client_side",{},"下载电脑客户端")):W(_.a.t("download_the_computer_client_side",{},"添加到桌面"))},[d]),(0,o.useEffect)(()=>{U(k,d,A)},[k,d,A,U]),(null==L?void 0:null===(i=L.config)||void 0===i?void 0:null===(t=i.ClientDownloadGuideConfig)||void 0===t?void 0:t.ID)&&d===E.xj.Client&&!(null==M?void 0:M.supportClientAdminConfig))return(0,r.jsx)(y.b,{adminConfig:L,withEffect:C,withClose:S,onClose:a,onDownload:F});let B=d===E.xj.Client&&!(0,m.DT)();return(0,r.jsx)("div",{id:"douyin-web-download-guide-container",className:g.default.downloadGuide,children:d!==E.xj.None&&(0,r.jsx)(v.a,{buttonText:V,downloadAttr:h,downloadHref:w,shouldDownloadPWA:d===E.xj.PWA,downloadPWA:s,withClose:S,onDownload:F,onClose:a,withEffect:C,showLOGO:!!I,childrenBoxClassName:I?g.default.pureTextWithLogo:"",isClodStartOptimize:B,withArrow:k===E.KK.Auto,children:B?(0,r.jsx)(P,{shouldShowGuideType:d,userOS:D,guideText:I}):(0,r.jsx)(x,{shouldShowGuideType:d,userOS:D,guideText:I})})})}function L(e){let{forLive:t}=e,[i,a]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{a((0,m.tq)())},[]),i)?null:t?(0,r.jsx)(I,(0,n._)({},e)):(0,r.jsx)(A,(0,n._)({},e))}},313330:function(e,t,i){i.d(t,{D:function(){return s}}),i(490629);var n=i(320165),r=i(101199),o=i(469935),a=i.n(o),l=i(658641);let s=e=>{let{clientDownloadGuideConfig:t}=e,{NormalImage:i,MiniImage:o}=t||{},[s,d]=(0,r.useState)(!1),[u,c]=(0,r.useState)(!1);return(0,n.jsx)("div",{className:l.default.container,children:(0,n.jsxs)("div",{className:a()(l.default.imageEntry,{[l.default.first]:!u,[l.default.hover]:s,[l.default.normal]:!s&&u}),style:{"--normalFirstShowImg":`url("${null==i?void 0:i.FirstShowImageURI}")`,"--normalHoverImg":`url("${null==i?void 0:i.HoverImageURI}")`,"--normalImg":`url("${null==i?void 0:i.NormalImageURI}")`,"--miniFirstShowImg":`url("${null==o?void 0:o.FirstShowImageURI}")`,"--miniHoverImg":`url("${null==o?void 0:o.HoverImageURI}")`,"--miniImg":`url("${null==o?void 0:o.NormalImageURI}")`},onMouseEnter:()=>{d(!0),c(!0)},onMouseLeave:()=>{d(!1)},children:[(0,n.jsx)("div",{className:l.default.normalFirstShowImg}),(0,n.jsx)("div",{className:l.default.normalImg}),(0,n.jsx)("div",{className:l.default.normalHoverImg}),(0,n.jsx)("div",{className:l.default.miniFirstShowImg}),(0,n.jsx)("div",{className:l.default.miniImg}),(0,n.jsx)("div",{className:l.default.miniHoverImg})]})})}},858653:function(e,t,i){i.d(t,{T:function(){return b}}),i("490629");var n=i("320165"),r=i("101199"),o=i("469935"),a=i.n(o),l=i("414061"),s=i("759894"),d=i("324160"),u=i("851394"),c=i("611311"),_=i("350746"),m=i("205026"),f=i("734223"),p=i("339808"),v=i("661444"),h=i("87897"),g=i("390638");function w(e){let{isToggleLoginBtn:t,success:i,className:r,customProps:o,displayAvatar:a,onMouseEnter:l,onMouseLeave:s,isShowSlideLightLottie:d}=e,{pathname:u}=(0,p.a)();(0,h._)();let c=(0,v.Q5)(u)||(0,v.ix)(u)?"登录后即可使用AI抖音":"";return t?(0,n.jsx)(g.T,{success:i,className:r,customProps:o,isActivity:null==o?void 0:o.isActivity,theme:null==o?void 0:o.theme,onMouseEnter:l,onMouseLeave:s,isShowSlideLightLottie:d,headerText:c}):(0,n.jsx)(f.D,{success:i,className:r,onMouseEnter:l,onMouseLeave:s,displayAvatar:a,isShowSlideLightLottie:d,headerText:c})}var y=i("257867"),S=i("314595"),C=i("367151");function b(e){let{success:t,isToggleLoginBtn:i,displayAvatar:o=!1,className:p,isClient:v,abtest:h}=e,{type:g,changeType:b}=(0,c.P)({delayDisappear:100,delayShow:100}),[E,k]=(0,r.useState)(!1),{showAnimate:T,showBar:N,closeBar:I}=(0,C.hC)({type:"personal_panel_toast",isLogin:!1,abtestData:h,isActive:!!g});return(0,r.useEffect)(()=>{let e=l.listen(l.EVENT.showHeaderPopUp,e=>{let{type:t,isShow:i}=e||{};"im"===t&&i&&b()});return()=>e()},[]),(0,r.useEffect)(()=>{"active"===g?(l.emit(l.EVENT.showHeaderPopUp,{type:"userDetail",isShow:!0}),l.emit(l.EVENT.hoverIcon,!0)):l.emit(l.EVENT.hoverIcon,!1)},[g]),(0,r.useEffect)(()=>{let e;return"active"===g?e=setTimeout(()=>{k(!0)},400):k(!1),()=>{e&&clearTimeout(e)}},[g]),(0,n.jsx)(y.p,{headerPopupName:"userDetail",children:(0,n.jsxs)("div",{className:a()(u.default.avataUserCt,u.default.avataUserMini,p,{[u.default.clientAvataUserCt]:v}),onMouseEnter:()=>{b("active")},onMouseLeave:()=>{b()},children:[v?(0,n.jsx)(f.D,{success:t,displayAvatar:!1}):(0,n.jsx)(w,{isToggleLoginBtn:i,displayAvatar:o,success:t}),(0,n.jsx)("div",{className:a()(u.default.dropdownContainer,u.default.userPanelCollect,{[u.default.active]:!!g,[u.default.clearOverflow]:E}),onMouseEnter:()=>{_.Z.sendLog("personalPanelShow",{enter_from:(0,s.vM)()})},children:(0,n.jsxs)("ul",{children:[(0,n.jsx)(S.Zp,{className:"userMenuPanelShadowAnimation",type:"personal_panel_toast",channelId:d.g.Login,showAnimate:T,showBar:N,closeBar:I,hintText:"客户端登录访问更便捷"}),(0,n.jsx)(m.Y,{secUid:"0",isLogin:!1,hide:()=>b(),abtest:h,isClient:v,containerScrollClassName:a()({[u.default.userMenuPanelContainerScroll]:N}),success:t})]})})]})})}},77683:function(e,t,i){i.d(t,{L:function(){return s}});var n=i(320165);i(101199);var r=i(851394),o=i(423796),a=i(860915),l=i(760753);let s=e=>{let{showType:t,inMiniScreen:i,isDownloadGuideShow:s,showQuickAccessColdStart:d,osInfo:u,isLogin:c,abTestData:_,installPWA:m,withQuickAccessClose:f,downloadPWA:p,withClose:v,withEffect:h,shouldShowGuideType:g,clientDownloadAttr:w,clientDownloadHref:y,showDownloadGuide:S,hideDownloadGuide:C,guideFrom:b,guideText:E,adminConfig:k,onDownloadGuideEnter:T,onDownloadGuideLeave:N}=e;return(0,n.jsxs)(n.Fragment,{children:[t===l.KK.Auto&&i&&s&&(0,n.jsx)("div",{className:r.default.miniScreen,children:(0,n.jsx)("div",{className:r.default.fixedToHeaderBelow,children:(0,n.jsx)("div",{className:r.default.miniScreenDownloadGuideContainer,onMouseEnter:T,onMouseLeave:N,children:(0,n.jsx)(a.E6,{isLogin:c,isShow:s,abTestData:_,osInfo:u,showType:t,downloadPWA:p,withClose:v,withEffect:h,shouldShowGuideType:g,clientDownloadAttr:w,clientDownloadHref:y,showDownloadGuide:S,onClose:C,guideFrom:b,guideText:E,adminConfig:k})})})}),i&&d&&(0,n.jsx)("div",{className:r.default.miniScreen,children:(0,n.jsx)("div",{className:r.default.fixedToHeaderBelow,children:(0,n.jsx)("div",{className:r.default.miniScreenDownloadGuideContainer,children:(0,n.jsx)(o.tt,{installPWA:m,withQuickAccessClose:f})})})})]})}},393616:function(e,t,i){i.d(t,{S:function(){return h}});var n=i(629686),r=i(402748),o=i(320165),a=i(101199),l=i(250532),s=i(391302),d=i(103680),u=i(107680),c=i(587098),_=i(163896),m=i(176449),f=i(560130);let p=new _._z,v=e=>{let{secUid:t,onClose:i}=e;return(0,a.useEffect)(()=>{let e="QRCodeModal";return(0,l.o)({pausePlayControlShortcut:!0,pauseCustomShortcut:!0,pauseGlobalShortcut:!0},e),()=>{(0,l.m)(e)}},[]),(0,o.jsxs)("div",{className:u.default.container,children:[(0,o.jsx)(c.Z,{secUid:t,isShowProps:!0,isOriginSize:!0,className:u.default.origQrcode}),(0,o.jsxs)("div",{className:u.default.desc,children:[(0,o.jsx)("p",{children:"打开抖音APP扫描二维码"}),(0,o.jsx)("p",{children:"查看订单"})]}),(0,o.jsx)(m.Z,{width:16,height:16,src:f.Z,viewBox:"0 0 16 16",className:u.default.closeBtn,onClick:i})]})},h=e=>{let t=()=>{p.destroy(),(0,s.sF)()&&d.asyncCall(d.AsyncCallMethod.XHide)};p.render({children:(0,o.jsx)(v,(0,r._)((0,n._)({},e),{onClose:t})),className:u.default.mask,onMaskClick:t})}},111403:function(e,t,i){i.d(t,{S:function(){return d}});var n=i(101199),r=i(409250),o=i(795653),a=i(103680),l=i(426038),s=i(356336);let d=()=>{let e=(0,n.useCallback)(()=>{let e=r.Q.getItem({sKey:l.CookieKeys.CloseConfirmInfo})||{count:0,lastShowTime:0},t=Date.now();return!(e.count>=3)&&(!(e.lastShowTime>0)||!(t-e.lastShowTime<2592e5))&&!0},[]),t=(0,n.useCallback)(()=>{let e=r.Q.getItem({sKey:l.CookieKeys.CloseConfirmInfo})||{count:0,lastShowTime:0};r.Q.setItem(l.CookieKeys.CloseConfirmInfo,{count:e.count+1,lastShowTime:Date.now()},31536e4)},[]);return{tryOpen:(0,n.useCallback)(async i=>{let{friendWorkNoticeStyle:n}=i;if(n!==s.FriendWorkNoticeStyle.Style1&&n!==s.FriendWorkNoticeStyle.Style2||(0,o.Q5)()||(0,o.O)())return!1;try{let e=await a.asyncCall("GET_STORE_ITEM",{key:"CLOSE_TO_TRAY",parse:!0}),t=null==e?void 0:e.data;if("number"==typeof t&&0!==t)return!1;let i=await a.invoke("GET_AUTO_START"),n=null==i?void 0:i.data;if(!0===n)return!1}catch(e){return!1}return!!e()&&(t(),!0)},[e,t])}}},712235:function(e,t,i){var n=i(101199),r=i(396868);t.Z=e=>{let{currentNumber:t,setCurrentNumber:i,awemeInfoList:o,setAwemeInfoList:a,aiExtensionAmemeInfo:l,refNextVideoCallBack:s}=e,{list:d,index:u}=l;(0,n.useEffect)(()=>{s.current=()=>r.F.info("暂时没有更多了")},[]),(0,n.useEffect)(()=>{d&&(a(d),i(u))},[d,u,a,i])}},655453:function(e,t,i){i.d(t,{Z:function(){return f}}),i(490629),i(14275),i(759943),i(374954);var n=i(101199),r=i(59850),o=i(339808),a=i(38578),l=i(612582),s=i(426038),d=i(709705),u=i(618759),c=i(915821),_=i(414061);let m=e=>!(e.length>=5)&&!e.some(e=>new Date(e).getDate()===new Date().getDate());function f(e){let{landingPage:t,isLogin:i,abTestData:f}=e,[p,v]=(0,n.useState)(!1),h=(0,o.a)(),g=(0,a.k)(),[w,y]=(0,n.useState)(!1),S=(0,n.useRef)("小窗模式");(0,n.useRef)(!0);let C=(0,r.Z)(e=>{e?l.YY.replaceCurrentTask({id:l.BE.MiniScreenOrWallPaperTaskId,isBlock:!0}):w&&l.YY.cancelTask(l.BE.MiniScreenOrWallPaperTaskId),y(e)}),b=(0,r.Z)(e=>{e&&l.YY.replaceCurrentTask({id:l.BE.MiniScreenOrWallPaperTaskId,isBlock:!0}),w&&y(!1)}),E=(0,r.Z)(()=>{if(!p||w)return!1;let{pathname:e}=h||{},{host:t}=window.location,i=/live\.douyin\.com/.test(t);return!!i||"/"!==e||localStorage.getItem("douyin_web_hide_guide")}),k=(0,r.Z)(()=>{let e=(0,d.$o)(s.LocalStorageKeys.MINI_WINDOW_TIP_LIST)||[],t=(0,d.$o)(s.LocalStorageKeys.HAS_USE_MINI_WINDOW),i=m(e);if(E()&&p&&i&&!t){S.current="点击体验小窗播放",y(!0),e.push(new Date().toDateString()),(0,d.qQ)(s.LocalStorageKeys.MINI_WINDOW_TIP_LIST,e),setTimeout(()=>{C(!1),S.current="小窗模式",l.YY.finishTask(l.BE.MiniScreenOrWallPaperTaskId)},3e3);return}l.YY.finishTask(l.BE.MiniScreenOrWallPaperTaskId)}),T=(0,r.Z)(()=>{if(w){y(!1);return}}),N=(0,r.Z)(()=>{l.YY.insertTask(l.BE.MiniScreenOrWallPaperTaskId,()=>{requestAnimationFrame(()=>{E()?k():l.YY.cancelTask(l.BE.MiniScreenOrWallPaperTaskId)})},{delay:0,onFinish:()=>{T()},isBlock:!0})}),I=(0,r.Z)(async()=>{var e;let t=null!==(e=(0,u.FJ)().awemePcClient)&&void 0!==e?e:"",{pathname:n}=h||{},r=(0,u.DT)();(0,c.y)(t,">=","1.0.6")&&!r&&"www.douyin.com"===window.location.hostname&&("/"===n||"/follow"===n&&i)?v(!0):v(!1)});return(0,n.useEffect)(()=>{I();let e=g.listen(I);return()=>{null==e||e()}},[I]),(0,n.useEffect)(()=>{p&&N()},[p]),(0,n.useEffect)(()=>{let e=_.listen(_.EVENT.miniWindowTip,()=>{N()});return()=>e()},[N]),{isShowMini:p,showMiniTip:w,refTipText:S,setShowTipWithTask:C,setShowWallPaperTipWithTask:b}}},98616:function(e,t,i){i.d(t,{Z:function(){return s}});var n=i(101199),r=i(618759),o=i(915821),a=i(853344),l=i(455571);function s(e){let{isClient:t,osInfo:i,ua:s,isiPad:d=!1}=e;return{newWallpaperShow:(0,n.useMemo)(()=>{if(t){var e;let t=null!==(e=(0,r.Y5)(s).awemePcClient)&&void 0!==e?e:"";return(0,l.Yo)(i)&&(0,o.y)(t,">=","1.7.0")}if((0,a.V)())return!1;if((0,r.wi)(s)||d);else if((0,l.Yo)(i))return!0;return!1},[s,i,t,d])}}},763562:function(e,t,i){i.d(t,{i:function(){return a}});var n=i(101199),r=i(528937),o=i(66948);let a=()=>{let e=(0,n.useCallback)(async()=>{let e=await r.get({key:o.TccKey.SpecUserFollowerUidList,defaultValue:[]});window.spec_user_follower_uid_list=e},[]);return(0,n.useEffect)(()=>{e()},[]),null}},435140:function(e,t,i){i.d(t,{p:function(){return o}}),i(490629),i(706056);var n=i(101199),r=i(192414);let o=()=>{let[e,t]=(0,r.x)();return{handleHiddenLog:(0,n.useCallback)(e=>{if(![r.O.LogTrace,r.O.UserInfo].includes(e))return!0;t({key:e})},[t])}}},534725:function(e,t,i){i.d(t,{H:function(){return _}});var n=i(101199),r=i(121998),o=i(285406),a=i.n(o),l=i(395823),s=i(335924),d=i(746517),u=i(581999);function c(e){(0,d.default)({enterMethod:"fromLiveClient",headerText:"登录成功后查看私信",success:async()=>{try{let{user:t}=await (0,l.b)(),{secUid:i}=t;if(i===e)location.reload();else{let{url:e,query:t}=r.parseUrl(location.href),i=a()(t,["nextLoginSecUid","imToSecUid"]);location.href=[e,r.stringify(i)].join("?")}}catch(e){location.reload()}}})}let _=()=>{var e;let{userInfo:t}=null!==(e=(0,u.useUserInfoContext)())&&void 0!==e?e:{},i=(0,n.useRef)(!1);(0,n.useEffect)(()=>{let e=(0,s.Rs)("nextLoginSecUid"),{isLogin:n,info:r}=t,{secUid:o}=r||{};if(!!e&&void 0!==n&&!i.current)i.current=!0,n?o!==e&&c(e):c(e)},[t])}},972599:function(e,t,i){i.d(t,{U:function(){return h}}),i(414931),i(932651),i(706056);var n=i(431940),r=i.n(n),o=i(423629),a=i(855357),l=i(414061),s=i(237869),d=i(499059),u=i(601034),c=i(959518),_=i(771410);let m=e=>{var t;return r().parse(null==e?void 0:null===(t=e.message)||void 0===t?void 0:t.textPayload)},f=e=>{var t,i,n,o,a,l,s,d,u,c,_,m;let{continuation_info:f,point_data:p}=e,v={};if(p)try{v=r().parse(p)}catch(e){}let h={appId:null==e?void 0:null===(t=e.app_id)||void 0===t?void 0:t.toString(),deviceId:null==e?void 0:null===(i=e.device_id)||void 0===i?void 0:i.toString(),messageType:null==e?void 0:null===(n=e.message_type)||void 0===n?void 0:n.toString(),toDeviceType:null==e?void 0:null===(o=e.to_device_type)||void 0===o?void 0:o.toString(),userId:null==e?void 0:null===(a=e.user_id)||void 0===a?void 0:a.toString()};return void 0!==f&&Object.assign(h,{continuationInfo:{cover:null==f?void 0:f.Cover,userId:null==f?void 0:null===(l=f.UserId)||void 0===l?void 0:l.toString(),itemId:null==f?void 0:null===(s=f.ItemId)||void 0===s?void 0:s.toString(),itemType:null==f?void 0:null===(d=f.ItemType)||void 0===d?void 0:d.toString(),playTime:null==f?void 0:f.PlayTime,fromDeviceId:null==f?void 0:null===(u=f.FromDeviceId)||void 0===u?void 0:u.toString(),fromDeviceType:null==f?void 0:null===(c=f.FromDeviceType)||void 0===c?void 0:c.toString(),recordType:null==f?void 0:null===(_=f.RecordType)||void 0===_?void 0:_.toString(),episodeId:null==f?void 0:null===(m=f.EpisodeId)||void 0===m?void 0:m.toString(),fromAppId:null==f?void 0:f.FromAppID},pointData:{itemDuration:null==v?void 0:v.item_duration,enterMethodOnCellphone:null==v?void 0:v.enter_method_on_cellphone,isLandscapeStatusOnCellphone:null==v?void 0:v.is_landscape_status_on_cellphone,previousPageOnCellphone:null==v?void 0:v.previous_page_on_cellphone,enterFromOnCellphone:null==v?void 0:v.enter_from_on_cellphone,fromUserId:null==v?void 0:v.from_user_id,fromDeviceId:null==v?void 0:v.from_device_id,timestamp:null==v?void 0:v.timestamp}}),h},p=e=>{l.emit(l.EVENT.sendPullMessage,{toDeviceId:e.deviceId,toDeviceType:o.Yi.Phone})},v=async e=>{let{fromDeviceType:t,itemType:i,itemId:n,episodeId:r,playTime:l,fromDeviceId:s,recordType:d,fromAppId:u}=(null==e?void 0:e.continuationInfo)||{},{itemDuration:_,enterMethodOnCellphone:m,isLandscapeStatusOnCellphone:f,previousPageOnCellphone:p,enterFromOnCellphone:v,fromUserId:h}=(null==e?void 0:e.pointData)||{};if(t!==o.Yi.Phone)return;let g=Number(i);(0,c.h)({scene:g===a.e.Lvideo?"long_video":"video",episodeId:r,itemId:n,playTime:l,urlSource:"app_continued",recordType:d,fromDeviceId:s,enterFromOnCellphone:v,previousPageOnCellphone:p,isLandscapeStatusOnCellphone:f,enterMethodOnCellphone:m,fromUserId:h,itemDuration:_,itemType:i,fromAppId:u,pointData:(null==e?void 0:e.pointData)||{}})},h=e=>{var t,i,n,r,a,l,c,h,g,w,y,S,C,b,E,k,T,N,I,x,P;if((0,s.xg)()||d.Le.getConfig(d.gI.IsInMiniWin))return;let A=f(m(e));if(_.Z.report("continued_broadcast_receive_sync_message",{is_start:1,scene:(null==A?void 0:null===(t=A.continuationInfo)||void 0===t?void 0:t.episodeId)?"long_video":"video",stage:"receive_message",enter_from:(0,u.yW)(),previous_page_on_cellphone:null==A?void 0:null===(i=A.pointData)||void 0===i?void 0:i.previousPageOnCellphone,enter_method_on_cellphone:null==A?void 0:null===(n=A.pointData)||void 0===n?void 0:n.enterFromOnCellphone,from_device_id:null==A?void 0:null===(r=A.pointData)||void 0===r?void 0:r.fromDeviceId,from_user_id:null==A?void 0:null===(a=A.pointData)||void 0===a?void 0:a.fromUserId,record_type:null==A?void 0:null===(c=A.continuationInfo)||void 0===c?void 0:null===(l=c.recordType)||void 0===l?void 0:l.toString(),item_id:null==A?void 0:null===(g=A.continuationInfo)||void 0===g?void 0:null===(h=g.itemId)||void 0===h?void 0:h.toString(),message_type:null==A?void 0:null===(w=A.messageType)||void 0===w?void 0:w.toString(),duration:null==A?void 0:null===(y=A.pointData)||void 0===y?void 0:y.itemDuration,app_id:null==A?void 0:null===(S=A.appId)||void 0===S?void 0:S.toString(),device_id:null==A?void 0:null===(C=A.deviceId)||void 0===C?void 0:C.toString(),to_device_type:null==A?void 0:null===(b=A.toDeviceType)||void 0===b?void 0:b.toString(),from_device_type:null==A?void 0:null===(k=A.continuationInfo)||void 0===k?void 0:null===(E=k.fromDeviceType)||void 0===E?void 0:E.toString(),user_id:null==A?void 0:null===(T=A.userId)||void 0===T?void 0:T.toString(),item_type:null==A?void 0:null===(I=A.continuationInfo)||void 0===I?void 0:null===(N=I.itemType)||void 0===N?void 0:N.toString(),from_app_id:null==A?void 0:null===(x=A.continuationInfo)||void 0===x?void 0:x.fromAppId,episode_id:null==A?void 0:null===(P=A.continuationInfo)||void 0===P?void 0:P.episodeId}),[o.Yi.Default,o.Yi.Phone,o.Yi.PC].includes(A.toDeviceType))switch(A.messageType){case o.Cs.ReportMessage:p(A);break;case o.Cs.PushMessage:v(A)}}},527830:function(e,t,i){i.d(t,{C:function(){return N}});var n=i(629686),r=i(402748);i(240148),i(759943),i(414931),i(362051),i(706056);var o=i(121998),a=i(431940),l=i.n(a),s=i(356336),d=i(426038),u=i(772227),c=i(46892),_=i(414061),m=i(409250),f=i(44476),p=i(823093),v=i(217969),h=i(777778),g=i(58916),w=i(139072);let y=e=>{var t;let i=l().parse(null==e?void 0:null===(t=e.message)||void 0===t?void 0:t.textPayload),o={};try{o=JSON.parse(i.extra_str)}catch(e){}return(0,r._)((0,n._)({},i),{extra:o})},S=e=>{if(!e)return{webRid:"",roomId:"",anchorId:""};{let{query:t}=o.parseUrl(e);return{webRid:null==t?void 0:t.web_rid,roomId:null==t?void 0:t.room_id,anchorId:null==t?void 0:t.user_id}}},C=e=>{if(!e)return{webRid:"",roomId:"",anchorId:""};{var t;let i=(null===(t=e.match(/live\.douyin\.com\/(\d+)/))||void 0===t?void 0:t[1])||"";return{webRid:i,roomId:i,anchorId:""}}},b=e=>{var t,i,n,r;let{webRid:o,roomId:a,anchorId:l}=(null==e?void 0:null===(t=e.ttpush_event_extra)||void 0===t?void 0:t.event_type)==="paid_live_start_push"?C(null==e?void 0:e.open_url):S(null==e?void 0:e.open_url);return{id:null==e?void 0:null===(i=e.id)||void 0===i?void 0:i.toString(),text:null==e?void 0:e.text,title:null==e?void 0:e.title,imageUrl:null==e?void 0:e.image_url,webRid:o,roomId:a,anchorId:l,type:null==e?void 0:null===(n=e.ttpush_event_extra)||void 0===n?void 0:n.push_type,eventType:null==e?void 0:null===(r=e.ttpush_event_extra)||void 0===r?void 0:r.event_type,pushShowType:null==e?void 0:e.push_show_type,businessType:null==e?void 0:e.business_type}},E=e=>{var t,i;let n=(0,u.D)(null==e?void 0:e.open_url),r=n.conversation_id||n.conv_short_id,o=null==e?void 0:null===(t=e.extra)||void 0===t?void 0:t.messageType,a=(0,c.do)(`/?open_im=${r}&message_tag=im_${42===o?"private":"group"}&groupId=${null==e?void 0:e.group_id_str}&rid=${null==e?void 0:e.rid64}`);return{messageType:o,imageUrl:null==e?void 0:e.image_url,openUrl:a,text:null==e?void 0:e.text,title:null==e?void 0:e.title,type:null==e?void 0:null===(i=e.extra)||void 0===i?void 0:i.source,groupId:null==e?void 0:e.group_id_str,rid64:null==e?void 0:e.rid64}},k=async e=>{var t,i,n,r,o,a,l;let s=-1,d="",u="",_="",m="",f="",p="",h="",g=-1;try{let{notice_list_v2:t=[]}=await (0,v.ul)({id_list:JSON.stringify([{notice_id_str:null==e?void 0:e.group_id_str,type:0}])}),i=null==t?void 0:t[0];s=null==i?void 0:i.type;let{interactive_notice:n}=i||{};d=(null==n?void 0:n.content)||"",f=(null==n?void 0:n.label_text)||"",p=(null==n?void 0:null===(r=n.aweme)||void 0===r?void 0:r.aweme_id)||"";let c=null==n?void 0:null===(o=n.from_user)||void 0===o?void 0:o[0];u=null==c?void 0:c.nickname,_=(null==c?void 0:null===(l=c.avatar_thumb)||void 0===l?void 0:null===(a=l.url_list)||void 0===a?void 0:a[0])||"",m=(null==c?void 0:c.uid)||"",h=(null==c?void 0:c.sec_uid)||"",g=(null==c?void 0:c.follow_status)||-1}catch(e){}return{pushType:null==e?void 0:null===(t=e.extra)||void 0===t?void 0:t.push_type,openUrl:(0,c.do)(`/?open_notice=true&message_tag=${null==e?void 0:null===(i=e.extra)||void 0===i?void 0:i.push_type}&groupId=${null==e?void 0:e.group_id_str}&rid=${null==e?void 0:e.rid64}`),text:d||(null==e?void 0:e.text),title:null==e?void 0:e.title,buttonText:(null==e?void 0:null===(n=e.extra)||void 0===n?void 0:n.button_text)||"去看看",type:"notice",imageUrl:null==e?void 0:e.image_url,groupId:null==e?void 0:e.group_id_str,rid64:null==e?void 0:e.rid64,typeNumber:s,fromUserName:u,avatar:_,fromUserId:m,labelText:f,awemeId:p,userSecUid:h,followStatus:g}},T=e=>{if("notice_comment"===e||"notice_commentreply"===e)return(0,g.c)("评论");if("notice_commentat"===e)return(0,g.c)("提及");if("notice_like"===e||"notice_commentdigg"===e)return(0,g.c)("点赞");else if("notice_follow"===e||"notice_followreq"===e||"notice_approvefollowreq"===e)return(0,g.c)("关注");else return!1},N=async(e,t)=>{var i,n;let r=y(e);let o=(null==r?void 0:null===(i=r.extra)||void 0===i?void 0:i.source)==="IM"?E:(null==r?void 0:null===(n=r.extra)||void 0===n?void 0:n.event_type)==="notice"?k:b,a=await o(r);if((null==a?void 0:a.type)==="appointment"&&(null==a?void 0:a.eventType)==="live_start_appointed"||(null==a?void 0:a.type)==="appointment"&&(null==a?void 0:a.eventType)==="paid_live_start_push"&&(null==a?void 0:a.pushShowType)===1&&(null==a?void 0:a.businessType)==="live"){_.emit(_.EVENT.webLivePushMessage,a);return}let l=t===s.WebPushType.PushNPull||t===s.WebPushType.Push,u=m.Q.getItem({sKey:d.CookieKeys.IsDouyinActive});if((null==a?void 0:a.type)==="IM"&&(0,g.c)("私信")&&(0,h.QK)("im")&&l&&!u){let e=await (0,f.g)({title:null==a?void 0:a.title,opts:{body:null==a?void 0:a.text,badge:null==a?void 0:a.imageUrl,icon:null==a?void 0:a.imageUrl,data:{schema:null==a?void 0:a.openUrl},actions:[{action:"im",title:"去看看"}]},stopMultiSend:!0});e&&(0,h.Ue)("im"),e&&(0,p.on)({rid64:null==a?void 0:a.rid64,group_id_str:null==a?void 0:a.groupId})}if((null==a?void 0:a.type)==="notice"){if(Object.values(w.I).includes(null==a?void 0:a.typeNumber)){_.emit(_.EVENT.webNoticePushMessage,a);return}if(T(null==a?void 0:a.pushType)&&(0,h.QK)("im")&&l&&!u){let e=await (0,f.g)({title:null==a?void 0:a.title,opts:{body:null==a?void 0:a.text,badge:null==a?void 0:a.imageUrl,icon:null==a?void 0:a.imageUrl,data:{schema:null==a?void 0:a.openUrl},actions:[{action:"notice",title:null==a?void 0:a.buttonText}]},stopMultiSend:!0});e&&(0,h.Ue)("im"),e&&(0,p.on)({rid64:null==a?void 0:a.rid64,group_id_str:null==a?void 0:a.groupId})}}}},569824:function(e,t,i){i.d(t,{j:function(){return u}}),i(414931);var n=i(431940),r=i.n(n),o=i(499059),a=i(601034),l=i(959518),s=i(771410);let d=e=>{var t;return r().parse(null==e?void 0:null===(t=e.message)||void 0===t?void 0:t.textPayload)},u=e=>{var t,i;if(o.Le.getConfig(o.gI.IsInMiniWin))return;let n=d(e),u={},c=null==n?void 0:n.from_app_id;if(null==n?void 0:n.point_data)try{let e=r().parse(n.point_data);u={enterFromOnCellphone:null==e?void 0:e.enter_method_on_cellphone,previousPageOnCellphone:null==e?void 0:e.previous_page_on_cellphone,isLandscapeStatusOnCellphone:null==e?void 0:e.is_landscape_status_on_cellphone,enterMethodOnCellphone:null==e?void 0:e.enter_method_on_cellphone,fromUserId:null==e?void 0:e.from_user_id,fromDeviceId:null==e?void 0:e.from_device_id,timestamp:null==e?void 0:e.timestamp,fromAppId:null==e?void 0:e.from_app_id,appRoomId:null==e?void 0:e.room_id},s.Z.report("continued_broadcast_receive_sync_message",{scene:"live",is_start:1,stage:"receive_message",enter_from:(0,a.yW)(),previous_page_on_cellphone:null==u?void 0:u.previous_page_on_cellphone,enter_method_on_cellphone:null==u?void 0:u.enterFromOnCellphone,from_device_id:null==u?void 0:u.fromDeviceId,from_user_id:null==u?void 0:u.fromUserId,room_id:null==n?void 0:n.web_rid.toString(),message_type:null==n?void 0:null===(i=n.message_type)||void 0===i?void 0:i.toString(),duration:(null==u?void 0:u.timestamp)?Date.now()-u.timestamp:void 0,from_app_id:c})}catch(e){}let _=null==n?void 0:null===(t=n.web_rid)||void 0===t?void 0:t.toString();if("open_live_from_aweme_app"!==n.message_type)return;let{enterFromOnCellphone:m,previousPageOnCellphone:f,isLandscapeStatusOnCellphone:p,enterMethodOnCellphone:v,fromUserId:h,fromDeviceId:g,appRoomId:w}=u;(0,l.h)({scene:"live",roomId:_,urlSource:"app_continued",messageFrom:"app",enterMethod:"app_resume",enterFromMerge:(0,a.yW)(),previousPage:"screen_share_to_pc",enterFromOnCellphone:m,previousPageOnCellphone:f,isLandscapeStatusOnCellphone:p,enterMethodOnCellphone:v,fromUserId:h,fromDeviceId:g,fromAppId:c,appRoomId:w})}},272857:function(e,t,i){var n=i(320165);i(101199);var r=i(469935),o=i.n(r),a=i(890710),l=i(525033),s=i(720549),d=i(176449);t.Z=e=>{let{referenceRect:t,portalElement:i,onContainerMouseEnter:r,onContainerMouseLeave:u}=e,{className:c,text:_}=e,{height:m=0,top:f=0}=t||{};return i?(0,a.createPortal)((0,n.jsx)("div",{onClick:e=>{e.stopPropagation()},onMouseEnter:r,onMouseLeave:u,className:o()(l.default.container),style:{top:f+m/2,transform:"translateY(-50%)"},children:(0,n.jsxs)("div",{className:o()(l.default.tip,c),children:[(0,n.jsx)(d.Z,{className:l.default.leftArrow,src:s.Z,width:6,height:36,viewBox:"0 0 6 36"}),_]})}),i):null}},743433:function(e,t,i){i.d(t,{d:function(){return h}});var n=i(629686),r=i(402748);i(490629),i(968336);var o=i(320165),a=i(101199),l=i(469935),s=i.n(l),d=i(549917),u=i(499059),c=i(414061),_=i(759894),m=i(899286),f=i(762025),p=i(428342),v=i(118103);let h=e=>{let{list:t,current:i,onChange:l,className:h,activeClickable:g,userInfo:w,abTestData:y,customProps:S,onLinkAction:C,isSpider:b,splashAdStatus:E}=e,k=(0,a.useRef)(0),T=a.useRef(null);a.useRef(null);let[N,I]=(0,a.useState)();(0,a.useEffect)(()=>{let e=!1;return i&&(async()=>{let t=await (0,d.U)();if(!e){let e=u.Le.getConfig(u.gI.TabPointCache);u.Le.setConfig(u.gI.TabPointCache,{followCount:"follow"===i?0:(null==t?void 0:t.count)||(null==e?void 0:e.followCount),followHasLive:"follow"!==i&&((null==t?void 0:t.hasLive)||(null==e?void 0:e.followHasNotice)),followHasNotice:"follow"!==i&&((null==t?void 0:t.hasNotice)||(null==e?void 0:e.followHasLive)),friendHasNotice:"friend"!==i&&((null==t?void 0:t.friendHasNotice)||(null==e?void 0:e.friendHasNotice)),friendNoticeCount:"friend"===i?0:(null==t?void 0:t.friendNoticeCount)||(null==e?void 0:e.friendNoticeCount)}),t.count="follow"===i?0:t.count||(null==e?void 0:e.followCount),t.hasNotice="follow"!==i&&(t.hasNotice||(null==e?void 0:e.followHasNotice)),t.hasLive="follow"!==i&&(t.hasLive||(null==e?void 0:e.followHasLive)),t.friendHasNotice="friend"!==i&&(t.friendHasNotice||(null==e?void 0:e.friendHasNotice)),t.friendNoticeCount="friend"===i?0:t.friendNoticeCount||(null==e?void 0:e.friendNoticeCount),I(t)}})(),()=>{e=!0}},[i]);let{reportClickNavViewLog:x}=(0,p.M)({tabsGroupRef:T}),P=(0,a.useCallback)(()=>{c.emit(c.EVENT.switchTab)},[]),A=e=>(0,n._)({abTestData:y,userInfo:w,active:e.value===i,activeClickable:g,splashAdStatus:E,onClick:function(){for(var t=arguments.length,i=Array(t),n=0;n{k.current=Date.now(),m.Z.sendLog("videoTabHover",{tab_name:e.value,enter_from:(0,_.vM)()})},onMouseLeave:()=>{m.Z.sendLog("videoTabHoverTime",{duration:Date.now()-k.current,tab_name:e.value,enter_from:(0,_.vM)()})}},e);return(0,o.jsx)("div",{className:s()(f.default.tabsContainer,h),ref:T,children:t.filter(e=>!e.hideTab).map(e=>{var t,l,d,u,c;if(e.value.startsWith("divider"))return(0,o.jsx)("div",{className:s()(f.default.divider,{[f.default.dividerBeforeFollow]:"divider_1"===e.value})},e.value);if("label"===e.type)return(0,o.jsx)("div",{className:f.default.label,children:e.value},e.value);let _=(null==e?void 0:e.subTabList)&&(null==e?void 0:null===(t=e.subTabList)||void 0===t?void 0:t.length)>0,m=_&&((null==e?void 0:e.value)===i||!!(null==e?void 0:null===(d=e.subTabList)||void 0===d?void 0:null===(l=d.find)||void 0===l?void 0:l.call(d,e=>(null==e?void 0:e.value)===i)));return(0,o.jsxs)("div",{className:s()(f.default.tabParentItem,{[f.default.active]:m}),children:[(0,o.jsx)(v.G,(0,n._)({className:f.default.tabItem},A(e))),_&&(0,o.jsx)(o.Fragment,{children:null==e?void 0:null===(c=e.subTabList)||void 0===c?void 0:null===(u=c.map)||void 0===u?void 0:u.call(c,e=>(0,a.createElement)(v.G,(0,r._)((0,n._)({className:f.default.subTabItem},A(e)),{key:null==e?void 0:e.value})))})]},e.value)})})}},286783:function(e,t,i){i(679308);var n=i(320165),r=i(890710);i(101199);var o=i(855436),a=i(880327);let l=(0,o.ZP)(()=>i.e("16870").then(i.bind(i,467240))),s=null;t.Z=e=>{let{onSuccess:t,onCancel:i,enterMethod:o}=e,d=null;if(s)d=()=>{s=null};else{let e=document.createElement("div"),t=document.body;(0,a.r)()&&(t=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement),t.appendChild(e),d=()=>{t.style.overflow="",r.unmountComponentAtNode(e),t.contains(e)&&t.removeChild(e)},t.style.overflow="hidden",s=new Promise((t,i)=>{r.render((0,n.jsx)(l,{onDestroy:d,onCancel:()=>{i()},onSuccess:()=>{t(!0)},enterMethod:o}),e)})}return s.then(()=>{s=null,null==t||t()},()=>{s=null,null==i||i()}).catch(()=>{s=null,null==i||i()}),d}},958747:function(e,t,i){i.d(t,{H7:function(){return S},QM:function(){return C},v2:function(){return y},wQ:function(){return g}}),i(490629),i(559561),i(14275),i(759943),i(968336);var n=i(121998),r=i(101199),o=i(982262),a=i(759385),l=i(205030),s=i(618759),d=i(995898),u=i(661444),c=i(414061),_=i(46892),m=i(442022),f=i(880327),p=i(326367),v=i(889429),h=i(692437);function g(e,t,i,n,a,l,s){let[d,u]=(0,r.useState)(null),[c,_]=(0,r.useState)("");return(0,o.Z)("ArrowUp",i=>{if(i.stopPropagation(),!t)u(t=>0===e?null:"sug"===n&&0===t?(s&&s(c),null):"sug"===n&&null===t?(_(l),e-1):null===t?0:0===t?e-1:Math.max(0,t-1))},{target:i}),(0,o.Z)("ArrowDown",i=>{if(i.stopPropagation(),!t)u(t=>0===e?null:("sug"===n&&null===t&&_(l),"sug"===n&&t===e-1)?(s&&s(c),null):null===t?0:t===e-1?0:Math.min(e-1,t+1))},{target:i}),{keyboardNavIndex:d,restKeyboardNavIndex:(0,r.useCallback)(()=>{u(null)},[])}}let w=(e,t)=>{let{pathname:i}=location,n=i.indexOf("/search/");return n>-1?`${i.slice(0,n)}/search/${e}?${t}`:"/"===i?`/root/search/${e}?${t}`:`${i.endsWith("/")?i.slice(0,-1):i}/search/${e}?${t}`};function y(e,t,i,r,o,l,g,y,S,C,b,E){var k,T;let N=/firefox/i.test(navigator.userAgent),I=i&&!(0,s.DT)()&&((null===(k=window)||void 0===k?void 0:k.location.pathname)==="/"||(null===(T=window)||void 0===T?void 0:T.location.pathname.startsWith("/search/"))),x=(0,d.j9)();if(!b&&l&&(0,u.En)()&&(o||x)){c.emit(c.EVENT.triggerModalPlayerClose),l(e,t.source,"",t.is_n1,{imageUri:y,forceUseAi:S,boxDetection:C,fromForceLogin:E});return}r&&I&&a.H.save();let P=encodeURIComponent(e),A=(0,n.stringify)(t),L=(0,_.Sp)(P,A);if(!b&&x){(0,m.B1)({tag:"search_triggered_by_search_action"});let i=w(P,A);c.emit(c.EVENT.beforeSearchSpaJump,{query:e,params:t,toPath:i}),(0,f.r)()?document.exitFullscreen().then(()=>{setTimeout(()=>{c.emit(c.EVENT.searchSpa,{to:i}),g(e,t)},120)}):(c.emit(c.EVENT.searchSpa,{to:i}),g(e,t));return}if(b||I)window.location.href=L;else if(N){let e=window.open("about:blank",(0,p.f)()?"_self":"_blank");e&&(e.location.href=L)}else(0,v.G6)()||(0,h.$f)()?window.open(L,(0,p.f)()?"_self":"_blank"):window.open(L,(0,p.f)()?"_self":"_blank","noopener")}let S=e=>{var t,i;let n="header-variant",r=document.documentElement;if(null==r?!void 0:null===(t=r.hasAttribute)||void 0===t?!void 0:!t.call(r,n))null==r||null===(i=r.setAttribute)||void 0===i||i.call(r,n,e),c.emit(c.EVENT.headerHeightChange,{header_type:e})},C=()=>{var e,t;let i="header-variant",n=document.documentElement;(null==n?void 0:null===(e=n.hasAttribute)||void 0===e?void 0:e.call(n,i))&&(null==n||null===(t=n.removeAttribute)||void 0===t||t.call(n,i),c.emit(c.EVENT.headerHeightChange,{header_type:l.n0.DEFAULT}))}},497148:function(e,t,i){i.d(t,{L:function(){return o}});var n=i(101199),r=i(414061);let o=()=>{let e=(0,n.useRef)(!1),t=(0,n.useCallback)(()=>{!e.current&&(r.emit(r.EVENT.videoStopPlayNext),e.current=!0)},[]);return{stopAutoplay:t,continueAutoplay:(0,n.useCallback)(()=>{e.current&&(r.emit(r.EVENT.videoRemoveStopPlayNext),e.current=!1)},[])}}},897838:function(e,t,i){i.d(t,{D:function(){return l}});var n=i(320165);i(101199);var r=i(469935),o=i.n(r),a=i(546123);let l=e=>{let{Icon:t,title:i,index:r,activeIndex:l,handleClick:s}=e;return(0,n.jsxs)("div",{className:o()(a.default.navigationItem,{[a.default.itemSelected]:r===l}),onClick:()=>s(r),children:[t,(0,n.jsx)("div",{className:o()(a.default.navigationItemTitle),children:i})]})}},173416:function(e,t,i){i.d(t,{A:function(){return n}});let n={pip:{hotKey:"U",title:"小窗模式",allowEdit:!0},like:{hotKey:"Z",title:"赞/取消赞",allowEdit:!0},collect:{hotKey:"C",title:"收藏/取消收藏",allowEdit:!0},follow:{hotKey:"G",title:"关注/取消关注",allowEdit:!0},avatar:{hotKey:"F",title:"进入作者主页",allowEdit:!0},comment:{hotKey:"X",title:"评论",allowEdit:!0},share:{hotKey:"V",title:"复制分享口令",allowEdit:!0},recommend:{hotKey:"P",title:"推荐给朋友",allowEdit:!0},dislike:{hotKey:"R",title:"不感兴趣",allowEdit:!0},search:{hotKey:"Shift + F",title:"抖音搜索"},closePage:{hotKey:"Shift + Q",title:"一键关闭当前页"},related:{hotKey:"N",title:"相关推荐",allowEdit:!0},listenVideo:{hotKey:"T",title:"听抖音",allowEdit:!0},showShortcutList:{hotKey:"?",title:"呼出快捷键列表"},closeShortcutList:{hotKey:"ESC",title:"关闭快捷键列表"},danmaku:{hotKey:"B",title:"开始/关闭弹幕",allowEdit:!0},immersivePlayer:{hotKey:"J",title:"清屏",allowEdit:!0},autoPlay:{hotKey:"K",title:"自动连播",allowEdit:!0},pageFullScreen:{hotKey:"Y",title:"网页内全屏",allowEdit:!0},fullscreen:{hotKey:"H",title:"全屏",allowEdit:!0},watchLater:{hotKey:"L",title:"稍后再看",allowEdit:!0},volume:{hotKey:"Shift +/Shift -",title:"音量调整"},switchBtn:{hotKey:"↑↓",title:"上下翻页"},seek:{hotKey:"← →",title:"快进快退(长按 → 时2倍速)"},pause:{hotKey:"空格",title:"暂停"},aiNewSession:{hotKey:(0,i(795653).Q5)()?"Command + P":"Ctrl + P",title:"AI抖音新会话"},createMultitaskingWindow:{hotKey:"Q",title:"添加新窗口"}}},552698:function(e,t,i){var n=i(624508);t.Z=new n.h({feedRequest:{eventName:"feed_request",params:{enter_from:"",is_first:0,is_click:0,is_auto_play:0,unread_feed_nums:0}},feedRequestResponse:{eventName:"feed_request_response",params:{enter_from:"",is_first:0,video_count:0,duration:0,is_success:0,is_click:0,is_auto_play:0,unread_feed_nums:0}},cssDroped:{eventName:"css_droped",params:{enter_from:""}},protobufParse:{eventName:"protobuf_parse",params:{path:"",duration:0,is_success:0}},protobufPackParse:{eventName:"protobuf_pack_parse",params:{duration:0}},protobufFeedRequest:{eventName:"protobu_feed_request",params:{duration:0,path:"",is_pb:!1}}})},649830:function(e,t,i){i.d(t,{M:function(){return k}});var n=i(629686),r=i(402748);i(490629),i(706056);var o=i(320165),a=i(101199),l=i(469935),s=i.n(l),d=i(687875),u=i(250532),c=i(350856),_=i.n(c),m=i(48795),f=i(108379),p=i(176449),v=i(396868),h=i(669263),g=i(185271),w=i(517427);let{ArrowUp:y,ArrowDown:S,W:C,S:b,Escape:E}=d.bf,k=e=>{let{getPlayer:t,onCancel:i,onConfirm:l,onError:d,onSelectionShow:c,initialWidth:k=300,initialHeight:T=200,initX:N=50,initY:I=50,minBoxWidth:x=66,minBoxHeight:P=66,isResetVideoPlayStatus:A=!0,quality:L=1,isShotScreenFull:M=!0}=e,R=(0,a.useRef)(null),[D,O]=(0,a.useState)({x:0,y:0,width:0,height:0}),[V,W]=(0,a.useState)(!1),[j,F]=(0,a.useState)(null),[U,B]=(0,a.useState)(null),[H,G]=(0,a.useState)(!1),Z=(0,a.useRef)(!1),Y=(0,a.useRef)(!0),K=(0,a.useRef)(null),q=()=>{let e=null==t?void 0:t(),i={x:0,y:0,width:0,height:0},n=e.video,r=n.getBoundingClientRect(),o=getComputedStyle(n).objectFit,a=n.clientWidth,l=n.clientHeight,s=n.videoWidth/n.videoHeight,d=a/l;return"contain"===o?d>s?(i.height=l,i.width=l*s,i.x=r.left+(a-i.width)/2,i.y=r.top):(i.width=a,i.height=a/s,i.x=r.left,i.y=r.top+(l-i.height)/2):(i.x=r.left,i.y=r.top,i.width=a,i.height=l),i},z=(e,t)=>{e.preventDefault(),W(!0),t&&B(t);let i=q(),n=e.clientX,r=e.clientY;ni.x+i.width&&(n=i.x+i.width),ri.y+i.height&&(r=i.y+i.height);let o=n-D.x,a=r-D.y;F({startMouseX:n,startMouseY:r,offsetX:o,offsetY:a,x:D.x,y:D.y,width:D.width,height:D.height})},J=e=>{if(!V||!j)return;let t=q(),i=e.clientX,o=e.clientY;it.x+t.width&&(i=t.x+t.width),ot.y+t.height&&(o=t.y+t.height);let a=i-j.offsetX,l=o-j.offsetY;if(U){let e=i-j.startMouseX,r=o-j.startMouseY,s=j.x+j.width-x,d=j.y+j.height-P,u=Math.max(P,j.height+r);u=Math.min(u,t.y+t.height-D.y);let c=Math.max(x,j.width+e);c=Math.min(c,t.x+t.width-D.x),O(i=>{let o=(0,n._)({},i);switch(U){case"top-left":a>s?(o.x=s,o.width=x):ad?(o.y=d,o.height=P):ld?(o.y=d,o.height=P):ls?(o.x=s,o.width=x):ad?(o.y=d,o.height=P):ls?(o.x=s,o.width=x):at.x+t.width-j.width&&(a=t.x+t.width-j.width),lt.y+t.height-j.height&&(l=t.y+t.height-j.height),O(e=>(0,r._)((0,n._)({},e),{x:a,y:l}))},Q=()=>{W(!1),B(null)},X=async e=>{let i=q();try{let n=await (0,f.l)({x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height,quality:L,player:null==t?void 0:t()});null==l||l(n)}catch(e){null==d||d(e)}},$=()=>{let e=q(),t=e.x+N,i=e.y+I,n=k,r=T;M?(t=e.x,i=e.y,n=e.width,r=e.height):(e.x+N>e.x+e.width-x&&(t=e.x+e.width-x),e.y+I>e.y+e.height-P&&(i=e.y+e.height-P),t+n>e.width+e.x&&(n=e.width+e.x-t),i+r>e.height+e.y&&(r=e.height+e.y-i)),O({x:t,y:i,width:n,height:r})};return((0,a.useEffect)(()=>{if(V)return window.addEventListener("mousemove",J),window.addEventListener("mouseup",Q),()=>{window.removeEventListener("mousemove",J),window.removeEventListener("mouseup",Q)}},[J,V]),(0,a.useEffect)(()=>{let e=null==t?void 0:t();if(e){var i,n;$();let t=e.getPlugin("ImmersiveSwitchSettingPlugin");Z.current=(null==t?void 0:null===(i=t.config)||void 0===i?void 0:i.isOn)||(null==t?void 0:null===(n=t._config)||void 0===n?void 0:n.isOn),null==t||t.updateImmersiveSwitch({isOn:!0}),Y.current=!e.paused,null==e||e.pause(),(0,u.o)({pauseCustomShortcut:!0,pauseGlobalShortcut:!0,pausePlayControlShortcut:!0,disableKey:[y,S,C,b,E].map(e=>e.code)},"screen/shot/area"),G(!0),null==c||c()}return()=>{if(e){let t=e.getPlugin("ImmersiveSwitchSettingPlugin");null==t||t.updateImmersiveSwitch({isOn:Z.current}),A&&Y.current&&e.play(),(0,u.m)("screen/shot/area")}}},[t]),(0,a.useEffect)(()=>{let e=null==t?void 0:t(),i=_()(()=>{v.F.info("页面发生变化,请重新选择截图区域",null==e?void 0:e.root),$()},300);return window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[t]),H)?(0,o.jsxs)("div",{className:w.default["selection-page-bg"],ref:e=>{e&&(e.onwheel=e=>{e.stopPropagation(),e.preventDefault()})},children:[(0,o.jsx)("div",{className:w.default["selection-img-container"],style:{clipPath:`polygon(0 0, 0 100%, ${D.x}px 100%, ${D.x}px ${D.y}px, ${D.x+D.width}px ${D.y}px, ${D.x+D.width}px ${D.y+D.height}px, ${D.x}px ${D.y+D.height}px, ${D.x}px 100%, 100% 100%, 100% 0)`}}),(0,o.jsxs)("div",{ref:R,className:s()(w.default["selection-box"]),style:{left:`${D.x}px`,top:`${D.y}px`,width:`${D.width}px`,height:`${D.height}px`},onMouseDown:z,children:[["top-left","top-right","bottom-left","bottom-right","top-middle","right-middle","bottom-middle","left-middle"].map(e=>(0,o.jsx)("div",{className:w.default["resize-handle"],style:{position:"absolute",[e.includes("top")?"top":e.includes("bottom")?"bottom":"top"]:!e.includes("middle")||e.includes("top")||e.includes("bottom")?(e.includes("middle"),"-11px"):"50%",[e.includes("left")?"left":e.includes("right")?"right":"left"]:!e.includes("middle")||e.includes("left")||e.includes("right")?(e.includes("middle"),"-11px"):"50%",transform:e.includes("middle")?e.includes("top")||e.includes("bottom")?"translateX(-50%)":"translateY(-50%)":"none",cursor:"top-left"===e||"bottom-right"===e?"nwse-resize":"top-right"===e||"bottom-left"===e?"nesw-resize":e.includes("top")||e.includes("bottom")?"ns-resize":"ew-resize"},onMouseDown:t=>z(t,e),children:(0,o.jsx)("div",{className:w.default["resize-line"]})},e)),(0,o.jsxs)("div",{className:s()(w.default["selection-buttons"],{[w.default["is-bottom-overflow"]]:"undefined"!=typeof window&&D.y+D.height+46>window.innerHeight}),onMouseDown:e=>e.stopPropagation(),ref:K,children:[(0,o.jsx)(m.Tooltip,{content:"取消",zIndex:13e3,getPopupContainer:()=>K.current,children:(0,o.jsx)("div",{className:w.default["cancel-button"],onClick:()=>{null==i||i()},children:(0,o.jsx)(p.Z,{src:g.Z,width:28,height:28,viewBox:"0 0 28 28"})})}),(0,o.jsx)(m.Tooltip,{content:"确定",zIndex:13e3,getPopupContainer:()=>K.current,children:(0,o.jsx)("div",{className:w.default["confirm-button"],onClick:()=>X(D),children:(0,o.jsx)(p.Z,{src:h.Z,width:28,height:28,viewBox:"0 0 28 28"})})})]})]})]}):null}},706192:function(e,t,i){i.d(t,{D:function(){return d}});var n=i(320165),r=i(101199),o=i(469935),a=i.n(o),l=i(301462),s=i(611077);let d=e=>{let{markImg:t}=(0,l.z)(e),i=(0,r.useRef)(null);return((0,r.useEffect)(()=>{if(i.current&&t){var e,n,r;null===(r=i.current)||void 0===r||null===(n=r.style)||void 0===n||null===(e=n.setProperty)||void 0===e||e.call(n,"--box-bg-image",`url(${t})`)}},[t]),t)?(0,n.jsx)("div",{className:a()(s.default.box,(null==e?void 0:e.isNavigation)&&s.default.navigation),ref:i}):null}},954887:function(e,t,i){i.d(t,{ic:function(){return R},ng:function(){return M}});var n=i(629686),r=i(402748);i(362051);var o=i(101199),a=i(229757),l=i.n(a),s=i(333047),d=i(988805),u=i(855357),c=i(638052),_=i(426112),m=i(762167),f=i(31992),p=i(775619),v=i(499059),h=i(486463),g=i(759894),w=i(335924),y=i(880327),S=i(409250),C=i(853344),b=i(947383),E=i(414061),k=i(426038),T=i(746517),N=i(548669),I=i(396868),x=i(332009);let P=e=>{let{errMsg:t,statusCode:i}=e;if(i!==s.ERROR_CODE.ERROR_USER_UNLOGIN)I.F.info(null!=t?t:d.Qr.FollowFail)},A=()=>(!v.Le.getConfig(v.gI.DiggStatusCache)&&v.Le.setConfig(v.gI.DiggStatusCache,{}),v.Le.getConfig(v.gI.DiggStatusCache)),L=e=>{let{awemeId:t,diggStatus:i,count:n}=e,r=l()(A());r[t]={diggStatus:i,count:n,lastDiggTime:new Date().getTime()},v.Le.setConfig(v.gI.DiggStatusCache,r)},M=async e=>{let{action:t,clickMethod:i,awemeInfo:o,selfUid:a,reportExtraParams:l,fail:s,success:T,complete:N}=e,I=null==o?void 0:o.awemeId,P="",A=0;try{var M,R,D,O,V,W,j,F,U,B,H,G,Z,Y,K,q,z,J;let{statusCode:e,errMsg:N,logPb:Q}=await (0,p.s)(I,"digg"===t?1:0,o.awemeType===u.e.XgVideo?1:0,(null==o?void 0:null===(R=o.friendRecommendInfo)||void 0===R?void 0:null===(M=R.label_user_list)||void 0===M?void 0:M.length)>0,(null==o?void 0:null===(O=o.friendRecommendInfo)||void 0===O?void 0:null===(D=O.label_user_list)||void 0===D?void 0:D.length)>0?null==o?void 0:null===(W=o.friendRecommendInfo)||void 0===W?void 0:null===(V=W.label_user_list)||void 0===V?void 0:V.map(e=>{var t;return null==e?void 0:null===(t=e.user)||void 0===t?void 0:t.uid}).join(","):"");if(P=JSON.stringify(Q),A=e,e)null==s||s({logPb:P,errMsg:N,statusCode:e,action:t});else{let e=x.s.getPlayer((0,h.OB)());if("digg"===t){if(c.logInstance.sendLog("like",(0,r._)((0,n._)({urlParamList:["previous_page"],author_id:null==o?void 0:null===(F=o.authorInfo)||void 0===F?void 0:F.uid,group_id:null==o?void 0:o.awemeId,media_type:null==o?void 0:o.mediaType,log_pb:P,play_current_time:Math.floor((null==e?void 0:e.currentTime)||0),enter_from:(0,g.mo)(),tab_name:(0,f.zD)()||(0,w.Rs)("tab_name")||"",is_full_screen:(0,y.r)()?"1":"0",is_full_webscreen:x.s.getIsPageFullscreen()?"1":"0",click_method:i||"icon",from_follow_list:(null===(U=v.Le.getConfig(v.gI.FromFollowList))||void 0===U?void 0:U.tag)?"1":"0",trending_topic:null==o?void 0:null===(B=o.hotList)||void 0===B?void 0:B.sentence,first_tag_name:null==o?void 0:null===(H=o.hotList)||void 0===H?void 0:H.header,top:null==o?void 0:null===(G=o.hotList)||void 0===G?void 0:G.rank,aweme_type:`${(null==o?void 0:o.isSlides)?u.e.Slides:null==o?void 0:o.awemeType}`,pic_cnt:null!==(q=null==o?void 0:null===(Z=o.images)||void 0===Z?void 0:Z.length)&&void 0!==q?q:0,item_duration_ms:(null==o?void 0:null===(Y=o.video)||void 0===Y?void 0:Y.duration)||0},l||{}),{clarity:(null===(K=v.Le.getConfig(v.gI.Clarity))||void 0===K?void 0:K.logValue)||"",from_push:S.Q.getItem({sKey:k.CookieKeys.FromClientPush})?1:0,is_from_aweme_search_engine:(0,C.V)()?1:0})),(0,_.Jt)(o)){let e=(0,_.Rx)(o);(0,m.E)("like",{tag:(0,b.f)(),value:e.creative_id,log_extra:e.log_extra})}}else if(c.logInstance.sendLog("cancelLike",(0,n._)({urlParamList:["previous_page"],author_id:null==o?void 0:null===(z=o.authorInfo)||void 0===z?void 0:z.uid,group_id:null==o?void 0:o.awemeId,log_pb:P,enter_from:(0,g.mo)(),play_current_time:Math.floor((null==e?void 0:e.currentTime)||0),tab_name:(0,f.zD)()||(0,w.Rs)("tab_name")||"",is_full_screen:(0,y.r)()?"1":"0",aweme_type:`${null==o?void 0:o.awemeType}`,item_duration_ms:(null==o?void 0:null===(J=o.video)||void 0===J?void 0:J.duration)||0},l)),(0,_.Jt)(o)){let e=(0,_.Rx)(o);(0,m.E)("like_cancel",{tag:(0,b.f)(),value:e.creative_id,log_extra:e.log_extra})}let s="digg"===t?d.gZ.Digged:d.gZ.UnDigg,p=(null==o?void 0:null===(j=o.stats)||void 0===j?void 0:j.diggCount)-Number(o.userDigged)+Number(s);L({awemeId:I,diggStatus:s,count:p}),E.emit(E.EVENT.syncInteractionStatus,{fromUserId:a,awemeId:o.awemeId,action:t}),null==T||T({logPb:P,action:t,diggStatus:s})}}catch(e){null==s||s({logPb:P,action:t})}return null==N||N({logPb:P,action:t}),{statusCode:A}},R=e=>{let{defaultDiggStatus:t,selfUid:i,awemeInfo:a,isMobileOversea:l,fail:d=P,success:u,complete:_,isLogin:m,onLoginSuccess:p,accountParentEl:h,reportExtraParams:S,loginPanelTarget:C,otherLoginMethod:b,scene:E,teaEvtParams:k={}}=e,I=(0,o.useRef)(!1),x=(0,o.useRef)(0),A=(0,o.useCallback)(async e=>await M((0,r._)((0,n._)({},e),{awemeInfo:a,selfUid:i,reportExtraParams:S,success:u,fail:d,complete:_})),[a,u,d,_,S,i]),L=(0,o.useCallback)(async e=>{var t,i;let{clickMethod:n,noLoginCb:r}=e||{};(0,T.default)({success:async()=>{I.current=!0,await (null==p?void 0:p());let{statusCode:e}=await A({action:"digg",clickMethod:n})||{};I.current=!1,x.current=e,x.current===s.ERROR_CODE.ERROR_USER_UNLOGIN&&(null==r||r())},headerText:"登录后即可点赞",enterMethod:"digg",next:`https://${null===(i=window)||void 0===i?void 0:null===(t=i.location)||void 0===t?void 0:t.host}`,teaEvtParams:k},h)},[p,h,A,k]),R=(0,o.useCallback)(async e=>{var t,i,r,o;let{clickMethod:s}=e||{};if(c.logInstance.sendLog("clickLike",(0,n._)({urlParamList:["previous_page"],author_id:null==a?void 0:null===(t=a.authorInfo)||void 0===t?void 0:t.uid,group_id:null==a?void 0:a.awemeId,enter_from:(0,g.mo)(),tab_name:(0,f.zD)()||(0,w.Rs)("tab_name")||"",is_full_screen:(0,y.r)()?"1":"0",click_method:s||"icon",from_follow_list:(null===(i=v.Le.getConfig(v.gI.FromFollowList))||void 0===i?void 0:i.tag)?"1":"0"},S)),!I.current)m?(I.current=!0,await A({action:"digg",clickMethod:s}),I.current=!1):l?(0,N.Z)({success:async()=>{window.location.reload()},enterMethod:"digg",next:`https://${null===(o=window)||void 0===o?void 0:null===(r=o.location)||void 0===r?void 0:r.host}`,headerText:"登录后即可点赞"}):b?b():L({clickMethod:s,noLoginCb:()=>{setTimeout(()=>{L({clickMethod:s})},1e3)}})},[a,m,h,p,i,A,S,L,t,b]),D=(0,o.useCallback)(async e=>{let{clickMethod:t}=e||{};if(m){if(I.current)return;I.current=!0,await A({action:"unDigg",clickMethod:t}),I.current=!1}else{var i,n;(0,T.default)({success:async()=>{await (null==p?void 0:p()),await A({action:"unDigg",clickMethod:t})},headerText:"登录后即可点赞喜欢的内容",enterMethod:"digg",next:`https://${null===(n=window)||void 0===n?void 0:null===(i=n.location)||void 0===i?void 0:i.host}`},h)}},[a,i,A]);return{digg:R,unDigg:D,hoverDigg:(0,o.useCallback)(()=>{c.logInstance.sendLog("hover_like_icon",{enter_from:(0,g.mo)()})},[])}}},192414:function(e,t,i){i.d(t,{O:function(){return m},x:function(){return f}});var n=i(629686),r=i(402748);i(490629),i(117232),i(362051),i(374954);var o=i(101199),a=i(205082),l=i(426038),s=i(328981),d=i(409250),u=i(782166),c=i(810069),_=i(396868),m={LogTrace:"87A38998227CBBC23DCAD51CD7F76AB2",UserInfo:"87A38998227CBBC23DCAD51CD7F76AB2_user_beta"};let f=e=>{let[t,i]=(0,o.useState)([]),m=e=>e.sort((e,t)=>new Date(t.time).getTime()-new Date(e.time).getTime()),f=e=>{let t=window.localStorage.getItem(null==a?void 0:null==l?void 0:l.LOG_TRACE)||"";if(t){let i=m(JSON.parse(t)),n=JSON.stringify(i);e&&e({logTraceStr:n,logTraceJSON:i})}},p=async e=>{let{key:t="87A38998227CBBC23DCAD51CD7F76AB2"}=e||{};try{let e=d.Q.getItem({sKey:l.CookieKeys.MonitorWebId})||"",y=d.Q.getItem({sKey:l.CookieKeys.MonitorDeviceId})||"",S=(await (0,s.d)()||[]).join(",");if("87A38998227CBBC23DCAD51CD7F76AB2"===t)f(t=>{let{logTraceJSON:i}=t,o={};i.forEach(t=>{!o[null==t?void 0:t.url]&&(o[null==t?void 0:t.url]=[]),o[null==t?void 0:t.url].push((0,r._)((0,n._)({},t),{monitorWebId:e,monitorDeviceId:y,abTestVids:S}))});let a=JSON.stringify(o);(0,u.J)(a),_.F.info("已复制调试信息到剪切板")});else if("87A38998227CBBC23DCAD51CD7F76AB2_user_beta"===t){var i,o,a,m,p,v,h,g,w;let t=0===Object.keys((null===(i=window)||void 0===i?void 0:i.SSR_RENDER_DATA)||{}).length?null===(o=window)||void 0===o?void 0:o.SSR_RENDER_DATA:null===(a=window)||void 0===a?void 0:a.SSR_RENDER_DATA_DOC,n={version:null===(m=window)||void 0===m?void 0:m.version,ab:S,slardar:null===(h=window)||void 0===h?void 0:null===(v=h.slardar)||void 0===v?void 0:null===(p=v.config)||void 0===p?void 0:p.call(v),odin:(0,c.Es)(),ssr:t,uuid:null===(g=(0,c.Es)())||void 0===g?void 0:g.user_unique_id,uid:null===(w=(0,c.Es)())||void 0===w?void 0:w.user_id,wid:e,did:y};(0,u.J)(JSON.stringify(n)),_.F.info("已复制调试信息到剪切板")}}catch(e){_.F.info("调试信息复制失败,请重试")}};return(0,o.useEffect)(()=>{if(null==e?!void 0:!e.banUseCopyLog)try{f(e=>{let{logTraceJSON:t}=e;(0,o.startTransition)(()=>{i(t)})})}catch(e){}},[]),[t,p]}},611311:function(e,t,i){i.d(t,{P:function(){return r}}),i(490629);var n=i(101199);function r(){let{delayDisappear:e=200,delayShow:t=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[i,r]=(0,n.useState)(""),o=(0,n.useRef)(0),a=(0,n.useRef)(0),l=function(e){clearTimeout(o.current),t?a.current=window.setTimeout(()=>{r(e)},t):r(e)},s=function(){clearTimeout(o.current),o.current=window.setTimeout(()=>{r("")},e),clearTimeout(a.current)};return{type:i,setType:r,changeType:function(e,t){t?r(e):e?l(e):s()},showTimer:a,disappearTimer:o,clearShowTimer:()=>clearTimeout(a.current),clearDisappearTimer:()=>clearTimeout(o.current)}}},247469:function(e,t,i){let n;i.d(t,{u:function(){return l}}),i(490629);var r=i(101199),o=i(414061),a=i(802309);function l(e){let{initImSDK:t=!0,initNoticeSDK:i=!0}=e,[l,s]=(0,r.useState)(null!=n?n:t),[d,u]=(0,r.useState)(null!=n?n:i);return(0,r.useEffect)(()=>{if(!n)setTimeout(()=>{n=!0,s(!0),u(!0),a.Z.mark("set_sdk_ready",{dedupe:!0,detail:"default"})},9500)},[]),(0,r.useEffect)(()=>{let e=o.listen(o.EVENT.initIMNoticeSDK,e=>{n=!0,s(!0),u(!0),a.Z.mark("set_sdk_ready",{dedupe:!0,detail:"init_im_notice_sdk"})});return()=>e()},[]),(0,r.useEffect)(()=>{let e=o.listen(o.EVENT.initImSDK,e=>{n=!0,s(!0),a.Z.mark("set_sdk_ready",{dedupe:!0,detail:"init_im_sdk"})});return()=>e()},[]),(0,r.useEffect)(()=>{let e=o.listen(o.EVENT.initNoticeSDK,e=>{n=!0,u(!0),a.Z.mark("set_sdk_ready",{dedupe:!0,detail:"init_notice_sdk"})});return()=>e()},[]),{initImSDK:l,initNoticeSDK:d,setInitImSDK:s,setNoticeSDK:u}}},998629:function(e,t,i){i.d(t,{c6:function(){return r},ds:function(){return o},pp:function(){return n}});let n={NONE:-1,SYSTEM:1,ONLY_PICTURE:2,BIG_EMOJI:5,TEXT:7,SHARE_AWEME:8,LOAD_MORE:9,ARTICLE:168,SHARE_PICTURE:12,COMMAND_SHARE:13,UPDATE_TIPS:14,SAY_HELLO:15,COMMENT:16,VOICE:17,SHARE_RANK_LIST:18,SHARE_CHALLENGE:19,SHARRE_POI:20,SHARE_LIVE:21,SHARE_MUSIC:22,SHARE_HARMONY_RANK_LIST:23,SHARE_MINI_APP:24,SHARE_USER:25,SHARE_WEB:26,STORY_PICTURE:27,SHARE_COUPON:28,STORY_VIDEO:30,AT_FRIEND_INTERACT:31,STORY_REPLY:32,COMMON_RED_ENVELOPE:35,VIDEO_RED_ENVELOPE:36,VIDEO_RED_ENVELOPE_NEW_YEAR:38,XPLAN_STICKER_EMOJI:51,XPLAN_HEART_EMOJI:52,SELF_STORY_REPLY:53,GROUP_INVITE_MESSAGE:58,SHARE_WEB_FROM_THIRD_MESSAGE:60,SHARE_GOOD:61,SHARE_GOOD_WINDOW:62,SHARE_POI_RANK:63,SHARE_GOOD_WINDOW_V3:64,ENTERPRISE_CUSTOMIZED_CARD:65,ENTERPRISE_CUSTOMIZED_CARD_WITH_FIXED_HEIGHT:66,ENTERPRISE_PRODUCT_LIST_CARD:67,E_PLATFORM_MESSAGE:70,SHARE_COMPILATION:71,SHARE_STICKER:72,CHAT_CALL:73,RED_PACKET:74,FRIEND_VIDEO_DM_COMMENT:75,SHARE_VS_LIVE:76,SHARE_PHOTOS:77,DIRECT_INVITE:78,GAME_INVITE:79,COUPON_FANS_GROUP:80,SUBSCRIBE_MESSAGE:81,GAME_INVITE_V2:82,REF_MSG:83,LIVE_ADVANCED_NOTICE_MESSAGE:84,URGE_LEAVE_MESSAGE:85,SHARE_PLAYLET:86,SHARE_DSP_MUSIC:87,ONE_CARD:88,ENTER_CHAT_FROM_VIDEO_COMMENT_LINK_MESSAGE:89,FEED_VOIP_SHARE_INVITE_MESSAGE:90,STORY_PICTURE_ONCE_VIEW:91,STORY_VIDEO_ONCE_VIEW:92,ENTERPRISE_CUSTOMER_SERVICE_CARD:93,COUPON_ENTERPRISE:94,CLOUD_GAME_INVITE:96,TEXT_PUSH_GUIDE:97,TEXT_ONCE_VIEW:104,SHARE_COMMENT:105,IM_ENCRYPT_VOICE:109,BULLET:110,CHANGE_STORY_PICTURE:111,CHANGE_STORY_VIDEO:116,ENCRYPT_VOICE:501,SHARE_LOCATION:502,XRTC_CHATROOM_INVITE:507,X_GROUP_HOLDER:1e3,GROUP_NOTICE_MESSAGE:1001,GROUP_GREET_MESSAGE:1002,GROUP_ANNOUNCEMENT_MESSAGE:1004,PUSH_NOTIFICATION_GUIDE_MESSAGE:1005,SYSTEM_COMPAT:1006,DENGER_WARNING_TOP_MESSAGE:1007,GROUP_MASTER_SHARE_TOKEN:1008,DOUBLE_LIKE_GUIDE:1009,STRANGER_GREET_MESSAGE:1010,ACTIVE_FRIEND_GREET_MESSAGE:1011,MUTE_GUIDE_CARD:1012,FEED_LIVE_SHARE_INVITE_MESSAGE:1013,CHAT_CALL_D_ONLY:1017,SHARE_MT_LIVE:1021,ACTION_MESSAGE:2e3,WELCOME_WORDS_CARD:9990,FANS_GROUP_MILE_STONE_CARD:9992,CREATOR_FAN_GROUP_PASSWORD_INVITE:9995,CREATOR_FAN_GROUP_CARD_INVITE_MESSAGE:9996,BIRTHDAY_WISHES_MESSAGE:9997,LIVE_FANS_GROUP_OWNER_INVITE_CARD:9998},r={DEFAULT:0,LIVE:23,AWEME_SYSTEM:100,SYSTEM_USER_ACTIVE_STATUS:101,SYSTEM_CREATE_GROUP_REWARD:102,SYSTEM_GROUP_MEMBER_ONLINE:103,SYSTEM_GROUP_SILENT_NOTICE:106,SYSTEM_GROUP_UN_SILENT_NOTICE:107,SYSTEM_MEMBER_SILENT_NOTICE:108,SYSTEM_MEMBER_UN_SILENT_NOTICE:109,AWEME_COMMENT:200,AWEME_BIG_EMOJI:500,AWEME_EMOJI_SELF:501,AWEME_NET_SEARCH_GIF:502,AWEME_TYPE_GIPHY:503,AWEME_GREET_EMOJI:504,AWEME_LITE_MSG_EMOJI:505,AWEME_LITE_MSG_EMOJI_NEW:506,AWEME_INTERACTIVE_EMOJI:507,AWEME_STORE_EMOJI:508,AWEME_SINGLE_HEYCAN_EMOJI:510,AWEME_TEXT:700,AWEME_SAY_HELLO_TEXT:701,AWEME_TEXT_GREETING:702,TEXT_REF_MSG:703,AWEME_TEXT_POSTSCRIPT:704,AWEME_TEXT_ASK:705,AWEME_TEXT_WELCOME_WORDS:706,AWEME_TEXT_REPORT_WORDS:708,AWEME_PERSONAL_INFO_REQUEST:770,AWEME_PERSONAL_INFO_RESPONSE:771,AWEME_TEXT_UNKNOWN_MSG_TYPE:799,AWEME_CARD:800,PICTURE_CARD:900,RANKING_LIST_WORD:1801,RANKING_LIST_VIDEO:1802,RANKING_LIST_MUSIC:1803,LIVE_KTV:2101,LIVE_VOICE:2102,IM_ENCRYPT_VOICE_AWE_TYPE:10900,RANKING_LIST_HARMONY:2301,MINI_GAME:2401,MINI_APP:2402,MINI_GENERALIZE:2403,ENCRYPT_PICTURE:2700,ENCRYPT_PICTURE_SHARE_FROM_THIRD:2701,ENCRYPT_PICTURE_OUT_CHECK:2702,ENCRYPT_PICTYRE_GIF:2703,WEB_SHARE_FROM_THIRD:6001,WEB_SHARE_FROM_RED_PACKET:2601,GOOD_WINDOW_V3:6400,AWEME_XEMOJI:5101,DIRECT_INVITE_VOICE_CHAT:7801,DIRECT_INVITE_KTV:7802,DIRECT_INVITE_VIDEO_CHAT:7803,DIRECT_INVITE_SHORT_VIDEO:7804,DIRECT_INVITE_FAMILIAR_KTV:7805,DIRECT_INVITE_AUDIENCE:7806,GAME_INVITE_IN_CHAT:7900,GAME_INVITE_IN_GAME:7901,GAME_INVITE_V2:8200,REF_MSG:8300,GROUP_VOTE:8800,COMMODITY_SHARE:8801,FEED_VOIP_SHARE_FOR_AVCALL:9e3,GROUP_NOTICE_MUTE_NOTICE:9994,GROUP_NOTICE_FANS_GROUP_WELCOME_NOTICE:9995,GROUP_NOTICE_ADD:100100,GROUP_NOTICE_COMMAND_ADD:100101,GROUP_NOTICE_QRCODE_ADD:100102,GROUP_NOTICE_SAFETY_WARNING:100103,GROUP_NOTICE_REMOVE:100104,GROUP_NOTICE_EXIT:100105,GROUP_NOTICE_GROUP_NAME_CHANGE:100106,GROUP_NOTICE_FROM_DUO_SHAN:100107,GROUP_NOTICE_APPLY_ADD:100109,GROUP_NOTICE_ADMIN_ADD:100110,GROUP_NOTICE_SEARCH_JOIN_GROUP:100111,GROUP_NOTICE_ACTIVITY_JOIN_GROUP:100112,GROUP_NOTICE_ACTIVITY_JOIN_GROUP_BY_FTF:100113,GROUP_NOTICE_ACTIVITY_JOIN_GROUP_BY_CIRCLE:100114,GROUP_NOTICE_WARNING_TIPS:100120,GROUP_NOTICE_GROUP_NAME_EDIT_TIPS:100121,GROUP_NOTICE_LIVE_FANS_MANAGER:100122,GROUP_NOTICE_LIVE_FANS_ANNOUNCE:100123,GROUO_NOTICE_DISABLE_SHARE:100124,GROUP_NOTICE_OPEN_DISABLES_SHARE:100125,GROUP_GREET_MESSAGE_FROM_SERVER:100200,GROUP_GREET_MESSAGE_FROM_CLIENT:100201,GROUP_OWNER_ACTIVE_GUIDE_EMOJI:100202,GROUP_MEMBER_ONLINE_GREET_EMOJI:100203,GROUP_MESSAGE_FOR_AVCALL:100300,PICTURE_CHANGE_REQUEST:11100,PICTURE_CHANGE_RESPONSE:11101,LOCATION_CHANGE_REQUEST:11102,LOCATION_CHANGE_RESPONSE:11103},o=[n.SHARE_AWEME,n.REF_MSG,n.SHARE_PHOTOS,n.SHARE_COMMENT,n.BULLET]},797194:function(e,t,i){i.d(t,{AD:function(){return V},FG:function(){return E},Jo:function(){return k},KI:function(){return D},MZ:function(){return T},NC:function(){return y},V5:function(){return O},Ww:function(){return A},aU:function(){return M},gP:function(){return P},gc:function(){return I},iN:function(){return L},jt:function(){return x},lR:function(){return w},np:function(){return N},s9:function(){return C},ur:function(){return S},zt:function(){return b}});var n=i(629686),r=i(402748);i(374954),i(527553),i(362051),i(706056),i(683656),i(759943),i(228983),i(313036),i(240148);var o=i(720709),a=i(337793),l=i.n(a),s=i(22186),d=i.n(s),u=i(431940),c=i.n(u),_=i(361073),m=i.n(_),f=i(647327),p=i(998629),v=i(383955);let{ConversationType:h}=o.m,g=()=>i(286066).Z;function w(e){let{height:t,id:i,width:n,sticker_type:r,animate_type:o,animate_url:a,id_str:l}=e,s={aweType:p.c6.AWEME_SINGLE_HEYCAN_EMOJI,createdAt:0,display_name:"",height:t,width:n,image_id:l||i,image_type:"gif",is_card:!1,may_show_special_effect:!1,msgHint:"",package_id:0,updateConversationTime:!0,url:{height:0,uri:null==a?void 0:a.uri,url_list:null==a?void 0:a.url_list,width:0}};return{type:p.pp.BIG_EMOJI,content:JSON.stringify(s)}}function y(e){let{height:t,id:i,width:n,display_name:r,animate_url:o,id_str:a}=e,l=BigInt(a),s={aweType:p.c6.AWEME_EMOJI_SELF,createdAt:0,display_name:r||"",height:t,width:n,image_id:l,image_type:"gif",is_card:!1,may_show_special_effect:!1,msgHint:"",package_id:0,updateConversationTime:!0,url:{height:0,uri:null==o?void 0:o.uri,url_list:null==o?void 0:o.url_list,width:0}};return{type:p.pp.BIG_EMOJI,content:c().stringify(s)}}function S(e){let{origin:t,id:i}=e,{width:n,height:r,uri:o,url_list:a}=t||{},l={aweType:p.c6.AWEME_SINGLE_HEYCAN_EMOJI,createdAt:0,display_name:"",height:r,width:n,image_id:i,image_type:"gif",is_card:!1,may_show_special_effect:!1,msgHint:"",package_id:0,updateConversationTime:!0,url:{height:0,uri:o,url_list:a,width:0}};return{type:p.pp.BIG_EMOJI,content:JSON.stringify(l)}}function C(e){let{height:t,id:i,width:n,animate_url:r,display_name:o,resource_type:a,static_url_list:l}=e,s=r;if(5===a){let e=Math.floor(Math.random()*l.length);s=l[e].static_url}let d={aweType:p.c6.AWEME_INTERACTIVE_EMOJI,createdAt:0,display_name:o,height:t,width:n,image_id:i,image_type:"gif",is_card:!1,may_show_special_effect:!1,msgHint:"",package_id:0,updateConversationTime:!0,url:{height:t,uri:s,url_list:[s],width:n}};return{type:p.pp.BIG_EMOJI,content:JSON.stringify(d)}}function b(e){let{height:t,id:i,width:n,animate_url:r,display_name:o}=e,a={aweType:p.c6.AWEME_SINGLE_HEYCAN_EMOJI,createdAt:0,display_name:o,height:t,width:n,image_id:i,image_type:"gif",is_card:!1,may_show_special_effect:!1,msgHint:"",package_id:0,updateConversationTime:!0,url:{height:0,uri:null==r?void 0:r.uri,url_list:null==r?void 0:r.url_list,width:0}};return{type:p.pp.BIG_EMOJI,content:JSON.stringify(a)}}function E(e,t){let i=e,n=t;return(null==e?void 0:e.includes("未成年充值"))&&(i="如遇未成年充值打赏问题,可在 {{1}} 内申请退款",n=[{key:1,action:4,name:"抖音App",link:"https://www.douyin.com/downloadpage/app"}]),{newTips:i,newTemplate:n}}function k(e){let{referenceInfo:t}=e,i={};if(t){let{hint:e}=t;try{let{refmsg_content:t}=JSON.parse(e);t&&(i=JSON.parse(t))}catch(e){i={}}}return i}function T(e,t){switch(t){case p.pp.STORY_PICTURE:return function(e){return{type:e}}(t);case p.pp.STORY_VIDEO:return function(e){return{type:e}}(t);default:return function(e){let{text:t,textExtra:i=[],content:n,type:r,referenceHint:o,referenceMessage:a}=e,s=[];l()(i,e=>{var t;let i=null==e?void 0:null===(t=e.info)||void 0===t?void 0:t.uid;if(i)try{s.push(parseInt(i))}catch(e){}});let d={mention_users:s,aweType:p.c6.AWEME_TEXT,richTextInfos:i};a&&(d.aweType=p.c6.TEXT_REF_MSG),t&&(d.text=t);let u={type:r||p.pp.TEXT,mentionedUsers:s,content:n||JSON.stringify(d)};return a&&(u.referenceHint=JSON.stringify(o),u.referenceMessage=a),u}(e)}}function N(e){var t;let{active_users:i,passive_users:n,locale_resources:r,template:o}=e||{},a=(null==r?void 0:null===(t=r[0])||void 0===t?void 0:t.text)||"",{curUserInfo:s}=g(),d=[];l()(i,e=>{let t=(null==e?void 0:e.nickname)||"";(null==s?void 0:s.uid)&&(null==s?void 0:s.uid)===(null==e?void 0:e.uid)&&(t="你"),d.push(t)});let u=[];l()(n,e=>{let t=(null==e?void 0:e.nickname)||"";(null==s?void 0:s.uid)&&(null==s?void 0:s.uid)===(null==e?void 0:e.uid)&&(t="你"),u.push(t)}),a=a.replace("{0}",d.join("、")).replace("{1}",u.join("、"));let c=[];return null==o||o.forEach(e=>{if((null==e?void 0:e.action)===4){var t;if((null==e?void 0:null===(t=e.extra)||void 0===t?void 0:t.is_full_text_match)&&e.key){let t=a.split(e.key);t.map((i,n)=>{c.push({type:"text",text:i}),void 0!==t[n+1]&&c.push({type:"href",text:e.key,href:e.link})})}}}),c.length?c:[{type:"text",text:a}]}function I(e,t){let i="";if(!e)return i;let{type:n,visible:r,isFromMe:o,content:a,sender:l,conversationId:s,conversationType:d,isRecalled:u}=e;if(u)return`${o?"你":""}撤回了一条消息`;let c={};try{c=JSON.parse(a)}catch(e){}switch(n){case p.pp.SYSTEM:i=O(null==c?void 0:c.tips,null==c?void 0:c.template)||"";break;case p.pp.BIG_EMOJI:i=`[${(null==c?void 0:c.display_name)||"表情"}]`;break;case p.pp.TEXT_ONCE_VIEW:i=o?null==c?void 0:c.text:"仅看一次消息";break;case p.pp.TEXT:i=(null==c?void 0:c.text)||"";break;case p.pp.SHARE_AWEME:i="分享[视频]";break;case p.pp.SAY_HELLO:let _=`我是${null==c?void 0:c.nickname},`||"";i=`嗨~ ${_}聊聊天吧`;break;case p.pp.VOICE:case p.pp.IM_ENCRYPT_VOICE:i="[语音]";break;case p.pp.SHARE_LIVE:i="分享[直播]",(null==c?void 0:c.push_detail)&&(i+=`:${null==c?void 0:c.push_detail}`);break;case p.pp.CHANGE_STORY_PICTURE:if(t){let t=(0,f.x)(e);i=(0,f.z)(e)?o?t?"交换了位置":"发送了交换位置":t?"和你交换了位置":"发来位置和你交换":o?t?"回拍交换了图片":"发送了以图换图":t?"回拍交换了图片":"发来图片和你交换"}else i="[图片]";break;case p.pp.STORY_PICTURE_ONCE_VIEW:case p.pp.STORY_PICTURE:i="[图片]";break;case p.pp.STORY_VIDEO_ONCE_VIEW:case p.pp.STORY_VIDEO:i="[视频]";break;case p.pp.XPLAN_STICKER_EMOJI:i=`[${(null==c?void 0:c.display_name)||"表情"}]`;break;case p.pp.SHARE_PHOTOS:i="分享[图集]";break;case p.pp.REF_MSG:i=`${(null==c?void 0:c.shareMsgType)===p.pp.SHARE_PHOTOS?"分享[图集]":"分享[视频]"}`;break;case p.pp.GROUP_NOTICE_MESSAGE:i=N(c).map(e=>e.text).join("");break;case p.pp.GROUP_GREET_MESSAGE:i="和朋友打个招呼吧";break;case p.pp.GROUP_ANNOUNCEMENT_MESSAGE:i=`[群公告]${(null==c?void 0:c.notice_content)||""}`;break;case p.pp.GROUP_INVITE_MESSAGE:i="[群聊邀请]";break;case p.pp.SHARE_USER:i="[分享用户]";break;case p.pp.SHARE_COMMENT:i="分享[评论]";break;case p.pp.BULLET:i=String((null==c?void 0:c.push_detail)||"消息卡片");break;case p.pp.SHARE_LOCATION:i="[地理位置]";break;case p.pp.SHARE_WEB:i=`转发[链接]: ${(null==c?void 0:c.title)||""}`;break;default:i="暂不支持该消息类型"}return i}function x(e){var t;let i="";if(!e)return i;let{type:n,visible:r,isFromMe:o,content:a,sender:l,conversationId:s,isRecalled:d,conversationType:u}=e,{unSendMsgConversationMap:c,userInfoFromSdkMap:_,userInfoFromServerMap:m,abTestData:f}=g(),p="",v="";v=I(e);let h=null==_?void 0:null===(t=_[s])||void 0===t?void 0:t[l],w=null==m?void 0:m[l];return(p=(null==w?void 0:w.remark_name)||(null==h?void 0:h.alias)||(null==w?void 0:w.nickname)||"")&&(i+=`${p}:`),v&&(i+=v),i||""}function P(e){try{switch(m().fromValue(e).toNumber()){case p.pp.SHARE_AWEME:return"[分享视频]";case p.pp.SHARE_PHOTOS:return"[分享图集]";default:return""}}catch(e){return""}}function A(e,t){let i;let{type:o,content:a,sender:l}=e,{unSendMsgConversationMap:s,curUserInfo:d,abTestData:u,curConversation:c,userInfoFromSdkMap:_,userInfoFromServerMap:m}=g(),{uid:f,sec_uid:h,nickname:w,remark_name:y}=(null==m?void 0:m[l])||{};null==c||c.type;let S=null==d?void 0:d.uid,C={};try{C=JSON.parse(a)}catch(e){}let b={},E="",k=0;switch(o){case p.pp.BIG_EMOJI:b={content:"[表情]",refmsg_content:a};break;case p.pp.TEXT:b={content:C.text,refmsg_content:a};break;case p.pp.TEXT_ONCE_VIEW:b={content:"仅看一次消息",refmsg_content:a};break;case p.pp.SHARE_AWEME:k=1,b={content:`${P(o)}${C.content_title}`,refmsg_content:a};break;case p.pp.CHANGE_STORY_PICTURE:case p.pp.STORY_PICTURE_ONCE_VIEW:case p.pp.STORY_PICTURE:b={content:"[图片]",refmsg_content:a},E=C.itemId;break;case p.pp.STORY_VIDEO_ONCE_VIEW:case p.pp.STORY_VIDEO:b={content:"[视频]",refmsg_content:a},E=C.itemId;break;case p.pp.XPLAN_STICKER_EMOJI:b={content:"[表情]",refmsg_content:a};break;case p.pp.SHARE_PHOTOS:b={content:`${P(o)}${C.content_title}`,refmsg_content:a};break;case p.pp.BULLET:E=C.item_id,b={content:`${C.description||"消息卡片"}`,refmsg_content:a};break;case p.pp.REF_MSG:b={content:C.text,refmsg_content:a};break;default:return!1}return i=S!==f?v.dx.SCENE_TYPE_REPLY_OTHER:v.dx.SCENE_TYPE_REPLY_SELF,(0,r._)((0,n._)({refmsg_uid:f,itemId:E,nickname:y||w,refmsg_sec_uid:h,refmsg_type:o},b),{scene_type:i,version:k})}let L=e=>{let t=Date.now();return t-new Date(e).getTime()<=18e4},M=e=>(!(e>=0)||!(e<=1999))&&(!(e>5e4)||60001===e)&&!0,R=(e,t,i)=>{let n=[];return l()(e,e=>{if(d()(e)){let r=e.split(t),o=r.length,a=[];o>1?(l()(r,(e,t)=>{t===o-1?a.push(e):(a.push(e),a.push(i))}),n=n.concat(a)):n.push(e)}else n.push(e)}),n},D=(e,t)=>{if(!e)return[];if(!(null==t?void 0:t.length))return[e];let i={};l()(t,e=>{i[`{{${null==e?void 0:e.key}}}`]=e});let n=e.match(/{{\d+}}/g),r=[e];return l()(n,e=>{r=R(r,e,i[e])}),r};function O(e,t){let i=String(e);return Array.isArray(t)&&t.forEach(e=>{i=null==i?void 0:i.replace(`{{${null==e?void 0:e.key}}}`,null==e?void 0:e.name)}),i}function V(e,t,i){let n;let{content:r,sender:o}=e;try{n=JSON.parse(r)}catch(e){n={}}let{content_title:a,cover_height:l,cover_url:s,cover_width:d,is_card:u,itemId:c,msgHint:_,push_detail:m,uid:f,secUID:h}=n,g={aweType:p.c6.REF_MSG,scene_type:v.dx.SCENE_TYPE_REPLY_INPUT,content_title:a,cover_height:l,cover_width:d,cover_url:s,is_card:u,itemId:c,msgHint:_,push_detail:m,createdAt:0,text:t,richTextInfos:i,ref_uid:o,uid:f,sec_uid:h};return{type:p.pp.REF_MSG,content:JSON.stringify(g)}}},263070:function(e,t,i){i.d(t,{M:function(){return s}}),i(490629);var n=i(960496);let r=(0,n.uZ),o=function(){for(var e,t=arguments.length,i=Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:0;return new Promise(t=>{setTimeout(()=>{t(!0)},e||0)})}},37285:function(e,t,i){i.d(t,{B:function(){return n}});var n={danmakuSettingChange:"danmakuSettingChange",danmakuInputFocus:"danmakuInputFocus",Ended:"ended",MiniWinChange:"miniWinChange",PlayRatioChange:"playRatioChange",UpdateCommentCount:"updateCommentCount",Blur:"blur",VolumeUp:"upVolume",VolumeDown:"downVolume",NextAutoplayChange:"nextAutoplayChange",BeforePlaySwitchPrev:"playSwitchPrevBefore",AfterPlaySwitchNext:"playSwitchNextBefore",KeyPlaySwitchPrev:"keyPlaySwitchPrev",KeyPlaySwitchNext:"keyPlaySwitchNext",Waiting:"waiting",ManualChangeMiniState:"manual_change_min_state",Star:"onStar",ShowComment:"showComment",Collect:"onCollect",ShowShareCode:"showShareCode",Dislike:"onDislike",Avatar:"onAvatar",Follow:"onFollow",FakeScreen:"onFakeScreen",SwitchFullScreen:"switch_fullscreen",FakeScreenChange:"fakeScreenChange",PlayRatioPanelShow:"playRatioPanelShow",LightBottomControls:"lightBottomControls",ResolutionChange:"resolutionChange",PlayResolutionClick:"playResolutionClick",PlayResolutionEnter:"playResolutionEnter",VolumeChange:"volumechange",UpdateImmersiveSwitch:"updateImmersiveSwitch",ImmersiveSwitchChange:"immersiveSwitchChange",UpdateAutoPlaySwitch:"updateAutoPlay",AutoPlaySwitchChange:"autoPlaySwitchChange",CustomShortCut:"customShortCut",ChangePlayRate:"changePlayRate",TimeUpdate:"timeupdate",ShowAdDetail:"showAdDetail",AdLike:"adverLike",AdDislike:"adverDislike",AdReport:"adverReport",AdThrow:"adverThrow",AdIntroduce:"adverIntroduce",Play:"play",Replay:"replay",Error:"error",ChangeDanmaku:"changeDanmaku",UpdateRadio:"UpdateRadio",UpdateClarity:"UpdateClarity",UpdateAutoPlay:"UpdateAutoPlay",BeforeDestroy:"beforeDestroy",DyUserSeek:"dyUserSeek",UpdateDebugInfo:"updateDebugInfo",RegisterMissingSrPlugin:"registerMissingSrPlugin",DanmakuON:"danmakuON"}},55938:function(e,t,i){i.d(t,{e:function(){return r}});var n=i(480333);i(490629);let r=new class e{get activeScene(){return this._activeScene}register(e){let{scene:t,pipWindow:i,unRegisterCb:n}=e;this.pipMap.set(t,i),this._activeScene=t,n&&this.unRegisterCbMap.set(t,n)}unRegister(e){let{scene:t}=e,i=this.unRegisterCbMap.get(t);null==i||i({scene:t}),this.unRegisterCbMap.delete(t),this.pipMap.delete(t),this._activeScene===t&&(this._activeScene=void 0)}getPipWindow(e){let{scene:t}=e;return this.pipMap.get(t)}getActivePipWindow(){return this.pipMap.get(this._activeScene)}constructor(){(0,n._)(this,"pipMap",void 0),(0,n._)(this,"_activeScene",void 0),(0,n._)(this,"unRegisterCbMap",void 0),this.pipMap=new Map,this.unRegisterCbMap=new Map}}},995712:function(e,t,i){i.d(t,{OW:function(){return r},iE:function(){return o}});var n=i(624508),r={resume:"resume",suspend:"suspend"},o={volumeChange:"volume_change",play:"play",timeUpdate:"time_update",playing:"playing",liveActive:"live_active",noKeyParams:"no_key_params",noConnectSource:"no_connect_source"};t.ZP=new n.h({volumeBalanceEvent:{eventName:"volume_balance_event",params:{desc:"",enter_from:"",sample_rate:0,state:"",errMessage:"",group_id:"",player_id:"",message:"",stack:"",url:"",processor_options:"",volume:-1}},volumeBalanceAction:{eventName:"volume_balance_action",params:{player_id:"",action:"",enter_from:"",state:"",errMessage:"",group_id:"",timing:""}}})},193143:function(e,t,i){i.d(t,{A:function(){return l},f:function(){return a}});var n=i(295207),r=i(995270),o=i(55938);let a=()=>!!(o.e.getPipWindow({scene:n.d.WebVideo})||o.e.getPipWindow({scene:n.d.ClientVideo})||(0,r.QD)()),l=()=>{let e=a(),t="hidden"!==document.visibilityState;return e&&!t}},816565:function(e,t,i){i.d(t,{Bp:function(){return c},Do:function(){return h},Hx:function(){return f},at:function(){return m},e1:function(){return _},hD:function(){return v},hj:function(){return u},ny:function(){return p}});var n=i(629686),r=i(402748);i(759943),i(706056);var o=i(690301),a=i(121998),l=i(72878),s=i(386206),d=i(547189);let u=e=>{if(!(null==e?void 0:e.isAds))return!1;let t=!1,{rawAdData:i}=e||{};try{let e=JSON.parse(i);if(1===e.ad_source_type){var n;t=!!(null==e?void 0:null===(n=e.lynx_components)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.lynx_type)===l.AD_FEED_TYPE))&&(e.group_type===o.Qo.Live||e.group_type===o.Qo.VideoForLive)}else t=e.group_type===o.Qo.Live||e.group_type===o.Qo.VideoForLive}catch(e){}return t},c=e=>{let{rawAdData:t}=e||{},i={};try{var n,r;let e=JSON.parse(t),o=null==e?void 0:null===(n=e.lynx_components)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.lynx_type)===l.AD_FEED_TYPE);i=(null==o?void 0:null===(r=o.lynx_raw_data)||void 0===r?void 0:r.mixed_area_info)||{}}catch(e){}return i},_=e=>{let{rawAdData:t}=e;if(!t)return{};let i="";try{i=JSON.parse((null==t?void 0:t.log_extra)||"{}").req_id}catch(e){i=""}return{live_ad_creative_id:null==t?void 0:t.creative_id,live_ad_id:null==t?void 0:t.ad_id,req_id:i,ad_log_extra:null==t?void 0:t.log_extra}},m=e=>{var t,i;let{rawAdData:o,extraParams:s}=e,d=null==o?void 0:null===(t=o.lynx_components)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.lynx_type)===l.AD_FEED_TYPE),u=_({rawAdData:o});return a.stringifyUrl({url:(null==d?void 0:null===(i=d.lynx_raw_data)||void 0===i?void 0:i.open_url)||(null==o?void 0:o.open_url)||"",query:(0,n._)((0,r._)((0,n._)({},u),{enter_method:"web_video_head"}),s)})},f=e=>{var t,i;let{rawAdData:n}=e,r=null==n?void 0:null===(t=n.lynx_components)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.lynx_type)===l.AD_FEED_TYPE),o=(null==r?void 0:null===(i=r.lynx_raw_data)||void 0===i?void 0:i.open_url)||"",a=/^(https?:\/\/)([0-9a-z.]+)(:[0-9]+)?([/0-9a-z.]+)?(\?[0-9a-z&=]+)?(#[0-9-a-z]+)?/i.exec(o);return(null==a?void 0:a.length)>4?null==a?void 0:a[4].substring(1):""},p=e=>{if(!e)return!1;let t=(0,s.As)(null==e?void 0:e.log_extra),i=(null==t?void 0:t.component_ids)||[];return[o.nw.Swiper304,o.nw.Detail304,o.nw.MultiLine304,o.nw.SingleLine304].some(e=>null==i?void 0:i.includes(e))},v=e=>{var t;if(!e)return!1;let i=null==e?void 0:e.template_id,n=null==e?void 0:e.component_data,r=!!(n&&Object.values(n).some(e=>(null==e?void 0:e.id)===d.HM.LiveWeakAdCard));if(i!==d.Wz||!r)return!1;let o=(0,s.As)(null==e?void 0:e.log_extra);return!!((null==o?void 0:o.micro_app_id)||(null==e?void 0:null===(t=e.tt_micro_game_track)||void 0===t?void 0:t.mp_id))},h=e=>{if(!e)return null;let t=(0,s.As)(null==e?void 0:e.log_extra),i=(null==t?void 0:t.component_ids)||[];return[o.nw.Swiper304,o.nw.Detail304,o.nw.MultiLine304,o.nw.SingleLine304].find(e=>null==i?void 0:i.includes(e))}},728810:function(e,t,i){i.d(t,{A:function(){return s}});var n=i(72878),r=i(405368),o=i(816565),a=i(56554),l=i(488721);let s=e=>{if(!(null==e?void 0:e.isAds))return!1;let t=!1,{rawAdData:i}=e||{};try{var s;let d=JSON.parse(i);t=!!(null==d?void 0:null===(s=d.lynx_components)||void 0===s?void 0:s.find(e=>(null==e?void 0:e.lynx_type)===n.AD_FEED_TYPE))&&!(0,o.hj)(e)&&!(0,r.o4)(e)&&!(0,l.L)(e)&&!(0,a.u)(e)}catch(e){}return t}},741536:function(e,t,i){i.d(t,{Dw:function(){return l},F4:function(){return T},U2:function(){return o}});var n=i(255797);let r=["Home","Recommend","AiSearch","Follow","Friend","Live","Variety","MicroGame","Hot","Entertainment","Knowledge","Quadratic","Game","Food","Sport","Fashion","Music","Self","FourRound","Ring","Series","SelfLike","SelfCollection","SelfRecord"],o=1152,a=(()=>{let e={};return r.forEach((t,i)=>{e[t]={dark:`-${2*i*24}px 0px`,darkActive:`-${24*(2*i+1)}px 0px`,light:`-${2*i*24}px 0px`,lightActive:`-${24*(2*i+1)}px 0px`}}),e})(),l=72*r.length,s={value:n.NavigationMenuItemVal.Live,iconBackgroundPosition:a.Live},d={value:n.NavigationMenuItemVal.Vs,iconBackgroundPosition:a.Variety},u={value:n.NavigationMenuItemVal.MicroGame,iconBackgroundPosition:a.MicroGame},c={value:"channel_300205",iconBackgroundPosition:a.Game},_={value:"channel_300201",iconBackgroundPosition:a.Entertainment},m={value:"channel_300206",iconBackgroundPosition:a.Quadratic},f={value:"channel_300209",iconBackgroundPosition:a.Music},p={value:"channel_300204",iconBackgroundPosition:a.Food},v={value:"channel_300203",iconBackgroundPosition:a.Knowledge},h={value:"channel_300207",iconBackgroundPosition:a.Sport},g={value:"channel_300208",iconBackgroundPosition:a.Fashion},w={value:n.NavigationMenuItemVal.Discover,iconBackgroundPosition:a.Home},y={value:n.NavigationMenuItemVal.Recommend,iconBackgroundPosition:a.Recommend},S={value:n.NavigationMenuItemVal.AiSearch,iconBackgroundPosition:a.AiSearch},C={value:n.NavigationMenuItemVal.Follow,iconBackgroundPosition:a.Follow},b={value:n.NavigationMenuItemVal.Friend,iconBackgroundPosition:a.Friend},E={value:n.NavigationMenuItemVal.Self,iconBackgroundPosition:a.Self},k={value:n.NavigationMenuItemVal.Hot,iconBackgroundPosition:a.Hot},T=[E,w,y,S,C,b,s,d,u,k,c,_,m,f,p,v,h,g,{value:n.NavigationMenuItemVal.Series,iconBackgroundPosition:a.Series}]},255797:function(e,t,i){i.r(t),i.d(t,{NavigationMenuItemVal:function(){return r},TabPointType:function(){return n}});var n={YellowDot:0,0:"YellowDot",YellowNumber:1,1:"YellowNumber",RedNumber:2,2:"RedNumber",RedDot:3,3:"RedDot",RedNew:4,4:"RedNew",RedLive:5,5:"RedLive",RedLiveCn:6,6:"RedLiveCn"},r={Discover:"discover",Recommend:"recommend",AiSearch:"aisearch",Follow:"follow",Friend:"friend",Live:"live",Vs:"vs",Series:"series",Hot:"hot",Self:"user_self",Knowledge:"channel_300203",AsianGame:"asiangames",CarCarnival:"car_carnival",GetApp:"get_app",GetAppHelp:"get_app_help",MicroGame:"microgame"}},807922:function(e,t,i){i.d(t,{JX:function(){return o},PD:function(){return d},Pf:function(){return r},U2:function(){return s},Wl:function(){return u},Zj:function(){return l},ku:function(){return n},xc:function(){return a}});var n={BAN:0,0:"BAN",TRY_WATCH_ING:1,1:"TRY_WATCH_ING",TRT_WATCH_FINISH:2,2:"TRT_WATCH_FINISH",NORMAL_WATCH:3,3:"NORMAL_WATCH"},r={TRY_WATCH_ING:1,1:"TRY_WATCH_ING",NORMAL_WATCH:2,2:"NORMAL_WATCH"},o={TRY_WATCH_START:1,1:"TRY_WATCH_START",COMMON_PING:2,2:"COMMON_PING",TRY_WATCH_LEAVE:3,3:"TRY_WATCH_LEAVE",PERFORMANCE:6,6:"PERFORMANCE"},a={COMMON:0,0:"COMMON",PAID_LIVE:1,1:"PAID_LIVE",SEPARATE_PAID_LIVE:3,3:"SEPARATE_PAID_LIVE",EQUITABLE_CAMERA_POSITION:6,6:"EQUITABLE_CAMERA_POSITION",SHARED_PAID_LIVE:11,11:"SHARED_PAID_LIVE"},l={INLIVE:"paidlive_inlive",WINDOW:"paidlive_window"},s={NOAUTH:0,0:"NOAUTH",AUTH:1,1:"AUTH"};let d={1:"try_toolbar",2:"tryend_toolbar",3:"buy_toolbar"},u={1:"paidlive_live_try_toolbar",2:"paidlive_live_tryend_toolbar",3:"paidlive_live_buy_toolbar"}},476085:function(e,t,i){i.r(t),i.d(t,{SelfLandingMap:function(){return o},VideoDetailModeFrom:function(){return r}});var n=i(356336),r={PartySchool:"partySchool",UserPost:"userPost",UserLike:"userLike",UserCollection:"userCollection",SearchResult:"searchResult",HotDetail:"hotDetail",Creator:"creator"};let o={[n.SelfTabABVal.LandingLike]:"like",[n.SelfTabABVal.LandingFavoriteCollection]:"favorite_collection"}},460776:function(e,t,i){i.d(t,{AU:function(){return n},K0:function(){return a},Ou:function(){return l},hO:function(){return o},yY:function(){return r}});var n={event:"event"},r={Modal:"modal",Video:"video",Comment:"comment",Feed:"feed",Interactive:"interactive",User:"user",Performance:"performance",Waterfall:"waterfall",Inference:"inference",VideoPortrait:"videoPortrait"};let o="feature_storage_create_",a="__base__",l=["hrids","isad","loudness","peak","qprf","sr_score","r_1","r_2","r_3","r_4","r_11","r_6","r_7","r_8","r_9","r_10"]},134879:function(e,t,i){i.d(t,{Pz:function(){return n},nN:function(){return o},pu:function(){return r}});var n={stall_fps_drop_rate_5s:"stall_fps_drop_rate_5s",stall_fps_drop_rate_10s:"stall_fps_drop_rate_10s",stall_fps_drop_rate_20s:"stall_fps_drop_rate_20s",stall_stream_rate_5s:"stall_stream_rate_5s",stall_stream_rate_10s:"stall_stream_rate_10s",stall_stream_rate_20s:"stall_stream_rate_20s",stall_fit_rate_5s:"stall_fit_rate_5s",stall_fit_rate_10s:"stall_fit_rate_10s",stall_fit_rate_20s:"stall_fit_rate_20s",memory_limit:"memory_limit",memory_total_size:"memory_total_size",memory_used_size:"memory_used_size",memory_device_memory:"memory_device_memory",net_downlink:"net_downlink",net_rtt:"net_rtt",net_effective_type:"net_effective_type",fps:"fps"};let r=[5,10,20];var o={stall_fps_drop_rate:"stall_fps_drop_rate",stall_stream_rate:"stall_stream_rate",stall_fit_rate:"stall_fit_rate"}},457493:function(e,t,i){i.d(t,{G:function(){return n}});var n={os_name:"os_name",cpu_core:"cpu_core"}},870327:function(e,t,i){let n;i.d(t,{M6:function(){return g},Mg:function(){return h},Vw:function(){return y},lZ:function(){return w}});var r=i(480333),o=i(629686),a=i(402748);i(112459),i(759943),i(374954);var l=i(120701),s=i(197242),d=i(520850),u=i(153063),c=i(515959),_=i(460776),m=i(121998),f=i(522685),p=i(59945),v=i(377915);class h{emitCreateStorage(e,t){var i;let n=null===(i=(0,m.parse)(location.search))||void 0===i?void 0:i.modal_id,r=`${_.hO}${e}`;u.p.emit(r,{eventName:e,data:(0,a._)((0,o._)({},t),{modal_id:n})})}on(e,t){u.p.on(e,t)}getScene(e,t){return e===l.P.HOME_PAGE_PRELOAD?new f.y(t):e===l.P.BASE?new d.E(t):e===l.P.AUTHOR_CARD_PRELOAD?new p.V(t):e===l.P.LIVE_PERF_INFER?new v.t(t):null}_initFeatureStorageManager(){this.featureStorageManager=new c.g}_initObserver(){this._observer=new s.l((0,o._)({},this.config))}unregisterScene(e){var t;let i=this._scenes.findIndex(t=>t.sceneName===e);if(-1===i)return;let n=null===(t=this._scenes)||void 0===t?void 0:t[i],r=n.getCreateStorageReportNames()||[],o=n.getCustomFeatureCollectors()||[],a=n.getCoverageScenes()||[];this._observer.removeCreateStorageReportNames(r),this.featureStorageManager.removeCoverageScenes(a),this.featureStorageManager.removeCreateStorageReportNames(r),o.forEach(e=>this.featureStorageManager.removeFeatureCollector(e)),null==n||n.destroy(),this._scenes.splice(i,1)}registerScene(e,t){if(this.getSceneByName(e))return;let i=this.getScene(e,t);this._scenes.push(i);let n=i.getCreateStorageReportNames()||[],r=i.getCustomFeatureCollectors()||[],o=i.getCoverageScenes()||[];this._observer.addCreateStorageReportNames(n),this.featureStorageManager.addCoverageScenes(o),this.featureStorageManager.addCreateStorageReportNames(n),this.featureStorageManager.setMaxRecordFeatureStorages(2*i.range+i.nextRealCnt),r.forEach(e=>this.featureStorageManager.registerFeatureCollector(e)),i.init(this.featureStorageManager)}getSceneByName(e){return this._scenes.find(t=>t.sceneName===e)}_init(){this._initObserver(),this._initFeatureStorageManager()}constructor(e){(0,r._)(this,"config",void 0),(0,r._)(this,"_observer",void 0),(0,r._)(this,"_scenes",[]),(0,r._)(this,"_coverageScenesCountMap",{}),(0,r._)(this,"_reportNamesCountMap",{}),(0,r._)(this,"_collectorCountMap",{}),(0,r._)(this,"featureStorageManager",void 0),this.config=e,this._init()}}let g=e=>{if(!n)n=new h(e),window.featureCollectorCenter=n},w=()=>n;function y(e,t){let i=w();if(!!i)null==i||i.emitCreateStorage(e,t)}},344916:function(e,t,i){i.d(t,{EX:function(){return d},Jq:function(){return u},vS:function(){return c}});var n=i(267252),r=i(154370),o=i(34632),a=i(382964),l=i(926452),s=i(120701);let d={[s.P.HOME_PAGE_PRELOAD]:{scene:s.P.HOME_PAGE_PRELOAD,modelUrl:"https://p-pc-weboff.byteimg.com/tos-cn-i-9r5gewecjs/model/home_preload.bytenn",inputs:["input_7"],outputs:["Identity"]},[s.P.BASE]:{scene:s.P.BASE,modelUrl:"",inputs:[],outputs:[]},[s.P.AUTHOR_CARD_PRELOAD]:{scene:s.P.AUTHOR_CARD_PRELOAD,modelUrl:"",inputs:["input"],outputs:["logits"]},[s.P.LIVE_PERF_INFER]:{scene:s.P.LIVE_PERF_INFER,modelUrl:"",inputs:[],outputs:[]}},u={homePreload:{predict:[n.X.play_time,n.X.like_cnt,n.X.follow_cnt,n.X.share_cnt,n.X.favorite_cnt,n.X.download_cnt,n.X.play_cnt,n.X.comment_cnt,r.z.hover_play_time,o.i.__video_portrait__],real:[r.z.video_cover_click]},authorCardPreload:{predict:[n.X.video_time,n.X.play_time,a.w.like,n.X.play_finish,l.R.post_comment_cnt,a.w.click_comment,a.w.follow,a.w.ex_follow,a.w.author_head,n.X.video_type_long,n.X.video_type_ad,n.X.like_cnt,n.X.like_cnt,n.X.share_cnt,n.X.comment_cnt,n.X.download_cnt,o.w.staytime,o.w.skip,o.w.play_complete,o.w.finish,o.w.comment,o.w.pure_like,o.w.dislike,o.w.follow,o.w.share,o.w.head],real:[a.w.author_head]}};var c={fail:0,0:"fail",success:1,1:"success",notWork:2,2:"notWork"}},808786:function(e,t,i){i.d(t,{E:function(){return r}});var n=i(618759);let r=()=>{var e;let t=null===(e=navigator)||void 0===e?void 0:e.hardwareConcurrency;return t&&t<=3?{paramBf:.3,paramBp:.6,paramUpper:1.4,paramLower:.6,paramUpperBl:.5,paramVl1:.75,paramVl2:1,paramVlUpper:.9,paramVlLower:.7,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,25e5],mode:"buffer-info",quality_filter:{},white_list:["normal_720_0","normal_540_0","lower_540_0","low_720_0","low_540_0","adapt_low_540_0","adapt_lowest_720_1","adapt_540_1","adapt_lower_540_1","adapt_lowest_720_2","adapt_540_2","adapt_lower_540_2","adapt_lowest_540_2"]}:t&&t<=7&&t>=4?{paramBf:.3,paramBp:.6,paramUpper:1.4,paramLower:.6,paramUpperBl:.5,paramVl1:.75,paramVl2:1,paramVlUpper:.9,paramVlLower:.7,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,25e5],mode:"buffer-info",quality_filter:{normal_1080_0:{lower:0,upper:13e5},adapt_lowest_1080_1:{lower:0,upper:1e6}},white_list:["normal_1080_0","normal_720_0","normal_540_0","low_720_0","low_540_0","adapt_low_540_0","adapt_lowest_1080_1","adapt_lowest_720_1","adapt_540_1","adapt_lowest_720_2","adapt_540_2","adapt_lower_540_2","adapt_lowest_540_2"]}:t&&t>=8&&!(0,n.DT)()?{paramBf:.5,paramBp:.7,paramUpper:1.6,paramLower:.5,paramUpperBl:.4,paramVl1:1,paramVl2:.8,paramVlUpper:.9,paramVlLower:.5,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,25e5],mode:"buffer-info",quality_filter:{normal_1080_0:{lower:0,upper:2e6},adapt_lowest_1080_1:{lower:0,upper:1e6},adapt_lowest_720_1:{lower:0,upper:12e5}},white_list:["normal_1080_0","normal_720_0","normal_540_0","low_720_0","low_540_0","adapt_low_540_0","adapt_lowest_1080_1","adapt_lowest_720_1","adapt_540_1"]}:t&&8===t&&(0,n.DT)()?{paramBf:.6,paramBp:.7,paramUpper:1.8,paramLower:.5,paramUpperBl:.4,paramVl1:.9,paramVl2:1,paramVlUpper:1,paramVlLower:.5,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,25e5],mode:"buffer-info",quality_filter:{normal_1080_0:{lower:0,upper:2e6}},white_list:["normal_1080_0","normal_720_0","normal_540_0","low_720_0","low_540_0","adapt_low_540_0","adapt_lowest_1080_1","adapt_lowest_720_1","adapt_540_1","adapt_lowest_720_2","adapt_540_2","adapt_lower_540_2","adapt_lowest_540_2"]}:t&&t>8&&(0,n.DT)()?{paramBf:.6,paramBp:.7,paramUpper:1.5,paramLower:1.5,paramUpperBl:.4,paramVl1:1.5,paramVl2:1,paramVlUpper:1,paramVlLower:3,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,3e6],mode:"buffer-info",quality_filter:{},white_list:["normal_1440_0","normal_1080_0","adapt_lowest_1080_1","adapt_lowest_720_2"]}:{paramBf:.3,paramBp:.6,paramUpper:1.4,paramLower:.6,paramUpperBl:.5,paramVl1:.75,paramVl2:1,paramVlUpper:.9,paramVlLower:.7,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,25e5],mode:"buffer-info",quality_filter:{normal_1080_0:{lower:0,upper:13e5}},white_list:["normal_1080_0","normal_720_0","normal_540_0","low_720_0","low_540_0","adapt_low_540_0","adapt_lowest_1080_1","adapt_lowest_720_1","adapt_540_1"]}}},988381:function(e,t,i){i.d(t,{_:function(){return o},n:function(){return a}});var n=i(618759);function r(e){return 2}let o={isHideSiderLoading:e=>{var t;return 0!=(t=0,2)},isRenderOnActive:e=>{var t;return 0!=(t=0,2)},isInViewLoading:e=>{var t;return 0!=(t=0,2)},isLowerDowngrade:e=>{var t;return 2==(t=0,2)},isOptmizeInvisibleLive:e=>{var t;return 2==(t=0,2)}},a=e=>{var t,i,r;return(0,n.DT)()?!!((null===(t=navigator)||void 0===t?void 0:t.hardwareConcurrency)>4)&&((null==e?void 0:null===(i=e.useH264Dash)||void 0===i?void 0:i.enable)||(null==e?void 0:e.useH264DashServer)||!1):(null==e?void 0:null===(r=e.useH264Dash)||void 0===r?void 0:r.enable)||(null==e?void 0:e.useH264DashServer)||!1}},513864:function(e,t,i){i.d(t,{B:function(){return n}});let n=e=>{if((null==e?void 0:e.seriesInfo)||(null==e?void 0:e.mixInfo)){let{currentEpisode:t,totalEpisode:i,chargeCount:n}=(null==e?void 0:e.seriesInfo)||(null==e?void 0:e.mixInfo);if(n&&t>i-n)return!0}return!1}},621123:function(e,t,i){i.d(t,{N:function(){return n}}),i(656562),i(992871),i(490629);let n=()=>"small_window_game_widget"===new URL(location.href).searchParams.get("open_from")},474773:function(e,t,i){i.d(t,{c:function(){return o}});var n=i(679785);let r=()=>document.body,o=e=>{let{scrollContainerEl:t=r(),targetNode:i}=e;if(!(0,n.S)(i)||!(0,n.S)(t))return;let o=null==i?void 0:i.offsetParent,a=null==i?void 0:i.offsetTop;for(;o&&o!==document.body&&o!==t;)a+=o.offsetTop,o=o.offsetParent;return a}},166767:function(e,t,i){i.d(t,{$W:function(){return c.$},O7:function(){return u.O},PA:function(){return d.P},Rr:function(){return o.R},Sh:function(){return n.S},Tv:function(){return a.T},W7:function(){return l.W},c3:function(){return s.c},h8:function(){return _.h},j3:function(){return r.Z},xD:function(){return c.x}});var n=i(679785),r=i(273372),o=i(970149),a=i(639607),l=i(642613),s=i(474773),d=i(140913),u=i(457230),c=i(501638),_=i(385987)},639607:function(e,t,i){i.d(t,{T:function(){return n}});let n=(e,t)=>{if(!(e instanceof HTMLElement)||!(t instanceof HTMLElement))return!1;let i=e;for(;i;){if(i===t)return!0;i=i.parentNode}return!1}},386206:function(e,t,i){i.d(t,{$y:function(){return S},As:function(){return u},B:function(){return T},Hy:function(){return c},LT:function(){return I},MH:function(){return L},Ns:function(){return N},Sb:function(){return w},U:function(){return x},WM:function(){return _},YW:function(){return m},dg:function(){return M},dp:function(){return h},eC:function(){return A},lN:function(){return y},mI:function(){return k},n3:function(){return P},qe:function(){return g},sg:function(){return p},uq:function(){return f}}),i(104882),i(414931),i(683656),i(759943),i(706056),i(490629),i(228983);var n=i(732979),r=i.n(n),o=i(719142),a=i.n(o),l=i(807033),s=i.n(l),d=i(749113);r().extend(a()),r().extend(s());let u=e=>{if(!e)return{};try{return JSON.parse(e)}catch(e){return{}}},c=e=>e<500?"":e>=1e4&&e<1e8?`${Math.floor(e/1e4)}万+`:e>=1e8?`${(e/1e8).toFixed(1)}亿+`:e,_=e=>e>=100&&e<1e3?`${100*Math.floor(e/100)}+`:e>=1e3&&e<1e4?`${1e3*Math.floor(e/1e3)}+`:e>=1e4&&e<1e8?`${Math.floor(e/1e4)}万+`:e>=1e8?`${(e/1e8).toFixed(1)}亿+`:e;function m(e){if(!e||isNaN(e))return"";let t=r()(e),i=r()();return i.diff(t,"year")>0?`${i.diff(t,"year")}年前`:i.diff(t,"month")>0?`${i.diff(t,"month")}月前`:i.diff(t,"week")>0?`${i.diff(t,"week")}周前`:i.diff(t,"day")>0?`${i.diff(t,"day")}天前`:i.diff(t,"hour")>0?`${i.diff(t,"hour")}小时前`:i.diff(t,"minute")>0?`${i.diff(t,"minute")}分钟前`:"刚刚"}function f(e){return!e||isNaN(e)?"":r()(e).format("YYYY.MM.DD")}function p(e){if(!e||isNaN(e))return"";let t=r()(e);return t.isToday()?t.format("今天 HH:mm"):t.isTomorrow()?t.format("明天 HH:mm"):t.format("M月DD日 HH:mm")}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(Math.round(Number(`${e}e${t}`))/Math.pow(10,t)).toFixed(t)}function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e.toString().replace(/(?=\B(?:\d{3})+\b)(\d{3}(?:\.\d+$)?)/g,",$1")}function g(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,n=1e8,r=Math.abs(t);return(e=r<1e4?t.toString():r=100&&i)?`${e}+`:e}function w(e,t,i){if(i>=1)return"已看完";let n=Math.floor(e/t*100);return isNaN(n)||0===n?"":100===n?"已看完":`已看${n}%`}function y(e){var t;let{number:i=0,tenThousandsSymbol:n="万",isOver:r,uid:o,isSlice:a}=e;if("boolean"==typeof r)return r&&i>9999e4?`9999${n}+`:g(i,a);return(null!==(t=window.spec_user_follower_uid_list)&&void 0!==t?t:[]).includes(o)&&i>9999e4?`9999${n}+`:g(i,a)}function S(e){let{isISO:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Date(2018,8,18).valueOf()+e,n=r()(i).millisecond()>=500?r()(i).add(1,"second").set("millisecond",0):r()(i);if(e>=864e5){let t=Math.floor(e/36e5);return`${t}:${n.format("mm:ss")}`}return"00"!==n.format("HH")?n.format(t?"PTH[H]m[M]s[S]":"HH:mm:ss"):n.format(t?"PTm[M]s[S]":"mm:ss")}let C=["零","一","二","三","四","五","六","七","八","九"],b=["","万","亿","万亿","亿亿"],E=["","十","百","千"];function k(e){let t=0,i="",n="",r=!1;if(0===e)return"零";for(;e>0;){let o=e%1e4;r&&(n="零"+n),n=(i=function(e){let t="",i="",n=0,r=!0;for(;e>0;){let o=e%10;0===o?!r&&(r=!0,i=C[o]+i):(r=!1,i=(t=C[o]+E[n])+i),n++,e=Math.floor(e/10)}return i}(o)+(0!==o?b[t]:""))+n,r=o<1e3&&o>0,e=Math.floor(e/1e4),t++}return n}function T(){return new Date().setHours(0,0,0,0)}function N(){return new Date().setHours(0,0,0,0)+864e5}function I(e){return e.replace(/[\r\n]/g,"")}function x(e){return Math.floor(e)===e}let P=(e,t)=>{var i;if(null==e||null===(i=e.includes)||void 0===i||!i.call(e,t))return e;{let[,i]=e.split(t);return i}},A=e=>e.replace(/[^\w-.!~*'()#?&@$^%\u4e00-\u9fa5]/g,""),L=e=>{if(new Date().getFullYear()!==new Date(e).getFullYear())return r()(e).format("YYYY年M月D日");let t=r()(e),i=r()();return i.diff(t,"day")>=8?r()(e).format("M月D日"):1>i.diff(t,"minute")&&i.diff(t,"second")>0?`${i.diff(t,"second")}秒前`:m(e)},M=()=>"undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.now?performance.now():Date.now()},499059:function(e,t,i){i.d(t,{AQ:function(){return _},Es:function(){return c.Es},Le:function(){return f},Sl:function(){return p},Vv:function(){return h},YR:function(){return v},fs:function(){return c.fs},gI:function(){return m},hj:function(){return c.hj},sq:function(){return c.sq},xL:function(){return g}});var n=i(480333),r=i(629686),o=i(402748);i(932651),i(490629),i(274352),i(117232),i(591964);var a=i(942155),l=i.n(a),s=i(392430),d=i(205030),u=i(414986),c=i(810069);let _=()=>{let{time:e}=f.getConfig("firstInstallTime")||{};return e};var m={WatermarkUrl:"WatermarkUrl",JingxuanCacheAwmeInfoIds:"JingxuanCacheAwmeInfoIds",InitStartVolume:"InitStartVolume",HomeFastSlowSlideFeature:"HomeFastSlowSlideFeature",DownTo264:"DownTo264",recentVtypes:"recentVtypes",hasReportVideoRequest:"hasReportVideoRequest",LynxInfo:"lynxInfo",PlayerStateFromLynx:"PlayerStateFromLynx",SrDegrade:"srDegrade",PageEntered:"PageEntered",SrDegradeCode:"srDegradeCode",SrUsed:"srUsed",PlayerCardInfo:"playerCardInfo",Env:"env",FeedDb:"FeedDb",FromFollowList:"fromFollowList",TabTenVVID:"tabTenVVId",VideoFeedList:"videoFeedList",ActivityShardVideo:"ActivityShardVideo",ForceMuted:"forceMuted",VideoHasPrevent:"videoHasPrevent",IsInModalVideo:"isInModalVideo",topCardManualPause:"topCardManualPause",TempPlayerMap:"TempPlayerMap",IsCollapseAuthorCard:"isCollapseAuthorCard",ModalStartTime:"modalStartTime",SlideStartTime:"slideStartTime",SearchLog:"searchLog",SearchSlardarWebVitals:"SearchSlardarWebVitals",SearchCustomPerformance:"searchCustomPerformance",SearchRenderConfig:"searchRenderConfig",PageEnterFromVideoID:"pageEnterFromVideoID",DiscoverTabList:"DiscoverTabList",FirstInstallTime:"firstInstallTime",AwemePcRecRawData:"awemePcRecRawData",itemIdToVideoPreferData:"itemIdToVideoPreferData",ManualSwitch:"manualSwitch",TeaBlocked:"teaBlocked",IsPageFullScreen:"isPageFullScreen",IMStatusStore:"IMStatusStore",NoticeStatusStore:"NoticeStatusStore",isCSRRender:"isCSRRender",SvgDirectRender:"SvgDirectRender",JingxuanCardProgress:"JingxuanCardProgress",JxRedisExpireTime:"JxRedisExpireTime",PreloadList:"PreloadList",EnterDetailUrl:"EnterDetailUrl",SubtitlesCacheSwitch:"SubtitlesCacheSwitch",MixEditorUrlList:"MixEditorUrlList",SecUid:"SecUid",FeedLookedAwemeIds:"feedLookedAwemeIds",CurLookCard:"curLookCard",BrowserChangePage:"BrowserChangePage",DanmakuSetting:"DanmakuSetting",DanmakuSettingOrigin:"DanmakuSettingOrigin",DiscoverTabChange:"DiscoverTabChange",TabPointCache:"tabPointCache",IsShowShareModal:"isShowShareModal",DiggStatusCache:"diggStatusCache",RecommendStatusCache:"recommendStatusCache",FollowStatusCache:"followStatusCache",CollectStatusCache:"collectStatusCache",CollectMixStatusCache:"collectMixStatusCache",CollectSeriesStatusCache:"collectSeriesStatusCache",CollectMusicStatusCache:"collectMusicStatusCache",UserProfileSelf:"UserProfileSelf",RefetchAwemeInfo:"RefetchAwemeInfo",IsInLookMiniModal:"IsInLookMiniModal",VideoRect:"VideoRect",VideoRectList:"VideoRectList",HasInUserSearch:"HasInUserSearch",UnLookVideos:"unLookVideos",WallPaperIds:"WallPaperIds",PlayOrder:"PlayOrder",VideoFrameInfo:"VideoFrameInfo",NeedVideoPause:"NeedVideoPause",IsShowAdIntroduction:"IsShowAdIntroduction",FeedBackInfo:"FeedBackInfo",MarkFirstLoadUrl:"MarkFirstLoadUrl",MarkFirstEnter:"MarkFirstEnter",ReportFirstFeedCoverShow:"ReportFirstFeedCoverShow",InnerAutoPlay:"InnerAutoPlay",NetworkSpeed:"NetworkSpeed",GlobalSwiper:"GlobalSwiper",AbtestData:"AbtestData",AbtestVids:"AbtestVids",AutoPlayChanged:"AutoPlayChanged",BitrateResult:"BitrateResult",GlobalCtx:"GlobalCtx",DocumentClientWidth:"DocumentClientWidth",IsClientTopMode:"IsClientTopMode",IsMiniWin:"isMiniWin",IsInMiniWin:"IsInMiniWin",IsMiniWinHideMode:"isMiniWinHideMode",IsMiniWinFromWidget:"isMiniWinFromWidget",PreAwemeId:"PreAwemeId",UserClick2DownloadClient:"UserClick2DownloadClient",VideoPlayMethod:"VideoPlayMethod",SearchVideoPlayMethod:"SearchVideoPlayMethod",ResolutionBeforeTempHD:"ResolutionBeforeTempHD",IsForceInsert:"IsForceInsert ",PlaySwitchMethods:"PlaySwitchMethods",isVideoPlayed:"isVideoPalyed",IsAlreadyExsitReportModal:"IsAlreadyExsitReportModal",showUpIconScrollY:"showUpIconScrollY",globalScrollEl:"globalScrollEl",StartPlayTime:"StartPlayTime",PlayRatioBeforeLongPress:"PlayRatioBeforeLongPress",PlayerShortcutConf:"PlayerShortcutConf",IsShowFeedBackModal:"IsShowFeedBackModal",IsShowDanmakuListModal:"IsShowDanmakuListModal",IsCommetTab:"IsCommetTab",HasLiveContent:"hasLiveContent",LiveWindowStatus:"liveWindowStatus",WallPaperPosition:"WallPaperPosition",IsInMixCard:"IsInMixCard",DisableExit:"DisableExit",NCEEDanmuPostGroupId:"NCEEDanmuPostGroupId",IsDownloadBarShow:"IsDownloadBarShow",TccData:"TccData",ServerTime:"ServerTime",CheckAwemeList:"CheckAwemeList",disableFullScrren:"disableFullScrren",disableSpeed:"disableSpeed",PreviewPlayInfoRecord:"PreviewPlayInfoRecord",DeletePostList:"DeletePostList",AddPostList:"addPostList",FirstEnterRecommend:"FirstEnterRecommend",fwsExample:"fwsExample",ImmersiveSwitchStatus:"ImmersiveSwitchStatus",DisableNextPre:"DisableNextPre",searchSpaMainPath:"searchSpaMainPath",IsClientInstalled:"IsClientInstalled",IsSidebarShow:"IsSidebarShow",VsBanner:"VsBanner",FeedLatestViewedAweme:"FeedLatestViewedAweme",FirstFeedVideoSearchInfo:"FirstFeedVideoSearch",History:"History",UnReadCount:"UnReadCount",FreeAdStatus:"FreeAdStatus",LandingPageGuideInfo:"LandingPageGuideInfo",DiscoverRelatedRecommendInfo:"DiscoverRelatedRecommendInfo",AsiangameSeasonIds:"AsiangameSeasonIds",SearchVideoRank:"SearchVideoRank",SearchActiveVideoRank:"SearchActiveVideoRank",GeneralSearchVideoSlideIntoVisionTime:"GeneralSearchVideoSlideIntoVisionTime",PlayerStatus:"PlayerStatus",RecommendReqCount:"RecommendReqCount",HasColdStartShow:"HasColdStartShow",AdGapInfo:"AdGapInfo",SimpleAwemeList:"SimpleAwemeList",BrandAd:"BrandAd",WatchLater:"WatchLater",ClientResizeId:"ClientResizeId",PlayerStateBeforeRefeshForNotUse:"PlayerStateBeforeRefeshForNotUse",IsSearchOuterAsync:"IsSearchInnerAsync",PlayRecord:"PlayRecord",ShowGuidePC:"ShowGuidePC",PageRefresh:"PageRefresh",SearchUrlTransParams:"SearchUrlTransParams",MenuClick:"MenuClick",RecommendTabLeaveTime:"RecommendTabLeaveTime",UserInterestChannel:"UserInterestChannel",AdBlock:"AdBlockPlugin",SelfCollectionRedDotUpdateTimer:"SelfCollectionRedDotUpdateTimer",VideoCardMouseOverTime:"VideoCardMouseOverTime",WebUgChannelId:"WebUgChannelId",FastSlowSlide:"FastSlowSlide",PagingType:"PagingType",AudioDeviceType:"AudioDeviceTyoe",ModalStartOpenTime:"ModalStartOpenTime",PreAwemeSeenStatus:"PreAwemeSeenStatus",IsPauseImmersive:"IsPauseImmersive",DiscoverPageCache:"DiscoverPageCache",BackToCacheDelayPlayTimer:"BackToCacheDelayPlayTimer",FirstPreviewData:"FirstPreviewData",RecommendPageCache:"RecommendPageCache",CurrentActivePlayerType:"CurrentActivePlayerType",ActivityModalCurrentActiveProgress:"ActivityCurrentActiveProgress",ActivityModalEnterFullScreenAfterCreate:"ActivityModalEnterFullScreenAfterCreate",SearchModalCurrentActiveProgress:"CurrentActiveProgress",SearchModalEnterFullScreenAfterCreate:"SearchModalEnterFullScreenAfterCreate",NeedExitFullScreenAndModal:"NeedExitFullScreenAndModal",openAiSideCardFrom:"openAiSideCardFrom",AiAskPageTimestampDurationStore:"AiAskPageTimestampDurationStore",userSettingInfo:"userSettingInfo",IsMainland:"isMainland",isIPV6:"isIPV6",GeneralSearchAiSearchModuleLoadStatus:"GeneralSearchAiSearchModuleLoadStatus",MarkAISearchFirstEnter:"MarkAISearchFirstEnter",AnnieXUserInfo:"AnnieXUserInfo",JxCourseFilterList:"JxCourseFilterList",JingXuanVisitId:"JingXuanVisitId",AiSearchSSRResult:"AiSearchSSRResult",CachePage:"CachePage",ListenVideoExit:"ListenVideoExit",isUseVideoCache:"isUseVideoCache",AiSearchWord:"AiSearchWord",closeDanmakuCount:"closeDanmakuCount",videoRect:"videoRect",JxOuterProgress:"JxOuterProgress",PlayerDisplayMode:"PlayerDisplayMode",SubtitlesDefaultOpenSeries:"SubtitlesDefaultOpenSeries",WatchLaterPipData:"WatchLaterPipData",WatchLaterPipContinueProgressRecord:"WatchLaterPipContinueProgressRecord",JxValidActionCollect:"JxValidActionCollect",VideoCutResult:"VideoCutResult"};let f=new class e{setConfig(e,t){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return"Object"===(0,s.tQ)(t)&&i?this.store.setState({[e]:Object.assign(this.store.getState()[e]||{},t)}):this.store.setState({[e]:t}),!0}getConfig(e){return this.store.getState()[e]}resetConfig(e,t){return this.store.setState({[e]:t}),!0}subscribeConfig(e,t){return this.store.subscribe((i,n)=>{for(let r of e)if(i[r]!==n[r]){t(i);return}})}constructor(){(0,n._)(this,"config",{JingxuanCacheAwmeInfoIds:[],InitStartVolume:!1,HomeFastSlowSlideFeature:d.Q5.normal,FastSlowSlide:d.TD.Normal,AudioDeviceTyoe:d.dB.unknow,PreloadList:[],EnterDetailUrl:{},IMStatusStore:{},SecUid:"",feedLookedAwemeIds:[],diggStatusCache:{},collectStatusCache:{},collectMixStatusCache:{},collectSeriesStatusCache:{},collectMusicStatusCache:{},followStatusCache:{},RefetchAwemeInfo:{},unLookVideos:{},PlayOrder:0,AbtestData:{},FirstEnterRecommend:!0,AsiangameSeasonIds:[],SearchActiveVideoRank:0,ImmersiveSwitchStatus:!1,DisableNextPre:!1,searchSpaMainPath:"",SearchVideoRank:{general:[],live:[]},ActivityCurrentActiveProgress:[],CurrentActiveProgress:[],GeneralSearchVideoSlideIntoVisionTime:0,PageRefresh:{},MenuClick:0,UserInterestChannel:null,VideoCardMouseOverTime:0,PreAwemeSeenStatus:{},GlobalCtx:{audioCtx:null,effectNode:null,hasAnalyser:!1,analyser:null,maxDb:[],currentMeta:null,volumeEvent:new(l()),currentSourceNodeCount:0,currentActiveNodeCount:0,canSuspend:!1,useMammonWorkletProcessorV3:!1,useMammonWorkletProcessorV3Wasm:!1},isMainland:1,isIPV6:1,openAiSideCardFrom:"",AiAskPageTimestampDurationStore:null,itemIdToVideoPreferData:{},SubtitlesDefaultOpenSeries:{},JxValidActionCollect:{status:"init",validActionCount:0}}),(0,n._)(this,"store",(0,u.MT)(()=>this.config))}},p=(e,t)=>{if(!e)return!1;let i=Object.fromEntries(Object.entries((0,o._)((0,r._)({},f.getConfig("VideoCutResult")||{}),{[e]:(0,o._)((0,r._)({},t),{updatedAt:Date.now()})})).sort((e,t)=>{let[,i]=e,[,n]=t;return n.updatedAt-i.updatedAt}).slice(0,5));return f.resetConfig("VideoCutResult",i)},v=e=>{var t;return e&&(null===(t=f.getConfig("VideoCutResult"))||void 0===t?void 0:t[e])||null},h=e=>{var t;let i=null===(t=f.getConfig("PagingType"))||void 0===t?void 0:t.current;f.setConfig("PagingType",{pre:i,current:e})},g=(e,t,i)=>{setTimeout(()=>{let n=f.getConfig("itemIdToVideoPreferData")||{},r=new Date().getTime();if(n[null==e?void 0:e.groupId])n[null==e?void 0:e.groupId].s_ts=(null==t?void 0:t.playTimestamp)||0,n[null==e?void 0:e.groupId].p_t_a=(null==t?void 0:t.overallPlayTime)||0,n[null==e?void 0:e.groupId].interaction[i]=r,n[null==e?void 0:e.groupId].timestamp=r;else{var o;if(n[null==e?void 0:e.groupId]={s_ts:(null==t?void 0:t.playTimestamp)||0,p_t_a:(null==t?void 0:t.overallPlayTime)||0,aid:null==e?void 0:null===(o=e.authorInfo)||void 0===o?void 0:o.uid,v_t:null==e?void 0:e.video.duration,timestamp:r,interaction:{[i]:r}},Object.keys(n).length>50){let e=Object.keys(n).reduce((e,t)=>n[e].timestamp0&&void 0!==arguments[0]?arguments[0]:"";return e.indexOf("Windows NT 5.0")>-1||e.indexOf("Windows 2000")>-1?"Win2000":e.indexOf("Windows NT 5.1")>-1||e.indexOf("Windows XP")>-1?"WinXP":e.indexOf("Windows NT 5.2")>-1||e.indexOf("Windows 2003")>-1?"Win2003":e.indexOf("Windows NT 6.0")>-1||e.indexOf("Windows Vista")>-1?"WinVista":e.indexOf("Windows NT 6.1")>-1||e.indexOf("Windows 7")>-1?"Win7":e.indexOf("Windows NT 6.2")>-1||e.indexOf("Windows 8")>-1?"Win8":e.indexOf("Windows NT 6.3")>-1||e.indexOf("Windows 8.1")>-1?"Win8.1":e.indexOf("Windows NT 10.0")>-1||e.indexOf("Windows 10")>-1?"Win10":""};function a(e){var t,i,r,a,l,s,d,u,c,_,m;let f=(0,n.i)(e),p={os:"",version:"",isMas:!1};/osName\/Mas/i.test(f)&&(p.isMas=!0);let v=(null===(t=navigator)||void 0===t?void 0:t.platform)==="Win32"||(null===(i=navigator)||void 0===i?void 0:i.platform)==="Windows",h=(null===(r=navigator)||void 0===r?void 0:r.platform)==="Mac68K"||(null===(a=navigator)||void 0===a?void 0:a.platform)==="MacPPC"||(null===(l=navigator)||void 0===l?void 0:l.platform)==="Macintosh"||(null===(s=navigator)||void 0===s?void 0:s.platform)==="MacIntel";return h?(p.os="Mac",p):(null===(d=navigator)||void 0===d?void 0:d.platform)!=="X11"||v||h?String(null===(u=navigator)||void 0===u?void 0:u.platform).indexOf("Linux")>-1?(p.os="Linux",p):(null===(_=String(null===(m=navigator)||void 0===m?void 0:m.platform))||void 0===_?void 0:null===(c=_.toLowerCase())||void 0===c?void 0:c.indexOf("ohos"))>-1?(p.os="Ohos",p):(v&&(p.os="Windows",p.version=o(f)),p):(p.os="Unix",p)}function l(e){return"Mac"===a(e).os}function s(e){return"Windows"===a(e).os||"Ohos"===a(e).os}function d(e){return"Ohos"===a(e).os}function u(){var e,t;let i=(0,n.i)(),r={version:""};return((null===(e=navigator)||void 0===e?void 0:e.platform)==="Win32"||(null===(t=navigator)||void 0===t?void 0:t.platform)==="Windows")&&(r.version=o(i)),r}let c=()=>{var e,t;let i=r.Le.getConfig(r.gI.AbtestData);if(null==i?void 0:i.has2K)return!0;let n=["Win32","Windows"].includes(null===(e=navigator)||void 0===e?void 0:e.platform),o=["Mac68K","MacPPC","Macintosh","MacIntel"].includes(null===(t=navigator)||void 0===t?void 0:t.platform);return n&&navigator.hardwareConcurrency>8||o&&navigator.hardwareConcurrency>=8||d()&&navigator.hardwareConcurrency>=8}},407818:function(e,t,i){i.d(t,{e:function(){return r}}),i(706056);let n={"/aweme/v1/web/notice/count/":[8],"/aweme/v1/web/history/write/":[7,8],"/aweme/v1/web/summer/activity/receive/":[100001],"/aweme/v1/web/user/profile/self/":[8],"/aweme/v1/web/danmaku/conf/set/":[8],"/aweme/v1/web/format/submit/history/":[8],"/aweme/v1/web/app/installed/":[5],"/aweme/v1/web/activity/task/":[100001,2],"/aweme/v2/web/aweme/stats/":[2863,5],"/aweme/v1/web/danmaku/get_v2/":[5],"/aweme/v1/web/query/globalwid/":[2],"/aweme/v1/web/query/account/type/":[5]},r=(e,t)=>!Object.keys(n).includes(e)||!n[e].includes(t)},902378:function(e,t,i){i.d(t,{k:function(){return n}}),i(374954);let n=e=>{var t,i,n,r,o,a;let l=[];return!(null==e?void 0:null===(t=e.authorInfo)||void 0===t?void 0:t.nickname)&&l.push("author"),(null==e?void 0:null===(i=e.stats)||void 0===i?void 0:i.collectCount)===0&&l.push("collectCount"),(null==e?void 0:null===(n=e.video)||void 0===n?void 0:n.duration)===0&&l.push("duration"),(null==e?void 0:null===(r=e.stats)||void 0===r?void 0:r.commentCount)===0&&l.push("commentCount"),(null==e?void 0:null===(o=e.stats)||void 0===o?void 0:o.diggCount)===0&&l.push("diggCount"),!(null==e?void 0:null===(a=e.video)||void 0===a?void 0:a.cover)&&l.push("cover"),!(null==e?void 0:e.desc)&&l.push("title"),l}},509523:function(e,t,i){i.d(t,{p:function(){return n}}),i(340727),i(323505);let n={postTask:e=>{let{task:t,immediate:i=!1,priority:n="user-visible"}=e;if(!0==!!i||!window.scheduler){t();return}window.scheduler.postTask(t,{priority:n})}}},334541:function(e,t,i){i.d(t,{B:function(){return n},i:function(){return r}}),i(374954);let n=(e,t)=>{let i="",n=Array(e.length+1).fill(null).map(()=>Array(t.length+1).fill(0)),r=0,o=0;for(let i=1;i<=e.length;i++)for(let a=1;a<=t.length;a++)e[i-1]===t[a-1]?(n[i][a]=n[i-1][a-1]+1,n[i][a]>r&&(r=n[i][a],o=i)):n[i][a]=0;return r>0&&(i=e.substring(o-r,o)),i},r=(e,t)=>{let i=[{start:0,end:0}],n=Array(e.length+1).fill(null).map(()=>Array(t.length+1).fill(0)),r=0,o=0,a=(e,t)=>{if(0===i.length){i.push({start:e,end:t});return}let n=i[i.length-1];n.start>=e&&n.end<=t?(i.pop(),a(e,t)):n.end<=e&&i.push({start:e,end:t})};for(let i=1;i<=e.length;i++)for(let o=1;o<=t.length;o++)e[i-1]===t[o-1]?(n[i][o]=n[i-1][o-1]+1,n[i][o]>r&&(r=n[i][o])):n[i][o]=0,n[i][o]>n[i-1][o-1]&&a(i-n[i][o],i);return i}},300027:function(e,t,i){i.d(t,{b:function(){return o}});var n=i(72430),r=i(499059);let o=e=>{let{awemeId:t,scene:i,countOnce:o}=e,a=r.Le.getConfig(r.gI.UnLookVideos)||{};!a[t]&&(a[t]={status:n.Pl.UnLook,countOnce:o,scene:i}),r.Le.setConfig(r.gI.UnLookVideos,a)}},632353:function(e,t,i){i(490629);var n=i(350856),r=i.n(n),o=i(101199),a=i(435430);let l=e=>{let{range:t,min:i,max:n,defaultCount:r}=e;return(0,a.e)({range:t,min:i,max:n})};t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{range:{2:[628,883],3:[884,1139],4:[1140,1359],5:[1360,1871],6:[1872,2231]},min:[2,628],max:[7,2231],defaultCount:7},[t,i]=(0,o.useState)(()=>l(e)),n=(0,o.useCallback)(()=>{i(l(e))},[]);return(0,o.useLayoutEffect)(()=>{n()},[n]),(0,o.useEffect)(()=>{let e=r()(n,100,{trailing:!0});return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[n]),t}},754593:function(e,t,i){i.d(t,{G:function(){return o}}),i(490629);var n=i(101199),r=i(989738);let o=e=>{let[t,i]=(0,n.useState)(e),[o,a]=(0,n.useState)((null==e?void 0:e.length)?"success":"loading");return(0,n.useEffect)(()=>{!(null==e?void 0:e.length)&&(a("loading"),(0,r.aw)().then(e=>{let{resourceList:t}=e;i(t),a("success")}).catch(()=>{a("failure")}))},[e]),{resourceList:t,fetchResourceStatus:o}}},651660:function(e,t,i){i.d(t,{Z:function(){return v}});var n=i(629686),r=i(402748);i(679308);var o=i(101199),a=i(345096),l=i(709705),s=i(103680),d=i(618759),u=i(880327),c=i(810069),_=i(806904),m=i(426038);let f=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];async function p(e,t){let i=async()=>{var i;let o=await a.get(),u={},c=a.hashComponents(o);Object.keys(o).forEach(e=>{u[e]=o[e].value||""});let _=(0,l.$o)(m.LocalStorageKeys.SysInfo),f=null===(i=await s.invoke("GET_GUID"))||void 0===i?void 0:i.data,p=null==_?void 0:_.hash,v=null==_?void 0:_.webid,h=null==_?void 0:_.guid,g={};!p&&c&&(p=c,g=(0,r._)((0,n._)({},g),{hash:c})),!v&&e&&(v=e,g=(0,r._)((0,n._)({},g),{webid:e})),!h&&f&&(0,d.DT)()&&(h=f,g=(0,r._)((0,n._)({},g),{guid:f})),Object.keys(g).length&&(0,l.qQ)(m.LocalStorageKeys.SysInfo,(0,n._)({},_,g)),t("browser_sys_info",(0,r._)((0,n._)({},u),{webid:e,hash:c,guid:f,stable_hash:p,stable_webid:v,stable_guid:h}))};if(!!e&&!!t)if((0,u.r)()){let e=()=>{f.forEach(t=>{document.removeEventListener(t,e)}),i()};f.forEach(t=>{document.addEventListener(t,e)})}else i()}let v=()=>{var e;let t=null===(e=(0,c.Es)())||void 0===e?void 0:e.user_unique_id,i="undefined"==typeof window?null:window.collectEvent;(0,o.useEffect)(()=>{setTimeout(()=>{(0,_.l)(()=>p(t,i))},3e3)},[t,i])}},712909:function(e,t,i){i.d(t,{$:function(){return l}}),i(490629);var n=i(101199),r=i(880327),o=i(995898),a=i(939165);let l=e=>{let{onChange:t}=e||{},[i,l]=(0,n.useState)((0,r.r)()),s=(0,n.useRef)(t);return s.current=t,(0,a.o)(()=>{let e=()=>{if(!(0,o.Nr)(location.pathname))(0,n.startTransition)(()=>{var e;let t=(0,r.r)();l(t),null===(e=s.current)||void 0===e||e.call(s,{isFullscreen:t})})};return document.addEventListener("fullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("msfullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("msfullscreenchange",e)}},[]),{isFullscreen:i}}},789867:function(e,t,i){i.d(t,{Y:function(){return r},l:function(){return n}}),i(706056);let n=e=>["follow/live","root/live"].some(t=>e.includes(t)),r=e=>["/","follow"].some(t=>e.includes(t))},36757:function(e,t,i){i.r(t),i.d(t,{clearLocalStorage:function(){return _},delay:function(){return S},getCookiesItem:function(){return g},getCurrentTime:function(){return m},getLocalStorage:function(){return c},isHideLoginGuide:function(){return C},isToday:function(){return p},parseData:function(){return s},pipeline:function(){return h},removeCookiesItem:function(){return y},setCookiesItem:function(){return w},setLocalStorage:function(){return u},stringyData:function(){return d},timeCompare:function(){return v},timeGap:function(){return f}}),i(362051),i(679308),i(88856),i(490629);var n=i(328981),r=i(709705),o=i(409250),a=i(618759),l=i(335924);let s=e=>{if(!e)return null;try{return JSON.parse(e)}catch(e){return null}},d=e=>{try{return JSON.stringify(e)}catch(e){return""}},u=(e,t)=>{t&&(0,r.qQ)(e,t)},c=e=>(0,r.$o)(e),_=e=>{(0,r.bv)(e)},m=()=>new Date().getTime()/1e3,f={week:604800,day:86400,hour:3600,minute:60},p=e=>!!e&&(new Date(1e3*e).toDateString()===new Date().toDateString()||!1),v=(e,t,i)=>{if("day"===e)return!p(i);{let n=m();return n>=i+f[e]*t}},h=e=>{let t,i;return()=>t?Promise.resolve(t):(!i&&(i=new Promise((n,r)=>{e().then(e=>{e&&(t=e),n(e)}).catch(e=>r(e)).finally(()=>{i=void 0})})),i)},g=e=>{let t=o.Q.originGetItem(e);try{t=JSON.parse(t)}catch(e){}return t},w=(e,t,i,n,r,a)=>o.Q.setItem(e,t,i,n,r,a),y=(e,t,i)=>o.Q.removeItem(e,t,i),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return new Promise(t=>{setTimeout(()=>{t(!0)},e)})};async function C(e){let t=new Date().getTime();if((0,a.DT)(),(0,l.Rs)("ug_source"),(0,a.VW)())return!0;let[{hideLoginGuideStartTime:i,hideLoginGuideEndTime:r,hideLoginGuide:o}]=await Promise.all([n.h.getVar({name:"login_downgrade",defaultValue:{hideLoginGuideStartTime:0,hideLoginGuideEndTime:0,hideLoginGuide:!1}})]);return!!o&&!!(t>i)&&!!(t{_[t]&&(e.urlTransParams[t]=_[t])});let f=_.source;a.MX.includes(f)&&(e.source=f);let p=_.type,v=a.NY.findIndex(e=>e.tab===_.type);return -1!==v&&(e.tab=p,e.tabIndex=v),a.NY[e.tabIndex].filter.forEach((t,i)=>{let n=_[t.name],r=t.items.findIndex(e=>e.value===n);void 0!==n&&-1!==r&&(e.tabs[e.tabIndex].filterIndex[i]=r)}),e}function u(e){let t=a.NY.findIndex(t=>t.tab===e);return -1===t&&(t=0),t}function c(e,t){let i={};return t.forEach((t,n)=>{i[a.NY[e].filter[n].name]=a.NY[e].filter[n].items[t].value}),i}},638052:function(e,t,i){i.r(t),i.d(t,{logInstance:function(){return C}});var n=i(629686),r=i(402748),o=i(624508),a=i(778018),l=i(776041),s=i(676782),d=i(72177),u=i(887670),c=i(206462),_=i(249189),m=i(975635),f=i(687892),p=i(123945),v=i(137884),h=i(332525),g=i(544434),w=i(960170),y=i(733976);let S=(0,r._)((0,n._)((0,r._)((0,n._)({},l.a,s.J,d.K,u.f,w.p,c.g,y._,_.G,m.Y),{adBlock:{eventName:"ad_block",params:{detect_method:""}},recommendFirstVideoPlay:{eventName:"recommend_first_video_play",params:{cost:0,from_cache:0,path:"",is_live:0,is_first:0,enter_from:""}},pageMountedToAvailable:{eventName:"page_mounted_to_available",params:{cost:0,path:""}},removeSlideButton:{eventName:"remove_slide_button",params:{}},passportLogout:{eventName:"passport_logout",params:{params_for_special:"uc_login",scene:"douyin_web",logout_from:"user_logout",error_code:"",errCode:"",errorCode:"",errDesc:"",error_desc:"",result:"",urlpath:"",logid:"",from_logid:""}},videoPlay:{eventName:"video_play",params:{enter_from:"",group_id:"",author_id:"",is_auto_play:"0",speed:0,is_visible:1,is_full_screen:"0",tab_name:"",auto_cnt:0,enter_method:"",previous_page:"",video_detail_enter_from:"",from_academy:"0",from_follow_list:"",is_mute:"0",is_author_card_expand:"0",is_force:"0",from_xigua:"0",relation:"",clarity:"",impression_data:"",from_group_id:"",pic_cnt:0,aweme_type:"",is_small_window:"0",is_full_webscreen:"0",enter_from_merge:"",is_card_expand:"",is_click_cover:"0",log_pb:"",music_id:"",video_mode:"",tag_id:"",compilation_id:"",trending_topic:"",first_tag_name:"",top:0,interact_type:"",personal_relation:"",is_multimodal:"",video_detail_tab_from:"",channel:"",message_type:"",conversation_id:"",chat_type:"",is_loop:"0",keywords_index:0,keywords_content:"",group_source:0,episode_type:0,album_id:"",episode_id:"",url_source:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0"}},videoCoverAuthorClick:{eventName:"video_cover_author_click",params:{enter_from:"personal_homepage",tab_name:""}},playTime:{eventName:"play_time",params:{enter_from:"",duration:0,is_visible:1,group_id:"",author_id:"",is_full_screen:"0",is_auto_play:"0",speed:0,is_loop:"0",from_percent:0,to_percent:0,tab_name:"",enter_method:"",previous_page:"",video_detail_enter_from:"",is_author_card_expand:"0",from_academy:"0",from_follow_list:"",is_mute:"0",is_force:"0",url_source:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0"}},videoPlayError:{eventName:"video_play_error",params:{group_id:"",aweme_type:0,enter_from:"",player_type:"xgplayer",player_version:"",errorCode:0,errorDesc:"",is_cdn_expired:0,vduration:0,internet_speed_dl:0,is_video_support:0,previous_page:"",tab_name:"",is_bytevc1:0,log_pb:"",video_play_mode:"all",is_landscape:0}},videoPlayFailed:{eventName:"video_play_failed",params:{is_video_support:0,errorCode:0,aweme_info:"",errorDesc:"",is_cdn_expired:0,is_active:0,log_pb:"",vtype:"",tab_name:"",host:"",internet_speed:0,UA_info:"",previous_page:"",player_version:"",player_type:"xgplayer",enter_from:"",vduration:0,group_id:"",cpu_core:0,action_type:"",aweme_type:"",internet_speed_dl:0,memory_size:0,is_landscape:0,video_play_mode:"all",relation:"",personal_relation:"",from_xigua:"0",from_group_id:"",is_card_expand:"",enter_from_merge:"",tag_id:"",music_id:"",compilation_id:"",video_mode:"",interact_type:"",is_click_cover:"",cache_size:0,search_params:"",search_type:"",messageType:"",chatType:"",conversationId:"",search_result_id:"",search_keyword:"",search_id:""}},videoPlayEnd:{eventName:"video_play_end",params:{preload_time:0,vtype:"",tab_name:"",host:"",internet_speed:0,preload_size:0,UA_info:"",previous_page:"",duration:0,player_version:"",player_type:"xgplayer",enter_from:"",vduration:0,group_id:"",cpu_core:0,quality_bitrate:"",bitrate_set:"",action_type:"",aweme_type:"",drop_frame_duration:0,total_play_frame:0,drop_frame:0,drop_frame_rate:0,video_quality:"",video_bitrate:"",audio_bitrate:0,audio_quality:0,internet_speed_dl:0,memory_size:0,codec_format:"",video_format:"",is_landscape:0,video_play_mode:"all",relation:"",personal_relation:"",from_xigua:"0",from_group_id:"",is_card_expand:"",enter_from_merge:"",tag_id:"",music_id:"",compilation_id:"",video_mode:"",interact_type:"",is_click_cover:"",is_success:0,search_params:"",search_type:"",messageType:"",chatType:"",conversationId:"",search_result_id:"",search_keyword:"",search_id:""}},videoBlock:{eventName:"video_block",params:{block_type:0,vtype:"",tab_name:"",host:"",enter_from:"",internet_speed:0,end_type:"",UA_info:"",previous_page:"",duration:0,player_version:"",player_type:"xgplayer",vduration:0,group_id:"",cpu_core:0,video_quality:"",video_bitrate:"",audio_bitrate:0,audio_quality:0,action_type:"",aweme_type:"",drop_frame_duration:0,total_play_frame:0,drop_frame:0,drop_frame_rate:0,internet_speed_dl:0,memory_size:0,codec_format:"",video_format:"",is_landscape:0,video_play_mode:"all",relation:"",personal_relation:"",from_xigua:"0",from_group_id:"",is_card_expand:"",enter_from_merge:"",tag_id:"",music_id:"",compilation_id:"",video_mode:"",interact_type:"",is_click_cover:"",cache_size:0,search_params:"",search_type:"",messageType:"",chatType:"",conversationId:"",search_result_id:"",search_keyword:"",search_id:""}},videoPlayQuality:{eventName:"video_play_quality",params:{enter_from:"",tab_name:"",preload_time:0,internet_speed:0,preload_size:0,UA_info:"",previous_page:"",duration:0,aweme_type:0,equalize_state:0,video_quality:0,audio_bitrate:0,audio_quality:0,video_bitrate:0,internet_speed_dl:0,memory_size:0,codec_format:"",video_format:"",player_version:"",player_type:"xgplayer",vtype:"",host:"",player_first_frame:0,is_video_support:0,vduration:0,group_id:"",cpu_core:0,bitrate_set:"",quality_bitrate:"",action_type:"",white_list:"",is_landscape:0,video_play_mode:"all",relation:"",personal_relation:"",is_mute:"",from_xigua:"0",from_group_id:"",is_card_expand:"",enter_from_merge:"",tag_id:"",music_id:"",compilation_id:"",video_mode:"",interact_type:"",is_click_cover:"",cache_size:0,player_volume:"",local_mute:"",local_volume:"",search_params:"",search_type:"",messageType:"",chatType:"",conversationId:"",search_result_id:"",search_keyword:"",search_id:"",enter_drom_merge:""}},activityBannerShow:{eventName:"activity_banner_show",params:{enter_from:"discover",activity_id:""}},activityBannerClick:{eventName:"activity_banner_click",params:{enter_from:"discover",activity_id:""}},activityBannerSwitch:{eventName:"activity_banner_switch",params:{enter_from:"discover",click_method:"auto"}},activityBannerClose:{eventName:"activity_banner_close",params:{enter_from:"discover"}},follow:{eventName:"follow",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",is_full_screen:"0",click_method:"",from_group_id:"",music_id:"",compilation_id:"",from_xigua:0,relation:"",aweme_type:0,to_user_id:"",tab_name:"",tag_id:"",is_pure:"",trending_topic:"",first_tag_name:"",top:0,list_name:"",is_search:0,is_co_publish:0,co_publish_author_list:void 0,enter_method:""}},followCancel:{eventName:"follow_cancel",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",is_full_screen:"0",click_method:"",from_group_id:"",music_id:"",compilation_id:"",from_xigua:0,relation:"",aweme_type:0,to_user_id:"",tab_name:"",tag_id:"",is_pure:"",trending_topic:"",first_tag_name:"",top:0,list_name:"",is_search:0}},clickFollow:{eventName:"click_follow",params:{enter_from:"",to_user_id:"",is_full_screen:"0",relation:"",group_id:"",author_id:"",tab_name:"",aweme_type:"",click_method:""}},clickLike:{eventName:"click_like",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",is_full_screen:"0",tab_name:"",click_method:"",from_follow_list:"0",relation:""}},like:{eventName:"like",params:{play_current_time:0,media_type:0,author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",is_full_screen:"0",is_full_webscreen:"0",tab_name:"",click_method:"icon",from_follow_list:"0",relation:"",clarity:"",trending_topic:"",first_tag_name:"",top:0,aweme_type:"",pic_cnt:0,from_push:0,item_duration_ms:0,is_from_aweme_search_engine:0}},cancelLike:{eventName:"cancel_like",params:{play_current_time:0,author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",is_full_screen:"0",tab_name:"",relation:"",aweme_type:"",item_duration_ms:0}},favoriteVideo:{eventName:"favorite_video",params:{click_from:"icon",previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0",is_full_webscreen:"0",click_method:"",from_xigua:0,clarity:"",trending_topic:"",first_tag_name:"",top:0,aweme_type:"",tab_name:"",item_duration_ms:0,is_from_aweme_search_engine:0}},favoriteVideoFailed:{eventName:"favorite_video_failed",params:{click_from:"icon",err_code:0,previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0",aweme_type:"",tab_name:""}},cancelFavoriteVideo:{eventName:"cancel_favorite_video",params:{click_from:"icon",previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0",tab_name:"",item_duration_ms:0}},playerBlankScreen:{eventName:"player_blank_screen",params:{enter_from:"",error_code:0,has_retried:0}},seoInfo:{eventName:"seo_info",params:{enter_from:"video_detail",aweme_type:"",tdk_detail:1,tdk_policy_code:1,ocr_text_length:0,key_word:"",key_word_label1:"",key_word_label2:"",key_word_label3:"",key_word_label4:"",key_word_label5:"",key_word_label6:"",key_word_hot:0,key_word_source:0,pub_date_group:0,seo_abtest_group:0,url_path:"",xuanci:0,has_cart:0,has_ugc_title:0}},videoCardHoverShow:{eventName:"video_card_hover_show",params:{type:"",group_id:"",author_id:"",enter_from:""}},showAutoEnterRecommendBubble:{eventName:"show_auto_enter_recommend_bubble",params:{group_id:"",enter_from:""}},clickAutoEnterRecommendCancel:{eventName:"click_auto_enter_recommend_cancel",params:{group_id:"",enter_from:""}},showEnterRecommendBubble:{eventName:"show_enter_recommend_bubble",params:{group_id:"",enter_from:""}},clickEnterRecommendBubble:{eventName:"click_enter_recommend_bubble",params:{group_id:"",enter_from:""}},enterRecommend:{eventName:"enter_recommend",params:{enter_from:"",enter_method:"",page_url:""}},closeVideoCard:{eventName:"close_video_card",params:{type:"",group_id:"",author_id:"",enter_from_merge:"",tab_name:"",enter_method:""}},enterVideoCardTab:{eventName:"enter_video_card_tab",params:{from_group_id:"",type:"",enter_method:"",enter_from_merge:"",tab_name:"",enter_from:""}},edgeH265Fail:{eventName:"edge_h265_fail",params:{count_264:0,count_265:0}},edgeH265Frame:{eventName:"edge_h265_frame",params:{drop_rate_264:0,drop_rate_265:0,drop_rate_diff:0,drop_rate_result:0}},foldVideoCard:{eventName:"fold_video_card",params:{type:"",enter_from_merge:"",enter_method:"",tab_name:""}},expandVideoCard:{eventName:"expand_video_card",params:{type:"",group_id:"",author_id:"",enter_from_merge:"",tab_name:"",enter_method:""}},clickLongVideoTab:{eventName:"click_long_video_tab",params:{sub_tab_name:""}},videoCoverShow:{eventName:"video_cover_show",params:{relation:"",author_id:"",enter_from:"",group_id:"",tab_name:"",sub_tab_name:"",content:0,aweme_type:0,enter_from_merge:"",enter_method:"",rank:0,collection_tab:"",type:"",compilation_id:"",playlet_id:"",update_num:0,is_seen:"",is_co_publish:0,co_publish_author_list:void 0,page_url:""}},videoCoverClick:{eventName:"video_cover_click",params:{relation:"",author_id:"",enter_from:"",group_id:"",tab_name:"",sub_tab_name:"",content:0,aweme_type:0,enter_from_merge:"",enter_method:"",rank:0,collection_tab:"",type:"",compilation_id:"",playlet_id:"",update_num:0,is_seen:"",is_co_publish:0,co_publish_author_list:void 0,page_url:""}},clickHandpickTab:{eventName:"click_handpick_tab",params:{sub_tab_name:""}},changeThemeSetting:{eventName:"change_theme_setting",params:{theme:"light",enter_from:""}},updateTheme:{eventName:"update_theme",params:{cookieTheme:"",isDark:0,from:""}},showPersonalCollectionTab:{eventName:"show_personal_collection_tab",params:{enter_from:"",collection_tab:"",nt:0}},clickMoreCollection:{eventName:"click_more_collection",params:{enter_form:"",collection_tab:""}},changePersonalCollectionTab:{eventName:"change_personal_collection_tab",params:{enter_from:"",collection_tab:""}},clickNextVideo:{eventName:"click_next_video",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",click_from:"click_button",collection_tab:""}},clickPreviousVideo:{eventName:"click_previous_video",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",click_from:"click_button",collection_tab:""}},videoPlayFinish:{eventName:"video_play_finish",params:{enter_from:"",enter_from_merge:"",is_click_cover:0,tab_name:"",is_visible:1,url_source:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0"}},postTimeShow:{eventName:"post_time_show",params:{enter_from:"",group_id:"",post_time:""}},pageCollectionDetailShow:{eventName:"page_collection_detail_show",params:{enter_from:"",if_red_dot:0,enter_method:"hover"}},updateContentRequest:{eventName:"update_content_request",params:{author_id:"",group_id:"",type:"",compilation_id:"",original_num:0,update_num:0}},skylightLoadClick:{eventName:"skylight_load_click",params:{position:""}},skylightCoverClick:{eventName:"skylight_cover_click",params:{author_id:"",group_id:"",type:"",compilation_id:"",enter_from:"recommend",update_num:0,reason:"",position:"feed"}},skylightCoverShow:{eventName:"skylight_cover_show",params:{author_id:"",group_id:"",type:"",compilation_id:"",enter_from:"recommend",update_num:0,reason:"",position:"feed"}},pageView:{eventName:"page_view",params:{url:"",url_path:"",enter_from:"",link_from:"",tab_name:"",aweme_type:0,theme:"light",is_topknot:0,abtest:"",ischange:"",old_ttwid:"",enter_by_tab:0,browser_height:0,browser_width:0,browser_ratio:0,physical_screen_num:0,physical_screen_info:"",open_from_page:"",multi_window_order:"",multi_window_open_from:"",sidebar_status:"open"}},pageViewV2:{eventName:"page_view_v2",params:{url:"",url_path:"",enter_from:"",link_from:"",tab_name:"",aweme_type:0,theme:"light",is_topknot:0,abtest:"",ischange:"",old_ttwid:"",enter_by_tab:0,browser_height:0,browser_width:0,browser_ratio:0,physical_screen_num:0,physical_screen_info:"",open_from_page:"",multi_window_order:"",multi_window_open_from:""}},clickRelatedKeywords:{eventName:"click_related_keywords",params:{enter_from:"keywords_expansion",url:"",keywords_content:""}},pageStayTime:{eventName:"page_stay_time",params:{url:"",url_path:"",enter_from:"",duration:0,is_visible:1,link_from:""}},zhuantiVideoCoverShow:{eventName:"video_cover_show",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",rank:0,trending_topic:"",aweme_type:"",keywords_index:0}},kepPageView:{eventName:"kep_page_view",params:{url:"",url_path:"",link_from:"",word_strategy:-1}},kepPageViewNew:{eventName:"newnkeyp_page_view",params:{url:"",url_path:"",link_from:"",word_strategy:-1}},hardParseSupported:{eventName:"hard_parse_supported",params:{is_supported_hevc1:0,powerEfficient:0,smooth:0,supported:0,is_supported_264:0,is_enable_mse:0}},enterCoPublishPanel:{eventName:"enter_co_publish_panel",params:{group_id:"",author_id:"",enter_from_merge:"recommend",enter_from:"recommend"}},enterPersonalDetail:{eventName:"enter_personal_detail",params:{to_user_id:"",is_private:0,enter_method:"",enter_from:""}},progressClick:{eventName:"progress_click",params:{position:0,enter_from:"vs_detail",group_id:"",click_method:"",rate:-1,action:"",before_rate:0,if_continued_play:"",player_display_mode:""}},clarityCellShow:{eventName:"clarity_cell_show",params:{enter_from:"vs_detail",group_id:""}},searchCardPredictionMiss:{eventName:"search_card_prediction_miss",params:{ala_src:"",unique_name:"",search_id:"",search_keyword:""}},clarityCellClick:{eventName:"clarity_cell_click",params:{enter_from:"vs_detail",group_id:"",clarity:"",enter_from_merge:"vs_detail",item_duration_ms:0,player_display_mode:""}},itemNonExistent:{eventName:"item_non_existent",params:{enter_from:"",page_url:""}},productEntranceShow:{eventName:"product_entrance_show",params:{EVENT_ORIGIN_FEATURE:"TEMAI",enter_from:"",enter_from_merge:"",content_id:"",group_id:"",author_id:"",follow_status:"-1",commodity_id:"",commodity_type:"",product_id:"",ecom_entrance_form:"video_cart_tag",cid:0,source_page:"",if_qianchuan_ad:0,ad_type:-1}},productEntranceClick:{eventName:"product_entrance_click",params:{EVENT_ORIGIN_FEATURE:"TEMAI",enter_from:"",enter_from_merge:"",content_id:"",group_id:"",author_id:"",follow_status:"-1",commodity_id:"",commodity_type:"",product_id:"",ecom_entrance_form:"video_cart_tag",cid:0,source_page:"",if_qianchuan_ad:0,ad_type:-1}},enterProductDetail:{eventName:"enter_product_detail",params:{EVENT_ORIGIN_FEATURE:"TEMAI",source_page:"",ecom_group_type:"video",ecom_entrance_form:"video_cart_tag",author_id:"",group_id:"",follow_status:"-1",commodity_id:"",product_id:"",commodity_type:"",entrance_info:"",if_qianchuan_ad:0,ad_type:-1}},commodityDuration:{eventName:"commodity_duration",params:{EVENT_ORIGIN_FEATURE:"TEMAI",source_page:"",ecom_group_type:"video",ecom_entrance_form:"video_cart_tag",author_id:"",group_id:"",follow_status:"-1",commodity_id:"",product_id:"",commodity_type:"",entrance_info:"",duration:0,if_qianchuan_ad:0,ad_type:-1,is_risk_user:""}},showProductEntranceQrCode:{eventName:"show_product_entrance_qr_code",params:{EVENT_ORIGIN_FEATURE:"TEMAI",source_page:"",ecom_group_type:"video",ecom_entrance_form:"video_cart_tag",author_id:"",group_id:"",follow_status:"-1",commodity_id:"",product_id:"",commodity_type:"",entrance_info:"",qr_code_source:"purchase_button",if_qianchuan_ad:0,ad_type:-1,is_hit:0}},productEntranceQrCodeDuration:{eventName:"product_entrance_qr_code_duration",params:{EVENT_ORIGIN_FEATURE:"TEMAI",source_page:"",ecom_group_type:"video",ecom_entrance_form:"video_cart_tag",author_id:"",group_id:"",follow_status:"-1",commodity_id:"",product_id:"",commodity_type:"",entrance_info:"",duration:0,qr_code_source:"purchase_button",if_qianchuan_ad:0,ad_type:-1}},clickFavoriteCompilation:{eventName:"click_favorite_compilation",params:{enter_from_merge:"",compilation_id:""}},favoriteCompilation:{eventName:"favorite_compilation",params:{enter_from_merge:"",from_compilation_id:"",compilation_id:""}},cancelFavoriteCompilation:{eventName:"cancel_favorite_compilation",params:{enter_from_merge:"",from_compilation_id:"",compilation_id:""}},clickFavoriteMusic:{eventName:"click_favorite_music",params:{music_id:"",group_id:"",enter_from_merge:"",enter_from:""}},favoriteMusic:{eventName:"favorite_music",params:{music_id:"",group_id:"",enter_from_merge:"",enter_from:""}},cancelFavoriteMusic:{eventName:"cancel_favorite_music",params:{music_id:"",group_id:"",enter_from_merge:"",enter_from:"",click_method:""}},favoriteCollectionTabClick:{eventName:"favorite_collection_tab_click",params:{tab_name:""}},compilationCoverShow:{eventName:"compilation_cover_show",params:{enter_from:"personal_homepage",tab_name:"favorite_collection",group_id:"",compilation_id:""}},compilationCoverClick:{eventName:"compilation_cover_click",params:{enter_from:"personal_homepage",tab_name:"favorite_collection",group_id:"",compilation_id:""}},showSubtitle:{eventName:"pc_subtitles_translation_show",params:{enter_from:"",enter_method:"",group_id:"",player_display_mode:""}},clickSubtitle:{eventName:"pc_subtitles_translation_click",params:{enter_from:"",enter_method:"",group_id:"",button_type:"",button_name:"",player_display_mode:""}},clickSubtitleError:{eventName:"pc_subtitles_translation_fail_toast",params:{enter_from:"",enter_method:"",group_id:"",button_type:"",button_name:""}},videoRetryError:{eventName:"video_retry_error",params:{type:"",aweme_id:"0",time:0}},shareVideoShow:{eventName:"share_video_show",params:{enter_from:"",show_type:""}},dislikeShow:{eventName:"dislike_show",params:{enter_from:""}},dislikeClickNotify:{eventName:"dislike_click_notify",params:{enter_from:""}},dislikePositionNotify:{eventName:"dislike_position_notify",params:{enter_from:""}},clickBackRecommend:{eventName:"click_back_recommend",params:{enter_from:""}},skylightDislikeShow:{eventName:"skylight_dislike_show",params:{enter_from:"",author_id:"",group_id:"",compilation_id:"",type:"",update_num:0,reason:"",position:""}},skylightDislikeClick:{eventName:"skylight_dislike_click",params:{enter_from:"",author_id:"",group_id:"",compilation_id:"",type:"",update_num:0,reason:"",position:""}},followBubbleShow:{eventName:"follow_bubble_show",params:{enter_from_merge:"recommend",enter_from:"",group_id:""}},followBubbleClick:{eventName:"follow_bubble_click",params:{enter_from_merge:"recommend",enter_from:"",group_id:""}},addToDesktopShow:{eventName:"add_to_desktop_show",params:{enter_from:"",type:"",guide_type:"",platform:"",group_id:"",channel_id:"",ug_channel_id:""}},addToDesktopClick:{eventName:"add_to_desktop_click",params:{enter_from:"",type:"",guide_type:"",platform:"",group_id:"",channel_id:"",ug_channel_id:""}},appointmentPushShow:{eventName:"appointment_push_show",params:{enter_from:"",room_id:"",anchor_id:"",is_reserve:""}},appointmentPushClick:{eventName:"appointment_push_click",params:{enter_from:"",room_id:"",anchor_id:"",is_reserve:""}},clickLoadMore:{eventName:"click_load_more",params:{tab_name:"",click_position:"",enter_from:""}},dislike:{eventName:"dislike",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",enter_method:"",is_full_screen:"0",tab_name:"",click_method:"",from_follow_list:"0",aweme_type:"",is_insert_wallpaper:0,is_show_outside:0,item_duration_ms:0}},toastCardShow:{eventName:"toast_card_show",params:{compilation_id:"",group_id:"",author_id:"",enter_from_merge:"",playlet_id:"",enter_from:"",toast_type:""}},toastCardHover:{eventName:"toast_card_hover",params:{compilation_id:"",group_id:"",author_id:"",enter_from_merge:"",playlet_id:"",enter_from:"",toast_type:""}},toastCardClick:{eventName:"toast_card_click",params:{compilation_id:"",group_id:"",author_id:"",enter_from_merge:"",playlet_id:"",enter_from:"",toast_type:"",click_position:""}},compilationNextEpisodeShow:{eventName:"compilation_next_episode_show",params:{compilation_id:"",group_id:"",author_id:"",enter_from_merge:"",enter_from:""}},compilationNextEpisodeClick:{eventName:"compilation_next_episode_click",params:{compilation_id:"",group_id:"",author_id:"",enter_from_merge:"",enter_from:"",click_position:""}},playletNextEpisodeShow:{eventName:"playlet_next_episode_show",params:{playlet_id:"",group_id:"",author_id:"",enter_from_merge:"",enter_from:"",click_position:""}},playletNextEpisodeClick:{eventName:"playlet_next_episode_click",params:{playlet_id:"",group_id:"",author_id:"",click_position:"",enter_from_merge:"",enter_from:""}},onlinePrivacyShow:{eventName:"online_privacy_show",params:{enter_method:""}},onlinePrivacyClick:{eventName:"online_privacy_click",params:{action:""}},defaultLandingToastClick:{eventName:"default_landing_toast_click",params:{type:""}},defaultLandingToastShow:{eventName:"default_landing_toast_show",params:{}},defaultLandingSettingClick:{eventName:"default_landing_setting_click",params:{enter_method:"",click_position:"",click_result:""}},aiSettingShow:{eventName:"ai_setting_show",params:{enter_from:""}},aiSettingClick:{eventName:"ai_setting_click",params:{enter_from:"",type:"ai_head_entry_status",status:0}},defaultLandingSettingShow:{eventName:"default_landing_setting_show",params:{enter_method:""}}}),f.W,p.H,v.U,h.c,g.C),{hoverPlayTime:{eventName:"hover_play_time",params:{aweme_type:0,group_id:"",author_id:"",enter_from:"",enter_from_merge:"",tab_name:"",duration:0,is_full_screen:"0",video_scale:0,folder_name:"",folder_id:"",if_first_big_card:0,is_multilist:0,search_params:{},sub_tab_name:"",visit_id:"",gid_rank:0,is_first_screen:0}},hoverPlay:{eventName:"hover_play",params:{aweme_info:{},aweme_type:0,group_id:"",author_id:"",enter_from_merge:"",tab_name:"",is_full_screen:"0",video_scale:0,folder_name:"",folder_id:"",if_first_big_card:0,is_multilist:0,search_params:{},sub_tab_name:"",visit_id:"",gid_rank:0,is_first_screen:0}},hoverProgressClick:{eventName:"hover_progress_click",params:{group_id:"",enter_from_merge:"",tab_name:"",sub_tab_name:"",visit_id:"",gid_rank:0,is_first_screen:0}},hoverVolumeClick:{eventName:"hover_volume_click",params:{aweme_type:0,group_id:"",enter_from_merge:"",tab_name:"",status:"on",content_sdk:"",anchor_id:"",room_id:"",request_id:"",if_first_big_card:0,sub_tab_name:"",visit_id:"",gid_rank:0,is_first_screen:0,filter_name:"",is_first_large_card_outflow:"0"}},innerPushClose:{eventName:"inner_push_close",params:{enter_from:"",type:"hq_live",room_id:"",anchor_id:"",push_id:"",author_id:"",group_id:""}},innerPushShow:{eventName:"inner_push_show",params:{enter_from:"",type:"hq_live",room_id:"",anchor_id:"",push_id:"",author_id:"",group_id:""}},innerPushClick:{eventName:"inner_push_click",params:{enter_from:"",type:"hq_live",click_position:"more",room_id:"",anchor_id:"",push_id:"",author_id:"",group_id:""}},longVideoAnchorShow:{eventName:"long_video_anchor_show",params:{enter_from:"recommend",group_id:"",group_source:0,episode_type:0,album_id:"",episode_id:""}},longVideoAnchorClick:{eventName:"long_video_anchor_click",params:{enter_from:"recommend",group_id:"",group_source:0,episode_type:0,album_id:"",episode_id:""}},webNavigationTiming:{eventName:"web_navigation_timing",params:{enter_from:"",worker_start:0,fetch_start:0,domain_lookup_start:0,domain_lookup_end:0,request_start:0,response_start:0,response_end:0,head_start:0,head_end:0,body_start:0,body_end:0,html_domcontentloaded:0,app_enter:0,app_render:0}},webPerfTiming:{eventName:"web_perf_timing",params:(0,n._)({enter_from:""},a.Rp)},chapterTagShow:{eventName:"chapter_tag_show",params:{enter_from:"",enter_from_merge:"",group_id:"",author_id:"",chapter_sequence_num_impr:0,is_knowledge_point:0,is_author:0,chapter_num:0,is_chapter_next:0,player_display_mode:""}},chapterTagClick:{eventName:"chapter_tag_click",params:{enter_from:"",enter_from_merge:"",group_id:"",author_id:"",chapter_sequence_num_impr:0,is_knowledge_point:0,is_author:0,chapter_num:0,click_area:"",chapter_index_click:0,player_display_mode:""}},chapterTagHoverShow:{eventName:"chapter_tag_hover_show",params:{enter_from:"",enter_from_merge:"",group_id:"",author_id:"",is_knowledge_point:0,is_author:0,chapter_num:0}},chapterTagHoverClick:{eventName:"chapter_tag_hover_click",params:{enter_from:"",enter_from_merge:"",group_id:"",author_id:"",is_knowledge_point:0,is_author:0,chapter_num:0,chapter_index_click:0}},chapterContentShow:{eventName:"chapter_content_show",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0,is_knowledge_point:0,chapter_status:"fold"}},chapterContentSlide:{eventName:"chapter_content_slide",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0,is_knowledge_point:0}},chapterContentClick:{eventName:"chapter_content_click",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0,chapter_index_click:0,is_knowledge_point:0,chapter_knowledge_point:0,knowledge_index_click:0,button_name:""}},chapterContentExit:{eventName:"chapter_content_exit",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0,duration:0,is_knowledge_point:0}},chapterFeedbackShow:{eventName:"chapter_feedback_show",params:{enter_from:"",group_id:"",message:"",chapter_index_click:0,knowledge_index_click:0}},chapterFeedbackClick:{eventName:"chapter_feedback_click",params:{enter_from:"",group_id:"",button_name:"",chapter_index_click:0,knowledge_index_click:0}},chapterFeedbackResult:{eventName:"chapter_feedback_result",params:{enter_from:"",group_id:"",message:"",input_text:"",chapter_index_click:0,knowledge_index_click:0}},chapterAiDetailsPageClick:{eventName:"chapter_ai_details_page_click",params:{enter_from:"",group_id:"",button_name:"",is_auto_chapter:1,is_knowledge_point:0}},clickNickname:{eventName:"click_nickname",params:{enter_from:"",to_user_id:"",group_id:""}},aiPreloadResult:{eventName:"ai_preload_result",params:{scene:"",model_name:"",s_result:"",f_result:0,s_real:"",f_real:0,with_feature:"",is_ad:0}},webCommentLoadDuration:{eventName:"web_comment_load_duration",params:{load_duration:0,is_ad:0}},webProfileLoadDuration:{eventName:"web_profile_load_duration",params:{load_duration:0}},clickCloseLiveHeadWindow:{eventName:"click_close_live_head_window",params:{enter_from_merge:"",window_show_duration:0,action_type:""}},clickOpenLiveHeadWindow:{eventName:"click_open_live_head_window",params:{enter_from_merge:""}},navigationTabGuideShow:{eventName:"navigation_tab_guide_show",params:{tab_name:""}},navigationTabGuideClick:{eventName:"navigation_tab_guide_click",params:{tab_name:""}},autoLaunchSettingClick:{eventName:"auto_launch_setting_click",params:{enter_method:"",notify_type:"",status:""}},autoOpenShow:{eventName:"auto_open_show",params:{enter_method:"",notify_type:""}},jianyingAnchorShow:{eventName:"jianying_anchor_show",params:{jianying_mv_id:"",group_id:""}},jianyingAnchorClick:{eventName:"jianying_anchor_click",params:{jianying_mv_id:"",group_id:""}},compilationEntranceClick:{eventName:"compilation_entrance_click",params:{enter_from:"recommend",group_id:"",author_id:"",compilation_id:"",entrance_cnt:1,is_update:0}},continuedBroadcastToastShow:{eventName:"continued_broadcast_toast_show",params:{enter_from:"",scene:"video",room_id:"",item_id:"",item_duration:0}},continuedBroadcastToastClick:{eventName:"continued_broadcast_toast_click",params:{enter_from:"",action:"",scene:"video",room_id:"",item_id:"",item_duration:0}},liveResumePopupShow:{eventName:"live_resume_popup_show",params:{room_id:""}},liveResumePopupClick:{eventName:"live_resume_popup_click",params:{room_id:"",action:""}},bottomBarClick:{eventName:"bottom_bar_click",params:{playlet_id:"",compilation_id:"",group_id:"",enter_from:"recommend",enter_from_merge:"",bar_type:"",entrance_cnt:0,is_update:0,item_duration_ms:0,bar_tag_name:"",action:"open",player_display_mode:""}},hoverVideoPlayQuality:{eventName:"hover_video_play_quality",params:{aweme_type:0,group_id:"",enter_from_merge:"",tab_name:"",codec_format:"",duration:0,player_first_frame:0,preload_time:0,preload_size:0,video_quality:0,video_bitrate:0,audio_bitrate:0,audio_quality:0,vduration:0,is_bytevc1:0,folder_id:"",folder_name:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0"}},hoverVideoPlayEnd:{eventName:"hover_video_play_end",params:{aweme_type:0,group_id:"",enter_from_merge:"",tab_name:"",codec_format:"",duration:0,video_quality:0,video_bitrate:0,audio_bitrate:0,audio_quality:0,vduration:0,preload_time:0,preload_size:0,is_bytevc1:0,cache_duration:0,cache_size:0,data_player_type:0,play_duration_clean:0,play_size:0,folder_id:"",folder_name:"",is_multilist:0,search_params:{}}},cooperatePanelShow:{eventName:"cooperate_panel_show",params:{enter_from:"",sub_tab_name:""}},download:{eventName:"download",params:{enter_from:"",enter_from_merge:"",group_id:"",click_from:"",boost_task_id:""}},savePathChange:{eventName:"save_path_change",params:{click_from:""}},downloadResult:{eventName:"download_result",params:{result:""}},downloadMenuClick:{eventName:"download_menu_click",params:{click_from:""}},webRedDotShow:{eventName:"web_red_dot_show",params:{}},webIconClick:{eventName:"web_icon_click",params:{red_dot:0,open_from:"click",message_tag:""}},notifSettingClick:{eventName:"notif_setting_click",params:{type:"web_unread_message_red_dot",status:""}},preloadOtherCard:{eventName:"preload_other_card",params:{enter_from:"",aweme_type:"",remain_task:-1}},ecomPopcardAiFeature:{eventName:"ecom_popcard_ai_feature",params:{ai_pop_card_data:"",is_hit:0}},ecomPopcardAiHover:{eventName:"ecom_popcard_ai_hover",params:{is_hit:0,room_id:"",promotion_id:""}},favoriteEmojiDelete:{eventName:"favorite_emoji_delete",params:{enter_method:""}},favoriteEmojiDeleteConfirm:{eventName:"favorite_emoji_delete_confirm",params:{enter_method:""}},favoriteEmojiAdd:{eventName:"favorite_emoji_add",params:{enter_method:""}},favoriteEmojiAddResult:{eventName:"favorite_emoji_add_result",params:{enter_method:"",result:""}},quoteMessageClose:{eventName:"quote_message_close",params:{}},autoEmojiShow:{eventName:"auto_emoji_show",params:{enter_method:"chat_panel"}},autoEmojiClick:{eventName:"auto_emoji_click",params:{enter_method:"chat_panel"}},clickEmoji:{eventName:"click_emoji",params:{enter_method:"chat_panel",enter_from_merge:"",if_regularly_use:0,tab_name:""}},prfFirstLvShow:{eventName:"prf_first_lv_show",params:{is_csr:0,feed_total_duration:0,is_landscape:1,group_id:"",landing_page:"lvdetail",bitrate:0,definition:"",codecType:"",fileId:"",fps:0,quality:"",realBitrate:0,size:0,vtype:""}},clarityLoginToastShow:{eventName:"clarity_login_toast_show",params:{enter_from:"",enter_from_merge:""}},clarityLoginToastClick:{eventName:"clarity_login_toast_click",params:{enter_from:"",enter_from_merge:""}},localPlayerGuideShow:{eventName:"local_player_setting_guide_show",params:{}},localPlayerGuideConfirm:{eventName:"local_player_setting_guide_confirm",params:{}},webNotifSettingClick:{eventName:"web_notif_setting_click",params:{status:""}},feed_enter:{eventName:"feed_enter",params:{enter_from:"",search_params:""}},keyStroke:{eventName:"key_stroke",params:{is_shift:"",is_ctrl:"",is_meta:"",key_code:""}},holdVideoSpeed:{eventName:"hold_video_speed",params:{group_id:"",enter_from:"",enter_from_merge:""}},runEventsError:{eventName:"run_events_error",params:{message:""}},settingPanelShow:{eventName:"setting_panel_show",params:{enter_from:"",panel_type:0,panel_name:""}},settingPanelClick:{eventName:"setting_panel_click",params:{enter_from:"",menu:"",theme_color:void 0,if_reddot:void 0}},authorCardCompilationShow:{eventName:"author_card_compilation_show",params:{enter_from_merge:"",enter_from:"",from_group_id:"",author_id:"",num:void 0}},authorCardCompilationClick:{eventName:"author_card_compilation_click",params:{enter_from_merge:"",enter_from:"",from_group_id:"",compilation_id:"",playlet_id:""}},clickVideoCardAbstract:{eventName:"click_video_card_abstract",params:{enter_from:"",abstract_rank:-1,search_id:"",search_params:"",search_result_id:""}},searchHorizontalSubcardClick:{eventName:"search_result_click",params:{impr_id:"",search_id:"",column_type:"",search_keyword:"",rank:0,search_result_id:"",search_type:"general",enter_from:"general_search",is_aladdin:0,token_type:"discover_list",button_type:"click_video",item_rank:0,list_item_id:"",search_third_item_id:""}},searchHorizontalSubcardShow:{eventName:"search_result_show",params:{impr_id:"",search_id:"",column_type:"",search_keyword:"",rank:0,search_result_id:"",search_type:"general",enter_from:"general_search",is_aladdin:0,token_type:"discover_list",item_rank:0,list_item_id:"",search_third_item_id:""}},videoAbstractShow:{eventName:"video_abstract_show",params:{enter_from:"",abstract_rank:-1,rank:-1,search_id:"",search_keyword:"",search_result_id:""}},videoAbstractClick:{eventName:"video_abstract_click",params:{enter_from:"",button_type:"",abstract_rank:-1,rank:-1,search_id:"",search_keyword:"",search_result_id:"",impr_id:""}},hevcFrameList:{eventName:"hevc_frame_list",params:{enter_from:"",is_player_v2:1,type:"",h264_list:[],h265_list:[],h264_drop:0,h265_drop:0}},pageClick:{eventName:"page_click",params:{click_position:"",enter_from:""}},adSideCardShow:{eventName:"ad_side_card_show",params:{type:""}},adComponentClick:{eventName:"ad_component_click",params:{component_name:"",cid:0,ad_refer:""}},hover_like_icon:{eventName:"hover_like_icon",params:{enter_from:""}},hover_share_icon:{eventName:"hover_share_icon",params:{enter_from:""}},hover_author_head:{eventName:"hover_author_head",params:{enter_from:"",click_from:""}},prfFirstFeedShow:{eventName:"prf_first_feed_show",params:{feed_total_duration:0,landing_page:"",real_index:0,is_cache_video:0,aweme_type:0,is_quick_player:0}},pcColdStartPrfRecord:{eventName:"pc_cold_start_prf_record",params:{feed_total_duration:0,landing_page:"",real_index:0,is_cache_video:0,aweme_type:0}},getPerformanceInfoError:{eventName:"getPerformanceInfoError",params:{type:"",info:"",stack:""}},inheritPureMode:{eventName:"inherit_pure_mode",params:{enter_from:"",group_id:"",is_full_screen:0,is_full_webscreen:0}},relatedVideoCardShow:{eventName:"related_video_card_show",params:{enter_from:"",group_id:"",title_content:"",duration:0}},relatedVideoCardHover:{eventName:"related_video_card_hover",params:{enter_from:"",group_id:"",title_content:"",duration:0}},slidesFPS:{eventName:"slides_fps",params:{enter_from:"recommend",duration:0,order:0,fps:0,from:"",to:""}},relatedVideoCardClick:{eventName:"related_video_card_click",params:{enter_from:"",group_id:"",from_group_id:""}},clientNodeFeedFetch:{eventName:"client_node_feed_fetch",params:{status_code:"0",data_length:0,first_data_from:"normal",is_use:0,cancel_reason:"",log_id:"",jsb_cost:0,is_use_jsb_cache:0,is_use_first_index_cache:0,is_live_first:0,is_live_second:0}},userCacheInvalid:{eventName:"user_cache_invalid",params:{is_fetch:1,ua:""}},abrChange:{eventName:"abr_change",params:{enter_from:"",enter_from_merge:"",buffer:0,current_position:0,target_birate:0,internet_speed:0,user_seek:0,group_id:"",is_upper:0}},abrChangeDefinition:{eventName:"abr_change_definition",params:{enter_from:"",enter_from_merge:"",buffer:0,current_position:0,target_birate:0,internet_speed:0,user_seek:0,group_id:"",is_upper:0,is_upper_definition:0,origin_definition:0,origin_bitrate:0,current_definition:0,current_bitrate:0}},appDownloadPanelShow:{eventName:"app_download_panel_show",params:{}},appDownloadEntryClick:{eventName:"app_download_entry_click",params:{}},topBannerGetAppClick:{eventName:"top_banner_get_app_click",params:{from:"",is_app_added:0,region:""}},aiChatButtonShow:{eventName:"ai_chat_button_show",params:{enter_from:"",ai_chat_button_position:"side_bar",group_id:"",text:""}},aiChatButtonClick:{eventName:"ai_chat_button_click",params:{enter_from:"",ai_chat_button_position:"side_bar",group_id:"",search_keyword:"",text:""}},aiSearchSidebarClose:{eventName:"ai_search_sidebar_close",params:{enter_from:"",page_name:"",close_method:"",is_cold_start:"",group_id:"",is_class_video:"",exit_code:3}},weeklySelectionShow:{eventName:"weekly_selection_show",params:{enter_from:"",group_id:""}},monthlyAuthorShow:{eventName:"monthly_author_show",params:{enter_from:"",author_id:""}},liveCardClickEvent:{eventName:"livesdk_rec_live_play",params:{anchor_id:"",room_id:"",enter_from_merge:"",enter_method:"",game_name:"",is_aweme_tied:"",live_type:"",title_type:"",cover_type:"",is_recommend:"",stream_type:"",request_id:"",video_id:"",is_comments_fold:"",live_status:"",live_position:0}},personalShieldAlbumShow:{eventName:"personal_shield_album_show",params:{enter_from:"",tab_name:"",to_user_id:""}},volumeBalanceSwitchClick:{eventName:"volume_balance_switch_click",params:{status:""}},showVideoTitle:{eventName:"show_video_title",params:{enter_from:"",group_id:"",author_id:"",is_full_screen:"",previous_page:""}},pause_video_auto:{eventName:"pause_video_auto",params:{enter_from:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0",group_id:"",author_id:"",pause_reason:""}},start_video_auto:{eventName:"start_video_auto",params:{enter_from:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0",group_id:"",author_id:"",pause_reason:""}},hover_progress:{eventName:"hover_progress",params:{enter_from:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0",group_id:"",author_id:"",player_display_mode:""}},progress_preview:{eventName:"progress_preview",params:{enter_from:"",sub_tab_name:"",filter_name:"",is_first_large_card_outflow:"0",group_id:"",author_id:""}},searchBarElementShow:{eventName:"search_bar_element_show",params:{page_name:"",enter_from:"",search_position:"",element_name:"",button_type:"",history_log_source:""}},searchBarElementClick:{eventName:"search_bar_element_click",params:{page_name:"",enter_from:"",search_position:"",element_name:"",button_type:"",history_log_source:""}},aiSearchSidebarPinButtonClick:{eventName:"ai_search_sidebar_pin_button_click",params:{page_name:"",enter_from:"",group_id:"",is_class_video:"",pin_button_status:"",is_cold_start:""}}}),C=new o.h(S)},975635:function(e,t,i){i.d(t,{Y:function(){return n}});let n={customerServiceEntryShow:{eventName:"customer_service_entry_show",params:{entrance_id:"",timestamp:0,terminalType:"pc"}},customerServiceEntryClick:{eventName:"customer_service_entry_click",params:{entrance_id:"",timestamp:0,terminalType:"pc"}},feedbackOnlineGenTokenError:{eventName:"feedback_online_gen_token_error",params:{error:""}},feedbackOnlineReport:{eventName:"feedback_online_report",params:{intelligent_task_id:"",manual_task_id:"",session_id:"",action:"",custom_id:"",monitor_web_id:"",monitor_device_id:"",ab_test_vids:"",manufacturer:"",version:"",device_model:"",guid:"",client_version:"",os:"",gpu_vender:"",hardware_concurrency:-1,env:"",domain:"",browser:"",browser_version:"",os_version:"",vtype:""}}}},249189:function(e,t,i){i.d(t,{G:function(){return n}});let n={microgameVmokLoadError:{eventName:"microgame_vmok_load_error",params:{message:""}},microgameVmokPerf:{eventName:"microgame_vmok_perf",params:{duration_vmok_load:0}},mpShow:{eventName:"mp_show",params:{_param_for_special:"micro_app",mp_id:"ttf9b08f0d668ef50201",mp_name:"抖音小游戏中心",scene:"251036",launch_from:"homepage",location:"nav_bar"}},mpClick:{eventName:"mp_click",params:{_param_for_special:"micro_app",mp_id:"ttf9b08f0d668ef50201",mp_name:"抖音小游戏中心",scene:"251036",launch_from:"homepage",location:"nav_bar"}},mpWebNavbarIconShow:{eventName:"mp_web_navbar_icon_show",params:{_param_for_special:"micro_app",mp_id:"ttf9b08f0d668ef50201",mp_name:"抖音小游戏中心"}},mpWebNavbarIconClick:{eventName:"mp_web_navbar_icon_click",params:{_param_for_special:"micro_app",mp_id:"ttf9b08f0d668ef50201",mp_name:"抖音小游戏中心"}},mpDownloadGuidePopupShow:{eventName:"mp_download_guide_popup_show",params:{_param_for_special:"micro_game",mp_id:"",mp_name:"",enter_from:"mp_center_gc",enter_method:"",biz_location:"",biz_tab:""}},mpDownloadGuidePopupClick:{eventName:"mp_download_guide_popup_click",params:{_param_for_special:"micro_game",mp_id:"",mp_name:"",enter_from:"mp_center_gc",enter_method:"",biz_location:"",biz_tab:"",click_type:""}}}},345099:function(e,t,i){i.d(t,{$9:function(){return _},_C:function(){return c}});var n=i(629686);i(14275),i(759943),i(679308),i(362051),i(897471);var r=i(911429),o=i(30995),a=i(732199),l=i(386206);let{COMMON_SEARCH_PARAMS:s}=o;function d(e,t){var i,n;let{has_more:r,hotsoon_has_more:o,hotsoon_text:s,log_pb:d,min_time:u,offset:c,status_code:_,rec_has_more:m,status_msg:f,max_time:p}=e;return{followList:(i=e[t],n=t,i?i.map(e=>{var t,i,r;let{sec_uid:o,uid:s,nickname:d,remark_name:u,custom_verify:c,enterprise_verify_reason:_,avatar_uri:m,signature:f,follow_status:p,follower_status:v,secret:h,room_data:g,room_id:w,following_list_secondary_information_struct:y,not_seen_item_id_list_v2:S,not_seen_item_id_list:C,live_status:b,aweme_count:E=0,user_not_see:k=0,is_not_show:T=!1,app_id:N,room_id_str:I,account_cert_info:x,avatar_medium:P={}}=e;return{secUid:o,uid:s,nickname:d,remarkName:u,customVerify:c,enterpriseVerifyReason:_,avatarUri:m||(null==P?void 0:null===(i=P.url_list)||void 0===i?void 0:null===(t=i.find)||void 0===t?void 0:t.call(i,e=>/\.jp(e)?g|\.png/.test(e)))||"",desc:f,followStatus:p,followerStatus:v,secret:h,roomData:g&&("followings"===n||"followers"===n)?JSON.parse(g):{},roomId:w,infoStruct:{priority:null==y?void 0:y.secondary_information_priority,text:null==y?void 0:y.secondary_information_text,textType:null==y?void 0:y.secondary_information_text_type},notSeenItemList:null!==(r=null!=S?S:C)&&void 0!==r?r:[],liveStatus:b,awemeCount:E,userNotSee:k,isNotShow:T,following_app_id:N,roomIdStr:I,accountCertInfo:x?(0,a.FB)((0,l.As)(x)):{}}}):[]),hasMore:r,hotsoonHasMore:o,hotsoonText:s,logPb:d,minTime:u,maxTime:p,offset:c,statusCode:_,recHasMore:m,statusMsg:f}}async function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,l=await (0,r.U2)(i,(0,n._)({},s,e),{},void 0,t,{});return(0,a.RL)(l,o)}async function c(e){let{user_id:t,sec_user_id:i,offset:n=0,min_time:r=0,max_time:o=0,count:a=20,source_type:l=2,gps_access:s=0,address_book_access:c=0}=e,_=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return u({user_id:t,sec_user_id:i,offset:n,min_time:r,max_time:o,count:a,source_type:l,gps_access:s,address_book_access:c},_,"/aweme/v1/web/user/follower/list/",e=>d(e,"followers"))}async function _(e){let{user_id:t,sec_user_id:i,offset:n=0,min_time:r=0,max_time:o=0,count:a=20,source_type:l=2,gps_access:s=0,address_book_access:c=0,is_top:_=1}=e,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return u({user_id:t,sec_user_id:i,offset:n,min_time:r,max_time:o,count:a,source_type:l,gps_access:s,address_book_access:c,is_top:_},m,"/aweme/v1/web/user/following/list/",e=>d(e,"followings"))}},447457:function(e,t,i){i.d(t,{g:function(){return l},t:function(){return d}});var n=i(629686),r=i(402748);i(679308);var o=i(30995),a=i(911429);let l=async(e,t)=>{let{query:i}=e;return await (0,a.U2)("/webcast/game/search/is_show_ai_search_pc_game_assistant_entrance/",(0,r._)((0,n._)({},o.COMMON_SEARCH_PARAMS),{query:i}),{},void 0,t,{})},s=e=>{let t=Number(e);return 0===t?"live":1===t?"video":2===t?"official":"unknown scene"},d=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,{page_id:i=1,room_id:l,anchor_id:d,game_id:u,video_id:c,biz_type:_="0",promote_scene:m="0",biz_id:f,biz_mode:p="-1",promote_instance_id:v,enter_from:h,extra:g}=e,w=s(m),y=(0,r._)((0,n._)({},o.COMMON_SEARCH_PARAMS),{biz_type:Number(_),biz_mode:p,webcast_sdk_version:"4150",gamecp_sdk_version:"4150",appVersion:"37.4.0"});return u&&(y.game_id=u),w&&(y.scene=w),c&&(y.video_id=c),i&&(y.page_id=i),v&&(y.promote_instance_id=v),l&&(y.room_id=l),d&&(y.promoter_id=d),f&&(y.biz_id=f),h&&(y.enter_from=h),g&&(y.extra=g),await (0,a.U2)("/webcast/game/detail/fetch",y,{},void 0,t,{})}},813440:function(e,t,i){i.d(t,{Aj:function(){return p},VG:function(){return h},h$:function(){return f},uW:function(){return y}});var n=i(629686),r=i(402748);i(362051),i(679308),i(240148),i(759943),i(374285),i(566071),i(414931);var o=i(30995),a=i(46892),l=i(765583),s=i(855500),d=i(810069),u=i(732199),c=i(911429);let{COMMON_SEARCH_PARAMS:_}=o||{};function m(e){let{aweme_list:t=[],status_code:i,log_pb:n,cursor:r,has_more:o}=e;return{statusCode:i,hasMore:o,awemeList:(0,u.TN)({awemeList:t||[],logPb:n&&JSON.stringify(n)}),logPb:n&&JSON.stringify(n),cursor:r}}async function f(e){let{sentenceId:t,hotWord:i="",offset:o=0,count:a=1}=e,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=await (0,c.U2)("/aweme/v1/web/hot/search/video/list/",(0,r._)((0,n._)({},_),{hotword:i,sentence_id:t,offset:o,count:a,entry_name:"pc_web"}),{},void 0,l,{});return(0,u.RL)(s,m)}async function p(){let{tagId:e="",count:t=10,channelId:i=99,seoFlag:o=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,l=await (0,c.U2)("/aweme/v1/web/channel/hotspot",(0,r._)((0,n._)({},_),{tag_id:e,count:t,"Seo-Flag":o,channel_id:i}),{errorTags:{tagId:e}},void 0,a,{});return(0,u.RL)(l,m)}function v(e){var t;let{data:i,status_code:n,log_pb:r}=e,{word_list:o=[],trending_list:a=[]}=i||{};return{logPb:r&&JSON.stringify(r),statusCode:n,wordList:null==o?void 0:null===(t=o.map)||void 0===t?void 0:t.call(o,e=>({awemeInfos:e.aweme_infos,challengeId:e.challenge_id,discussVideoCount:e.discuss_video_count,driftInfo:e.drift_info,eventTime:e.event_time,groupId:e.group_id,hotValue:e.hot_value,hotlistParam:e.hotlist_param,label:e.label,position:e.position,relatedWords:e.related_words,roomCount:e.room_count,sentenceId:e.sentence_id,sentenceTag:e.sentence_tag,videoCount:e.video_count,viewCount:e.view_count,word:e.word,wordCover:e.word_cover,wordSubBoard:e.word_sub_board,wordType:e.word_type})),trendingList:(a||[]).map(e=>({word:e.word}))}}async function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{boardType:i,boardSubType:o,type:a,cancelCbRef:l}=e||{},s=await (0,c.U2)("/aweme/v1/web/hot/search/list/",(0,r._)((0,n._)({},_),{detail_list:1,source:6,board_type:i,board_sub_type:o,type:a}),{},void 0,t,{},l);return(0,u.RL)(s,v)}let g=function(e){var t,i;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=`&groupId=${n}&rid=${r}`;if(!e)return(0,a.do)("/");let l=!!e.match(/notice_list/),s=!!e.match(/chat\/center.*conversation_id/),d=(null===(i=e.match(RegExp("relation_work.*vid=(?\\d+)")))||void 0===i?void 0:null===(t=i.groups)||void 0===t?void 0:t.vid)||"";if(l)return(0,a.do)(`/?open_notice=true&message_tag=pull${o}`);if(s)return(0,a.do)(`/?open_im=true&message_tag=pull${o}`);if(d)return(0,a.do)(`/?vid=${d}&previous_page=web_code_link&message_tag=pull${o}`);else return(0,a.do)(`/?message_tag=pull${o}`)},w=e=>{let{data:t,status_code:i,status_msg:n}=(0,l.N)({data:{title:"",text:"",image_url:"",extra_str:"",open_url:"",group_id:"",id:""},status_msg:"",status_code:0},e),{title:r,text:o,image_url:a,extra_str:s,open_url:d,group_id:u,id:c}=t||{},_={};try{s&&(_=JSON.parse(s))}catch(e){}return{statusCode:i,statusMsg:n,data:{id:String(c),groupId:String(u),title:r,text:o,imageUrl:a,extra:_,openUrl:g(d,String(u),String(c)),type:(null==_?void 0:_.item_type)==="video"?"hot":"unread"}}},y=async()=>w(await (0,c.v_)("/cloudpush/pull/psort/v2/",(0,r._)((0,n._)({},_,(0,s.a)()),{device_id:(0,d.Es)().user_unique_id,device_platform:"web"}),`push_type=pull&trigger_extra=${JSON.stringify({event_type:"pc_web_round",int64_features:JSON.stringify({follow_work_notice:1,friend_work_notice:1,online_notice:1,pc_client_type:1,recommend_work_notice:1}),trace_id:"71453948996286069901698307131772"})}`))},217969:function(e,t,i){i.d(t,{Ds:function(){return c},Ex:function(){return _},Zt:function(){return u},sX:function(){return s},ul:function(){return m},vo:function(){return d}});var n=i(629686),r=i(402748);i(679308);var o=i(30995),a=i(911429);let{COMMON_SEARCH_PARAMS:l}=o||{};async function s(){return await (0,a.U2)("/aweme/v1/web/notice/count/",(0,r._)((0,n._)({},l),{is_new_notice:1,need_social_count:1}))}async function d(e){return await (0,a.U2)("/aweme/v1/web/notice/",(0,n._)((0,r._)((0,n._)({},l),{is_new_notice:1,is_mark_read:1}),e))}async function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return await (0,a.v_)("/aweme/v1/web/notice/del/",(0,n._)({},l),{action_type:e,notice_id_str:t})}async function c(e){return await (0,a.U2)("/aweme/v1/web/favorite/list/",(0,n._)({},l,e))}async function _(e){return await (0,a.U2)("/aweme/v1/web/notice/digg/list/",(0,n._)({},l,e))}async function m(e){return await (0,a.U2)("/aweme/v1/web/notice/detail/",(0,n._)({},l,e))}},221217:function(e,t,i){i.d(t,{Ex:function(){return u},m:function(){return d}});var n=i(480333),r=i(629686);i(374954),i(490629);var o=i(687581);class a{addConfig(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e5;this.configs.set(e,{url:e,threshold:t,timeWindow:i})}recordRequest(e,t){let i=this.configs.get(e);if(!i)return;let n=Date.now();!this.records.has(e)&&this.records.set(e,{requests:[],fromStats:{}});let o=this.records.get(e);o.requests.push({timestamp:n,from:t}),t&&(o.fromStats[t]=(o.fromStats[t]||0)+1),this.cleanExpiredRequests(o,n,i.timeWindow);let a=o.requests.length;a>=i.threshold&&(this.reporter({url:e,count:a,threshold:i.threshold,timeWindow:i.timeWindow,fromStats:(0,r._)({},o.fromStats),exceededAt:n}),o.requests=[])}cleanExpiredRequests(e,t,i){let n=t-i,r=[],o={};for(let t of e.requests)t.timestamp>=n&&(r.push(t),t.from&&(o[t.from]=(o[t.from]||0)+1));e.requests=r,e.fromStats=o}getStats(e){let t=this.records.get(e);if(!t)return null;let i=this.configs.get(e);return i&&this.cleanExpiredRequests(t,Date.now(),i.timeWindow),{count:t.requests.length,fromStats:(0,r._)({},t.fromStats)}}clearUrl(e){this.records.delete(e)}clearAll(){this.records.clear()}defaultReporter(e){o.oe.event.error({name:o.Mo.RequestTooMuch,report:{url:e.url,fromStats:e.fromStats}})}constructor(e){(0,n._)(this,"records",new Map),(0,n._)(this,"configs",new Map),(0,n._)(this,"reporter",void 0),this.reporter=e||this.defaultReporter}}let l=null;function s(e){return!l&&(l=new a(e)),l}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e5;s().addConfig(e,t,i)}function u(e,t){s().recordRequest(e,t)}},788591:function(e,t,i){i.d(t,{I3:function(){return a},hf:function(){return l},iA:function(){return s}});var n=i(629686),r=i(414986),o=i(861044);let{useStore:a,createStore:l,store:s}=(0,r.Ko)((e,t,i)=>(0,n._)({},(0,o._)(e,t,i)))},222460:function(e,t,i){i.r(t),i.d(t,{tokenBeatInit:function(){return a}}),i(679308);var n=i(618759),r=i(33535);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise(t=>{setTimeout(()=>{t(!0)},e||0)})},a=async e=>{try{(0,r.yZ)(!0),await o(500),await (0,r.Fm)(),await o(5e3);let{loadInitTokenBeat:t}=await i.e("70279").then(i.bind(i,888400)),{initTokenBeat:a}=await t();a({aid:6383,logoutCallBack:null==e?void 0:e.onDrop,requestConfig:{generalParams:{device_platform:(0,n.HA)()},ttwid:!1}})}catch(e){}return null}},561222:function(e,t,i){i.d(t,{Q:function(){return n}});var n={Normal:0,0:"Normal",Gov:1,1:"Gov",OfficialMedia:2,2:"OfficialMedia"}},205030:function(e,t,i){i.d(t,{CJ:function(){return v},Dq:function(){return a},IH:function(){return p},Iy:function(){return y},L4:function(){return s},PY:function(){return c},Q5:function(){return w},TD:function(){return h},_f:function(){return d},bB:function(){return l},dB:function(){return g},f8:function(){return f},fN:function(){return m},hf:function(){return o},iG:function(){return n},k7:function(){return r},n0:function(){return u},xv:function(){return _}});var n={Author:0,0:"Author"},r={QQ:"qq",WX:"wechat",Link:"copy_link",Im:"im"},o={All:1,1:"All",Alnumni:2,2:"Alnumni",Self:3,3:"Self"},a={LastDislikeMinimumTime:2592e5,2592e5:"LastDislikeMinimumTime",LastShowTipMinimumTime:259200001,259200001:"LastShowTipMinimumTime",ShowTipTotal:2,2:"ShowTipTotal",NumberOfSkipsPerMinute:3,3:"NumberOfSkipsPerMinute",PeriodOfCounting:6e4,6e4:"PeriodOfCounting",SkipTime:2e3,2e3:"SkipTime",ThreeDay:259200002,259200002:"ThreeDay",ThirtyDay:2592e6,2592e6:"ThirtyDay"},l={All:"all",Part:"part",None:""},s={EMPTY:0,0:"EMPTY",IN_LIVE:1,1:"IN_LIVE",ON_LINE:2,2:"ON_LINE",RECENTLY_ONLINE:3,3:"RECENTLY_ONLINE",RECENTLY_IN_LIVE:4,4:"RECENTLY_IN_LIVE",HAS_NEW_PRODUCE:5,5:"HAS_NEW_PRODUCE",HAS_NEW_PUBLISH:6,6:"HAS_NEW_PUBLISH",SIGNATURE:7,7:"SIGNATURE",NICKNAME:8,8:"NICKNAME",IS_CANCELED:9,9:"IS_CANCELED",OFTEN_WATCH:12,12:"OFTEN_WATCH",SHOP_SALE_MSG:13,13:"SHOP_SALE_MSG"},d={authorCard:"author_card",like:"like",record:"record"},u={DEFAULT:"default",HEADER_VARIANT_66:"header-variant-66",HEADER_VARIANT_68:"header-variant-68",HEADER_VARIANT_72:"header-variant-72"};let c={1:"vertical",2:"horizontal"},_={1:"portrait",2:"landscape"};var m={NoLimit:-1,"-1":"NoLimit",Watching:0,0:"Watching",Watched:1,1:"Watched"},f={NoLimit:0,0:"NoLimit",SecondDimension:1,1:"SecondDimension",Music:2,2:"Music",Sports:3,3:"Sports",Movie:4,4:"Movie",Game:5,5:"Game"},p={NoLimit:0,0:"NoLimit",LessThenOne:1,1:"LessThenOne",OneToThree:2,2:"OneToThree",ThreeToTen:3,3:"ThreeToTen",MoreThenTen:4,4:"MoreThenTen"},v={click:0,0:"click",scroll:1,1:"scroll",drag:2,2:"drag",hotkey:3,3:"hotkey",auto:4,4:"auto"},h={Normal:0,0:"Normal",Fast:1,1:"Fast",Slow:2,2:"Slow"},g={speaker:0,0:"speaker",external:1,1:"external",unknow:-1,"-1":"unknow"},w={slow:"1",normal:"2",fast:"3"},y={Refresh:0,0:"Refresh",LoadMore:2,2:"LoadMore",ForCache:8,8:"ForCache"}},294988:function(e,t,i){i.d(t,{J:function(){return n},b:function(){return r}});var n={NoRight:0,0:"NoRight",Success:1,1:"Success",InEffect:2,2:"InEffect",ExpiredNeedTips:3,3:"ExpiredNeedTips",ExpiredAlreadyTips:4,4:"ExpiredAlreadyTips",Fail:5,5:"Fail"};let r={0:"",1:"已为您开启免广告模式,有效期3天",5:"登录成功,领取失败",2:"已为您开启免广告模式",3:"免广告体验已到期",4:""}},855357:function(e,t,i){i.d(t,{e:function(){return n}});var n={Normal:0,0:"Normal",Playback:59,59:"Playback",Note:68,68:"Note",LiveCard:101,101:"LiveCard",VarietyVideo:105,105:"VarietyVideo",XgVideo:107,107:"XgVideo",WordCupCard:"wordCupCard",Lvideo:128,128:"Lvideo",Replay:105,105:"Replay",FollowWidgetCard:"followWidgetCard",NewNormal:4,4:"NewNormal",Canvas:109,109:"Canvas",Article:163,163:"Article",Slides:151,151:"Slides",NoLoginVideoGuide:10001001,10001001:"NoLoginVideoGuide",SmartMusicCard:55,55:"SmartMusicCard",PhotoToSlideShowVideo:61,61:"PhotoToSlideShowVideo"}},86096:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{d:"M2.022 4.997A.6.6 0 0 1 2.472 4h7.057a.6.6 0 0 1 .45.997L6.6 8.826a.8.8 0 0 1-1.2 0L2.022 4.997z",fill:"#2F3035",fillOpacity:".7"})})));t.Z=l},772019:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({width:28,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("rect",{width:28,height:15,rx:7.5,fill:"#FE2C55"}),(0,o.jsx)("path",{d:"M8.05 4v4.27L5.05 4H4v7h1.38V6.72l3 4.28h1.05V4H8.05zM12.108 9.68V8.11h2.65v-1.3h-2.65V5.32h2.9V4h-4.28v7h4.33V9.68h-2.95zM17.491 11h1.57l1.31-4.62 1.32 4.62h1.57l1.96-7h-1.45l-1.34 5.19L20.961 4h-1.18l-1.46 5.19L16.981 4h-1.45l1.96 7z",fill:"#fff"})]})));t.Z=l},333666:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({width:29,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("rect",{width:29,height:12,rx:6,fill:"#FE2C55"}),(0,o.jsx)("path",{d:"M4.967 9.341h1.27V5.285h.07l2.936 4.056h1.099V3h-1.27v4.039h-.07L6.074 3H4.967v6.341zM11.384 9.341h4.201V8.247h-2.874V6.643h2.712v-1.02H12.71V4.095h2.874V3h-4.2v6.341zM17.78 9.341h1.252l1.186-4.271h.07l1.2 4.271h1.244L24.415 3h-1.371l-.98 4.53h-.07L20.816 3h-1.12L18.54 7.53h-.07L17.48 3H16.1l1.68 6.341z",fill:"#fff"})]})));t.Z=l},56144:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({width:15,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 15.473a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15zm.034-12c-.956 0-1.842.367-2.45 1.076-.076.089-.162.22-.243.36-.209.357-.056.805.308.999l.027.014c.396.211.842-.003 1.114-.36.3-.393.715-.588 1.244-.588.787 0 1.338.327 1.338.992 0 .536-.427.94-.91 1.371l-.03.028c-.517.469-1.05.953-1.277 1.857-.01.04-.02.088-.028.14-.077.464.31.86.779.86.423 0 .753-.33.858-.74a.984.984 0 0 1 .027-.092c.185-.512.535-.848.885-1.152.676-.6 1.324-1.227 1.324-2.272 0-1.619-1.366-2.493-2.966-2.493zm-.034 7.5a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25z",fill:"#2F3035",fillOpacity:".4"})})));t.Z=l},997962:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("g",{filter:"url(#arrowShadow_svg__filter0_d_3249_16230)",clipPath:"url(#arrowShadow_svg__clip0_3249_16230)",children:(0,o.jsx)("path",{d:"M8.495 2.104a.72.72 0 0 0-1.017 0l-5 4.986a.72.72 0 1 0 1.017 1.02L7.28 4.335V13.4a.72.72 0 1 0 1.44 0V4.362l3.758 3.748a.72.72 0 1 0 1.017-1.02l-5-4.986z",fill:"#fff"})}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("filter",{id:"arrowShadow_svg__filter0_d_3249_16230",x:1.267,y:1.894,width:13.44,height:14.227,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,o.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,o.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,o.jsx)("feOffset",{dy:1}),(0,o.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,o.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,o.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,o.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_3249_16230"}),(0,o.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3249_16230",result:"shape"})]}),(0,o.jsx)("clipPath",{id:"arrowShadow_svg__clip0_3249_16230",children:(0,o.jsx)("path",{fill:"#fff",transform:"rotate(-90 8 8)",d:"M0 0h16v16H0z"})})]})]})));t.Z=l},448458:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.195 4.862a.667.667 0 0 0 0 .943l5.334 5.333c.26.26.682.26.942 0l5.334-5.333a.667.667 0 1 0-.943-.943L8 9.724 3.138 4.862a.667.667 0 0 0-.943 0z",fill:"#fff",fillOpacity:".5"})})));t.Z=l},892603:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({width:21,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{d:"M10.975 6.025l4.259 4.259c.12.12.12.313 0 .432l-4.259 4.259M14.979 10.5H5.55",stroke:"#00CCC4",strokeWidth:1.4,strokeLinecap:"round"})})));t.Z=l},115189:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("path",{d:"M1 8a7 7 0 0 1 7-7v0a7 7 0 0 1 7 7v0a7 7 0 0 1-7 7v0a7 7 0 0 1-7-7v0z",stroke:"#fff",strokeWidth:2}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.587 8L5 9.588 6.414 11 8 9.415l1.588 1.587 1.414-1.415-1.587-1.586 1.587-1.586L9.589 5 8 6.587 6.414 5 5 6.414l1.587 1.587z",fill:"#fff"})]})));t.Z=l},929045:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("circle",{cx:10,cy:10,r:10,fill:"url(#recommend_svg__paint0_linear_7909_420438)"}),(0,o.jsx)("path",{d:"M12.066 13.725H8.172V8.663l2.24-2.239a.688.688 0 0 1 .973 0 .637.637 0 0 1 .156.409v.136l-.429 1.694h2.122c.208 0 .39.078.545.234a.747.747 0 0 1 .234.545v.779a.797.797 0 0 1-.058.292l-1.169 2.745a.786.786 0 0 1-.292.33.76.76 0 0 1-.428.137zm-4.52-5.062v5.062h-.933a.625.625 0 0 1-.625-.625V9.288c0-.345.28-.625.625-.625h.933z",fill:"#fff"}),(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{id:"recommend_svg__paint0_linear_7909_420438",x1:10,y1:0,x2:10,y2:20,gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#88FFB9"}),(0,o.jsx)("stop",{offset:1,stopColor:"#13C15A"})]})})]})));t.Z=l},30133:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",ref:t},e),{children:[(0,o.jsx)("path",{opacity:".1",d:"M0 9a9 9 0 1 1 18 0A9 9 0 0 1 0 9z",fill:"#FE2C55"}),(0,o.jsx)("path",{d:"M13.25 11.083c-.016.04-.22.726-.72 1.426-.44.61-.888 1.22-1.598 1.23-.7.01-.924-.4-1.723-.4s-1.05.39-1.713.41c-.684.025-1.211-.665-1.65-1.27-.892-1.23-1.582-3.507-.657-5.027a2.582 2.582 0 0 1 2.161-1.26c.668-.01 1.31.434 1.718.434.418 0 1.19-.54 2.005-.46.34.015 1.295.135 1.905.99-.046.03-1.138.65-1.127 1.906.01 1.516 1.383 2.016 1.399 2.021zm-2.715-5.727c.365-.43.61-1.02.543-1.606-.522.02-1.164.335-1.54.76-.334.37-.632.97-.548 1.551.58.03 1.18-.295 1.545-.705z",fill:"#F92378"})]})));t.Z=l},398631:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{d:"M13.667 13.667a.757.757 0 0 1-1.07 0l-2.32-2.319-2.318 2.32a.757.757 0 0 1-1.07-1.071l2.318-2.32L6.888 7.96a.757.757 0 1 1 1.07-1.07l2.32 2.318 2.319-2.319a.757.757 0 1 1 1.07 1.07l-2.319 2.32 2.32 2.319a.757.757 0 0 1 0 1.07z",fill:"#fff",fillOpacity:".5"})})));t.Z=l},506216:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 18.75H6v-1.5h12v1.5zM11.25 13.19V5h1.5v8.19l3.22-3.22 1.06 1.06-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5 1.06-1.06 3.22 3.22z",fill:"#fff"})})));t.Z=l},671537:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",ref:t},e),{children:[(0,o.jsx)("path",{opacity:".1",d:"M0 9a9 9 0 1 1 18 0A9 9 0 0 1 0 9z",fill:"#FE2C55"}),(0,o.jsx)("path",{d:"M12.744 7.615H9.81V4.657a.4.4 0 0 0-.715-.248L4.909 9.737a.4.4 0 0 0 .314.648h2.935v2.958a.4.4 0 0 0 .714.248l4.187-5.328a.4.4 0 0 0-.315-.648z",fill:"#F92378"})]})));t.Z=l},900933:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,r._)((0,n._)({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",ref:t},e),{children:(0,o.jsx)("path",{d:"M5.96 4.973a.857.857 0 0 1 1.212 0l3.111 3.112a.857.857 0 0 1 0 1.212l-.007.007-3.104 3.104a.857.857 0 1 1-1.212-1.212L8.465 8.69 5.96 6.185a.857.857 0 0 1 0-1.212z",fill:"#fff",fillOpacity:".5",opacity:".7"})})));t.Z=l},100553:function(e,t,i){var n=i(629686),r=i(402748),o=i(320165),a=i(101199);let l=(0,a.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,r._)((0,n._)({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",ref:t},e),{children:[(0,o.jsx)("path",{d:"M11.569 4.675a.98.98 0 0 1 1.862 0l1.458 4.071 4.159.19c.918.042 1.295 1.252.575 1.85l-3.257 2.706 1.112 4.189c.245.925-.74 1.673-1.507 1.143l-3.471-2.4-3.471 2.4c-.767.53-1.753-.218-1.507-1.143l1.112-4.19-3.257-2.705c-.72-.598-.343-1.808.575-1.85l4.159-.19 1.458-4.071z",fill:"url(#header-collect_svg__paint0_linear_10764_120576)"}),(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{id:"header-collect_svg__paint0_linear_10764_120576",x1:5.765,y1:5.224,x2:20,y2:19,gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#FFDEB0"}),(0,o.jsx)("stop",{offset:1,stopColor:"#FF952C"})]})})]})));t.Z=l}}]);