-
Notifications
You must be signed in to change notification settings - Fork 0
/
1252.bf575850.async.js
4 lines (4 loc) · 8.36 KB
/
1252.bf575850.async.js
1
2
3
4
"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[1252],{973403:function(W,b,e){e.d(b,{Z:function(){return O}});var v=e(487462),l=e(667294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},a=y,g=e(713401),S=function(x,j){return l.createElement(g.Z,(0,v.Z)({},x,{ref:j,icon:a}))},O=l.forwardRef(S)},887547:function(W,b,e){e.d(b,{Z:function(){return O}});var v=e(487462),l=e(667294),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=y,g=e(713401),S=function(x,j){return l.createElement(g.Z,(0,v.Z)({},x,{ref:j,icon:a}))},O=l.forwardRef(S)},901252:function(W,b,e){e.r(b),e.d(b,{scopes:function(){return S}});var v=e(667294),l=e(256661),y=e(75529),a=e(973403),g=e(887547),S={"components-breadcrumb-demo-basic":{React:v,Breadcrumb:l.Z},"components-breadcrumb-demo-withicon":{HomeOutlined:a.Z,UserOutlined:g.Z,React:v,Breadcrumb:l.Z},"components-breadcrumb-demo-separator":{React:v,Breadcrumb:l.Z},"components-breadcrumb-demo-overlay":{React:v,Breadcrumb:l.Z},"components-breadcrumb-demo-separator-component":{React:v,Breadcrumb:l.Z},"components-breadcrumb-demo-debug-routes":{React:v,Breadcrumb:l.Z},"components-breadcrumb-demo-component-token":{HomeOutlined:a.Z,UserOutlined:g.Z,React:v,Breadcrumb:l.Z,ConfigProvider:y.ZP}}},256661:function(W,b,e){e.d(b,{Z:function(){return Ar}});var v=e(238416),l=e.n(v),y=e(242122),a=e.n(y),g=e(627424),S=e.n(g),O=e(670215),f=e.n(O),x=e(667294),j=e(294184),$=e.n(j),_=e(45598),rr=e(430339),sr=e(106465),K=e(73287),ur=e(205085),mr=e.n(ur),vr=e(121267),i=e(785893),er=function(r){var t=r.children,n=x.useContext(K.E_),o=n.getPrefixCls,d=o("breadcrumb");return(0,i.jsx)("li",{className:"".concat(d,"-separator"),"aria-hidden":"true",children:t===""?t:t||"/"})};er.__ANT_BREADCRUMB_SEPARATOR=!0;var V=er,fr=e(918698),hr=e.n(fr),Cr=["className","onClick"];function br(c,r){if(c.title===void 0||c.title===null)return null;var t=Object.keys(r).join("|");return hr()(c.title)==="object"?c.title:String(c.title).replace(new RegExp(":(".concat(t,")"),"g"),function(n,o){return r[o]||n})}function ar(c,r,t,n){if(t==null)return null;var o=r.className,d=r.onClick,s=f()(r,Cr),m=a()(a()({},(0,rr.default)(s,{data:!0,aria:!0})),{},{onClick:d});return n!==void 0?(0,i.jsx)("a",a()(a()({},m),{},{className:$()("".concat(c,"-link"),o),href:n,children:t})):(0,i.jsx)("span",a()(a()({},m),{},{className:$()("".concat(c,"-link"),o),children:t}))}function gr(c,r){var t=function(o,d,s,m,h){if(r)return r(o,d,s,m);var P=br(o,d);return ar(c,o,P,h)};return t}var xr=["items"],pr=["key","title","label","path"],yr=["prefixCls","children","href"],nr=function(r){var t=r.prefixCls,n=r.separator,o=n===void 0?"/":n,d=r.children,s=r.menu,m=r.overlay,h=r.dropdownProps,P=r.href;if(!1)var Z;var Q=function(A){if(s||m){var B=a()({},h);if(s){var z=s||{},E=z.items,p=f()(z,xr);B.menu=a()(a()({},p),{},{items:E==null?void 0:E.map(function(C,I){var M=C.key,U=C.title,T=C.label,D=C.path,N=f()(C,pr),X=T!=null?T:U;return D&&(X=(0,i.jsx)("a",{href:"".concat(P).concat(D),children:X})),a()(a()({},N),{},{key:M!=null?M:I,label:X})})})}else m&&(B.overlay=m);return(0,i.jsx)(vr.Z,a()(a()({placement:"bottom"},B),{},{children:(0,i.jsxs)("span",{className:"".concat(t,"-overlay-link"),children:[A,(0,i.jsx)(mr(),{})]})}))}return A},R=Q(d);return R!=null?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("li",{children:R}),o&&(0,i.jsx)(V,{children:o})]}):null},tr=function(r){var t=r.prefixCls,n=r.children,o=r.href,d=f()(r,yr),s=x.useContext(K.E_),m=s.getPrefixCls,h=m("breadcrumb",t);return(0,i.jsx)(nr,a()(a()({},d),{},{prefixCls:h,children:ar(h,d,n,o)}))};tr.__ANT_BREADCRUMB_ITEM=!0;var Sr=tr,or=e(615624),lr=e(548073),Br=e(286665),Ir=e(986943),Pr=function(r){var t,n,o=r.componentCls,d=r.iconCls,s=r.calc;return l()({},o,a()(a()({},(0,lr.Wf)(r)),{},(n={color:r.itemColor,fontSize:r.fontSize},l()(n,d,{fontSize:r.iconFontSize}),l()(n,"ol",{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"}),l()(n,"a",a()({color:r.linkColor,transition:"color ".concat(r.motionDurationMid),padding:"0 ".concat((0,or.bf)(r.paddingXXS)),borderRadius:r.borderRadiusSM,height:r.fontHeight,display:"inline-block",marginInline:s(r.marginXXS).mul(-1).equal(),"&:hover":{color:r.linkHoverColor,backgroundColor:r.colorBgTextHover}},(0,lr.Qy)(r))),l()(n,"li:last-child",{color:r.lastItemColor}),l()(n,"".concat(o,"-separator"),{marginInline:r.separatorMargin,color:r.separatorColor}),l()(n,"".concat(o,"-link"),l()({},`
> `.concat(d,` + span,
> `).concat(d,` + a
`),{marginInlineStart:r.marginXXS})),l()(n,"".concat(o,"-overlay-link"),(t={borderRadius:r.borderRadiusSM,height:r.fontHeight,display:"inline-block",padding:"0 ".concat((0,or.bf)(r.paddingXXS)),marginInline:s(r.marginXXS).mul(-1).equal()},l()(t,"> ".concat(d),{marginInlineStart:r.marginXXS,fontSize:r.fontSizeIcon}),l()(t,"&:hover",{color:r.linkHoverColor,backgroundColor:r.colorBgTextHover,a:{color:r.linkHoverColor}}),l()(t,"a",{"&:hover":{backgroundColor:"transparent"}}),t)),l()(n,"&".concat(r.componentCls,"-rtl"),{direction:"rtl"}),n)))},Rr=function(r){return{itemColor:r.colorTextDescription,lastItemColor:r.colorText,iconFontSize:r.fontSize,linkColor:r.colorTextDescription,linkHoverColor:r.colorText,separatorColor:r.colorTextDescription,separatorMargin:r.marginXS}},Nr=(0,Br.I$)("Breadcrumb",function(c){var r=(0,Ir.TS)(c,{});return Pr(r)},Rr),Or=["breadcrumbName","children"],jr=["breadcrumbName"];function Er(c){var r=c.breadcrumbName,t=c.children,n=f()(c,Or),o=a()({title:r},n);return t&&(o.menu={items:t.map(function(d){var s=d.breadcrumbName,m=f()(d,jr);return a()(a()({},m),{},{title:s})})}),o}function Mr(c,r){return(0,x.useMemo)(function(){return c||(r?r.map(Er):null)},[c,r])}var Tr=["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"],Hr=function(r,t){if(t===void 0)return t;var n=(t||"").replace(/^\//,"");return Object.keys(r).forEach(function(o){n=n.replace(":".concat(o),r[o])}),n},F=function(r){var t=r.prefixCls,n=r.separator,o=n===void 0?"/":n,d=r.style,s=r.className,m=r.rootClassName,h=r.routes,P=r.items,Z=r.children,Q=r.itemRender,R=r.params,G=R===void 0?{}:R,A=f()(r,Tr),B=x.useContext(K.E_),z=B.getPrefixCls,E=B.direction,p=B.breadcrumb,C,I=z("breadcrumb",t),M=Nr(I),U=S()(M,2),T=U[0],D=U[1],N=Mr(P,h);if(!1)var X,Gr;var zr=gr(I,Q);if(N&&N.length>0){var L=[],Ur=P||h;C=N.map(function(u,H){var J=u.path,Y=u.key,Wr=u.type,cr=u.menu,dr=u.overlay,$r=u.onClick,Kr=u.className,Vr=u.separator,Fr=u.dropdownProps,w=Hr(G,J);w!==void 0&&L.push(w);var ir=Y!=null?Y:H;if(Wr==="separator")return(0,i.jsx)(V,{children:Vr},ir);var k={},Qr=H===N.length-1;cr?k.menu=cr:dr&&(k.overlay=dr);var q=u.href;return L.length&&w!==void 0&&(q="#/".concat(L.join("/"))),(0,i.jsx)(nr,a()(a()(a()({},k),(0,rr.default)(u,{data:!0,aria:!0})),{},{className:Kr,dropdownProps:Fr,href:q,separator:Qr?"":o,onClick:$r,prefixCls:I,children:zr(u,G,Ur,L,q)}),ir)})}else if(Z){var Dr=(0,_.default)(Z).length;C=(0,_.default)(Z).map(function(u,H){if(!u)return u;var J=H===Dr-1;return(0,sr.Tm)(u,{separator:J?"":o,key:H})})}var Xr=$()(I,p==null?void 0:p.className,l()({},"".concat(I,"-rtl"),E==="rtl"),s,m,D),Lr=a()(a()({},p==null?void 0:p.style),d);return T((0,i.jsx)("nav",a()(a()({className:Xr,style:Lr},A),{},{children:(0,i.jsx)("ol",{children:C})})))};F.Item=Sr,F.Separator=V;var Zr=F,Ar=Zr}}]);