"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1964],{54749:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(67442),o=n(54087),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},i=n(98142),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},89840:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(67442),o=n(54087),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},i=n(98142),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},21575:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(67442),o=n(54087),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},i=n(98142),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},41365:function(e,t,n){n.d(t,{Z:function(){return r}});let r=e=>e?"function"==typeof e?e():e:null},4717:function(e,t,n){n.d(t,{default:function(){return R}});var r=n(54087),o=n(53350),a=n.n(o),i=n(54488),l=n(51172),c=n(12373),s=n(64765),u=n(91038),d=n(18841),f=n(59672);let h=r.createContext({});var v=n(88567),g=n(97372),m=n(80573),p=n(19757);let y=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:a,containerSize:i,containerSizeLG:l,containerSizeSM:c,textFontSize:s,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:m,lineWidth:p,lineType:y}=e,b=(e,t,o)=>({width:e,height:e,borderRadius:"50%",["&".concat(n,"-square")]:{borderRadius:o},["&".concat(n,"-icon")]:{fontSize:t,["> ".concat(r)]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:"".concat((0,v.bf)(p)," ").concat(y," transparent"),"&-image":{background:"transparent"},["".concat(t,"-image-img")]:{display:"block"}}),b(i,s,f)),{"&-lg":Object.assign({},b(l,u,h)),"&-sm":Object.assign({},b(c,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},b=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{["".concat(t,"-group")]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},["".concat(t,"-group-popover")]:{["".concat(t," + ").concat(t)]:{marginInlineStart:o}}}};var E=(0,m.I$)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,p.IX)(e,{avatarBg:n,avatarColor:t});return[y(r),b(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:a,fontSizeXL:i,fontSizeHeading3:l,marginXS:c,marginXXS:s,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((a+i)/2),textFontSizeLG:l,textFontSizeSM:o,groupSpace:s,groupOverlapping:-c,groupBorderColor:u}}),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let w=r.forwardRef((e,t)=>{let n;let[o,v]=r.useState(1),[g,m]=r.useState(!1),[p,y]=r.useState(!0),b=r.useRef(null),w=r.useRef(null),O=(0,l.sQ)(t,b),{getPrefixCls:S,avatar:x}=r.useContext(s.E_),M=r.useContext(h),R=()=>{if(!w.current||!b.current)return;let t=w.current.offsetWidth,n=b.current.offsetWidth;if(0!==t&&0!==n){let{gap:r=4}=e;2*r<n&&v(n-2*r<t?(n-2*r)/t:1)}};r.useEffect(()=>{m(!0)},[]),r.useEffect(()=>{y(!0),v(1)},[e.src]),r.useEffect(R,[e.gap]);let{prefixCls:k,shape:N,size:Z,src:z,srcSet:I,icon:P,className:A,rootClassName:j,alt:B,draggable:L,children:_,crossOrigin:H}=e,T=C(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),D=(0,d.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=Z?Z:null==M?void 0:M.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"}),F=Object.keys("object"==typeof D&&D||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),W=(0,f.Z)(F),V=r.useMemo(()=>{if("object"!=typeof D)return{};let e=D[c.c4.find(e=>W[e])];return e?{width:e,height:e,fontSize:e&&(P||_)?e/2:18}:{}},[W,D]),U=S("avatar",k),G=(0,u.Z)(U),[X,Y,K]=E(U,G),Q=a()({["".concat(U,"-lg")]:"large"===D,["".concat(U,"-sm")]:"small"===D}),$=r.isValidElement(z),q=N||(null==M?void 0:M.shape)||"circle",J=a()(U,Q,null==x?void 0:x.className,"".concat(U,"-").concat(q),{["".concat(U,"-image")]:$||z&&p,["".concat(U,"-icon")]:!!P},K,G,A,j,Y),ee="number"==typeof D?{width:D,height:D,fontSize:P?D/2:18}:{};if("string"==typeof z&&p)n=r.createElement("img",{src:z,draggable:L,srcSet:I,onError:()=>{let{onError:t}=e;!1!==(null==t?void 0:t())&&y(!1)},alt:B,crossOrigin:H});else if($)n=z;else if(P)n=P;else if(g||1!==o){let e="scale(".concat(o,")");n=r.createElement(i.Z,{onResize:R},r.createElement("span",{className:"".concat(U,"-string"),ref:w,style:Object.assign({},{msTransform:e,WebkitTransform:e,transform:e})},_))}else n=r.createElement("span",{className:"".concat(U,"-string"),style:{opacity:0},ref:w},_);return delete T.onError,delete T.gap,X(r.createElement("span",Object.assign({},T,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ee),V),null==x?void 0:x.style),T.style),className:J,ref:O}),n))});var O=n(10984),S=n(62376),x=n(30046);let M=e=>{let{size:t,shape:n}=r.useContext(h),o=r.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return r.createElement(h.Provider,{value:o},e.children)};w.Group=e=>{var t,n,o;let{getPrefixCls:i,direction:l}=r.useContext(s.E_),{prefixCls:c,className:d,rootClassName:f,style:h,maxCount:v,maxStyle:g,size:m,shape:p,maxPopoverPlacement:y,maxPopoverTrigger:b,children:C,max:R}=e,k=i("avatar",c),N="".concat(k,"-group"),Z=(0,u.Z)(k),[z,I,P]=E(k,Z),A=a()(N,{["".concat(N,"-rtl")]:"rtl"===l},P,Z,d,f,I),j=(0,O.Z)(C).map((e,t)=>(0,S.Tm)(e,{key:"avatar-key-".concat(t)})),B=(null==R?void 0:R.count)||v,L=j.length;if(B&&B<L){let e=j.slice(0,B),i=j.slice(B,L),l=(null==R?void 0:R.style)||g,c=(null===(t=null==R?void 0:R.popover)||void 0===t?void 0:t.trigger)||b||"hover",s=(null===(n=null==R?void 0:R.popover)||void 0===n?void 0:n.placement)||y||"top",u=Object.assign(Object.assign({content:i},null==R?void 0:R.popover),{overlayClassName:a()("".concat(N,"-popover"),null===(o=null==R?void 0:R.popover)||void 0===o?void 0:o.overlayClassName),placement:s,trigger:c});return e.push(r.createElement(x.Z,Object.assign({key:"avatar-popover-key",destroyTooltipOnHide:!0},u),r.createElement(w,{style:l},"+".concat(L-B)))),z(r.createElement(M,{shape:p,size:m},r.createElement("div",{className:A,style:h},e)))}return z(r.createElement(M,{shape:p,size:m},r.createElement("div",{className:A,style:h},j)))};var R=w},14017:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(54087),o=n(53350),a=n.n(o),i=n(64765),l=n(88567),c=n(97372),s=n(80573),u=n(19757);let d=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:"".concat((0,l.bf)(o)," solid ").concat(r),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,l.bf)(o)," solid ").concat(r)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,l.bf)(e.dividerHorizontalGutterMargin)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,l.bf)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(r),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,l.bf)(o)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-left")]:{"&::before":{width:"calc(".concat(i," * 100%)")},"&::after":{width:"calc(100% - ".concat(i," * 100%)")}},["&-horizontal".concat(t,"-with-text-right")]:{"&::before":{width:"calc(100% - ".concat(i," * 100%)")},"&::after":{width:"calc(".concat(i," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:"".concat((0,l.bf)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:"".concat((0,l.bf)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-left").concat(t,"-no-default-orientation-margin-left")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-right").concat(t,"-no-default-orientation-margin-right")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}};var f=(0,s.I$)("Divider",e=>[d((0,u.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0}))],e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:u,className:d,rootClassName:v,children:g,dashed:m,variant:p="solid",plain:y,style:b}=e,E=h(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),C=t("divider",l),[w,O,S]=f(C),x=!!g,M="left"===s&&null!=u,R="right"===s&&null!=u,k=a()(C,null==o?void 0:o.className,O,S,"".concat(C,"-").concat(c),{["".concat(C,"-with-text")]:x,["".concat(C,"-with-text-").concat(s)]:x,["".concat(C,"-dashed")]:!!m,["".concat(C,"-").concat(p)]:"solid"!==p,["".concat(C,"-plain")]:!!y,["".concat(C,"-rtl")]:"rtl"===n,["".concat(C,"-no-default-orientation-margin-left")]:M,["".concat(C,"-no-default-orientation-margin-right")]:R},d,v),N=r.useMemo(()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u,[u]),Z=Object.assign(Object.assign({},M&&{marginLeft:N}),R&&{marginRight:N});return w(r.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==o?void 0:o.style),b)},E,{role:"separator"}),g&&"vertical"!==c&&r.createElement("span",{className:"".concat(C,"-inner-text"),style:Z},g)))}},62330:function(e,t,n){n.d(t,{aV:function(){return d}});var r=n(54087),o=n(53350),a=n.n(o),i=n(56302),l=n(41365),c=n(64765),s=n(9934),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let d=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"".concat(o,"-title")},t),n&&r.createElement("div",{className:"".concat(o,"-inner-content")},n)):null},f=e=>{let{hashId:t,prefixCls:n,className:o,style:c,placement:s="top",title:u,content:f,children:h}=e,v=(0,l.Z)(u),g=(0,l.Z)(f),m=a()(t,n,"".concat(n,"-pure"),"".concat(n,"-placement-").concat(s),o);return r.createElement("div",{className:m,style:c},r.createElement("div",{className:"".concat(n,"-arrow")}),r.createElement(i.G,Object.assign({},e,{className:t,prefixCls:n}),h||r.createElement(d,{prefixCls:n,title:v,content:g})))};t.ZP=e=>{let{prefixCls:t,className:n}=e,o=u(e,["prefixCls","className"]),{getPrefixCls:i}=r.useContext(c.E_),l=i("popover",t),[d,h,v]=(0,s.Z)(l);return d(r.createElement(f,Object.assign({},o,{prefixCls:l,hashId:h,className:a()(n,v)})))}},30046:function(e,t,n){var r=n(54087),o=n(53350),a=n.n(o),i=n(21820),l=n(50979),c=n(41365),s=n(160),u=n(62376),d=n(64765),f=n(57400),h=n(62330),v=n(9934),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let m=r.forwardRef((e,t)=>{var n,o;let{prefixCls:m,title:p,content:y,overlayClassName:b,placement:E="top",trigger:C="hover",children:w,mouseEnterDelay:O=.1,mouseLeaveDelay:S=.1,onOpenChange:x,overlayStyle:M={}}=e,R=g(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:k}=r.useContext(d.E_),N=k("popover",m),[Z,z,I]=(0,v.Z)(N),P=k(),A=a()(b,z,I),[j,B]=(0,i.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),L=(e,t)=>{B(e,!0),null==x||x(e,t)},_=e=>{e.keyCode===l.Z.ESC&&L(!1,e)},H=(0,c.Z)(p),T=(0,c.Z)(y);return Z(r.createElement(f.Z,Object.assign({placement:E,trigger:C,mouseEnterDelay:O,mouseLeaveDelay:S,overlayStyle:M},R,{prefixCls:N,overlayClassName:A,ref:t,open:j,onOpenChange:e=>{L(e)},overlay:H||T?r.createElement(h.aV,{prefixCls:N,title:H,content:T}):null,transitionName:(0,s.m)(P,"zoom-big",R.transitionName),"data-popover-inject":!0}),(0,u.Tm)(w,{onKeyDown:e=>{var t,n;r.isValidElement(w)&&(null===(n=null==w?void 0:(t=w.props).onKeyDown)||void 0===n||n.call(t,e)),_(e)}})))});m._InternalPanelDoNotUseOrYouWillBeFired=h.ZP,t.Z=m},9934:function(e,t,n){var r=n(97372),o=n(99011),a=n(70853),i=n(35587),l=n(41761),c=n(80573),s=n(19757);let u=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:i,innerPadding:l,boxShadowSecondary:c,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:d,titleMarginBottom:f,colorBgElevated:h,popoverBg:v,titleBorderBottom:g,innerContentPadding:m,titlePadding:p}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":h,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},["".concat(t,"-content")]:{position:"relative"},["".concat(t,"-inner")]:{backgroundColor:v,backgroundClip:"padding-box",borderRadius:u,boxShadow:c,padding:l},["".concat(t,"-title")]:{minWidth:o,marginBottom:f,color:s,fontWeight:i,borderBottom:g,padding:p},["".concat(t,"-inner-content")]:{color:n,padding:m}})},(0,a.ZP)(e,"var(--antd-arrow-background-color)"),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",["".concat(t,"-content")]:{display:"inline-block"}}}]},d=e=>{let{componentCls:t}=e;return{[t]:l.i.map(n=>{let r=e["".concat(n,"6")];return{["&".concat(t,"-").concat(n)]:{"--antd-arrow-background-color":r,["".concat(t,"-inner")]:{backgroundColor:r},["".concat(t,"-arrow")]:{background:"transparent"}}}})}};t.Z=(0,c.I$)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,r=(0,s.IX)(e,{popoverBg:t,popoverColor:n});return[u(r),d(r),(0,o._y)(r,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:l,zIndexPopupBase:c,borderRadiusLG:s,marginXS:u,lineType:d,colorSplit:f,paddingSM:h}=e,v=n-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:c+30},(0,i.w)(e)),(0,a.wZ)({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:l?0:12,titleMarginBottom:l?0:u,titlePadding:l?"".concat(v/2,"px ").concat(o,"px ").concat(v/2-t,"px"):0,titleBorderBottom:l?"".concat(t,"px ").concat(d," ").concat(f):"none",innerContentPadding:l?"".concat(h,"px ").concat(o,"px"):0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},53677:function(e,t,n){n.d(t,{Z:function(){return K}});var r=n(54087),o=n(96961);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw i}}}}var i=n(86927),l=n(9684),c=n(83662);function s(e,t,n){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function u(e,t){return(e>>>t&1)!=0}function d(e){if(!e)throw Error("Assertion error")}var f=function(){function e(t,n){(0,i.Z)(this,e),(0,c.Z)(this,"modeBits",void 0),(0,c.Z)(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=n}return(0,l.Z)(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}();(0,c.Z)(f,"NUMERIC",new f(1,[10,12,14])),(0,c.Z)(f,"ALPHANUMERIC",new f(2,[9,11,13])),(0,c.Z)(f,"BYTE",new f(4,[8,16,16])),(0,c.Z)(f,"KANJI",new f(8,[8,10,12])),(0,c.Z)(f,"ECI",new f(7,[0,0,0]));var h=(0,l.Z)(function e(t,n){(0,i.Z)(this,e),(0,c.Z)(this,"ordinal",void 0),(0,c.Z)(this,"formatBits",void 0),this.ordinal=t,this.formatBits=n});(0,c.Z)(h,"LOW",new h(0,1)),(0,c.Z)(h,"MEDIUM",new h(1,0)),(0,c.Z)(h,"QUARTILE",new h(2,3)),(0,c.Z)(h,"HIGH",new h(3,2));var v=function(){function e(t,n,r){if((0,i.Z)(this,e),(0,c.Z)(this,"mode",void 0),(0,c.Z)(this,"numChars",void 0),(0,c.Z)(this,"bitData",void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw RangeError("Invalid argument");this.bitData=r.slice()}return(0,l.Z)(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(t){var n,r=[],o=a(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;s(i,8,r)}}catch(e){o.e(e)}finally{o.f()}return new e(f.BYTE,t.length,r)}},{key:"makeNumeric",value:function(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");for(var n=[],r=0;r<t.length;){var o=Math.min(t.length-r,3);s(parseInt(t.substring(r,r+o),10),3*o+1,n),r+=o}return new e(f.NUMERIC,t.length,n)}},{key:"makeAlphanumeric",value:function(t){if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");var n,r=[];for(n=0;n+2<=t.length;n+=2){var o=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n));s(o+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n+1)),11,r)}return n<t.length&&s(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n)),6,r),new e(f.ALPHANUMERIC,t.length,r)}},{key:"makeSegments",value:function(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}},{key:"makeEci",value:function(t){var n=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)s(t,8,n);else if(t<16384)s(2,2,n),s(t,14,n);else if(t<1e6)s(6,3,n),s(t,21,n);else throw RangeError("ECI assignment value out of range");return new e(f.ECI,0,n)}},{key:"isNumeric",value:function(t){return e.NUMERIC_REGEX.test(t)}},{key:"isAlphanumeric",value:function(t){return e.ALPHANUMERIC_REGEX.test(t)}},{key:"getTotalBits",value:function(e,t){var n,r=0,o=a(e);try{for(o.s();!(n=o.n()).done;){var i=n.value,l=i.mode.numCharCountBits(t);if(i.numChars>=1<<l)return 1/0;r+=4+l+i.bitData.length}}catch(e){o.e(e)}finally{o.f()}return r}},{key:"toUtf8ByteArray",value:function(e){for(var t=encodeURI(e),n=[],r=0;r<t.length;r++)"%"!=t.charAt(r)?n.push(t.charCodeAt(r)):(n.push(parseInt(t.substring(r+1,r+3),16)),r+=2);return n}}]),e}();(0,c.Z)(v,"NUMERIC_REGEX",/^[0-9]*$/),(0,c.Z)(v,"ALPHANUMERIC_REGEX",/^[A-Z0-9 $%*+.\/:-]*$/),(0,c.Z)(v,"ALPHANUMERIC_CHARSET","0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:");var g=function(){function e(t,n,r,o){(0,i.Z)(this,e),(0,c.Z)(this,"size",void 0),(0,c.Z)(this,"mask",void 0),(0,c.Z)(this,"modules",[]),(0,c.Z)(this,"isFunction",[]),(0,c.Z)(this,"version",void 0),(0,c.Z)(this,"errorCorrectionLevel",void 0);var a=o;if(this.version=t,this.errorCorrectionLevel=n,t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version value out of range");if(a<-1||a>7)throw RangeError("Mask value out of range");this.size=4*t+17;for(var l=[],s=0;s<this.size;s++)l.push(!1);for(var u=0;u<this.size;u++)this.modules.push(l.slice()),this.isFunction.push(l.slice());this.drawFunctionPatterns();var f=this.addEccAndInterleave(r);if(this.drawCodewords(f),-1==a)for(var h=1e9,v=0;v<8;v++){this.applyMask(v),this.drawFormatBits(v);var g=this.getPenaltyScore();g<h&&(a=v,h=g),this.applyMask(v)}d(0<=a&&a<=7),this.mask=a,this.applyMask(a),this.drawFormatBits(a),this.isFunction=[]}return(0,l.Z)(e,[{key:"getModule",value:function(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}},{key:"getModules",value:function(){return this.modules}},{key:"drawFunctionPatterns",value:function(){for(var e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);for(var t=this.getAlignmentPatternPositions(),n=t.length,r=0;r<n;r++)for(var o=0;o<n;o++)0==r&&0==o||0==r&&o==n-1||r==n-1&&0==o||this.drawAlignmentPattern(t[r],t[o]);this.drawFormatBits(0),this.drawVersion()}},{key:"drawFormatBits",value:function(e){for(var t=this.errorCorrectionLevel.formatBits<<3|e,n=t,r=0;r<10;r++)n=n<<1^(n>>>9)*1335;var o=(t<<10|n)^21522;d(o>>>15==0);for(var a=0;a<=5;a++)this.setFunctionModule(8,a,u(o,a));this.setFunctionModule(8,7,u(o,6)),this.setFunctionModule(8,8,u(o,7)),this.setFunctionModule(7,8,u(o,8));for(var i=9;i<15;i++)this.setFunctionModule(14-i,8,u(o,i));for(var l=0;l<8;l++)this.setFunctionModule(this.size-1-l,8,u(o,l));for(var c=8;c<15;c++)this.setFunctionModule(8,this.size-15+c,u(o,c));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var n=this.version<<12|e;d(n>>>18==0);for(var r=0;r<18;r++){var o=u(n,r),a=this.size-11+r%3,i=Math.floor(r/3);this.setFunctionModule(a,i,o),this.setFunctionModule(i,a,o)}}}},{key:"drawFinderPattern",value:function(e,t){for(var n=-4;n<=4;n++)for(var r=-4;r<=4;r++){var o=Math.max(Math.abs(r),Math.abs(n)),a=e+r,i=t+n;0<=a&&a<this.size&&0<=i&&i<this.size&&this.setFunctionModule(a,i,2!=o&&4!=o)}}},{key:"drawAlignmentPattern",value:function(e,t){for(var n=-2;n<=2;n++)for(var r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}},{key:"setFunctionModule",value:function(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}},{key:"addEccAndInterleave",value:function(t){var n=this.version,r=this.errorCorrectionLevel;if(t.length!=e.getNumDataCodewords(n,r))throw RangeError("Invalid argument");for(var o=e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],i=Math.floor(e.getNumRawDataModules(n)/8),l=o-i%o,c=Math.floor(i/o),s=[],u=e.reedSolomonComputeDivisor(a),f=0,h=0;f<o;f++){var v=t.slice(h,h+c-a+(f<l?0:1));h+=v.length;var g=e.reedSolomonComputeRemainder(v,u);f<l&&v.push(0),s.push(v.concat(g))}for(var m=[],p=function(e){s.forEach(function(t,n){(e!=c-a||n>=l)&&m.push(t[e])})},y=0;y<s[0].length;y++)p(y);return d(m.length==i),m}},{key:"drawCodewords",value:function(t){if(t.length!=Math.floor(e.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");for(var n=0,r=this.size-1;r>=1;r-=2){6==r&&(r=5);for(var o=0;o<this.size;o++)for(var a=0;a<2;a++){var i=r-a,l=(r+1&2)==0?this.size-1-o:o;!this.isFunction[l][i]&&n<8*t.length&&(this.modules[l][i]=u(t[n>>>3],7-(7&n)),n++)}}d(n==8*t.length)}},{key:"applyMask",value:function(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(var t=0;t<this.size;t++)for(var n=0;n<this.size;n++){var r=void 0;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}},{key:"getPenaltyScore",value:function(){for(var t=0,n=0;n<this.size;n++){for(var r=!1,o=0,i=[0,0,0,0,0,0,0],l=0;l<this.size;l++)this.modules[n][l]==r?5==++o?t+=e.PENALTY_N1:o>5&&t++:(this.finderPenaltyAddHistory(o,i),r||(t+=this.finderPenaltyCountPatterns(i)*e.PENALTY_N3),r=this.modules[n][l],o=1);t+=this.finderPenaltyTerminateAndCount(r,o,i)*e.PENALTY_N3}for(var c=0;c<this.size;c++){for(var s=!1,u=0,f=[0,0,0,0,0,0,0],h=0;h<this.size;h++)this.modules[h][c]==s?5==++u?t+=e.PENALTY_N1:u>5&&t++:(this.finderPenaltyAddHistory(u,f),s||(t+=this.finderPenaltyCountPatterns(f)*e.PENALTY_N3),s=this.modules[h][c],u=1);t+=this.finderPenaltyTerminateAndCount(s,u,f)*e.PENALTY_N3}for(var v=0;v<this.size-1;v++)for(var g=0;g<this.size-1;g++){var m=this.modules[v][g];m==this.modules[v][g+1]&&m==this.modules[v+1][g]&&m==this.modules[v+1][g+1]&&(t+=e.PENALTY_N2)}var p,y=0,b=a(this.modules);try{for(b.s();!(p=b.n()).done;)y=p.value.reduce(function(e,t){return e+(t?1:0)},y)}catch(e){b.e(e)}finally{b.f()}var E=this.size*this.size,C=Math.ceil(Math.abs(20*y-10*E)/E)-1;return d(0<=C&&C<=9),d(0<=(t+=C*e.PENALTY_N4)&&t<=2568888),t}},{key:"getAlignmentPatternPositions",value:function(){if(1==this.version)return[];for(var e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),n=[6],r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}},{key:"finderPenaltyCountPatterns",value:function(e){var t=e[1];d(t<=3*this.size);var n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(e,t,n){var r=t;return e&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}},{key:"finderPenaltyAddHistory",value:function(e,t){var n=e;0==t[0]&&(n+=this.size),t.pop(),t.unshift(n)}}],[{key:"encodeText",value:function(t,n){var r=v.makeSegments(t);return e.encodeSegments(r,n)}},{key:"encodeBinary",value:function(t,n){var r=v.makeBytes(t);return e.encodeSegments([r],n)}},{key:"encodeSegments",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,l=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(e.MIN_VERSION<=r&&r<=o&&o<=e.MAX_VERSION)||i<-1||i>7)throw RangeError("Invalid value");for(y=r;;y++){var c=8*e.getNumDataCodewords(y,n),u=v.getTotalBits(t,y);if(u<=c){b=u;break}if(y>=o)throw RangeError("Data too long")}for(var f=n,g=0,m=[h.MEDIUM,h.QUARTILE,h.HIGH];g<m.length;g++){var p=m[g];l&&b<=8*e.getNumDataCodewords(y,p)&&(f=p)}var y,b,E,C=[],w=a(t);try{for(w.s();!(E=w.n()).done;){var O=E.value;s(O.mode.modeBits,4,C),s(O.numChars,O.mode.numCharCountBits(y),C);var S,x=a(O.getData());try{for(x.s();!(S=x.n()).done;){var M=S.value;C.push(M)}}catch(e){x.e(e)}finally{x.f()}}}catch(e){w.e(e)}finally{w.f()}d(C.length==b);var R=8*e.getNumDataCodewords(y,f);d(C.length<=R),s(0,Math.min(4,R-C.length),C),s(0,(8-C.length%8)%8,C),d(C.length%8==0);for(var k=236;C.length<R;k^=253)s(k,8,C);for(var N=[];8*N.length<C.length;)N.push(0);return C.forEach(function(e,t){return N[t>>>3]|=e<<7-(7&t)}),new e(y,f,N,i)}},{key:"getNumRawDataModules",value:function(t){if(t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version number out of range");var n=(16*t+128)*t+64;if(t>=2){var r=Math.floor(t/7)+2;n-=(25*r-10)*r-55,t>=7&&(n-=36)}return d(208<=n&&n<=29648),n}},{key:"getNumDataCodewords",value:function(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}},{key:"reedSolomonComputeDivisor",value:function(t){if(t<1||t>255)throw RangeError("Degree out of range");for(var n=[],r=0;r<t-1;r++)n.push(0);n.push(1);for(var o=1,a=0;a<t;a++){for(var i=0;i<n.length;i++)n[i]=e.reedSolomonMultiply(n[i],o),i+1<n.length&&(n[i]^=n[i+1]);o=e.reedSolomonMultiply(o,2)}return n}},{key:"reedSolomonComputeRemainder",value:function(t,n){var r,o=n.map(function(){return 0}),i=a(t);try{for(i.s();!(r=i.n()).done;)!function(){var t=r.value^o.shift();o.push(0),n.forEach(function(n,r){return o[r]^=e.reedSolomonMultiply(n,t)})}()}catch(e){i.e(e)}finally{i.f()}return o}},{key:"reedSolomonMultiply",value:function(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");for(var n=0,r=7;r>=0;r--)n=n<<1^(n>>>7)*285^(t>>>r&1)*e;return d(n>>>8==0),n}}]),e}();(0,c.Z)(g,"MIN_VERSION",1),(0,c.Z)(g,"MAX_VERSION",40),(0,c.Z)(g,"PENALTY_N1",3),(0,c.Z)(g,"PENALTY_N2",3),(0,c.Z)(g,"PENALTY_N3",40),(0,c.Z)(g,"PENALTY_N4",10),(0,c.Z)(g,"ECC_CODEWORDS_PER_BLOCK",[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]),(0,c.Z)(g,"NUM_ERROR_CORRECTION_BLOCKS",[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var m={L:h.LOW,M:h.MEDIUM,Q:h.QUARTILE,H:h.HIGH},p="#FFFFFF",y="#000000";function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach(function(e,r){var o=null;e.forEach(function(a,i){if(!a&&null!==o){n.push("M".concat(o+t," ").concat(r+t,"h").concat(i-o,"v1H").concat(o+t,"z")),o=null;return}if(i===e.length-1){if(!a)return;null===o?n.push("M".concat(i+t,",").concat(r+t," h1v1H").concat(i+t,"z")):n.push("M".concat(o+t,",").concat(r+t," h").concat(i+1-o,"v1H").concat(o+t,"z"));return}a&&null===o&&(o=i)})}),n.join("")}function E(e,t){return e.slice().map(function(e,n){return n<t.y||n>=t.y+t.h?e:e.map(function(e,n){return(n<t.x||n>=t.x+t.w)&&e})})}var C=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}(),w=n(67442),O=n(38929),S=n(90356),x=n(50463);function M(e){var t=e.value,n=e.level,o=e.minVersion,a=e.includeMargin,i=e.marginSize,l=e.imageSettings,c=e.size,s=(0,r.useMemo)(function(){var e=v.makeSegments(t);return g.encodeSegments(e,m[n],o)},[t,n,o]),u=(0,r.useMemo)(function(){var e=s.getModules(),t=null!=i?Math.floor(i):a?4:0,n=e.length+2*t,r=function(e,t,n,r){if(null==r)return null;var o=e.length+2*n,a=Math.floor(.1*t),i=o/t,l=(r.width||a)*i,c=(r.height||a)*i,s=null==r.x?e.length/2-l/2:r.x*i,u=null==r.y?e.length/2-c/2:r.y*i,d=null==r.opacity?1:r.opacity,f=null;if(r.excavate){var h=Math.floor(s),v=Math.floor(u);f={x:h,y:v,w:Math.ceil(l+s-h),h:Math.ceil(c+u-v)}}return{x:s,y:u,h:c,w:l,excavation:f,opacity:d,crossOrigin:r.crossOrigin}}(e,c,t,l);return{cells:e,margin:t,numCells:n,calculatedImageSettings:r}},[s,c,l,a,i]),d=u.cells;return{qrcode:s,margin:u.margin,cells:d,numCells:u.numCells,calculatedImageSettings:u.calculatedImageSettings}}var R=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],k=r.forwardRef(function(e,t){var n=e.value,o=e.size,a=void 0===o?128:o,i=e.level,l=e.bgColor,c=void 0===l?p:l,s=e.fgColor,u=void 0===s?y:s,d=e.includeMargin,f=e.minVersion,h=e.marginSize,v=e.style,g=e.imageSettings,m=(0,x.Z)(e,R),k=null==g?void 0:g.src,N=(0,r.useRef)(null),Z=(0,r.useRef)(null),z=(0,r.useCallback)(function(e){N.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),I=(0,r.useState)(!1),P=(0,S.Z)(I,2)[1],A=M({value:n,level:void 0===i?"L":i,minVersion:void 0===f?1:f,includeMargin:void 0!==d&&d,marginSize:h,imageSettings:g,size:a}),j=A.margin,B=A.cells,L=A.numCells,_=A.calculatedImageSettings;(0,r.useEffect)(function(){if(null!=N.current){var e=N.current,t=e.getContext("2d");if(t){var n=B,r=Z.current,o=null!=_&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;o&&null!=_.excavation&&(n=E(B,_.excavation));var i=window.devicePixelRatio||1;e.height=e.width=a*i;var l=a/L*i;t.scale(l,l),t.fillStyle=c,t.fillRect(0,0,L,L),t.fillStyle=u,C?t.fill(new Path2D(b(n,j))):B.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+j,n+j,1,1)})}),_&&(t.globalAlpha=_.opacity),o&&t.drawImage(r,_.x+j,_.y+j,_.w,_.h)}}}),(0,r.useEffect)(function(){P(!1)},[k]);var H=(0,O.Z)({height:a,width:a},v),T=null;return null!=k&&(T=r.createElement("img",{src:k,key:k,style:{display:"none"},onLoad:function(){P(!0)},ref:Z,crossOrigin:null==_?void 0:_.crossOrigin})),r.createElement(r.Fragment,null,r.createElement("canvas",(0,w.Z)({style:H,height:a,width:a,ref:z,role:"img"},m)),T)});k.displayName="QRCodeCanvas";var N=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],Z=r.forwardRef(function(e,t){var n=e.value,o=e.size,a=void 0===o?128:o,i=e.level,l=e.bgColor,c=void 0===l?p:l,s=e.fgColor,u=void 0===s?y:s,d=e.includeMargin,f=e.minVersion,h=e.title,v=e.marginSize,g=e.imageSettings,m=(0,x.Z)(e,N),C=M({value:n,level:void 0===i?"L":i,minVersion:void 0===f?1:f,includeMargin:void 0!==d&&d,marginSize:v,imageSettings:g,size:a}),O=C.margin,S=C.cells,R=C.numCells,k=C.calculatedImageSettings,Z=S,z=null;null!=g&&null!=k&&(null!=k.excavation&&(Z=E(S,k.excavation)),z=r.createElement("image",{href:g.src,height:k.h,width:k.w,x:k.x+O,y:k.y+O,preserveAspectRatio:"none",opacity:k.opacity,crossOrigin:k.crossOrigin}));var I=b(Z,O);return r.createElement("svg",(0,w.Z)({height:a,width:a,viewBox:"0 0 ".concat(R," ").concat(R),ref:t,role:"img"},m),!!h&&r.createElement("title",null,h),r.createElement("path",{fill:c,d:"M0,0 h".concat(R,"v").concat(R,"H0z"),shapeRendering:"crispEdges"}),r.createElement("path",{fill:u,d:I,shapeRendering:"crispEdges"}),z)});Z.displayName="QRCodeSVG";var z=n(53350),I=n.n(z),P=n(64765),A=n(54437),j=n(74094),B=n(88567),L=n(95448),_=n(97372),H=n(80573),T=n(19757);let D=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:o}=e;return{[t]:Object.assign(Object.assign({},(0,_.Wf)(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:"".concat((0,B.bf)(n)," ").concat(r," ").concat(o),position:"relative",overflow:"hidden",["& > ".concat(t,"-mask")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",["& > ".concat(t,"-expired, & > ").concat(t,"-scanned")]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),["".concat(t,"-borderless")]:{borderColor:"transparent",padding:0,borderRadius:0}}};var F=(0,H.I$)("QRCode",e=>D((0,T.IX)(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeMaskBackgroundColor:new L.C(e.colorBgContainer).setAlpha(.96).toRgbString()})),W=n(19720),V=n(11186),U=n(63061);let G=r.createElement(U.Z,null);function X(e){let{prefixCls:t,locale:n,onRefresh:o,statusRender:a,status:i}=e,l={expired:r.createElement(r.Fragment,null,r.createElement("p",{className:"".concat(t,"-expired")},null==n?void 0:n.expired),o&&r.createElement(V.ZP,{type:"link",icon:r.createElement(W.Z,null),onClick:o},null==n?void 0:n.refresh)),loading:G,scanned:r.createElement("p",{className:"".concat(t,"-scanned")},null==n?void 0:n.scanned)};return(null!=a?a:e=>l[e.status])({status:i,locale:n})}var Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},K=e=>{var t,n,o,a;let[,i]=(0,j.ZP)(),{value:l,type:c="canvas",icon:s="",size:u=160,iconSize:d,color:f=i.colorText,errorLevel:h="M",status:v="active",bordered:g=!0,onRefresh:m,style:p,className:y,rootClassName:b,prefixCls:E,bgColor:C="transparent",statusRender:w}=e,O=Y(e,["value","type","icon","size","iconSize","color","errorLevel","status","bordered","onRefresh","style","className","rootClassName","prefixCls","bgColor","statusRender"]),{getPrefixCls:S}=(0,r.useContext)(P.E_),x=S("qrcode",E),[M,R,N]=F(x),z={src:s,x:void 0,y:void 0,height:"number"==typeof d?d:null!==(t=null==d?void 0:d.height)&&void 0!==t?t:40,width:"number"==typeof d?d:null!==(n=null==d?void 0:d.width)&&void 0!==n?n:40,excavate:!0,crossOrigin:"anonymous"},B={value:l,size:u,level:h,bgColor:C,fgColor:f,style:{width:null==p?void 0:p.width,height:null==p?void 0:p.height},imageSettings:s?z:void 0},[L]=(0,A.Z)("QRCode");if(!l)return null;let _=I()(x,y,b,R,N,{["".concat(x,"-borderless")]:!g}),H=Object.assign(Object.assign({backgroundColor:C},p),{width:null!==(o=null==p?void 0:p.width)&&void 0!==o?o:u,height:null!==(a=null==p?void 0:p.height)&&void 0!==a?a:u});return M(r.createElement("div",Object.assign({},O,{className:_,style:H}),"active"!==v&&r.createElement("div",{className:"".concat(x,"-mask")},r.createElement(X,{prefixCls:x,locale:L,status:v,onRefresh:m,statusRender:w})),"canvas"===c?r.createElement(k,Object.assign({},B)):r.createElement(Z,Object.assign({},B))))}},7089:function(e,t,n){n.d(t,{Z:function(){return z}});var r=n(54087),o=n(67442),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},i=n(98142),l=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))}),c=n(53350),s=n.n(c),u=n(83662),d=n(90356),f=n(50463),h=n(21820),v=n(50979),g=n(26112),m=r.forwardRef(function(e,t){var n=e.disabled,o=e.prefixCls,a=e.character,i=e.characterRender,l=e.index,c=e.count,u=e.value,d=e.allowHalf,f=e.focused,h=e.onHover,g=e.onClick,m=l+1,p=new Set([o]);0===u&&0===l&&f?p.add("".concat(o,"-focused")):d&&u+.5>=m&&u<m?(p.add("".concat(o,"-half")),p.add("".concat(o,"-active")),f&&p.add("".concat(o,"-focused"))):(m<=u?p.add("".concat(o,"-full")):p.add("".concat(o,"-zero")),m===u&&f&&p.add("".concat(o,"-focused")));var y="function"==typeof a?a(e):a,b=r.createElement("li",{className:s()(Array.from(p)),ref:t},r.createElement("div",{onClick:n?null:function(e){g(e,l)},onKeyDown:n?null:function(e){e.keyCode===v.Z.ENTER&&g(e,l)},onMouseMove:n?null:function(e){h(e,l)},role:"radio","aria-checked":u>l?"true":"false","aria-posinset":l+1,"aria-setsize":c,tabIndex:n?-1:0},r.createElement("div",{className:"".concat(o,"-first")},y),r.createElement("div",{className:"".concat(o,"-second")},y)));return i&&(b=i(b,e)),b}),p=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"],y=r.forwardRef(function(e,t){var n,a=e.prefixCls,i=void 0===a?"rc-rate":a,l=e.className,c=e.defaultValue,y=e.value,b=e.count,E=void 0===b?5:b,C=e.allowHalf,w=void 0!==C&&C,O=e.allowClear,S=void 0===O||O,x=e.keyboard,M=void 0===x||x,R=e.character,k=void 0===R?"★":R,N=e.characterRender,Z=e.disabled,z=e.direction,I=void 0===z?"ltr":z,P=e.tabIndex,A=e.autoFocus,j=e.onHoverChange,B=e.onChange,L=e.onFocus,_=e.onBlur,H=e.onKeyDown,T=e.onMouseLeave,D=(0,f.Z)(e,p),F=(n=r.useRef({}),[function(e){return n.current[e]},function(e){return function(t){n.current[e]=t}}]),W=(0,d.Z)(F,2),V=W[0],U=W[1],G=r.useRef(null),X=function(){if(!Z){var e;null===(e=G.current)||void 0===e||e.focus()}};r.useImperativeHandle(t,function(){return{focus:X,blur:function(){if(!Z){var e;null===(e=G.current)||void 0===e||e.blur()}}}});var Y=(0,h.Z)(c||0,{value:y}),K=(0,d.Z)(Y,2),Q=K[0],$=K[1],q=(0,h.Z)(null),J=(0,d.Z)(q,2),ee=J[0],et=J[1],en=function(e,t){var n="rtl"===I,r=e+1;if(w){var o,a,i,l,c,s,u,d,f,h=V(e),v=(l=(i=h.ownerDocument).body,c=i&&i.documentElement,o=(s=h.getBoundingClientRect()).left,a=s.top,u={left:o-=c.clientLeft||l.clientLeft||0,top:a-=c.clientTop||l.clientTop||0},f=(d=h.ownerDocument).defaultView||d.parentWindow,u.left+=function(e){var t=e.pageXOffset,n="scrollLeft";if("number"!=typeof t){var r=e.document;"number"!=typeof(t=r.documentElement[n])&&(t=r.body[n])}return t}(f),u.left),g=h.clientWidth;n&&t-v>g/2?r-=.5:!n&&t-v<g/2&&(r-=.5)}return r},er=function(e){$(e),null==B||B(e)},eo=r.useState(!1),ea=(0,d.Z)(eo,2),ei=ea[0],el=ea[1],ec=r.useState(null),es=(0,d.Z)(ec,2),eu=es[0],ed=es[1],ef=function(e,t){var n=en(t,e.pageX);n!==ee&&(ed(n),et(null)),null==j||j(n)},eh=function(e){Z||(ed(null),et(null),null==j||j(void 0)),e&&(null==T||T(e))},ev=function(e,t){var n=en(t,e.pageX),r=!1;S&&(r=n===Q),eh(),er(r?0:n),et(r?n:null)};r.useEffect(function(){A&&!Z&&X()},[]);var eg=Array(E).fill(0).map(function(e,t){return r.createElement(m,{ref:U(t),index:t,count:E,disabled:Z,prefixCls:"".concat(i,"-star"),allowHalf:w,value:null===eu?Q:eu,onClick:ev,onHover:ef,key:e||t,character:k,characterRender:N,focused:ei})}),em=s()(i,l,(0,u.Z)((0,u.Z)({},"".concat(i,"-disabled"),Z),"".concat(i,"-rtl"),"rtl"===I));return r.createElement("ul",(0,o.Z)({className:em,onMouseLeave:eh,tabIndex:Z?-1:void 0===P?0:P,onFocus:Z?null:function(){el(!0),null==L||L()},onBlur:Z?null:function(){el(!1),null==_||_()},onKeyDown:Z?null:function(e){var t=e.keyCode,n="rtl"===I,r=w?.5:1;M&&(t===v.Z.RIGHT&&Q<E&&!n?(er(Q+r),e.preventDefault()):t===v.Z.LEFT&&Q>0&&!n?(er(Q-r),e.preventDefault()):t===v.Z.RIGHT&&Q>0&&n?(er(Q-r),e.preventDefault()):t===v.Z.LEFT&&Q<E&&n&&(er(Q+r),e.preventDefault())),null==H||H(e)},ref:G,role:"radiogroup"},(0,g.Z)(D,{aria:!0,data:!0,attr:!0})),eg)}),b=n(64765),E=n(57400),C=n(88567),w=n(97372),O=n(80573),S=n(19757);let x=e=>{let{componentCls:t}=e;return{["".concat(t,"-star")]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:"all ".concat(e.motionDurationMid,", outline 0s"),"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:"".concat((0,C.bf)(e.lineWidth)," dashed ").concat(e.starColor),transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:"all ".concat(e.motionDurationMid),userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},["&-half ".concat(t,"-star-first, &-half ").concat(t,"-star-second")]:{opacity:1},["&-half ".concat(t,"-star-first, &-full ").concat(t,"-star-second")]:{color:"inherit"}}}},M=e=>({["&-rtl".concat(e.componentCls)]:{direction:"rtl"}}),R=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,w.Wf)(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",["&-disabled".concat(t," ").concat(t,"-star")]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),x(e)),M(e))}};var k=(0,O.I$)("Rate",e=>[R((0,S.IX)(e,{}))],e=>({starColor:e.yellow6,starSize:.5*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent})),N=n(50288),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},z=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:a,style:i,tooltips:c,character:u=r.createElement(l,null),disabled:d}=e,f=Z(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),{getPrefixCls:h,direction:v,rate:g}=r.useContext(b.E_),m=h("rate",n),[p,C,w]=k(m),O=Object.assign(Object.assign({},null==g?void 0:g.style),i),S=r.useContext(N.Z);return p(r.createElement(y,Object.assign({ref:t,character:u,characterRender:(e,t)=>{let{index:n}=t;return c?r.createElement(E.Z,{title:c[n]},e):e},disabled:null!=d?d:S},f,{className:s()(o,a,C,w,null==g?void 0:g.className),style:O,prefixCls:m,direction:v})))})},65964:function(e,t,n){t.Z=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r}}}]);