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.
 
 

19 lines
79 KiB

"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[5096],{803195:function(Ke,te,l){l.r(te),l.d(te,{default:function(){return gn}});var ce=l(805574),E=l.n(ce),oe=l(634577),ue=l(715778),pe=l(294184),V=l.n(pe),ne=l(727484),Y=l.n(ne),ke=l(533852),i=l(606641),u=l(667294),U=l(302559),re=l(438746),e=l(370917),I=l(352180),Je={1:"#fff",2:"#fafafa",3:"#f5f5f5",4:"#f0f0f0",5:"#d9d9d9",6:"#bfbfbf",7:"#8c8c8c",8:"#595959",9:"#434343",10:"#262626",11:"#1f1f1f",12:"#141414",13:"#000"},Xe=function(){var n=(0,I.Z)(),t=n.token,o=function d(p){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return c<=10?`
.palette-`.concat(p,"-").concat(c,` {
background: `).concat(t["".concat(p,"-").concat(c)],`;
}
`).concat(d(p,c+1),`
`):""},r=function d(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;return p<=13?`
.palette-gray-`.concat(p,` {
background: `).concat(Je[p],`;
}
`).concat(d(p+1),`
`):""};return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".color-palettes{margin:0 1%;&-dark{margin:0;padding:0 28px;background-color:#141414;.color-title{color:rgba(255, 255, 255, 0.85);}.color-description{color:rgba(255, 255, 255, 0.45);}.color-palette{margin:45px 3.5% 45px 0;&:nth-of-type(3n){margin-right:0;}.main-color-item{margin-right:0;&:hover{margin-right:-8px;}}}}}.color-palette{display:inline-block;width:31%;margin:45px 1%;&-pick{margin:0 0 20px;font-size:20px;text-align:center;}&-picker{margin:24px 0;&-value{position:relative;top:-3px;margin-left:16px;font-size:14px;font-family:Consolas,sans-serif;.ant-row-rtl &{margin-right:16px;margin-left:0;}}&-validation{position:relative;top:-3px;margin-left:16px;color:",t.colorError,";font-size:13px;.ant-row-rtl &{margin-right:16px;margin-left:0;}&-dark{margin-left:0;}}}}.main-color{",o("blue")," ",o("purple")," ",o("cyan")," ",o("green")," ",o("magenta")," ",o("red")," ",o("volcano")," ",o("orange")," ",o("gold")," ",o("yellow")," ",o("lime")," ",o("geekblue")," ",r()," text-align:left;&-item{position:relative;height:44px;margin-right:4px;padding:0 12px;font-size:14px;font-family:Consolas,sans-serif;line-height:44px;cursor:pointer;transition:all 0.2s;&:first-child{border-radius:4px 4px 0 0;}&:last-child{border-radius:0 0 4px 4px;}&:hover{margin-right:-8px;border-radius:0 4px 4px 0;}}&-item &-text{float:left;transition:all 0.3s;}&-item &-value{position:relative;left:3px;float:right;transform:scale(0.85);transform-origin:100% 50%;opacity:0;transition:all 0.3s;}}.color-title{margin:0 0 24px;color:#5c6b77;font-weight:500;font-size:22px;text-align:center;text-transform:capitalize;}.color-description{display:block;color:#777;font-weight:lighter;font-size:14px;}.main-color:hover{.main-color-value{left:0;opacity:0.7;}}.color-palette-horizontal{box-sizing:border-box;width:100%;&-dark{height:303px;padding:32px 28px;background-color:#141414;.color-palette-picker{margin-bottom:0;}.color-palette-pick{color:rgba(255, 255, 255, 0.65);text-align:left;&-hex{color:rgba(255, 255, 255, 0.65);}.ant-row-rtl &{direction:rtl;text-align:right;}}}.main-color{display:flex;&-item{position:relative;flex:1;box-sizing:border-box;height:86px;margin-right:0;padding:37px 0 0;line-height:normal;text-align:center;border-radius:0;.main-color-text{float:none;}&:hover{height:96px;margin-top:-10px;border-radius:4px 4px 0 0;}}&-value{position:absolute;bottom:0;left:0;width:100%;text-align:center;transform-origin:unset;}&:hover{.main-color-item{padding-top:8px;}.main-color-value{bottom:8px;opacity:0.7;}}}}","")})},Qe=Xe;function yn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var qe={name:"1kp1585",styles:"h1,h2,h3,h4,h5,h6{>a[aria-hidden]:first-child{float:left;width:20px;padding-inline-end:4px;font-size:0;line-height:inherit;text-align:right;padding-inline-end:4px;margin-inline-start:-24px;[data-direction='rtl'] &{float:right;}&:hover{border:0;}>.icon-link::before{font-size:20px;content:'#';}}&:not(:hover)>a[aria-hidden]:first-child>.icon-link{visibility:hidden;}}"},et=function(){return(0,e.tZ)(e.xB,{styles:qe})},tt=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)("@font-face{font-weight:normal;font-family:AlibabaPuHuiTi;src:url('//at.alicdn.com/t/webfont_6e11e43nfj.woff2') format('woff2'),url('//at.alicdn.com/t/webfont_6e11e43nfj.woff') format('woff'),url('//at.alicdn.com/t/webfont_6e11e43nfj.ttf') format('truetype');font-display:swap;}@font-face{font-weight:bold;font-family:AlibabaPuHuiTi;src:url('//at.alicdn.com/t/webfont_exesdog9toj.woff2') format('woff2'),url('//at.alicdn.com/t/webfont_exesdog9toj.woff') format('woff'),url('//at.alicdn.com/t/webfont_exesdog9toj.ttf') format('truetype');font-display:swap;}@font-face{font-weight:900;font-family:'AliPuHui';src:url('//at.alicdn.com/wf/webfont/exMpJIukiCms/Gsw2PSKrftc1yNWMNlXgw.woff2') format('woff2'),url('//at.alicdn.com/wf/webfont/exMpJIukiCms/vtu73by4O2gEBcvBuLgeu.woff') format('woff');font-display:swap;}html{direction:initial;&.rtl{direction:rtl;}}body{overflow-x:hidden;color:",n.colorText,";font-size:",n.fontSize,"px;font-family:",n.fontFamily,";line-height:",n.lineHeight,";background:",n.colorBgContainer,";transition:background-color 1s cubic-bezier(0.075, 0.82, 0.165, 1);}")})};function wn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ot={name:"4rer99",styles:"body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0;}ul,ol{list-style:none;}img{vertical-align:middle;border-style:none;}"},nt=function(){return(0,e.tZ)(e.xB,{styles:ot})},K=l(510274),rt=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls,r=t.colorPrimary;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".markdown{color:",t.colorText,";font-size:14px;line-height:2;}.highlight{line-height:1.5;}.markdown img{max-width:calc(100% - 32px);max-height:100%;}.markdown p>img{margin:34px 0;box-shadow:0 8px 20px rgba(143, 168, 191, 0.35);}.markdown p>img.markdown-inline-image{margin:0;box-shadow:none;}.markdown h1{margin-top:8px;margin-bottom:20px;color:",t.colorTextHeading,";font-weight:500;font-size:30px;font-family:Avenir,",t.fontFamily,",sans-serif;line-height:38px;.subtitle{margin-left:12px;}}.markdown h2{font-size:24px;line-height:32px;}.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{clear:both;margin:1.6em 0 0.6em;color:",t.colorTextHeading,";font-weight:500;font-family:Avenir,",t.fontFamily,",sans-serif;}.markdown h3{font-size:18px;}.markdown h4{font-size:16px;}.markdown h5{font-size:14px;}.markdown h6{font-size:12px;}.markdown hr{clear:both;height:1px;margin:24px 0;background:",t.colorSplit,";border:0;}.markdown p,.markdown pre{margin:1em 0;",o,"-row-rtl &{direction:rtl;text-align:right;}}.markdown ul>li{margin-left:20px;padding-left:4px;list-style-type:circle;.rtl &{margin-right:20px;margin-left:0;padding-right:4px;padding-left:0;}&:empty{display:none;}}.markdown ol>li{margin-left:20px;padding-left:4px;list-style-type:decimal;",o,"-row-rtl &{margin-right:20px;margin-left:0;padding-right:4px;padding-left:0;}}.markdown ul>li>p,.markdown ol>li>p{margin:0.2em 0;}.markdown code{margin:0 1px;padding:0.2em 0.4em;font-size:0.9em;background:",t.siteMarkdownCodeBg,";border:1px solid ",t.colorSplit,";border-radius:3px;}.markdown pre{font-family:",t.codeFamily,";background:",t.siteMarkdownCodeBg,";border-radius:",t.borderRadius,"px;}.markdown pre code{margin:0;padding:0;overflow:auto;color:",t.colorText,";font-size:",Math.max(t.fontSize-1,12),"px;direction:ltr;text-align:left;background:#f5f5f5;border:none;}.markdown strong,.markdown b{font-weight:500;}.markdown .dumi-default-source-code{margin:1em 0;background-color:",t.siteMarkdownCodeBg,";border-radius:",t.borderRadius,"px;>pre.prism-code{padding:12px 20px;font-size:13px;line-height:2;}}.pic-plus{&>*{display:inline-block!important;vertical-align:middle;}span{margin:0 20px;color:#aaa;font-size:30px;}}.antd-site-snippet{.ant-tabs-tab{.snippet-label{display:flex;align-items:center;justify-content:center;svg{margin-inline-end:8px;}}}.dumi-default-source-code{margin:0 auto;background-color:",t.siteMarkdownCodeBg,";border-radius:",t.borderRadius,"px;>pre.prism-code{padding:12px 20px;font-size:13px;line-height:2;}}}.markdown table td>a:not(:last-child){margin-right:0!important;&::after{position:relative!important;}}.markdown blockquote{margin:1em 0;padding-left:0.8em;color:",t.colorTextSecondary,";font-size:90%;border-left:4px solid ",t.colorSplit,";.rtl &{padding-right:0.8em;padding-left:0;border-right:4px solid ",t.colorSplit,";border-left:none;}}.markdown blockquote p{margin:0;}.markdown .anchor{margin-left:8px;opacity:0;transition:opacity 0.3s;.rtl &{margin-right:8px;margin-left:0;}}.markdown .waiting{color:#ccc;cursor:not-allowed;}.markdown a.edit-button{display:inline-block;margin-left:8px;text-decoration:none;.rtl &{margin-right:8px;margin-left:0;transform:rotateY(180deg);}",o,"icon{display:block;color:",t.colorTextSecondary,";font-size:16px;transition:all 0.3s;&:hover{color:",t.colorText,";}}}.markdown h1:hover .anchor,.markdown h2:hover .anchor,.markdown h3:hover .anchor,.markdown h4:hover .anchor,.markdown h5:hover .anchor,.markdown h6:hover .anchor{display:inline-block;opacity:1;}.markdown>br,.markdown>p>br{clear:both;}.markdown .dumi-default-table{table{margin:0;overflow-x:auto;overflow-y:hidden;direction:ltr;empty-cells:show;border:1px solid ",t.colorSplit,";border-collapse:collapse;border-spacing:0;th,td{padding:12px 24px;text-align:left;border:1px solid ",t.colorSplit,";&:first-child{border-left:1px solid ",t.colorSplit,";}&:last-child{border-right:1px solid ",t.colorSplit,";}img{max-width:unset;}}th{color:#5c6b77;font-weight:500;white-space:nowrap;background:rgba(0, 0, 0, 0.02);border-width:1px 1px 2px;}tbody tr{transition:all 0.3s;&:hover{background:rgba(60, 90, 100, 0.04);}}}table.component-api-table{margin:0;overflow-x:auto;overflow-y:hidden;font-size:",Math.max(t.fontSize-1,12),"px;font-family:",t.codeFamily,";line-height:",t.lineHeight,";border:1px solid ",t.colorSplit,";border-width:0 1px;th{border-width:1px 0 2px;}td{border-width:1px 0;&:first-child{width:18%;min-width:58px;color:#595959;font-weight:600;white-space:nowrap;}&:nth-child(2){width:55%;min-width:160px;}&:nth-child(3){width:22%;color:",t.magenta7,";font-size:",Math.max(t.fontSize-1,12),"px;}&:nth-child(4){width:15%;font-size:",Math.max(t.fontSize-1,12),"px;}&:nth-child(5){width:8%;font-size:",Math.max(t.fontSize-1,12),"px;}&:nth-last-child(3):first-child{width:38%;}&:nth-last-child(3):first-child~td:nth-last-child(2){width:70%;}}}}.grid-demo,[id^='components-grid-demo-']{",o,"-row>div,.code-box-demo ",o,"-row>div{min-height:30px;margin-top:8px;margin-bottom:8px;color:#fff;text-align:center;border-radius:0;}.code-box-demo ",o,"-row>div:not(.gutter-row){padding:16px 0;background:",r,";&:nth-child(2n + 1){background:",new K.C(r).setAlpha(.75).toHex8String(),";}}",o,"-row .demo-col,.code-box-demo ",o,"-row .demo-col{margin-top:0;margin-bottom:0;padding:30px 0;color:",t.colorWhite,";font-size:18px;text-align:center;border:none;}",o,"-row .demo-col-1{background:",new K.C(r).setAlpha(.75).toHexString(),";}",o,"-row .demo-col-2,.code-box-demo ",o,"-row .demo-col-2{background:",new K.C(r).setAlpha(.75).toHexString(),";}",o,"-row .demo-col-3,.code-box-demo ",o,"-row .demo-col-3{color:#999;background:rgba(255, 255, 255, 0.2);}",o,"-row .demo-col-4,.code-box-demo ",o,"-row .demo-col-4{background:",new K.C(r).setAlpha(.6).toHexString(),";}",o,"-row .demo-col-5,.code-box-demo ",o,"-row .demo-col-5{color:#999;background:rgba(255, 255, 255, 0.2);}.code-box-demo .height-100{height:100px;line-height:100px;}.code-box-demo .height-50{height:50px;line-height:50px;}.code-box-demo .height-120{height:120px;line-height:120px;}.code-box-demo .height-80{height:80px;line-height:80px;}}[id='components-grid-demo-playground'],[id='components-grid-demo-gutter']{>.code-box-demo ",o,"-row>div{margin-top:0;margin-bottom:0;}}","")})},it=rt,at=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(`/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/pre code{display:block;padding:16px 32px;color:`,n.colorText,";font-size:",n.fontSize,"px;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;line-height:2;white-space:pre;background:white;border:1px solid #e9e9e9;border-radius:",n.borderRadius,"px;}code[class*='language-'],pre[class*='language-']{color:black;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;line-height:1.5;direction:ltr;white-space:pre;text-align:left;word-wrap:normal;word-break:normal;word-spacing:normal;tab-size:4;hyphens:none;background:none;}code[class*='css']{direction:ltr;}pre[class*='language-'] ::selection,code[class*='language-'] ::selection{text-shadow:none;background:#b3d4fc;}@media print{code[class*='language-'],pre[class*='language-']{text-shadow:none;}}pre[class*='language-']{margin:16px 0;padding:12px 20px;overflow:auto;}:not(pre)>code[class*='language-'],pre[class*='language-']{background:#f5f5f5;}:not(pre)>code[class*='language-']{padding:0.1em;white-space:normal;border-radius:0.3em;}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.namespace{opacity:0.7;}.markdown{.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#f81d22;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#0b8235;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#0b8235;}.token.atrule,.token.attr-value,.token.keyword{color:#008dff;}.token.function{color:#f81d22;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}}")})},lt=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls,r=t.iconCls;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".code-boxes-col-1-1{width:100%;}.code-boxes-col-2-1{display:inline-block;vertical-align:top;}.code-box{position:relative;display:inline-block;width:100%;margin:0 0 16px;background-color:",t.colorBgContainer,";border:1px solid ",t.colorSplit,";border-radius:",t.borderRadius,"px;transition:all 0.2s;.code-box-title{&,a{color:",t.colorText,"!important;background:",t.colorBgContainer,";}}.code-box-demo{background-color:",t.colorBgContainer,";border-radius:",t.borderRadius,"px ",t.borderRadius,"px 0 0;}.markdown{pre{margin:0.5em 0;padding:6px 12px;}pre code{margin:0;background:#f5f5f5;}}&:target{border:1px solid ",t.colorPrimary,";}&-expand-trigger{position:relative;color:#3b4357;font-size:20px;cursor:pointer;opacity:0.75;transition:all 0.3s;margin-inline-start:12px;&:hover{opacity:1;}}&-title{position:absolute;top:-14px;padding:1px 8px;color:#777;background:",t.colorBgContainer,";border-radius:",t.borderRadius,"px ",t.borderRadius,"px 0 0;transition:background-color 0.4s;margin-inline-start:16px;",o,"-row-rtl &{border-radius:",t.borderRadius,"px 0 0 ",t.borderRadius,"px;}a,a:hover{color:",t.colorText,";font-weight:500;font-size:",t.fontSize,"px;}}&-description{padding:18px 24px 12px;}a.edit-button{position:absolute;top:7px;right:-16px;font-size:12px;text-decoration:none;background:inherit;transform:scale(0.9);padding-inline-end:6px;",r,"{color:",t.colorTextSecondary,";transition:all 0.3s;&:hover{color:",t.colorText,";}}",o,"-row",o,"-row-rtl &{right:auto;left:-22px;}}&-demo{padding:42px 24px 50px;color:",t.colorText,";border-bottom:1px solid ",t.colorSplit,";}iframe{width:100%;border:0;}&-meta{&.markdown{position:relative;width:100%;font-size:",t.fontSize,"px;border-radius:0 0 ",t.borderRadius,"px ",t.borderRadius,"px;transition:background-color 0.4s;}blockquote{line-height:1.5;}h4,section& p{margin:0;}>p{width:100%;margin:0.5em 0;font-size:12px;word-break:break-word;padding-inline-end:25px;}}&.expand &-meta{border-bottom:1px dashed ",t.colorSplit,";border-radius:0;}.code-expand-icon{position:relative;width:16px;height:16px;cursor:pointer;}.code-expand-icon-show,.code-expand-icon-hide{position:absolute;top:0;left:0;width:100%;max-width:100%;margin:0;box-shadow:none;transition:all 0.4s;user-select:none;",o,"-row-rtl &{right:0;left:auto;}}.code-expand-icon-show{opacity:0.55;pointer-events:auto;&:hover{opacity:1;}}.code-expand-icon",o,"-tooltip-open .code-expand-icon-show{opacity:1;}.code-expand-icon-hide{opacity:0;pointer-events:none;}.highlight-wrapper{display:none;overflow:auto;border-radius:0 0 ",t.borderRadius,"px ",t.borderRadius,"px;&-expand{display:block;}}.highlight{position:relative;pre{margin:0;padding:0;background:",t.colorBgContainer,";}&:not(:first-child){border-top:1px dashed ",t.colorSplit,";}}&-actions{display:flex;justify-content:center;padding:12px 0;border-top:1px dashed ",t.colorSplit,";opacity:0.7;transition:opacity 0.3s;&:hover{opacity:1;}}&-actions &-code-action{position:relative;display:flex;align-items:center;width:16px;height:16px;color:",t.colorTextSecondary,";cursor:pointer;transition:all 0.24s;&:hover{color:",t.colorText,";}",r,"{display:block;}}&-code-copy{width:14px;height:14px;font-size:14px;text-align:center;background:",t.colorBgContainer,";cursor:pointer;transition:transform 0.24s;&",r,"-check{color:",t.green6,"!important;font-weight:bold;}}&-codepen{width:14px;height:14px;overflow:hidden;border:0;cursor:pointer;}&-riddle{width:14px;height:14px;overflow:hidden;border:0;cursor:pointer;}&-codesandbox{width:16px;height:16px;overflow:hidden;border:0;cursor:pointer;&:hover{opacity:1;}}.highlight-wrapper:hover &-code-copy,.highlight-wrapper:hover &-codepen,.highlight-wrapper:hover &-codesandbox,.highlight-wrapper:hover &-riddle{opacity:1;}pre{width:auto;margin:0;code{background:",t.colorBgContainer,";border:none;box-shadow:unset;}}&-debug{border-color:",t.purple3,";}&-debug &-title a{color:",t.purple6,";}}.demo-wrapper{position:relative;}.all-code-box-controls{position:absolute;top:-32px;inset-inline-end:0;}",o,"-row-rtl{#components-tooltip-demo-placement,#components-popover-demo-placement,#components-popconfirm-demo-placement{.code-box-demo{direction:ltr;}}}","")})},st=lt,dt=function(){var s=(0,I.Z)(),n=s.token,t=n.antCls,o=n.iconCls;return(0,e.tZ)(e.xB,{styles:(0,e.iv)("ul.anticons-list{margin:10px 0;overflow:hidden;direction:ltr;list-style:none;li{position:relative;float:left;width:16.66%;height:100px;margin:3px 0;padding:10px 0 0;overflow:hidden;color:#555;text-align:center;list-style:none;background-color:inherit;border-radius:4px;cursor:pointer;transition:color 0.3s ease-in-out,background-color 0.3s ease-in-out;.rtl &{margin:3px 0;padding:10px 0 0;}",o,"{margin:12px 0 8px;font-size:36px;transition:transform 0.3s ease-in-out;will-change:transform;}.anticon-class{display:block;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;white-space:nowrap;text-align:center;transform:scale(0.83);",t,"-badge{transition:color 0.3s ease-in-out;}}&:hover{color:#fff;background-color:",n.colorPrimary,";",o,"{transform:scale(1.4);}",t,"-badge{color:#fff;}}&.TwoTone:hover{background-color:#8ecafe;}&.copied:hover{color:rgba(255, 255, 255, 0.2);}&::after{position:absolute;top:0;left:0;width:100%;height:100%;color:#fff;line-height:110px;text-align:center;background:#1677ff;opacity:0;transition:all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);content:'Copied!';}&.copied::after{opacity:1;}}}.copied-code{padding:2px 4px;font-size:12px;background:#f5f5f5;border-radius:2px;}")})},ct=function(){var s=(0,I.Z)(),n=s.token,t=n.iconCls;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".icon-pic-searcher{display:inline-block;margin:0 8px;.icon-pic-btn{color:",n.colorIcon,";cursor:pointer;transition:all 0.3s;&:hover{color:",n.colorIconHover,";}}}.icon-pic-preview{width:66px;height:66px;margin-top:10px;padding:8px;text-align:center;border:1px solid ",n.colorBorder,";border-radius:4px;>img{max-width:50px;max-height:50px;}}.icon-pic-search-result{min-height:50px;padding:0 10px;>.result-tip{padding:10px 0;color:",n.colorTextSecondary,";}>table{width:100%;.col-icon{width:80px;padding:10px 0;>",t,"{font-size:30px;:hover{color:",n.colorLinkHover,";}}}}}")})};function kn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ut={name:"2xd41",styles:".browser-mockup{position:relative;border-top:2em solid rgba(230, 230, 230, 0.7);border-radius:3px 3px 0 0;box-shadow:0 0.1em 0.5em 0 rgba(0, 0, 0, 0.28);}.browser-mockup::before{position:absolute;top:-1.25em;left:1em;display:block;width:0.5em;height:0.5em;background-color:#f44;border-radius:50%;box-shadow:0 0 0 2px #f44,1.5em 0 0 2px #9b3,3em 0 0 2px #fb5;content:'';}.browser-mockup.with-tab::after{position:absolute;top:-2em;left:5.5em;display:block;width:20%;height:0;border-right:0.8em solid transparent;border-bottom:2em solid white;border-left:0.8em solid transparent;content:'';}.browser-mockup.with-url::after{position:absolute;top:-1.6em;left:5.5em;display:block;width:calc(100% - 6em);height:1.2em;background-color:white;border-radius:2px;content:'';}.browser-mockup>*{display:block;}"},pt=function(){return(0,e.tZ)(e.xB,{styles:ut})},mt=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".nav-phone-icon{position:absolute;top:25px;right:30px;z-index:1;display:none;width:16px;height:22px;cursor:pointer;}@media only screen and (max-width: ",n.screenLG,"px){.code-boxes-col-2-1,.code-boxes-col-1-1{float:none;width:100%;max-width:unset;}}@media only screen and (max-width: 767.99px){.preview-image-boxes{float:none;width:100%;margin:0!important;}.preview-image-box{width:100%;margin:10px 0;padding:0;}.image-wrapper{display:none;}div.version{display:block;margin:29px auto 16px;}.toc{display:none;}.nav-phone-icon{display:block;}.main{height:calc(100% - 86px);}.aside-container{float:none;width:auto;padding-bottom:30px;border-right:0;}.ant-row-rtl{margin-right:0;margin-left:0;padding-right:16px;padding-left:16px;>.markdown>*{width:100%!important;}}.main-wrapper{width:100%;margin:0;border-radius:0;}.prev-next-nav{width:calc(100% - 32px);margin-left:16px;.ant-row-rtl &{margin-right:16px;margin-left:64px;}}.drawer{.ant-menu-inline .ant-menu-item::after,.ant-menu-vertical .ant-menu-item::after{right:auto;left:0;}}.home-page-wrapper{.page{h2{margin:80px auto 64px;}}.parallax-bg{display:none;}}.banner{display:block;height:632px;&-bg-wrapper{display:none;}.img-wrapper,.text-wrapper{display:inline-block;width:100%;min-width:unset;max-width:unset;margin:auto;text-align:center;}.img-wrapper{position:initial;margin-top:20px;text-align:center;svg{width:100%;max-width:260px;height:auto;margin:0 auto;}}.text-wrapper{min-height:200px;margin-top:32px;padding:0;h1{display:none;}p{color:#314659;font-size:14px;line-height:28px;}.banner-btns{display:block;min-width:100%;white-space:nowrap;text-align:center;.banner-btn{padding:0 20px;font-size:14px;}}.banner-promote{min-width:100%;margin-top:32px;.ant-divider{display:none;}a{font-size:14px;white-space:nowrap;img{width:20px;}}}}}.page1{min-height:1300px;.ant-row{margin:24px auto 64px;>div{margin-bottom:48px;}}}.page2{min-height:840px;background:",n.colorBgContainer,";&-content{box-shadow:none;}&-components{display:none;}&-product{min-height:auto;padding:0 16px;.product-block{margin-bottom:34px;padding-bottom:35px;border-bottom:1px solid ",n.colorSplit,";&:last-child{margin-bottom:32px;border-bottom:none;.block-text-wrapper{height:auto;}}.block-image-wrapper{height:88px;img{height:100%;}}.block-text-wrapper{padding-bottom:0;border-bottom:none;h4{margin-bottom:4px;font-size:18px;line-height:24px;}p{margin-bottom:8px;font-size:12px;line-height:20px;}a{line-height:20px;}.components-button-wrapper{margin-top:16px;font-size:12px;a{display:block;}}a.more-mobile-react,a.more-mobile-angular{margin-top:0;color:",n.colorLink,";}a.more-mobile-react:hover,a.more-mobile-angular:hover{color:#40a9ff;}}}}}.page3{min-height:688px;background:url('https://gw.alipayobjects.com/zos/rmsportal/qICoJIqqQRMeRGhPHBBS.svg') no-repeat;background-size:cover;.ant-row{margin:0 8px;}.page3-block{margin-bottom:32px;padding:24px;background:",n.colorBgContainer,";border-radius:4px;box-shadow:0 8px 16px rgba(174, 185, 193, 0.3);&:nth-child(2){.page3-img-wrapper img{display:block;width:70%;margin:auto;}}p{font-size:12px;}.page3-img-wrapper{width:20%;img{width:100%;}}.page3-text-wrapper{width:80%;max-width:initial;margin:0;padding-left:16px;}}}}")})},gt=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)("#nprogress{.bar{background:",n.colorPrimary,";}.peg{box-shadow:0 0 10px ",n.colorPrimary,",0 0 5px ",n.colorPrimary,";}.spinner-icon{border-top-color:",n.colorPrimary,";border-left-color:",n.colorPrimary,";}}")})},ht=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".preview-image-boxes{display:flex;float:right;clear:both;width:496px;margin:0 0 70px 64px;&-with-carousel{width:420px;.preview-image-box img{padding:0;}}.ant-row-rtl &{float:left;margin:0 64px 70px 0;}}.preview-image-boxes+.preview-image-boxes{margin-top:-35px;}.preview-image-box{float:left;width:100%;}.preview-image-box+.preview-image-box{margin-left:24px;.ant-row-rtl &{margin-right:24px;margin-left:0;}}.preview-image-wrapper{position:relative;display:inline-block;width:100%;padding:16px;text-align:center;background:#f2f4f5;box-sizing:border-box;}.preview-image-wrapper.video{display:block;padding:0;background:0;}.preview-image-wrapper video{display:block;width:100%;+svg{position:absolute;top:0;left:0;}}.preview-image-wrapper.good::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:3px;background:",n.colorPrimary,";content:'';}.preview-image-wrapper.bad::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:3px;background:",n.colorError,";content:'';}.preview-image-title{margin-top:20px;color:",n.colorText,";font-size:12px;}.preview-image-description{margin-top:2px;color:",n.colorTextSecondary,";font-size:12px;line-height:1.5;}.preview-image-description hr{margin:2px 0;background:none;border:0;}.preview-image-box img{box-sizing:border-box;max-width:100%;padding:12px;background:",n.colorBgContainer,";border-radius:",n.borderRadius,"px;cursor:pointer;transition:all 0.3s;&.no-padding{padding:0;background:none;}}.preview-image-boxes.preview-image-boxes-with-carousel img{padding:0;box-shadow:0 1px 0 0 #ddd,0 3px 0 0 ",n.colorBgContainer,",0 4px 0 0 #ddd,0 6px 0 0 ",n.colorBgContainer,",0 7px 0 0 #ddd;}.preview-image-box img:hover{box-shadow:1px 1px 6px rgba(0, 0, 0, 0.3);}.transition-video-player,.motion-video-min{float:right;width:600px;padding:0 0 70px 20px;.preview-image-wrapper{padding:0;}.ant-row-rtl &{float:left;}}.motion-video-min{width:390px;}.motion-principle-wrapper{width:100%;max-width:900px;margin:48px 0 24px;}.principle-wrapper{width:100%;.principle{display:inline-block;box-sizing:border-box;width:100%;min-height:180px;margin-right:12.5%;margin-bottom:24px;padding:24px;font-size:24px;text-align:center;border:1px solid #e8e8e8;border-radius:4px;&:last-child{margin-right:0;}h4{margin:16px 0 8px;}p{font-size:12px;line-height:24px;}}}")})},me="dumi-default-",ft=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)("html{.",me,"search-bar{&-input{color:",n.colorText,";background:",n.colorBgContainer,";&:focus{background:",n.colorBgContainer,";}&::placeholder{color:",n.colorTextPlaceholder,"!important;}}}.",me,"search-popover{background-color:",n.colorBgElevated,"!important;&::before{border-bottom-color:",n.colorBgElevated,"!important;}}.",me,"search-result{dl{dt{background-color:",n.controlItemBgActive,"!important;}dd{a{&:hover{background-color:",n.controlItemBgHover,";h4,p{color:",n.colorText,"!important;}svg{fill:",n.colorText,"!important;}}}}}}}")})};function Zn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var vt={name:"3mbwcg",styles:".design-inline-cards{display:flex;margin:0 -20px;}.design-inline-cards>*{flex:10%;margin:0 20px;}.design-inline-cards img{width:100%;max-width:100%;}.design-inline-cards h4{margin-bottom:0;}"},xt=function(){return(0,e.tZ)(e.xB,{styles:vt})},bt=function(){return(0,e.tZ)(u.Fragment,null,(0,e.tZ)(tt,null),(0,e.tZ)(nt,null),(0,e.tZ)(it,null),(0,e.tZ)(at,null),(0,e.tZ)(st,null),(0,e.tZ)(dt,null),(0,e.tZ)(ct,null),(0,e.tZ)(pt,null),(0,e.tZ)(mt,null),(0,e.tZ)(gt,null),(0,e.tZ)(ht,null),(0,e.tZ)(xt,null),(0,e.tZ)(Qe,null),(0,e.tZ)(et,null),(0,e.tZ)(ft,null))},yt=bt,wt=l(857278),kt=l(430932),Zt=l(985093),ie=l(115668),St=l(642207),Ze=l(301210),Ct=l(13923),ge=l(263783),zt=l(937993),Tt=l(448118),It=l(938545),Et=l(173224),Lt=l(630770),Mt=l(391298),J=l(438199),Se=l(693399),ae="ant-where-checker",Rt={cn:{whereNotSupport:"\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u73B0\u4EE3 CSS Selector\uFF0C\u8BF7\u4F7F\u7528\u73B0\u4EE3\u6D4F\u89C8\u5668\uFF08\u5982 Chrome\u3001Firefox \u7B49\u7B49\uFF09\u67E5\u770B\u5B98\u7F51\u3002\u5982\u679C\u9700\u8981\u5BF9\u65E7\u7248\u6D4F\u89C8\u5668\u8FDB\u884C\u6837\u5F0F\u652F\u6301\uFF0C\u6B22\u8FCE\u67E5\u9605\u914D\u7F6E\u6587\u6863\uFF1A",whereDocTitle:"\u517C\u5BB9\u6027\u8C03\u6574\uFF08\u8BF7\u4F7F\u7528\u73B0\u4EE3\u6D4F\u89C8\u5668\u8BBF\u95EE\uFF09",whereDocUrl:"/docs/react/customize-theme-cn#\u517C\u5BB9\u6027\u8C03\u6574"},en:{whereNotSupport:"Your browser not support modern CSS Selector. Please use modern browser to view (e.g. Chrome, Firefox, etc). If you want to compatible style with legacy browser, please refer to the configuration document:",whereDocTitle:"Compatible adjustment (Please use modern browser to visit)",whereDocUrl:"/docs/react/customize-theme#compatible-adjustment"}};function Nt(){var s=(0,U.Z)(Rt),n=E()(s,1),t=n[0],o=u.useState(!0),r=E()(o,2),d=r[0],p=r[1];return u.useEffect(function(){var c=document.createElement("p");c.className=ae,c.style.position="fixed",c.style.pointerEvents="none",c.style.visibility="hidden",c.style.width="0",document.body.appendChild(c),(0,Se.updateCSS)(`
:where(.`.concat(ae,`) {
content: "__CHECK__";
}
`),ae);var a=getComputedStyle(c),m=a.content;return p(String(m).includes("CHECK")),function(){document.body.removeChild(c),(0,Se.removeCSS)(ae)}},[]),d?null:(0,e.tZ)("div",{style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:99999999,background:"rgba(0,0,0,0.65)",display:"flex",justifyContent:"center",alignItems:"center"}},(0,e.tZ)("div",{style:{border:"1px solid #ffe58f",background:"#fffbe6",color:"rgba(0,0,0,0.88)",padding:"8px 12px",borderRadius:"8px",zIndex:9999999999,lineHeight:"22px",width:520}},t.whereNotSupport," ",(0,e.tZ)("a",{style:{color:"#1677ff",textDecoration:"none"},href:t.whereDocUrl},t.whereDocTitle)))}var At={cn:{owner:"\u8682\u8681\u96C6\u56E2\u548C Ant Design \u5F00\u6E90\u793E\u533A"},en:{owner:"Ant Group and Ant Design Community"}},Dt=function(){var n=(0,I.Z)(),t=n.token,o=(0,u.useContext)(J.Z),r=o.isMobile,d=new K.C((0,Lt.Z)("#f0f3fa","#fff")).onBackground(t.colorBgContainer).toHexString();return{holder:(0,e.iv)("background:",d,";",""),footer:(0,e.iv)("background:",d,";color:",t.colorTextSecondary,";box-shadow:inset 0 106px 36px -116px rgba(0, 0, 0, 0.14);*{box-sizing:border-box;}h2,a{color:",t.colorText,";}.rc-footer-column{margin-bottom:",r?60:0,"px;:last-child{margin-bottom:",r?20:0,"px;}}.rc-footer-item-icon{top:-1.5px;}.rc-footer-container{max-width:1208px;margin-inline:auto;padding-inline:",t.marginXXL,"px;}.rc-footer-bottom{box-shadow:inset 0 106px 36px -116px rgba(0, 0, 0, 0.14);.rc-footer-bottom-container{font-size:",t.fontSize,"px;}}","")}},Bt=function(){var n=(0,re.Z)(),t=(0,U.Z)(At),o=E()(t,2),r=o[0],d=o[1],p=Dt(),c=n.getLink,a=u.useMemo(function(){var m=d==="cn",C={title:(0,e.tZ)(i._H,{id:"app.footer.resources"}),items:[{title:"Ant Design Charts",url:"https://charts.ant.design",openExternal:!0},{title:"Ant Design Pro",url:"https://pro.ant.design",openExternal:!0},{title:"Ant Design Pro Components",url:"https://procomponents.ant.design",openExternal:!0},{title:"Ant Design Mobile",url:"https://mobile.ant.design",openExternal:!0},{title:"Ant Design Mini",url:"https://mini.ant.design",openExternal:!0},{title:"Ant Design Landing",description:(0,e.tZ)(i._H,{id:"app.footer.landing"}),url:"https://landing.ant.design",openExternal:!0},{title:"Scaffolds",description:(0,e.tZ)(i._H,{id:"app.footer.scaffolds"}),url:"https://scaffold.ant.design",openExternal:!0},{title:"Umi",description:(0,e.tZ)(i._H,{id:"app.footer.umi"}),url:"https://umijs.org",openExternal:!0},{title:"dumi",description:(0,e.tZ)(i._H,{id:"app.footer.dumi"}),url:"https://d.umijs.org",openExternal:!0},{title:"qiankun",description:(0,e.tZ)(i._H,{id:"app.footer.qiankun"}),url:"https://qiankun.umijs.org",openExternal:!0},{title:"ahooks",description:(0,e.tZ)(i._H,{id:"app.footer.hooks"}),url:"https://github.com/alibaba/hooks",openExternal:!0},{title:"Ant Motion",description:(0,e.tZ)(i._H,{id:"app.footer.motion"}),url:"https://motion.ant.design",openExternal:!0},{title:(0,e.tZ)(i._H,{id:"app.footer.chinamirror"}),url:"https://ant-design.antgroup.com"}]},S={title:(0,e.tZ)(i._H,{id:"app.footer.community"}),items:[{icon:(0,e.tZ)(wt.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.awesome"}),url:"https://github.com/websemantics/awesome-ant-design",openExternal:!0},{icon:(0,e.tZ)(kt.Z,null),title:"Medium",url:"http://medium.com/ant-design/",openExternal:!0},{icon:(0,e.tZ)(Zt.Z,{style:{color:"#1DA1F2"}}),title:"Twitter",url:"http://twitter.com/antdesignui",openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:(0,e.tZ)(i._H,{id:"app.footer.yuque.repo"}),url:"https://yuque.com/ant-design/ant-design",openExternal:!0},{icon:(0,e.tZ)(ie.Z,{style:{color:"#056de8"}}),title:(0,e.tZ)(i._H,{id:"app.footer.zhihu"}),url:"https://www.zhihu.com/column/c_1564262000561106944",openExternal:!0},{icon:(0,e.tZ)(ie.Z,{style:{color:"#056de8"}}),title:(0,e.tZ)(i._H,{id:"app.footer.zhihu.xtech"}),url:"https://www.zhihu.com/column/c_1543658574504751104",openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/mZBWtboYbnMkTBaRIuWQ.png",alt:"seeconf"}),title:"SEE Conf",description:(0,e.tZ)(i._H,{id:"app.footer.seeconf"}),url:"https://seeconf.antfin.com/",openExternal:!0}]};m&&S.items.push({icon:(0,e.tZ)(St.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.work_with_us"}),url:c("/docs/resources",{cn:"\u52A0\u5165\u6211\u4EEC",en:"JoinUs"}),LinkComponent:i.rU});var y={title:(0,e.tZ)(i._H,{id:"app.footer.help"}),items:[{icon:(0,e.tZ)(Ze.Z,null),title:"GitHub",url:"https://github.com/ant-design/ant-design",openExternal:!0},{icon:(0,e.tZ)(Ct.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.change-log"}),url:c("/changelog"),LinkComponent:i.rU},{icon:(0,e.tZ)(ge.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.faq"}),url:c("/docs/react/faq"),LinkComponent:i.rU},{icon:(0,e.tZ)(zt.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.bug-report"}),url:"https://new-issue.ant.design/",openExternal:!0},{icon:(0,e.tZ)(Tt.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.issues"}),url:"https://github.com/ant-design/ant-design/issues",openExternal:!0},{icon:(0,e.tZ)(It.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.discussions"}),url:"https://github.com/ant-design/ant-design/discussions",openExternal:!0},{icon:(0,e.tZ)(ge.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.stackoverflow"}),url:"http://stackoverflow.com/questions/tagged/antd",openExternal:!0},{icon:(0,e.tZ)(ge.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.segmentfault"}),url:"https://segmentfault.com/t/antd",openExternal:!0}]},g={icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"Ant XTech"}),title:(0,e.tZ)(i._H,{id:"app.footer.more-product"}),items:[{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:(0,e.tZ)(i._H,{id:"app.footer.yuque"}),url:"https://yuque.com",description:(0,e.tZ)(i._H,{id:"app.footer.yuque.slogan"}),openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/nc7Fc0XBg5/8a6844f5-a6ed-4630-9177-4fa5d0b7dd47.png",alt:"AntV"}),title:"AntV",url:"https://antv.vision",description:(0,e.tZ)(i._H,{id:"app.footer.antv.slogan"}),openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://www.eggjs.org/logo.svg",alt:"Egg"}),title:"Egg",url:"https://eggjs.org",description:(0,e.tZ)(i._H,{id:"app.footer.egg.slogan"}),openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/DMDOlAUhmktLyEODCMBR.ico",alt:"kitchen"}),title:"Kitchen",description:(0,e.tZ)(i._H,{id:"app.footer.kitchen"}),url:"https://kitchen.alipay.com",openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"xtech"}),title:(0,e.tZ)(i._H,{id:"app.footer.xtech"}),url:"https://xtech.antfin.com/",openExternal:!0},{icon:(0,e.tZ)(Et.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.theme"}),url:c("/theme-editor"),LinkComponent:i.rU}]};return[C,S,y,g]},[d,n.search]);return(0,e.tZ)(u.Fragment,null,(0,e.tZ)(Mt.Z,{columns:a,css:p.footer,bottom:(0,e.tZ)(u.Fragment,null,(0,e.tZ)("div",{style:{opacity:"0.4"}},"Made with ",(0,e.tZ)("span",{style:{color:"#fff"}},"\u2764")," by"),(0,e.tZ)("div",null,r.owner))}),(0,e.tZ)(Nt,null))},he=Bt,Ht=l(967333),X=l.n(Ht),jt=l(97857),P=l.n(jt),Ft=l(9783),Ce=l.n(Ft),ze=l(660532),h=l(513669),Pt=l(39199),Ot=l(316165),$t="M448 64l512 0 0 128-128 0 0 768-128 0 0-768-128 0 0 768-128 0 0-448c-123.712 0-224-100.288-224-224s100.288-224 224-224zM64 448l256 224-256 224z",Gt="M256 64l512 0 0 128-128 0 0 768-128 0 0-768-128 0 0 768-128 0 0-448c-123.712 0-224-100.288-224-224s100.288-224 224-224zM960 896l-256-224 256-224z",Wt=function(n){return(0,e.tZ)(Ot.Z,n,(0,e.tZ)("svg",{viewBox:"0 0 1024 1024",fill:"currentColor"},(0,e.tZ)("path",{d:n.direction==="ltr"?$t:Gt})))},Te=Wt,j=l(373638);function Sn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Ut={name:"zsb1p1",styles:"line-height:32px"},Vt=function(){var n=(0,I.Z)(),t=n.token,o=t.headerHeight,r=t.colorTextHeading,d=t.fontFamily,p=t.mobileMaxWidth;return{logo:(0,e.iv)("height:",o,"px;padding-inline-start:40px;overflow:hidden;color:",r,";font-weight:bold;font-size:18px;font-family:AlibabaPuHuiTi,",d,",sans-serif;line-height:",o,"px;letter-spacing:-0.18px;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;&:hover{color:",r,";}img{height:32px;vertical-align:middle;margin-inline-end:12px;}@media only screen and (max-width: ",p,"px){padding-inline-start:0;padding-inline-end:0;}",""),title:Ut}},Yt=function(n){var t=n.isZhCN,o=(0,i.TH)(),r=o.search,d=Vt(),p=d.logo,c=d.title;return(0,e.tZ)("h1",null,(0,e.tZ)(i.rU,{to:j.J1("/",t,r),css:p},(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg",alt:"logo"}),(0,e.tZ)("span",{css:c},"Ant Design")))},_t=Yt,Kt=l(534804);function Cn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Jt={name:"1bdxe0v",styles:"font-size:12px;color:#777;margin-left:0.3em"},Ie=function(n){return{smallStyle:Jt,downOutlined:(0,e.iv)("font-size:9px;margin:",n?"-1px 2px 0 0":"-1px 0 0 2px",";vertical-align:middle;","")}},Ee=function(){var n=Ie(),t=n.smallStyle;return(0,e.tZ)("span",{css:t},"(",(0,e.tZ)(i._H,{id:"app.implementation.community"}),")")},Le=function(){return[{label:(0,e.tZ)("a",{href:"https://charts.ant.design",target:"_blank",rel:"noopener noreferrer"},(0,e.tZ)(i._H,{id:"app.header.menu.charts"})),key:"charts"},{label:(0,e.tZ)("a",{href:"http://pro.ant.design",target:"_blank",rel:"noopener noreferrer"},(0,e.tZ)(i._H,{id:"app.header.menu.pro.v4"})),key:"pro"},{label:(0,e.tZ)("a",{href:"http://procomponents.ant.design",target:"_blank",rel:"noopener noreferrer"},(0,e.tZ)(i._H,{id:"app.header.menu.pro.components"})),key:"procomponents"},{label:(0,e.tZ)("a",{href:"http://ng.ant.design",target:"_blank",rel:"noopener noreferrer"},"Ant Design of Angular",(0,e.tZ)(Ee,null)),key:"ng"},{label:(0,e.tZ)("a",{href:"http://antdv.com",target:"_blank",rel:"noopener noreferrer"},"Ant Design of Vue",(0,e.tZ)(Ee,null)),key:"vue"}]},Xt=function(n){var t=n.isRTL,o=Ie(t),r=o.downOutlined;return(0,e.tZ)(h.Dropdown,{menu:{items:Le()},placement:"bottomRight"},(0,e.tZ)(h.Button,{size:"small"},(0,e.tZ)(i._H,{id:"app.header.menu.more"}),(0,e.tZ)(Kt.Z,{css:r})))},Qt=Xt,qt=l(719632),W=l.n(qt),eo={cn:{design:"\u8BBE\u8BA1",development:"\u7814\u53D1",components:"\u7EC4\u4EF6",resources:"\u8D44\u6E90",blog:"\u535A\u5BA2"},en:{design:"Design",development:"Development",components:"Components",resources:"Resources",blog:"Blog"}},to=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls,r=t.iconCls,d=t.fontFamily,p=t.headerHeight,c=t.menuItemBorder,a=t.colorPrimary;return{nav:(0,e.iv)("height:100%;font-size:14px;font-family:Avenir,",d,",sans-serif;border:0;&",o,"-menu-horizontal{border-bottom:none;&>",o,"-menu-item,&>",o,"-menu-submenu{min-width:",40+12*2,"px;height:",p,"px;padding-right:12px;padding-left:12px;line-height:",p,"px;&::after{top:0;right:12px;bottom:auto;left:12px;border-width:",c,"px;}}& ",o,"-menu-submenu-title ",r,"{margin:0;}&>",o,"-menu-item-selected{a{color:",a,";}}}&>",o,"-menu-item,&>",o,"-menu-submenu{text-align:center;}",""),popoverMenuNav:(0,e.iv)(o,"-menu-item,",o,"-menu-submenu{text-align:left;}",o,"-menu-item-group-title{padding-left:24px;}",o,"-menu-item-group-list{padding:0 16px;}",o,"-menu-item,a{color:#333;}","")}},oo=function(s){var n,t,o,r=s.isZhCN,d=s.isClient,p=s.isMobile,c=s.responsive,a=s.directionText,m=s.onLangChange,C=s.onDirectionChange,S=(0,i.TH)(),y=S.pathname,g=S.search,z=(0,U.Z)(eo),k=E()(z,1),f=k[0],x=(0,i.yh)(),R=((n=x["/docs/blog"])===null||n===void 0||(t=n[0])===null||t===void 0?void 0:t.children)||[],L=to(),w=p?"inline":"horizontal",M=y.split("/").filter(function($){return $}).slice(0,-1).join("/"),B=M||"home";y.startsWith("/changelog")?B="docs/react":y.startsWith("/docs/resources")&&(B="docs/resources");var N,H=[{label:(0,e.tZ)("a",{href:"https://github.com/ant-design/ant-design",target:"_blank",rel:"noopener noreferrer"},"GitHub"),key:"github"},{label:(0,e.tZ)(i._H,{id:"app.header.lang"}),onClick:m,key:"switch-lang"},{label:a,onClick:C,key:"switch-direction"}].concat(W()(Le()));p?N=H:c==="crowded"&&(N=[{label:(0,e.tZ)(ze.Z,null),key:"additional",children:W()(H)}]);var O=[{label:(0,e.tZ)(i.rU,{to:j.J1("/docs/spec/introduce",r,g)},f.design),key:"docs/spec"},{label:(0,e.tZ)(i.rU,{to:j.J1("/docs/react/introduce",r,g)},f.development),key:"docs/react"},{label:(0,e.tZ)(i.rU,{to:j.J1("/components/overview/",r,g)},f.components),key:"components"},R.length?{label:(0,e.tZ)(i.rU,{to:j.J1(R.sort(function($,v){return $.frontmatter.date>v.frontmatter.date?-1:1})[0].link,r,g)},f.blog),key:"docs/blog"}:null,{label:(0,e.tZ)(i.rU,{to:j.J1("/docs/resources",r,g)},f.resources),key:"docs/resources"},r&&d&&window.location.host!=="ant-design.antgroup.com"&&window.location.host!=="ant-design.gitee.io"?{label:"\u56FD\u5185\u955C\u50CF",key:"mirror",children:[{label:(0,e.tZ)("a",{href:"https://ant-design.antgroup.com"},"\u5B98\u65B9\u955C\u50CF"),icon:(0,e.tZ)("img",{alt:"logo",src:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg",width:16,style:{verticalAlign:"text-bottom"}}),key:"antgroup"},{label:(0,e.tZ)("a",{href:"https://ant-design.gitee.io"},"Gitee \u955C\u50CF"),icon:(0,e.tZ)("img",{alt:"gitee",src:"https://gw.alipayobjects.com/zos/bmw-prod/9e91e124-9bab-4113-b500-301412f6b370.svg",width:16,style:{verticalAlign:"text-bottom"}}),key:"gitee"}]}:null].concat(W()((o=N)!==null&&o!==void 0?o:[]));return(0,e.tZ)(h.Menu,{mode:w,selectedKeys:[B],css:L.nav,disabledOverflow:!0,items:O,style:{borderRight:0}})};function zn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var _="1.2em",no={name:"1mocr95",styles:"right:-5%;bottom:0;z-index:0;transform:scale(0.5);transform-origin:100% 100%"},ro=function(){var n=(0,I.Z)(),t=n.token,o=t.colorText,r=t.colorBorder,d=t.colorBgContainer,p=t.colorBgTextHover,c=t.borderRadius,a=t.controlHeight,m=t.motionDurationMid;return{btn:(0,e.iv)("color:",o,";border-color:",r,";padding:0!important;width:",a,"px;height:",a,"px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:",c,"px;transition:all ",m,";cursor:pointer;.btn-inner{transition:all ",m,";}&:hover{background:",p,";}img{width:",_,";height:",_,";}.anticon{font-size:",_,";}",""),innerDiv:(0,e.iv)("position:relative;width:",_,";height:",_,";",""),labelStyle:(0,e.iv)("position:absolute;font-size:",_,";line-height:1;border:1px solid ",o,";color:",o,";",""),label1Style:(0,e.iv)("left:-5%;top:0;z-index:1;background-color:",o,";color:",d,";transform:scale(0.7);transform-origin:0 0;",""),label2Style:no}},io=function(n){var t=n.label1,o=n.label2,r=n.tooltip1,d=n.tooltip2,p=n.value,c=n.pure,a=n.onClick,m=ro(),C=m.btn,S=m.innerDiv,y=m.labelStyle,g=m.label1Style,z=m.label2Style,k=(0,e.tZ)("button",{onClick:a,css:C,key:"lang-button"},(0,e.tZ)("div",{className:"btn-inner"},c&&(p===1?t:o),!c&&(0,e.tZ)("div",{css:S},(0,e.tZ)("span",{css:[y,p===1?g:z,"",""]},t),(0,e.tZ)("span",{css:[y,p===1?z:g,"",""]},o))));return r||d?(0,e.tZ)(h.Tooltip,{title:p===1?r:d},k):k},fe=io;function Tn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Me=1120,Re=1200,ao={name:"1cjitc6",styles:"width:16px"},lo={name:"xbxnqh",styles:"display:flex;align-items:center;margin:0;>*{flex:none;margin:0;margin-inline-end:12px;&:last-child{margin-inline-end:40px;}}"},so=function(){var n=(0,I.Z)(),t=n.token,o="#ced4d9";return{header:(0,e.iv)("position:relative;z-index:10;max-width:100%;background:",t.colorBgContainer,";box-shadow:",t.boxShadowTertiary,";@media only screen and (max-width: ",t.mobileMaxWidth,"px){text-align:center;}.nav-search-wrapper{display:flex;flex:auto;}.dumi-default-search-bar{border-inline-start:1px solid rgba(0, 0, 0, 0.06);>svg{width:14px;fill:",o,";}>input{height:22px;border:0;&:focus{box-shadow:none;}&::placeholder{color:",o,";}}.dumi-default-search-shortcut{color:",o,";background-color:rgba(150, 150, 150, 0.06);border-color:rgba(100, 100, 100, 0.2);border-radius:4px;}.dumi-default-search-popover{inset-inline-start:11px;inset-inline-end:unset;&::before{inset-inline-start:100px;inset-inline-end:unset;}}}",""),menuRow:lo,dataDirectionIcon:ao,popoverMenu:Ce()({width:300},"".concat(t.antCls,"-popover-inner-content"),{padding:0})}},Ne="ANT_DESIGN_DO_NOT_OPEN_MIRROR_MODAL";function Ae(){window.localStorage.setItem(Ne,"true")}function co(){return!window.localStorage.getItem(Ne)}var uo=function(){var n=u.useState(!1),t=E()(n,2),o=t[0],r=t[1],d=(0,U.Z)(),p=E()(d,2),c=p[1],a=(0,i.WF)(),m=a.pkg,C=(0,j.Is)(),S=(0,u.useState)({menuVisible:!1,windowWidth:1400,searching:!1}),y=E()(S,2),g=y[0],z=y[1],k=(0,u.useContext)(J.Z),f=k.direction,x=k.isMobile,R=k.updateSiteConfig,L=(0,u.useRef)(null),w=(0,i.TH)(),M=w.pathname,B=w.search,N=so(),H=(0,u.useCallback)(function(){z(function(T){return P()(P()({},T),{},{menuVisible:!1})})},[]),O=(0,u.useCallback)(function(){z(function(T){return P()(P()({},T),{},{windowWidth:window.innerWidth})})},[]),$=(0,u.useCallback)(function(){z(function(T){return P()(P()({},T),{},{menuVisible:!0})})},[]),v=(0,u.useCallback)(function(T){z(function(F){return P()(P()({},F),{},{menuVisible:T})})},[]),A=function(){R({direction:f!=="rtl"?"rtl":"ltr"})};(0,u.useEffect)(function(){H()},[w]),(0,u.useEffect)(function(){return r(typeof window!="undefined"),O(),window.addEventListener("resize",O),L.current=(0,j.qE)(function(T){T!=="timeout"&&T!=="error"&&window.location.host!=="ant-design.antgroup.com"&&co()&&h.Modal.confirm({title:"\u63D0\u793A",content:"\u5185\u7F51\u7528\u6237\u63A8\u8350\u8BBF\u95EE\u56FD\u5185\u955C\u50CF\u4EE5\u83B7\u5F97\u6781\u901F\u4F53\u9A8C\uFF5E",okText:"\u{1F680} \u7ACB\u523B\u524D\u5F80",cancelText:"\u4E0D\u518D\u5F39\u51FA",closable:!0,zIndex:99999,onOk:function(){window.open("https://ant-design.antgroup.com","_self"),Ae()},onCancel:function(){Ae()}})}),function(){window.removeEventListener("resize",O),L.current&&clearTimeout(L.current)}},[]);var G=(0,u.useCallback)(function(T){var F=window.location.href,bn=window.location.pathname;if(/overview/.test(bn)&&/0?[1-39][0-3]?x/.test(T)){window.location.href=F.replace(window.location.origin,T).replace(/\/components\/overview/,"/docs".concat(/0(9|10)x/.test(T)?"":"/react","/introduce")).replace(/\/$/,"");return}var we=new URL(F.replace(window.location.origin,T));we.host.includes("antgroup")&&(window.location.href="".concat(we.href.replace(/\/$/,""),"/")),window.location.href=we.href.replace(/\/$/,"")},[]),b=(0,u.useCallback)(function(){var T="".concat(window.location.protocol,"//"),F=window.location.href.slice(T.length);j.Fy()&&localStorage.setItem("locale",j.KE(M)?"en-US":"zh-CN"),window.location.href=T+F.replace(window.location.pathname,j.J1(M,!j.KE(M),B).pathname)},[w]),Z=(0,u.useMemo)(function(){return f!=="rtl"?"RTL":"LTR"},[f]),D=(0,u.useMemo)(function(){return f==="rtl"?{direction:"ltr",textAlign:"right"}:{}},[f]),q=g.menuVisible,de=g.windowWidth,We=g.searching,Ue=P()(Ce()({},m.version,m.version),C==null?void 0:C.docVersions),hn=Object.keys(Ue).map(function(T){return{value:Ue[T],label:T}}),Ve=["","index","index-cn"].includes(M),fn=c==="cn",vn=f==="rtl",be=null;de<Me?be="crowded":de<Re&&(be="narrow");var xn=V()({clearfix:!0,"home-header":Ve}),ye={isZhCN:fn,isRTL:vn,isClient:o},Ye=(0,e.tZ)(oo,X()({key:"nav"},ye,{responsive:be,isMobile:x,directionText:Z,onLangChange:b,onDirectionChange:A})),ee=[Ye,(0,e.tZ)(h.Select,{key:"version",className:"version",size:"small",defaultValue:m.version,onChange:G,dropdownStyle:D,popupMatchSelectWidth:!1,getPopupContainer:function(F){return F.parentNode},options:hn}),(0,e.tZ)(Qt,X()({key:"more"},ye)),(0,e.tZ)(fe,{key:"lang",onClick:b,value:j.KE(M)?1:2,label1:"\u4E2D",label2:"En",tooltip1:"\u4E2D\u6587 / English",tooltip2:"English / \u4E2D\u6587"}),(0,e.tZ)(fe,{key:"direction",onClick:A,value:f==="rtl"?2:1,label1:(0,e.tZ)(Te,{css:N.dataDirectionIcon,direction:"ltr"}),tooltip1:"LTR",label2:(0,e.tZ)(Te,{css:N.dataDirectionIcon,direction:"rtl"}),tooltip2:"RTL",pure:!0}),(0,e.tZ)("a",{key:"github",href:"https://github.com/ant-design/ant-design",target:"_blank",rel:"noreferrer"},(0,e.tZ)(fe,{value:1,label1:(0,e.tZ)(Ze.Z,null),tooltip1:"Github",label2:null,pure:!0}))];de<Me?ee=We?[]:[Ye]:de<Re&&(ee=We?[]:ee);var _e=Ve?[{flex:"none"},{flex:"auto"}]:[{xxl:4,xl:5,lg:6,md:6,sm:24,xs:24},{xxl:20,xl:19,lg:18,md:18,sm:0,xs:0}];return(0,e.tZ)("header",{css:N.header,className:xn},x&&(0,e.tZ)(e.ms,null,function(T){var F=T.css;return(0,e.tZ)(h.Popover,{overlayClassName:F(N.popoverMenu),placement:"bottomRight",content:ee,trigger:"click",open:q,arrow:{arrowPointAtCenter:!0},onOpenChange:v},(0,e.tZ)(ze.Z,{className:"nav-phone-icon",onClick:$}))}),(0,e.tZ)(h.Row,{style:{flexFlow:"nowrap",height:64}},(0,e.tZ)(h.Col,_e[0],(0,e.tZ)(_t,X()({},ye,{location:w}))),(0,e.tZ)(h.Col,X()({},_e[1],{css:N.menuRow}),(0,e.tZ)("div",{className:"nav-search-wrapper"},(0,e.tZ)(Pt.ZP,null)),!x&&ee)))},po=uo,In=l(945462),mo=function(){var n=(0,i.eL)(),t=(0,u.useMemo)(function(){var p;if(!n.frontmatter.subtitle&&!n.frontmatter.title)p="404 Not Found - Ant Design";else{var c;p="".concat(n.frontmatter.subtitle||""," ").concat(((c=n.frontmatter)===null||c===void 0?void 0:c.title)||""," - Ant Design")}var a=n.frontmatter.description||"";return[p,a]},[n]),o=E()(t,2),r=o[0],d=o[1];return(0,e.tZ)(i.ql,null,(0,e.tZ)("title",null,r),(0,e.tZ)("meta",{property:"og:title",content:r}),d&&(0,e.tZ)("meta",{name:"description",content:d}))},De=mo,Be=l(148050),go=l(823493),ho=l.n(go),fo=l(658192);function En(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var He=["scroll","resize"],vo={name:"kff9ir",styles:"text-transform:capitalize"},xo={name:"uks8zy",styles:"transform:translate3d(0, 0, 0);opacity:1"},bo=function(){var n=(0,I.Z)(),t=n.token,o=t.boxShadowSecondary,r=t.antCls;return{affixTabs:(0,e.iv)("position:fixed;top:0;right:0;left:0;z-index:11;padding:0 40px;background:#fff;box-shadow:",o,";transform:translate3d(0, -100%, 0);opacity:0;transition:opacity 0.3s,transform 0.3s;",r,"-tabs{max-width:1208px;margin:0 auto;",r,"-tabs-nav{margin:0;&::before{border-bottom-color:transparent;}",r,"-tabs-tab{padding:21px 0;}}}",""),affixTabsFixed:xo,span:vo}},je=32,yo=function(){var n=u.useRef(null),t=u.useRef([]),o=u.useState(!1),r=E()(o,2),d=r[0],p=r[1],c=u.useState(null),a=E()(c,2),m=a[0],C=a[1],S=bo(),y=S.affixTabs,g=S.affixTabsFixed,z=S.span;function k(x){var R=document.getElementById(x);if(R){var L=R.offsetTop-n.current.offsetHeight-je;(0,fo.Z)(L)}}u.useEffect(function(){t.current=Array.from(document.querySelectorAll("h2[id]")).map(function(x){var R=x.id;return R}),p(!0)},[]),u.useEffect(function(){var x=decodeURIComponent((location.hash||"").slice(1));x&&k(x)},[d]);var f=u.useMemo(function(){function x(){for(var R=window,L=R.scrollY,w=n.current.offsetHeight,M=t.current.length-1;M>=0;M-=1){var B=t.current[M],N=document.getElementById(B),H=N.offsetTop-w-je;if(H<=L){C(B);return}}C(null)}return ho()(x)},[]);return u.useEffect(function(){return He.forEach(function(x){return window.addEventListener(x,f)}),f(),function(){He.forEach(function(x){return window.removeEventListener(x,f)})}},[]),(0,e.tZ)("div",{css:[y,m&&g,"",""],ref:n},(0,e.tZ)(h.Tabs,{activeKey:m,onChange:k,items:t.current.map(function(x){return{key:x,label:(0,e.tZ)("span",{css:z},x.replace(/-/g," "))}})}))},wo=yo,Fe=40,le=1208,ve=24,ko=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls;return{resourcePage:(0,e.iv)("footer{margin-top:176px;.rc-footer-container{max-width:",le,"px;margin:0 auto;padding-right:0;padding-left:0;}}",""),resourceContent:(0,e.iv)("padding:0 ",Fe,"px;max-width:",le,"px;margin:0 auto;box-sizing:content-box;>.markdown{>p{margin-bottom:56px;}h2{margin-top:124px;color:#314659;font-weight:lighter;font-size:30px;line-height:38px;&:first-child{margin-top:88px;}}h3{margin-top:56px;font-weight:400;font-size:24px;line-height:32px;}p{color:#697b8c;}}@media only screen and (max-width: 767.99px){&{article{padding:0 ",ve,"px;}",o,"-col{padding-top:16px!important;padding-bottom:16px!important;}}}",""),banner:(0,e.iv)("padding:0 ",Fe,"px;overflow:hidden;background:url('https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*y_r7RogIG1wAAAAAAAAAAABkARQnAQ');background-size:cover;h1{box-sizing:content-box;max-width:",le,"px;margin:56px auto 16px;}section{max-width:",le,"px;margin:0 auto 56px;font-weight:200;font-size:16px;line-height:24px;}@media only screen and (max-width: 767.99px){&{margin:0 -",ve,"px;padding:0 ",ve,"px;}}","")}},Zo=function(n){var t,o=n.children,r=ko(),d=(0,i.eL)();return(0,e.tZ)(h.ConfigProvider,{theme:{token:{colorBgLayout:"#fff"}}},(0,e.tZ)(h.Layout,null,(0,e.tZ)(De,null),(0,e.tZ)("div",{id:"resources-page",css:r.resourcePage},(0,e.tZ)(wo,null),(0,e.tZ)("div",{css:r.banner},(0,e.tZ)(h.Typography.Title,{style:{fontSize:30}},(t=d.frontmatter)===null||t===void 0?void 0:t.title,(0,e.tZ)(Be.Z,{title:(0,e.tZ)(i._H,{id:"app.content.edit-page"}),filename:d.frontmatter.filename})),(0,e.tZ)("section",null,d.frontmatter.description)),(0,e.tZ)("div",{css:r.resourceContent},o),(0,e.tZ)(he,null))))},So=Zo,Co=l(720841),zo=l(538294),To=l(217187),Q=l(743929),Pe=l(206171),Io=l(513769),Eo=l.n(Io),Lo=["to","children"],Mo=(0,u.forwardRef)(function(s,n){var t=s.to,o=s.children,r=Eo()(s,Lo),d=(0,i.s0)(),p=function(a){t.startsWith("http")||!a.metaKey&&!a.ctrlKey&&!a.shiftKey&&(a.preventDefault(),(0,u.startTransition)(function(){d(t)}))};return(0,e.tZ)("a",X()({ref:n,href:t,onClick:p},r),o)}),se=Mo,Ro=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=(0,i.yh)(),o=(0,re.Z)(),r=o.pathname,d=o.search,p=(0,i.tx)(),c=n.before,a=n.after,m=h.theme.useToken(),C=m.token,S=(0,u.useMemo)(function(){var y,g=W()(p!=null?p:[]);if(r.startsWith("/docs/spec")){var z=g.splice(0,1);g.push.apply(g,W()(z))}if(r.startsWith("/docs/react")){var k,f=(k=Object.entries(t).find(function(L){var w=E()(L,1),M=w[0];return M.startsWith("/changelog")}))===null||k===void 0?void 0:k[1];f&&g.push.apply(g,W()(f))}if(r.startsWith("/changelog")){var x,R=(x=Object.entries(t).find(function(L){var w=E()(L,1),M=w[0];return M.startsWith("/docs/react")}))===null||x===void 0?void 0:x[1];R&&g.unshift.apply(g,W()(R))}return(y=g==null?void 0:g.reduce(function(L,w){if(w!=null&&w.title)if(r.startsWith("/docs/spec")){var M,B,N=w.children.reduce(function(v,A){var G,b=(G=A.frontmatter.type)!==null&&G!==void 0?G:"default";return v[b]||(v[b]=[]),v[b].push(A),v},{}),H=[];H.push.apply(H,W()((M=(B=N.default)===null||B===void 0?void 0:B.map(function(v){return{label:(0,e.tZ)(se,{to:"".concat(v.link).concat(d)},c,v==null?void 0:v.title,a),key:v.link.replace(/(-cn$)/g,"")}}))!==null&&M!==void 0?M:[])),Object.entries(N).forEach(function(v){var A=E()(v,2),G=A[0],b=A[1];G!=="default"&&H.push({type:"group",label:G,key:G,children:b==null?void 0:b.map(function(Z){return{label:(0,e.tZ)(se,{to:"".concat(Z.link).concat(d)},c,Z==null?void 0:Z.title,a),key:Z.link.replace(/(-cn$)/g,"")}})})}),L.push({label:w==null?void 0:w.title,key:w==null?void 0:w.title,children:H})}else{var O;L.push({type:"group",label:w==null?void 0:w.title,key:w==null?void 0:w.title,children:(O=w.children)===null||O===void 0?void 0:O.map(function(v){return{label:(0,e.tZ)(se,{to:"".concat(v.link).concat(d)},c,(0,e.tZ)("span",{key:"english"},v==null?void 0:v.title),(0,e.tZ)("span",{className:"chinese",key:"chinese"},v.frontmatter.subtitle),v.frontmatter.tag&&(0,e.tZ)(h.Tag,{color:"warning",style:{marginInlineStart:C.marginXS}},v.frontmatter.tag),a),key:v.link.replace(/(-cn$)/g,"")}})})}else{var $=w.children||[];$.every(function(v){var A;return v==null||(A=v.frontmatter)===null||A===void 0?void 0:A.date})&&$.sort(function(v,A){return v.frontmatter.date>A.frontmatter.date?-1:1}),L.push.apply(L,W()($.map(function(v){return{label:(0,e.tZ)(se,{to:"".concat(v.link).concat(d)},c,v==null?void 0:v.title,a),key:v.link.replace(/(-cn$)/g,"")}})))}return L},[]))!==null&&y!==void 0?y:[]},[p,t,r,d,n]);return[S,r]},Oe=Ro;function Ln(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var No={name:"usa5t0",styles:"text-align:end;display:flex;justify-content:flex-end;align-items:center;.footer-nav-icon-before{display:none;}.footer-nav-icon-after{position:relative;margin-bottom:1px;line-height:0;vertical-align:middle;transition:inset-inline-start 0.3s;margin-inline-start:1em;inset-inline-start:0;}&:hover .footer-nav-icon-after{inset-inline-start:0.2em;}"},Ao={name:"1ndw36q",styles:"text-align:start;display:flex;justify-content:flex-start;align-items:center;.footer-nav-icon-after{display:none;}.footer-nav-icon-before{position:relative;line-height:0;vertical-align:middle;transition:inset-inline-end 0.3s;margin-inline-end:1em;inset-inline-end:0;}&:hover .footer-nav-icon-before{inset-inline-end:0.2em;}"},Do=function(){var n=(0,I.Z)(),t=n.token,o=t.colorSplit,r=t.iconCls,d=t.fontSizeIcon;return{prevNextNav:(0,e.iv)("width:calc(100% - 234px);margin-inline-end:170px;margin-inline-start:64px;overflow:hidden;font-size:14px;border-top:1px solid ",o,";display:flex;",""),pageNav:(0,e.iv)("flex:1;height:72px;line-height:72px;text-decoration:none;",r,"{color:#999;font-size:",d,"px;transition:all 0.3s;}.chinese{margin-inline-start:4px;}",""),prevNav:Ao,nextNav:No}},Bo=function s(n){return Array.isArray(n)?n.reduce(function(t,o){if(!o)return t;if("children"in o&&o.children){var r;return t.concat((r=s(o.children))!==null&&r!==void 0?r:[])}return t.concat(o)},[]):null},Ho=function(n){var t=n.rtl,o=Do(),r={className:"footer-nav-icon-before"},d={className:"footer-nav-icon-after"},p=t?(0,e.tZ)(Q.Z,r):(0,e.tZ)(Pe.Z,r),c=t?(0,e.tZ)(Pe.Z,d):(0,e.tZ)(Q.Z,d),a=Oe({before:p,after:c}),m=E()(a,2),C=m[0],S=m[1],y=(0,u.useMemo)(function(){var f=Bo(C);if(!f)return[null,null];var x=-1;return f.forEach(function(R,L){R&&R.key===S&&(x=L)}),[f[x-1],f[x+1]]},[C,S]),g=E()(y,2),z=g[0],k=g[1];return(0,e.tZ)("section",{css:o.prevNextNav},z&&u.cloneElement(z.label,{css:[o.pageNav,o.prevNav]}),k&&u.cloneElement(k.label,{css:[o.pageNav,o.nextNav]}))},jo=Ho,Fo=l(524229),$e=l(211646),Po=function(n){var t=n.className,o=n.style;return(0,e.tZ)("svg",{className:t,style:o,xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28",fill:"none"},(0,e.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5875 6.77268L21.8232 3.40505L17.5875 0.00748237L17.5837 0L13.3555 3.39757L17.5837 6.76894L17.5875 6.77268ZM17.5863 17.3955H17.59L28.5161 8.77432L25.5526 6.39453L17.59 12.6808H17.5863L17.5825 12.6845L9.61993 6.40201L6.66016 8.78181L17.5825 17.3992L17.5863 17.3955ZM17.5828 23.2891L17.5865 23.2854L32.2133 11.7456L35.1768 14.1254L28.5238 19.3752L17.5865 28L0.284376 14.3574L0 14.1291L2.95977 11.7531L17.5828 23.2891Z",fill:"currentColor"}))},Ge=Po;function Mn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var xe="https://picx.zhimg.com/v2-3b2bca09c2771e7a82a81562e806be4d.jpg?source=d16d100b",Oo={name:"1vcob1d",styles:"display:flex;justify-content:center;align-items:center"},$o={name:"18akg87",styles:"display:flex;justify-content:flex-start;align-items:center;color:#646464;font-size:14px;font-weight:400;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;.logo{width:24px;height:24px;font-size:24px;&.zhihu-logo{color:#056de8;}&.yuque-logo{color:#00b96b;}&.juejin-logo{color:#1e80ff;}}.arrowIcon{margin:0 8px;color:#8a8f8d;font-size:12px;}.zl-btn{display:flex;align-items:center;justify-content:center;padding:0;color:#646464;}"},Go={name:"18ce59x",styles:"color:#444;font-size:16px;font-weight:600"},Wo={name:"1d14iok",styles:"display:flex;justify-content:flex-start;align-items:center;img{width:200px;margin-right:24px;overflow:hidden;border-radius:8px;}"},Uo={name:"1066lcq",styles:"display:flex;justify-content:space-between;align-items:center"},Vo={name:"1mu8yak",styles:"font-size:16px;color:#121212;margin-bottom:24px;font-weight:600"},Yo=function(){var n=(0,I.Z)(),t=n.token;return{card:(0,e.iv)("width:100%;margin:40px 0;transition:all 0.2s;background-color:",t.colorFillQuaternary,";",""),bigTitle:Vo,cardBody:Uo,left:Wo,title:Go,subTitle:$o,btn:Oo}},_o={cn:{bigTitle:"\u6587\u7AE0\u88AB\u4EE5\u4E0B\u4E13\u680F\u6536\u5F55\uFF1A",zhiHu:"\u4E00\u4E2A UI \u8BBE\u8BA1\u4F53\u7CFB",yuQue:"Ant Design \u5B98\u65B9\u4E13\u680F",junjin:"Ant Design \u5F00\u6E90\u4E13\u680F",buttonText:"\u6211\u6709\u60F3\u6CD5\uFF0C\u53BB\u53C2\u4E0E\u8BA8\u8BBA"},en:{bigTitle:"Articles are included in the column:",zhiHu:"A UI design system",yuQue:"Ant Design official column",junjin:"Ant Design Open Source Column",buttonText:"Go to discuss"}},Ko=function(n){var t=n.zhihuLink,o=n.yuqueLink,r=n.juejinLink,d=(0,U.Z)(_o),p=E()(d,1),c=p[0],a=Yo(),m=a.card,C=a.bigTitle,S=a.cardBody,y=a.left,g=a.title,z=a.subTitle,k=a.btn;return!t&&!o&&!r?null:(0,e.tZ)(h.Card,{css:m,bordered:!1},(0,e.tZ)("h3",{css:C},c.bigTitle),t&&(0,e.tZ)("div",{css:S},(0,e.tZ)("div",{css:y},(0,e.tZ)("img",{src:xe,alt:"antd"}),(0,e.tZ)("div",null,(0,e.tZ)("p",{css:g},"Ant Design"),(0,e.tZ)("div",{css:z},(0,e.tZ)(ie.Z,{className:"logo zhihu-logo"}),(0,e.tZ)(Q.Z,{className:"arrowIcon"}),(0,e.tZ)(h.Button,{target:"_blank",href:"https://www.zhihu.com/column/c_1564262000561106944",className:"zl-btn",type:"link"},c.zhiHu)))),(0,e.tZ)(h.Button,{type:"primary",css:k,icon:(0,e.tZ)(ie.Z,{style:{fontSize:16}}),ghost:!0,target:"_blank",href:t},c.buttonText)),o&&(0,e.tZ)(u.Fragment,null,(0,e.tZ)(h.Divider,null),(0,e.tZ)("div",{css:S},(0,e.tZ)("div",{css:y},(0,e.tZ)("img",{src:xe,alt:"antd"}),(0,e.tZ)("div",null,(0,e.tZ)("p",{css:g},"Ant Design"),(0,e.tZ)("div",{css:z},(0,e.tZ)($e.Z,{className:"logo yuque-logo"}),(0,e.tZ)(Q.Z,{className:"arrowIcon"}),(0,e.tZ)(h.Button,{target:"_blank",href:"https://www.yuque.com/ant-design/ant-design",className:"zl-btn",type:"link"},c.yuQue)))),(0,e.tZ)(h.Button,{type:"primary",css:k,icon:(0,e.tZ)($e.Z,{style:{fontSize:16}}),ghost:!0,target:"_blank",href:o},c.buttonText))),r&&(0,e.tZ)(u.Fragment,null,(0,e.tZ)(h.Divider,null),(0,e.tZ)("div",{css:S},(0,e.tZ)("div",{css:y},(0,e.tZ)("img",{src:xe,alt:"antd"}),(0,e.tZ)("div",null,(0,e.tZ)("p",{css:g},"Ant Design"),(0,e.tZ)("div",{css:z},(0,e.tZ)(Ge,{className:"logo juejin-logo"}),(0,e.tZ)(Q.Z,{className:"arrowIcon"}),(0,e.tZ)(h.Button,{target:"_blank",href:"https://juejin.cn/column/7247354308258054200",className:"zl-btn",type:"link"},c.junjin)))),(0,e.tZ)(h.Button,{type:"primary",css:k,icon:(0,e.tZ)(Ge,{style:{fontSize:16,width:16,height:16}}),ghost:!0,target:"_blank",href:r},c.buttonText))))},Jo=Ko,Xo=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls;return{contributorsList:(0,e.iv)("display:flex;flex-wrap:wrap;margin-top:120px!important;clear:both;a,",o,"-avatar+",o,"-avatar{transition:all ",t.motionDurationSlow,";margin-inline-end:-8px;}&:hover{a,",o,"-avatar{margin-inline-end:0;}}",""),toc:(0,e.iv)(o,"-anchor{",o,"-anchor-link-title{font-size:12px;}}",""),tocWrapper:(0,e.iv)("position:absolute;top:8px;inset-inline-end:0;width:160px;margin:12px 0;padding:8px 0;padding-inline:4px 8px;backdrop-filter:blur(8px);border-radius:",t.borderRadius,"px;box-sizing:border-box;.toc-debug{color:",t.purple6,";&:hover{color:",t.purple5,";}}>div{box-sizing:border-box;width:100%;max-height:calc(100vh - 40px)!important;margin:0 auto;overflow:auto;padding-inline:4px;}@media only screen and (max-width: ",t.screenLG,"px){display:none;}",""),articleWrapper:(0,e.iv)("padding:0 170px 32px 64px;&.rtl{padding:0 64px 144px 170px;}@media only screen and (max-width: ",t.screenLG,"px){&,&.rtl{padding:0 48px;}}","")}},Qo=function(n){var t=n.num,o=t===void 0?3:t;return(0,e.tZ)(u.Fragment,null,Array.from({length:o}).map(function(r,d){return(0,e.tZ)(h.Skeleton.Avatar,{size:"small",active:!0,key:d,style:{marginLeft:d===0?0:-8}})}))},qo=function(n){var t=n.name,o=n.avatar,r=(0,u.useState)(!0),d=E()(r,2),p=d[0],c=d[1],a=(0,u.useState)(!1),m=E()(a,2),C=m[0],S=m[1];return(0,u.useLayoutEffect)(function(){var y=new Image;y.src=o,y.onload=function(){return c(!1)},y.onerror=function(){return S(!0)}},[]),C?null:p?(0,e.tZ)(h.Skeleton.Avatar,{size:"small",active:!0}):(0,e.tZ)(h.Avatar,{size:"small",src:o,alt:t},t)},en=function(n){var t,o,r,d,p,c=n.children,a=(0,i.eL)(),m=(0,i.zh)(),C=(0,re.Z)(),S=C.pathname,y=C.hash,g=(0,i.YB)(),z=g.formatMessage,k=Xo(),f=(0,I.Z)(),x=f.token,R=(0,u.useContext)(J.Z),L=R.direction,w=(0,To.Z)(!1),M=E()(w,2),B=M[0],N=M[1],H=(0,u.useMemo)(function(){var b;return((b=a.toc)===null||b===void 0?void 0:b.filter(function(Z){return Z._debug_demo}).map(function(Z){return Z.id}))||[]},[a]),O=H.includes(y.slice(1));(0,u.useLayoutEffect)(function(){N(O)},[]);var $=(0,u.useMemo)(function(){return{showDebug:B,setShowDebug:N}},[B,H]),v=(0,u.useMemo)(function(){return((m==null?void 0:m.toc)||a.toc).reduce(function(b,Z){if(Z.depth===2)b.push(P()({},Z));else if(Z.depth===3){var D=b[b.length-1];D&&(D.children=D.children||[],D.children.push(P()({},Z)))}return b},[])},[m==null?void 0:m.toc,a.toc]),A=L==="rtl",G=(0,u.useMemo)(function(){var b=a.frontmatter.author;return b?typeof b=="string"?b.split(",").map(function(Z){return{name:Z,avatar:"https://github.com/".concat(Z,".png")}}):Array.isArray(b)?b:[]:[]},[a.frontmatter.author]);return(0,e.tZ)(Fo.Z.Provider,{value:$},(0,e.tZ)(h.Col,{xxl:20,xl:19,lg:18,md:18,sm:24,xs:24},(0,e.tZ)(h.Affix,null,(0,e.tZ)("section",{css:k.tocWrapper},(0,e.tZ)(h.Anchor,{css:k.toc,affix:!1,targetOffset:x.marginXXL,showInkInFixed:!0,items:v.map(function(b){var Z;return{href:"#".concat(b.id),title:b.title,key:b.id,children:(Z=b.children)===null||Z===void 0?void 0:Z.filter(function(D){return B||!H.includes(D.id)}).map(function(D){return{key:D.id,href:"#".concat(D.id),title:(0,e.tZ)("span",{className:V()(H.includes(D.id)&&"toc-debug")},D==null?void 0:D.title)}})}})}))),(0,e.tZ)("article",{css:k.articleWrapper,className:V()({rtl:A})},(t=a.frontmatter)!==null&&t!==void 0&&t.title?(0,e.tZ)(h.Typography.Title,{style:{fontSize:30}},(o=a.frontmatter)===null||o===void 0?void 0:o.title,a.frontmatter.subtitle&&(0,e.tZ)("span",{style:{marginLeft:12}},a.frontmatter.subtitle),!S.startsWith("/components/overview")&&(0,e.tZ)(Be.Z,{title:(0,e.tZ)(i._H,{id:"app.content.edit-page"}),filename:a.frontmatter.filename})):null,a.frontmatter.date||a.frontmatter.author?(0,e.tZ)(h.Typography.Paragraph,null,(0,e.tZ)(h.Space,null,a.frontmatter.date&&(0,e.tZ)("span",{style:{opacity:.65}},(0,e.tZ)(Co.Z,null)," ",Y()(a.frontmatter.date).format("YYYY-MM-DD")),G.map(function(b){return(0,e.tZ)("a",{href:"https://github.com/".concat(b.name),target:"_blank",rel:"noopener noreferrer",key:b.name},(0,e.tZ)(h.Space,{size:3},(0,e.tZ)(qo,{name:b.name,avatar:b.avatar}),(0,e.tZ)("span",{style:{opacity:.65}},"@",b.name)))}))):null,!a.frontmatter.__autoDescription&&a.frontmatter.description,c,(((r=a.frontmatter)===null||r===void 0?void 0:r.zhihu_url)||((d=a.frontmatter)===null||d===void 0?void 0:d.yuque_url)||((p=a.frontmatter)===null||p===void 0?void 0:p.juejin_url))&&(0,e.tZ)(Jo,{zhihuLink:a.frontmatter.zhihu_url,yuqueLink:a.frontmatter.yuque_url,juejinLink:a.frontmatter.juejin_url}),a.frontmatter.filename&&(0,e.tZ)(zo.Z,{repo:"ant-design",owner:"ant-design",css:k.contributorsList,cache:!0,fileName:a.frontmatter.filename,renderItem:function(Z,D){var q;return!Z||D?(0,e.tZ)(Qo,null):(q=Z.username)!==null&&q!==void 0&&q.includes("github-actions")?null:(0,e.tZ)(h.Tooltip,{mouseEnterDelay:.3,title:"".concat(z({id:"app.content.contributors"}),": ").concat(Z.username),key:Z.username},(0,e.tZ)("a",{href:"https://github.com/".concat(Z.username),target:"_blank",rel:"noopener noreferrer"},(0,e.tZ)(h.Avatar,{size:"small",src:Z.url},Z.username)))}})),(0,e.tZ)(jo,{rtl:A}),(0,e.tZ)(he,null)))},tn=en,on=l(650010);function Rn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var nn={name:"14h0zo3",styles:"z-index:1;.main-menu-inner{position:sticky;top:0;width:100%;height:100%;max-height:100vh;overflow:hidden;}&:hover .main-menu-inner{overflow-y:auto;}"},rn=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls,r=t.fontFamily,d=t.colorSplit;return{asideContainer:(0,e.iv)("min-height:100%;padding-bottom:48px;font-family:Avenir,",r,",sans-serif;&",o,"-menu-inline{",o,"-menu-submenu-title h4,>",o,"-menu-item,",o,"-menu-item a{overflow:hidden;font-size:14px;text-overflow:ellipsis;}>",o,"-menu-item-group>",o,"-menu-item-group-title{margin-top:16px;margin-bottom:16px;font-size:13px;&::after{position:relative;top:12px;display:block;width:calc(100% - 20px);height:1px;background:",d,";content:'';}}>",o,"-menu-item,>",o,"-menu-submenu>",o,"-menu-submenu-title,>",o,"-menu-item-group>",o,"-menu-item-group-title,>",o,"-menu-item-group>",o,"-menu-item-group-list>",o,"-menu-item,&",o,"-menu-inline>",o,"-menu-item-group>",o,"-menu-item-group-list>",o,"-menu-item{padding-left:40px!important;",o,"-row-rtl &{padding-right:40px!important;padding-left:16px!important;}}&",o,"-menu-inline{",o,"-menu-item-group-title{margin-left:4px;padding-left:60px;",o,"-row-rtl &{padding-right:60px;padding-left:16px;}}",o,"-menu-item-group-list>",o,"-menu-item{padding-left:80px!important;",o,"-row-rtl &{padding-right:80px!important;padding-left:16px!important;}}}",o,"-menu-item-group:first-child{",o,"-menu-item-group-title{margin-top:0;}}}a[disabled]{color:#ccc;}.chinese{margin-left:6px;font-weight:normal;font-size:12px;opacity:0.67;}",""),mainMenu:nn}},an=function(){var n=(0,i.tx)(),t=(0,u.useContext)(J.Z),o=t.isMobile,r=t.theme,d=rn(),p=Oe(),c=E()(p,2),a=c[0],m=c[1],C=r.includes("dark"),S=(0,I.Z)(),y=S.token.colorBgContainer,g=(0,e.tZ)(h.ConfigProvider,{theme:{components:{Menu:{itemBg:y,darkItemBg:y}}}},(0,e.tZ)(h.Menu,{items:a,inlineIndent:30,css:d.asideContainer,mode:"inline",theme:C?"dark":"light",selectedKeys:[m],defaultOpenKeys:n==null?void 0:n.map(function(z){var k=z.title;return k}).filter(function(z){return z})}));return o?(0,e.tZ)(on.Z,{key:"Mobile-menu"},g):(0,e.tZ)(h.Col,{xxl:4,xl:5,lg:6,md:6,sm:24,xs:24,css:d.mainMenu},(0,e.tZ)("section",{className:"main-menu-inner"},g))},ln=an;function Nn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var sn={name:"pmt1eg",styles:"display:flex;margin-top:40px"},dn=function(){return{main:sn}},cn=function(n){var t=n.children,o=dn(),r=o.main;return(0,e.tZ)("main",{css:r},(0,e.tZ)(De,null),(0,e.tZ)(ln,null),(0,e.tZ)(tn,null,t))},un=cn,pn={cn:{title:"Ant Design - \u4E00\u5957\u4F01\u4E1A\u7EA7 UI \u8BBE\u8BA1\u8BED\u8A00\u548C React \u7EC4\u4EF6\u5E93",description:"\u57FA\u4E8E Ant Design \u8BBE\u8BA1\u4F53\u7CFB\u7684 React UI \u7EC4\u4EF6\u5E93\uFF0C\u7528\u4E8E\u7814\u53D1\u4F01\u4E1A\u7EA7\u4E2D\u540E\u53F0\u4EA7\u54C1\u3002"},en:{title:"Ant Design - The world's second most popular React UI framework",description:"An enterprise-class UI design language and React UI library with a set of high-quality React components, one of best React UI library for enterprises"}},mn=function(){var n=(0,i.pC)(),t=(0,re.Z)(),o=t.pathname,r=t.search,d=t.hash,p=(0,U.Z)(pn),c=E()(p,2),a=c[0],m=c[1],C=(0,u.useRef)(null),S=(0,u.useContext)(J.Z),y=S.direction,g=(0,i.WF)(),z=g.loading;(0,u.useLayoutEffect)(function(){m==="cn"?Y().locale("zh-cn"):Y().locale("en")},[]),(0,u.useEffect)(function(){var f=document.getElementById("nprogress-style");f&&(C.current=setTimeout(function(){var x;(x=f.parentNode)===null||x===void 0||x.removeChild(f)},0))},[]),(0,u.useEffect)(function(){var f,x=d.replace("#","");x&&((f=document.getElementById(decodeURIComponent(x)))===null||f===void 0||f.scrollIntoView())},[z,d]),u.useEffect(function(){typeof window.ga!="undefined"&&window.ga("send","pageview",o+r),typeof window._hmt!="undefined"&&window._hmt.push(["_trackPageview",o+r])},[t]);var k=(0,u.useMemo)(function(){return["","/"].some(function(f){return f===o})||["/index"].some(function(f){return o.startsWith(f)})?(0,e.tZ)(u.Fragment,null,n,(0,e.tZ)(he,null)):o.startsWith("/docs/resource")?(0,e.tZ)(So,null,n):o.startsWith("/theme-editor")?n:(0,e.tZ)(un,null,n)},[o,n]);return(0,e.tZ)(u.Fragment,null,(0,e.tZ)(i.ql,{encodeSpecialCharacters:!1},(0,e.tZ)("html",{lang:m,"data-direction":y,className:V()({rtl:y==="rtl"})}),(0,e.tZ)("title",null,a==null?void 0:a.title),(0,e.tZ)("link",{sizes:"144x144",href:"https://gw.alipayobjects.com/zos/antfincdn/UmVnt3t4T0/antd.png"}),(0,e.tZ)("meta",{name:"description",content:a.description}),(0,e.tZ)("meta",{property:"og:title",content:a==null?void 0:a.title}),(0,e.tZ)("meta",{property:"og:description",content:a.description}),(0,e.tZ)("meta",{property:"og:type",content:"website"}),(0,e.tZ)("meta",{property:"og:image",content:"https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png"})),(0,e.tZ)(oe.ZP,{direction:y,locale:m==="cn"?ue.Z:void 0},(0,e.tZ)(yt,null),(0,e.tZ)(po,null),k))},gn=mn},715778:function(Ke,te,l){l.d(te,{Z:function(){return U}});var ce=l(174219),E=l(97857),oe=l.n(E),ue=l(585369),pe={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},V=pe,ne={lang:oe()({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},ue.Z),timePickerLocale:oe()({},V)};ne.lang.ok="\u786E\u5B9A";var Y=ne,ke=Y,i="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}",u={locale:"zh-cn",Pagination:ce.Z,DatePicker:Y,TimePicker:V,Calendar:ke,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}},U=u}}]);