"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[921],{63395:(e,t,i)=>{var n,o,a,s,r;i.d(t,{pk:()=>d,uU:()=>l}),function(e){e.None="none",e.Language="language",e.ManageAccount="manage-account",e.Privacy="privacy",e.DownloadData="dyd"}(n||(n={})),function(e){e.Language="Language",e.ManageAccount="manage_account",e.Privacy="privacy_h1",e.DYD="datadownload_screentitle",e.Setting="Privacy and settings",e.Recharge="WebApp_coin_recharge_1"}(o||(o={})),function(e){e.NONE="NONE",e.CA="CA",e.BA="BA",e.AD="AD"}(a||(a={})),function(e){e[e.PersonalAccount=0]="PersonalAccount",e[e.ProAccount=1]="ProAccount",e[e.CreatorAccount=2]="CreatorAccount",e[e.BusinessAccount=3]="BusinessAccount"}(s||(s={})),function(e){e.DiggPush="diggPush",e.CommentPush="commentPush",e.FollowPush="followPush",e.MentionPush="mentionPush",e.RepostPush="repostPush",e.ImPush="imPush",e.FollowNewVideoPush="followNewVideoPush",e.RecommendVideoPush="recommendVideoPush",e.LivePush="livePush",e.LiveInnerPush="liveInnerPush",e.OtherChannel="otherChannel",e.NoticeWebappPush="noticeWebappPush"}(r||(r={}));const l={diggPush:"digg_push",commentPush:"comment_push",followPush:"follow_push",mentionPush:"mention_push",imPush:"im_push",followNewVideoPush:"follow_new_video_push",recommendVideoPush:"recommend_video_push",livePush:"live_push",liveInnerPush:"live_inner_push",otherChannel:"other_channel",noticeWebappPush:"notice_webapp_push"},d="notice_webapp_push";var c;!function(e){e.NONE="NONE",e.INTERACTION="INTERACTION",e.INAPP_NOTICE="INAPP_NOTICE",e.MESSAGES="MESSAGES",e.VIDEO="VIDEO",e.LIVE="LIVE",e.OTHERS="OTHERS"}(c||(c={}))},62253:(e,t,i)=>{i.d(t,{h:()=>w});var n=i(58632),o=i(64162),a=i(4126),s=i(93995),r=i(340),l=i(4474),d=i(35572),c=i(95719),h=i(8536),p=i(23999),g=i(74690),u=i(80339),m=i(26324),v=i(16680),f=i(64356),_=i(11983),k=i(7672),x=i(55099);let b=class{constructor(e){this.fetch=e}checkUserStatusBeforeDelete(){return this.fetch.get("/api/v1/oec/seccom/web/cancel/check",{query:{aid:1988},baseUrlType:2})}};b=(0,n.__decorate)([(0,k._)(),(0,n.__metadata)("design:paramtypes",[x.p])],b);const A={1233:0,1180:1};let w=class extends o.E{constructor(e,t){super(),this.service=e,this.t=t,this.defaultState={loading:!1,deleteBlockModalVisible:!1,changeRegionModalVisible:!1,seller:"https://seller-id.tiktok.com"}}deleteAccount(e){return e.pipe((0,d.p)((({language:e,user:t,appId:i})=>this.service.checkUserStatusBeforeDelete().pipe((0,c.M)((({code:e})=>{-1===e&&_.F.open({content:this.t("Sorry, something wrong with the server, please try again."),duration:3})})),(0,h.Z)((({data:n,code:o})=>{var a,s;if(0===o&&n){if(!n.pass&&1===n.role)return(0,p.of)(this.getActions().setDeleteBlockModalVisible(!0),this.getActions().setSellerAddress(null!==(s=null===(a=n.reminder)||void 0===a?void 0:a.seller_account.schema)&&void 0!==s?s:""));const o={url:`https://www.tiktok.com/setting/account-deletion?${(0,l.stringify)({lang:null!=e?e:"",redirect_url:`https://www.tiktok.com/foryou?lang=${null!=e?e:""}`,enter_from:"setting",is_mobile:0,user_name:null==t?void 0:t.uniqueId,mt:A[null!=i?i:0]})}`,isSignup:!1,iframeStyle:{width:"700px",maxWidth:"700px"}};return(0,p.of)((0,v.CP)().openModal(o)).pipe((0,h.Z)((()=>(0,p.of)(this.noop()))))}return(0,p.of)(this.noop())})),(0,g.Z)(this.getActions().setLoading(!0)),(0,u.q)(this.getActions().setLoading(!1))))))}setLoading(e,t){e.loading=t}setDeleteBlockModalVisible(e,t){e.deleteBlockModalVisible=t}setSellerAddress(e,t){e.seller=t}setChangeRegionModalVisible(e,t){e.changeRegionModalVisible=t}};(0,n.__decorate)([(0,a.Mj)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[m.c]),(0,n.__metadata)("design:returntype",void 0)],w.prototype,"deleteAccount",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,Boolean]),(0,n.__metadata)("design:returntype",void 0)],w.prototype,"setLoading",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,Boolean]),(0,n.__metadata)("design:returntype",void 0)],w.prototype,"setDeleteBlockModalVisible",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,String]),(0,n.__metadata)("design:returntype",void 0)],w.prototype,"setSellerAddress",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,Boolean]),(0,n.__metadata)("design:returntype",void 0)],w.prototype,"setChangeRegionModalVisible",null),w=(0,n.__decorate)([(0,s.n)("ManageAccountModule"),(0,n.__param)(1,(0,r.y)(f.hp)),(0,n.__metadata)("design:paramtypes",[b,Function])],w)},70948:(e,t,i)=>{i.d(t,{Z:()=>k});var n=i(58632),o=i(64162),a=i(4126),s=i(93995),r=i(46657),l=i(23999),d=i(26324),c=i(35572),h=i(95719),p=i(8536),g=i(28889),u=i(63395),m=i(7672),v=i(26325),f=i(55099);let _=class{constructor(e){this.fetch=e}commitPushSetting({field:e,value:t}){return this.fetch.post("/api/user/set/settings/",{baseUrlType:2,query:{field:e,value:t},headers:{[v.nk]:this.fetch.csrfToken}})}};_=(0,n.__decorate)([(0,m._)(),(0,n.__metadata)("design:paramtypes",[f.p])],_);let k=class extends o.E{constructor(e){super(),this.service=e,this.defaultState={pushBrowserSwitchOn:!1,pushUnlockModalOn:!1,pushSettingDetailShowing:"NONE",noticeSettingState:{diggPush:1,commentPush:1,followPush:1,mentionPush:1,imPush:1,followNewVideoPush:1,recommendVideoPush:1,livePush:1,liveInnerPush:1,otherChannel:1,noticeWebappPush:1}}}setPushBrowserSwitchOn(e,t){e.pushBrowserSwitchOn=t}setPushUnlockModalOn(e,t){e.pushUnlockModalOn=t}setPushSettingDetailShowing(e,t){e.pushSettingDetailShowing=t}setNoticeSettingState(e,t){e.noticeSettingState=Object.assign(Object.assign({},e.noticeSettingState),t)}commitPushSetting(e){return e.pipe((0,c.p)((({field:e,item:t,value:i,isBrowserDenied:n})=>this.service.commitPushSetting({field:e,value:i}).pipe((0,h.M)((t=>{if(0===t.status_code){const t=1===i?"on":"off";if(e===u.uU.noticeWebappPush)return void g.X.handleBrowserPushSetting(n?"other":t);g.X.handleNoticePushSetting({field:e,to_status:t})}})),(0,p.Z)((({status_code:o})=>0===o?e===u.uU.noticeWebappPush?n?r.w:(0,l.of)(this.getActions().setPushBrowserSwitchOn(Boolean(i))):(0,l.of)(this.getActions().setNoticeSettingState({[t]:i})):r.w))))))}};(0,n.__decorate)([(0,a.uk)(),(0,n.__metadata)("design:type",d.c)],k.prototype,"dispose$",void 0),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,Boolean]),(0,n.__metadata)("design:returntype",void 0)],k.prototype,"setPushBrowserSwitchOn",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,Boolean]),(0,n.__metadata)("design:returntype",void 0)],k.prototype,"setPushUnlockModalOn",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,String]),(0,n.__metadata)("design:returntype",void 0)],k.prototype,"setPushSettingDetailShowing",null),(0,n.__decorate)([(0,a.h5)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[Object,Object]),(0,n.__metadata)("design:returntype",void 0)],k.prototype,"setNoticeSettingState",null),(0,n.__decorate)([(0,a.Mj)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[d.c]),(0,n.__metadata)("design:returntype",void 0)],k.prototype,"commitPushSetting",null),k=(0,n.__decorate)([(0,s.n)("SettingPushModule"),(0,n.__metadata)("design:paramtypes",[_])],k)},87260:(e,t,i)=>{var n,o;i.d(t,{I7:()=>a}),function(e){e.rewardOnboarding="rewardOnboarding",e.rewardOnboardingIframe="rewardOnboardingIframe",e.verifyIdentityForm="verifyIdentityForm",e.verifyIdentityFormV2="verifyIdentityFormV2",e.pipoAppealForm="pipoAppealForm",e.verifyIdentityResult="verifyIdentityResult",e.coin="coin",e.coinWithHash="coinWithHash",e.coinWithUser="coinWithUser",e.coinWithHashAndUser="coinWithHashAndUser",e.coinCashier="coinCashier",e.coinRedeem="coinRedeem",e.coinReferral="coinReferral",e.coinPaymentResult="coinPaymentResult",e.coinTransactions="coinTransactions",e.coinUnavailable="coinUnavailable",e.coinTerms="coinTerms",e.coinTermsGiftCardPolicy="coinTermsGiftCardPolicy",e.coinTransactionsDetail="coinTransactionsDetail",e.coinCardManagement="coinCardManagement",e.coinExchange="coinExchange",e.coinBindInfo="coinBindInfo",e.coinPlaceOrder="coinPlaceOrder",e.coinPlaceOrderWithHash="coinPlaceOrderWithHash",e.tax="tax",e.euTaxForm="euTaxForm",e.w9TaxSelect="w9TaxSelect",e.w9TaxInputIndividual="w9TaxInputIndividual",e.w9TaxInputEntity="w9TaxInputEntity",e.taxPaperlessConsent="taxPaperlessConsent",e.taxComplete="taxComplete",e.taxInfoUs="taxInfoUs",e.w8TaxInput="w8TaxInput",e.taxInfoW8="taxInfoW8",e.taxOverview="taxOverview",e.taxEuWhtInfo="taxEuWhtInfo",e.taxEuWhtInput="taxEuWhtInput",e.taxEuVatInfo="taxEuVatInfo",e.taxEuVatInput="taxEuVatInput",e.taxSelfBilling="taxSelfBilling",e.periodic="periodic",e.periodicDashboard="periodicDashboard",e.periodicPastPayout="periodicPastPayout",e.periodicEarningsTransaction="periodicEarningsTransaction",e.periodicPayoutTransaction="periodicPayoutTransaction",e.coinPIVerifyFAQ="coinPIVerifyFAQ",e.coinPIVerifyForm="coinPIVerifyForm",e.coinPIVerifyStatus="coinPIVerifyStatus",e.taxW9Certify="taxW9Certify",e.emailUnsubscribe="emailUnsubscribe"}(n||(n={})),function(e){e.rewardOnboarding="rewardOnboarding",e.rewardOnboardingIframe="rewardOnboardingIframe",e.verifyIdentityForm="verifyIdentityForm",e.verifyIdentityFormV2="verifyIdentityFormV2",e.pipoAppealForm="pipoAppealForm",e.verifyIdentityResult="verifyIdentityResult",e.coin="coin",e.coinWithHash="coinWithHash",e.coinWithUser="coinWithUser",e.coinWithHashAndUser="coinWithHashAndUser",e.coinCashier="coinCashier",e.coinRedeem="coinRedeem",e.coinReferral="coinReferral",e.coinPaymentResult="coinPaymentResult",e.coinTransactions="coinTransactions",e.coinUnavailable="coinUnavailable",e.coinTerms="coinTerms",e.coinTermsGiftCardPolicy="coinTermsGiftCardPolicy",e.coinTransactionsDetail="coinTransactionsDetail",e.coinCardManagement="coinCardManagement",e.coinExchange="coinExchange",e.coinBindInfo="coinBindInfo",e.coinPlaceOrder="coinPlaceOrder",e.coinPlaceOrderWithHash="coinPlaceOrderWithHash",e.tax="tax",e.euTaxForm="euTaxForm",e.w9TaxSelect="w9TaxSelect",e.w9TaxInputIndividual="w9TaxInputIndividual",e.w9TaxInputEntity="w9TaxInputEntity",e.taxPaperlessConsent="taxPaperlessConsent",e.taxComplete="taxComplete",e.taxInfoUs="taxInfoUs",e.w8TaxInput="w8TaxInput",e.taxInfoW8="taxInfoW8",e.taxOverview="taxOverview",e.taxEuWhtInfo="taxEuWhtInfo",e.taxEuWhtInput="taxEuWhtInput",e.taxEuVatInfo="taxEuVatInfo",e.taxEuVatInput="taxEuVatInput",e.taxSelfBilling="taxSelfBilling",e.periodic="periodic",e.periodicDashboard="periodicDashboard",e.periodicPastPayout="periodicPastPayout",e.periodicEarningsTransaction="periodicEarningsTransaction",e.periodicPayoutTransaction="periodicPayoutTransaction",e.coinPIVerifyFAQ="coinPIVerifyFAQ",e.coinPIVerifyForm="coinPIVerifyForm",e.coinPIVerifyStatus="coinPIVerifyStatus",e.taxW9Certify="taxW9Certify",e.emailUnsubscribe="emailUnsubscribe"}(o||(o={}));const a={rewardOnboarding:"/reward-onboarding",rewardOnboardingIframe:"/reward-onboarding/iframe",verifyIdentityForm:"/coin/verify-identity/form",verifyIdentityFormV2:"/coin/verify-identity/formV2",pipoAppealForm:"/unified-wallet/appeal/pipo-risk/form",verifyIdentityResult:"/coin/verify-identity/result",coin:"/coin",coinWithHash:"/coin/:refhash",coinWithUser:"/coin/@:uniqueId",coinWithHashAndUser:"/coin/:refhash/@:uniqueId",coinCashier:"/coin/cashier",coinRedeem:"/coin/redeem",coinReferral:"/coin/referral",coinPaymentResult:"/coin/payment-result",coinTransactions:"/coin/transaction-history",coinUnavailable:"/coin/unavailable",coinTerms:"/coin/legal/terms-of-purchase-for-coins",coinTermsGiftCardPolicy:"/coin/legal/gift-card-policy",coinTransactionsDetail:"/coin/transaction-history/detail",coinCardManagement:"/coin/card-management",coinExchange:"/coin/exchange",coinBindInfo:"/coin/bind-info",coinPlaceOrder:"/coin/place-order",coinPlaceOrderWithHash:"/coin/place-order/:refhash",tax:"/tax",euTaxForm:"/tax/eu-tax",w9TaxSelect:"/tax/us-w9-tax-select",w9TaxInputIndividual:"/tax/us-w9-tax-input-individual",w9TaxInputEntity:"/tax/us-w9-tax-input-entity",taxPaperlessConsent:"/tax/paperless-consent",taxComplete:"/tax/complete",taxInfoUs:"/tax/info-us",w8TaxInput:"/tax/w8-tax-input",taxInfoW8:"/tax/info-w8",taxOverview:"/tax/tax-overview",taxEuWhtInfo:"/tax/eu-wht-info",taxEuWhtInput:"/tax/eu-wht-input",taxEuVatInfo:"/tax/eu-vat-info",taxEuVatInput:"/tax/eu-vat-input",taxSelfBilling:"/tax/self-billing",periodic:"/periodic",periodicDashboard:"/periodic/dashboard",periodicPastPayout:"/periodic/past-payout",periodicEarningsTransaction:"/periodic/earnings-transaction",periodicPayoutTransaction:"/periodic/payout-transaction",coinPIVerifyFAQ:"/coin/pi-verify-faq",coinPIVerifyForm:"/coin/pi-verify-form",coinPIVerifyStatus:"/coin/pi-verify-status",taxW9Certify:"/tax/w9-certify",emailUnsubscribe:"/wallet/live-rewards/email-unsubscribe"};var s;!function(e){e.rewardOnboarding="rewardOnboarding",e.rewardOnboardingIframe="rewardOnboardingIframe",e.verifyIdentityForm="verifyIdentityForm",e.verifyIdentityFormV2="verifyIdentityFormV2",e.pipoAppealForm="pipoAppealForm",e.verifyIdentityResult="verifyIdentityResult",e.coin="coin",e.coinWithHash="coinWithHash",e.coinWithUser="coinWithUser",e.coinWithHashAndUser="coinWithHashAndUser",e.coinCashier="coinCashier",e.coinRedeem="coinRedeem",e.coinReferral="coinReferral",e.coinPaymentResult="coinPaymentResult",e.coinTransactions="coinTransactions",e.coinUnavailable="coinUnavailable",e.coinTerms="coinTerms",e.coinTermsGiftCardPolicy="coinTermsGiftCardPolicy",e.coinTransactionsDetail="coinTransactionsDetail",e.coinCardManagement="coinCardManagement",e.coinExchange="coinExchange",e.coinBindInfo="coinBindInfo",e.coinPlaceOrder="coinPlaceOrder",e.coinPlaceOrderWithHash="coinPlaceOrderWithHash",e.tax="tax",e.euTaxForm="euTaxForm",e.w9TaxSelect="w9TaxSelect",e.w9TaxInputIndividual="w9TaxInputIndividual",e.w9TaxInputEntity="w9TaxInputEntity",e.taxPaperlessConsent="taxPaperlessConsent",e.taxComplete="taxComplete",e.taxInfoUs="taxInfoUs",e.w8TaxInput="w8TaxInput",e.taxInfoW8="taxInfoW8",e.taxOverview="taxOverview",e.taxEuWhtInfo="taxEuWhtInfo",e.taxEuWhtInput="taxEuWhtInput",e.taxEuVatInfo="taxEuVatInfo",e.taxEuVatInput="taxEuVatInput",e.taxSelfBilling="taxSelfBilling",e.periodic="periodic",e.periodicDashboard="periodicDashboard",e.periodicPastPayout="periodicPastPayout",e.periodicEarningsTransaction="periodicEarningsTransaction",e.periodicPayoutTransaction="periodicPayoutTransaction",e.coinPIVerifyFAQ="coinPIVerifyFAQ",e.coinPIVerifyForm="coinPIVerifyForm",e.coinPIVerifyStatus="coinPIVerifyStatus",e.taxW9Certify="taxW9Certify",e.emailUnsubscribe="emailUnsubscribe"}(s||(s={}))},20024:(e,t,i)=>{i.d(t,{OR:()=>h,Rg:()=>c,wT:()=>p});var n=i(24643),o=i(40099),a=i(23124);class s{constructor(){this.hook=new Map,this.slot=new Map}}const r=(0,a.$)("SEOAddonContext@tiktok-fe/seo-addon")(new s);function l(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function d(e){for(var t=1;t(0,n.jsx)(r.Provider,{value:t,children:(0,n.jsx)(e,d({},i))})}},42416:(e,t,i)=>{i.d(t,{b:()=>r,r:()=>s});var n=i(24643),o=i(40099);const a=(0,o.createContext)(void 0),s=({pageInfo:e,children:t})=>(0,n.jsx)(a.Provider,{value:e,children:t}),r=()=>{const e=(0,o.useContext)(a);if(void 0===e)throw new Error("usePageInfo must be used within a PageInfoProvider");return e}},58473:(e,t,i)=>{i.d(t,{X:()=>o});var n=i(85135);const o=new class{constructor(){this._emitter=new n.A}emit(e){return this._emitter.emit(e)}on(e,t){return this._emitter.on(e,t),this}once(e,t){return this._emitter.once(e,t),this}off(e,t){return this._emitter.off(e,t),this}}},65753:(e,t,i)=>{i.d(t,{H:()=>F});var n=i(24643),o=i(40099),a=i(9576),s=i(26930),r=i(32125),l=i(62186),d=i(72153);const c=(0,l.default)("div",{target:"e1xkwkbl0"})((({theme:e})=>[{height:"0.5px",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:e.isDark?"rgba(255, 255, 255, 0.13)":"rgba(22, 24, 35, 0.2)"}]),"label:DivDivider;"),h=(0,l.default)("div",{target:"e1xkwkbl1"})((({showAnswerSection:e})=>[e?{}:{maxHeight:"0px",visibility:"hidden"},({theme:e})=>({color:e.colors.TextSecondary,fontWeight:e.fontWeights.normal})]),"label:DivHidable;"),p=(0,l.default)("div",{target:"e1xkwkbl2"})([{display:"grid",gridTemplateColumns:"1fr 14px",gridColumnGap:"20px",justifyContent:"space-between"},({theme:e})=>({color:e.isDark?"rgba(255, 255, 255, 0.9)":"rgba(0, 0, 0, 0.72)",fontWeight:e.fontWeights.medium}),({theme:{direction:e}})=>(0,d.mp)({direction:e})],"label:DivQuestionContainer;"),g=(0,l.default)("div",{target:"e1xkwkbl3"})({padding:"20px 0"},"label:DivQuestionItem;"),u=(0,l.default)("h2",{target:"e1xkwkbl4"})((({isExpand:e,theme:t})=>[(0,d.zy)({theme:t,fontWeight:"medium",color:"TextPrimary"}),{fontSize:"16px",lineHeight:"125%",letterSpacing:"0.3px",marginBottom:e?20:0}]),"label:H3Question;"),m=(0,l.default)("div",{target:"e1xkwkbl5"})((({theme:e})=>[(0,d.zy)({theme:e,color:"TextTertiaryAlt"}),{border:20}]),"label:SpanClickSection;"),v=(0,l.default)("h3",{target:"e1xkwkbl6"})({fontSize:"20px",fontWeight:700,marginBottom:20},"label:H3RelatedItemsTitle;");var f=i(34741),_=i(58542);const k=(0,l.default)("div",{target:"e10b56nd0"})({display:"grid",gap:20,"@media screen and (max-width: 1072px)":{gridTemplateColumns:"repeat(1, 1fr)"},"@media screen and (min-width: 1073px) and (max-width: 1600px)":{gridTemplateColumns:"repeat(2, calc(50% - 10px))"},"@media screen and (min-width: 1601px)":{gridTemplateColumns:"repeat(3, calc(30% + 30px))"}},"label:AnswerSectionContainer;"),x=(0,l.default)("div",{target:"e10b56nd1"})((({theme:e})=>[{display:"flex",justifyContent:"space-between",alignItems:"center",maxHeight:300,padding:12,borderRadius:12},e.isDark?{background:"var(--UI-Page-Flat-2, #1E1E1E)"}:{background:"var(--BG-Light-BGView, rgba(22, 24, 35, 0.03))"}]),"label:AnswerItem;"),b=(0,l.default)("div",{target:"e10b56nd2"})({position:"relative",borderRadius:"4px",overflow:"hidden",width:"208px",height:"276px",flexGrow:0,flexShrink:0,flexBasis:"208px"},"label:AnswerImgContainer;"),A=(0,l.default)("span",{target:"e10b56nd3"})((({theme:e})=>[{display:"inline",position:"relative"},"ltr"===e.direction?{marginRight:"4px"}:{marginLeft:"4px"}]),"label:SpanIconWrapper;"),w=(0,l.default)("div",{target:"e10b56nd5"})((({theme:e})=>[{position:"absolute",bottom:"12px",display:"flex",alignItems:"center"},"ltr"===e.direction?{right:"14px"}:{left:"14px"}]),"label:DivViews;"),y=(0,l.default)("p",{target:"e10b56nd6"})(d.PR,(({theme:{direction:e}})=>(0,d.mp)({direction:e,marginStart:4})),{fontWeight:"normal",fontSize:"16px"},"label:StyledH3UniqueId;"),C=(0,l.default)("div",{target:"e10b56nd7"})({position:"absolute",bottom:"0px",left:"0px",right:"0px",padding:"48px 8px 8px",lineHeight:"20px",width:"100%",backgroundImage:"linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 97%)",display:"flex",alignItems:"center",fontSize:"14px",fontWeight:500,color:"#fff",zIndex:1},"label:DivSocialDetail;"),j=(0,l.default)("div",{target:"e10b56nd8"})((({theme:e})=>[{position:"absolute",display:"flex",alignItems:"center",maxWidth:"60%",bottom:"12px"},"ltr"===e.direction?{left:"10px"}:{right:"10px"}]),"label:DivUserSection;"),S=(0,l.default)("span",{target:"e10b56nd9"})({marginLeft:"2px"},"label:SpanViews;"),E=(0,l.default)("img",{target:"e10b56nd10"})({display:"block",width:"208px",height:"276px",objectFit:"cover"},"label:ImgPoster;"),I=(0,l.default)("div",{target:"e10b56nd11"})({display:"flex",justifyContent:"center",marginTop:"10px"},"label:DivExpandContainer;"),P=(0,l.default)("div",{target:"e10b56nd12"})((({theme:e})=>({display:"flex",justifyContent:"center",gap:"2px",padding:"6px",color:e.isDark?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.48)",margin:"auto 0",svg:{margin:"auto 0"}})),"label:DivExpandBtn;"),T=(0,l.default)("span",{target:"e10b56nd13"})((({theme:e})=>({fontSize:"16px",fontWeight:e.fontWeights.medium,lineHeight:"130%",letterSpacing:"0.093px"})),"label:SpanExpand;"),D=(0,l.default)("div",{target:"e10b56nd14"})((({theme:e})=>[(0,d.zy)({theme:e,fontWeight:"normal",color:"UIText2"}),{position:"relative",flexGrow:1,flexShrink:1,flexBasis:0,marginRight:20,fontSize:"16px",lineHeight:"130%",whiteSpace:"pre-wrap",textIndent:"-4px",letterSpacing:"0.03px",height:280,boxSizing:"border-box",overflowX:"hidden",overflowY:"scroll",scrollbarWidth:"none",padding:8,"&::-webkit-scrollbar":{display:"none",width:"0 !important",height:"0 !important"}}]),"label:DivTextSection;");var O=i(58305),B=i(60484),L=i(92846);const R=(0,o.memo)((({item:e,topicIndex:t,index:i,onClickVideoText:a})=>{const{isBot:s,reportEvent:r}=(0,o.useContext)(f.P),l=(0,o.useCallback)(((e,t,i,n)=>{(0,O.Gu)(e),a(t,i,n),r("general_click",{section:"related_topic",click_position:"video"})}),[a,r]);return(0,n.jsxs)(x,Object.assign({onClick:n=>l(n,e.videoDetail.itemStruct,t,i),"data-e2e":"answer-section-item"},{children:[(0,n.jsxs)(D,Object.assign({"data-e2e":"answer-section-item-text"},{children:[" ",e.text," "]})),(0,n.jsxs)(b,Object.assign({"data-e2e":"answer-section-img"},{children:[s&&(0,n.jsx)("a",{href:`/@${e.videoDetail.userName}/video/${e.videoDetail.id}`}),(0,n.jsx)(E,{src:e.videoDetail.imageSrc,alt:e.videoDetail.imageAlt,"data-e2e":"answer-section-img-poster"}),(0,n.jsxs)(C,{children:[(0,n.jsxs)(j,{children:[(0,n.jsx)(A,{children:(0,n.jsx)(L.e,{"data-e2e":"answer-section-img-avatar",size:14,src:e.videoDetail.userAvatar})}),(0,n.jsx)(y,Object.assign({"data-e2e":"answer-section-img-name",verified:Boolean(e.videoDetail.userVerified)},{children:e.videoDetail.userName}))]}),(0,n.jsxs)(w,Object.assign({"data-e2e":"answer-section-view"},{children:[(0,n.jsx)(_.GeO,{size:"16","data-e2e":"answer-section-icon"}),(0,n.jsx)(S,Object.assign({"data-e2e":"answer-section-view-number"},{children:(0,B.D1)(e.videoDetail.playCount)}))]}))]})]}))]}),`answer-${t}-${i}`)})),M=({answerItems:e,onClickVideoText:t,topicIndex:i})=>{const{t:a,reportEvent:s,isBot:r}=(0,o.useContext)(f.P),[l,d]=(0,o.useState)(r),[c,h]=(0,o.useState)(r?e.length:-1);(0,o.useEffect)((()=>{"undefined"!=typeof window&&(l?h(4):window.innerWidth>=1601?h(3):h(2))}),[l]);const p=(0,o.useCallback)((e=>{d(!l),(0,O.Gu)(e),s("general_click",{section:"related_topic",click_position:"see_more"})}),[l,s]);return!e||e.length<=0?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(k,Object.assign({"data-e2e":"answer-section"},{children:[e.slice(0,c).map(((e,o)=>(0,n.jsx)(R,{topicIndex:i,onClickVideoText:t,index:o,item:e},"answer-section-first-load"))),l&&e.slice(c,e.length).map(((e,o)=>(0,n.jsx)(R,{topicIndex:i,onClickVideoText:t,index:o,item:e},"answer-section-last-load")))]}),"answer-section"),!l&&e.length>c&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I,Object.assign({"data-e2e":"answer-section-expand"},{children:(0,n.jsxs)(P,Object.assign({onClick:p,"data-e2e":"answer-section-expand-btn"},{children:[(0,n.jsx)(T,Object.assign({"data-e2e":"answer-section-expand-text"},{children:a("seo_related_seeMore")})),(0,n.jsx)(_.CD$,{size:"16","data-e2e":"answer-section-expand-icon"})]}))}))})]})};var Q=i(99471);const z=({generalTopicCardList:e,onClickVideoText:t,title:i,gridRow:a})=>{const{isBot:s,reportEvent:r}=(0,o.useContext)(f.P),[l,d]=(0,o.useState)(-1),k=(0,o.useCallback)((()=>{r("show_section",{section:"related_topic"})}),[]),x=(0,Q.P)({callback:k});return(0,n.jsxs)("div",Object.assign({ref:x,style:{width:"100%",gridRow:a,gridColumn:"1/ -1"}},{children:[i&&(0,n.jsx)(v,{children:i}),e.map(((i,a)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(c,{}),(0,n.jsxs)(g,Object.assign({"data-e2e":"topic-item"},{children:[(0,n.jsxs)(p,Object.assign({"data-e2e":"topic-item-question",onClick:e=>((e,t)=>{(0,O.Gu)(e),d((e=>e===t?-1:t)),r("general_click",{section:"related_topic",click_position:"related_topic_question"})})(e,a),showAnswerSection:s||l===a},{children:[(0,n.jsx)(u,Object.assign({isExpand:l===a,"data-e2e":"topic-item-question-title"},{children:i.topic})),(0,n.jsxs)(m,Object.assign({"data-e2e":"topic-item-icon"},{children:[l!==a&&(0,n.jsx)(_.CD$,{size:"14"}),l===a&&(0,n.jsx)(_.Dol,{size:"14"})]}))]})),(0,n.jsx)(h,Object.assign({showAnswerSection:s||l===a},{children:(s||l===a)&&(0,n.jsx)(M,{answerItems:i.cardItemList,onClickVideoText:t,topicIndex:a},`answer-item-${a}-${i.topic}`)}))]}),`question-${a}`),a===Object.keys(e).length-1&&(0,n.jsx)(c,{})]},`${a}-${i.topic}`)))]}))};var V=i(93639),W=i(49057),N=i(25616);const F=(0,o.memo)((e=>{var t;const{keyword:i,onClickVideoText:o,title:l,gridRow:d}=e,{language:c="en"}=null!==(t=(0,W.W)((()=>["language"]),[]))&&void 0!==t?t:{},h=(0,N.s)(),[{cardDetails:p=[],searchKeyword:g},u]=(0,a.ee)((e=>({cardDetails:e.cardDetails,searchKeyword:e.searchKeyword})),{equalityFn:r.bN});(0,s.o)((()=>[g!==i?u.setGeneralTopicCard(i):Promise.resolve(),()=>{u.reset()}]),[u,i,g]);const m=p.map((e=>{if(!e.cardItems)return null;const t=null==e?void 0:e.cardItems.map((e=>{var t,i,n,o,a,s,r,l,d,p,g;const{item:u,text:m=""}=e,v={imageSrc:u.video.cover,imageAlt:u.desc,imagePoster:null!==(i=null===(t=u.video)||void 0===t?void 0:t.playAddr)&&void 0!==i?i:"",playCount:null!==(o=null===(n=u.stats)||void 0===n?void 0:n.playCount)&&void 0!==o?o:0,id:u.id,itemStruct:u,userName:null!==(s=null===(a=u.author)||void 0===a?void 0:a.uniqueId)&&void 0!==s?s:"",userAvatar:null!==(l=null===(r=u.author)||void 0===r?void 0:r.avatarThumb)&&void 0!==l?l:"",userVerified:null!==(p=null===(d=u.author)||void 0===d?void 0:d.verified)&&void 0!==p&&p};let f=m||u.desc;if(!f){const e=(0,V.G)({statusCode:0,itemInfo:{itemStruct:u},t:h,language:c});f=null!==(g=null==e?void 0:e.description)&&void 0!==g?g:""}return{text:f,videoDetail:v}}));return{topic:e.topic,cardItemList:t}}));return!m||m.length<=0?null:(0,n.jsx)(z,{generalTopicCardList:m,onClickVideoText:o,title:l,gridRow:d})}))},18330:(e,t,i)=>{i.d(t,{Q:()=>s});var n=i(7058),o=i(26930),a=i(32125);const s=e=>{const[t,i]=(0,n.sW)((t=>e.reduce(((e,i)=>(e[i]=t[i],e)),{})),a.bN);return(0,o.o)((()=>i.subscribe(e)),[i]),t}},24209:(e,t,i)=>{function n(e){const t=new Date(e);return`${t.getFullYear().toString().slice(-2)}/${(t.getMonth()+1).toString().padStart(2,"0")}/${t.getDate().toString().padStart(2,"0")}`}i.d(t,{E:()=>n})},16294:(e,t,i)=>{i.d(t,{i:()=>A});var n=i(24643),o=i(40099),a=i(10828),s=i(58542),r=i(34741),l=i(62186),d=i(72153),c=i(11328);const h=(0,l.default)("div",{target:"eft95uk0"})((({showRightShadow:e,showLeftShadow:t})=>({position:"relative",overflow:"hidden",width:"100%","&::after":{content:e?'" "':"none",position:"absolute",top:0,right:0,bottom:0,width:e?"16px":"0",background:"linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%)",pointerEvents:"none",zIndex:1},"&::before":{content:t?'" "':"none",position:"absolute",top:0,left:0,bottom:0,width:t?"16px":"0",background:"linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%)",pointerEvents:"none",zIndex:1}})),"label:DivWrapper;"),p=(0,l.default)("ol",{target:"eft95uk1"})({display:"flex",width:"100%",height:"22px",margin:"10px 0",padding:"0 16px",listStyle:"none",alignItems:"center",overflowX:"auto",overflowY:"hidden",whiteSpace:"nowrap",scrollBehavior:"smooth","&::-webkit-scrollbar":{display:"none",width:"0 !important",height:"0 !important"}},"label:OrderListContainer;"),g=(0,l.default)("li",{target:"eft95uk2"})((({theme:e,isCurrent:t})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",fontStyle:"normal"}),{fontSize:"15px",fontWeight:500,lineHeight:"130%",letterSpacing:"0.061px",span:{color:t?e.colors.UIText1:e.colors.UIText2,width:"60ch",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}}]),"label:ListBreadcrumbItem;"),u=(0,l.default)("div",{target:"eft95uk3"})((({theme:{direction:e,colors:t}})=>({position:"relative",margin:"0 3px",zIndex:1,top:"3px",fontSize:"16px",transform:"ltr"===e?"unset":"rotateY(180deg)",svg:{color:t.UIText2}})),"label:DivArrowIconContainer;"),m=(0,l.default)(c.EA.TextBox,{target:"eft95uk4"})({height:"24px",width:"200px",margin:"9px 12px"},"label:DivSkeleton;");var v=i(99471);function f(e,t=60){return e.length>t?e.slice(0,t)+"...":e}const _=({style:e})=>(0,n.jsx)(m,{style:e}),k=e=>{const{breadcrumbs:t,handleItemClick:i,showSkeleton:a=!1,etParams:l={},etClickParams:d={},etShowParams:c={},style:m={},containerStyle:k}=e,{reportEvent:x}=(0,o.useContext)(r.P),b=(0,o.useRef)(null),[A,w]=(0,o.useState)(!1),[y,C]=(0,o.useState)(!1),j=(0,o.useCallback)((e=>{var t;null==i||i(e),x("general_click",Object.assign(Object.assign({click_url:null!==(t=e.reportUrl)&&void 0!==t?t:e.relativeUrl,section:"breadcrumb"},l),d))}),[i,x,l,d]),S=(0,o.useCallback)((e=>()=>j(e)),[j]),E=(0,o.useCallback)((()=>{const e=b.current;if(e){const t=e.scrollWidth-e.clientWidth;w(e.scrollLeft>0),C(e.scrollLeft{const e=b.current;return e&&(E(),e.addEventListener("scroll",E)),()=>{e&&e.removeEventListener("scroll",E)}}),[a]);const I=(0,o.useCallback)((()=>{x("show_section",Object.assign(Object.assign({section:"breadcrumb"},l),c))}),[x,l,c]),P=(0,v.P)({callback:I});return a?(0,n.jsx)(_,{style:m}):(0,n.jsx)(h,Object.assign({showLeftShadow:A,showRightShadow:y,style:m,"data-e2e":"micro-data-breadcrumb",ref:P},{children:(0,n.jsx)(p,Object.assign({itemScope:!0,itemType:"https://schema.org/BreadcrumbList",ref:b,style:k},{children:t.map(((e,i)=>{const a=i===t.length-1;return(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)(g,Object.assign({itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",isCurrent:a,onClick:S(e),"data-e2e":"micro-data-breadcrumb-list"},{children:[(0,n.jsx)("a",Object.assign({itemProp:"item",href:e.relativeUrl,"data-e2e":"micro-data-breadcrumb-list-item"},{children:(0,n.jsx)("span",Object.assign({itemProp:"name"},{children:f(e.name)}))})),(0,n.jsx)("meta",{itemProp:"position",content:`${i+1}`})]})),!a&&(0,n.jsx)(u,{children:(0,n.jsx)(s.aL3,{size:"16"})})]},e.name)}))}))}))};var x=i(25616),b=i(52702);const A=(0,o.memo)((({keyword:e,style:t,pageType:i,trendingPath:s,containerStyle:r})=>{const l=(0,x.s)(),d=(0,b.Nk)(),c=(0,b.lF)(e),h=(0,o.useMemo)((()=>133===i?[{name:l("seo_kep_tiktok_mainHeader"),relativeUrl:a.C,reportUrl:a.C},{name:c,relativeUrl:d?`${a.C}${s}`:"#",reportUrl:`${a.C}${s}`}]:[{name:l("seo_breadcrumb_web_TikTokShop"),relativeUrl:`${a.C}/shop`,reportUrl:`${a.C}/shop`},{name:c,relativeUrl:`${a.C}/product/${e}`,reportUrl:`${a.C}/product/${e}`}]),[e]),p=(0,o.useMemo)((()=>({scene:"main_page"})),[]),g=(0,o.useMemo)((()=>({keyword:e})),[]),u=(0,o.useMemo)((()=>({})),[]);return(0,n.jsx)(k,{style:t,breadcrumbs:h,showSkeleton:!e,etParams:u,etClickParams:p,etShowParams:g,containerStyle:r})}))},39421:(e,t,i)=>{i.d(t,{y:()=>D});var n=i(24643),o=i(40099),a=i(7058),s=i(3864),r=i(13671),l=i(34741),d=i(24837),c=i(7971),h=i(62186),p=i(72153);const g=(e,t)=>[(0,p.zy)({theme:e}),(0,p.mp)({direction:e.direction,textAlign:"start"}),t?{display:"flex",WebkitBoxAlign:"center",alignItems:"center",height:"38px",padding:"8px 20px",borderRadius:"100px",backgroundColor:"rgba(22, 24, 35, 0.06)",color:"rgba(0, 0, 0, 0.48)"}:{display:"flex",position:"relative",alignItems:"center",backgroundColor:e.colors.BGInput,height:"46px",padding:"16px 8px",borderRadius:"4px",fontWeight:600,marginBottom:"8px",flexBasis:"calc(50% - 4px)",color:"TextPrimary",a:{padding:"16px 8px",display:"flex",alignItems:"center",width:"100%",height:"100%",position:"absolute",inset:0}}],u=(0,h.default)("div",{target:"e1ed1fek0"})((({theme:e})=>[...g(e)]),"label:DivContainer;"),m=(0,h.default)("a",{target:"e1ed1fek1"})((({theme:e,usePillStyle:t})=>[...g(e,t)]),"label:StyledLink;"),v=(0,h.default)("strong",{target:"e1ed1fek2"})((({theme:e})=>[{all:"unset"},(0,p.zy)({theme:e,color:"TextPrimary"}),{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",maxHeight:"2.6em",lineHeight:"130%",size:"14px",wordBreak:"break-word"}]),"label:StrongKeywordWrapper;"),f=(0,h.default)("div",{target:"e1ed1fek3"})((({theme:e})=>[(0,p.zy)({theme:e})]),"label:DivRelatedKeywordContainer;"),_=(0,h.default)("div",{target:"e1ed1fek4"})((({usePillStyle:e})=>e?{display:"flex",WebkitBoxPack:"start",justifyContent:"flex-start",flexWrap:"wrap",paddingTop:20,width:"100%",overflow:"hidden",gap:16,fontWeight:600,fontSize:"14px",lineHeight:"22px"}:{display:"flex",flexWrap:"wrap",justifyContent:"space-between","> *":{flex:"0 0 50%"}}),"label:DivCardContainer;");var k=i(38376);const x=(0,o.memo)((e=>{const{reportEvent:t}=(0,o.useContext)(l.P),{keyword:i,content:a,link:s,title:r,etParams:d,CTAWrapper:h=o.Fragment,enableCTA:p,etClickParams:g,etSectionName:f="related_search",showStrongTag:_=!0,usePillStyle:k}=e,x=(0,o.useMemo)((()=>a.replace(/-/g," ")),[a]),b=(0,o.useCallback)((()=>{t("general_click",Object.assign(Object.assign({section:f},d),g))}),[g,d,t,f]);return p&&h?(0,n.jsx)(u,Object.assign({"data-e2e":"related-keyword-card",onClick:b},{children:(0,n.jsx)(h,Object.assign({query:x,section:"related_search",title:r,href:s,keyword:null==i?void 0:i.toLocaleLowerCase()},{children:(0,n.jsx)(v,Object.assign({as:_?void 0:"div"},{children:(0,c.Sq)(x)}))}))})):(0,n.jsx)(m,Object.assign({"data-e2e":"related-keyword-card",onClick:b,href:s,usePillStyle:k},{children:(0,n.jsx)(v,Object.assign({as:_?void 0:"div"},{children:(0,c.Sq)(x)}))}))})),b=e=>{const{keyword:t,relatedKeywordsList:i,CTAWrapper:a,style:s,etParams:r,useSectionHtmlTag:h=!1,useBotTitle:p=!1,showStrongTag:g=!0,usePillStyle:u}=e,{t:m,reportEvent:v}=(0,o.useContext)(l.P),b=(0,o.useCallback)((()=>{v("show_section",Object.assign({section:"related_search"},r))}),[]),A=(0,d.Pd)({callback:b});return(0,n.jsxs)(f,Object.assign({ref:A,style:s,as:h?"section":void 0},{children:[p&&t?(0,n.jsxs)(k.ZR,{children:[" ",m("seo_kep_relatedSearchToKeyword",{s_keyword:(0,c.pS)(t)})]}):null,(0,n.jsx)(_,Object.assign({usePillStyle:u},{children:i.map((({content:e,link:i,title:o,enableCTA:s,etSectionName:r},l)=>(0,n.jsx)(x,{keyword:t,content:e,link:i,title:o,CTAWrapper:a,enableCTA:s,etSectionName:r,showStrongTag:g,usePillStyle:u},`${e}-${l}`)))}))]}))};var A=i(26930),w=i(88920),y=i(25616),C=i(60484),j=i(48615),S=i(52702),E=i(18330),I=i(58473);const P=(0,h.default)("div",{target:"eyoov110"})((({rowIndex:e})=>({gridArea:`${e} / 1 / auto / -1`,marginBottom:"16px"})),"label:DivGridItem;"),T=(e,t,i,a,s,l,d,c,h)=>(0,o.useMemo)((()=>{var o;const p=null!==(o=t.keywordList)&&void 0!==o?o:[],g=p.length,u=Math.ceil(g/i);return new Array(u).fill(null).map(((t,o)=>{const m=o===u-1?g:(o+1)*i,v=p.slice(o*i,m).map((t=>{const{formattedWord:i,link:n}=t;return{content:i,link:n,title:(0,r.s)(e),etSectionName:"related_search",enableCTA:null==c||c}}));return(0,n.jsx)(b,{keyword:e,relatedKeywordsList:v,CTAWrapper:l,etParams:{show_order:o},useSectionHtmlTag:a,useBotTitle:s,showStrongTag:"v2"===d,usePillStyle:h})}))}),[t]),D=((0,o.memo)((({count:e=30,batchSize:t=6,rowList:i=[],CTAWrapper:r})=>{var l,d,c;const h=(0,E.Q)(["wordDetail"]).wordDetail,{uniqueWord:p=""}=null!==(l=null==h?void 0:h.wordDetail)&&void 0!==l?l:{},g=(0,a.p3)(),[u,m]=(0,s.ez)(),{useHtmlTag:v,useTitle:f}=(0,w.Fo)(),_=(0,y.s)(),{isSearchEngineBot:x}=(0,C.L$)((0,j.U)((()=>["isSearchEngineBot"]),[])),b=_("seo_aggre_related_to",{keyword:(0,S.lF)(p)}),D=(0,S.wW)(),O=null!==(c=null===(d=null==D?void 0:D.parameters.kep_mobile_header_tags_imp)||void 0===d?void 0:d.vid)&&void 0!==c?c:"v2",B=T(p,u,t,v,f,r,O,!0),[L,R]=(0,o.useState)(0);(0,A.o)((()=>{if(!p)return Promise.resolve();const t=m.fetchData({keyword:p,count:e}).then((e=>{var t;g.setData({relatedKeywords:null!==(t=e.resp)&&void 0!==t?t:{statusCode:0,relatedKeywords:[]}})}));return[t,()=>{m.reset()}]}),[p,e,m]);const M=(0,o.useCallback)((()=>{R(L+1)}),[L]);(0,o.useEffect)((()=>(I.X.on("RelatedKeywords.loadMore",M),()=>{I.X.off("RelatedKeywords.loadMore",M)})),[L]);const Q=(0,o.useMemo)((()=>B.map(((e,t)=>(0,n.jsxs)(P,{rowIndex:i[t],children:[!f&&(0,n.jsx)(k.ZR,{as:"v2"!==O?"div":void 0,children:b}),e]},t)))),[B]),z=(0,o.useMemo)((()=>Q.slice(0,L)),[Q,L]);return x?(0,n.jsx)(n.Fragment,{children:Q}):p&&0!==z.length?(0,n.jsx)(n.Fragment,{children:z}):null})),(0,o.memo)((({count:e=10,enableCTA:t,CTAWrapper:i,style:r,usePillStyle:l})=>{var d;const c=(0,E.Q)(["wordDetail"]).wordDetail,{uniqueWord:h=""}=null!==(d=null==c?void 0:c.wordDetail)&&void 0!==d?d:{},p=(0,a.p3)(),[g,u]=(0,s.ez)(),m=(0,y.s)()("seo_kep_peopleSearchFor",{s_title:(0,S.lF)(h)});(0,A.o)((()=>{if(!h)return Promise.resolve();const t=u.fetchData({keyword:h,count:e}).then((e=>{var t;p.setData({relatedKeywords:null!==(t=e.resp)&&void 0!==t?t:{statusCode:0,relatedKeywords:[]}})}));return[t,()=>{u.reset()}]}),[h,e,u]);const v=T(h,g,10,!1,!1,i,"v2",t,l),f=(0,o.useMemo)((()=>v.map(((e,t)=>(0,n.jsxs)(P,{rowIndex:1,style:r,children:[(0,n.jsx)(k.ZR,{usePillStyle:l,children:m}),e]},t)))),[v]);return h?(0,n.jsx)(n.Fragment,{children:f}):null})))},87668:(e,t,i)=>{i.d(t,{w:()=>Wt});var n=i(24643),o=i(25616),a=i(52702),s=i(13190),r=i(13474),l=i(58632),d=i(34741),c=i(40099),h=i(62186),p=i(11328);const g=(0,h.default)("div",{target:"e1dw7u0z0"})({display:"flex",flexDirection:"column",background:"rgba(255, 255, 255, 1)",borderRadius:"16px 16px 0 0"},"label:Container;"),u=(0,h.default)("div",{target:"e1dw7u0z1"})((({})=>({width:"100%",zIndex:50,background:"rgb(248, 248, 248)"})),"label:TabBarBg;"),m=(0,h.default)("div",{target:"e1dw7u0z2"})((({top:e})=>({position:"fixed",top:`${e}px`,width:"100%",opacity:"0",zIndex:50,background:"rgb(248, 248, 248)"})),"label:TabBarBgFixed;"),v=(0,h.default)("div",{target:"e1dw7u0z3"})({display:"flex",gap:"0.5rem",scrollbarWidth:"none",padding:"24px 16px 16px 16px;",zIndex:50,background:"rgba(255, 255, 255, 1)",borderRadius:"16px 16px 0 0"},"label:TabContainer;"),f=(0,h.default)("div",{target:"e1dw7u0z4"})((e=>({height:"32px",borderRadius:"999px",transition:"all 0.2s",backgroundColor:e.isActive?"#000":"rgba(0, 0, 0, 0.05)",textDecoration:"none !important",padding:"7px 12px",display:"flex",justifyContent:"center",alignItems:"center",fontSize:"14px",fontStyle:"normal",fontWeight:500,lineHeight:"130%",letterSpacing:"0.093px"})),"label:TabButton;"),_=(0,h.default)("h2",{target:"e1dw7u0z5"})((e=>({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"200px",color:e.isActive?"rgba(255, 255, 255, 1)":"rgba(0, 0, 0, 0.65)",fontSize:"14px",fontWeight:500})),"label:H2Label;"),k=(0,h.default)("div",{target:"e1dw7u0z6"})({minHeight:"200px",padding:"0 16px"},"label:ContentContainer;"),x=(0,h.default)("section",{target:"e1dw7u0z7"})((({display:e})=>({display:e,marginBottom:"2rem","&:last-child":{marginBottom:0}})),"label:TabSection;"),b=(0,h.default)(p.EA.Title,{target:"e1dw7u0z9"})({borderRadius:999,height:32,width:"100px"},"label:TabButtonSkeleton;"),A=((0,c.createContext)({curTabId:"",curTabIndex:-1}),c.memo((({showSkeleton:e,tabs:t,enableAnchor:i,activeTab:o,handleTabClick:a,style:s})=>(0,n.jsx)(v,Object.assign({style:s},{children:e?Array(3).fill(null).map(((e,t)=>(0,n.jsx)(b,{},t))):(0,n.jsx)(n.Fragment,{children:t.map((e=>(0,n.jsx)(f,Object.assign({isActive:o===e.id,onClick:a(e.id)},i&&{href:`#${e.id}`,as:"a"},{children:(0,n.jsx)(_,Object.assign({isActive:o===e.id},{children:e.label}))}),e.id)))})}))))),w=e=>{var t,{tabs:i,enableAnchor:o,onTabChange:a,defaultActiveTab:s=(null===(t=i[0])||void 0===t?void 0:t.id),showSkeleton:r,topOffset:h=0,useFixedTabBar:p,style:v,tabContainerStyle:f,contentContainerStyle:_}=e;const[b,w]=(0,c.useState)(s),[y,C]=(0,c.useState)(new Set([i[0].id])),j=i.findIndex((e=>e.id===b)),S=(0,c.useRef)(!1),E=(0,c.useRef)({}),I=(0,c.useRef)(null),P=(0,c.useRef)(null);(0,c.useEffect)((()=>{w(s),C(new Set([s]))}),[s]);const T=(0,c.useCallback)((()=>{var e,t;if(!p)return;const i=(null!==(t=null===(e=I.current)||void 0===e?void 0:e.getBoundingClientRect().top)&&void 0!==t?t:0)(window.addEventListener("scroll",T),()=>{window.removeEventListener("scroll",T)})),[]);const D=(0,c.useContext)(d.P),{reportEvent:O}=D,B=(0,l.__rest)(D,["reportEvent"]),{isBot:L}=B,R=(0,c.useCallback)(((e,t={})=>{O(e,Object.assign(Object.assign({},t),{tab_category:b,tab_order:j+1}))}),[b,j,O]);(0,c.useEffect)((()=>{b&&window.scrollTo({top:E.current[b]||0,behavior:"instant"})}),[b]);const M=(0,c.useCallback)((e=>t=>{if(null==t||t.preventDefault(),b===e)return;const n=window.pageYOffset||document.documentElement.scrollTop;E.current[b]=n,history.replaceState(null,"",`#${e}`),w(e),C((t=>new Set([...t,e]))),O("general_click",{section:"tab",tab_category:e,tab_order:i.findIndex((t=>t.id===e))}),null==a||a(e)}),[b,a,O,i]),Q=(0,c.useMemo)((()=>({tab_category:b})),[b]),z=(0,c.useCallback)((()=>(0,n.jsx)(k,Object.assign({style:_},{children:i.map((e=>(0,n.jsx)(x,Object.assign({id:e.id,display:b===e.id||L?"block":"none"},{children:(L||y.has(e.id))&&e.content}),e.id)))}))),[i,b,L,y]),V=(0,c.useMemo)((()=>({showSkeleton:r,tabs:i,enableAnchor:o,activeTab:b,handleTabClick:M,style:f})),[r,i,o,b,M,f]);return(0,n.jsx)(d.P.Provider,Object.assign({value:Object.assign(Object.assign({},B),{reportEvent:R,sharedDataTabList:Q})},{children:(0,n.jsxs)(g,Object.assign({style:v},{children:[!L&&(p?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m,Object.assign({top:h,id:"tab-bar-fixed",ref:P},{children:(0,n.jsx)(A,Object.assign({},V))})),(0,n.jsx)(u,Object.assign({isBot:L,top:h,id:"tab-bar",ref:I},{children:(0,n.jsx)(A,Object.assign({},V))}))]}):(0,n.jsx)(A,Object.assign({},V))),z()]}))}))};var y=i(73184),C=i(7058),j=i(79479),S=i.n(j),E=i(26930),I=i(18330),P=i(20024),T=i(82858),D=i(60484),O=i(48615),B=i(54343),L=i(58305),R=i(52112),M=i(99351),Q=i(24837),z=i(89739),V=i(84827);const W=(0,h.default)("div",{target:"e1i5jnz00"})({display:"flex",justifyContent:"center"},"label:DivLoading;"),N=({callback:e,maxExecuteCount:t,offset:i=250,disabled:o=!1})=>{const[a,s]=(0,c.useState)(!1),r=(...t)=>(s(!0),e(...t)),l=(0,c.useCallback)(r,[e]),d=(0,c.useMemo)((()=>({rootMargin:`0px 0px ${i}px 0px`})),[]),h=(0,c.useCallback)((0,z.o)(r,t),[e]),p=(0,Q.Pd)({callback:t?h:l,outScreen:()=>{s(!1)},options:d});return o?(0,n.jsx)(n.Fragment,{}):(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)(W,Object.assign({"data-e2e":"loading-more"},{children:(0,n.jsx)(V.R,{})})),(0,n.jsx)("div",{ref:p,id:"bottom","data-e2e":"load-more-bottom"})]})},F=(0,h.default)("span",{target:"ed7554z0"})({fontSize:"14px",color:"rgba(0, 0, 0, 0.48)"},"label:EmptyText;"),H=(0,h.default)("div",{target:"ed7554z1"})({width:"100%",height:"50vh",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},"label:EmptyContainer;"),U=i.p+"368402dbe1495883038a.png",G=(0,c.memo)((({style:e})=>(0,n.jsxs)(H,Object.assign({style:e},{children:[(0,n.jsx)("img",{src:U}),(0,n.jsx)(F,Object.assign({style:{fontSize:"14px",color:"rgba(0, 0, 0, 0.48)"}},{children:"Oops..Nothing here"}))]}))));var q=i(58542),J=i(72688),K=i(10828),Y=i(99137),X=i(35357),Z=i.n(X);const $=(0,h.default)("div",{target:"ekwczab0"})({position:"relative",width:"100%"},"label:DivPlayer;"),ee=(0,h.default)("div",{target:"ekwczab1"})((({ratio:e="134%",height:t})=>({position:"relative",width:"100%",height:t,paddingTop:e})),"label:DivPlayerInner;"),te=(0,h.default)("div",{target:"ekwczab2"})({position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden"},"label:DivPlayerContainer;"),ie=(0,h.default)("video",{target:"ekwczab3"})({position:"absolute",top:0,left:0,bottom:0,right:0,display:"block",width:"100%",height:"100%",objectFit:"cover",zIndex:1},"label:VideoBasic;"),ne=(0,h.default)("div",{target:"ekwczab4"})({position:"absolute",top:0,left:0,bottom:0,right:0,display:"flex",alignItems:"center",zIndex:2},"label:DivLoadingContainer;"),oe=(0,h.default)("img",{target:"ekwczab5"})({display:"block",width:"100%",height:"100%",objectFit:"cover"},"label:ImgPoster;"),ae=(0,h.default)(p.EA.VideoCover,{target:"ekwczab6"})({display:"block",width:"100%",height:"100%"},"label:VideoCoverSkeleton;"),se=(0,h.default)("div",{target:"ekwczab7"})({display:"block",width:"100%",height:"60vw",background:"#000",marginBottom:"8px",borderRadius:"4px"},"label:DivBlackSkeleton;"),re=(0,h.default)("div",{target:"ekwczab8"})({position:"absolute",width:"100%",height:"100%",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",zIndex:2},"label:DivIconContainer;");function le(e){if(!e)return;const t=e.split(":").map(Number),i=t[0],n=t[1]/i*100;return`${Math.floor(n)}%`}const de=({style:e,heightWidthRatio:t,useBlackSkeleton:i})=>(0,n.jsx)($,{children:(0,n.jsx)(ee,Object.assign({ratio:t,style:e},{children:(0,n.jsx)(te,{children:i?(0,n.jsx)(se,{}):(0,n.jsx)(ae,{})})}))}),ce=({src:e,poster:t,posterAlt:i,isPlaying:o=!1,muted:a=!0,isImageMode:s=!1,etVideoShowParams:r,aspectRatio:l,onPlay:h,onError:p,onClick:g,onPosterLoad:u,style:m,showSkeleton:v=!1,repeatDuplicateALink:f=!1,VideoALink:_,showPlayIcon:k,playIconSize:x,videoHeight:b,disableLazyload:A=!1,coverEagerLoad:w=!1,shouldPlayWhenCentered:y,imagePost:C})=>{const j=(0,c.useRef)(null),S=(0,c.useRef)(null),[E,I]=(0,c.useState)(!1),{isBot:T}=(0,c.useContext)(d.P),D=s||T,O=(0,c.useMemo)((()=>le(l)),[l]);((e,t,i=!0)=>{const{reportEvent:n}=(0,c.useContext)(d.P),{index:o,itemId:a,keyword:s,request_id:r,collectCount:l,commentCount:h,diggCount:p,playCount:g,shareCount:u,createTime:m,showLabel:v,labelType:f}=t||{},_=(0,c.useCallback)((()=>n("video_show",{keyword:s,display_order:o,group_id:a,request_id:r,collectCount:l,commentCount:h,diggCount:p,playCount:g,shareCount:u,createTime:m,show_label:v,label_type:f})),[o,a,s,r,n,l,h,p,g,u,m,v,f]),k=(0,c.useMemo)((()=>Z()(_)),[_]),x=(0,c.useMemo)((()=>"function"!=typeof IntersectionObserver?null:new IntersectionObserver((e=>{e[0].isIntersecting&&(k(),null==x||x.disconnect())}),{threshold:.2})),[k]);(0,c.useEffect)((()=>(i&&e.current&&t&&(null==x||x.observe(e.current)),()=>null==x?void 0:x.disconnect())),[e,x,i,t])})(j,r,!v);const[B,L]=(0,c.useState)(o);(0,c.useEffect)((()=>{L(o)}),[o]),(0,c.useEffect)((()=>{const e=()=>{y&&j.current&&L(!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}})),(0,c.useEffect)((()=>{var e;B&&!v&&(I(!0),null===(e=S.current)||void 0===e||e.load())}),[B,v]);const R=(0,c.useCallback)((e=>{var t;I(!1),null===(t=S.current)||void 0===t||t.play().catch((e=>{throw e})),null==h||h(e)}),[h]),M=(0,c.useCallback)((()=>{I(!1)}),[]),Q=(0,c.useCallback)((()=>{I(!0)}),[]),z=(0,c.useCallback)((e=>{I(!1),null==p||p(e)}),[p]),W=P.Rg("video-card-for-bot-hook",{src:e,poster:t,posterAlt:i,Img:oe,Video:ie,imagePost:C});return v?(0,n.jsx)(de,{style:m,heightWidthRatio:O}):(0,n.jsxs)($,Object.assign({"data-e2e":"video",style:m,onClick:g,ref:j},{children:[k&&!B&&(0,n.jsx)(re,Object.assign({"data-e2e":"skeleton-play-icon"},{children:(0,n.jsx)(q.maO,{size:String(null!=x?x:40),style:{opacity:"0.8"}})})),f&&_,(0,n.jsxs)(ee,Object.assign({ratio:O,height:b},{children:[f&&_,(0,n.jsxs)(te,Object.assign({"data-e2e":"video"},{children:[(0,n.jsxs)(n.Fragment,{children:[B&&!D&&(0,n.jsxs)(n.Fragment,{children:[E&&(0,n.jsx)(ne,{children:(0,n.jsx)(V.R,{center:!0})}),(0,n.jsx)(ie,{ref:S,src:e,loop:!0,muted:a,autoPlay:!0,playsInline:!0,onCanPlay:R,onPlaying:M,onWaiting:Q,onError:z})]}),(null==W?void 0:W.videoCard4Bot)||(0,n.jsx)("img",{src:t,loading:w?"eager":A?void 0:"lazy",decoding:A||w?void 0:"async",alt:i,onLoad:u,"data-fmp":!0,fetchpriority:w?"high":"auto",style:{display:"block",width:"100%",height:"100%",objectFit:"cover"}})]}),f&&_]}))]}))]}))};var he=i(84987);const pe={id:"icon-frame-bc14f4b8",use:"icon-frame-bc14f4b8-usage",viewBox:"0 0 13 13",content:''};function ge(e){const t=(0,c.useContext)(he.X);return(0,c.useLayoutEffect)((()=>(t.add(pe),()=>{t.remove("icon-frame-bc14f4b8")})),[]),(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e,{children:(0,n.jsx)("use",{xlinkHref:"#icon-frame-bc14f4b8"},void 0)}),void 0)}const ue=(0,h.default)(q.Y8r,{target:"evm53gn0"})((()=>[{"& .TUXTag-label":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"93px"}}]),"label:StyledTUXTag;"),me={likes:{label_key:"bc_sort_like",icon:(0,n.jsx)(ge,{})},hot:{label_key:"expansion_SEO_hot",icon:(0,n.jsx)(ge,{})}},ve=(0,c.memo)((({type:e})=>{const{label_key:t,icon:i}=me[e],a=(0,o.s)();return(0,n.jsx)(ue,{label:a(t),leadingIcon:i})}));var fe=i(92846),_e=i(72153);const ke=(0,h.default)("div",{target:"ee0kwrn0"})({position:"relative"},"label:DivVideoCard;"),xe=(0,h.default)("div",{target:"ee0kwrn1"})({position:"relative",width:"100%",borderRadius:"4px",overflow:"hidden"},"label:DivVideoPlayer;"),be=(0,h.default)("div",{target:"ee0kwrn2"})({position:"absolute",bottom:"0px",left:"0px",right:"0px",padding:"40px 8px 8px",lineHeight:"20px",width:"100%",backgroundImage:"linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 97%)",fontSize:"13px",fontWeight:500,color:"#fff",zIndex:2,"& span":{color:"rgba(240, 240, 240, 1)"}},"label:DivViews;"),Ae=(0,h.default)("div",{target:"ee0kwrn3"})({display:"flex",justifyContent:"space-between",alignItems:"center"},"label:DivFlexBetween;"),we=(0,h.default)("span",{target:"ee0kwrn4"})({display:"flex",alignItems:"center"},"label:SpanInfo;"),ye=(0,h.default)("span",{target:"ee0kwrn5"})((({theme:e})=>"ltr"===e.direction?{marginLeft:"4px"}:{marginRight:"4px"}),"label:SpanViews;"),Ce=(0,h.default)("div",{target:"ee0kwrn6"})({position:"relative",padding:"0 2px",marginTop:"8px",width:"100%",userSelect:"none"},"label:DivMetadata;"),je=(0,h.default)("div",{target:"ee0kwrn7"})((({isDisplayText:e,maxDescLines:t})=>({position:"relative",maxHeight:e?"auto":`calc(17px * ${t})`,display:"flex",justifyContent:"space-between"})),"label:DivCaption;"),Se=(0,h.default)("span",{target:"ee0kwrn8"})((({theme:e})=>(0,_e.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"semiBold",fontSize:13})),(({isDisplayText:e,maxDescLines:t=2})=>({lineHeight:"17px",cursor:"pointer",textDecoration:"none",display:"-webkit-box",wordBreak:"break-word",WebkitBoxOrient:"vertical",WebkitLineClamp:e?"none":t,overflow:e?"visible":"hidden",":hover":{textDecoration:"none"}})),"label:SpanCaptionText;"),Ee=(0,h.default)("span",{target:"ee0kwrn9"})((({theme:e})=>[(0,_e.zy)({theme:e,color:"TextTertiary2"}),{display:"flex",justifyContent:"end",alignItems:"end",paddingBottom:"4px",fontSize:0,width:"20px",flexShrink:0},"ltr"===e.direction?{right:0,textAlign:"right"}:{left:0,textAlign:"left"}]),"label:SpanChevronContainer;"),Ie=(0,h.default)("div",{target:"ee0kwrn10"})({display:"flex",height:"24px",width:"100%",marginTop:"4px",alignItems:"center",justifyContent:"space-between",gap:"10px"},"label:DivAnchorInfo;"),Pe=(0,h.default)("span",{target:"ee0kwrn11"})({display:"flex",alignItems:"center",overflow:"hidden",whiteSpace:"nowrap"},"label:SpanAnchor;"),Te=(0,h.default)("span",{target:"ee0kwrn12"})(_e.PR,(({theme:e})=>(0,_e.zy)({theme:e,color:"TextTertiary2"})),{flex:1,fontWeight:600,fontSize:"13px",margin:"0 3px"},"label:SpanAnchorName;"),De=(0,h.default)("span",{target:"ee0kwrn13"})({display:"flex",alignItems:"center",flexShrink:0,fontSize:12,color:"rgba(22, 24, 35, 0.5)",fontWeight:600},(({theme:e})=>(0,_e.zy)({theme:e,color:"TextTertiary2"})),"label:SpanLikes;"),Oe=(0,h.default)(p.EA.Title,{target:"ee0kwrn14"})((({width:e})=>({borderRadius:2,height:"14px",width:null!=e?e:"100%"})),"label:StyledSkeletonVideoTitle;"),Be=(0,h.default)(p.EA.Avatar,{target:"ee0kwrn15"})((({width:e,height:t})=>({alignItems:"center",width:null!=e?e:"16px",height:null!=t?t:"16px",marginRight:"2px"})),"label:StyledSkeletonAvatar;"),Le=(0,h.default)(Ie,{target:"ee0kwrn16"})((({theme:e})=>[{gap:"3px"},"ltr"===e.direction?{justifyContent:"left"}:{justifyContent:"right"}]),"label:StyledAnchorInfo;"),Re=(0,h.default)("div",{target:"ee0kwrn18"})({position:"absolute",top:0,left:0,right:0,padding:"8px",height:"40px",zIndex:5,background:"linear-gradient(to top, rgba(0, 0, 0, 0.0001) 2.92%, rgba(0, 0, 0, 0.5) 98.99%)","& span":{color:"#fff"},"& svg":{fill:"#fff"}},"label:DivOverlayTop;"),Me=(0,c.memo)((({avatar:e,name:t,isBadge:i,onClickUser:o,style:a})=>(0,n.jsxs)(Pe,Object.assign({onClick:o},{children:[(0,n.jsx)(fe.e,{"data-e2e":"video-user-avatar",size:16,src:e}),(0,n.jsx)(Te,Object.assign({"data-e2e":"video-user-name",style:a},{children:t})),i&&(0,n.jsx)(q.VA8,{size:"10"})]})))),Qe=(0,c.memo)((({showFullDesc:e,onThreeDotsClick:t,useThreeDotStyle:i,style:o})=>e?(0,n.jsx)(n.Fragment,{}):(0,n.jsx)(Ee,Object.assign({"data-e2e":"show-info-card-icon",onClick:t,style:o},{children:i?(0,n.jsx)(q.o4f,{size:"20",style:{color:"rgba(22, 24, 35, 0.5)"}}):(0,n.jsx)(q.JPW,{size:"16",style:{color:"rgba(22, 24, 35, 0.5)"}})})))),ze=(0,c.memo)((({onClickVideo:e,likeCount:t,hideCount:i})=>(0,n.jsxs)(De,Object.assign({"data-e2e":"video-likes",onClick:e},{children:[(0,n.jsx)(q.i8t,{size:"16"}),i?"":(0,D.D1)(t)]})))),Ve=(0,c.memo)((({caption:e,onClickDesc:t,onClickUser:i,onClickLike:o,showFullDesc:a,maxDescLines:s=2,avatar:r,name:l,isBadge:d,likeCount:c,hideCount:h,itemId:p,videoHref:g,videoTitle:u,userLink:m,onThreeDotsClick:v,CTAWrapper:f=Ne,showInfoCardIcon:_=!0})=>e.length>0?(0,n.jsxs)(Ce,Object.assign({isDisplayText:a,maxDescLines:s},{children:[s>0&&(0,n.jsxs)(je,Object.assign({"data-e2e":"video-caption",isDisplayText:a,maxDescLines:s},{children:[(0,n.jsx)(f,Object.assign({href:g,title:u,section:"video",itemId:p,onClick:t},{children:(0,n.jsx)(Se,Object.assign({isDisplayText:a,maxDescLines:s},{children:e}))})),!a&&_&&(0,n.jsx)(Qe,{onThreeDotsClick:v,showFullDesc:a})]})),(0,n.jsx)(f,Object.assign({href:m,title:u,section:"video_user",itemId:p,onClick:i},{children:(0,n.jsxs)(Ie,Object.assign({"data-e2e":"video-user-item"},{children:[(0,n.jsx)(Me,{avatar:r,name:l,isBadge:d}),(0,n.jsx)(f,Object.assign({title:u,section:"like",itemId:p,onClick:o,disableATag:!0,linkForNavigation:g},{children:(0,n.jsx)(ze,{likeCount:c,hideCount:h})}))]}))}))]})):(0,n.jsx)(Ce,{children:(0,n.jsxs)(Ie,Object.assign({"data-e2e":"video-user-item"},{children:[(0,n.jsx)(f,Object.assign({href:m,title:u,section:"video_user",itemId:p},{children:(0,n.jsx)(Me,{avatar:r,name:l,isBadge:d})})),_&&(0,n.jsx)(Qe,{onThreeDotsClick:v})]}))}))),We=({style:e,useBlackSkeleton:t,showSkeletonPlayIcon:i,aspectRatio:o,noWrapper:a,maxDescLines:s=2,metaPosition:r})=>{const{reportEvent:l}=(0,c.useContext)(d.P),h=(0,c.useCallback)((()=>{l("general_click",{section:"video",click_position:"skeleton"})}),[]),p=(0,c.useMemo)((()=>le(o)),[o]);return(0,n.jsxs)(ke,Object.assign({style:Object.assign({marginBottom:a?"16px":0},e),onClick:h},{children:[(0,n.jsx)(xe,{children:(0,n.jsx)(de,{useBlackSkeleton:t,heightWidthRatio:p,showSkeletonPlayIcon:i,style:e})}),"overlay"!==r&&(0,n.jsxs)(Ce,{children:[(0,n.jsx)(je,Object.assign({style:{flexDirection:"column",height:`calc(17px * ${s})`},maxDescLines:s},{children:Array(s).fill(0).map(((e,t)=>(0,n.jsx)(Oe,{width:t===s-1?"80%":void 0},t)))})),(0,n.jsxs)(Le,Object.assign({style:{height:0===s?"auto":"24px"}},{children:[(0,n.jsx)(Be,{}),(0,n.jsx)(Oe,{width:"40%"})]}))]})]}))},Ne=({children:e})=>(0,n.jsx)("span",Object.assign({style:{overflow:"hidden"}},{children:(0,n.jsx)("a",Object.assign({href:K.C},{children:e}))})),Fe=(0,c.forwardRef)((({itemId:e,caption:t="",viewCount:i=0,likeCount:o=0,showView:a=!1,createTimeText:s="1w ago",showCreateTime:r=!1,avatar:l,name:d,isBadge:h=!1,isPlaying:p=!1,playerProps:g,CTAWrapper:u=Ne,useVideoTitleAndHref:m,itemStruct:v,onThreeDotsClick:f,onClickVideo:_,onClickUser:k,onClickDesc:x,onClickLike:b,style:A={},showSkeleton:w,repeatDuplicateALink:y=!1,ItemDescription:C,itemTags:j,transcript:S,showInfoCard:E=!1,showFullDesc:I=!1,modifyHtmlTag:P=!1,useBotTitle:T=!1,useArticleHtmlTag:O=!1,keyword:B,coverEagerLoad:L=!1,hideCount:R=!1,maxDescLines:M=2,metaPosition:Q="bottom",showInfoCardIcon:z=!0,customTdk:V,imagePost:W,showLabel:N,labelType:F},H)=>{const{href:U,title:G}=m(v),{author:K}=(0,D.L$)(v),{secUid:X,uniqueId:Z}=(0,D.L$)(K),$=`${(0,J.fJR)({uniqueId:Z,secUid:X})}`,ee=(0,c.useMemo)((()=>(0,n.jsx)("a",{href:U,title:G})),[U,G]),te=(0,c.useMemo)((()=>({show_label:N,label_type:F})),[N,F]);return w?(0,n.jsx)(We,{style:A,maxDescLines:"overlay"===Q?0:M,metaPosition:Q}):(0,n.jsxs)(ke,Object.assign({"data-e2e":"video-item",style:A,ref:H,as:P&&O?"article":void 0},{children:[(0,n.jsx)(u,Object.assign({href:U,title:G,section:"video",itemId:e,extraSchemeParams:te},{children:(0,n.jsxs)(xe,Object.assign({onClick:_},{children:[y&&ee,(0,n.jsx)(ce,Object.assign({},g,{isPlaying:p,showSkeleton:w,repeatDuplicateALink:y,VideoALink:ee,disableLazyload:P,coverEagerLoad:L,imagePost:W})),("overlay"===Q||0===M)&&(0,n.jsxs)(Re,{children:[N&&F&&(0,n.jsx)(ve,{type:F}),(0,n.jsx)(Qe,{showFullDesc:I,onThreeDotsClick:f,useThreeDotStyle:!0,style:{position:"absolute",top:"8px",insetInlineEnd:"8px"}})]}),(0,n.jsxs)(be,Object.assign({"data-e2e":"video-views"},{children:["overlay"===Q&&(0,n.jsx)(je,Object.assign({"data-e2e":"video-caption",isDisplayText:I,maxDescLines:M,style:{marginBottom:"4px"}},{children:(0,n.jsx)(u,Object.assign({href:U,title:G,section:"video",itemId:e,onClick:x,extraSchemeParams:te},{children:(0,n.jsx)(Se,Object.assign({isDisplayText:I,maxDescLines:M},{children:t}))}))})),(0,n.jsxs)(Ae,{children:[a&&(0,n.jsx)(we,{children:!R&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(q.GeO,{size:"20"}),(0,n.jsx)(ye,{children:(0,D.D1)(i)})]})}),r&&(0,n.jsx)(we,{children:s})]})]}))]}))})),E?(0,n.jsx)(Y.default,{ItemDescription:C,itemDetail:v,itemTags:j,currentTranscript:null!=S?S:"",isDisplayNone:!1,isOpen:!1,showInfoCardInDesc:E,handleClose:()=>{},useSectionHtmlTag:P,useBotTitle:T,keyword:B,customTdk:V}):"bottom"===Q&&(0,n.jsx)(Ve,{caption:t,onClickDesc:x,onClickUser:k,onClickVideo:_,onClickLike:b,showFullDesc:I,maxDescLines:M,avatar:l,name:d,isBadge:h,likeCount:o,hideCount:R,userLink:$,itemId:e,videoHref:U,videoTitle:G,onThreeDotsClick:f,CTAWrapper:u,showInfoCardIcon:z})]}))}));var He=i(90159);const Ue=(0,h.default)("div",{target:"e1n7j4el0"})({display:"grid",gridTemplateColumns:"repeat(2, calc(50% - 4px))",gap:"16px 8px"},"label:DivVideoListContainer;"),Ge=(0,h.default)("div",{target:"e1n7j4el1"})((({rowIndex:e})=>({gridArea:`${e} / 1 / auto / -1`})),"label:InsertComponentWrapper;"),qe={gridColumn:"span 2"},Je=({videoSkeletonCount:e=6,showSkeletonPlayIcon:t,useBlackSkeleton:i,SkeletonWrapper:o=e=>(0,n.jsx)(n.Fragment,{children:e.children}),styleList:a,style:s,noWrapper:r,maxDescLines:l=2,metaPosition:d="bottom",isFirstVideoBigger:c})=>{const h=(0,n.jsx)(n.Fragment,{children:new Array(e).fill(null).map(((e,s)=>{var h;const p=null!==(h=null==a?void 0:a[s])&&void 0!==h?h:{};return(0,n.jsx)(o,{children:(0,n.jsx)(We,{showSkeletonPlayIcon:t,useBlackSkeleton:i,aspectRatio:p.aspectRatio,style:Object.assign(Object.assign({},p.style),c&&0===s&&qe),showMetaData:p.showMetaData,noWrapper:r,maxDescLines:l,metaPosition:d},s)},s)}))});return r?h:(0,n.jsx)(Ue,Object.assign({style:s},{children:h}))},Ke=({items:e=[],styleList:t=[],rowsPerInsert:i=3,componentsToInsert:o=[],InsertAtFirst:a,topInvalidHeight:s=0,bottomInvalidHeight:r=0,onThreeDotsClick:l,style:h,showSkeleton:p=!1,etClickParams:g={keyword:"",scene:"main_page"},repeatDuplicateALink:u=!1,tagKeywordPathList:m,transcriptList:v,ItemDescription:f,showDesc:_=!1,showInfoCard:k=!1,SkeletonWrapper:x=c.Fragment,videoSkeletonCount:b=6,showSkeletonPlayIcon:A,useBlackSkeleton:w,disableAutoPlay:y,isFirstVideoBigger:C,modifyHtmlTag:j=!1,useBotTitle:S=!1,useArticleHtmlTag:E=!1,keyword:I,coverEagerLoad:P=!1,noWrapper:T=!1,hideCount:D=!1,maxDescLines:O,metaPosition:B="bottom",showInfoCardIcon:R=!0,showEmptyUI:M,videoCustomTdk:Q={}})=>{const{reportEvent:z}=(0,c.useContext)(d.P),V=null!=a?a:c.Fragment,W=(0,c.useCallback)(((e,t)=>i=>{(0,L.Gu)(i),z("general_click",Object.assign({section:"info_card_icon",display_order:t,group_id:e.id},g)),null==l||l(e)}),[l,z,g]),N=(0,c.useCallback)(((e,t,i,n)=>()=>{z("general_click",Object.assign(Object.assign({section:"video",display_order:t,group_id:e,request_id:i},g),n))}),[z,g]),F=(0,c.useCallback)(((e,t)=>i=>{(0,L.Gu)(i),z("general_click",Object.assign({section:"video_user",display_order:t,group_id:e},g))}),[z,g]),H=(0,c.useCallback)(((e,t,i)=>n=>{(0,L.Gu)(n),z("general_click",Object.assign({section:"video_desc",display_order:t,group_id:e},i))}),[z,g]),U=(0,c.useCallback)(((e,t)=>i=>{(0,L.Gu)(i),z("general_click",Object.assign({section:"like",display_order:t,group_id:e},g))}),[z,g]),{playingIndex:q,videoRefs:J}=((e,t,i,n,o=!1,a=!1)=>{const[s,r]=(0,c.useState)(0),l=(0,c.useRef)(0),d=(0,c.useRef)([]),h=(0,c.useRef)(0),p=(0,c.useRef)(0),g=(0,c.useRef)(0),u=(0,c.useRef)(0),m=(0,c.useRef)(0),[v,f]=(0,c.useState)("up"),_=(0,He.d7)((()=>{if(0===d.current.length||e)return;const t=window.pageYOffset||document.documentElement.scrollTop,i=t>h.current?"up":"down";f(i);const n=l.current,o=[],s=d.current,c=s.length;if("up"===i)for(let e=n;en&&r(d)}else for(let e=Math.min(n+1,c-1);e>=0;e--){const t=s[e].getBoundingClientRect(),i=a?0===e||e%2!=0:e%2==0,l=!i;i&&t.bottom>u.current&&t.bottomm.current&&e(window.addEventListener("scroll",_),()=>{window.removeEventListener("scroll",_)})),[_]),(0,c.useEffect)((()=>{const t=window.innerHeight-i-n,o=d.current[0];if(!e&&void 0!==o){const e=o.getBoundingClientRect().height,n=Math.min(.4*t-40,.8*e);p.current=i+40,g.current=p.current+n,u.current=.4*t+i,m.current=u.current+n}}),[n,i,e]),(0,c.useEffect)((()=>{l.current=s}),[s]),o?{playingIndex:-1}:{playingIndex:s,videoRefs:d,boundaryParams:{direction:v,upTop:p.current,upBottom:g.current,downTop:u.current,downBottom:m.current}}})(p,e.length,s,r,y,C);if(p)return(0,n.jsx)(Je,{styleList:t,videoSkeletonCount:b,showSkeletonPlayIcon:A,useBlackSkeleton:w,SkeletonWrapper:x,noWrapper:T,style:h,maxDescLines:O,metaPosition:B,isFirstVideoBigger:C});if(0===e.length&&M)return(0,n.jsx)(G,{style:qe});const K=a?q-1:q,Y=(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)("div",Object.assign({ref:e=>{J.current[0]=e}},{children:(0,n.jsx)(V,{isPlaying:0===q})})),e.map(((e,t)=>{const{itemStruct:i,sort_id:o,imagePost:s,showLabel:r,labelType:l}=e,{id:d}=i,c=Object.assign({display_order:t,show_label:r,label_type:l,group_id:d},0===t&&{card_type:"big"});return T&&(e.style=Object.assign({},e.style,{marginBottom:"16px"})),(0,n.jsx)(Fe,Object.assign({},e,{isPlaying:K===t,showSkeleton:p,ref:e=>{J&&(J.current[a?t+1:t]=e)},onThreeDotsClick:W(i,t),onClickVideo:N(d,t,o,c),onClickUser:F(d,t),onClickDesc:H(d,t,c),onClickLike:U(d,t),repeatDuplicateALink:u,showView:!0,showCreateTime:!0,itemTags:m?m[d]:void 0,transcript:v?v[d]:void 0,ItemDescription:f,showDesc:_,showInfoCard:k,modifyHtmlTag:j,useBotTitle:S,useArticleHtmlTag:E,keyword:I,coverEagerLoad:P,hideCount:D,enableVideoPlaceHolder:y,maxDescLines:O,metaPosition:B,showInfoCardIcon:R,customTdk:Q[d],imagePost:s,style:Object.assign(Object.assign({},C&&0===t&&qe),e.style)}),t)})),o.map(((e,t)=>(0,n.jsx)(Ge,Object.assign({rowIndex:(t+1)*(i+1)},{children:e}),t)))]});return T?Y:(0,n.jsx)(Ue,Object.assign({style:h,as:j?"main":void 0},{children:Y}))};var Ye=i(16891),Xe=i(32125),Ze=i(58473),$e=i(17566),et=i(49057),tt=i(93639);const it=e=>{var t;const i=(0,o.s)(),n=(0,$e._u)(),{language:a="en"}=null!==(t=(0,et.W)((()=>["language"]),[]))&&void 0!==t?t:{},s=(0,c.useMemo)((()=>n(e)),[e]),{title:r,description:l}=(0,c.useMemo)((()=>{var t,n;const o=(0,tt.G)({statusCode:0,itemInfo:{itemStruct:e},t:i,language:a});return{title:null!==(t=null==o?void 0:o.title)&&void 0!==t?t:null==e?void 0:e.desc,description:null!==(n=null==o?void 0:o.description)&&void 0!==n?n:null==e?void 0:e.desc}}),[i,a,e]);return{title:r,href:s,description:l}};var nt=i(94406),ot=i(33328),at=i(47172);function st(){const{isSearchEngineBot:e}=(0,D.L$)((0,O.U)((()=>["isSearchEngineBot"]),[]));return Boolean(e)}var rt=i(88920);function lt(e,t,i){var n;const{pathname:o}=(0,at.useLocation)(),a=st(),s=null!==(n=null==i?void 0:i.map((e=>e.id)))&&void 0!==n?n:[],[{transcriptList:r={},transcriptLoading:l=!1},d]=(0,nt.nJ)((e=>({transcriptList:e.transcriptList,transcriptLoading:e.loading})),{equalityFn:Xe.bN});(0,E.o)((()=>{var n;if(e&&!a&&!r[e]||a&&i&&i.length>0&&Object.keys(r).length<=0)return d.setTranscript(null!==(n=a?i:[t])&&void 0!==n?n:[])}),[d,a,e,null==i?void 0:i.length]);const[{tagKeywordPathList:c={},itemTagLoading:h=!1},p]=(0,ot.ZY)((e=>({tagKeywordPathList:e.tagKeywordPathList,itemTagLoading:e.loading})),{equalityFn:Xe.bN}),g=(0,rt.ul)();return(0,E.o)((()=>{if(a&&s.length>0&&Object.keys(c).length<=0||!a&&e&&!c[e])return p.setItemTagList(a?s:[e],{pathname:o},g)}),[p,a,o,e,null==s?void 0:s.length]),{tagKeywordPathList:c,itemTagLoading:h,transcriptList:r,transcriptLoading:l}}const dt=(0,i(47236).Ay)({resolved:{},chunkName:()=>"info-card",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!i.m[t]},importAsync:()=>Promise.resolve().then(i.bind(i,99137)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return i(t)},resolve:()=>99137});i(80392);const ct=(0,c.memo)((e=>{var t;const{itemList:i=[],isOpen:o,item:s,onClose:r,CTAVideoWrapper:l=c.Fragment,isDisplayNone:d=!1,keyword:h="",modifyHtmlTag:p=!1,useBotTitle:g=!1,kepInfoCardDisplayNone:u=!1,videoCustomTdk:m}=e,v=st(),f=(0,c.useMemo)((()=>({section:"info_card"})),[]),_=null!==(t=null==s?void 0:s.id)&&void 0!==t?t:"",{showInfoCard:k}=(()=>{var e,t;const i=(0,a.wW)(),n=null!==(t=null===(e=null==i?void 0:i.parameters.seo_bot_kep_desc)||void 0===e?void 0:e.vid)&&void 0!==t?t:"v0",{isSearchEngineBot:o=!1}=(0,D.L$)((0,O.U)((()=>["isSearchEngineBot"]),[]));return{showDesc:"v1"===n&&o,showInfoCard:"v2"===n&&o}})(),{itemTagLoading:x,tagKeywordPathList:b,transcriptList:A,transcriptLoading:w}=lt(_,s,i);return!s&&!v||i.length<=0&&v||k?null:v?(0,n.jsx)(n.Fragment,{children:i.map((e=>(0,n.jsx)(dt,{isOpen:o,itemDetail:e,handleClose:r,itemTagLoading:x,itemTags:e.id?b[e.id]:[],ItemDescription:R.g,etClickParams:f,currentTranscript:e.id&&A[e.id],transcriptLoading:w,isDisplayNone:d,keyword:h,useSectionHtmlTag:p,useBotTitle:g,kepInfoCardDisplayNone:u,customTdk:m?m[e.id]:void 0})))}):(0,n.jsx)(n.Fragment,{children:s&&(0,n.jsx)(dt,{isOpen:o||v,itemDetail:s,handleClose:r,itemTagLoading:x,itemTags:s.id?b[s.id]:[],ItemDescription:R.g,etClickParams:f,currentTranscript:_&&A[_],transcriptLoading:w,CTAWrapper:l,isDisplayNone:d,customTdk:m?m[s.id]:void 0})})}));var ht=i(46803);const pt=(0,h.default)("div",{target:"e1mwvwpm0"})((({isMobile:e})=>e?{display:"grid",gridTemplateColumns:"repeat(2, calc(50% - 4px))",gridGap:"0 8px"}:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(184px, 1fr))",width:"100%",gap:"24px 16px"}),"label:DivVideoGridContainer;"),gt=(0,h.default)("h2",{target:"e1mwvwpm1"})({fontStyle:"normal",fontWeight:500,lineHeight:"130%",letterSpacing:"0.03px",color:"#000",marginBottom:"12px"},"label:H2Title;"),ut=e=>{var t;const{videoCount:i=6,videoCountAll:s=30,topInvalidHeight:r=44,bottomInvalidHeight:l=0,videoSkeletonCount:h=6,CTAVideoWrapper:p,onPosterLoad:g,style:u,category:m,shouldPlayWhenCentered:v,showInfoCardIcon:f}=e,_=(0,I.Q)(["wordDetail"]).wordDetail,{uniqueWord:k=""}=null!==(t=null==_?void 0:_.wordDetail)&&void 0!==t?t:{},[{videoListState:x},b]=(0,y.Xs)((e=>({videoListState:e[M.v[m]]})),{equalityFn:Xe.bN}),A=(0,T.Eo)(),{itemList:w=[],isLoading:C,hasMore:j,offset:S}=x,[E,z]=(0,c.useState)(),[V,W]=(0,c.useState)(!1),{isSearchEngineBot:F}=(0,D.L$)((0,O.U)((()=>["isSearchEngineBot"]),[])),[H,U]=(0,c.useState)(!1),{reportEvent:G}=(0,c.useContext)(d.P),q=(0,c.useMemo)((()=>null!=G?G:Ye.f.event),[G]),J=(0,c.useCallback)((()=>{q("show_section",{section:"video"})}),[]),K=(0,Q.Pd)({callback:J}),Y=(0,c.useCallback)((e=>{z(e),W(!0)}),[]);P.Rg("item-cover-use-stable-url-hook",{items:w});const X=(0,a.Nk)(),Z=(0,o.s)()(1===m?"seo_kep_groupName_newsMedia":"seo_kep_groupName_fromFYP"),$=((e=[],t,i,n,a,s)=>{const r=(0,o.s)(),{language:l="en"}=(0,D.L$)((0,et.W)((()=>["language"]),[])),d=(0,c.useRef)([]),{timeTranslator:h}=(0,ht.T)(void 0,!0),p=d.current;if(p.length===e.length)return p;const g=e.map(((e,o)=>{var d,c,p,g,u,m,v,f,_,k,x;const{cover:b,zoomCover:A}=e.video,w=(null==A?void 0:A[720])||b,y=null!==(d=(0,tt.G)({statusCode:0,itemInfo:{itemStruct:e},t:r,language:l}).description)&&void 0!==d?d:e.desc;return{itemId:e.id,caption:e.desc,viewCount:null!==(p=null===(c=e.stats)||void 0===c?void 0:c.playCount)&&void 0!==p?p:0,likeCount:null!==(u=null===(g=e.stats)||void 0===g?void 0:g.diggCount)&&void 0!==u?u:0,createTimeText:h(1e3*Number(e.createTime)),avatar:null!==(v=null===(m=e.author)||void 0===m?void 0:m.avatarThumb)&&void 0!==v?v:"",name:null!==(_=null===(f=e.author)||void 0===f?void 0:f.uniqueId)&&void 0!==_?_:"",isBadge:null===(k=e.author)||void 0===k?void 0:k.verified,CTAWrapper:i,itemStruct:e,sort_id:e.sort_id,useVideoTitleAndHref:n,playerProps:{src:null!==(x=e.video.playAddr)&&void 0!==x?x:"",poster:w,posterAlt:y,isImageMode:!1,etVideoShowParams:{index:o,itemId:e.id,keyword:t,request_id:e.sort_id},aspectRatio:"3: 4",onPosterLoad:a,showPlayIcon:!1,playIconSize:0===o?50:40,shouldPlayWhenCentered:s&&0===o}}}));return d.current=g,d.current})(w,k,p,it,g,v),ee=(0,B.a)(),te=(0,c.useMemo)((()=>({keyword:k,scene:"main_page"})),[k]),ie=(()=>{const e=(0,a.Nk)();return(0,B.a)()&&!e})(),ne=j&&w.length{const e=ne&&!C,t=w.length,n=s-t;e&&n>0&&k&&b.loadMore({keyword:k,count:n{(0,L.Gu)(e),W(!1)}),[]),{transcriptList:se,tagKeywordPathList:re}=lt("",void 0,w),le=C&&0===w.length;return(0,c.useEffect)((()=>{(!j||w.length>=s)&&Ze.X.emit("VideoListForKAP.showAll")}),[j,s,w.length]),(0,c.useEffect)((()=>{ne||U(!0)}),[ne,Ze.X]),(0,n.jsxs)(n.Fragment,{children:[0!==w.length&&X&&(0,n.jsx)(gt,{children:Z}),(0,n.jsxs)(pt,{ref:K,isMobile:ee,children:[(0,n.jsx)(Ke,{isFirstVideoBigger:ie,items:$,rowsPerInsert:3,videoSkeletonCount:h,topInvalidHeight:r,bottomInvalidHeight:l,onThreeDotsClick:Y,style:u,showSkeleton:le,etClickParams:te,repeatDuplicateALink:!0,transcriptList:se,tagKeywordPathList:re,ItemDescription:R.g,disableAutoPlay:!0,keyword:k,noWrapper:!0,hideCount:A,maxDescLines:1,modifyHtmlTag:!1,useArticleHtmlTag:!1,useBotTitle:!1,showDesc:!1,showInfoCard:F,showInfoCardIcon:f,showEmptyUI:!F&&1!==m}),!F&&(0,n.jsx)(ct,{item:E,itemList:w,isOpen:V,onClose:ae,CTAVideoWrapper:p,keyword:k,kepInfoCardDisplayNone:!1,isDisplayNone:!1,modifyHtmlTag:!1,useBotTitle:!1})]}),x.firstFetched&&(0,n.jsx)(N,{callback:oe,disabled:H,offset:50,maxExecuteCount:2})]})},mt=(0,h.default)("div",{target:"e1qluk9x0"})({display:"flex",gap:"12px",justifyContent:"space-between"},"label:FirstLevelComment;"),vt=(0,h.default)("div",{target:"e1qluk9x1"})({display:"flex",gap:"12px",flex:1},"label:CommentDetails;"),ft=(0,h.default)("div",{target:"e1qluk9x2"})({display:"flex",alignItems:"center",position:"relative",width:"100%",height:"20px",padding:"8px 0",color:"rgba(0, 0, 0, 0.05)","&::before, &::after":{content:'""',flex:1,borderBottom:"1px solid rgba(0, 0, 0, 0.05)",width:"100px"},"&::before":{marginRight:"10px"},"&::after":{marginLeft:"10px"},span:{height:"4px",width:"4px",backgroundColor:"rgba(0, 0, 0, 0.05)",borderRadius:"50%",display:"inline-block"}},"label:DividerComment;"),_t=(0,h.default)("div",{target:"e1qluk9x3"})({display:"flex",alignItems:"center",color:"rgba(0, 0, 0, 0.48)",fontSize:"14px",fontWeight:500,lineHeight:"130%"},"label:UserInfo;"),kt=(0,h.default)("span",{target:"e1qluk9x4"})({fontWeight:500},"label:UserName;"),xt=(0,h.default)("span",{target:"e1qluk9x5"})({marginLeft:"4px"},"label:UserDate;"),bt=(0,h.default)("p",{target:"e1qluk9x6"})({display:"block",width:"100%",fontSize:"14px",fontWeight:400,margin:0,padding:"10px 0"},"label:CommentText;"),At=(0,h.default)(q.VA8,{target:"e1qluk9x7"})((({theme:{direction:e}})=>[{flexShrink:0},(0,_e.mp)({direction:e,marginStart:4})]),"label:StyledVerifiedBadgeColor;"),wt=(0,h.default)("div",{target:"e1qluk9x8"})({display:"flex",alignItems:"center",color:"rgba(0, 0, 0, 0.5)",fontWeight:500},"label:InteractionStats;"),yt=(0,h.default)("div",{target:"e1qluk9x9"})({marginLeft:"44px",marginTop:"12px",display:"flex",gap:"12px"},"label:SecondLevelComment;"),Ct=(0,h.default)("img",{target:"e1qluk9x10"})({borderRadius:"2.07px",objectFit:"cover"},"label:VideoCoverImage;"),jt=(0,h.default)("img",{target:"e1qluk9x11"})({borderRadius:"50%",flexShrink:0,width:28,height:28,minWidth:28,minHeight:28,objectFit:"cover"},"label:AvatarImage;"),St=(0,h.default)("div",{target:"e1qluk9x12"})({position:"relative",overflow:"hidden",margin:"10px 0"},"label:DiscussionForumContainer;");var Et=i(99471);const It=(0,c.memo)((({comment:e,videoCover:t,UserWrapper:i,VideoWrapper:o,CommentWrapper:a,itemId:s,keyword:r,videoDesc:l,videoUrl:h})=>{const{reportEvent:p,isBot:g}=(0,c.useContext)(d.P),u=(0,c.useCallback)(((e,t)=>{(0,L.Gu)(e),p("general_click",{section:t})}),[p]);if(!e)return(0,n.jsx)(n.Fragment,{});const{user:m,createTime:v,text:f,diggCount:_,id:k}=e,{avatarThumb:x,uniqueId:b,verified:A,id:w,secUid:y}=m,C=`${K.C}${(0,J.fJR)({uniqueId:b,secUid:y})}`;return(0,n.jsx)("div",Object.assign({itemScope:!0,itemType:"https://schema.org/Comment","data-e2e":"micro-data-comment-container",itemProp:"comment"},{children:(0,n.jsxs)(mt,{children:[(0,n.jsxs)(vt,{children:[(0,n.jsx)(i,Object.assign({userId:w,keyword:r,section:Tt,onClick:e=>u(e,"user"),"data-e2e":"comment-user",disableATag:!0,linkForNavigation:C},{children:(0,n.jsx)(jt,{height:28,width:28,src:x,itemProp:"image","data-e2e":"micro-data-comment-user-img",alt:b})})),(0,n.jsxs)("div",{children:[(0,n.jsx)(i,Object.assign({userId:w,keyword:r,section:Tt,disableATag:!0,onClick:e=>u(e,"user"),linkForNavigation:C},{children:(0,n.jsxs)(_t,Object.assign({"data-e2e":"comment-user-info"},{children:[(0,n.jsx)(Lt,{verified:null!=A&&A,uniqueId:b,userUrl:C}),(0,n.jsxs)(xt,Object.assign({itemProp:"datePublished",content:Ot(Number(v)),"data-e2e":"micro-data-comment-user-date"},{children:[" ","· ",Dt(v)]}))]}))})),(0,n.jsx)(a,Object.assign({style:{display:"block",width:"100%",cursor:"pointer"},keyword:r,disableATag:!0,section:Tt,itemId:s,commentId:k,onClick:e=>u(e,"comment"),"data-e2e":"first-comment",linkForNavigation:h},{children:(0,n.jsx)(bt,Object.assign({itemProp:"text","data-e2e":"micro-data-first-comment-text"},{children:f}))})),!!_&&(0,n.jsxs)(wt,Object.assign({"data-e2e":"comment-interaction-stats"},{children:[(0,n.jsx)(q.i8t,{size:"16"}),(0,n.jsxs)("span",Object.assign({itemProp:"interactionStatistic",itemScope:!0,itemType:"https://schema.org/InteractionCounter","data-e2e":"micro-data-comment-interaction-stats"},{children:[(0,n.jsx)("meta",{itemProp:"interactionType",content:"https://schema.org/LikeAction"}),(0,n.jsx)("span",Object.assign({itemProp:"userInteractionCount"},{children:g?_:(0,D.D1)(_)}))]}))]}))]})]}),t&&(0,n.jsx)(o,Object.assign({keyword:r,section:Tt,itemId:s,href:h,onClick:e=>u(e,"video"),"data-e2e":"comment-video"},{children:(0,n.jsx)("div",{children:(0,n.jsx)(Ct,{width:43,height:58,src:t,"data-e2e":"comment-image",alt:l})})}))]})}))})),Pt=(0,c.memo)((({reply:e,UserWrapper:t,CommentWrapper:i,itemId:o,keyword:a})=>{const{reportEvent:s,isBot:r}=(0,c.useContext)(d.P),l=(0,c.useCallback)(((e,t)=>{(0,L.Gu)(e),s("general_click",{section:t})}),[s]);if(!e)return(0,n.jsx)(n.Fragment,{});const{user:h,createTime:p,text:g,diggCount:u,id:m}=e,{avatarThumb:v,uniqueId:f,id:_,verified:k,secUid:x}=h,b=`${K.C}${(0,J.fJR)({uniqueId:f,secUid:x})}`;return(0,n.jsx)("div",Object.assign({itemScope:!0,itemType:"https://schema.org/Comment","data-e2e":"micro-data-comment-reply-container",itemProp:"comment"},{children:(0,n.jsxs)(yt,{children:[(0,n.jsx)(t,Object.assign({userId:_,keyword:a,section:Tt,disableATag:!0,onClick:e=>l(e,"user")},{children:(0,n.jsx)(jt,{height:28,width:28,src:v,itemProp:"image",alt:f})})),(0,n.jsxs)("div",{children:[(0,n.jsx)(t,Object.assign({section:Tt,userId:_,keyword:a,disableATag:!0,onClick:e=>l(e,"comment")},{children:(0,n.jsxs)(_t,Object.assign({"data-e2e":"reply-user-info"},{children:[(0,n.jsx)(Lt,{verified:null!=k&&k,uniqueId:f,userUrl:b}),(0,n.jsxs)(xt,Object.assign({"data-e2e":"reply-user-date",itemProp:"datePublished",content:Ot(Number(p))},{children:[" ","· ",Dt(p)]}))]}))})),(0,n.jsx)(i,Object.assign({"data-e2e":"reply-comment",style:{display:"block",width:"100%",cursor:"pointer"},keyword:a,itemId:o,commentId:m,section:Tt,onClick:e=>l(e,"comment")},{children:(0,n.jsx)(bt,Object.assign({itemProp:"text"},{children:g}))})),!!u&&(0,n.jsxs)(wt,Object.assign({"data-e2e":"reply-interaction-stats"},{children:[(0,n.jsx)(q.i8t,{size:"16"}),(0,n.jsxs)("span",Object.assign({itemProp:"interactionStatistic",itemScope:!0,itemType:"https://schema.org/InteractionCounter"},{children:[(0,n.jsx)("meta",{itemProp:"interactionType",content:"https://schema.org/LikeAction"}),(0,n.jsx)("span",Object.assign({itemProp:"userInteractionCount"},{children:r?u:(0,D.D1)(u)}))]}))]}))]})]})}))})),Tt="comment",Dt=e=>{const t=new Date(1e3*Number(e));return`${(t.getMonth()+1).toString().padStart(2,"0")}-${t.getDate().toString().padStart(2,"0")}`},Ot=e=>isNaN(e)?"":new Date(1e3*Number(e)).toISOString(),Bt=e=>{const{author:t,itemId:i,isPhotomode:n,itemAuthorUniqueId:o,itemAuthorSecUid:a}=e;if(!i)return"";const s=(({itemId:e,isPhotomode:t})=>t?`/@/photo/${e}`:`/@/video/${e}`)({itemId:i,isPhotomode:n}),l=(null==t?void 0:t.uniqueId)||o,d=(null==t?void 0:t.secUid)||a,c=l||d?(0,r.Nw)({uniqueId:l,secUid:d,videoId:i,isPhotomode:n}):s;return`${K.C}${c}`},Lt=(0,c.memo)((({uniqueId:e,verified:t,userUrl:i})=>{const{isBot:o}=(0,c.useContext)(d.P);return e?o?(0,n.jsxs)(kt,Object.assign({"data-e2e":"micro-data-reply-user-name",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person"},{children:[(0,n.jsx)("a",Object.assign({href:i,itemProp:"url"},{children:(0,n.jsx)("span",Object.assign({itemProp:"name"},{children:e}))})),t&&(0,n.jsx)(At,{size:"12"})]})):(0,n.jsxs)(kt,Object.assign({"data-e2e":"reply-user-name"},{children:[(0,n.jsx)("span",{children:e}),t&&(0,n.jsx)(At,{size:"12"})]})):(0,n.jsx)(n.Fragment,{})})),Rt=(0,c.memo)((e=>{const{author:t,videoCreateTime:i,videoTitle:o,posterUrl:a,desc:s}=e,r=Bt(e),{uniqueId:l="",secUid:d=""}=null!=t?t:{},c=`${K.C}${(0,J.fJR)({uniqueId:l,secUid:d})}`;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{itemProp:"url",content:r}),(0,n.jsx)("div",Object.assign({itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person","data-e2e":"micro-data-discussion-author"},{children:(0,n.jsx)("div",{children:(0,n.jsx)("a",Object.assign({href:c,itemProp:"url"},{children:(0,n.jsx)("meta",{itemProp:"name",content:null==t?void 0:t.uniqueId})}))})})),i&&(0,n.jsx)("meta",{itemProp:"datePublished",content:Ot(Number(null!=i?i:0))}),o&&(0,n.jsx)("meta",{itemProp:"headline",content:o}),(0,n.jsxs)("div",Object.assign({itemProp:"video",itemType:"https://schema.org/VideoObject",itemScope:!0,"data-e2e":"micro-data-discussion-video"},{children:[(0,n.jsx)("meta",{itemProp:"contentUrl",content:r}),(0,n.jsx)("meta",{itemProp:"name",content:o}),i&&(0,n.jsx)("meta",{itemProp:"uploadDate",content:Ot(Number(null!=i?i:0))}),a&&(0,n.jsx)("meta",{itemProp:"thumbnailUrl",content:a}),s&&(0,n.jsx)("meta",{itemProp:"description",content:s})]}))]})})),Mt=(0,c.memo)((({item:e,UserWrapper:t,CommentWrapper:i,VideoWrapper:o,keyword:a})=>{var s,r,l,h,p,g;const{itemId:u,commentList:m,desc:v,posterAlt:f,posterUrl:_,itemZoomCover:k}=e,x=Bt(e),{isBot:b}=(0,c.useContext)(d.P),A=k?null!==(l=null!==(r=null!==(s=k[240])&&void 0!==s?s:k[480])&&void 0!==r?r:k[720])&&void 0!==l?l:k[960]:"";return!m||m.length<=0?(0,n.jsx)(n.Fragment,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(It,{UserWrapper:t,VideoWrapper:o,CommentWrapper:i,comment:m[0],itemId:u,keyword:a,videoCover:null!==(h=b?_:A)&&void 0!==h?h:"",videoDesc:null!==(p=null!=f?f:v)&&void 0!==p?p:"",videoUrl:x}),null===(g=m[0].replyList)||void 0===g?void 0:g.map(((e,s)=>(0,n.jsx)(Pt,{reply:e,UserWrapper:t,VideoWrapper:o,CommentWrapper:i,itemId:u,keyword:a},`reply-${s}`)))]})})),Qt=(0,c.memo)((e=>{const{commentList:t,showLoadingSkeleton:i=!0,UserWrapper:o=c.Fragment,VideoWrapper:a=c.Fragment,CommentWrapper:s=c.Fragment,keyword:r="",style:l}=e,{reportEvent:h,isBot:p}=(0,c.useContext)(d.P),g=(0,c.useCallback)((()=>{h("show_section",{section:"comment"})}),[h,t]),u=(0,Et.P)({callback:g});return i?(0,n.jsx)("div",Object.assign({style:{marginTop:"20px"}},{children:Array.from({length:8}).map(((e,t)=>(0,n.jsxs)("div",Object.assign({style:{marginBottom:"20px"}},{children:[(0,n.jsxs)("div",Object.assign({style:{display:"flex",alignItems:"center",marginBottom:"10px"}},{children:[(0,n.jsx)("div",{style:{backgroundColor:"#f0f0f0",height:"28px",width:"28px",borderRadius:"50%"}}),(0,n.jsx)("div",{style:{backgroundColor:"#f0f0f0",height:"16px",width:"100px",marginLeft:"6px",marginBottom:"6px"}})]})),(0,n.jsx)("div",{style:{backgroundColor:"#f0f0f0",height:"30px",marginBottom:"10px",marginLeft:"30px"}})]}),t)))})):!t||t.length<=0?(0,n.jsx)(G,{}):(0,n.jsx)(St,Object.assign({ref:u,"data-e2e":"discussion-forum-container",style:l},{children:t.map(((e,i)=>{var l,d,c;return(0,n.jsx)(n.Fragment,{children:e.commentList&&e.commentList.length>0&&(0,n.jsxs)(n.Fragment,{children:[p&&(null===(l=e.author)||void 0===l?void 0:l.uniqueId)&&e.itemId?(0,n.jsxs)("div",Object.assign({itemScope:!0,itemType:"https://schema.org/DiscussionForumPosting","data-e2e":"micro-data-discussion-forum-container"},{children:[(0,n.jsx)(Rt,{author:e.author,videoCreateTime:e.videoCreateTime,itemZoomCover:e.itemZoomCover,itemId:e.itemId,isPhotomode:e.isPhotomode,videoTitle:null!==(d=e.videoTitle)&&void 0!==d?d:e.desc,posterUrl:null!==(c=e.posterUrl)&&void 0!==c?c:"",desc:e.desc}),(0,n.jsx)(Mt,{UserWrapper:o,VideoWrapper:a,CommentWrapper:s,item:e,keyword:r})]}),e.itemId):(0,n.jsx)(Mt,{UserWrapper:o,VideoWrapper:a,CommentWrapper:s,item:e,keyword:r}),i!==t.length-1&&(0,n.jsx)(ft,{children:(0,n.jsx)("span",{})})]})})}))}))})),zt=(0,h.default)("h2",{target:"e1y1623e0"})({fontStyle:"normal",fontWeight:500,lineHeight:"130%",letterSpacing:"0.03px",color:"#000",marginBottom:"12px"},"label:H2Title;");const Vt=(0,c.memo)((e=>{var t;const{CTAVideoWrapper:i,CTAUserWrapper:s,CTAVideoCommentWrapper:r,pagePath:l,style:d}=e,h=(0,I.Q)(["wordDetail"]).wordDetail,{uniqueWord:p=""}=null!==(t=null==h?void 0:h.wordDetail)&&void 0!==t?t:{},g=(0,a.Nk)(),u=(0,o.s)(),[{isLoading:m,commentList:v,commentVideoList:f},_]=(0,y.Xs)((e=>{var t,i,n,o,a,s;return{commentList:null!==(i=null===(t=e.discussionForum)||void 0===t?void 0:t.commentList)&&void 0!==i?i:[],isLoading:null===(o=null===(n=e.discussionForum)||void 0===n?void 0:n.isLoading)||void 0===o||o,commentVideoList:null!==(s=null===(a=e.discussionForum)||void 0===a?void 0:a.commentVideoList)&&void 0!==s?s:[]}}),{equalityFn:Xe.bN});P.Rg("item-cover-use-stable-url-hook",{items:f});let k=[...v];if(g){const e=Object.fromEntries(f.map((e=>[e.id,e])));k=v.map((t=>{var i;const n=e[t.itemId];if(n){const{title:e,description:o}=it(n),{cover:a,zoomCover:s}=n.video,r=(null==s?void 0:s[720])||a,l=o;return Object.assign(Object.assign({},t),{author:n.author,desc:n.desc,videoCreateTime:n.createTime,isPhotomode:null!==(i=n.imagePost)&&void 0!==i&&i,videoTitle:e,posterAlt:l,posterUrl:r})}return t}))}const x=(0,c.useCallback)((()=>_.fetchCommentList()),[_]);return(0,c.useEffect)((()=>{return e=void 0,t=void 0,n=function*(){yield x()},new((i=void 0)||(i=Promise))((function(o,a){function s(e){try{l(n.next(e))}catch(e){a(e)}}function r(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,r)}l((n=n.apply(e,t||[])).next())})),()=>{};var e,t,i,n}),[]),(0,n.jsxs)(n.Fragment,{children:[0!==v.length&&g&&(0,n.jsx)(zt,{children:u("seo_kep_groupName_fromComments")}),(0,n.jsx)(Qt,{commentList:k,showLoadingSkeleton:m,UserWrapper:s,VideoWrapper:i,CommentWrapper:r,pagePath:l,keyword:p,style:d})]})}));const Wt=(0,c.memo)((e=>{var t,i,l,d;const{videoCount:h=6}=e,p=(0,o.s)(),g=(0,I.Q)(["wordDetail"]),u=(0,a.Nk)(),[m,v]=(0,c.useState)(!u),f=g.wordDetail,{uniqueWord:_=""}=null!==(t=null==f?void 0:f.wordDetail)&&void 0!==t?t:{},[{publicFirstFetched:k},x]=(0,y.Xs)((e=>{var t;return{publicFirstFetched:null===(t=e.publicVideoList)||void 0===t?void 0:t.firstFetched}}),{equalityFn:Xe.bN}),[b,A]=(0,c.useState)([]),j=(0,C.p3)(),P=(0,c.useCallback)((()=>x.fetchAllTabsForBot({keyword:_})),[_]),T=({category:e,count:t,keyword:i})=>x.fetchVideoList({category:e,count:t,offset:0,keyword:i});(0,E.o)((()=>{if(!_||!u)return Promise.resolve();const e=P().then((e=>{var t,i,n;(0,s.w2)(e,u);const o=null!==(t=null==e?void 0:e.mediaVideoList.itemList)&&void 0!==t?t:[],a=null!==(i=null==e?void 0:e.publicVideoList.itemList)&&void 0!==i?i:[],r=[...o,...a],l=Object.fromEntries(r.filter((e=>!e.imagePost)).map((e=>[e.id,e]))),d=null!==(n=null==e?void 0:e.discussionForum.commentList)&&void 0!==n?n:[],c=[];d.forEach((e=>{(null==e?void 0:e.itemId)&&l[e.itemId]&&c.push(l[e.itemId])}));const h=c.length>0?c:[...o.slice(0,5),...a.slice(0,5)];j.setData({videoList:{videoList:h,statusCode:0},wordDetail:null!=f?f:""})}));return e}),[_]),(0,c.useEffect)((()=>{var e,t,i,n;_&&(e=void 0,t=void 0,n=function*(){var e,t;let i=[];const n=yield T({category:1,count:h,keyword:_});if(S()(null==n?void 0:n.itemList)){A((e=>[...e,"news_media"]));const t=yield T({category:2,count:h,keyword:_});i=null!==(e=null==t?void 0:t.itemList)&&void 0!==e?e:[],v(!1),(0,s.Ov)(t,u)}else v(!1);const o=null!==(t=null==n?void 0:n.itemList)&&void 0!==t?t:[];j.setData({videoList:[...o.slice(0,5),...i.slice(0,5)],wordDetail:null!=f?f:""})},new((i=void 0)||(i=Promise))((function(o,a){function s(e){try{l(n.next(e))}catch(e){a(e)}}function r(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,r)}l((n=n.apply(e,t||[])).next())})))}),[_]);const D=(0,r.PR)(null==f?void 0:f.wordDetail),O=(0,c.useMemo)((()=>(e=>{var{t,trendingPath:i,keyword:o,selectedTabIds:a=["news_media","creators","discussion"],tabItemStyle:s}=e,r=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);oa.includes(e.id)))})(Object.assign(Object.assign({t:p},e),{keyword:_,trendingPath:D})).filter((e=>!b.includes(e.id)))),[b]),B=(0,c.useCallback)((e=>{"creators"!==e||k||T({category:2,count:h,keyword:_})}),[k,_,h]);return(0,n.jsx)(w,Object.assign({tabs:O,defaultActiveTab:null===(i=O[0])||void 0===i?void 0:i.id,enableAnchor:!0,showSkeleton:m,onTabChange:B,topOffset:null!==(l=e.topOffset)&&void 0!==l?l:76,useFixedTabBar:null===(d=e.useFixedTabBar)||void 0===d||d,contentContainerStyle:Object.assign({minHeight:"80vh"},e.style)},e))}))},36489:(e,t,i)=>{i.d(t,{t:()=>r});var n=i(24643),o=i(40099);const a=(e={})=>{const t=Object.assign({},e);return"gridTemplate"in e?Object.assign({display:"grid"},t):t},s=(e,t,i)=>e.map(((e,o)=>{var r,l;const d=a(e.style);if("layout"===e.type)return(0,n.jsx)("div",{style:d,children:s(e.children,t,i)},o);{const{componentName:a,instanceName:s}=e,c=t[a],h=i[s],p=null!==(r=null==h?void 0:h.props)&&void 0!==r?r:{};return c&&(0,n.jsx)(c,Object.assign(Object.assign({},p),{style:Object.assign(Object.assign({},d),null===(l=null==h?void 0:h.props)||void 0===l?void 0:l.style)}),o)}})),r=(0,o.forwardRef)((({template:e,componentsMap:t},i)=>{const{layout:o,components:r}=e;return(0,n.jsx)("div",{ref:i,style:a(o.style),children:s(o.children,t,r)})}))},89960:(e,t,i)=>{i.d(t,{B:()=>te});var n=i(24643),o=i(40099),a=i(27374),s=i(51069),r=i(88920),l=i(60484),d=i(48615),c=i(52702),h=i(90217),p=i(34741);const g=e=>{const{reportEvent:t}=(0,o.useContext)(p.P);(0,h.B)({intersectionHandler:()=>{t("show_section",{section:"gep"})},element:e,threshold:[.5]})},u=e=>{const{reportEvent:t}=(0,o.useContext)(p.P);return i=>{t("general_click",{section:e,keyword:i})}};var m=i(25616),v=i(62186),f=i(67963),_=i(72153),k=i(58542);const x=(0,v.default)("span",{target:"e1kuvefp0"})((({theme:e})=>[(0,_.zy)({theme:e,color:"TextPrimary",fontFamily:"TikTokFont",fontWeight:"semiBold",typography:"P4"}),{whiteSpace:"nowrap",marginRight:"6px"}]),"label:SpanGenericExposureLabel;"),b=(0,v.default)("div",{target:"e1kuvefp1"})((({isMobile:e,customStyle:t})=>Object.assign({padding:e?"12px 20px":"12px 0",display:"flex",flexWrap:"wrap",rowGap:"7px",overflow:"hidden"},t)),"label:DivContainerBot;"),A=[[712,3],[912,4],[1025,3],[1080,4],[1280,5],[1480,6],[1680,7],[1880,8]],w=(0,v.default)("section",{target:"e1kuvefp2"})((({isMobile:e,customStyle:t,fixedRowNumber:i,hideFixedRowWhenLoadingItems:n,hasBreakpoints:o})=>[{display:"flex",alignItems:"center",boxSizing:"content-box",padding:e?"0 20px":"20px 0"},i&&{width:"100%",gridRow:i,gridColumn:"1 / -1",padding:"20px 0"},Object.assign({},t),i&&n&&`\n &:nth-child(-n + ${2*i}) {\n display: none;\n }\n `,i&&n&&o&&A.map((([e,t])=>`\n @media only screen and (min-width: ${e}px) {\n &:nth-child(-n + ${t*i}) {\n display: none;\n }\n }\n `))]),"label:SectionContainerUser;"),y=(0,v.default)("div",{target:"e1kuvefp3"})({flex:1,position:"relative",overflow:"hidden"},"label:DivWrapperContainerUser;"),C=(0,v.default)("div",{target:"e1kuvefp4"})((()=>({overflowX:"auto",msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none",width:"0 !important",height:"0 !important"}})),"label:DivOverflowContainerUser;"),j=(0,v.default)("div",{target:"e1kuvefp5"})({display:"flex",minWidth:"fit-content",height:"40px",alignItems:"center"},"label:DivListContainerUser;"),S=(0,v.default)(f.N_,{target:"e1kuvefp6"})((({theme:e,fontStyle:t})=>[(0,_.zy)({theme:e,color:"TextTertiary",fontFamily:"TikTokFont",fontWeight:"normal",typography:"P4",isLink:!0}),Object.assign({display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},t)]),"label:AnchorLinkBot;"),E=(0,v.default)("span",{target:"e1kuvefp7"})((({theme:e})=>[(0,_.zy)({theme:e,color:"LineSecondary",fontFamily:"TikTokFont",fontWeight:"normal",typography:"P4"}),{marginRight:"6px",marginLeft:"6px"}]),"label:StyledDivider;"),I=(0,v.default)("div",{target:"e1kuvefp8"})((({isMobile:e,theme:t,position:i})=>({display:"flex",position:"absolute",justifyContent:"center",alignItems:"center",width:"37px",top:0,bottom:0,right:"right"===i?"0":"auto",left:"left"===i?"0":"auto",cursor:"pointer",background:`linear-gradient(${"right"===i?"270deg":"90deg"}, ${e?t.colors.BGPrimary:k.Tj4.UIPageFlat1} 73.78%, color-mix(in srgb, ${e?t.colors.BGPrimary:k.Tj4.UIPageFlat1} 20%, transparent) 100%)`})),"label:DivIconContainer;"),P=(0,v.default)(k.pdK,{target:"e1kuvefp9"})((()=>({color:k.Tj4.UIText3})),"label:LeftArrow;"),T=(0,v.default)(k.aL3,{target:"e1kuvefp10"})((()=>({color:k.Tj4.UIText3})),"label:RightArrow;"),D=()=>{const e=(0,m.s)()("seo_exploreMore_cta");return(0,n.jsxs)(x,{children:[e,":"]})};var O=i(77976),B=i(44606),L=i(32778),R=i(3247);const M=({pageParams:e,target:t,searchKeyword:i,videoId:a,children:s})=>{var r,l,d,c;const h="undefined"!=typeof document?document.referrer:void 0,g=((e,t)=>{const{user_id:i,challenge_id:n,music_id:o,video_id:a,poi_id:s,keyword:r}=e;switch(t){case 1:return i;case 3:return n;case 4:return o;case 0:return a;case 18:return s;case 122:case 124:return r;default:return}})(null!==(r=null==e?void 0:e.pageIds)&&void 0!==r?r:{},null==e?void 0:e.pageType),{schemeParams:u,onelinkParams:m}=(0,B.mE)({id:a,downloadType:"click_gep_onelink",enterMethod:"click_gep_onelink",search_keyword:i,page_id:g,referrer_url:h});125===(null==e?void 0:e.pageType)&&(u.enter_from="place_web",u.page_name=`place_${null===(l=null==e?void 0:e.pageIds)||void 0===l?void 0:l.poi_id}`,m.c=`place_${null===(d=null==e?void 0:e.pageIds)||void 0===d?void 0:d.poi_id}`),18===(null==e?void 0:e.pageType)&&(u.page_name="poi_detail",m.c=`poi_${null===(c=null==e?void 0:e.pageIds)||void 0===c?void 0:c.poi_id}`),a&&(u.video_id=a);const{reportEvent:v}=(0,o.useContext)(p.P),f=(0,o.useCallback)((()=>{v("tap",{target:"click_gep",enter_method:"click_gep_one_link"})}),[v]),_=(0,o.useCallback)((e=>{R.u.jump({app_type:e.appType,jump_time:e.jumpTime,status:0,target:"click_gep_one_link"})}),[]),k=(0,o.useCallback)((e=>{R.u.jump({app_type:e.appType,jump_time:e.jumpTime,status:1,target:"click_gep_one_link"})}),[]);return(0,n.jsx)(L.F,Object.assign({target:t,schemeParams:u,fallbackURLParams:m,jumpStartHandler:_,jumpFailHandler:k,onClick:f},{children:s}))};var Q;!function(e){e.VIDEO="VIDEO",e.KEP="KEP"}(Q||(Q={}));const z=e=>(0,o.useMemo)((()=>{var t;let i={linkType:Q.VIDEO};try{const n=null!==(t=e.href.split("/").pop())&&void 0!==t?t:"";e.href.includes("discover")?i={linkType:Q.KEP,searchKeyword:n}:e.href.includes("video")&&(i={linkType:Q.VIDEO,videoId:n})}catch(e){}return i}),[e]),V=(0,O.w)(S),W=({item:e,linkStyle:t,onClick:i,keyword:o})=>{const a=u("gep_one_link");return(0,n.jsx)(V,Object.assign({forceSSR:!1,to:e.href,"data-e2e":"category-list",fontStyle:Object.assign({float:"left"},t),disableAutoLang:!0,onClick:e=>{a(o),null==i||i(e)}},{children:e.title}),e.href)},N=({item:e,linkStyle:t,pageParams:i})=>{const o=z(e);return(0,n.jsx)(M,Object.assign({pageParams:i,target:o.linkType===Q.VIDEO?"wrapper_video":"wrapper_search",searchKeyword:o.searchKeyword,videoId:o.videoId},{children:(0,n.jsx)(W,{item:e,linkStyle:t,keyword:o.searchKeyword,onClick:e=>{e.preventDefault()}})}))},F=({item:e,linkStyle:t})=>{let i=z(e);return(0,n.jsx)(W,{item:e,linkStyle:t,keyword:i.searchKeyword})},H=({linkStyle:e,navList:t,isMobile:i,pageParams:a})=>(0,n.jsx)(n.Fragment,{children:t.map(((s,r)=>(0,n.jsxs)(o.Fragment,{children:[i?(0,n.jsx)(N,{item:s,linkStyle:e,ctaProps:a}):(0,n.jsx)(F,{item:s,linkStyle:e}),r{const s=(0,o.useRef)(null);g(s);const r=(0,o.useMemo)((()=>({maxWidth:"400px"})),[]);return(0,n.jsxs)(b,Object.assign({ref:s,isMobile:i,customStyle:t},{children:[(0,n.jsx)(D,{}),(0,n.jsx)(H,{navList:e,linkStyle:r,isMobile:i,pageParams:a})]}))},G=({navList:e,customContainerStyle:t,isMobile:i,fixedRowNumber:a,hideFixedRowWhenLoadingItems:s,hasBreakpoints:r,pageParams:l})=>{var d,c,h,p;const m=(0,o.useRef)(null),v=(0,o.useRef)(null),[f,_]=(0,o.useState)(!1),[k,x]=(0,o.useState)(!1),b=(0,o.useCallback)((e=>{_(0!==e.target.scrollLeft),x(e.target.scrollWidth-e.target.scrollLeft>e.target.clientWidth+5)}),[]),A=(0,o.useCallback)((()=>{if(v.current){const e=v.current.offsetWidth{A()}),[null===(h=v.current)||void 0===h?void 0:h.scrollWidth,null===(p=v.current)||void 0===p?void 0:p.offsetWidth]),(0,o.useEffect)((()=>{const e=new ResizeObserver((e=>{e.forEach((e=>{0!==e.contentRect.width&&A()}))}));return m.current&&e.observe(m.current),()=>{e.disconnect()}}),[m,A]),g(m);const S=u("gep_arrow_button"),E=(0,o.useCallback)((()=>{v.current&&(v.current.scrollBy({left:-v.current.clientWidth,behavior:"smooth"}),S())}),[S]),O=(0,o.useCallback)((()=>{v.current&&(v.current.scrollBy({left:v.current.clientWidth,behavior:"smooth"}),S())}),[S]);return(0,n.jsxs)(w,Object.assign({ref:m,customStyle:t,isMobile:i,fixedRowNumber:a,hideFixedRowWhenLoadingItems:s,hasBreakpoints:r},{children:[(0,n.jsx)(D,{}),(0,n.jsxs)(y,{children:[(0,n.jsx)(C,Object.assign({ref:v,onScroll:b,isMobile:i},{children:(0,n.jsx)(j,{children:(0,n.jsx)(H,{navList:e,linkStyle:{maxWidth:"200px"},isMobile:i,pageParams:l})})})),f&&(0,n.jsx)(I,Object.assign({position:"left",onClick:E,isMobile:i},{children:(0,n.jsx)(P,{size:"12"})})),k&&(0,n.jsx)(I,Object.assign({position:"right",onClick:O,isMobile:i},{children:(0,n.jsx)(T,{size:"12"})}))]})]}))};var q=i(48664),J=i(4132),K=i(26930),Y=i(49057);const X="invalid";var Z=i(27010);const $=({children:e})=>{const{providerProps:t}=(0,a.p)(),i=(()=>{const[e,t]=(0,J._m)(),{language:i}=(0,l.L$)((0,Y.W)((()=>["language"]),[]));return(0,K.o)((()=>[t.fetchLinkerStrategy({bizName:"Webapp",pageName:"GEP",language:i,wrapperNames:["wrapper_video","wrapper_search"]}),()=>{t.reset()}]),[i,t]),e.linkerStrategy})(),o=(0,s.V)(),d=(0,r.Ey)();return(0,n.jsx)(Z.p,Object.assign(Object.assign(Object.assign({},d),t),{strategy:i,jumpHook:o,children:e}))},ee=(0,o.memo)((({count:e,customContainerStyle:t,fixedRowNumber:i,hideFixedRowWhenLoadingItems:a,hasBreakpoints:s})=>{const{isBot:r,isMobile:c}=(0,l.L$)((0,d.U)((()=>["isBot","isMobile"]),[])),h=(e=>{const[t,i]=(0,q.L1)();return(0,K.o)((()=>[i.fetchData(e),()=>{i.reset()}]),[e,i]),(0,o.useMemo)((()=>{var e,i;return null!==(i=null===(e=t.generic_exposure_urls)||void 0===e?void 0:e.map((e=>{let t=e.url;if(!e.url.startsWith("/"))try{t=new URL(e.url).pathname}catch(e){t=X}return{title:e.display_text,href:t}})).filter((e=>e.href!==X&&""!==e.title.trim())))&&void 0!==i?i:[]}),[t])})(e);if(0===h.length)return(0,n.jsx)(n.Fragment,{});const p={navList:h,isMobile:c,customContainerStyle:t,fixedRowNumber:i,hideFixedRowWhenLoadingItems:a,hasBreakpoints:s},g=r?(0,n.jsx)(U,Object.assign({},p)):(0,n.jsx)(G,Object.assign({},p));return c?(0,n.jsx)($,{children:g}):g})),te=(0,o.memo)((e=>{var t;const i=(0,c.wW)(),o="v1"===(null===(t=null==i?void 0:i.parameters.seo_generic_exposure_capacity)||void 0===t?void 0:t.vid);return e.isHidden||o?(0,n.jsx)(n.Fragment,{}):(0,n.jsx)(ee,Object.assign({},e))}))},47821:(e,t,i)=>{i.d(t,{K:()=>s});var n=i(58305),o=i(45297),a=i(91498);const s=()=>{const e=!(0,n.Hd)(o.iJ),t="organic"===(0,a.o7)();return e&&t}},38376:(e,t,i)=>{i.d(t,{T8:()=>s,ZR:()=>a});var n=i(62186),o=i(72153);const a=(0,n.default)("h2",{target:"e3g5kp81"})((({theme:e,usePillStyle:t})=>[(0,o.zy)({theme:e,color:"TextPrimary"}),Object.assign({fontWeight:500,fontSize:17,lineHeight:"130%",marginBottom:"12px"},t&&{fontSize:"24px",fontWeight:700})]),"label:H2Title;"),s=(0,n.default)("p",{target:"e3g5kp82"})((({theme:e})=>[(0,o.zy)({theme:e,color:"TextPrimary"}),{fontWeight:300,fontSize:15,lineHeight:"120%"}]),"label:PTitle;")},36392:(e,t,i)=>{i.d(t,{i:()=>N});var n=i(24643),o=i(40099),a=i(34741),s=i(24837);const r=i.p+"890ef4e4cf508272b6b5.png",l=i.p+"daf2615d494074ebf26a.png",d=i.p+"2b0c1c469fc57447f555.png";var c=i(62186),h=i(72153),p=i(264);const g=(0,c.default)("div",{target:"eaobw690"})({width:948,display:"flex",flexDirection:"column",alignItems:"center",gap:136,margin:"0 auto",marginBottom:40,"@media (max-width: 1000px)":{width:576,gap:80},"@media (max-width: 725px)":{width:296,gap:40}},"label:DivContainer;"),u=(0,c.default)("div",{target:"eaobw691"})({display:"flex",flexDirection:"column",alignItems:"center",gap:20,margin:"0 auto",marginBottom:100},"label:DivFooterSection;"),m=(0,c.default)(p.P.h2,{target:"eaobw692"})((({theme:e})=>[(0,h.zy)({theme:e,fontWeight:"bold",fontStyle:"normal"}),{fontSize:48,maxWidth:580,textAlign:"center",background:"rgba(246, 246, 246, 1)","-webkit-background-clip":"text",backgroundClip:"text",color:"transparent","@media (max-width: 1000px)":{fontSize:32},"@media (max-width: 725px)":{fontSize:24}}]),"label:H2HowTo;"),v=(0,c.default)("h2",{target:"eaobw693"})((({theme:e})=>[(0,h.zy)({theme:e,fontWeight:"bold",fontStyle:"normal"}),{fontSize:16,fontWeight:600,color:"rgba(255, 255, 255, 0.6)",textAlign:"center"}]),"label:H2About;"),f=(0,c.default)("div",{target:"eaobw694"})((({theme:e})=>[(0,h.zy)({theme:e,fontWeight:"normal",fontStyle:"normal"}),{display:"flex",gap:20,flexDirection:"column",alignItems:"center",maxWidth:412,fontSize:15,color:"rgba(255, 255, 255, 0.6)",marginBottom:80,"& .item":{display:"flex",width:"100%"},"& .index":{width:10},"& span":{flex:1,textAlign:"center",display:"inline-block"},"@media (max-width: 1000px)":{fontSize:14,maxWidth:536},"@media (max-width: 725px)":{fontSize:12,marginBottom:40}}]),"label:DivInfo;"),_=(0,c.default)("div",{target:"eaobw696"})({position:"absolute",top:"50%",left:"calc(50% - 10px)",width:20,height:20,border:"1px solid #fe2c55",borderRadius:"100%",zIndex:3,"&::after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:14,height:14,backgroundColor:"#fe2c55",borderRadius:"100%"},"@media (max-width: 725px)":{left:-70}},"label:DivIndicator;"),k=(0,c.default)("strong",{target:"eaobw697"})({fontFamily:"TikTokFont",fontWeight:500,color:"#f6f6f6",fontSize:32,"@media (max-width: 1000px)":{fontSize:20},"@media (max-width: 725px)":{fontSize:17}},"label:StrongStepName;"),x=(0,c.default)(p.P.div,{target:"eaobw698"})({position:"relative",fontSize:16,display:"flex",flexDirection:"column",gap:120,margin:"0 auto",marginBottom:"100px","&::before":{content:'""',position:"absolute",left:"50%",top:0,bottom:0,width:1,backgroundImage:"linear-gradient(to bottom, white 0, white 70%, transparent 50%)",backgroundSize:"100% 18px",backgroundRepeat:"repeat-y",zIndex:2,maskImage:"linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100% )"},"@media (max-width: 1000px)":{fontSize:14,paddingLeft:40,"&::before":{left:"53.5%"}},"@media (max-width: 725px)":{fontSize:12,paddingLeft:60,"&::before":{left:0}}},"label:DivTimelineContainer;"),b=(0,c.default)("div",{target:"eaobw699"})({position:"relative",display:"flex",gap:144,color:"#f0f0f0",fontFamily:"TikTokFont",fontSize:16,".lottie-wrapper-1":{position:"absolute",top:210,right:-15,pointerEvents:"none",zIndex:10,width:100,height:100,"@media (max-width: 1000px)":{top:100,right:-28},"@media (max-width: 725px)":{top:125,right:-15,width:60,height:60}},".lottie-wrapper-2":{position:"absolute",top:80,right:-35,width:100,height:100,pointerEvents:"none",zIndex:10,"@media (max-width: 1000px)":{top:35,right:-30},"@media (max-width: 725px)":{top:50,right:-20,width:60,height:60}},".lottie-wrapper-3":{position:"absolute",top:175,right:145,width:100,height:100,pointerEvents:"none",zIndex:10,"@media (max-width: 1000px)":{top:100,right:55},"@media (max-width: 725px)":{top:110,right:80,width:60,height:60}},".image-section":{flex:1,display:"flex",justifyContent:"flex-end",alignItems:"center",position:"relative",img:{maxWidth:"390px",maxHeight:"300px"},"@media (max-width: 1000px)":{img:{maxWidth:"234px",maxHeight:"180px"}}},".text-section":{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",gap:8,maxWidth:390,"@media (max-width: 1000px)":{maxWidth:234},"@media (max-width: 725px)":{maxWidth:184}},"&:nth-child(even)":{flexDirection:"row-reverse",".text-section":{alignItems:"flex-end",textAlign:"end"},".image-section":{justifyContent:"flex-start"}},"@media (max-width: 1000px)":{gap:96,fontSize:14},"@media (max-width: 725px)":{fontSize:12,"&, &:nth-child(even)":{flexDirection:"column",justifyContent:"center",gap:24},"&:nth-child(even) .text-section":{alignItems:"flex-start",textAlign:"start"}}},"label:Step;"),A=(0,c.default)("div",{target:"eaobw6910"})({width:144,height:144,margin:"30px 0"},"label:DivQRContainer;"),w=(0,c.default)("button",{target:"eaobw6911"})((()=>[{backgroundColor:"rgba(254, 44, 85, 1)",color:"rgba(255, 255, 255, 1)",width:"248px",height:"48px",border:"none",borderRadius:"999px",padding:"8px 14px",fontSize:"16px",fontWeight:500,cursor:"pointer",transition:"background-color 0.2s","&:hover":{backgroundColor:"#ff3954"}}]),"label:DownloadButton;"),y=(0,c.default)("div",{target:"eaobw6912"})({display:"flex",flexDirection:"column",alignItems:"center",margin:"0 auto",marginBottom:200},"label:DivFooter;"),C=(0,c.default)("div",{target:"eaobw6913"})({width:416,height:20,marginBottom:80,"@media (max-width: 725px)":{width:200,height:20}},"label:DivDivider;");var j=i(38749),S=i(1096);const E=JSON.parse('{"v":"5.8.1","fr":60,"ip":0,"op":90,"w":210,"h":210,"nm":"tt_tap_tux_lottie","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Delete","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[105,105,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,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,0]],"o":[[0,0],[0,0]],"v":[[-90,-82],[-65,-82]],"c":false},"ix":2},"nm":"Path 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":"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":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"hand","parent":5,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.61,"y":0.492},"o":{"x":0.453,"y":0},"t":0,"s":[67,78,0],"e":[44.152,47.639,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.511,"y":1},"o":{"x":0.206,"y":0.588},"t":20,"s":[44.152,47.639,0],"e":[27,45,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.496,"y":0.496},"o":{"x":0.333,"y":0.333},"t":40,"s":[27,45,0],"e":[27,45,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.388,"y":1},"o":{"x":0.333,"y":0},"t":45,"s":[27,45,0],"e":[67,78,0],"to":[0,0,0],"ti":[0,0,0]},{"t":90}],"ix":2,"l":2},"a":{"a":0,"k":[72,83,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.165,"y":0},"t":0,"s":[{"i":[[0,0],[35.401,-22.396]],"o":[[0,0],[-35.401,22.396]],"v":[[61.169,-27.107],[0.242,-35.536]],"c":false}],"e":[{"i":[[0,0],[33.284,-23.706]],"o":[[0,0],[-33.284,23.706]],"v":[[61.612,-15.059],[0.278,-29.546]],"c":false}]},{"i":{"x":0.754,"y":1},"o":{"x":0.179,"y":0},"t":20,"s":[{"i":[[0,0],[33.284,-23.706]],"o":[[0,0],[-33.284,23.706]],"v":[[61.612,-15.059],[0.278,-29.546]],"c":false}],"e":[{"i":[[0,0],[31.344,-23.961]],"o":[[0,0],[-31.344,23.961]],"v":[[58.525,-15.693],[2.164,-20.523]],"c":false}]},{"i":{"x":0.3,"y":1},"o":{"x":0.333,"y":0},"t":40,"s":[{"i":[[0,0],[31.344,-23.961]],"o":[[0,0],[-31.344,23.961]],"v":[[58.525,-15.693],[2.164,-20.523]],"c":false}],"e":[{"i":[[0,0],[31.344,-23.961]],"o":[[0,0],[-31.344,23.961]],"v":[[58.525,-15.693],[2.164,-20.523]],"c":false}]},{"i":{"x":0.388,"y":1},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[31.344,-23.961]],"o":[[0,0],[-31.344,23.961]],"v":[[58.525,-15.693],[2.164,-20.523]],"c":false}],"e":[{"i":[[0,0],[35.401,-22.396]],"o":[[0,0],[-35.401,22.396]],"v":[[61.169,-27.107],[0.242,-35.536]],"c":false}]},{"t":90}],"ix":2},"nm":"Path 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":8.5,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":0,"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":"Transform"}],"nm":"Shape 3","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.165,"y":0},"t":0,"s":[{"i":[[0,0],[40.699,-11.078]],"o":[[0,0],[-41.537,11.306]],"v":[[103.554,-24.217],[47.924,-37.463]],"c":false}],"e":[{"i":[[0,0],[40.39,-15.81]],"o":[[0,0],[-39.104,15.307]],"v":[[101.729,-15.329],[44.959,-29.579]],"c":false}]},{"i":{"x":0.754,"y":1},"o":{"x":0.179,"y":0},"t":20,"s":[{"i":[[0,0],[40.39,-15.81]],"o":[[0,0],[-39.104,15.307]],"v":[[101.729,-15.329],[44.959,-29.579]],"c":false}],"e":[{"i":[[0,0],[37.258,-13.784]],"o":[[0,0],[-38.025,14.068]],"v":[[98.028,-17.014],[46.486,-25.304]],"c":false}]},{"i":{"x":0.3,"y":1},"o":{"x":0.333,"y":0},"t":40,"s":[{"i":[[0,0],[37.258,-13.784]],"o":[[0,0],[-38.025,14.068]],"v":[[98.028,-17.014],[46.486,-25.304]],"c":false}],"e":[{"i":[[0,0],[37.258,-13.784]],"o":[[0,0],[-38.025,14.068]],"v":[[98.028,-17.014],[46.486,-25.304]],"c":false}]},{"i":{"x":0.388,"y":1},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[37.258,-13.784]],"o":[[0,0],[-38.025,14.068]],"v":[[98.028,-17.014],[46.486,-25.304]],"c":false}],"e":[{"i":[[0,0],[40.699,-11.078]],"o":[[0,0],[-41.537,11.306]],"v":[[103.554,-24.217],[47.924,-37.463]],"c":false}]},{"t":90}],"ix":2},"nm":"Path 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":8.5,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":0,"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":"Transform"}],"nm":"Shape 2","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.165,"y":0},"t":0,"s":[{"i":[[0,0],[8.62,13.518],[14.449,-6.502],[-13.486,-26.249],[-3.371,-8.67],[8.669,-4.335],[8.188,6.261],[13.245,-0.241],[-1.686,-12.041],[-19.266,-16.376],[-29.584,-6.667],[-35.608,37.293],[13.896,26.348],[0,0]],"o":[[0,0],[-10.596,-16.617],[-10.803,4.861],[10.731,20.887],[3.371,8.67],[-8.669,4.335],[-8.188,-6.261],[-13.004,0.236],[1.625,11.605],[19.266,16.376],[34.196,7.706],[35.641,-37.327],[-18.543,-35.16],[0,0]],"v":[[13.728,-12.417],[-27.934,-83.941],[-63.335,-105.374],[-61.89,-62.026],[-25.285,16.963],[-13.726,71.388],[-49.608,61.755],[-85.972,44.898],[-113.907,63.682],[-53.702,118.107],[19.989,164.826],[143.048,130.148],[150.032,0.346],[97.051,-31.683]],"c":false}],"e":[{"i":[[0,0],[10.195,20.028],[14.86,-5.954],[-10.901,-26.104],[-3.747,-8.264],[7.897,-5.269],[10.722,5.422],[12.888,-0.942],[-2.875,-13.684],[-31.192,-21.152],[-31.035,-4.772],[-31.541,39.101],[15.287,24.693],[0,0]],"o":[[0,0],[-10.195,-20.028],[-15.007,6.012],[13.047,31.243],[3.747,8.264],[-7.838,5.223],[-10.028,-4.828],[-12.654,0.925],[2.671,12.713],[21.371,14.685],[33.798,5.197],[30.946,-38.276],[-17.761,-29.068],[0,0]],"v":[[16.437,1.483],[-25.207,-76.861],[-60.512,-107.185],[-60,-59.785],[-24.454,24.389],[-12.358,75.622],[-49.374,69.189],[-89.937,58.578],[-117.573,80.148],[-47.96,124.513],[30.883,167.633],[142.072,126.07],[141.498,-0.38],[94.369,-28.055]],"c":false}]},{"i":{"x":0.754,"y":1},"o":{"x":0.179,"y":0},"t":20,"s":[{"i":[[0,0],[10.195,20.028],[14.86,-5.954],[-10.901,-26.104],[-3.747,-8.264],[7.897,-5.269],[10.722,5.422],[12.888,-0.942],[-2.875,-13.684],[-31.192,-21.152],[-31.035,-4.772],[-31.541,39.101],[15.287,24.693],[0,0]],"o":[[0,0],[-10.195,-20.028],[-15.007,6.012],[13.047,31.243],[3.747,8.264],[-7.838,5.223],[-10.028,-4.828],[-12.654,0.925],[2.671,12.713],[21.371,14.685],[33.798,5.197],[30.946,-38.276],[-17.761,-29.068],[0,0]],"v":[[16.437,1.483],[-25.207,-76.861],[-60.512,-107.185],[-60,-59.785],[-24.454,24.389],[-12.358,75.622],[-49.374,69.189],[-89.937,58.578],[-117.573,80.148],[-47.96,124.513],[30.883,167.633],[142.072,126.07],[141.498,-0.38],[94.369,-28.055]],"c":false}],"e":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}]},{"i":{"x":0.3,"y":1},"o":{"x":0.333,"y":0},"t":40,"s":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}],"e":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}]},{"i":{"x":0.388,"y":1},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}],"e":[{"i":[[0,0],[8.62,13.518],[14.449,-6.502],[-13.486,-26.249],[-3.371,-8.67],[8.669,-4.335],[8.188,6.261],[13.245,-0.241],[-1.686,-12.041],[-19.266,-16.376],[-29.584,-6.667],[-35.608,37.293],[13.896,26.348],[0,0]],"o":[[0,0],[-10.596,-16.617],[-10.803,4.861],[10.731,20.887],[3.371,8.67],[-8.669,4.335],[-8.188,-6.261],[-13.004,0.236],[1.625,11.605],[19.266,16.376],[34.196,7.706],[35.641,-37.327],[-18.543,-35.16],[0,0]],"v":[[13.728,-12.417],[-27.934,-83.941],[-63.335,-105.374],[-61.89,-62.026],[-25.285,16.963],[-13.726,71.388],[-49.608,61.755],[-85.972,44.898],[-113.907,63.682],[-53.702,118.107],[19.989,164.826],[143.048,130.148],[150.032,0.346],[97.051,-31.683]],"c":false}]},{"t":90}],"ix":2},"nm":"Path 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":8.5,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":0,"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":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"hand_matte","parent":5,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.61,"y":0.492},"o":{"x":0.453,"y":0},"t":0,"s":[67,78,0],"e":[44.152,47.639,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.511,"y":1},"o":{"x":0.206,"y":0.588},"t":20,"s":[44.152,47.639,0],"e":[27,45,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.496,"y":0.496},"o":{"x":0.333,"y":0.333},"t":40,"s":[27,45,0],"e":[27,45,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.388,"y":1},"o":{"x":0.333,"y":0},"t":45,"s":[27,45,0],"e":[67,78,0],"to":[0,0,0],"ti":[0,0,0]},{"t":90}],"ix":2,"l":2},"a":{"a":0,"k":[72,83,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.165,"y":0},"t":0,"s":[{"i":[[0,0],[8.62,13.518],[14.449,-6.502],[-13.486,-26.249],[-3.371,-8.67],[8.669,-4.335],[8.188,6.261],[13.245,-0.241],[-1.686,-12.041],[-19.266,-16.376],[-29.584,-6.667],[-35.608,37.293],[13.896,26.348],[0,0]],"o":[[0,0],[-10.596,-16.617],[-10.803,4.861],[10.731,20.887],[3.371,8.67],[-8.669,4.335],[-8.188,-6.261],[-13.004,0.236],[1.625,11.605],[19.266,16.376],[34.196,7.706],[35.641,-37.327],[-18.543,-35.16],[0,0]],"v":[[13.728,-12.417],[-27.934,-83.941],[-63.335,-105.374],[-61.89,-62.026],[-25.285,16.963],[-13.726,71.388],[-49.608,61.755],[-85.972,44.898],[-113.907,63.682],[-53.702,118.107],[19.989,164.826],[143.048,130.148],[150.032,0.346],[97.051,-31.683]],"c":false}],"e":[{"i":[[0,0],[10.195,20.028],[14.86,-5.954],[-10.901,-26.104],[-3.747,-8.264],[7.897,-5.269],[10.722,5.422],[12.888,-0.942],[-2.875,-13.684],[-31.192,-21.152],[-31.035,-4.772],[-31.541,39.101],[15.287,24.693],[0,0]],"o":[[0,0],[-10.195,-20.028],[-15.007,6.012],[13.047,31.243],[3.747,8.264],[-7.838,5.223],[-10.028,-4.828],[-12.654,0.925],[2.671,12.713],[21.371,14.685],[33.798,5.197],[30.946,-38.276],[-17.761,-29.068],[0,0]],"v":[[16.437,1.483],[-25.207,-76.861],[-60.512,-107.185],[-60,-59.785],[-24.454,24.389],[-12.358,75.622],[-49.374,69.189],[-89.937,58.578],[-117.573,80.148],[-47.96,124.513],[30.883,167.633],[142.072,126.07],[141.498,-0.38],[94.369,-28.055]],"c":false}]},{"i":{"x":0.754,"y":1},"o":{"x":0.179,"y":0},"t":20,"s":[{"i":[[0,0],[10.195,20.028],[14.86,-5.954],[-10.901,-26.104],[-3.747,-8.264],[7.897,-5.269],[10.722,5.422],[12.888,-0.942],[-2.875,-13.684],[-31.192,-21.152],[-31.035,-4.772],[-31.541,39.101],[15.287,24.693],[0,0]],"o":[[0,0],[-10.195,-20.028],[-15.007,6.012],[13.047,31.243],[3.747,8.264],[-7.838,5.223],[-10.028,-4.828],[-12.654,0.925],[2.671,12.713],[21.371,14.685],[33.798,5.197],[30.946,-38.276],[-17.761,-29.068],[0,0]],"v":[[16.437,1.483],[-25.207,-76.861],[-60.512,-107.185],[-60,-59.785],[-24.454,24.389],[-12.358,75.622],[-49.374,69.189],[-89.937,58.578],[-117.573,80.148],[-47.96,124.513],[30.883,167.633],[142.072,126.07],[141.498,-0.38],[94.369,-28.055]],"c":false}],"e":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}]},{"i":{"x":0.3,"y":1},"o":{"x":0.333,"y":0},"t":40,"s":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}],"e":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}]},{"i":{"x":0.388,"y":1},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[12.053,15.585],[12.049,-7.008],[-11.418,-21.053],[-3.885,-7.852],[7.279,-5.7],[8.542,4.613],[12.406,-1.33],[-2.585,-11.156],[-20.377,-12.324],[-28.31,-3.789],[-28.505,39.318],[15.77,23.203],[0,0]],"o":[[0,0],[-12.206,-15.784],[-9.645,5.609],[10.544,19.441],[3.885,7.852],[-7.187,5.628],[-10.006,-5.404],[-12.18,1.306],[2.491,10.752],[22.139,13.389],[32.723,4.38],[27.557,-38.011],[-16.928,-24.907],[0,0]],"v":[[15.242,0.792],[-23.553,-56.835],[-57.549,-74.242],[-54.582,-36.697],[-20.409,26.855],[-5.529,76.7],[-41.244,72.654],[-80.263,65.12],[-104.405,87.07],[-39.389,123.861],[34.137,162.798],[146.193,118.511],[139.678,-1.343],[93.056,-24.726]],"c":false}],"e":[{"i":[[0,0],[8.62,13.518],[14.449,-6.502],[-13.486,-26.249],[-3.371,-8.67],[8.669,-4.335],[8.188,6.261],[13.245,-0.241],[-1.686,-12.041],[-19.266,-16.376],[-29.584,-6.667],[-35.608,37.293],[13.896,26.348],[0,0]],"o":[[0,0],[-10.596,-16.617],[-10.803,4.861],[10.731,20.887],[3.371,8.67],[-8.669,4.335],[-8.188,-6.261],[-13.004,0.236],[1.625,11.605],[19.266,16.376],[34.196,7.706],[35.641,-37.327],[-18.543,-35.16],[0,0]],"v":[[13.728,-12.417],[-27.934,-83.941],[-63.335,-105.374],[-61.89,-62.026],[-25.285,16.963],[-13.726,71.388],[-49.608,61.755],[-85.972,44.898],[-113.907,63.682],[-53.702,118.107],[19.989,164.826],[143.048,130.148],[150.032,0.346],[97.051,-31.683]],"c":false}]},{"t":90}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"rc","d":1,"s":{"a":0,"k":[517,517],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","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":8.5,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"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":"Transform"}],"nm":"Shape 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"point","parent":5,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":50,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.15,"y":1},"o":{"x":0.161,"y":0},"t":30.002,"s":[-92.496,-112.985,0],"e":[-94.654,-99.124,0],"to":[-0.477,6.173,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":40.002,"s":[-94.654,-99.124,0],"e":[-94.654,-99.124,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.555,"y":1},"o":{"x":0.752,"y":0},"t":47.502,"s":[-94.654,-99.124,0],"e":[-67.654,-95.124,0],"to":[0,0,0],"ti":[0,0,0]},{"t":67.501953125}],"ix":2,"l":2},"a":{"a":0,"k":[-49.021,-75.31,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.15,0.15,0.667],"y":[1,1,1]},"o":{"x":[0.161,0.161,0.333],"y":[0,0,0]},"t":30.002,"s":[60.935,60.935,100],"e":[100,100,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":40.002,"s":[100,100,100],"e":[100,100,100]},{"i":{"x":[0.205,0.205,0.667],"y":[1,1,1]},"o":{"x":[0.752,0.752,0.333],"y":[0,0,0]},"t":47.502,"s":[100,100,100],"e":[40,40,100]},{"t":67.501953125}],"ix":6,"l":2}},"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.886274988511,0.886274988511,0.886274988511,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":[1,1,1,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":[-49.021,-75.31],"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":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":30,"op":60,"st":-66,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"CTRL","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[105,140,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[35,35,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[420,420],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[0.727345006606,0.727345006606,0.727345006606,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":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0}],"markers":[]}'),I=(0,o.memo)((({width:e=40,height:t=40,autoplay:i=!0})=>(0,n.jsx)(S.H,{width:e,height:t,autoplay:i,loop:!0,animationData:E}))),P=i.p+"7984dfff41b8f3f48366.png";var T=i(84987);const D={id:"divided-line-e6f53abc",use:"divided-line-e6f53abc-usage",viewBox:"0 0 418 4",content:''};function O(e){const t=(0,o.useContext)(T.X);return(0,o.useLayoutEffect)((()=>(t.add(D),()=>{t.remove("divided-line-e6f53abc")})),[]),(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e,{children:(0,n.jsx)("use",{xlinkHref:"#divided-line-e6f53abc"},void 0)}),void 0)}var B=i(58542),L=i(89626);const R={id:"app-store-09f1f0d1",use:"app-store-09f1f0d1-usage",viewBox:"0 0 136 43",content:''};function M(e){const t=(0,o.useContext)(T.X);return(0,o.useLayoutEffect)((()=>(t.add(R),()=>{t.remove("app-store-09f1f0d1")})),[]),(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e,{children:(0,n.jsx)("use",{xlinkHref:"#app-store-09f1f0d1"},void 0)}),void 0)}const Q={id:"google-play-e48773e6",use:"google-play-e48773e6-usage",viewBox:"0 0 136 43",content:''};function z(e){const t=(0,o.useContext)(T.X);return(0,o.useLayoutEffect)((()=>(t.add(Q),()=>{t.remove("google-play-e48773e6")})),[]),(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e,{children:(0,n.jsx)("use",{xlinkHref:"#google-play-e48773e6"},void 0)}),void 0)}const V=i.p+"744be6c19a505e069c46.png",W=e=>{const{t,reportEvent:i}=(0,o.useContext)(a.P),{isMobile:r=!1,CTAWrapper:l,onelink:d,QRCode:c}=e,h=(0,o.useCallback)((()=>{i("download_app_confirm",{enter_method:"download_tiktok"})}),[i]),p=(0,o.useCallback)((()=>{i("show_section",{section:"third_screen"})}),[]),g=(0,o.useCallback)((()=>{i("download_app_notify",{enter_method:"download_tiktok"})}),[]),m=(0,s.Pd)({callback:p}),_=(0,s.Pd)({callback:g});return(0,n.jsxs)(u,Object.assign({"data-e2e":"three-screen-footer-section"},{children:[(0,n.jsxs)(f,Object.assign({"data-e2e":"download-warning-info"},{children:[(0,n.jsx)("div",{children:(0,n.jsx)("img",{src:P,alt:t("seo_downloader_AboutDownloadingTikTokVideos"),style:{width:"55px",height:"48px"}})}),(0,n.jsxs)("div",Object.assign({className:"texts"},{children:[(0,n.jsx)(v,Object.assign({ref:m},{children:t("seo_downloader_AboutDownloadingTikTokVideos")})),(0,n.jsxs)("div",Object.assign({className:"item"},{children:[(0,n.jsx)("div",Object.assign({className:"index"},{children:"1."})),(0,n.jsx)("span",{children:t("seo_downloader_legal1")})]})),(0,n.jsxs)("div",Object.assign({className:"item"},{children:[(0,n.jsx)("div",Object.assign({className:"index"},{children:"2."})),(0,n.jsx)("span",{children:t("seo_downloader_legal2")})]})),(0,n.jsxs)("div",Object.assign({className:"item"},{children:[(0,n.jsx)("div",Object.assign({className:"index"},{children:"3."})),(0,n.jsx)("span",{children:t("seo_downloader_legal3")})]}))]}))]})),r&&l?(0,n.jsx)(l,Object.assign({section:"download_tiktok",reportTap:!1},{children:(0,n.jsx)(w,Object.assign({onClick:h,"data-e2e":"three-screen-download-btn",ref:_},{children:(0,n.jsxs)("span",Object.assign({style:{display:"inline-flex",alignItems:"center",gap:"2px",paddingTop:5}},{children:[(0,n.jsx)(B.JSR,{size:"20px"}),t("seo_downloader_DownloadOnTikTok")]}))}))})):(0,n.jsxs)(y,Object.assign({"data-e2e":"three-screen-footer-section"},{children:[(0,n.jsx)(C,{children:(0,n.jsx)(O,{width:"100%",height:"100%"})}),(0,n.jsx)("div",Object.assign({style:{fontWeight:600,fontSize:24,lineHeight:"125%"}},{children:t("seo_downloader_DownloadOnTikTok")})),(0,n.jsxs)(A,{children:[(0,n.jsx)("img",{src:V,alt:"download-qr-code",style:{borderRadius:"8px",height:"150px",width:"150px"}}),(0,n.jsx)(L.A,{"data-e2e":"three-screen-footer-qr",fgColor:"#221d1e",bgColor:"transparent",url:null!=d?d:"",QRCode:c,specialStyle:{marginTop:-146,display:"block"}})]}),(0,n.jsxs)("a",Object.assign({href:"/download"},{children:[(0,n.jsx)(M,{width:"136",height:"43",style:{margin:"0 10px"}}),(0,n.jsx)(z,{width:"136",height:"43"})]}))]}))]}))},N=e=>{const{t,reportEvent:i,isBot:c}=(0,o.useContext)(a.P),h=(0,o.useRef)(null),p=(0,o.useRef)(null),{isMobile:u=!1,CTAWrapper:v,onelink:f,QRCode:A}=e,w=u?60:100,y=(0,o.useCallback)((()=>{i("show_section",{section:"second_screen"})}),[]),C=(0,s.Pd)({callback:y}),S=(0,j.W)(h,{amount:.5,once:!1}),E=(0,j.W)(p,{amount:.1,once:!1}),P={hidden:{opacity:0,y:100},visible:{opacity:1,y:0}};return(0,n.jsxs)(g,{children:[(0,n.jsx)(m,Object.assign({"data-e2e":"download-step",ref:h,initial:c?"visible":"hidden",animate:S||c?"visible":"hidden",variants:P,transition:{type:"spring",stiffness:30,damping:10,mass:1.2,duration:1.5}},{children:t("seo_downloader_HowToDownloadVideosFromTikTok")})),(0,n.jsxs)(x,Object.assign({ref:p,initial:c?"visible":"hidden",animate:E||c?"visible":"hidden",variants:P,transition:{type:"spring",stiffness:30,damping:10,mass:1.2,duration:.2}},{children:[(0,n.jsxs)(b,Object.assign({"data-e2e":"download-step-1",ref:C},{children:[(0,n.jsx)(_,{}),(0,n.jsxs)("div",Object.assign({className:"image-section","data-e2e":"download-step-1-img"},{children:[(0,n.jsx)("img",{src:r,alt:t("seo_downloader_openTikTok")}),(0,n.jsx)("div",Object.assign({className:"lottie-wrapper-1"},{children:(0,n.jsx)(I,{width:w,height:w})}))]})),(0,n.jsxs)("div",Object.assign({className:"text-section","data-e2e":"download-step-1-text"},{children:[(0,n.jsx)(k,{children:t("seo_downloader_openTikTok")}),(0,n.jsx)("p",{children:t("seo_downloader_InTheTikTokAppGotoTheVideo")})]}))]})),(0,n.jsxs)(b,Object.assign({"data-e2e":"download-step-2"},{children:[(0,n.jsx)(_,{}),(0,n.jsxs)("div",Object.assign({className:"image-section","data-e2e":"download-step-2-img"},{children:[(0,n.jsx)("img",{src:l,alt:t("seo_downloader_tapShare")}),(0,n.jsx)("div",Object.assign({className:"lottie-wrapper-2"},{children:(0,n.jsx)(I,{width:w,height:w})}))]})),(0,n.jsxs)("div",Object.assign({className:"text-section","data-e2e":"download-step-2-text"},{children:[(0,n.jsx)(k,{children:t("seo_downloader_tapShare")}),(0,n.jsx)("p",{children:t("seo_downloader_TapTheShareButtonOnTheSideOfVideo")})]}))]})),(0,n.jsxs)(b,Object.assign({"data-e2e":"download-step-3"},{children:[(0,n.jsx)(_,{}),(0,n.jsxs)("div",Object.assign({className:"image-section","data-e2e":"download-step-3-img"},{children:[(0,n.jsx)("img",{src:d,alt:t("seo_downloader_saveVideo")}),(0,n.jsx)("div",Object.assign({className:"lottie-wrapper-3"},{children:(0,n.jsx)(I,{width:w,height:w})}))]})),(0,n.jsxs)("div",Object.assign({className:"text-section","data-e2e":"download-step-3-text"},{children:[(0,n.jsx)(k,{children:t("seo_downloader_saveVideo")}),(0,n.jsx)("p",{children:t("seo_downloader_TapSaveVideo")})]}))]}))]})),(0,n.jsx)(W,{CTAWrapper:v,isMobile:u,onelink:f,QRCode:A})]})}},89245:(e,t,i)=>{i.d(t,{q:()=>y});var n=i(24643),o=i(40099),a=i(5982),s=i(93794),r=i(23109),l=i(58542),d=i(62186),c=i(264);const h=(0,d.default)("div",{target:"e1e4cloa0"})({position:"absolute",inset:0,overflow:"hidden",pointerEvents:"none",perspective:"610px",height:"100%",width:"100%"},"label:CardsContainer;"),p=(0,d.default)(c.P.div,{target:"e1e4cloa1"})({position:"absolute",transformStyle:"preserve-3d"},"label:CardWrapper;"),g=(0,d.default)("div",{target:"e1e4cloa2"})({position:"relative",borderRadius:"16px",overflow:"hidden",boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",width:"30vw",height:"58vw",aspectRatio:"9 / 16",backdropFilter:"blur(4px)",border:"1px solid rgba(255, 255, 255, 0.1)",transformStyle:"preserve-3d","@media (min-width: 725px)":{width:"20vw",height:"36vw",borderRadius:"28px"}},"label:Card;"),u=(0,d.default)("div",{target:"e1e4cloa3"})({width:"100%",height:"100%",position:"relative"},"label:CardContent;"),m=(0,d.default)("video",{target:"e1e4cloa4"})({width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0},"label:VideoElement;"),v=(0,d.default)("div",{target:"e1e4cloa5"})({position:"absolute",top:"14px",right:"14px",width:"14px",height:"14px",background:"rgba(255, 255, 255, 1)",borderRadius:4,display:"flex",alignItems:"center",justifyContent:"center",opacity:"60%",gap:"10px","@media (min-width: 725px)":{width:"28px",height:"28px",borderRadius:8}},"label:IconWrapper;"),f=(0,d.default)("div",{target:"e1e4cloa6"})({position:"absolute",bottom:"8px",left:"8px",display:"flex",alignItems:"center",gap:"2px",padding:"2px 4px",borderRadius:"8px","@media (min-width: 725px)":{gap:"4px"}},"label:VerifiedWrapper;"),_=(0,d.default)("span",{target:"e1e4cloa7"})({fontWeight:500,fontSize:"6px",lineHeight:"130%",letterSpacing:"0.67%",color:"white",verticalAlign:"middle","@media (min-width: 725px)":{fontSize:"14px"}},"label:VerifiedText;"),k=["https://sf16-va.tiktokcdn.com/obj/eden-va2/oadvyn_lcpahcvuup_rvarpa/ljhwZthlaukjlkulzlp/float-card-1.mp4","https://sf16-va.tiktokcdn.com/obj/eden-va2/oadvyn_lcpahcvuup_rvarpa/ljhwZthlaukjlkulzlp/float-card-2.mp4","https://sf16-va.tiktokcdn.com/obj/eden-va2/oadvyn_lcpahcvuup_rvarpa/ljhwZthlaukjlkulzlp/float-card-3.mp4","https://sf16-va.tiktokcdn.com/obj/eden-va2/oadvyn_lcpahcvuup_rvarpa/ljhwZthlaukjlkulzlp/float-card-4.mp4","https://sf16-va.tiktokcdn.com/obj/eden-va2/oadvyn_lcpahcvuup_rvarpa/ljhwZthlaukjlkulzlp/float-card-5.mp4","https://sf16-va.tiktokcdn.com/obj/eden-va2/oadvyn_lcpahcvuup_rvarpa/ljhwZthlaukjlkulzlp/float-card-6.mp4"],x=[{id:0,x:"8%",y:"-25%",scale:1,depth:.08,rotateX:0,rotateY:-10,rotateZ:-5,zIndex:5,perspective:636},{id:1,x:"65%",y:"-30%",scale:.8,depth:.12,rotateX:0,rotateY:2,rotateZ:10,zIndex:4,perspective:610},{id:2,x:"90%",y:"-13%",scale:.5,depth:.05,rotateX:3,rotateY:-2,rotateZ:10,zIndex:6,perspective:1200},{id:3,x:"60%",y:"40%",scale:1,depth:.1,rotateX:0,rotateY:0,rotateZ:5,zIndex:4,perspective:800},{id:4,x:"10%",y:"55%",scale:.6,depth:.15,rotateX:-2,rotateY:5,rotateZ:-2,zIndex:3,perspective:1200},{id:5,x:"-10%",y:"25%",scale:.4,depth:.07,rotateX:-1,rotateY:-1,rotateZ:-2,zIndex:2,perspective:655}],b=[{id:0,x:"-4%",y:"2%",scale:1,depth:.08,rotateX:0,rotateY:-10,rotateZ:-5,zIndex:5,perspective:636},{id:1,x:"55%",y:"-2%",scale:.8,depth:.12,rotateX:0,rotateY:2,rotateZ:10,zIndex:4,perspective:610},{id:2,x:"85%",y:"10%",scale:.5,depth:.05,rotateX:3,rotateY:-2,rotateZ:10,zIndex:6,perspective:1200},{id:3,x:"72%",y:"60%",scale:1,depth:.1,rotateX:0,rotateY:0,rotateZ:5,zIndex:4,perspective:800},{id:4,x:"2%",y:"70%",scale:.7,depth:.15,rotateX:-5,rotateY:1,rotateZ:-2,zIndex:3,perspective:1200},{id:5,x:"-15%",y:"45%",scale:.5,depth:.07,rotateX:-1,rotateY:-1,rotateZ:-2,zIndex:2,perspective:655}],A=[0,3,4],w=[1,2,5],y=({isMobile:e=!1})=>{const t=(0,a.d)(0),i=(0,a.d)(0),[d,c]=(0,o.useState)([]),[y,C]=(0,o.useState)(b),j=y.map((e=>({x:(0,s.G)(t,[-.5,.5],[500*e.depth,500*-e.depth]),y:(0,s.G)(i,[-.5,.5],[500*e.depth,500*-e.depth])})));return(0,o.useEffect)((()=>{const e=()=>{const e=window.innerWidth<=724;C(e?b:x)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),(0,o.useEffect)((()=>{c(A);const e=setTimeout((()=>{c([...A,...w])}),300);return()=>clearTimeout(e)}),[]),(0,o.useEffect)((()=>{const e=e=>{t.set(e.clientX/window.innerWidth-.5),i.set(e.clientY/window.innerHeight-.5)};return window.addEventListener("mousemove",e),t.set(0),i.set(0),()=>{window.removeEventListener("mousemove",e)}}),[t,i]),(0,n.jsx)(h,{children:(0,n.jsx)(r.N,{children:y.filter((e=>d.includes(e.id))).map((t=>(0,n.jsx)(p,Object.assign({style:{left:t.x,top:t.y,zIndex:t.zIndex,x:j[t.id].x,y:j[t.id].y,perspective:t.perspective},initial:{scale:.1,opacity:0,rotateX:t.rotateX,rotateY:t.rotateY,rotateZ:t.rotateZ,z:-1e3},animate:{scale:t.scale,opacity:1,z:0},transition:{type:"spring",stiffness:100,damping:25,mass:.1,delay:A.includes(t.id)?0:.01}},{children:(0,n.jsx)(g,{children:(0,n.jsxs)(u,{children:[(0,n.jsx)(m,{src:k[t.id],autoPlay:!0,loop:!0,muted:!0,playsInline:!0}),(0,n.jsx)(v,Object.assign({style:{background:"rgba(255, 255, 255, 1)"}},{children:(0,n.jsx)(l.coS,{style:{opacity:.3},color:"BrandTikTokBlack",size:e?"12":"20"})})),(0,n.jsxs)(f,{children:[(0,n.jsx)(_,{children:"@TikTok"}),(0,n.jsx)(l.VA8,{size:e?"4":"12"})]})]})})}),t.id)))})})}},8425:(e,t,i)=>{i.d(t,{h:()=>J});var n=i(24643),o=i(40099);const a=i.p+"907ee3ab2effdb07bf61.png";var s=i(34741),r=i(58542),l=i(62186);const d=(0,l.default)("div",{target:"e1izbcaw0"})({display:"flex",flexDirection:"column",alignItems:"center",lineHeight:"100%",width:"100%",height:"74px",gap:"40px","@media (min-width: 725px)":{width:"700px",height:"310px"}},"label:DivContainer;"),c=(0,l.default)("h1",{target:"e1izbcaw1"})({fontWeight:700,WebkitBackgroundClip:"text",backgroundClip:"text",color:"#FFFFFF",fontSize:"30px",lineHeight:"100%",textAlign:"center",img:{display:"inline-block",verticalAlign:"middle",width:30,height:34,marginRight:4},span:{verticalAlign:"middle"},"@media (min-width: 725px)":{fontSize:"56px",img:{width:56,height:79,marginRight:10,paddingBottom:15}}},"label:DivTitle;"),h=(0,l.default)("p",{target:"e1izbcaw2"})({color:"rgba(255, 255, 255, 0.75)",lineHeight:"130%",width:"260px",height:"48px",textAlign:"center",letterSpacing:"1.34%",fontWeight:400,"@media (min-width: 725px)":{width:"366px",height:"32px"}},"label:Description;"),p=(0,l.default)("div",{target:"e1izbcaw3"})({position:"relative",display:"flex",flexDirection:"column",gap:"15px","@media (min-width: 724px)":{flexDirection:"row"}},"label:DivInputContainer;"),g=(0,l.default)("button",{target:"e1izbcaw4"})({background:"#FE2C55",color:"white",fontWeight:700,borderRadius:"9999px",display:"flex",alignItems:"center",justifyContent:"center",gap:"0.5rem",transition:"all 0.3s",transformOrigin:"center",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",border:"none",cursor:"pointer",height:"48px",width:"358px","@media (min-width: 725px)":{height:"54px",width:"54px"}},"label:DownloadButton;"),u=(0,l.default)("div",{target:"e1izbcaw5"})({position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(30px)",zIndex:-1,opacity:0,animation:"fadeIn 0.5s ease 70ms forwards","@keyframes fadeIn":{from:{opacity:0},to:{opacity:1}}},"label:Overlay;"),m=(0,l.default)("div",{target:"e1izbcaw6"})({color:"rgba(255, 255, 255, 0.75)",fontSize:"12px",padding:"0 1rem"},"label:FooterText;"),v=(0,l.default)("input",{target:"e1izbcaw7"})({flex:1,backgroundColor:"rgba(30, 30, 30, 1)",borderRadius:"999px",padding:"14px 20px",color:"rgba(255, 255, 255, 0.4)",width:"358px",height:"48px",textAlign:"left",fontFamily:"TikTokFont",":focus":{outline:"none",borderColor:"transparent",caretColor:"red"},"@media (min-width: 725px)":{width:"540px",height:"54px"}},"label:Input;");i(264);var f=i(84987);const _={id:"Choose_How_Ads_Shown-c6db83b2",use:"Choose_How_Ads_Shown-c6db83b2-usage",viewBox:"0 0 337 148",content:''};function k(e){const t=(0,o.useContext)(f.X);return(0,o.useLayoutEffect)((()=>(t.add(_),()=>{t.remove("Choose_How_Ads_Shown-c6db83b2")})),[]),(0,n.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},e,{children:(0,n.jsx)("use",{xlinkHref:"#Choose_How_Ads_Shown-c6db83b2"},void 0)}),void 0)}const x=(0,l.default)("div",{target:"e1bqj4w2"})((()=>[{display:"flex",flexDirection:"column",alignItems:"center"}]),"label:MobileContent;"),b=(0,l.default)("div",{target:"e1bqj4w3"})((()=>[{width:"334px",height:"147px",margin:"10px 0 20px",position:"relative",display:"flex",alignItems:"center",justifyContent:"center"}]),"label:IllustrationContainer;"),A=(0,l.default)("h3",{target:"e1bqj4w4"})((()=>[{fontSize:"20px",fontWeight:700,marginBottom:"12px",textAlign:"center",lineHeight:"125%",color:"rgba(246, 246, 246, 1)"}]),"label:MobileTitle;"),w=(0,l.default)("p",{target:"e1bqj4w5"})((()=>[{color:"rgba(255, 255, 255, 0.7)",fontSize:"14px",lineHeight:"130%",textAlign:"center",marginBottom:"20px",fontWeight:400}]),"label:MobileDescription;"),y=(0,l.default)("button",{target:"e1bqj4w6"})((()=>[{backgroundColor:"rgba(254, 44, 85, 1)",color:"white",width:"248px",height:"48px",border:"none",borderRadius:"8px",padding:"8px 14px",fontSize:"16px",fontWeight:500,cursor:"pointer",transition:"background-color 0.2s","&:hover":{backgroundColor:"#ff3954"}}]),"label:DownloadButton;"),C=({CTAVideoWrapper:e,itemId:t})=>{const{t:i,reportEvent:a}=(0,o.useContext)(s.P);(0,o.useEffect)((()=>{a("download_app_notify",{enter_method:"download_video"})}),[a]);const r=(0,o.useCallback)((()=>{a("download_app_confirm",{enter_method:"download_video"})}),[a]);return(0,n.jsxs)(x,{children:[(0,n.jsx)(b,{children:(0,n.jsx)(k,{height:137,width:300})}),(0,n.jsxs)(A,{children:[" ",i("seo_downloader_DownloadVideosFromTikTok")," "]}),(0,n.jsx)(w,{children:i("seo_downloader_EnterTheTikTokVideoLink")}),(0,n.jsx)(e,Object.assign({reportTap:!1,section:"download_video",itemId:t,extraOnelinkParams:{c:`download_video_${t}`},extraSchemeParams:{page_name:`download_video_${t}`}},{children:(0,n.jsx)(y,Object.assign({"data-e2e":"first-screen-download-btn",onClick:r},{children:i("seo_downloader_Download")}))}))]})},j=(0,l.default)("h3",{target:"e1hby3173"})({fontSize:"20px",fontWeight:700,marginBottom:"16px",lineHeight:"130%",textAlign:"center",letterSpacing:"1.5%"},"label:ModalTitle;"),S=(0,l.default)("p",{target:"e1hby3175"})({color:"rgba(255, 255, 255, 0.88)",fontSize:"14px",lineHeight:"130%",marginBottom:"32px",textAlign:"center",letterSpacing:"0.67%"},"label:Description;"),E=(0,l.default)("p",{target:"e1hby3178"})({color:"rgba(255, 255, 255, 0.6)",fontSize:"12px",marginTop:"40px",textAlign:"center"},"label:FooterText;");var I=i(89626);const P=i.p+"7e4872f8216da80d345a.png";var T=i(89311);const D=({onelink:e,itemId:t,QRCode:i})=>{const{t:a,reportEvent:r}=(0,o.useContext)(s.P);(0,o.useEffect)((()=>{r("download_app_notify",{enter_method:"download_video"})}),[r]);const{isRTL:l}=(0,T.m)(),{qrMarginRight:d,marginTop:c,qrMarginLeft:h,imgMarginLeft:p,imgMarginRight:g}=(0,o.useMemo)((()=>({qrMarginRight:l?71:void 0,qrMarginLeft:l?void 0:71,marginTop:-165,imgMarginRight:l?50:void 0,imgMarginLeft:l?void 0:50})),[l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j,{children:a("seo_downloader_DownloadVideosFromTikTok")}),(0,n.jsx)(S,{children:a("seo_downloader_EnterTheTikTokVideoLink")}),(0,n.jsx)("img",{src:P,alt:"download-qr-code",style:{borderRadius:"8px",height:"188px",width:"188px",marginLeft:p,marginRight:g}}),(0,n.jsx)(I.A,{fgColor:"#221d1e",bgColor:"transparent",url:e?`${e}&id=${t}`:"",id:t,QRCode:i,specialStyle:{marginLeft:h,marginRight:d,marginTop:c,display:"block"},"data-e2e":"first-screen-qr"}),(0,n.jsxs)(E,{children:[a("seo_longtail_scanCodeDownload")," "]})]})};var O=i(17784),B=i(18499);const L=(0,l.default)("div",{target:"e1wqsqpk0"})({position:"fixed",left:0,right:0,top:0,bottom:0,overflow:"hidden",userSelect:"none",pointerEvents:"none"},(({zIndex:e})=>({zIndex:e})),"label:DivContainer;"),R=(0,l.default)("div",{target:"e1wqsqpk1"})({pointerEvents:"auto",position:"absolute",left:0,top:0,bottom:0,right:0,background:"rgba(0, 0, 0, 0.5)",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.06)",transition:"opacity 0.3s"},(({status:e})=>({opacity:e===O.kp||e===O.ze||e===O.ns?0:1})),"label:DivMask;"),M=(0,l.default)("div",{target:"e1wqsqpk2"})({pointerEvents:"auto",position:"absolute",left:0,bottom:0,width:"100%",background:"#fff",borderRadius:"12px 12px 0 0",maxHeight:"73vh",transition:"transform 0.3s"},(({status:e})=>({transform:e===O.ze||e===O.kp||e===O.ns?"translateY(100%)":"none"})),"label:DivBodyWrapper;"),Q=(0,l.default)("div",{target:"e1wqsqpk3"})({padding:"16px 20px 20px"},"label:DivContentWrapper;"),z=(0,l.default)("div",{target:"e1wqsqpk4"})({position:"absolute",top:"16px",width:"24px",height:"24px",zIndex:1,display:"flex",justifyContent:"center",alignItems:"center"},(({theme:e})=>({["rtl"===e.direction?"left":"right"]:"16px"})),"label:DivCloseWrapper;"),V=(0,l.default)("div",{target:"e1wqsqpk5"})({position:"absolute",top:"16px",width:"24px",height:"24px",zIndex:1,display:"flex",justifyContent:"center",alignItems:"center"},(({theme:e})=>({["rtl"===e.direction?"right":"left"]:"16px"})),"label:DivExtraAction;"),W=(0,l.default)("div",{target:"e1wqsqpk6"})((({theme:e})=>({padding:"16px 20px",borderBottom:`0.5px solid ${e.colors.LinePrimary}`,display:"flex",justifyContent:"center",alignItems:"center"})),"label:DivHeaderWrapper;"),N=(0,l.default)("div",{target:"e1wqsqpk7"})({display:"flex"},"label:DivTuxCloseIconWrapper;");var F;!function(e){e.Icon="icon",e.Mask="mask"}(F||(F={}));const H=(0,o.memo)((function(e){const{mask:t=!0,maskClosable:i=!0,onClickMask:a,closeable:s=!0,visible:l=!1,style:d,containerStyle:c,maskStyle:h,needTouchEvents:p=!0,zIndex:g=3001,onClose:u,direction:m,header:v,children:f,contentStyle:_,extraAction:k,bodyE2E:x,e2eTag:b,closeStyle:A,headerStyle:w={},xAxisTouchOptimization:y=!1,supportSSR:C=!1,bodyTimeout:j=300,disableEnterAnimation:S,disableAnimation:E,id:I}=e,[P,T]=(0,o.useState)(C);(0,o.useEffect)((()=>{T(!0)}),[]);const D=(0,o.useRef)(null),F=(0,o.useRef)(null),H=(0,o.useRef)(),U=(0,o.useCallback)((e=>{H.current=e.targetTouches[0].clientY}),[]),G=(0,o.useCallback)((e=>{var t,i;if(!(null===(t=F.current)||void 0===t?void 0:t.contains(e.target)))return e.stopPropagation(),void e.preventDefault();const n=e.targetTouches[0].clientY-(null!==(i=H.current)&&void 0!==i?i:0),o=F.current,a=y?-5:0,s=y?5:0;return o&&Math.abs(o.scrollHeight-o.clientHeight-o.scrollTop)<1&&ns?e.preventDefault():void 0}),[]);(0,o.useEffect)((()=>{if(p)return l&&(document.addEventListener("touchstart",U),document.addEventListener("touchmove",G,{passive:!1})),()=>{document.removeEventListener("touchstart",U),document.removeEventListener("touchmove",G)}}),[l,G,U,p]);const q=(0,o.useCallback)((e=>{i&&(null==u||u(e,"mask")),null==a||a(e)}),[i,u]),J=(0,o.useCallback)((e=>{s&&(null==u||u(e,"icon"))}),[s,u]);if(!P)return null;const K=(0,n.jsx)(O.Ay,Object.assign({timeout:300,in:l,nodeRef:D,mountOnEnter:!0,unmountOnExit:!0,onExited:e.onExitEnd,appear:!S&&!E,enter:!S&&!E,exit:!E},{children:e=>(0,n.jsxs)(L,Object.assign({style:c,zIndex:g,ref:D,status:e},{children:[t&&(0,n.jsx)(R,{status:e,style:h,onClick:q}),(0,n.jsx)(O.Ay,Object.assign({timeout:j,in:l,unmountOnExit:!0,appear:!S,enter:!S,exit:!E},{children:e=>(0,n.jsxs)(M,Object.assign({id:I,"data-e2e":x,status:e,style:d},{children:[Boolean(v)&&(0,n.jsx)(W,Object.assign({style:w},{children:v})),s&&(0,n.jsx)(z,Object.assign({direction:m,onClick:J,style:A},{children:(0,n.jsx)(N,Object.assign({e2eTag:b},{children:(0,n.jsx)(r.hdF,{size:"24"})}))})),k&&(0,n.jsx)(V,Object.assign({direction:m},{children:k})),(0,n.jsx)(Q,Object.assign({style:Object.assign({overflow:"hidden"},_),header:Boolean(v),ref:F},{children:f}))]}))}))]}))}));return C?K:(0,B.createPortal)(K,document.body)})),U={background:"none",top:"40%",bottom:"auto",right:"auto",marginTop:"-121px",transform:"none",boxShadow:"0 10px 25px rgba(0, 0, 0, 0.5)",position:"relative",color:"rgba(246, 246, 246, 1)",overflow:"hidden",backgroundColor:"rgba(30, 30, 30, 1)",borderRadius:"12px",padding:"24px",gap:"24px"},G=({isMobile:e,isOpen:t,onClose:i,CTAVideoWrapper:a,itemId:s,onelink:r,QRCode:l})=>{const{isRTL:d}=(0,T.m)(),{width:c,height:h,marginLeft:p,marginRight:g,right:u,left:m}=(0,o.useMemo)((()=>({width:e?"304px":"393px",height:e?"461px":"453px",marginLeft:d?void 0:"-155px",marginRight:d?"-155px":void 0,right:d?"50%":void 0,left:d?void 0:"50%"})),[e,d]);return t?(0,n.jsx)(H,Object.assign({visible:t,closeable:t,maskStyle:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(30px)"},bodyE2E:"download-video-dialog",maskClosable:!1,onClose:i,bodyTimeout:0,closeStyle:{width:14,height:14},style:Object.assign(Object.assign({},U),{width:c,height:h,marginLeft:p,marginRight:g,right:u,left:m}),disableEnterAnimation:!0,supportSSR:!0},{children:e&&a?(0,n.jsx)(C,{CTAVideoWrapper:a,itemId:s}):(0,n.jsx)(D,{onelink:r,QRCode:l,itemId:s})})):null};var q=i(99471);const J=e=>{const{isMobile:t=!1,CTAVideoWrapper:i,onelink:l,QRCode:f}=e,[_,k]=(0,o.useState)(""),[x,b]=(0,o.useState)(!1),[A,w]=(0,o.useState)(!1),[y,C]=(0,o.useState)(""),j=(0,r.Abx)(),{t:S,reportEvent:E}=(0,o.useContext)(s.P),I=(0,o.useCallback)((()=>{E("show_section",{section:"first_screen"})}),[]),P=(0,q.P)({callback:I}),T=(0,o.useCallback)((()=>{b(!0)}),[]),D=(0,o.useRef)(null),O=(0,o.useCallback)((()=>{D.current&&clearTimeout(D.current),D.current=setTimeout((()=>{A||b(!1)}),500)}),[A]),B=(0,o.useCallback)((()=>{E("general_click",{section:"download_video"});const e=_.trim();if(!e||!/^(https?:\/\/)?www\.tiktok\.com\/@.*\/video\/.+/i.test(e)){const e=S("seo_downloader_linkError");return void j.show({message:e},1500)}const t=e.split("/video/");let i=t.length>1?t[1]:null;i&&(i=i.split(/[?#]/)[0],C(i)),w(!0),b(!0)}),[_,E,j]),L=S("seo_downloader_inputBox");return(0,n.jsxs)(n.Fragment,{children:[x&&(0,n.jsx)(u,{}),(0,n.jsxs)(d,Object.assign({ref:P},{children:[(0,n.jsxs)(c,Object.assign({"data-e2e":"title"},{children:[(0,n.jsx)("img",{src:a}),(0,n.jsx)("span",Object.assign({style:{whiteSpace:"pre-wrap"}},{children:S("seo_downloader_DownloadTikTokVideos")}))]})),(0,n.jsxs)(p,Object.assign({"data-e2e":"input-container"},{children:[(0,n.jsx)(v,{type:"text",placeholder:L,value:_,onChange:e=>k(e.target.value),onFocus:T,onBlur:O,"data-e2e":"input-box"}),(0,n.jsxs)(g,Object.assign({onClick:B,id:"download-btn","data-e2e":"download-btn"},{children:[(0,n.jsx)(r.PYf,{size:"20"}),t&&(0,n.jsx)("span",Object.assign({style:{fontSize:14,lineHeight:"130%"}},{children:S("seo_downloader_Download")}))]}))]})),(0,n.jsx)(m,Object.assign({"data-e2e":"download-description"},{children:(0,n.jsxs)(h,{children:[S("seo_downloader_EnterTheTikTokVideoLink")," "]})})),(0,n.jsx)(G,{isOpen:A,isMobile:t,onClose:()=>{E("download_app_dismiss",{enter_method:"download_video"}),w(!1),b(!1)},CTAVideoWrapper:i,itemId:y,onelink:l,QRCode:f}),(0,n.jsx)(r.otH,{position:"top",state:j,render:e=>(0,n.jsx)("div",Object.assign({style:{marginTop:t?10:20}},{children:(0,n.jsx)(r.Mzi,{content:e.message,leading:(0,n.jsx)(r.hsQ,{})})}))})]}))]})}},89626:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(24643),o=i(34741);const a=i.p+"69e0b4de4ae311f662af.png",s=i.p+"f1c49ab5fa04e27c8c12.png";var r=i(40099);const l=function(e){const{isBot:t}=(0,r.useContext)(o.P),{id:i,url:l,QRCode:d,fgColor:c,bgColor:h,specialStyle:p}=e;return t?(0,n.jsx)("img",{src:a,alt:"download-qr-code",style:Object.assign({borderRadius:"14px",height:144,width:144},p)}):(0,n.jsx)(d,{value:l,size:150,bgColor:h,fgColor:c,logoPadding:5,qrStyle:"dots",eyeRadius:5,style:Object.assign({borderRadius:"14px",height:144,width:144},p),id:i,logoImage:s,logoWidth:25,CornerRadii:20})}},99137:(e,t,i)=>{i.r(t),i.d(t,{default:()=>ne});var n=i(24643),o=i(40099),a=i(44205),s=i(62186),r=i(47172),l=i(58542),d=i(72153);const c=(0,s.default)("div",{target:"e12u1r2s0"})((({isDisplayNone:e,showInfoCardInDesc:t})=>({padding:t?"4px":"16px",display:e?"none":"block",pointerEvents:"none"})),"label:DivVideoInfoContainer;"),h=(0,s.default)(r.Link,{target:"e12u1r2s1"})({display:"inline-flex",marginBottom:"12px"},"label:StyledUserItem;"),p=(0,s.default)("div",{target:"e12u1r2s2"})((({theme:e,showInfoCardInDesc:t})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextPrimary",fontWeight:"bold"}),{display:"flex",fontSize:t?"10px":"15px",lineHeight:t?"14px":"18px",alignItems:"center"}]),"label:DivUserTitle;"),g=(0,s.default)("div",{target:"e12u1r2s3"})((({theme:e,showInfoCardInDesc:t})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextReverse2",fontWeight:"normal"}),{fontSize:t?"12px":"14px",lineHeight:t?"14px":"22px"}]),"label:DivUserName;"),u=(0,s.default)("div",{target:"e12u1r2s4"})({marginLeft:"12px"},"label:DivUserInfo;"),m=(0,s.default)(l.VA8,{target:"e12u1r2s5"})((({theme:{direction:e}})=>[{flexShrink:0},(0,d.mp)({direction:e,marginStart:4})]),"label:StyledVerifiedBadgeColor;"),v=(0,s.default)("div",{target:"e12u1r2s6"})({marginTop:"24px"},"label:DivTranscriptWrapper;"),f=(0,s.default)("div",{target:"e12u1r2s7"})((({theme:e})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextPrimary",fontWeight:"normal"}),{fontSize:"15px",marginBottom:"12px",whiteSpace:"pre-line"}]),"label:DivTranscript;"),_=(0,s.default)("strong",{target:"e12u1r2s8"})((({theme:e})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextPrimary"}),{display:"block",fontSize:"17px",fontWeight:"600",lineHeight:"20px",marginBottom:"12px",marginTop:"24px"}]),"label:StrongTranscriptTitle;"),k=(0,s.default)("p",{target:"e12u1r2s9"})((({theme:e})=>[...(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextPrimary",fontWeight:"bold"}),{fontSize:"17px",lineHeight:"20px"}]),"label:PCardTitle;");var x=i(60484),b=i(72688),A=i(92846);const w=(0,o.memo)((e=>{const{userLink:t,avatarThumb:i,uniqueId:o,nickname:a,verified:s,showInfoCardInDesc:r=!1}=e;return(0,n.jsxs)(h,Object.assign({to:t,"data-e2e":"info-card-user"},{children:[(0,n.jsx)(A.e,{"data-e2e":"info-card-avatar",src:i,size:r?20:40}),(0,n.jsxs)(u,{children:[(0,n.jsxs)(p,Object.assign({"data-e2e":"user-uniqueId",showInfoCardInDesc:r},{children:[o,s&&(0,n.jsx)(m,{size:"12"})]})),(0,n.jsx)(g,Object.assign({"data-e2e":"user-nickname",showInfoCardInDesc:r},{children:a}))]})]}))}));var y=i(84827),C=i(34741);const j=(0,o.memo)((e=>{const{isFetching:t=!1,currentTranscript:i}=e,{t:a}=(0,o.useContext)(C.P);return t?(0,n.jsx)(y.R,{center:!0,size:"small"}):(0,n.jsxs)(v,Object.assign({"data-e2e":"video-transcript"},{children:[(0,n.jsx)(_,{children:a("seo_aggre_transcript_header")}),(0,n.jsx)(f,{children:i})]}))})),S=(0,s.default)("div",{target:"e1bkg7gn0"})({display:"flex"},"label:DivVideoDescWrapper;"),E=(0,s.default)("div",{target:"e1bkg7gn1"})((({theme:e,isBot:t,showInfoCardInDesc:i})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"ConstTextPrimary",fontWeight:"normal"}),{position:"relative",fontSize:i?"12px":"17px",lineHeight:i?"14px":"20px",a:{display:"inline !important"},maxHeight:t?"":"40px",overflow:"hidden",wordBreak:"break-all","&::before":{float:"rtl"===e.direction?"left":"right",content:"''",height:"20px",width:0}}]),"label:DivVideoDesc;"),I=(0,s.default)("div",{target:"e1bkg7gn2"})((({theme:e})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",fontWeight:"semiBold"}),{fontSize:"17px",lineHeight:"20px",color:"#000000",float:"rtl"===e.direction?"left":"right",clear:"both","&::before":{fontWeight:"400",content:'"… "'}}]),"label:DivLabelButton;"),P=(0,o.memo)((e=>{const{ItemDescription:t,item:i,showInfoCardInDesc:a=!1}=e,s=(0,o.useRef)(null),{t:r,isBot:l}=(0,o.useContext)(C.P),[d,c]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{if(null==s?void 0:s.current)return s.current.scrollHeight>s.current.clientHeight+2&&c(!0),()=>{c(!1)}}),[i]),(0,n.jsx)(S,{children:(0,n.jsxs)(E,Object.assign({"data-e2e":"video-desc",ref:s,isBot:l,showInfoCardInDesc:a},{children:[d&&(0,n.jsx)(I,Object.assign({"data-e2e":"see-more"},{children:r("seo_aggre_see_more")})),(0,n.jsx)(t,{item:i,style:{display:"inline"},wrapInContainer:!1})]}))})}));var T=i(7971),D=i(67963);const O=(0,s.default)(D.N_,{target:"enc7ya20"})((({theme:{fontFamilies:e,fontWeights:t,direction:i}})=>[{fontFamily:e.TikTokFont,fontWeight:t.normal,fontStyle:"normal",fontSize:"13px",lineHeight:"20px",color:"rgba(0, 0, 0, 1)"},(0,d.mp)({direction:i})]),"label:StyledTagLink;"),B={display:"flex",alignItems:"center",padding:"4px 12px",fontStyle:"normal",height:"24px",background:"rgba(22,24,35,0.03)",borderRadius:"100px"},L=(0,s.default)("div",{target:"enc7ya21"})((({theme:{direction:e}})=>[B,{"&:not(:last-child)":(0,d.mp)({direction:e,marginEnd:"8px"})}]),"label:DivTagItemContainer;"),R=(0,s.default)("div",{target:"enc7ya22"})((({theme:{colors:e}})=>[{position:"relative",background:e.BGPrimary,zIndex:1}]),"label:DivItemTagWrapper;"),M=(0,s.default)("div",{target:"enc7ya23"})((({showInfoCardInDesc:e})=>[e?{position:"relative",margin:"2px",fontSize:"6px",flexDirection:"column",display:"flex",lineHeight:"8px"}:{display:"flex",position:"relative",height:"35px",padding:"2px 0",marginTop:"14px",overflowX:"auto",whiteSpace:"nowrap",scrollBehavior:"smooth",msOverflowStyle:"none",scrollbarWidth:"none","::-webkit-scrollbar":{display:"none",width:"0 !important",height:"0 !important"}}]),"label:DivItemTagContainer;"),Q=e=>(0,n.jsx)("div",Object.assign({style:B},{children:e.children}));var z=i(44168),V=i(38376);const W=(0,o.memo)((e=>{const{keyword:t,itemTagList:i=[],isFetching:a=!1,showInfoCardInDesc:s=!1,useSectionHtmlTag:r=!1,useBotTitle:l=!1}=e,{t:d,isBot:c}=(0,o.useContext)(C.P);return i.length<=0?null:(0,n.jsx)(n.Fragment,{children:a?(0,n.jsx)(y.R,{center:!0,size:"small"}):(0,n.jsxs)(R,Object.assign({"data-e2e":"video-tag",as:r?"section":void 0},{children:[l&&t?(0,n.jsxs)(V.T8,{children:[" ",d("seo_kep_relatedtagToKeyword",{s_keyword:(0,T.pS)(t)})]}):null,(0,n.jsx)(M,Object.assign({"data-e2e":"video-tag-list",showInfoCardInDesc:s},{children:i.slice(0,10).map(((e,t)=>c?(0,n.jsx)(Q,{children:(0,n.jsx)(z.f,Object.assign({content:e.keyword,to:e.linkPath,"data-e2e":"video-tag-item",disableAutoLang:!0},{children:(0,T.Sq)(e.keyword)}),t)},t):(0,n.jsx)(L,{children:(0,n.jsx)(O,Object.assign({content:e.keyword,to:e.linkPath,"data-e2e":"video-tag-item",disableAutoLang:!0},{children:(0,T.Sq)(e.keyword)}),t)},t)))}))]}))})})),N=(0,s.default)("div",{target:"eo5u4570"})((({showInfoCardInDesc:e,theme:{colors:t}})=>({background:t.LineSecondary3,display:"flex",alignItems:"center",borderRadius:"8px",padding:e?"4px 0":"16px 0",marginTop:e?"2px":"20px",marginBottom:e?"2px":"20px"})),"label:DivCountInfos;"),F=(0,s.default)("span",{target:"eo5u4571"})((({theme:{colors:e}})=>({height:"20px",width:"1px",backgroundColor:e.LineSecondary})),"label:SpanDivider;"),H=(0,s.default)("span",{target:"eo5u4572"})((({theme:e,showInfoCardInDesc:t})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextReverse2",fontWeight:"normal"}),{fontSize:t?"10px":"13px",lineHeight:"17px",display:"block",textAlign:"center"}]),"label:SpanUnit;"),U=(0,s.default)("div",{target:"eo5u4573"})({position:"relative",width:"33%"},"label:DivCounts;"),G=(0,s.default)("span",{target:"eo5u4574"})((({theme:e,showInfoCardInDesc:t})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextPrimary"}),{fontSize:t?"10px":"17px",fontWeight:"600",lineHeight:"20px",display:"block",textAlign:"center"}]),"label:SpanNumber;"),q=(0,o.memo)((e=>{const{likeCount:t,commentCount:i,shareCount:a,showInfoCardInDesc:s=!1}=e,{t:r}=(0,o.useContext)(C.P);return(0,n.jsxs)(N,Object.assign({"data-e2e":"info-card-social-stats",showInfoCardInDesc:s},{children:[(0,n.jsxs)(U,Object.assign({"data-e2e":"social-stats-detail"},{children:[(0,n.jsx)(G,Object.assign({showInfoCardInDesc:s},{children:(0,x.D1)(t)})),(0,n.jsx)(H,Object.assign({showInfoCardInDesc:s},{children:r("bc_likes")}))]})),(0,n.jsx)(F,{}),(0,n.jsxs)(U,Object.assign({"data-e2e":"social-stats-detail"},{children:[(0,n.jsx)(G,Object.assign({showInfoCardInDesc:s},{children:(0,x.D1)(i)})),(0,n.jsx)(H,Object.assign({showInfoCardInDesc:s},{children:r("bc_comments")}))]})),(0,n.jsx)(F,{}),(0,n.jsxs)(U,Object.assign({"data-e2e":"social-stats-detail"},{children:[(0,n.jsx)(G,Object.assign({showInfoCardInDesc:s},{children:(0,x.D1)(a)})),(0,n.jsx)(H,Object.assign({showInfoCardInDesc:s},{children:r("bc_shares")}))]}))]}))})),J=(0,s.default)("h4",{target:"e1dv5k930"})((({theme:e})=>[(0,d.zy)({theme:e,fontWeight:"normal",fontSize:"17px"}),{display:"inline",color:e.colors.TextSecondary,fontFamily:"TikTok Text"},(0,d.mp)({direction:e.direction})]),"label:H4Link;"),K=(0,s.default)(D.N_,{target:"e1dv5k931"})({display:"flex",alignItems:"center"},"label:StyledLink;"),Y=(0,s.default)("span",{target:"e1dv5k932"})((({theme:{direction:e}})=>[{shrink:0,paddingTop:4},(0,d.mp)({direction:e,marginEnd:"4px"})]),"label:SpanMusicIcon;"),X=(0,s.default)("span",{target:"e1dv5k933"})((({theme:{direction:e}})=>[{overflow:"hidden",textOverflow:"ellipsis"},(0,d.mp)({direction:e,marginEnd:"4px"})]),"label:SpanMusicText;"),Z=(0,s.default)("div",{target:"e1dv5k934"})((({theme:{direction:e},showInfoCardInDesc:t})=>[{display:"flex",alignItems:"center",width:"100%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:t?12:17,paddingTop:8},(0,d.mp)({direction:e})]),"label:DivMusicWrapper;");var $=i(22248);const ee=(0,o.memo)((e=>{const{musicTitle:t,authorName:i,itemMute:a,musicId:s,isTTAMAds:r=!0,showInfoCardInDesc:d=!1}=e,{t:c}=(0,o.useContext)(C.P),h=a?"":(0,b.pHc)({musicId:s,musicName:t}),p="Promoted Music"===t?c(t):t.replace(`- ${i}`,"")+(i?` - ${i}`:"");return s||r?(0,n.jsx)(J,Object.assign({"data-e2e":"info-card-music"},{children:(0,n.jsx)(K,Object.assign({to:h,disabled:a,ariaLabel:a?c("music_detail_unavailable_1"):`Watch more videos with music ${p}`},{children:(0,n.jsxs)(Z,Object.assign({showInfoCardInDesc:d},{children:[(0,n.jsx)(Y,{children:a?(0,n.jsx)(l._xK,{size:"16"}):(0,n.jsx)(l.Gjn,{size:"16"})}),(0,n.jsxs)(X,{children:[" ",a?c("music_detail_unavailable_1"):p," "]})]}))}))})):(0,$.d)(["music"])})),te=(0,s.default)("div",{target:"e16v8lns0"})((({theme:e})=>[(0,d.zy)({theme:e,fontFamily:"TikTokFont",color:"TextPrimary",fontWeight:"normal"}),{fontSize:"15px",marginBottom:"12px",whiteSpace:"pre-line"}]),"label:DivCustomTdk;"),ie=(0,o.memo)((e=>{var t;const{customTdk:i}=e,o=`${i.title}. ${i.description}. ${null===(t=i.keywords)||void 0===t?void 0:t.join(",")}`;return(0,n.jsx)(te,Object.assign({"data-e2e":"info-card-custom-tdk"},{children:o}))})),ne=(0,o.memo)((e=>{const{ItemDescription:t,itemDetail:i,itemTagLoading:s=!1,itemTags:r=[],isOpen:l,handleClose:d,etClickParams:h={},currentTranscript:p,transcriptLoading:g,CTAWrapper:u,isDisplayNone:m=!1,showInfoCardInDesc:v=!1,useSectionHtmlTag:f=!1,useBotTitle:_=!1,keyword:A,kepInfoCardDisplayNone:y=!1,customTdk:S}=e,{id:E,author:I,stats:T,statsV2:D,desc:O,music:B,itemMute:L,ad_info:R}=(0,x.L$)(i),{verified:M,avatarThumb:Q,uniqueId:z,secUid:V,nickname:N}=(0,x.L$)(I),F=null!=D?D:T,H=(0,o.useMemo)((()=>({maxHeight:"calc(50vh - 53px)",padding:"0"})),[]),U=`${(0,b.fJR)({uniqueId:z,secUid:V})}`,{reportEvent:G,t:J,isBot:K}=(0,o.useContext)(C.P),Y=(0,o.useCallback)((()=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(k,{children:J("seo_aggre_description_header")})})),[J]);(0,o.useEffect)((()=>{l&&G("show_section",Object.assign({section:"info_card",group_id:E},h))}),[h,l,G,E]);const X=(0,o.useCallback)((()=>{G("general_click",{section:"info_card",click_position:"description",groupId:i.id})}),[i.id,G]),Z=(0,o.useCallback)((e=>{d(e),G("general_click",{section:"info_card",click_position:"close",groupId:i.id})}),[d,i.id,G]);if(!i)return null;const $=()=>{var e,o,a,l,d,h;return(0,n.jsxs)(c,Object.assign({"data-e2e":"video-info-card",isDisplayNone:m||y,showInfoCardInDesc:v},{children:[(0,n.jsx)(w,{"data-e2e":"info-card-user",videoId:E,avatarThumb:Q,userLink:U,nickname:N,uniqueId:z,verified:null!=M&&M,showInfoCardInDesc:v}),O&&(0,n.jsx)(P,{"data-e2e":"info-card-desc",ItemDescription:t,item:i,showInfoCardInDesc:v}),B&&(0,n.jsx)(ee,{"data-e2e":"info-card-music",itemMute:null==L||L,isTTAMAds:!!R,musicTitle:null!==(e=B.title)&&void 0!==e?e:"",authorName:null!==(o=B.authorName)&&void 0!==o?o:"",musicId:null!==(a=B.id)&&void 0!==a?a:"",showInfoCardInDesc:v}),(r.length>0||s)&&(0,n.jsx)(W,{"data-e2e":"info-card-item-tag",itemTagList:r,isFetching:s,showInfoCardInDesc:v,useSectionHtmlTag:f,useBotTitle:_,keyword:A}),F&&(0,n.jsx)(q,{"data-e2e":"info-card-social-stats",likeCount:null!==(l=F.diggCount)&&void 0!==l?l:0,commentCount:null!==(d=F.commentCount)&&void 0!==d?d:0,shareCount:null!==(h=F.shareCount)&&void 0!==h?h:0,showInfoCardInDesc:v}),S&&(0,n.jsx)(ie,{customTdk:S}),(p||g)&&(0,n.jsx)(j,{"data-e2e":"info-card-transcript",isFetching:g,currentTranscript:p})]}))};return(0,n.jsx)(n.Fragment,{children:K?$():u&&(0,n.jsx)(u,Object.assign({section:"info_card",itemId:E,slideToJump:!0,onClick:X},{children:(0,n.jsx)(a.l,Object.assign({e2eTag:"close-info-card",visible:l,header:Y(),contentStyle:H,onClose:Z,xAxisTouchOptimization:!0,closeable:!0},{children:$()}))}))})}))},34741:(e,t,i)=>{i.d(t,{P:()=>r});var n=i(57432),o=i.n(n),a=i(23124);const s={t:e=>e,reportEvent:o(),isBot:!1,isLite:!1},r=(0,a.$)("SEOUIContext@tiktok/seo-ui")(s)},24837:(e,t,i)=>{i.d(t,{Pd:()=>o});var n=i(40099);const o=({callback:e,outScreen:t,options:i})=>{const o=(0,n.useRef)(null);return(0,n.useEffect)((()=>{const n=o.current,a=new IntersectionObserver((([i])=>{i.isIntersecting?e():null==t||t()}),i);return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[o,i,e]),o}},33696:(e,t,i)=>{i.d(t,{U:()=>o});var n=i(24643);const o=(e,t)=>{if(!t)return[e];const i=t.replace(/-/g," ");return e.split(new RegExp(`(${i})`,"gi")).map(((e,t)=>e.toLowerCase()===i.toLowerCase()?(0,n.jsx)("strong",Object.assign({style:{all:"unset"}},{children:e}),t):e))}},84153:(e,t,i)=>{i.d(t,{G:()=>r});var n=i(24643),o=i(25616),a=i(52702),s=i(7971);const r=e=>{var t,i;const{style:r}=e,l=(0,o.s)(),d=(0,a.wW)(),c=null!==(i=null===(t=null==d?void 0:d.parameters.kep_collection_page_modified_date)||void 0===t?void 0:t.vid)&&void 0!==i?i:"v0";if("v0"===c)return null;const{today:h,monday:p}=(0,s.XH)(),g="v1"===c?h:p;return(0,n.jsxs)("time",Object.assign({dateTime:g,style:r},{children:[l("sticker_create_main_setinfo_last")," ",g]}))}},69982:(e,t,i)=>{i.d(t,{w:()=>o});var n=i(38838);const o=e=>{var t,i;return e&&null!==(i=null===(t=e.popularList)||void 0===t?void 0:t.map((e=>(e=>{var t,i,o,a,s,r,l;return{title:null!==(t=null==e?void 0:e.poiName)&&void 0!==t?t:"",price:null!==(i=null==e?void 0:e.price)&&void 0!==i?i:"",description:null!==(o=null==e?void 0:e.desc)&&void 0!==o?o:"",hours:null!==(a=null==e?void 0:e.hours)&&void 0!==a?a:"",address:null!==(s=null==e?void 0:e.addr)&&void 0!==s?s:"",itemList:null!==(r=null==e?void 0:e.itemList)&&void 0!==r?r:[],link:e?(0,n.Am)((null!==(l=e.poiIdString)&&void 0!==l?l:e.poiId).toString(),e.poiName,{path:n.lv}):""}})(e))))&&void 0!==i?i:[]}},71754:(e,t,i)=>{i.d(t,{x:()=>n});const n=e=>{const t=[];return e&&0===e.statusCode&&e.relatedWordList&&e.relatedWordList.forEach((e=>{const i={content:e.content,href:`/search?q=${e.content.toLowerCase()}`};t.push(i)})),t}},90560:(e,t,i)=>{i.d(t,{c:()=>o});var n=i(38838);const o=(e,t)=>{var i,o,a;const s=[],r=null===(i=e.poiInfo)||void 0===i?void 0:i.poi.allLevelGeoPoiInfo;if(r&&(Object.entries(r).forEach((([e,t])=>{const i=(0,n.Am)(t.PoiId,t.PoiName,{path:n.V3});(null==t?void 0:t.PoiName)&&t.PoiId&&s.push({name:t.PoiName,relativeUrl:`${i}`})})),(null===(o=e.poiInfo)||void 0===o?void 0:o.poi.name)&&e.poiInfo.poi.id)){const{pagePath:i}=(0,n.yh)({poi:null===(a=e.poiInfo)||void 0===a?void 0:a.poi,category:t}),o=(0,n.Am)(e.poiInfo.poi.id,e.poiInfo.poi.name,{path:i});if(s.push({name:e.poiInfo.poi.name,relativeUrl:`${o}`}),t){const i=`${n.Wk[t].display} in ${e.poiInfo.poi.name}`;s.push({name:i,relativeUrl:`${o}/${t}`})}}return s}},7999:(e,t,i)=>{i.d(t,{V:()=>o});var n=i(38838);const o=(e,t)=>{var i;const o=[];if(e&&(null===(i=e.poiInfo)||void 0===i?void 0:i.poi.name)&&e.poiInfo.poi.id){const i=(0,n.Am)(e.poiInfo.poi.id,e.poiInfo.poi.name,{path:n.Ri});Object.entries(n.Wk).forEach((([e,n])=>{const a={name:n.display,i18nText:n.entry,relativeUrl:`${i}/${e}`};t&&t[e]&&(a.icon=t[e]),o.push(a)}))}return o}},13190:(e,t,i)=>{i.d(t,{A0:()=>d,Ov:()=>c,w2:()=>h});var n=i(72526),o=i(16891);const a=1604,s=10003,r=0,l=-2;function d(e,t=!1,i){const{statusCode:a,wordDetail:l}=e;let d=200,c={};a===s?(d=t?404:301,c.errorType="WORD_NOT_EXIST",c.errorCode=a):a!==r?(d=t?500:302,c.errorType="WORD_RESPONSE_ERROR",c.errorCode=a):l?l.pageType!==i&&(d=t?404:301,c.errorType="WORD_NOT_MATCH",c.errorMsg=`word detail pageType: ${l.pageType}, pageType: ${i}`):(c.errorType="NO_RESPONSE",d=t?500:302);const{errorType:h,errorCode:p}=c;if(!t&&h){try{sessionStorage.setItem("fyp_enter_method",`${h}_${p}`)}catch(e){}o.f.beconEvent("kap_redirect",c),console.error("[KAP] redirect",c)}return 200!==d&&(0,n.V)(d),200===d}function c(e,t=!1){let i=200,s={};e.errorCode===a&&(i=429);const{statusCode:r,statusMsg:d,videoList:c=[]}=e;r===l?(s.errorType="VIDEO_FETCH_ERROR",s.errorCode=-2,s.errorMsg=d):0===r&&0!==c.length||(s.errorType="VIDEO_RESPONSE_ERROR",s.errorCode=r,s.errorMsg=d,i=t?500:302);const{errorType:h,errorCode:p}=s;if(!t&&h){try{sessionStorage.setItem("fyp_enter_method",`${h}_${p}`)}catch(e){}o.f.beconEvent("kap_redirect",s),console.error("[KAP] redirect",s)}return 200!==i&&(0,n.V)(i),200===i}function h(e,t=!1){var i,a;let s=200,r={};const{statusCode:l,statusMsg:d,mediaVideoList:c,publicVideoList:h}=e;0!==l&&(r.errorType="VIDEO_RESPONSE_ERROR",r.errorCode=l,r.errorMsg=d,s=t?500:302),0===(null===(i=null==c?void 0:c.itemList)||void 0===i?void 0:i.length)&&0===(null===(a=null==h?void 0:h.itemList)||void 0===a?void 0:a.length)&&(r.errorType="EMPTY_VIDEO_LIST",r.errorCode=l,r.errorMsg=d,s=t?500:302);const{errorType:p,errorCode:g}=r;if(!t&&p){try{sessionStorage.setItem("fyp_enter_method",`${p}_${g}`)}catch(e){}o.f.beconEvent("kap_redirect",r),console.error("[KAP] redirect",r)}return 200!==s&&(0,n.V)(s),200===s}},50046:(e,t,i)=>{var n;i.d(t,{W:()=>o}),function(e){e.Video="video",e.User="profile",e.Music="music",e.Effect="effect",e.Challenge="tag",e.Foryou="homepage_hot",e.Following="homepage_follow",e.VideoPlaylist="playlist",e.Expansion="kep",e.Collection="collection",e.Poi="poi",e.Channel="channel"}(n||(n={}));const o={video_detail:"video",single_song:"music",challenge:"tag",others_homepage:"profile",personal_homepage:"profile",discover_kw:"kep",collection:"collection",place:"poi",channel:"channel",reflow_video_playlist:"playlist",homepage_hot:"homepage_hot",homepage_follow:"homepage_follow"}},9403:(e,t,i)=>{i.d(t,{Ld:()=>s});var n,o,a=i(16891);!function(e){e.None="0",e.Manual="1",e.Auto="2"}(n||(n={})),function(e){e.WebFyp="web_fyp",e.BrowserMode="browser",e.VideoDetail="video_detail",e.WebMobileFyp="web_mobile_fyp",e.MiniPlayer="mini_player"}(o||(o={}));const s={handleAigcAnchorShow:e=>{a.f.sendEvent("view_creator_label_aigc",e)},handleAigcAnchorClick:e=>{a.f.sendEvent("click_creator_label_aigc",e)}}},509:(e,t,i)=>{i.d(t,{d:()=>o});var n=i(16891);const o={handleClickAnalyticsButton:()=>{n.f.sendEvent("click_insight",{enter_method:"dropdown_button"})},handleClickAnalyticsVideoCover:e=>{n.f.sendEvent("video_play",{enter_from:"insight_page",widget_name:"video_detail",sub_widget:"null",enter_method:"video_card"}),n.f.sendEvent("click_insight",{enter_method:"invideo_button"}),n.f.sendEvent("enter_insight_detail",{widget_name:"video_detail",sub_widget:null,enter_method:"invideo_button",group_id:e})},handleProfileHoveShow:(e=!1)=>{n.f.sendEvent("livesdk_web_profile_hover_show",{is_ls_show:e?1:0})}}},42230:(e,t,i)=>{i.d(t,{R:()=>a});var n,o=i(16891);!function(e){e.ShowSnackbar="show_snackbar",e.ShowSnackbarAuto="show_snackbar_auto",e.ClickDownloadBar="click_download_bar",e.ClickGetForPC="click_get_for_pc",e.InstalWebApp="install_web_app",e.ClickGetApp="click_get_app_for_pc"}(n||(n={}));const a={handleShowSnack:e=>{const t=e?"show_snackbar_auto":"show_snackbar";o.f.event(t)},handleClickDownload:()=>{o.f.event("click_download_bar")},handleGetForPC:()=>{o.f.event("click_get_for_pc")},handleInstallApp:()=>{o.f.event("install_web_app")},handleClickGetApp:({enter_method:e})=>{o.f.event("click_get_app_for_pc",{enter_method:e})}}},72467:(e,t,i)=>{i.d(t,{$:()=>a});var n,o=i(16891);!function(e){e.OneColumn="one_column",e.BrowserMode="browser_mode",e.VideoDetail="video_detail",e.VideoAnchor="video_anchor",e.CommentAnchor="comment_anchor",e.ClickCaption="click_caption"}(n||(n={}));const a={handleCapCutAnchorShow:e=>{o.f.sendEvent("multi_anchor_entrance_show",e)},handleCapCutAnchorClick:e=>{o.f.sendEvent("multi_anchor_entrance_click",e)}}},45347:(e,t,i)=>{i.d(t,{lN:()=>r});var n,o,a,s=i(16891);!function(e){e.Hidden="hidden",e.Captions="captions",e.Icon="icon"}(n||(n={})),function(e){e.HasSelection="has_selection",e.NoSelection="no_selection"}(o||(o={})),function(e){e.Default="default_language",e.UserSelected="user_selected_language"}(a||(a={}));const r={handleCaptionButtonShow:e=>{s.f.sendEvent("show_captions_button",e)},handleCaptionButtonClick:e=>{s.f.sendEvent("click_captions_button",e)},handleCaptionPopupShow:e=>{s.f.sendEvent("show_captions_popup",e)},handleCaptionPopupClose:e=>{s.f.sendEvent("close_captions_popup",e)},handleCaptionSwitch:e=>{s.f.sendEvent("switch_captions",e)},handleCaptionError:e=>{s.f.sendEvent("caption_error",e)},handleClickSubtitle:e=>{s.f.sendEvent("click_subtitle",e)},handleExpandSubtitle:e=>{s.f.sendEvent("expand_subtitle",e)},handleHideSubtitle:e=>{s.f.sendEvent("hide_subtitle",e)},handleSeeMoreShow:e=>{s.f.sendEvent("see_more_show",e)},handleDescriptionUnfolded:e=>{s.f.sendEvent("descriptions_unfolded",e)},handleDescriptionFolded:e=>{s.f.sendEvent("descriptions_folded",e)}}},98014:(e,t,i)=>{i.d(t,{mr:()=>r});var n,o,a=i(16891),s=i(2584);!function(e){e.MainPage="main_page",e.VideoFeed="video_feed",e.VideoDetail="video_detail"}(n||(n={})),function(e){e.Close="close",e.CaptionSeeMore="caption_see_more",e.Hashtag="hashtag",e.Music="music",e.User="user"}(o||(o={}));const r={handleChannelGeneralClick:(e,t="main_page",i={})=>{s.O.handleGeneralClick(e,Object.assign({scene:t},i))},handleDownloadDismiss:e=>{a.f.sendEvent("download_app_dismiss",{enter_method:e})},handleInfoCardShow:e=>{a.f.sendEvent("info_card_show",e)},handleInfoCardClick:e=>{a.f.sendEvent("info_card_click",e)},handleShowItemTags:e=>{a.f.sendEvent("query_tag_show",e)}}},5412:(e,t,i)=>{i.d(t,{ao:()=>d,uO:()=>n});var n,o,a=i(58632),s=i(16891),r=i(92603),l=i(40040);!function(e){e[e.Loading=0]="Loading",e[e.Loaded=1]="Loaded"}(n||(n={})),function(e){e.Original="original",e.Reply="reply",e.ReplyToReply="reply_to_reply"}(o||(o={}));const d={handleCommentClick:e=>{s.f.sendEvent("click_comment_button",e)},handleCommentLike:e=>{var{isLike:t}=e,i=(0,a.__rest)(e,["isLike"]);const n=t?"like_comment":"cancel_like_comment";s.f.sendEvent(n,i)},handlePostComment:e=>{const t=(0,r.Hd)(l.DK);s.f.sendEvent("post_comment",Object.assign(Object.assign({},e),{from_group_id:t}))},handleShowMoreReply:e=>{s.f.sendEvent("show_more_reply",e)},handleCommentShow:e=>{s.f.sendEvent("video_comment_show",e)},handleSearchAt:e=>{s.f.sendEvent("search_comment_at",e)},handleSelectAt:e=>{s.f.sendEvent("add_comment_at",e)},handleEmojiSelect:e=>{s.f.sendEvent("search_comment_emoji",e)},handleClose:e=>{s.f.sendEvent("close_comment",e)},handleLeaveComment:e=>{s.f.sendEvent("leave_commet_page",e)},handleKeepComment:e=>{s.f.sendEvent("keep_editing_comment",e)},handleCopyCommentUrl:e=>{s.f.sendEvent("web_comment_url",e)},handleTapComment:e=>{s.f.sendEvent("tap_comment",e)},handleCloseCommentTab:()=>{s.f.sendEvent("close_comment_tab",{enter_method:"click_cancel"})},handleCloseCommentPanel:e=>{s.f.sendEvent("close_comment",e)},handleMentionItemShow:e=>{s.f.sendEvent("tag_mention_head_show",Object.assign(Object.assign({},e),{function:"mention"}))},handleClickBackToTop:e=>{s.f.sendEvent("click_back_to_top",e)},handleCommentModuleExpose:e=>{s.f.sendEvent("reply_module_show",{type:e.type})},handleCommentExpose:e=>{s.f.sendEvent("reply_show",Object.assign({},e))},handleCommentIconClick:e=>{s.f.sendEvent("comment_icon_click",e)},handleCommentPanelClose:e=>{s.f.sendEvent("comment_panel_close",e)},handleCommentSeeMoreClick:()=>{s.f.sendEvent("comment_see_more_click")},handleCommentLoadComplete:e=>{s.f.sendEvent("comments_load_complete",e)},handleCommentLoadMore:e=>{s.f.sendEvent("comment_load_more",e)},handleCommentPreload:e=>{s.f.sendEvent("comments_preload",e)}}},84470:(e,t,i)=>{i.d(t,{I:()=>s});var n,o,a=i(16891);!function(e){e.PrivateAccountPop="private_account_pop",e.PrivateAccountPopClick="private_account_pop_click",e.CookieBannerShow="cookie_banner_show",e.CookieBannerEnterPolicy="enter_cookie_policy",e.ChangeCookieSetting="change_cookie_setting",e.ClickCookiePolicy="click_cookie_policy",e.ClickCookieSettings="click_cookie_settings"}(n||(n={})),function(e){e.ClickBannerAccept="click_banner_accept",e.ClickBannerDecline="click_banner_decline",e.ClickPolicy="click_banner_cookie_policy",e.ClickSettings="click_banner_cookie_settings",e.FYPPersonalization="fyp_personalization"}(o||(o={}));const s={handlePrivateBannerShow:()=>{a.f.event("private_account_pop")},handlePrivateBannerClick:e=>{a.f.event("private_account_pop_click",{result:e})},handleCookieBannerShow:e=>{a.f.event("cookie_banner_show",e)},handleClickCookieSettings:()=>{a.f.event("click_cookie_settings",{enter_method:"click_banner_cookie_settings"})},handleClickCookiePolicy:()=>{a.f.event("click_cookie_policy",{enter_method:"click_banner_cookie_policy"})},handleCookieBannerAccept:e=>{a.f.event("change_cookie_setting",Object.assign({enter_method:"click_banner_accept"},e))},handleCookieBannerDeny:e=>{a.f.event("change_cookie_setting",Object.assign({enter_method:"click_banner_decline"},e))}}},91055:(e,t,i)=>{i.d(t,{G:()=>a});var n,o=i(16891);!function(e){e.ClickBrowserModeProfile="click_browser_mode_profile",e.ClickCreatorTab="click_creator_tab"}(n||(n={}));const a={handleCreatorTabShow:e=>{o.f.sendEvent("from_this_creator_tab_show",e)},handleCreatorPageShow:e=>{o.f.sendEvent("creator_page_show",e)},handleClickPlayNow:e=>{o.f.sendEvent("click_play_now_button",e)},handleExitCreatorPage:e=>{o.f.sendEvent("click_creator_page_button",e)},handleCreatorTabLoadComplete:e=>{o.f.sendEvent("creator_videos_load_complete",e)}}},5321:(e,t,i)=>{i.d(t,{U:()=>o});var n=i(16891);const o={handleDarkModeShow:()=>{n.f.sendEvent("dark_mode_show")},handleDarkModeClick:()=>{n.f.sendEvent("dark_mode_click")},handleDarkModePopUpShow:()=>{n.f.sendEvent("dark_mode_pop_up_show")},handleDarkModePopUpClose:()=>{n.f.sendEvent("dark_mode_pop_up_close")},handleDarkModePopUpDisappear:()=>{n.f.sendEvent("dark_mode_pop_up_disappear")}}},59596:(e,t,i)=>{i.d(t,{o:()=>a});var n,o=i(16891);!function(e){e.SurveyIconShow="desktop_web_survey_show_icon",e.SurveyPopupShow="desktop_web_survey_show",e.SurveyIconClick="desktop_web_survey_click_icon",e.SurveyCtaClick="desktop_web_survey_click_join",e.SurveyCloseClick="desktop_web_survey_click_not_now"}(n||(n={}));const a={handleSurveyPopupShow:()=>{o.f.event("desktop_web_survey_show")},handleSurveyIconShow:()=>{o.f.event("desktop_web_survey_show_icon")},handleSurveyIconClick:()=>{o.f.event("desktop_web_survey_click_icon")},handleSurveyCtaClick:()=>{o.f.event("desktop_web_survey_click_join")},handleSurveyCloseClick:()=>{o.f.event("desktop_web_survey_click_not_now")}}},89254:(e,t,i)=>{i.d(t,{w:()=>a});var n,o=i(16891);!function(e){e.DiscoverLinkShow="discover_link_show",e.ClickDiscoverLink="click_discover_link"}(n||(n={}));const a={handleLinkShow:e=>{o.f.event("discover_link_show",e)},handleClickLink:e=>{o.f.event("click_discover_link",e)}}},85997:(e,t,i)=>{i.d(t,{jA:()=>r});var n,o,a,s=i(16891);!function(e){e.Apple="apple",e.Amazon="amazon",e.Google="google",e.Download="download",e.Microsoft="microsoft"}(n||(n={})),function(e){e.Notify="download_app_notify",e.Confirm="download_app_confirm",e.Dismiss="download_app_dismiss",e.ClickAppStore="click_app_store",e.SwipeUpGuideShow="swipe_up_guide_show",e.SwipeUpGuideClose="swipe_up_guide_close"}(o||(o={})),function(e){e.XClose="x_close",e.ClickMask="click_mask",e.NotNow="not_now"}(a||(a={}));const r={handleClickAppStore:e=>{s.f.sendEvent("click_app_store",{channel:e,enter_from:"webapp_download_modal"})},handleDownloadShow:e=>{s.f.sendEvent("download_app_notify",e)},handleDownloadConfirm:e=>{s.f.sendEvent("download_app_confirm",e)},handleDownloadDismiss:e=>{s.f.sendEvent("download_app_dismiss",e)},handleNewUserGuideShow:e=>{s.f.sendEvent("swipe_up_guide_show",e)},handleNewUserGuideClose:e=>{s.f.sendEvent("swipe_up_guide_close",e)},tapDownloadConfirm:e=>{s.f.event("tap",Object.assign(Object.assign({},e),{duration:performance.now()})),window.__COIN_ACTIVITY_TAP_PARAMS&&s.f.event("luckycat_click_download",window.__COIN_ACTIVITY_TAP_PARAMS)}}},19221:(e,t,i)=>{i.d(t,{b:()=>o});var n=i(16891);const o={handleInstallPWAButtonShow:e=>{n.f.sendEvent("install_tt_button_show",e)},handleClickInstallPWAButton:e=>{n.f.sendEvent("install_tt_button_click",e)},handleClickGetDesktopButton:e=>{n.f.sendEvent("click_get_for_pc",e)},handleQRLoginButtonShow:e=>{n.f.sendEvent("qr_login_button_show",e)},handleClickQRLoginButton:e=>{n.f.sendEvent("click_QR_login",e)}}},89744:(e,t,i)=>{i.d(t,{Y:()=>a});var n,o=i(16891);!function(e){e.OneColumn="one_column",e.BrowserMode="browser_mode",e.VideoDetail="video_detail"}(n||(n={}));const a={handleEhEffectAnchorShow:e=>{o.f.sendEvent("multi_anchor_entrance_show",e)},handleEhEffectAnchorClick:e=>{o.f.sendEvent("multi_anchor_entrance_click",e)}}},95703:(e,t,i)=>{i.d(t,{y:()=>o});var n=i(16891);const o={handleClickDownloadAppBtn:()=>{n.f.sendEvent("click_download_app_btn")},handleOpenGeneralSettings:()=>{n.f.sendEvent("open_general_settings")},handleOpenUpdateAppModal:()=>{n.f.sendEvent("open_update_app_modal")},handleClickGoBackBtn:()=>{n.f.sendEvent("click_go_back_btn")},handleClickGoHomeBtn:()=>{n.f.sendEvent("click_go_home_btn")},handleClickMinimizeButton:()=>{n.f.sendEvent("click_minimize_button")},handleClickMaximizeButton:()=>{n.f.sendEvent("click_maximize_button")},handleClickCloseAppButton:()=>{n.f.sendEvent("click_close_app_button")},handleClickRefreshButton:()=>{n.f.sendEvent("click_refresh_button")},handleShowDownload:()=>{n.f.sendEvent("desktop_app_download_show")},handleDownloadSuccess:()=>{n.f.sendEvent("desktop_app_download_success")}}},82535:(e,t,i)=>{i.d(t,{q:()=>r});var n=i(16891),o=i(92603),a=i(40040),s=i(48961);const r={handleEnterTagDetail:e=>{n.f.sendEvent("enter_tag_detail",e)},handleEnterMusicDetail:e=>{n.f.sendEvent("enter_music_detail",e)},handleDiscoveryPage:e=>{n.f.sendEvent("enter_discovery_page",e)},handleEnterTopic:e=>{n.f.sendEvent("enter_topics_page",e)},handleEnterTrending:e=>{n.f.sendEvent("enter_homepage_hot",e)},handleEnterUser:e=>{n.f.sendEvent("enter_personal_detail",e),void 0!==e.group_id?(0,o.J2)(a.DK,e.group_id):(0,o.X)(a.DK)},handleEnterProfile:e=>{n.f.sendEvent("enter_personal_homepage",e)},handleEnterVideo:e=>{n.f.sendEvent("enter_video_detail",e)},handleEnterQuestion:e=>{n.f.sendEvent("enter_qa_detail_page",e)},handleEnterSet:e=>{n.f.sendEvent("enter_setting_page",e)},handleEnterFollowing:e=>{n.f.sendEvent("enter_homepage_follow",e)},handleEnterSuicidePrevention:e=>{n.f.sendEvent("tns_show_ssh_tips_support_page",e)},handleEnterLive:e=>{n.f.sendEvent("enter_live_detail",e)},handleEnterBusiness:()=>{n.f.sendEvent("enter_business_suite")},handleEnterLiveDiscover:e=>{n.f.event("enter_live_discover",Object.assign(Object.assign({},e),{click_type:e.click_type?e.click_type:"enter_live"}))},handleEnterKeyboardShortcut:()=>{n.f.sendEvent("enter_keyboard_setting")},handleEnterMessage:e=>{n.f.sendEvent("enter_homepage_message",Object.assign({enter_method:"click_button"},e))},handleEnterMusicPlaylist:e=>{n.f.sendEvent("enter_live_discover",e)},handleEnterQADetailPage:e=>{n.f.sendEvent("enter_qa_detail_page",e)},handleEnterPoi:e=>{const{enter_method:t,play_mode:i,author_id:o,group_id:a,id:r,type:l,cityCode:d,countryCode:c,typeCode:h,isClaimed:p,ttTypeCode:g,ttTypeNameMedium:u,ttTypeNameSuper:m,ttTypeNameTiny:v}=e;n.f.sendEvent("enter_poi_detail",{enter_method:t,play_mode:i,author_id:o,group_id:a,poi_id:r,poi_detail_type:s.Af[null!=l?l:0],is_claimed:p?1:0,poi_city:d,poi_region_code:c,tt_poi_backend_type:`${m},${u},${v}|${g}`,poi_type_code:h})},handleEnterExplore:({enter_method:e})=>{n.f.sendEvent("enter_explore_page",{enter_method:e})},handleEnterFriends:({enter_method:e})=>{n.f.sendEvent("enter_friends_page",{enter_method:e})}}},94294:(e,t,i)=>{i.d(t,{H:()=>o});var n=i(16891);const o={handleClickCategory:e=>{n.f.sendEvent("click_category",e)},handleNoMoreVideosShow:e=>{n.f.sendEvent("no_more_videos_show",e)},handleBottomNoMoreVideosShow:e=>{n.f.sendEvent("bottom_no_more_videos_show",e)},handleExploreLoadMore:e=>{n.f.sendEvent("load_more",e)},handleExploreClickCategoryArrow:e=>{n.f.sendEvent("category_arrow_click",e)},handleTrendingTopicPlay:e=>{n.f.sendEvent("trending_topic_video_play",e)},handleTrendingToBrowserMode:e=>{n.f.sendEvent("trending_topic_video_click",e)},handleTrendingTopicSwitch:e=>{n.f.sendEvent("trending_topic_scroll",e)},handleTrendingTopicEmpty:()=>{n.f.sendEvent("trending_topic_empty")}}},82850:(e,t,i)=>{i.d(t,{S:()=>s});var n,o,a=i(16891);!function(e){e.ClickEntry="feedback",e.Confirm="feedback_confirm",e.Continue="feedback_continue",e.Submit="feedback_submit"}(n||(n={})),function(e){e.Yes="yes",e.No="no"}(o||(o={}));const s={handleEnterFeedback:e=>{a.f.event("feedback",{feedback_type:e})},handleSubmitFeedback:()=>{a.f.event("feedback_submit")},handleFeedbackResponseClick:e=>{a.f.event("feedback_confirm",{enter_method:"click_"+(e?"yes":"no")})},handleNeedMoreHelpClick:()=>{a.f.event("feedback_continue")}}},54464:(e,t,i)=>{i.d(t,{L:()=>o});var n=i(16891);const o={handleHistoryJump:e=>{n.f.sendEvent("history_jump",e)}}},62413:(e,t,i)=>{i.d(t,{E:()=>o});var n=i(16891);const o={handleEnterText:e=>{n.f.sendEvent("enter_text",e)},handleCloseText:e=>{n.f.sendEvent("close_text",e)}}},80241:(e,t,i)=>{i.d(t,{o:()=>a});var n,o=i(16891);!function(e){e.InterestSelectorShow="interest_selector_show",e.InterestSubmit="interest_submit",e.InterestSelectorSkip="interest_selector_skip"}(n||(n={}));const a={handleSelectorShow:e=>{o.f.event("interest_selector_show",e)},handleInterestSubmit:(e,t)=>{t.forEach((t=>{o.f.event("interest_submit",Object.assign(Object.assign({},e),{enter_method:t}))}))},handleSelectorSkip:e=>{o.f.event("interest_selector_skip",e)}}},71036:(e,t,i)=>{i.d(t,{D:()=>o});var n=i(16891);const o={handleJustWatchedButtonShow:e=>{n.f.sendEvent("just_watched_button_show",e)},handleClickJustWatchedButton:e=>{n.f.sendEvent("click_just_watched_button",e)}}},90978:(e,t,i)=>{i.d(t,{H:()=>o});var n=i(16891);const o={clickNavButton:e=>{n.f.sendEvent("click_back_button",{keyword:e,group_id:"none",device:"mobile"})},clickTopic:(e,t)=>{n.f.sendEvent("click_topic",{keyword:e,target:t})},showSection:(e,t,i={})=>{n.f.sendEvent("show_section",Object.assign({keyword:e,section:t,duration:performance.now()},i))},clickMore:(e,t)=>{n.f.sendEvent("more_click",{keyword:e,section:t})},clickContent:(e,t,i={})=>{n.f.sendEvent("click_content",Object.assign({keyword:e,section:t},i))},expandCaption:(e,t)=>{n.f.sendEvent("click_to_expand_caption",{keyword:e,group_id:t})},closeCaption:(e,t)=>{n.f.sendEvent("click_to_close_caption",{keyword:e,group_id:t})},downloadAppConfirm:(e,t)=>{n.f.sendEvent("download_app_confirm",{keyword:e,enter_method:t})},downloadAppNotify:(e,t)=>{n.f.sendEvent("download_app_notify",{keyword:e,enter_method:t})}}},51391:(e,t,i)=>{i.d(t,{j:()=>o});var n=i(16891);const o={handleLanguageClick:e=>{n.f.sendEvent("click_change_language",e)},handleLanguageChange:e=>{n.f.sendEvent("change_langauage",e)}}},70710:(e,t,i)=>{i.d(t,{y:()=>o});var n=i(16891);const o={handleReflowSharerCardShow:e=>{n.f.sendEvent("reflow_sharer_card_show",e)}}},72687:(e,t,i)=>{i.d(t,{fF:()=>p,qw:()=>c});var n,o,a,s,r,l,d,c,h=i(16891);!function(e){e.Default="default",e.ClickBtn="click_btn",e.Mouse="mouse",e.Gesture="gesture",e.Keyboard="keyboard",e.ClickVideo="click_video",e.LiveEnd="live_end",e.AutoPlay="auto_play"}(n||(n={})),function(e){e.Recommend="recommend",e.FollowPage="follow_page",e.Game="category_game",e.Event="event",e.Lifestyle="lifestyle"}(o||(o={})),function(e){e.ClickTab="click_tab",e.EnterUrl="enter_url"}(a||(a={})),function(e){e.Close="close",e.EnterRoom="enter_room",e.NextPreview="next_preview"}(s||(s={})),function(e){e.Auto="auto",e.Manual="manual"}(r||(r={})),function(e){e.Following="following",e.Suggest="suggest",e.AnchorNickname="anchor_nickname",e.ForYou="for_you",e.FollowingIcon="following_icon",e.Friends="friends",e.Live="live",e.Event="event",e.Explore="explore",e.SeeAll="see_all",e.SeeLess="see_less",e.Profile="profile",e.Upload="upload",e.Messages="messages"}(l||(l={})),function(e){e.Open="open",e.Close="close"}(d||(d={})),function(e){e[e.common=0]="common",e[e.pin=1]="pin"}(c||(c={}));const p=new class{handleDuration(e){h.f.event("livesdk_live_window_duration_v2",Object.assign({action_type:"click",enter_method:"live_cover"},e))}handleShow(e){h.f.event("livesdk_live_show",Object.assign({enter_method:"live_cover",action_type:"click",entrance_detail:"live_discover"},e))}handleClick(e){h.f.event("livesdk_rec_live_play",Object.assign({enter_method:"live_cover",action_type:e.action_type||"click",entrance_detail:"live_discover"},e))}handlePause(e){h.f.event("livesdk_live_preview_pause",Object.assign({enter_method:"live_cover"},e))}handleRefresh(e){h.f.event("livesdk_live_preview_refresh",Object.assign({enter_method:"live_cover"},e))}handleVolumeClick(e){h.f.event("livesdk_live_preview_volume_click",Object.assign({enter_method:"live_cover"},e))}handleAutoPlay(e){h.f.event("livesdk_live_preview_autoplay_click",Object.assign({enter_method:"live_cover"},e))}handleStartPlay(e){h.f.event("livesdk_live_window_play",Object.assign({enter_method:"live_cover"},e))}handleDraw(e){h.f.event("livesdk_live_draw",Object.assign({enter_method:"live_cover",is_inner:"0"},e))}handlePreviewPageSwitch(e){h.f.event("livesdk_live_preview_page_switch",Object.assign({},e))}handleSideBarToggleBtnClick(e){h.f.event("livesdk_sidebar_open_icon_click",Object.assign({},e))}handleSideBarTooltipHover(e){h.f.event("livesdk_sidebar_detail_hover_show",Object.assign({},e))}handleSideBarButtonClick(e){h.f.event("livesdk_sidebar_button_click",Object.assign({},e))}handleSideBarButtonHover(e){h.f.event("livesdk_sidebar_button_hover",Object.assign({},e))}handleRightClick(e){h.f.event("livesdk_live_right_click",Object.assign({enter_method:"live_cover",enter_from_merge:"live_merge"},e))}handleNoFollowShow(){h.f.event("livesdk_no_follow_live_show")}handleFeedTabShow(e){h.f.event("livesdk_discover_tab_icon_show",Object.assign({},e))}handleEnterRoomBtnClick(e){h.f.event("livesdk_click_to_watch_live",Object.assign({entrance_detail:"live_discover"},e))}handleEnterRoomBtnHover(e){h.f.event("livesdk_click_to_watch_live_hover",Object.assign({entrance_detail:"live_discover"},e))}handlePreviewPlayFail(e){h.f.event("livesdk_preview_play_fail",Object.assign({enter_method:"live_cover",action_type:"click",section_type:"feeds_section",content_section_order:"1",content_section_title:"feeds_section",entrance_detail:"live_discover"},e))}handleCardHover(e){h.f.event("livesdk_live_cover_hover",Object.assign({enter_method:"live_cover",action_type:"click",entrance_detail:"live_discover"},e))}}},30023:(e,t,i)=>{i.d(t,{YH:()=>c,t9:()=>d});var n,o,a,s,r,l=i(16891);!function(e){e.Show="livesdk_live_show",e.Duration="livesdk_live_window_duration_v2",e.StartPlay="livesdk_live_window_play",e.RecPlay="livesdk_rec_live_play",e.Follow="livesdk_follow",e.Unfollow="livesdk_unfollow",e.CancelGuide="livesdk_live_guide_cancel",e.GuideShow="livesdk_live_guide_show"}(n||(n={})),function(e){e.OneColumn="one_column",e.BrowserMode="browser_mode",e.ImmersivePlayer="immersive_player"}(o||(o={})),function(e){e.PageMode="page_mode",e.BrowserMode="browser_mode"}(a||(a={})),function(e){e.Cell="live_cell",e.Head="live_head",e.Btn="live_btn",e.FollowingPreview="live_cover_preview",e.Like="live_fyp_like",e.Share="live_fyp_share"}(s||(s={})),function(e){e.FYP="homepage_hot",e.FollowingPage="homepage_follow",e.FYPGuide="homepage_fyp_guide"}(r||(r={}));const d={0:"video_live",1:"third_party",2:"media",3:"audio",4:"screen_share",5:"social_live",6:"live_studio"},c={handleLiveShow:e=>{l.f.event("livesdk_live_show",Object.assign({enter_from_merge:"homepage_hot",enter_method:"live_cell",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleLiveEntranceClick:e=>{l.f.event("livesdk_rec_live_play",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleLiveDuration:e=>{l.f.event("livesdk_live_window_duration_v2",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleFollow:e=>{l.f.event("livesdk_follow",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleUnFollow:e=>{l.f.event("livesdk_unfollow",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleStartPlay:e=>{l.f.event("livesdk_live_window_play",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleLiveCancelGuideClick:e=>{l.f.event("livesdk_live_guide_cancel",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))},handleLiveGuideShow:e=>{l.f.event("livesdk_live_guide_show",Object.assign({enter_from_merge:"homepage_hot",action_type:"click",live_type:d[Number(e.live_room_mode)]},e))}}},64407:(e,t,i)=>{i.d(t,{Xg:()=>d});var n,o,a,s,r,l=i(16891);!function(e){e.GoLivePlayerError="livesdk_go_live_player_error",e.TakePageShow="livesdk_pm_live_takepage_show",e.ScreenshotClick="livesdk_cover_modify_screenshot_click",e.ScreenshotButtonShow="livesdk_cover_modify_screenshot_show",e.Take="livesdk_live_take",e.CoverChange="livesdk_cover_modify_click",e.WebTopicClick="livesdk_web_topic_click",e.AutoStopChange="livesdk_thirdparty_auto_stop",e.ServerUrlCopy="livesdk_server_url_copy",e.StreamKeyCopy="livesdk_stream_key_copy",e.StreamKeyChangePop="livesdk_stream_key_change_pop",e.ThirdPartyStatus="livesdk_thirdparty_status",e.ShareLinkCopy="livesdk_anchor_link_copy",e.EndLiveClick="livesdk_end_live_click",e.LiveOver="livesdk_live_over",e.AppealClick="livesdk_anchor_appeal_click",e.OBSRevokeAnchorPop="livesdk_obs_revoke_anchor_pop",e.OBSRevokeRemind="livesdk_obs_revoke_remind",e.LiveCenterEntranceShow="livesdk_anchor_live_center_entrance_show",e.LiveTakepageShow="livesdk_pm_live_takepage_show",e.LiveContentClick="livesdk_live_content_click",e.LiveContentResultShow="livesdk_live_content_result_show",e.LiveTopicClick="livesdk_live_topic_click",e.LiveMatureThemeIconClick="livesdk_mature_theme_icon_click",e.LiveMatureThemePopup="livesdk_mature_theme_popup",e.LiveMatureThemePopupClick="livesdk_mature_theme_popup_click"}(n||(n={})),function(e){e.FromObs="third_party",e.FromDirect="video_live"}(o||(o={})),function(e){e.On="on",e.Off="off"}(a||(a={})),function(e){e.On="on",e.Off="off"}(s||(s={})),function(e){e[e.Temp=0]="Temp",e[e.Permanent=1]="Permanent"}(r||(r={}));const d={handlePlayerError:(e,t)=>{l.f.event("livesdk_go_live_player_error",{roomId:String(t),code:String(e.status),message:e.message})},getHashTagname:(e,t)=>{var i,n;return null!==(n=null===(i=e.find((e=>e.id===t)))||void 0===i?void 0:i.title)&&void 0!==n?n:"none"},handleScreenshotStatusClick:e=>{l.f.event("livesdk_cover_modify_screenshot_click",Object.assign(Object.assign({},e),{live_type:"third_party"}))},handleScreenshotButtonShow:e=>{l.f.event("livesdk_cover_modify_screenshot_show",Object.assign(Object.assign({},e),{live_type:"third_party"}))},handlePageShow:e=>{l.f.event("livesdk_pm_live_takepage_show",Object.assign(Object.assign({},e),{shoot_way:"",device:"web",live_type:"third_party"}))},handleCoverChange:()=>{l.f.event("livesdk_cover_modify_click")},OBSRevokeAnchorPop:e=>{l.f.event("livesdk_obs_revoke_anchor_pop",e)},OBSRevokeRemindShow:e=>{l.f.event("livesdk_obs_revoke_remind",e)},handleTopicClick:e=>{l.f.event("livesdk_web_topic_click",e)},handleAutoStopChange:e=>{l.f.event("livesdk_thirdparty_auto_stop",e)},handleServerUrlCopyClick:e=>{l.f.event("livesdk_server_url_copy",e)},handleStreamKeyCopyClick:e=>{l.f.event("livesdk_stream_key_copy",e)},handleStreamKeyChangePop:e=>{l.f.event("livesdk_stream_key_change_pop",e)},handleAppealClick:e=>{l.f.event("livesdk_anchor_appeal_click",e)},handleEndLiveClick:()=>{l.f.event("livesdk_end_live_click")},handleLiveOver:e=>{l.f.event("livesdk_live_over",e)},handleShareLinkCopy:()=>{l.f.event("livesdk_anchor_link_copy")},handleLiveStreamReport:e=>{l.f.event("livesdk_live_take",Object.assign({live_type:"third_party",send_gift_type:"open",event_type:"click",is_active_fans_show:0,show_active_user_ucnt:0,event_page:"live_take_button",game_label:e.game_label,game_label_id:e.game_label_id},e))},handleLiveCenterShow:e=>{l.f.event("livesdk_anchor_live_center_entrance_show",{anchor_id:e.anchor_id,enter_from:"profile_hover",app_name:"webapp"})},handleGoLiveShow:()=>{l.f.event("livesdk_pm_live_takepage_show")},handleLiveContentClick:e=>{l.f.event("livesdk_live_content_click",{anchor_id:e.anchor_id})},handleLiveContentConfirm:e=>{l.f.event("livesdk_live_content_result_show",{anchor_id:e.anchor_id,game_label:e.game_label,game_label_id:e.game_label_id})},handleLiveTopicClick:e=>{l.f.event("livesdk_live_topic_click",{anchor_id:e.anchor_id})},handleLiveMatureThemeIconClick:e=>{l.f.event("livesdk_mature_theme_icon_click",{action_type:e.action_type,enter_from:"live",anchor_id:e.anchor_id,source:"web"})},handleLiveMatureThemePopup:e=>{l.f.event("livesdk_mature_theme_popup",{enter_from:"live",anchor_id:e.anchor_id,source:"web"})},handleLiveMatureThemePopupClick:e=>{l.f.event("livesdk_mature_theme_popup_click",{action_type:e.action_type,enter_from:"live",anchor_id:e.anchor_id,source:"web"})}}},88127:(e,t,i)=>{i.d(t,{q:()=>a});var n,o=i(16891);!function(e){e.Show="livesdk_live_tab_show",e.DOBPromptingShow="livesdk_dob_prompting_popup_show",e.DOBPromptingClick="livesdk_dob_prompting_popup_click",e.BODSettingShow="livesdk_dob_set_popup_show",e.BODSettingClick="livesdk_dob_set_popup_click",e.AgeNonCompliance="livesdk_age_under_13_popup_show",e.CreatorPrompting="livesdk_creator_prompting_popup_show",e.LoginPromptingShow="livesdk_login_prompting_popup_show",e.LoginPromptingClick="livesdk_login_prompting_popup_click",e.LockPageShow="livesdk_lock_live_page_show"}(n||(n={}));const a={handleShow:()=>{o.f.event("livesdk_live_tab_show")},handleDOBPromptingShow:e=>{o.f.event("livesdk_dob_prompting_popup_show",e)},handleDOBPromptingClick:e=>{o.f.event("livesdk_dob_prompting_popup_click",e)},handleBODSettingShow:e=>{o.f.event("livesdk_dob_set_popup_show",e)},handleBODSettingClick:e=>{o.f.event("livesdk_dob_set_popup_click",e)},handleAgeNonComplianceShow:e=>{o.f.event("livesdk_age_under_13_popup_show",e)},handleCreatorPromptingShow:e=>{o.f.event("livesdk_creator_prompting_popup_show",e)},handleLoginPromptingShow:e=>{o.f.event("livesdk_login_prompting_popup_show",e)},handleLoginPromptingClick:e=>{o.f.event("livesdk_login_prompting_popup_click",e)},handleLockPageShow:e=>{o.f.event("livesdk_lock_live_page_show",e)}}},5795:(e,t,i)=>{i.d(t,{W:()=>s});var n,o=i(16891);!function(e){e.LiveEventCardShow="livesdk_live_event_card_show",e.LiveEventCardMoreClick="livesdk_live_event_card_more_click",e.LiveEventCardClick="livesdk_live_event_card_click",e.MultiAnchorEntranceShow="multi_anchor_entrance_show",e.MultiAnchorEntranceClick="multi_anchor_entrance_click"}(n||(n={}));const a=()=>({page_name:o.f.commonParams.page_name,anchor_type:"live_event"}),s={handleLiveEventCardShow:e=>{o.f.event("livesdk_live_event_card_show",Object.assign(Object.assign({},e),a()))},handleLiveEventCardMoreClick:e=>{o.f.event("livesdk_live_event_card_more_click",Object.assign(Object.assign({},e),a()))},handleLiveEventCardClick:e=>{o.f.event("livesdk_live_event_card_click",Object.assign(Object.assign({},e),a()))},handleMultiAnchorEntranceShow:e=>{o.f.event("multi_anchor_entrance_show",Object.assign(Object.assign({},e),a()))},handleMultiAnchorEntranceClick:e=>{o.f.event("multi_anchor_entrance_click",Object.assign(Object.assign({},e),a()))}}},4245:(e,t,i)=>{i.d(t,{p:()=>a});var n,o=i(16891);!function(e){e.Duration="livesdk_live_window_duration_v2"}(n||(n={}));const a={handleLivePreviewDuration:(e,t)=>{(null==t?void 0:t.sendBeacon)?o.f.beconEvent("livesdk_live_window_duration_v2",e):o.f.event("livesdk_live_window_duration_v2",e)}}},12804:(e,t,i)=>{i.d(t,{S:()=>s,l:()=>o});var n,o,a=i(16891);!function(e){e.LiveMobileRelayProcess="livesdk_open_on_computer_process"}(n||(n={})),function(e){e.MessageReceived="message_received",e.MessageParseFailed="message_parse_failed",e.OpenLiveRoomStart="open_live_room_start",e.OpenLiveRoomFailed="open_live_room_failed"}(o||(o={}));const s={handleLiveMobileRelayProcess:e=>{a.f.event(n.LiveMobileRelayProcess,e)}}},9782:(e,t,i)=>{i.d(t,{FP:()=>u,mx:()=>m});var n,o,a,s,r,l,d,c,h,p,g=i(16891);function u(e){switch(e){case 0:return"video_live";case 1:return"third_party";case 3:return"audio";case 4:return"screen_share";case 5:return"social_live";case 6:return"live_studio";default:return"others"}}!function(e){e.LivePlay="livesdk_live_play",e.LivePlayV2="livesdk_live_play_v2",e.LivePause="livesdk_live_pause",e.LivePlayFail="livesdk_live_play_fail",e.LiveRefresh="livesdk_live_refresh",e.LiveShow="livesdk_live_show",e.LiveEnter="livesdk_enter_room",e.LiveEndShow="livesdk_audience_live_end_show",e.WatchOneMin="livesdk_watch_onemin",e.LiveShare="livesdk_share",e.LiveDuration="livesdk_live_duration",e.LiveInteractDuration="livesdk_connection_watch_duration",e.LiveFinish="livesdk_finish_show",e.LiveEndViolationShow="livesdk_live_end_show",e.ShowVerifiedIcon="livesdk_authentication_icon_show",e.OBSRevokeUserPop="livesdk_obs_revoke_user_pop",e.SharePanelShow="share_panel_show",e.SharePanelClick="share_panel_click",e.ClickShareButton="click_share_button",e.RankingsSettingShow="livesdk_live_setting_show",e.ClickRankingsSetting="livesdk_live_rankings_setting_click",e.ClickRankingsSettingSubmit="livesdk_live_rankings_setting_result",e.LiveMatureThemeMaskShow="livesdk_mature_theme_mask_show",e.RecLivePlay="livesdk_rec_live_play",e.ReflowVideoPlay="reflow_video_play",e.EnterRoomDuration="livesdk_enter_room_duration",e.QuestionScanShow="livesdk_question_scan_show",e.LeaderBoardShow="livesdk_leaderboard_show",e.LeaderBoardFaqShow="livesdk_leaderboard_faq_show",e.LeaderBoardDuration="livesdk_leaderboard_duration",e.BottomMessageShow="livesdk_bottom_message_show",e.BottomMessageGPPPAShow="livesdk_election_notice_tag_show",e.BottomMessageGPPPAClick="livesdk_election_notice_tag_click",e.WarningMaskLayer="livesdk_violation_mask_layer",e.GuestDetailOpenClick="livesdk_guest_detail_open_click",e.LiveUnavailable="livesdk_live_unavailable",e.AutoplayUnavailable="livesdk_live_autoplay_unavailable",e.LiveChatIconClick="livesdk_live_chat_icon_click",e.LiveRefreshRetryIconShow="livesdk_live_refresh_retry_icon_show",e.LiveRefreshRetryIconClick="livesdk_live_refresh_retry_icon_click",e.LiveNextIconShow="livesdk_live_next_icon_show",e.LiveNextIconClick="livesdk_live_next_icon_click",e.LiveAIGCTagShow="view_live_aigc_label",e.LiveAIGCTagClick="click_live_aigc_label",e.LiveEndNextCancel="livesdk_webapp_live_end_next_cancel",e.LivePreviewFail="livesdk_preview_play_fail",e.LiveNonStreamingShow="livesdk_live_nonstreaming_show",e.LiveRoomDraw="livesdk_live_draw",e.LiveLeavePage="livesdk_live_leave_page",e.LiveNonStreamingIMMsg="livesdk_live_nonstreaming_im_msg",e.LiveMobileRelayToast="livesdk_open_on_computer_toast",e.LiveAnchorCountDownSeiReceived="livesdk_anchor_count_down_sei_received"}(n||(n={})),function(e){e.VideoAnchorPK="video_anchor_pk",e.VideoAnchorConnect="video_anchor_connect",e.SharedScreenAnchorConnect="shared_screen_anchor_connect",e.VideoAnchorOrder="video_anchor_order",e.VideoAnchorGuestConnect="video_anchor_guest_connect",e.StudioGuestConnect="studio_guest_connect",e.NormalVideoLive="normal_video_live"}(o||(o={})),function(e){e.normal="normal",e.programLive="program_live"}(a||(a={})),function(e){e.VideoLive="video_live",e.ThirdParty="third_party",e.Media="media",e.Audio="audio",e.ScreenShare="screen_share",e.SocialLive="social_live",e.LiveStudio="live_studio",e.Others="others"}(s||(s={})),function(e){e.DiscoverFeed="discorver_feed"}(r||(r={})),function(e){e.Screenshot="screen_shot",e.UserUpload="user_upload",e.Null="null"}(l||(l={})),function(e){e[e.UserRoomFail=2051]="UserRoomFail",e[e.RoomEnterFail=205]="RoomEnterFail",e[e.UserLeave=208]="UserLeave"}(d||(d={})),function(e){e.Pause="pause",e.Leave="leave",e.ChangeMode="change_mode",e.ChangePage="change_webpage",e.ChangeMute="change_mute",e.ChangeDefinition="change_definition",e.LiveEnd="live_end",e.Disconnected="disconnected",e.Others="others",e.UnLogin="unlogin"}(c||(c={})),function(e){e.ManulClick="manul_click",e.DisconnectedToast="disconnected_toast"}(h||(h={})),function(e){e.Paused="paused",e.Playing="playing"}(p||(p={}));const m={isSPA:!1,handleLivePause:e=>{g.f.event("livesdk_live_pause",e)},handleLiveChatIconClick:e=>{g.f.event("livesdk_live_chat_icon_click",Object.assign(Object.assign({},e),{action_type:"click"}))},handleCheckAutoplayError:()=>{g.f.event("livesdk_live_autoplay_unavailable")},handleLiveEndShow:e=>{g.f.event("livesdk_audience_live_end_show",e)},handleLiveEntranceShow:e=>{g.f.event("livesdk_live_show",e)},handleLiveRoomUnavailable:e=>{g.f.event("livesdk_live_unavailable",Object.assign(Object.assign({},e),{action_type:"show"}))},handleLiveEndViolationShow:e=>{g.f.event("livesdk_live_end_show",e)},handleVoiceChatPanelExpand:e=>{g.f.event("livesdk_guest_detail_open_click",Object.assign(Object.assign({},e),{app_name:"webapp"}))},handleBottomMessageShow:e=>{g.f.event("livesdk_bottom_message_show",Object.assign(Object.assign({},e),{user_type:"user"}))},handleWarningMaskShow:e=>{g.f.event("livesdk_violation_mask_layer",Object.assign(Object.assign({},e),{violation_type:"mask_layer"}))},handleEnterRoomDuration:e=>{g.f.event("livesdk_enter_room_duration",e)},handleLivePlayFail:e=>{g.f.event("livesdk_live_play_fail",e)},handleLivePlay:e=>{g.f.event("livesdk_live_play",e)},handleLivePlayV2:e=>{g.f.event("livesdk_live_play_v2",e)},handleRecLivePlay:e=>{g.f.event("livesdk_rec_live_play",e)},handleReflowVideoPlay:e=>{g.f.event("reflow_video_play",e)},handleLiveRefresh:e=>{g.f.event("livesdk_live_refresh",e)},handleLiveShow:e=>{g.f.event("livesdk_live_show",e)},handleLiveEnter:e=>{g.f.event("livesdk_enter_room",e)},handleOBSRevokeUserPopShow:e=>{g.f.event("livesdk_obs_revoke_user_pop",e)},handleWatchOneMin:e=>{g.f.event("livesdk_watch_onemin",e)},handleLiveShare:e=>{g.f.event("livesdk_share",e)},handleLiveDuration:(e,t)=>{(null==t?void 0:t.sendBeacon)?g.f.beconEvent("livesdk_live_duration",e):g.f.event("livesdk_live_duration",e)},handleLiveInteractDuration:(e,t)=>{(null==t?void 0:t.sendBeacon)?g.f.beconEvent("livesdk_connection_watch_duration",e):g.f.event("livesdk_connection_watch_duration",e)},handleInnerNextIconClick:e=>{g.f.event("livesdk_live_next_icon_click",e)},handleInnerNextIconShow:e=>{g.f.event("livesdk_live_next_icon_show",e)},handleLiveFinish:e=>{g.f.event("livesdk_finish_show",e)},handleShowVerifiedIcon:e=>{g.f.event("livesdk_authentication_icon_show",e)},handleSharePanelShow:e=>{g.f.event("share_panel_show",e)},handleSharePanelClick:e=>{g.f.event("share_panel_click",e)},handleShareButtonClick:e=>{g.f.event("click_share_button",e)},handleRankingsSettingShow:e=>{g.f.event("livesdk_live_setting_show",e)},handleRankingsSettingClick:e=>{g.f.event("livesdk_live_rankings_setting_click",e)},handleRankingsSettingSubmit:e=>{g.f.event("livesdk_live_rankings_setting_result",e)},handleLiveMatureThemeMaskShow:e=>{g.f.event("livesdk_mature_theme_mask_show",e)},handleQuestionScanShow:e=>{g.f.event("livesdk_question_scan_show",e)},handleLeaderBoardFaqShow:e=>{g.f.event("livesdk_leaderboard_faq_show",e)},handleLeaderBoardShow:e=>{g.f.event("livesdk_leaderboard_show",e)},handleLeaderBoardDuration:e=>{g.f.event("livesdk_leaderboard_duration",e)},handleLiveRefreshRetryIconShow:e=>{g.f.event("livesdk_live_refresh_retry_icon_show",e)},handleLiveRefreshRetryIconClick:e=>{g.f.event("livesdk_live_refresh_retry_icon_click",e)},handleLivePreviewFail:e=>{g.f.event("livesdk_preview_play_fail",e)},handleLiveNonStreamingShow:e=>{g.f.event("livesdk_live_nonstreaming_show",e)},handleLiveRoomDraw:e=>{g.f.event("livesdk_live_draw",e)},handleLiveLeavePage:(e,t)=>{t?g.f.beconEvent("livesdk_live_leave_page",e):g.f.event("livesdk_live_leave_page",e)},handleLiveNonStreamingIMMsg:e=>{g.f.event("livesdk_live_nonstreaming_im_msg",e)},handleLiveMobileRelayToast:e=>{g.f.event("livesdk_open_on_computer_toast",e)},handleLiveAnchorCountDownSeiReceived:e=>{g.f.event("livesdk_anchor_count_down_sei_received",e)},handleBottomMessageGPPPAShow:e=>{g.f.event("livesdk_election_notice_tag_show",e)},handleBottomMessageGPPPAClick:e=>{g.f.event("livesdk_election_notice_tag_click",e)},handleLiveAIGCTagShow:e=>{g.f.event("view_live_aigc_label",e)},handleLiveAIGCTagClick:e=>{g.f.event("click_live_aigc_label",e)},handleLiveEndNextCancel:e=>{g.f.event("livesdk_webapp_live_end_next_cancel",e)}}},42713:(e,t,i)=>{i.d(t,{lu:()=>d});var n,o,a,s,r,l=i(16891);!function(e){e.LiveShow="livesdk_live_show",e.LiveRecPlay="livesdk_rec_live_play",e.LiveWindowDuration="livesdk_live_window_duration_v2"}(n||(n={})),function(e){e.Click="click",e.Draw="draw"}(o||(o={})),function(e){e.General="general_search",e.SearchResult="search_result",e.SearchUser="search_user"}(a||(a={})),function(e){e.OthersPhoto="others_photo",e.Cover="live_cover",e.Cell="live_cell"}(s||(s={})),function(e){e.AutoMatic="automatic",e.Hover="hover"}(r||(r={}));const d={handleLiveShow:e=>{l.f.event("livesdk_live_show",e)},handleLiveRecPlay:e=>{l.f.event("livesdk_rec_live_play",Object.assign({action_type:"click"},e))},handleLiveWindowDuration:e=>{l.f.event("livesdk_live_window_duration_v2",e)}}},59745:(e,t,i)=>{i.d(t,{i:()=>a});var n,o=i(16891);!function(e){e.LiveShow="livesdk_live_show",e.LiveClick="livesdk_rec_live_play",e.GoLiveHover="livesdk_sidebar_go_live_hover",e.CreatorToolsHover="livesdk_sidebar_creator_tools_hover",e.LiveBackClick="livesdk_sidebar_back_click"}(n||(n={}));const a={handleLiveShow:e=>{o.f.event("livesdk_live_show",{enter_from_merge:e.enterFromMerge,enter_method:e.enterMethod,request_id:e.requestId,room_id:e.roomId,action_type:e.actionType,anchor_id:e.anchorId})},handleLiveClick:e=>{o.f.event("livesdk_rec_live_play",{enter_from_merge:e.enterFromMerge,enter_method:e.enterMethod,request_id:e.requestId,room_id:e.roomId,action_type:e.actionType,anchor_id:e.anchorId})},handleGoLiveHover:e=>{o.f.event("livesdk_sidebar_go_live_hover",Object.assign({},e))},handleCreatorToolsHover:e=>{o.f.event("livesdk_sidebar_creator_tools_hover",Object.assign({},e))},handleLiveBackClick:e=>{o.f.event("livesdk_sidebar_back_click",Object.assign({},e))}}},1399:(e,t,i)=>{i.d(t,{N:()=>a});var n,o=i(16891);!function(e){e.LiveSurveyShow="livesdk_live_survey_show",e.LiveSurveyClick="livesdk_live_survey_click"}(n||(n={}));const a={handleLiveSurveyShow:e=>{o.f.event("livesdk_live_survey_show",Object.assign({},e))},handleLiveSurveyClick:e=>{o.f.event("livesdk_live_survey_click",Object.assign({},e))}}},66478:(e,t,i)=>{i.d(t,{S:()=>o});var n=i(16891);const o={handleBackClick(e){n.f.event("livesdk_side_suggest_switch",Object.assign({},e))}}},80596:(e,t,i)=>{i.d(t,{H:()=>o});var n=i(16891);const o={showEmailConsent:()=>{n.f.sendEvent("show_button_consent_check_box",{page_name:"email_signup_page",exp_name:"onboarding_collect_email_consent",text_type:"long_version"})},clickEmailConsent:e=>{n.f.sendEvent("clikc_button_consent_check_box",{page_name:"email_signup_page",exp_name:"onboarding_collect_email_consent",text_type:"long_version",status:e.checked?"checked":"unchecked"})},rigisterClickNext:e=>{n.f.sendEvent("register_click_next",e)}}},67937:(e,t,i)=>{i.d(t,{j:()=>o});var n=i(16891);const o={handleOtherLoginOptionsClick:e=>{n.f.sendEvent("click_other_login_options",e)},handleQRLoginTabClick:e=>{n.f.sendEvent("click_QR_login",e)},handlePhoneLoginTabClick:e=>{n.f.sendEvent("click_login_button",e)}}},87702:(e,t,i)=>{i.d(t,{t:()=>o});var n=i(16891);const o={handleNotifyShow:()=>{n.f.sendEvent("fb_unavailable_notify")},handleTipClose:()=>{n.f.sendEvent("fb_unavailable_dismiss")},handleGotoPhoneOrEmail:()=>{n.f.sendEvent("click_user_phone_or_email")}}},87461:(e,t,i)=>{i.d(t,{w:()=>o});var n=i(16891);const o={scanQrCode:e=>{n.f.sendEvent("scan_QR_login",e)},showQrCode:e=>{n.f.sendEvent("show_qr_login",e)}}},84399:(e,t,i)=>{i.d(t,{m:()=>a});var n,o=i(16891);!function(e){e.Click="user_click",e.Resend="resend",e.ForgotPwd="forgot_password",e.TwoStep="2sv",e.ForceReset="force_reset",e.Delete="delete",e.Bind="bind"}(n||(n={}));const a={sendSms:e=>{o.f.sendEvent("send_sms",e)},sendMail:e=>{o.f.sendEvent("send_mail",e)},sendSmsResult:e=>{o.f.sendEvent("monitor_send_sms",e)},sendMailResult:e=>{o.f.sendEvent("monitor_send_email_code",e)}}},64840:(e,t,i)=>{i.d(t,{r:()=>o});var n=i(16891);const o={showSsoModal:()=>{n.f.sendEvent("show_sso_modal")}}},25754:(e,t,i)=>{i.d(t,{w:()=>a});var n,o=i(16891);!function(e){e.EnterChatList="enter_chat_list",e.LeaveChatList="leave_chat_list",e.LeaveChat="leave_chat",e.DeleteChat="delete_chat",e.AcceptStrangerChat="accept_stranger_chat",e.ReportStrangerChat="report_stranger_chat",e.DeleteStrangerChat="delete_stranger_chat",e.SendMessage="send_message",e.FailSendMessage="fail_send_message",e.LikeMessage="like_message",e.DeleteMessage="delete_message",e.ReportMessage="report_message",e.ChatSettingClick="chat_setting_click",e.ChatMuteClick="chat_mute_click",e.ChatTopClick="chat_top_click",e.EnterStrangerChatList="enter_stranger_chat_list",e.ChangeMessagePermission="change_message_permission",e.ChangeBrandMessageStatus="change_brand_message_status",e.EnterChat="enter_chat",e.ShareHeadShow="share_head_show",e.ShareVideoToChat="share_video_to_chat",e.SearchContact="search_contact",e.ShareVideo="share_video",e.MediaMessageShow="media_message_show",e.MediaMessageShowFail="media_message_show_fail",e.WebAppDmLcp="webapp_dm_lcp"}(n||(n={}));const a={handleEnterChatList:(e,t)=>{o.f.event("enter_chat_list",{num:e,enterMethod:t})},handleSendMessage:e=>{o.f.event("send_message",e)},handleFailSendMessage:e=>{o.f.event("fail_send_message",e)},handleShareHeadShow:e=>{o.f.event("share_head_show",e)},handleShareVideoToChat:e=>{o.f.event("share_video_to_chat",e)},handleSearchContact:()=>{o.f.event("search_contact",{action_type:"share"})},handleLeaveChatList:()=>{o.f.event("leave_chat_list")},handleEnterStrangerChatList:()=>{o.f.event("enter_stranger_chat_list")},handleChatSettingClick:e=>{o.f.event("chat_setting_click",{conversation_id:e,chat_type:"private"})},handleChatMuteClick:({to_status:e,conversation_id:t})=>{o.f.event("chat_mute_click",{to_status:e,conversation_id:t,chat_type:"private"})},handleChatTopClick:({to_status:e,conversation_id:t})=>{o.f.event("chat_top_click",{to_status:e,conversation_id:t,chat_type:"private"})},handleDeleteChat:({is_stranger:e,conversation_id:t})=>{o.f.event("delete_chat",{is_stranger:e?1:0,conversation_id:t,chat_type:"private"})},handleEnterChat:({relation_tag:e,is_stranger:t,conversation_id:i,chat_type:n})=>{o.f.event("enter_chat",{relation_tag:e,is_stranger:t?1:0,conversation_id:i,chat_type:n})},handleAcceptStrangerChat:()=>{o.f.event("accept_stranger_chat")},handleDeleteMessage:e=>{o.f.event("delete_message",Object.assign({},e))},handleReportMessage:e=>{o.f.event("report_message",Object.assign({},e))},handleLikeMessage:({conversation_id:e,to_user_id:t,chat_type:i,emoji_name:n,react_message_type:a})=>{o.f.event("like_message",{conversation_id:e,to_user_id:t,chat_type:i,emoji_name:n,react_message_type:a})},handleChangeMessagePermission:e=>{o.f.event("change_message_permission",{to_status:e})},handleChangeBrandMessageStatus:e=>{o.f.event("change_brand_message_status",{to_status:e})},handleLeaveChat:({relation_tag:e,is_stranger:t,conversation_id:i})=>{o.f.event("leave_chat",{relation_tag:e,is_stranger:t?1:0,conversation_id:i})},handleMediaMessageShow:e=>{o.f.event("media_message_show",e)},handleMediaMessageShowFail:e=>{o.f.event("media_message_show_fail",e)},handleReportMessagePageLcp:e=>{o.f.event("webapp_dm_lcp",{lcp:Math.floor(e.lcp),is_business_account:e.is_business_account?1:0})}}},11432:(e,t,i)=>{i.d(t,{e:()=>o});var n=i(16891);const o={handleAccountModalShow:e=>{n.f.sendEvent("enter_following_tab",e)},handleLoginShow:e=>{n.f.sendEvent("login_entrance_show",e)},handleDownloadShow:e=>{n.f.sendEvent("download_app_notify",e)},handleLoginClick:e=>{n.f.sendEvent("login_entrance_click",e)},handleDownloadConfirm:e=>{n.f.sendEvent("download_app_confirm",e)},handleDownloadDismiss:e=>{n.f.sendEvent("download_app_dismiss",e)},handleTryEffectModalShow:(e,t)=>{n.f.sendEvent("show_qr_effect",Object.assign({effect_id:t},e))},handleClickAddToHome:e=>{n.f.sendEvent("add_to_homescreen",e)}}},258:(e,t,i)=>{i.d(t,{d:()=>o});var n=i(16891);const o={handleClickMusicPlay:e=>{n.f.sendEvent("click_music_play",e)}}},23255:(e,t,i)=>{i.d(t,{t:()=>o});var n=i(16891);const o={handleClickLogo:()=>{n.f.sendEvent("click_logo")},handleClickNav:e=>{n.f.sendEvent("click_navigation_bar",e)},handleClickHamburgerMenu:()=>{n.f.sendEvent("click_hamburger_menu")},handleEntranceShow:e=>{n.f.sendEvent("eh_web_entrance_show",e)},handleClickEntrance:e=>{n.f.sendEvent("click_eh_web_entrance",e)},handleShowFollowingRedDot:()=>{n.f.sendEvent("red_dot_show")},handleRemoveFollowingRedDot:e=>{n.f.sendEvent("red_dot_exit",e)},handleShowNewLabel:()=>{n.f.sendEvent("new_label_show")},handleRemoveNewLabel:e=>{n.f.sendEvent("new_label_exit",e)}}},81125:(e,t,i)=>{i.d(t,{b:()=>h});var n,o=i(58632),a=i(94999),s=i(7672),r=i(71510),l=i.n(r),d=i(16891);const c="homepage_message";let h=n=class{handlePopShow(e){d.f.sendEvent("message_pop_notice_show",e)}handleChangeTab(e){d.f.sendEvent("change_notification_tab",this.getNoticeParams(e))}handleEnterFollow(e){d.f.sendEvent("enter_follow_request",this.getNoticeParams(e))}handleFollowRequestAction(e){d.f.sendEvent("follow_request_action",l()(e,{enter_from:"follow_request_page",previous_page:"homepage_message"}))}handleEnterFold(e){d.f.sendEvent("enter_folded_message",l()(e,{enter_from:c,account_type:"like"}))}handleSystemNotificationShow(){d.f.sendEvent("system_notification_show",this.getNoticeParams({}))}handleSystemNotificationClick(e){d.f.sendEvent("system_notification_click",this.getNoticeParams({enter_from:"system_notification_page",enter_method:e.enter_method}))}handleChangeSystemNotificationTab(e){d.f.sendEvent("change_system_notification_tab",this.getNoticeParams(e))}getNoticeParams(e){return l()(e,{enter_from:c,page_name:c,previous_page:d.f.commonParams.page_name})}};h.getInstance=()=>a.l.getInstance(n),h=n=(0,o.__decorate)([(0,s._)()],h)},99229:(e,t,i)=>{i.d(t,{g:()=>a});var n=i(16891);const o=(e,t)=>{n.f.event("show_create_passkey_prompt",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey"})},a={handleShowCreatePasskeyPrompt:o,handlePasskeyEnterSet:(e,t)=>{n.f.event("enter_set_passkey",{enter_from:e,enter_method:"click"}),o(e,t)},handleRespondCreatePasskey:(e,t,i)=>{n.f.event("respond_create_passkey_prompt",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey",result:i})},handleShowCreatePasskeyFailToast:(e,t,i)=>{n.f.event("show_create_passkey_fail_toast",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey",error_code:String(i)})},handleShowCreatePasskeySavedToast:(e,t)=>{n.f.event("show_passkey_saved_toast",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey"})},handleCreatePasskeySubmit:(e,t)=>{n.f.event("create_passkey_submit",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey"})},handleCreatePasskeySuccess:(e,t)=>{n.f.event("create_passkey_success",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey"})},handleCreatePasskeyFailure:(e,t,i)=>{n.f.event("create_passkey_failure",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey",error_code:String(i)})},handleShowReplacePasskeyPopup:(e,t)=>{n.f.event("show_replace_passkey_popup",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey"})},handleRespondReplacePasskeyPopup:(e,t,i)=>{n.f.event("respond_replace_passkey_popup",{enter_from:e,enter_method:t?"first_passkey":"replace_passkey",result:i})},handleShowSetPasskeyInfo:()=>{n.f.event("show_set_passkey_info")},handleResponseSetPasskeyInfo:(e,t)=>{n.f.event("respond_set_passkey_info",{result:e,is_key_set:t})}}},48720:(e,t,i)=>{i.d(t,{$:()=>a});var n,o=i(16891);!function(e){e.On="on",e.Off="off"}(n||(n={}));const a={handleManageFeedsPopUp:()=>{o.f.sendEvent("manage_feeds_pop_up")},handleClickManageFeeds:()=>{o.f.sendEvent("click_manage_feeds")},handleCloseManageFeedsPopUp:()=>{o.f.sendEvent("close_manage_feeds_pop_up")},handleSwitchPersonalizationToggle:e=>{o.f.sendEvent("switch_personalization_toggle",e)},handleConfirmPersonalizationStatusChange:e=>{o.f.sendEvent("confirm_personalization_status_change",e)},handleShowSuggestedAccountInfo:()=>{o.f.sendEvent("show_suggested_account_info")},handleShowManageFeedsHalfSheet:()=>{o.f.sendEvent("show_manage_feeds_half_sheet")},handleClickInManageFeedsHalfSheet:()=>{o.f.sendEvent("click_in_manage_feeds_half_sheet")},handleCloseManageFeedsHalfSheet:()=>{o.f.sendEvent("close_manage_feeds_half_sheet")}}},50213:(e,t,i)=>{i.d(t,{j:()=>o});var n=i(16891);const o={regionSelectionPageShow:e=>{n.f.sendEvent("region_selection_page_show",e)},selectAccountRegion:e=>{n.f.sendEvent("select_account_region",e)}}},77483:(e,t,i)=>{i.d(t,{Q:()=>o});var n=i(16891);const o={policyLinkShow:e=>{n.f.sendEvent("policy_link_show",e)},policyLinkClicked:e=>{n.f.sendEvent("policy_link_clicked",e)}}},84738:(e,t,i)=>{i.d(t,{I:()=>o});var n=i(16891);const o={privateNotifyShow:()=>{n.f.sendEvent("private_notify_show")},privateNotifyClick:e=>{n.f.sendEvent("private_notify_click",e)}}},82548:(e,t,i)=>{i.d(t,{U:()=>o});var n=i(16891);const o={handlePopupShow:e=>{n.f.sendEvent("general_pop_up",e)}}},3247:(e,t,i)=>{i.d(t,{u:()=>a});var n,o=i(16891);!function(e){e.Popup="launch_popup",e.Modal="jump_to_pwa",e.Jump="jump"}(n||(n={}));const a={jump:(e={})=>{o.f.sendEvent("jump",e)},jumpSchemeStart:(e={})=>{o.f.sendEvent("jump_schema_start",e)},jumpCheck:(e={})=>{o.f.sendEvent("jump_check",e)},groupPopupClick:()=>{o.f.sendEvent("jump_window_click",{click_position:"jump"})},downloadApk:()=>{o.f.sendEvent("apk_download_click")}}},44815:(e,t,i)=>{i.d(t,{o:()=>o});var n=i(16891);const o={handleShowReport:e=>{n.f.sendEvent("click_report",Object.assign(Object.assign({},e),{channel:"web"}))},handleReportSubmit:e=>{n.f.sendEvent("web_report_submit",e)},handleReportNext:e=>{n.f.sendEvent("web_choose_report_reason_next",e)},handleReportSugSubmit:e=>{n.f.sendEvent("search_text_submit",e)},handleReportSugFinish:e=>{n.f.sendEvent("sug_report_confirm",e)},handleDSAResubmitReportOnSubmission:e=>{n.f.sendEvent("tns_click_resubmit_report",e)},handleDSAResubmitShow:e=>{n.f.sendEvent("tns_pop_up_resubmit_show",e)},handleDSAResubmitMoreOptionsClick:e=>{n.f.sendEvent("tns_pop_up_resubmit_click",e)},handleChooseReportRadioReason:e=>{n.f.sendEvent("web_choose_report_reason_next",e)}}},7476:(e,t,i)=>{i.d(t,{E:()=>a});var n,o=i(16891);!function(e){e.SCMPageView="scm_page_view",e.SCMTagClick="scm_tag_click",e.SCMDescriptionPop="scm_description_pop",e.SCMLearnMoreClick="scm_learn_more_click",e.SCMQuit="scm_quit"}(n||(n={}));const a={handleSCMPageView:()=>{o.f.event("scm_page_view")},handleTagClick:()=>{o.f.event("scm_tag_click")},handleQuit:()=>{o.f.event("scm_quit")},handleSCMLearnMore:()=>{o.f.event("scm_learn_more_click")},handleSCMDescPopUp:()=>{o.f.event("scm_description_pop")}}},38867:(e,t,i)=>{i.d(t,{c:()=>a});var n,o=i(16891);!function(e){e.ShowAid="tns_show_see_support_resources",e.ClickAidResources="tns_click_see_support_resources",e.ShowAidResultBtn="tns_show_see_results_button",e.ClickAidResultBtn="tns_click_see_results_button",e.ShowReminder="tns_show_reminder",e.ShowReminderMoreBtn="tns_show_learn_more_button",e.ClickReminderMoreBtn="tns_click_learn_more_button",e.ShowCGLink="tns_show_community_link",e.ClickCGLink="tns_click_community_link"}(n||(n={}));const a={handleSearchAidResClick:e=>{o.f.event("tns_click_see_support_resources",e)},handleSearchCGLinkClick:e=>{o.f.event("tns_click_community_link",e)},handleSearchCGLinkShow:e=>{o.f.event("tns_show_community_link",e)},handleSearchReminderMoreBtnShow:e=>{o.f.event("tns_show_learn_more_button",e)},handleSearchReminderMoreBtnClick:e=>{o.f.event("tns_click_learn_more_button",e)},handleSearchReminderShow:e=>{o.f.event("tns_show_reminder",e)},handleSearchAidResultBtnClick:e=>{o.f.event("tns_click_see_results_button",e)},handleSearchAidShow:e=>{o.f.event("tns_show_see_support_resources",e)},handleSearchAidResultBtnShow:e=>{o.f.event("tns_show_see_results_button",e)}}},65365:(e,t,i)=>{i.d(t,{$G:()=>x});var n,o,a,s,r,l,d,c,h,p,g,u,m,v,f,_,k=i(16891);!function(e){e.ClickEnter="click_enter",e.ClickIcon="click_icon",e.ClickViewAll="click_view_all",e.ClickSearch="homepage_click_search",e.ClickMoreGeneralList="click_more_general_list",e.ClickSearchResult="click_search_result",e.SearchHistory="search_history",e.RecomSearch="recom_search",e.ManagePersonalise="manage_personalise"}(n||(n={})),function(e){e.Hot="hot",e.Sav="top",e.Music="music",e.SearchBar="search_bar_outer",e.ExploreAll="explore_all"}(o||(o={})),function(e){e.EnrichSug="enrich_sug",e.NormalSug="normal_sug"}(a||(a={})),function(e){e.User="user",e.Video="video",e.General="general",e.Live="live"}(s||(s={})),function(e){e.SearchHistory="search_history",e.SearchSug="search_sug",e.NormalSearch="normal_search",e.SearchRecom="search_recommend"}(r||(r={})),function(e){e.RecomSearchFeedback="recom_search_feedback"}(l||(l={})),function(e){e.RecomSearch="recom_search",e.SearchHistory="search_history",e.videoTitleChallenge="video_title_challenge",e.NormalSearch="normal_search",e.SearchOuter="search_outer",e.SwitchTab="switch_tab",e.ClickMoreGeneralList="click_more_general_list",e.SearchSug="search_sug",e.DefaultSearchKeyword="default_search_keyword",e.CommentRelatedSearch="comment_related_search",e.CommentHighlightedWords="comment_highlighted_words",e.RelatedSearch="related_search"}(d||(d={})),function(e){e.Sug="sug",e.RecomSearch="recom_search",e.SearchBar="related_search_anchor_v2",e.CommentRelatedSearch="comment_related_search",e.CommentHighlightedWords="comment_highlighted_words",e.RelatedSearch="related_search",e.ExploreAll="explore_all"}(c||(c={})),function(e){e.Tag="tag",e.Person="person",e.LiveCard="live_card",e.HotUser="hot_user"}(h||(h={})),function(e){e.ClickIntoLive="click_into_live",e.ClickInfo="click_info",e.ClickClose="click_close",e.ClickBlankSpace="click_blank_space",e.ClickDone="click_done"}(p||(p={})),function(e){e.Report="report",e.NotRelevant="not_relevant",e.Close="close"}(g||(g={})),function(e){e.Show="show",e.ShowAll="show_all",e.Click="click",e.Clear="clear",e.ClearAll="clear_all"}(u||(u={})),function(e){e.Enter="enter",e.Cancel="cancel"}(m||(m={})),function(e){e.NotInterested="Not interested",e.UnrelatedContent="Unrelated content",e.InappropriateContent="Inappropriate content",e.Others="others",e.Cancel="cancel"}(v||(v={})),function(e){e[e.OnToOff=1]="OnToOff",e[e.OffToOn=2]="OffToOn",e[e.RemainOff=3]="RemainOff",e[e.RemainOn=4]="RemainOn"}(f||(f={})),function(e){e.On="on",e.Off="off"}(_||(_={}));const x={handleSugClick:e=>{k.f.sendEvent("trending_words_click",e)},handleSugImpression:e=>{k.f.sendEvent("trending_words_show",e)},handleSugGroupImpression:e=>{k.f.sendEvent("trending_show",e)},handleSearchEntry:e=>{k.f.sendEvent("enter_search",e)},handleSearchImpression:e=>{k.f.sendEvent("search_result_show",Object.assign({token_type:"person"},e))},handleSearchVideoImpression:e=>{k.f.sendEvent("search_result_show_video",Object.assign({},e))},handleSearch:e=>{k.f.sendEvent("search",Object.assign(Object.assign({},e),{is_success:1}))},handleSearchResultClick:e=>{k.f.sendEvent("search_result_click",Object.assign({},e))},handleSearchSessionFinish:e=>{k.f.sendEvent("search_session_finish",e)},handleSearchResultEmpty:e=>{k.f.sendEvent("empty_search",Object.assign({},e))},handleClickSearch:({target:e="homepage_click_search"})=>{k.f.sendEvent("click_search",{target:e})},handleEnterSearchPage:({enter_method:e="homepage_click_search"})=>{k.f.sendEvent("enter_search_page",{enter_method:e})},handleEnterSearchBlankPage:e=>{k.f.sendEvent("enter_search_blankpage",e)},handleSearchHistory:e=>{k.f.sendEvent("search_history",e)},handleTrendingWordsShow:e=>{k.f.sendEvent("trending_words_show",e)},handleTrendingWordsClick:e=>{k.f.sendEvent("trending_words_click",e)},handleTrendingShow:e=>{k.f.sendEvent("trending_show",e)},handleCommentRelatedSearchBoardShow:e=>{k.f.sendEvent("comment_related_search_board_show",e)},handleCommentRelatedSearchBoardClick:e=>{k.f.sendEvent("comment_related_search_board_click",e)},handleSugReportConfirm:e=>{k.f.sendEvent("sug_report_confirm",e)},handleSugReportLaunch:e=>{k.f.sendEvent("sug_report_launch",e)},handleChallengeTitleClick:e=>{k.f.sendEvent("challenge_title_click",e)},handleClickSearchFeedback:e=>{k.f.sendEvent("click_search_feedback",e)},handleSearchTextSubmit:e=>{k.f.sendEvent("search_text_submit",e)},handleSearchFeedbackStatus:e=>{k.f.sendEvent("search_feedback_status",e)},handleManageSearchPopupShow:e=>{k.f.sendEvent("manage_search_popup_show",e)},handleManageSearchPopupClick:e=>{k.f.sendEvent("manage_search_popup_click",e)}}},50772:(e,t,i)=>{i.d(t,{c:()=>s});var n,o=i(16891),a=i(2584);!function(e){e.Main="main_page"}(n||(n={}));const s={videoShow:(e,t={})=>{o.f.sendEvent("video_show",Object.assign({keyword:e},t))},showSection:(e,t={})=>{o.f.sendEvent("show_section",Object.assign({section:e,duration:performance.now()},t))},handleTap:(e,t="click_content")=>{o.f.sendEvent("tap",{enter_method:e,target:t})},handleGeneralClick:(e,t="main_page",i={})=>{a.O.handleGeneralClick(e,Object.assign({scene:t},i))}}},56546:(e,t,i)=>{i.d(t,{A:()=>h});var n,o,a=i(58632),s=i(94999),r=i(7672),l=i(16891),d=i(92603),c=i(40040);!function(e){e.Share="share",e.ShareVideo="share_video",e.SharePanelShow="share_panel_show",e.SharePanelClick="share_panel_click",e.ClickShare="click_share_button",e.ExpandSubtitle="expand_subtitle",e.ClickClosePanel="click_close_panel"}(o||(o={}));let h=n=class{handleEvent(e,t={}){l.f.sendEvent(e,Object.assign(Object.assign({},t),{type:t.group_id?"video":this.type}))}handleSubtitleExpand(e){l.f.sendEvent("expand_subtitle",{page_url:e.pageUrl,item_id:e.itemId,type:this.type})}handleSharePanelShow(e){const t=(0,d.Hd)(c.DK);this.handleEvent("share_panel_show",Object.assign(Object.assign({},e),{from_group_id:t}))}handleSharePanelClick(e){this.handleEvent("share_panel_click",e)}handleShare(e){const t=(0,d.Hd)(c.DK),i=e.group_id?"share_video":"share";this.handleEvent(i,Object.assign(Object.assign({},e),{from_group_id:t}))}handleClickClosePannel(e){this.handleEvent("click_close_panel",e)}handleClickShare(e){this.handleEvent("click_share_button",e)}get type(){const{page_name:e}=l.f.commonParams;switch(e){case"video_detail":return"video";case"single_song":return"music";case"challenge":return"tag";case"others_homepage":case"personal_homepage":return"profile";case"discover_kw":return"kep";case"collection":return"collection";case"place":return"poi";case"channel":return"channel";case"playlist":return"playlist";default:return}}};h.getInstance=()=>s.l.getInstance(n),h=n=(0,a.__decorate)([(0,r._)()],h)},12323:(e,t,i)=>{i.d(t,{d:()=>o});var n=i(16891);const o={handleShortcut:e=>{n.f.sendEvent("shortcut",e)}}},95726:(e,t,i)=>{i.d(t,{V:()=>o});var n=i(16891);const o={handlePageSwitchActualFmpReport:e=>{n.f.sendEvent("page_switch_actual_fmp",e)},handlePageSwitchFirstFrameVideoReport:e=>{n.f.sendEvent("page_switch_first_frame_video",e)},handleVideoSwitchActualFmpReport:e=>{n.f.sendEvent("video_switch_actual_fmp",e)},handleVideoSwitchFirstFrameVideoReport:e=>{n.f.sendEvent("video_switch_first_frame_video",e)},handlePageReadyReport:e=>{n.f.sendEvent("page_ready",e)}}},89575:(e,t,i)=>{i.d(t,{H:()=>o});var n=i(16891);const o={handleClickTranscriptLine:e=>{n.f.sendEvent("click_transcript_line",{time_clicked:e})},handleCloseTranscriptPanel:(e,t)=>{n.f.sendEvent("close_transcript_panel",{enter_method:e,is_pinned:t})},handleShowTranscriptPanel:(e,t)=>{n.f.sendEvent("show_transcript_panel",{enter_method:e,is_pinned:t})}}},63020:(e,t,i)=>{i.d(t,{G:()=>o});var n=i(16891);const o={handleShowTttodspMusicReport:e=>{n.f.sendEvent("show_tttodsp_music",Object.assign({},e))},handleClickTttodspMusicReport:e=>{n.f.sendEvent("click_tttodsp_music",Object.assign({},e))},handleClickTttodspSheetReport:e=>{n.f.sendEvent("click_tttodsp_sheet",Object.assign({},e))},handleAuthorizeTttodspStatusReport:e=>{n.f.sendEvent("authorize_tttodsp_status",Object.assign({},e))},handleAddTttodspStatusReport:e=>{n.f.sendEvent("add_tttodsp_status",Object.assign({},e))}}},41065:(e,t,i)=>{i.d(t,{m:()=>a});var n,o=i(16891);!function(e){e.Exit="exit",e.Othershow="othershow",e.Otherclick="otherclick",e.ShowPersonalizedDataRevamped="show_personalized_data_revamped",e.ChangePersonalizedStatusRevamped="change_personalized_status_revamped"}(n||(n={}));const a={handleShowPersonalizedDataRevamped:e=>{o.f.event("show_personalized_data_revamped",e)},handleChangePersonalizedStatusRevamped:e=>{o.f.event("change_personalized_status_revamped",e)},handleOthershow:e=>{o.f.event("othershow",e)},handleOtherclick:e=>{o.f.event("otherclick",e)},handleExit:e=>{o.f.event("exit",e)}}},35172:(e,t,i)=>{i.d(t,{Y:()=>o});var n=i(16891);const o={handleClickEntrance:e=>{n.f.sendEvent("click_upload_entrance",e)}}},38597:(e,t,i)=>{i.d(t,{h:()=>o});var n=i(16891);const o={handleBlockShow:e=>{n.f.sendEvent("tns_webapp_block_show",{type:e?"block":"unblock"})},handleBlockClick:e=>{n.f.sendEvent("tns_webapp_block_click",{type:e?"block":"unblock"})},handleBlock:(e,t)=>{n.f.sendEvent(t?"block":"unblock",e)}}},54129:(e,t,i)=>{i.d(t,{s:()=>a});var n,o=i(16891);!function(e){e.SaveProfile="save_profile",e.ClickEditProfile="click_edit_profile",e.EditProfileNotifyShow="edit_profile_notify_show",e.CancelEditProfile="cancel_edit_profile",e.CancelEditProfileShow="cancel_edit_profile_show"}(n||(n={}));const a={handleSaveReport:e=>{o.f.event("save_profile",e)},handleClickEditProfile:e=>{o.f.event("click_edit_profile",e)},handleShowProfileTooltip:e=>{o.f.event("edit_profile_notify_show",e)},handleCancelEditProfile:e=>{o.f.event("cancel_edit_profile",e)},handleCloseProfileTooltip:e=>{o.f.event("cancel_edit_profile_show",e)}}},59963:(e,t,i)=>{i.d(t,{U:()=>o});var n=i(16891);const o={handleClickFollowModalTab:(e,t)=>{"others_following"===e?n.f.sendEvent("click_following",{to_user_id:t}):"others_follower"===e?n.f.sendEvent("click_followers",{to_user_id:t}):"suggested_follow"===e?n.f.sendEvent("click_suggested",{to_user_id:t}):"friend"===e&&n.f.sendEvent("click_friends",{to_user_id:t})}}},41183:(e,t,i)=>{i.d(t,{c:()=>o});var n=i(16891);const o={handleDropdownCardShow:()=>{n.f.sendEvent("dropdown_card_show")},handleProfileDropdownClick:e=>{n.f.sendEvent("profile_click",e)}}},10122:(e,t,i)=>{i.d(t,{v:()=>o});var n=i(16891);const o={handleTabChange:e=>{n.f.sendEvent("change_profile_tab",{tab_name:e})},handleClickSortOption:e=>{n.f.sendEvent("click_sort_option",e)},handleTooltipShow:e=>{n.f.sendEvent("show_tooltip",e)}}},21620:(e,t,i)=>{i.d(t,{I:()=>a});var n,o=i(16891);!function(e){e.ShowCollectionsTooltip="show_collections_tooltip",e.EnterCollectionsPage="enter_collections_page"}(n||(n={}));const a={handleShowCollectionsTooltip:()=>{o.f.event("show_collections_tooltip")},handleEnterCollectionsPage:()=>{o.f.event("enter_collections_page",{enterMethod:"top_bar"})}}},69617:(e,t,i)=>{i.d(t,{V:()=>o});var n=i(16891);const o={handleVideoControlChange:e=>{n.f.sendEvent("video_play_control",e)},handleToggleCommentPanel:e=>{n.f.sendEvent("comments_panel_toggle",e)},handleCommentPanelShow:e=>{n.f.sendEvent("comments_panel_show",e)},handleVideoControlReport:e=>{n.f.sendEvent("show_video_controls",e)}}},39952:(e,t,i)=>{i.d(t,{c:()=>o});var n=i(16891);const o={handleCreatePlaylist:()=>{n.f.sendEvent("create_playlist")},handleClickAddPlaylistVideo:e=>{n.f.sendEvent("click_add_playlist_video",e)},handleAddPlaylistVideo:e=>{n.f.sendEvent("add_playlist_video",e)},handlePostCreatingPlaylist:e=>{n.f.sendEvent("post_creating_playlist",e)},handleClickChangePlaylistOrder:()=>{n.f.sendEvent("click_change_playlist_order")},handleSaveChangePlaylistOrder:e=>{n.f.sendEvent("save_change_playlist_order",e)},handleCompleteEditingPlaylist:e=>{n.f.sendEvent("complete_editing_playlist",e)},handleClickPlaylistEntrance:e=>{n.f.sendEvent("click_playlist_entrance",e)},handleClickRenamePlaylist:e=>{n.f.sendEvent("click_rename_playlist",e)},handleClickDeletePlaylist:e=>{n.f.sendEvent("click_delete_playlist",e)},handleDeletePlaylist:e=>{n.f.sendEvent("delete_playlist",e)},handleClickRemovePlaylistVideo:e=>{n.f.sendEvent("click_remove_playlist_video",e)},handleRemovePlaylistVideo:e=>{n.f.sendEvent("remove_playlist_video",e)}}},56066:(e,t,i)=>{i.d(t,{p:()=>o});var n=i(16891);const o={handleClickAutoScroll:(e,t)=>{t?n.f.sendEvent("autoscroll_on",e):n.f.sendEvent("autoscroll_off",e)},handleHoverAutoScroll:(e,t)=>{t?n.f.sendEvent("autoscroll_on_show",e):n.f.sendEvent("autoscroll_off_show",e)}}},61740:(e,t,i)=>{i.d(t,{Z:()=>a});var n,o=i(16891);!function(e){e.Photo="photo",e.Video="video"}(n||(n={}));const a={handleContextMenu:e=>{o.f.sendEvent("right_click",e)},handleDownload:e=>{o.f.sendEvent("click_download",e)},handleCopyVideoUrl:e=>{o.f.sendEvent("click_copy_video_url",e)},handlePictureInPicture:e=>{o.f.sendEvent("click_picture_in_picture",e)}}},46994:(e,t,i)=>{i.d(t,{a:()=>o});var n=i(16891);const o={handleVideoCoverShowReport:e=>{n.f.sendEvent("video_cover_show",Object.assign({enter_method:"video_detail",type:"video_detail"},e))},handleVideoCoverClickReport:e=>{n.f.sendEvent("video_cover_click",Object.assign({enter_method:"video_detail",type:"video_detail"},e))},handleBackFypReport:e=>{n.f.sendEvent("back_fyp_click",Object.assign({enter_method:"back_fyp_click"},e))},handleEnterBrowserModeReport:e=>{n.f.sendEvent("browse_mode_entry_click",Object.assign({enter_method:"video_detail_expand_click"},e))},handleKebabMenuHoverReport:e=>{n.f.sendEvent("kebab_menu_hover",e)},handleRelatedVideoImprCntReport:e=>{n.f.sendEvent("related_video_impr_cnt",e)},handleExitPipReport:e=>{n.f.sendEvent("exit_pip_mode",e)},handleEnterPipReport:e=>{n.f.sendEvent("enter_pip_mode",e)},handleReplay:e=>{n.f.sendEvent("video_replay",e)},handleCreatorCardShow:e=>{n.f.sendEvent("creator_card_show",Object.assign({page_name:"video_detail"},e))},handleClickLeftArrow:e=>{n.f.sendEvent("slide_left",Object.assign({page_name:"video_detail"},e))},handleClickRightArrow:e=>{n.f.sendEvent("slide_right",Object.assign({page_name:"video_detail"},e))},handleCountdownStart:e=>{n.f.sendEvent("countdown_start",Object.assign({page_name:"video_detail"},e))},handleCountdownExit:e=>{n.f.sendEvent("countdown_exit",Object.assign({page_name:"video_detail"},e))},handlePlayNowClick:e=>{n.f.sendEvent("play_now_click",Object.assign({page_name:"video_detail"},e))}}},86507:(e,t,i)=>{i.d(t,{Q:()=>o});var n=i(16891);const o=e=>{n.f.event("video_mse_error",e)}},95873:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(16891);const o={handleVideoExposeReport:e=>{n.f.sendEvent("video_expose",e)}}},49677:(e,t,i)=>{i.d(t,{_:()=>a});var n,o=i(16891);!function(e){e.General="general",e.Photosensitive="photosensitive",e.LoggedOut="logged_out",e.AgeRestriction="age_restriction"}(n||(n={}));const a={handleRemovePhotosensitiveStatus:e=>{o.f.sendEvent("tns_remove_photosensitive_status",{status:e})},handleShowMaskLayer:e=>{o.f.sendEvent("tns_show_mask_layer",e)},handleShowPhotosensitiveRemoved:e=>{o.f.sendEvent("tns_show_photosensitive_removed",e)},handleMaskLayerClickSkip:e=>{o.f.sendEvent("tns_mask_layer_click_skip",e)},handleMaskLayerClickWatch:e=>{o.f.sendEvent("tns_mask_layer_click_watch",e)},handleCCMaskShow:e=>{o.f.sendEvent("cc_mask_show",e)},handleClickLogInCCMask:e=>{o.f.sendEvent("click_log_in_cc_mask",e)}}},45956:(e,t,i)=>{i.d(t,{P:()=>o});var n=i(16891);const o={handleClickPartnershipTag:e=>{n.f.sendEvent("click_partnership_tag",e)}}},7941:(e,t,i)=>{i.d(t,{s:()=>l});var n,o=i(16891),a=i(4474),s=i(91257);!function(e){e.ManualClick="manual_click",e.Auto="auto",e.Keyboard="keyboard"}(n||(n={}));const r=(e,t)=>{const{itemId:i,authorId:n,autoplayStatus:r=0,searchId:l="",searchKeyword:d,searchResultId:c,questionId:h,isMute:p=!1,fromTab:g,collectionId:u,collectionName:m,isPaidPartnership:v=!1,poiId:f,duration:_,awemeType:k,picCnt:x,tab_name:b,playMode:A,enterMethod:w,always_translate_post_mode:y,see_original_show:C,see_translation_show:j,caption_language:S,caption_mode:E,caption_options:I}=t,P=Object.assign({group_id:i,author_id:n,autoplay_status:r,search_id:l,search_keyword:d,search_result_id:c,question_id:h,from_tab:g,collection_id:u,collection_name:m,poi_id:f,duration:_,aweme_type:null!=k?k:0,pic_cnt:x,tab_name:b,play_mode:s.Jr[A],enter_method:w,always_translate_post_mode:y,caption_language:S,caption_mode:E,caption_options:I,see_original_show:C,see_translation_show:j},(()=>{var e;const{href:t,search:i}=window.location;return{is_from_webapp:null!==(e=(0,a.parse)(i).is_from_webapp)&&void 0!==e?e:"0",page_url:t}})());P.is_mute=p?"1":"0",P.is_partnership=v?"1":"0",o.f.sendEvent(e,P)},l={handlePhotoSlide:e=>{o.f.sendEvent("multi_photo_slide",e)},handleVideoPlay:e=>{r("video_play",e)},handleVideoStop:e=>{r("play_time",e)},handleVideoFinish:e=>{r("video_play_finish",e)}}},4103:(e,t,i)=>{i.d(t,{Y:()=>a});var n=i(16891);const o={"360P":1,"480P":2,"540P":3,"720P":4,"1080P":5},a={resolutionButtonShow:e=>{n.f.sendEvent("resolution_button_show",e)},resolutionButtonClick:(e,t,i)=>{n.f.sendEvent("resolution_button_click",Object.assign({resolution_displayed:t,is_auto_resolution:i},e))},resolutionChange:(e,t,i)=>{var a,s;if(!t||!i)return void n.f.sendEvent("resolution_change",Object.assign({resolution_before:t,resolution_after:i},e));const[r,l]=[null!==(a=o[t])&&void 0!==a?a:0,null!==(s=o[i])&&void 0!==s?s:0];n.f.sendEvent("resolution_change",Object.assign(Object.assign(Object.assign({resolution_before:t,resolution_after:i},rl&&{resolution_down:"1"}),e))}}},95357:(e,t,i)=>{i.d(t,{$:()=>a});var n=i(58632),o=i(16891);const a={handleSeekBarAutoShow:e=>{o.f.sendEvent("show_progress_bar",Object.assign(Object.assign({},e),{show_method:"preview"}))},handleSeekBarClick:e=>{var{fromPercent:t,toPercent:i,video_length:a}=e,s=(0,n.__rest)(e,["fromPercent","toPercent","video_length"]);const r=i>t?"front":"back",l=a*t,d=a*i;o.f.sendEvent("click_progress_bar",Object.assign({action_type:r,seek_from:l,seek_to:d,video_length:a},s))}}},48578:(e,t,i)=>{i.d(t,{p:()=>a});var n=i(16891);const o={0:"one-column",1:"three-column",2:"browser-mode",3:"swiper_mode",4:"video-detail",6:"pip",5:"fullscreen",7:"creator_tab",8:"mini_player",9:"immersive_player",10:"tiktok_stories"},a={handleSwitchSound:e=>{const{muted:t,playMode:i,enter_method:a="click",volume_from:s,volume_to:r,aweme_type:l,pic_cnt:d}=e;void 0!==s&&void 0!==r?n.f.sendEvent("switch_sound",{sound_mode:r>s?"adjust_up":"adjust_down",play_mode:o[i],enter_method:a,volume_from:s,volume_to:r,aweme_type:null!=l?l:0,pic_cnt:d}):n.f.sendEvent("switch_sound",{sound_mode:t?"off":"on",play_mode:o[i],enter_method:a,aweme_type:null!=l?l:0,pic_cnt:d})},handleVideoUnmuteButtonShow:()=>{n.f.sendEvent("unmute_show")},handleVideoUnmuteButtonClicked:()=>{n.f.sendEvent("unmute_click")},handleVolumeChange:e=>{const{volume_from:t=0,volume_to:i=0,click_mute:o=!1}=e;n.f.sendEvent("volume_change",{volume_change:o?0:Number((i-t).toFixed(4)),volume_level:i,click_mute:o})}}},5820:(e,t,i)=>{i.d(t,{k:()=>s});var n,o,a=i(16891);!function(e){e.Show="browser_push_notifications_show",e.Granted="browser_push_notifications_allow",e.Denied="browser_push_notifications_block",e.Default="browser_push_notifications_close"}(n||(n={})),function(e){e.Show="guide_permission_popup_show",e.Yes="guide_permission_popup_turn_on",e.No="guide_permission_popup_cancel"}(o||(o={}));const s={handlePushShowReport:e=>{a.f.event("browser_push_notifications_show",{show_method:e})},handlePushGrantedReport:e=>{a.f.event("browser_push_notifications_allow",{show_method:e})},handlePushDeniedReport:e=>{a.f.event("browser_push_notifications_block",{show_method:e})},handlePushDefaultReport:e=>{a.f.event("browser_push_notifications_close",{show_method:e})},handleGuideShowReport:()=>{a.f.event("guide_permission_popup_show")},handleGuideYesReport:()=>{a.f.event("guide_permission_popup_turn_on")},handleGuideNoReport:()=>{a.f.event("guide_permission_popup_cancel")}}},77976:(e,t,i)=>{i.d(t,{w:()=>l});var n=i(58632),o=i(24643),a=i(40099),s=i(16891);const r=a.memo;function l(e){return r((function(t){const{etClick:i,etImpression:r}=t,l=(0,n.__rest)(t,["etClick","etImpression"]);let d=(0,a.useRef)(null),c=!1;"ref"in t&&(c=!0,d=t.ref);const h=(0,a.useRef)();if((0,a.useEffect)((()=>{if(!r)return;const{etName:e,etParams:t,etValidate:i=!0,threshold:n,unobserveAfterIntersect:o,skip:a}=r;if(a)return;const l=n=>{var a;n[0].isIntersecting&&(s.f.sendEvent(e,t,!0,i),o&&(null===(a=h.current)||void 0===a||a.unobserve(n[0].target)))};try{const e={rootMargin:"0px",threshold:n};h.current=new IntersectionObserver(l,e),d.current&&h.current&&h.current.observe(d.current)}catch(e){console.error(e)}return()=>{var e;null===(e=h.current)||void 0===e||e.disconnect()}}),[r]),!i)return(0,o.jsx)(e,Object.assign({ref:c||r?d:void 0},t));const p=l,{etName:g,etParams:u,etValidate:m=!0}=i,v=()=>s.f.sendEvent(g,u,!0,m);if(delete p.etClick,"onClick"in l){const e=l.onClick;p.onClick=t=>(0,n.__awaiter)(this,void 0,void 0,(function*(){e(t),yield v()}))}else p.onClick=()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield v()}));return(0,o.jsx)(e,Object.assign({ref:c||r?d:void 0},p))}))}},50289:(e,t,i)=>{i.d(t,{s:()=>l});var n=i(24643),o=i(62186),a=i(80574),s=i(72153);const r=(0,o.default)("span",{target:"e1aglo370"})((({width:e,height:t,style:i={},theme:{direction:n}})=>[(0,s.mp)({direction:n,marginStart:"4px"}),Object.assign(Object.assign({},i),{width:"number"==typeof e?`${e}px`:e,height:"number"==typeof t?`${t}px`:t})]),"label:SpanVerifyBadgeContainer;"),l=e=>(0,n.jsx)(r,Object.assign({},e,{children:(0,n.jsx)(a.V,{size:"number"==typeof e.width?e.width:void 0})}))},92846:(e,t,i)=>{i.d(t,{e:()=>g});var n,o=i(58632),a=i(24643),s=i(40099),r=i(62186);!function(e){e.Empty="rgba(18, 18, 18, 0.03)",e.Default="rgba(136, 136, 136, 0.5)"}(n||(n={}));const l=(0,r.default)("span",{target:"e1e9er4e0"})((({shape:e,empty:t,isShowBackground:i})=>[{display:"inline-block",boxSizing:"border-box",margin:"0",padding:"0",fontFeatureSettings:'"tnum"',position:"relative",overflow:"hidden",color:"#fff",whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",lineHeight:"32px",borderRadius:"square"===e?"0":"50%"},i?{backgroundColor:t?"rgba(18, 18, 18, 0.03)":"rgba(136, 136, 136, 0.5)"}:null]),"label:SpanAvatarContainer;"),d=(0,r.default)("img",{target:"e1e9er4e1"})({width:"100%",height:"100%",objectFit:"cover"},"label:ImgAvatar;"),c=(0,r.default)("svg",{target:"e1e9er4e2"})({width:"100%",height:"100%"},"label:SvgContainer;"),h={EMPTY:(0,a.jsx)(c,Object.assign({width:"300",height:"300",viewBox:"0 0 300 300",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},{children:(0,a.jsx)("rect",{cx:"150",cy:"150",fill:"#888",fillOpacity:".5"})})),NON_EMPTY:(0,a.jsxs)(c,Object.assign({width:"300",height:"300",viewBox:"0 0 300 300",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},{children:[(0,a.jsx)("rect",{cx:"150",cy:"150",fill:"#888",fillOpacity:".5"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.74 269.054C74.383 234.242 109.361 210 150 210s75.617 24.242 91.26 59.054C215.978 288.463 184.336 300 150 300c-34.336 0-65.978-11.537-91.26-30.946z",fill:"#fff",fillOpacity:".75"}),(0,a.jsx)("circle",{cx:"150",cy:"138",r:"55",fill:"#fff",fillOpacity:".75"})]}))},p=()=>!0,g=(0,s.memo)((function(e){const{src:t,empty:i=!1,backgroundImage:n,size:r=32,shape:c="circle",style:g={},onError:u=p,alt:m="",imageLoading:v="lazy",e2eTag:f=""}=e,_=(0,o.__rest)(e,["src","empty","backgroundImage","size","shape","style","onError","alt","imageLoading","e2eTag"]),[k,x]=(0,s.useState)(!1),b=(0,s.useCallback)((e=>{var t;u&&x(null===(t=u(e))||void 0===t||t)}),[u]),A=t&&!k,w=i?"EMPTY":"NON_EMPTY";return(0,a.jsx)(l,Object.assign({shape:c,isShowBackground:Boolean(A),empty:i,style:Object.assign(Object.assign({},g),{width:r,height:r}),"data-e2e":f},_,{children:A?(0,a.jsx)(d,{loading:v,onError:b,onLoad:e.onLoad,alt:m,src:t}):h[w]}))}))},78016:(e,t,i)=>{i.d(t,{K:()=>h});var n=i(58632),o=i(24643),a=i(40099),s=i(45446),r=i(62186);const l=({theme:e,buttonTheme:t})=>{switch(t){case"default":return{borderWidth:"1px",borderStyle:"solid",borderRadius:"2px",color:e.colors.TextPrimary,borderColor:e.colors.LineSecondary2,backgroundColor:e.colors.BGTertiary2,":disabled":{borderColor:"rgb(227, 227, 229)",backgroundColor:e.colors.BGPrimary2,color:e.colors.TextQuaternary}};case"primary":return{borderRadius:"2px",border:"none",color:e.colors.ConstTextInverse,backgroundColor:e.colors.Primary,":disabled":{border:"none",color:e.colors.TextQuaternary,backgroundColor:e.colors.BGInput2}};default:return{":disabled":{}}}},d={large:{minWidth:"248px",minHeight:"44px",fontSize:"15px",lineHeight:"18px",fontWeight:700},medium:{minWidth:"144px",height:"35px",fontSize:"14px",lineHeight:"17px",fontWeight:700},small:{minWidth:"88px",height:"28px",fontSize:"14px",lineHeight:"17px",fontWeight:700},tiny:{minWidth:"74px",minHeight:"24px",fontSize:"13px",lineHeight:"17px",fontWeight:600}},c=(0,r.default)("button",{target:"e5u1qxo0"})((({buttonTheme:e="default",size:t="medium",theme:i,loading:n=!1})=>[l({theme:i,buttonTheme:e}),d[t],{display:"flex",position:"relative",alignItems:"center",justifyContent:"center",padding:"6px 8px",userSelect:"none",cursor:"pointer",boxSizing:"border-box",fontFamily:"TikTokFont, PingFangSC, sans-serif",":focus":{outline:"none"}},Object.assign({},n?{color:"transparent",pointerEvents:"none"}:{})]),"label:Button;"),h=(0,a.memo)((function(e){var{buttonTheme:t,size:i,type:a="button",loading:r=!1,loadingTheme:l="primary",loadingSize:d="medium",children:h}=e,p=(0,n.__rest)(e,["buttonTheme","size","type","loading","loadingTheme","loadingSize","children"]);return(0,o.jsxs)(c,Object.assign({type:a,buttonTheme:t,loading:r,size:i},p,{children:[h,r&&(0,o.jsx)(s.h,{style:{position:"absolute"},theme:l,size:d})]}))}))},40070:(e,t,i)=>{i.d(t,{S:()=>p});var n=i(24643),o=i(40099),a=i(54502),s=i(62186),r=i(72153);const l=(0,s.default)("label",{target:"e8efyri0"})((({theme:e})=>({display:"flex",fontFamily:e.fontFamilies.TikTokFont,fontWeight:e.fontWeights.normal,fontSize:"14px",color:e.colors.TextPrimary,cursor:"pointer"})),"label:LabelCheckbox;"),d=(0,s.default)("div",{target:"e8efyri1"})({color:"#fff",position:"relative"},"label:DivCheckboxSymbol;"),c=(0,s.default)("input",{target:"e8efyri2"})((({selected:e,theme:t,theme:{direction:i}})=>[Object.assign({appearance:"none",border:`1.5px solid ${t.colors.LineSecondary}`,margin:"0 0 -2.5px 0",cursor:"pointer","&:focus":{outline:"none"},"&:focus-visible":{outline:`2px solid ${t.colors.Negative}`}},e?{border:"none",backgroundColor:t.colors.Primary}:{}),(0,r.mp)({direction:i,marginEnd:4})]),"label:InputCheckbox;"),h=(0,s.default)("div",{target:"e8efyri3"})((({theme:{direction:e}})=>[{pointerEvents:"none",position:"absolute",top:"3px"},(0,r.mp)({direction:e,start:3})]),"label:DivCheckboxIcon;"),p=(0,o.memo)((function({id:e,value:t,label:i,size:s=16,isCircle:r=!0,disabled:p,style:g,e2eTag:u,onChange:m}){const v=s,f=s-6,_=(0,o.useCallback)((e=>{null==m||m(e.target.checked)}),[m]);return(0,n.jsxs)(l,Object.assign({htmlFor:e,style:g,"data-e2e":u},{children:[(0,n.jsxs)(d,Object.assign({className:"checkbox-symbol"+(t?" selected":"")},{children:[(0,n.jsx)(c,{style:{width:v,height:v,borderRadius:r?v/2:0},selected:t,id:e,checked:t,type:"checkbox",disabled:p,onChange:_}),t&&(0,n.jsx)(h,Object.assign({style:{width:f,height:f}},{children:(0,n.jsx)(a.A,{width:f,height:f})}))]})),i]}))}))},44205:(e,t,i)=>{i.d(t,{l:()=>k});var n=i(24643),o=i(40099),a=i(17784),s=i(21380),r=i(73635),l=i(18499),d=i(62186);const c=(0,d.default)("div",{target:"e1dsngob0"})({position:"fixed",left:0,right:0,top:0,bottom:0,overflow:"hidden",userSelect:"none",pointerEvents:"none"},(({zIndex:e})=>({zIndex:e})),"label:DivContainer;"),h=(0,d.default)("div",{target:"e1dsngob1"})({pointerEvents:"auto",position:"absolute",left:0,top:0,bottom:0,right:0,background:"rgba(0, 0, 0, 0.5)",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.06)",transition:"opacity 0.3s"},(({status:e})=>({opacity:e===a.kp||e===a.ze||e===a.ns?0:1})),"label:DivMask;"),p=(0,d.default)("div",{target:"e1dsngob2"})({pointerEvents:"auto",position:"absolute",left:0,bottom:0,width:"100%",background:"#fff",borderRadius:"12px 12px 0 0",maxHeight:"73vh",transition:"transform 0.3s"},(({status:e})=>({transform:e===a.ze||e===a.kp||e===a.ns?"translateY(100%)":"none"})),"label:DivBodyWrapper;"),g=(0,d.default)("div",{target:"e1dsngob3"})({padding:"16px 20px 20px"},"label:DivContentWrapper;"),u=(0,d.default)("div",{target:"e1dsngob4"})({position:"absolute",top:"16px",width:"24px",height:"24px",zIndex:1,display:"flex",justifyContent:"center",alignItems:"center"},(({theme:e})=>({["rtl"===e.direction?"left":"right"]:"16px"})),"label:DivCloseWrapper;"),m=(0,d.default)("div",{target:"e1dsngob5"})({position:"absolute",top:"16px",width:"24px",height:"24px",zIndex:1,display:"flex",justifyContent:"center",alignItems:"center"},(({theme:e})=>({["rtl"===e.direction?"right":"left"]:"16px"})),"label:DivExtraAction;"),v=(0,d.default)("div",{target:"e1dsngob6"})((({theme:e})=>({padding:"16px 20px",borderBottom:`0.5px solid ${e.colors.LinePrimary}`,display:"flex",justifyContent:"center",alignItems:"center"})),"label:DivHeaderWrapper;"),f=(0,d.default)("div",{target:"e1dsngob7"})({display:"flex"},"label:DivTuxCloseIconWrapper;");var _;!function(e){e.Icon="icon",e.Mask="mask"}(_||(_={}));const k=(0,o.memo)((function(e){const{mask:t=!0,maskClosable:i=!0,onClickMask:d,closeable:_=!0,visible:k=!1,style:x,containerStyle:b,maskStyle:A,needTouchEvents:w=!0,zIndex:y=3001,onClose:C,direction:j,header:S,children:E,contentStyle:I,extraAction:P,bodyE2E:T,e2eTag:D,closeStyle:O,shouldUseTux:B=!1,headerStyle:L={},xAxisTouchOptimization:R=!1,supportSSR:M=!1,bodyTimeout:Q=300}=e,[z,V]=(0,o.useState)(M);(0,o.useEffect)((()=>{V(!0)}),[]);const W=(0,o.useRef)(null),N=(0,o.useRef)(null),F=(0,o.useRef)(),H=(0,o.useCallback)((e=>{F.current=e.targetTouches[0].clientY}),[]),U=(0,o.useCallback)((e=>{var t,i;if(!(null===(t=N.current)||void 0===t?void 0:t.contains(e.target)))return e.stopPropagation(),void e.preventDefault();const n=e.targetTouches[0].clientY-(null!==(i=F.current)&&void 0!==i?i:0),o=N.current,a=R?-5:0,s=R?5:0;return o&&Math.abs(o.scrollHeight-o.clientHeight-o.scrollTop)<1&&ns?e.preventDefault():void 0}),[]);(0,o.useEffect)((()=>{if(w)return k&&(document.addEventListener("touchstart",H),document.addEventListener("touchmove",U,{passive:!1})),()=>{document.removeEventListener("touchstart",H),document.removeEventListener("touchmove",U)}}),[k,U,H,w]);const G=(0,o.useCallback)((e=>{i&&(null==C||C(e,"mask")),null==d||d(e)}),[i,C]),q=(0,o.useCallback)((e=>{_&&(null==C||C(e,"icon"))}),[_,C]);if(!z)return null;const J=(0,n.jsx)(a.Ay,Object.assign({timeout:300,in:k,nodeRef:W,mountOnEnter:!0,unmountOnExit:!0,onExited:e.onExitEnd},{children:e=>(0,n.jsxs)(c,Object.assign({style:b,zIndex:y,ref:W,status:e},{children:[t&&(0,n.jsx)(h,{status:e,style:A,onClick:G}),(0,n.jsx)(a.Ay,Object.assign({appear:!0,timeout:Q,in:k,unmountOnExit:!0},{children:e=>(0,n.jsxs)(p,Object.assign({"data-e2e":T,status:e,style:x},{children:[Boolean(S)&&(0,n.jsx)(v,Object.assign({style:L},{children:S})),_&&(0,n.jsx)(u,Object.assign({direction:j,onClick:q,style:O},{children:B?(0,n.jsx)(f,Object.assign({e2eTag:D},{children:(0,n.jsx)(s.h,{size:24})})):(0,n.jsx)(r.A,{e2eTag:D,style:{width:"100%",height:"100%"}})})),P&&(0,n.jsx)(m,Object.assign({direction:j},{children:P})),(0,n.jsx)(g,Object.assign({style:Object.assign({overflow:"auto"},I),header:Boolean(S),ref:N},{children:E}))]}))}))]}))}));return M?J:(0,l.createPortal)(J,document.body)}))},65329:(e,t,i)=>{i.d(t,{A:()=>n});const n=[{emoji:"😀",alias:"grinning"},{emoji:"😃",alias:"smiley"},{emoji:"😄",alias:"smile"},{emoji:"😁",alias:"grin"},{emoji:"😆",alias:"laughing"},{emoji:"😅",alias:"sweat_smile"},{emoji:"🤣",alias:"rofl"},{emoji:"😂",alias:"joy"},{emoji:"🙂",alias:"slightly_smiling_face"},{emoji:"🙃",alias:"upside_down_face"},{emoji:"😉",alias:"wink"},{emoji:"😊",alias:"blush"},{emoji:"😇",alias:"innocent"},{emoji:"😍",alias:"heart_eyes"},{emoji:"😘",alias:"kissing_heart"},{emoji:"😗",alias:"kissing"},{emoji:"😚",alias:"kissing_closed_eyes"},{emoji:"😙",alias:"kissing_smiling_eyes"},{emoji:"😋",alias:"yum"},{emoji:"😛",alias:"stuck_out_tongue"},{emoji:"😜",alias:"stuck_out_tongue_winking_eye"},{emoji:"😝",alias:"stuck_out_tongue_closed_eyes"},{emoji:"🤑",alias:"money_mouth_face"},{emoji:"🤗",alias:"hugs"},{emoji:"🤔",alias:"thinking"},{emoji:"🤐",alias:"zipper_mouth_face"},{emoji:"😐",alias:"neutral_face"},{emoji:"😑",alias:"expressionless"},{emoji:"😶",alias:"no_mouth"},{emoji:"😏",alias:"smirk"},{emoji:"😒",alias:"unamused"},{emoji:"🙄",alias:"roll_eyes"},{emoji:"😬",alias:"grimacing"},{emoji:"🤥",alias:"lying_face"},{emoji:"😌",alias:"relieved"},{emoji:"😔",alias:"pensive"},{emoji:"😪",alias:"sleepy"},{emoji:"🤤",alias:"drooling_face"},{emoji:"😴",alias:"sleeping"},{emoji:"😷",alias:"mask"},{emoji:"🤒",alias:"face_with_thermometer"},{emoji:"🤕",alias:"face_with_head_bandage"},{emoji:"🤢",alias:"nauseated_face"},{emoji:"🤧",alias:"sneezing_face"},{emoji:"😵",alias:"dizzy_face"},{emoji:"🤠",alias:"cowboy_hat_face"},{emoji:"😎",alias:"sunglasses"},{emoji:"🤓",alias:"nerd_face"},{emoji:"😕",alias:"confused"},{emoji:"😟",alias:"worried"},{emoji:"🙁",alias:"slightly_frowning_face"},{emoji:"😮",alias:"open_mouth"},{emoji:"😯",alias:"hushed"},{emoji:"😲",alias:"astonished"},{emoji:"😳",alias:"flushed"},{emoji:"😦",alias:"frowning"},{emoji:"😧",alias:"anguished"},{emoji:"😨",alias:"fearful"},{emoji:"😰",alias:"cold_sweat"},{emoji:"😥",alias:"disappointed_relieved"},{emoji:"😢",alias:"cry"},{emoji:"😭",alias:"sob"},{emoji:"😱",alias:"scream"},{emoji:"😖",alias:"confounded"},{emoji:"😣",alias:"persevere"},{emoji:"😞",alias:"disappointed"},{emoji:"😓",alias:"sweat"},{emoji:"😩",alias:"weary"},{emoji:"😫",alias:"tired_face"},{emoji:"😤",alias:"triumph"},{emoji:"😡",alias:"rage"},{emoji:"😠",alias:"angry"},{emoji:"😈",alias:"smiling_imp"},{emoji:"👿",alias:"imp"},{emoji:"💀",alias:"skull"},{emoji:"💩",alias:"hankey"},{emoji:"🤡",alias:"clown_face"},{emoji:"👹",alias:"japanese_ogre"},{emoji:"👺",alias:"japanese_goblin"},{emoji:"👻",alias:"ghost"},{emoji:"👽",alias:"alien"},{emoji:"👾",alias:"space_invader"},{emoji:"🤖",alias:"robot"},{emoji:"😺",alias:"smiley_cat"},{emoji:"😸",alias:"smile_cat"},{emoji:"😹",alias:"joy_cat"},{emoji:"😻",alias:"heart_eyes_cat"},{emoji:"😼",alias:"smirk_cat"},{emoji:"😽",alias:"kissing_cat"},{emoji:"🙀",alias:"scream_cat"},{emoji:"😿",alias:"crying_cat_face"},{emoji:"😾",alias:"pouting_cat"}]},4400:(e,t,i)=>{i.d(t,{z:()=>h});var n=i(58632),o=i(24643),a=i(40099),s=i(62186);const r=(0,s.default)("div",{target:"e1dbwo7g0"})({display:"inline-flex",flexDirection:"column",justifyContent:"center",alignItems:"center",boxSizing:"border-box",margin:0,padding:0,position:"relative",overflow:"hidden",color:"#fff",whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",lineHeight:"32px",borderRadius:"50%"},"label:DivProgressBarContainer;"),l=(0,s.default)("div",{target:"e1dbwo7g1"})({position:"absolute",display:"inline-flex",justifyContent:"center",alignItems:"center"},"label:DivInnerContentContainer;"),d=(0,s.default)("svg",{target:"e1dbwo7g2"})({width:"100%",height:"100%",transform:"rotate(-90deg)",transformOrigin:"center"},"label:SvgContainer;"),c=(0,s.default)("circle",{target:"e1dbwo7g3"})({strokeDashoffset:0,transition:"stroke-dashoffset 1s linear"},"label:CircleBackground;"),h=(0,a.memo)((function(e){var{style:t,radius:i=36,strokeWidth:a=6,needInnerContent:s=!0,innerContent:h=null,baseColor:p="rgba(22, 24, 35, 0.12)",progressColor:g="#FE2C55",gradient:u=!1,startColor:m="red",endColor:v="yellow",progress:f=25,lineCap:_="square"}=e,k=(0,n.__rest)(e,["style","radius","strokeWidth","needInnerContent","innerContent","baseColor","progressColor","gradient","startColor","endColor","progress","lineCap"]);const x=Math.PI*i*2,b=(100-(isNaN(f)||f>100?100:f<0?0:f))/100*x,A=u?"url(#gradient)":g;return(0,o.jsxs)(r,Object.assign({"data-pct":f,style:Object.assign({width:2*(i+a)+"px",height:2*(i+a)+"px"},t)},k,{children:[s&&(0,o.jsx)(l,{children:h||`${f}%`}),(0,o.jsxs)(d,Object.assign({xmlns:"http://www.w3.org/200/svg",width:2*i+2*a,height:2*i+2*a,"view-port":`0 0 ${2*i+2*a} ${2*i+2*a}`,version:"1.1"},{children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",Object.assign({id:"gradient",x1:"0%",y1:"100%",x2:"0%",y2:"0%"},{children:[(0,o.jsx)("stop",{offset:"0%",style:{stopColor:m}}),(0,o.jsx)("stop",{offset:"100%",style:{stopColor:v}})]}))}),(0,o.jsx)(c,{strokeWidth:a,stroke:p,r:i,cx:i+a,cy:i+a,fill:"transparent",strokeDasharray:`${x} ${x}`,strokeDashoffset:"0"}),(0,o.jsx)("circle",{strokeWidth:a,id:"bar",r:i,cx:i+a,cy:i+a,fill:"transparent",strokeDasharray:`${x} ${x}`,strokeDashoffset:"0",strokeLinecap:_,stroke:A,style:{strokeDashoffset:`${b}px`}})]}))]}))}))},87905:(e,t,i)=>{i.d(t,{d:()=>c});var n=i(58632),o=i(24643),a=i(40099),s=i(62186);const r=(0,s.default)("div",{target:"eoeunh00"})((({checked:e,backgroundColor:t,width:i,height:n,theme:{colors:o}})=>({position:"relative",width:null!=i?i:"44px",height:null!=n?n:"24px",left:"0",top:"0",background:null!=t?t:e?"#0be09b":o.LineSecondary,borderRadius:"100px",transition:"all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1)",":hover":{background:null!=t?t:e?"linear-gradient(0deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .08)), #0be09b":"rgba(22, 24, 35, 0.16)"}})),"label:DivSwitchWrapper;"),l=(0,s.default)("span",{target:"eoeunh01"})((({checked:e,height:t,width:i,backgroundColor:n,left:o})=>({position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",width:null!=i?i:"20px",height:null!=t?t:"20px",left:o,top:"50%",transform:e?"translate(-100%, -50%);":"translateY(-50%)",borderRadius:"100px",background:null!=n?n:"#fff",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.15)",transition:"all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1)"})),"label:SpanSwitchIcon;"),d=(0,s.default)("button",{target:"eoeunh02"})((({theme:{colors:e,typography:t,fontFamilies:i}})=>[t.P2,{border:"none",background:"none",outline:"none",padding:0,position:"relative",overflow:"visible",display:"inline-flex",alignItems:"center",color:e.TextPrimary,fontFamily:i.TikTokFont,cursor:"pointer",":disabled":{cursor:"not-allowed",opacity:.34}}]),"label:ButtonSwitchContainer;"),c=function(e){var{className:t,style:i={},size:s="medium",width:c=44,height:h=24,padding:p=2,indicatorSize:g=20,indicatorColor:u,indicatorCheckedColor:m,indicatorUnCheckedColor:v,indicatorIcon:f,indicatorCheckedIcon:_,indicatorUnCheckedIcon:k,backgroundColor:x,backgroundCheckedColor:b,backgroundUnCheckedColor:A,content:w="",disabled:y=!1,checked:C,defaultChecked:j=!1,e2eData:S,ariaLabel:E,ariaLabelledby:I,ariaDescribedby:P,onChange:T}=e,D=(0,n.__rest)(e,["className","style","size","width","height","padding","indicatorSize","indicatorColor","indicatorCheckedColor","indicatorUnCheckedColor","indicatorIcon","indicatorCheckedIcon","indicatorUnCheckedIcon","backgroundColor","backgroundCheckedColor","backgroundUnCheckedColor","content","disabled","checked","defaultChecked","e2eData","ariaLabel","ariaLabelledby","ariaDescribedby","onChange"]);const[O,B]=(0,a.useState)(null!=C?C:j),L=null!=C?C:O,R=(0,a.useCallback)((e=>{null==e||e.stopPropagation(),null==T||T(!L,e),B(!L)}),[T,L]);return(0,a.useEffect)((()=>{B(null!=C?C:j)}),[j,C]),(0,o.jsx)(d,Object.assign({"data-e2e":S,type:"button",role:"switch",disabled:y,onClick:R,style:i,"aria-checked":L,"aria-label":E,"aria-labelledby":I,"aria-describedby":P,className:t},D,{children:(0,o.jsx)(r,Object.assign({checked:L,backgroundColor:L?null!=b?b:x:null!=A?A:x,width:`${c}px`,height:`${h}px`},{children:(0,o.jsx)(l,Object.assign({checked:L,backgroundColor:L?null!=m?m:u:null!=v?v:u,width:`${g}px`,height:`${g}px`,left:L?`calc(100% - ${p}px)`:`${p}px`},{children:L?null!=_?_:f:null!=k?k:f}))}))}))}},43019:(e,t,i)=>{i.d(t,{m:()=>a});var n=i(24643),o=i(40099);const a=(0,o.memo)((e=>{const{forceRender:t,active:i,children:a,id:s,tabKey:r,style:l}=e,d={role:"tabpanel",id:s&&`${s}-tabpanel-${r}`,"aria-labelledby":`${s}-tab-${r}`,"aria-hidden":!i,tabIndex:i?0:-1},c=(0,o.useMemo)((()=>i?l:Object.assign(Object.assign({},l),{display:"none"})),[l,i]);return(0,n.jsx)("div",Object.assign({},d,{style:c},{children:i||t?a:null}))}))},49869:(e,t,i)=>{i.d(t,{t:()=>v});var n=i(24643),o=i(98885),a=i.n(o),s=i(40099),r=i(62186);const l=(0,r.default)("div",{target:"e15xxsk0"})((({theme:e})=>({display:"flex","&::before":{content:'""',position:"absolute",bottom:0,right:"12px",left:0,borderBottom:`1px solid ${e.colors.LineSecondary}`,transform:"scaleY(0.5)"}})),"label:DivTabsContainer;");const d=(0,r.default)("div",{target:"e1ker74c0"})({display:"flex",overflow:"hidden",whiteSpace:"nowrap",position:"relative"},"label:DivTabsNavContainer;"),c=(0,r.default)("div",{target:"e1ker74c1"})({position:"relative",display:"flex",transition:"transform .3s"},"label:DivTabsNavList;"),h=(0,r.default)("div",{target:"e1ker74c2"})((({theme:e})=>({transition:"width .3s, left .3s, right .3s",height:"2px",background:e.colors.TextPrimary,position:"absolute",pointerEvents:"none",bottom:0})),"label:DivTabInk;"),p=(0,r.default)("div",{target:"e1ker74c3"})((({active:e,tabTheme:t,theme:i})=>Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"pointer",fontWeight:600,textAlign:"center"},"round"===t?{padding:"0 12px",boxSizing:"border-box",marginRight:8,fontSize:"14px",lineHeight:"26px",height:26,color:e?i.colors.Primary:i.colors.TextPrimary,border:e?`1px solid ${i.colors.Primary}`:`1px solid ${i.colors.LineSecondary}`,borderRadius:13}:{padding:"10px 0",fontSize:"16px",lineHeight:"22px",color:e?i.colors.TextPrimary:i.colors.TextTertiary,transition:"all, .3s",width:"120px"})),"label:DivTab;"),g=(0,s.memo)((0,s.forwardRef)(((e,t)=>{const{style:i,id:o,tab:a,tabKey:r,active:l,theme:d,onClick:c,onMouseEnter:h,onMouseLeave:g}=e,u=(0,s.useCallback)((e=>{null==c||c(r,e)}),[r,c]),m=(0,s.useCallback)((e=>{null==h||h(r,e)}),[r,h]),v=(0,s.useCallback)((e=>{null==g||g(r,e)}),[r,g]);return(0,n.jsx)(p,Object.assign({tabTheme:d,active:l,style:i,"data-e2e":"tab-item",onClick:u,onMouseEnter:m,onMouseLeave:v},{children:(0,n.jsx)("div",Object.assign({ref:t,role:"tab",id:o&&`${o}-tab-${r}`,tabIndex:l?0:-1,"aria-controls":o&&`${o}-panel-${r}`,"aria-selected":l},{children:a}),r)}))}))),u=(0,s.memo)((0,s.forwardRef)((function(e,t){const{id:i,tabPanes:o,activeKey:a,theme:r}=e,{getRef:l,tabNavListRef:p,inkStyle:u,scrollToTab:m}=function(e,t){const i=(0,s.useRef)(null),{getRef:n}=function(){const e=(0,s.useRef)(new Map);return{getRef:(0,s.useCallback)((t=>(e.current.has(t)||e.current.set(t,(0,s.createRef)()),e.current.get(t))),[]),removeRef:(0,s.useCallback)((t=>{e.current.delete(t)}),[])}}(),[o,a]=(0,s.useState)(),[r,l]=(0,s.useState)(new Map),d=(0,s.useCallback)((e=>{const t={},i=r.get(e);i&&(t.left=i.left,t.width=i.width),a(t)}),[r,a]);return(0,s.useEffect)((()=>{const t=new Map;e.forEach((({key:e})=>{const i=n(e).current;if(i){const{offsetWidth:n,offsetHeight:o,offsetLeft:a,offsetTop:s}=i;t.set(e,{width:n,height:o,left:a,top:s})}})),l(t)}),[e,n]),(0,s.useEffect)((()=>{t&&d(t)}),[t,r,d]),{tabNavListRef:i,getRef:n,inkStyle:o,scrollToTab:d}}(o,a),v=(0,s.useCallback)((()=>{a&&m(a)}),[a,m]);return(0,s.useImperativeHandle)(t,(()=>({setFocus:e=>{var t;null===(t=l(e).current)||void 0===t||t.focus()}}))),(0,n.jsxs)(d,{children:[(0,n.jsx)(c,Object.assign({ref:p,role:"tablist",onKeyDown:e.onTabListKeyDown},{children:o.map((({tab:t,key:o,tabStyle:s})=>(0,n.jsx)(g,{ref:l(o),style:s,theme:r,tabKey:o,id:i,tab:t,active:a===o,onClick:e.onTabClick,onMouseEnter:m,onMouseLeave:v},o)))})),"default"===r&&(0,n.jsx)(h,{style:u})]})}))),m=(0,s.memo)((e=>{const{id:t,activeKey:i,tabPanes:o,shouldHidden:a=!1}=e;return(0,n.jsx)("div",{children:a?null:o.map((({node:e,key:n})=>(0,s.cloneElement)(e,{key:n,tabKey:n,id:t,active:n===i})))})})),v=(0,s.memo)((function(e){const{id:t,defaultActiveKey:i,activeKey:o,tabPosition:r,onTabClick:d,onTabChanged:c,children:h,theme:p="default",emptyPanelContent:g,tabs:v}=e,f=a()(i),_=f?o:i,k=Math.max((null!=v?v:[]).indexOf(null!=_?_:""),0),x=(0,s.useRef)(null),[b,A]=(0,s.useState)(_),[w,y]=(0,s.useState)(k);(0,s.useEffect)((()=>{null==c||c(b)}),[b,c]),(0,s.useEffect)((()=>{A(o)}),[f,o]);const[C,j]=(0,s.useState)(t);(0,s.useEffect)((()=>{t||j("tabs-0")}),[t,j]);const S=(0,s.useMemo)((()=>{var e,t;return null!==(t=null===(e=s.Children.map(h,(e=>(0,s.isValidElement)(e)&&!a()(e.key)?Object.assign({key:e.key,node:e},e.props):null)))||void 0===e?void 0:e.filter(Boolean))&&void 0!==t?t:[]}),[h]),E=(0,s.useCallback)(((e,t)=>{null==d||d(e,t),v&&y(v.indexOf(e)),f||A(e)}),[f,d,v]),I=(0,s.useCallback)((e=>{var t;if(v&&["ArrowLeft","ArrowRight","Home","End"].indexOf(e.key)>-1){let i;switch(e.key){case"ArrowLeft":i=w-1<0?v.length-1:w-1;break;case"ArrowRight":i=w+1>=v.length?0:w+1;break;case"Home":i=0;break;case"End":i=v.length-1;break;default:return}y(i),A(v[i]),null==d||d(v[i],e),null===(t=x.current)||void 0===t||t.setFocus(v[i])}}),[w,v]);return(0,n.jsxs)(l,Object.assign({"data-e2e":"search-tab-list"},{children:[(0,n.jsx)(u,{id:C,tabPosition:r,activeKey:b,tabPanes:S,onTabClick:E,onTabListKeyDown:I,theme:p,ref:x}),(0,n.jsx)(m,{id:C,activeKey:b,tabPanes:S,shouldHidden:g})]}))}))},95197:(e,t,i)=>{i.d(t,{m:()=>_});var n=i(58632),o=i(24643),a=i(67518),s=i(40099),r=i(66283),l=i(12980);const d={white:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDM2IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMCA4TDYuNjg2MjkgOEM4LjgwODAyIDggMTAuODQyOSA3LjE1NzE0IDEyLjM0MzEgNS42NTY4NUwxNy4yOTI5IDAuNzA3MTA2QzE3LjY4MzQgMC4zMTY1ODIgMTguMzE2NiAwLjMxNjU4MiAxOC43MDcxIDAuNzA3MTA3TDIzLjY1NjkgNS42NTY4NkMyNS4xNTcxIDcuMTU3MTUgMjcuMTkyIDggMjkuMzEzNyA4TDM2IDhMMCA4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+",black:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDM2IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDhoNi42ODZhOCA4IDAgMCAwIDUuNjU3LTIuMzQzbDQuOTUtNC45NWExIDEgMCAwIDEgMS40MTQgMGw0Ljk1IDQuOTVBOCA4IDAgMCAwIDI5LjMxNCA4SDM2IDB6IiBmaWxsPSIjNTQ1NDU0IiBmaWxsLW9wYWNpdHk9Ii45MiIvPjwvc3ZnPg==",blue:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDM2IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDhoNi42ODZhOCA4IDAgMCAwIDUuNjU3LTIuMzQzbDQuOTUtNC45NWExIDEgMCAwIDEgMS40MTQgMGw0Ljk1IDQuOTVBOCA4IDAgMCAwIDI5LjMxNCA4SDM2IDB6IiBmaWxsPSIjMTBBMkM1Ii8+PC9zdmc+",border:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAQCAYAAAC1MDndAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADOSURBVHgB7deLDYIwGATgvxswQkdgAxnBERyBETpKncARcAPdoCPIBuc11pgYNaBF2sKXXICEAL1QHkq+AKDiQodsmU1YT0nP7Jkzc/TbSqle5sLSGsZifh3TSKp4cZo54P+6pIt5xottmQum58/RSo5wu5scpuP8OSRnHEDFnBCfP2YlpUDcB7iVEkUqyUqp8Pt0K2tavRJKchjPFV/OHca/3fy+WpaEA64x/DupliXiwHcDysnzIzAWFmA+lGNk9bYkI6uHMN0cEvu3ugKLPi0ttJ0IVQAAAABJRU5ErkJggg=="},c={white:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDM2IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMCA4TDYuNjg2MjkgOEM4LjgwODAyIDggMTAuODQyOSA3LjE1NzE0IDEyLjM0MzEgNS42NTY4NUwxNy4yOTI5IDAuNzA3MTA2QzE3LjY4MzQgMC4zMTY1ODIgMTguMzE2NiAwLjMxNjU4MiAxOC43MDcxIDAuNzA3MTA3TDIzLjY1NjkgNS42NTY4NkMyNS4xNTcxIDcuMTU3MTUgMjcuMTkyIDggMjkuMzEzNyA4TDM2IDhMMCA4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+",black:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDM2IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMCA4TDYuNjg2MjkgOEM4LjgwODAyIDggMTAuODQyOSA3LjE1NzE0IDEyLjM0MzEgNS42NTY4NUwxNy4yOTI5IDAuNzA3MTA2QzE3LjY4MzQgMC4zMTY1ODIgMTguMzE2NiAwLjMxNjU4MiAxOC43MDcxIDAuNzA3MTA3TDIzLjY1NjkgNS42NTY4NkMyNS4xNTcxIDcuMTU3MTUgMjcuMTkyIDggMjkuMzEzNyA4TDM2IDhMMCA4WiIgZmlsbD0iIzI1MjUyNSIvPgo8L3N2Zz4K",blue:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDM2IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDhoNi42ODZhOCA4IDAgMCAwIDUuNjU3LTIuMzQzbDQuOTUtNC45NWExIDEgMCAwIDEgMS40MTQgMGw0Ljk1IDQuOTVBOCA4IDAgMCAwIDI5LjMxNCA4SDM2IDB6IiBmaWxsPSIjMTBBMkM1Ii8+PC9zdmc+",border:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAQCAYAAAC1MDndAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADOSURBVHgB7deLDYIwGATgvxswQkdgAxnBERyBETpKncARcAPdoCPIBuc11pgYNaBF2sKXXICEAL1QHkq+AKDiQodsmU1YT0nP7Jkzc/TbSqle5sLSGsZifh3TSKp4cZo54P+6pIt5xottmQum58/RSo5wu5scpuP8OSRnHEDFnBCfP2YlpUDcB7iVEkUqyUqp8Pt0K2tavRJKchjPFV/OHca/3fy+WpaEA64x/DupliXiwHcDysnzIzAWFmA+lGNk9bYkI6uHMN0cEvu3ugKLPi0ttJ0IVQAAAABJRU5ErkJggg=="},h="rotate(180deg)",p="rotate(90deg)",g="rotate(-90deg)",u={bottom:{top:"-8px",left:"50%",marginLeft:"-18px"},bottomLeft:{top:"-8px",left:"25%",marginLeft:"-18px"},bottomRight:{top:"-8px",right:"25%",marginRight:"-18px"},left:{transform:p,right:"-22px",top:"50%",marginTop:"-5px"},leftBottom:{transform:p,right:"-22px",bottom:"25%",marginTop:"5px"},leftTop:{transform:p,right:"-22px",top:"25%"},right:{transform:g,left:"-22px",top:"50%",marginTop:"-5px"},rightBottom:{transform:g,left:"-22px",bottom:"25%",marginTop:"5px"},rightTop:{transform:g,left:"-22px",top:"25%"},top:{transform:h,bottom:"-8px",left:"50%",marginLeft:"-18px"},topLeft:{transform:h,bottom:"-8px",left:"25%",marginLeft:"-18px"},topRight:{transform:h,bottom:"-8px",right:"25%",marginRight:"-18px"}};function m({tooltipTheme:e,themeCtx:{colors:t,isDark:i}}){return"black"===e?{padding:"7.5px 12px",backgroundColor:t.ToastDefault,color:t.ConstTextInverse}:"white"===e?{backgroundColor:i?t.ToastDefault:t.BGPrimary,color:t.TextPrimary,padding:0}:"blue"===e?{backgroundColor:t.ConstSecondary2,color:t.ConstTextInverse,padding:0}:null}const v=({themeCtx:e,themeCtx:{fontFamilies:t},tooltipTheme:i="black",withPadding:n=!0,arrow:o=!0,rtl:a=!1,placement:s="top",arrowStyle:l={}})=>(0,r.AH)({fontFamily:t.TikTokFont,boxSizing:"border-box",margin:"0",padding:"0",color:"rgba(0, 0, 0, 0.65)",fontSize:"14px",listStyle:"none",fontFeatureSettings:'"tnum"',position:"absolute",zIndex:3060,display:"block",maxWidth:"300px",visibility:"visible","&-hidden":{display:"none"}},function({themeCtx:e,tooltipTheme:t,withPadding:i}){const{fontWeights:n,typography:o}=e;return{"&-inner":(0,r.AH)({textAlign:"left",textDecoration:"none",borderRadius:"8px",fontWeight:n.semiBold},o.P2,m({themeCtx:e,tooltipTheme:t}),i&&{padding:"8px"})}}({themeCtx:e,tooltipTheme:i,withPadding:n}),function({arrow:e,tooltipTheme:t,placement:i,themeCtx:n,arrowStyle:o}){return{"&-arrow":(0,r.AH)({display:e?"block":"none",position:"absolute",width:"36px",height:"8px",backgroundImage:n.isDark?`url(${c[t]})`:`url(${d[t]})`},u[i],o)}}({themeCtx:e,tooltipTheme:i,placement:s,arrow:o,arrowStyle:l}),a&&{direction:"rtl","& *":{direction:"rtl"}}),f=e=>{var{className:t,themeCtx:i,tooltipTheme:a,withPadding:s,rtl:d,arrow:c,prefixCls:h,placement:p,arrowStyle:g}=e,u=(0,n.__rest)(e,["className","themeCtx","tooltipTheme","withPadding","rtl","arrow","prefixCls","placement","arrowStyle"]);return(0,o.jsx)(l.A,Object.assign({prefixCls:(0,r.cx)(t,v({themeCtx:i,tooltipTheme:a,withPadding:s,rtl:d,arrow:c,placement:p,arrowStyle:g})),placement:p},u))},_=(0,s.memo)((function(e){var{children:t,fullscreenAdjust:i=!1,placement:r="top",align:l={},overlay:d}=e,c=(0,n.__rest)(e,["children","fullscreenAdjust","placement","align","overlay"]);const h=(0,a.u)(),p=((e,t={})=>(0,s.useMemo)((()=>{let i;switch(e){case"top":case"topLeft":case"topRight":i=[0,-10];break;case"bottom":case"bottomLeft":case"bottomRight":i=[0,10];break;case"leftTop":case"left":case"leftBottom":i=[-10,0];break;default:i=[10,0]}return Object.assign({offset:i},t)}),[t,e]))(r,l),g=Object.keys(c).reduce(((e,t)=>(void 0!==c[t]&&(e[t]=c[t]),e)),{});return i?(0,o.jsx)(f,Object.assign({},g,{getTooltipContainer:"undefined"==typeof document?void 0:()=>{var e,t,i,n;return null!==(n=null!==(i=null!==(t=null!==(e=document.fullscreenElement)&&void 0!==e?e:null===document||void 0===document?void 0:document.webkitCurrentFullScreenElement)&&void 0!==t?t:null===document||void 0===document?void 0:document.mozFullScreenElement)&&void 0!==i?i:null===document||void 0===document?void 0:document.msFullscreenElement)&&void 0!==n?n:document.body},destroyTooltipOnHide:{keepParent:!1},themeCtx:h,placement:r,align:p,overlay:d},{children:t})):(0,o.jsx)(f,Object.assign({},g,{themeCtx:h,placement:r,align:p,overlay:d},{children:t}))}))}}]);