PageSourceSearch

https://sellerpro.uz/_next/static/chunks/2.02b77019ed27d05f.js

js sellerpro.uz collected 2026-10-02 02:11:15 UTC 12,138 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2],{40257:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(44227)},44227:function(e){!function(){var t={229:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s=[],d=!1,c=-1;function u(){d&&n&&(d=!1,n.length?s=n.concat(s):c=-1,s.length&&f())}function f(){if(!d){var e=l(u);d=!0;for(var t=s.length;t;){for(n=s,s=[];++c<t;)n&&n[c].run();c=-1,t=s.length}n=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function x(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new h(e,t)),1!==s.length||d||l(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=x,i.addListener=x,i.once=x,i.off=x,i.removeListener=x,i.removeAllListeners=x,i.emit=x,i.prependListener=x,i.prependOnceListener=x,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i=n(229);e.exports=i}()},16488:function(e,t,r){"use strict";r.d(t,{c:function(){return l}});var n=r(2265),i=r(31057),o=r(43841),a=["axis"],l=(0,n.forwardRef)((e,t)=>
1n.createElement(o.R,{chartName:"ComposedChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:a,tooltipPayloadSearcher:i.NL,categoricalChartProps:e,ref:t}))},84815:function(e,t,r){"use strict";r.d(t,{zU:function(){return a}});var n=r(2265),i=["children"],o=(0,n.createContext)({data:[],xAxisId:"xAxis-0",yAxisId:"yAxis-0",dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0});function a(e){var{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,i);return n.createElement(o.Provider,{value:r},t)}},60840:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return m}});var n=r(57437),i=r(14296),o=r(16488),a=r(56940),l=r(97059),s=r(62994),d=r(78155),c=r(88822),u=r(52797),f=r(20044),h=r(54920),x=r(15938);function p(e,t){return t&&"USD"===t.ccy&&t.ready?t.compact(e):e>=1e12?(e/1e12).toFixed(2)+" трлн":e>=1e9?(e/1e9).toFixed(1)+" млрд":e>=1e6?(e/1e6).toFixed(1)+" млн":e>=1e3?(e/1e3).toFixed(0)+" тыс":String(Math.round(e))}function v(e){return e>=1e6?(e/1e6).toFixed(2)+" млн":e>=1e3?(e/1e3).toFixed(0)+" тыс":String(Math.round(e))}function m(e){let{data:t,title:r,height:m=320}=e,{t:y}=(0,f.Z)(),g=(0,h.i)({sumLabel:y("common.sum")});if(!t.length)return null;let b=t[0],j=t[t.length-1],k=b.revenue>0?(j.revenue-b.revenue)/b.revenue*100:0,S=b.orders>0?(j.orders-b.orders)/b.orders*100:0,w=y("common.revenue"),T=y("common.sales"),z=t.map(e=>e.revenue),W=t.map(e=>e.orders),A=e=>{let t=Math.min(...e),r=Math.max(...e),n=Math.max((r-t)*.35,.02*r)||1;return[Math.max(0,t-n),r+n]},$=A(z),G=A(W),L=e=>{let{label:t,value:r,unit:i,delta:o,color:a}=e;return(0,n.jsxs)("div",{style:{minWidth:0},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:7},children:[(0,n.jsx)("span",{style:{width:9,height:9,borderRadius:3,background:a,flexShrink:0}}),(0,n.jsx)("span",{style:{fontSize:12,fontWeight:600,color:"var(--text-secondary)"},children:t})]}),(0,n.jsxs)("div",{style:{display:"flex",alignItems:"baseline",gap:8,marginTop:5},children:[(0,n.jsx)("span",{style:{fontSize:24,fontWeight:800,color:"var(--text-primary)",letterSpacing:"-0.02em",fontFeatureSettings:'"tnum"'},children:r}),(0,n.jsx)("span",{style:{fontSize:12,color:"var(--text-muted)"},children:i}),Math.abs(o)>=.1&&(0,n.jsxs)("span",{style:{fontSize:11.5,fontWeight:700,padding:"3px 8px",borderRadius:999,background:o>=0?"rgba(22,163,74,0.10)":"rgba(220,38,38,0.10)",color:o>=0?"#16A34A":"#DC2626"},children:[o>=0?"↑":"↓"," ",Math.abs(o).toFixed(1),"%"]})]})]})};return(0,n.jsxs)("div",{children:[r&&(0,n.jsx)("div",{style:{fontSize:14,fontWeight:600,color:"var(--text-primary)",marginBottom:12},children:r}),(0,n.jsxs)("div",{style:{display:"flex",gap:36,flexWrap:"wrap",marginBottom:16},children:[(0,n.jsx)(L,{label:w,value:p(j.revenue,g),unit:g.unit,delta:k,color:x.G$.revenue}),(0,n.jsx)(L,{label:T,value:v(j.orders),unit:y("header.pcs"),delta:S,color:x.G$.orders})]}),(0,n.jsx)(i.h,{width:"100%",height:m,children:(0,n.jsxs)(o.c,{data:t,margin:{top:10,right:8,bottom:0,left:0},children:[(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"mdRev",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:x.G$.revenue,stopOpacity:.22}),(0,n.jsx)("stop",{offset:"100%",stopColor:x.G$.revenue,stopOpacity:.01})]})}),(0,n.jsx)(a.q,{...x.Rc}),(0,n.jsx)(l.K,{dataKey:"date",...x.Wf}),(0,n.jsx)(s.B,{yAxisId:"money",orientation:"left",tick:{fontSize:11,fill:x.G$.revenue},axisLine:!1,tickLine:!1,width:64,tickCount:5,domain:$,tickFormatter:e=>p(e,g),label:{value:`${w}, ${g.unit}`,angle:-90,position:"insideLeft",style:{fontSize:11,fill:x.G$.revenue,fontWeight:600,textAnchor:"middle"}}}),(0,n.jsx)(s.B,{yAxisId:"count",orientation:"right",tick:{fontSize:11,fill:x.G$.orders},axisLine:!1,tickLine:!1,width:62,tickCount:5,domain:G,tickFormatter:e=>v(e),label:{value:`${T}, ${y("header.pcs")}`,angle:90,position:"insideRight",style:{fontSize:11,fill:x.G$.orders,fontWeight:600,textAnchor:"middle"}}}),(0,n.jsx)(d.u,{content:(0,n.jsx)(function(e){var t;let{active:r,payload:i,label:o}=e;if(!r||!(null==i?void 0:i.length))return null;let a=null===(t=i[0])||void 0===t?void 0:t.payload;if(!a)return null;let l=[{label:w,color:x.G$.revenue,value:"USD"===g.ccy?p(a.revenue,g):`${p(a.revenue)} ${y("common.sum")}`},{label:T,color:x.G$.orders,value:`${v(a.orders)} ${y("header.pcs")}`}];return(0,n.jsxs)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:12,padding:"11px 14px",boxShadow:"0 12px 32px rgba(11,7,20,0.16)",minWidth:200},children:[(0,n.jsx)("div",{style:{fontSize:12,fontWeight:700,color:"var(--text-primary)",marginBottom:8},children:o}),l.map(e=>(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"3px 0"},children:[(0,n.jsx)("span",{style:{width:8,height:8,borderRadius:2,background:e.color,flexShrink:0}}),(0,n.jsx)("span",{style:{fontSize:12,color:"var(--text-secondary)",flex:1},children:e.label}),(0,n.jsx)("span",{style:{fontSize:13,fontWeight:700,color:"var(--text-primary)",fontFeatureSettings:'"tnum"',whiteSpace:"nowrap"},children:e.value})]},e.label))]})},{}),cursor:{stroke:"var(--text-muted)",strokeWidth:1,strokeDasharray:"4 4"},wrapperStyle:{outline:"none",zIndex:20}}),(0,n.jsx)(c.uN,{yAxisId:"money",type:"monotone",dataKey:"revenue",name:w,stroke:x.G$.revenue,strokeWidth:2.4,f
1ill:"url(#mdRev)",dot:!1,activeDot:{r:5,strokeWidth:2,stroke:"var(--card)",fill:x.G$.revenue},isAnimationActive:!1}),(0,n.jsx)(u.x1,{yAxisId:"count",type:"monotone",dataKey:"orders",name:T,stroke:x.G$.orders,strokeWidth:2.4,dot:!1,activeDot:{r:5,strokeWidth:2,stroke:"var(--card)",fill:x.G$.orders},isAnimationActive:!1})]})}),(0,n.jsx)("div",{style:{fontSize:11,color:"var(--text-muted)",marginTop:8},children:"Слева — деньги, справа — штуки. Продавцов и активные SKU смотрите в соседних вкладках."})]})}},15938:function(e,t,r){"use strict";r.d(t,{G$:function(){return i},Ov:function(){return l},Rc:function(){return o},V_:function(){return u},Wf:function(){return a},Z9:function(){return d},dO:function(){return f},fK:function(){return s},h7:function(){return h},th:function(){return p},yM:function(){return c}});var n=r(57437);let i={revenue:"#5B5BF5",orders:"#F59E0B",stock:"#7549E7",price:"#0EA5E9",profit:"#16A34A",loss:"#DC2626",sellers:"#DB2777",neutral:"#94A3B8"},o={strokeDasharray:"3 3",stroke:"var(--border)",vertical:!1},a={tick:{fontSize:11,fill:"var(--text-muted)"},axisLine:!1,tickLine:!1,tickMargin:8,minTickGap:24},l={tick:{fontSize:11,fill:"var(--text-muted)"},axisLine:!1,tickLine:!1,width:52};function s(e){let t=e>12;return{...a,interval:e>40?"preserveStartEnd":0,angle:t?-35:0,textAnchor:t?"end":"middle",height:t?64:28,tick:{fontSize:t?10:11,fill:"var(--text-muted)"}}}let d=2,c=e=>e<=8?56:e<=16?40:e<=30?26:16,u={fill:"var(--hover)"},f={stroke:"var(--border)",strokeWidth:1,strokeDasharray:"4 4"};function h(e){var t;let{active:r,payload:i,label:o,rows:a,footer:l}=e;if(!r||!(null==i?void 0:i.length))return null;let s=(null===(t=i[0])||void 0===t?void 0:t.payload)||{},d=(null==a?void 0:a.length)?a:i.map(e=>({key:e.dataKey,label:e.name||e.dataKey,color:e.color||e.stroke||e.fill})),c=(e,t)=>{let r=Number(e);return Number.isFinite(r)?t.format?t.format(r):r.toLocaleString("ru-RU"):"—"};return(0,n.jsxs)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:10,padding:"9px 12px",boxShadow:"0 8px 26px rgba(0,0,0,.14)",fontSize:12.5,minWidth:168,lineHeight:1.5},children:[null!=o&&(0,n.jsx)("div",{style:{color:"var(--text-secondary)",fontSize:11.5,marginBottom:6},children:o}),d.map(e=>(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,justifyContent:"space-between"},children:[(0,n.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:6,color:"var(--text-secondary)"},children:[(0,n.jsx)("i",{style:{width:8,height:8,borderRadius:2,background:e.color,flexShrink:0}}),e.label]}),(0,n.jsx)("b",{style:{color:"var(--text-primary)",fontVariantNumeric:"tabular-nums"},children:c(s[e.key],e)})]},e.key)),l&&(0,n.jsx)("div",{style:{marginTop:6,paddingTop:6,borderTop:"1px solid var(--border)",color:"var(--text-secondary)",fontSize:11.5},children:l(s)})]})}function x(e){let{items:t}=e;return(0,n.jsx)("div",{style:{display:"flex",gap:14,flexWrap:"wrap",alignItems:"center",fontSize:11.5,color:"var(--text-secondary)"},children:t.map(e=>(0,n.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:6},title:e.hint,children:["line"===e.kind?(0,n.jsx)("i",{style:{width:14,height:2,borderRadius:2,background:e.color}}):(0,n.jsx)("i",{style:{width:9,height:9,borderRadius:2,background:e.color,opacity:"area"===e.kind?.5:1}}),e.label]},e.label))})}function p(e){let{title:t,subtitle:r,legend:i,actions:o,children:a,height:l}=e;return(0,n.jsxs)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:"var(--radius, 14px)",padding:18,boxShadow:"var(--shadow-sm)"},children:[(t||i||o)&&(0,n.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:14,marginBottom:12,flexWrap:"wrap"},children:[(0,n.jsxs)("div",{style:{minWidth:0},children:[t&&(0,n.jsx)("div",{style:{fontSize:14,fontWeight:700,color:"var(--text-primary)",letterSpacing:"-0.01em"},children:t}),r&&(0,n.jsx)("div",{style:{fontSize:12,color:"var(--text-secondary)",marginTop:2},children:r}),i&&i.length>0&&(0,n.jsx)("div",{style:{marginTop:8},children:(0,n.jsx)(x,{items:i})})]}),o]}),(0,n.jsx)("div",{style:{height:l},children:a})]})}}}]);

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.