import{i as vd,a as po,r as no,j as tg,b as qt,f as Ae,s as Sm,v as xm,k as Bs,h as eg,F as nn,d as nt,_ as cl,x as rg,y as ag,g as BI,z as VI,t as Pr,A as Tb,n as Rr,p as ng,o as Ab,l as zI,w as GI,c as wi,e as Eo,q as FI}from"./index-5TCV-P8c.js";import{g as HI,a as WI,s as $I,b as UI,c as YI,d as ZI,o as XI}from"./api-70K3A_Wv.js";import{_ as Cb,a as ig,b as og}from"./ZHB-8cmnZlCw.js";import{m as cd}from"./mitt-Efd5K_Pa.js";import"./axios-QLjAsgXu.js";const qI="/yusi/assets/PHBSJ-HwnbdvCQ.png",KI=nt("img",{class:"img-cls",src:qI,alt:""},null,-1),QI={key:0,class:"user-rank",style:{width:"98%"}},JI={__name:"bottomRight",props:{code:Object},setup(r){const e=vd(!0),t=po();HI({...t.area,date:t.date}).then(o=>{console.log("===",o),a(n,o.data)});const a=(o,s)=>{let l=[];return s==null||s.forEach((u,f)=>{var h;((h=u.order_id)==null?void 0:h.length)>12&&(u.order_id=u.order_id.substring(0,8)+"****"+u.order_id.substring(12)),o.data.push([`
>>1;r[n][1]e){i?t.push(o(i,l,e)):n&&t.push(o(n,l,0),o(n,l,e));break}else n&&(t.push(o(n,l,0)),n=null),t.push(l),i=l}return t}function Xz(r,e,t){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&e.type==="cartesian2d"){for(var n,i,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(n=s&&s.coordDim,n==="x"||n==="y"){i=a[o];break}}if(i){var l=e.getAxis(n),u=G(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var v=Zz(u,n==="x"?t.getWidth():t.getHeight()),c=v.length;if(!c&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var d=10,p=v[0].coord-d,g=v[c-1].coord+d,y=g-p;if(y<.001)return"transparent";C(v,function(_){_.offset=(_.coord-p)/y}),v.push({offset:c?v[c-1].offset:.5,color:h[1]||"transparent"}),v.unshift({offset:c?v[0].offset:.5,color:h[0]||"transparent"});var m=new nr(0,0,0,0,v,!0);return m[n]=p,m[n+"2"]=g,m}}}function qz(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&Kz(i,e))){var o=e.mapDimension(i.dim),s={};return C(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function Kz(r,e){var t=r.getExtent(),a=Math.abs(t[1]-t[0])/r.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),o=0;o=0;i--)a[i]==null&&(delete t[e[i]],e.pop())}function yc(r,e){var t=r.visual,a=[];tt(t)?ol(t,function(i){a.push(i)}):t!=null&&a.push(t);var n={color:1,symbol:1};!e&&a.length===1&&!n.hasOwnProperty(r.type)&&(a[1]=a[0]),NM(r,a)}function bu(r){return{applyVisual:function(e,t,a){var n=this.mapValueToVisual(e);a("color",r(t("color"),n))},_normalizedToVisual:Ap([0,1])}}function BS(r){var e=this.option.visual;return e[Math.round(Lt(r,[0,1],[0,e.length-1],!0))]||{}}function as(r){return function(e,t,a){a(r,this.mapValueToVisual(e))}}function ms(r){var e=this.option.visual;return e[this.option.loop&&r!==Ff?r%e.length:r]}function Nn(){return this.option.visual[0]}function Ap(r){return{linear:function(e){return Lt(e,r,this.option.visual,!0)},category:ms,piecewise:function(e,t){var a=Cp.call(this,t);return a==null&&(a=Lt(e,r,this.option.visual,!0)),a},fixed:Nn}}function Cp(r){var e=this.option,t=e.pieceList;if(e.hasSpecialVisual){var a=Ly.findPieceIndex(r,t),n=t[a];if(n&&n.visual)return n.visual[this.type]}}function NM(r,e){return r.visual=e,r.type==="color"&&(r.parsedVisual=G(e,function(t){var a=Fe(t);return a||[0,0,0,1]})),e}var EF={linear:function(r){return Lt(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var e=this.option.pieceList,t=Ly.findPieceIndex(r,e,!0);if(t!=null)return Lt(t,[0,e.length-1],[0,1],!0)},category:function(r){var e=this.option.categories?this.option.categoryMap[r]:r;return e??Ff},fixed:Zt};function Tu(r,e,t){return r?e<=t:ea&&(a=o));var l=r.area*r.area,u=e*e*t;return l?sl(u*a/l,l/(u*n)):1/0}function GS(r,e,t,a,n){var i=e===t.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=t[s[i]],f=e?r.area/e:0;(n||f>t[l[o]])&&(f=t[l[o]]);for(var h=0,v=r.length;hsH)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!Pc(this,"mousemove"))){var e=this._model,t=e.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function Pc(r,e){var t=r._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}const fH=lH;var hH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var a=this.option;t&&ht(a,t,!0),this._initDimensions()},e.prototype.contains=function(t,a){var n=t.get("parallelIndex");return n!=null&&a.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){C(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){t.hasOwnProperty(a)&&(this.option[a]=t[a])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],a=this.parallelAxisIndex=[],n=Pt(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);C(n,function(i){t.push("dim"+i.get("dim")),a.push(i.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Tt);const vH=hH;var cH=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.type=i||"value",s.axisIndex=o,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e}(Ar);const dH=cH;function xi(r,e,t,a,n,i){r=r||0;var o=t[1]-t[0];if(n!=null&&(n=zi(n,[0,o])),i!=null&&(i=Math.max(i,n??0)),a==="all"){var s=Math.abs(e[1]-e[0]);s=zi(s,[0,o]),n=i=zi(s,[n,i]),a=0}e[0]=zi(e[0],t),e[1]=zi(e[1],t);var l=Rc(e,a);e[a]+=r;var u=n||0,f=t.slice();l.sign<0?f[0]+=u:f[1]-=u,e[a]=zi(e[a],f);var h;return h=Rc(e,a),n!=null&&(h.sign!==l.sign||h.span