Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

p__Feedback__index.4b00f2c8.async.js 17KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[325],{64082:function(Q,O,e){e.d(O,{Z:function(){return u}});var s=e(87462),d=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"},g=o,h=e(84089),M=function(E,i){return d.createElement(h.Z,(0,s.Z)({},E,{ref:i,icon:g}))},p=d.forwardRef(M),u=p},64317:function(Q,O,e){var s=e(1413),d=e(45987),o=e(22270),g=e(62435),h=e(66758),M=e(49994),p=e(86074),u=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],v=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],E=function(c,T){var U=c.fieldProps,R=c.children,D=c.params,Z=c.proFieldProps,j=c.mode,y=c.valueEnum,A=c.request,K=c.showSearch,_=c.options,n=(0,d.Z)(c,u),a=(0,g.useContext)(h.Z);return(0,p.jsx)(M.Z,(0,s.Z)((0,s.Z)({valueEnum:(0,o.h)(y),request:A,params:D,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,s.Z)({options:_,mode:j,showSearch:K,getPopupContainer:a.getPopupContainer},U),ref:T,proFieldProps:Z},n),{},{children:R}))},i=g.forwardRef(function(f,c){var T=f.fieldProps,U=f.children,R=f.params,D=f.proFieldProps,Z=f.mode,j=f.valueEnum,y=f.request,A=f.options,K=(0,d.Z)(f,v),_=(0,s.Z)({options:A,mode:Z||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},T),n=(0,g.useContext)(h.Z);return(0,p.jsx)(M.Z,(0,s.Z)((0,s.Z)({valueEnum:(0,o.h)(j),request:y,params:R,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,s.Z)({getPopupContainer:n.getPopupContainer},_),ref:c,proFieldProps:D},K),{},{children:U}))}),P=g.forwardRef(E),t=i,x=P;x.SearchSelect=t,x.displayName="ProFormComponent",O.Z=x},52688:function(Q,O,e){var s=e(1413),d=e(45987),o=e(62435),g=e(49994),h=e(86074),M=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],p=o.forwardRef(function(u,v){var E=u.fieldProps,i=u.unCheckedChildren,P=u.checkedChildren,t=u.proFieldProps,x=(0,d.Z)(u,M);return(0,h.jsx)(g.Z,(0,s.Z)({valueType:"switch",fieldProps:(0,s.Z)({unCheckedChildren:i,checkedChildren:P},E),ref:v,valuePropName:"checked",proFieldProps:t,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},x))});O.Z=p},80876:function(Q,O,e){var s=e(1413),d=e(64082),o=e(28459),g=e(2058),h=e(62435),M=e(9105),p=e(28614),u=e(86074),v=h.forwardRef(function(i,P){var t=i.fieldProps,x=i.title,f=x===void 0?"\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u8FDB\u884C\u4E0A\u4F20":x,c=i.icon,T=c===void 0?(0,u.jsx)(d.Z,{}):c,U=i.description,R=U===void 0?"\u652F\u6301\u5355\u6B21\u6216\u6279\u91CF\u4E0A\u4F20":U,D=i.action,Z=i.accept,j=i.onChange,y=i.value,A=i.children,K=i.max,_=i.proFieldProps,n=(0,h.useContext)(o.ZP.ConfigContext),a=(0,h.useContext)(M.A),l=(_==null?void 0:_.mode)||a.mode||"edit",r=n.getPrefixCls("upload"),S=(K===void 0||!y||(y==null?void 0:y.length)<K)&&l!=="read"&&(_==null?void 0:_.readonly)!==!0;return(0,u.jsxs)(g.Z.Dragger,(0,s.Z)((0,s.Z)({ref:P,name:"files",action:D,accept:Z,fileList:y},t),{},{onChange:function(Y){j==null||j(Y),t!=null&&t.onChange&&(t==null||t.onChange(Y))},style:(0,s.Z)((0,s.Z)({},t==null?void 0:t.style),{},{display:S?void 0:"none"}),children:[(0,u.jsx)("p",{className:"".concat(r,"-drag-icon"),children:T}),(0,u.jsx)("p",{className:"".concat(r,"-text"),children:f}),(0,u.jsx)("p",{className:"".concat(r,"-hint"),children:R}),A?(0,u.jsx)("div",{className:"".concat(r,"-extra"),style:{padding:16},children:A}):null]}))}),E=(0,p.G)(v,{getValueFromEvent:function(P){return P.fileList}});O.Z=E},57759:function(Q,O,e){var s=e(59530),d=e(55375),o=e(68872),g=e(80876),h=e(86074),M=function(u){var v=u.onUploadComplete,E=u.uploadTxt,i=u.form_name,P=function(x){v&&v(x)};return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(g.Z,{label:E,name:i,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,s.request)(d.FH+"/common/doc/upload?doctype=1",{method:"post",data:f,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(c){P(c.data.filename)}).catch(function(c){console.log(c),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")})}}})})};O.Z=M},67562:function(Q,O,e){var s=e(5574),d=e.n(s),o=e(71167),g=e.n(o),h=e(40190),M=e(62435),p=e(86492),u=e.n(p),v=e(86074),E=function(P){var t=P.defaultValue,x=P.placeholder,f=P.onChange,c=(0,M.useState)(t&&u().decode(t)),T=d()(c,2),U=T[0],R=T[1],D=function(j){R(j),f(j)};return(0,M.useEffect)(function(){if(t){var Z=t.replace(/<[^>]*>/g,"");D(Z?t:"")}},[t]),(0,v.jsx)("div",{children:(0,v.jsx)(g(),{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:U,onChange:D,theme:"snow",placeholder:x})})};O.Z=E},67119:function(Q,O,e){var s=e(5574),d=e.n(s),o=e(62435),g=e(59530),h=e(55375),M=e(42075),p=e(68872),u=e(98163),v=e(32443),E=e(86074),i=function(t){var x=t.onUploadComplete,f=t.uploadTxt,c=t.image_type,T=t.form_name,U=t.image_length,R=t.multiple,D=t.imageUrl,Z=function(n){n&&x(n)},j=(0,o.useState)(D),y=d()(j,2),A=y[0],K=y[1];return(0,o.useEffect)(function(){K(D)},[D]),(0,E.jsx)(E.Fragment,{children:(0,E.jsxs)(M.Z,{children:[(0,E.jsx)(v.Z,{label:f,name:T,icon:null,title:f,fieldProps:{maxCount:U,multiple:R,fileList:[],listType:"picture-card",showUploadList:!1,customRequest:function(n){var a=new FormData;a.append("image",n.file),console.log(a),(0,g.request)(h.FH+"/common/image/upload?imgtype="+c,{method:"post",data:a,Headers:{Authorization:sessionStorage.getItem("token"),"X-Requested-With":null}}).then(function(l){K(l.data.filename),Z(l.data.filename)}).catch(function(l){console.log(l),p.ZP.error("\u4E0A\u4F20\u5931\u8D25")})}}}),A&&(0,E.jsx)(u.Z,{src:"".concat(h.VO).concat(A),width:102,height:102,style:{borderRadius:8}})]})})};O.Z=i},95151:function(Q,O,e){e.r(O),e.d(O,{default:function(){return De}});var s=e(5574),d=e.n(s),o=e(62435),g=e(59530),h=e(28459),M=e(15009),p=e.n(M),u=e(99289),v=e.n(u),E=e(95338),i=e(14726),P=e(39680),t=e(86074),x=function(m){var B=m.dispatch,q=m.getId,H=m.openModel,W=(0,o.useRef)(),ee=(0,o.useState)([]),X=d()(ee,2),oe=X[0],me=X[1],de=(0,o.useState)(0),pe=d()(de,2),he=pe[0],te=pe[1],Fe=(0,o.useState)(1),fe=d()(Fe,2),ie=fe[0],J=fe[1],je=(0,o.useState)(10),ue=d()(je,2),ve=ue[0],ce=ue[1],ge=function($){q($)};return(0,o.useEffect)(function(){H.openModal||W.current.reload()},[H.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(h.ZP,{theme:{token:{colorPrimary:"#4FBE70",colorLink:"#4FBE70"}},children:(0,t.jsx)(E.Z,{size:"small",scroll:{y:480,x:"auto"},bordered:!0,actionRef:W,dataSource:oe,search:{span:8,labelWidth:"auto"},columns:[{title:"\u7528\u6237",dataIndex:"name"},{title:"\u90AE\u7BB1",dataIndex:"email"},{title:"\u6D88\u606F\u5185\u5BB9",dataIndex:"content"},{title:"\u64CD\u4F5C",key:"option",valueType:"option",render:function($,V,ye){return[(0,t.jsx)(i.ZP,{type:"link",onClick:function(){ge(V.id),B({type:"openModel/getOpenModal",payload:!0})},children:"\u7F16\u8F91"},"1"),(0,t.jsx)(i.ZP,{type:"link",onClick:function(){},children:"\u5220\u9664"},"2")]}}],rowKey:"id",pagination:{current:ie,pageSize:ve,showSizeChanger:!0,total:he,pageSizeOptions:[9,18,27,99],onChange:function($,V){J($),ce(V)},onShowSizeChange:function($,V){J($),ce(V)}},request:v()(p()().mark(function ne(){var $,V=arguments;return p()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return $=V.length>0&&V[0]!==void 0?V[0]:{},k.abrupt("return",(0,P.ofO)({page:ie,pagesize:ve,sort:"id",sortby:"desc",keyword:$.name,customer_id:$.customer_id}).then(function(Ee){me(Ee.data.feedbacks),te(Ee.data.total)}));case 2:case"end":return k.stop()}},ne)})),headerTitle:"\u53CD\u9988\u5217\u8868"})})})},f=(0,g.connect)(function(L){var m=L.dictModel,B=L.openModel;return{dictModel:m,openModel:B}})(x),c=e(97269),T=e(5966),U=e(52688),R=e(64317),D=e(19109),Z=e(97462),j=e(1413),y=e(45987),A=e(49994),K=["fieldProps","request","params","proFieldProps"],_=function(m,B){var q=m.fieldProps,H=m.request,W=m.params,ee=m.proFieldProps,X=(0,y.Z)(m,K);return(0,t.jsx)(A.Z,(0,j.Z)({valueType:"segmented",fieldProps:q,ref:B,request:H,params:W,filedConfig:{customLightMode:!0},proFieldProps:ee},X))},n=o.forwardRef(_),a=n,l=e(17788),r=e(86250),S=e(42075),le=e(68872),Y=e(71230),G=e(15746),re=e(98163),se=e(22015),Pe=e(23323),ae=e(55375),b=e(67119),Ce=e(57759),xe=e(67562),w={label:"name",value:"id"},Me=function(m){var B=m.dispatch,q=m.dictModel,H=m.openModel,W=m.id,ee=(0,o.useRef)(),X=(0,o.useState)(!1),oe=d()(X,2),me=oe[0],de=oe[1],pe=(0,o.useState)(null),he=d()(pe,2),te=he[0],Fe=he[1];(0,o.useEffect)(function(){de(H.openModal)},[H.openModal]);var fe=(0,o.useState)(""),ie=d()(fe,2),J=ie[0],je=ie[1],ue=function(F){je(F)},ve=(0,o.useState)(!1),ce=d()(ve,2),ge=ce[0],ne=ce[1],$=(0,o.useState)(""),V=d()($,2),ye=V[0],k=V[1],Ee=function(F){k(F)},Ie=(0,o.useState)(""),Te=d()(Ie,2),Re=Te[0],Ue=Te[1];return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(h.ZP,{theme:{token:{colorPrimary:"#4FBE70"},components:{Segmented:{itemSelectedBg:"#19be6e",itemSelectedColor:"#ffffff"}}},children:(0,t.jsx)(l.Z,{open:me,title:W?"\u7F16\u8F91\u6587\u7AE0":"\u6DFB\u52A0\u6587\u7AE0",centered:!0,maskClosable:!1,footer:null,destroyOnClose:!0,width:1e3,onCancel:function(){B({type:"openModel/getOpenModal",payload:!1})},children:(0,t.jsxs)(c.A,{formRef:ee,request:v()(p()().mark(function I(){var F;return p()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!W){N.next=7;break}return N.next=3,(0,P.USp)({id:W});case 3:return F=N.sent,N.abrupt("return",F.data);case 7:return N.abrupt("return",{title:"",cover_img:"",doc_url:"",section_id:null,content:"",stick_top:0,hot:0,author:""});case 8:case"end":return N.stop()}},I)})),submitter:{searchConfig:{resetText:"\u53D6\u6D88",submitText:"\u4FDD\u5B58"},render:function(F,C){return(0,t.jsxs)(r.Z,{justify:"flex-end",children:[" ",(0,t.jsx)(S.Z,{children:C})]})},onReset:function(){Fe(null),B({type:"openModel/getOpenModal",payload:!1})}},onFinish:function(){var I=v()(p()().mark(function F(C){var N,_e;return p()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(C.cover_img=J||"",console.log(C),!W){z.next=11;break}return C.id=W,z.next=6,(0,P.XcO)(C);case 6:N=z.sent,le.ZP.success("\u63D0\u4EA4\u6210\u529F"),B({type:"openModel/getOpenModal",payload:!1}),z.next=16;break;case 11:return z.next=13,(0,P.qMy)(C);case 13:_e=z.sent,le.ZP.success("\u63D0\u4EA4\u6210\u529F"),B({type:"openModel/getOpenModal",payload:!1});case 16:case"end":return z.stop()}},F)}));return function(F){return I.apply(this,arguments)}}(),children:[(0,t.jsx)(T.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)(Y.Z,{gutter:[16,16],children:[te?(0,t.jsx)(G.Z,{span:4,children:(0,t.jsx)(b.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:ue})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(G.Z,{span:4,children:(0,t.jsx)(b.Z,{multiple:!1,form_name:"cover_img",image_length:1,uploadTxt:"\u4E0A\u4F20\u5C01\u9762\u56FE",image_type:1,onUploadComplete:ue})})}),te?(0,t.jsx)(G.Z,{span:4,children:J?(0,t.jsx)(re.Z,{src:"".concat(ae.VO).concat(J),style:{marginBottom:"16px",width:"100px",height:"100px"}}):(0,t.jsx)(re.Z,{src:"".concat(ae.VO).concat(te==null?void 0:te.cover_img),style:{marginTop:"16px",width:"200px",height:"200px"}})}):(0,t.jsx)(t.Fragment,{children:J?(0,t.jsxs)(G.Z,{span:4,children:[" ",(0,t.jsx)(re.Z,{src:"".concat(ae.VO).concat(J),style:{marginTop:"32px",width:"100px",height:"100px"}})," "]}):""})]}),(0,t.jsx)(U.Z,{fieldProps:{checked:ge,checkedChildren:"\u5173\u95ED\u4E0A\u4F20\u6587\u4EF6",unCheckedChildren:"\u5F00\u542F\u4E0A\u4F20\u6587\u4EF6",onChange:function(F){ne(F)}}}),ge&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Ce.Z,{form_name:"doc_url",uploadTxt:"\u4E0A\u4F20\u6587\u4EF6",onUploadComplete:Ee}),(0,t.jsxs)(se.Z.Paragraph,{copyable:!0,children:["\u94FE\u63A5\uFF1A","".concat(ae.VO).concat(ye)]})]}),(0,t.jsx)(R.Z,{showSearch:!0,name:"section_id",label:"\u680F\u76EE/\u9891\u9053",placeholder:"\u8BF7\u9009\u62E9\u680F\u76EE/\u9891\u9053",fieldProps:{fieldNames:w},request:function(F){return(0,P.DGC)({page:1,pagesize:100,keyword:F.keyWords}).then(function(C){return C.data.sections})}}),(0,t.jsx)(Y.Z,{gutter:[16,16],children:(0,t.jsx)(G.Z,{span:24,children:(0,t.jsx)(Pe.Z.Item,{name:"content",label:"\u6587\u7AE0\u5185\u5BB9",rules:[{required:!0}],children:(0,t.jsx)(D.i$,{children:function(){return(0,t.jsx)(Z.Z,{name:["content"],children:function(C,N){var _e=C.content;return(0,t.jsx)(xe.Z,{placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u5185\u5BB9",defaultValue:_e,onChange:function(z){Ue(z),N.formRef.current.setFieldsValue({content:z})}})}})}})})})}),(0,t.jsx)(a,{name:"stick_top",label:"\u662F\u5426\u7F6E\u9876",request:v()(p()().mark(function I(){return p()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",[{label:"\u662F",value:1},{label:"\u5426",value:2}]);case 1:case"end":return C.stop()}},I)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u7F6E\u9876"}]}),(0,t.jsx)(a,{name:"hot",label:"\u6210\u4E3A\u70ED\u95E8",request:v()(p()().mark(function I(){return p()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",[{label:"\u666E\u901A",value:1},{label:"\u70ED\u95E8\u63A8\u8350",value:2}]);case 1:case"end":return C.stop()}},I)})),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6210\u4E3A\u70ED\u95E8"}]}),(0,t.jsx)(T.Z,{name:"author",label:"\u4F5C\u8005",placeholder:"\u8BF7\u8F93\u5165\u4F5C\u8005"})]})})})})},Oe=(0,g.connect)(function(L){var m=L.dictModel,B=L.openModel;return{dictModel:m,openModel:B}})(Me),Se=function(m){var B=m.dispatch,q=m.openModel,H=(0,o.useState)(0),W=d()(H,2),ee=W[0],X=W[1],oe=function(de){X(de)};return(0,o.useEffect)(function(){q.openModal||X(0)},[q.openModal]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(h.ZP,{theme:{token:{colorPrimary:"#4FBE70"}},children:[(0,t.jsx)(f,{getId:oe}),(0,t.jsx)(Oe,{id:ee})]})})},De=(0,g.connect)(function(L){var m=L.openModel;return{openModel:m}})(Se)},86250:function(Q,O,e){e.d(O,{Z:function(){return _}});var s=e(62435),d=e(93967),o=e.n(d),g=e(98423),h=e(98065),M=e(53124),p=e(92030),u=e(45503);const v=["wrap","nowrap","wrap-reverse"],E=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],i=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],P=(n,a)=>{const l=a.wrap===!0?"wrap":a.wrap;return{[`${n}-wrap-${l}`]:l&&v.includes(l)}},t=(n,a)=>{const l={};return i.forEach(r=>{l[`${n}-align-${r}`]=a.align===r}),l[`${n}-align-stretch`]=!a.align&&!!a.vertical,l},x=(n,a)=>{const l={};return E.forEach(r=>{l[`${n}-justify-${r}`]=a.justify===r}),l};function f(n,a){return o()(Object.assign(Object.assign(Object.assign({},P(n,a)),t(n,a)),x(n,a)))}var c=f;const T=n=>{const{componentCls:a}=n;return{[a]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},U=n=>{const{componentCls:a}=n;return{[a]:{"&-gap-small":{gap:n.flexGapSM},"&-gap-middle":{gap:n.flexGap},"&-gap-large":{gap:n.flexGapLG}}}},R=n=>{const{componentCls:a}=n,l={};return v.forEach(r=>{l[`${a}-wrap-${r}`]={flexWrap:r}}),l},D=n=>{const{componentCls:a}=n,l={};return i.forEach(r=>{l[`${a}-align-${r}`]={alignItems:r}}),l},Z=n=>{const{componentCls:a}=n,l={};return E.forEach(r=>{l[`${a}-justify-${r}`]={justifyContent:r}}),l},j=()=>({});var y=(0,p.I$)("Flex",n=>{const{paddingXS:a,padding:l,paddingLG:r}=n,S=(0,u.TS)(n,{flexGapSM:a,flexGap:l,flexGapLG:r});return[T(S),U(S),R(S),D(S),Z(S)]},j,{resetStyle:!1}),A=function(n,a){var l={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&a.indexOf(r)<0&&(l[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,r=Object.getOwnPropertySymbols(n);S<r.length;S++)a.indexOf(r[S])<0&&Object.prototype.propertyIsEnumerable.call(n,r[S])&&(l[r[S]]=n[r[S]]);return l},_=s.forwardRef((n,a)=>{const{prefixCls:l,rootClassName:r,className:S,style:le,flex:Y,gap:G,children:re,vertical:se=!1,component:Pe="div"}=n,ae=A(n,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:b,direction:Ce,getPrefixCls:xe}=s.useContext(M.E_),w=xe("flex",l),[Me,Oe,Se]=y(w),De=se!=null?se:b==null?void 0:b.vertical,L=o()(S,r,b==null?void 0:b.className,w,Oe,Se,c(w,n),{[`${w}-rtl`]:Ce==="rtl",[`${w}-gap-${G}`]:(0,h.n)(G),[`${w}-vertical`]:De}),m=Object.assign(Object.assign({},b==null?void 0:b.style),le);return Y&&(m.flex=Y),G&&!(0,h.n)(G)&&(m.gap=G),Me(s.createElement(Pe,Object.assign({ref:a,className:L,style:m},(0,g.Z)(ae,["justify","wrap","align"])),re))})}}]);