1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97409],{686866:function(e,a,l){Promise.resolve().then(l.bind(l,179857)),Promise.resolve().then(l.bind(l,289453)),Promise.resolve().then(l.bind(l,604045)),Promise.resolve().then(l.bind(l,239590)),Promise.resolve().then(l.bind(l,128861))},973791:function(e,a,l){"use strict";l.d(a,{Z:function(){return A}});var t=l(298948),o=l(205192),n=l(909573),r=l(661002),s=l(575222),i=l(522674),c=l(178177),d=l(196205),u=l(563700),p=l(154902),m=l(145990),h=l(81942),_=l(709098),x=l(819040),v=l(640902),g=l(633670),f=l(416867),y=l(313325),C=l(761127),j=l(691867),b=l(123645),w=l(137338),k=l(80696),N=l(897670),D=l.n(N);let Z=(e,a)=>e?Math.min(Math.max(e,1),Math.max(a,1)):1,E=e=>null==e||!Number.isFinite(Number(e)),T=(e,a,l)=>Math.min(e+Math.max(a,1)-1,Math.max(l,1));var S=e=>{let{open:a,option:l,limit:n,confirmLoading:r,onCancel:s,onConfirm:c}=e,d=(0,i.useTranslations)(),u=(null==n?void 0:n.total_pages)||0,p=(null==n?void 0:n.total_rows)||0,m=(null==n?void 0:n.page_size)||10,h=(null==n?void 0:n.default_custom_pages)||1,_=(null==n?void 0:n.max_pages_per_export)||h,v=Math.max(u,1),f="".concat(Math.max(12*String(v).length+28,48),"px"),[N,S]=(0,o.useState)(1),[M,P]=(0,o.useState)(1);(0,o.useEffect)(()=>{if(!a||!l)return;let e=u>0?Math.min(h,u):1;S(1),P(e)},[h,a,l,u]);let I=(0,o.useMemo)(()=>N&&M&&!(M<N)?M-N+1:0,[M,N]),L=(0,o.useMemo)(()=>{if(I<=0||p<=0||!N)return 0;let e=(N-1)*m;return Math.min(I*m,Math.max(p-e,0))},[I,m,N,p]),R=(0,o.useMemo)(()=>({rangeType:"custom",startPage:N||1,endPage:M||1,pageCount:I,rowCount:L}),[I,L,M,N]),V=(null==n?void 0:n.remain_times)||0,A=!N||!M||M<N,H=R.pageCount<=0||R.rowCount<=0||A,O=V<=0||H,U=T(N||1,_,u),z=(0,o.useMemo)(()=>V<=0?d("Export.dataExportV2.timesExceeded"):"",[V,d]),K=(null==l?void 0:l.checkType)===x.G3.ExpertContactInformation?d("Export.dataExportV2.dailyUsageTitle"):d("Export.dataExportV2.usageTitle"),B=d.rich("Export.dataExportV2.usageTextRich",{used:()=>(0,t.jsx)("span",{children:(null==n?void 0:n.used_times)||0}),total:()=>(0,t.jsx)("span",{children:(null==n?void 0:n.total_times)||0}),remain:()=>(0,t.jsx)("span",{children:V})}),F=d("Export.dataExportV2.customRange"),G=d("Export.dataExportV2.consumeOnce");return(0,t.jsxs)(y.Z,{centered:!0,className:(0,g.cn)(D().dataExportDropdownModal,D().dataExportDropdownModalCompact),footer:null,width:500,title:null==l?void 0:l.label,open:a,onCancel:s,destroyOnClose:!0,children:[(0,t.jsxs)("div",{className:D().dataExportDropdownLimit,children:[(0,t.jsx)(k.Z,{className:D().dataExportDropdownLimitIcon}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:D().dataExportDropdownLimitTitle,children:K}),(0,t.jsx)(C.Z,{title:B,children:(0,t.jsx)("div",{className:D().dataExportDropdownLimitDesc,children:B})})]})]}),(0,t.jsxs)("div",{className:(0,g.cn)(D().dataExportDropdownRangeCard,D().dataExportDropdownRangeCardCustom,D().dataExportDropdownRangeCardActive),children:[(0,t.jsxs)("div",{className:D().dataExportDropdownRangeCardHead,children:[(0,t.jsx)(j.ZP,{checked:!0}),(0,t.jsx)(C.Z,{title:F,children:(0,t.jsx)("span",{className:D().dataExportDropdownRangeCardTitle,children:F})}),(0,t.jsx)(C.Z,{title:G,children:(0,t.jsx)("span",{className:D().dataExportDropdownRangeCardTag,children:G})})]}),(0,t.jsxs)("div",{className:D().dataExportDropdownRangeCardPages,onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("span",{children:d("Export.dataExportV2.pagePrefix")}),(0,t.jsx)(b.Z,{controls:!1,min:1,max:v,style:{width:f},value:N,onChange:e=>{if(E(e)){S(null);return}let a=Z(Number(e),v);S(a),P(T(a,_,u))}}),(0,t.jsx)("span",{children:d("Export.dataExportV2.pageMiddle")}),(0,t.jsx)(b.Z,{controls:!1,min:N||1,max:U,style:{width:f},value:M,onChange:e=>{if(E(e)){P(null);return}P(Math.min(Math.max(Number(e),N||1),U))}}),(0,t.jsx)("span",{children:d("Export.dataExportV2.pageUnit")})]})]}),O&&z?(0,t.jsx)("div",{className:D().dataExportDropdownDisabledTip,children:z}):null,(0,t.jsxs)("div",{className:D().dataExportDropdownActions,children:[(0,t.jsx)(w.ZP,{onClick:s,children:d("common.cancel.cancel")}),(0,t.jsx)(w.ZP,{type:"primary",loading:r,disabled:O,onClick:()=>{O||c(R)},children:d("common.vip.export")})]})]})};let M=[x.G3.GeneralDataExport],P=e=>{let a=e,l=RegExp(/#/);return(null==a?void 0:a.match(l))&&(a=null==e?void 0:e.replace(/#/g,"")),null==(a=a.replaceAll("%2C",","))?void 0:a.replace("undefined","")},I={[x.aZ.Common]:0,[x.aZ.Standard]:50,[x.aZ.Pro]:300,[x.aZ.Team]:3e3},L=e=>Number.isFinite(e)&&e>0?e:10,R=e=>e&&I[e]||0,V=async e=>{var a,l;let t=L(e.page_size),o=await (0,h.s8)({check_type:e.check_type}),n=Math.max(e.total_rows,0),r=n>0?Math.ceil(n/t):0,s=(null===(a=o.data)||void 0===a?void 0:a.total_times)||0,i=(null===(l=o.data)||void 0===l?void 0:l.remain_times)||0,c=Math.max(e.max_rows_per_export||0,0),d=c>0?Math.ceil(c/t):0;return{code:o.code||x.WY.SUCCESS,msg:o.msg,data:{period_label:"month",used_times:Math.max(s-i,0),total_times:s,remain_times:i,total_pages:r,total_rows:n,page_size:t,max_pages_per_export:d,max_rows_per_export:c,max_selectable_page:r,allow_all_range:!1,default_custom_pages:r>0&&d>0?Math.min(d,r):1}}};var A=e=>{let{contactInfoType:a,defaultRangeType:l="custom",downloadType:h,exportItems:y,exportTypeOptions:C=M,pageSize:j=10,params:b,total:w=0}=e,k=(0,i.useTranslations)(),{exportHeaderRegion:N}=(0,u.Z)(),{isZH:Z,locale:E}=(0,p.Z)(),{makeContent:T}=(0,d.G)({t:k}),[I]=(0,v.useAuthStore)(e=>e.userInfo),[A,H]=(0,o.useState)(!1),[O,U]=(0,o.useState)(!1),[z,K]=(0,o.useState)(null),B=(0,o.useMemo)(()=>{let e=b.replace("undefined",""),a=Z?x.yp.Global:N();return e?"".concat(e,"&header_region=").concat(a):"header_region=".concat(a)}
1,[N,Z,b]),F=(0,o.useMemo)(()=>L(j),[j]),G=(0,o.useMemo)(()=>(y||C.map(e=>({checkType:e}))).map(e=>{let t=e.checkType===x.G3.ExpertContactInformation;return{key:"".concat(e.checkType,"-").concat(e.downloadType||t&&a||h),checkType:e.checkType,downloadType:e.downloadType||t&&a||h,label:e.label||(t?k("Export.dataExportV2.contactInfo"):k("Export.dataExportV2.basicInfo")),defaultRangeType:e.defaultRangeType||l}}),[a,l,h,y,C,k]),{data:W,loading:q,run:Y}=(0,r.Z)(V,{manual:!0,onSuccess:e=>{if(e.code===x.WY.SUCCESS){U(!0);return}T(e.code)}}),{loading:X,runAsync:Q}=(0,r.Z)(m.TQ,{manual:!0}),{loading:J,runAsync:$}=(0,r.Z)(m.TQ,{manual:!0}),ee=(0,o.useCallback)(e=>{if(e===x.wd.MAG_AUTH_3009||e===x.wd.MAG_AUTH_3012){T(e);return}T(x.wd.MAG_AUTH_3009)},[T]),ea=(0,o.useCallback)(async e=>{if(!(w<=0)){H(!1);try{let a=await Q({check_type:e.checkType});if((null==a?void 0:a.code)!==x.WY.SUCCESS){ee(null==a?void 0:a.code);return}}catch(e){ee();return}K(e),Y({check_type:e.checkType,download_type:e.downloadType,total_rows:w,page_size:F,max_rows_per_export:R(null==I?void 0:I.level)})}},[Y,F,Q,ee,w,null==I?void 0:I.level]),el=(0,o.useCallback)(()=>{U(!1)},[]),et=(0,o.useCallback)(async e=>{if(!z)return;let a=window.open("about:blank","_blank");try{let l="all"===e.rangeType?1:2,t=await $({check_type:z.checkType,e_type:l,page:e.startPage,page_size:e.endPage});if((null==t?void 0:t.code)!==x.WY.SUCCESS){null==a||a.close(),T(null==t?void 0:t.code);return}let o="en"===E?"":"/".concat(E),n="EXPORT_PARAMS_".concat(Date.now()),r={...Object.fromEntries(new URLSearchParams(P(B))),download_type:z.downloadType,language:Z?"ZH_CN":_.xh[E],check_type:z.checkType,page:e.startPage,pagesize:F,export_range_type:e.rangeType,export_start_page:e.startPage,export_end_page:e.endPage,export_page_count:e.pageCount,export_data_count:e.rowCount};localStorage.setItem(n,JSON.stringify(r));let s=new URLSearchParams({s_key:n});"all"!==e.rangeType&&(s.set("startPage",String(e.startPage)),s.set("endPage",String(e.endPage)));let i="".concat((0,f.xh)("origin")).concat(o,"/export?").concat(s.toString());a?a.location.href=i:(0,f.bA)(i),U(!1)}catch(e){null==a||a.close()}},[z,Z,E,T,B,F,$]),eo=(0,t.jsx)("div",{className:D().dataExportDropdownMenu,children:G.map(e=>(0,t.jsx)("button",{className:D().dataExportDropdownMenuItem,type:"button",onClick:()=>ea(e),children:e.label},e.key))}),en=q||X,er=G.length>1,es=(0,o.useCallback)(()=>{let[e]=G;e&&!er&&ea(e)},[er,ea,G]),ei=(0,t.jsx)(n.A,{className:(0,g.cn)(D().exportButton,w<=0?"cursor-not-allowed":"cursor-pointer"),startContent:en?void 0:(0,t.jsx)(c.Z,{className:"w-4"}),isDisabled:en||w<=0,onClick:es,children:en?k("common.Currently.export"):k("common.data.export")});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"".concat(D().dataExportDropdown," notranslate"),translate:"no",children:er?(0,t.jsx)(s.Z,{open:A,trigger:["hover","click"],placement:"bottomRight",arrow:!1,content:eo,onOpenChange:e=>H(w>0&&e),overlayClassName:D().dataExportDropdownPopover,styles:{body:{padding:0}},children:ei}):ei}),(0,t.jsx)(S,{open:O,option:z,limit:null==W?void 0:W.data,confirmLoading:J,onCancel:el,onConfirm:et})]})}},930396:function(e,a,l){"use strict";var t=l(298948),o=l(207392),n=l(761127),r=l(713100),s=l(264579),i=l(138958);l(334150),a.Z=e=>{let{align:a="center",titleProps:l,sortColumn:c,sorterKey:d,children:u,sortDirections:p,questionTooltip:m,className:h}=e;return(0,t.jsxs)("div",{className:(0,r.Z)("custom-table-title gap-[1px]",h,{operation:!!d,current:(null==c?void 0:c.order)&&(null==c?void 0:c.columnKey)===d&&["descend","ascend"].includes(null==c?void 0:c.order),"flex justify-between items-center":"center"!==a}),children:[(0,t.jsx)("div",{className:(0,r.Z)("inline-flex gap-1 items-center",{"text-left":"left"===a,"text-center":"center"===a,"text-right":"right"===a,"flex-1":"center"!==a}),children:u}),d&&(0,t.jsxs)("div",{children:[(null==p?void 0:p.includes("ascend"))&&(0,t.jsx)(i.Z,{}),(0,t.jsx)(s.Z,{})]}),m&&(0,t.jsx)(n.Z,{placement:"top",title:m,children:(0,t.jsx)(o.Z,{className:"ml-1 cursor-pointer",style:{color:"#d4d9e0"}})})]})}},831510:function(e,a,l){"use strict";var t=l(298948),o=l(205192),n=l(661002),r=l(400051),s=l(937814),i=l(600374),c=l(310214),d=l(835674),u=l(522430),p=l(522674),m=l(532088),h=l(819040),_=l(374444),x=l(431265),v=l(404154),g=l.n(v);let f=e=>{let{src:a,name:l}=e,[n,r]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{r(!1)},[a]),!a||n)?(0,t.jsx)("span",{className:g().resultAvatar,children:l.charAt(0).toUpperCase()}):(0,t.jsx)("img",{src:a,alt:l,onError:()=>r(!0),className:g().resultAvatarImg})};a.Z=e=>{let{placeholder:a="",searchType:l,value:v,onSearch:y,onChange:C,showTools:j=!0,showImageAndLinkTools:b=!1}=e,w=(0,p.useTranslations)(),k=(0,p.useLocale)(),[N]=(0,m.Z)(),D="zh"===k?h.yp.US:N||h.yp.US,[Z,E]=(0,o.useState)(null!=v?v:""),[T,S]=(0,o.useState)(!1),M=(0,o.useRef)(null),P=(0,o.useRef)();(0,o.useEffect)(()=>{void 0!==v&&E(v)},[v]);let{data:I,refresh:L,mutate:R}=(0,n.Z)(()=>(0,x.f3)({type:l}),{refreshDeps:[T]}),V=(0,o.useMemo)(()=>{var e,a,l;return null!==(l=null==I?void 0:null===(a=I.data)||void 0===a?void 0:null===(e=a.list)||void 0===e?void 0:e.slice(0,5))&&void 0!==l?l:[]},[I]),{data:A,loading:H,run:O}=(0,n.Z)(e=>(0,_.sr)({words:e,type:l,region:D}),{manual:!0}),U=(0,o.useMemo)(()=>{var e,a,l;return null!==(l=null==A?void 0:null===(a=A.data)||void 0===a?void 0:null===(e=a.author)||void 0===e?void 0:e.list)&&void 0!==l?l:[]},[A]),z=(0,o.useMemo)(()=>{var e,a,l;return null!==(l=null==A?void 0:null===(a=A.data)||void 0===a?void 0:null===(e=a.shop)||void 0===e?void 0:e.list)&&void 0!==l?l:[]},[A]),K=(0,o.useMemo)(()=>{var e,a,l;return null!==(l=null==A?void 0:null===(a=A.data)||void 0===a?void 0:null===(e=a.product)||void 0===e?void 0:e.list)&&void 0!==l?l:[]},[A]),B=!H&&Z.trim()&&0===U.length&&0===z.length&&0===K.length,{run:F}=(0,r.Z)(e=>{e.trim()&&O(e.trim())},{wait:300}),G=(0,o.useCallback)(()=>{P.current&&(clearTimeout(P.current),P.current=void 0)},[]),W=(0,o.useCallback)(()=>{G(),S(!0),Z.trim()&&O(Z.trim())},[G,Z,O]),q=(0,o.useCallback)(()=>{P.current=setTimeout(()=>{S(!1)},200)},[]);(0,o.useEffect)(()=>()=>G(),[G]),(0,o.useEffect)(()=>{let e=e=>{M.current&&!M.current.contains(e.target)&&(G(),S(!1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[G]),(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&S(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let Y=(0,o.useCallback)(e=>{let a=e.target.value;E(a),null==C||C(a),F(a)},[C,F]),X=(0,o.useCallback)(e=>{null==y||y(e)},[y]),Q=(0,o.useCallback)(e=>{"Enter"===e.key&&(e.preventDefault(),X(Z))},[Z,X]),J=(0,o.useCallback)(()=>{X(Z)},[Z,X]),$=(0,o.useCallback)(e=>{E(e),null==C||C(e),X(e)},[C,X]),ee=(0,o.useCallback)(()=>{(0,x.aI)({clear_type:1,type:l}).then(()=>{R(void 0),L()})},[l,R,L]),ea=(0,o.useCallback)((e,a)=>{e.stopPropagation(),(0,x.aI)({clear_type:2,type:l,list:[a]}).then(()=>{R({data:{list:V.filter(e=>e!==a)}})})},[l,V,R]),el=j&&!Z.trim(),et=T&&Z.trim(),eo=T&&!Z.trim()&&V.length>0,en=T&&Z.trim(),er=(e,a)=>{if(!a.trim())return e;let l=e.toLowerCase(),o=a.toLowerCase(),n=l.indexOf(o);if(-1===n)return e;let r=e.slice(0,n),s=e.slice(n,n+a.length),i=e.slice(n+a.length);return(0,t.jsxs)(t.Fragment,{children:[r,(0,t.jsx)("b",{className:g().suggestHighlight,children:s}),i]})},es=(0,o.useCallback)(e=>{e.stopPropagation(),E(""),null==C||C("")},[C]);
1return(0,t.jsxs)("div",{ref:M,className:g().searchWrap,children:[(0,t.jsxs)("div",{className:"".concat(g().searchBar," ").concat(T?g().focused:""),children:[(0,t.jsx)(s.Z,{className:g().magIcon}),(0,t.jsx)("input",{className:g().input,value:Z,onChange:Y,onFocus:W,onBlur:q,onKeyDown:Q,placeholder:a}),et&&(0,t.jsx)("button",{className:g().clearInputBtn,type:"button",onClick:es,children:(0,t.jsx)(i.Z,{size:14})}),el&&(0,t.jsx)("span",{className:g().tools,children:b&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{className:g().toolBtn,type:"button",title:"æå¾æç´¢",children:(0,t.jsx)(c.Z,{size:17})}),(0,t.jsx)("button",{className:g().toolBtn,type:"button",title:"ç²è´´ FastMoss æ TikTok 龿¥",children:(0,t.jsx)(d.Z,{size:17})})]})}),(0,t.jsx)("span",{className:g().sep}),(0,t.jsx)("button",{className:g().goBtn,type:"button",onClick:J,children:(0,t.jsx)(u.Z,{size:16})})]}),(eo||en)&&(0,t.jsx)(t.Fragment,{children:eo?(0,t.jsxs)("div",{className:g().dropdown,children:[(0,t.jsxs)("div",{className:g().sectionHeader,children:[(0,t.jsx)("span",{children:w("common.history_search")}),(0,t.jsx)("button",{className:g().clearBtn,type:"button",onClick:ee,children:w("common.clear_history")})]}),(0,t.jsx)("div",{className:g().recentChips,children:V.map(e=>(0,t.jsxs)("span",{className:g().recentChip,onClick:()=>$(e),children:[e,(0,t.jsx)("button",{className:g().chipClose,type:"button",onClick:a=>ea(a,e),children:(0,t.jsx)(i.Z,{size:13})})]},e))})]}):(0,t.jsxs)("div",{className:g().dropdown,children:[U.length>0&&(0,t.jsxs)("div",{className:g().resultSection,children:[(0,t.jsxs)("div",{className:g().resultSectionHeader,children:[(0,t.jsx)("span",{className:g().resultSectionDot}),(0,t.jsx)("span",{children:"Creators"})]}),U.slice(0,3).map(e=>(0,t.jsxs)("div",{className:g().resultItem,onClick:()=>$(e.nickname),children:[(0,t.jsx)(f,{src:e.avatar||e.cover,name:e.nickname}),(0,t.jsxs)("div",{className:g().resultInfo,children:[(0,t.jsx)("span",{className:g().resultTitle,children:er(e.nickname,Z)}),(0,t.jsxs)("span",{className:g().resultSubtitle,children:["@",e.unique_id," \xb7 ",e.follower_count_show," followers"]})]})]},e.uid))]}),z.length>0&&(0,t.jsxs)("div",{className:g().resultSection,children:[(0,t.jsxs)("div",{className:g().resultSectionHeader,children:[(0,t.jsx)("span",{className:g().resultSectionDot}),(0,t.jsx)("span",{children:"Shops"})]}),z.slice(0,3).map(e=>(0,t.jsxs)("div",{className:g().resultItem,onClick:()=>$(e.name),children:[(0,t.jsx)(f,{src:e.avatar||e.cover,name:e.name}),(0,t.jsxs)("div",{className:g().resultInfo,children:[(0,t.jsx)("span",{className:g().resultTitle,children:er(e.name,Z)}),(0,t.jsxs)("span",{className:g().resultSubtitle,children:[e.region_name," \xb7 ",e.product_count_show," products"]})]})]},e.seller_id))]}),K.length>0&&(0,t.jsxs)("div",{className:g().resultSection,children:[(0,t.jsxs)("div",{className:g().resultSectionHeader,children:[(0,t.jsx)("span",{className:g().resultSectionDot}),(0,t.jsx)("span",{children:"Products"})]}),K.slice(0,3).map(e=>(0,t.jsxs)("div",{className:g().resultItem,onClick:()=>$(e.title),children:[(0,t.jsx)(f,{src:e.avatar||e.cover,name:e.title}),(0,t.jsxs)("div",{className:g().resultInfo,children:[(0,t.jsx)("span",{className:g().resultTitle,children:er(e.title,Z)}),(0,t.jsxs)("span",{className:g().resultSubtitle,children:[e.shop_name," \xb7 ",e.price]})]})]},e.product_id))]}),H&&(0,t.jsx)("div",{className:g().noDataWrap,children:(0,t.jsxs)("div",{className:g().loadingDots,children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})}),B&&(0,t.jsxs)("div",{className:g().noDataWrap,children:[(0,t.jsx)("div",{className:g().noDataIconWrap,children:(0,t.jsxs)("svg",{className:g().noDataIcon,viewBox:"0 0 24 24",fill:"none",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("path",{d:"M20 20l-3.6-3.6"})]})}),(0,t.jsx)("b",{className:g().noDataTitle,children:w("home_page.searchBar.noResultsTitle")}),(0,t.jsx)("p",{className:g().noDataHint,children:w("home_page.searchBar.noResultsHint",{keyword:Z})})]})]})})]})}},347826:function(e,a,l){"use strict";var t=l(298948),o=l(205192),n=l(522674),r=l(487104);a.Z=e=>{let a=(0,o.useRef)(null),[l,s]=(0,o.useState)(),i=(0,n.useTranslations)(),{dataTiem:c}=e;return(0,o.useEffect)(()=>
1{if(a.current){let e=r.init(a.current);s(e);let l=new ResizeObserver(()=>{null==e||e.resize()});return l.observe(a.current),()=>{a.current&&l.unobserve(a.current),null==e||e.dispose()}}},[]),(0,o.useEffect)(()=>{l&&l.setOption({xAxis:{type:"category",data:[],boundaryGap:!1},tooltip:{trigger:"axis",axisPointer:{type:"line"},formatter:function(e){let a=Array.isArray(e)?e[0].name:e.name,l=Array.isArray(e)?e[0].value:e.value;return"".concat(a,"<br/>").concat(i("table.daily_sales"),"ï¼").concat(l)}},yAxis:{type:"value",show:!1},grid:{left:0,right:0,top:0,bottom:0},series:[{data:[],type:"line",areaStyle:{color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(255, 0, 102, 0.5)"},{offset:1,color:"rgba(255, 255, 255, 0)"}])},lineStyle:{color:"rgba(255,0,102,1)",width:2},symbol:"none"}]})},[l]),(0,o.useEffect)(()=>{l&&l.setOption({xAxis:{data:c},series:[{data:(null==e?void 0:e.data)||[]}]})},[e.data,l]),(0,t.jsx)("div",{ref:a,style:{width:"100%",height:"100px"}})}},179857:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return S}});var t=l(298948),o=l(767074),n=l(626925),r=l(745566),s=l(664291),i=l(230680),c=l(221496),d=l(128364),u=l(574779),p=l(426263),m=l(273615),h=l(627830),_=l(532088),x=l(522674),v=l(205192),g=l(659498),f=l(677685),y=l(661002),C=l(207392),j=l(195774),b=l(761127),w=l(141702),k=l(783064),N=l(284694),D=l(380190),Z=l(641544),E=l(614363);function T(e){let{params:{locale:a},searchParams:{order:l},region:o,filterData:n}=e,r=(0,x.useTranslations)(),{countryItems:s,categoryItems:i,shopTypeItems:c,soldItems:d,ratingItems:u,authorCountItems:p,sale_amountItems:m,shopModeItems:h,shopPositionItems:_,sevenDaysOrderItems:v,newProductRateItems:g,sevenDayssalesVolumeItems:f}=n||{};return(0,t.jsxs)(Z.RenderForm,{colon:!0,rowStyle:{alignItems:"baseline"},children:[a===E.S.ZH&&(0,t.jsx)(Z.RenderFormItem,{label:r("common.country"),children:(0,t.jsx)(k.default,{options:s,field:"region",valueType:"string",wholeValue:"all",defaultValue:null!=o?o:"",expand:!1})}),(0,t.jsx)(Z.RenderFormItem,{label:r("common.goods.source"),children:(0,t.jsx)(w.Z,{options:i,field:["l1_cid","l2_cid"],wholeValue:{l1_cid:"all"}})}),"ID"!==o&&(0,t.jsx)(Z.RenderFormItem,{label:r("common.shops.type"),children:(0,t.jsx)(k.default,{options:c,field:"is_cross_border",valueType:"number",wholeValue:-1,className:"flex-nowrap"})}),("US"===o||"GB"===o)&&(0,t.jsx)(Z.RenderFormItem,{label:r("shop.shop_mode"),children:(0,t.jsx)(k.default,{options:h,field:"is_sshop",valueType:"number",wholeValue:-1})}),(0,t.jsx)(Z.RenderFormItem,{label:r("shop.shop_positioning"),children:(0,t.jsx)(k.default,{options:_,field:"shop_type",valueType:"number",wholeValue:-1})}),(0,t.jsx)(Z.RenderFormItem,{label:r("common.filter"),children:(0,t.jsxs)(j.Z,{size:16,style:{display:"flex",flexWrap:"wrap"},children:[(0,t.jsx)(N.Z,{field:"shop_rating_range",valueType:"string",wholeValue:"all",options:u,resetKey:"all",prompt:r("common.shopRating"),placeholder:r("common.all"),minRange:0,maxRange:5,isSupportDecimal:!0}),(0,t.jsx)(N.Z,{field:"day7_sold_count_range",valueType:"string",wholeValue:"all",options:v,resetKey:"all",placeholder:r("common.all"),prompt:r("common.near.7daysorders")}),(0,t.jsx)(N.Z,{field:"day7_sale_amount_range",options:f,valueType:"string",wholeValue:"all",resetKey:"all",placeholder:r("common.all"),prompt:r("common.near.7dayssalesVolume")}),(0,t.jsx)(N.Z,{options:d,field:"sold_count_range",valueType:"string",wholeValue:"all",resetKey:"all",placeholder:r("common.all"),prompt:r("common.soldCount")}),(0,t.jsx)(N.Z,{options:m,field:"sale_amount_range",valueType:"string",wholeValue:"all",resetKey:"all",placeholder:r("common.all"),prompt:r("common.total_sales")}),(0,t.jsx)(N.Z,{options:p,field:"sales_author_count_range",valueType:"string",wholeValue:"all",resetKey:"all",placeholder:r("common.all"),prompt:r("shop.author_count")}),(0,t.jsx)(N.Z,{options:g,field:"new_product_rate_range",valueType:"string",wholeValue:"all",resetKey:"all",placeholder:r("common.all"),prompt:r("shop.new_product_rate"),unit:"%"}),(0,t.jsx)(b.Z,{placement:"top",title:r("shop.new_product_rate_tips"),children:(0,t.jsx)(C.Z,{className:"ml-1 cursor-pointer",style:{color:"#d4d9e0"}})})]})}),(0,t.jsx)(D.default,{isSshop:!0,isShopMarketing:!0,data:{region:s,cascader:i,is_cross_border:c,sold_count:d,shop_rating_range:u,author_count:p,shop_type:_,is_sshop:h,sales_author_count_range:p,day7_s
1ale_amount_range:f,sold_count_range:d,sale_amount_range:m,day7_sold_count_range:v,new_product_rate_range:g}})]})}function S(e){let{params:{locale:a},searchParams:l}=e,{region:C,cid:j,is_cross_border:b}=l,[w]=(0,_.Z)(),{shouldRedirect:k,searchParams:N}=(0,p.Y)({searchParams:l,region:w}),D=(0,x.useTranslations)(),{filterData:Z,loading:E}=function(){var e,a,l,t,n,r,s,i,c,d,u,p;let m=(0,x.useTranslations)(),h=(0,o.useSearchParams)().get("region"),{data:_,loading:v}=(0,y.Z)(()=>(0,f.lC)({region:h})),C=[{value:"",label:m("common.all")},...null===(e=(null==_?void 0:null===(a=_.data)||void 0===a?void 0:a.country)||[])||void 0===e?void 0:e.map(e=>({value:e.region_code,label:e.region_name}))],j=[{value:"all",label:m("common.all")}];if(null==_?void 0:null===(t=_.data)||void 0===t?void 0:null===(l=t.category)||void 0===l?void 0:l.length){let e=(0,g.BC)(null==_?void 0:null===(p=_.data)||void 0===p?void 0:p.category);j.push(...e)}let b=[{value:-1,label:m("common.all")},{value:1,label:m("shop.cross_shop")},{value:2,label:m("shop.local_shop")}],w=[{value:-1,label:m("common.all")},{value:1,label:m("shop.s_shop")},{value:2,label:m("shop.no_s_shop")}],k=[{value:-1,label:m("common.all")},{value:1,label:m("shop.brand")},{value:2,label:m("shop.retailer")}],N=function(e){var a;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>({value:e.code,label:e.name}),t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{value:"all",label:m("common.all")};return[t,...null===(a=null!=e?e:[])||void 0===a?void 0:a.map(l)]},D=N(null==_?void 0:null===(n=_.data)||void 0===n?void 0:n.sold_count),Z=N(null==_?void 0:null===(r=_.data)||void 0===r?void 0:r.sale_amount),E=N(null==_?void 0:null===(s=_.data)||void 0===s?void 0:s.shop_rating),T=N(null==_?void 0:null===(i=_.data)||void 0===i?void 0:i.sales_author_count);return{filterData:{countryItems:C,categoryItems:j,shopTypeItems:b,shopModeItems:w,shopPositionItems:k,soldItems:D,sale_amountItems:Z,ratingItems:E,authorCountItems:T,sevenDaysOrderItems:N(null==_?void 0:null===(c=_.data)||void 0===c?void 0:c.day7_sold_count),sevenDayssalesVolumeItems:N(null==_?void 0:null===(d=_.data)||void 0===d?void 0:d.day7_sale_amount),newProductRateItems:N(null==_?void 0:null===(u=_.data)||void 0===u?void 0:u.new_product_rate)},loading:v}}(),{countryItems:S,categoryItems:M,shopTypeItems:P,soldItems:I,ratingItems:L,authorCountItems:R,sale_amountItems:V,shopModeItems:A,shopPositionItems:H,sevenDaysOrderItems:O,newProductRateItems:U,sevenDayssalesVolumeItems:z}=Z;return(0,v.useEffect)(()=>{if(k)return(0,o.redirect)((0,m.fS)("/".concat(a,"/shop-marketing/search"),N))},[k,N,a]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z,{messageKey:"dynamic_rank_title.shop-search",options:{region:(0,d.i)(S,null!=C?C:w),l1_cid:(0,d.i)(M,j),is_cross_border:(0,d.i)([{value:"1",label:"cross"},{value:"2",label:"local"}],b)},fallback:D("shop.search")}),(0,t.jsx)(n.w,{className:"pb-3",children:(0,t.jsxs)(r.G,{className:"px-6",children:[(0,t.jsx)(s.u,{className:"px-0",children:(0,t.jsx)(c.default,{placeholder:D("shop.shop_search_title"),field:"words",showTranslator:!1,searchType:u.Sc.Shop})}),(0,t.jsx)(i.j,{className:"mt-3 mb-6 bg-divider"}),E?(0,t.jsx)(h.ZP.Elasticity,{}):(0,t.jsx)(T,{...e,filterData:{countryItems:S,categoryItems:M,shopTypeItems:P,soldItems:I,ratingItems:L,authorCountItems:R,sale_amountItems:V,shopModeItems:A,shopPositionItems:H,sevenDayssalesVolumeItems:z,sevenDaysOrderItems:O,newProductRateItems:U},region:C})]})})]})}},289453:function(e,a,l){"use strict";l.r(a);var t=l(298948),o=l(205192),n=l(831510),r=l(487549),s=l(128364),i=l(532088),c=l(574779),d=l(273615),u=l(522674),p=l(767074),m=l(604528);a.default=()=>{var e;let a=(0,p.useSearchParams)(),l=a.get("region"),h=a.get("cid"),_=a.get("is_cross_border"),[x]=(0,i.Z)(),v=(0,u.useTranslations)(),g=(0,p.useRouter)(),f=(0,p.usePathname)(),{filterData:y}=(0,m.Z)(),{countryItems:C,categoryItems:j,shopTypeItems:b,soldItems:w,ratingItems:k,authorCountItems:N,sale_amountItems:D,shopModeItems:Z,shopPositionItems:E,sevenDaysOrderItems:T,newProductRateItems:S,sevenDayssalesVolumeItems:M}=y,P=(0,o.useCallback)(e=>{let l=(0,d.Py)({...(0,d.X4)(a.toString()),page:1,words:e||void 0});g.replace((0,d.fS)(f,l),{scroll:!1})},[a,g,f]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(s.Z,{className:"h-auto items-center",titleClassName:"text-fmblack text-2xl font-semibold",messageKey:"dynamic_rank_title.shop-search",options:{region:(0,s.i)(C,null!=l?l:x),l1_cid:(0,s.i)(j,null!=h?h:""),is_cross_border:(0,s.i)([{value:"1",label:"cross"},{value:"2",label:"local"}],null!=_?_:"")},fallback:v("shop.search")}),(0,t.jsx)("div",{className:"w-[400px]",children:(0,t.jsx)(n.Z,{placeholder:v("shop.shop_search_title"),searchType:c.Sc.Shop,value:null!==(e=a.get("words"))&&void 0!==e?e:"",onSearch:P})})]}),(0,t.jsx)(r.Z,{isSshop:!0,isShopMarketing:!0,data:{region:C,cascader:j,is_cross_border:b,sold_count:w,shop_rating_range:k,author_count:N,shop_type:E,is_sshop:Z,sales_author_count_range:N,day7_sale_amount_range:M,sold_count_range:w,sale_amount_range:D,day7_sold_count_range:T,new_product_rate_range:S}})]})}},604045:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return k}});var t=l(298948),o=l(522674),n=l(205192),r=l(767074),s=l(426263),i=l(317946),c=l(532088),d=l(273615),u=l(962761),p=l(186347),m=l(456449),h=l(82577),_=l(163954),x=l(678260),v=l(597858);let g=(0,v.Z)("waypoints",[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]]);var f=l(57859),y=l(93666);let C=(0,v.Z)("earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),j=(0,v.Z)("hand-helping",[["path",{d:"M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14",key:"1j4xps"}],["path",{d:"m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"uospg8"}],["path",{d:"m2 13 6 6",key:"16e5sb"}]]),b=(0,v.Z)("map-pinned",[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]]);var w=l(604528);function k(e){let{params:{locale:a},searchParams:l}=e,{region:v}=l,[k]=(0,c.Z)(),{shouldRedirect:N,searchParams:D}=(0,s.Y)({searchParams:l,region:k}),Z=(0,o.useTranslations)(),{filterData:E,loading:T}=(0,w.Z)(),{categoryItems:S,shopTypeItems:M,soldItems:P,ratingItems:I,authorCountItems:L,sale_amountItems:R,shopModeItems:V,shopPositionItems:A,sevenDaysOrderItems:H,newProductRateItems:O,sevenDayssalesVolumeItems:U}=E||{};(0,n.useEffect)(()=>
1{if(N)return(0,r.redirect)((0,d.fS)("/".concat(a,"/shop-marketing/search"),D))},[N,D,a]);let z=[{key:"sales_performance",title:Z("common.advancedGroups.salesRevenue"),icon:(0,t.jsx)(x.Z,{className:"w-4 h-4"}),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{field:"day7_sold_count_range",valueType:"string",wholeValue:"all",options:H,resetKey:"all",placeholder:Z("common.all"),title:Z("common.near.7daysorders"),size:"small"}),(0,t.jsx)(h.Z,{field:"day7_sale_amount_range",options:U,valueType:"string",wholeValue:"all",resetKey:"all",placeholder:Z("common.all"),title:Z("common.near.7dayssalesVolume"),size:"small"}),(0,t.jsx)(h.Z,{options:P,field:"sold_count_range",valueType:"string",wholeValue:"all",resetKey:"all",size:"small",placeholder:Z("common.all"),title:Z("common.soldCount")}),(0,t.jsx)(h.Z,{options:R,field:"sale_amount_range",valueType:"string",wholeValue:"all",resetKey:"all",size:"small",placeholder:Z("common.all"),title:Z("common.total_sales")})]})},{key:"product_affiliate",title:Z("common.advancedGroups.productAffiliate"),icon:(0,t.jsx)(g,{className:"w-4 h-4"}),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z,{options:O,field:"new_product_rate_range",valueType:"string",wholeValue:"all",resetKey:"all",size:"small",placeholder:Z("common.all"),title:Z("shop.new_product_rate"),unit:"%",tooltip:Z("shop.new_product_rate_tips")}),(0,t.jsx)(h.Z,{options:L,field:"sales_author_count_range",valueType:"string",wholeValue:"all",size:"small",resetKey:"all",placeholder:Z("common.all"),title:Z("shop.author_count")})]})},{key:"shop_metrics",title:Z("common.advancedGroups.shopMetrics"),icon:(0,t.jsx)(f.Z,{className:"w-4 h-4"}),children:(0,t.jsx)(h.Z,{field:"shop_rating_range",valueType:"string",wholeValue:"all",options:I,resetKey:"all",title:Z("common.shopRating"),placeholder:Z("common.all"),isSupportDecimal:!0,minRange:0,maxRange:5,size:"small"})}];return(0,t.jsx)(i.Z,{children:(0,t.jsxs)(u.Z,{children:[(0,t.jsxs)(u.Z.Basic,{children:[(0,t.jsx)(p.Z,{loading:T,options:S,field:["l1_cid","l2_cid","l3_cid"],valueType:"string",title:Z("common.goods.source"),expandTrigger:"hover",icon:(0,t.jsx)(y.Z,{className:"w-4 h-4"})}),"ID"!==v&&(0,t.jsx)(m.Z,{title:Z("common.shops.type"),options:M,field:"is_cross_border",valueType:"number",wholeValue:-1,className:"flex-nowrap",icon:(0,t.jsx)(C,{className:"w-4 h-4"})}),(0,_.m_)(v)&&(0,t.jsx)(m.Z,{title:Z("shop.shop_mode"),options:V,field:"is_sshop",valueType:"number",wholeValue:-1,icon:(0,t.jsx)(j,{className:"w-4 h-4"})}),(0,t.jsx)(m.Z,{title:Z("shop.shop_positioning"),options:A,field:"shop_type",valueType:"number",wholeValue:-1,icon:(0,t.jsx)(b,{className:"w-4 h-4"})})]}),(0,t.jsx)(u.Z.Divider,{}),(0,t.jsx)(u.Z.Advanced,{groups:z})]})})}},239590:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return P}});var t=l(298948),o=l(205192),n=l(767074),r=l(745566),s=l(532088),i=l(574779),c=l(640902),d=l(273615),u=l(633670),p=l(522674),m=l(973791),h=e=>{let{shops:a,searchParams:l}=e,o=new URLSearchParams(l).toString(),n=(0,p.useTranslations)();return(0,t.jsxs)("div",{className:"flex justify-between items-center w-full",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-foreground text-[16px] font-semibold",children:n("shop.shopList")}),(0,t.jsx)("span",{className:"text-foreground text-[14px]",children:n.rich("shop.shop_list_title",{category:()=>(0,t.jsx)("span",{className:"text-[#fe2062] ",children:(null==l?void 0:l.l1_cid)?n("shop.selected_category"):n("shop.all_category")})})})]}),(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)(m.Z,{downloadType:i.HK.ShopSearch,total:(null==a?void 0:a.total)||0,params:o})})]})},_=l(665797),x=l(56226),v=l.n(x),g=l(930396),f=l(347826),y=l(659498),C=l(246225),j=l(747807),b=l(237423),w=l(195097),k=l(196205),N=l(563855),D=l(966161),Z=l(72386),E=l.n(Z),T=e=>{var a,l;let{shops:n,loading:r,params:s,searchParams:i,...d}=e,u=(0,p.useTranslations)(),[[m,h],x]=(0,c.useAuthStore)(e=>[e.userInfo,e.setUserInfo]),{value:Z}=(0,N.Z)({isSyncParamsUrl:!0}),{makeContent:T,detailPanel:S,checkDetailCode:M}=(0,k.G)({t:u}),{pagination:P,sorter:I,onChange:L}=(0,D.Z)({isSyncParamsUrl:!0,isOldOrder:!0,order:[,"descend"],defaultSorter:{columnKey:"1",field:"day7_sold_count_show",order:"descend"}}),R=[{align:"center",dataIndex:"name",title:(0,t.jsx)(g.Z,{children:u("common.shop.information")}),width:300,fixed:"left",ellipsis:!0,render:(e,a)=>{var l,o,n,r,s,i,c;return(0,t.jsx)(j.default,{href:"/shop-marketing/detail/".concat(null==a?void 0:null===(l=a.shop_info)||void 0===l?void 0:l.seller_id),children:(0,t.jsx)(b.Z,{avatarProps:{src:null==a?void 0:null===(o=a.shop_info)||void 0===o?void 0:o.avatar,..."1"===String(null===(n=a.shop_info)||void 0===n?void 0:n.is_sshop)&&{badge:{type:"sShop"}},shape:"circle"},titleProps:{text:null==a?void 0:null===(r=a.shop_info)||void 0===r?void 0:r.name,ish3:!0},categoryTag:null==a?void 0:null===(s=a.shop_info)||void 0===s?void 0:s.category_list.filter(e=>""!==e),regionProps:{region:null==a?void 0:null===(i=a.shop_info)||void 0===i?void 0:i.region,disabledTip:!0},shop_rating:null==a?void 0:a.shop_rating,shop_type:null==a?void 0:a.shop_type,seller_company:null==a?void 0:null===(c=a.shop_info)||void 0===c?void 0:c.seller_company})})}},{width:140,title:(0,t.jsxs)(g.Z,{children:[" ",u("shop.7daysorders_trend")," "]}),dataIndex:"trend",key:"trend",render:(e,a)=>{var l,o;return(0,t.jsx)("div",{className:"max-w-[200px]",children:(0,t.jsx)(f.Z,{data:(null==a?void 0:null===(l=a.trend)||void 0===l?void 0:l.map(e=>null==e?void 0:e.inc_sold_count))||[],dataTiem:(null==a?void 0:null===(o=a.trend)||void 0===o?void 0:o.map(e=>null==e?void 0:e.dt))||[]})})}},{key:"1",align:"center",dataIndex:"day7_sold_count_show",width:140,showSorterTooltip:!1,sorter:!0,sortOrder:(null==I?void 0:I.columnKey)==="1"?I.order:null,title:e=>(0,t.jsx)(g.Z,{titleProps:e,sorterKey:"1",sortColumn:I,children:u("common.near.7daysorders")})}
1,{key:"2",align:"center",dataIndex:"day7_sale_amount_show",width:160,showSorterTooltip:!1,sorter:!0,sortOrder:(null==I?void 0:I.columnKey)==="2"?I.order:null,title:e=>(0,t.jsx)(g.Z,{titleProps:e,sorterKey:"2",sortColumn:I,children:u("common.near.7dayssalesVolume")}),render:(e,a)=>{var l;return(0,t.jsxs)("div",{className:"max-w-[200px]",children:[(0,t.jsx)("div",{children:null==a?void 0:a.day7_sale_amount_show}),"US"!==Z&&(0,t.jsxs)("div",{children:["(",null==a?void 0:null===(l=a.global)||void 0===l?void 0:l.global_day7_sale_amount_show,")"]})]})}},{width:140,align:"center",title:(0,t.jsxs)(g.Z,{children:[" ",u("shop.7daysproduct_sales")," "]}),dataIndex:"day7_product_count_show",key:"day7_product_count_show"},{key:"4",align:"center",dataIndex:"new_product_rate_show",width:160,showSorterTooltip:!1,sorter:!0,sortOrder:(null==I?void 0:I.columnKey)==="4"?I.order:null,title:e=>(0,t.jsx)(g.Z,{questionTooltip:u.rich("shop.new_product_sales_contribution",{BoldTxt1:()=>(0,t.jsxs)("span",{className:"font-bold",children:[u("shop.metric_definition"),(0,t.jsx)("br",{})]}),BoldTxt2:()=>(0,t.jsxs)("span",{className:"font-bold",children:[(0,t.jsx)("br",{}),u("shop.metric_calculation"),(0,t.jsx)("br",{})]}),currentPeriod:"ï¼".concat(v()().subtract(7,"day").format("MM/DD")," - ").concat(v()().subtract(1,"day").format("MM/DD"),"ï¼")}),titleProps:e,sorterKey:"4",sortColumn:I,children:u("shop.new_product_rate")})},{key:"5",align:"center",dataIndex:"sold_count_show",width:160,showSorterTooltip:!1,sorter:!0,sortOrder:(null==I?void 0:I.columnKey)==="5"?I.order:null,title:e=>(0,t.jsx)(g.Z,{titleProps:e,sorterKey:"5",sortColumn:I,children:(null==i?void 0:i.l1_cid)?u("shop.category_total_units_sold"):u("common.soldCount")})},{key:"6",align:"center",dataIndex:"sale_amount_show",width:160,showSorterTooltip:!1,sorter:!0,sortOrder:(null==I?void 0:I.columnKey)==="6"?I.order:null,title:e=>(0,t.jsx)(g.Z,{titleProps:e,sorterKey:"6",sortColumn:I,children:(null==i?void 0:i.l1_cid)?u("shop.category_total_sales"):u("common.saleAmount")}),render:(e,a)=>{var l;return(0,t.jsxs)("div",{className:"max-w-[200px]",children:[(0,t.jsx)("div",{children:null==a?void 0:a.sale_amount_show}),"US"!==Z&&(0,t.jsxs)("div",{children:["(",(0,t.jsx)("span",{children:null==a?void 0:null===(l=a.global)||void 0===l?void 0:l.global_sale_amount_show}),")"]})]})}},{width:140,align:"center",title:(0,t.jsxs)(g.Z,{children:[" ",u("shop.goods_for_sale")," "]}),dataIndex:"on_sell_product_count",key:"on_sell_product_count"},{key:"9",width:140,align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:(null==I?void 0:I.columnKey)==="9"?I.order:null,title:e=>(0,t.jsx)(g.Z,{titleProps:e,sorterKey:"9",sortColumn:I,children:u("shop.author_count")}),dataIndex:"sales_author_count"},{key:"action",align:"center",dataIndex:"action",width:92,fixed:"right",title:(0,t.jsx)(g.Z,{children:u("table.action")}),render:(e,a)=>(0,t.jsx)(C.ZP,{id:null==a?void 0:a.seller_id,type:C.gA.shop,isCollect:null==a?void 0:a.is_collect})}];return(0,o.useEffect)(()=>{T(null==n?void 0:n.code)},[n,T]),(0,t.jsx)(w.Z,{code:null==n?void 0:n.code,filterView:S(null==n?void 0:n.code),pageNumber:null==P?void 0:P.current,children:(0,t.jsx)(_.default,{rowClassName:(e,a)=>(0,y.UI)(m,a),loading:{spinning:r,tip:u("loading.loadingInProgress")},rowKey:"id",dataSource:null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.list,pagination:{...P,total:null==n?void 0:null===(l=n.data)||void 0===l?void 0:l.total_cnt},onChange:(e,a,l,t)=>{null==L||L(e,a,l,t)},columns:R,scroll:{x:"max-content"},sticky:{offsetHeader:56},className:E().table,...d})})},S=l(677685),M=l(661002);function P(e){let{className:a,...l}=e,[p]=(0,s.Z)(),m=(0,n.useSearchParams)(),[[_],x]=(0,c.useAuthStore)(e=>[e.userInfo,e.setUserInfo]),v=(0,o.useMemo)(()=>({page:1,pagesize:10,order:"1,2",...p&&p!==i.yp.Global&&{region:p}}),[p]),g=(0,o.useMemo)(()=>(0,d.X4)(m.toString()),[m]),{data:f,loading:y}=(0,M.Z)(()=>(0,S.f1)({...v,...g}),{refreshDeps:[v,g,null==_?void 0:_.level]});return(0,t.jsxs)(r.G,{className:(0,u.cn)("p-6",a),style:{overflow:"unset"}
1,children:[(0,t.jsx)("div",{className:"flex gap-[8px] mb-[24px] justify-end",children:(0,t.jsx)(h,{searchParams:{...v,...g},shops:null==f?void 0:f.data})}),(0,t.jsx)(T,{shops:f,loading:y,...l})]})}S.f1,M.Z},604528:function(e,a,l){"use strict";l.d(a,{Z:function(){return c}});var t=l(659498),o=l(532088),n=l(677685),r=l(661002),s=l(522674),i=l(767074);function c(){var e,a,l,c,d,u,p,m,h,_;let[x]=(0,o.Z)(),v=(0,s.useTranslations)(),g=(0,i.useSearchParams)().get("region"),{data:f,loading:y}=(0,r.Z)(()=>(0,n.lC)({region:g})),C=null===(e=(null==f?void 0:null===(a=f.data)||void 0===a?void 0:a.country)||[])||void 0===e?void 0:e.map(e=>({value:e.region_code,label:e.region_name})),j=(0,t.BC)((null==f?void 0:null===(l=f.data)||void 0===l?void 0:l.category)||[]),b=[{value:1,label:v("shop.cross_shop")},{value:2,label:v("shop.local_shop")}],w=[{value:1,label:v("shop.s_shop")},{value:2,label:v("shop.no_s_shop")}],k=[{value:1,label:v("shop.brand")},{value:2,label:v("shop.retailer")}],N=function(e){var a;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>({value:e.code,label:e.name});return null===(a=e||[])||void 0===a?void 0:a.map(l)},D=N(null==f?void 0:null===(c=f.data)||void 0===c?void 0:c.sold_count),Z=N(null==f?void 0:null===(d=f.data)||void 0===d?void 0:d.sale_amount),E=N(null==f?void 0:null===(u=f.data)||void 0===u?void 0:u.shop_rating),T=N(null==f?void 0:null===(p=f.data)||void 0===p?void 0:p.sales_author_count);return{filterData:{countryItems:C,categoryItems:j,shopTypeItems:b,shopModeItems:w,shopPositionItems:k,soldItems:D,sale_amountItems:Z,ratingItems:E,authorCountItems:T,sevenDaysOrderItems:N(null==f?void 0:null===(m=f.data)||void 0===m?void 0:m.day7_sold_count),sevenDayssalesVolumeItems:N(null==f?void 0:null===(h=f.data)||void 0===h?void 0:h.day7_sale_amount),newProductRateItems:N(null==f?void 0:null===(_=f.data)||void 0===_?void 0:_.new_product_rate)},loading:y}}},246225:function(e,a,l){"use strict";l.d(a,{zc:function(){return i},gA:function(){return r},ZP:function(){return w}});var t,o,n,r,s,i,c=l(298948),d=l(205192),u=l(522674),p=l(761127),m=l(640902),h=l(909591),_=l(125399),x=e=>{let{className:a}=e;return(0,c.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[(0,c.jsxs)("g",{clipPath:"url(#clip0_1612_2)",children:[(0,c.jsx)("path",{d:"M10.8381 13.0495C10.7689 13.0472 10.7003 13.0354 10.6341 13.0146L8.99251 12.3446C8.80097 12.2476 7.95089 11.853 6.91347 11.853C6.23894 11.853 5.6171 12.0158 5.06412 12.337L3.96803 12.7994L3.9475 12.8104C3.83984 12.8649 3.50702 13.0033 3.23627 13.0033C3.15723 13.0033 3.0929 12.9899 3.06816 12.9685C3.03584 12.9401 2.99284 12.847 2.97393 12.6756L3.05636 10.8783C3.09931 10.4966 3.10094 10.1114 3.06121 9.72937C2.96956 8.8502 2.65468 8.14253 2.14923 7.67652L0.99575 6.16161L0.967139 6.13364C0.898851 6.06011 0.838044 5.97998 0.785615 5.89441C0.702531 5.75734 0.686205 5.67119 0.686528 5.64435C0.709158 5.61607 0.894885 5.41967 1.72233 5.32269L1.79135 5.3146L3.23255 4.84002C3.38369 4.81109 3.71748 4.72768 4.11593 4.50946C4.75571 4.15854 5.27587 3.60944 5.62243 2.91955L6.63205 1.40513L6.64822 1.36956C6.69338 1.2853 6.7463 1.20542 6.8063 1.13098C6.9049 1.00943 6.9736 0.967399 7.00027 0.954468C7.04068 0.975481 7.1805 1.06762 7.38272 1.41289L8.47639 3.23395C8.52003 3.30992 8.71158 3.62722 9.05361 3.96441C9.55729 4.46097 10.1607 4.77795 10.7993 4.88189L12.7552 5.30345C12.9893 5.38718 13.2743 5.57436 13.3097 5.70562C13.3284 5.77528 13.2612 5.94339 13.0672 6.16193L11.8597 7.55642C11.7492 7.65761 11.5167 7.897 11.2953 8.29464C10.9426 8.92811 10.7694 9.69963 10.7942 10.5253V10.5345L10.9012 12.4058L10.9067 12.4369C10.9206 12.5428 10.9249 12.6499 10.9196 12.7566C10.9102 12.932 10.8763 13.0165 10.86 13.0476C10.855 13.0492 10.8475 13.0495 10.8381 13.0495ZM6.01636 5.66666C6.19405 6.09155 6.44507 6.48188 6.75797 6.81982C7.23384 7.33077 8.0684 7.94 9.34198 7.94C9.45303 7.94 9.56699 7.93515 9.68046 7.92577C10.0374 7.9011 10.3706 7.73817 10.6093 7.47163C10.8479 7.20509 10.9732 6.85596 10.9585 6.49849C10.9438 6.14101 10.7902 5.80338 10.5304 5.5574C10.2706 5.31141 9.92506 5.17646 9.56731 5.18125C9.52916 5.18125 9.49053 5.18287 9.45238 5.1861C9.41424 5.18933 9.37851 5.19079 9.34392 5.19079C9.10922 5.19079 8.94273 5.12306 8.78723 4.96449C8.69941 4.87311 8.62702 4.76808 8.57289 4.65349C8.51738 4.47106 8.42465 4.30212 8.30056 4.15733C8.17646 4.01254 8.02371 3.89505 7.85192 3.81227C7.68014 3.7295 7.49306 3.68323 7.30249 3.67639C7.11193 3.66955 6.92201 3.7023 6.74474 3.77255C6.56746 3.84281 6.40668 3.94905 6.27253 4.08457C6.13838 4.2201 6.03378 4.38196 5.96534 4.55994C5.8969 4.73792 5.86609 4.92816 5.87488 5.11865C5.88366 5.30913 5.93183 5.49573 6.01636 5.66666Z",fill:"#FE2062"}),(0,c.jsx)("path",{d:"M6.99485 2.10122L7.53942 3.00884C7.44462 2.99569 7.34902 2.9891 7.25331 2.98912C6.8896 2.98907 6.53231 3.08497 6.21751 3.26714L6.99485 2.10122ZM5.25251 4.53652C5.13055 5.00811 5.17874 5.50759 5.38861 5.94717C5.59669 6.4417 5.89006 6.89581 6.25533 7.2888C6.59709 7.65806 7.0022 7.96315 7.45149 8.18963C8.03113 8.48059 8.66736 8.62801 9.3427 8.62801C9.47201 8.62801 9.60585 8.62235 9.73824 8.61184C9.99651 8.59069 10.2484 8.52076 10.4807 8.40575C10.3923 8.61807 10.3197 8.83661 10.2634 9.05959C10.1429 9.54628 10.
10907 10.0474 10.1084 10.5485V10.5669L10.1094 10.5853L10.1957 12.0946L9.27691 11.7196C8.99048 11.5781 8.05926 11.1671 6.91338 11.1671C6.13184 11.1671 5.40736 11.3535 4.75837 11.7214L3.7287 12.1557L3.68506 12.1728L3.74244 10.9332C3.78764 10.5094 3.78862 10.0821 3.74535 9.65815C3.69832 9.20765 3.59988 8.79013 3.45246 8.4169C3.26495 7.94232 2.99986 7.5387 2.66187 7.21493L1.74713 6.01263L1.80371 6.00568L1.94159 5.98952L2.07349 5.94604L3.41027 5.50589C3.62816 5.45998 4.00915 5.35297 4.44753 5.11245C4.73792 4.95303 5.00835 4.7597 5.25315 4.53652M11.4554 5.72653L12.3662 5.92292L11.616 6.78932C11.6568 6.42715 11.6014 6.06062 11.4554 5.72669M7.00277 0.263184C6.42684 0.263184 6.03291 1.06525 6.03291 1.06525L5.02653 2.57499C4.3326 3.99841 3.06581 4.17153 3.06581 4.17153L1.64336 4.64029C-1.16824 4.97004 0.480182 6.61863 0.480182 6.61863L1.64287 8.14566C2.63196 8.9959 2.37172 10.8179 2.37172 10.8179L2.28492 12.692C2.34957 13.4807 2.78843 13.6903 3.23602 13.6903C3.74374 13.6903 4.26309 13.4209 4.26309 13.4209L5.37374 12.9521C5.88792 12.6435 6.42441 12.5401 6.91354 12.5401C7.90926 12.5401 8.70551 12.9694 8.70551 12.9694L10.4061 13.6635C10.5715 13.7141 10.7146 13.7365 10.8382 13.7365C11.8187 13.7365 11.5861 12.3273 11.5861 12.3273L11.482 10.5053C11.4295 8.78771 12.3496 8.04157 12.3496 8.04157L13.5816 6.61912C14.8136 5.23045 12.9396 4.64029 12.9396 4.64029L10.9266 4.20661C9.69459 4.01571 9.06952 2.88777 9.06952 2.88777L7.97666 1.06574C7.6238 0.464266 7.29017 0.263669 7.00228 0.263669L7.00277 0.263184ZM9.34238 7.25275C8.32484 7.25275 7.65451 6.77365 7.26139 6.35144C6.99831 6.06817 6.78872 5.73958 6.64279 5.38158C6.59667 5.2952 6.56939 5.20002 6.56277 5.10232C6.55615 5.00462 6.57033 4.90663 6.60437 4.81481C6.63842 4.723 6.69155 4.63945 6.76027 4.56968C6.82898 4.49992 6.91172 4.44552 7.00301 4.41009C7.09429 4.37466 7.19206 4.359 7.28985 4.36414C7.38764 4.36928 7.48322 4.39511 7.5703 4.43992C7.65737 4.48473 7.73394 4.5475 7.79496 4.62408C7.85598 4.70067 7.90006 4.78933 7.92429 4.88421C8.01268 5.0923 8.13872 5.28228 8.29607 5.44462C8.58056 5.73558 8.92469 5.87766 9.34383 5.87766C9.39771 5.87766 9.45289 5.87529 9.50935 5.87055C9.52875 5.86893 9.54798 5.86813 9.56722 5.86813C9.7444 5.86845 9.91461 5.93718 10.0423 6.05998C10.17 6.18279 10.2454 6.35017 10.2527 6.52719C10.26 6.70422 10.1986 6.87723 10.0814 7.0101C9.96418 7.14297 9.80019 7.22544 9.62363 7.24031C9.52665 7.24839 9.43284 7.25238 9.34221 7.25227L9.34238 7.25275Z",fill:"#FE2062"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0_1612_2",children:(0,c.jsx)("rect",{width:"14",height:"14",fill:"white"})})})]})},v=e=>{let{className:a}=e;return(0,c.jsxs)("svg",{viewBox:"0 0 1060 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",className:a,children:[(0,c.jsx)("path",{d:"M1056.39874 397.266572c-18.352927-66.3154-95.568349-92.370851-104.305008-95.092885l-2.234682-0.70131-141.617079-30.560475-1.462053-0.225846c-56.259328-8.712886-88.602795-61.37057-90.778044-65.01976l-0.154526-0.297165-75.420544-125.677134c-15.238635-25.984131-31.380652-45.074027-49.234341-58.363257C571.365596 6.577456 549.113861-0.768469 526.755147 0.063593c-21.2176 0.796403-52.966737 9.414196-83.693625 46.001183a202.072379 202.072379 0 0 0-22.822292 33.698541l-69.287053 103.924636-1.533373 3.054859c-33.28251 68.181598-90.159941 80.377261-96.043813 81.470829l-3.565984 0.368485-97.826804 32.212714c-38.334319 4.90917-68.49065 13.46753-92.061799 26.150544-34.209665 18.352927-48.556804 42.827458-54.559543 60.122476-21.134394 60.859446 26.257523 117.344619 39.618073 131.667985l81.138004 106.57535 4.041448 3.470891c37.644896 32.367241 36.289822 112.090738 32.830818 137.635063l-0.320939 2.17525-6.216697 134.199833 0.261506 3.245045c4.921057 59.694558 34.031366 87.746959 57.590628 100.762798 28.420886 15.714099 63.486387 18.26972 104.233688 7.631204a251.996144 251.996144 0 0 0 45.16912-16.641255l77.892959-32.914025 3.066745-1.842425c32.688179-19.612907 71.735695-25.568099 116.025206-17.675389a239.669729 239.669729 0 0 1 62.309613 20.064598l2.044497 1.188661 121.386067 49.495847 2.187136 0.66565a152.219935 152.219935 0 0 0 44.53913 7.215172c30.703115 0 51.837509-11.660765 65.376358-23.499829 45.050254-39.416001 38.89299-108.905126 36.028316-128.838972l-6.953667-121.718892c-2.377322-84.549461 36.277935-123.133399 41.092013-127.590877l2.484301-1.818652 87.735073-101.392788c24.79547-28.004854 51.326384-71.818901 37.478483-121.861531z m-113.303172 55.035007l-82.62383 95.413823c-7.833276 7.203286-23.927747 23.880201-39.225815 51.290724-24.462645 43.980459-36.468121 97.410774-34.744562 154.644803v0.677537l7.131966 125.486948 0.07132 2.377322 0.499237 2.829013c1.961291 13.003952 0.939042 30.40595-1.96129 37.846968a51.290725 51.290725 0 0 1-12.231323-2.199023l-112.031304-45.72779c-21.395899-10.
169795-151.328439-70.511374-272.120176-0.487351l-74.814326 31.558951-1.782992 0.927155a150.959954 150.959954 0 0 1-26.328842 9.687588c-17.651617 4.612005-27.196565 3.126179-29.77596 1.699785-0.784516-0.439805-4.029561-4.921057-5.467841-17.699163l5.6818-122.705481a369.792454 369.792454 0 0 0 0.320939-79.355012c-6.359337-60.954539-28.218813-110.093787-63.343748-142.579893l-76.716185-100.762798-1.782991-2.496188-2.555621-2.543735c-8.617793-8.914958-17.152379-23.119458-18.103308-29.775959 3.43523-3.102405 18.804618-14.13318 67.75368-19.8863l5.075583-0.59433 98.86094-32.54554c10.69795-2.080157 33.864953-7.916483 61.287364-22.953045 44.384604-24.343778 80.472353-62.392819 104.530853-110.200767l67.147463-100.727138 1.747332-2.460528 1.521486-3.209385c5.230109-10.246258 14.941469-22.144755 20.872888-25.972244 3.482777 2.377322 11.886611 9.640041 23.333416 29.181629l74.885647 124.749978a252.388402 252.388402 0 0 0 40.093537 50.74394c34.994181 34.471171 76.94203 56.53272 121.421727 63.783553l133.819462 28.86069c13.158478 4.683325 33.163643 16.997853 35.398326 25.045088 0.594331 2.008837-1.129228 11.494352-15.844852 28.076175z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M714.599253 428.944389c-36.420575 3.031086-65.602204-7.215173-89.220898-31.321219a135.400381 135.400381 0 0 1-27.232225-40.88994c-6.466316-18.661979-26.019791-32.212715-49.139248-32.212715-28.397113 0-51.409591 20.456857-51.409591 45.692131a41.365405 41.365405 0 0 0 5.004263 19.684227c2.722034 7.500451 16.177677 41.603137 46.666833 74.386409 28.908237 31.03594 78.202011 66.27974 153.028225 66.279741q10.032299 0 20.694589-0.87961a50.544245 50.544245 0 1 0-8.391948-100.739024z",fill:"currentColor"})]})},g=l(444676),f=l(961261);let y=e=>f.ZP.post("/api/collect/collectAction",e);var C=l(819040),j=l(76838);(t=r||(r={}))[t.Live=1]="Live",t[t.Product=2]="Product",t[t.shop=3]="shop",t[t.Creator=4]="Creator",t[t.Video=5]="Video",t[t.ai=21]="ai",t[t.AD=5]="AD",(o=s||(s={})).Collect="collect",o.CancelCollect="un_collect",(n=i||(i={}))[n.Collect=1]="Collect",n[n.CancelCollect=0]="CancelCollect";let b=(e,a)=>{let{project_id:l,type:t,group_id:o}=e,[n,r]=(0,d.useState)(a),s=(0,u.useTranslations)();(0,d.useEffect)(()=>{r(a)},[a]);let i=async e=>{let{value:a}=await j.O.single(y({action:1===n?"un_collect":"collect",type:t,project_id:l,group_id:o||0}));r(a.data.is_collect),null==e||e(a),a.code===C.WY.SUCCESS?1===a.data.is_collect?g.ZP.success(s("common.collection.succeeded")):g.ZP.success(s("common.cancel.collection.succeeded")):a.code===C.Ae.MSG_30001?g.ZP.info(s("common.loginTip")):g.ZP.error(null==a?void 0:a.msg)};return{collectStatus:n,setCollectStatus:r,collectHandle:i}};var w=e=>{let{isCollect:a,size:l=14,id:t,type:o,collectCallback:n,customClassNames:r}=e,{open:s}=(0,h.N)(),[[d,g],f]=(0,m.useAuthStore)(e=>[e.userInfo,e.setUserInfo]),{collectStatus:y,setCollectStatus:C,collectHandle:j}=b({project_id:t||"",type:o},a),w=(0,u.useTranslations)(),k="w-[".concat(l,"px] h-[").concat(l,"px]");return(0,c.jsx)(p.Z,{title:w(a?"common.cancel.collect":"common.collect"),children:(0,c.jsx)("span",{children:(0,c.jsx)(_.Z,{onPress:()=>{if(!d)return null==s?void 0:s();y?C(i.CancelCollect):C(i.Collect),j(n)},classNames:"".concat(y?"text-vi bg-fmpink border-fmdpink":""," ").concat(r),children:y?(0,c.jsx)(x,{className:k}):(0,c.jsx)(v,{className:k})})})})}},186347:function(e,a,l){"use strict";var t=l(298948),o=l(207392),n=l(522674),r=l(205192),s=l(211624),i=l(761127),c=l(575222),d=l(687100),u=l(624683),p=l(633670),m=l(962193),h=l(463123),_=l.n(h);a.Z=e=>{let{options:a=[],children:l,value:h,title:x,icon:v,onChange:g,field:f,valueType:y,isSyncParamsUrl:C=!0,isTablePage:j=!0,wholeValue:b,defaultValue:w,disabled:k,tooltip:N,tooltipPlacement:D="top",separator:Z=" / ",expandTrigger:E="hover",isOnlyEmitLeaf:T=!1,size:S="default",...M}=e,{disabled:P,...I}=M;(0,n.useTranslations)();let[L,R]=(0,r.useState)(!1),V=(0,r.useRef)(null),{value:A,onChange:H}=(0,d.Z)({field:f,valueType:d.G.MAP,defaultValue:w,wholeValue:b,isTablePage:j,childValueType:"string"}),O=(0,r.useMemo)(()=>null!=g?g:H,[g,H]),U=(0,r.useCallback)(function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l={};
1if(l[f[0]]=e,f.slice(1,f.length).forEach((e,t)=>{var o;return l[e]=null!==(o=a[t])&&void 0!==o?o:void 0}),T)for(let e=f.length-1;e>=0;e--){let a=f[e],t=l[a];if(t){null==O||O({...f.reduce((e,a)=>({...e,[a]:void 0}),{}),[a]:t});break}}else null==O||O(l)},[f,O,T]),z=(0,r.useMemo)(()=>{if(T){let e,l={};if((0,u.Kn)(A))for(let a=f.length-1;a>=0;a--){let l=A[f[a]];if(l){e=l;break}}let t=(e,a,o,n)=>{for(let r=0;r<o.length;r++){let s=o[r];if(s.value===n){l={...e,[f[a]]:n};break}s.children&&t({...e,[f[a]]:s.value},a+1,s.children,n)}};return e&&t({},0,a,e),null!=h?h:l}return null!=h?h:A},[h,A,f,T,a]),K=(0,r.useMemo)(()=>{if(z&&(0,u.Kn)(z)){let e=Object.values(z);return e.length?e.filter(e=>null!=e):[]}return[]},[z]),B=(0,r.useCallback)((e,a,l)=>e.find(e=>e.value===l[a]),[]),F=(0,r.useMemo)(()=>{if(z&&(0,u.Kn)(z)){let e=[];return f.forEach((l,t)=>{if(0===t){let t=B(a,l,z);t&&e.push(t)}else if(e[t-1]){var o;let a=B((null===(o=e[t-1])||void 0===o?void 0:o.children)||[],l,z);a&&e.push(a)}}),e}return[]},[z,f,a,B]),G=(0,r.useMemo)(()=>{if(0===F.length)return null;let e="";return F.forEach((a,l)=>{e+="".concat(l>0?Z:"").concat(a.label)}),e},[F,Z]),W=(0,r.useCallback)(e=>{if(!e||0===e.length){void 0!==b?null==O||O(b):null==O||O(void 0),R(!1);return}let a=e.filter(e=>null!==e);if(0===a.length){null==O||O(void 0),R(!1);return}U(a[0],a.slice(1)),R(!1)},[U,O,b]),q=(0,r.useMemo)(()=>!(!G||0===F.length||(0,u.Kn)(b)&&(0,u.Kn)(z)&&1===F.length&&F[0].value===b[f[0]]),[G,F,z,b,f]),Y=(0,r.useCallback)(e=>{e.stopPropagation(),void 0!==b?null==O||O({...f.reduce((e,a)=>({...e,[a]:void 0}),{})}):null==O||O({...f.reduce((e,a)=>({...e,[a]:void 0}),{})}),R(!1)},[O,b]),X=(0,r.useCallback)(e=>{R(e)},[]),Q=(0,r.useCallback)(e=>e.closest(".ant-popover-content")||e.parentElement||document.body,[]),J=(0,t.jsx)("div",{onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",className:_().popCascader,children:(0,t.jsx)(s.Z,{options:a,value:K,onChange:W,expandTrigger:E,changeOnSelect:!0,open:!0,getPopupContainer:Q,popupClassName:_().cascaderDropdown,...M})}),$=l||(0,t.jsxs)("div",{ref:V,className:"flex flex-col gap-3 ".concat(k?"cursor-not-allowed opacity-50":"cursor-pointer"),children:[x&&(0,t.jsxs)("div",{className:"flex items-center gap-2 h-6",children:[v&&(0,t.jsx)("div",{className:"flex-shrink-0 flex items-center justify-center text-fmblack",children:v}),(0,t.jsx)("span",{className:"text-fmblack text-sm font-semibold leading-6 tracking-tight",children:x}),N&&(0,t.jsx)(i.Z,{placement:D,title:N,children:(0,t.jsx)(o.Z,{className:"ml-1 cursor-pointer",style:{color:"#d4d9e0"}})})]}),q&&G&&(0,t.jsxs)("div",{className:(0,p.cn)("group border-l-2 border-vi px-2 hover:bg-vi/10 text-[#101828] text-sm font-normal leading-[18px] flex items-center justify-between gap-2","small"===S?"":"ml-2"),children:[(0,t.jsx)("div",{className:"truncate",title:G,children:G}),(0,t.jsx)("button",{type:"button",onClick:Y,className:"flex-shrink-0 flex items-center justify-center","aria-label":"å é¤",children:(0,t.jsx)(m.Z,{className:"w-4 h-4"})})]})]});return k?(0,t.jsx)("div",{className:"cursor-not-allowed opacity-50",children:$}):(0,t.jsx)(c.Z,{open:L,onOpenChange:X,trigger:"click",placement:"bottomLeft",content:J,overlayClassName:_().popoverOverlay,...I,children:$})}},82577:function(e,a,l){"use strict";l.d(a,{Z:function(){return C}});var t=l(298948),o=l(205192),n=l(864883),r=l(208401),s=l(207392),i=l(522674),c=l(195774),d=l(912024),u=l(135925),p=l(123645),m=l(137338),h=l(769806),_=l(761127),x=l(633670),v=l(73884),g=l(962193);l(95629);let f=Number.MAX_SAFE_INTEGER||999999999999999;var y=e=>{let{value:a,onChange:l,onConfirm:n,prompt:y="",placeholder:C="è¯·éæ©æè¾å
¥",separator:j="-",className:b="",style:w={},rangeOptions:k,minRange:N=0,maxRange:D=f,unit:Z="",showReset:E=!0,resetKey:T,isSupportDecimal:S=!1,children:M,title:P,icon:I,wholeValue:L,disabled:R,tooltip:V,tooltipPlacement:A="top",size:H="default",...O}=e,U=(0,i.useTranslations)(),z=S?.1:1,[K,B]=(0,o.useState)(!1),F=(0,o.useRef)(a),[G,W]=(0,o.useState)(()=>{var e,l,t,o;return{min:null!==(e=null==a?void 0:a.min)&&void 0!==e?e:null,max:null!==(l=null==a?void 0:a.max)&&void 0!==l?l:null,key:null!==(t=null==a?void 0:a.key)&&void 0!==t?t:"",label:null!==(o=null==a?void 0:a.label)&&void 0!==o?o:C}}),[q,Y]=(0,o.useState)(()=>{var e,l,t;return{min:null!==(e=null==a?void 0:a.min)&&void 0!==e?e:null,max:null!==(l=null==a?void 0:a.max)&&void 0!==l?l:null,key:null!==(t=null==a?void 0:a.key)&&void 0!==t?t:""}});(0,o.useEffect)(()=>
1{if(a!==F.current){var e,l,t,o;let n={min:null!==(e=null==a?void 0:a.min)&&void 0!==e?e:null,max:null!==(l=null==a?void 0:a.max)&&void 0!==l?l:null,key:null!==(t=null==a?void 0:a.key)&&void 0!==t?t:"",label:null!==(o=null==a?void 0:a.label)&&void 0!==o?o:C};W(n),Y({min:n.min,max:n.max,key:n.key}),F.current=a}},[a,C]);let{min:X,max:Q,key:J}=K?{min:q.min,max:q.max,key:q.key}:{min:G.min,max:G.max,key:G.key},$=e=>{if(!e)return C;if(e.label)return e.label;let{min:a,max:l}=e;return(0,r.O)(a,l,Z,C,j)},ee=(k||[]).map(e=>({...e,label:$(e)})),ea=e=>ee.find(a=>a.key===e),el=e=>{if(!e)return C;if(e.key){let a=ea(e.key);if(a)return $(a)}let{min:a,max:l}=e;return(0,r.O)(a,l,Z,C,j)},et=G.label,eo=(0,o.useMemo)(()=>!!a&&(!!a.key||null!==a.min||null!==a.max)&&(void 0===L||a.key!==String(L))&&a.label!==C,[a,L,C]),en=e=>{if(null==e)return null;let a="string"==typeof e?Number.parseInt(e.replace(/\D/g,""),10):e;return Number.isNaN(a)?null:a},er=e=>{if(null==e||""===e)return"";let a="string"==typeof e?Number.parseFloat(e):e;return Number.isNaN(a)?"":a.toString()},es=e=>{if(!e)return 0;let a=Number.parseFloat(S?e.replace(/[^\d.]/g,""):e.replace(/\D/g,""));return Number.isNaN(a)?0:a},ei=e=>{Y(a=>({...a,...e}))},ec=()=>{Y({min:G.min,max:G.max,key:G.key})},ed=e=>{let a=ea(e.key);a&&ei({min:a.min,max:a.max,key:a.key})},eu=(0,t.jsx)("div",{className:"fm-range-dropdown-content p-2 bg-white w-full",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(c.Z,{direction:"vertical",size:4,className:"fm-range-dropdown-content-menu w-full",children:null==ee?void 0:ee.map(e=>{let a=e.key===J||e.min===X&&e.max===Q;return(0,t.jsx)("div",{className:(0,x.cn)("fm-range-dropdown-option",a&&"active"),onClick:()=>ed({key:e.key}),style:{textAlign:"left",display:"block"},children:e.label},e.key)})}),(0,t.jsxs)("div",{className:"pb-2",children:[(0,t.jsx)(d.Z,{style:{marginTop:4,marginBottom:8}}),(0,t.jsxs)(u.Z,{align:"center",justify:"space-between",style:{marginBottom:8},children:[(0,t.jsx)(p.Z,{value:null===q.min?void 0:q.min,onChange:e=>{ei({min:en(e),key:""})},formatter:e=>er(e),parser:e=>es(e)||0,min:N,max:null===q.max?D:Math.min(D,q.max-z),step:z}),(0,t.jsx)("div",{className:"text-center h-8 flex items-center justify-center px-2",children:j}),(0,t.jsx)(p.Z,{value:null===q.max?void 0:q.max,onChange:e=>{ei({max:en(e),key:""})},formatter:e=>er(e),parser:e=>es(e)||0,min:null===q.min?N:Math.max(N,q.min+z),max:D,step:z})]}),(0,t.jsxs)(u.Z,{align:"center",gap:14,children:[E&&(0,t.jsx)(m.ZP,{block:!0,onClick:()=>{if(T){let e=ea(T);if(e){ei({min:e.min,max:e.max,key:e.key});return}}ei({min:null,max:null,key:""})},children:U("component.Reset")}),(0,t.jsx)(m.ZP,{type:"primary",block:!0,onClick:e=>{null==e||e.stopPropagation(),null==e||e.preventDefault();let a={min:q.min,max:q.max,key:q.key,label:el(q)};B(!1);let t=a.min,o=a.max;if(null!==t&&null!==o&&t>o)return;null===t&&null!==o&&(t=0);let r={min:t,max:o,key:a.key,label:a.label};null==l||l(r),null==n||n(r)},children:U("component.Confirm")})]})]})]})});return(0,t.jsx)(h.Z,{className:"fm-range-dropdown",open:K,onOpenChange:e=>{B(e),e?Y({min:G.min,max:G.max,key:G.key}):ec()},trigger:["click"],placement:"bottomLeft",dropdownRender:()=>eu,overlayStyle:{minWidth:240},destroyOnHidden:!1,disabled:R,...O,children:M||(0,t.jsxs)("div",{className:(0,x.cn)("flex flex-col","small"===H?"gap-1":"gap-3",R?"cursor-not-allowed opacity-50":"cursor-pointer"),style:w,children:[P&&(0,t.jsxs)("div",{className:"flex items-center gap-2 h-6",children:[I&&(0,t.jsx)("div",{className:"flex-shrink-0 flex items-center justify-center text-fmblack",children:I}),(0,t.jsx)(v.default,{className:"text-fmblack text-sm font-semibold leading-6 tracking-[-0.3125px]",children:P}),V&&(0,t.jsx)(_.Z,{placement:A,title:V,children:(0,t.jsx)(s.Z,{className:"ml-1 cursor-pointer",style:{color:"#d4d9e0"}})})]}),eo&&(0,t.jsxs)("div",{className:(0,x.cn)("group border-l-2 border-vi px-2 hover:bg-vi/10 text-[#101828] text-sm font-normal leading-[18px] flex items-center justify-between gap-2","small"===H?"":"ml-2"),children:[(0,t.jsx)("div",{className:"truncate",children:et}),(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation();let a={min:null,max:null,key:void 0!==L?String(L):"",label:C};null==l||l(a),null==n||n(a)},className:"flex-shrink-0 flex items-center justify-center","aria-label":"å é¤",children:(0,t.jsx)(g.Z,{className:"w-4 h-4"})})]})]})})};function C(e){let{field:a,valueType:l,wholeValue:s,isTablePage:i,options:c,...d}=e,{value:u,onChange:p}=(0,n.Z)({field:a,valueType:l,wholeValue:s,isTablePage:i}),m=e=>null===e?-1:e,h=e=>e>=0?e:null,_=(0,o.useMemo)(()=>c.map(e=>{let{placeholder:a,separator:l,unit:t=""}=d,o=e.value;if("string"==typeof o&&o.includes(",")){let[n,s]=o.split(",").map(Number).map(h);return{key:e.value,min:n,max:s,label:e.label||(0,r.O)(n,s,t,a,l)}}return{key:e.value,min:null,max:null,label:e.label||(0,r.O)(null,null,t,a,l)}}),[c,d.placeholder,d.separator,d.unit]),x=(0,o.useMemo)(()=>
1{if("string"==typeof u&&u.includes(",")){let{placeholder:e,separator:a,unit:l=""}=d,[t,o]=u.split(",").map(Number).map(h),n=(0,r.O)(t,o,l,e,a),s=_.find(e=>e.min===t&&e.max===o);return s?{label:s.label||n,key:s.key,min:t,max:o}:{label:n,key:"",min:t,max:o}}return{label:d.placeholder,key:"",min:null,max:null}},[u,_,d.placeholder,d.separator,d.unit]);return(0,t.jsx)(y,{value:x,onChange:e=>{let a=e.key||"".concat(m(e.min),",").concat(m(e.max));"-1,-1"===a&&(a=s),null==p||p(a)},rangeOptions:_,wholeValue:s,...d})}},125399:function(e,a,l){"use strict";l.d(a,{h:function(){return r}});var t=l(298948);l(205192);var o=l(909573),n=l(713100);let r=e=>{let{ariaLabel:a="Icon Button",children:l,classNames:r,...s}=e;return(0,t.jsx)(o.A,{isIconOnly:!0,"aria-label":a,className:(0,n.Z)("w-[28px] h-[28px] min-w-[28px] rounded-[8px] border-1 hover:text-vi hover:bg-fmpink border-fmsgray hover:border-fmdpink",{"bg-[#fafafa]":(null==s?void 0:s.variant)!=="light"},r),...s,children:l})};a.Z=r},267940:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return y}});var t=l(298948),o=l(205192),n=l(522674),r=l(728846),s=l(245066),i=l(137338),c=l(313325),d=l(498391),u=l(902339),p=l(81942),m=l(819040),h=l(614363),_=l(76838),x=l(962706),v=l(730453),g=l.n(v);let{Option:f}=s.default;function y(e){let{isShowAvatar:a=!0,title:l,avatar:v,size:y="small",onClick:C,className:j}=e,b=(0,n.useLocale)(),{copyText:w}=(0,u.V)({}),k=(0,n.useTranslations)(),[N,D]=(0,o.useState)(b!==h.S.ZH?h.S.EN:h.S.ZH),[Z,E]=(0,o.useState)(),[T,S]=(0,o.useState)(!1),[M,P]=(0,o.useState)([{code:"zh",name:"common.lang.zh"},{code:"en",name:"common.lang.en"}]),[I,L]=(0,o.useState)(!1),R=async()=>{if(l&&N){var e;S(!0);let{value:a}=await _.O.single((0,p.h)({text:[l],target:N}));S(!1),a.code===m.WY.SUCCESS&&(null===(e=a.data)||void 0===e?void 0:e.join(""))?E(a.data.join("")):E("ç®å没æç¸å
³ç¿»è¯ç»æï¼è¯·ç¨åéè¯~")}};return((0,o.useEffect)(()=>{E(void 0),I&&N&&R()},[I,N]),"en"===b)?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.ZP,{type:"text",size:y||"small",onClick:e=>{e.preventDefault(),e.stopPropagation(),C&&C(),L(!0)},className:j,children:(0,t.jsx)(x.Z,{className:"text-[#57626F] hover:text-primary text-sm "})}),(0,t.jsx)(c.Z,{open:I,onCancel:e=>{e.stopPropagation(),L(!1)},footer:null,children:(0,t.jsxs)("div",{className:g().container,onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex mb-5 items-start",children:[a&&(0,t.jsx)(r.J,{src:v,removeWrapper:!0,alt:l,className:g().liveImg}),(0,t.jsx)("span",{className:"px-3 py-5 text-base text-fmblack overflow-hidden",dangerouslySetInnerHTML:{__html:null!=l?l:""}})]}),(0,t.jsx)(s.default,{className:"min-w-[100px] !mb-5 !rounded-md",value:N,onChange:e=>{D(e)},children:null==M?void 0:M.map(e=>(0,t.jsx)(f,{children:k("common.lang.".concat(e.code))},e.code))}),(0,t.jsx)("div",{className:"relative rounded-md border border-solid border-fmgray text-base px-6 py-5 ",children:(0,t.jsxs)(d.Z,{loading:T,active:!0,paragraph:{rows:1},children:[(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:null!=Z?Z:""}}),(0,t.jsx)(i.ZP,{size:"small",className:"!absolute right-2 bottom-1 p-0 h-[22px] min-w-0 px-3",onClick:()=>w(Z||""),children:k("common.copy.label")})]})})]})})]})}},178177:function(e,a,l){"use strict";var t=l(298948);a.Z=e=>(0,t.jsxs)("svg",{...e,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",children:[(0,t.jsx)("path",{d:"M512 170.667q42.667 0 42.667 42.666V640q0 42.667-42.667 42.667T469.333 640V213.333q0-42.666 42.667-42.666z",fill:"#FE2062"}),(0,t.jsx)("path",{d:"M810.667 341.333h-85.334v85.334h85.334V768H213.333V426.667h85.334v-85.334h-85.334A85.333 85.333 0 0 0 128 426.667V768a85.333 85.333 0 0 0 85.333 85.333h597.334A85.333 85.333 0 0 0 896 768V426.667a85.333 85.333 0 0 0-85.333-85.334z m-322.56-232.106L356.693 240.64a34.133 34.133 0 0 0 24.32 58.027h261.974a34.133 34.133 0 0 0 24.32-58.027L535.893 109.227a33.707 33.707 0 0 0-47.786 0z",fill:"#FE2062"})]})},968220:function(e,a,l){"use strict";var t=l(298948);a.Z=(e,a)=>{let{className:l}=e;return(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"11.5",fill:"#FFF0DE",stroke:"#FFC47F"}),(0,t.jsx)("g",{clipPath:"url(#clip0_651_4)",children:(0,t.jsx)("path",{d:"M10.056 15.4559C10.3495 15.4551 10.6316 15.5693 10.842 15.7739C10.9423 15.8742 11.022 15.9916 11.082 16.1279C11.142
116.2642 11.172 16.4082 11.172 16.5599C11.172 16.7116 11.142 16.8556 11.082 16.9919C11.022 17.1282 10.9423 17.2456 10.842 17.3459C10.7417 17.4462 10.6243 17.5259 10.488 17.5859C10.3517 17.6459 10.2077 17.6759 10.056 17.6759C9.8957 17.6759 9.74741 17.6459 9.61198 17.5859C9.48006 17.5287 9.35999 17.4473 9.25798 17.3459C9.15662 17.2439 9.07522 17.1238 9.01798 16.9919C8.95797 16.8558 8.9273 16.7086 8.92798 16.5599C8.92798 16.4082 8.95798 16.2642 9.01798 16.1279C9.07798 15.9916 9.1577 15.8742 9.25798 15.7739C9.3592 15.6731 9.47956 15.5935 9.61198 15.5399C9.74827 15.4842 9.8957 15.4559 10.056 15.4559ZM15.048 15.4799C15.1997 15.4799 15.3463 15.5082 15.486 15.5639C15.6257 15.6196 15.7457 15.6976 15.846 15.7979C15.9463 15.8982 16.026 16.0156 16.086 16.1519C16.146 16.2882 16.176 16.4322 16.176 16.5839C16.176 16.7356 16.146 16.8796 16.086 17.0159C16.026 17.1522 15.9463 17.2696 15.846 17.3699C15.6339 17.5808 15.3471 17.6994 15.048 17.6999C14.8963 17.6999 14.7523 17.6699 14.616 17.6099C14.4841 17.5527 14.364 17.4713 14.262 17.3699C14.1606 17.2679 14.0792 17.1478 14.022 17.0159C13.962 16.8798 13.9313 16.7326 13.932 16.5839C13.932 16.4322 13.962 16.2882 14.022 16.1519C14.082 16.0156 14.1617 15.8982 14.262 15.7979C14.4724 15.5933 14.7545 15.4791 15.048 15.4799ZM17.064 8.6639C17.2877 8.6639 17.4617 8.6939 17.586 8.7539C17.7103 8.8139 17.7977 8.88762 17.85 8.9759C17.9014 9.06419 17.9263 9.15762 17.922 9.2579C17.9201 9.34544 17.9059 9.43228 17.88 9.5159C17.856 9.5879 17.8037 9.73619 17.724 9.9599C17.6443 10.1836 17.5577 10.4296 17.466 10.6979C17.3743 10.9662 17.2817 11.2319 17.19 11.4959C17.0983 11.7599 17.0237 11.9673 16.968 12.1199C16.8643 12.4396 16.734 12.6616 16.578 12.7859C16.4114 12.9134 16.2057 12.9792 15.996 12.9719H9.69598L9.86398 14.0519H15.924C16.308 14.0519 16.5 14.2156 16.5 14.5439C16.5039 14.6902 16.4642 14.8343 16.386 14.9579C16.3097 15.0736 16.1597 15.1319 15.936 15.1319H9.64798C9.5062 15.1369 9.36616 15.0993 9.24598 15.0239C9.13667 14.9505 9.04455 14.8543 8.97598 14.7419C8.90285 14.6234 8.84442 14.4965 8.80198 14.3639C8.76064 14.238 8.72659 14.1098 8.69998 13.9799C8.69141 13.9319 8.66998 13.8162 8.63398 13.6319L8.50198 12.9419C8.37987 12.2919 8.25787 11.6419 8.13598 10.9919C7.98427 10.1836 7.81198 9.28362 7.61998 8.2919H6.71998C6.61279 8.29583 6.50731 8.26419 6.41998 8.2019C6.34099 8.143 6.27381 8.06971 6.22198 7.9859C6.1704 7.90295 6.13384 7.81155 6.11398 7.7159C6.09501 7.62915 6.08496 7.54069 6.08398 7.4519C6.08398 7.29162 6.13798 7.16047 6.24598 7.0559C6.35398 6.95219 6.4997 6.8999 6.68398 6.8999H7.89598C8.05627 6.8999 8.18398 6.9239 8.27998 6.9719C8.36362 7.01132 8.43791 7.06809 8.49791 7.13843C8.55792 7.20878 8.60226 7.29109 8.62798 7.3799L8.68798 7.5839C8.70427 7.64819 8.7197 7.73819 8.73598 7.8539L8.78398 8.2079C8.80798 8.3519 8.83198 8.50362 8.85598 8.6639H17.064Z",fill:"#FFC47F"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_651_4",children:(0,t.jsx)("rect",{width:"12",height:"12",fill:"white",transform:"translate(6 6)"})})})]})}},563700:function(e,a,l){"use strict";var t=l(779167),o=l(154902);a.Z=()=>((0,o.b)(),{exportHeaderRegion:()=>t.Z.get("region")})},522430:function(e,a,l){"use strict";l.d(a,{Z:function(){return t}});let t=(0,l(597858).Z)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},835674:function(e,a,l){"use strict";l.d(a,{Z:function(){return t}});let t=(0,l(597858).Z)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},600374:function(e,a,l){"use strict";l.d(a,{Z:function(){return t}});let t=(0,l(597858).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},374444:function(e,a,l){"use strict";l.d(a,{sr:function(){return o}});var t=l(961261);let o=async e=>(0,t.U2)("/api/search/quickSearch",{...e,region:e.region||"US"})},677685:function(e,a,l){"use strict";l.d(a,{Bj:function(){return h},CX:function(){return u},M_:function(){return m},VS:function(){return c},f1:function(){return n},lC:function(){return p},qy:function(){return i},t9:function(){return s},tf:function(){return o},vV:function(){return _},vs:function(){return d},xT:function(){return r}});var t=l(961261);let o=async e=>(0,t.U2)("/api/shop/countryList",e),n=async e=>(0,t.U2)("/api/shop/v3/search",e),r=async e=>(0,t.U2)("/api/shop/searchMini",e),s=async e=>(0,t.U2)("/api/shop/authorListMini",e),i=async e=>(0,t.U2)("/api/shop/v3/shopList",e),c=async e=>(0,t.U2)("/api/shop/v3/sShopList",e),d=async e=>(0,t.U2)("/api/shop/v3/shopPopList",e),u=async e=>(0,t.U2)("/api/shop/goodsStats",e),p=async e=>(0,t.U2)("/api/shop/V3/categoryInfo",e),m=async e=>(0,t.U2)("/api/shop/authorProduct",e),h=async e=>(0,t.U2)("/api/download/videosearch",e),_=async e=>(0,t.U2)("/api/download/landing",e)},334150:function(){},95629:function(){},897670:function(e){e.exports={dataExportDropdown:"DataExportDropdown_dataExportDropdown__sNNeY",exportButton:"DataExportDropdown_exportButton__70DE8",dataExportDropdownPop
1over:"DataExportDropdown_dataExportDropdownPopover__dqRz9",dataExportDropdownMenu:"DataExportDropdown_dataExportDropdownMenu__Tmi76",dataExportDropdownMenuItem:"DataExportDropdown_dataExportDropdownMenuItem___YmMQ",dataExportDropdownModal:"DataExportDropdown_dataExportDropdownModal__bUqyX",dataExportDropdownModalCompact:"DataExportDropdown_dataExportDropdownModalCompact__UbZKN",dataExportDropdownActions:"DataExportDropdown_dataExportDropdownActions__pCPQy",dataExportDropdownLimit:"DataExportDropdown_dataExportDropdownLimit__cXO20",dataExportDropdownLimitIcon:"DataExportDropdown_dataExportDropdownLimitIcon__bJYgo",dataExportDropdownLimitTitle:"DataExportDropdown_dataExportDropdownLimitTitle___riIC",dataExportDropdownLimitDesc:"DataExportDropdown_dataExportDropdownLimitDesc__COYX0",dataExportDropdownRangeCard:"DataExportDropdown_dataExportDropdownRangeCard__3swVr",dataExportDropdownRangeCardActive:"DataExportDropdown_dataExportDropdownRangeCardActive___6S_z",dataExportDropdownRangeCardCustom:"DataExportDropdown_dataExportDropdownRangeCardCustom__XLdDn",dataExportDropdownRangeCardAll:"DataExportDropdown_dataExportDropdownRangeCardAll__zQ__x",dataExportDropdownRangeCardHead:"DataExportDropdown_dataExportDropdownRangeCardHead__i5uTq",dataExportDropdownRangeCardTitle:"DataExportDropdown_dataExportDropdownRangeCardTitle__ujpDu",dataExportDropdownRangeCardTag:"DataExportDropdown_dataExportDropdownRangeCardTag__gRMEB",dataExportDropdownRangeCardSummary:"DataExportDropdown_dataExportDropdownRangeCardSummary___gvKT",dataExportDropdownRangeCardPages:"DataExportDropdown_dataExportDropdownRangeCardPages___vuxe",dataExportDropdownDisabledTip:"DataExportDropdown_dataExportDropdownDisabledTip__zDPr_"}},404154:function(e){e.exports={searchWrap:"search-bar-v3_searchWrap__jOvb9",searchBar:"search-bar-v3_searchBar__TZc2h",focused:"search-bar-v3_focused__QiOcX",magIcon:"search-bar-v3_magIcon__C0I_I",input:"search-bar-v3_input__B62sP",tools:"search-bar-v3_tools__dHuNa",toolBtn:"search-bar-v3_toolBtn__JVRZL",sep:"search-bar-v3_sep____iYy",goBtn:"search-bar-v3_goBtn__34Gqf",clearInputBtn:"search-bar-v3_clearInputBtn__pORT_",dropdown:"search-bar-v3_dropdown__Ta6qV",sectionHeader:"search-bar-v3_sectionHeader__P934U",sectionNote:"search-bar-v3_sectionNote__odG_b",clearBtn:"search-bar-v3_clearBtn__U3QTU",divider:"search-bar-v3_divider__zlx2W",recentChips:"search-bar-v3_recentChips__7PpIi",recentChip:"search-bar-v3_recentChip__Z4D7k",chipClose:"search-bar-v3_chipClose__WXr12",trendList:"search-bar-v3_trendList___tud_",trendItem:"search-bar-v3_trendItem__8h8GY",trendRank:"search-bar-v3_trendRank__16cPu",trendTop:"search-bar-v3_trendTop__rEkg_",trendWord:"search-bar-v3_trendWord__np6Tk",trendTopWord:"search-bar-v3_trendTopWord__yPEdS",trendHot:"search-bar-v3_trendHot__C8rIj",trendViews:"search-bar-v3_trendViews__nDFYq",suggestSearchIcon:"search-bar-v3_suggestSearchIcon__Hd_IY",suggestGroup:"search-bar-v3_suggestGroup__Ndw7R",suggestHeader:"search-bar-v3_suggestHeader__yhHRi",suggestViewAll:"search-bar-v3_suggestViewAll__Y5vN0",suggestRow:"search-bar-v3_suggestRow__jXGqr",suggestThumb:"search-bar-v3_suggestThumb__JXpe_",circle:"search-bar-v3_circle__Whjrj",suggestContent:"search-bar-v3_suggestContent__9H8Ud",suggestName:"search-bar-v3_suggestName__q9K_u",suggestHighlight:"search-bar-v3_suggestHighlight__uuVOQ",suggestMeta:"search-bar-v3_suggestMeta__jIEGU",suggestFooter:"search-bar-v3_suggestFooter__q5ywh",resultSection:"search-bar-v3_resultSection__otErt",resultSectionHeader:"search-bar-v3_resultSectionHeader__GaHp_",resultSectionDot:"search-bar-v3_resultSectionDot__3KAg5",resultItem:"search-bar-v3_resultItem__E5Qt0",resultAvatar:"search-bar-v3_resultAvatar__wwMYz",resultAvatarImg:"search-bar-v3_resultAvatarImg__Q2hhU",resultInfo:"search-bar-v3_resultInfo__OMr1r",resultTitle:"search-bar-v3_resultTitle__MCz_O",resultSubtitle:"search-bar-v3_resultSubtitle__a8HsS",noDataWrap:"search-bar-v3_noDataWrap__mZ2J6",noDataIconWrap:"search-bar-v3_noDataIconWrap__9YEEO",noDataIcon:"search-bar-v3_noDataIcon__v1QHq",noDataTitle:"search-bar-v3_noDataTitle__g0jo6",noDataHint:"search-bar-v3_noD
1ataHint__iThwA",loadingDots:"search-bar-v3_loadingDots__Kr6HX",loadingDot:"search-bar-v3_loadingDot__YuCh5"}},72386:function(e){e.exports={table:"search-table_table__NksPo"}},463123:function(e){e.exports={popCascader:"PopCascader_popCascader__O6w0v",popoverOverlay:"PopCascader_popoverOverlay__PQRBh",cascaderDropdown:"PopCascader_cascaderDropdown__bJxFe"}},730453:function(e){e.exports={liveImg:"Translator_liveImg__NlcXU",infoBox:"Translator_infoBox__NS0us",title:"Translator_title__8COV7",container:"Translator_container__M8gQd",liveTitle:"Translator_liveTitle__Wap2_",copyBtn:"Translator_copyBtn__7lnV5",fd_translate:"Translator_fd_translate__E_d2_"}}},function(e){e.O(0,[7495,56069,79019,65348,22674,10676,61002,64443,37338,24542,85462,44676,46567,36786,70311,39034,72799,18165,61127,58577,92049,3879,40288,53531,76962,27335,9573,13325,57172,73666,85693,13516,73118,43882,38327,69806,87104,65797,89088,92681,76509,23645,98869,91337,11624,33839,15045,90766,5863,19040,29251,73793,37423,1633,12283,84855,24559,55237,27147,3601,1744],function(){return e(e.s=686866)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.