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.
1 line
8.9 KiB
1 line
8.9 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[49029,66158],{27812:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(54476),o=r(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},a=r(7657),c=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))};var i=o.forwardRef(c)},26227:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(54476),o=r(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=r(7657),c=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))};var i=o.forwardRef(c)},63524:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(54476),o=r(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=r(7657),c=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:l}))};var i=o.forwardRef(c)},66104:function(e,t,r){r.d(t,{Z:function(){return P}});var n=r(92310),o=r.n(n),l=r(11592),a=r(26112),c=r(59301),i=r(92343),s=r(36355),u=r(84105),p=r(91857);const m=e=>{let{children:t}=e;const{getPrefixCls:r}=c.useContext(s.E_),n=r("breadcrumb");return c.createElement("li",{className:`${n}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};m.__ANT_BREADCRUMB_SEPARATOR=!0;var f=m,d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function b(e,t,r,n){if(null==r)return null;const{className:l,onClick:i}=t,s=d(t,["className","onClick"]),u=Object.assign(Object.assign({},(0,a.Z)(s,{data:!0,aria:!0})),{onClick:i});return void 0!==n?c.createElement("a",Object.assign({},u,{className:o()(`${e}-link`,l),href:n}),r):c.createElement("span",Object.assign({},u,{className:o()(`${e}-link`,l)}),r)}function g(e,t){return(r,n,o,l,a)=>{if(t)return t(r,n,o,l);const c=function(e,t){if(void 0===e.title||null===e.title)return null;const r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${r})`,"g"),((e,r)=>t[r]||e))}(r,n);return b(e,r,c,a)}}var h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const v=e=>{const{prefixCls:t,separator:r="/",children:n,menu:o,overlay:l,dropdownProps:a,href:i}=e;const s=(e=>{if(o||l){const r=Object.assign({},a);if(o){const e=o||{},{items:t}=e,n=h(e,["items"]);r.menu=Object.assign(Object.assign({},n),{items:null==t?void 0:t.map(((e,t)=>{var{key:r,title:n,label:o,path:l}=e,a=h(e,["key","title","label","path"]);let s=null!=o?o:n;return l&&(s=c.createElement("a",{href:`${i}${l}`},s)),Object.assign(Object.assign({},a),{key:null!=r?r:t,label:s})}))})}else l&&(r.overlay=l);return c.createElement(p.Z,Object.assign({placement:"bottom"},r),c.createElement("span",{className:`${t}-overlay-link`},e,c.createElement(u.Z,null)))}return e})(n);return null!=s?c.createElement(c.Fragment,null,c.createElement("li",null,s),r&&c.createElement(f,null,r)):null},y=e=>{const{prefixCls:t,children:r,href:n}=e,o=h(e,["prefixCls","children","href"]),{getPrefixCls:l}=c.useContext(s.E_),a=l("breadcrumb",t);return c.createElement(v,Object.assign({},o,{prefixCls:a}),b(a,o,r,n))};y.__ANT_BREADCRUMB_ITEM=!0;var O=y,C=r(17313),j=r(83116),x=r(37613);const k=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,C.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,C.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${r} + span,\n > ${r} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var S=(0,j.Z)("Breadcrumb",(e=>{const t=(0,x.TS)(e,{});return[k(t)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function w(e){const{breadcrumbName:t,children:r}=e,n=E(e,["breadcrumbName","children"]),o=Object.assign({title:t},n);return r&&(o.menu={items:r.map((e=>{var{breadcrumbName:t}=e,r=E(e,["breadcrumbName"]);return Object.assign(Object.assign({},r),{title:t})}))}),o}var N=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const $=e=>{const{prefixCls:t,separator:r="/",style:n,className:u,rootClassName:p,routes:m,items:d,children:b,itemRender:h,params:y={}}=e,O=N(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:C,direction:j,breadcrumb:x}=c.useContext(s.E_);let k;const E=C("breadcrumb",t),[$,P]=S(E),z=function(e,t){return(0,c.useMemo)((()=>e||(t?t.map(w):null)),[e,t])}(d,m);const H=g(E,h);if(z&&z.length>0){const e=[],t=d||m;k=z.map(((n,o)=>{const{path:l,key:i,type:s,menu:u,overlay:p,onClick:m,className:d,separator:b,dropdownProps:g}=n,h=((e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{r=r.replace(`:${t}`,e[t])})),r})(y,l);void 0!==h&&e.push(h);const O=null!=i?i:o;if("separator"===s)return c.createElement(f,{key:O},b);const C={},j=o===z.length-1;u?C.menu=u:p&&(C.overlay=p);let{href:x}=n;return e.length&&void 0!==h&&(x=`#/${e.join("/")}`),c.createElement(v,Object.assign({key:O},C,(0,a.Z)(n,{data:!0,aria:!0}),{className:d,dropdownProps:g,href:x,separator:j?"":r,onClick:m,prefixCls:E}),H(n,y,t,e,x))}))}else if(b){const e=(0,l.Z)(b).length;k=(0,l.Z)(b).map(((t,n)=>{if(!t)return t;const o=n===e-1;return(0,i.Tm)(t,{separator:o?"":r,key:n})}))}const Z=o()(E,null==x?void 0:x.className,{[`${E}-rtl`]:"rtl"===j},u,p,P),R=Object.assign(Object.assign({},null==x?void 0:x.style),n);return $(c.createElement("nav",Object.assign({className:Z,style:R},O),c.createElement("ol",null,k)))};$.Item=O,$.Separator=f;var P=$}}]); |