You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

p__Feedback__index.ea611b17.async.js 17KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[325],{64082:function(N,C,e){e.d(C,{Z:function(){return s}});var i=e(87462),u=e(62435),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},v=o,c=e(84089),O=function(h,l){return u.createElement(c.Z,(0,i.Z)({},h,{ref:l,icon:v}))},m=u.forwardRef(O),s=m},21134:function(N,C,e){var i=e(1413),u=e(45987),o=e(62435),v=e(92767),c=e(86074),O=["fieldProps","request","params","proFieldProps"],m=function(h,l){var P=h.fieldProps,t=h.request,x=h.params,f=h.proFieldProps,p=(0,u.Z)(h,O);return(0,c.jsx)(v.Z,(0,i.Z)({valueType:"segmented",fieldProps:P,ref:l,request:t,params:x,filedConfig:{customLightMode:!0},proFieldProps:f},p))},s=o.forwardRef(m);C.Z=s},64317:function(N,C,e){var i=e(1413),u=e(45987),o=e(22270),v=e(62435),c=e(66758),O=e(92767),m=e(86074),s=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],E=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],h=function(p,S){var F=p.fieldProps,y=p.children,R=p.params,G=p.proFieldProps,A=p.mode,I=p.valueEnum,z=p.request,H=p.showSearch,_=p.options,n=(0,u.Z)(p,s),a=(0,v.useContext)(c.Z);return(0,m.jsx)(O.Z,(0,i.Z)((0,i.Z)({valueEnum:(0,o.h)(I),request:z,params:R,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,i.Z)({options:_,mode:A,showSearch:H,getPopupContainer:a.getPopupContainer},F),ref:S,proFieldProps:G},n),{},{children:y}))},l=v.forwardRef(function(f,p){var S=f.fieldProps,F=f.children,y=f.params,R=f.proFieldProps,G=f.mode,A=f.valueEnum,I=f.request,z=f.options,H=(0,u.Z)(f,E),_=(0,i.Z)({options:z,mode:G||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},S),n=(0,v.useContext)(c.Z);return(0,m.jsx)(O.Z,(0,i.Z)((0,i.Z)({valueEnum:(0,o.h)(A),request:I,params:y,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,i.Z)({getPopupContainer:n.getPopupContainer},_),ref:p,proFieldProps:R},H),{},{children:F}))}),P=v.forwardRef(h),t=l,x=P;x.SearchSelect=t,x.displayName="ProFormComponent",C.Z=x},52688:function(N,C,e){var i=e(1413),u=e(45987),o=e(62435),v=e(92767),c=e(86074),O=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],m=o.forwardRef(function(s,E){var h=s.fieldProps,l=s.unCheckedChildren,P=s.checkedChildren,t=s.proFieldProps,x=(0,u.Z)(s,O);return(0,c.jsx)(v.Z,(0,i.Z)({valueType:"switch",fieldProps:(0,i.Z)({unCheckedChildren:l,checkedChildren:P},h),ref:E,valuePropName:"checked",proFieldProps:t,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},x))});C.Z=m},80876:function(N,C,e){var i=e(1413),u=e(64082),o=e(28459),v=e(2058),c=e(62435),O=e(9105),m=e(28614),s=e(86074),E=c.forwardRef(function(l,P){var t=l.fieldProps,x=l.title,f=x===void 0?"\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u8FDB\u884C\u4E0A\u4F20":x,p=l.icon,S=p===void 0?(0,s.jsx)(u.Z,{}):p,F=l.description,y=F===void 0?"\u652F\u6301\u5355\u6B21\u6216\u6279\u91CF\u4E0A\u4F20":F,R=l.action,G=l.accept,A=l.onChange,I=l.value,z=l.children,H=l.max,_=l.proFieldProps,n=(0,c.useContext)(o.ZP.ConfigContext),a=(0,c.useContext)(O.A),d=(_==null?void 0:_.mode)||a.mode||"edit",r=n.getPrefixCls("upload"),j=(H===void 0||!I||(I==null?void 0:I.length)<H)&&d!=="read"&&(_==null?void 0:_.readonly)!==!0;return(0,s.jsxs)(v.Z.Dragger,(0,i.Z)((0,i.Z)({ref:P,name:"files",action:R,accept:G,fileList:I},t),{},{onChange:function(J){A==null||A(J),t!=null&&t.onChange&&(t==null||t.onChange(J))},style:(0,i.Z)((0,i.Z)({},t==null?void 0:t.style),{},{display:j?void 0:"none"}),children:[(0,s.jsx)("p",{className:"".concat(r,"-drag-icon"),children:S}),(0,s.jsx)("p",{className:"".concat(r,"-text"),children:f}),(0,s.jsx)("p",{className:"".concat(r,"-hint"),children:y}),z?(0,s.jsx)("div",{className:"".concat(r,"-extra"),style:{padding:16},children:z}):null]}))}),h=(0,m.G)(E,{getValueFromEvent:function(P){return P.fileList}});C.Z=h},57759:function(N,C,e){var i=e(59530),u=e(55375),o=e(68872),v=e(80876),c=e(86074),O=function(s){var E=s.onUploadComplete,h=s.uploadTxt,l=s.form_name,P=function(x){E&&E(x)};return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(v.Z,{label:h,name:l,icon:null,fieldProps:{fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(x){var f=new FormData;f.append("doc",x.file),console.log(f),(0,i.request)(u.FH+"/common/doc/upload?doctype=1",{method:"post",data:f,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(p){P(p.data.filename)}).catch(function(p){console.log(p),o.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u6587\u4EF6\u7C7B\u578B\uFF0C\u5982\u6709\u7591\u95EE\uFF0C\u8BF7\u54A8\u8BE2\u7BA1\u7406\u5458")})}}})})};C.Z=O},67562:function(N,C,e){var i=e(5574),u=e.n(i),o=e(71167),v=e.n(o),c=e(40190),O=e(62435),m=e(86074),s=function(h){var l=h.defaultValue,P=h.placeholder,t=h.onChange,x=(0,O.useState)(l),f=u()(x,2),p=f[0],S=f[1],F=function(R){S(R),t(R)};return(0,O.useEffect)(function(){if(l){var y=l.replace(/<[^>]*>/g,"");F(y?l:"")}},[l]),(0,m.jsx)("div",{children:(0,m.jsx)(v(),{bounds:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},value:p,onChange:F,theme:"snow",placeholder:P})})};C.Z=s},67119:function(N,C,e){var i=e(59530),u=e(55375),o=e(68872),v=e(32443),c=e(86074),O=function(s){var E=s.onUploadComplete,h=s.uploadTxt,l=s.image_type,P=s.form_name,t=s.image_length,x=s.multiple,f=function(S){E&&E(S)};return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(v.Z,{label:h,name:P,icon:null,title:h,fieldProps:{maxCount:t,multiple:x,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(S){var F=new FormData;F.append("image",S.file),console.log(F),(0,i.request)(u.FH+"/common/image/upload?imgtype="+l,{method:"post",data:F,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(y){f(y.data.filename)}).catch(function(y){console.log(y),o.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}})})};C.Z=O},55375:function(N,C,e){e.d(C,{FH:function(){return c},VO:function(){return v}});var i="Umi Max",u="/web",o="/common";console.log("production");var v="https://admin1.jcjob.cn/img/",c="https://admin1.jcjob.cn/api"},32572:function(N,C,e){e.r(C),e.d(C,{default:function(){return Pe}});var i=e(5574),u=e.n(i),o=e(62435),v=e(59530),c=e(28459),O=e(15009),m=e.n(O),s=e(99289),E=e.n(s),h=e(67211),l=e(14726),P=e(39680),t=e(86074),x=function(g){var T=g.dispatch,q=g.getId,w=g.openModel,U=(0,o.useRef)(),ee=(0,o.useState)([]),V=u()(ee,2),ae=V[0],ie=V[1],le=(0,o.useState)(0),ue=u()(le,2),ce=ue[0],te=ue[1],Ce=(0,o.useState)(1),pe=u()(Ce,2),re=pe[0],X=pe[1],xe=(0,o.useState)(10),se=u()(xe,2),me=se[0],de=se[1],he=function(B){q(B)};return(0,o.useEffect)(function(){w.openModal||U.current.reload()},[w.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.ZP,{theme:{token:{colorPrimary:"#4FBE70",colorLink:"#4FBE70"}},children:(0,t.jsx)(h.Z,{size:"small",bordered:!0,scroll:{x:1300},actionRef:U,dataSource:ae,columns:[{title:"\u7528\u6237",dataIndex:"name"},{title:"\u90AE\u7BB1",dataIndex:"email"},{title:"\u6D88\u606F\u5185\u5BB9",dataIndex:"content"},{title:"\u64CD\u4F5C",width:300,key:"option",valueType:"option",fixed:"right",render:function(B,W,Me){return[(0,t.jsx)(l.ZP,{type:"link",onClick:function(){he(W.id),T({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,t.jsx)(l.ZP,{type:"link",onClick:function(){},children:"\u5220\u9664"},"2")]}}],rowKey:"id",pagination:{current:re,pageSize:me,showSizeChanger:!0,total:ce,pageSizeOptions:[9,18,27,99],onChange:function(B,W){X(B),de(W)},onShowSizeChange:function(B,W){X(B),de(W)}},request:E()(m()().mark(function ne(){var B,W=arguments;return m()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return B=W.length>0&&W[0]!==void 0?W[0]:{},Q.abrupt("return",(0,P.ofO)({page:re,pagesize:me,sort:"id",sortby:"desc",keyword:B.name,customer_id:B.customer_id}).then(function(fe){ie(fe.data.feedbacks),te(fe.data.total)}));case 2:case"end":return Q.stop()}},ne)})),headerTitle:"\u53CD\u9988\u5217\u8868"})})})},f=(0,v.connect)(function(L){var g=L.dictModel,T=L.openModel;return{dictModel:g,openModel:T}})(x),p=e(97269),S=e(5966),F=e(52688),y=e(64317),R=e(19109),G=e(97462),A=e(21134),I=e(17788),z=e(86250),H=e(42075),_=e(68872),n=e(71230),a=e(15746),d=e(98163),r=e(22015),j=e(23323),Y=e(55375),J=e(67119),k=e(57759),ve=e(67562),oe={label:"name",value:"id"},ge=function(g){var T=g.dispatch,q=g.dictModel,w=g.openModel,U=g.id,ee=(0,o.useRef)(),V=(0,o.useState)(!1),ae=u()(V,2),ie=ae[0],le=ae[1],ue=(0,o.useState)(null),ce=u()(ue,2),te=ce[0],Ce=ce[1];(0,o.useEffect)(function(){le(w.openModal)},[w.openModal]);var pe=(0,o.useState)(""),re=u()(pe,2),X=re[0],xe=re[1],se=function(D){xe(D)},me=(0,o.useState)(!1),de=u()(me,2),he=de[0],ne=de[1],B=(0,o.useState)(""),W=u()(B,2),Me=W[0],Q=W[1],fe=function(D){Q(D)},je=(0,o.useState)(""),Fe=u()(je,2),ye=Fe[0],De=Fe[1];return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:(0,t.jsx)(I.Z,{open:ie,title:U?"\u7F16\u8F91\u6587\u7AE0":"\u6DFB\u52A0\u6587\u7AE0",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){T({type:"openModel/getOpenModal",payload:!1})},children:(0,t.jsxs)(p.A,{formRef:ee,request:E()(m()().mark(function Z(){var D;return m()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!U){K.next=7;break}return K.next=3,(0,P.USp)({id:U});case 3:return D=K.sent,K.abrupt("return",D.data);case 7:return K.abrupt("return",{title:"",cover_img:"",doc_url:"",section_id:null,content:"",stick_top:0,hot:0,author:""});case 8:case"end":return K.stop()}},Z)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(D,M){return(0,t.jsxs)(z.Z,{justify:"flex-end",children:[" ",(0,t.jsx)(H.Z,{children:M})]})},onReset:function(){Ce(null),T({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var Z=E()(m()().mark(function D(M){var K,Oe;return m()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(M.cover_img=X||"",console.log(M),!U){b.next=11;break}return M.id=U,b.next=6,(0,P.XcO)(M);case 6:K=b.sent,_.ZP.success("\u63D0\u4EA4\u6210\u529F"),T({type:"openModel/getOpenModal",payload:!1}),b.next=16;break;case 11:return b.next=13,(0,P.qMy)(M);case 13:Oe=b.sent,_.ZP.success("\u63D0\u4EA4\u6210\u529F"),T({type:"openModel/getOpenModal",payload:!1});case 16:case"end":return b.stop()}},D)}));return function(D){return Z.apply(this,arguments)}}(),children:[(0,t.jsx)(S.Z,{label:"\u6587\u7AE0\u6807\u9898",name:"title",placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898"}]}),(0,t.jsxs)(n.Z,{gutter:[16,16],children:[te?(0,t.jsx)(a.Z,{span:4,children:(0,t.jsx)(J.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:se})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a.Z,{span:4,children:(0,t.jsx)(J.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:se})})}),te?(0,t.jsx)(a.Z,{span:4,children:X?(0,t.jsx)(d.Z,{src:"".concat(Y.VO).concat(X),style:{marginBottom:"16px",width:"100px",height:"100px"}}):(0,t.jsx)(d.Z,{src:"".concat(Y.VO).concat(te==null?void 0:te.cover_img),style:{marginTop:"16px",width:"200px",height:"200px"}})}):(0,t.jsx)(t.Fragment,{children:X?(0,t.jsxs)(a.Z,{span:4,children:[" ",(0,t.jsx)(d.Z,{src:"".concat(Y.VO).concat(X),style:{marginTop:"32px",width:"100px",height:"100px"}})," "]}):""})]}),(0,t.jsx)(F.Z,{fieldProps:{checked:he,checkedChildren:"\u5173\u95ED\u4E0A\u4F20\u6587\u4EF6",unCheckedChildren:"\u5F00\u542F\u4E0A\u4F20\u6587\u4EF6",onChange:function(D){ne(D)}}}),he&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.Z,{form_name:"doc_url",uploadTxt:"\u4E0A\u4F20\u6587\u4EF6",onUploadComplete:fe}),(0,t.jsxs)(r.Z.Paragraph,{copyable:!0,children:["\u94FE\u63A5\uFF1A","".concat(Y.VO).concat(Me)]})]}),(0,t.jsx)(y.Z,{showSearch:!0,name:"section_id",label:"\u680F\u76EE/\u9891\u9053",placeholder:"\u8BF7\u9009\u62E9\u680F\u76EE/\u9891\u9053",fieldProps:{fieldNames:oe},request:function(D){return(0,P.DGC)({page:1,pagesize:100,keyword:D.keyWords}).then(function(M){return M.data.sections})}}),(0,t.jsx)(n.Z,{gutter:[16,16],children:(0,t.jsx)(a.Z,{span:24,children:(0,t.jsx)(j.Z.Item,{name:"content",label:"\u6587\u7AE0\u5185\u5BB9",rules:[{required:!0}],children:(0,t.jsx)(R.i$,{children:function(){return(0,t.jsx)(G.Z,{name:["content"],children:function(M,K){var Oe=M.content;return(0,t.jsx)(ve.Z,{placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u5185\u5BB9",defaultValue:Oe,onChange:function(b){De(b),K.formRef.current.setFieldsValue({content:b})}})}})}})})})}),(0,t.jsx)(A.Z,{name:"stick_top",label:"\u662F\u5426\u7F6E\u9876",request:E()(m()().mark(function Z(){return m()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.abrupt("return",[{label:"\u662F",value:1},{label:"\u5426",value:2}]);case 1:case"end":return M.stop()}},Z)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u7F6E\u9876"}]}),(0,t.jsx)(A.Z,{name:"hot",label:"\u6210\u4E3A\u70ED\u95E8",request:E()(m()().mark(function Z(){return m()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.abrupt("return",[{label:"\u666E\u901A",value:1},{label:"\u70ED\u95E8\u63A8\u8350",value:2}]);case 1:case"end":return M.stop()}},Z)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6210\u4E3A\u70ED\u95E8"}]}),(0,t.jsx)(S.Z,{name:"author",label:"\u4F5C\u8005",placeholder:"\u8BF7\u8F93\u5165\u4F5C\u8005"})]})})})})},Ee=(0,v.connect)(function(L){var g=L.dictModel,T=L.openModel;return{dictModel:g,openModel:T}})(ge),$=function(g){var T=g.dispatch,q=g.openModel,w=(0,o.useState)(0),U=u()(w,2),ee=U[0],V=U[1],ae=function(le){V(le)};return(0,o.useEffect)(function(){q.openModal||V(0)},[q.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(c.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:[(0,t.jsx)(f,{getId:ae}),(0,t.jsx)(Ee,{id:ee})]})})},Pe=(0,v.connect)(function(L){var g=L.openModel;return{openModel:g}})($)},86250:function(N,C,e){e.d(C,{Z:function(){return _}});var i=e(62435),u=e(93967),o=e.n(u),v=e(98423),c=e(98065),O=e(53124),m=e(92030),s=e(45503);const E=["wrap","nowrap","wrap-reverse"],h=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],l=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],P=(n,a)=>{const d=a.wrap===!0?"wrap":a.wrap;return{[`${n}-wrap-${d}`]:d&&E.includes(d)}},t=(n,a)=>{const d={};return l.forEach(r=>{d[`${n}-align-${r}`]=a.align===r}),d[`${n}-align-stretch`]=!a.align&&!!a.vertical,d},x=(n,a)=>{const d={};return h.forEach(r=>{d[`${n}-justify-${r}`]=a.justify===r}),d};function f(n,a){return o()(Object.assign(Object.assign(Object.assign({},P(n,a)),t(n,a)),x(n,a)))}var p=f;const S=n=>{const{componentCls:a}=n;return{[a]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},F=n=>{const{componentCls:a}=n;return{[a]:{"&-gap-small":{gap:n.flexGapSM},"&-gap-middle":{gap:n.flexGap},"&-gap-large":{gap:n.flexGapLG}}}},y=n=>{const{componentCls:a}=n,d={};return E.forEach(r=>{d[`${a}-wrap-${r}`]={flexWrap:r}}),d},R=n=>{const{componentCls:a}=n,d={};return l.forEach(r=>{d[`${a}-align-${r}`]={alignItems:r}}),d},G=n=>{const{componentCls:a}=n,d={};return h.forEach(r=>{d[`${a}-justify-${r}`]={justifyContent:r}}),d},A=()=>({});var I=(0,m.I$)("Flex",n=>{const{paddingXS:a,padding:d,paddingLG:r}=n,j=(0,s.TS)(n,{flexGapSM:a,flexGap:d,flexGapLG:r});return[S(j),F(j),y(j),R(j),G(j)]},A,{resetStyle:!1}),z=function(n,a){var d={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&a.indexOf(r)<0&&(d[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,r=Object.getOwnPropertySymbols(n);j<r.length;j++)a.indexOf(r[j])<0&&Object.prototype.propertyIsEnumerable.call(n,r[j])&&(d[r[j]]=n[r[j]]);return d},_=i.forwardRef((n,a)=>{const{prefixCls:d,rootClassName:r,className:j,style:Y,flex:J,gap:k,children:ve,vertical:oe=!1,component:ge="div"}=n,Ee=z(n,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:Pe,getPrefixCls:L}=i.useContext(O.E_),g=L("flex",d),[T,q,w]=I(g),U=oe!=null?oe:$==null?void 0:$.vertical,ee=o()(j,r,$==null?void 0:$.className,g,q,w,p(g,n),{[`${g}-rtl`]:Pe==="rtl",[`${g}-gap-${k}`]:(0,c.n)(k),[`${g}-vertical`]:U}),V=Object.assign(Object.assign({},$==null?void 0:$.style),Y);return J&&(V.flex=J),k&&!(0,c.n)(k)&&(V.gap=k),T(i.createElement(ge,Object.assign({ref:a,className:ee,style:V},(0,v.Z)(Ee,["justify","wrap","align"])),ve))})}}]);