"use strict";(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["9040"],{119522:function(e,t,n){n.d(t,{y:function(){return d}});var o=n(101199),i=n(890710);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,l=[],a=!0,r=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(l.push(o.value),!t||l.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(r)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=e.el,n=void 0===t?"wallet_recharge_container":t,l={showRecharge:function(){},hideRecharge:function(){},updateRecharge:function(){},hideOtherRecharge:function(){}},a=function(){var t=e.container;return"string"==typeof t?document.getElementsByClassName(t)[0]||document.body:"function"==typeof t?t()||document.body:t||document.body},r=function(e){var t=e.getElementsByClassName(n)[0];return t||((t=document.createElement("div")).className=n,e.appendChild(t)),t},d=function(e){u.find(function(t){return t.mountNode&&t.mountNode===e.mountNode})||u.push(e)},s=function(e){var t=u.findIndex(function(t){return t.mountNode&&t.mountNode===e});t>=0&&u.splice(t,1)},v=function(e){var t=r(e||a());s(t),t&&(i.unmountComponentAtNode(t),t.remove())};return l={showRecharge:function(e){var t=e.appId,n=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);it.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n}(e,["appId"]),u=a(),s=r(u),m=u===document.body;l.mountNode=s,d(l),i.render(o.createElement(c,Object.assign({appId:void 0===t?1128:t,isFullScreen:m,onCloseButtonClick:function(){v(u)}},n)),s)},updateRecharge:function(e){var t,n=a(),o=null==n?void 0:n.querySelectorAll("iframe.webcast_recharge_iframe")[0];o&&(null===(t=o.contentWindow)||void 0===t||t.postMessage({command:"update-props",payload:e},"*"))},hideRecharge:v,hideOtherRecharge:function(){u.forEach(function(e){e.hideRecharge!==v&&e.hideRecharge()})}}}},701069:function(e,t,n){n.r(t),n.d(t,{RechargeBtn:function(){return A}});var o=n("629686"),i=n("402748");n("679308"),n("76375"),n("490629");var l=n("320165"),a=n("101199"),r=n("855436"),c=n("469935"),u=n.n(c),d=n("119522"),s=n("624860"),v=n("638052"),m=n("587554"),f=n("601034"),_=n("499059"),g=n("19277"),h=n("409250"),p=n("749113"),w=n("634895"),y=n("426038"),b=n("48795"),x=n("456075"),C=n("176449"),k=n("411534"),R=n("316213");let S=(0,a.memo)(e=>{let{activityName:t,className:n,text:o,icon:i,showBadge:r,badge:c,badgeText:d,badgeIconHeight:s,badgeIconSvg:v,badgeIconViewBox:m,badgeIconWidth:f,onClick:_,transparent:g,onMouseEnter:h,onMouseLeave:p,needRenderInSSR:w=!1}=e,{userUiStyle:y}=(0,a.useContext)(k.R);return(0,l.jsxs)("div",{className:u()(x.default.circleButtonWrapper,n),children:[(0,l.jsxs)("div",{onClick:_,onMouseEnter:h,onMouseLeave:p,className:u()(x.default.circleButton,x.default.circleButtonWithText,{isDark:!!t||g&&!y,[x.default.activity]:!!t||g,[null===x.default||void 0===x.default?void 0:x.default[t]]:t,[x.default.transparent]:g},n),"data-e2e":"something-button",children:[(0,l.jsx)("div",{className:x.default.iconContainer,children:(0,l.jsx)(R.z,{svg:i,needRenderInSSR:w})}),(0,l.jsx)("p",{className:x.default.text,children:o})]}),r&&("text"===c||"round"===c)&&(0,l.jsx)(b.Badge,{countClassName:u()({[x.default.textBadge]:"text"===c,[x.default.roundBadge]:"round"===c,[x.default.circleButtonWithTextRoundBadge]:"round"===c}),countStyle:{color:"#e4e7f5",backgroundColor:"rgb(254, 44, 85)"},dot:"round"===c,count:"text"===c?d||o:void 0}),r&&"image"===c&&(0,l.jsx)("div",{className:u()(x.default.imageBadge,x.default.circleButtonWithTextImageBadge),children:(0,l.jsx)(C.Z,{src:v,width:f,height:s,viewBox:m||`0 0 ${f} ${s}`})})]})});var L=n("851394"),N=n("384414"),E=n("257867"),I=n("611311"),P=n("620865"),j=n("913285"),O=n("771410");let B=(0,r.ZP)(()=>n.e("71091").then(n.bind(n,189297)),{resolveComponent:e=>{let{RechargePanel:t}=e;return t}}),T=(0,a.memo)((0,m.At)().createLazyComponent({loader:async()=>{let e=Date.now(),t=await (0,m.At)().loadRemote("@revenue-wallet-fe/recharge-web"),n=Date.now();return O.Z.report("vmok_remote_load",{cost:n-e,remote_name:"@revenue-wallet-fe/recharge-web",type:"cost",message:"",extra:"header"}),t},export:"default",fallback:e=>{let{error:t,errorType:n,dataFetchMapKey:o}=e;return t instanceof Error&&O.Z.report("vmok_remote_load",{cost:0,remote_name:"@revenue-wallet-fe/recharge-web",type:"error",message:null==t?void 0:t.message,extra:"header"}),null}}),(e,t)=>(null==e?void 0:e.scene)===(null==t?void 0:t.scene)&&(null==e?void 0:e.showOfficialEntrance)===(null==t?void 0:t.showOfficialEntrance)&&(null==e?void 0:e.theme)===(null==t?void 0:t.theme)),A=e=>{var t,n,r;let{isRechargeShow:c,isLogin:b,onRechargeVisibleChange:x,onRechargeSuccess:C,onLoginSuccess:k,transparent:R,activityName:O,onMouseEnter:A,onMouseLeave:D,popoverSpacing:U=10,abTestData:z,isMas:K}=e,W=(0,a.useRef)(!1),H=(0,a.useRef)(!1),{searchParams:M}=(0,s.w)(),{showRecharge:q,hideRecharge:V,hideOtherRecharge:F}=(0,d.y)({container:"rechargeMountEl"}),{type:Z,changeType:Q,clearDisappearTimer:$}=(0,I.P)({delayDisappear:150}),J=(0,m.zU)()&&!K,[X,G]=(0,a.useState)(!1);(0,a.useEffect)(()=>()=>{W.current&&(J?G(!1):V())},[J]),(0,a.useEffect)(()=>{!Z&&(J?G(!1):V())},[Z]),(0,a.useEffect)(()=>{(0,m.zU)()&&(0,m.At)().prefetch({id:"@revenue-wallet-fe/recharge-web",preloadComponentResource:!0})},[]),(0,a.useEffect)(()=>{if(c&&!b){var e;v.logInstance.sendLog("livesdkRechargeNavigationBarShow",{enter_from_merge:(0,f.yW)(),if_live_play:(null==M?void 0:M.tab)==="live"||_.Le.getConfig(_.gI.HasLiveContent)||(null===(e=window)||void 0===e?void 0:e.location.host)==="live.douyin.com"?1:0})}},[c]);let{rechargeConfig:Y}=(0,P.K)(),ee={enter_from_merge:(0,f.yW)(),show_reason:"navigation_bar",live_window_type:null!==(r=null===(t=_.Le.getConfig(_.gI.LiveWindowStatus))||void 0===t?void 0:t.type)&&void 0!==r?r:"no_live_window",if_live_play:(null==M?void 0:M.tab)==="live"||_.Le.getConfig(_.gI.HasLiveContent)||(null===(n=window)||void 0===n?void 0:n.location.host)==="live.douyin.com"?1:0},et=!!document.querySelector("body[topic-page-force-dark]"),en=(0,a.useCallback)(()=>{if(!!b){if(Q("active"),$(),W.current=!0,J){G(!0);return}null==F||F(),q({scene:"pc_topbanner",type:"recharge",balance:0,amount:0,onSuccess:()=>{null==C||C()},onClose:e=>{W.current=!1,H.current=!1,x(!1),v.logInstance.sendLog("livesdkRechargeShowDuration",(0,i._)((0,o._)({},ee),{charge_reason:"recharge",duration:(null==e?void 0:e.duration)||0,if_recharge_success:(null==e?void 0:e.isSuccess)?1:0})),Q("")},selectDefaultCombo:!0,showOfficialEntrance:!0,onCombosItemClick:e=>{let{type:t}=e||{};"manual"===t&&(H.current=!0)},additionalLogParams:ee,theme:et?y.ThemeValues.Dark:(0,g.Dr)(h.Q.getItem({sKey:y.CookieKeys.Theme}))})}},[C,x,b,z]);return(0,l.jsx)(N.J,{position:"bottom",visible:c,onVisibleChange:e=>{x(e)},mouseType:"over",mouseEnterDelay:100,mouseLeaveDelay:300,content:!b&&(0,l.jsx)(B,{isLogin:b,onLoginSuccess:k,abTestData:z}),mouseEnter:A,mouseLeave:D,spacing:U,children:(0,l.jsxs)("div",{className:u()(L.default.menuItem),children:[(0,l.jsx)(E.p,{headerPopupName:"recharge",replaceEvenAlreadyExist:!1,children:(0,l.jsx)(S,{onClick:()=>{en()},activityName:O,text:p.a.t("douyin_coin",{},Y.headerName||"充抖币"),icon:(0,l.jsx)(w.Z,{className:L.default.semiIcon}),iconWidth:24,iconHeight:24,iconViewBox:"0 0 24 24",transparent:R,needRenderInSSR:!0})}),(0,l.jsx)("div",{className:u()(L.default.rechargePanelOuter,{[L.default.hidden]:!b}),children:X?(0,l.jsx)(j.k,{componentName:"RechargePanelRemote",children:(0,l.jsx)(T,{showOfficialEntrance:!0,theme:et?y.ThemeValues.Dark:(0,g.Dr)(h.Q.getItem({sKey:y.CookieKeys.Theme}),{themeColorOptimize:null==z?void 0:z.themeColorOptimize}),scene:"pc_topbanner",onShow:()=>{v.logInstance.sendLog("livesdkRechargeShowByContainer",(0,i._)((0,o._)({},ee),{load_type:"vmok",charge_reason:"recharge"}))},onClose:e=>{W.current=!1,H.current=!1,x(!1),v.logInstance.sendLog("livesdkRechargeShowDuration",(0,i._)((0,o._)({},ee),{charge_reason:"recharge",duration:(null==e?void 0:e.duration)||0,if_recharge_success:(null==e?void 0:e.isSuccess)?1:0})),G(!1),Q("")},additionalLogParams:ee,onRechargeSuccess:()=>{null==C||C(),v.logInstance.sendLog("livesdkRechargeSuccessByContainer",(0,i._)((0,o._)({},ee),{load_type:"vmok",charge_reason:"recharge"}))}})}):(0,l.jsx)("div",{className:u()(L.default.rechagrePanel,"rechargeMountEl")})})]})})}},620865:function(e,t,n){n.d(t,{K:function(){return r}}),n(490629);var o=n(101199),i=n(66948),l=n(528937),a=n(499059);let r=()=>{var e;let[t,n]=(0,o.useState)((null===(e=a.Le.getConfig(a.gI.TccData))||void 0===e?void 0:e[i.TccKey.PcRechargeConfig])||i.TCC_DEFAULT_VALUE_MAP.get(i.TccKey.PcRechargeConfig));return(0,o.useEffect)(()=>{let e=!1;return(async()=>{let t=await l.get({key:i.TccKey.PcRechargeConfig,defaultValue:i.TCC_DEFAULT_VALUE_MAP.get(i.TccKey.PcRechargeConfig)});!e&&n(t)})(),()=>{e=!0}},[]),{rechargeConfig:t}}},988736:function(e,t,n){n.d(t,{L:function(){return i}}),n(679308),n(490629);var o=n(746546);let i=e=>{let{promotionId:t,originType:n,secAuthorId:i,roomId:l,itemId:a}=e;return Promise.all([(0,o.y3)({promotionId:t,originType:n,secAuthorId:i,roomId:l,itemId:a}),(0,o.$P)({promotionId:t,originType:n})])}},746546:function(e,t,n){n.d(t,{$P:function(){return I},FE:function(){return P},G:function(){return j},N7:function(){return O},Q2:function(){return x},Sn:function(){return N},Ws:function(){return S},XK:function(){return y},XQ:function(){return b},YB:function(){return R},du:function(){return k},jZ:function(){return L},w:function(){return C},y3:function(){return E}});var o=n(629686),i=n(402748),l=n(811603);n(679308),n(362051);var a=n(30995),r=n(987826),c=n(911429),u=n(732199),d=n(431940),s=n.n(d);let{COMMON_SEARCH_PARAMS:v}=a;function m(e){var t,n,o;return{text:null!==(t=null==e?void 0:e.text)&&void 0!==t?t:"",iconUrl:null!==(n=null==e?void 0:e.icon_url)&&void 0!==n?n:"",jumpUrl:null!==(o=null==e?void 0:e.jump_url)&&void 0!==o?o:""}}function f(e){var t,n,o,i;return{userAvatar:null!==(t=null==e?void 0:e.user_avatar)&&void 0!==t?t:"",userNickname:null!==(n=null==e?void 0:e.user_nickname)&&void 0!==n?n:"",text:null!==(o=null==e?void 0:e.text)&&void 0!==o?o:"",imageList:null!==(i=null==e?void 0:e.image_list)&&void 0!==i?i:[]}}function _(e){var t,n,o,i,l;return{image:null!==(t=null==e?void 0:e.image)&&void 0!==t?t:"",name:null!==(n=null==e?void 0:e.name)&&void 0!==n?n:"",price:(o=Number(null==e?void 0:e.price)/100,o),sales:null!==(i=null==e?void 0:e.sales)&&void 0!==i?i:0,productUrl:null!==(l=null==e?void 0:e.product_url)&&void 0!==l?l:""}}function g(e){var t,n,o,i,l,a,r,c,u,d,s,v,_,g,h,p,w,y,b,x,C,k,R,S,L,N,E,I,P,j,O,B,T,A,D,U,z,K,W,H,M,q,V,F,Z,Q;let{item_info:$,status_code:J,log_pb:X}=e;return{statusCode:J,logPb:null!==(I=null==X?void 0:X.impr_id)&&void 0!==I?I:"",itemInfo:{productInfo:{name:null!==(P=null==$?void 0:null===(t=$.product_info)||void 0===t?void 0:t.name)&&void 0!==P?P:"",price:(j=Number(null==$?void 0:null===(n=$.product_info)||void 0===n?void 0:n.price)/100,j),promiseTextList:null!==(O=null==$?void 0:null===(o=$.product_info)||void 0===o?void 0:o.promise_text_list)&&void 0!==O?O:[],logisticsTextList:null!==(B=null==$?void 0:null===(i=$.product_info)||void 0===i?void 0:i.logistics_text_list)&&void 0!==B?B:[],imageUrlList:null!==(T=null==$?void 0:null===(l=$.product_info)||void 0===l?void 0:l.image_url_list)&&void 0!==T?T:[],scheme:null!==(A=null==$?void 0:null===(a=$.product_info)||void 0===a?void 0:a.scheme)&&void 0!==A?A:"",schemeQRcodeBase64:null!==(D=null==$?void 0:null===(r=$.product_info)||void 0===r?void 0:r.scheme_qrcode_base64)&&void 0!==D?D:""},shopInfo:{name:null!==(U=null==$?void 0:null===(c=$.shop_info)||void 0===c?void 0:c.name)&&void 0!==U?U:"",image:null!==(z=null==$?void 0:null===(u=$.shop_info)||void 0===u?void 0:u.image)&&void 0!==z?z:"",label:m(null==$?void 0:null===(d=$.shop_info)||void 0===d?void 0:d.label),score:null!==(K=null==$?void 0:null===(s=$.shop_info)||void 0===s?void 0:s.score)&&void 0!==K?K:0,percent:null!==(W=null==$?void 0:null===(v=$.shop_info)||void 0===v?void 0:v.percent)&&void 0!==W?W:0,tagList:null!==(H=null==$?void 0:null===(h=$.shop_info)||void 0===h?void 0:null===(g=h.tag_list)||void 0===g?void 0:null===(_=g.map)||void 0===_?void 0:_.call(g,m))&&void 0!==H?H:[],accountName:null!==(M=null==$?void 0:null===(p=$.shop_info)||void 0===p?void 0:p.account_name)&&void 0!==M?M:""},commentInfo:{totalCount:null!==(q=null==$?void 0:null===(w=$.comment_info)||void 0===w?void 0:w.total_count)&&void 0!==q?q:0,tagList:null!==(V=null==$?void 0:null===(y=$.comment_info)||void 0===y?void 0:y.tag_list)&&void 0!==V?V:[],commentList:null!==(F=null==$?void 0:null===(C=$.comment_info)||void 0===C?void 0:null===(x=C.comment_list)||void 0===x?void 0:null===(b=x.map)||void 0===b?void 0:b.call(x,f))&&void 0!==F?F:[]},extraInfo:{productParams:null!==(Z=null==$?void 0:null===(S=$.extra_info)||void 0===S?void 0:null===(R=S.product_params)||void 0===R?void 0:null===(k=R.map)||void 0===k?void 0:k.call(R,e=>{var t,n;return{name:null!==(t=e.name)&&void 0!==t?t:"",value:null!==(n=e.value)&&void 0!==n?n:""}}))&&void 0!==Z?Z:[],detailImageList:null!==(Q=null==$?void 0:null===(E=$.extra_info)||void 0===E?void 0:null===(N=E.detail_image_list)||void 0===N?void 0:null===(L=N.map)||void 0===L?void 0:L.call(N,e=>null!=e?e:""))&&void 0!==Q?Q:[]}}}}function h(e){var t;let{status_code:n,product_preview_list:o,log_pb:i}=e;return{statusCode:n,logPb:null!==(t=null==i?void 0:i.impr_id)&&void 0!==t?t:"",productPreviewList:null==o?void 0:o.map(e=>_(e))}}function p(e){var t,n;let{status_code:o,video_info_list:i,has_product_data:l,product_card:a,log_pb:r}=e;return{statusCode:o,logPb:null!==(t=null==r?void 0:r.impr_id)&&void 0!==t?t:"",videoInfoList:null!==(n=null==i?void 0:i.map(e=>(0,u.s0)(e)))&&void 0!==n?n:[],hasProductData:null!=l&&l,productCard:l?_(a):void 0}}function w(e){let{promotions:t=[],top_promotion:n,target_promotions:o=[],status_code:i,next_offset:l=-1,log_id:a,page_header:r,page_hint:c}=e||{};return{statusCode:i,promotions:t,topPromotion:n,targetPromotions:o,nextOffset:l,logId:a,pageHeader:r,pageHint:c}}async function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=await (0,c.U2)("/aweme/v1/web/seo/ecom/detail/product_meta",(0,i._)((0,o._)({},v),{product_id:e}),{},void 0,t,{});return(0,u.RL)(n,g)}async function b(e){let{productId:t="0",itemId:n,needProductCard:l=!1}=e,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=await (0,c.U2)("/aweme/v1/web/seo/ecom/detail/related_video",(0,i._)((0,o._)({},v),{product_id:t,item_id:n,need_product_card:l}),{},void 0,a,{});return(0,u.RL)(r,p)}async function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=await (0,c.U2)("/aweme/v1/web/seo/ecom/detail/recommend_product",(0,i._)((0,o._)({},v),{product_id:e}),{},void 0,t,{});return(0,u.RL)(n,h)}async function C(e){let{roomId:t,authorId:n,offset:l,limit:a=20}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,d=await (0,c.v_)("/live/promotions/page/",(0,i._)((0,o._)({},v),{room_id:t,author_id:n,offset:l,limit:a}),{},void 0,r);return(0,u.RL)(d,w)}async function k(e){let{roomId:t,authorId:n}=e,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return await (0,c.v_)("/live/promotions/page/top/",(0,i._)((0,o._)({},v),{room_id:t,author_id:n}),{},void 0,l)}async function R(e,t){let{roomId:n,authorId:a,productId:r}=e;return(0,l._)(e,["roomId","authorId","productId"]),await (0,c.U2)(t,(0,o._)((0,i._)((0,o._)({},v),{room_id:n,author_id:a,product_infos:JSON.stringify([{product_id:r}])}),e),{},void 0,null)}async function S(e){return(0,c.U2)("/aweme/v1/commerce/order/getUserAuth/",(0,i._)((0,o._)({},v),{user_id:e,app_id:r.APP_ID}))}async function L(e){return(0,c.U2)("/aweme/v1/commerce/order/saveUserAuth/",(0,i._)((0,o._)({},v),{user_id:e,app_id:r.APP_ID,auth_flag:1}))}async function N(e){let{roomId:t,authorId:n,liveSceneId:l=0,entranceInfo:a}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return await (0,c.U2)("/live/promotions/pop/v3/",(0,i._)((0,o._)({},v),{room_id:t,author_id:n,live_scene_id:l,entrance_info:a}),{},void 0,r)}async function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{promotionId:n,originType:i,roomId:l,secAuthorId:a,itemId:r}=e||{};return await (0,c.v_)("/ecom/product/detail/saas/pc/",(0,o._)({is_h5:1,origin_type:i},v),{is_h5:1,use_new_price:1,bff_type:2,room_id:l,live_room_id:l,item_id:r,sec_author_id:a,origin_type:i,promotion_ids:String(n),ec_promotion_id:n},void 0,t)}async function I(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{promotionId:n,originType:o}=e||{};return await (0,c.v_)("/aweme/v2/shop/promotion/pack/detail/",{is_h5:1,origin_type:o},{is_h5:1,bff_type:2,origin_type:o,promotion_id:n},void 0,t)}async function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{productId:n,shopId:l,cursor:a,count:r,statId:u,tagId:d,sortType:m}=e||{};return await (0,c.U2)("/aweme/v1/web/ecom/product/comments/",(0,i._)((0,o._)({},v),{product_id:n,shop_id:l,cursor:a,count:r,stat_id:u,tag_id:d,sort_type:m}),{transformResponse:e=>s().parse(e)},void 0,t)}async function j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{productId:n,shopId:l,statId:a}=e||{};return await (0,c.U2)("/aweme/v1/web/ecom/product/comment/counter/",(0,i._)((0,o._)({},v),{product_id:n,shop_id:l,stat_id:a}),{},void 0,t)}async function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{commentId:n,action:o}=e;return await (0,c.v_)("/aweme/v1/web/ecom/comment/action/",v,{comment_id:n,action:o},void 0,t)}}}]);