0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.148.115.187


Current Path : /var/www/qpms/assets/
Upload File :
Current File : /var/www/qpms/assets/index-BvbigfBp.js

import{V as K,r as l,aX as L,g as Q,af as T,aY as U,c as w,aZ as E,a_ as h}from"./index-D_3WEyIX.js";const j=K.createContext({latestIndex:0}),ee=j.Provider,te=a=>{let{className:i,index:n,children:e,split:s,style:u}=a;const{latestIndex:t}=l.useContext(j);return e==null?null:l.createElement(l.Fragment,null,l.createElement("div",{className:i,style:u},e),n<t&&s&&l.createElement("span",{className:`${i}-split`},s))};var se=function(a,i){var n={};for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&i.indexOf(e)<0&&(n[e]=a[e]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,e=Object.getOwnPropertySymbols(a);s<e.length;s++)i.indexOf(e[s])<0&&Object.prototype.propertyIsEnumerable.call(a,e[s])&&(n[e[s]]=a[e[s]]);return n};const ae=l.forwardRef((a,i)=>{var n,e,s;const{getPrefixCls:u,space:t,direction:V}=l.useContext(Q),{size:c=(n=t==null?void 0:t.size)!==null&&n!==void 0?n:"small",align:N,className:_,rootClassName:I,children:A,direction:S="horizontal",prefixCls:k,split:G,style:H,wrap:R=!1,classNames:v,styles:f}=a,F=se(a,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[d,m]=Array.isArray(c)?c:[c,c],z=E(m),b=E(d),M=h(m),W=h(d),O=T(A,{keepEmpty:!0}),$=N===void 0&&S==="horizontal"?"center":N,o=u("space",k),[X,Y,Z]=U(o),q=w(o,t==null?void 0:t.className,Y,`${o}-${S}`,{[`${o}-rtl`]:V==="rtl",[`${o}-align-${$}`]:$,[`${o}-gap-row-${m}`]:z,[`${o}-gap-col-${d}`]:b},_,I,Z),P=w(`${o}-item`,(e=v==null?void 0:v.item)!==null&&e!==void 0?e:(s=t==null?void 0:t.classNames)===null||s===void 0?void 0:s.item);let y=0;const B=O.map((r,x)=>{var C,g;r!=null&&(y=x);const J=(r==null?void 0:r.key)||`${P}-${x}`;return l.createElement(te,{className:P,key:J,index:x,split:G,style:(C=f==null?void 0:f.item)!==null&&C!==void 0?C:(g=t==null?void 0:t.styles)===null||g===void 0?void 0:g.item},r)}),D=l.useMemo(()=>({latestIndex:y}),[y]);if(O.length===0)return null;const p={};return R&&(p.flexWrap="wrap"),!b&&W&&(p.columnGap=d),!z&&M&&(p.rowGap=m),X(l.createElement("div",Object.assign({ref:i,className:q,style:Object.assign(Object.assign(Object.assign({},p),t==null?void 0:t.style),H)},F),l.createElement(ee,{value:D},B)))}),le=ae;le.Compact=L;export{le as S};