PageSourceSearch

https://vivago.ai/agent/_next/static/chunks/7536-5c213f4965999c1c.js?dpl=ed5e1e6

js vivago.ai collected 2026-10-03 23:30:18 UTC 70,745 bytes, 12 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7536],{10146:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(64245),n=o(26394),l=o(90367);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(l.A,a({},e,{ref:t,icon:n.A})))},12169:(e,t,o)=>{o.d(t,{G:()=>r});function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:o}=e,{componentCls:r}=t,n=r||o,l=`${n}-compact`;return{[l]:{...function(e,t,o,r){let{focusElCls:n,focus:l,borderElCls:a}=o,i=a?"> *":"",c=i?` ${i}`:"",s=e=>e.filter(Boolean).map(e=>`&:${e}${c}`).join(","),d=s(["hover",n?`hover${n}`:null]),u=s([l?"focus":null,"active"]);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":{[u]:{zIndex:3},[d]:{zIndex:4},...n?{[`&${n}`]:{zIndex:3}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}(e,l,t,n),...function(e,t,o){let{borderElCls:r}=o,n=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${n}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(n,l,t)}}}},13242:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"}},26394:(e,t)=>{t.A={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"}},26520:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(64245),n=o(34848),l=o(90367);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(l.A,a({},e,{ref:t,icon:n.A})))},26707:(e,t,o)=>{o.d(t,{D:()=>n});var r=o(47980);let n=`${r.yH}-wave-target`},28160:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(64245),n=o(94014),l=o(62074),a=o(33157);let i=(e,t)=>{let o=r.useContext(l.A);return[r.useMemo(()=>{let r=t||a.A[e],l=o?.[e]??{};return{...(0,n.Tn)(r)?r():r,...l||{}}},[e,t,o]),r.useMemo(()=>{let e=o?.locale;return o?.exist&&!e?a.A.locale:e},[o])]}},34848:(e,t)=>{t.A={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"}
1,children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"}},38686:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"}},44871:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"}},49764:(e,t,o)=>{o.d(t,{A:()=>v});var r=o(64245),n=o(17788),l=o(40440),a=o(47980),i=o(39957),c=o(34301);let s=(0,c.Or)("Wave",e=>{let{componentCls:t,colorPrimary:o,motionDurationSlow:r,motionEaseInOut:n,motionEaseOutCirc:l,antCls:a}=e,[,i]=(0,c.PN)(a,"wave");return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:i("color",o),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s","opacity 2s"].map(e=>`${e} ${l}`).join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow","opacity"].map(e=>`${e} ${r} ${n}`).join(",")}}}}});var d=o(6001),u=o(26707),m=o(73999),g=o(94014);let f=e=>!!e&&(0,g.Kg)(e)&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/i.test(e)&&!/^#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)$/i.test(e)&&"transparent"!==e&&"canvastext"!==e;function p(e){return Number.isNaN(e)?0:e}let $=e=>{let{className:t,target:o,component:i,colorSource:s}=e,d=r.useRef(null),{getPrefixCls:$}=r.useContext(a.QO),b=$(),[v]=(0,c.PN)(b,"wave"),[h,x]=r.useState(null),[y,C]=r.useState([]),[E,w]=r.useState(0),[S,k]=r.useState(0),[A,B]=r.useState(0),[z,N]=r.useState(0),[I,T]=r.useState(!1),R={left:E,top:S,width:A,height:z,borderRadius:y.map(e=>`${e}px`).join(" ")};function H(){let e=getComputedStyle(o);x(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=getComputedStyle(e),{borderTopColor:r,borderColor:n,backgroundColor:l}=o;return t&&f(o[t])?o[t]:[r,n,l].find(f)??null}(o,s));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:n}=e;w(t?o.offsetLeft:p(-Number.parseFloat(r))),k(t?o.offsetTop:p(-Number.parseFloat(n))),B(o.offsetWidth),N(o.offsetHeight);let{borderTopLeftRadius:l,borderTopRightRadius:a,borderBottomLeftRadius:i,borderBottomRightRadius:c}=e;C([l,a,c,i].map(e=>p(Number.parseFloat(e))))}if(h&&(R[v("color")]=h),r.useEffect(()=>{if(o){let e,t=(0,n.er)(()=>{H(),T(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(H)).observe(o),()=>{n.er.cancel(t),e?.disconnect()}}},[o]),!I)return null;let O=("Checkbox"===i||"Radio"===i)&&o?.classList.contains(u.D);return r.createElement(m.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{if(t.deadline||(0,g.qF)(t)&&"opacity"===t.propertyName){let e=d.current?.parentElement;(0,n.vs)(e).then(()=>{e?.remove()})}return!1}},(e,o)=>{let{className:a}=e;return r.createElement("div",{ref:(0,n.K4)(d,o),className:(0,l.$)(t,a,{"wave-quick":O}),style:R})})},b={click:"click",mousedown:"mousedown",mouseup:"mouseup",pointerdown:"pointerdown",pointerup:"pointerup"},v=e=>{let{children:t,disabled:o,component:c,colorSource:m}=e,{getPrefixCls:g,wave:f}=(0,r.useContext)(a.QO),p=(0,r.useRef)(null),v=g("wave"),h=s(v),x=((e,t,o,l)=>{let{wave:i}=r.useContext(a.QO),[,c,s]=(0,d.Ay)(),m=(0,n._q)(a=>{let d=e.current;if(i?.disabled||!d)return;let m=d.querySelector(`.${u.D}`)||d,{showEffect:g}=i||{};(g||((e,t)=>{let{component:o}=t;if("Checkbox"===o&&!e.querySelector("input")?.checked)return;
1let l=document.createElement("div");l.style.position="absolute",l.style.left="0px",l.style.top="0px",e?.insertBefore(l,e?.firstChild),(0,n.XX)(r.createElement($,{...t,target:e}),l)}))(m,{className:t,token:c,component:o,event:a,hashId:s,colorSource:l})}),g=r.useRef(null);return r.useEffect(()=>()=>{n.er.cancel(g.current)},[]),e=>{n.er.cancel(g.current),g.current=(0,n.er)(()=>{m(e)})}})(p,(0,l.$)(v,h),c,m);if(r.useEffect(()=>{let e=p.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||o)return;let t=t=>{!(0,n.zN)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")&&!e.className.includes("disabled:")||"true"===e.getAttribute("aria-disabled")||e.className.includes("-leave")||x(t)},r=f?.triggerType,l=r&&r in b?b[r]:"click";return e.addEventListener(l,t,!0),()=>{e.removeEventListener(l,t,!0)}},[o,f?.triggerType]),!r.isValidElement(t))return t??null;let y=(0,n.f3)(t)?(0,n.K4)((0,n.A9)(t),p):p;return(0,i.Ob)(t,{ref:y})}},57536:(e,t,o)=>{let r;o.d(t,{A:()=>tS});var n=o(64245),l=o(17788),a=o(94014),i=o(47980),c=o(62355),s=o(38686),d=o(90367);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let m=n.forwardRef((e,t)=>n.createElement(d.A,u({},e,{ref:t,icon:s.A})));var g=o(10146),f=o(44871);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let $=n.forwardRef((e,t)=>n.createElement(d.A,p({},e,{ref:t,icon:f.A})));var b=o(13242);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let h=n.forwardRef((e,t)=>n.createElement(d.A,v({},e,{ref:t,icon:b.A})));var x=o(40440);let y=(e,t)=>{let o={};return(0,a.Qd)(e)&&(o=e),"boolean"==typeof e&&(o={enabled:e}),void 0===o.closable&&void 0!==t&&(o.closable=t),o};var C=o(33700),E=o(38316),w=o(28160),S=o(6001),k=o(7993),A=o(49764),B=o(70972),z=o(526),N=o(14400);let I=n.createContext(void 0);var T=o(76570),R=o(39957),H=o(89913);let O=/^[\u4E00-\u9FA5]{2}$/,P=O.test.bind(O);function M(e){return"danger"===e?{danger:!0}:{type:e}}function L(e){return"text"===e||"link"===e}["default","primary","danger"].concat((0,T.A)(H.s));var j=o(31680),q=o(73999);let F=(0,n.forwardRef)((e,t)=>{let{className:o,style:r,children:l,prefixCls:a}=e,i=(0,x.$)(`${a}-icon`,o);return n.createElement("span",{ref:t,className:i,style:r},l)}),W=(0,n.forwardRef)((e,t)=>{let{prefixCls:o,className:r,style:l,iconClassName:a}=e,i=(0,x.$)(`${o}-loading-icon`,r);return n.createElement(F,{prefixCls:o,className:i,style:l,ref:t},n.createElement(j.A,{className:a}))}),G=()=>({width:0,opacity:0,transform:"scale(0)"}),D=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),X=e=>{let{prefixCls:t,loading:o,existIcon:r,className:l,style:a,mount:i}=e;return r?n.createElement(W,{prefixCls:t,className:l,style:a}):n.createElement(q.Ay,{visible:!!o,motionName:`${t}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:!0,onAppearStart:G,onAppearActive:D,onEnterStart:G,onEnterActive:D,onLeaveStart:D,onLeaveActive:G},(e,o)=>{let{className:r,style:i}=e,c={...a,...i};return n.createElement(W,{prefixCls:t,className:(0,x.$)(l,r),style:c,ref:o})})};var Q=o(56382),V=o(70286),K=o(62741),_=o(2009),U=o(34301);let Y=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var Z=o(54084),J=o(42418),ee=o(26042),et=o(35654);let eo=e=>{let{paddingInline:t,onlyIconSize:o,borderColorDisabled:r}=e;return(0,_.oX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:o,colorBorderDisabled:r})},er=e=>{let t=e.contentFontSize??e.fontSize,o=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,n=e.contentLineHeight??(0,ee.k)(t),l=e.contentLineHeightSM??(0,ee.k)(o),a=e.contentLineHeightLG??(0,ee.k)(r),i=((e,t)=>{let{r:o,g:r,b:n,a:l}
1=e.toRgb(),a=new J.Q1(e.toRgbString()).onBackground(t).toHsv();return l<=.5?a.v>.5:.299*o+.587*r+.114*n>192})(new Z.kf(e.colorBgSolid),"#fff")?"#000":"#fff",c=H.s.reduce((t,o)=>({...t,[`${o}ShadowColor`]:`0 ${(0,Q.zA)(e.controlOutlineWidth)} 0 ${(0,et.A)(e[`${o}1`],e.colorBgContainer)}`}),{}),s=e.colorBgContainerDisabled,d=e.colorBgContainerDisabled;return{...c,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:i,contentFontSize:t,contentFontSizeSM:o,contentFontSizeLG:r,contentLineHeight:n,contentLineHeightSM:l,contentLineHeightLG:a,paddingBlock:Math.max((e.controlHeight-t*n)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-o*l)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*a)/2-e.lineWidth,0),defaultBgDisabled:s,dashedBgDisabled:d}},en=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:o,controlHeight:r,fontSize:n,borderRadius:l,buttonPaddingHorizontal:a,iconCls:i,buttonPaddingVertical:c,buttonIconOnlyFontSize:s}=e;return[{[t]:{fontSize:n,height:r,padding:`${(0,Q.zA)(c)} ${(0,Q.zA)(a)}`,borderRadius:l,[`&${o}-icon-only`]:{width:r,[i]:{fontSize:s}}}},{[`${o}${o}-circle${t}`]:{minWidth:e.controlHeight,paddingInline:0,borderRadius:"50%"}},{[`${o}${o}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${o}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},el=(0,U.OF)("Button",e=>{let t=eo(e);return[(e=>{let{componentCls:t,iconCls:o,fontWeight:r,opacityLoading:n,motionDurationSlow:l,motionEaseInOut:a,iconGap:i,calc:c}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:i,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",...(0,K.V)(),"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:(0,V.Nk)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,V.K8)(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${o})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"}},[`&${t}-loading`]:{opacity:n,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(e=>`${e} ${l} ${a}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(i).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(i).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(i).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(i).mul(-1).equal()}}}}}})(t),en((0,_.oX)(t,{fontSize:t.contentFontSize}),t.componentCls),en((0,_.oX)(t,{controlHeight:t.controlHeightSM,fontSize:t.contentFontSizeSM,padding:t.paddingXS,buttonPaddingHorizontal:t.paddingInlineSM,buttonPaddingVertical:0,borderRadius:t.borderRadiusSM,buttonIconOnlyFontSize:t.onlyIconSizeSM}),`${t.componentCls}-sm`),en((0,_.oX)(t,{controlHeight:t.controlHeightLG,fontSize:t.contentFontSizeLG,buttonPaddingHorizontal:t.paddingInlineLG,buttonPaddingVertical:0,borderRadius:t.borderRadiusLG,buttonIconOnlyFontSize:t.onlyIconSizeLG}),`${t.componentCls}-lg`),(e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}})(t),(e=>{let{componentCls:t,antCls:o,lineWidth:r}=e,[n,l]=(0,U.PN)(o,"btn");return{[t]:[{[n("border-width")]:r,[n("border-color")]:"#000",[n("border-color-hover")]:l("border-color"),[n("border-color-active")]:l("border-color"),[n("border-color-disabled")]:l("border-color"),[n("border-style")]:"solid",[n("text-color")]:"#000",[n("text-color-hover")]:l("text-color"),[n("text-color-active")]:l("text-color"),[n("text-color-disabled")]:l("text-color"),[n("bg-color")]:"#ddd",[n("bg-color-hover")]:l("bg-color"),[n("bg-color-active")]:l("bg-color"),[n("bg-color-disabled")]:e.colorBg
1ContainerDisabled,[n("bg-color-container")]:e.colorBgContainer,[n("shadow")]:"none"},{border:[l("border-width"),l("border-style"),l("border-color")].join(" "),color:l("text-color"),backgroundColor:l("bg-color"),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[l("border-width"),l("border-style"),l("border-color-hover")].join(" "),color:l("text-color-hover"),backgroundColor:l("bg-color-hover")},"&:active":{border:[l("border-width"),l("border-style"),l("border-color-active")].join(" "),color:l("text-color-active"),backgroundColor:l("bg-color-active")}}},{[`&${t}-variant-solid`]:{[n("solid-bg-color")]:l("color-base"),[n("solid-bg-color-hover")]:l("color-hover"),[n("solid-bg-color-active")]:l("color-active"),[n("border-color")]:"transparent",[n("text-color")]:e.colorTextLightSolid,[n("bg-color")]:l("solid-bg-color"),[n("bg-color-hover")]:l("solid-bg-color-hover"),[n("bg-color-active")]:l("solid-bg-color-active"),boxShadow:l("shadow")},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[n("border-color")]:l("color-base"),[n("border-color-hover")]:l("color-hover"),[n("border-color-active")]:l("color-active"),[n("bg-color")]:l("bg-color-container"),[n("text-color")]:l("color-base"),[n("text-color-hover")]:l("color-hover"),[n("text-color-active")]:l("color-active"),boxShadow:l("shadow")},[`&${t}-variant-dashed`]:{[n("border-style")]:"dashed",[n("bg-color-disabled")]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[n("border-color")]:"transparent",[n("text-color")]:l("color-base"),[n("bg-color")]:l("color-light"),[n("bg-color-hover")]:l("color-light-hover"),[n("bg-color-active")]:l("color-light-active")},[`&${t}-variant-text, &${t}-variant-link`]:{[n("border-color")]:"transparent",[n("text-color")]:l("color-base"),[n("text-color-hover")]:l("color-hover"),[n("text-color-active")]:l("color-active"),[n("bg-color")]:"transparent",[n("bg-color-hover")]:"transparent",[n("bg-color-active")]:"transparent",[`&:disabled, &${e.componentCls}-disabled`]:{background:"transparent",borderColor:"transparent"}},[`&${t}-variant-text`]:{[n("bg-color-hover")]:l("color-light"),[n("bg-color-active")]:l("color-light-active")}},{[`&${t}-variant-link`]:{[n("color-base")]:e.colorLink,[n("color-hover")]:e.colorLinkHover,[n("color-active")]:e.colorLinkActive,[n("bg-color-hover")]:e.linkHoverBg},[`&${t}-color-primary`]:{[n("color-base")]:e.colorPrimary,[n("color-hover")]:e.colorPrimaryHover,[n("color-active")]:e.colorPrimaryActive,[n("color-light")]:e.colorPrimaryBg,[n("color-light-hover")]:e.colorPrimaryBgHover,[n("color-light-active")]:e.colorPrimaryBorder,[n("shadow")]:e.primaryShadow,[`&${t}-variant-solid`]:{[n("text-color")]:e.primaryColor,[n("text-color-hover")]:l("text-color"),[n("text-color-active")]:l("text-color")}},[`&${t}-color-dangerous`]:{[n("color-base")]:e.colorError,[n("color-hover")]:e.colorErrorHover,[n("color-active")]:e.colorErrorActive,[n("color-light")]:e.colorErrorBg,[n("color-light-hover")]:e.colorErrorBgFilledHover,[n("color-light-active")]:e.colorErrorBgActive,[n("shadow")]:e.dangerShadow,[`&${t}-variant-solid`]:{[n("text-color")]:e.dangerColor,[n("text-color-hover")]:l("text-color"),[n("text-color-active")]:l("text-color")}},[`&${t}-color-default`]:{[n("solid-bg-color")]:e.colorBgSolid,[n("solid-bg-color-hover")]:e.colorBgSolidHover,[n("solid-bg-color-active")]:e.colorBgSolidActive,[n("color-base")]:e.defaultBorderColor,[n("color-hover")]:e.defaultHoverBorderColor,[n("color-active")]:e.defaultActiveBorderColor,[n("color-light")]:e.colorFillTertiary,[n("color-light-hover")]:e.colorFillSecondary,[n("color-light-active")]:e.colorFill,[n("text-color")]:e.defaultColor,[n("text-color-hover")]:e.defaultHoverColor,[n("text-color-active")]:e.defaultActiveColor,[n("shadow")]:e.defaultShadow,[`&${t}-variant-outlined`]:{[n("bg-color-disabled")]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[n("text-color")]:e.solidTextColor,[n("text-color-hover")]:l("text-color"),[n("text-color-active")]:l("text-color")},[`&${t}-variant-filled, &${t}-variant-text`]:{[n("text-color-hover")]:l("text-color"),[n("text-color-active")]:l("text-color")},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[n("text-color")]:e.defaultColor,[n("text-color-hover")]:e.defaultHoverColor,[n("text-color-active")]:e.defaultActiveColor,[n("bg-color-container")]:e.defaultBg,[n("bg-color-hover")]:e.defaultHoverBg,[n("bg-color-active")]:e.defaultActiveBg},[`&${t}-variant-text`]:{[n("text-color")]:e.textTextColor,[n("text-color-hover")]:e.textTextHoverColor,[n("text-color-active")]:e.textTextActiveColor,[n("bg-color-hover")]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[n("text-color")]:e.defaultGhostColor,[n("border-color")]:e.defaultGhostBorderColor}}}},H.s.map(o=>{let r=e[`${o}6`],l=e[`${o}1`],a=e[`${o}Hover`],i=e[`${o}2`],c=e[`${o}3`],s=e[`${o}Active`],d=e[`${o}ShadowColor`];return{[`&${t}-color-${o}`]:{[n("color-base")]:r,[n("color-hover")]:a,[n("color-active")]:s,[n("color-light")]:l,[n("color-light-hover")]:i,[n("color-light-active")]:c,[n("shadow")]:d}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",borderColor:e.colorBorderDisabled,background:l("bg-color-disabled"),color:e.colorTextDisabled,boxShadow:"none"}},{[`&${t}-background-ghost`]:{[n("bg-color")]:e.ghostBg,[n("bg-color-hover")]:e.ghostBg,[n("bg-color-active")]:e.ghostBg,[n("shadow")]:"none",[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[n("bg-color-hover")]:e.ghostBg,[n("bg-color-active")]:e.ghostBg}}}]}})(t),(e=>{let{componentCls:t,fontSize:o,lineWidth:r,groupBorderColor:n,colorErrorHover:l}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:o}},Y(`${t}-primary`,n),Y(`${t}-danger`,l)]}})(t)]},er,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var ea=o(12169);let ei=(0,U.bf)(["Button","compact"],e=>{var t,o;let r,n=eo(e);return[(0,ea.G)(n),{[r=`${n.componentCls}-compact-vertical`]:{...(t=n.componentCls,{[`&-item:not(${r}-last-item)`]:{marginBottom:n.calc(n.lineWidth).mul(-1).equal()},[`&-item:not(${t}-status-success)`]:{zIndex:2},"&-item":{"&:focus,&:active":{zIndex:3},"&:hover":{zIndex:4},"&[disabled]":{zIndex:0}}}),...(o=n.componentCls,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}})}},(e=>{let{antCls:t,componentCls:o,lineWidth:r,calc:n,colorBgContainer:l}=e,a=`${o}
1-variant-solid:not([disabled])`,i=n(r).mul(-1).equal(),[c,s]=(0,U.PN)(t,"btn"),d=e=>({[`${o}-compact${e?"-vertical":""}-item`]:{[c("compact-connect-border-color")]:s("bg-color-hover"),[`&${a}`]:{transition:"none",[`& + ${a}:before`]:[{position:"absolute",backgroundColor:s("compact-connect-border-color"),content:'""'},e?{top:i,insetInline:i,height:r}:{insetBlock:i,insetInlineStart:i,width:r}],"&:hover:before":{display:"none"}}}});return[d(),d(!0),{[`${a}${o}-color-default`]:{[c("compact-connect-border-color")]:`color-mix(in srgb, ${s("bg-color-hover")} 75%, ${l})`}}]})(n)]},er),ec={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},es=n.forwardRef((e,t)=>{var o,r,c;let s,d,u,{_skipSemantic:m,loading:g=!1,prefixCls:f,color:p,variant:$,type:b,danger:v=!1,shape:h,size:y,disabled:C,className:E,rootClassName:w,children:S,icon:T,iconPosition:H,iconPlacement:O,ghost:M=!1,block:j=!1,htmlType:q="button",classNames:W,styles:G,style:D,autoInsertSpace:Q,autoFocus:V,...K}=e,_=(0,l.$r)(S),U=b||"default",{getPrefixCls:Y,direction:Z,autoInsertSpace:J,className:ee,style:et,classNames:eo,styles:er,loadingIcon:en,shape:ea,color:es,variant:ed}=(0,i.TP)("button"),eu=h||ea||"default",[em,eg]=(0,n.useMemo)(()=>{if(p&&$)return[p,$];if(b||v){let e=ec[U]||[];return v?["danger",e[1]]:e}return"solid"===$?["primary",$]:es&&ed?[es,ed]:"solid"===ed?["primary",ed]:["default","outlined"]},[p,$,b,v,es,ed,U]),[ef,ep]=(0,n.useMemo)(()=>M&&"solid"===eg?[em,"outlined"]:[em,eg],[em,eg,M]),e$="danger"===ef,eb=e$?"dangerous":ef,ev=Q??J??!0,eh=Y("btn",f),[ex,ey]=el(eh),eC=(0,n.useContext)(B.A),eE=C??eC,ew=(0,n.useContext)(I),eS=(0,n.useMemo)(()=>(function(e){if((0,a.Qd)(e)){let t=e?.delay;return{loading:(t=(0,a.Et)(t)?t:0)<=0,delay:t}}return{loading:!!e,delay:0}}
1)(g),[g]),[ek,eA]=(0,n.useState)(eS.loading),[eB,ez]=(0,n.useState)(!1),eN=(0,n.useRef)(null),eI=(0,l.xK)(t,eN),eT=1===_.length&&!T&&!L(ep),eR=(0,n.useRef)(!0);n.useEffect(()=>(eR.current=!1,()=>{eR.current=!0}),[]),(0,l.Nf)(()=>{let e=null;return eS.delay>0?e=setTimeout(()=>{e=null,eA(!0)},eS.delay):eA(eS.loading),function(){e&&(clearTimeout(e),e=null)}},[eS.delay,eS.loading]),(0,n.useEffect)(()=>{if(!eN.current||!ev)return;let e=eN.current.textContent||"";eT&&P(e)?eB||ez(!0):eB&&ez(!1)}),(0,n.useEffect)(()=>{V&&eN.current&&eN.current.focus()},[]);let eH=n.useCallback(t=>{ek||eE?t.preventDefault():e.onClick?.(("href"in e,t))},[e.onClick,ek,eE]),{compactSize:eO,compactItemClassnames:eP}=(0,N.RQ)(eh,Z),eM=(0,z.A)(e=>y??eO??ew??e),eL=ek?"loading":T,ej=O??H??"start",eq=(0,l.cJ)(K,["navigate"]),eF={...e,type:U,color:ef,variant:ep,danger:e$,shape:eu,size:eM,disabled:eE,loading:ek,iconPlacement:ej},eW=(0,k.XT)(et),eG=(0,k.XT)(D),[eD,eX]=(0,k.AV)([m?void 0:eo,W],[m?void 0:er,eW,G,eG],{props:eF}),eQ=(0,x.$)(eh,ex,ey,{[`${eh}-${eu}`]:"default"!==eu&&"square"!==eu&&eu,[`${eh}-${U}`]:U,[`${eh}-dangerous`]:v,[`${eh}-color-${eb}`]:eb,[`${eh}-variant-${ep}`]:ep,[`${eh}-lg`]:"large"===eM,[`${eh}-sm`]:"small"===eM,[`${eh}-icon-only`]:!S&&0!==S&&!!eL,[`${eh}-background-ghost`]:M&&!L(ep),[`${eh}-loading`]:ek,[`${eh}-two-chinese-chars`]:eB&&ev&&!ek,[`${eh}-block`]:j,[`${eh}-rtl`]:"rtl"===Z,[`${eh}-icon-end`]:"end"===ej},eP,E,w,ee,eD.root),eV={className:eD.icon,style:eX.icon},eK=e=>n.createElement(F,{prefixCls:eh,...eV},e),e_=n.createElement(X,{existIcon:!!T,prefixCls:eh,loading:ek,mount:eR.current,...eV}),eU=(0,a.Qd)(g)&&g.icon||en;s=T&&!ek?eK(T):g&&eU?eK(eU):e_;let eY=(0,a.AZ)(S)?(o=eT&&ev,r=eX.content,c=eD.content,d=!1,u=[],n.Children.forEach(S,e=>{let t=(0,a.Kg)(e)||(0,a.Et)(e);if(d&&t){let t=u.length-1,o=u[t];u[t]=`${o}${e}`}else u.push(e);d=t}),n.Children.map(u,e=>(function(e,t,o,r){if(!(0,a.AZ)(e))return;let l=t?" ":"";return!(0,a.Kg)(e)&&!(0,a.Et)(e)&&(0,a.Kg)(e.type)&&P(e.props.children)?(0,R.Ob)(e,e=>{let t=(0,x.$)(e.className,r)||void 0,n={...o,...e.style};return{...e,children:e.children.split("").join(l),className:t,style:n}}):(0,a.Kg)(e)?n.createElement("span",{className:r,style:o},P(e)?e.split("").join(l):e):(0,R.zv)(e)?n.createElement("span",{className:r,style:o},e):(0,R.Ob)(e,e=>({...e,className:(0,x.$)(e.className,r)||void 0,style:{...e.style,...o}}))})(e,o,r,c))):null;if(void 0!==eq.href)return n.createElement("a",{...eq,className:(0,x.$)(eQ,{[`${eh}-disabled`]:eE}),href:eE?void 0:eq.href,style:eX.root,onClick:eH,ref:eI,tabIndex:eE?-1:0,"aria-disabled":eE},s,eY);let eZ=n.createElement("button",{...K,type:q,className:eQ,style:eX.root,onClick:eH,disabled:eE,ref:eI},s,eY,eP&&n.createElement(ei,{prefixCls:eh}));return L(ep)||(eZ=n.createElement(A.A,{component:"Button",disabled:ek},eZ)),eZ});es.Group=e=>{let{getPrefixCls:t,direction:o}=n.useContext(i.QO),{prefixCls:r,size:l,className:a,...c}=e,s=t("btn-group",r),[,,d]=(0,S.Ay)(),u=n.useMemo(()=>{switch(l){case"large":return"lg";case"small":return"sm";default:return""}},[l]),m=(0,x.$)(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:"rtl"===o},a,d);return n.createElement(I.Provider,{value:l},n.createElement("div",{...c,className:m}))},es.__ANT_BUTTON=!0;let ed=e=>{let{type:t,children:o,prefixCls:r,buttonProps:i,close:c,autoFocus:s,emitEvent:d,isSilent:u,quitOnNullishReturnValue:m,actionFn:g}=e,f=n.useRef(!1),p=n.useRef(null),[$,b]=(0,l.J0)(!1),v=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];c?.(...t)};return n.useEffect(()=>{let e=null;return s&&(e=setTimeout(()=>{p.current?.focus({preventScroll:!0})}
1)),()=>{e&&clearTimeout(e)}},[s]),n.createElement(es,{...M(t),onClick:e=>{let t;if(!f.current){var o;if(f.current=!0,!g)return void v();if(d){if(t=g(e),m&&!(0,a.Qg)(t)){f.current=!1,v(e);return}}else if(g.length)t=g(c),f.current=!1;else if(t=g(),!(0,a.Qg)(t))return void v();o=t,(0,a.Qg)(o)&&(b(!0),o.then(function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];b(!1,!0),v.apply(void 0,t),f.current=!1},e=>{if(b(!1,!0),f.current=!1,!u?.())return Promise.reject(e)}))}},loading:$,prefixCls:r,...i,ref:p},o)},eu=n.createContext({}),{Provider:em}=eu,eg=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:o,isSilent:r,mergedOkCancel:l,rootPrefixCls:a,close:i,onCancel:c,onConfirm:s,onClose:d}=(0,n.useContext)(eu);return l?n.createElement(ed,{isSilent:r,actionFn:c,close:function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];i?.(...t),s?.(!1),d?.()},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},o):null},ef=()=>{let{autoFocusButton:e,close:t,isSilent:o,okButtonProps:r,rootPrefixCls:l,okTextLocale:a,okType:i,onConfirm:c,onOk:s,onClose:d}=(0,n.useContext)(eu);return n.createElement(ed,{isSilent:o,type:i||"primary",actionFn:s,close:function(){for(var e=arguments.length,o=Array(e),r=0;r<e;r++)o[r]=arguments[r];t?.(...o),c?.(!0),d?.()},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${l}-btn`},a)};var ep=o(26520),e$=o(73757);let eb=n.createContext({});function ev(e,t,o){let r=t;return!r&&o&&(r=`${e}-${o}`),r}function eh(e,t){let o=e[`page${t?"Y":"X"}Offset`],r=`scroll${t?"Top":"Left"}`;if("number"!=typeof o){let t=e.document;"number"!=typeof(o=t.documentElement[r])&&(o=t.body[r])}return o}let ex=n.memo(({children:e})=>e,(e,{shouldUpdate:t})=>!t);function ey(){return(ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let eC=n.forwardRef((e,t)=>{let{prefixCls:o,className:r,style:a,title:i,ariaId:c,footer:s,closable:d,closeIcon:u,onClose:m,children:g,bodyStyle:f,bodyProps:p,modalRender:$,onMouseDown:b,onMouseUp:v,holderRef:h,visible:y,forceRender:C,width:E,height:w,classNames:S,styles:k,isFixedPos:A,focusTrap:B}=e,{panel:z}=n.useContext(eb),N=(0,n.useRef)(null),I=(0,l.xK)(h,z,N),[T]=(0,l.T$)(y&&A&&!1!==B,()=>N.current);n.useImperativeHandle(t,()=>({focus:()=>{N.current?.focus({preventScroll:!0})}}));let R={};void 0!==E&&(R.width=E),void 0!==w&&(R.height=w);let H=s?n.createElement("div",{className:(0,x.$)(`${o}-footer`,S?.footer),style:{...k?.footer}},s):null,O=i?n.createElement("div",{className:(0,x.$)(`${o}-header`,S?.header),style:{...k?.header}},n.createElement("div",{className:(0,x.$)(`${o}-title`,S?.title),id:c,style:{...k?.title}},i)):null,P=(0,n.useMemo)(()=>"object"==typeof d&&null!==d?d:d?{closeIcon:u??n.createElement("span",{className:`${o}-close-x`})}:{},[d,u,o]),M=(0,l.KE)(P,!0),L="object"==typeof d&&d.disabled,j=d?n.createElement("button",ey({type:"button",onClick:m,"aria-label":"Close"},M,{className:(0,x.$)(`${o}-close`,S?.close),disabled:L,style:k?.close}),P.closeIcon):null,q=n.createElement("div",{className:(0,x.$)(`${o}-container`,S?.container),style:k?.container},j,O,n.createElement("div",ey({className:(0,x.$)(`${o}-body`,S?.body),style:{...f,...k?.body}},p),g),H);return n.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?c:null,"aria-modal":"true",ref:I,style:{...a,...R},className:(0,x.$)(o,r),onMouseDown:b,onMouseUp:v,tabIndex:-1,onFocus:e=>{T(e.target)}},n.createElement(ex,{shouldUpdate:y||C},$?$(q):q))});function eE(){return(eE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let ew=n.forwardRef((e,t)=>{let{prefixCls:o,title:r,style:l,className:a,visible:i,forceRender:c,destroyOnHidden:s,motionName:d,ariaId:u,onVisibleChanged:m,mousePosition:g}=e,f=(0,n.useRef)(null),p=(0,n.useRef)(null);n.useImperativeHandle(t,()=>({...p.current,inMotion:f.current.inMotion,enableMotion:f.current.enableMotion}));let[$,b]=n.useState(),v={};function h(){var e;let t,o,r,n;if(!f.current?.nativeElement)return;let l=(o={left:(t=(e=f.current.nativeElement).getBoundingClientRect()).left,top:t.top},n=(r=e.ownerDocument).defaultView||r.parentWindow,o.left+=eh(n),o.top+=eh(n,!0),o);b(g&&(g.x||g.y)?`${g.x-l.left}px ${g.y-l.top}
1px`:"")}return $&&(v.transformOrigin=$),n.createElement(q.Ay,{visible:i,onVisibleChanged:m,onAppearPrepare:h,onEnterPrepare:h,forceRender:c,motionName:d,removeOnLeave:s,ref:f},({className:t,style:i},c)=>n.createElement(eC,eE({},e,{ref:p,title:r,ariaId:u,prefixCls:o,holderRef:c,style:{...i,...l,...v},className:(0,x.$)(a,t)})))});function eS(){return(eS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let ek=e=>{let{prefixCls:t,style:o,visible:r,maskProps:l,motionName:a,className:i}=e;return n.createElement(q.Ay,{key:"mask",visible:r,motionName:a,leavedClassName:`${t}-mask-hidden`},({className:e,style:r},a)=>n.createElement("div",eS({ref:a,style:{...r,...o},className:(0,x.$)(`${t}-mask`,e,i)},l)))};function eA(){return(eA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let eB=e=>{let{prefixCls:t="rc-dialog",zIndex:o,visible:r=!1,focusTriggerAfterClose:a=!0,wrapStyle:i,wrapClassName:c,wrapProps:s,onClose:d,afterOpenChange:u,afterClose:m,transitionName:g,animation:f,closable:p=!0,mask:$=!0,maskTransitionName:b,maskAnimation:v,maskClosable:h=!0,maskStyle:y,maskProps:C,rootClassName:E,rootStyle:w,classNames:S,styles:k}=e,A=(0,n.useRef)(null),B=(0,n.useRef)(null),z=(0,n.useRef)(null),[N,I]=n.useState(r),[T,R]=n.useState(!1),H=(0,l.Bi)();function O(){if(I(!1),$&&A.current&&a){try{A.current.focus({preventScroll:!0})}catch(e){}A.current=null}N&&m?.()}function P(e){d?.(e)}let M=(0,n.useRef)(!1),L=null;h&&(L=e=>{B.current===e.target&&M.current&&P(e)}),(0,n.useEffect)(()=>{r?(M.current=!1,I(!0),(0,l.gR)(B.current,document.activeElement)||(A.current=document.activeElement),B.current&&R("fixed"===getComputedStyle(B.current).position)):N&&z.current.enableMotion()&&!z.current.inMotion()&&O()},[r]);let j={zIndex:o,...i,...k?.wrapper,display:N?null:"none"};return n.createElement("div",eA({className:(0,x.$)(`${t}-root`,E),style:w},(0,l.KE)(e,{data:!0})),n.createElement(ek,{prefixCls:t,visible:$&&r,motionName:ev(t,b,v),style:{zIndex:o,...y,...k?.mask},maskProps:C,className:S?.mask}),n.createElement("div",eA({className:(0,x.$)(`${t}-wrap`,c,S?.wrapper),ref:B,onClick:L,onMouseDown:function(e){M.current=e.target===B.current},style:j},s),n.createElement(ew,eA({},e,{isFixedPos:T,ref:z,closable:p,ariaId:H,prefixCls:t,visible:r&&N,onClose:P,onVisibleChanged:function(e){e?(0,l.gR)(B.current,document.activeElement)||z.current?.focus():O(),u?.(e)},motionName:ev(t,g,f)}))))};function ez(){return(ez=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let eN=e=>{let{visible:t,getContainer:o,forceRender:r,destroyOnHidden:l=!1,afterClose:a,closable:i,panelRef:c,keyboard:s=!0,scrollLock:d=!0,onClose:u}=e,{scrollLock:m,...g}=e,[f,p]=n.useState(t),$=n.useMemo(()=>({panel:c}),[c]);return(n.useEffect(()=>{t&&p(!0)},[t]),r||!l||f)?n.createElement(eb.Provider,{value:$},n.createElement(e$.A,{open:t||r||f,onEsc:({top:e,event:t})=>{if(e&&s){t.stopPropagation(),u?.(t);return}},autoDestroy:!1,getContainer:o,autoLock:d&&(t||f)},n.createElement(eB,ez({},g,{destroyOnHidden:l,afterClose:()=>{let{afterClose:e}=(i&&"object"==typeof i?i:{})||{};e?.(),a?.(),p(!1)}})))):null};var eI=o(49766),eT=o(33157);let eR=e=>{if(!e)return;let{closable:t,closeIcon:o}=e;return{closable:t,closeIcon:o}},eH={},eO=(e,t)=>{if(!e&&(!1===e||!1===t||null===t))return!1;if(!(0,a.R)(e)&&!(0,a.R)(t))return null;let o={closeIcon:"boolean"!=typeof t&&(0,a.R)(t)?t:void 0};return(0,a.Qd)(e)&&(o={...o,...e}),o},eP=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eH,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Close",i=eO(e?.closable,e?.closeIcon),c=eO(t?.closable,t?.closeIcon),s={closeIcon:n.createElement(ep.A,null),...o},d=!1!==i&&(i?(0,l.v6)(s,c,i):!1!==c&&(c?(0,l.v6)(s,c):!!s.closable&&s)),u="boolean"!=typeof d&&!!d?.disabled;if(!1===d)return[!1,null,u,{}];let[m,g]=((e,t,o)=>{let{closeIconRender:r}=t,{closeIcon:i,...c}=e,s=i,d=(0,l.KE)(c,!0);return(0,a.R)(s)&&(r&&(s=r(s)),s=n.isValidElement(s)?n.cloneElement(s,{"aria-label":o,...s.props,...d}):n.createElement("span",{"aria-label":o,...d},s)),[s,d]})(d,s,r);return[!0,m,u,g]},eM=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eH,[r]=(0,w.A)("global",eT.A.global);return n.useMemo(()=>eP(e,t,{closeIcon:n.createElement(ep.A,null),...o},r.close),[e,t,o,r.close])};var eL=o(69975),ej=o(98273);let eq=e=>{let{prefixCls:t,className:o,style:r,size:l,shape:i}=e,c=(0,x.$)({[`${t}-lg`]:"large"===l,[`${t}-sm`]:"small"===l}),s=(0,x.$)({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),d=n.useMemo(()=>(0,a.Et)(l)?{width:l,height:l,lineHeight:`${l}px`}:{},[l]);return n.createElement("span",{className:(0,x.$)(t,c,s,o),style:{...d,...r}})},eF=new Q.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),eW=e=>({height:e,lineHeight:(0,Q.zA)(e)}),eG=e=>({width:e,...eW(e)}),eD=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...eW(e)}),eX=e=>{let{gradientFromColor:t,borderRadiusSM:o,imageSizeBase:r,calc:n}=e;return{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:t,borderRadius:o,...eG(n(r).mul(2).equal())}},eQ=(e,t,o)=>{let{skeletonButtonCls:r}=e;return{[`${o}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${o}${r}-round`]:{borderRadius:t}}},eV=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...eW(e)}),eK=(0,U.OF)("Skeleton",e=>{let{componentCls:t,calc:o}=e;return(e=>{let{componentCls:t,skeletonAvatarCls:o,skeletonTitleCls:r,skeletonParagraphCls:n,skeletonButtonCls:l,skeletonInputCls:a,skeletonNodeCls:i,skeletonImageCls:c,controlHeight:s,controlHeightLG:d,c
1ontrolHeightSM:u,gradientFromColor:m,padding:g,marginSM:f,borderRadius:p,titleHeight:$,blockRadius:b,paragraphLiHeight:v,controlHeightXS:h,paragraphMarginTop:x}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[o]:{display:"inline-block",verticalAlign:"top",background:m,...eG(s)},[`${o}-circle`]:{borderRadius:"50%"},[`${o}-lg`]:{...eG(d)},[`${o}-sm`]:{...eG(u)}},[`${t}-section`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:$,background:m,borderRadius:b,[`+ ${n}`]:{marginBlockStart:u}},[n]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:m,borderRadius:b,"+ li":{marginBlockStart:h}}},[`${n}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-section`]:{[`${r}, ${n} > li`]:{borderRadius:p}}},[`${t}-with-avatar ${t}-section`]:{[r]:{marginBlockStart:f,[`+ ${n}`]:{marginBlockStart:x}}},[`${t}${t}-element`]:{display:"inline-block",width:"auto",...(e=>{let{borderRadiusSM:t,skeletonButtonCls:o,controlHeight:r,controlHeightLG:n,controlHeightSM:l,gradientFromColor:a,calc:i}=e;return{[o]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:i(r).mul(2).equal(),minWidth:i(r).mul(2).equal(),...eV(r,i)},...eQ(e,r,o),[`${o}-lg`]:{...eV(n,i)},...eQ(e,n,`${o}-lg`),[`${o}-sm`]:{...eV(l,i)},...eQ(e,l,`${o}-sm`)}})(e),...(e=>{let{skeletonAvatarCls:t,gradientFromColor:o,controlHeight:r,controlHeightLG:n,controlHeightSM:l}=e;return{[t]:{display:"inline-block",verticalAlign:"top",background:o,...eG(r)},[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:{...eG(n)},[`${t}${t}-sm`]:{...eG(l)}}})(e),...(e=>{let{controlHeight:t,borderRadiusSM:o,skeletonInputCls:r,controlHeightLG:n,controlHeightSM:l,gradientFromColor:a,calc:i}=e;return{[r]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,...eD(t,i)},[`${r}-lg`]:{...eD(n,i)},[`${r}-sm`]:{...eD(l,i)}}})(e),...{[e.skeletonNodeCls]:{...eX(e)}},...(e=>{let{skeletonImageCls:t,imageSizeBase:o,calc:r}=e;return{[t]:{...eX(e),[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:{...eG(o),maxWidth:r(o).mul(4).equal(),maxHeight:r(o).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}},[`${t}${t}-circle`]:{borderRadius:"50%"}}})(e)},[`${t}${t}-block`]:{width:"100%",[l]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[`
2        ${r},
3        ${n} > li,
4        ${o},
5        ${l},
6        ${a},
7        ${i},
8        ${c}
9      `]:{...{background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:eF,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}}}}})((0,_.oX)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:o(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"}))},e=>{let{colorFillContent:t,colorFill:o}=e;return{color:t,colorGradientEnd:o,gradientFromColor:t,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),e_=e=>{let{prefixCls:t,className:o,classNames:r,rootClassName:l,internalClassName:a,style:c,styles:s,active:d,children:u}=e,{getPrefixCls:m}=n.useContext(i.QO),g=m("skeleton",t),[f,p]=eK(g),$=(0,x.$)(g,`${g}-element`,{[`${g}-active`]:d},f,r?.root,o,l,p);return n.createElement("div",{className:$,style:s?.root},n.createElement("div",{className:(0,x.$)(r?.content,a||`${g}-node`),style:{...s?.content,...c}},u))},eU=e=>{let{prefixCls:t,className:o,style:r,rows:l=0}=e,a=Array.from({length:l}).map((t,o)=>n.createElement("li",{key:o,style:{width:((e,t)=>{let{width:o,rows:r=2}=t;return Array.isArray(o)?o[e]:r-1===e?o:void 0})(o,e)}}
9));return n.createElement("ul",{className:(0,x.$)(t,o),style:r},a)},eY=e=>{let{prefixCls:t,className:o,width:r,style:l}=e;return n.createElement("h3",{className:(0,x.$)(t,o),style:{width:r,...l}})};function eZ(e){return(0,a.Qd)(e)?e:{}}let eJ=e=>{let{prefixCls:t,loading:o,className:r,rootClassName:l,classNames:a,style:c,styles:s,children:d,avatar:u=!1,title:m=!0,paragraph:g=!0,active:f,round:p}=e,{getPrefixCls:$,direction:b,className:v,style:h,classNames:y,styles:C}=(0,i.TP)("skeleton"),E=$("skeleton",t),[w,S]=eK(E),A={...e,avatar:u,title:m,paragraph:g},B=(0,k.XT)(h),z=(0,k.XT)(c),[N,I]=(0,k.AV)([y,a],[C,B,s,z],{props:A});if(o||!("loading"in e)){let e,t,o=!!u,a=!!m,i=!!g;if(o){let t={className:N.avatar,prefixCls:`${E}-avatar`,...a&&!i?{size:"large",shape:"square"}:{size:"large",shape:"circle"},...eZ(u),style:I.avatar};e=n.createElement("div",{className:(0,x.$)(N.header,`${E}-header`),style:I.header},n.createElement(eq,{...t}))}if(a||i){let e,r;if(a){let t={className:N.title,prefixCls:`${E}-title`,...!o&&i?{width:"38%"}:o&&i?{width:"50%"}:{},...eZ(m),style:I.title};e=n.createElement(eY,{...t})}if(i){let e,t={className:N.paragraph,prefixCls:`${E}-paragraph`,...(e={},(!o||!a)&&(e.width="61%"),!o&&a?e.rows=3:e.rows=2,e),...eZ(g),style:I.paragraph};r=n.createElement(eU,{...t})}t=n.createElement("div",{className:(0,x.$)(N.section,`${E}-section`),style:I.section},e,r)}let c=(0,x.$)(E,{[`${E}-with-avatar`]:o,[`${E}-active`]:f,[`${E}-rtl`]:"rtl"===b,[`${E}-round`]:p},N.root,v,r,l,w,S);return n.createElement("div",{className:c,style:I.root},e,t)}return d??null};function e0(){}eJ.Button=e=>{let{prefixCls:t,className:o,rootClassName:r,classNames:l,active:a,style:c,styles:s,block:d=!1,size:u,...m}=e,{getPrefixCls:g}=n.useContext(i.QO),f=g("skeleton",t),[p,$]=eK(f),b=(0,z.A)(e=>u??e),v=(0,x.$)(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:d},l?.root,o,r,p,$);return n.createElement("div",{className:v,style:s?.root},n.createElement(eq,{prefixCls:`${f}-button`,className:l?.content,style:{...s?.content,...c},size:b,...m}))},eJ.Avatar=e=>{let{prefixCls:t,className:o,classNames:r,rootClassName:l,active:a,style:c,styles:s,shape:d="circle",size:u,...m}=e,{getPrefixCls:g}=n.useContext(i.QO),f=g("skeleton",t),[p,$]=eK(f),b=(0,z.A)(e=>u??e),v=(0,x.$)(f,`${f}-element`,{[`${f}-active`]:a},r?.root,o,l,p,$);return n.createElement("div",{className:v,style:s?.root},n.createElement(eq,{prefixCls:`${f}-avatar`,className:r?.content,style:{...s?.content,...c},shape:d,size:b,...m}))},eJ.Input=e=>{let{prefixCls:t,className:o,classNames:r,rootClassName:l,active:a,block:c,style:s,styles:d,size:u,...m}=e,{getPrefixCls:g}=n.useContext(i.QO),f=g("skeleton",t),[p,$]=eK(f),b=(0,z.A)(e=>u??e),v=(0,x.$)(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:c},r?.root,o,l,p,$);return n.createElement("div",{className:v,style:d?.root},n.createElement(eq,{prefixCls:`${f}-input`,className:r?.content,style:{...d?.content,...s},size:b,...m}))},eJ.Image=e=>{let{getPrefixCls:t}=n.useContext(i.QO),o=t("skeleton",e.prefixCls);return n.createElement(e_,{...e,internalClassName:`${o}-image`},n.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${o}-image-svg`},n.createElement("title",null,"Image placeholder"),n.createElement("path",{d:"M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6",className:`${o}-image-path`})))},eJ.Node=e_;let e1=n.createContext({add:e0,remove:e0}),e4=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:o}=(0,n.useContext)(eu);return n.createElement(es,{onClick:o,...e},t)},e2=()=>{let{confirmLoading:e,okButtonProps:t,okType:o,okTextLocale:r,onOk:l}=(0,n.useContext)(eu);return n.createElement(es,{...M(o),loading:e,onClick:l,...t},r)};var e6=o(5676);function e5(e,t){return n.createElement("span",{className:`${e}-close-x`},t||n.createElement(ep.A,{className:`${e}-close-icon`}))}let e7=e=>{let t,{okText:o,okType:r="primary",cancelText:l,confirmLoading:i,onOk:c,onCancel:s,okButtonProps:d,cancelButtonProps:u,footer:m}=e,[g]=(0,w.A)("Modal",(0,e6.l)()),f=o||g?.okText,p=l||g?.cancelText,$=n.useMemo(()=>({confirmLoading:i,okButtonProps:d,cancelButtonProps:u,okTextLocale:f,cancelTextLocale:p,okType:r,onOk:c,onCancel:s}),[i,d,u,f,p,r,c,s]);return(0,a.Tn)(m)||void 0===m?(t=n.createElement(n.Fragment,null,n.createElement(e4,null),n.createElement(e2,null)),(0,a.Tn)(m)&&(t=m(t,{OkBtn:e2,CancelBtn:e4})),t=n.createElement(em,{value:$},t)):t=m,n.createElement(B.X,{disabled:!1},t)},e8=(e,t)=>
9((e,t)=>{let{componentCls:o,gridColumns:r,antCls:n}=e,[l,a]=(0,U.PN)(n,"grid"),[,i]=(0,U.PN)(n,"col"),c={};for(let e=r;e>=0;e--)0===e?(c[`${o}${t}-${e}`]={display:"none"},c[`${o}-push-${e}`]={insetInlineStart:"auto"},c[`${o}-pull-${e}`]={insetInlineEnd:"auto"},c[`${o}${t}-push-${e}`]={insetInlineStart:"auto"},c[`${o}${t}-pull-${e}`]={insetInlineEnd:"auto"},c[`${o}${t}-offset-${e}`]={marginInlineStart:0},c[`${o}${t}-order-${e}`]={order:0}):(c[`${o}${t}-${e}`]=[{[l("display")]:"block",display:"block"},{display:a("display"),flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],c[`${o}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},c[`${o}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},c[`${o}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},c[`${o}${t}-order-${e}`]={order:e});return c[`${o}${t}-flex`]={flex:i(`${t.replace(/-/,"")}-flex`)},c})(e,t);(0,U.OF)("Grid",e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({}));let e9=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin});(0,U.OF)("Grid",e=>{let t=(0,_.oX)(e,{gridColumns:24}),o=e9(t);return delete o.xs,[(e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}})(t),e8(t,""),e8(t,"-xs"),Object.keys(o).map(e=>{let r,n;return r=o[e],n=`-${e}`,{[`@media (min-width: ${(0,Q.zA)(r)})`]:{...e8(t,n)}}}).reduce((e,t)=>({...e,...t}),{})]},()=>({}));var e3=o(84799),te=o(24274);function tt(e){return{position:e,inset:0}}let to=e=>{let t=e.padding,o=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,_.oX)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(o).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},tr=e=>({footerBg:"transparent",headerBg:"transparent",titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,Q.zA)(e.paddingMD)} ${(0,Q.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,Q.zA)(e.padding)} ${(0,Q.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,Q.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,Q.zA)(e.paddingXS)} ${(0,Q.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,Q.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,Q.zA)(e.borderRadiusLG)} ${(0,Q.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,Q.zA)(2*e.padding)} ${(0,Q.zA)(2*e.padding)} ${(0,Q.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),tn=(0,U.OF)("Modal",e=>{let t=to(e);return[(e=>{let{componentCls:t,motionDurationMid:o}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,Q.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...(0,V.dF)(e),pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,Q.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto","&:focus-visible":{borderRadius:e.borderRadiusLG,...(0,V.jk)(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-container`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:{position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:["color","background-color"].map(e=>`${e} ${o}`).join(", "),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:(0,Q.zA)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}
9,...(0,V.K8)(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,Q.zA)(e.borderRadiusLG)} ${(0,Q.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,Q.zA)(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}}},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-container,
10          ${t}-body,
11          ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]})(t),(e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}})(t),(e=>{let{componentCls:t,antCls:o}=e;return[{[`${t}-root`]:{[`${t}${o}-zoom-enter, ${t}${o}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${o}-zoom-leave ${t}-container`]:{pointerEvents:"none"},[`${t}-mask`]:{...tt("fixed"),zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`&${t}-mask-blur`]:{backdropFilter:"blur(4px)"},[`${t}-hidden`]:{display:"none"}},[`${t}-wrap`]:{...tt("fixed"),zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"}}},{[`${t}-root`]:(0,e3.p9)(e)}]})(t),(0,te.aB)(t,"zoom"),(e=>{let{componentCls:t}=e,o=e9(e),r={...o};delete r.xs;let n=`--${t.replace(".","")}-`,l=Object.keys(r).map(e=>({[`@media (min-width: ${(0,Q.zA)(r[e])})`]:{width:`var(${n}${e}-width)`}}));return{[`${t}-root`]:{[t]:[].concat((0,T.A)(Object.keys(o).map((e,t)=>{let r=Object.keys(o)[t-1];return r?{[`${n}${e}-width`]:`var(${n}${r}-width)`}:null})),[{width:`var(${n}xs-width)`}],(0,T.A)(l))}}})(t)]},tr,{unitless:{titleLineHeight:!0}});(0,l.OC)()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);let tl=e=>{var t,o;let c,s,{prefixCls:d,className:u,rootClassName:m,open:g,wrapClassName:f,centered:p,getContainer:$,style:b,width:v=520,footer:h,classNames:w,styles:S,children:A,loading:B,confirmLoading:z,zIndex:N,mousePosition:I,onOk:T,onCancel:R,okButtonProps:H,cancelButtonProps:O,destroyOnHidden:P,destroyOnClose:M,panelRef:L=null,closable:j,mask:q,modalRender:F,maskClosable:W,scrollLock:G,focusTriggerAfterClose:D,focusable:X,...Q}=e,{getPopupContainer:V,getPrefixCls:K,direction:_,className:U,style:Y,classNames:Z,styles:J,centered:ee,cancelButtonProps:et,okButtonProps:eo,mask:er,focusable:en}=(0,i.TP)("modal"),{modal:el}=n.useContext(i.QO),[ea,ei]=n.useMemo(()=>"boolean"==typeof j?[void 0,void 0]:[j?.afterClose,j?.onClose],[j]),ec=K("modal",d),es=K(),[ed,eu,em]=(0,n.useMemo)(()=>{let e=y(q,W),t=y(er),o={blur:!1,...t,...e,closable:e.closable??W??t.closable??!0},r=o.blur?`${ec}-mask-blur`:void 0;return[!1!==o.enabled,{mask:r},!!o.closable]},[q,er,ec,W]),eg=(t={...en,...X},(0,n.useMemo)(()=>({trap:ed??!0,focusTriggerAfterClose:D??!0,...t}),[t,ed,D])),ef=e=>{z||(R?.(e),ei?.())},e$=(0,ej.A)(ec),[eb,ev]=tn(ec,e$),eh=(0,x.$)(f,{[`${ec}-centered`]:p??ee,[`${ec}-wrap-rtl`]:"rtl"===_}),ex=null===h||B?null:n.createElement(e7,{...e,okButtonProps:{...eo,...H},onOk:e=>{T?.(e),ei?.()},cancelButtonProps:{...et,...O},onCancel:ef}),[ey,eC,eE,ew]=eM(eR(e),eR(el),{closable:!0,closeIcon:n.createElement(ep.A,{className:`${ec}-close-icon`}),closeIconRender:e=>e5(ec,e)}),eS=!!ey&&{disabled:eE,closeIcon:eC,afterClose:ea,...ew},ek=F?e=>n.createElement("div",{className:`${ec}-render`},F(e)):void 0,eA=(o=`.${ec}-${F?"render":"container"}`,c=n.useContext(e1),s=n.useRef(null),(0,l._q)(e=>{if(e){let t=o?e.querySelector(o):e;t&&(c.add(t),s.current=t)}else c.remove(s.current)})),eB=(0,l.K4)(L,eA),[ez,eT]=(0,C.YK)("Modal",N),eH={...e,width:v,panelRef:L,focusTriggerAfterClose:eg.focusTriggerAfterClose,focu
11sable:eg,mask:ed,maskClosable:em,zIndex:ez},[eO,eP]=(0,k.AV)([Z,w,eu],[J,S],{props:eH}),[eq,eF]=n.useMemo(()=>(0,a.Qd)(v)?[void 0,v]:[v,void 0],[v]),eW=n.useMemo(()=>{let e={};return eF&&Object.keys(eF).forEach(t=>{let o=eF[t];(0,a.R)(o)&&(e[`--${ec}-${t}-width`]=(0,a.Et)(o)?`${o}px`:o)}),e},[ec,eF]);return n.createElement(eI.A,{form:!0,space:!0},n.createElement(eL.A.Provider,{value:eT},n.createElement(eN,{width:eq,...Q,zIndex:ez,getContainer:void 0===$?V:$,prefixCls:ec,rootClassName:(0,x.$)(eb,m,ev,e$,eO.root),rootStyle:eP.root,footer:ex,visible:g,mousePosition:I??r,onClose:ef,closable:eS,closeIcon:eC,transitionName:(0,E.b)(es,"zoom",e.transitionName),maskTransitionName:(0,E.b)(es,"fade",e.maskTransitionName),mask:ed,maskClosable:em,scrollLock:G,className:(0,x.$)(eb,u,U),style:{...Y,...b,...eW},classNames:{...eO,wrapper:(0,x.$)(eO.wrapper,eh)},styles:eP,panelRef:eB,destroyOnHidden:P??M,modalRender:ek,focusTriggerAfterClose:eg.focusTriggerAfterClose,focusTrap:eg.trap},B?n.createElement(eJ,{active:!0,title:!1,paragraph:{rows:4},className:`${ec}-body-skeleton`}):A)))},ta=(0,U.bf)(["Modal","confirm"],e=>(e=>{let{componentCls:t,titleFontSize:o,titleLineHeight:r,modalConfirmIconSize:n,fontSize:l,lineHeight:a,modalTitleHeight:i,fontHeight:c,confirmBodyPadding:s}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:{...(0,V.t6)()},[`&${t} ${t}-body`]:{padding:s},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:n,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(n).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(i).sub(n).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${(0,Q.zA)(e.marginSM)})`},[`${d}-body-no-icon ${d}-paragraph`]:{maxWidth:"100%"},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${(0,Q.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:o,lineHeight:r},[`${d}-container`]:{color:e.colorText,fontSize:l,lineHeight:a},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls},
12        ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}})(to(e)),tr,{order:-1e3});var ti=o(60221);let tc=e=>{let{prefixCls:t,icon:o,okText:r,cancelText:l,confirmPrefixCls:c,type:s,okCancel:d,footer:u,locale:f,autoFocusButton:p,focusable:b,...v}=e,{infoIcon:y,successIcon:C,errorIcon:E,warningIcon:S}=(0,i.TP)("modal"),k=o;if(void 0===o)switch(s){case"info":k=(0,ti.A)(y,n.createElement(h,null));break;case"success":k=(0,ti.A)(C,n.createElement(m,null));break;case"error":k=(0,ti.A)(E,n.createElement(g.A,null));break;default:k=(0,ti.A)(S,n.createElement($,null))}let A=d??"confirm"===s,B=n.useMemo(()=>{let e=b?.autoFocusButton||p;return e||null===e?e:"ok"},[p,b?.autoFocusButton]),[z]=(0,w.A)("Modal"),N=f||z,I=r||(A?N?.okText:N?.justOkText),T=l||N?.cancelText,{closable:R}=v,{onClose:H}=(0,a.Qd)(R)?R:{},O=n.useMemo(()=>({autoFocusButton:B,cancelTextLocale:T,okTextLocale:I,mergedOkCancel:A,onClose:H,...v}),[B,T,I,A,H,v]),P=n.createElement(n.Fragment,null,n.createElement(eg,null),n.createElement(ef,null)),M=(0,a.AZ)(e.title),L=(0,a.AZ)(k),j=`${c}-body`;return n.createElement("div",{className:`${c}-body-wrapper`},n.createElement("div",{className:(0,x.$)(j,{[`${j}-has-title`]:M,[`${j}-no-icon`]:!L})},k,n.createElement("div",{className:`${c}-paragraph`},M&&n.createElement("span",{className:`${c}-title`},e.title),n.createElement("div",{className:`${c}-content`},e.content))),void 0===u||(0,a.Tn)(u)?n.createElement(em,{value:O},n.createElement("div",{className:`${c}-btns`},(0,a.Tn)(u)?u(P,{OkBtn:ef,CancelBtn:eg}):P)):u,n.createElement(ta,{prefixCls:t}))},ts=e=>{let{close:t,zIndex:o,maskStyle:r,direction:l,prefixCls:a,wrapClassName:c,rootPrefixCls:s,bodyStyle:d,closable:u=!1,onConfirm:m,styles:g,title:f,mask:p,maskClosable:$,okButtonProps:b,cancelButtonProps:v}=e,{cancelButtonProps:h,okButtonProps:w}=(0,i.TP)("modal"),k=`${a}-confirm`,A=e.width||416,B=e.style||{},z=(0,x.$)(k,`${k}-${e.type}`,{[`${k}-rtl`]:"rtl"===l},e.className),N=n.useMemo(()=>{let e=y(p,$);return e.closable??(e.closable=!1),e},[p,$]),[,I]=(0,S.Ay)(),T=n.useMemo(()=>void 0!==o?o:I.zIndexPopupBase+C.jH,[o,I]);return n.createElement(tl,{...e,className:z,wrapClassName:(0,x.$)({[`${k}-centered`]:!!e.centered},c),onCancel:()=>{t?.({triggerCancel:!0}),m?.(!1)}
12,title:f,footer:null,transitionName:(0,E.b)(s||"","zoom",e.transitionName),maskTransitionName:(0,E.b)(s||"","fade",e.maskTransitionName),mask:N,style:B,styles:{body:d,mask:r,...g},width:A,zIndex:T,closable:u},n.createElement(tc,{...e,confirmPrefixCls:k,okButtonProps:{...w,...b},cancelButtonProps:{...h,...v}}))},td=e=>{let{rootPrefixCls:t,iconPrefixCls:o,direction:r,theme:l}=e;return n.createElement(c.Ay,{prefixCls:t,iconPrefixCls:o,direction:r,theme:l},n.createElement(ts,{...e}))},tu=[],tm="",tg=e=>{let{prefixCls:t,getContainer:o,direction:r}=e,l=(0,e6.l)(),a=(0,n.useContext)(i.QO),c=tm||a.getPrefixCls(),s=t||`${c}-modal`,d=o;return!1===d&&(d=void 0),n.createElement(td,{...e,rootPrefixCls:c,prefixCls:s,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:r??a.direction,locale:a.locale?.Modal??l,getContainer:d})};function tf(e){let t,o=(0,c.cr)(),r=document.createDocumentFragment(),i={...e,close:u,open:!0};function s(){for(var t=arguments.length,o=Array(t),n=0;n<t;n++)o[n]=arguments[n];o.some(e=>e?.triggerCancel)&&e.onCancel?.(()=>{},...o.slice(1));for(let e=0;e<tu.length;e++)if(tu[e]===u){tu.splice(e,1);break}(0,l.vs)(r).then(()=>{})}let d=e=>{clearTimeout(t),t=setTimeout(()=>{let t=o.getPrefixCls(void 0,tm),i=o.getIconPrefixCls(),s=o.getTheme(),d=n.createElement(tg,{...e});(0,l.XX)(n.createElement(c.Ay,{prefixCls:t,iconPrefixCls:i,theme:s},(0,a.Tn)(o.holderRender)?o.holderRender(d):d),r)})};function u(){for(var t=arguments.length,o=Array(t),r=0;r<t;r++)o[r]=arguments[r];d(i={...i,open:!1,afterClose:()=>{(0,a.Tn)(e.afterClose)&&e.afterClose(),s.apply(this,o)}})}return d(i),tu.push(u),{destroy:u,update:function(e){d(i=(0,a.Tn)(e)?e(i):{...i,...e})}}}function tp(e){return{...e,type:"warning"}}function t$(e){return{...e,type:"info"}}function tb(e){return{...e,type:"success"}}function tv(e){return{...e,type:"error"}}function th(e){return{...e,type:"confirm"}}let tx=(0,o(96450).U)(e=>{let{prefixCls:t,className:o,closeIcon:r,closable:l,type:a,title:c,children:s,footer:d,classNames:u,styles:m,...g}=e,{getPrefixCls:f}=n.useContext(i.QO),{className:p,style:$,classNames:b,styles:v}=(0,i.TP)("modal"),h=f(),y=t||f("modal"),C=(0,ej.A)(h),[E,w]=tn(y,C),[S,A]=(0,k.AV)([b,u],[v,m],{props:e}),B=`${y}-confirm`,z={};return z=a?{closable:l??!1,title:"",footer:"",children:n.createElement(tc,{...e,prefixCls:y,confirmPrefixCls:B,rootPrefixCls:h,content:s})}:{closable:l??!0,title:c,footer:null!==d&&n.createElement(e7,{...e}),children:s},n.createElement(eC,{prefixCls:y,className:(0,x.$)(E,`${y}-pure-panel`,a&&B,a&&`${B}-${a}`,o,p,w,C,S.root),style:{...$,...A.root},...g,closeIcon:e5(y,r),closable:l,classNames:S,styles:A,...z})}),ty=n.forwardRef((e,t)=>{let{afterClose:o,config:r,...l}=e,[c,s]=n.useState(!0),[d,u]=n.useState(r),{direction:m,getPrefixCls:g}=n.useContext(i.QO),f=g("modal"),p=g(),$=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];s(!1),t.some(e=>e?.triggerCancel)&&d.onCancel?.(()=>{},...t.slice(1))};n.useImperativeHandle(t,()=>({destroy:$,update:e=>{u(t=>{let o=(0,a.Tn)(e)?e(t):e;return{...t,...o}})}}));let b=d.okCancel??"confirm"===d.type,[v]=(0,w.A)("Modal",eT.A.Modal);return n.createElement(td,{prefixCls:f,rootPrefixCls:p,...d,close:$,open:c,afterClose:()=>{o(),d.afterClose?.()},okText:d.okText||(b?v?.okText:v?.justOkText),direction:d.direction||m,cancelText:d.cancelText||v?.cancelText,...l})}),tC=0,tE=n.memo(n.forwardRef((e,t)=>{let[o,r]=(()=>{let[e,t]=n.useState([]);return[e,n.useCallback(e=>(t(t=>[].concat((0,T.A)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[])]})();return n.useImperativeHandle(t,()=>({patchElement:r}),[r]),n.createElement(n.Fragment,null,o)}));function tw(e){return tf(tp(e))}tl.useModal=function(){let e=n.useRef(null),[t,o]=n.useState([]);n.useEffect(()=>{t.length&&((0,T.A)(t).forEach(e=>{e()}),o([]))},[t]);let r=n.useCallback(t=>function(r){let l,a;tC+=1;let i=n.createRef(),c=new Promise(e=>{l=e}),s=!1,d=n.createElement(ty,{key:`modal-${tC}`,config:t(r),ref:i,afterClose:()=>{a?.()},isSilent:()=>s,onConfirm:e=>{l(e)}});return(a=e.current?.patchElement(d))&&tu.push(a),{destroy:()=>{function e(){i.current?.destroy()}i.current?e():o(t=>[].concat((0,T.A)(t),[e]))},update:e=>{function t(){i.current?.update(e)}i.current?t():o(e=>[].concat((0,T.A)(e),[t]))},then:e=>(s=!0,c.then(e))}},[]);return[n.useMemo(()=>({info:r(t$),success:r(tb),error:r(tv),warning:r(tp),confirm:r(th)}),[r]),n.createElement(tE,{key:"modal-holder",ref:e})]},tl.info=function(e){return tf(t$(e))},tl.success=function(e){return tf(tb(e))},tl.error=function(e){return tf(tv(e))},tl.warning=tw,tl.warn=tw,tl.confirm=function(e){return tf(th(e))},tl.destroyAll=function(){for(;tu.length;){let e=tu.pop();e&&e()}},tl.config=function(e){let{rootPrefixCls:t}=e;tm=t},tl._InternalPanelDoNotUseOrYouWillBeFired=tx;let tS=tl},60221:(e,t,o)=>{o.d(t,{A:()=>r});function r(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.find(e=>void 0!==e)}},62741:(e,t,o)=>{o.d(t,{V:()=>r});let r=()=>({"@media (prefers-reduced-motion: reduce)":{transition:"none",animation:"none"}})},96450:(e,t,o)=>{o.d(t,{A:()=>c,U:()=>i});var r=o(64245),n=o(17788),l=o(62355),a=o(47980);function i(e){return t=>r.createElement(l.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,{...t}))}let c=(e,t,o,l,c)=>i(i=>{let{prefixCls:s,style:d}=i,u=r.useRef(null),[m,g]=r.useState(0),[f,p]=r.useState(0),[$,b]=(0,n.PW)(!1,i.open),{getPrefixCls:v}=r.useContext(a.QO),h=v(l||"select",s);r.useEffect(()=>{if(b(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;g(t.offsetHeight+8),p(t.offsetWidth)}),t=setInterval(()=>{let o=c?`.${c(h)}`:`.${h}-dropdown`,r=u.current?.querySelector(o);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}}
12,[h]);let x={...i,style:{...d,margin:0},open:$,getPopupContainer:()=>u.current};return o&&(x=o(x)),t&&(x={...x,[t]:{overflow:{adjustX:!1,adjustY:!1}}}),r.createElement("div",{ref:u,style:{paddingBottom:m,position:"relative",minWidth:f}},r.createElement(e,{...x}))})}}]);

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.