包含后厨 团餐 门店分支
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.
 
 
 

2 lines
20 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[173],{64335:function(de,w,o){"use strict";var R=o(67294),V=(0,R.createContext)({});w.Z=V},85224:function(de,w,o){"use strict";var R=o(28991),V=o(84305),Z=o(39559),U=o(81253),H=o(85893),te=o(94184),O=o.n(te),G=o(97435),j=o(67294),T=o(64335),N=o(56264),re=o.n(N),ne=["children","className","extra","style","renderContent"],l=function(I){var z=I.children,J=I.className,Q=I.extra,me=I.style,k=I.renderContent,ce=(0,U.Z)(I,ne),fe=(0,j.useContext)(Z.ZP.ConfigContext),ue=fe.getPrefixCls,X=I.prefixCls||ue("pro"),ve="".concat(X,"-footer-bar"),E=(0,j.useContext)(T.Z),oe=(0,j.useMemo)(function(){var _=E.hasSiderMenu,Y=E.isMobile,q=E.siderWidth;if(!!_)return q?Y?"100%":"calc(100% - ".concat(q,"px)"):"100%"},[E.collapsed,E.hasSiderMenu,E.isMobile,E.siderWidth]),ie=(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("div",{className:"".concat(ve,"-left"),children:Q}),(0,H.jsx)("div",{className:"".concat(ve,"-right"),children:z})]});return(0,j.useEffect)(function(){return!E||!(E==null?void 0:E.setHasFooterToolbar)?function(){}:(E==null||E.setHasFooterToolbar(!0),function(){var _;E==null||(_=E.setHasFooterToolbar)===null||_===void 0||_.call(E,!1)})},[]),(0,H.jsx)("div",(0,R.Z)((0,R.Z)({className:O()(J,"".concat(ve)),style:(0,R.Z)({width:oe},me)},(0,G.Z)(ce,["prefixCls"])),{},{children:k?k((0,R.Z)((0,R.Z)((0,R.Z)({},I),E),{},{leftWidth:oe}),ie):ie}))};w.Z=l},28790:function(de,w,o){"use strict";o.d(w,{ZP:function(){return Nt}});var R=o(38663),V=o(70883),Z=o(22122),U=o(96156),H=o(6610),te=o(5991),O=o(10379),G=o(44144),j=o(90484),T=o(94184),N=o.n(T),re=o(48717),ne=o(98423),l=o(67294),A=o(53124),I=o(85061),z=o(75164);function J(n){var e,r=function(i){return function(){e=null,n.apply(void 0,(0,I.Z)(i))}},t=function(){if(e==null){for(var i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];e=(0,z.Z)(r(s))}};return t.cancel=function(){z.Z.cancel(e),e=null},t}function Q(){return function(e,r,t){var a=t.value,i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(r))return a;var d=J(a.bind(this));return i=!0,Object.defineProperty(this,r,{value:d,configurable:!0,writable:!0}),i=!1,d}}}}var me=o(64019);function k(n){return n!==window?n.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function ce(n,e,r){if(r!==void 0&&e.top>n.top-r)return r+e.top}function fe(n,e,r){if(r!==void 0&&e.bottom<n.bottom+r){var t=window.innerHeight-e.bottom;return r+t}}var ue=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],X=[];function ve(){return X}function E(n,e){if(!!n){var r=X.find(function(t){return t.target===n});r?r.affixList.push(e):(r={target:n,affixList:[e],eventHandlers:{}},X.push(r),ue.forEach(function(t){r.eventHandlers[t]=(0,me.Z)(n,t,function(){r.affixList.forEach(function(a){a.lazyUpdatePosition()})})}))}}function oe(n){var e=X.find(function(r){var t=r.affixList.some(function(a){return a===n});return t&&(r.affixList=r.affixList.filter(function(a){return a!==n})),t});e&&e.affixList.length===0&&(X=X.filter(function(r){return r!==e}),ue.forEach(function(r){var t=e.eventHandlers[r];t&&t.remove&&t.remove()}))}var ie=function(n,e,r,t){var a=arguments.length,i=a<3?e:t===null?t=Object.getOwnPropertyDescriptor(e,r):t,s;if((typeof Reflect=="undefined"?"undefined":(0,j.Z)(Reflect))==="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(n,e,r,t);else for(var d=n.length-1;d>=0;d--)(s=n[d])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function _(){return typeof window!="undefined"?window:null}var Y;(function(n){n[n.None=0]="None",n[n.Prepare=1]="Prepare"})(Y||(Y={}));var q=function(n){(0,O.Z)(r,n);var e=(0,G.Z)(r);function r(){var t;return(0,H.Z)(this,r),t=e.apply(this,arguments),t.state={status:Y.None,lastAffix:!1,prevTarget:null},t.getOffsetTop=function(){var a=t.props,i=a.offsetBottom,s=a.offsetTop;return i===void 0&&s===void 0?0:s},t.getOffsetBottom=function(){return t.props.offsetBottom},t.savePlaceholderNode=function(a){t.placeholderNode=a},t.saveFixedNode=function(a){t.fixedNode=a},t.measure=function(){var a=t.state,i=a.status,s=a.lastAffix,d=t.props.onChange,u=t.getTargetFunc();if(!(i!==Y.Prepare||!t.fixedNode||!t.placeholderNode||!u)){var v=t.getOffsetTop(),m=t.getOffsetBottom(),h=u();if(!!h){var c={status:Y.None},y=k(h),f=k(t.placeholderNode),b=ce(f,y,v),p=fe(f,y,m);f.top===0&&f.left===0&&f.width===0&&f.height===0||(b!==void 0?(c.affixStyle={position:"fixed",top:b,width:f.width,height:f.height},c.placeholderStyle={width:f.width,height:f.height}):p!==void 0&&(c.affixStyle={position:"fixed",bottom:p,width:f.width,height:f.height},c.placeholderStyle={width:f.width,height:f.height}),c.lastAffix=!!c.affixStyle,d&&s!==c.lastAffix&&d(c.lastAffix),t.setState(c))}}},t.prepareMeasure=function(){if(t.setState({status:Y.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var a},t}return(0,te.Z)(r,[{key:"getTargetFunc",value:function(){var a=this.context.getTargetContainer,i=this.props.target;return i!==void 0?i:a!=null?a:_}},{key:"componentDidMount",value:function(){var a=this,i=this.getTargetFunc();i&&(this.timeout=setTimeout(function(){E(i(),a),a.updatePosition()}))}},{key:"componentDidUpdate",value:function(a){var i=this.state.prevTarget,s=this.getTargetFunc(),d=(s==null?void 0:s())||null;i!==d&&(oe(this),d&&(E(d,this),this.updatePosition()),this.setState({prevTarget:d})),(a.offsetTop!==this.props.offsetTop||a.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),oe(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var a=this.getTargetFunc(),i=this.state.affixStyle;if(a&&i){var s=this.getOffsetTop(),d=this.getOffsetBottom(),u=a();if(u&&this.placeholderNode){var v=k(u),m=k(this.placeholderNode),h=ce(m,v,s),c=fe(m,v,d);if(h!==void 0&&i.top===h||c!==void 0&&i.bottom===c)return}}this.prepareMeasure()}},{key:"render",value:function(){var a=this,i=this.state,s=i.affixStyle,d=i.placeholderStyle,u=this.props,v=u.affixPrefixCls,m=u.children,h=N()((0,U.Z)({},v,!!s)),c=(0,ne.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return l.createElement(re.Z,{onResize:function(){a.updatePosition()}},l.createElement("div",(0,Z.Z)({},c,{ref:this.savePlaceholderNode}),s&&l.createElement("div",{style:d,"aria-hidden":"true"}),l.createElement("div",{className:h,ref:this.saveFixedNode,style:s},l.createElement(re.Z,{onResize:function(){a.updatePosition()}},m))))}}]),r}(l.Component);q.contextType=A.E_,ie([Q()],q.prototype,"updatePosition",null),ie([Q()],q.prototype,"lazyUpdatePosition",null);var Ie=l.forwardRef(function(n,e){var r=n.prefixCls,t=l.useContext(A.E_),a=t.getPrefixCls,i=a("affix",r),s=(0,Z.Z)((0,Z.Z)({},n),{affixPrefixCls:i});return l.createElement(q,(0,Z.Z)({},s,{ref:e}))}),Le=Ie,Ht=o(84305),he=o(39559),Kt=o(59903),zt=o(94233),$t=o(81262),wt=o(59250),Gt=o(30887),Xt=o(49111),Pe=o(28481),Ue=o(6700),We=o(93488),Fe=o(30470),He=o(51890),Ke=o(50344),ze=o(28682),$e=o(96159),we=o(57254),Ge=o(81555),Xe=function(n,e){var r={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,t=Object.getOwnPropertySymbols(n);a<t.length;a++)e.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(n,t[a])&&(r[t[a]]=n[t[a]]);return r},ye=function(e){var r=e.prefixCls,t=e.separator,a=t===void 0?"/":t,i=e.children,s=e.menu,d=e.overlay,u=e.dropdownProps,v=Xe(e,["prefixCls","separator","children","menu","overlay","dropdownProps"]),m=l.useContext(A.E_),h=m.getPrefixCls,c=h("breadcrumb",r),y=function(p){return s||d?l.createElement(Ge.Z,(0,Z.Z)({menu:s,overlay:d,placement:"bottom"},u),l.createElement("span",{className:"".concat(c,"-overlay-link")},p,l.createElement(we.Z,null))):p},f;return"href"in v?f=l.createElement("a",(0,Z.Z)({className:"".concat(c,"-link")},v),i):f=l.createElement("span",(0,Z.Z)({className:"".concat(c,"-link")},v),i),f=y(f),i!=null?l.createElement("li",null,f,a&&l.createElement("span",{className:"".concat(c,"-separator")},a)):null};ye.__ANT_BREADCRUMB_ITEM=!0;var be=ye,Ee=function(e){var r=e.children,t=l.useContext(A.E_),a=t.getPrefixCls,i=a("breadcrumb");return l.createElement("span",{className:"".concat(i,"-separator")},r||"/")};Ee.__ANT_BREADCRUMB_SEPARATOR=!0;var Ye=Ee,Ve=function(n,e){var r={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,t=Object.getOwnPropertySymbols(n);a<t.length;a++)e.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(n,t[a])&&(r[t[a]]=n[t[a]]);return r};function Je(n,e){if(!n.breadcrumbName)return null;var r=Object.keys(e).join("|"),t=n.breadcrumbName.replace(new RegExp(":(".concat(r,")"),"g"),function(a,i){return e[i]||a});return t}function Qe(n,e,r,t){var a=r.indexOf(n)===r.length-1,i=Je(n,e);return a?l.createElement("span",null,i):l.createElement("a",{href:"#/".concat(t.join("/"))},i)}var pe=function(e,r){return e=(e||"").replace(/^\//,""),Object.keys(r).forEach(function(t){e=e.replace(":".concat(t),r[t])}),e},ke=function(e,r,t){var a=(0,I.Z)(e),i=pe(r||"",t);return i&&a.push(i),a},ge=function(e){var r=e.prefixCls,t=e.separator,a=t===void 0?"/":t,i=e.style,s=e.className,d=e.routes,u=e.children,v=e.itemRender,m=v===void 0?Qe:v,h=e.params,c=h===void 0?{}:h,y=Ve(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),f=l.useContext(A.E_),b=f.getPrefixCls,p=f.direction,C,B=b("breadcrumb",r);if(d&&d.length>0){var M=[];C=d.map(function(P){var W=pe(P.path,c);W&&M.push(W);var L;P.children&&P.children.length&&(L=l.createElement(ze.Z,{items:P.children.map(function(F){return{key:F.path||F.breadcrumbName,label:m(F,c,d,ke(M,F.path,c))}})}));var K={separator:a};return L&&(K.overlay=L),l.createElement(be,(0,Z.Z)({},K,{key:W||P.breadcrumbName}),m(P,c,d,M))})}else u&&(C=(0,Ke.Z)(u).map(function(P,W){return P&&(0,$e.Tm)(P,{separator:a,key:W})}));var D=N()(B,(0,U.Z)({},"".concat(B,"-rtl"),p==="rtl"),s);return l.createElement("nav",(0,Z.Z)({className:D,style:i},y),l.createElement("ol",null,C))};ge.Item=be,ge.Separator=Ye;var _e=ge,qe=_e,et=o(42051),tt=o(19650),rt=o(34952),at=function(e,r,t){return!r||!t?null:l.createElement(et.Z,{componentName:"PageHeader"},function(a){return l.createElement("div",{className:"".concat(e,"-back")},l.createElement(rt.Z,{onClick:function(s){t==null||t(s)},className:"".concat(e,"-back-button"),"aria-label":a.back},r))})},nt=function(e){return l.createElement(qe,(0,Z.Z)({},e))},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return e.backIcon!==void 0?e.backIcon:r==="rtl"?l.createElement(We.Z,null):l.createElement(Ue.Z,null)},it=function(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",a=r.title,i=r.avatar,s=r.subTitle,d=r.tags,u=r.extra,v=r.onBack,m="".concat(e,"-heading"),h=a||s||d||u;if(!h)return null;var c=ot(r,t),y=at(e,c,v),f=y||i||h;return l.createElement("div",{className:m},f&&l.createElement("div",{className:"".concat(m,"-left")},y,i&&l.createElement(He.C,(0,Z.Z)({},i)),a&&l.createElement("span",{className:"".concat(m,"-title"),title:typeof a=="string"?a:void 0},a),s&&l.createElement("span",{className:"".concat(m,"-sub-title"),title:typeof s=="string"?s:void 0},s),d&&l.createElement("span",{className:"".concat(m,"-tags")},d)),u&&l.createElement("span",{className:"".concat(m,"-extra")},l.createElement(tt.Z,null,u)))},lt=function(e,r){return r?l.createElement("div",{className:"".concat(e,"-footer")},r):null},st=function(e,r){return l.createElement("div",{className:"".concat(e,"-content")},r)},dt=function(e){var r=(0,Fe.Z)(!1),t=(0,Pe.Z)(r,2),a=t[0],i=t[1],s=function(u){var v=u.width;i(v<768,!0)};return l.createElement(A.C,null,function(d){var u,v=d.getPrefixCls,m=d.pageHeader,h=d.direction,c,y=e.prefixCls,f=e.style,b=e.footer,p=e.children,C=e.breadcrumb,B=e.breadcrumbRender,M=e.className,D=!0;"ghost"in e?D=e.ghost:m&&"ghost"in m&&(D=m.ghost);var P=v("page-header",y),W=function(){return(C==null?void 0:C.routes)?nt(C):null},L=W(),K=C&&"props"in C,F=(c=B==null?void 0:B(e,L))!==null&&c!==void 0?c:L,S=K?C:F,ae=N()(P,M,(u={"has-breadcrumb":!!S,"has-footer":!!b},(0,U.Z)(u,"".concat(P,"-ghost"),D),(0,U.Z)(u,"".concat(P,"-rtl"),h==="rtl"),(0,U.Z)(u,"".concat(P,"-compact"),a),u));return l.createElement(re.Z,{onResize:s},l.createElement("div",{className:ae,style:f},S,it(P,e,h),p&&st(P,p),lt(P,b)))})},ct=dt,Ze=o(81253),g=o(28991),Yt=o(18106),Ne=o(95562),x=o(85893),xe=o(64335),ft=o(85224),Vt=o(53645),ut=function(e){var r=(0,l.useContext)(xe.Z),t=e.children,a=e.contentWidth,i=e.className,s=e.style,d=(0,l.useContext)(he.ZP.ConfigContext),u=d.getPrefixCls,v=e.prefixCls||u("pro"),m=a||r.contentWidth,h="".concat(v,"-grid-content");return(0,x.jsx)("div",{className:N()(h,i,{wide:m==="Fixed"}),style:s,children:(0,x.jsx)("div",{className:"".concat(v,"-grid-content-children"),children:t})})},vt=ut,mt=o(83832),ht=function(e){if(!e)return 1;var r=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r},gt=function(e){var r=e.children,t=e.style,a=e.className,i=e.markStyle,s=e.markClassName,d=e.zIndex,u=d===void 0?9:d,v=e.gapX,m=v===void 0?212:v,h=e.gapY,c=h===void 0?222:h,y=e.width,f=y===void 0?120:y,b=e.height,p=b===void 0?64:b,C=e.rotate,B=C===void 0?-22:C,M=e.image,D=e.content,P=e.offsetLeft,W=e.offsetTop,L=e.fontStyle,K=L===void 0?"normal":L,F=e.fontWeight,S=F===void 0?"normal":F,ae=e.fontColor,Ce=ae===void 0?"rgba(0,0,0,.15)":ae,Oe=e.fontSize,Re=Oe===void 0?16:Oe,Te=e.fontFamily,Be=Te===void 0?"sans-serif":Te,Ot=e.prefixCls,Rt=(0,l.useContext)(he.ZP.ConfigContext),Tt=Rt.getPrefixCls,Me=Tt("pro-layout-watermark",Ot),Bt=N()("".concat(Me,"-wrapper"),a),Mt=N()(Me,s),Dt=(0,l.useState)(""),De=(0,Pe.Z)(Dt,2),Se=De[0],je=De[1];return(0,l.useEffect)(function(){var le=document.createElement("canvas"),$=le.getContext("2d"),ee=ht($),St="".concat((m+f)*ee,"px"),jt="".concat((c+p)*ee,"px"),At=P||m/2,It=W||c/2;if(le.setAttribute("width",St),le.setAttribute("height",jt),$){$.translate(At*ee,It*ee),$.rotate(Math.PI/180*Number(B));var Lt=f*ee,Ae=p*ee;if(M){var se=new Image;se.crossOrigin="anonymous",se.referrerPolicy="no-referrer",se.src=M,se.onload=function(){$.drawImage(se,0,0,Lt,Ae),je(le.toDataURL())}}else if(D){var Ut=Number(Re)*ee;$.font="".concat(K," normal ").concat(S," ").concat(Ut,"px/").concat(Ae,"px ").concat(Be),$.fillStyle=Ce,Array.isArray(D)?D==null||D.forEach(function(Wt,Ft){return $.fillText(Wt,0,Ft*50)}):$.fillText(D,0,0),je(le.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[m,c,P,W,B,K,S,f,p,Be,Ce,M,D,Re]),(0,x.jsxs)("div",{style:(0,g.Z)({position:"relative"},t),className:Bt,children:[r,(0,x.jsx)("div",{className:Mt,style:(0,g.Z)((0,g.Z)({zIndex:u,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(m+f,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},Se?{backgroundImage:"url('".concat(Se,"')")}:null),i)})]})},xt=gt,Jt=o(12395),Ct=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","style","prefixCls","breadcrumbRender"],Pt=["children","loading","className","style","footer","affixProps","ghost","fixedHeader","breadcrumbRender"];function yt(n){return(0,j.Z)(n)==="object"?n:{spinning:n}}var bt=function(e){var r=e.tabList,t=e.tabActiveKey,a=e.onTabChange,i=e.tabBarExtraContent,s=e.tabProps,d=e.prefixedClassName;return Array.isArray(r)||i?(0,x.jsx)(Ne.Z,(0,g.Z)((0,g.Z)({className:"".concat(d,"-tabs"),activeKey:t,onChange:function(v){a&&a(v)},tabBarExtraContent:i},s),{},{children:r==null?void 0:r.map(function(u,v){return(0,l.createElement)(Ne.Z.TabPane,(0,g.Z)((0,g.Z)({},u),{},{tab:u.tab,key:u.key||v}))})})):null},Et=function(e,r,t){return!e&&!r?null:(0,x.jsx)("div",{className:"".concat(t,"-detail"),children:(0,x.jsx)("div",{className:"".concat(t,"-main"),children:(0,x.jsxs)("div",{className:"".concat(t,"-row"),children:[e&&(0,x.jsx)("div",{className:"".concat(t,"-content"),children:e}),r&&(0,x.jsx)("div",{className:"".concat(t,"-extraContent"),children:r})]})})})},Qt=function(e){var r=useContext(RouteContext);return _jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:_jsx(_Breadcrumb,_objectSpread(_objectSpread(_objectSpread({},r==null?void 0:r.breadcrumb),r==null?void 0:r.breadcrumbProps),e))})},pt=function(e){var r,t=(0,l.useContext)(xe.Z),a=e.title,i=e.content,s=e.pageHeaderRender,d=e.header,u=e.prefixedClassName,v=e.extraContent,m=e.style,h=e.prefixCls,c=e.breadcrumbRender,y=(0,Ze.Z)(e,Ct),f=(0,l.useMemo)(function(){if(!!c)return c},[c]);if(s===!1)return null;if(s)return(0,x.jsxs)(x.Fragment,{children:[" ",s((0,g.Z)((0,g.Z)({},e),t))]});var b=a;!a&&a!==!1&&(b=t.title);var p=(0,g.Z)((0,g.Z)((0,g.Z)({},t),{},{title:b},y),{},{footer:bt((0,g.Z)((0,g.Z)({},y),{},{breadcrumbRender:c,prefixedClassName:u}))},d),C=p.breadcrumb,B=(!C||!(C==null?void 0:C.itemRender)&&!(C==null||(r=C.routes)===null||r===void 0?void 0:r.length))&&!c;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(M){return!p[M]})&&B&&!i&&!v?null:(0,x.jsx)("div",{className:"".concat(u,"-warp"),children:(0,x.jsx)(ct,(0,g.Z)((0,g.Z)({},p),{},{breadcrumb:c===!1?void 0:(0,g.Z)((0,g.Z)({},p.breadcrumb),t.breadcrumbProps),breadcrumbRender:f,prefixCls:h,children:(d==null?void 0:d.children)||Et(i,v,u)}))})},Zt=function(e){var r,t,a=e.children,i=e.loading,s=i===void 0?!1:i,d=e.className,u=e.style,v=e.footer,m=e.affixProps,h=e.ghost,c=e.fixedHeader,y=e.breadcrumbRender,f=(0,Ze.Z)(e,Pt),b=(0,l.useContext)(xe.Z),p=(0,l.useContext)(he.ZP.ConfigContext),C=p.getPrefixCls,B=e.prefixCls||C("pro"),M="".concat(B,"-page-container"),D=N()(M,d,(r={},(0,U.Z)(r,"".concat(B,"-page-container-ghost"),h),(0,U.Z)(r,"".concat(B,"-page-container-with-footer"),v),r)),P=(0,l.useMemo)(function(){return a?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"".concat(M,"-children-content"),children:a}),b.hasFooterToolbar&&(0,x.jsx)("div",{style:{height:48,marginTop:24}})]}):null},[a,M,b.hasFooterToolbar]),W=(0,l.useMemo)(function(){var S;return y==!1?!1:y||(f==null||(S=f.header)===null||S===void 0?void 0:S.breadcrumbRender)},[y,f==null||(t=f.header)===null||t===void 0?void 0:t.breadcrumbRender]),L=(0,x.jsx)(pt,(0,g.Z)((0,g.Z)({},f),{},{breadcrumbRender:W,ghost:h,prefixCls:void 0,prefixedClassName:M})),K=(0,l.useMemo)(function(){if(l.isValidElement(s))return s;if(typeof s=="boolean"&&!s)return null;var S=yt(s);return S.spinning?(0,x.jsx)(mt.Z,(0,g.Z)({},S)):null},[s]),F=(0,l.useMemo)(function(){var S=K||P;if(e.waterMarkProps||b.waterMarkProps){var ae=(0,g.Z)((0,g.Z)({},b.waterMarkProps),e.waterMarkProps);return(0,x.jsx)(xt,(0,g.Z)((0,g.Z)({},ae),{},{children:S}))}return S},[e.waterMarkProps,b.waterMarkProps,K,P]);return(0,x.jsxs)("div",{style:u,className:D,children:[c&&L?(0,x.jsx)(Le,(0,g.Z)((0,g.Z)({offsetTop:b.hasHeader&&b.fixedHeader?b.headerHeight:0},m),{},{children:L})):L,F&&(0,x.jsx)(vt,{children:F}),v&&(0,x.jsx)(ft.Z,{prefixCls:B,children:v})]})},Nt=Zt},56264:function(){},53645:function(){},12395:function(){},70883:function(){},81262:function(){},59903:function(){},47828:function(){},34952:function(de,w,o){"use strict";var R=o(22122),V=o(15105),Z=o(67294),U=function(O,G){var j={};for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&G.indexOf(T)<0&&(j[T]=O[T]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,T=Object.getOwnPropertySymbols(O);N<T.length;N++)G.indexOf(T[N])<0&&Object.prototype.propertyIsEnumerable.call(O,T[N])&&(j[T[N]]=O[T[N]]);return j},H={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},te=Z.forwardRef(function(O,G){var j=function(z){var J=z.keyCode;J===V.Z.ENTER&&z.preventDefault()},T=function(z){var J=z.keyCode,Q=O.onClick;J===V.Z.ENTER&&Q&&Q()},N=O.style,re=O.noStyle,ne=O.disabled,l=U(O,["style","noStyle","disabled"]),A={};return re||(A=(0,R.Z)({},H)),ne&&(A.pointerEvents="none"),A=(0,R.Z)((0,R.Z)({},A),N),Z.createElement("div",(0,R.Z)({role:"button",tabIndex:0,ref:G},l,{onKeyDown:j,onKeyUp:T,style:A}))});w.Z=te},402:function(de,w,o){"use strict";var R=o(38663),V=o.n(R),Z=o(47828),U=o.n(Z),H=o(47673),te=o(22385)}}]);