1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9670],{5813:(e,n,t)=>{t.d(n,{A:()=>q});var a=t(12115),o=t(46752),c=t(29300),r=t.n(c),l=t(79630),i=t(85757),d=t(21858),s=t(86608),p=t(48804),u=t(9587),m=t(52673),b=t(63715),f=t(27061),v=t(40419),g=t(82870),A=t(17233),h=a.forwardRef(function(e,n){var t=e.prefixCls,o=e.forceRender,c=e.className,l=e.style,i=e.children,s=e.isActive,p=e.role,u=e.classNames,m=e.styles,b=a.useState(s||o),f=(0,d.A)(b,2),g=f[0],A=f[1];return(a.useEffect(function(){(o||s)&&A(!0)},[o,s]),g)?a.createElement("div",{ref:n,className:r()("".concat(t,"-content"),(0,v.A)((0,v.A)({},"".concat(t,"-content-active"),s),"".concat(t,"-content-inactive"),!s),c),style:l,role:p},a.createElement("div",{className:r()("".concat(t,"-content-box"),null==u?void 0:u.body),style:null==m?void 0:m.body},i)):null});h.displayName="PanelContent";var y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],x=a.forwardRef(function(e,n){var t=e.showArrow,o=e.headerClass,c=e.isActive,i=e.onItemClick,d=e.forceRender,s=e.className,p=e.classNames,u=void 0===p?{}:p,b=e.styles,x=void 0===b?{}:b,I=e.prefixCls,C=e.collapsible,w=e.accordion,k=e.panelKey,E=e.extra,N=e.header,P=e.expandIcon,O=e.openMotion,S=e.destroyInactivePanel,R=e.children,j=(0,m.A)(e,y),M="disabled"===C,z=(0,v.A)((0,v.A)((0,v.A)({onClick:function(){null==i||i(k)},onKeyDown:function(e){("Enter"===e.key||e.keyCode===A.A.ENTER||e.which===A.A.ENTER)&&(null==i||i(k))},role:w?"tab":"button"},"aria-expanded",c),"aria-disabled",M),"tabIndex",M?-1:0),K="function"==typeof P?P(e):a.createElement("i",{className:"arrow"}),B=K&&a.createElement("div",(0,l.A)({className:"".concat(I,"-expand-icon")},["header","icon"].includes(C)?z:{}),K),_=r()("".concat(I,"-item"),(0,v.A)((0,v.A)({},"".concat(I,"-item-active"),c),"".concat(I,"-item-disabled"),M),s),T=r()(o,"".concat(I,"-header"),(0,v.A)({},"".concat(I,"-collapsible-").concat(C),!!C),u.header),F=(0,f.A)({className:T,style:x.header},["header","icon"].includes(C)?{}:z);return a.createElement("div",(0,l.A)({},j,{ref:n,className:_}),a.createElement("div",F,(void 0===t||t)&&B,a.createElement("span",(0,l.A)({className:"".concat(I,"-header-text")},"header"===C?z:{}),N),null!=E&&"boolean"!=typeof E&&a.createElement("div",{className:"".concat(I,"-extra")},E)),a.createElement(g.Ay,(0,l.A)({visible:c,leavedClassName:"".concat(I,"-content-hidden")},O,{forceRender:d,removeOnLeave:S}),function(e,n){var t=e.className,o=e.style;return a.createElement(h,{ref:n,prefixCls:I,className:t,classNames:u,style:o,styles:x,isActive:c,forceRender:d,role:w?"tabpanel":void 0},R)}))}),I=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],C=function(e,n){var t=n.prefixCls,o=n.accordion,c=n.collapsible,r=n.destroyInactivePanel,i=n.onItemClick,d=n.activeKey,s=n.openMotion,p=n.expandIcon;return e.map(function(e,n){var u=e.children,b=e.label,f=e.key,v=e.collapsible,g=e.onItemClick,A=e.destroyInactivePanel,h=(0,m.A)(e,I),y=String(null!=f?f:n),C=null!=v?v:c,w=!1;return w=o?d[0]===y:d.indexOf(y)>-1,a.createElement(x,(0,l.A)({},h,{prefixCls:t,key:y,panelKey:y,isActive:w,accordion:o,openMotion:s,expandIcon:p,header:b,collapsible:C,onItemClick:function(e){"disabled"!==C&&(i(e),null==g||g(e))},destroyInactivePanel:null!=A?A:r}),u)})},w=function(e,n,t){if(!e)return null;var o=t.prefixCls,c=t.accordion,r=t.collapsible,l=t.destroyInactivePanel,i=t.onItemClick,d=t.activeKey,s=t.openMotion,p=t.expandIcon,u=e.key||String(n),m=e.props,b=m.header,f=m.headerClass,v=m.destroyInactivePanel,g=m.collapsible,A=m.onItemClick,h=!1;h=c?d[0]===u:d.indexOf(u)>-1;var y=null!=g?g:r,x={key:u,panelKey:u,header:b,headerClass:f,isActive:h,prefixCls:o,destroyInactivePanel:null!=v?v:l,openMotion:s,accordion:c,children:e.props.children,onItemClick:function(e){"disabled"!==y&&(i(e),null==A||A(e))},expandIcon:p,collapsible:y};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),a.cloneElement(e,x))},k=t(40032);function E(e){var n=e;if(!Array.isArray(n)){var t=(0,s.A)(n);n="number"===t||"string"===t?[n]:[]}return n.map(function(e){return String(e)})}let N=Object.assign(a.forwardRef(function(e,n){var t,o=e.prefixCls,c=void 0===o?"rc-collapse":o,s=e.destroyInactivePanel,m=e.style,f=e.accordion,v=e.className,g=e.children,A=e.collapsible,h=e.openMotion,y=e.expandIcon,x=e.activeKey,I=e.defaultActiveKey,N=e.onCh
1ange,P=e.items,O=r()(c,v),S=(0,p.A)([],{value:x,onChange:function(e){return null==N?void 0:N(e)},defaultValue:I,postState:E}),R=(0,d.A)(S,2),j=R[0],M=R[1];(0,u.Ay)(!g,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var z=(t={prefixCls:c,accordion:f,openMotion:h,expandIcon:y,collapsible:A,destroyInactivePanel:void 0!==s&&s,onItemClick:function(e){return M(function(){return f?j[0]===e?[]:[e]:j.indexOf(e)>-1?j.filter(function(n){return n!==e}):[].concat((0,i.A)(j),[e])})},activeKey:j},Array.isArray(P)?C(P,t):(0,b.A)(g).map(function(e,n){return w(e,n,t)}));return a.createElement("div",(0,l.A)({ref:n,className:O,style:m,role:f?"tablist":void 0},(0,k.A)(e,{aria:!0,data:!0})),z)}),{Panel:x});N.Panel;var P=t(17980),O=t(93666),S=t(80163),R=t(15982),j=t(9836);let M=a.forwardRef((e,n)=>{let{getPrefixCls:t}=a.useContext(R.QO),{prefixCls:o,className:c,showArrow:l=!0}=e,i=t("collapse",o),d=r()({["".concat(i,"-no-arrow")]:!l},c);return a.createElement(N.Panel,Object.assign({ref:n},e,{prefixCls:i,className:d}))});var z=t(44521),K=t(18184),B=t(35376),_=t(45431),T=t(61388);let F=e=>{let{componentCls:n,contentBg:t,padding:a,headerBg:o,headerPadding:c,collapseHeaderPaddingSM:r,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:i,lineWidth:d,lineType:s,colorBorder:p,colorText:u,colorTextHeading:m,colorTextDisabled:b,fontSizeLG:f,lineHeight:v,lineHeightLG:g,marginSM:A,paddingSM:h,paddingLG:y,paddingXS:x,motionDurationSlow:I,fontSizeIcon:C,contentPadding:w,fontHeight:k,fontHeightLG:E}=e,N="".concat((0,z.zA)(d)," ").concat(s," ").concat(p);return{[n]:Object.assign(Object.assign({},(0,K.dF)(e)),{backgroundColor:o,border:N,borderRadius:i,"&-rtl":{direction:"rtl"},["& > ".concat(n,"-item")]:{borderBottom:N,"&:first-child":{["\n &,\n & > ".concat(n,"-header")]:{borderRadius:"".concat((0,z.zA)(i)," ").concat((0,z.zA)(i)," 0 0")}},"&:last-child":{["\n &,\n & > ".concat(n,"-header")]:{borderRadius:"0 0 ".concat((0,z.zA)(i)," ").concat((0,z.zA)(i))}},["> ".concat(n,"-header")]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:c,color:m,lineHeight:v,cursor:"pointer",transition:"all ".concat(I,", visibility 0s")},(0,K.K8)(e)),{["> ".concat(n,"-header-text")]:{flex:"auto"},["".concat(n,"-expand-icon")]:{height:k,display:"flex",alignItems:"center",paddingInlineEnd:A},["".concat(n,"-arrow")]:Object.assign(Object.assign({},(0,K.Nk)()),{fontSize:C,transition:"transform ".concat(I),svg:{transition:"transform ".concat(I)}}),["".concat(n,"-header-text")]:{marginInlineEnd:"auto"}}),["".concat(n,"-collapsible-header")]:{cursor:"default",["".concat(n,"-header-text")]:{flex:"none",cursor:"pointer"}},["".concat(n,"-collapsible-icon")]:{cursor:"unset",["".concat(n,"-expand-icon")]:{cursor:"pointer"}}},["".concat(n,"-content")]:{color:u,backgroundColor:t,borderTop:N,["& > ".concat(n,"-content-box")]:{padding:w},"&-hidden":{display:"none"}},"&-small":{["> ".concat(n,"-item")]:{["> ".concat(n,"-header")]:{padding:r,paddingInlineStart:x,["> ".concat(n,"-expand-icon")]:{marginInlineStart:e.calc(h).sub(x).equal()}},["> ".concat(n,"-content > ").concat(n,"-content-box")]:{padding:h}}},"&-large":{["> ".concat(n,"-item")]:{fontSize:f,lineHeight:g,["> ".concat(n,"-header")]:{padding:l,paddingInlineStart:a,["> ".concat(n,"-expand-icon")]:{height:E,marginInlineStart:e.calc(y).sub(a).equal()}},["> ".concat(n,"-content > ").concat(n,"-content-box")]:{padding:y}}},["".concat(n,"-item:last-child")]:{borderBottom:0,["> ".concat(n,"-content")]:{borderRadius:"0 0 ".concat((0,z.zA)(i)," ").concat((0,z.zA)(i))}},["& ".concat(n,"-item-disabled > ").concat(n,"-header")]:{"\n &,\n & > .arrow\n ":{color:b,cursor:"not-allowed"}},["&".concat(n,"-icon-position-end")]:{["& > ".concat(n,"-item")]:{["> ".concat(n,"-header")]:{["".concat(n,"-expand-icon")]:{order:1,paddingInlineEnd:0,paddingInlineStart:A}}}}})}},L=e=>{let{componentCls:n}=e,t="> ".concat(n,"-item > ").concat(n,"-header ").concat(n,"-arrow");return{["".concat(n,"-rtl")]:{[t]:{transform:"rotate(180deg)"}}}},W=e=>{let{componentCls:n,headerBg:t,paddingXXS:a,colorBorder:o}=e;return{["".concat(n,"-borderless")]:{backgroundColor:t,border:0,["> ".concat(n,"-item")]:{borderBottom:"1px solid ".concat(o)},["\n > ".concat(n,"-item:last-child,\n > ").concat(n,"-item:last-child ").concat(n,"-header\n ")]:{borderRadius:0},["> ".concat(n,"-item:last-child")]:{borderBottom:0},["> ".concat(n,"-item > ").concat(n,"-content")]:{backgroundColor:"transparent",borderTop:0},["> ".concat(n,"-item > ").concat(n,"-content > ").concat(n,"-content-box")]:{paddingTop:a}}}},G=e=>{let{componentCls:n,paddingSM:t}=e;return{["".concat(n,"-ghost")]:{backgroundColor:"transparent",border:0,["> ".concat(n,"-item")]:{borderBottom:0,["> ".concat(n,"-content")]:{backgroundColor:"transparent",border:0,["> ".concat(n,"-content-box")]:{paddingBlock:t}}}}}},H=(0,_.OF)("Collapse",e=>{let n=(0,T.oX)(e,{collapseHeaderPaddingSM:"".concat((0,z.zA)(e.paddingXS)," ").concat((0,z.zA)(e.paddingSM)),collapseHeaderPaddingLG:"".concat((0,z.zA)(e.padding)," ").concat((0,z.zA)(e.paddingLG)),collapsePanelBorderRadius:e.borderRadiusLG});return[F(n),W(n),G(n),L(n),(0,B.A)(n)]},e=>({headerPadding:"".concat(e.paddingSM,"px ").concat(e.padding,"px"),headerBg:e.colorFillAlter,contentPadding:"".concat(e.padding,"px 16px"),contentBg:e.colorBg
1Container})),q=Object.assign(a.forwardRef((e,n)=>{let{getPrefixCls:t,direction:c,expandIcon:l,className:i,style:d}=(0,R.TP)("collapse"),{prefixCls:s,className:p,rootClassName:u,style:m,bordered:f=!0,ghost:v,size:g,expandIconPosition:A="start",children:h,expandIcon:y}=e,x=(0,j.A)(e=>{var n;return null!==(n=null!=g?g:e)&&void 0!==n?n:"middle"}),I=t("collapse",s),C=t(),[w,k,E]=H(I),M=a.useMemo(()=>"left"===A?"start":"right"===A?"end":A,[A]),z=null!=y?y:l,K=a.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n="function"==typeof z?z(e):a.createElement(o.A,{rotate:e.isActive?"rtl"===c?-90:90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,S.Ob)(n,()=>{var e;return{className:r()(null===(e=null==n?void 0:n.props)||void 0===e?void 0:e.className,"".concat(I,"-arrow"))}})},[z,I]),B=r()("".concat(I,"-icon-position-").concat(M),{["".concat(I,"-borderless")]:!f,["".concat(I,"-rtl")]:"rtl"===c,["".concat(I,"-ghost")]:!!v,["".concat(I,"-").concat(x)]:"middle"!==x},i,p,u,k,E),_=Object.assign(Object.assign({},(0,O.A)(C)),{motionAppear:!1,leavedClassName:"".concat(I,"-content-hidden")}),T=a.useMemo(()=>h?(0,b.A)(h).map((e,n)=>{var t,a;let o=e.props;if(null==o?void 0:o.disabled){let c=null!==(t=e.key)&&void 0!==t?t:String(n),r=Object.assign(Object.assign({},(0,P.A)(e.props,["disabled"])),{key:c,collapsible:null!==(a=o.collapsible)&&void 0!==a?a:"disabled"});return(0,S.Ob)(e,r)}return e}):null,[h]);return w(a.createElement(N,Object.assign({ref:n,openMotion:_},(0,P.A)(e,["rootClassName"]),{expandIcon:K,prefixCls:I,className:B,style:Object.assign(Object.assign({},d),m)}),T))}),{Panel:M})},23714:(e,n,t)=>{t.d(n,{IS_APPLE_WEBKIT:()=>i,IS_IOS:()=>r,IS_SAFARI:()=>c});let a="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,o=a&&"documentMode"in document?document.documentMode:null;a&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),a&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),a&&"InputEvent"in window&&!o&&new window.InputEvent("input");let c=a&&/Version\/[\d.].*Safari/.test(navigator.userAgent),r=a&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;a&&/Android/.test(navigator.userAgent),a&&/Win/.test(navigator.platform);let l=a&&/^(?=.*Chrome).*/i.test(navigator.userAgent),i=a&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!l}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.