"use strict";(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["72230"],{178834:function(e,t,i){i.d(t,{H:function(){return x}});var l=i("320165"),a=i("101199"),n=i("469935"),o=i.n(n),r=i("966473"),s=i("601034"),d=i("414061"),u=i("638052"),c=i("569525"),v=i("629686"),m=i("402748");let f=(0,a.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,m._)((0,v._)({width:34,height:34,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsx)("g",{filter:"url(#entryIcon_svg__filter0_d_219_5917)",children:(0,l.jsx)("path",{d:"M22.94 21.309l.58 1.364a45.819 45.819 0 0 0 2.125 4.34l.528.947-.108.056-1.077.543-.102.052-.054-.102-.576-1.087a44.077 44.077 0 0 1-.22-.423 7.704 7.704 0 0 0-3.902.001c-.087.169-.154.3-.219.422l-.576 1.087-.054.102-.102-.052-1.077-.543-.108-.056.059-.106.468-.841a45.902 45.902 0 0 0 2.125-4.34l.58-1.364.038-.086.091.017c.482.086.97.086 1.451 0l.093-.017.037.086zm6.011-.019a3.731 3.731 0 0 0-.173.9c-.022.342-.034.69-.034 1.035v3.067c0 .345.012.694.034 1.035l.022.227c.029.226.08.452.151.673l.05.153h-1.92l.049-.153c.095-.295.153-.597.173-.9.022-.345.033-.694.033-1.035v-3.067c0-.34-.01-.689-.033-1.034a3.753 3.753 0 0 0-.173-.9l-.05-.154h1.921l-.05.153zM17.161 5.395l.123.008a4.527 4.527 0 0 1 3.14 1.602 4.367 4.367 0 0 1 1.033 2.978l-.005.109c-.015.284-.063.56-.13.828l-.117.447 1.964-.504.113-.027c2.38-.549 4.824.818 5.465 3.136l.05.184a4.368 4.368 0 0 1-.534 3.265l-.06.097a4.495 4.495 0 0 1-1.965 1.674c-3.71 1.444-5.893-1.51-6.663-3.187l.134-.034 2.236-.575c.033.329.136.661.333.984a2.5 2.5 0 0 0 2.51 1.157l.113-.021a2.456 2.456 0 0 0 1.384-.825l.297-.448a2.37 2.37 0 0 0 .209-1.637l-.018-.075c-.334-1.268-1.63-2.035-2.914-1.753h-.01l-7.51 1.916h-.022a.056.056 0 0 1-.02-.01.048.048 0 0 1-.017-.037l.014-.205.136-2.238c.327.071.682.079 1.054-.008.973-.227 1.74-1.006 1.894-1.992a2.371 2.371 0 0 0-.303-1.578l-.055-.09a2.46 2.46 0 0 0-1.855-1.118l-.076-.006c-1.323-.076-2.469.897-2.596 2.188v.009l-.47 7.62a.047.047 0 0 1-.053.04l-.013-.002-.166-.065-2.15-.83c.169-.284.285-.612.316-.987l.007-.092a2.443 2.443 0 0 0-1.263-2.256l-.084-.043-.105-.048a2.482 2.482 0 0 0-1.508-.155l-.104.024a2.443 2.443 0 0 0-1.683 1.46c-.487 1.219.104 2.59 1.31 3.109l.008.003 7.22 2.797c.03.012.036.048.02.068l-.114.136-1.467 1.759a2.335 2.335 0 0 0-.79-.573l-.068-.03-.086-.034c-.873-.321-1.878-.147-2.566.484l-.069.065a2.407 2.407 0 0 0 .188 3.584 2.49 2.49 0 0 0 3.404-.268l.006-.006 3.485-4.165v3.166l-.5.607v-.004l-1.29 1.543c-1.559 1.868-4.346 2.229-6.28.782l-.092-.07a4.41 4.41 0 0 1-1.668-3.076l-.009-.113a4.384 4.384 0 0 1 1.619-3.688l.357-.297-1.892-.729c-2.323-.895-3.535-3.457-2.656-5.739a4.475 4.475 0 0 1 2.565-2.555 4.577 4.577 0 0 1 4.068.373l.393.244.12-1.995h-.001c.146-2.447 2.248-4.375 4.728-4.258zm4.679 17.909a45.987 45.987 0 0 1-.964 2.191 9.16 9.16 0 0 1 2.417 0 45.878 45.878 0 0 1-.963-2.191l-.245-.6-.245.6z",fill:"#fff"})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:"entryIcon_svg__filter0_d_219_5917",x:0,y:0,width:34.001,height:34,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,l.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,l.jsx)("feOffset",{}),(0,l.jsx)("feGaussianBlur",{stdDeviation:2.5}),(0,l.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,l.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),(0,l.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_219_5917"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_219_5917",result:"shape"})]})})]})));var p=i("176449"),h=i("195446");let x=e=>{let{awemeInfo:t,className:i,isShowAiCard:n,onAiRelatedClick:v}=e,m=(0,a.useRef)(null),x=(0,r.x)(()=>{u.logInstance.sendLog("aiChatButtonShow",{enter_from:(0,s.yW)(),ai_chat_button_position:"head_entry",group_id:null==t?void 0:t.awemeId})});return(0,l.jsxs)("div",{ref:x,className:o()(c.default.aiDouyinEntry,"ai-douyin-entry",i),onClick:()=>{if(!n){var e,i,l;null==m||null===(l=m.current)||void 0===l||null===(i=l.getLottieInstance())||void 0===i||null===(e=i.goToAndPlay)||void 0===e||e.call(i,0)}u.logInstance.sendLog("aiChatButtonClick",{enter_from:(0,s.yW)(),ai_chat_button_position:"head_entry",group_id:null==t?void 0:t.awemeId}),v?(v(),d.emit(d.EVENT.renderAiSearchCard,{awemeId:null==t?void 0:t.awemeId,from:h.jE.HeadEntry})):d.emit(d.EVENT.toggleAiCard,{awemeId:t.awemeId,from:"head_entry"})},onMouseEnter:()=>{!v&&d.emit(d.EVENT.renderAiCard,{awemeId:t.awemeId,from:"head_entry"})},children:[(0,l.jsx)("div",{className:c.default.blurBgContianer,children:(0,l.jsx)("div",{className:c.default.blurBg})}),(0,l.jsx)(p.Z,{className:o()(c.default.aiDouyinIcon),src:f,width:32,height:32,viewBox:"0 0 34 34"})]})}},931442:function(e,t,i){i.d(t,{Z:function(){return f}});var l=i("629686"),a=i("402748"),n=i("811603");i("490629");var o=i("320165"),r=i("101199"),s=i("469935"),d=i.n(s),u=i("48795"),c=i("118616");let v=(0,r.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,a._)((0,l._)({fill:"none",stroke:"currentColor",strokeWidth:4,viewBox:"0 0 48 48","aria-hidden":"true",className:"loading_svg__arco-icon loading_svg__arco-icon-loading",ref:t},e),{children:(0,o.jsx)("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6"})})));var m=i("223958"),f=e=>{var{onClick:t,children:i,className:s,disabled:f}=e,p=(0,n._)(e,["onClick","children","className","disabled"]);let[h,x]=(0,r.useState)(!1),g=(0,r.useCallback)(async()=>{if(!!t)try{x(!0),await t()}catch(e){}finally{x(!1)}},[t]);return(0,o.jsxs)(u.Button,(0,a._)((0,l._)({width:132},p),{className:d()([m.default.favBtn,s]),disabled:!!h||f,onClick:g,theme:"solid",children:[h&&(0,o.jsx)(c.Z,{src:v,className:m.default.icon,viewBox:"0 0 48 48"}),i]}))}},330336:function(e,t,i){i.d(t,{Z:function(){return et}});var l=i("629686"),a=i("320165"),n=i("101199");i("490629");var o={Loading:0,0:"Loading",Empty:1,1:"Empty",Collect:2,2:"Collect",CreateCollection:3,3:"CreateCollection",EditCollection:4,4:"EditCollection"};i("374954"),i("706056"),i("679308"),i("76375");var r=i("795568"),s=i("344780"),d=i("402748"),u=i("708003");let c={collects:[],hasMore:!0,cursor:0,total:9},v=e=>new Promise(t=>setTimeout(t,e)),m=()=>{let[e,t]=(0,n.useState)(c.collects),[i,a]=(0,n.useState)(c.hasMore),[o,s]=(0,n.useState)({list:!1}),m=(0,n.useRef)({cursor:c.cursor,total:0}),f=(0,n.useCallback)(async function(){let{triggerLoading:e=!0,reset:n=!1,needHold:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{if(e&&s(e=>(0,d._)((0,l._)({},e),{list:!0})),o&&await v(500),!n&&!i)return e&&s(e=>(0,d._)((0,l._)({},e),{list:!1})),[];let u=n?0:m.current.cursor,f=await (0,r.So)({cursor:u,offset:20});if(0!==f.statusCode)throw Error();return m.current.cursor=f.cursor,m.current.total=f.total,c.cursor=f.cursor,c.total=f.total,a(f.hasMore),c.hasMore=f.hasMore,t(e=>n?f.data:[...e,...f.data]),c.collects=n?f.data:[...c.collects,...f.data],f.data}catch(e){return u.F.info("网络错误"),[]}finally{e&&s(e=>(0,d._)((0,l._)({},e),{list:!1}))}},[i]),p=(0,n.useCallback)(e=>{t(t=>[...e,...t]),c.collects=[...e,...c.collects]},[]),h=(0,n.useCallback)(function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(!!e)t(c.collects),a(c.hasMore),m.current.cursor=c.cursor,m.current.total=c.total},[]);return{state:{collects:e,hasMore:i,loading:o},refs:{resRef:m},action:{getCollects:f,addCollects:p,reset:h}}},f=(0,n.createContext)(null),p=()=>(0,n.useContext)(f);var h=i("606222");let x={init:!1},g=e=>{let[t,i]=(0,n.useState)(!1),a=function(e){let{awemeInfo:t,collectMethod:i,unCollectMethod:a,collected:o,onCollectDone:d,onMove:u,selectType:c="multi"}=e,v=(0,s.TB)(e=>e.collectCount),m=p(),[f,x]=(0,n.useState)([]),[g,y]=(0,n.useState)([]),k=(0,n.useCallback)(e=>{if("single"===c){y([e]);return}let t=[...g],i=t.indexOf(e);-1===i?t.push(e):t.splice(i,1),y(t)},[g,c]),_=(0,n.useCallback)(e=>{let a=m.state.collects.filter(t=>null==e?void 0:e.includes(t.collectionFolderId)),n=(a||[]).map(e=>e.collectionFolderName),s=(a||[]).map(e=>e.collectionFolderId),u={folder_name:n.join(","),folder_id:s.join(",")};(0,h.g)("click_favorite_video",u);let c=async()=>{if(!(null==e?void 0:e.length))return null==d||d(),{statusCode:0};try{return await Promise.all(a.map(async e=>{let{status_code:i}=await (0,r.RX)({item_ids:[t.awemeId],item_type:2,to_collects_id:e.collectionFolderId,collects_name:e.collectionFolderName,update_collects_sort:!0,move_collects_list:s});if(i)throw Error()})),await m.action.getCollects({reset:!0,triggerLoading:!1,needHold:!0}),{statusCode:0,successMsg:"视频收藏成功,可以在「我的」主页-收藏夹查看"}}catch(e){return{statusCode:1,successMsg:"移动至收藏夹失败"}}finally{y([]),null==d||d()}};if(o){c();return}i({logParams:(0,l._)({click_from:"panel",click_method:"panel"},u),nextFunc:c})},[t,i,d,m.action.getCollects,m.state.collects,o]),w=(0,n.useCallback)(()=>{null==a||a({logParams:{click_method:"panel",click_from:"panel"},nextFunc:async()=>{try{return await m.action.getCollects({reset:!0,triggerLoading:!1,needHold:!0}),{statusCode:0}}catch(e){return{statusCode:1}}}})},[t,a,m.action.getCollects]),E=(0,n.useCallback)(()=>_(g),[_,g]),C=(0,n.useCallback)(async()=>{try{await u(g,f),await m.action.getCollects({reset:!0,triggerLoading:!1})}catch(e){}},[u,g,f]),S=(0,n.useCallback)(e=>{m.action.addCollects([e]),x(t=>[e,...t]),k(e.collectionFolderId)},[k,m.action.addCollects]),b=(0,n.useCallback)(()=>{y([]),m.action.reset()},[m.action.reset]),I=(0,n.useCallback)(()=>y([]),[]);return{state:{collects:m.state.collects,newCollects:f,selectedIds:g,hasMore:m.state.hasMore,loading:m.state.loading,collected:o,collectCount:v},refs:{collectionRefs:m.refs},action:{getCollects:m.action.getCollects,toggleSelectedId:k,collect:_,unCollect:w,collectToCollection:E,addCollect:S,moveToCollection:C,reset:b,resetSelectedIds:I}}}(e),d=(0,n.useRef)(e.collected),u=(0,n.useMemo)(()=>x.init||e.awaysReset?t?o.CreateCollection:a.state.loading.list?o.Loading:a.state.collects.length?o.Collect:o.Empty:o.Loading,[a.state.loading.list,a.state.collects,t,e.awaysReset]),c=(0,n.useCallback)(t=>{var l;null===(l=e.onCreateDone)||void 0===l||l.call(e),i(!1),a.action.addCollect(t)},[e.onCreateDone,a.action.getCollects]),v=(0,n.useCallback)(()=>i(!0),[]);return(0,n.useEffect)(()=>{if(e.awaysReset){e.show&&(a.action.getCollects({reset:!0}),i(!1),a.action.resetSelectedIds());return}if(x.init){a.action.reset(),i(!1);return}e.show&&!x.init&&(x.init=!0,a.action.getCollects({reset:!0}))},[e.show,e.awaysReset,a.action.reset]),(0,n.useEffect)(()=>{if(e.collected!==d.current)d.current=e.collected,a.action.getCollects({reset:!0})},[e.collected,a.action.getCollects]),(0,n.useEffect)(()=>{var t,i;if(!!e.show&&!!(null===(t=e.awemeInfo)||void 0===t?void 0:t.awemeId)&&u!==o.Loading)(0,h.g)("add_to_favorite_folder_panel_show",{group_id:null===(i=e.awemeInfo)||void 0===i?void 0:i.awemeId,folder_cnt:a.refs.collectionRefs.resRef.current.total})},[e.show,e.awemeInfo,u]),{props:e,collection:a,state:{status:u},action:{handleCreateDone:c,toCreateCollection:v}}},y=(0,n.createContext)(null),k=()=>(0,n.useContext)(y);var _=i("497281"),w=i("811603"),E=i("118616");let C=(0,n.forwardRef)((e,t)=>(0,a.jsx)("svg",(0,d._)((0,l._)({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",ref:t},e),{children:(0,a.jsx)("path",{d:"M8 15.167A6.667 6.667 0 1 0 8 1.833a6.667 6.667 0 0 0 0 13.334zM8 11.5a.667.667 0 0 1-.666-.667V9.167H5.667a.667.667 0 0 1 0-1.334h1.667V6.167a.667.667 0 0 1 1.333 0v1.666h1.667a.667.667 0 1 1 0 1.334H8.667v1.666a.667.667 0 0 1-.666.667z",fill:"#fff",fillOpacity:".34"})})));var S=i("541804"),b=i("566408"),I=e=>{var{showCreate:t,title:i,syncCreateModalShow:o}=e,r=(0,w._)(e,["showCreate","title","syncCreateModalShow"]);let{open:s,show:u,modal:c}=(0,b.Z)((0,d._)((0,l._)({},r),{disablePlayNextControl:!0})),v=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!!o)return v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{null==o||o(u)},500),()=>{clearTimeout(v.current)}},[u,o]),(0,a.jsxs)("div",{className:S.default.header,children:[(0,a.jsx)("span",{className:S.default.text,children:i}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:S.default.btn,onClick:s,children:[(0,a.jsx)(E.Z,{src:C,className:S.default.icon,viewBox:"0 0 16 17"}),(0,a.jsx)("span",{children:"新建"})]}),c]})]})},N=()=>{let e=k(),t=o.Empty===e.state.status,i=o.Collect===e.state.status;if(o.Loading===e.state.status)return null;if("modal"===e.props.type){let l="single"===e.props.selectType?"选择收藏夹":"收藏视频到";return(0,a.jsx)(_.Z,{title:i||t?l:"新建收藏夹",onClose:e.props.onClose})}return"popover"===e.props.type?(0,a.jsx)(I,{title:"选择收藏夹",showCreate:i,syncCreateModalShow:e.props.syncCreateModalShow,onOpen:e.props.onCreateOpen,onDone:e.action.handleCreateDone}):null},j=i("286114"),A=i("983218"),P=i("933524"),L=i("48795"),T=i("414061"),D=i("920976"),M=i("372316");let R=(0,n.forwardRef)((e,t)=>(0,a.jsxs)("svg",(0,d._)((0,l._)({width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,a.jsx)("g",{clipPath:"url(#defaultCover_svg__clip0_6065_239239)",children:(0,a.jsx)("path",{d:"M14.259 3.908A4.073 4.073 0 0 1 12.385.5H9.428l-.005 11.712c-.05 1.312-1.142 2.365-2.48 2.365-.417 0-.809-.103-1.154-.283a2.456 2.456 0 0 1-1.333-2.174c0-1.354 1.116-2.457 2.486-2.457.256 0 .501.042.734.114V6.793a5.54 5.54 0 0 0-.734-.052c-3 0-5.442 2.413-5.442 5.38 0 1.82.92 3.43 2.324 4.404a5.455 5.455 0 0 0 3.119.975c3.001 0 5.443-2.413 5.443-5.38V6.181A7.088 7.088 0 0 0 16.5 7.488V4.566a4.129 4.129 0 0 1-2.241-.658z",fill:"#fff",fillOpacity:".34"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"defaultCover_svg__clip0_6065_239239",children:(0,a.jsx)("path",{fill:"#fff",transform:"translate(.5 .5)",d:"M0 0h17v17H0z"})})})]})));var V=i("452362"),B=e=>{let{cover:t,name:i,count:l,secret:o,children:r}=e,[s,d]=(0,n.useState)("");return(0,n.useEffect)(()=>{if(0===l||!t)return;let e=new Image;e.onload=()=>{d(t)},e.src=t},[t,l]),(0,a.jsxs)("div",{className:V.default.collection,children:[(0,a.jsxs)("div",{className:V.default.left,children:[(0,a.jsxs)("div",{className:V.default.coverWrapper,children:[(0,a.jsx)(E.Z,{src:R,className:V.default.defaultCover,viewBox:"0 0 18 18"}),s&&(0,a.jsx)("div",{className:V.default.imgWrapper,children:(0,a.jsx)("img",{width:28,height:28,src:s,className:V.default.cover})})]}),(0,a.jsx)("span",{className:V.default.name,children:i}),o&&(0,a.jsx)(E.Z,{src:M.Z,className:V.default.secret,viewBox:"0 0 14 16"}),(0,a.jsx)("span",{className:V.default.count,children:l})]}),r]})},O=()=>{let e=k(),[t,i]=(0,P.Z)(),l=(0,n.useRef)(null),o=(0,n.useMemo)(()=>e.collection.state.collects.map(t=>(e.props.disabledCollectionIds||[]).includes(t.collectionFolderId)?null:(0,a.jsx)(B,{cover:t.cover,name:t.collectionFolderName,count:t.videoTotal,secret:0===t.status,children:"multi"===e.props.selectType?(0,a.jsx)(L.Checkbox,{className:D.default.checkbox,checked:e.collection.state.selectedIds.includes(t.collectionFolderId),onChange:()=>e.collection.action.toggleSelectedId(t.collectionFolderId)}):(0,a.jsx)(L.Radio,{value:t.collectionFolderId})},t.collectionFolderId)),[e.collection.state.collects,e.props.disabledCollectionIds,e.props.selectType,e.collection.state.selectedIds,e.collection.action.toggleSelectedId]);return(0,n.useEffect)(()=>{if(!!i)e.collection.action.getCollects({triggerLoading:!1})},[i]),(0,n.useEffect)(()=>{var t,i;if("modal"===e.props.type){if(e.props.show)return;null===(t=l.current)||void 0===t||t.scrollTo(0,0)}else{if(!e.props.show)return;null===(i=l.current)||void 0===i||i.scrollTo(0,0)}},[e.props.show,e.props.type]),(0,n.useEffect)(()=>T.listen(T.EVENT.NewCollection,()=>{var e;null===(e=l.current)||void 0===e||e.scrollTo(0,0)}),[]),(0,n.useEffect)(()=>{let e=e=>null==e?void 0:e.stopPropagation(),t=l.current;return null==t||t.addEventListener("touchstart",e,!0),null==t||t.addEventListener("touchmove",e,!0),null==t||t.addEventListener("touchend",e,!0),()=>{null==t||t.removeEventListener("touchstart",e),null==t||t.removeEventListener("touchmove",e),null==t||t.removeEventListener("touchend",e)}},[]),(0,a.jsxs)("div",{ref:l,className:D.default.list,children:["multi"===e.props.selectType?(0,a.jsxs)(a.Fragment,{children:[e.props.showDefaultCollection&&(0,a.jsx)(B,{name:"默认收藏列表",count:e.collection.state.collectCount,secret:!1,children:(0,a.jsx)(L.Checkbox,{className:D.default.checkbox,checked:!0})},"defaultCollection"),o]}):(0,a.jsx)(L.RadioGroup,{defaultValue:e.collection.state.selectedIds[0],onChange:t=>e.collection.action.toggleSelectedId(t.target.value),children:o}),e.collection.state.hasMore&&(0,a.jsx)("div",{ref:t,className:D.default.loading,children:(0,a.jsx)(A.gb,{})})]})},G=i("364861"),z=i("449792");let F=(0,n.forwardRef)((e,t)=>(0,a.jsx)("svg",(0,d._)((0,l._)({xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none",ref:t},e),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.75 13.333a.75.75 0 0 0 1.5 0V8.75h4.583a.75.75 0 0 0 0-1.5H9.249V2.667a.75.75 0 1 0-1.5 0V7.25H3.166a.75.75 0 1 0 0 1.5h4.583v4.583z",fill:"#fff"})})));var Z=i("931442"),U=i("316213"),H=()=>{let e=k(),{open:t,show:i,modal:l}=(0,b.Z)({onDone:e.action.handleCreateDone,onOpen:e.props.onCreateOpen}),o=(0,n.useRef)(null),r=(0,n.useCallback)(()=>{switch(e.props.type){case"popover":t();return;case"modal":e.action.toCreateCollection();return;default:return}},[t,e.props.type,e.action.toCreateCollection]);return(0,n.useEffect)(()=>{if(!!e.props.syncCreateModalShow)o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{var t,l;null===(t=(l=e.props).syncCreateModalShow)||void 0===t||t.call(l,i)},500)},[i,e.props.syncCreateModalShow]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:z.default.empty,children:[(0,a.jsx)(U.z,{svg:(0,a.jsx)(G.Z,{className:z.default.icon}),style:{fontSize:"82px"}}),(0,a.jsx)("span",{className:z.default.text,children:"暂无收藏夹~"}),(0,a.jsxs)(Z.Z,{className:z.default.btn,onClick:r,children:[(0,a.jsx)(E.Z,{src:F,className:z.default.iconAdd,viewBox:"0 0 17 16"}),"新建收藏夹"]})]}),l]})},K=i("920528"),W=()=>{let e=k();switch(e.state.status){case o.Loading:return(0,a.jsx)(A.gb,{className:j.default.loading});case o.Empty:return(0,a.jsx)(H,{});case o.Collect:return(0,a.jsx)(O,{});case o.CreateCollection:return(0,a.jsx)(K.Z,{onDone:e.action.handleCreateDone});default:return null}},Y=i("469935"),$=i.n(Y),q=i("562844"),X=()=>{let e=k(),t=e.props.collected?"已收藏视频":"仅收藏视频",{showDefaultCollection:i}=e.props,l=(0,n.useCallback)(()=>{e.props.collected?e.collection.action.unCollect():e.collection.action.collect()},[e.props.collected,e.collection.action.collect,e.collection.action.unCollect]),r=(0,n.useCallback)(()=>{(0,h.g)("create_favorite_folder_click",{click_position:"favorite_folder_panel"}),e.action.toCreateCollection()},[e.action.toCreateCollection]);return e.state.status!==o.Collect?null:(0,a.jsxs)("div",{className:$()([q.default.footer,"popover"===e.props.type&&q.default.popper]),children:["modal"===e.props.type&&(0,a.jsx)(Z.Z,{type:"secondary",onClick:r,children:"新建收藏夹"}),"popover"===e.props.type&&!e.props.hideCollectButton&&(0,a.jsx)(Z.Z,{type:"secondary",onClick:l,children:t}),e.props.onMove?(0,a.jsx)(Z.Z,{disabled:!e.collection.state.selectedIds.length,onClick:e.collection.action.moveToCollection,children:"确定"}):(0,a.jsx)(Z.Z,{disabled:!e.collection.state.selectedIds.length&&!i,onClick:e.collection.action.collectToCollection,children:i?"保存":"添加至收藏夹"})]})},J=i("494962"),Q=i("694646");let ee=e=>{let t=g(e);return(0,Q.Z)(e.show,"container"),(0,a.jsx)(y.Provider,{value:t,children:(0,a.jsxs)("div",{className:J.default.container,children:[(0,a.jsx)(N,{}),(0,a.jsx)(W,{}),(0,a.jsx)(X,{})]})})};var et=e=>{let t=m();return(0,a.jsx)(f.Provider,{value:t,children:(0,a.jsx)(ee,(0,l._)({},e))})}},497281:function(e,t,i){var l=i(320165);i(101199);var a=i(477667),n=i(892586),o=i(176449);t.Z=e=>{let{title:t,onClose:i}=e;return(0,l.jsxs)("div",{className:n.default.header,children:[(0,l.jsx)("h1",{className:n.default.title,children:t}),(0,l.jsx)(o.Z,{src:a.Z,className:n.default.close,viewBox:"0 0 36 36",onClick:i})]})}},920528:function(e,t,i){var l=i(629686);i(490629),i(76375);var a=i(320165),n=i(101199),o=i(48795),r=i(708003),s=i(795568),d=i(318826),u=i(606222),c=i(931442);t.Z=e=>{let{toastInGlobal:t,collectsInfo:i,logParams:v,onDone:m,onClose:f}=e,p=(0,n.useRef)(null),h=!i,[x,g]=(0,n.useState)((null==i?void 0:i.collectionFolderName)||""),[y,k]=(0,n.useState)(!!h||0!==i.status),_=(0,n.useRef)(null),w=(0,n.useMemo)(()=>!!x.trim()||!1,[x]),E=(0,n.useCallback)(async()=>{try{let e,a;if(i){let t=x===(null==i?void 0:i.collectionFolderName)?void 0:x,l=await (0,s.tn)(i.collectionFolderId,t,y?0:1);e=l.statusCode,a=l.collectInfo}else{let t=await (0,s.vr)(x,y?0:1);e=t.statusCode,a=t.collectInfo}if(e)throw Error();r.F.info({text:i?"收藏夹编辑成功":"收藏夹创建成功",elTarget:t?void 0:p.current}),(0,u.g)(i?"edit_favorite_folder_confirm":"create_favorite_folder_confirm",(0,l._)({click_position:"favorite_folder_panel",folder_name:a.collectionFolderName,folder_id:a.collectionFolderId,status:a.status},v)),null==m||m(a)}catch(e){r.F.info({text:"操作失败",elTarget:p.current})}},[i,x,y,t,v,m]);return(0,n.useEffect)(()=>{var e;null===(e=_.current)||void 0===e||e.focus()},[_.current]),(0,a.jsxs)("div",{ref:p,className:d.default.create,children:[(0,a.jsx)(o.Input,{ref:_,className:d.default.input,placeholder:`请输入收藏夹的名称(15个字以内)`,value:x,maxLength:15,onChange:e=>g(e)}),(0,a.jsxs)("div",{className:d.default.public,children:[(0,a.jsxs)("div",{className:d.default.left,children:[(0,a.jsx)("span",{className:d.default.text,children:"设置为公开"}),(0,a.jsx)("span",{className:d.default.info,children:"公开后有机会被推荐,帮助到更多人"})]}),(0,a.jsx)(o.Switch,{size:"large",className:d.default.toggle,checked:y,onChange:e=>k(e)})]}),(0,a.jsxs)("div",{className:d.default.footer,children:[!h&&(0,a.jsx)(c.Z,{className:d.default.btn,type:"secondary",onClick:f,children:"取消"}),(0,a.jsx)(c.Z,{className:d.default.btn,disabled:!w,onClick:E,children:h?"确认":"确认修改"})]})]})}},566408:function(e,t,i){var l=i(629686);i(490629);var a=i(320165),n=i(101199),o=i(48795),r=i(414061),s=i(642613),d=i(920528),u=i(318826),c=i(497281),v=i(606222),m=i(694646),f=i(58686);t.Z=e=>{let{collectsInfo:t,toastInGlobal:i,logParams:p,disablePlayNextControl:h,onOpen:x,onDone:g,onClose:y}=e,k=!t,_=k?"新建收藏夹":"编辑收藏夹",[w,E]=(0,n.useState)(!1),C=(0,n.useCallback)(()=>{null==x||x(),E(!0),k&&(0,v.g)("create_favorite_folder_click",(0,l._)({click_position:"favorite_folder_panel"},p))},[p,x,k]),S=(0,n.useCallback)(e=>{null==g||g(e),E(!1),r.emit(r.EVENT.NewCollection)},[g]),b=(0,n.useCallback)(()=>{null==y||y(),E(!1)},[y]),I=(0,n.useMemo)(()=>w?(0,a.jsxs)(o.Modal,{maskClosable:!1,modalContentClass:u.default.modal,visible:w,onCancel:b,footer:null,centered:!0,closable:!1,zIndex:9999,getPopupContainer:()=>{var e;return null!==(e=(0,s.W)())&&void 0!==e?e:document.body},children:[(0,a.jsx)(c.Z,{title:_,onClose:b}),(0,a.jsx)(d.Z,{toastInGlobal:i,collectsInfo:t,logParams:p,onDone:S,onClose:b})]}):null,[w,S,p,b,i]);return(0,m.Z)(w,"maintain",h),(0,f.Z)(w,"maintain_collection_modal"),{open:C,modal:I,show:w}}},961677:function(e,t,i){i.d(t,{Z:function(){return p}});var l=i("629686");i("112459"),i("759943");var a=i("320165"),n=i("101199"),o=i("469935"),r=i.n(o),s=i("562708"),d=i("72430");i("490629");var u=i("437589"),c=i("365169"),v=i("604448"),m=i("330336");let f=e=>{let{referenceElement:t,awemeInfo:i,collected:l,collectMethod:o,unCollectMethod:f,from:p,abTestData:h}=e,x=(0,n.useRef)(null),g=(0,n.useRef)(l),y=(0,n.useRef)({show:!1}),{show:k,setForceShow:_,setForceHide:w}=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.o,{isWebMiniWin:l=!1}=(0,c.Iq)(e=>{let{isWebMiniWin:t}=e;return{isWebMiniWin:t}}),a=(0,n.useRef)(null),[o,r]=(0,n.useState)(!1),[s,d]=(0,n.useState)(!1),v=s||o,m=(0,n.useRef)(v),f=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{r(e),d(e)},[]),h=(0,n.useCallback)(()=>p(!0),[p]),x=(0,n.useCallback)(()=>p(!1),[p]);return(0,n.useEffect)(()=>{let t=()=>{if(!f.current)m.current=!0,f.current=setTimeout(()=>{f.current=null,m.current&&(r(!0),d(!1))},i)},l=()=>{m.current=!1,f.current&&(clearTimeout(f.current),f.current=null),a.current=setTimeout(()=>{r(!1),a.current=null},50)};return null==e||e.addEventListener("mouseenter",t),null==e||e.addEventListener("mouseleave",l),()=>{null==e||e.removeEventListener("mouseenter",t),null==e||e.removeEventListener("mouseleave",l)}},[e]),(0,n.useEffect)(()=>{let e=()=>{d(!0),r(!1)},i=()=>{d(!1)};return null==t||t.addEventListener("mouseenter",e),null==t||t.addEventListener("mouseleave",i),()=>{null==t||t.removeEventListener("mouseenter",e),null==t||t.removeEventListener("mouseleave",i)}},[t]),(0,n.useEffect)(()=>{if(!!l)x()},[l,x]),{show:v,setForceShow:h,setForceHide:x}}(t,x.current,null==h?void 0:h.interactionDelay);return(0,n.useEffect)(()=>{if(l!==g.current)g.current=l,w()},[l,w]),(0,s.Z)(()=>x.current,()=>{if(!y.current.show)w()}),(0,a.jsx)("div",{ref:x,className:r()("semi-always-dark",[v.default.popover,!k&&v.default.hidden,p===d.lT.Search&&v.default.search]),onWheelCapture:e=>e.stopPropagation(),children:(0,a.jsx)(m.Z,{show:k,type:"popover",selectType:"multi",awemeInfo:i,collected:l,collectMethod:o,hideCollectButton:!0,showDefaultCollection:!0,unCollectMethod:f,syncCreateModalShow:e=>y.current.show=e,onCreateOpen:_,onCollectDone:w})})};var p=e=>{let{userInfo:t,hidden:i}=e;return!i&&(null==t?void 0:t.isLogin)?(0,a.jsx)(f,(0,l._)({},e)):null}},606222:function(e,t,i){i.d(t,{g:function(){return s}});var l=i(629686),a=i(624508),n=i(601034),o=i(759894);let r=new a.h({favorite_video_bubble_show:{eventName:"favorite_video_bubble_show",params:{group_id:"",enter_from:"",enter_from_merge:""}},favorite_video_bubble_click:{eventName:"favorite_video_bubble_click",params:{click_position:"",enter_from:"",enter_from_merge:"",group_id:""}},add_to_favorite_folder_panel_show:{eventName:"add_to_favorite_folder_panel_show",params:{folder_cnt:0,enter_from:"",enter_from_merge:"",group_id:""}},create_favorite_folder_click:{eventName:"create_favorite_folder_click",params:{click_position:"",enter_from:"",enter_from_merge:""}},create_favorite_folder_confirm:{eventName:"create_favorite_folder_confirm",params:{click_position:"",folder_name:"",folder_id:"",status:0,enter_from:"",enter_from_merge:""}},edit_favorite_folder_confirm:{eventName:"edit_favorite_folder_confirm",params:{click_position:"",folder_name:"",folder_id:"",status:0,enter_from:"",enter_from_merge:""}},click_favorite_video:{eventName:"click_favorite_video",params:{click_method:"panel",folder_name:"",folder_id:""}},favorite_video:{eventName:"favorite_video",params:{click_method:"panel",folder_name:"",folder_id:"",item_duration_ms:0}}}),s=(e,t)=>r.sendLog(e,(0,l._)({enter_from_merge:(0,n.yW)(),enter_from:(0,o.vM)()},t))},58686:function(e,t,i){i.d(t,{Z:function(){return n}});var l=i(101199),a=i(250532);function n(e,t){(0,l.useEffect)(()=>(e?(0,a.o)({pausePlayControlShortcut:!0,pauseCustomShortcut:!0,pauseGlobalShortcut:!0},t):(0,a.m)(t),()=>{(0,a.m)(t)}),[e,t])}},694646:function(e,t,i){i.d(t,{Z:function(){return n}});var l=i(101199),a=i(414061);function n(e,t,i){(0,l.useEffect)(()=>{if(!i)e?a.emit(a.EVENT.videoStopPlayNext):a.emit(a.EVENT.videoRemoveStopPlayNext)},[e,i])}},382332:function(e,t,i){i.r(t);var l=i(629686);i(490629);var a=i(320165),n=i(431987),o=i.n(n),r=i(101199);let s=r.forwardRef((e,t)=>{let{data:i,className:n,loop:s,autoplay:d=!0,onLoopComplete:u,onComplete:c,onInit:v,hidden:m,rendererSettings:f,assetsPath:p}=e,h=r.useRef(),x=r.useRef(),[g,y]=r.useState(!1);return r.useEffect(()=>{if(x.current&&g&&c){let e=x.current;return null==e||e.addEventListener("complete",c),()=>{null==e||e.removeEventListener("complete",c)}}},[g,c]),r.useEffect(()=>{if(x.current&&g&&u){let e=x.current;return e.addEventListener("loopComplete",u),()=>{e.removeEventListener("loopComplete",u)}}},[g,u]),r.useEffect(()=>{if(x.current&&g&&v){let e=x.current;return null==e||e.addEventListener("DOMLoaded",v),()=>{null==e||e.removeEventListener("DOMLoaded",v)}}},[g,v]),r.useLayoutEffect(()=>{if(h.current&&o()&&!x.current){var e;x.current=null===o()||void 0===o()?void 0:null===(e=o().loadAnimation)||void 0===e?void 0:e.call(o(),{container:h.current,renderer:"svg",animationData:i,loop:s,autoplay:d,rendererSettings:(0,l._)({runExpressions:!1},f),assetsPath:p}),y(!0)}},[]),r.useEffect(()=>()=>{var e,t;null===(t=x.current)||void 0===t||null===(e=t.destroy)||void 0===e||e.call(t)},[]),r.useImperativeHandle(t,()=>({getLottieInstance:()=>x.current})),(0,a.jsx)("div",{hidden:m,ref:h,className:n})});t.default=r.memo(s)},942645:function(e,t,i){i.r(t);var l=i(382332);t.default=l.default},547304:function(e,t,i){var l=i(629686);i(679308);var a=i(320165),n=i(391948);i(101199);var o=i(855436),r=i(880327);let s=(0,o.ZP)(()=>i.e("90503").then(i.bind(i,840322))),d=e=>{e.stopPropagation()},u=null;t.Z=e=>{let{title:t,cancelBtnText:i,confirmBtnText:o,onConfirm:c,onCancel:v,otherProps:m={}}=e,f=null;if(u)f=()=>{u=null};else{let e=document.createElement("div"),c=document.body,v=(0,n.createRoot)(e);(0,r.r)()&&(c=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement),c.appendChild(e),f=()=>{var t;c.style.overflow="",v.unmount(),c.contains(e)&&c.removeChild(e),null===(t=document)||void 0===t||t.removeEventListener("keydown",d,!0)},c.style.overflow="hidden",u=new Promise((e,n)=>{var r;null===(r=document)||void 0===r||r.addEventListener("keydown",d,!0),v.render((0,a.jsx)(s,(0,l._)({title:t,cancelBtnText:i,confirmBtnText:o,onCancel:()=>{n()},onConfirm:()=>{e(!0)}},m)))})}return u.then(async()=>{u=null;try{await (null==c?void 0:c())}finally{null==f||f()}},()=>{u=null,null==v||v(),null==f||f()}).catch(()=>{u=null,null==v||v(),null==f||f()}),f}},542029:function(e,t,i){i.d(t,{Z:function(){return m}});var l=i("320165"),a=i("101199"),n=i("469935"),o=i.n(n),r=i("48795"),s=i("118616"),d=i("653183"),u=i("629686"),c=i("402748");let v=(0,a.forwardRef)((e,t)=>(0,l.jsx)("svg",(0,c._)((0,u._)({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.983 2.892l-.56 1.577a5.667 5.667 0 0 0-.008.02 2.053 2.053 0 0 1-1.953 1.447l-.022.002-1.726.079L4.153 7.22l.015.013c.055.046.148.123.231.21.435.457.636 1.088.545 1.712-.017.12-.048.237-.066.305l-.006.02-.47 1.78 1.318-.916.018-.013c.064-.044.17-.12.286-.18a2.053 2.053 0 0 1 1.919 0c.115.06.222.136.285.18l.019.013 1.317.917-.47-1.78a2.053 2.053 0 0 1 .473-2.037c.083-.088.176-.165.231-.211l.016-.013 1.438-1.203-1.725-.08h-.022a2.053 2.053 0 0 1-1.83-1.143c-.056-.114-.099-.234-.124-.304a8.62 8.62 0 0 0-.007-.02l-.56-1.578zm-.66-1.833c-.054.081-.115.252-.236.594l-.852 2.394c-.034.097-.051.145-.072.187a.793.793 0 0 1-.581.43c-.046.008-.098.01-.2.015l-2.517.115c-.335.016-.502.024-.594.05a.793.793 0 0 0-.415 1.231c.057.077.185.185.442.4l2.046 1.711c.075.063.112.094.143.126.168.177.246.42.21.662a1.79 1.79 0 0 1-.043.185l-.683 2.59c-.09.341-.135.512-.136.609a.793.793 0 0 0 1.075.752c.09-.035.235-.135.524-.336l2.006-1.396c.087-.06.13-.09.173-.113a.793.793 0 0 1 .741 0c.043.022.086.053.173.113l2.005 1.396c.29.2.434.301.525.336a.793.793 0 0 0 1.075-.752c-.001-.097-.046-.268-.136-.608l-.683-2.591c-.025-.094-.038-.141-.044-.185a.793.793 0 0 1 .21-.662c.032-.032.069-.063.143-.126l2.046-1.711c.258-.215.386-.323.443-.4a.793.793 0 0 0-.416-1.23c-.091-.027-.259-.035-.594-.05l-2.517-.116a1.806 1.806 0 0 1-.2-.015.793.793 0 0 1-.58-.43c-.021-.042-.038-.09-.073-.187L7.88 1.653c-.122-.342-.182-.513-.237-.594a.793.793 0 0 0-1.32 0z",fill:"#fff"})})));var m=e=>{let{collapseStatus:t=!1,handleClick:i,className:a,isFetching:n}=e;return(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)("div",{className:o()(d.default.collectBtn,d.default.fetchingBg,a)}),!n&&(0,l.jsxs)(r.Button,{className:o()(d.default.collectBtn,a,{[d.default.collectd]:t}),onClick:i,theme:"solid",children:[!t&&(0,l.jsx)(s.Z,{src:v,width:14,height:14,viewBox:"0 0 14 14"}),(0,l.jsx)("span",{children:t?"已收藏":"收藏"})]})]})}},726625:function(e,t,i){i.d(t,{v:function(){return I}});var l=i(629686),a=i(402748);i(679308),i(490629),i(76375);var n=i(320165),o=i(101199),r=i(469935),s=i.n(r),d=i(855436),u=i(913285),c=i(414644),v=i(855357),m=i(414061),f=i(486463),p=i(759894),h=i(880327),x=i(335924),g=i(31992),y=i(96359),k=i(60721),_=i(983218),w=i(981833),E=i(332009);let C=(0,d.ZP)(()=>Promise.all([i.e("74792"),i.e("19511"),i.e("80030"),i.e("35148"),i.e("87188"),i.e("83379")]).then(i.bind(i,549001)),{fallback:(0,n.jsx)(_.gb,{}),ssr:!1}),S=(0,d.ZP)(()=>Promise.all([i.e("34080"),i.e("13505")]).then(i.bind(i,15759)),{ssr:!1}),b=(0,d.ZP)(()=>Promise.all([i.e("34080"),i.e("13505")]).then(i.bind(i,556472)),{ssr:!1});var I={VideoPage:"VideoPage",UserPage:"UserPage"};t.Z=e=>{var t,i,r;let{className:d,awemeInfo:_,hidden:I,awemelogPb:N,handleClose:j,toast:A,reportExtraParams:P={},shareShowMethod:L,onMouseEnter:T,onMouseLeave:D,handleClickCopy:M,handleChooseFriend:R,handleShareToFriend:V,handleShareSuccess:B,shareType:O=w.y.Video,uid:G,userInfo:z,commentInfo:F,inanyPage:Z="VideoPage",loginDispatch:U,hideShareContent:H,shareeListHeight:K,width:W,onFriendSearching:Y,loginUserInfo:$,abtestData:q}=e,[X,J]=(0,o.useState)(!1),[Q,ee]=(0,o.useState)(!1),[et,ei]=(0,o.useState)(!1),[el,ea]=(0,o.useState)(!1),en=(0,o.useRef)(null),eo=(0,o.useRef)(null),{EVENT:er}=m,[es,ed]=(0,o.useState)(!I),eu=(0,o.useRef)(!I),ec=(null==$?void 0:$.isLogin)||!1,ev=(0,o.useMemo)(()=>(!Q||!!et)&&I,[I,Q,et]);return((0,o.useEffect)(()=>{!I&&ei(!1)},[I]),(0,o.useEffect)(()=>{!I&&(ed(!0),m.emit(er.videoStopPlayNext)),I&&es&&m.emit(er.videoRemoveStopPlayNext),eu.current=!I},[I]),(0,o.useEffect)(()=>()=>{eu.current&&m.emit(er.videoRemoveStopPlayNext)},[]),(0,o.useEffect)(()=>{if(!I){let t=E.s.getPlayer((0,f.OB)());switch(O){case w.y.Vs:case w.y.Video:var e;y.Z.sendLog("shareMenuShow",(0,l._)({urlParamList:["previous_page"],play_current_time:Math.floor(null==t?void 0:t.currentTime)||0,author_id:null==_?void 0:null===(e=_.authorInfo)||void 0===e?void 0:e.uid,group_id:null==_?void 0:_.awemeId,enter_from:(0,p.mo)(),log_pb:N,is_full_screen:(0,h.r)()?"1":"0",tab_name:(0,g.zD)()||(0,x.Rs)("tab_name")||"",click_method:L,share_type:"video"},P));break;case w.y.User:y.Z.sendLog("shareMenuShow",{enter_from:(0,p.vM)(),share_type:"user",click_method:L});break;case w.y.Comment:y.Z.sendLog("shareMenuShow",{enter_from:(0,p.vM)(),share_type:"comment",click_method:L})}}!I&&!X&&J(!0)},[I,L]),(0,o.useEffect)(()=>{var e;let t=e=>e.stopPropagation();return null===(e=en.current)||void 0===e||e.addEventListener("wheel",t),()=>{var e;null===(e=en.current)||void 0===e||e.removeEventListener("wheel",t)}},[]),(0,o.useEffect)(()=>{setTimeout(()=>{var e;!I&&(null==eo?void 0:null===(e=eo.current)||void 0===e?void 0:e.clientHeight)&&ea(eo.current.clientHeight-61<204)},0)},[I,Q]),(0,o.useEffect)(()=>{_&&(_.logPb=N)},[_]),(0,o.useEffect)(()=>{let e=e=>{var t,i,l;if((null===(t=e.target)||void 0===t?void 0:t.id)!=="frame-user-info-share-button")!(null===(l=en.current)||void 0===l?void 0:null===(i=l.contains)||void 0===i?void 0:i.call(l,e.target))&&!Q&&(null==j||j(),null==Y||Y(!1))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[Q]),(null==_?void 0:null===(t=_.status)||void 0===t?void 0:t.allowShare)===!1)?(0,n.jsx)("div",{ref:en,"data-e2e":_?"video-share-container":"user-share-container",children:(0,n.jsx)("div",{className:s()(d,k.default.container,k.default.shareCode,k.default.columnContainer,k.default.disabledContent),onMouseEnter:()=>null==T?void 0:T(),onMouseLeave:()=>null==D?void 0:D(),style:{display:ev?"none":"flex"},"data-inuser":"UserPage"===Z,ref:eo,children:"该作品已被限制分享"})}):(0,n.jsx)(u.k,{componentName:"ShareBox",fallback:(0,n.jsx)("div",{className:s()(d,k.default.container,k.default.shareCode,(null==_?void 0:_.awemeType)===v.e.XgVideo?k.default.defaultContainer:k.default.columnContainer,k.default.errorContainer),style:(0,l._)({display:ev?"none":"flex"},(null==_?void 0:_.awemeType)===v.e.XgVideo?{width:324}:W?{width:W}:{}),"data-inuser":"UserPage"===Z,children:(0,n.jsx)(c.jj,{type:c.NI.noNetwork,title:"加载失败",desc:"请检查网络或稍后重试"})}),children:(0,n.jsxs)("div",{ref:en,"data-e2e":_?"video-share-container":"user-share-container",children:[(null==_?void 0:_.awemeType)===v.e.XgVideo&&(0,n.jsxs)("div",{className:s()(d,k.default.container,k.default.shareCode,k.default.defaultContainer),onMouseEnter:()=>null==T?void 0:T(),onMouseLeave:()=>null==D?void 0:D(),style:{display:ev?"none":"flex",width:324},"data-inuser":"UserPage"===Z,children:[(!I||X)&&(0,n.jsx)("div",{style:{display:Q||et?"none":"block",width:"100%"},children:(0,n.jsx)(S,(0,a._)((0,l._)({},e),{shareType:O}))}),ec&&(!I||Q)&&((null==_?void 0:_.awemeType)!==v.e.XgVideo||G)&&O!==w.y.Vs&&(0,n.jsx)(C,{userInfo:$,toast:A,close:()=>{ei(!0),ee(!1),null==j||j(),m.emit(m.EVENT.videoRemoveStopPlayNext)},awemeInfo:_,shareType:O,shareUserInfo:z,shareCommentInfo:F,handleExpand:()=>ee(!0),handleCollapse:()=>{ee(!1)},handleHasFriends:e=>{},handleChooseFriend:R,handleShareToFriend:V,handleShareSuccess:B,reportExtraParams:(0,a._)((0,l._)({},P),{from_xigua:(null==_?void 0:_.awemeType)===v.e.XgVideo?1:0,aweme_type:(null==_?void 0:_.isSlides)?v.e.Slides:null==_?void 0:_.awemeType,pic_cnt:null==_?void 0:null===(i=_.images)||void 0===i?void 0:i.length}),shareeListHeight:K,onFriendSearching:Y})]}),(null==_?void 0:_.awemeType)!==v.e.XgVideo&&(0,n.jsxs)("div",{className:s()(d,k.default.container,k.default.shareCode,k.default.columnContainer),onMouseEnter:()=>null==T?void 0:T(),onMouseLeave:()=>null==D?void 0:D(),style:(0,l._)({display:ev?"none":"flex"},W?{width:W}:{}),"data-inuser":"UserPage"===Z,ref:eo,children:[(!I||Q)&&((null==_?void 0:_.awemeType)!==v.e.XgVideo||G)&&O!==w.y.Vs&&(ec?(0,n.jsx)(C,{userInfo:$,toast:A,close:()=>{ei(!0),ee(!1),null==j||j(),m.emit(m.EVENT.videoRemoveStopPlayNext)},awemeInfo:_,shareType:O,shareUserInfo:z,shareCommentInfo:F,handleExpand:()=>ee(!0),handleCollapse:()=>{ee(!1)},handleHasFriends:e=>{},handleChooseFriend:R,handleShareToFriend:V,handleShareSuccess:B,reportExtraParams:(0,a._)((0,l._)({},P),{from_xigua:(null==_?void 0:_.awemeType)===v.e.XgVideo?1:0,aweme_type:(null==_?void 0:_.isSlides)?v.e.Slides:null==_?void 0:_.awemeType,pic_cnt:null==_?void 0:null===(r=_.images)||void 0===r?void 0:r.length}),shareeListHeight:K,onFriendSearching:Y}):(0,n.jsx)(b,{className:"share-login-guide-recommend",change:()=>{null==U||U({type:"updateUserInfo"})}})),(!I||X)&&!H&&(0,n.jsx)("div",{style:{display:Q||et?"none":"block",width:"100%"},children:(0,n.jsx)(S,(0,a._)((0,l._)({},e),{shareType:O,isMiniQrCode:el}))})]})]})})}},96359:function(e,t,i){i.d(t,{h:function(){return a}});var l=i(624508);let a="web_code_link";t.Z=new l.h({shareMenuShow:{eventName:"share_menu_show",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",is_full_screen:"0",tab_name:"",click_method:"",share_type:"",play_current_time:0}},shareVideo:{eventName:"share_video",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",enter_from_merge:"",previous_page:"",type:"",is_full_screen:"0",click_method:"",tab_name:"",from_follow_list:"0",from_xigua:0,aweme_type:"",personal_relation:"",relation:"",show_type:"",pic_cnt:"",is_from_aweme_search_engine:0}},shareUser:{eventName:"share_user",params:{chat_type:"",type:"",author_id:"",personal_relation:"",relation:""}},clickFavoriteVideo:{eventName:"click_favorite_video",params:{click_from:"share_board",previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0",click_method:""}},clickCancelFavoriteVideo:{eventName:"click_cancel_favorite_video",params:{click_from:"share_board",previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0"}},favoriteVideo:{eventName:"favorite_video",params:{click_from:"share_board",previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0",click_method:"",clarity:"",aweme_type:"",item_duration_ms:0,is_from_aweme_search_engine:0}},favoriteVideoFailed:{eventName:"favorite_video_failed",params:{click_from:"share_board",err_code:1,previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0"}},cancelFavoriteVideo:{eventName:"cancel_favorite_video",params:{click_from:"share_board",previous_page:"",author_id:"",group_id:"",log_pb:"",enter_from:"",is_full_screen:"0",click_method:"",item_duration_ms:0}},download:{eventName:"download",params:{enter_from:"",enter_from_merge:"",group_id:"",click_from:"",boost_task_id:""}},unsupportDownloadShow:{eventName:"unsupport_download_show",params:{enter_from:"",enter_from_merge:"",group_id:""}},livesdkShareCardShow:{eventName:"livesdk_share_card_show",params:{share_from:"",user_id:"",anchor_id:"",room_id:"",enter_from_merge:"",enter_method:"",action_type:"",request_id:""}},livesdkShareSuccess:{eventName:"livesdk_share_success",params:{share_from:"",share_type:"message",user_id:"",anchor_id:"",room_id:"",enter_from_merge:"",enter_method:"",action_type:"",request_id:""}},report:{eventName:"report",params:{author_id:"",group_id:"",log_pb:"",enter_from:"",previous_page:"",enter_method:"",is_full_screen:"",click_from:"share_card"}}})},387382:function(e,t,i){i.d(t,{$:function(){return v},n:function(){return m}});var l=i(320165);i(101199);var a=i(469935),n=i.n(a),o=i(280647),r=i(966473),s=i(638052),d=i(601034),u=i(957212),c=i(63601);let v=e=>{let{abTestData:t,awemeInfo:i}=e||{},{weeklyRecommend:l}=i||{},{urlList:a,text:n}=l||{};return!!(l&&n&&a&&a.length>0)},m=e=>{let{awemeInfo:t,scene:i="player",className:a}=e,{weeklyRecommend:v}=t||{},m=(0,c.n)(),{urlList:f,text:p}=v||{},h=(0,r.x)(()=>{s.logInstance.sendLog("weeklySelectionShow",{enter_from:(0,d.yW)(),group_id:null==t?void 0:t.awemeId})});return((0,o.Z)(()=>{(null==t?void 0:t.awemeId)&&s.logInstance.sendLog("weeklySelectionShow",{enter_from:(0,d.yW)(),group_id:null==t?void 0:t.awemeId})},[null==t?void 0:t.awemeId]),("player"!==i||(null==m?void 0:m.video))&&f&&f.length&&p)?(0,l.jsx)("span",{ref:h,className:n()(u.default.weeklyRecommendTagContainer,u.default[i],a),children:(0,l.jsxs)("span",{className:n()(u.default.weeklyRecommendTag),children:[(0,l.jsx)("img",{className:u.default.icon,src:f[0],alt:""}),(0,l.jsx)("span",{className:u.default.text,children:p})]})}):null}},701412:function(e,t,i){i.d(t,{X:function(){return r}});var l=i(629686),a=i(811603),n=i(320165),o=i(670556);function r(e){return function(t){let{isRenderInSSR:i}=t,r=(0,a._)(t,["isRenderInSSR"]),s=(0,n.jsx)(e,(0,l._)({},r));return i?(0,n.jsx)(o.NoSSR,{children:s}):s}}i(101199)},253262:function(e,t,i){i.d(t,{S:function(){return y}});var l=i(101199),a=i(229757),n=i.n(a),o=i(333047),r=i(988805),s=i(638052),d=i(847742),u=i(499059),c=i(759894),v=i(601034),m=i(414061),f=i(746517),p=i(396868);let h=e=>{let{errMsg:t,statusCode:i}=e;if(i!==o.ERROR_CODE.ERROR_USER_UNLOGIN)p.F.info(null!=t?t:r.Qr.FollowFail)},x=()=>(!u.Le.getConfig(u.gI.CollectMusicStatusCache)&&u.Le.setConfig(u.gI.CollectMusicStatusCache,{}),u.Le.getConfig(u.gI.CollectMusicStatusCache)),g=e=>{let{mid:t,collectStatus:i}=e,l=n()(x());l[t]={collectStatus:i},u.Le.setConfig(u.gI.CollectMusicStatusCache,l)},y=e=>{let{musicId:t,onLoginSuccess:i,awemeInfo:a,fail:n=h,isLogin:u,success:x,disableSuccessToast:y,accountParentEl:k,loginPanelTarget:_,scene:w,toast:E,clickMethod:C=""}=e,S=(0,l.useRef)(!1),b=(0,l.useCallback)(async e=>{let{mid:t,action:i}=e,l=null,o="";try{if(!navigator.onLine){E?null==E||E("当前网络异常,请稍后重试"):p.F.info("当前网络异常,请稍后重试");return}let{statusCode:e,logPb:f}=await (0,d.Id)({musicId:t,action:"collectMusic"===i?1:0});if(o=f,l=e,0===e||3007005===e){if("collectMusic"===i){if(!y){var u;null===(u=E||p.F.info)||void 0===u||u("已收藏,请到「我的-收藏-音乐」查找使用")}s.logInstance.sendLog("favoriteMusic",{music_id:t,group_id:null==a?void 0:a.awemeId,enter_from:(0,c.mo)(),enter_from_merge:(0,v.yW)()})}else s.logInstance.sendLog("cancelFavoriteMusic",{music_id:t,group_id:null==a?void 0:a.awemeId,enter_from:(0,c.mo)(),enter_from_merge:(0,v.yW)(),click_method:C});let e="collectMusic"===i?r.c.Collected:r.c.Uncollected;g({mid:t,collectStatus:e}),m.emit(m.EVENT.syncInteractionStatus,{musicId:t,action:i}),null==x||x({logPb:o,action:i,collectStatus:e})}else null==n||n({logPb:o,action:i,errMsg:"collectMusic"===i?r.a$.CollectFail:r.a$.UnCollectFail})}catch(e){null==n||n({logPb:o,action:i})}return{statusCode:l}},[n,t,x]),I=(0,l.useCallback)(async e=>{var l,a;let{noLoginCb:n}=e||{};(0,f.default)({success:async()=>{await (null==i?void 0:i()),S.current=!0;let{statusCode:e}=await b({action:"collectMusic",mid:t})||{};S.current=!1,e===o.ERROR_CODE.ERROR_USER_UNLOGIN&&(null==n||n())},headerText:"登录后即可收藏",enterMethod:"favorite_music",next:`https://${null===(a=window)||void 0===a?void 0:null===(l=a.location)||void 0===l?void 0:l.host}`},k)},[i,t,b,k]);return{collect:()=>{u?(s.logInstance.sendLog("clickFavoriteMusic",{music_id:t,group_id:null==a?void 0:a.awemeId,enter_from:(0,c.mo)(),enter_from_merge:(0,v.yW)()}),b({mid:t,action:"collectMusic"})):I({noLoginCb:()=>{setTimeout(()=>{I()},1e3)}})},unCollect:()=>u?b({mid:t,action:"unCollectMusic"}):I({noLoginCb:()=>{setTimeout(()=>{I()},1e3)}})}}},724538:function(e,t,i){i.d(t,{v:function(){return r}}),i(490629);var l=i(101199),a=i(988805),n=i(499059),o=i(645062);let r=e=>{var t,i;let{musicId:r,isLogin:s,defaultCollectStatus:d}=e,u=n.Le.getConfig(n.gI.CollectMusicStatusCache),[c,v]=(0,l.useState)(null!==(i=null==u?void 0:null===(t=u[r])||void 0===t?void 0:t.collectStatus)&&void 0!==i?i:d);return((0,l.useEffect)(()=>{var e,t;v(null!==(t=null==u?void 0:null===(e=u[r])||void 0===e?void 0:e.collectStatus)&&void 0!==t?t:d)},[r,d,u]),(0,l.useEffect)(()=>{let e=o.a.addCb(e=>{let{collectMusicStatus:t,musicId:i,action:l}=e;("collectMusic"===l||"unCollectMusic"===l)&&i===r&&v(t)});return()=>{e()}},[r]),s)?{collectStatus:c}:{collectStatus:a.c.Uncollected}}},427202:function(e,t,i){i.d(t,{_:function(){return a}});var l=i(101199);let a=e=>{let{keyDownInterval:t=500,diggInterval:i=1e3,diggState:a}=e,n=(0,l.useRef)(0),o=(0,l.useRef)(0),r=(0,l.useCallback)(()=>{n.current=Date.now()},[]),s=(0,l.useCallback)(()=>{o.current=Date.now()},[]),d=(0,l.useCallback)(()=>{n.current=Date.now(),o.current=Date.now()},[]);return{resetUsedKeyDownTime:r,resetDiggTime:s,initTime:d,checkIsCancelDigg:(0,l.useCallback)(()=>!!(a&&Date.now()-n.current>t&&Date.now()-o.current>i)||!1,[a,t,i])}}},910978:function(e,t,i){i.d(t,{D:function(){return o}});var l=i(101199),a=i(499059),n=i(94109);let o=e=>{let{awemeInfo:t,isActive:i}=e,o=(0,l.useRef)();(0,l.useEffect)(()=>{var e;if((null===(e=a.Le.getConfig(a.gI.AbtestData))||void 0===e?void 0:e.useCache)===1)return;let l=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-error`),o=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-time`),r=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-play`),s=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-enter`),d=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-start`),u=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-loading`);i&&((0,n.GP)(t)?(Array.from(l).forEach(e=>e.style.visibility="hidden"),Array.from(o).forEach(e=>e.style.visibility="hidden"),Array.from(r).forEach(e=>e.style.visibility="hidden"),Array.from(s).forEach(e=>e.style.visibility="hidden"),Array.from(d).forEach(e=>e.style.visibility="hidden"),Array.from(u).forEach(e=>e.style.visibility="hidden")):(Array.from(l).forEach(e=>e.style.visibility="unset"),Array.from(o).forEach(e=>e.style.visibility="unset"),Array.from(r).forEach(e=>e.style.visibility="unset"),Array.from(s).forEach(e=>e.style.visibility="unset"),Array.from(d).forEach(e=>e.style.visibility="unset"),Array.from(u).forEach(e=>e.style.visibility="unset")))},[t,i]),(0,l.useEffect)(()=>{var e;if(i&&(null===(e=a.Le.getConfig(a.gI.AbtestData))||void 0===e?void 0:e.useCache)===1){if((0,n.GP)(t)){let e=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-error`),i=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-time`),l=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-play`),a=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-enter`),n=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-start`),o=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-loading`);Array.from(e).forEach(e=>e.style.visibility="hidden"),Array.from(i).forEach(e=>e.style.visibility="hidden"),Array.from(l).forEach(e=>e.style.visibility="hidden"),Array.from(a).forEach(e=>e.style.visibility="hidden"),Array.from(n).forEach(e=>e.style.visibility="hidden"),Array.from(o).forEach(e=>e.style.visibility="hidden")}else if((0,n.GP)(o.current)){let e=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-error`),i=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-time`),l=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-play`),a=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-enter`),n=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-start`),o=document.querySelectorAll(`.video_${t.awemeId} .xgplayer-loading`);Array.from(e).forEach(e=>e.style.visibility="unset"),Array.from(i).forEach(e=>e.style.visibility="unset"),Array.from(l).forEach(e=>e.style.visibility="unset"),Array.from(a).forEach(e=>e.style.visibility="unset"),Array.from(n).forEach(e=>e.style.visibility="unset"),Array.from(o).forEach(e=>e.style.visibility="unset")}o.current=t}},[t,i])}},992189:function(e,t,i){i.r(t),i.d(t,{DanmakuBar:function(){return td},DanmakuInner:function(){return tu},Danmaku:function(){return tc}});var l=i("629686"),a=i("402748");i("490629");var n=i("320165"),o=i("101199"),r=i("502615"),s=i("734123"),d=i("358986"),u=i("469935"),c=i.n(u),v=i("280647"),m=i("966473"),f=i("939165"),p=i("414061"),h=i("759894"),x=i("601034"),g=i("499059"),y=i("464844");i("679308"),i("527553");var k=i("890710"),_=i("944922");i("706056"),i("374954"),i("414931"),i("104882");var w=i("997010"),E=i("481199"),C=i("908219"),S=i.n(C),b=i("935372"),I=i("123622"),N=i("746517"),j=i("396868"),A=i("87339"),P=i("212627");let L={danMuText:"danMuText",likeIcon:"likeIcon",reportIcon:"reportIcon",deleteIcon:"deleteIcon"},T={danmuId:"data-danmu-id",isLike:"data-is-like",isDanmuAuthor:"data-is-danmu-author",danmakuUserId:"data-danmaku-user-id"},D=e=>{let{awemeInfo:t,userInfo:i,player:a,loginDispatch:n,logParams:r,abtestData:s,totalCountRef:d}=e,[u,c]=(0,o.useState)(!!(null==i?void 0:i.isLogin)),v=(0,o.useRef)(""),m=(0,o.useRef)(!1),f=(0,o.useRef)(null),g=(0,o.useRef)(!1),y=(0,o.useRef)("");(0,o.useEffect)(()=>{let e=()=>{c(!0)};if(a)return a.on(A.Ks.updateLogin,e),()=>{a.off(A.Ks.updateLogin,e)}},[a,t]),(0,o.useEffect)(()=>{c(!!(null==i?void 0:i.isLogin))},[i]);let k=(0,o.useCallback)(S()(async()=>{if(u){var e,i,o,s;m.current=!m.current,f.current.setAttribute(T.isLike,m.current);let n=parseInt(f.current.getAttribute("data-digg-count")||"0",10),d=m.current?n+1:Math.max(0,n-1);f.current.setAttribute("data-digg-count",d);let{statusCode:u}=await (0,I.ob)({danmakuId:null!==(o=null==a?void 0:null===(i=a.danmaku)||void 0===i?void 0:null===(e=i.selfPost)||void 0===e?void 0:e[v.current])&&void 0!==o?o:v.current,awemeId:null==t?void 0:t.awemeId,type:m.current?1:0});0===u&&P.Z.sendLog(m.current?"likeDanmaku":"cancelLikeDanmaku",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:null==t?void 0:t.awemeId,author_id:null==t?void 0:null===(s=t.authorInfo)||void 0===s?void 0:s.uid,danmaku_id:v.current,enter_method:"video"},r))}else setTimeout(()=>{a.danmaku.freezeComment(v.current)},100),(0,N.default)({success:async()=>{var e,i,l,o;n({type:"updateUserInfo"}),a.emit(A.Ks.updateLogin);let{statusCode:r}=await (0,I.ob)({danmakuId:null!==(o=null==a?void 0:null===(i=a.danmaku)||void 0===i?void 0:null===(e=i.selfPost)||void 0===e?void 0:e[v.current])&&void 0!==o?o:v.current,awemeId:null==t?void 0:t.awemeId,type:1});null===(l=a.danmaku)||void 0===l||l.restartComment(v.current),0===r&&(m.current=!m.current,f.current.setAttribute(T.isLike,m.current))},headerText:"登录后可为弹幕点赞",enterMethod:"like_danmaku",onClose:()=>{var e;null===(e=a.danmaku)||void 0===e||e.restartComment(v.current)}})},500),[u,t,a,r,s]),_=(0,o.useCallback)(()=>{var e,l,o,r,d,u,c,m,f;a.emit(A.Ks.reportIdChange,v.current),a.danmaku.freezeComment(v.current),p.emit(p.EVENT.videoStopPlayNext);(0,b.m)({title:"举报弹幕",type:"danmaku",object_id:null!==(m=null==a?void 0:null===(l=a.danmaku)||void 0===l?void 0:null===(e=l.selfPost)||void 0===e?void 0:e[v.current])&&void 0!==m?m:v.current,owner_id:null==i?void 0:null===(o=i.info)||void 0===o?void 0:o.uid,owner_sec_id:(null==i?void 0:null===(r=i.info)||void 0===r?void 0:r.secUid)||"",onClose:()=>{var e;p.emit(p.EVENT.videoRemoveStopPlayNext),null===(e=a.danmaku)||void 0===e||e.restartComment(v.current),a.emit(A.Ks.reportIdChange,null)},logParams:{enter_method:"video"},loginDispatch:n,userInfo:null==i?void 0:i.info,pipeline_id:"",enter_from:(0,x.yW)(),isOrigin:!0,toast:e=>j.F.info(e,null==a?void 0:a.root),abtestData:s}),P.Z.sendLog("reportDanmaku",{enter_from:(0,x.yW)(),group_id:null==t?void 0:t.awemeId,author_id:null==t?void 0:null===(d=t.authorInfo)||void 0===d?void 0:d.uid,danmaku_id:null!==(f=null==a?void 0:null===(c=a.danmaku)||void 0===c?void 0:null===(u=c.selfPost)||void 0===u?void 0:u[v.current])&&void 0!==f?f:v.current,danmaku_user_id:y.current,enter_method:"bubble",is_exposed_like:0})},[i,a,n,s]),w=(0,o.useCallback)(async()=>{var e,i,n,o;let{statusCode:s}=await (0,I.YO)({userType:g.current?1:2,danmakuId:null!==(n=null==a?void 0:null===(i=a.danmaku)||void 0===i?void 0:null===(e=i.selfPost)||void 0===e?void 0:e[v.current])&&void 0!==n?n:v.current});0===s?(d.current=d.current-1,(null==a?void 0:a.danmaku)&&(null==a||a.danmaku.removeComment(v.current),j.F.info("已删除弹幕",(null==a?void 0:a.root)||document.body)),P.Z.sendLog("deleteDanmaku",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:null==t?void 0:t.awemeId,author_id:null==t?void 0:null===(o=t.authorInfo)||void 0===o?void 0:o.uid,danmaku_id:v.current,enter_method:"video"},r))):j.F.info("未删除弹幕",(null==a?void 0:a.root)||document.body)},[t,a,r]);return(0,o.useCallback)(e=>{if(e.currentTarget){let n=e.target;for(;!(null==n?void 0:n.getAttribute(T.danmuId))&&n!==e.currentTarget;)n=n.parentNode;if(n!==e.currentTarget&&(f.current=n,n)){var t,i,l,a;v.current=n.getAttribute(T.danmuId),m.current="true"===n.getAttribute(T.isLike),g.current="true"===n.getAttribute(T.isDanmuAuthor),y.current=n.getAttribute(T.danmakuUserId),((null===(t=n.querySelector(`.${L.danMuText}`))||void 0===t?void 0:t.contains(e.target))||(null===(i=n.querySelector(`.${L.likeIcon}`))||void 0===i?void 0:i.contains(e.target)))&&k(),(null===(l=n.querySelector(`.${L.reportIcon}`))||void 0===l?void 0:l.contains(e.target))&&_(),(null===(a=n.querySelector(`.${L.deleteIcon}`))||void 0===a?void 0:a.contains(e.target))&&w()}}},[k,_,w])};var M=i("316213");let R=()=>(0,n.jsxs)("div",{className:E.default.svgCollect,children:[(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("symbol",{id:"svg-like",width:"14",height:"13",viewBox:"0 0 14 13",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.88448 0.398438C8.76117 0.398438 7.74021 0.852731 7.11838 1.71269C6.26503 0.852731 5.24305 0.398438 4.12177 0.398438C1.98145 0.398438 0.203125 2.19879 0.203125 4.34121C0.203125 4.48708 0.210222 4.5534 0.203125 4.56025C0.214278 5.05421 0.454581 5.94437 0.647185 6.31825C1.94356 9.04193 6.0401 11.9265 6.23271 12.1134C6.42531 12.3004 6.61792 12.4873 7.00313 12.4873C7.38833 12.4873 7.58094 12.3004 7.77354 12.1134C7.96615 11.9265 11.5463 9.30121 13.1116 6.75067C13.1796 6.57644 13.2242 6.49033 13.3421 6.31259C13.4168 6.12907 13.4919 5.96279 13.5726 5.8745C13.7149 5.3828 13.795 5.01066 13.8031 4.56025C13.797 4.54746 13.8031 4.48609 13.8031 4.34121C13.8031 2.19978 12.0238 0.398438 9.88448 0.398438Z"})}),(0,n.jsx)("symbol",{id:"svg-report",width:"14",height:"14",viewBox:"0 0 14 14",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.13316 1.23494L13.8226 11.7956C14.3266 12.7751 13.6965 14 12.6888 14H1.3112C0.303482 14 -0.326644 12.7751 0.177387 11.7956L5.86554 1.23494C6.36957 0.25502 7.62913 0.25502 8.13316 1.23494ZM7.00041 12.3C6.30991 12.3 5.75 11.7407 5.75 11.05C5.75 10.3593 6.30991 9.8 7.00041 9.8C7.69009 9.8 8.25 10.3593 8.25 11.05C8.25 11.7407 7.69009 12.3 7.00041 12.3ZM7 4.2C6.44772 4.2 6 4.64772 6 5.2V7.7C6 8.25228 6.44772 8.7 7 8.7C7.55228 8.7 8 8.25228 8 7.7V5.2C8 4.64772 7.55228 4.2 7 4.2Z"})}),(0,n.jsx)("symbol",{id:"svg-delete",width:"12",height:"14",viewBox:"0 0 12 14",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.39844 0.199219H3.59844L3.19844 0.999219H1.39844C0.846153 0.999219 0.398438 1.44693 0.398438 1.99922V3.39922H11.5984V1.99922C11.5984 1.44693 11.1507 0.999219 10.5984 0.999219H8.79844L8.39844 0.199219ZM1.19844 4.99922H10.7984L10.4418 12.8446C10.4176 13.3787 9.97749 13.7992 9.44286 13.7992H2.55402C2.01939 13.7992 1.57932 13.3787 1.55505 12.8446L1.19844 4.99922Z"})}),(0,n.jsx)("symbol",{id:"svg-high-digg-like",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{opacity:"1",children:(0,n.jsx)("path",{d:"M11.9949 21.5575C12.3018 21.5575 12.7621 21.312 13.1714 21.0358C18.5115 17.5575 22 13.4348 22 9.28133C22 5.53708 19.4015 3 16.2506 3C14.4229 3 13.0558 3.93892 12.1823 5.34696C12.0981 5.48267 11.8935 5.48167 11.8103 5.34534C10.952 3.9382 9.57636 3 7.74936 3C4.59847 3 2 5.53708 2 9.28133C2 13.4348 5.48849 17.5575 10.8286 21.0358C11.2379 21.312 11.688 21.5575 11.9949 21.5575Z",fill:"currentColor"})})}),(0,n.jsx)("symbol",{id:"svg-high-digg-report",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{opacity:"1",children:(0,n.jsx)("path",{d:"M13.7321 4C12.9623 2.66666 11.0378 2.66667 10.268 4L2.25726 17.875C1.48746 19.2083 2.44971 20.875 3.98932 20.875H20.0108C21.5504 20.875 22.5126 19.2083 21.7428 17.875L13.7321 4ZM12.0001 8.49998C12.55 8.49998 12.9936 8.95002 12.9856 9.49988L12.9116 13.6016C12.9043 14.0999 12.4984 14.5 12.0001 14.5C11.5018 14.5 11.0958 14.0999 11.0886 13.6016L11.0146 9.49988C11.0066 8.95002 11.4502 8.49998 12.0001 8.49998ZM13.1001 16.6C13.1001 17.2075 12.6076 17.7 12.0001 17.7C11.3926 17.7 10.9001 17.2075 10.9001 16.6C10.9001 15.9925 11.3926 15.5 12.0001 15.5C12.6076 15.5 13.1001 15.9925 13.1001 16.6Z",fill:"currentColor"})})}),(0,n.jsx)("symbol",{id:"svg-high-digg-delete",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:"M7.60379 3.6568C7.76739 2.8388 8.48561 2.25 9.3198 2.25H14.6802C15.5144 2.25 16.2326 2.8388 16.3962 3.6568L16.6649 5H20.25C20.6642 5 21 5.33579 21 5.75C21 6.16421 20.6642 6.5 20.25 6.5H18.9062L18.1612 18.4215C18.0706 19.8709 16.8687 21 15.4165 21H8.58349C7.13132 21 5.92943 19.8709 5.83885 18.4215L5.09375 6.5H3.75C3.33579 6.5 3 6.16421 3 5.75C3 5.33579 3.33579 5 3.75 5H7.33515L7.60379 3.6568ZM8.86485 5H15.1351L14.9253 3.95097C14.902 3.83412 14.7994 3.75 14.6802 3.75H9.3198C9.20063 3.75 9.09803 3.83412 9.07466 3.95097L8.86485 5ZM10 8.75C9.58579 8.75 9.25 9.08579 9.25 9.5V16.5C9.25 16.9142 9.58579 17.25 10 17.25C10.4142 17.25 10.75 16.9142 10.75 16.5V9.5C10.75 9.08579 10.4142 8.75 10 8.75ZM14.75 9.5C14.75 9.08579 14.4142 8.75 14 8.75C13.5858 8.75 13.25 9.08579 13.25 9.5V16.5C13.25 16.9142 13.5858 17.25 14 17.25C14.4142 17.25 14.75 16.9142 14.75 16.5V9.5Z",fill:"currentColor"})})]}),(0,n.jsx)(M.z,{svg:(0,n.jsx)(w.Z,{})})]}),V=e=>{var t,i;let{text:a,danmakuId:r,awemeId:s,player:d,isDanmuAuthor:u=!1,isAwemeAuthor:v=!1,isLike:f=!1,isAnchor:p=!1,authorId:g="",danmakuIdUid:y="",firstDanmakuShowRef:k,offsetTime:_,videoScale:w,itemDurationMs:C,logParams:S={},currentIndex:b=-1,showDigg:I=!1,diggCount:N=0}=e,j=(0,m.Y)(()=>{var e,t,i,a;d&&!d.danmakuIds&&(d.danmakuIds=[],d.videoTimes=[]),!d.danmakuIds.includes(r)&&(d.danmakuIds.push(r),d.videoTimes.push(Math.round(1e3*d.currentTime))),d.danmakuIds.length>=100&&(P.Z.sendLog("danmakuImpression",{enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:s,danmaku_id_list:d.danmakuIds.toString(),video_time_list:d.videoTimes.toString()}),d.danmakuIds=[],d.videoTimes=[]),d.danmakuShowCount=(null!==(e=d.danmakuShowCount)&&void 0!==e?e:0)+1,!k.current&&_&&(P.Z.sendLog("firstDanmakuShow",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:s,author_id:g,danmaku_id:r,video_time:_,video_pct:Math.floor(d.currentTime/d.duration*100),video_scale:w,item_duration_ms:C,is_visible:"visible"===document.visibilityState?1:0,play_order:b,danmaku_readdata_times:(null==d?void 0:null===(t=d.danmaku)||void 0===t?void 0:t.readDataTimes)&&(null==d?void 0:d.firstframe)?d.danmaku.readDataTimes-d.firstframe:-1,danmaku_attach_times:(null==d?void 0:null===(i=d.danmaku)||void 0===i?void 0:i.attachTimes)&&(null==d?void 0:d.firstframe)?d.danmaku.attachTimes-d.firstframe:-1,danmaku_startmove_times:(null==d?void 0:null===(a=d.danmaku)||void 0===a?void 0:a.startMoveTimes)&&(null==d?void 0:d.firstframe)?d.danmaku.startMoveTimes-d.firstframe:-1},S)),k.current=!0)},{root:null==d?void 0:null===(t=d.danmaku)||void 0===t?void 0:t.container}),[A,D]=(0,o.useState)(N);(0,o.useEffect)(()=>{D(N)},[N,r]),(0,o.useEffect)(()=>{if(!j.current)return;let e=new MutationObserver(e=>{e.forEach(e=>{"attributes"===e.type&&"data-digg-count"===e.attributeName&&D(parseInt(j.current.getAttribute("data-digg-count")||"0",10))})});return e.observe(j.current,{attributes:!0,attributeFilter:["data-digg-count"]}),()=>e.disconnect()},[]);let M=(i=A)>9999?`${(i/1e4).toFixed(1)}万`:i;return(0,n.jsxs)("div",{className:c()(E.default.danmakuItem,E.default.item,E.default.redHeart,{[E.default.isAuthor]:u,[E.default.hovered]:p,[E.default.hideIcon]:"creator_center"===(0,h.vM)(),[E.default.heightCustom]:!0,[E.default.withText]:!0}),ref:j,[T.danmuId]:r,[T.isDanmuAuthor]:u,[T.isLike]:f,[T.danmakuUserId]:y,"data-digg-count":N,children:[(0,n.jsx)("div",{className:c()(E.default.danMuText,L.danMuText),children:a}),(0,n.jsxs)("div",{className:c()(E.default.isLikeIcon,{[E.default.withText]:!0,[E.default.highDigg]:I}),children:[(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("use",{href:"#svg-high-digg-like"})}),I&&(0,n.jsx)("span",{className:E.default.iconText,children:M})]}),(0,n.jsxs)("div",{className:c()(E.default.interactive,{[E.default.withText]:!0}),children:[(0,n.jsxs)("div",{className:c()(E.default.icon,E.default.likeIcon,L.likeIcon,{[E.default.withText]:!0}),children:[(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("use",{href:"#svg-high-digg-like"})}),(0,n.jsx)("span",{className:E.default.iconText,children:A>0?M:"喜欢"})]}),!u&&(0,n.jsxs)("div",{className:c()(E.default.icon,E.default.report,L.reportIcon,{[E.default.withText]:!0}),children:[(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("use",{href:"#svg-high-digg-report"})}),(0,n.jsx)("span",{className:E.default.iconText,children:"举报"})]}),(v||u)&&(0,n.jsxs)("div",{className:c()(E.default.icon,E.default.deleteIcon,L.deleteIcon,{[E.default.withText]:!0}),children:[(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("use",{href:"#svg-high-digg-delete"})}),(0,n.jsx)("span",{className:E.default.iconText,children:"删除"})]})]})]},r)},B=e=>{let t=document.createElement("div");return t.id=e.danmakuId,k.render((0,o.createElement)(V,(0,a._)((0,l._)({},e),{key:e.danmakuId})),t),t};i("932651");var O=i("350856"),G=i.n(O),z=i("728841"),F=i.n(z),Z=i("849771"),U=i.n(Z),H=i("247494"),K=i.n(H),W=i("85079"),Y=i.n(W),$=i("225434"),q=i.n($),X=i("889429"),J=i("37285");let Q={fontSize:1,speed:1,region:0,opacity:80*A.JO,isOpen:A.eG.CLOSE},ee=()=>{var e,t,i,l,a,n;let o=g.Le.getConfig(g.gI.AbtestData)||{};if((null==o?void 0:o.danmakuConfig)&&(null==o?void 0:null===(e=o.danmakuConfig)||void 0===e?void 0:e.pc_danmkau_default_position)&&(null==o?void 0:null===(t=o.danmakuConfig)||void 0===t?void 0:t.pc_danmkau_default_fontsize)&&((null==o?void 0:null===(i=o.danmakuConfig)||void 0===i?void 0:i.enable_rewrite_config_forall)||(null===(l=navigator)||void 0===l?void 0:l.hardwareConcurrency)>4)){let e=null===A.NY||void 0===A.NY?void 0:null===(a=A.NY.findIndex)||void 0===a?void 0:a.call(A.NY,e=>{var t;return(null==e?void 0:e.key)===(null==o?void 0:null===(t=o.danmakuConfig)||void 0===t?void 0:t.pc_danmkau_default_fontsize)}),t=null===A.WK||void 0===A.WK?void 0:null===(n=A.WK.findIndex)||void 0===n?void 0:n.call(A.WK,e=>{var t;return(null==e?void 0:e.key)===(null==o?void 0:null===(t=o.danmakuConfig)||void 0===t?void 0:t.pc_danmkau_default_position)});return{speed:1,opacity:80*A.JO,isOpen:A.eG.CLOSE,fontSize:e,region:t}}return Q},et=g.gI.DanmakuSetting,ei=new Map([["fontSize",["danmakuSizeSetting","size_value"]],["region",["danmakuAreaSetting","area_value"]],["opacity",["danmakuOpacitySetting","opacity_value"]],["speed",["danmakuSpeedSetting","speed_value"]]]),el=(e,t,i)=>{if("opacity"===e)return[t,i];if("region"===e)return[A.WK[t].log,A.WK[i].log];if("fontSize"===e)return[A.NY[t].log,A.NY[i].log];else if("speed"===e)return[A.AY[t].log,A.AY[i].log];else return[t-1,i-1]},ea=(e,t,i,n,o)=>{let r=(0,h.mo)(),s=(0,x.yW)(),{awemeId:d,authorUserId:u}=i||{};if(K()(e).length>=ei.size){let{speed:e,region:i,fontSize:c,opacity:v}=Y()(t)?ee():t;P.Z.sendLog("clickDanmakuDefaultSetting",(0,a._)((0,l._)({enter_from:r,enter_from_merge:s,group_id:d,author_id:String(u),pre_speed_value:A.AY[e].log,pre_area_value:A.WK[i].log,pre_size_value:A.NY[c].log,pre_opacity_value:v},n),{rate:(null==o?void 0:o())||0,player_display_mode:(0,h.Ok)()}));return}if(1===K()(e).length&&U()(e,"isOpen")){var c,v,m;P.Z.sendLog("danmakuSwitch",(0,a._)((0,l._)({enter_from:r,enter_from_merge:s,action:e.isOpen?"1":"0",danmaku_switch_status:(null==e?void 0:e.isOpen)===A.eG.SIMPLE_MODE?"Sample_on":e.isOpen?"on":"off",off_range:"all_video",group_id:d,author_id:String(u),video_scale:(null==i?void 0:null===(c=i.video)||void 0===c?void 0:c.width)/(null==i?void 0:null===(v=i.video)||void 0===v?void 0:v.height),item_duration_ms:(null==i?void 0:null===(m=i.video)||void 0===m?void 0:m.duration)||0},n),{rate:(null==o?void 0:o())||0}));return}F()(e,(e,i)=>{if("isOpen"===i)return;let[c,v]=el(i,Number(e),t[i]),[m,f]=ei.get(i);m&&P.Z.sendLog(m,(0,a._)((0,l._)({enter_from:r,enter_from_merge:s,group_id:d,author_id:String(u),[f]:c,pre_value:v},n),{rate:(null==o?void 0:o())||0,player_display_mode:(0,h.Ok)()}))})},en=()=>g.Le.getConfig(et),eo=e=>{var t,i;return Number(null!==(i=null===(t=en())||void 0===t?void 0:t[e])&&void 0!==i?i:ee()[e])},er=()=>{var e;return(null===(e=en())||void 0===e?void 0:e.opacity)/100||A.JO},es=e=>{var t,i,l,a,n,o,r,s;let d=e||window.player;return(null==d?void 0:null===(l=d.danmaku)||void 0===l?void 0:null===(i=l.main)||void 0===i?void 0:null===(t=i.channel)||void 0===t?void 0:t.containerWidth)||(null==d?void 0:null===(n=d.video)||void 0===n?void 0:null===(a=n.getBoundingClientRect())||void 0===a?void 0:a.width)||(null===(o=g.Le.getConfig(g.gI.videoRect))||void 0===o?void 0:o.width)||(null===(s=document.querySelector(".basePlayerContainer"))||void 0===s?void 0:null===(r=s.getBoundingClientRect())||void 0===r?void 0:r.width)},ed=(e,t)=>{let i=A.NY,l=t||es(e);return l<=800?i=A.Te:l>1366&&(i=A.lE),i},eu=e=>{let{player:t,videoWidth:i,fontSize:l}=e,a=l||ec(t,i),n=a+20||A.Rz,o=i||es(t);if(o<=800)switch(a){case A.Te["0"].value:case A.Te["1"].value:n=a+4;break;case A.Te["2"].value:n=a+6;break;case A.Te["3"].value:n=a+8;break;case A.Te["4"].value:n=a+9}else if(o>1366)switch(a){case A.lE["0"].value:n=a+6;break;case A.lE["1"].value:n=a+8;break;case A.lE["2"].value:n=a+9;break;case A.lE["3"].value:case A.lE["4"].value:n=a+11}else switch(a){case A.NY["0"].value:n=a+4;break;case A.NY["1"].value:n=a+6;break;case A.NY["2"].value:n=a+8;break;case A.NY["3"].value:n=a+9;break;case A.NY["4"].value:n=a+11}return n},ec=(e,t)=>{var i,l;return(null===(i=ed(e,t)[null===(l=en())||void 0===l?void 0:l.fontSize])||void 0===i?void 0:i.value)||A.Kt},ev=()=>{var e,t;return(null===(e=A.AY[null===(t=en())||void 0===t?void 0:t.speed])||void 0===e?void 0:e.value)||A.th},em=(e,t)=>t.findIndex(t=>t.key===e),ef=()=>{var e;return null===(e=g.Le.getConfig(g.gI.DanmakuSetting))||void 0===e?void 0:e.isOpen},ep=async e=>{var t,i,a,n,o;let r=g.Le.getConfig(et);if(r)return r;let s=ee(),d=ed();try{let t=await (0,I.Ri)({hardware_concurrency:null===(i=navigator)||void 0===i?void 0:i.hardwareConcurrency});if((null==t?void 0:t.statusCode)===0){let i=null==t?void 0:null===(a=t.confList)||void 0===a?void 0:a[0];g.Le.setConfig(g.gI.DanmakuSettingOrigin,i);let r=q()(i,(e,t)=>"isOn"===t||0!==e);r.region=em(r.region,A.WK),r.fontSize=em(r.fontSize,d),r.speed=em(r.speed,A.AY),(null==i?void 0:i.simplifiedModeSwitch)&&(null==e?void 0:e.danmakuSimpleMode)&&(r.region=0===r.region?r.region:(null==e?void 0:e.danmakuSimpleMode)-1);let u=(0,l._)({},s,r);document.body.style.setProperty("--danmaku-img-height",`${(null===(n=d[u.fontSize])||void 0===n?void 0:n.value)||A.Kt}px`);let c=(null===(o=navigator)||void 0===o?void 0:o.hardwareConcurrency)>4;return null==i||!i.fromDefault||c||(null==e?void 0:e.lowDeviceDanmaku)?(null==r?void 0:r.simplifiedModeSwitch)?u.isOpen=A.eG.SIMPLE_MODE:u.isOpen=r.isOpen?A.eG.OPEN:A.eG.CLOSE:u.isOpen=A.eG.CLOSE,g.Le.setConfig(et,u),u}}catch(e){}return document.body.style.setProperty("--danmaku-img-height",`${(null===(t=d[s.fontSize])||void 0===t?void 0:t.value)||A.Kt}px`),s},eh=G()(async e=>{var t,i,n,o,r;let s=ed(),{conf:d,oldConf:u,isSendLog:c=!0,awemeInfo:v,isLogin:m,logParams:f,getRate:p,isSimpleMode:h,isResetMode:x,danmu:y,callback:k}=e,_=(0,l._)({},g.Le.getConfig(et)||u),w=(0,l._)({},_,d),E=g.Le.getConfig(g.gI.AbtestData);if(document.body.style.setProperty("--danmaku-img-height",`${(null===(t=s[w.fontSize])||void 0===t?void 0:t.value)||A.Kt}px`),h){void 0===w.originRegion&&!x&&(w.originRegion=w.region);let e=0===w.originRegion?w.originRegion:(null==E?void 0:E.danmakuSimpleMode)-1;g.Le.setConfig(et,Object.assign({},w,{region:e}))}else void 0!==w.originRegion&&(w.region=w.originRegion,w.originRegion=void 0),g.Le.setConfig(et,w);if((null==y?void 0:y.setArea)&&(null==w?void 0:w.isOpen)){let e=null===(i=g.Le.getConfig(et))||void 0===i?void 0:i.region;y.setArea((0,l._)({start:A.tj,end:null===(n=A.WK[e])||void 0===n?void 0:n.value},1===e||0===e?{lines:e+1}:{}),!!h)}if(null==k||k(),m){let e=(0,a._)((0,l._)({},w),{region:null===(o=A.WK[null!==(r=w.originRegion)&&void 0!==r?r:w.region])||void 0===o?void 0:o.key,fontSize:s[w.fontSize].key,speed:A.AY[w.speed].key,isOpen:w.isOpen===A.eG.OPEN||w.isOpen===A.eG.SIMPLE_MODE,simplifiedModeSwitch:w.isOpen===A.eG.SIMPLE_MODE});0===(await (0,I.RB)(e)).statusCode&&c&&ea(d,_,v,f,p)}},100,{trailing:!0}),ex=e=>{let{danmu:t,awemeInfo:i,player:a,isLogin:n,logParams:o,isSimpleMode:r,callback:s}=e,d=(0,l._)({},g.Le.getConfig(et)),{opacity:u,speed:c,fontSize:v,region:m}=ee();g.Le.setConfig(et,null),null==t||t.setOpacity(u/100);let f=ed(a)[v].value;null==t||t.setFontSize(String(f),eu({fontSize:f}),{reflow:!1}),a.emit(J.B.danmakuSettingChange,f),null==t||t.setAllDuration(A.IK,A.AY[c].value/(null==a?void 0:a.playbackRate)),eh({conf:{region:r?void 0:m,speed:c,fontSize:v,opacity:u,isOpen:d.isOpen},awemeInfo:i,oldConf:d,isLogin:n,logParams:o,isSimpleMode:r,isResetMode:!0,danmu:t,callback:s})},eg=[{key:"opacity",desc:"不透明度",showDots:!1,max:100,getLabelFunc:e=>{if(!Object.is(e,NaN))return`${e}%`},defaultVal:80*A.JO,onChange:async e=>{let{val:t,danmu:i,awemeInfo:l,isLogin:a,logParams:n,switchStatus:o}=e;if(Object.is(t,NaN))return;let r=Math.max(t/100,.2);eh({conf:{opacity:Math.max(t,20)},awemeInfo:l,isLogin:a,logParams:n,isSimpleMode:o===A.eG.SIMPLE_MODE,danmu:i}),null==i||i.setOpacity(r)}},{key:"region",desc:"显示区域",showDots:!0,simpleModeBlockDefaultVal:!0,max:4,getLabelFunc:e=>{if(!Object.is(e,NaN)){var t;return null===(t=A.WK[e])||void 0===t?void 0:t.desc}},defaultVal:1,onChange:async e=>{let{val:t,danmu:i,awemeInfo:a,isLogin:n,player:o,logParams:r,switchStatus:s,callback:d}=e;if(Object.is(t,NaN))return;let u=(0,l._)({start:A.tj,end:A.WK[t].value},1===t||0===t?{lines:t+1}:{});eh({conf:{region:t},awemeInfo:a,isLogin:n,logParams:(0,l._)({browser_height:(0,X.P6)(),browser_width:(0,X.wi)(),browser_ratio:(0,X.P6)()/(0,X.wi)()},r),getRate:()=>{var e,t,i,l;return((null==o?void 0:null===(i=o.danmaku)||void 0===i?void 0:null===(t=i.state)||void 0===t?void 0:null===(e=t.displayArea)||void 0===e?void 0:e.height)||0)/(null==o?void 0:null===(l=o.video)||void 0===l?void 0:l.clientHeight)},isSimpleMode:s===A.eG.SIMPLE_MODE,danmu:i,callback:d}),null==i||i.setArea(u)}},{key:"fontSize",desc:"字体大小",showDots:!0,max:4,getLabelFunc:e=>{if(!Object.is(e,NaN))return ed()[e].desc},defaultVal:2,onChange:async e=>{var t;let{val:i,danmu:a,awemeInfo:n,isLogin:o,player:r,logParams:s,switchStatus:d}=e;if(Object.is(i,NaN))return;let u=null===(t=ed(r))||void 0===t?void 0:t[i].value;eh({conf:{fontSize:i},awemeInfo:n,isLogin:o,logParams:(0,l._)({browser_height:(0,X.P6)(),browser_width:(0,X.wi)(),browser_ratio:(0,X.P6)()/(0,X.wi)()},s),getRate:()=>{var e,t,i,l;return((null==r?void 0:null===(i=r.danmaku)||void 0===i?void 0:null===(t=i.state)||void 0===t?void 0:null===(e=t.displayArea)||void 0===e?void 0:e.height)||0)/(null==r?void 0:null===(l=r.video)||void 0===l?void 0:l.clientHeight)},isSimpleMode:d===A.eG.SIMPLE_MODE,danmu:a}),null==a||a.setFontSize(String(u),eu({fontSize:u})),r.emit(J.B.danmakuSettingChange,u)}},{key:"speed",desc:"移动速度",showDots:!0,max:2,getLabelFunc:e=>{if(!Object.is(e,NaN)){var t;return null===(t=A.AY[e])||void 0===t?void 0:t.desc}},defaultVal:2,onChange:async e=>{let{val:t,danmu:i,awemeInfo:l,player:a,isLogin:n,logParams:o,switchStatus:r}=e;if(Object.is(t,NaN))return;let s=A.AY[t].value;eh({conf:{speed:t},awemeInfo:l,isLogin:n,logParams:o,isSimpleMode:r===A.eG.SIMPLE_MODE,danmu:i}),null==i||i.setAllDuration(A.IK,s/(null==a?void 0:a.playbackRate))}}];var ey=i("956662");let ek=null,e_=e=>{let{player:t,isActive:a,awemeInfo:n,userInfo:r,ref:d,danmakuInfo:u,switchStatus:c,setDanmakuInited:v,danmakuInited:m,emojiListMapped:f,logParams:y,abTestData:w,firstDanmakuShowRef:E,currentIndex:C}=e,[S,b]=(0,o.useState)(!!ek),I=(0,o.useRef)(null),N=(0,o.useRef)(0),j=(0,o.useRef)(0);(0,o.useEffect)(()=>{(async()=>{if(!S){var e;ek=null===(e=await i.e("40716").then(i.t.bind(i,550593,23)))||void 0===e?void 0:e.default,b(!0)}})()},[]);let L=e=>{N.current=e};return(0,o.useEffect)(()=>(null==t||t.on(A.Ks.reportIdChange,L),()=>{null==t||t.off(A.Ks.reportIdChange,L),N.current=null}),[t,n]),(0,o.useEffect)(()=>{j.current=(null==w?void 0:w.danmakuSimpleMode)||0},[w]),(0,o.useEffect)(()=>{var e,i,o,s;if((null==w?!void 0:!w.reduceDanmakuInit)||(null==n?!void 0:null===(e=n.danmakuControl)||void 0===e?!void 0:!e.skipDanmaku)||!(navigator.hardwareConcurrency<=4)){if(t&&a&&!t.danmaku&&c&&S&&d.current){let e=g.Le.getConfig(g.gI.DanmakuSetting),a=c===A.eG.SIMPLE_MODE?j.current-1:null!==(s=null==e?void 0:e.region)&&void 0!==s?s:null===(i=en())||void 0===i?void 0:i.region,{awemeId:u,authorInfo:m}=n||{},p={trackAllocationOptimization:!0,textWidthPrediction:!!((null==w?void 0:w.danmakuTextWidthPrediction)&&"undefined"!=typeof Intl&&"function"==typeof Intl.Segmenter),fontSizeAdjust:!0,postOptimization:!0,needResizeObserver:!0,disableCopyDOM:!0,mouseControl:!0,mouseControlPause:!0,container:d.current,live:!1,player:t,direction:"r2l",pollingInterval:(null==w?void 0:w.reduceDanmakuInterval)&&navigator.hardwareConcurrency>=4?null==w?void 0:w.reduceDanmakuInterval:250,channelSize:eu({player:t}),area:{start:A.tj,end:(null===(o=A.WK[a])||void 0===o?void 0:o.value)||A.uR,lines:0===a||1===a?a+1:void 0},defaultOff:!0,dropStaleComments:!0,hooks:{bulletCreateEl(e){var i,a,o,s,d,c;let v=(0,ey.vI)({danmakuId:e.danmakuId,text:e.text,emojiListMapped:null==t?void 0:null===(i=t.danmaku)||void 0===i?void 0:i.emojiListMapped});return B((0,l._)({player:t,text:v,danmakuId:e.id,awemeId:u,isAwemeAuthor:(null==m?void 0:m.uid)===(null==r?void 0:null===(a=r.info)||void 0===a?void 0:a.uid),authorId:null==m?void 0:m.uid,danmakuIdUid:null==e?void 0:e.user_id,isDanmuAuthor:(null==e?void 0:e.user_id)===(null==r?void 0:null===(o=r.info)||void 0===o?void 0:o.uid),logParams:y,videoScale:(null==n?void 0:null===(s=n.video)||void 0===s?void 0:s.width)/(null==n?void 0:null===(d=n.video)||void 0===d?void 0:d.height),itemDurationMs:(null==n?void 0:null===(c=n.video)||void 0===c?void 0:c.duration)||0,currentIndex:C},e._))},bulletDetached(e,t){k.unmountComponentAtNode(t)},bulletEstimaWidth(e,i,l){var a;let{showDigg:n=!1,diggCount:o=0}=l||{},{text:r,emojiCount:s}=(0,ey.AS)({text:e,emojiListMapped:null==t?void 0:null===(a=t.danmaku)||void 0===a?void 0:a.emojiListMapped}),d=(0,ey.mY)(r,i,n,o);return d+((parseInt(i)+8)*s+32)}}},h=new ek(p);return h.setOpacity(er()),t.paused?t.needStart=!0:h.start(),t.danmaku=h||{},t.danmaku.emojiListMapped=f,v(!0),t.emit(A.Ks.danmakuInit),()=>{E.current=!1,h=null}}}},[t,a,null==n?void 0:n.awemeId,c,S]),(0,o.useEffect)(()=>{if(t&&a&&t.danmaku&&c&&m&&d.current){let{danmaku:e}=t,i=()=>{if(N.current){N.current=0,I.current=null;return}let t=I.current;if((null==t?void 0:t.el)&&(null==t||t.el.removeEventListener("mouseleave",i),null==t||t.el.removeEventListener("click_timestamp",i)),(null==t?void 0:t.id)&&(null==t?void 0:t.el)){var l,a;e.restartComment(null==t?void 0:t.id),null===(a=t.el)||void 0===a||null===(l=a.style)||void 0===l||l.setProperty("z-index","9")}I.current=null},a=e=>{var a;let{bullet:o}=e;if(o!==I.current&&null!==o.el)P.Z.sendLog("pickDanmaku",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:null==n?void 0:n.awemeId,author_id:null==n?void 0:null===(a=n.authorInfo)||void 0===a?void 0:a.uid,danmaku_id:o.id},y)),I.current=o,t.danmaku.freezeComment(o.id),o.el.addEventListener("mouseleave",i),o.el.addEventListener("click_timestamp",i),o.el.style.setProperty("z-index","11")};e.on(A.Ks.bulletHover,a);let o=e.resize;e.resize=()=>{var i;if(!!(null==t?void 0:null===(i=t.root)||void 0===i?void 0:i.offsetWidth))e&&o.call(e)};let r=()=>null==e?void 0:e.resize(),d=()=>{var i,l,a;!((null==t?void 0:t.currentTime)<.5)&&(null==t||null===(l=t.danmaku)||void 0===l||l.clear(),null==t||null===(a=t.danmaku)||void 0===a||a.stop()),((null===(i=g.Le.getConfig(g.gI.DanmakuSetting))||void 0===i?void 0:i.isOpen)||u)&&(t.paused?t.needStart=!0:null==e||e.start())},c=()=>{if(!((null==t?void 0:t.currentTime)<1))i(),null==t||t.emit(A.Ks.clearCache),null==e||e.stop()},v=()=>{"paused"!==e.status&&(_.t.isOptimizeDanmaku(w)?setTimeout(()=>{null==e||e.pause()},0):null==e||e.pause())},m=()=>{var i,l,a,n;((null===(i=g.Le.getConfig(g.gI.DanmakuSetting))||void 0===i?void 0:i.isOpen)||u)&&(t.needStart||(null==t?void 0:null===(l=t.danmaku)||void 0===l?void 0:l.main._status)==="closed"?(null==t||null===(a=t.danmaku)||void 0===a||a.start(),t.needStart=!1):null==e||null===(n=e.play)||void 0===n||n.call(e))},f=()=>{let i=ev();t.playbackRate&&(null==e||e.setAllDuration(A.IK,i/t.playbackRate))},k=()=>{u&&(null==u?void 0:u.status)!==0&&setTimeout(()=>{if(u.pausedStatus&&!t.paused||!u.pausedStatus){var e;null==t||null===(e=t.danmaku)||void 0===e||e.start()}},500)};t.on(s.Events.FULLSCREEN_CHANGE,r),t.on(s.Events.CSS_FULLSCREEN_CHANGE,r),t.on(s.Events.MINI_STATE_CHANGE,r),t.on(s.Events.SEEKED,d),t.on(s.Events.SEEKING,c),t.on(s.Events.PAUSE,v),t.on(s.Events.PLAY,m),t.on(s.Events.CANPLAY,k),t.on("ratechange",f);let C=p.listen(p.EVENT.videoPause,v);return(null==u?void 0:u.danmakuOffset)&&(null==u?void 0:u.status)!==0&&(t.currentTime=Math.max((null==u?void 0:u.danmakuOffset)/1e3-1,0),setTimeout(()=>{var e;null==t||null===(e=t.danmaku)||void 0===e||e.start()},500)),()=>{null==t||t.off(s.Events.FULLSCREEN_CHANGE,r),null==t||t.off(s.Events.CSS_FULLSCREEN_CHANGE,r),null==t||t.off(s.Events.MINI_STATE_CHANGE,r),t.off(s.Events.SEEKED,d),null==t||t.off(s.Events.SEEKING,c),null==t||t.off(s.Events.PAUSE,v),t.off(s.Events.PLAY,m),null==t||t.off(s.Events.CANPLAY,k),null==t||t.off(A.Ks.ratechange,f),null==e||e.off(A.Ks.bulletHover,a),E.current=!1,C()}}},[t,a,null==n?void 0:n.awemeId,c,m]),(0,o.useEffect)(()=>{if(c===A.eG.CLOSE){var e,i;null==t||null===(i=t.danmaku)||void 0===i||null===(e=i.destroy)||void 0===e||e.call(i),t.danmaku=null}},[c,t]),null},ew={isLoading:!1,hasUsed:!1,fetchTimes:0,data:[]},eE=e=>{let{player:t,isActive:i,awemeInfo:a,danmakuInited:n,danmakuInfo:r,firstDanmakuShowRef:d,logParams:u,abtestData:c,currentIndex:v,userUid:m,totalCountRef:f}=e,{awemeId:p}=a||{},y=(0,o.useRef)({}),k=(0,o.useRef)(0),_=(0,o.useRef)(!1),w=(0,o.useRef)(()=>{}),E=(0,o.useRef)(0),C=(0,o.useCallback)((e,t)=>{let i=A.SW;if(!t)return[0,i];let l=Math.floor(t/i)*i;return[l,l+i{(async()=>{var e,i,n,o,r,s,d,m;let f=null!==(d=null==t?void 0:t.sendDanmakuCountSelf)&&void 0!==d?d:0,g=await ep(c),y=k.current+f,_=(null!==(m=null==t?void 0:t.danmakuShowCount)&&void 0!==m?m:0)+f;P.Z.sendLog("danmakuPlayResult",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:null==a?void 0:a.awemeId,author_id:null==a?void 0:null===(e=a.authorInfo)||void 0===e?void 0:e.uid,danmaku_count:y,danmaku_pub_count:y,danmaku_play_count:_>y?y:_,speed_value:A.AY[g.speed].log,area_value:A.WK[g.region].log,size_value:null===(i=ed(t))||void 0===i?void 0:i[g.fontSize].log,opacity_value:g.opacity,speed_video:null==t?void 0:t.playbackRate,play_time:E.current,browser_height:(0,X.P6)(),browser_width:(0,X.wi)(),browser_ratio:(0,X.P6)()/(0,X.wi)(),video_scale:(null==a?void 0:null===(n=a.video)||void 0===n?void 0:n.width)/(null==a?void 0:null===(o=a.video)||void 0===o?void 0:o.height),item_duration_ms:(null==a?void 0:null===(r=a.video)||void 0===r?void 0:r.duration)||0,player_replayed:(null==t?void 0:t.replayed)?1:0,is_visible:"visible"===document.visibilityState?1:0,play_order:v,damaku_switch_status:(null==g?void 0:g.isOpen)===A.eG.SIMPLE_MODE?"Sample_on":g.isOpen?"on":"off"},u)),t.sendDanmakuCountSelf=0,(null==t?void 0:null===(s=t.danmakuIds)||void 0===s?void 0:s.length)&&(P.Z.sendLog("danmakuImpression",{enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:p,danmaku_id_list:t.danmakuIds.toString(),video_time_list:t.videoTimes.toString()}),t.danmakuIds=[],t.videoTimes=[])})()},N=()=>{if(y.current={},t){var e,i;t.danmuPrequest=!1,(null==t?void 0:null===(i=t.danmaku)||void 0===i?void 0:null===(e=i.main)||void 0===e?void 0:e.data)&&(t.danmaku.main.data=[])}};w.current=()=>{N(),!_.current&&(_.current=!0,b())},(0,o.useEffect)(()=>{y.current={};let e=()=>w.current();return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e),w.current()}},[p]),(0,o.useEffect)(()=>{t&&(t.isEnded=!1,t.danmakuShowCount=0)},[p,i]),(0,o.useEffect)(()=>{if(t){let e=()=>{E.current=Math.ceil(1e3*((null==t?void 0:t.currentTime)||(null==t?void 0:t.duration)))};return null==t||t.on(A.Ks.clearCache,N),null==t||t.on(s.Events.TIME_UPDATE,e),null==t||t.on(s.Events.REPLAY,N),()=>{null==t||t.off(A.Ks.clearCache,N),null==t||t.off(s.Events.TIME_UPDATE,e),null==t||t.off(s.Events.REPLAY,N)}}},[t,p]),(0,o.useEffect)(()=>{if(t&&i&&t.danmaku&&n){let e=S()(async()=>{var e,i,n,o,s;if(!((null===(e=g.Le.getConfig(g.gI.DanmakuSetting))||void 0===e?void 0:e.isOpen)||r))return;let[u,c]=C(t.duration,t.currentTime);y.current.awemeId=y.current.awemeId||{},!y.current.awemeId[u]&&(y.current.awemeId[u]=(0,l._)({},ew));let v=y.current.awemeId[u];if((null==v?void 0:v.isLoading)||(null==v?void 0:v.hasUsed)||t.danmuPrequest&&u({start:(null==r?void 0:r.danmakuId)===e.danmakuId?void 0:e.offsetTime,realTime:(null==r?void 0:r.danmakuId)===e.danmakuId,duration:ev()/t.playbackRate,id:e.danmakuId,user_id:e.userId,score:null==e?void 0:e.score,elLazyInit:!0,text:null==e?void 0:e.text,style:{fontSize:E,height:E,lineHeight:E,color:"#FFFFFF",marginTop:"0"},prior:(null==r?void 0:r.danmakuId)===e.danmakuId||m===(null==e?void 0:e.userId),_:{isAnchor:(null==r?void 0:r.danmakuId)===e.danmakuId,isLike:1===e.diggType,firstDanmakuShowRef:d,offsetTime:e.offsetTime,diggCount:e.diggCount,showDigg:e.showDigg}}));S.length>0&&(null==t||null===(s=t.danmaku)||void 0===s||null===(o=s.updateComments)||void 0===o||o.call(s,S,!1))},2e3,{leading:!0,trailing:!1}),o=()=>{!t.paused&&i&&t.danmaku&&n&&e()},u=()=>{t.isEnded=!0,t.danmuPrequest=!1};return t.on(s.Events.CANPLAY,e),t.on(s.Events.TIME_UPDATE,o),t.on(s.Events.ENDED,u),()=>{t.off(s.Events.CANPLAY,e),t.off(s.Events.TIME_UPDATE,o),t.off(s.Events.ENDED,u)}}},[t,i,p,n,C,c,m])};var eC=i("665054"),eS=i("63601"),eb=i("310383"),eI=i("44599"),eN=i("913285"),ej=i("855357"),eA=i("426112"),eP=i("857800");i("234572");var eL=i("39282"),eT=i("426862"),eD=i("48795"),eM=i("540129"),eR=i("132027"),eV=i("474808");let eB=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.44 4.431a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1.7a.2.2 0 0 0-.2.199v1.666c0 .11.09.2.2.2h1.7a2 2 0 0 1 2 2v.931a3.8 3.8 0 0 1-3.8 3.8h-.9a.8.8 0 0 1 0-1.6h.9a2.2 2.2 0 0 0 2.199-2.2v-.931a.4.4 0 0 0-.4-.4h-1.7a1.8 1.8 0 0 1-1.8-1.8V10.63c.001-.994.807-1.8 1.8-1.8h1.7a.4.4 0 0 0 .4-.4V6.431a.4.4 0 0 0-.4-.4h-2.7a.8.8 0 0 1 0-1.6h2.7zm9.098-.436a.802.802 0 0 1 1.11-.223.801.801 0 0 1 .221 1.11l-.678 1.016h.278a2 2 0 0 1 2 2v3.465a2 2 0 0 1-2 2h-1.665v.442a4.591 4.591 0 0 0-2.575 2.49h-2.624a.8.8 0 0 1 0-1.599h3.6v-1.333h-1.667a2 2 0 0 1-2-2V7.898a2 2 0 0 1 2-2h.277l-.677-1.016a.801.801 0 0 1 .222-1.11.802.802 0 0 1 1.11.223l1.268 1.903h.53l1.27-1.903zm-4.4 7.368c0 .22.18.4.4.4h1.666v-1.332h-2.066v.932zm3.666.4h1.665a.4.4 0 0 0 .4-.4v-.932h-2.065v1.333zm-3.266-4.265c-.22 0-.4.18-.4.4v.933h2.066V7.498h-1.666zm3.266 1.333h2.065v-.933c0-.22-.18-.4-.4-.4h-1.665V8.83z",fill:"#fff",fillOpacity:".9"}),(0,n.jsx)("path",{d:"M14.398 18.076a3.05 3.05 0 0 1 3.05-3.05h2.848a3.05 3.05 0 0 1 0 6.101h-2.848a3.05 3.05 0 0 1-3.05-3.05z",fill:"#FE2C55"}),(0,n.jsx)("rect",{x:18,y:16.042,width:4.068,height:4.068,rx:2.034,fill:"#fff",fillOpacity:".9"})]}))),eO=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 4.794a2 2 0 0 1 2 2v1.999c0 1.104-.895 2-2 2H5.8a.2.2 0 0 0-.2.2v1.665c0 .11.09.2.2.2h1.7a2 2 0 0 1 2 2v.932a3.8 3.8 0 0 1-3.8 3.8h-.9a.8.8 0 0 1 0-1.6h.9a2.2 2.2 0 0 0 2.2-2.2v-.932a.4.4 0 0 0-.4-.4H5.8a1.8 1.8 0 0 1-1.8-1.8v-1.666a1.8 1.8 0 0 1 1.8-1.8h1.7a.4.4 0 0 0 .4-.399V6.794a.4.4 0 0 0-.4-.4H4.8a.8.8 0 0 1 0-1.6h2.7zm9.098-.438a.8.8 0 0 1 1.331.887l-.677 1.017h.278a2 2 0 0 1 2 2v3.465c0 .095-.01.188-.023.28a5.501 5.501 0 0 0-5.648 4.652h-3.193a.8.8 0 0 1 0-1.6h3.6v-1.332h-1.667a2 2 0 0 1-2-2V8.26a2 2 0 0 1 2-2h.277L12.2 5.243a.801.801 0 0 1 1.332-.887l1.268 1.904h.53l1.27-1.904zm-4.4 7.369c0 .22.18.4.401.4h1.666v-1.333H12.2v.933zm3.667.4h1.665c.22 0 .4-.18.4-.4v-.933h-2.065v1.333zm-3.266-4.266a.4.4 0 0 0-.4.4v.933h2.066V7.86H12.6zm3.266 1.333h2.065V8.26c0-.22-.18-.4-.4-.4h-1.665v1.332z",fill:"#fff",fillOpacity:".9"}),(0,n.jsx)("path",{d:"M19.295 13.5a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm1.836 1.905a.75.75 0 0 0-1.025.275l-1.32 2.287-.879-.679a.75.75 0 1 0-.918 1.186l1.378 1.065a.949.949 0 0 0 1.402-.276l1.636-2.833a.75.75 0 0 0-.274-1.025z",fill:"#FE2C55"})]}))),eG=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{d:"M7.44 4.432a2 2 0 0 1 2 2V8.43a2 2 0 0 1-2 2h-1.7a.2.2 0 0 0-.2.199v1.666c0 .11.09.2.2.2h1.7a2 2 0 0 1 2 2v.932a3.8 3.8 0 0 1-3.8 3.8h-.9a.8.8 0 0 1 0-1.6h.9a2.2 2.2 0 0 0 2.2-2.2v-.932a.4.4 0 0 0-.4-.4h-1.7a1.8 1.8 0 0 1-1.8-1.8V10.63c0-.993.806-1.8 1.8-1.8h1.7a.4.4 0 0 0 .4-.4V6.433a.4.4 0 0 0-.4-.4h-2.7a.8.8 0 0 1 0-1.6h2.7zm9.099-.437a.8.8 0 0 1 1.331.887l-.678 1.016h.277a2 2 0 0 1 2 2v3.465a2 2 0 0 1-2 2h-1.665v.442a4.59 4.59 0 0 0-2.574 2.49h-2.625a.8.8 0 0 1 0-1.599h3.6v-1.333h-1.666a2 2 0 0 1-2-2V7.898a2 2 0 0 1 2-2h.277l-.678-1.016a.802.802 0 0 1 .223-1.11.802.802 0 0 1 1.11.223l1.268 1.903h.53l1.27-1.903zm-4.4 7.368c0 .221.179.4.4.4h1.666v-1.332h-2.067v.932zm3.665.4h1.665c.221 0 .4-.179.4-.4v-.932h-2.065v1.333zM12.54 7.499c-.221 0-.4.18-.4.4v.933h2.066V7.498h-1.666zm3.265 1.333h2.066v-.933c0-.22-.18-.4-.4-.4h-1.666v1.333z",fill:"#fff",fillOpacity:".9"}),(0,n.jsx)("path",{d:"M14.398 18.076a3.05 3.05 0 0 1 3.05-3.05h2.848a3.05 3.05 0 0 1 0 6.101h-2.848a3.05 3.05 0 0 1-3.05-3.05z",fill:"#A1A1A1"}),(0,n.jsx)("rect",{x:15.691,y:16.042,width:4.068,height:4.068,rx:2.034,fill:"#fff",fillOpacity:".9"})]}))),ez=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 4.794a2 2 0 0 1 2 2v1.999c0 1.104-.895 2-2 2H5.8a.2.2 0 0 0-.2.2v1.665c0 .11.09.2.2.2h1.7a2 2 0 0 1 2 2v.932a3.8 3.8 0 0 1-3.8 3.8h-.9a.8.8 0 0 1 0-1.6h.9a2.2 2.2 0 0 0 2.2-2.2v-.932a.4.4 0 0 0-.4-.4H5.8a1.8 1.8 0 0 1-1.8-1.8v-1.666a1.8 1.8 0 0 1 1.8-1.8h1.7a.4.4 0 0 0 .4-.399V6.794a.4.4 0 0 0-.4-.4H4.8a.8.8 0 0 1 0-1.6h2.7zm9.098-.438a.8.8 0 0 1 1.331.887l-.677 1.017h.278a2 2 0 0 1 2 2v3.465c0 .095-.01.188-.023.28a5.501 5.501 0 0 0-5.648 4.652h-3.193a.8.8 0 0 1 0-1.6h3.6v-1.332h-1.667a2 2 0 0 1-2-2V8.26a2 2 0 0 1 2-2h.277L12.2 5.243a.801.801 0 0 1 1.332-.887l1.268 1.904h.53l1.27-1.904zm-4.4 7.369c0 .22.18.4.401.4h1.666v-1.333H12.2v.933zm3.667.4h1.665c.22 0 .4-.18.4-.4v-.933h-2.065v1.333zm-3.266-4.266a.4.4 0 0 0-.4.4v.933h2.066V7.86H12.6zm3.266 1.333h2.065V8.26c0-.22-.18-.4-.4-.4h-1.665v1.332z",fill:"#fff",fillOpacity:".9"}),(0,n.jsx)("path",{d:"M19.295 13.5a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm-2.215 2.843a2.5 2.5 0 0 0 3.371 3.372l-3.37-3.372zM19.295 15c-.416 0-.808.103-1.153.283l3.369 3.37A2.5 2.5 0 0 0 19.295 15z",fill:"#fff",fillOpacity:".9"})]}))),eF=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 4.794a2 2 0 0 1 2 2v1.999c0 1.104-.895 2-2 2H5.8a.2.2 0 0 0-.2.2v1.665c0 .11.09.2.2.2h1.7a2 2 0 0 1 2 2v.932a3.8 3.8 0 0 1-3.8 3.8h-.9a.8.8 0 0 1 0-1.6h.9a2.2 2.2 0 0 0 2.2-2.2v-.932a.4.4 0 0 0-.4-.4H5.8a1.8 1.8 0 0 1-1.8-1.8v-1.666a1.8 1.8 0 0 1 1.8-1.8h1.7a.4.4 0 0 0 .4-.399V6.794a.4.4 0 0 0-.4-.4H4.8a.8.8 0 0 1 0-1.6h2.7zm9.098-.438a.8.8 0 0 1 1.331.887l-.677 1.017h.278a2 2 0 0 1 2 2v3.465c0 .095-.01.188-.023.28a5.501 5.501 0 0 0-5.648 4.652h-3.193a.8.8 0 0 1 0-1.6h3.6v-1.332h-1.667a2 2 0 0 1-2-2V8.26a2 2 0 0 1 2-2h.277L12.2 5.243a.801.801 0 0 1 1.332-.887l1.268 1.904h.53l1.27-1.904zm-4.4 7.369c0 .22.18.4.401.4h1.666v-1.333H12.2v.933zm3.667.4h1.665c.22 0 .4-.18.4-.4v-.933h-2.065v1.333zm-3.266-4.266a.4.4 0 0 0-.4.4v.933h2.066V7.86H12.6zm3.266 1.333h2.065V8.26c0-.22-.18-.4-.4-.4h-1.665v1.332z",fill:"#fff",fillOpacity:".9"}),(0,n.jsx)("circle",{cx:19.295,cy:17.5,r:3.2,stroke:"#FE2C55",strokeWidth:1.6}),(0,n.jsx)("path",{d:"M23.295 17.5a4 4 0 1 1-8 0h8z",fill:"#FE2C55"})]})));var eZ=i("475392");let eU=e=>{var t,i,a,r;let{player:d,awemeInfo:u,isConfGot:v,isLogin:m,isDanmuIcon:f,isNeverHover:p=!1,disableShortCut:x=!1,abtestData:g,setSwitchStatus:y,switchStatus:k,onClick:_,setUpdateFlag:w}=e,E=(0,o.useRef)(),C=(0,o.useRef)(!1),{logParams:S}=(0,eZ.Y)(),b=(0,o.useRef)(),[I,N]=(0,o.useState)(!1),[L,T]=(0,o.useState)(!1),D=(0,o.useRef)(0),R=(0,o.useCallback)(e=>{let{keyboard:t,status:i}=e;if(C.current=!0,d){let e;N(!1),null==d||d.emit(s.Events.USER_ACTION,{action:"danmaku_switch",status:k?"close":"open"});let a=!1;(null==g?void 0:g.danmakuSimpleMode)?k===A.eG.SIMPLE_MODE?e=A.eG.CLOSE:k===A.eG.OPEN&&(e=A.eG.SIMPLE_MODE):k===A.eG.OPEN&&(e=A.eG.CLOSE),k===A.eG.CLOSE&&(e=A.eG.OPEN),void 0!==i&&(e=i),e===A.eG.SIMPLE_MODE&&(a=!0),!0===t&&performance.now()-D.current>3e3&&(e===A.eG.OPEN?(j.F.info("打开弹幕",null==d?void 0:d.root),D.current=performance.now()):e===A.eG.CLOSE?(j.F.info("关闭弹幕",null==d?void 0:d.root),D.current=performance.now()):e===A.eG.SIMPLE_MODE&&(j.F.info("精简弹幕",null==d?void 0:d.root),D.current=performance.now())),a&&!t&&(N(!0),b.current=setTimeout(()=>{N(!1)},3e3)),eh({conf:{isOpen:e},awemeInfo:u,isLogin:m,logParams:(0,l._)({click_method:!0===t?"hot_key":"click"},S),isSimpleMode:a,danmu:null==d?void 0:d.danmaku,callback:()=>{w(e=>e+1)}}),y(e),null==d||d.emit(A.Ks.clearCache)}},[d,u,m,k,S,g]);(0,o.useEffect)(()=>{var e,t,i,l,a,n;if(!k){null==d||null===(t=d.danmaku)||void 0===t||null===(e=t.stop)||void 0===e||e.call(t),C.current=!1;return}(null==d?void 0:d.danmaku)&&(k?d.paused?d.needStart=!0:null==d||null===(l=d.danmaku)||void 0===l||null===(i=l.start)||void 0===i||i.call(l):(d.needStart=!1,null==d||null===(n=d.danmaku)||void 0===n||null===(a=n.stop)||void 0===a||a.call(n))),C.current=!1},[k]);let V=async()=>{R({status:A.eG.OPEN})};(0,o.useEffect)(()=>(null==d||d.on("DANMAKU_SWITCH_OPEN",V),()=>{null==d||d.off("DANMAKU_SWITCH_OPEN",V),clearTimeout(b.current)}),[]),(0,o.useEffect)(()=>{let e=G()(()=>{R({keyboard:!0})},500,{trailing:!0,leading:!0});if(d&&(f||!f&&!p))return null==d||d.on(J.B.ChangeDanmaku,e),()=>{null==d||d.off(J.B.ChangeDanmaku,e)}},[d,R,p,f]);let B=(0,o.useMemo)(()=>k===A.eG.OPEN?(null==g?void 0:g.danmakuSimpleMode)?(0,n.jsx)(eO,{}):(0,n.jsx)(eB,{}):k===A.eG.SIMPLE_MODE?(0,n.jsx)(eF,{}):(null==g?void 0:g.danmakuSimpleMode)?(0,n.jsx)(ez,{}):(0,n.jsx)(eG,{}),[v,k,g]),O=(0,o.useCallback)(()=>{P.Z.sendLog("hover_danmaku_switch",{enter_from:(0,h.mo)(),group_id:null==u?void 0:u.awemeId,player_display_mode:(0,h.Ok)()})},[]),z=(0,o.useCallback)(()=>{(null==g?void 0:g.danmakuSimpleMode)&&T(!0),R({keyboard:!1})},[R,g]);return p?null:f?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:c()(eV.default.switchBox,eV.default.danmakuhover),onMouseLeave:O,children:[(0,n.jsx)("div",{className:eV.default.switchLabel,children:"弹幕开关"}),(null==g?void 0:g.danmakuSimpleMode)?(0,n.jsxs)("div",{className:eV.default.switch,children:[(0,n.jsx)("span",{className:c()(eV.default.switchBtn,{[eV.default.active]:k===A.eG.CLOSE}),onClick:()=>R({status:A.eG.CLOSE}),children:"关闭"}),(0,n.jsx)("span",{className:c()(eV.default.switchBtn,{[eV.default.active]:k===A.eG.SIMPLE_MODE}),onClick:()=>R({status:A.eG.SIMPLE_MODE}),children:"精简"}),(0,n.jsx)("span",{className:c()(eV.default.switchBtn,{[eV.default.active]:k===A.eG.OPEN}),onClick:()=>R({status:A.eG.OPEN}),children:"全部"})]}):(0,n.jsx)(eD.Switch,{checked:k,onChange:z})]})}):(0,n.jsxs)("div",{className:eV.default.container,onMouseLeave:O,children:[I&&(null==g?void 0:g.danmakuSimpleMode)?(0,n.jsxs)("div",{className:eV.default.closeTip,children:[(0,n.jsx)("div",{className:eV.default.closeText,children:"弹幕已精简,再点一次全部关闭"}),(0,n.jsx)(M.z,{svg:(0,n.jsx)(eR.Z,{}),className:eV.default.down})]}):null,(0,n.jsx)(eD.Tooltip,{getPopupContainer:()=>E.current||document.body,style:x||I&&(null==g?void 0:g.danmakuSimpleMode)||L?{display:"none"}:{},spacing:(null==g?void 0:null===(t=g.controls)||void 0===t?void 0:t.addspace)?14:10,mouseEnterDelay:(null==g?void 0:null===(i=g.controls)||void 0===i?void 0:i.delayhover)?300:50,className:"danmu-switch-box",content:(0,n.jsxs)(n.Fragment,{children:[`${k!==A.eG.SIMPLE_MODE&&(k!==A.eG.OPEN||(null==g?void 0:g.danmakuSimpleMode))?k===A.eG.CLOSE?"打开":"精简":"关闭"}弹幕`,!!(null===eM.SHORTCUT_KEY||void 0===eM.SHORTCUT_KEY?void 0:null===(a=eM.SHORTCUT_KEY.danmaku)||void 0===a?void 0:a.badgeText)&&(0,n.jsx)("span",{className:eV.default.tipKey,children:null===eM.SHORTCUT_KEY||void 0===eM.SHORTCUT_KEY?void 0:null===(r=eM.SHORTCUT_KEY.danmaku)||void 0===r?void 0:r.badgeText})]}),showArrow:!1,position:"top",children:(0,n.jsx)("span",{className:c()(eV.default.svgBox,eV.default.danmakuhover),ref:E,children:(0,n.jsx)(M.z,{svg:B,onClick:z,onMouseLeave:()=>setTimeout(()=>T(!1),0)})})})]})};var eH=i("689222"),eK=i("469308"),eW=i("556366");let eY=e=>{let{player:t,awemeInfo:i,isDanmuIcon:a,inputRef:n}=e,{logParams:r}=(0,eZ.Y)(),[s,d]=(0,o.useState)(!0),[u,c]=(0,o.useState)(!1),v=(0,o.useRef)(),m=()=>{P.Z.sendLog("enterDanmakuSetting",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:null==i?void 0:i.awemeId,player_display_mode:(0,h.Ok)()},r))};return{isNeverHover:s,showSetting:u,setShowSetting:c,handleIconMouseEnter:()=>{if(!v.current)v.current=window.setTimeout(()=>{m(),d(!1),p.emit(p.EVENT.videoStopPlayNext),setTimeout(()=>{var e;a&&(null===(e=n.current)||void 0===e||e.focus())},100),!g.Le.getConfig(g.gI.IsShowDanmakuListModal)&&c(!0)},300)},handleMouseLeave:()=>{var e;v.current&&(window.clearTimeout(v.current),v.current=void 0),P.Z.sendLog("hover_danmaku_setting",{enter_from:(0,h.mo)(),group_id:null==i?void 0:i.awemeId,player_display_mode:(0,h.Ok)()}),a&&(null===(e=n.current)||void 0===e||e.blur()),p.emit(p.EVENT.videoRemoveStopPlayNext),c(!1)}}},e$=(e,t)=>{let i={};for(let l=e;l<=t;l++)i[l]=String(l);return i},eq=e=>{let{label:t,max:i,showDots:l,getLabelFunc:a,defaultValue:r,onChange:d,resetVal:u,min:c,player:v,switchStatus:m,simpleModeBlockDefaultVal:f,abtestData:p}=e,[h,x]=(0,o.useState)(r||1),g=(0,o.useRef)(0);(0,o.useEffect)(()=>{m===A.eG.SIMPLE_MODE&&f&&(null==p?void 0:p.danmakuSimpleMode)&&0!==r?x((null==p?void 0:p.danmakuSimpleMode)-1):x(r)},[u,r,m,f,p]);let y=(0,o.useCallback)(e=>{if(!("number"!=typeof e||Object.is(e,NaN))){if(m===A.eG.SIMPLE_MODE&&f){performance.now()-g.current>5e3&&(j.F.info("关闭精简模式可调整行数",null==v?void 0:v.root),g.current=performance.now());return}d(e),x(t=>(t!==e&&(null==v||v.emit(s.Events.USER_ACTION,{action:"danmaku_setting"})),e))}},[d,m,f]);return(0,n.jsxs)("div",{className:eW.default.listItem,children:[(0,n.jsx)("span",{className:eW.default.label,children:t}),(0,n.jsx)(eD.Slider,{step:1,marks:l?e$(c,i):void 0,min:c||0,max:i,showMarkLabel:!1,tooltipVisible:!1,value:h,onChange:y}),(0,n.jsx)("span",{className:eW.default.value,children:a(h)})]})},eX=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.755 13.874a1 1 0 0 1 .856.478l1.456 2.376a1 1 0 0 1 .02 1.009l-1.309 2.347a1 1 0 0 1-.869.513l-2.787.01a1 1 0 0 1-.856-.478l-1.456-2.376a1 1 0 0 1-.02-1.01l1.31-2.346a1 1 0 0 1 .869-.513l2.786-.01zM6.42 4.207c1.118 0 2.024.908 2.024 2.026v1.965a2.025 2.025 0 0 1-2.024 2.024H4.61a.175.175 0 0 0-.174.175v2c0 .096.078.176.174.176h1.81c1.118 0 2.024.906 2.024 2.024v1a4.326 4.326 0 0 1-4.325 4.325h-.509a.826.826 0 0 1 0-1.65h.51a2.676 2.676 0 0 0 2.675-2.675v-1a.376.376 0 0 0-.375-.375H4.61a1.826 1.826 0 0 1-1.825-1.825v-2c0-1.008.818-1.824 1.825-1.824h1.81a.376.376 0 0 0 .375-.375V6.233a.376.376 0 0 0-.375-.375H3.61a.826.826 0 0 1 0-1.65h2.81zM18.064 16.12a1.286 1.286 0 1 0-1.252 2.247 1.286 1.286 0 0 0 1.252-2.247zm-5.663.289h-2.76a.825.825 0 0 1 0-1.65h3.688l-.928 1.65zm3.336-12.65a.825.825 0 0 1 1.372.916l-.692 1.04h.314c1.118 0 2.025.907 2.025 2.025v3.628c0 .434-.138.835-.37 1.165h-2.987a1.4 1.4 0 0 0-1.22.714l-.842 1.498v-1.351h-1.742a2.026 2.026 0 0 1-2.026-2.026V7.74c0-1.119.907-2.026 2.026-2.026h.313l-.693-1.039a.826.826 0 0 1 1.373-.916l1.303 1.955h.543l1.303-1.955zm-4.517 7.61c0 .207.168.374.375.374h1.742V10.38H11.22v.99zm3.767.374h1.744a.376.376 0 0 0 .375-.375v-.989h-2.119v1.364zm-3.392-4.378a.375.375 0 0 0-.375.375v.989h2.117V7.365h-1.742zm3.392 1.364h2.12v-.99a.376.376 0 0 0-.376-.374h-1.744v1.364z",fill:"#fff",fillOpacity:".9"})}))),eJ=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.99 15.96a1.109 1.109 0 0 1 1.92 1.11l-3.905 6.762a.6.6 0 0 1-.208.214l-1.277.772a.36.36 0 0 1-.546-.315l.03-1.492a.6.6 0 0 1 .081-.287l3.904-6.764zm-4.253-8.2a.825.825 0 0 1 1.372.916l-.693 1.04h.315c1.119 0 2.025.907 2.025 2.025v2.033l-2.09 3.621h-1.679v1.364h.892l-1.948 3.375a2.582 2.582 0 0 0-.346 1.237l-.012.558a.822.822 0 0 1-.236-.577V20.41H13.64a.825.825 0 0 1 0-1.65h3.696v-1.364h-1.742a2.026 2.026 0 0 1-2.026-2.025v-3.629c0-1.118.907-2.025 2.026-2.025h.313l-.693-1.04a.826.826 0 0 1 1.373-.916l1.303 1.956h.543l1.303-1.956zm-9.316.448c1.118 0 2.024.907 2.024 2.025v1.965a2.025 2.025 0 0 1-2.024 2.025H8.61a.175.175 0 0 0-.174.174v2c0 .097.078.176.174.176h1.81c1.118 0 2.024.907 2.024 2.025v1a4.326 4.326 0 0 1-4.325 4.325h-.509a.826.826 0 0 1 0-1.65h.51a2.676 2.676 0 0 0 2.675-2.675v-1a.376.376 0 0 0-.375-.375H8.61a1.826 1.826 0 0 1-1.825-1.826v-2c0-1.007.818-1.824 1.825-1.824h1.81a.376.376 0 0 0 .375-.375v-1.965a.376.376 0 0 0-.375-.375H7.61a.826.826 0 0 1 0-1.65h2.81zm4.799 7.162c0 .207.168.375.375.375h1.742V14.38H15.22v.99zm3.767.375h1.744a.375.375 0 0 0 .375-.375v-.99h-2.119v1.365zm-3.392-4.379a.375.375 0 0 0-.375.375v.988h2.117v-1.363h-1.742zm3.392 1.363h2.12v-.988a.375.375 0 0 0-.376-.375h-1.744v1.363z",fill:"#fff",fillOpacity:".9"})})));var eQ=i("176449"),e0=i("904711");let e1=e=>{let{player:t,awemeInfo:i,isLogin:l,loginDispatch:a,userUid:r,userInfo:s,isDanmuIcon:d,rootClassName:u,panelClassName:v,inputRef:m,setSwitchStatus:f,switchStatus:h,isConfGot:x,children:g,danmuListTargetEl:y,abtestData:k,totalCountRef:_,setUpdateFlag:w}=e,[E,C]=(0,o.useState)(!1),S=(0,o.useRef)(),b=(0,o.useRef)(),{logParams:I}=(0,eZ.Y)(),[N,j]=(0,o.useState)(0),{isNeverHover:P,showSetting:L,setShowSetting:T,handleIconMouseEnter:D,handleMouseLeave:R}=eY({player:t,awemeInfo:i,isDanmuIcon:d,inputRef:m});return(0,o.useEffect)(()=>{let e=p.listen(p.EVENT.syncInteraction,()=>C(e=>!e));return()=>{null==e||e()}},[]),(0,o.useEffect)(()=>{let e=e=>{null==e||e.stopPropagation()},t=S.current;return null==t||t.addEventListener("pointerdown",e),null==t||t.addEventListener("touchstart",e),()=>{null==t||t.removeEventListener("pointerdown",e),null==t||t.removeEventListener("touchstart",e)}},[]),(0,o.useEffect)(()=>{var e;if(P||!(null==t?void 0:t.root)||!b.current)return;let i=b.current.getBoundingClientRect(),l=(null==t?void 0:null===(e=t.root)||void 0===e?void 0:e.getBoundingClientRect()).left-i.left+2,a=0;l>0&&(a=l),j(a)},[P,t]),(0,n.jsxs)("div",{ref:S,className:c()(eW.default.container,{[eW.default.show]:L},u),onMouseLeave:R,children:[P?(0,n.jsx)(eU,{player:t,awemeInfo:i,isConfGot:x,isLogin:null==s?void 0:s.isLogin,isDanmuIcon:d,isNeverHover:P,setSwitchStatus:f,switchStatus:h,onClick:()=>T(!1),abtestData:k,setUpdateFlag:w}):(0,n.jsx)("div",{className:eW.default.panelWithBottom,children:(0,n.jsxs)("div",{ref:b,className:c()(eW.default.panel,"semi-always-dark","danmu-setting-box",v),style:{transform:`translateX(calc(-50% + ${N}px))`},onKeyDown:e=>{let i=e.ctrlKey||e.metaKey;"Enter"===e.key&&!i&&t.emit(J.B.danmakuInputFocus)},children:[(0,n.jsxs)("div",{className:eW.default.header,children:[(0,n.jsx)("div",{className:eW.default.title,children:"弹幕设置"}),(0,n.jsxs)("div",{className:eW.default.reset,onClick:()=>{ex({danmu:null==t?void 0:t.danmaku,awemeInfo:i,player:t,isLogin:l,logParams:I,isSimpleMode:h===A.eG.SIMPLE_MODE,callback:()=>w(e=>e+1)}),C(e=>!e)},children:[(0,n.jsx)(eQ.Z,{src:eK.Z,width:13,height:12,viewBox:"0 0 14 13"}),(0,n.jsx)("span",{children:"恢复默认"})]})]}),(0,n.jsx)(eH.i,{className:eW.default.divider}),(0,n.jsx)("div",{className:eW.default.list,children:eg.map(e=>{var a;return(0,n.jsx)(eq,{label:e.desc,showDots:e.showDots,max:e.max,min:"opacity"===e.key?20:0,getLabelFunc:e.getLabelFunc,defaultValue:null!==(a=eo(e.key))&&void 0!==a?a:e.defaultVal,onChange:a=>{e.onChange({danmu:null==t?void 0:t.danmaku,val:a,awemeInfo:i,player:t,isLogin:l,logParams:I,switchStatus:h,callback:"region"===e.key?()=>{w(e=>e+1)}:void 0})},switchStatus:h,resetVal:E,player:t,simpleModeBlockDefaultVal:e.simpleModeBlockDefaultVal,abtestData:k},e.key)})}),(0,n.jsx)(eH.i,{className:eW.default.divider}),(0,n.jsx)(e0.R,{userUid:r,awemeInfo:i,player:t,loginDispatch:a,isLogin:l,userInfo:s,targetMountEl:y,onClick:()=>T(!1),abtestData:k,totalCountRef:_}),g]})}),!!d&&(0,n.jsx)(M.z,{className:c()(eW.default.iconSetting,eW.default.newdanmuku),svg:(0,n.jsx)(eJ,{}),onMouseEnter:D}),!d&&(0,n.jsx)(M.z,{className:c()(eW.default.iconSetting,eW.default.newdanmuku),svg:(0,n.jsx)(eX,{}),onMouseEnter:D})]})};var e3=i("5784"),e2=i.n(e3),e4=i("749113"),e6=i("15336"),e5=i("696833");let e8=e=>{let{awemeInfo:t,userInfo:i,inputRef:a,player:n,isDouyinPlayer:r}=e,{logParams:s}=(0,eZ.Y)(),[d,u]=(0,o.useState)(0),c=1===d,v=(0,o.useRef)(),m=(0,o.useRef)(0),f=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{if(c){var e;P.Z.sendLog("emojiTabShow",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),enter_method:"danmaku"},s));let t=a.current;return t.addEventListener("click",ey.UW),!r&&e2()(n,"config.closeDelayBlur",!0),null==n||null===(e=n.focus)||void 0===e||e.call(n,{autoHide:!1}),()=>{if(!r){var e;e2()(n,"config.closeDelayBlur",!1),null==n||null===(e=n.focus)||void 0===e||e.call(n)}t.removeEventListener("click",ey.UW)}}},[c,r]),{isEmojiBoxRender:0!==d,isEmojiBoxShow:c,preventShowEmojiBox:f,handleHideEmojiBox:()=>{u(2)},handleIconMouseEnter:()=>{var e;if((null==i?void 0:i.isLogin)!==!1&&(null==t?void 0:null===(e=t.danmakuControl)||void 0===e?void 0:e.isPostDenied)!==!0&&!f.current&&!v.current)v.current=window.setTimeout(()=>{clearTimeout(m.current),u(1)},300)},handleIconMouseLeave:()=>{P.Z.sendLog("hover_emoji_tab",{enter_from:(0,h.mo)(),group_id:null==t?void 0:t.awemeId,player_display_mode:(0,h.Ok)()}),v.current&&(window.clearTimeout(v.current),v.current=void 0),m.current=setTimeout(()=>{u(e=>0===e?0:2)},50)},handlePanelMouseEnter:()=>{clearTimeout(m.current)},handlePanelMouseLeave:()=>{u(2)}}},e7=e=>{let{awemeInfo:t,isDanmuIcon:i,inputRef:l}=e,[a,n]=(0,o.useState)(!1);return(0,o.useLayoutEffect)(()=>{if(!(null==l?void 0:l.current))return;let e=e=>n(e.clientWidth<=150);if(e(l.current),"undefined"!=typeof ResizeObserver){let t=new ResizeObserver(t=>{e(t[0].target)});return t.observe(l.current),()=>t.disconnect()}{let t=()=>e(l.current);return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}},[null==l?void 0:l.current]),{placeholderContent:(0,o.useMemo)(()=>{var e,l;return(null==t?void 0:null===(e=t.danmakuControl)||void 0===e?void 0:e.isPostDenied)?`作者仅允许${({1:"粉丝",2:"好友",3:"自己"})[null==t?void 0:null===(l=t.danmakuControl)||void 0===l?void 0:l.postPrivilegeLevel]}发弹幕`:e4.a.t("send_a_friendly_bullet_comment",{},i||a?"发一条弹幕吧":"发一条友好的弹幕吧")},[t,i,a])}};i("240148"),i("759943"),i("14275");var e9=i("892393"),te=i.n(e9);let tt=(e,t)=>{let i=(e.match(/\[[\u4e00-\u9fa5]+\]/g)||[]).filter(e=>t.includes(e));return i[i.length-1]||""},ti=e=>{let{setInputValue:t,awemeInfo:i,userInfo:a,inputRef:n,player:r,emojiArr:s,loginDispatch:d,setSwitchStatus:u,firstDanmakuShowRef:c,firstInputTimeRef:v,inputDurationRef:m,isActive:f=!1,totalCountRef:y,switchStatus:k}=e,{logParams:_}=(0,eZ.Y)(),[w,E]=(0,o.useState)(!1),C=(0,o.useRef)(null),S=(0,o.useRef)(!1),b=(0,o.useCallback)(async e=>{var o,u,f,g,b,N,L,T,D,M,R,V,B,O;let{method:G,value:z}=e;if(!z.length){j.F.info("弹幕内容不能为空",null==r?void 0:r.root);return}if(P.Z.sendLog("danmakuSendClick",{enter_from:(0,h.mo)(),group_id:null==i?void 0:i.awemeId,content:z}),null==i?void 0:null===(o=i.danmakuControl)||void 0===o?void 0:o.isPostDenied)return;if(/^\s*$/.test(z)){j.F.info("表达你的态度再发弹幕",null==r?void 0:r.root);return}if(S.current)return;if(w){j.F.info("弹幕发送太频繁,5s后再发",null==r?void 0:r.root);return}k===A.eG.CLOSE&&(null==r||r.emit("DANMAKU_SWITCH_OPEN"));let F=`${ec()}px`,Z=te()("postComment"),U=()=>{var e,i,l,n;null==r||null===(e=r.off)||void 0===e||e.call(r,A.Ks.danmakuInit,U),t(""),null==r||null===(l=r.danmaku)||void 0===l||l.sendComment({prior:!0,user_id:null==a?void 0:null===(i=a.info)||void 0===i?void 0:i.uid,id:Z,duration:ev()/r.playbackRate,realTime:!0,elLazyInit:!0,text:z,style:{color:"#FFFFFF",fontSize:F,height:F,lineHeight:F},_:{isLogin:null==a?void 0:a.isLogin,isDanmuAuthor:!0,loginDispatch:d,firstDanmakuShowRef:c,offsetTime:1e3*r.currentTime,userInfo:a}}),r.paused&&(null===(n=r.danmaku)||void 0===n||n.pause()),E(!0),setTimeout(()=>E(!1),A.sZ)};(null==r?void 0:null===(u=r.danmaku)||void 0===u?void 0:u.sendComment)?U():r&&(r.on(A.Ks.danmakuInit,U),C.current=()=>{var e;null==r||null===(e=r.off)||void 0===e||e.call(r,A.Ks.danmakuInit,U)}),r.sendDanmakuCountSelf=(null!==(B=null==r?void 0:r.sendDanmakuCountSelf)&&void 0!==B?B:0)+1,null===(g=n.current)||void 0===g||null===(f=g.blur)||void 0===f||f.call(g),p.emit(p.EVENT.videoRemoveStopPlayNext),S.current=!0;let H=Math.floor((null==r?void 0:r.currentTime)*1e3),K=await (0,I.FW)({item_id:null==i?void 0:i.awemeId,text:z,user_id:null==a?void 0:null===(b=a.info)||void 0===b?void 0:b.uid,offset_time:H});S.current=!1;let{danmakuId:W,isVerifyPassportError:Y,statusCode:$}=K;if(Y){j.F.info("身份验证失败",null==r?void 0:r.root);return}0===$&&(y.current=y.current+1),r.danmaku&&(r.danmaku.selfPost=null!==(O=r.danmaku.selfPost)&&void 0!==O?O:{},r.danmaku.selfPost[Z]=W),P.Z.sendLog("danmakuPubDone",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),click_method:G,group_id:null==i?void 0:i.awemeId,author_id:null==i?void 0:null===(N=i.authorInfo)||void 0===N?void 0:N.uid,danmaku_id:null!=W?W:0,video_time:Math.floor(1e3*r.currentTime||0),video_pct:1e3*r.currentTime/(null==i?void 0:null===(L=i.video)||void 0===L?void 0:L.duration),danmaku_pub_duration:Date.now()-v.current,danmaku_input_duration:Date.now()-m.current,is_author:(null==a?void 0:null===(T=a.info)||void 0===T?void 0:T.uid)===(null==i?void 0:null===(D=i.authorInfo)||void 0===D?void 0:D.uid)?1:0,emoji_id:tt(z,s),video_scale:(null==i?void 0:null===(M=i.video)||void 0===M?void 0:M.width)/(null==i?void 0:null===(R=i.video)||void 0===R?void 0:R.height),item_duration_ms:(null==i?void 0:null===(V=i.video)||void 0===V?void 0:V.duration)||0},_))},[r,a,i,s,w,k]);return(0,o.useEffect)(()=>{if(r&&f){let e=()=>{if(!g.Le.getConfig(g.gI.IsCommetTab)){var e,t;null===(t=n.current)||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}};return r.on(A.Ks.danmakuInputFocus,e),()=>{var t;r.off(A.Ks.danmakuInputFocus,e),null===(t=C.current)||void 0===t||t.call(C)}}},[r,f]),{isInCdTime:w,handlePostDanmaku:b}},tl=(e,t)=>{let i=t-1,l=!1,a=t,n=!1;for(;i>=0;){if("["===e[i]){l=!0;break}if("]"===e[i])break;i--}for(;a<=e.length-1;){if("]"===e[a]){n=!0;break}if("["===e[a])break;a++}return l&&n?[i,a+1]:[-1,-1]},ta=e=>{var t,i;let{awemeInfo:a,userInfo:r,player:d,loginDispatch:u,setSwitchStatus:v,firstDanmakuShowRef:m,isDanmuIcon:f,inputRef:g,abtestData:k,isInSetting:_=!1,isActive:w,totalCountRef:E,isDouyinPlayer:C,switchStatus:S}=e,{isEmojiBoxRender:b,isEmojiBoxShow:I,preventShowEmojiBox:j,handleHideEmojiBox:A,handleIconMouseEnter:L,handleIconMouseLeave:T,handlePanelMouseEnter:D,handlePanelMouseLeave:M}=e8({awemeInfo:a,userInfo:r,inputRef:g,player:d,isDouyinPlayer:C}),[R,V]=(0,o.useState)(""),B=(0,o.useRef)(null),O=(0,o.useRef)(0),G=(0,o.useRef)(0),z=(0,o.useRef)(!1),{emojiList:F}=(0,y.b)(),{logParams:Z}=(0,eZ.Y)(),U=(0,o.useRef)(),H=(0,o.useMemo)(()=>Object.keys(F).map(e=>F[e].name),[F]),{placeholderContent:K}=e7({awemeInfo:a,isDanmuIcon:f,inputRef:g}),[W,Y]=(0,o.useState)(!1),$=(0,o.useRef)(),q=(0,o.useCallback)(()=>{Y(!0),clearTimeout($.current),$.current=window.setTimeout(()=>Y(!1),2e3)},[]),J=(0,o.useCallback)(()=>{Y(!1),clearTimeout($.current)},[]),{isInCdTime:Q,handlePostDanmaku:ee}=ti({setInputValue:V,awemeInfo:a,userInfo:r,inputRef:g,player:d,emojiArr:H,loginDispatch:u,switchStatus:S,setSwitchStatus:v,firstDanmakuShowRef:m,firstInputTimeRef:O,inputDurationRef:G,isActive:w,totalCountRef:E});(0,o.useEffect)(()=>(U.current=setTimeout(()=>{p.emit(p.EVENT.controlAdapt)},2e3),()=>{clearTimeout(U.current)}),[d]);let et=(0,o.useCallback)(e=>{let{selectionStart:t}=g.current,i=t,[l,a]=tl(R,t);if(H.includes(R.slice(l,a))){if(R.length-(a-l+1)+e.name.length>30){A(),g.current.focus(),q();return}V(t=>t.slice(0,l)+e.name+t.slice(a)),i=l}else{if(R.length+e.name.length>30){A(),g.current.focus(),q();return}V(i=>i.slice(0,t)+e.name+i.slice(t))}A(),setTimeout(()=>{g.current.setSelectionRange(i+e.name.length,i+e.name.length),g.current.focus()})},[R,H]),ei=(0,o.useCallback)(e=>{if(e.target.value.length>30&&!z.current){q();return}W&&J(),V(e.target.value),P.Z.sendLog("danmakuInputContent",{enter_from:(0,h.mo)(),group_id:null==a?void 0:a.awemeId,content:e.target.value})},[W]),el=(0,o.useCallback)(()=>{R.length>30&&(q(),V(R.slice(0,30)))},[R]);return(0,o.useEffect)(()=>{0===R.length?(O.current=0,(0,X.vU)()&&(j.current=!0,setTimeout(()=>j.current=!1))):(0===O.current&&(O.current=Date.now()),!f&&p.emit(p.EVENT.videoStopPlayNext))},[R,f,d]),(0,o.useEffect)(()=>{var e,t;return null===(t=g.current)||void 0===t||null===(e=t.addEventListener)||void 0===e||e.call(t,"selectstart",ey.UW),()=>{var e,t;null===(t=g.current)||void 0===t||null===(e=t.removeEventListener)||void 0===e||e.call(t,"selectstart",ey.UW)}},[]),(0,o.useEffect)(()=>{if(b){let e=B.current;return null==e||e.addEventListener("wheel",ey.UW),()=>{null==e||e.removeEventListener("wheel",ey.UW)}}},[b]),(0,n.jsx)(eD.Tooltip,{trigger:"custom",visible:W,content:"弹幕内容不能超过30个字符",children:(0,n.jsxs)("div",{className:c()("danmakuInputContainer",e5.default.container,e5.default["container--v1"]),"data-bytereplay-mask":"strict",children:[b?(0,n.jsx)("div",{className:c()(e5.default.emojiBox,"danmu-emoji-box",{[e5.default.emojiBoxHide]:!I,[e5.default.danmuIcon]:f}),ref:B,onMouseEnter:D,onMouseLeave:M,children:(0,n.jsx)("div",{className:e5.default.emojiList,onClick:e=>e.nativeEvent.stopImmediatePropagation(),children:F.map(e=>(0,n.jsx)("img",{src:e.img,onClick:t=>{t.preventDefault(),P.Z.sendLog("clickEmoji",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),enter_method:"danmaku",click_method:"emoji"},Z)),et(e),null==d||d.emit(s.Events.USER_ACTION,{action:"danmaku_emoji_click"})}},e.name))})}):null,(0,n.jsxs)("div",{className:e5.default.leftArea,children:[(0,n.jsx)("div",{className:e5.default.emojiIconContainer,onMouseEnter:L,onMouseLeave:T,children:(0,n.jsx)(e6.Z,{className:c()([e5.default.emojiIcon],{[e5.default.isActive]:I,[e5.default.disable]:(null==r?void 0:r.isLogin)===!1||(null==a?void 0:null===(t=a.danmakuControl)||void 0===t?void 0:t.isPostDenied)===!0})})}),(null==r?void 0:r.isLogin)?(0,n.jsx)("input",{ref:g,className:e5.default.editor,type:"text",disabled:(null==a?void 0:null===(i=a.danmakuControl)||void 0===i?void 0:i.isPostDenied)||!1,value:R,onInput:ei,placeholder:R?"":K,spellCheck:!1,onFocus:()=>{var e,t;G.current=Date.now(),P.Z.sendLog("inputDanmaku",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)()},Z)),!C&&e2()(d,"config.closeDelayBlur",!0),null==d||null===(e=d.focus)||void 0===e||e.call(d,{autoHide:!1}),null==d||null===(t=d.emit)||void 0===t||t.call(d,s.Events.USER_ACTION,{action:"danmaku_input_focus"}),!f&&p.emit(p.EVENT.videoStopPlayNext)},onBlur:()=>{if(!f){if(!C){var e;e2()(d,"config.closeDelayBlur",!1),null==d||null===(e=d.focus)||void 0===e||e.call(d)}(null==R?void 0:R.length)===0&&p.emit(p.EVENT.videoRemoveStopPlayNext)}},onCompositionStart:()=>{z.current=!0},onCompositionEnd:()=>{setTimeout(()=>z.current=!1,10),el()},onKeyDown:e=>{var t,i;((null===(t=e.target)||void 0===t?void 0:t.value)||"ArrowUp"!==e.code&&"ArrowDown"!==e.code||!(null===(i=e.target)||void 0===i?void 0:i.value)&&("ArrowUp"===e.code||"ArrowDown"===e.code))&&(null==e||e.stopPropagation());let{key:l}=e,a=e.ctrlKey||e.metaKey;if("Enter"===l&&!a&&!z.current)return R&&(null==R?void 0:R.length)!==0?ee({method:"hot_key",value:R}):null;return null}}):(0,n.jsxs)("div",{className:e5.default.loginBox,onClick:()=>{(0,N.default)({enterMethod:"danmaku",headerText:"登录后可发布弹幕互动",success:()=>{u({type:"updateUserInfo"})}})},children:[(0,n.jsx)("span",{children:e4.a.t("log_in",{},"登录")}),e4.a.t("to_post_comment",{},"后可发布弹幕")]})]}),(0,n.jsx)("div",{className:c()(e5.default.sendBtnV1,{[e5.default["sendBtnV1--highlight"]]:(null==R?void 0:R.length)>0}),onClick:()=>ee({method:"click",value:R}),children:"发送"})]})})};var tn=i("569511");let to=e=>{let{awemeInfo:t,userInfo:i,player:l,abtestData:a,logParams:o={},refContainer:r,switchStatus:s,setSwitchStatus:d,isConfGot:u}=e;return(0,n.jsx)(eZ.G.Provider,{value:{logParams:o},children:(0,n.jsx)("div",{className:(0,eL.default)("isDark",eT.default.danmakuBar,eT.default.oneSwitch),ref:r,onWheel:e=>e.stopPropagation(),children:(0,n.jsx)(eU,{player:l,setSwitchStatus:d,switchStatus:s,awemeInfo:t,isConfGot:u,isLogin:null==i?void 0:i.isLogin,abtestData:a,disableShortCut:!0})})})},tr=e=>{var t,i;let{awemeInfo:l,userInfo:a,player:r,loginDispatch:s,abtestData:d,isDanmuIcon:u,danmuListTargetEl:c,logParams:v={},firstDanmakuShowRef:m,refContainer:f,switchStatus:p,setSwitchStatus:h,isConfGot:x,isActive:g,totalCountRef:y,isDouyinPlayer:k}=e,_=(0,o.useRef)(null),[,w]=(0,o.useState)(0);return(0,o.useEffect)(()=>{var e;let t=null===(e=f.current)||void 0===e?void 0:e.closest(".danmakuContainer");if(!!t)u?(t.style.flexGrow="unset",t.style.maxWidth="none"):(t.style.flexGrow="1",t.style.maxWidth="678px")},[u,f]),u?(0,n.jsx)(eZ.G.Provider,{value:{logParams:v},children:(0,n.jsx)("div",{className:(0,eL.default)("isDark",eT.default.danmakuIconBar),ref:f,onWheel:e=>e.stopPropagation(),children:(0,n.jsx)(e1,{player:r,awemeInfo:l,isLogin:null==a?void 0:a.isLogin,loginDispatch:s,userUid:null==a?void 0:null===(i=a.info)||void 0===i?void 0:i.uid,isDanmuIcon:u,userInfo:a,inputRef:_,setSwitchStatus:h,switchStatus:p,isConfGot:x,danmuListTargetEl:c,abtestData:d,totalCountRef:y,setUpdateFlag:w,children:u?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tn.i,{className:(0,eL.default)(eT.default.divider)}),(0,n.jsx)(eU,{player:r,setSwitchStatus:h,switchStatus:p,awemeInfo:l,isConfGot:x,isLogin:null==a?void 0:a.isLogin,isDanmuIcon:u,abtestData:d,setUpdateFlag:w}),(0,n.jsx)("div",{className:eT.default.inputBox,children:(0,n.jsx)(ta,{awemeInfo:l,userInfo:a,player:r,loginDispatch:s,setSwitchStatus:h,firstDanmakuShowRef:m,isDanmuIcon:u,inputRef:_,abtestData:d,isInSetting:!0,isActive:g,totalCountRef:y,isDouyinPlayer:k,switchStatus:p})})]}):null})})}):(0,n.jsx)(eZ.G.Provider,{value:{logParams:v},children:(0,n.jsxs)("div",{className:(0,eL.default)("isDark",eT.default.danmakuBar),ref:f,onWheel:e=>e.stopPropagation(),children:[(0,n.jsx)(eU,{player:r,setSwitchStatus:h,switchStatus:p,awemeInfo:l,isConfGot:x,isLogin:null==a?void 0:a.isLogin,abtestData:d,setUpdateFlag:w}),(0,n.jsx)(e1,{player:r,awemeInfo:l,isLogin:null==a?void 0:a.isLogin,loginDispatch:s,userUid:null==a?void 0:null===(t=a.info)||void 0===t?void 0:t.uid,userInfo:a,inputRef:_,danmuListTargetEl:c,abtestData:d,setSwitchStatus:h,switchStatus:p,totalCountRef:y,rootClassName:eT.default.settingRootDom,setUpdateFlag:w}),(0,n.jsx)(ta,{awemeInfo:l,userInfo:a,player:r,loginDispatch:s,setSwitchStatus:h,firstDanmakuShowRef:m,inputRef:_,abtestData:d,isActive:g,totalCountRef:y,isDouyinPlayer:k,switchStatus:p})]})})},ts=!1,td=e=>{var t;let{isActive:i,awemeInfo:a,userInfo:r,player:s,bulletRef:d,danmakuInfo:u,abtestData:c,oneSwitch:v,logParams:f={},firstDanmakuShowRef:k,currentIndex:_,totalCountRef:w}=e,[E,C]=(0,o.useState)(ef()||((null==u?void 0:u.danmakuId)?A.eG.OPEN:A.eG.CLOSE)),[S,b]=(0,o.useState)(!1),[I,N]=(0,o.useState)(!1);(0,o.useEffect)(()=>{(null==u?void 0:u.status)===0&&j.F.info("此弹幕已删除")},[]),(0,o.useEffect)(()=>{if(E&&s){var e;null===(e=s.emit)||void 0===e||e.call(s,J.B.DanmakuON)}},[E,s]);let L=(0,m.x)(()=>b(!0));(0,o.useEffect)(()=>{let e=!1;return(async()=>{let t=await ep(c);if(!e&&!u&&(C(t.isOpen),p.emit(p.EVENT.controlAdapt),S)){var i,n;if(P.Z.sendLog("danmakuPubShow",(0,l._)({enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),group_id:null==a?void 0:a.awemeId,author_id:null==a?void 0:null===(i=a.authorInfo)||void 0===i?void 0:i.uid,danmaku_switch_status:(null==t?void 0:t.isOpen)===A.eG.SIMPLE_MODE?"Sample_on":t.isOpen?"on":"off",is_post:!(null==r?void 0:r.isLogin)||(null==a?void 0:null===(n=a.danmakuControl)||void 0===n?void 0:n.isPostDenied)?0:1},f)),!ts){ts=!0;let e=g.Le.getConfig(g.gI.DanmakuSettingOrigin);P.Z.sendLog("danmakuSettingStatus",{enter_from:(0,h.mo)(),enter_from_merge:(0,x.yW)(),danmaku_switch_status:(null==e?void 0:e.simplifiedModeSwitch)?"Sample_on":t.isOpen?"on":"off",danmaku_switch_source:(null==e?void 0:e.fromDefault)?"default":"setting",speed_value:(null==e?void 0:e.speed)+1,area_value:null==e?void 0:e.region,size_value:null==e?void 0:e.fontSize,opacity_value:null==e?void 0:e.opacity})}}})(),()=>{e=!0}},[a,u,S,c]);let{allEmojiListMapped:T}=(0,y.b)();return(e_({ref:d,isActive:i,player:s,awemeInfo:a,danmakuInfo:u,setDanmakuInited:N,danmakuInited:I,userInfo:r,emojiListMapped:T,logParams:f,abTestData:c,firstDanmakuShowRef:k,currentIndex:_,switchStatus:E}),eE({isActive:i,player:s,awemeInfo:a,danmakuInfo:u,danmakuInited:I,firstDanmakuShowRef:k,logParams:f,abtestData:c,currentIndex:_,userUid:null==r?void 0:null===(t=r.info)||void 0===t?void 0:t.uid,totalCountRef:w}),v)?(0,n.jsx)(to,(0,l._)({refContainer:L,switchStatus:E,setSwitchStatus:C,isConfGot:!1},e)):(0,n.jsx)(tr,(0,l._)({refContainer:L,switchStatus:E,setSwitchStatus:C,isConfGot:!1,totalCountRef:w},e))},tu=e=>{var t,i;let{isActive:u,awemeInfo:m,userInfo:p,loginDispatch:h,danmakuInfo:x,abtestData:y,isDanmuIcon:k,oneSwitch:_,danmuListTargetEl:w,logParams:E,firstDanmakuShowRef:C,currentIndex:S}=e,b=(0,eS.n)(),I=(0,o.useRef)(null),N=(0,eS.g)(),j=(0,o.useRef)((null===(t=g.Le.getConfig(g.gI.videoRect))||void 0===t?void 0:t.width)||0),P=(0,o.useRef)((null==m?void 0:null===(i=m.danmakuControl)||void 0===i?void 0:i.danmakuCnt)||0),[L,T]=(0,o.useState)(!!x||ef(null==m?void 0:m.awemeId,y)),M=(0,o.useMemo)(()=>N?{position:r.PZ.CONTROL_LEFT,index:6}:{position:d.POSITIONS.CONTROLS_LEFT,index:6},[N]),V=(0,o.useMemo)(()=>{let e=N?r.di:s.Plugin;return class extends e{static get pluginName(){return"DanmakuPlugin"}afterCreate(){this.renderRoot()}afterPlayerInit(){this.renderRoot()}destroy(){(0,eI.v)(this)}beforeDestroy(){(0,eI.v)(this)}renderRoot(){this.config||this._config,(0,eI.s)(this,(0,n.jsx)(td,(0,l._)({},this.config||this._config)))}updateConfig(e){this.config=e,this.renderRoot()}configDidUpdate(){this.renderRoot()}render(){return`
`}}},[N]);(0,f.o)(()=>{var e;if(b&&u&&(null==m?void 0:null===(e=m.danmakuControl)||void 0===e?void 0:e.enableDanmaku))return b.registerPlugin(V,(0,l._)({player:b,bulletRef:I,isActive:u,userInfo:p,loginDispatch:h,awemeInfo:m,danmakuInfo:x,abtestData:y,isDanmuIcon:k,oneSwitch:_,danmuListTargetEl:w,logParams:E,firstDanmakuShowRef:C,currentIndex:S,totalCountRef:P,isDouyinPlayer:N},M)),()=>{var e,t,i,l;(null==b?void 0:null===(e=b.getPlugin)||void 0===e?void 0:e.call(b,"DanmakuPlugin"))&&(null==b||null===(t=b.unRegisterPlugin)||void 0===t||t.call(b,"DanmakuPlugin",!0)),b&&(null==b||null===(l=b.danmaku)||void 0===l||null===(i=l.destroy)||void 0===i||i.call(l),b.danmaku=null)}},[b,u,m,M,V]),(0,v.Z)(()=>{var e,t,i;if(b&&u&&(null==m?void 0:null===(e=m.danmakuControl)||void 0===e?void 0:e.enableDanmaku)){let e=b.getPlugin("DanmakuPlugin"),n=(0,a._)((0,l._)({},M),{player:b,bulletRef:I,isActive:u,userInfo:p,loginDispatch:h,awemeInfo:m,danmakuInfo:x,abtestData:y,isDanmuIcon:k,oneSwitch:_,logParams:E,danmuListTargetEl:w,firstDanmakuShowRef:C,totalCountRef:P,isDouyinPlayer:N});N?null==b||null===(t=b.updatePluginConfig)||void 0===t||t.call(b,"DanmakuPlugin",n):e&&(null==e||null===(i=e.updateConfig)||void 0===i||i.call(e,n))}},[p,y,k,E,w,N]);let B=D({awemeInfo:m,userInfo:p,loginDispatch:h,player:b,logParams:E,abtestData:y,totalCountRef:P}),O=e=>{let t=e||ec(b),i={"--primary-font-size":`${t}px`,"--primary-font-size-icon":`${t-2}px`,"--primary-line-height":"22px","--primary-font-size-icon-hover":`${Math.max(t,20)}px`,"--primary-text-shadow":"1px 0 1px #000000,0 1px 1px #000000,0 -1px 1px #000000,-1px 0 1px #000000","--primary-hover-color":"rgba(0, 0, 0, 0.7)"};switch(t){case A.NY["0"].value:i["--primary-hover-height"]="30px",i["--primary-margin-top"]="-7px";break;case A.NY["1"].value:i["--primary-hover-height"]="36px",i["--primary-margin-top"]="-8px";break;case A.NY["2"].value:i["--primary-hover-height"]="42px",i["--primary-margin-top"]="-9px";break;case A.NY["3"].value:i["--primary-hover-height"]="46px",i["--primary-margin-top"]="-9px";break;case A.NY["4"].value:i["--primary-hover-height"]="52px",i["--primary-margin-top"]="-10px"}return i};return(0,o.useEffect)(()=>{if(b&&u){let e=e=>{if(!!I.current)Object.entries(O(e)).forEach(e=>{let[t,i]=e;I.current.style.setProperty(t,i)})};return null==b||b.on(J.B.danmakuSettingChange,e),()=>{null==b||b.off(J.B.danmakuSettingChange,e)}}},[u,b,y]),(0,o.useEffect)(()=>{if(b&&u){let e=e=>{var t,i,l;if(!b.danmaku)return;let a=(null==e?void 0:e.vWidth)||(null==b?void 0:null===(i=b.video)||void 0===i?void 0:null===(t=i.getBoundingClientRect())||void 0===t?void 0:t.width)||0;if(a<=800&&j.current<=800||a>=1366&&j.current>=1366||a>800&&a<1366&&j.current>800&&j.current<1366){j.current=a;return}j.current=a;let n=ec(b,a),o=eu({player:b,videoWidth:a,fontSize:n});null==b||null===(l=b.danmaku)||void 0===l||l.setFontSize(n,o),b.emit(J.B.danmakuSettingChange,n)};return null==b||b.on(s.Events.VIDEO_RESIZE,e),()=>{null==b||b.off(s.Events.VIDEO_RESIZE,e)}}},[u,b,y]),(0,o.useEffect)(()=>{if(b){let e=()=>{T(!0)};return null==b||b.on(J.B.DanmakuON,e),()=>{null==b||b.off(J.B.DanmakuON,e)}}},[b]),u?(0,n.jsxs)(n.Fragment,{children:[!!L&&(0,n.jsx)(R,{}),(0,n.jsx)("div",{onClick:B,ref:I,className:c()(eC.default.container,eC.default.interaction,{[eC.default.containerTop]:!0}),style:O()})]}):null},tc=e=>{let{abtestData:t,awemeInfo:i}=e,r=(0,eb.N)(),{hasDanmakuInput:d}=function(e,t,i){let[l,a]=(0,o.useState)(!1),n=(0,o.useMemo)(()=>{var e;return(null==t?void 0:null===(e=t.danmakuControl)||void 0===e?void 0:e.enableDanmaku)&&(null==t?void 0:t.awemeType)!==ej.e.Note},[t,e]);return(0,o.useEffect)(()=>{if(i){var e,l,o;let r=e=>{if((null==e?void 0:e.eventType)==="firstFrame"||i.currentTime||(0,eP.r)()){var l,o,d;if(null===(l=i.off)||void 0===l||l.call(i,s.Events.XGLOG,r),null===(o=i.off)||void 0===o||o.call(i,s.Events.TIME_UPDATE,r),null===(d=i.off)||void 0===d||d.call(i,"vodlog",r),(0,eA.Kf)(t)){a(!1);return}a(n)}};return null===(e=i.on)||void 0===e||e.call(i,s.Events.XGLOG,r),null===(l=i.on)||void 0===l||l.call(i,s.Events.TIME_UPDATE,r),null===(o=i.on)||void 0===o||o.call(i,"vodlog",r),()=>{var e,t,l;null===(e=i.off)||void 0===e||e.call(i,s.Events.XGLOG,r),null===(t=i.off)||void 0===t||t.call(i,s.Events.TIME_UPDATE,r),null===(l=i.off)||void 0===l||l.call(i,"vodlog",r)}}},[i,n]),{hasDanmakuInput:l}}(t,i,(0,eS.n)()),u=(0,o.useRef)(!1);return d?(0,n.jsx)(eN.k,{componentName:"Danmaku",Slardar:r,children:(0,n.jsx)(tu,(0,a._)((0,l._)({},e),{firstDanmakuShowRef:u}))}):null}},817567:function(e,t,i){i.d(t,{E:function(){return ef}});var l=i("101199"),a=i("499059");let n=e=>{let{player:t,isActive:i}=e;(0,l.useEffect)(()=>{if(t&&i){let e=()=>{a.Le.setConfig(a.gI.VideoHasPrevent,!0)};return t.on("autoplay_was_prevented",e),()=>{t.off("autoplay_was_prevented",e)}}},[t,i])};var o=i("629686"),r=i("402748");i("706056"),i("679308");var s=i("734123"),d=i("59850"),u=i("37821"),c=i("426038"),v=i("191785"),m=i("272726"),f=i("409250"),p=i("889429"),h=i("709705"),x=i("600767"),g=i("638052"),y=i("723349"),k=i("396868"),_=i("32712"),w=i("792903");let E=e=>{var t;let{player:i,isActive:l,awemeInfo:a,abtestData:n,startTime:r}=e;i.isPlaying=!1,null===(t=i.resetState)||void 0===t||t.call(i);let s=(0,y.QF)({awemeInfo:a,abtestData:n});return!!s.url.find(e=>!!e.src)&&(i.setConfig((0,o._)({autoplay:l},s)),l?(i.config.startTime=r,i.play()):i.start(),!0)},C=()=>{g.logInstance.sendLog("videoRetryError",{type:"retry_success"})},S=()=>{g.logInstance.sendLog("videoRetryError",{type:"retry_error"})},b=e=>{e.off("error",S),e.off("loadeddata",C)},I=e=>{b(e),e.once("error",S),e.once("loadeddata",C)},N=e=>{let{player:t,isActive:i,awemeInfo:n,deleteCurrentSwiper:y,abtestData:C}=e,S=(0,l.useRef)(i);S.current=i;let N=(0,l.useRef)(null==n?void 0:n.awemeId);N.current=null==n?void 0:n.awemeId;let j=(0,l.useRef)(!1),A=(0,l.useRef)(!1),P=(0,l.useRef)(!1),L=(0,l.useRef)(0),T=(0,d.Z)(async(e,i,l)=>{if((i||Date.now()-L.current>6e4)&&(A.current=!1,P.current=!1),A.current&&P.current)return g.logInstance.sendLog("videoRetryError",{type:"real_blank_screen",aweme_id:e}),!1;if(L.current=Date.now(),t.removeClass(s.STATE_CLASS.ERROR),t.addClass(s.STATE_CLASS.LOADING),I(t),A.current||6===l)A.current=!0;else{var n;if(A.current=!0,t.dash)return t.retry(),!0;let i=t.currentSrc&&1===(0,v.q)(t.currentSrc),l=t.currentTime,a=t.config.url instanceof Array?null===(n=t.config.url)||void 0===n?void 0:n.find(e=>{var t;return null==e?void 0:null===(t=e.src)||void 0===t?void 0:t.includes("www.douyin.com")}):null;return!a&&g.logInstance.sendLog("videoRetryError",{type:"retry_base_url_miss",aweme_id:e}),i&&a?(t.src=a.src,t.load(),t.currentTime=l):t.retry(),!0}g.logInstance.sendLog("videoRetryError",{type:"retry_native",aweme_id:e});try{P.current=!0;let i=t.currentTime,l=await (0,x.m_)({awemeId:e,originType:u.F.PlayerRetry});if(!j.current&&N.current===e){let n=null;if(0===l.statusCode&&l.detail){if(n=l.detail,!E({player:t,awemeInfo:l.detail,isActive:S.current,abtestData:C,startTime:i}))return t.addClass(s.STATE_CLASS.ERROR),t.removeClass(s.STATE_CLASS.LOADING),!1;g.logInstance.sendLog("videoRetryError",{type:"retry_api_aweme_ok",aweme_id:e})}else{if(!l.isUnknownAweme)return t.addClass(s.STATE_CLASS.ERROR),t.removeClass(s.STATE_CLASS.LOADING),g.logInstance.sendLog("videoRetryError",{type:"retry_api_statuscode_error",aweme_id:e}),!1;null==y||y(),S.current&&k.F.info("该视频已被删除"),g.logInstance.sendLog("videoRetryError",{type:"retry_api_aweme_404",aweme_id:e})}a.Le.setConfig(a.gI.RefetchAwemeInfo,{[e]:n})}}catch(i){return t.addClass(s.STATE_CLASS.ERROR),t.removeClass(s.STATE_CLASS.LOADING),g.logInstance.sendLog("videoRetryError",{type:"retry_api_catch",aweme_id:e}),!1}return!0});(0,l.useEffect)(()=>(j.current=!1,()=>{j.current=!0}),[]);let D=e=>{var i,l,a,s,d,u;let{isH265:p}=(0,_.Z)({awemeInfo:n,player:t}),h=(0,r._)((0,o._)({urlParamList:["previous_page","tab_name"]},(0,w.Z)(t)),{group_id:n.groupId,aweme_type:n.awemeType,player_type:"xgplayer",player_version:t.version,errorCode:(null==e?void 0:null===(i=e.mediaError)||void 0===i?void 0:i.code)||(null==e?void 0:e.errorCode)||"",errorDesc:(null==e?void 0:null===(l=e.mediaError)||void 0===l?void 0:l.message)||(null==e?void 0:e.errorMessage)||"",is_cdn_expired:1===(0,v.q)(t.currentSrc)?1:0,vduration:null==n?void 0:null===(a=n.video)||void 0===a?void 0:a.duration,is_video_support:Number((0,m.k)().isSupport),is_bytevc1:p,log_pb:null==n?void 0:n.logPb,video_play_mode:(null===(s=f.Q.getItem({sKey:c.CookieKeys.VideoFilterMemoSelect,refresh:!1}))||void 0===s?void 0:s.type)===1?"landscape":"all",is_landscape:(null==n?void 0:null===(d=n.video)||void 0===d?void 0:d.width)>(null==n?void 0:null===(u=n.video)||void 0===u?void 0:u.height)?1:0});g.logInstance.sendLog("videoPlayError",h)};(0,l.useEffect)(()=>{var e;t&&(null==n?void 0:null===(e=n.video)||void 0===e?void 0:e.playApi)&&(t.usePluginHooks("error","errorHandler",(e,t)=>Promise.resolve().then(async()=>{let e=await T(n.awemeId,!1,null==t?void 0:t.errorCode);return!e&&D(t),!e})),t.usePluginHooks("error","errorRetry",()=>(T(n.awemeId,!0),g.logInstance.sendLog("videoRetryError",{type:"user_click",aweme_id:null==n?void 0:n.awemeId}),!1)))},[t,n,C]),(0,l.useEffect)(()=>{i&&t&&t.isError&&n&&T(n.awemeId,!0)},[C,i,t,n,T]),(0,l.useEffect)(()=>()=>t&&t.off&&b(t),[t]),(0,l.useEffect)(()=>{if(t&&i){let e=e=>{if((0,p.un)()){var i,l;let e=null===(l=t.config.awemeInfo)||void 0===l?void 0:null===(i=l.video)||void 0===i?void 0:i.playApi;t.src=e,t.load(),(0,h.qQ)(c.LocalStorageKeys.IsSupportHevc,{has_detect:!0,is_support:!1,pure_support:!0})}};return t.on("DECODER_FAILED",e),()=>t.off("DECODER_FAILED",e)}},[t,i])};i("112459"),i("759943");var j=i("121998"),A=i("590555"),P=i("939165"),L=i("295207"),T=i("72430"),D=i("813458"),M=i("414061"),R=i("944922"),V=i("857800"),B=i("332009"),O=i("488904"),G=i("889094"),z=i("140726"),F=i("55938"),Z=i("624508"),U=new Z.h({retryClick:{eventName:"retry_click",params:{group_id:"",log_pb:"",enter_from:""}},purePauseVideo:{eventName:"pure_pause_video",params:{group_id:"",enter_from:"",pause_type:"",block_play_type:"",active:0,player_stat_play:"",is_global_emit:0}},purePlayVideo:{eventName:"pure_play_video",params:{group_id:"",enter_from:"",active:0,player_stat_play:""}},purePlayingVideo:{eventName:"pure_playing_video",params:{group_id:"",enter_from:"",active:0,player_stat_play:""}},pureFirstFrameRender:{eventName:"pure_first_frame_render",params:{group_id:"",enter_from:"",active:0,player_stat_play:""}},networkError:{eventName:"network_error",params:{}}});let H=e=>{let{player:t,isActive:i,awemeInfo:n,config:r,abtestData:d,currentIndex:u,reuseConfig:c,startTime:v}=e,m=(0,l.useRef)(!1),f=(0,l.useRef)(!1),p=(0,A.d)(c),h=(0,l.useRef)(v),x=()=>{t.pause()};(0,l.useEffect)(()=>{let e=M.listen(M.EVENT.changeMinWindows,e=>{let{isMiniWin:t}=e;f.current=!0}),t=M.listen(M.EVENT.changeMinWinWeb,e=>{let{isMiniWinWeb:t}=e;f.current=!0});return()=>{e(),t()}},[]),(0,P.o)(()=>{let e=a.Le.getConfig(a.gI.GlobalSwiper);if(e&&u&&t){let i=e=>{var i,l,o,v,m,p;let{index:h}=e,g=F.e.activeScene===L.d.WebVideo,y=F.e.activeScene===L.d.ListenVideo,k=R.t.isOptimizePause(d)&&Math.abs(u-h)>=2;if(!a.Le.getConfig(a.gI.IsMiniWin)&&!f.current&&!g&&!y&&!k)if(u===h)t.off(s.Events.TIME_UPDATE,x),(0,O.d)({player:t,config:r,awemeInfo:n,prePlay:1,index:u,reuseConfig:c}),M.emit(M.EVENT.livePause),t.statPlay=`${t.statPlay}_preplay`,t.emit("preplay",null==t?void 0:null===(i=t.config)||void 0===i?void 0:i.vid);else{t.prepauseStat=1,t.superResolution=(0,G.B)({player:t}),t.bandWidth=null==t?void 0:t.bandwidth,t.danmakuGetBoundingCounts=null==t?void 0:null===(l=t.danmaku)||void 0===l?void 0:l.getBoundingCounts,t.danmuElCreateCounts=null==t?void 0:null===(o=t.danmaku)||void 0===o?void 0:o.danmuElCreateCounts,(0,O.c)({player:t});try{null===(p=window.TTCommon)||void 0===p||null===(m=p.executeWithElement)||void 0===m||m.call(p,t.video,"updateSrState",0)}catch(e){}t.statPlay=`${t.statPlay}_prepause`,t.emit("prepause",null==t?void 0:null===(v=t.config)||void 0===v?void 0:v.vid)}};return e.on("activeIndexChange",i),()=>{e.off("activeIndexChange",i)}}},[n,t,u,c]),(0,l.useEffect)(()=>{if(t){var e,l,a;if(t.statPlay=t.statPlay||"",i&&(t.config.notUseRefreshVid||(0,V.B)())){t.blockPlayType=`lazyChildren_notUseRefreshVid_${null==t?void 0:null===(e=t.config)||void 0===e?void 0:e.notUseRefreshVid}_isLazyChildren${V.B}`;return}if(i&&(0,V.r)()){t.blockPlayType="isFromLynx";return}if(t.__isInlinePlayer&&i&&!t.isBlockedInlinePlayerRestart&&(t.isPlaying=!1,t.isBlockedInlinePlayerRestart=!0),i)(null==t?void 0:t.preplay)?(t.blockPlayType="preplay",t.preplay=0,t.play(),t.statPlay=`${t.statPlay}_activeplay`):((0,O.d)({player:t,config:r,awemeInfo:n,prePlay:0,index:u,reuseConfig:c}),t.statPlay=`${t.statPlay}_onactiveplay`);else if(!i){t.__isInlinePlayer&&(m.current=!0);let e=(null===(l=window.__QUICK_PLAYER)||void 0===l?void 0:l.playerId)&&window.__QUICK_PLAYER.playerId===(null==t?void 0:t.playerId),{scene:i,reuseId:n}=(null==p?void 0:p.current)||{};return(e||i&&n&&(null===z.YY||void 0===z.YY?void 0:null===(a=z.YY.checkIsReusePlayer)||void 0===a?void 0:a.call(z.YY,i,n,t)))&&!(null==h?void 0:h.current)&&(t.currentTime=0),t.statPlay=`${t.statPlay}_onnoactivepause`,(0,O.c)({player:t}),t.on(s.Events.TIME_UPDATE,x),()=>{t.off(s.Events.TIME_UPDATE,x)}}}},[t,i]),(0,l.useEffect)(()=>{t&&i&&window.dispatchEvent(new Event("playNext",{bubbles:!0}))},[t,i]),(0,l.useEffect)(()=>{let e=null;if(t&&i){var l;e=window.player,window.player=t;let i=B.s.getPlayersByScene(T.lT.Modal).length>0&&B.s.getPlayerScene(t.playerId)!==T.lT.Modal;(null===(l=(0,j.parse)(location.search))||void 0===l?void 0:l.webRid)&&(t.pause(),t.config.autoplay=!1,t.pauseType="hasModalLive"),!i&&(null==t||t.setUserActive(!0));let a=M.listen(M.EVENT.videoPause,()=>{t.pause(),t.pauseType="gobalEmit",t.config.autoplay=!1});return()=>{e&&(window.player=e),a()}}},[t,i]),(0,l.useEffect)(()=>{let e=()=>{t&&i&&B.s.getPlayersByScene(T.lT.Modal).length>0&&B.s.getPlayerScene(t.playerId)!==T.lT.Modal&&0===u&&(t.pause(),t.pauseType="hasOtherModalPlayer",t.config.autoplay=!1,t.autoplay=!1)};if(t&&i)return t.once("play",e),()=>{t.off("play",e)}},[t,i,u]),(0,D.w)(()=>{if(t&&i){t.pause(),t.pauseType="useRouteDeActiveEffect";let e=()=>{t.pause(),t.pauseType="useRouteDeActiveEffectListen"};return t.on(s.Events.PLAY,e),t.on(s.Events.TIME_UPDATE,e),()=>{t.off(s.Events.PLAY,e),t.off(s.Events.TIME_UPDATE,e)}}},[i,t]);let g=(0,l.useRef)(i);(0,l.useEffect)(()=>{g.current=i},[i]),(0,l.useEffect)(()=>{t&&(t.statPlay="")},[t,n]),(0,l.useEffect)(()=>{if((null==t?void 0:t.on)&&i){let e=e=>{U.sendLog("networkError",(0,o._)({},e||{}))};return t.on("networkError",e),()=>{t.off("networkError",e)}}},[t,i])};i("228983");let K=e=>{let{player:t,isActive:i}=e;(0,l.useEffect)(()=>{if(t&&t.root.getElementsByClassName("xgplayer-start")[0]&&(t.root.getElementsByClassName("xgplayer-start")[0].className=`${t.root.getElementsByClassName("xgplayer-start")[0].className} douyinHide`,i)){let e=setTimeout(()=>{t.root.getElementsByClassName("xgplayer-start")[0]&&(t.root.getElementsByClassName("xgplayer-start")[0].className=t.root.getElementsByClassName("xgplayer-start")[0].className.split(" ").filter(e=>"douyinHide"!==e).join(" "))},1e3),i=()=>{clearTimeout(e),t.root.getElementsByClassName("xgplayer-start")[0]&&(t.root.getElementsByClassName("xgplayer-start")[0].className=t.root.getElementsByClassName("xgplayer-start")[0].className.split(" ").filter(e=>"douyinHide"!==e).join(" "))};return t.once(s.Events.AUTOPLAY_STARTED,i),()=>{t.off(s.Events.AUTOPLAY_STARTED,i),t.root.getElementsByClassName("xgplayer-start")[0]&&(t.root.getElementsByClassName("xgplayer-start")[0].className=`${t.root.getElementsByClassName("xgplayer-start")[0].className} douyinHide`)}}},[t,i])};var W=i("5784"),Y=i.n(W),$=i("431940"),q=i.n($),X=i("870127"),J=i.n(X),Q=i("855357"),ee=i("987826"),et=i("423629"),ei=i("495394"),el=i("810069"),ea=i("352871");let en=(e,t)=>{let i=[Q.e.Normal,Q.e.XgVideo].includes(null==e?void 0:e.awemeType),l=t.currentTime>=3&&t.duration-t.currentTime>=30;return i&&l},eo=e=>{var t,i;let{player:n,isActive:o,awemeInfo:r,scene:d,userInfo:u}=e,c=(0,ea.U7)(),v=(0,ea.dY)("multi_device_resume",null==u?void 0:u.isLogin),m=c&&(null==v?void 0:v.enable)===1&&(null==v?void 0:v.pc_auto_record)===1;(0,l.useEffect)(()=>{var e,t;if(n&&(null==u?void 0:null===(e=u.info)||void 0===e?void 0:e.uid)&&(null==r?void 0:null===(t=r.continationInfo)||void 0===t?void 0:t.continationVideoAlreadyConsume)===!1){let{fwsExample:e}=a.Le.getConfig(a.gI.fwsExample)||{},t=e=>{var t,i,l,a,n;let o={app_id:ee.APP_ID,message_type:new(J())(et.Cs.ReplyConsume||"0"),user_id:new(J())(u.info.uid||"0"),device_id:new(J())((null===(t=(0,el.Es)())||void 0===t?void 0:t.user_unique_id)||"0"),to_device_type:new(J())(et.Yi.Phone||"0"),to_device_id:new(J())((null==r?void 0:null===(i=r.continationInfo)||void 0===i?void 0:i.fromDeviceId)||"0"),continuation_info:{ItemId:new(J())(null==r?void 0:r.awemeId),RecordType:new(J())(null==r?void 0:null===(l=r.continationInfo)||void 0===l?void 0:l.recordType),EpisodeId:new(J())((null==r?void 0:null===(n=r.lvideoBrief)||void 0===n?void 0:null===(a=n.episodeInfo)||void 0===a?void 0:a.episodeId)||"0")}},s=q().stringify(o);e.send(s,{service:et.oU.Multicast,method:10}),Y()(r,"continationInfo.continationVideoAlreadyConsume",!0)};if(e){let i=()=>{t(e)};if(!n.isPlaying)return n.once(s.Events.CANPLAY,i),()=>{n.off(s.Events.CANPLAY,i)};i()}else{let e=null,i=M.listen(M.EVENT.fwsExampleInit,i=>{n.isPlaying?t(i):(e=()=>{t(i)},n.once(s.Events.CANPLAY,e))});return()=>{i(),n.off(s.Events.CANPLAY,e)}}}},[n,r]),(0,l.useEffect)(()=>{var e;if(n&&o&&(null==u?void 0:null===(e=u.info)||void 0===e?void 0:e.uid))return M.listen(M.EVENT.sendPullMessage,e=>{if(n.isUserActive&&en(r,n)){var t,i,l,o,s,d,c;let{toDeviceId:v,toDeviceType:m}=e||{},{fwsExample:f}=a.Le.getConfig(a.gI.fwsExample)||{},p={app_id:new(J())("6383"),message_type:2,user_id:new(J())((null==u?void 0:null===(t=u.info)||void 0===t?void 0:t.uid)||"0"),device_id:new(J())((null===(i=(0,el.Es)())||void 0===i?void 0:i.user_unique_id)||"0"),to_device_type:new(J())(m),to_device_id:new(J())(v),continuation_info:{UserId:new(J())((null==u?void 0:null===(l=u.info)||void 0===l?void 0:l.uid)||"0"),ItemId:new(J())((null==r?void 0:r.awemeId)||"0"),ItemType:new(J())((null==r?void 0:r.awemeType)||"0"),PlayTime:Math.floor(n.currentTime),Cover:(null==r?void 0:null===(o=r.video)||void 0===o?void 0:o.cover)||"",FromDeviceId:new(J())((null===(s=(0,el.Es)())||void 0===s?void 0:s.user_unique_id)||"0"),FromDeviceType:Number(et.Yi.PC),RecordType:Number(et.ns.auto),EpisodeId:new(J())((null==r?void 0:null===(c=r.lvideoBrief)||void 0===c?void 0:null===(d=c.episodeInfo)||void 0===d?void 0:d.episodeId)||"0")}},h=q().stringify(p);f.send(h,{service:et.oU.Multicast,method:10})}})},[n,o,null==u?void 0:null===(t=u.info)||void 0===t?void 0:t.uid]),(0,l.useEffect)(()=>{var e;if(n&&o&&[et.b.Default,et.b.Open].includes(null==u?void 0:null===(e=u.info)||void 0===e?void 0:e.continuationState)&&m){let e=()=>{"hidden"===document.visibilityState&&n.isUserActive&&en(r,n)&&(0,ei.wU)({item_id:null==r?void 0:r.awemeId,item_type:null==r?void 0:r.awemeType,play_progress:Math.floor(n.currentTime),to_client:Number(et.Yi.Phone),record_type:Number(et.ns.auto)})},t=()=>{n.isUserActive&&en(r,n)&&(0,ei.wU)({item_id:null==r?void 0:r.awemeId,item_type:null==r?void 0:r.awemeType,play_progress:Math.floor(n.currentTime),to_client:Number(et.Yi.Phone),record_type:Number(et.ns.auto)})};return window.addEventListener("beforeunload",t),document.addEventListener("visibilitychange",e),()=>{window.removeEventListener("beforeunload",t),document.removeEventListener("visibilitychange",e)}}},[n,o,null==u?void 0:null===(i=u.info)||void 0===i?void 0:i.uid,m])};var er=i("486463"),es=i("598412");let ed=e=>{let{player:t,isNext:i,awemeInfo:a,abtestData:n}=e,o=(0,es.Y)({awemeInfo:a,abtestData:n});(0,l.useEffect)(()=>{t&&i&&((0,er.tw)(null==t?void 0:t.playerId,!0),window.nextPlayer=t,t.isMultiple=1,o())},[t,i])};var eu=i("439827"),ec=i("693017");let ev=e=>{let{player:t,awemeInfo:i,abtestData:a}=e,n=(0,eu.l)();(0,l.useEffect)(()=>{var e;let t=()=>{let e=null==i?void 0:i.isAds;if(window.TTCommon){var t,l;null===(t=(l=window.TTCommon).execute)||void 0===t||t.call(l,"applyConfig",e?'{"gpu_use_single_video_decoder_texture":1}':'{"gpu_use_single_video_decoder_texture":0}')}};return null==n||null===(e=n.on)||void 0===e||e.call(n,ec.V.PlayerBeforeCreate,t),()=>{var e;null==n||null===(e=n.off)||void 0===e||e.call(n,ec.V.PlayerBeforeCreate,t)}},[i,a]),(0,l.useEffect)(()=>{var e;if(t&&(null==a?void 0:null===(e=a.controls)||void 0===e?void 0:e.dragdisable)){let e=t.getPlugin("progress"),i=t.getPlugin("controls");e&&i&&e.setConfig({onMoveStart:()=>{i.root.classList.add("progress-dragging")},onMoveEnd:()=>{i.root.classList.remove("progress-dragging")}})}},[t,i,a])};var em=i("63601");i("838368");let ef=e=>{let t=(0,em.n)(),{isActive:i,awemeInfo:l,deleteCurrentSwiper:a,config:o,abtestData:r,scene:s,userInfo:d,isNext:u,currentIndex:c,reuseConfig:v,startTime:m}=e;return n({player:t,isActive:i,awemeInfo:l}),N({player:t,isActive:i,awemeInfo:l,deleteCurrentSwiper:a,abtestData:r}),H({player:t,isActive:i,awemeInfo:l,config:o,abtestData:r,currentIndex:c,reuseConfig:v,startTime:m}),K({player:t,isActive:i}),eo({player:t,isActive:i,awemeInfo:l,scene:s,userInfo:d}),ed({player:t,isNext:u,awemeInfo:l,abtestData:r}),ev({player:t,awemeInfo:l,abtestData:r}),null}},713507:function(e,t,i){i.d(t,{p:function(){return v}});var l=i("629686"),a=i("320165"),n=i("101199"),o=i("63601"),r=i("332009");let s=e=>{let{player:t,scene:i,onRegisterSuccess:l,isActive:a}=e;(0,n.useEffect)(()=>{let e;if(t&&i&&a){let a=r.s.register({player:t,scene:i});e=a,void 0!==a&&(null==l||l({scene:i,playerId:a}))}return()=>{r.s.unRegister({id:e})}},[t,i,a])};var d=i("310383"),u=i("913285");i("838368");let c=e=>{let t=(0,o.n)(),{scene:i,onRegisterSuccess:l,isActive:a}=e;return s({player:t,scene:i,onRegisterSuccess:l,isActive:a}),null},v=e=>{let t=(0,d.N)();return(0,a.jsx)(u.k,{componentName:"MultiPlayer",Slardar:t,children:(0,a.jsx)(c,(0,l._)({},e))})}},587512:function(e,t,i){i.d(t,{V:function(){return h}}),i(490629),i(706056);var l=i(320165),a=i(101199),n=i(469935),o=i.n(n),r=i(414061),s=i(537047),d=i(343341),u=i(190995),c=i(176449),v=i(63601),m=i(94109),f=i(140543),p=i(800513);let h=e=>{var t,i;let{className:n,awemeInfo:h,isShowReplay:x=!0,isActive:g,isMiniWin:y=!1}=e,k=(0,m.GP)(h),[_,w]=(0,a.useState)(k||!1),E=(0,v.n)();(0,a.useEffect)(()=>{let e=r.listen(r.EVENT.ShowPreviewPaidMask,e=>{let{isShow:t,awemeId:i,playerId:l}=e;g&&i===(null==h?void 0:h.awemeId)&&(l===(null==E?void 0:E.playerId)||!l)&&w(t)});return()=>{null==e||e()}},[g,h,E]),(0,a.useEffect)(()=>{k?w(!0):w(!1)},[h]);let{isPreivewFinish:C}=(0,f.O)({awemeInfo:h,isActive:g});return((0,a.useEffect)(()=>{!C&&!y&&w(!1)},[C]),(0,a.useEffect)(()=>{y&&(C?["primary","subscribe"].includes((0,p.$m)(h))&&w(!0):!k&&w(!1))},[C,y]),!_||(null==h?void 0:null===(t=h.chargeInfo)||void 0===t?void 0:t.has_paid)||[0,2].includes(null==h?void 0:null===(i=h.entRightInfo)||void 0===i?void 0:i.right_status))?null:(0,l.jsxs)("div",{className:o()(s.default.conatienr,n,{[s.default.filter]:k}),children:[(0,l.jsx)(c.Z,{src:d.Z,width:28,height:28,viewBox:"0 0 28 28"}),(0,l.jsx)("span",{className:s.default.title,children:"购买后可看"}),!k&&x&&(0,l.jsxs)("div",{className:s.default.subTitle,onClick:()=>{var e,t,i,l,a,n;(null==h?void 0:null===(t=h.chargeInfo)||void 0===t?void 0:null===(e=t.preview_config)||void 0===e?void 0:e.start_time)>0?null==E||null===(a=E.seek)||void 0===a||a.call(E,(null==h?void 0:null===(l=h.chargeInfo)||void 0===l?void 0:null===(i=l.preview_config)||void 0===i?void 0:i.start_time)/1e3):null==E||null===(n=E.replay)||void 0===n||n.call(E),w(!1)},children:[(0,l.jsx)(c.Z,{src:u.Z,width:20,height:20,viewBox:"0 0 20 20"}),"重播"]})]})}},96296:function(e,t,i){i.d(t,{V:function(){return r}}),i(490629);var l=i(320165),a=i(101199),n=i(302452),o=i(63601);let r=e=>{var t,i,r,s,d,u,c,v,m,f,p,h,x,g;let{awemeInfo:y,isActive:k}=e,[_,w]=(0,a.useState)(!1),E=(0,o.n)();return((0,a.useEffect)(()=>{var e,t;let i=e=>{var t,i,l,a;let{currentTime:n}=e;if(n>=(null==y?void 0:null===(i=y.seriesInfo)||void 0===i?void 0:null===(t=i.seriesIcp)||void 0===t?void 0:t.disappear_time_sec)&&k){w(!1);return}if(n>=(null==y?void 0:null===(a=y.seriesInfo)||void 0===a?void 0:null===(l=a.seriesIcp)||void 0===l?void 0:l.start_time_sec)&&k){w(!0);return}};if(E&&(null==y?void 0:null===(t=y.seriesInfo)||void 0===t?void 0:null===(e=t.seriesIcp)||void 0===e?void 0:e.icp_number))return E.on("timeupdate",i),()=>{E.off("timeupdate",i)}},[y,E,k]),(null==y?void 0:null===(i=y.seriesInfo)||void 0===i?void 0:null===(t=i.seriesIcp)||void 0===t?void 0:t.icp_number)&&_)?(0,l.jsx)("div",{className:n.default.container,style:{top:`${(null==y?void 0:null===(d=y.seriesInfo)||void 0===d?void 0:null===(s=d.seriesIcp)||void 0===s?void 0:null===(r=s.horizonal_pos)||void 0===r?void 0:r.y_pos)||16}px`,left:`${(null==y?void 0:null===(v=y.seriesInfo)||void 0===v?void 0:null===(c=v.seriesIcp)||void 0===c?void 0:null===(u=c.horizonal_pos)||void 0===u?void 0:u.x_pos)||16}px`,fontSize:(null==y?void 0:null===(f=y.seriesInfo)||void 0===f?void 0:null===(m=f.seriesIcp)||void 0===m?void 0:m.font_size)||"16px",color:(null==y?void 0:null===(h=y.seriesInfo)||void 0===h?void 0:null===(p=h.seriesIcp)||void 0===p?void 0:p.font_color)||"#fff"},children:null==y?void 0:null===(g=y.seriesInfo)||void 0===g?void 0:null===(x=g.seriesIcp)||void 0===x?void 0:x.icp_number}):null}},829248:function(e,t,i){i.d(t,{I:function(){return g},V:function(){return h}}),i(313036);var l=i(320165),a=i(358986),n=i(734123),o=i(101199),r=i(48795),s=i(59850),d=i(147597),u=i(132027),c=i(414061),v=i(253408),m=i(316213),f=i(63601);let p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e},[e]),t};function h(e){let{onOpen:t,onClose:i,description:a}=e,n=(0,s.Z)(i),p=(0,f.n)();return(0,o.useEffect)(()=>{c.emit(c.EVENT.closeOtherTip,"SoundGuideTooltip");let e=e=>{let{pluginName:t}=e;"volume"===t&&(null==n||n())};return p.on("icon_mouseenter",e),()=>{p.off("icon_mouseenter",e)}},[p]),(0,o.useEffect)(()=>{let e=c.listen(c.EVENT.closeOtherTip,e=>{"SoundGuideTooltip"!==e&&(null==n||n())});return()=>e()},[i]),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:v.default.item,children:[(0,l.jsx)("span",{className:v.default.text,children:a}),(0,l.jsx)(r.Button,{type:"primary",size:"small",theme:"solid",onClick:t,className:v.default.button,children:"打开声音"}),(0,l.jsx)(m.z,{svg:(0,l.jsx)(d.Z,{}),onClick:i,className:v.default.close}),(0,l.jsx)(m.z,{svg:(0,l.jsx)(u.Z,{}),className:v.default.down})]})})}class x extends n.Plugin{static get pluginName(){return"SoundGuideTooltipPlugin"}static get defaultConfig(){return{position:a.POSITIONS.CONTROLS_RIGHT,index:.99,className:"xgplayer-sound-guide"}}afterCreate(){if(this.config.disable)return}destroy(){}render(){return` `}}let g=e=>{let{isActive:t,disable:i,logParams:l,abtestData:a}=e,n=(0,f.n)(),r=p(l);return(0,o.useEffect)(()=>{if(n)return 2===n.config.reuse&&n.getPlugin("SoundGuideTooltipPlugin")?()=>{}:(n.registerPlugin(x,{disable:i,isActive:!0,player:n,logParams:r.current}),()=>{n.getPlugin("SoundGuideTooltipPlugin")&&2!==n.config.reuse&&n.unRegisterPlugin("SoundGuideTooltipPlugin",!0)})},[n,i,a]),null}},203404:function(e,t,i){i.d(t,{k:function(){return c}});var l=i(629686),a=i(320165),n=i(101199),o=i(63601),r=i(310383),s=i(37285),d=i(913285);let u=e=>{let{isActive:t,onVolumeShortCutChange:i}=e,l=(0,o.n)();return(0,n.useEffect)(()=>{let e=e=>{i(e)};if(t&&l){var a;null===(a=l.on)||void 0===a||a.call(l,s.B.CustomShortCut,e)}return()=>{var t;null==l||null===(t=l.off)||void 0===t||t.call(l,s.B.CustomShortCut,e)}},[l,t,i]),null},c=e=>{let t=(0,r.N)();return(0,a.jsx)(d.k,{componentName:"VolumeShortCutPlugin",Slardar:t,children:(0,a.jsx)(u,(0,l._)({},e))})}},588246:function(e,t,i){i.d(t,{G9:function(){return L},kL:function(){return M}});var l=i(480333),a=i(629686),n=i(402748);i(490629);var o=i(320165),r=i(358986),s=i(101199),d=i(913285),u=i(469935),c=i.n(u),v=i(734123);i(718682);var m=i(426038),f=i(855357),p=i(939165),h=i(749113),x=i(709705),g=i(499059),y=i(601034),k=i(414061),_=i(202206),w=i(889429),E=i(63601),C=i(310383),S=i(37285),b=i(44599),I=i(40137),N=i(540129),j=i(577244);function A(e){let{isOn:t}=e;return(0,o.jsxs)("div",{className:c()("xgTips"),children:[t&&(0,o.jsx)("span",{children:h.a.t("autoplay_close",{},"关闭自动连播")}),!t&&(0,o.jsx)("span",{children:h.a.t("autoplay_open",{},"自动连播")}),!!N.SHORTCUT_KEY.autoPlay.badgeText&&(0,o.jsx)("span",{className:"shortcutKey",children:N.SHORTCUT_KEY.autoPlay.badgeText})]})}function P(e){let{autoplay:t,xgSwitch:i,shortcutDisabled:l}=e,a=(0,I.H)("auto_play");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{ref:a,className:"xgplayer-icon",onClick:i,"data-e2e":"video-player-auto-play","data-e2e-state":t?"video-player-auto-playing":"video-player-no-auto-play",children:(0,o.jsxs)("div",{className:"xgplayer-setting-label",children:[(0,o.jsx)("button",{"aria-checked":"true",className:c()("xg-switch",{"xg-switch-checked":t}),"aria-labelledby":"xg-switch-pip",type:"button",children:(0,o.jsx)("span",{className:"xg-switch-inner"})}),(0,o.jsx)("span",{className:"xgplayer-setting-title",children:h.a.t("autoplay",{},"连播")})]})}),!l&&(0,o.jsx)(A,{isOn:t})]})}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(0,x.$o)(null!=e?e:m.LocalStorageKeys.PLAYER_NEXT_AUTOPLAY);return null!=i?i:t}class T extends v.Plugin{static get pluginName(){return"AutoPlaySettingPlugin"}static get defaultConfig(){return{position:r.POSITIONS.CONTROLS_RIGHT,index:9,className:"xgplayer-autoplay-setting"}}afterCreate(){var e,t;if(!this.config.disable)this.renderRoot(),null===(e=this.player)||void 0===e||e.on("updateIsAutoPlay",this.updateIsAutoPlay),null===(t=this.player)||void 0===t||t.on(S.B.UpdateAutoPlaySwitch,this.switchAutoPlay),this.bind("mouseenter",this.onMouseenter),this.bind("mouseleave",this.onMouseleave)}destroy(){var e,t;this.unbind("mouseenter",this.onMouseenter),this.unbind("mouseleave",this.onMouseleave),null===(e=this.player)||void 0===e||e.off("updateIsAutoPlay",this.updateIsAutoPlay),null===(t=this.player)||void 0===t||t.off(S.B.UpdateAutoPlaySwitch,this.switchAutoPlay),(0,b.v)(this)}renderRoot(){let e=!!this.config.nextAutoPlay,t=this.onXgChange;this.player&&(this.player.isAutoPlay=e);let i=(0,o.jsx)(P,{autoplay:e,xgSwitch:t,shortcutDisabled:this.config.shortcutDisabled});(0,b.s)(this,i)}render(){return` `}constructor(...e){super(...e),(0,l._)(this,"playeNextWeightNum",0),(0,l._)(this,"stopFlag",0),(0,l._)(this,"switchAutoPlay",e=>{var t;let i=null!==(t=null==e?void 0:e.isOn)&&void 0!==t?t:!this.config.nextAutoPlay;!!this.config.nextAutoPlay!==i&&this.autoPlayChangeLogic((0,n._)((0,a._)({},e),{isOn:i}))}),(0,l._)(this,"onMouseleave",()=>{this.emit("icon_mouseleave",{pluginName:this.pluginName})}),(0,l._)(this,"onMouseenter",()=>{this.emit("icon_mouseenter",{pluginName:this.pluginName})}),(0,l._)(this,"updateIsAutoPlay",e=>{this.autoPlayChangeLogic((0,a._)({isOn:!!Number(L(this.config.customLocalStorage,this.config.defaultVal)),logParams:{},isInnerReset:!0,switchBy:void 0},e))}),(0,l._)(this,"autoPlayChangeLogic",e=>{let{isOn:t,logParams:i,isInnerReset:l,switchBy:a,mode:n}=e;if(!this.config.shortcutDisabled||a!==j.l.Shortcut){if("syncInteraction"!==n&&g.Le.setConfig(g.gI.InnerAutoPlay,null),!!this.config.nextAutoPlay!==t&&this.root){var o,r;this.config.nextAutoPlay=t?1:0,(0,x.qQ)(null!==(r=this.config.customLocalStorage)&&void 0!==r?r:m.LocalStorageKeys.PLAYER_NEXT_AUTOPLAY,t?"1":"0"),this.renderRoot();null===(o=this.player)||void 0===o||o.emit(S.B.AutoPlaySwitchChange,{isOn:!!t,logParams:i,isInnerReset:l}),this.root&&[...this.root.getElementsByTagName("button")].forEach(e=>e.blur()),this.stopFlag=0}}}),(0,l._)(this,"onXgChange",()=>{var e;let{author_id:t,group_id:i,log_pb:l,extraParams:n}=this.config.logInfo;(0,x.qQ)(null!==(e=this.config.customLocalStorage)&&void 0!==e?e:m.LocalStorageKeys.PLAYER_NEXT_AUTOPLAY,this.config.nextAutoPlay?"0":"1"),g.Le.getConfig(g.gI.IsInMixCard)&&g.Le.setConfig(g.gI.AutoPlayChanged,{changed:!0}),this.autoPlayChangeLogic({isOn:!this.config.nextAutoPlay,logParams:(0,a._)({enter_method:"click_bar",urlParamList:["previous_page"],author_id:t,group_id:i,log_pb:l,enter_from:(0,y.yW)(),status:this.config.nextAutoPlay?"off":"on"},n),isInnerReset:!1,switchBy:void 0}),k.emit(k.EVENT.syncInteraction)})}}let D=e=>{let{isActive:t,awemeInfo:i,playNextFunc:l,ablePlayNext:a,shortcutDisabled:n,customLocalStorage:o,defaultVal:r,scene:d}=e,u=(0,E.n)(),c=(0,s.useMemo)(()=>i,[i]),v=(0,s.useCallback)(()=>{var e;let t=u.getPlugin("AutoPlaySettingPlugin");if(l&&(null==t?void 0:null===(e=t.config)||void 0===e?void 0:e.nextAutoPlay)&&(null==t?void 0:t.playeNextWeightNum)===0&&(null==t?void 0:t.stopFlag)===0&&a&&i.awemeType!==f.e.Note)(0,_.i0)(_.CK.Auto),null==l||l({from:"auto"}),g.Le.setConfig(g.gI.VideoPlayMethod,"auto_play_open");else{let e=()=>{u.replay(),u.replayed=!0,g.Le.setConfig(g.gI.VideoPlayMethod,"auto")};(0,w.G6)()?setTimeout(e,50):e()}},[l,u,a,i]);return(0,s.useEffect)(()=>{if(u&&c)return(u.replayed=!1,2===u.config.reuse&&u.getPlugin("AutoPlaySettingPlugin"))?(u.getPlugin("AutoPlaySettingPlugin").playeNextWeightNum=0,u.getPlugin("AutoPlaySettingPlugin").stopFlag=0,()=>{}):(u.registerPlugin(T,{nextAutoPlay:Number(L(o,r)),logInfo:c,shortcutDisabled:n,customLocalStorage:o,defaultVal:r}),()=>{u.getPlugin("AutoPlaySettingPlugin")&&2!==u.config.reuse&&u.unRegisterPlugin("AutoPlaySettingPlugin",!0)})},[u,c,r]),(0,s.useEffect)(()=>{if(null==u?void 0:u.getPlugin("AutoPlaySettingPlugin")){let e=k.listen(k.EVENT.syncAutoPlaySetting,()=>{setTimeout(()=>{u.getPlugin("AutoPlaySettingPlugin").updateIsAutoPlay()},200)});return()=>{e()}}},[u]),(0,s.useEffect)(()=>{u&&t&&(null==u?void 0:u.getPlugin("AutoPlaySettingPlugin"))&&u.getPlugin("AutoPlaySettingPlugin").updateIsAutoPlay()},[u,t]),(0,s.useEffect)(()=>{if(u&&t){let e,t;if(u.getPlugin("AutoPlaySettingPlugin")){let i=u.getPlugin("AutoPlaySettingPlugin");!Number.isInteger(i.playeNextWeightNum)&&(i.playeNextWeightNum=0),e=k.listen(k.EVENT.videoStopPlayNext,e=>{if(!1===u.isUserActive)return;let{openSideCard:t}=e||{},i=u.getPlugin("AutoPlaySettingPlugin"),l=t?"stopFlag":"playeNextWeightNum";i&&i[l]<1&&(i[l]+=1)}),t=k.listen(k.EVENT.videoRemoveStopPlayNext,e=>{if(!1===u.isUserActive)return;let{openSideCard:t}=e||{},i=u.getPlugin("AutoPlaySettingPlugin"),l=t?"stopFlag":"playeNextWeightNum";i&&(i[l]=Math.max(i[l]-1,0))})}return()=>{null==e||e(),null==t||t()}}},[u,t]),(0,p.o)(()=>{if(u){let e=u.getPlugin("AutoPlaySettingPlugin");null==e||e.updateIsAutoPlay();let t=k.listen(k.EVENT.syncInteraction,()=>{u.registerPlugin(T,{nextAutoPlay:Number(L(o,r)),logInfo:c,shortcutDisabled:n,customLocalStorage:o,defaultVal:r})});return()=>{t()}}},[u,r]),(0,s.useEffect)(()=>{if(u&&t&&v)return u.on("ended",v),()=>{u.off("ended",v)}},[u,t,v,i]),null},M=e=>{let t=(0,C.N)();return(0,o.jsx)(d.k,{componentName:"AutoPlayPlugin",Slardar:t,children:(0,o.jsx)(D,(0,a._)({},e))})}},342309:function(e,t,i){i.d(t,{I:function(){return j}});var l=i("629686"),a=i("320165"),n=i("101199"),o=i("350856"),r=i.n(o),s=i("908219"),d=i.n(s),u=i("734123"),c=i("618759"),v=i("759894"),m=i("226846"),f=i("570831"),p=i("570499"),h=i("402748");i("490629");var x=i("469935"),g=i.n(x),y=i("934897"),k=i("44599");let _=e=>{var t,i,l,o;let{awemeInfo:r,per:s,player:d}=e,[c,v]=(0,n.useState)(1e3*Number(null!==(o=null==d?void 0:null===(l=d.plugins)||void 0===l?void 0:null===(i=l.progresspreview)||void 0===i?void 0:null===(t=i._state)||void 0===t?void 0:t.now)&&void 0!==o?o:0));(0,n.useEffect)(()=>{let e=d.getPlugin("progress"),t=()=>{var e,t,i,l;v(1e3*(null!==(l=null==d?void 0:null===(i=d.plugins)||void 0===i?void 0:null===(t=i.progresspreview)||void 0===t?void 0:null===(e=t._state)||void 0===e?void 0:e.now)&&void 0!==l?l:0))};return null==e||e.addCallBack("dragmove",t),()=>{null==e||e.removeCallBack("dragmove",t)}},[d]);let m=(0,n.useMemo)(()=>{var e,t;let i=null==r?void 0:null===(e=r.chapterInfo)||void 0===e?void 0:e.list;if(!i)return;let l=i.map(e=>e.timestamp),a=-1;for(let e=0;e=l[e]&&(a=e);return null===(t=i[a])||void 0===t?void 0:t.desc},[r,c]);return((0,n.useEffect)(()=>{m&&!u.Util.hasClass(null==d?void 0:d.root,"hasChapterTitle")&&u.Util.addClass(null==d?void 0:d.root,"hasChapterTitle"),!m&&u.Util.hasClass(null==d?void 0:d.root,"hasChapterTitle")&&u.Util.removeClass(null==d?void 0:d.root,"hasChapterTitle")},[m,d]),m)?(0,a.jsx)("div",{className:y.default.previewExtText,children:(0,a.jsx)("span",{className:g()(y.default.previewExtTextDesc,{[y.default.previewExtTextDescTwoLine]:s<1}),children:m})}):null};class w extends u.Plugin{static get pluginName(){return"PreviewExtText"}static get defaultConfig(){return{fragments:[]}}afterCreate(){this.renderRoot()}renderRoot(){this.root&&(0,k.s)(this,(0,a.jsx)(_,(0,h._)((0,l._)({},this.config),{player:this.player})))}destroy(){(0,k.v)(this)}updateConfig(e){this.config=(0,l._)({},this.config,e),this.renderRoot()}render(){return'
'}}var E=i("133060"),C=i("63601");let S=e=>{let{awemeInfo:t,isActive:i,isChapterScene:l,abtestData:a}=e,o=(0,C.n)(),r=E.f.isDots(a);(0,n.useEffect)(()=>{var e;if(r)return;let i=l&&(null===(e=t.chapterInfo)||void 0===e?void 0:e.status),a=()=>{var e,i;null==o||null===(i=o.plugins)||void 0===i||null===(e=i.progresspreview)||void 0===e||e.deleteAllDots(),t.chapterInfo.list.forEach((e,t)=>{var i,l;null==o||null===(l=o.plugins)||void 0===l||null===(i=l.progresspreview)||void 0===i||i.createDot({id:t,time:e.timestamp/1e3,duration:.01})})};if(o&&i)return a(),o.on(u.Events.DURATION_CHANGE,a),()=>{var e,i,l;o.off(u.Events.DURATION_CHANGE,a),(null===(e=t.chapterInfo)||void 0===e?void 0:e.status)&&(null==o||null===(l=o.plugins)||void 0===l||null===(i=l.progresspreview)||void 0===i||i.deleteAllDots())}},[o,t,i,l,r]),(0,n.useEffect)(()=>{var e;if(!r)return;let i=l&&(null===(e=t.chapterInfo)||void 0===e?void 0:e.status),a=()=>{var e,i,l,a;null==o||null===(i=o.plugins)||void 0===i||null===(e=i.progresspreview)||void 0===e||e.deleteAllDots();let n=t.chapterInfo.list.map((e,t)=>({id:t,time:e.timestamp/1e3,duration:.01}));null==o||null===(a=o.plugins)||void 0===a||null===(l=a.progresspreview)||void 0===l||l.createDots(n)};if(o&&i)return a(),o.on(u.Events.DURATION_CHANGE,a),()=>{var e,i,l;o.off(u.Events.DURATION_CHANGE,a),(null===(e=t.chapterInfo)||void 0===e?void 0:e.status)&&(null==o||null===(l=o.plugins)||void 0===l||null===(i=l.progresspreview)||void 0===i||i.deleteAllDots())}},[o,t,l,r])};var b=i("913285"),I=i("310383");i("133822");let N=e=>{let t=(0,C.n)(),{isActive:i,awemeInfo:a,logParams:o,isChapterScene:s,abtestData:h}=e,x=(0,n.useRef)("");return S({isActive:i,awemeInfo:a,isChapterScene:s,abtestData:h}),(0,n.useEffect)(()=>{var e,n,x,g,y,k,_;let E=(null===(e=navigator)||void 0===e?void 0:e.hardwareConcurrency)||0,C=!(0,c.tq)()||E>=8,S=s&&(null===(n=a.chapterInfo)||void 0===n?void 0:n.status),b=e=>{var i,n,s,c,x,g,y,k;let{img_num:_,img_x_len:E,img_y_len:C,img_y_size:b,img_x_size:I}=(null==a?void 0:null===(n=a.video)||void 0===n?void 0:null===(i=n.bigThumbs)||void 0===i?void 0:i[0])||{},N=I/b,j={thumbnail:{urls:e,pic_num:_,row:C,col:E,height:b,width:I},progresspreview:{width:N<1?68:90*N,height:N<1?68/N:90,resetBlur:null!=h&&!!h.progressPreviewOp},progress:{resetBlur:null!=h&&!!h.progressPreviewOp}};null==t||t.setConfig(j);let A=t.getPlugin("progress"),P=r()(e=>{var t,i;p.Z.sendLog("progressPreview",(0,l._)({play_current_time:Math.floor(e||0),enter_from:(0,v.mo)(),enter_from_merge:(0,v.vM)(),enter_method:"hover",video_time:(0,m.n)(null==a?void 0:null===(t=a.video)||void 0===t?void 0:t.duration),chapter_index:(0,f.P)({awemeInfo:a,currentTime:e}),is_chapter_bar:(null==a?void 0:null===(i=a.chapterInfo)||void 0===i?void 0:i.status)?1:0,group_id:null==a?void 0:a.awemeId},o))},500),L=d()(e=>{let{currentTime:t}=e;P(t)},50),T=e=>{var t,i;let{currentTime:n}=e;p.Z.sendLog("progressPreview",(0,l._)({play_current_time:Math.floor(n||0),enter_from:(0,v.mo)(),enter_from_merge:(0,v.vM)(),enter_method:"click",video_time:(0,m.n)(null==a?void 0:null===(t=a.video)||void 0===t?void 0:t.duration),chapter_index:(0,f.P)({awemeInfo:a,currentTime:n}),is_chapter_bar:(null==a?void 0:null===(i=a.chapterInfo)||void 0===i?void 0:i.status)?1:0,group_id:null==a?void 0:a.awemeId},o))};if(null==t||null===(x=t.plugins)||void 0===x||null===(c=x.progresspreview)||void 0===c||null===(s=c.enable)||void 0===s||s.call(c),null==A||A.addCallBack("dragmove",L),null==A||A.addCallBack("click",T),S){u.Util.addClass(null==t?void 0:t.root,"needChapterStyle");let e=null==t?void 0:t.root.querySelector(".xgplayer-progress");e&&(null==e||null===(k=e.style)||void 0===k||k.setProperty("--max-width",`${N<1?68:90*N}px`)),t.registerPlugin({plugin:w,options:{root:null==t?void 0:null===(y=t.plugins)||void 0===y?void 0:null===(g=y.progresspreview)||void 0===g?void 0:g.extTextRoot,config:{awemeInfo:a,per:N}}})}return()=>{var e,i,l;t.getPlugin("PreviewExtText")&&t.unRegisterPlugin("PreviewExtText"),u.Util.removeClass(null==t?void 0:t.root,"needChapterStyle"),null==t||null===(l=t.plugins)||void 0===l||null===(i=l.progresspreview)||void 0===i||null===(e=i.disable)||void 0===e||e.call(i),null==A||A.removeCallBack("dragmove",L),null==A||A.removeCallBack("click",T)}},I=null==a?void 0:null===(g=a.video)||void 0===g?void 0:null===(x=g.bigThumbs)||void 0===x?void 0:x[0];if(C&&t&&i&&I)return(null==I?void 0:null===(y=I.img_urls)||void 0===y?void 0:y.length)>0?b(null==I?void 0:I.img_urls):b(null==a?void 0:null===(_=a.video)||void 0===_?void 0:null===(k=_.bigThumbs)||void 0===k?void 0:k.map(e=>e.img_url))},[t,i,a,o,s]),(0,n.useEffect)(()=>{var e,t,l;s&&(null===(e=a.chapterInfo)||void 0===e?void 0:e.status)&&i&&(null==a?void 0:a.awemeId)!==x.current&&(x.current=null==a?void 0:a.awemeId,p.Z.sendLog("showChapterProgressBar",{enter_from:(0,v.mo)(),enter_from_merge:(0,v.vM)(),group_id:null==a?void 0:a.awemeId,author_id:null==a?void 0:null===(t=a.authorInfo)||void 0===t?void 0:t.uid,chapter_cnt:null===(l=a.chapterInfo.list)||void 0===l?void 0:l.length,player_display_mode:(0,v.Ok)()}))},[i,a,s]),null},j=e=>{let t=(0,I.N)();return(0,a.jsx)(b.k,{componentName:"ProgressPreview",Slardar:t,children:(0,a.jsx)(N,(0,l._)({},e))})}},253149:function(e,t,i){i.d(t,{t:function(){return l}});let l=e=>{var t,i,l,a;if(!!e)null===(i=e.plugins.volume)||void 0===i||null===(t=i.focus)||void 0===t||t.call(i),null===(a=e.plugins.volume)||void 0===a||null===(l=a.unFocus)||void 0===l||l.call(a,1e3,!0,null)}},915242:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:32,height:27,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{d:"M4 2a2 2 0 0 0-2 2v3a1 1 0 0 1-2 0V4a4 4 0 0 1 4-4h3a1 1 0 0 1 0 2H4zM4 22a2 2 0 0 1-2-2v-3a1 1 0 1 0-2 0v3a4 4 0 0 0 4 4h3c.18 0 .348-.047.494-.13a7.531 7.531 0 0 1-.283-1.848A1.001 1.001 0 0 0 7 22H4zM22 4a2 2 0 0 0-2-2h-3a1 1 0 1 1 0-2h3a4 4 0 0 1 4 4v3a1 1 0 1 1-2 0V4z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.015 15l.134.43h2.096l-2.859-9.147c-.73-2.339-4.041-2.339-4.772 0L6.046 17.702a1 1 0 0 0 1.908.596L8.985 15H15.015zm-2.538-8.12a.5.5 0 0 0-.954 0L9.61 13h4.78l-1.913-6.12z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.37 26.368c1.356 0 2.445-.437 3.245-1.326.76-.848 1.132-1.956 1.132-3.314 0-1.357-.371-2.476-1.131-3.325-.8-.901-1.89-1.339-3.245-1.339-1.366 0-2.458.437-3.247 1.353-.759.86-1.117 1.967-1.117 3.311 0 1.334.359 2.44 1.118 3.3.788.89 1.878 1.34 3.246 1.34zm-1.909-6.841c.449-.547 1.072-.827 1.91-.827.842 0 1.464.26 1.897.78.43.53.663 1.271.663 2.248 0 .977-.233 1.706-.661 2.223-.435.511-1.059.781-1.9.781-.838 0-1.473-.28-1.908-.814-.431-.53-.651-1.249-.651-2.19 0-.953.22-1.671.65-2.201z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{d:"M24.915 18.832v-1.6h-6.244V26.2h1.804v-3.792h4.188v-1.6h-4.188v-1.976h4.44zM25.656 17.232H31.9v1.6h-4.44v1.976h4.188v1.6H27.46V26.2h-1.804v-8.968z",fill:"#fff",fillOpacity:".5"})]})));t.Z=r},658010:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:34,height:28,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{d:"M2.5 4.625c0-1.15.933-2.083 2.083-2.083h3.125a1.042 1.042 0 1 0 0-2.084H4.583A4.167 4.167 0 0 0 .417 4.625V7.75a1.042 1.042 0 1 0 2.083 0V4.625zM2.5 21.292c0 1.15.933 2.083 2.083 2.083h3.125a1.042 1.042 0 1 1 0 2.084H4.583a4.167 4.167 0 0 1-4.166-4.167v-3.125a1.042 1.042 0 0 1 2.083 0v3.125z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.364 16.48l-2.962-9.476c-.761-2.437-4.21-2.437-4.971 0L6.714 18.898a1.042 1.042 0 1 0 1.988.621l1.074-3.436h6.281l.347 1.111a6.071 6.071 0 0 1 1.96-.713zm-5.945-8.855a.52.52 0 0 1 .995 0L15.406 14h-4.979l1.992-6.375z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{d:"M23.333 4.625c0-1.15-.933-2.083-2.083-2.083h-3.125a1.042 1.042 0 0 1 0-2.084h3.125a4.167 4.167 0 0 1 4.166 4.167V7.75a1.042 1.042 0 0 1-2.083 0V4.625z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.12 19.628c.792.884 1.178 2.05 1.178 3.464 0 1.415-.387 2.568-1.178 3.452-.834.925-1.969 1.381-3.38 1.381-1.425 0-2.56-.468-3.381-1.395-.79-.896-1.165-2.05-1.165-3.438 0-1.4.373-2.553 1.164-3.45.822-.953 1.959-1.408 3.382-1.408 1.411 0 2.547.455 3.38 1.394zm-5.369 1.17c-.448.553-.678 1.301-.678 2.294 0 .98.23 1.729.678 2.281.454.555 1.115.848 1.989.848.875 0 1.525-.281 1.978-.813.447-.539.688-1.299.688-2.316s-.242-1.79-.69-2.343c-.451-.54-1.099-.811-1.976-.811-.872 0-1.522.291-1.989.86z",fill:"#fff",fillOpacity:".5"}),(0,n.jsx)("path",{d:"M25.261 18.409h1.78l4.145 6.046V18.41h1.892v9.341h-1.743l-4.195-6.132v6.132h-1.879V18.41z",fill:"#fff",fillOpacity:".5"})]})));t.Z=r},507782:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:36,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{d:"M8 10v12a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V10",stroke:"#fff",strokeOpacity:".5",strokeWidth:2,strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6 9h20",stroke:"#fff",strokeOpacity:".5",strokeWidth:2,strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M13 15v5M18.5 5h-5M19 15v5",stroke:"#fff",strokeOpacity:".5",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]})));t.Z=r},540075:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:36,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{d:"M13.556 17.778a1.778 1.778 0 1 1-3.556 0 1.778 1.778 0 0 1 3.556 0zM19.778 17.778a1.778 1.778 0 1 1-3.556 0 1.778 1.778 0 0 1 3.556 0zM24.222 19.556a1.778 1.778 0 1 0 0-3.556 1.778 1.778 0 0 0 0 3.556z",fill:"#fff"})})));t.Z=r},69509:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:36,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.783 8.886c.041.001.082.005.124.009V8.89l-.124-.004zm18.337 1.208a1.631 1.631 0 0 0-.537-1.24 1.589 1.589 0 0 0-1.277-.4h-.004l-10.57 1.641a1.58 1.58 0 0 0-1.365 1.553l-.215 11.82a3.2 3.2 0 0 0-2.438-1.241c-1.76-.048-3.212 1.355-3.244 3.134-.032 1.78 1.368 3.261 3.127 3.31 1.76.047 3.212-1.356 3.245-3.135l.17-9.368 12.307-2.026-.176 9.709a3.2 3.2 0 0 0-2.459-1.269c-1.76-.048-3.212 1.355-3.244 3.135-.033 1.779 1.368 3.26 3.127 3.309 1.76.048 3.212-1.356 3.244-3.135l.309-15.797z",fill:"#fff",fillOpacity:".8"})})));t.Z=r},662892:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,a._)((0,l._)({width:36,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6 10.857c0-2.409 1.988-4.33 4.4-4.33 2.412 0 4.4 1.921 4.4 4.33V13c0 2.39-1.96 4.3-4.348 4.327h-.104C14.561 17.3 12.6 15.39 12.6 13v-2.143zm4.4-2.53c-1.453 0-2.6 1.15-2.6 2.53V13c0 1.366 1.128 2.508 2.564 2.527h.072C18.472 15.508 19.6 14.366 19.6 13v-2.143c0-1.38-1.148-2.53-2.6-2.53z",fill:"#2F3035",fillOpacity:".9"}),(0,n.jsx)("path",{d:"M21.399 23.23c-.405 0-.732.382-.732.854 0 .471.327.854.732.854h3.66c.405 0 .733-.383.733-.854 0-.472-.328-.854-.732-.854h-3.661z",fill:"#2F3035",fillOpacity:".9"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.354 24.084a5.127 5.127 0 0 1-5.125 5.125 5.127 5.127 0 0 1-5.125-5.125 5.127 5.127 0 0 1 5.125-5.125 5.127 5.127 0 0 1 5.125 5.125zm-1.8 0a3.327 3.327 0 0 1-3.325 3.325 3.327 3.327 0 0 1-3.325-3.325 3.327 3.327 0 0 1 3.325-3.325 3.327 3.327 0 0 1 3.325 3.325zM16.414 20.525c.342-.654-.086-1.566-.825-1.566h-1.756A6.833 6.833 0 0 0 7 25.792a2.563 2.563 0 0 0 2.563 2.563h5.674c.683 0 1.109-.779.854-1.413a7.66 7.66 0 0 1-.55-2.859 7.65 7.65 0 0 1 .873-3.558zm-2.58.234h.508a9.465 9.465 0 0 0-.6 3.324c0 .854.113 1.682.325 2.472H9.563a.763.763 0 0 1-.762-.763 5.033 5.033 0 0 1 5.033-5.033z",fill:"#2F3035",fillOpacity:".9"})]})));t.Z=r},824734:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({xmlns:"http://www.w3.org/2000/svg",width:36,height:36,ref:t},e),{children:(0,n.jsxs)("g",{fill:"none",strokeWidth:2,stroke:"#2f3035",strokeOpacity:".902",children:[(0,n.jsx)("path",{d:"M32.555 12.453c.175 0 .316-.14.308-.312a9.342 9.342 0 0 0-2.746-6.328 9.393 9.393 0 0 0-6.324-2.747.309.309 0 0 0-.316.309v7.512c0 .867.703 1.566 1.566 1.566zm0 0",strokeWidth:3.13044}),(0,n.jsx)("path",{d:"M32.871 17.934c.863 0 1.57.699 1.488 1.562a16.437 16.437 0 0 1-10.07 13.621 16.462 16.462 0 0 1-9.496.934 16.427 16.427 0 0 1-12.91-12.914 16.414 16.414 0 0 1 .933-9.492A16.443 16.443 0 0 1 16.437 1.57C17.297 1.488 18 2.2 18 3.062v11.739a3.132 3.132 0 0 0 3.129 3.133zm0 0",strokeWidth:3.13044})]})})));t.Z=r},372316:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:14,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M2.824 5.647h-.942C.842 5.647 0 6.49 0 7.53v6.589C0 15.158.843 16 1.882 16h9.412c1.04 0 1.883-.843 1.883-1.882V7.529c0-1.04-.843-1.882-1.883-1.882h-.941V3.765a3.765 3.765 0 1 0-7.53 0v1.882zm1.882 0H8.47V3.765a1.882 1.882 0 1 0-3.765 0v1.882z",fill:"#A9AAB7"})})));t.Z=r},515264:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:36,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 8a8 8 0 0 0-8 8v4a8 8 0 0 0 8 8h8a8 8 0 0 0 8-8v-4a8 8 0 0 0-8-8h-8zm8.5 10.866a1 1 0 0 0 0-1.732l-6-3.464a1 1 0 0 0-1.5.866v6.928a1 1 0 0 0 1.5.866l6-3.464z",fill:"#fff"})})));t.Z=r},190995:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.54 10a5.464 5.464 0 0 1 10.883-.702l-1.394-1.232a.75.75 0 1 0-.994 1.124l2.825 2.498a.75.75 0 0 0 1.128-.157l2.036-3.174a.75.75 0 1 0-1.262-.81l-.879 1.37A6.965 6.965 0 0 0 2.04 10a6.964 6.964 0 0 0 10.943 5.715.75.75 0 1 0-.858-1.23A5.464 5.464 0 0 1 3.54 10z",fill:"#fff",opacity:".6"})})));t.Z=r},343341:function(e,t,i){var l=i(629686),a=i(402748),n=i(320165),o=i(101199);let r=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,a._)((0,l._)({width:28,height:28,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{d:"M14 1.167a6.125 6.125 0 0 0-6.125 6.125V10.5a3.208 3.208 0 0 0-3.208 3.208v8.75a3.208 3.208 0 0 0 3.208 3.209h12.25a3.208 3.208 0 0 0 3.208-3.209v-8.75a3.208 3.208 0 0 0-3.208-3.208V7.292A6.125 6.125 0 0 0 14 1.167zm4.375 9.333h-8.75V7.292a4.375 4.375 0 1 1 8.75 0V10.5z",fill:"#fff"})})));t.Z=r},475137:function(e){e.exports=JSON.parse('{"v":"5.6.3","fr":60,"ip":0,"op":210,"w":100,"h":100,"nm":"收藏-跳动","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"c06","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":300,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.2,0.2],"y":[1,1]},"o":{"x":[0.4,0.4],"y":[0,0]},"t":11,"s":[50,50]},{"t":29,"s":[0,0]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.721568644047,0.007843137719,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.5,-324.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"椭圆 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"c05","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":240,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.2,0.2],"y":[1,1]},"o":{"x":[0.4,0.4],"y":[0,0]},"t":11,"s":[50,50]},{"t":29,"s":[0,0]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.980392158031,0.807843148708,0.082352943718,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.5,-324.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"椭圆 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"c04","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":180,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.2,0.2],"y":[1,1]},"o":{"x":[0.4,0.4],"y":[0,0]},"t":11,"s":[50,50]},{"t":29,"s":[0,0]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.721568644047,0.007843137719,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.5,-324.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"椭圆 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"c03","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":120,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.2,0.2],"y":[1,1]},"o":{"x":[0.4,0.4],"y":[0,0]},"t":11,"s":[50,50]},{"t":29,"s":[0,0]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.980392158031,0.807843148708,0.082352943718,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.5,-324.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"椭圆 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"c02","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":60,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.2,0.2],"y":[1,1]},"o":{"x":[0.4,0.4],"y":[0,0]},"t":11,"s":[50,50]},{"t":29,"s":[0,0]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.721568644047,0.007843137719,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.5,-324.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"椭圆 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"c01","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.2,0.2],"y":[1,1]},"o":{"x":[0.4,0.4],"y":[0,0]},"t":11,"s":[50,50]},{"t":29,"s":[0,0]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"椭圆路径 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.980392158031,0.807843148708,0.082352943718,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.5,-324.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"椭圆 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":200,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"collect_active@3x","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[50,48,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-2.147,-5.756],[0,0],[0,0],[4.797,-3.826],[0,0],[0,0],[5.112,3.392],[0,0],[0,0],[-1.638,5.922],[0,0],[0,0],[-6.124,0.268],[0,0]],"o":[[2.147,-5.756],[0,0],[0,0],[6.124,0.268],[0,0],[0,0],[1.638,5.922],[0,0],[0,0],[-5.112,3.392],[0,0],[0,0],[-4.797,-3.826],[0,0],[0,0]],"v":[[43.792,4.317],[56.208,4.317],[65.927,30.375],[93.651,31.59],[97.488,43.428],[75.771,60.747],[83.186,87.556],[73.141,94.872],[50,79.518],[26.859,94.872],[16.814,87.556],[24.229,60.747],[2.512,43.428],[6.349,31.59],[34.073,30.375]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.721568644047,0.007843137719,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"collect_active@3x","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"collect@3x","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[100,96],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"矩形路径 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"路径 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,16.86,0],"ix":2},"a":{"a":0,"k":[50,31.14,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.231,0.248],[-3.283,-2.618],[0,0],[0,0],[0,0]],"o":[[-2.378,2.636],[0,0],[0,0],[0,0],[-0.28,-0.223]],"v":[[1.746,0],[2.512,9.708],[22.19,25.401],[24.229,18.027],[2.512,0.708]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[1.923,2.71],[0,0],[-5.112,3.392],[0,0],[0,0],[1.638,5.922],[0,0],[3.287,2.181],[0,0],[0,0]],"o":[[0,0],[-1.638,5.922],[0,0],[0,0],[5.112,3.392],[0,0],[-1.923,2.71],[0,0],[0,0],[-3.287,2.181]],"v":[[17.758,50.423],[16.814,53.836],[26.859,61.152],[50,45.798],[73.141,61.152],[83.186,53.836],[82.242,50.423],[73.141,52.152],[50,36.798],[26.859,52.152]],"c":true},"ix":2},"nm":"路径 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[2.378,2.636],[0.28,-0.223],[0,0]],"o":[[0,0],[3.283,-2.618],[-0.231,0.248],[0,0],[0,0]],"v":[[77.81,25.401],[97.488,9.708],[98.254,0],[97.488,0.708],[75.771,18.027]],"c":true},"ix":2},"nm":"路径 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"路径 2","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"路径 1","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[50,48,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-2.147,-5.756],[0,0],[0,0],[4.797,-3.826],[0,0],[0,0],[5.112,3.392],[0,0],[0,0],[-1.638,5.922],[0,0],[0,0],[-6.124,0.268],[0,0]],"o":[[2.147,-5.756],[0,0],[0,0],[6.124,0.268],[0,0],[0,0],[1.638,5.922],[0,0],[0,0],[-5.112,3.392],[0,0],[0,0],[-4.797,-3.826],[0,0],[0,0]],"v":[[43.792,4.317],[56.208,4.317],[65.927,30.375],[93.651,31.59],[97.488,43.428],[75.771,60.747],[83.186,87.556],[73.141,94.872],[50,79.518],[26.859,94.872],[16.814,87.556],[24.229,60.747],[2.512,43.428],[6.349,31.59],[34.073,30.375]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"路径 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"大圆","parent":2,"refId":"comp_0","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":63,"s":[0]},{"t":65,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0.311,0.148,0],"ix":2},"a":{"a":0,"k":[500,500,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.2,0.2,0.2],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.4],"y":[0,0,0]},"t":63,"s":[6,6,100]},{"t":79,"s":[28,28,100]}],"ix":6}},"ao":0,"w":1000,"h":1000,"ip":63,"op":263,"st":63,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[51,51,0],"ix":2},"a":{"a":0,"k":[0.311,0.148,0],"ix":1},"s":{"a":0,"k":[46.465,46.465,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.25,0.25],"y":[1,1]},"o":{"x":[0.35,0.35],"y":[0,0]},"t":63,"s":[0,0]},{"t":80,"s":[160,160]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":63,"s":[1,0.355514705181,0,1]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":69,"s":[1,0.721568644047,0.007843137719,1]},{"t":80,"s":[0.892095565796,1,0,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.35],"y":[0]},"t":63,"s":[20]},{"t":80,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0.311,0.148],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":63,"s":[0]},{"t":65,"s":[100]}],"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":59,"op":86,"st":-1,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"collect_active@3x 2","refId":"comp_1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":162,"s":[100]},{"t":167,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[51,77,0],"ix":2},"a":{"a":0,"k":[60,108.658,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[1.38,1.38,0]},"t":91,"s":[53.434,53.434,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":115,"s":[46.465,46.465,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":121,"s":[46.465,46.465,100]},{"t":145,"s":[53.434,53.434,100]}],"ix":6,"x":"var $bm_rt;\\nvar $bm_rt;\\nvar $bm_rt;\\nfunction customBezier(t, tMin, tMax, value1, value2, bezierPoints) {\\n if (arguments.length !== 6)\\n return value;\\n var a = sub(value2, value1);\\n var b = sub(tMax, tMin);\\n var c = clamp(div(sub(t, tMin), b), 0, 1);\\n if (!(bezierPoints instanceof Array) || bezierPoints.length !== 4)\\n bezierPoints = [\\n 0,\\n 0,\\n 1,\\n 1\\n ];\\n return add(mul(a, h(c, bezierPoints)), value1);\\n function h(f, g) {\\n var x = mul(3, g[0]);\\n var j = sub(mul(3, sub(g[2], g[0])), x);\\n var k = sub(sub(1, x), j);\\n var l = mul(3, g[1]);\\n var m = sub(mul(3, sub(g[3], g[1])), l);\\n var n = sub(sub(1, l), m);\\n var d = f;\\n for (var i = 0; i < 5; i++) {\\n var z = sub(mul(d, add(x, mul(d, add(j, mul(d, k))))), f);\\n if (Math.abs(z) < 0.001)\\n break;\\n d = sub(d, div(z, add(x, mul(d, add(mul(2, j), mul(mul(3, k), d))))));\\n }\\n return mul(d, add(l, mul(d, add(m, mul(d, n)))));\\n }\\n}\\nvar animationStartTime = 1;\\nvar animationEndTime = 2;\\nvar startValue = value;\\nvar endValue = mul(value, 2);\\nif (numKeys > 0) {\\n var nearestKeyIndex = nearestKey(time).index;\\n if (key(nearestKeyIndex).time > time)\\n nearestKeyIndex--;\\n if (nearestKeyIndex === 0 || nearestKeyIndex === numKeys) {\\n startValue = endValue = value;\\n } else {\\n animationStartTime = key(nearestKeyIndex).time;\\n animationEndTime = key(add(nearestKeyIndex, 1)).time;\\n startValue = key(nearestKeyIndex).value;\\n endValue = key(add(nearestKeyIndex, 1)).value;\\n }\\n}\\n$bm_rt = $bm_rt = $bm_rt = customBezier(time, animationStartTime, animationEndTime, startValue, endValue, [\\n 0.34,\\n 0.69,\\n 0.1,\\n 1\\n]);"}},"ao":0,"w":120,"h":120,"ip":89,"op":148,"st":65,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"collect_active@3x 3","refId":"comp_1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":162,"s":[100]},{"t":167,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[51,51,0],"ix":2},"a":{"a":0,"k":[60,60,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":65,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":75,"s":[52.97,52.97,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":82,"s":[44.141,44.141,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":89,"s":[53.394,53.394,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":151,"s":[53.4,53.4,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":152,"s":[54,54,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":157,"s":[53.434,53.434,100]},{"t":167,"s":[0,0,100]}],"ix":6}},"ao":0,"w":120,"h":120,"ip":148,"op":244,"st":65,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"collect_active@3x","refId":"comp_1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":162,"s":[100]},{"t":167,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[51,51,0],"ix":2},"a":{"a":0,"k":[60,60,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":65,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":75,"s":[52.97,52.97,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":82,"s":[44.141,44.141,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":89,"s":[53.394,53.394,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":151,"s":[53.4,53.4,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":152,"s":[54,54,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":157,"s":[53.434,53.434,100]},{"t":167,"s":[0,0,100]}],"ix":6}},"ao":0,"w":120,"h":120,"ip":65,"op":89,"st":65,"bm":0},{"ddd":0,"ind":6,"ty":0,"nm":"collect@3x 2","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":104,"s":[100]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":105,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":132,"s":[0]},{"t":133,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":10,"s":[0]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":26,"s":[-10]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":34,"s":[5]},{"t":43,"s":[0]}],"ix":10},"p":{"a":0,"k":[51,77.02,0],"ix":2},"a":{"a":0,"k":[60,109,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.1,0.1,0.1],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.69,0.69,0]},"t":10,"s":[46.465,46.465,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0,0,0]},"t":34,"s":[53.434,53.434,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":98,"s":[53.434,53.434,100]},{"i":{"x":[0.661,0.661,0.661],"y":[0.992,0.992,1]},"o":{"x":[0.328,0.328,0.328],"y":[0,0,0]},"t":104,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.345,0.345,0.345],"y":[0,0,0]},"t":105,"s":[13.939,13.939,100]},{"i":{"x":[0.659,0.659,0.659],"y":[0.728,0.728,1]},"o":{"x":[0.157,0.157,0.157],"y":[0,0,0]},"t":132,"s":[13.939,13.939,100]},{"i":{"x":[0.799,0.799,0.799],"y":[1,1,1]},"o":{"x":[0.437,0.437,0.437],"y":[-1.837,-1.837,0]},"t":146,"s":[48.323,48.323,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":152,"s":[45.535,45.535,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":155,"s":[47.394,47.394,100]},{"t":158,"s":[46.465,46.465,100]}],"ix":6}},"ao":0,"w":120,"h":120,"ip":0,"op":52,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":0,"nm":"collect@3x 3","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":129,"s":[100]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":130,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":157,"s":[0]},{"t":158,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[51,77.485,0],"ix":2},"a":{"a":0,"k":[60,109.565,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"t":123,"s":[53.434,53.434,100]},{"i":{"x":[0.661,0.661,0.661],"y":[0.992,0.992,1]},"o":{"x":[0.328,0.328,0.328],"y":[0,0,0]},"t":129,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.345,0.345,0.345],"y":[0,0,0]},"t":130,"s":[13.939,13.939,100]},{"i":{"x":[0.659,0.659,0.659],"y":[0.728,0.728,1]},"o":{"x":[0.157,0.157,0.157],"y":[0,0,0]},"t":157,"s":[13.939,13.939,100]},{"i":{"x":[0.799,0.799,0.799],"y":[1,1,1]},"o":{"x":[0.437,0.437,0.437],"y":[-1.837,-1.837,0]},"t":171,"s":[48.323,48.323,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":177,"s":[45.535,45.535,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":180,"s":[47.394,47.394,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":183,"s":[53.434,53.434,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.69,0.69,0]},"t":195,"s":[53.434,53.434,100]},{"t":207,"s":[46.465,46.465,100]}],"ix":6}},"ao":0,"w":120,"h":120,"ip":195,"op":467,"st":25,"bm":0},{"ddd":0,"ind":8,"ty":0,"nm":"collect@3x","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":64,"s":[100]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":65,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":150,"s":[0]},{"t":151,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[51,51,0],"ix":2},"a":{"a":0,"k":[60,60,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"t":58,"s":[53.434,53.434,100]},{"i":{"x":[0.661,0.661,0.661],"y":[0.992,0.992,1]},"o":{"x":[0.328,0.328,0.328],"y":[0,0,0]},"t":64,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.345,0.345,0.345],"y":[0,0,0]},"t":65,"s":[13.939,13.939,100]},{"i":{"x":[0.659,0.659,0.659],"y":[0.661,0.661,1]},"o":{"x":[0.157,0.157,0.157],"y":[0,0,0]},"t":150,"s":[13.939,13.939,100]},{"t":170,"s":[53.323,53.323,100]}],"ix":6}},"ao":0,"w":120,"h":120,"ip":52,"op":195,"st":-40,"bm":0}],"markers":[]}')},932624:function(e){e.exports=JSON.parse('{"v":"5.6.10","fr":60,"ip":0,"op":92,"w":99,"h":99,"nm":"评论Lottie2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Union","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":16,"s":[-10]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":24,"s":[5]},{"t":33,"s":[0]}],"ix":10},"p":{"a":0,"k":[52.755,73.904,0],"ix":2},"a":{"a":0,"k":[-35.606,31.818,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.211,0.211,0.833],"y":[0.851,0.851,1]},"o":{"x":[0.049,0.049,0.34],"y":[0.084,0.084,0]},"t":0,"s":[66,66,100]},{"i":{"x":[0.85,0.85,0.833],"y":[0.587,0.587,1]},"o":{"x":[0.182,0.182,0.167],"y":[0.503,0.503,0]},"t":24,"s":[76,76,100]},{"i":{"x":[0.008,0.008,0.833],"y":[0.599,0.599,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.69,0.69,0]},"t":59,"s":[76,76,100]},{"t":83,"s":[66,66,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.729,2.733],[0,2.711],[-6.214,0],[0,-5.501],[6.214,0],[0,0]],"o":[[-2.231,-2.235],[0,-5.501],[6.214,0],[0,5.501],[0,0],[0,0]],"v":[[-0.964,13.439],[-4.5,6.164],[6.75,-3.797],[18,6.164],[6.587,15.443],[6.587,18.518]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[-100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-0.88],[-0.888,0],[0,0],[0,0.882],[0.887,0]],"o":[[0,0.882],[0,0],[0.887,0],[0,-0.88],[-0.888,0]],"v":[[-0.321,6.416],[1.286,8.013],[1.286,8.013],[2.893,6.416],[1.286,4.821]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[-100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 2","np":1,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-0.88],[-0.888,0],[0,0],[0,0.882],[0.887,0]],"o":[[0,0.882],[0,0],[0.887,0],[0,-0.88],[-0.888,0]],"v":[[5.143,6.416],[6.75,8.013],[6.75,8.013],[8.357,6.416],[6.75,4.821]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[-100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 3","np":1,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-0.88],[-0.888,0],[0,0],[0,0.882],[0.888,0]],"o":[[0,0.882],[0,0],[0.888,0],[0,-0.88],[-0.888,0]],"v":[[10.607,6.416],[12.213,8.013],[12.213,8.013],[13.821,6.416],[12.213,4.821]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[-100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 4","np":1,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"mm","mm":3,"nm":"合并路径 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"tr","p":{"a":0,"k":[-6.75,-7.457],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Combined Shape","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-2.605,3.669],[0,0],[-2.279,0.667]],"o":[[-2.605,3.336],[0,0],[2.279,-0.667]],"v":[[-4.645,4.483],[-13.482,8.3],[-12.135,10.821]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":2,"nm":"合并路径 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Union","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-221,"op":100,"st":-221,"bm":0}],"markers":[]}')},79902:function(e){e.exports=JSON.parse('{"v":"5.6.10","fr":60,"ip":0,"op":188,"w":90,"h":94,"nm":"点赞-跳动","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"home_like_cancle","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,840,0],"ix":2},"a":{"a":0,"k":[840,840,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1680,"h":1680,"ip":0,"op":122,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"ic_home_like_after.png 2","cl":"png","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,840,0],"ix":2},"a":{"a":0,"k":[500,500,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1000,"h":1000,"ip":0,"op":60,"st":-54,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"ic_home_like_after.png","cl":"png","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,840,0],"ix":2},"a":{"a":0,"k":[500,500,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.489,0.489,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":60,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.629,0.629,0.333],"y":[0,0,0]},"t":65,"s":[108,108,100]},{"t":75,"s":[0,0,100]}],"ix":6}},"ao":0,"w":1000,"h":1000,"ip":60,"op":75,"st":6,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"ic_home_like_before.png","cl":"png","refId":"comp_3","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":85,"s":[0]},{"t":97,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,840,0],"ix":2},"a":{"a":0,"k":[500,500,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1000,"h":1000,"ip":75,"op":122,"st":4,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,835,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[100,100],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.996078431606,0.172549024224,0.333333343267,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-38.60546875,"op":-38,"st":-120,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"img_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[445.5,408,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-55.905,-58.048],[-73.591,0],[0,-144.547],[0,-0.018],[-0.009,0.02],[0.052,-2.296],[-0.23,-0.5],[9.323,-33.19],[4.896,-12.387],[4.454,-11.761],[5.079,-7.681],[50.041,-50.178],[34.712,-28.617],[1.732,-1.731],[12.302,-0.008],[0.328,0],[12.618,12.618],[3.743,2.996],[80.844,83.003],[32.53,70.419],[0.731,33.342],[0.083,3.205],[0,4.16],[-140.219,0]],"o":[[40.738,-58.048],[140.152,0],[0,0.018],[0.009,-0.02],[0,4.121],[-0.072,3.151],[-0.531,30.403],[-5.29,5.96],[-7.724,11.998],[-4.545,7.629],[-37.449,56.8],[-78.331,79.025],[-9.585,7.901],[-12.301,12.303],[-0.324,0.004],[-25.236,0],[-0.963,-0.963],[-38.233,-28.183],[-61.676,-62.763],[-12.618,-25.237],[0.269,-0.267],[-0.061,-2.346],[0,-144.613],[73.458,0]],"v":[[453.036,88.712],[634.251,0],[890.972,266.137],[890.972,266.191],[891,266.131],[890.878,275.668],[891,280.916],[875.899,369.628],[860.798,399.199],[845.697,428.77],[831.245,451.744],[693.667,615.252],[500.832,788.675],[483.368,803.375],[446.463,815.994],[445.486,816],[395.014,790.763],[387.858,784.783],[182.742,604.783],[29.092,399.588],[0,280.922],[0.144,275.844],[0,266.137],[256.721,0]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.996078431606,0.172549024224,0.333333343267,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"img_0","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":2096,"st":0,"bm":0}]},{"id":"comp_3","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"img_1","sr":1,"ks":{"o":{"a":0,"k":95,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[445.5,408,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-55.905,-58.048],[-73.591,0],[0,-144.547],[0,-0.018],[-0.009,0.02],[0.052,-2.296],[-0.23,-0.5],[9.323,-33.19],[4.896,-12.387],[4.454,-11.761],[5.079,-7.681],[50.041,-50.178],[34.712,-28.617],[1.732,-1.731],[12.302,-0.008],[0.328,0],[12.618,12.618],[3.743,2.996],[80.844,83.003],[32.53,70.419],[0.731,33.342],[0.083,3.205],[0,4.16],[-140.219,0]],"o":[[40.738,-58.048],[140.152,0],[0,0.018],[0.009,-0.02],[0,4.121],[-0.072,3.151],[-0.531,30.403],[-5.29,5.96],[-7.724,11.998],[-4.545,7.629],[-37.449,56.8],[-78.331,79.025],[-9.585,7.901],[-12.301,12.303],[-0.324,0.004],[-25.236,0],[-0.963,-0.963],[-38.233,-28.183],[-61.676,-62.763],[-12.618,-25.237],[0.269,-0.267],[-0.061,-2.346],[0,-144.613],[73.458,0]],"v":[[453.036,88.712],[634.251,0],[890.972,266.137],[890.972,266.191],[891,266.131],[890.878,275.668],[891,280.916],[875.899,369.628],[860.798,399.199],[845.697,428.77],[831.245,451.744],[693.667,615.252],[500.832,788.675],[483.368,803.375],[446.463,815.994],[445.486,816],[395.014,790.763],[387.858,784.783],[182.742,604.783],[29.092,399.588],[0,280.922],[0.144,275.844],[0,266.137],[256.721,0]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"img_1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":2087,"st":0,"bm":0}]},{"id":"comp_4","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"home_tap_like 2","refId":"comp_5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[84,84,0],"ix":2},"a":{"a":0,"k":[840,840,0],"ix":1},"s":{"a":0,"k":[10,10,100],"ix":6}},"ao":0,"w":1680,"h":1680,"ip":0,"op":9999,"st":0,"bm":0}]},{"id":"comp_5","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"ic_home_like_after.png","cl":"png","refId":"comp_6","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,780,0],"ix":2},"a":{"a":0,"k":[500,500,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":51,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":61,"s":[113,113,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":68,"s":[95,95,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":75,"s":[120,120,100]},{"t":79,"s":[115,115,100]}],"ix":6}},"ao":0,"w":1000,"h":1000,"ip":51,"op":165,"st":51,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"ic_home_like_before.png 2","cl":"png","refId":"comp_7","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[832,784,0],"ix":2},"a":{"a":0,"k":[592,502.435,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":39,"s":[115,115,100]},{"t":51,"s":[0,0,100]}],"ix":6}},"ao":0,"w":1200,"h":1000,"ip":39,"op":51,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"ic_home_like_before.png","cl":"png","refId":"comp_7","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":39,"s":[100]},{"t":51,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":16,"s":[-10]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":24,"s":[5]},{"t":33,"s":[0]}],"ix":10},"p":{"a":0,"k":[832,1232,0],"ix":2},"a":{"a":0,"k":[592,892,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.1,0.1,0.1],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.69,0.69,0]},"t":0,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0,0,0]},"t":24,"s":[115,115,100]},{"i":{"x":[0.1,0.1,0.1],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.69,0.69,0]},"t":59,"s":[115,115,100]},{"t":83,"s":[100,100,100]}],"ix":6}},"ao":0,"w":1200,"h":1000,"ip":0,"op":39,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"anim_like_explode_03","parent":5,"refId":"comp_8","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,-2.037,0],"ix":2},"a":{"a":0,"k":[60,60,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":120,"h":120,"ip":51,"op":169,"st":51,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[840,775,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[1307,1307,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":1,"k":[{"i":{"x":[0.25,0.25],"y":[1,1]},"o":{"x":[0.35,0.35],"y":[0,0]},"t":51,"s":[0,0]},{"t":66,"s":[100,100]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.996078431606,0.172549024224,0.333333343267,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.35],"y":[0]},"t":51,"s":[28]},{"t":66,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Ellipse 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":51,"op":67,"st":-15,"bm":0}]},{"id":"comp_6","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"img_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2},"a":{"a":0,"k":[445.5,408,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-55.905,-58.048],[-73.591,0],[0,-144.547],[0,-0.018],[-0.009,0.02],[0.052,-2.296],[-0.23,-0.5],[9.323,-33.19],[4.896,-12.387],[4.454,-11.761],[5.079,-7.681],[50.041,-50.178],[34.712,-28.617],[1.732,-1.731],[12.302,-0.008],[0.328,0],[12.618,12.618],[3.743,2.996],[80.844,83.003],[32.53,70.419],[0.731,33.342],[0.083,3.205],[0,4.16],[-140.219,0]],"o":[[40.738,-58.048],[140.152,0],[0,0.018],[0.009,-0.02],[0,4.121],[-0.072,3.151],[-0.531,30.403],[-5.29,5.96],[-7.724,11.998],[-4.545,7.629],[-37.449,56.8],[-78.331,79.025],[-9.585,7.901],[-12.301,12.303],[-0.324,0.004],[-25.236,0],[-0.963,-0.963],[-38.233,-28.183],[-61.676,-62.763],[-12.618,-25.237],[0.269,-0.267],[-0.061,-2.346],[0,-144.613],[73.458,0]],"v":[[453.036,88.712],[634.251,0],[890.972,266.137],[890.972,266.191],[891,266.131],[890.878,275.668],[891,280.916],[875.899,369.628],[860.798,399.199],[845.697,428.77],[831.245,451.744],[693.667,615.252],[500.832,788.675],[483.368,803.375],[446.463,815.994],[445.486,816],[395.014,790.763],[387.858,784.783],[182.742,604.783],[29.092,399.588],[0,280.922],[0.144,275.844],[0,266.137],[256.721,0]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.996078431606,0.172549024224,0.333333343267,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"img_0","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":2096,"st":0,"bm":0}]},{"id":"comp_7","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"img_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[592,908,0],"ix":2},"a":{"a":0,"k":[437.5,816,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-55.905,-58.048],[-73.591,0],[0,-144.547],[0,-0.018],[-0.009,0.02],[0.052,-2.296],[-0.23,-0.5],[9.323,-33.19],[4.896,-12.387],[4.454,-11.761],[5.079,-7.681],[50.041,-50.178],[34.712,-28.617],[1.732,-1.731],[12.302,-0.008],[0.328,0],[12.618,12.618],[3.743,2.996],[80.844,83.003],[32.53,70.419],[0.731,33.342],[0.083,3.205],[0,4.16],[-140.219,0]],"o":[[40.738,-58.048],[140.152,0],[0,0.018],[0.009,-0.02],[0,4.121],[-0.072,3.151],[-0.531,30.403],[-5.29,5.96],[-7.724,11.998],[-4.545,7.629],[-37.449,56.8],[-78.331,79.025],[-9.585,7.901],[-12.301,12.303],[-0.324,0.004],[-25.236,0],[-0.963,-0.963],[-38.233,-28.183],[-61.676,-62.763],[-12.618,-25.237],[0.269,-0.267],[-0.061,-2.346],[0,-144.613],[73.458,0]],"v":[[453.036,88.712],[634.251,0],[890.972,266.137],[890.972,266.191],[891,266.131],[890.878,275.668],[891,280.916],[875.899,369.628],[860.798,399.199],[845.697,428.77],[831.245,451.744],[693.667,615.252],[500.832,788.675],[483.368,803.375],[446.463,815.994],[445.486,816],[395.014,790.763],[387.858,784.783],[182.742,604.783],[29.092,399.588],[0,280.922],[0.144,275.844],[0,266.137],[256.721,0]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"img_1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":2087,"st":0,"bm":0}]},{"id":"comp_8","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Shape Layer 6","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":300,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.425,"y":1},"o":{"x":0.167,"y":0},"t":0,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.312,-0.125],[0.031,0],[3.875,0]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.602,"y":0},"t":6,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.469,-57.75],[0.031,0],[3.719,-57.625]],"c":true}]},{"t":14,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-2.656,-57.75],[0.062,-57.75],[2.719,-57.625]],"c":true}]}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.984313726425,0.172549024224,0.329411774874,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":14,"st":-58,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":240,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.425,"y":1},"o":{"x":0.167,"y":0},"t":0,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.312,-0.125],[0.031,0],[3.875,0]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.602,"y":0},"t":6,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.469,-57.75],[0.031,0],[3.719,-57.625]],"c":true}]},{"t":14,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-2.656,-57.75],[0.062,-57.75],[2.719,-57.625]],"c":true}]}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.984313726425,0.172549024224,0.329411774874,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":14,"st":-58,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Shape Layer 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":180,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.425,"y":1},"o":{"x":0.167,"y":0},"t":0,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.312,-0.125],[0.031,0],[3.875,0]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.602,"y":0},"t":6,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.469,-57.75],[0.031,0],[3.719,-57.625]],"c":true}]},{"t":14,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-2.656,-57.75],[0.062,-57.75],[2.719,-57.625]],"c":true}]}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470589638,0.176470592618,0.333333343267,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":14,"st":-58,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":120,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.425,"y":1},"o":{"x":0.167,"y":0},"t":0,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.312,-0.125],[0.031,0],[3.875,0]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.602,"y":0},"t":6,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.469,-57.75],[0.031,0],[3.719,-57.625]],"c":true}]},{"t":14,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-2.656,-57.75],[0.062,-57.75],[2.719,-57.625]],"c":true}]}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.992156863213,0.203921571374,0.364705890417,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":14,"st":-58,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Shape Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":60,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.425,"y":1},"o":{"x":0.167,"y":0},"t":0,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.312,-0.125],[0.031,0],[3.875,0]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.602,"y":0},"t":6,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.469,-57.75],[0.031,0],[3.719,-57.625]],"c":true}]},{"t":14,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-2.656,-57.75],[0.062,-57.75],[2.719,-57.625]],"c":true}]}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.996078431606,0.184313729405,0.345098048449,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":14,"st":-58,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.425,"y":1},"o":{"x":0.167,"y":0},"t":0,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.312,-0.125],[0.031,0],[3.875,0]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.602,"y":0},"t":6,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-3.469,-57.75],[0.031,0],[3.719,-57.625]],"c":true}]},{"t":14,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-2.656,-57.75],[0.062,-57.75],[2.719,-57.625]],"c":true}]}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.984313726425,0.172549024224,0.329411774874,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":14,"st":-58,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"JSON_home_Dislike 2","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[45.25,77.25,0],"ix":2},"a":{"a":0,"k":[844.177,1286.951,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.899,0.899,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.832,0.832,0]},"t":64,"s":[6.4,6.4,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":88,"s":[5.355,5.355,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":96,"s":[5.355,5.355,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":120,"s":[6.4,6.4,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.899,0.899,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.832,0.832,0]},"t":162,"s":[6.4,6.4,100]},{"t":186,"s":[5.355,5.355,100]}],"ix":6,"x":"var $bm_rt;\\nvar $bm_rt;\\nvar $bm_rt;\\nfunction customBezier(t, tMin, tMax, value1, value2, bezierPoints) {\\n if (arguments.length !== 6)\\n return value;\\n var a = sub(value2, value1);\\n var b = sub(tMax, tMin);\\n var c = clamp(div(sub(t, tMin), b), 0, 1);\\n if (!(bezierPoints instanceof Array) || bezierPoints.length !== 4)\\n bezierPoints = [\\n 0,\\n 0,\\n 1,\\n 1\\n ];\\n return add(mul(a, h(c, bezierPoints)), value1);\\n function h(f, g) {\\n var x = mul(3, g[0]);\\n var j = sub(mul(3, sub(g[2], g[0])), x);\\n var k = sub(sub(1, x), j);\\n var l = mul(3, g[1]);\\n var m = sub(mul(3, sub(g[3], g[1])), l);\\n var n = sub(sub(1, l), m);\\n var d = f;\\n for (var i = 0; i < 5; i++) {\\n var z = sub(mul(d, add(x, mul(d, add(j, mul(d, k))))), f);\\n if (Math.abs(z) < 0.001)\\n break;\\n d = sub(d, div(z, add(x, mul(d, add(mul(2, j), mul(mul(3, k), d))))));\\n }\\n return mul(d, add(l, mul(d, add(m, mul(d, n)))));\\n }\\n}\\nvar animationStartTime = 1;\\nvar animationEndTime = 2;\\nvar startValue = value;\\nvar endValue = mul(value, 2);\\nif (numKeys > 0) {\\n var nearestKeyIndex = nearestKey(time).index;\\n if (key(nearestKeyIndex).time > time)\\n nearestKeyIndex--;\\n if (nearestKeyIndex === 0 || nearestKeyIndex === numKeys) {\\n startValue = endValue = value;\\n } else {\\n animationStartTime = key(nearestKeyIndex).time;\\n animationEndTime = key(add(nearestKeyIndex, 1)).time;\\n startValue = key(nearestKeyIndex).value;\\n endValue = key(add(nearestKeyIndex, 1)).value;\\n }\\n}\\n$bm_rt = $bm_rt = $bm_rt = customBezier(time, animationStartTime, animationEndTime, startValue, endValue, [\\n 0.34,\\n 0.69,\\n 0.1,\\n 1\\n]);"}},"ao":0,"w":1680,"h":1680,"ip":64,"op":10063,"st":64,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"JSON_home_like","refId":"comp_4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[45.125,74.025,0],"ix":2},"a":{"a":0,"k":[84,124.196,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.1,0.1,0.1],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[1.89,1.89,0]},"t":0,"s":[52.5,52.5,100]},{"t":24,"s":[55.375,55.375,100]}],"ix":6}},"ao":0,"w":168,"h":168,"ip":0,"op":64,"st":0,"bm":0}],"markers":[]}')},432218:function(e){e.exports=JSON.parse('{"v":"5.9.6","fr":25,"ip":0,"op":25,"w":72,"h":72,"nm":"合成 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"“图层 1”轮廓 2","sr":1,"ks":{"o":{"a":0,"k":90,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":15,"s":[36,41.281,0],"to":[0,0,0],"ti":[0,0,0]},{"t":25,"s":[36,41.281,0]}],"ix":2,"l":2},"a":{"a":0,"k":[12.25,13.717,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":15,"s":[230,230,100]},{"t":25,"s":[210,210,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.667,0.385],[0,0],[0,-0.77],[0,0],[-0.667,0.385]],"o":[[0.667,-0.385],[0,0],[-0.667,-0.385],[0,0],[0,0.77],[0,0]],"v":[[4.5,0.866],[4.5,-0.866],[-1.5,-4.33],[-3,-3.464],[-3,3.464],[-1.5,4.33]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-4.418,0],[0,0],[0,-4.418],[0,0],[4.418,0],[0,0],[0,4.418],[0,0]],"o":[[0,0],[4.418,0],[0,0],[0,4.418],[0,0],[-4.418,0],[0,0],[0,-4.418]],"v":[[-4,-10],[4,-10],[12,-2],[12,2],[4,10],[-4,10],[-12,2],[-12,-2]],"c":true},"ix":2},"nm":"路径 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"合并路径 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[12.25,10.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":25,"st":15,"ct":1,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"“图层 1”轮廓","sr":1,"ks":{"o":{"a":0,"k":90,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":5,"s":[-10]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":10,"s":[3]},{"t":15,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[36,41.281,0],"to":[0,0,0],"ti":[0,0,0]},{"t":15,"s":[36,41.281,0]}],"ix":2,"l":2},"a":{"a":0,"k":[12.25,13.717,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[210,210,100]},{"t":10,"s":[230,230,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.667,0.385],[0,0],[0,-0.77],[0,0],[-0.667,0.385]],"o":[[0.667,-0.385],[0,0],[-0.667,-0.385],[0,0],[0,0.77],[0,0]],"v":[[4.5,0.866],[4.5,-0.866],[-1.5,-4.33],[-3,-3.464],[-3,3.464],[-1.5,4.33]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-4.418,0],[0,0],[0,-4.418],[0,0],[4.418,0],[0,0],[0,4.418],[0,0]],"o":[[0,0],[4.418,0],[0,0],[0,4.418],[0,0],[-4.418,0],[0,0],[0,-4.418]],"v":[[-4,-10],[4,-10],[12,-2],[12,2],[4,10],[-4,10],[-12,2],[-12,-2]],"c":true},"ix":2},"nm":"路径 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"合并路径 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[12.25,10.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"组 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":15,"st":0,"ct":1,"bm":0}],"markers":[]}')},462609:function(e){e.exports=JSON.parse('{"v":"5.6.10","fr":60,"ip":0,"op":113,"w":99,"h":99,"nm":"分享Lottie2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Union","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":16,"s":[-10]},{"i":{"x":[0.58],"y":[1]},"o":{"x":[0.42],"y":[0]},"t":24,"s":[5]},{"t":33,"s":[0]}],"ix":10},"p":{"a":0,"k":[49.201,75,0],"ix":2},"a":{"a":0,"k":[0,34.921,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.1,0.1,0.1],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.602,0.602,0]},"t":0,"s":[64,64,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0,0,0]},"t":24,"s":[75,75,100]},{"i":{"x":[0.1,0.1,0.1],"y":[1,1,1]},"o":{"x":[0.34,0.34,0.34],"y":[0.602,0.602,0]},"t":62,"s":[75,75,100]},{"t":86,"s":[64,64,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0.009,6.839],[0,0],[0,0]],"v":[[13.512,0.347],[0.815,-11.797],[0.815,-4.954],[0.815,5.085],[0.815,11.565]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"rd","nm":"圆角 1","r":{"a":0,"k":4,"ix":1},"ix":2,"mn":"ADBE Vector Filter - RC","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[4.027,-4.319],[-2.675,4.073]],"o":[[0,0],[0,0],[-4.027,4.319],[2.78,-4.233]],"v":[[0.815,4.762],[0.815,-4.93],[-9.245,-1.175],[-10.842,7.744]],"c":true},"ix":2},"nm":"路径 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"合并路径 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Union","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-820,"op":163,"st":-820,"bm":0}],"markers":[]}')}}]);