[e.toLowerCase(),n]))}function br(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function vr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function xr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function wr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Cr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ee(t,e,n){var r=J.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ae(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Dr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Mr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function _r(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ie(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Sr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Le(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=J.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ir(t,e,n){var r=kr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Lr(t,e,n){var r=J.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=J.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Ye(t,e){return Y(t.getDate(),e,2)}function Wr(t,e){return Y(t.getHours(),e,2)}function Nr(t,e){return Y(t.getHours()%12||12,e,2)}function Hr(t,e){return Y(1+yt.count(ht(t),t),e,3)}function an(t,e){return Y(t.getMilliseconds(),e,3)}function Or(t,e){return an(t,e)+"000"}function Vr(t,e){return Y(t.getMonth()+1,e,2)}function Pr(t,e){return Y(t.getMinutes(),e,2)}function Rr(t,e){return Y(t.getSeconds(),e,2)}function zr(t){var e=t.getDay();return e===0?7:e}function Br(t,e){return Y(Nt.count(ht(t)-1,t),e,2)}function on(t){var e=t.getDay();return e>=4||e===0?kt(t):kt.ceil(t)}function qr(t,e){return t=on(t),Y(kt.count(ht(t),t)+(ht(t).getDay()===4),e,2)}function Zr(t){return t.getDay()}function Xr(t,e){return Y(Yt.count(ht(t)-1,t),e,2)}function jr(t,e){return Y(t.getFullYear()%100,e,2)}function Qr(t,e){return t=on(t),Y(t.getFullYear()%100,e,2)}function Jr(t,e){return Y(t.getFullYear()%1e4,e,4)}function Gr(t,e){var n=t.getDay();return t=n>=4||n===0?kt(t):kt.ceil(t),Y(t.getFullYear()%1e4,e,4)}function Kr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Y(e/60|0,"0",2)+Y(e%60,"0",2)}function We(t,e){return Y(t.getUTCDate(),e,2)}function $r(t,e){return Y(t.getUTCHours(),e,2)}function ti(t,e){return Y(t.getUTCHours()%12||12,e,2)}function ei(t,e){return Y(1+ke.count(pt(t),t),e,3)}function cn(t,e){return Y(t.getUTCMilliseconds(),e,3)}function ni(t,e){return cn(t,e)+"000"}function ri(t,e){return Y(t.getUTCMonth()+1,e,2)}function ii(t,e){return Y(t.getUTCMinutes(),e,2)}function si(t,e){return Y(t.getUTCSeconds(),e,2)}function ai(t){var e=t.getUTCDay();return e===0?7:e}function oi(t,e){return Y(sn.count(pt(t)-1,t),e,2)}function ln(t){var e=t.getUTCDay();return e>=4||e===0?_t(t):_t.ceil(t)}function ci(t,e){return t=ln(t),Y(_t.count(pt(t),t)+(pt(t).getUTCDay()===4),e,2)}function li(t){return t.getUTCDay()}function ui(t,e){return Y(Qt.count(pt(t)-1,t),e,2)}function fi(t,e){return Y(t.getUTCFullYear()%100,e,2)}function hi(t,e){return t=ln(t),Y(t.getUTCFullYear()%100,e,2)}function di(t,e){return Y(t.getUTCFullYear()%1e4,e,4)}function mi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?_t(t):_t.ceil(t),Y(t.getUTCFullYear()%1e4,e,4)}function gi(){return"+0000"}function Ne(){return"%"}function He(t){return+t}function Oe(t){return Math.floor(+t/1e3)}var xt,Jt;yi({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function yi(t){return xt=yr(t),Jt=xt.format,xt.parse,xt.utcFormat,xt.utcParse,xt}function ki(t){return new Date(t)}function pi(t){return t instanceof Date?+t:+new Date(+t)}function un(t,e,n,r,i,s,a,D,S,x){var T=Nn(),I=T.invert,w=T.domain,y=x(".%L"),R=x(":%S"),E=x("%I:%M"),tt=x("%I %p"),nt=x("%a %d"),et=x("%b %d"),q=x("%B"),Z=x("%Y");function $(p){return(S(p)"u"&&(A.yylloc={});var gt=A.yylloc;o.push(gt);var g=A.options&&A.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function F(){var at;return at=u.pop()||A.lex()||L,typeof at!="number"&&(at instanceof Array&&(u=at,at=u.pop()),at=d.symbols_[at]||at),at}for(var v,l,V,H,B={},Q,G,Ut,Pt;;){if(l=m[m.length-1],this.defaultActions[l]?V=this.defaultActions[l]:((v===null||typeof v>"u")&&(v=F()),V=z[l]&&z[l][v]),typeof V>"u"||!V.length||!V[0]){var Kt="";Pt=[];for(Q in z[l])this.terminals_[Q]&&Q>P&&Pt.push("'"+this.terminals_[Q]+"'");A.showPosition?Kt="Parse error on line "+(f+1)+`:
`+A.showPosition()+`
Expecting `+Pt.join(", ")+", got '"+(this.terminals_[v]||v)+"'":Kt="Parse error on line "+(f+1)+": Unexpected "+(v==L?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(Kt,{text:A.match,token:this.terminals_[v]||v,line:A.yylineno,loc:gt,expected:Pt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+l+", token: "+v);switch(V[0]){case 1:m.push(v),C.push(A.yytext),o.push(A.yylloc),m.push(V[1]),v=null,M=A.yyleng,h=A.yytext,f=A.yylineno,gt=A.yylloc;break;case 2:if(G=this.productions_[V[1]][1],B.$=C[C.length-G],B._$={first_line:o[o.length-(G||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(G||1)].first_column,last_column:o[o.length-1].last_column},g&&(B._$.range=[o[o.length-(G||1)].range[0],o[o.length-1].range[1]]),H=this.performAction.apply(B,[h,M,f,N.yy,V[1],C,o].concat(W)),typeof H<"u")return H;G&&(m=m.slice(0,-1*G*2),C=C.slice(0,-1*G),o=o.slice(0,-1*G)),m.push(this.productions_[V[1]][0]),C.push(B.$),o.push(B._$),Ut=z[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0}},U=function(){var b={EOF:1,parseError:function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},setInput:function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},unput:function(c){var d=c.length,m=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
diff --git a/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-KzmtmPZb.js b/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-CkF7aqy_.js
similarity index 99%
rename from deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-KzmtmPZb.js
rename to deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-CkF7aqy_.js
index 6748821016..ed059ee556 100644
--- a/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-KzmtmPZb.js
+++ b/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-CkF7aqy_.js
@@ -1,4 +1,4 @@
-import{c as C,s as vt,g as Ct,a as Ot,b as Pt,A as Gt,B as At,l as B,j as D,C as St,h as It,y as Nt,F as Ht,G as Bt}from"./mermaid.core-BajzCmnv.js";import"./index-CLWgAZNI.js";var mt=function(){var r=function(A,o,u,d){for(u=u||{},d=A.length;d--;u[A[d]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],x=[7,13,19,21,23,24,26,28,31,37,40],y=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],R=[1,42],_=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],k=[1,56],g=[1,57],E=[7,13,32,35,42,47],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,d,s,T,t,X){var e=t.length-1;switch(T){case 2:return t[e];case 3:return t[e-1];case 4:return s.setDirection(t[e-3]),t[e-1];case 6:s.setOptions(t[e-1]),this.$=t[e];break;case 7:t[e-1]+=t[e],this.$=t[e-1];break;case 9:this.$=[];break;case 10:t[e-1].push(t[e]),this.$=t[e-1];break;case 11:this.$=t[e-1];break;case 16:this.$=t[e].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=t[e].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(t[e].substr(8)),this.$=t[e].substr(8);break;case 21:s.checkout(t[e]);break;case 22:s.branch(t[e]);break;case 23:s.branch(t[e-2],t[e]);break;case 24:s.cherryPick(t[e],"",void 0);break;case 25:s.cherryPick(t[e-2],"",void 0,t[e]);break;case 26:s.cherryPick(t[e-2],"",t[e]);break;case 27:s.cherryPick(t[e-4],"",t[e],t[e-2]);break;case 28:s.cherryPick(t[e-4],"",t[e-2],t[e]);break;case 29:s.cherryPick(t[e],"",t[e-2]);break;case 30:s.cherryPick(t[e],"","");break;case 31:s.cherryPick(t[e-2],"","");break;case 32:s.cherryPick(t[e-4],"","",t[e-2]);break;case 33:s.cherryPick(t[e-4],"","",t[e]);break;case 34:s.cherryPick(t[e-2],"",t[e-4],t[e]);break;case 35:s.cherryPick(t[e-2],"","",t[e]);break;case 36:s.merge(t[e],"","","");break;case 37:s.merge(t[e-2],t[e],"","");break;case 38:s.merge(t[e-2],"",t[e],"");break;case 39:s.merge(t[e-2],"","",t[e]);break;case 40:s.merge(t[e-4],t[e],"",t[e-2]);break;case 41:s.merge(t[e-4],"",t[e],t[e-2]);break;case 42:s.merge(t[e-4],"",t[e-2],t[e]);break;case 43:s.merge(t[e-4],t[e-2],t[e],"");break;case 44:s.merge(t[e-4],t[e-2],"",t[e]);break;case 45:s.merge(t[e-4],t[e],t[e-2],"");break;case 46:s.merge(t[e-6],t[e-4],t[e-2],t[e]);break;case 47:s.merge(t[e-6],t[e],t[e-4],t[e-2]);break;case 48:s.merge(t[e-6],t[e-4],t[e],t[e-2]);break;case 49:s.merge(t[e-6],t[e-2],t[e-4],t[e]);break;case 50:s.merge(t[e-6],t[e],t[e-2],t[e-4]);break;case 51:s.merge(t[e-6],t[e-2],t[e],t[e-4]);break;case 52:s.commit(t[e]);break;case 53:s.commit("","",s.commitType.NORMAL,t[e]);break;case 54:s.commit("","",t[e],"");break;case 55:s.commit("","",t[e],t[e-2]);break;case 56:s.commit("","",t[e-2],t[e]);break;case 57:s.commit("",t[e],s.commitType.NORMAL,"");break;case 58:s.commit("",t[e-2],s.commitType.NORMAL,t[e]);break;case 59:s.commit("",t[e],s.commitType.NORMAL,t[e-2]);break;case 60:s.commit("",t[e-2],t[e],"");break;case 61:s.commit("",t[e],t[e-2],"");break;case 62:s.commit("",t[e-4],t[e-2],t[e]);break;case 63:s.commit("",t[e-4],t[e],t[e-2]);break;case 64:s.commit("",t[e-2],t[e-4],t[e]);break;case 65:s.commit("",t[e],t[e-4],t[e-2]);break;case 66:s.commit("",t[e],t[e-2],t[e-4]);break;case 67:s.commit("",t[e-2],t[e],t[e-4]);break;case 68:s.commit(t[e],"",s.commitType.NORMAL,"");break;case 69:s.commit(t[e],"",s.commitType.NORMAL,t[e-2]);break;case 70:s.commit(t[e-2],"",s.commitType.NORMAL,t[e]);break;case 71:s.commit(t[e-2],"",t[e],"");break;case 72:s.commit(t[e],"",t[e-2],"");break;case 73:s.commit(t[e],t[e-2],s.commitType.NORMAL,"");break;case 74:s.commit(t[e-2],t[e],s.commitType.NORMAL,"");break;case 75:s.commit(t[e-4],"",t[e-2],t[e]);break;case 76:s.commit(t[e-4],"",t[e],t[e-2]);break;case 77:s.commit(t[e-2],"",t[e-4],t[e]);break;case 78:s.commit(t[e],"",t[e-4],t[e-2]);break;case 79:s.commit(t[e],"",t[e-2],t[e-4]);break;case 80:s.commit(t[e-2],"",t[e],t[e-4]);break;case 81:s.commit(t[e-4],t[e],t[e-2],"");break;case 82:s.commit(t[e-4],t[e-2],t[e],"");break;case 83:s.commit(t[e-2],t[e],t[e-4],"");break;case 84:s.commit(t[e],t[e-2],t[e-4],"");break;case 85:s.commit(t[e],t[e-4],t[e-2],"");break;case 86:s.commit(t[e-2],t[e-4],t[e],"");break;case 87:s.commit(t[e-4],t[e],s.commitType.NORMAL,t[e-2]);break;case 88:s.commit(t[e-4],t[e-2],s.commitType.NORMAL,t[e]);break;case 89:s.commit(t[e-2],t[e],s.commitType.NORMAL,t[e-4]);break;case 90:s.commit(t[e],t[e-2],s.commitType.NORMAL,t[e-4]);break;case 91:s.commit(t[e],t[e-4],s.commitType.NORMAL,t[e-2]);break;case 92:s.commit(t[e-2],t[e-4],s.commitType.NORMAL,t[e]);break;case 93:s.commit(t[e-6],t[e-4],t[e-2],t[e]);break;case 94:s.commit(t[e-6],t[e-4],t[e],t[e-2]);break;case 95:s.commit(t[e-6],t[e-2],t[e-4],t[e]);break;case 96:s.commit(t[e-6],t[e],t[e-4],t[e-2]);break;case 97:s.commit(t[e-6],t[e-2],t[e],t[e-4]);break;case 98:s.commit(t[e-6],t[e],t[e-2],t[e-4]);break;case 99:s.commit(t[e-4],t[e-6],t[e-2],t[e]);break;case 100:s.commit(t[e-4],t[e-6],t[e],t[e-2]);break;case 101:s.commit(t[e-2],t[e-6],t[e-4],t[e]);break;case 102:s.commit(t[e],t[e-6],t[e-4],t[e-2]);break;case 103:s.commit(t[e-2],t[e-6],t[e],t[e-4]);break;case 104:s.commit(t[e],t[e-6],t[e-2],t[e-4]);break;case 105:s.commit(t[e],t[e-4],t[e-2],t[e-6]);break;case 106:s.commit(t[e-2],t[e-4],t[e],t[e-6]);break;case 107:s.commit(t[e],t[e-2],t[e-4],t[e-6]);break;case 108:s.commit(t[e-2],t[e],t[e-4],t[e-6]);break;case 109:s.commit(t[e-4],t[e-2],t[e],t[e-6]);break;case 110:s.commit(t[e-4],t[e],t[e-2],t[e-6]);break;case 111:s.commit(t[e-2],t[e-4],t[e-6],t[e]);break;case 112:s.commit(t[e],t[e-4],t[e-6],t[e-2]);break;case 113:s.commit(t[e-2],t[e],t[e-6],t[e-4]);break;case 114:s.commit(t[e],t[e-2],t[e-6],t[e-4]);break;case 115:s.commit(t[e-4],t[e-2],t[e-6],t[e]);break;case 116:s.commit(t[e-4],t[e],t[e-6],t[e-2]);break;case 117:this.$="";break;case 118:this.$=t[e];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(x,[2,9],{11:16,12:[1,17]}),r(y,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(y,[2,7]),{1:[2,3]},{7:[1,36]},r(x,[2,10]),{4:37,7:l,13:h,47:i},r(x,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:R,46:_},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:R,46:_},{32:[1,50],35:[1,51]},{27:52,33:R,46:_},{1:[2,4]},r(x,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:k,45:g},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(E,[2,119]),r(E,[2,120]),r(E,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:k,45:g},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:k,45:g},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:k,45:g},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:k,45:g},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:k,45:g},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:k,45:g},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:k,45:g},{33:[1,148]},{39:149,43:f,44:k,45:g},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:k,45:g},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:k,45:g},{33:[1,162]},{39:163,43:f,44:k,45:g},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:k,45:g},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:k,45:g},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:k,45:g},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:k,45:g},{33:[1,215]},{39:216,43:f,44:k,45:g},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:k,45:g},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:k,45:g},{33:[1,229]},{39:230,43:f,44:k,45:g},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:k,45:g},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=u,d}},parse:function(o){var u=this,d=[0],s=[],T=[null],t=[],X=this.table,e="",rt=0,ft=0,wt=2,pt=1,Lt=t.slice.call(arguments,1),O=Object.create(this.lexer),F={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(F.yy[ct]=this.yy[ct]);O.setInput(o,F.yy),F.yy.lexer=O,F.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ot=O.yylloc;t.push(ot);var Rt=O.options&&O.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var q;return q=s.pop()||O.lex()||pt,typeof q!="number"&&(q instanceof Array&&(s=q,q=s.pop()),q=u.symbols_[q]||q),q}for(var N,K,V,lt,J={},it,j,bt,st;;){if(K=d[d.length-1],this.defaultActions[K]?V=this.defaultActions[K]:((N===null||typeof N>"u")&&(N=Mt()),V=X[K]&&X[K][N]),typeof V>"u"||!V.length||!V[0]){var ht="";st=[];for(it in X[K])this.terminals_[it]&&it>wt&&st.push("'"+this.terminals_[it]+"'");O.showPosition?ht="Parse error on line "+(rt+1)+`:
+import{c as C,s as vt,g as Ct,a as Ot,b as Pt,A as Gt,B as At,l as B,j as D,C as St,h as It,y as Nt,F as Ht,G as Bt}from"./mermaid.core-DacimPk4.js";import"./index-bOgutTC1.js";var mt=function(){var r=function(A,o,u,d){for(u=u||{},d=A.length;d--;u[A[d]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],x=[7,13,19,21,23,24,26,28,31,37,40],y=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],R=[1,42],_=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],k=[1,56],g=[1,57],E=[7,13,32,35,42,47],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,d,s,T,t,X){var e=t.length-1;switch(T){case 2:return t[e];case 3:return t[e-1];case 4:return s.setDirection(t[e-3]),t[e-1];case 6:s.setOptions(t[e-1]),this.$=t[e];break;case 7:t[e-1]+=t[e],this.$=t[e-1];break;case 9:this.$=[];break;case 10:t[e-1].push(t[e]),this.$=t[e-1];break;case 11:this.$=t[e-1];break;case 16:this.$=t[e].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=t[e].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(t[e].substr(8)),this.$=t[e].substr(8);break;case 21:s.checkout(t[e]);break;case 22:s.branch(t[e]);break;case 23:s.branch(t[e-2],t[e]);break;case 24:s.cherryPick(t[e],"",void 0);break;case 25:s.cherryPick(t[e-2],"",void 0,t[e]);break;case 26:s.cherryPick(t[e-2],"",t[e]);break;case 27:s.cherryPick(t[e-4],"",t[e],t[e-2]);break;case 28:s.cherryPick(t[e-4],"",t[e-2],t[e]);break;case 29:s.cherryPick(t[e],"",t[e-2]);break;case 30:s.cherryPick(t[e],"","");break;case 31:s.cherryPick(t[e-2],"","");break;case 32:s.cherryPick(t[e-4],"","",t[e-2]);break;case 33:s.cherryPick(t[e-4],"","",t[e]);break;case 34:s.cherryPick(t[e-2],"",t[e-4],t[e]);break;case 35:s.cherryPick(t[e-2],"","",t[e]);break;case 36:s.merge(t[e],"","","");break;case 37:s.merge(t[e-2],t[e],"","");break;case 38:s.merge(t[e-2],"",t[e],"");break;case 39:s.merge(t[e-2],"","",t[e]);break;case 40:s.merge(t[e-4],t[e],"",t[e-2]);break;case 41:s.merge(t[e-4],"",t[e],t[e-2]);break;case 42:s.merge(t[e-4],"",t[e-2],t[e]);break;case 43:s.merge(t[e-4],t[e-2],t[e],"");break;case 44:s.merge(t[e-4],t[e-2],"",t[e]);break;case 45:s.merge(t[e-4],t[e],t[e-2],"");break;case 46:s.merge(t[e-6],t[e-4],t[e-2],t[e]);break;case 47:s.merge(t[e-6],t[e],t[e-4],t[e-2]);break;case 48:s.merge(t[e-6],t[e-4],t[e],t[e-2]);break;case 49:s.merge(t[e-6],t[e-2],t[e-4],t[e]);break;case 50:s.merge(t[e-6],t[e],t[e-2],t[e-4]);break;case 51:s.merge(t[e-6],t[e-2],t[e],t[e-4]);break;case 52:s.commit(t[e]);break;case 53:s.commit("","",s.commitType.NORMAL,t[e]);break;case 54:s.commit("","",t[e],"");break;case 55:s.commit("","",t[e],t[e-2]);break;case 56:s.commit("","",t[e-2],t[e]);break;case 57:s.commit("",t[e],s.commitType.NORMAL,"");break;case 58:s.commit("",t[e-2],s.commitType.NORMAL,t[e]);break;case 59:s.commit("",t[e],s.commitType.NORMAL,t[e-2]);break;case 60:s.commit("",t[e-2],t[e],"");break;case 61:s.commit("",t[e],t[e-2],"");break;case 62:s.commit("",t[e-4],t[e-2],t[e]);break;case 63:s.commit("",t[e-4],t[e],t[e-2]);break;case 64:s.commit("",t[e-2],t[e-4],t[e]);break;case 65:s.commit("",t[e],t[e-4],t[e-2]);break;case 66:s.commit("",t[e],t[e-2],t[e-4]);break;case 67:s.commit("",t[e-2],t[e],t[e-4]);break;case 68:s.commit(t[e],"",s.commitType.NORMAL,"");break;case 69:s.commit(t[e],"",s.commitType.NORMAL,t[e-2]);break;case 70:s.commit(t[e-2],"",s.commitType.NORMAL,t[e]);break;case 71:s.commit(t[e-2],"",t[e],"");break;case 72:s.commit(t[e],"",t[e-2],"");break;case 73:s.commit(t[e],t[e-2],s.commitType.NORMAL,"");break;case 74:s.commit(t[e-2],t[e],s.commitType.NORMAL,"");break;case 75:s.commit(t[e-4],"",t[e-2],t[e]);break;case 76:s.commit(t[e-4],"",t[e],t[e-2]);break;case 77:s.commit(t[e-2],"",t[e-4],t[e]);break;case 78:s.commit(t[e],"",t[e-4],t[e-2]);break;case 79:s.commit(t[e],"",t[e-2],t[e-4]);break;case 80:s.commit(t[e-2],"",t[e],t[e-4]);break;case 81:s.commit(t[e-4],t[e],t[e-2],"");break;case 82:s.commit(t[e-4],t[e-2],t[e],"");break;case 83:s.commit(t[e-2],t[e],t[e-4],"");break;case 84:s.commit(t[e],t[e-2],t[e-4],"");break;case 85:s.commit(t[e],t[e-4],t[e-2],"");break;case 86:s.commit(t[e-2],t[e-4],t[e],"");break;case 87:s.commit(t[e-4],t[e],s.commitType.NORMAL,t[e-2]);break;case 88:s.commit(t[e-4],t[e-2],s.commitType.NORMAL,t[e]);break;case 89:s.commit(t[e-2],t[e],s.commitType.NORMAL,t[e-4]);break;case 90:s.commit(t[e],t[e-2],s.commitType.NORMAL,t[e-4]);break;case 91:s.commit(t[e],t[e-4],s.commitType.NORMAL,t[e-2]);break;case 92:s.commit(t[e-2],t[e-4],s.commitType.NORMAL,t[e]);break;case 93:s.commit(t[e-6],t[e-4],t[e-2],t[e]);break;case 94:s.commit(t[e-6],t[e-4],t[e],t[e-2]);break;case 95:s.commit(t[e-6],t[e-2],t[e-4],t[e]);break;case 96:s.commit(t[e-6],t[e],t[e-4],t[e-2]);break;case 97:s.commit(t[e-6],t[e-2],t[e],t[e-4]);break;case 98:s.commit(t[e-6],t[e],t[e-2],t[e-4]);break;case 99:s.commit(t[e-4],t[e-6],t[e-2],t[e]);break;case 100:s.commit(t[e-4],t[e-6],t[e],t[e-2]);break;case 101:s.commit(t[e-2],t[e-6],t[e-4],t[e]);break;case 102:s.commit(t[e],t[e-6],t[e-4],t[e-2]);break;case 103:s.commit(t[e-2],t[e-6],t[e],t[e-4]);break;case 104:s.commit(t[e],t[e-6],t[e-2],t[e-4]);break;case 105:s.commit(t[e],t[e-4],t[e-2],t[e-6]);break;case 106:s.commit(t[e-2],t[e-4],t[e],t[e-6]);break;case 107:s.commit(t[e],t[e-2],t[e-4],t[e-6]);break;case 108:s.commit(t[e-2],t[e],t[e-4],t[e-6]);break;case 109:s.commit(t[e-4],t[e-2],t[e],t[e-6]);break;case 110:s.commit(t[e-4],t[e],t[e-2],t[e-6]);break;case 111:s.commit(t[e-2],t[e-4],t[e-6],t[e]);break;case 112:s.commit(t[e],t[e-4],t[e-6],t[e-2]);break;case 113:s.commit(t[e-2],t[e],t[e-6],t[e-4]);break;case 114:s.commit(t[e],t[e-2],t[e-6],t[e-4]);break;case 115:s.commit(t[e-4],t[e-2],t[e-6],t[e]);break;case 116:s.commit(t[e-4],t[e],t[e-6],t[e-2]);break;case 117:this.$="";break;case 118:this.$=t[e];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(x,[2,9],{11:16,12:[1,17]}),r(y,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(y,[2,7]),{1:[2,3]},{7:[1,36]},r(x,[2,10]),{4:37,7:l,13:h,47:i},r(x,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:R,46:_},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:R,46:_},{32:[1,50],35:[1,51]},{27:52,33:R,46:_},{1:[2,4]},r(x,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:k,45:g},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(E,[2,119]),r(E,[2,120]),r(E,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:k,45:g},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:k,45:g},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:k,45:g},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:k,45:g},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:k,45:g},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:k,45:g},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:k,45:g},{33:[1,148]},{39:149,43:f,44:k,45:g},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:k,45:g},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:k,45:g},{33:[1,162]},{39:163,43:f,44:k,45:g},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:k,45:g},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:k,45:g},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:k,45:g},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:k,45:g},{33:[1,215]},{39:216,43:f,44:k,45:g},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:k,45:g},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:k,45:g},{33:[1,229]},{39:230,43:f,44:k,45:g},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:k,45:g},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=u,d}},parse:function(o){var u=this,d=[0],s=[],T=[null],t=[],X=this.table,e="",rt=0,ft=0,wt=2,pt=1,Lt=t.slice.call(arguments,1),O=Object.create(this.lexer),F={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(F.yy[ct]=this.yy[ct]);O.setInput(o,F.yy),F.yy.lexer=O,F.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ot=O.yylloc;t.push(ot);var Rt=O.options&&O.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var q;return q=s.pop()||O.lex()||pt,typeof q!="number"&&(q instanceof Array&&(s=q,q=s.pop()),q=u.symbols_[q]||q),q}for(var N,K,V,lt,J={},it,j,bt,st;;){if(K=d[d.length-1],this.defaultActions[K]?V=this.defaultActions[K]:((N===null||typeof N>"u")&&(N=Mt()),V=X[K]&&X[K][N]),typeof V>"u"||!V.length||!V[0]){var ht="";st=[];for(it in X[K])this.terminals_[it]&&it>wt&&st.push("'"+this.terminals_[it]+"'");O.showPosition?ht="Parse error on line "+(rt+1)+`:
`+O.showPosition()+`
Expecting `+st.join(", ")+", got '"+(this.terminals_[N]||N)+"'":ht="Parse error on line "+(rt+1)+": Unexpected "+(N==pt?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(ht,{text:O.match,token:this.terminals_[N]||N,line:O.yylineno,loc:ot,expected:st})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+N);switch(V[0]){case 1:d.push(N),T.push(O.yytext),t.push(O.yylloc),d.push(V[1]),N=null,ft=O.yyleng,e=O.yytext,rt=O.yylineno,ot=O.yylloc;break;case 2:if(j=this.productions_[V[1]][1],J.$=T[T.length-j],J._$={first_line:t[t.length-(j||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(j||1)].first_column,last_column:t[t.length-1].last_column},Rt&&(J._$.range=[t[t.length-(j||1)].range[0],t[t.length-1].range[1]]),lt=this.performAction.apply(J,[e,ft,rt,F.yy,V[1],T,t].concat(Lt)),typeof lt<"u")return lt;j&&(d=d.slice(0,-1*j*2),T=T.slice(0,-1*j),t=t.slice(0,-1*j)),d.push(this.productions_[V[1]][0]),T.push(J.$),t.push(J._$),bt=X[d[d.length-2]][d[d.length-1]],d.push(bt);break;case 3:return!0}}return!0}},M=function(){var A={EOF:1,parseError:function(u,d){if(this.yy.parser)this.yy.parser.parseError(u,d);else throw new Error(u)},setInput:function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,d=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===s.length?this.yylloc.first_column:0)+s[s.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
diff --git a/deploy/server/notebase/assets/graph-CNSoCPH1.js b/deploy/server/notebase/assets/graph-Cryfb0BU.js
similarity index 99%
rename from deploy/server/notebase/assets/graph-CNSoCPH1.js
rename to deploy/server/notebase/assets/graph-Cryfb0BU.js
index 4c989f0696..205a24c5e8 100644
--- a/deploy/server/notebase/assets/graph-CNSoCPH1.js
+++ b/deploy/server/notebase/assets/graph-Cryfb0BU.js
@@ -1 +1 @@
-import{l as qe,S as m,H as Ze,U as re,f as y,e as Te,R as Xe,h as q,T as P,j as Je,V as I,d as Qe,k as Ee,W as G,G as X,X as We,Y as me,Z as ze,$ as D,O as Oe,B as ve,a0 as Ve,a1 as ke,a2 as en,N as nn,a3 as rn,L as tn,K as we,I as sn,E as an,a4 as un,P as R,w as te}from"./index-CLWgAZNI.js";import{an as fn,ao as C,ap as on,aq as j,ar as ie}from"./mermaid.core-BajzCmnv.js";var dn="__lodash_hash_undefined__";function hn(e){return this.__data__.set(e,dn),this}function ln(e){return this.__data__.has(e)}function S(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new qe;++nu))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,h=!0,A=r&_n?new S:void 0;for(s.set(e,n),s.set(n,e);++o-1}var Jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qn=/^\w*$/;function k(e,n){if(y(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||V(e)?!0:Qn.test(e)||!Jn.test(e)||n!=null&&e in Object(n)}var Wn=500;function zn(e){var n=on(e,function(t){return r.size===Wn&&r.clear(),t}),r=n.cache;return n}var Vn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kn=/\\(\\)?/g,er=zn(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Vn,function(r,t,i,s){n.push(i?s.replace(kn,"$1"):t||r)}),n});function nr(e){return e==null?"":Ne(e)}function Re(e,n){return y(e)?e:k(e,n)?[e]:er(nr(e))}var rr=1/0;function U(e){if(typeof e=="string"||V(e))return e;var n=e+"";return n=="0"&&1/e==-rr?"-0":n}function Me(e,n){n=Re(n,e);for(var r=0,t=n.length;e!=null&&r=Ht){var g=Kt(e);if(g)return J(g);a=!1,i=$e,f=new S}else f=u;e:for(;++t1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return E(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=w,this._children[n]={},this._children[w][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return E(this._nodes,n)}removeNode(n){var r=this;if(E(this._nodes,n)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],v(this.children(n),function(i){r.setParent(i)}),delete this._children[n]),v(T(this._in[n]),t),delete this._in[n],delete this._preds[n],v(T(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if($(r))r=w;else{r+="";for(var t=r;!$(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==w)return r}}children(n){if($(n)&&(n=w),this._isCompound){var r=this._children[n];if(r)return T(r)}else{if(n===w)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return T(r)}successors(n){var r=this._sucs[n];if(r)return T(r)}neighbors(n){var r=this.predecessors(n);if(r)return qt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;v(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),v(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&v(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return te(n)||(n=R(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return H(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return jt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,$(t)||(t=""+t);var u=L(this._isDirected,n,r,t);if(E(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!$(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Xt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,ye(this._preds[r],n),ye(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return E(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],Ae(this._preds[r],n),Ae(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=H(t);return r?x(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=H(t);return r?x(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ye.prototype._nodeCount=0;Ye.prototype._edgeCount=0;function ye(e,n){e[n]?e[n]++:e[n]=1}function Ae(e,n){--e[n]||delete e[n]}function L(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+be+s+be+($(t)?Zt:t)}function Xt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function Y(e,n){return L(e,n.v,n.w,n.name)}export{Ye as G,V as a,sr as b,K as c,He as d,Hn as e,v as f,ee as g,E as h,$ as i,Se as j,T as k,Ft as l,St as m,Re as n,Me as o,vt as p,nr as q,x as r,jt as s,U as t,H as v};
+import{l as qe,S as m,H as Ze,U as re,f as y,e as Te,R as Xe,h as q,T as P,j as Je,V as I,d as Qe,k as Ee,W as G,G as X,X as We,Y as me,Z as ze,$ as D,O as Oe,B as ve,a0 as Ve,a1 as ke,a2 as en,N as nn,a3 as rn,L as tn,K as we,I as sn,E as an,a4 as un,P as R,w as te}from"./index-bOgutTC1.js";import{an as fn,ao as C,ap as on,aq as j,ar as ie}from"./mermaid.core-DacimPk4.js";var dn="__lodash_hash_undefined__";function hn(e){return this.__data__.set(e,dn),this}function ln(e){return this.__data__.has(e)}function S(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new qe;++nu))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,h=!0,A=r&_n?new S:void 0;for(s.set(e,n),s.set(n,e);++o-1}var Jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qn=/^\w*$/;function k(e,n){if(y(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||V(e)?!0:Qn.test(e)||!Jn.test(e)||n!=null&&e in Object(n)}var Wn=500;function zn(e){var n=on(e,function(t){return r.size===Wn&&r.clear(),t}),r=n.cache;return n}var Vn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kn=/\\(\\)?/g,er=zn(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Vn,function(r,t,i,s){n.push(i?s.replace(kn,"$1"):t||r)}),n});function nr(e){return e==null?"":Ne(e)}function Re(e,n){return y(e)?e:k(e,n)?[e]:er(nr(e))}var rr=1/0;function U(e){if(typeof e=="string"||V(e))return e;var n=e+"";return n=="0"&&1/e==-rr?"-0":n}function Me(e,n){n=Re(n,e);for(var r=0,t=n.length;e!=null&&r=Ht){var g=Kt(e);if(g)return J(g);a=!1,i=$e,f=new S}else f=u;e:for(;++t1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return E(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=w,this._children[n]={},this._children[w][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return E(this._nodes,n)}removeNode(n){var r=this;if(E(this._nodes,n)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],v(this.children(n),function(i){r.setParent(i)}),delete this._children[n]),v(T(this._in[n]),t),delete this._in[n],delete this._preds[n],v(T(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if($(r))r=w;else{r+="";for(var t=r;!$(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==w)return r}}children(n){if($(n)&&(n=w),this._isCompound){var r=this._children[n];if(r)return T(r)}else{if(n===w)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return T(r)}successors(n){var r=this._sucs[n];if(r)return T(r)}neighbors(n){var r=this.predecessors(n);if(r)return qt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;v(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),v(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&v(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return te(n)||(n=R(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return H(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return jt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,$(t)||(t=""+t);var u=L(this._isDirected,n,r,t);if(E(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!$(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Xt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,ye(this._preds[r],n),ye(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return E(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],Ae(this._preds[r],n),Ae(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=H(t);return r?x(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=H(t);return r?x(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ye.prototype._nodeCount=0;Ye.prototype._edgeCount=0;function ye(e,n){e[n]?e[n]++:e[n]=1}function Ae(e,n){--e[n]||delete e[n]}function L(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+be+s+be+($(t)?Zt:t)}function Xt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function Y(e,n){return L(e,n.v,n.w,n.name)}export{Ye as G,V as a,sr as b,K as c,He as d,Hn as e,v as f,ee as g,E as h,$ as i,Se as j,T as k,Ft as l,St as m,Re as n,Me as o,vt as p,nr as q,x as r,jt as s,U as t,H as v};
diff --git a/starter/src/main/resources/templates/notebase/assets/index-3862675e-C5iJKLK2.js b/deploy/server/notebase/assets/index-3862675e-BtvAzWCw.js
similarity index 96%
rename from starter/src/main/resources/templates/notebase/assets/index-3862675e-C5iJKLK2.js
rename to deploy/server/notebase/assets/index-3862675e-BtvAzWCw.js
index 308a3b9e2f..dc03ce333d 100644
--- a/starter/src/main/resources/templates/notebase/assets/index-3862675e-C5iJKLK2.js
+++ b/deploy/server/notebase/assets/index-3862675e-BtvAzWCw.js
@@ -1 +1 @@
-import{i as N,G as A}from"./graph-CNSoCPH1.js";import{m as $,l as H}from"./layout-Cg9I2QIy.js";import{c as V}from"./clone-CJLsyeCN.js";import{i as U,u as W,s as _,a as q,b as z,g as D,p as O,c as K,d as Q,e as Y,f as Z,h as J,j as p}from"./edges-e0da2a9e-121Kky2V.js";import{l as s,c as T,p as S,h as L}from"./mermaid.core-BajzCmnv.js";import{a as I}from"./createText-2e5e7dd3-CXwUql3o.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDescendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Descendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;W(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await q(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translating: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{U(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r};
+import{i as N,G as A}from"./graph-Cryfb0BU.js";import{m as $,l as H}from"./layout-DPudLDYQ.js";import{c as V}from"./clone-CVBlNrV8.js";import{i as U,u as W,s as _,a as q,b as z,g as D,p as O,c as K,d as Q,e as Y,f as Z,h as J,j as p}from"./edges-e0da2a9e---EYFhqg.js";import{l as s,c as T,p as S,h as L}from"./mermaid.core-DacimPk4.js";import{a as I}from"./createText-2e5e7dd3-sebYv4r1.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDescendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Descendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;W(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await q(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translating: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{U(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r};
diff --git a/deploy/server/notebase/assets/index-D2q_syzD.js b/deploy/server/notebase/assets/index-CVIZTd-d.js
similarity index 99%
rename from deploy/server/notebase/assets/index-D2q_syzD.js
rename to deploy/server/notebase/assets/index-CVIZTd-d.js
index 482092a8cb..90c420f522 100644
--- a/deploy/server/notebase/assets/index-D2q_syzD.js
+++ b/deploy/server/notebase/assets/index-CVIZTd-d.js
@@ -1,4 +1,4 @@
-import{g as xl}from"./index-CLWgAZNI.js";function ul(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],a=typeof t;(a==="object"||a==="function")&&!Object.isFrozen(t)&&ul(t)}),n}class yr{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pl(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function _e(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const r in a)t[r]=a[r]}),t}const Pl="",hr=n=>!!n.scope,wl=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((a,r)=>`${a}${"_".repeat(r+1)}`)].join(" ")}return`${e}${n}`};class kl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=pl(e)}openNode(e){if(!hr(e))return;const t=wl(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){hr(e)&&(this.buffer+=Pl)}value(){return this.buffer}span(e){this.buffer+=``}}const Dr=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class _r{constructor(){this.rootNode=Dr(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=Dr({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(a=>this._walk(e,a)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{_r._collapse(t)}))}}class Ul extends _r{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new kl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Oe(n){return n?typeof n=="string"?n:n.source:null}function ml(n){return me("(?=",n,")")}function Fl(n){return me("(?:",n,")*")}function Bl(n){return me("(?:",n,")?")}function me(...n){return n.map(t=>Oe(t)).join("")}function Gl(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function dr(...n){return"("+(Gl(n).capture?"":"?:")+n.map(a=>Oe(a)).join("|")+")"}function El(n){return new RegExp(n.toString()+"|").exec("").length-1}function Yl(n,e){const t=n&&n.exec(e);return t&&t.index===0}const ql=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ur(n,{joinWith:e}){let t=0;return n.map(a=>{t+=1;const r=t;let i=Oe(a),s="";for(;i.length>0;){const o=ql.exec(i);if(!o){s+=i;break}s+=i.substring(0,o.index),i=i.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+r):(s+=o[0],o[0]==="("&&t++)}return s}).map(a=>`(${a})`).join(e)}const Hl=/\b\B/,gl="[a-zA-Z]\\w*",pr="[a-zA-Z_]\\w*",Sl="\\b\\d+(\\.\\d+)?",Tl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",bl="\\b(0b[01]+)",Vl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",zl=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=me(e,/.*\b/,n.binary,/\b.*/)),_e({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,a)=>{t.index!==0&&a.ignoreMatch()}},n)},Ie={begin:"\\\\[\\s\\S]",relevance:0},Wl={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ie]},Kl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ie]},$l={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},De=function(n,e,t={}){const a=_e({scope:"comment",begin:n,end:e,contains:[]},t);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=dr("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:me(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},Ql=De("//","$"),Xl=De("/\\*","\\*/"),Zl=De("#","$"),Jl={scope:"number",begin:Sl,relevance:0},jl={scope:"number",begin:Tl,relevance:0},ec={scope:"number",begin:bl,relevance:0},tc={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ie,{begin:/\[/,end:/\]/,relevance:0,contains:[Ie]}]},nc={scope:"title",begin:gl,relevance:0},ac={scope:"title",begin:pr,relevance:0},rc={begin:"\\.\\s*"+pr,relevance:0},ic=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var ye=Object.freeze({__proto__:null,APOS_STRING_MODE:Wl,BACKSLASH_ESCAPE:Ie,BINARY_NUMBER_MODE:ec,BINARY_NUMBER_RE:bl,COMMENT:De,C_BLOCK_COMMENT_MODE:Xl,C_LINE_COMMENT_MODE:Ql,C_NUMBER_MODE:jl,C_NUMBER_RE:Tl,END_SAME_AS_BEGIN:ic,HASH_COMMENT_MODE:Zl,IDENT_RE:gl,MATCH_NOTHING_RE:Hl,METHOD_GUARD:rc,NUMBER_MODE:Jl,NUMBER_RE:Sl,PHRASAL_WORDS_MODE:$l,QUOTE_STRING_MODE:Kl,REGEXP_MODE:tc,RE_STARTERS_RE:Vl,SHEBANG:zl,TITLE_MODE:nc,UNDERSCORE_IDENT_RE:pr,UNDERSCORE_TITLE_MODE:ac});function oc(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function sc(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function lc(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=oc,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function cc(n,e){Array.isArray(n.illegal)&&(n.illegal=dr(...n.illegal))}function _c(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function dc(n,e){n.relevance===void 0&&(n.relevance=1)}const uc=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(a=>{delete n[a]}),n.keywords=t.keywords,n.begin=me(t.beforeMatch,ml(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},pc=["of","and","for","in","not","or","if","then","parent","list","value"],mc="keyword";function Rl(n,e,t=mc){const a=Object.create(null);return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(i){Object.assign(a,Rl(n[i],e,i))}),a;function r(i,s){e&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");a[l[0]]=[i,Ec(l[0],l[1])]})}}function Ec(n,e){return e?Number(e):gc(n)?0:1}function gc(n){return pc.includes(n.toLowerCase())}const Mr={},pe=n=>{console.error(n)},Lr=(n,...e)=>{console.log(`WARN: ${n}`,...e)},be=(n,e)=>{Mr[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Mr[`${n}/${e}`]=!0)},he=new Error;function fl(n,e,{key:t}){let a=0;const r=n[t],i={},s={};for(let o=1;o<=e.length;o++)s[o+a]=r[o],i[o+a]=!0,a+=El(e[o-1]);n[t]=s,n[t]._emit=i,n[t]._multi=!0}function Sc(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),he;if(typeof n.beginScope!="object"||n.beginScope===null)throw pe("beginScope must be object"),he;fl(n,n.begin,{key:"beginScope"}),n.begin=ur(n.begin,{joinWith:""})}}function Tc(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),he;if(typeof n.endScope!="object"||n.endScope===null)throw pe("endScope must be object"),he;fl(n,n.end,{key:"endScope"}),n.end=ur(n.end,{joinWith:""})}}function bc(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function Rc(n){bc(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Sc(n),Tc(n)}function fc(n){function e(s,o){return new RegExp(Oe(s),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(o?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=El(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=e(ur(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const _=l.findIndex((d,p)=>p>0&&d!==void 0),c=this.matchIndexes[_];return l.splice(0,_),Object.assign(l,c)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new t;return this.rules.slice(o).forEach(([_,c])=>l.addRule(_,c)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let _=l.exec(o);if(this.resumingScanAtSamePosition()&&!(_&&_.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,_=c.exec(o)}return _&&(this.regexIndex+=_.position+1,this.regexIndex===this.count&&this.considerAll()),_}}function r(s){const o=new a;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function i(s,o){const l=s;if(s.isCompiled)return l;[sc,_c,Rc,uc].forEach(c=>c(s,o)),n.compilerExtensions.forEach(c=>c(s,o)),s.__beforeBegin=null,[lc,cc,dc].forEach(c=>c(s,o)),s.isCompiled=!0;let _=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),_=s.keywords.$pattern,delete s.keywords.$pattern),_=_||/\w+/,s.keywords&&(s.keywords=Rl(s.keywords,n.case_insensitive)),l.keywordPatternRe=e(_,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Oe(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(c){return Cc(c==="self"?s:c)})),s.contains.forEach(function(c){i(c,l)}),s.starts&&i(s.starts,o),l.matcher=r(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=_e(n.classNameAliases||{}),i(n)}function Cl(n){return n?n.endsWithParent||Cl(n.starts):!1}function Cc(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return _e(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:Cl(n)?_e(n,{starts:n.starts?_e(n.starts):null}):Object.isFrozen(n)?_e(n):n}var Nc="11.11.1";class Oc extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const Le=pl,xr=_e,Pr=Symbol("nomatch"),Ic=7,Nl=function(n){const e=Object.create(null),t=Object.create(null),a=[];let r=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ul};function l(T){return o.noHighlightRe.test(T)}function _(T){let O=T.className+" ";O+=T.parentNode?T.parentNode.className:"";const M=o.languageDetectRe.exec(O);if(M){const w=v(M[1]);return w||(Lr(i.replace("{}",M[1])),Lr("Falling back to no-highlight mode for this block.",T)),w?M[1]:"no-highlight"}return O.split(/\s+/).find(w=>l(w)||v(w))}function c(T,O,M){let w="",B="";typeof O=="object"?(w=T,M=O.ignoreIllegals,B=O.language):(be("10.7.0","highlight(lang, code, ...args) has been deprecated."),be("10.7.0",`Please use highlight(code, options) instead.
+import{g as xl}from"./index-bOgutTC1.js";function ul(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],a=typeof t;(a==="object"||a==="function")&&!Object.isFrozen(t)&&ul(t)}),n}class yr{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pl(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function _e(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const r in a)t[r]=a[r]}),t}const Pl="",hr=n=>!!n.scope,wl=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((a,r)=>`${a}${"_".repeat(r+1)}`)].join(" ")}return`${e}${n}`};class kl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=pl(e)}openNode(e){if(!hr(e))return;const t=wl(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){hr(e)&&(this.buffer+=Pl)}value(){return this.buffer}span(e){this.buffer+=``}}const Dr=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class _r{constructor(){this.rootNode=Dr(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=Dr({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(a=>this._walk(e,a)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{_r._collapse(t)}))}}class Ul extends _r{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new kl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Oe(n){return n?typeof n=="string"?n:n.source:null}function ml(n){return me("(?=",n,")")}function Fl(n){return me("(?:",n,")*")}function Bl(n){return me("(?:",n,")?")}function me(...n){return n.map(t=>Oe(t)).join("")}function Gl(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function dr(...n){return"("+(Gl(n).capture?"":"?:")+n.map(a=>Oe(a)).join("|")+")"}function El(n){return new RegExp(n.toString()+"|").exec("").length-1}function Yl(n,e){const t=n&&n.exec(e);return t&&t.index===0}const ql=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ur(n,{joinWith:e}){let t=0;return n.map(a=>{t+=1;const r=t;let i=Oe(a),s="";for(;i.length>0;){const o=ql.exec(i);if(!o){s+=i;break}s+=i.substring(0,o.index),i=i.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+r):(s+=o[0],o[0]==="("&&t++)}return s}).map(a=>`(${a})`).join(e)}const Hl=/\b\B/,gl="[a-zA-Z]\\w*",pr="[a-zA-Z_]\\w*",Sl="\\b\\d+(\\.\\d+)?",Tl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",bl="\\b(0b[01]+)",Vl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",zl=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=me(e,/.*\b/,n.binary,/\b.*/)),_e({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,a)=>{t.index!==0&&a.ignoreMatch()}},n)},Ie={begin:"\\\\[\\s\\S]",relevance:0},Wl={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ie]},Kl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ie]},$l={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},De=function(n,e,t={}){const a=_e({scope:"comment",begin:n,end:e,contains:[]},t);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=dr("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:me(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},Ql=De("//","$"),Xl=De("/\\*","\\*/"),Zl=De("#","$"),Jl={scope:"number",begin:Sl,relevance:0},jl={scope:"number",begin:Tl,relevance:0},ec={scope:"number",begin:bl,relevance:0},tc={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ie,{begin:/\[/,end:/\]/,relevance:0,contains:[Ie]}]},nc={scope:"title",begin:gl,relevance:0},ac={scope:"title",begin:pr,relevance:0},rc={begin:"\\.\\s*"+pr,relevance:0},ic=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var ye=Object.freeze({__proto__:null,APOS_STRING_MODE:Wl,BACKSLASH_ESCAPE:Ie,BINARY_NUMBER_MODE:ec,BINARY_NUMBER_RE:bl,COMMENT:De,C_BLOCK_COMMENT_MODE:Xl,C_LINE_COMMENT_MODE:Ql,C_NUMBER_MODE:jl,C_NUMBER_RE:Tl,END_SAME_AS_BEGIN:ic,HASH_COMMENT_MODE:Zl,IDENT_RE:gl,MATCH_NOTHING_RE:Hl,METHOD_GUARD:rc,NUMBER_MODE:Jl,NUMBER_RE:Sl,PHRASAL_WORDS_MODE:$l,QUOTE_STRING_MODE:Kl,REGEXP_MODE:tc,RE_STARTERS_RE:Vl,SHEBANG:zl,TITLE_MODE:nc,UNDERSCORE_IDENT_RE:pr,UNDERSCORE_TITLE_MODE:ac});function oc(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function sc(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function lc(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=oc,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function cc(n,e){Array.isArray(n.illegal)&&(n.illegal=dr(...n.illegal))}function _c(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function dc(n,e){n.relevance===void 0&&(n.relevance=1)}const uc=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(a=>{delete n[a]}),n.keywords=t.keywords,n.begin=me(t.beforeMatch,ml(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},pc=["of","and","for","in","not","or","if","then","parent","list","value"],mc="keyword";function Rl(n,e,t=mc){const a=Object.create(null);return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(i){Object.assign(a,Rl(n[i],e,i))}),a;function r(i,s){e&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");a[l[0]]=[i,Ec(l[0],l[1])]})}}function Ec(n,e){return e?Number(e):gc(n)?0:1}function gc(n){return pc.includes(n.toLowerCase())}const Mr={},pe=n=>{console.error(n)},Lr=(n,...e)=>{console.log(`WARN: ${n}`,...e)},be=(n,e)=>{Mr[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Mr[`${n}/${e}`]=!0)},he=new Error;function fl(n,e,{key:t}){let a=0;const r=n[t],i={},s={};for(let o=1;o<=e.length;o++)s[o+a]=r[o],i[o+a]=!0,a+=El(e[o-1]);n[t]=s,n[t]._emit=i,n[t]._multi=!0}function Sc(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),he;if(typeof n.beginScope!="object"||n.beginScope===null)throw pe("beginScope must be object"),he;fl(n,n.begin,{key:"beginScope"}),n.begin=ur(n.begin,{joinWith:""})}}function Tc(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),he;if(typeof n.endScope!="object"||n.endScope===null)throw pe("endScope must be object"),he;fl(n,n.end,{key:"endScope"}),n.end=ur(n.end,{joinWith:""})}}function bc(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function Rc(n){bc(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Sc(n),Tc(n)}function fc(n){function e(s,o){return new RegExp(Oe(s),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(o?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=El(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=e(ur(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const _=l.findIndex((d,p)=>p>0&&d!==void 0),c=this.matchIndexes[_];return l.splice(0,_),Object.assign(l,c)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new t;return this.rules.slice(o).forEach(([_,c])=>l.addRule(_,c)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let _=l.exec(o);if(this.resumingScanAtSamePosition()&&!(_&&_.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,_=c.exec(o)}return _&&(this.regexIndex+=_.position+1,this.regexIndex===this.count&&this.considerAll()),_}}function r(s){const o=new a;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function i(s,o){const l=s;if(s.isCompiled)return l;[sc,_c,Rc,uc].forEach(c=>c(s,o)),n.compilerExtensions.forEach(c=>c(s,o)),s.__beforeBegin=null,[lc,cc,dc].forEach(c=>c(s,o)),s.isCompiled=!0;let _=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),_=s.keywords.$pattern,delete s.keywords.$pattern),_=_||/\w+/,s.keywords&&(s.keywords=Rl(s.keywords,n.case_insensitive)),l.keywordPatternRe=e(_,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Oe(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(c){return Cc(c==="self"?s:c)})),s.contains.forEach(function(c){i(c,l)}),s.starts&&i(s.starts,o),l.matcher=r(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=_e(n.classNameAliases||{}),i(n)}function Cl(n){return n?n.endsWithParent||Cl(n.starts):!1}function Cc(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return _e(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:Cl(n)?_e(n,{starts:n.starts?_e(n.starts):null}):Object.isFrozen(n)?_e(n):n}var Nc="11.11.1";class Oc extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const Le=pl,xr=_e,Pr=Symbol("nomatch"),Ic=7,Nl=function(n){const e=Object.create(null),t=Object.create(null),a=[];let r=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ul};function l(T){return o.noHighlightRe.test(T)}function _(T){let O=T.className+" ";O+=T.parentNode?T.parentNode.className:"";const M=o.languageDetectRe.exec(O);if(M){const w=v(M[1]);return w||(Lr(i.replace("{}",M[1])),Lr("Falling back to no-highlight mode for this block.",T)),w?M[1]:"no-highlight"}return O.split(/\s+/).find(w=>l(w)||v(w))}function c(T,O,M){let w="",B="";typeof O=="object"?(w=T,M=O.ignoreIllegals,B=O.language):(be("10.7.0","highlight(lang, code, ...args) has been deprecated."),be("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),B=T,w=O),M===void 0&&(M=!0);const Q={code:w,language:B};X("before:highlight",Q);const ne=Q.result?Q.result:d(Q.language,Q.code,M);return ne.code=Q.code,X("after:highlight",ne),ne}function d(T,O,M,w){const B=Object.create(null);function Q(N,y){return N.keywords[y]}function ne(){if(!x.keywords){te.addText(Y);return}let N=0;x.keywordPatternRe.lastIndex=0;let y=x.keywordPatternRe.exec(Y),P="";for(;y;){P+=Y.substring(N,y.index);const U=oe.case_insensitive?y[0].toLowerCase():y[0],Z=Q(x,U);if(Z){const[se,Ce]=Z;if(te.addText(P),P="",B[U]=(B[U]||0)+1,B[U]<=Ic&&(ue+=Ce),se.startsWith("_"))P+=y[0];else{const Ae=oe.classNameAliases[se]||se;H(y[0],Ae)}}else P+=y[0];N=x.keywordPatternRe.lastIndex,y=x.keywordPatternRe.exec(Y)}P+=Y.substring(N),te.addText(P)}function ae(){if(Y==="")return;let N=null;if(typeof x.subLanguage=="string"){if(!e[x.subLanguage]){te.addText(Y);return}N=d(x.subLanguage,Y,!0,fe[x.subLanguage]),fe[x.subLanguage]=N._top}else N=E(Y,x.subLanguage.length?x.subLanguage:null);x.relevance>0&&(ue+=N.relevance),te.__addSublanguage(N._emitter,N.language)}function z(){x.subLanguage!=null?ae():ne(),Y=""}function H(N,y){N!==""&&(te.startScope(y),te.addText(N),te.endScope())}function J(N,y){let P=1;const U=y.length-1;for(;P<=U;){if(!N._emit[P]){P++;continue}const Z=oe.classNameAliases[N[P]]||N[P],se=y[P];Z?H(se,Z):(Y=se,ne(),Y=""),P++}}function V(N,y){return N.scope&&typeof N.scope=="string"&&te.openNode(oe.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(H(Y,oe.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),Y=""):N.beginScope._multi&&(J(N.beginScope,y),Y="")),x=Object.create(N,{parent:{value:x}}),x}function G(N,y,P){let U=Yl(N.endRe,P);if(U){if(N["on:end"]){const Z=new yr(N);N["on:end"](y,Z),Z.isMatchIgnored&&(U=!1)}if(U){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return G(N.parent,y,P)}function K(N){return x.matcher.regexIndex===0?(Y+=N[0],1):(ce=!0,0)}function j(N){const y=N[0],P=N.rule,U=new yr(P),Z=[P.__beforeBegin,P["on:begin"]];for(const se of Z)if(se&&(se(N,U),U.isMatchIgnored))return K(y);return P.skip?Y+=y:(P.excludeBegin&&(Y+=y),z(),!P.returnBegin&&!P.excludeBegin&&(Y=y)),V(P,N),P.returnBegin?0:y.length}function ee(N){const y=N[0],P=O.substring(N.index),U=G(x,N,P);if(!U)return Pr;const Z=x;x.endScope&&x.endScope._wrap?(z(),H(y,x.endScope._wrap)):x.endScope&&x.endScope._multi?(z(),J(x.endScope,N)):Z.skip?Y+=y:(Z.returnEnd||Z.excludeEnd||(Y+=y),z(),Z.excludeEnd&&(Y=y));do x.scope&&te.closeNode(),!x.skip&&!x.subLanguage&&(ue+=x.relevance),x=x.parent;while(x!==U.parent);return U.starts&&V(U.starts,N),Z.returnEnd?0:y.length}function re(){const N=[];for(let y=x;y!==oe;y=y.parent)y.scope&&N.unshift(y.scope);N.forEach(y=>te.openNode(y))}let ie={};function Ee(N,y){const P=y&&y[0];if(Y+=N,P==null)return z(),0;if(ie.type==="begin"&&y.type==="end"&&ie.index===y.index&&P===""){if(Y+=O.slice(y.index,y.index+1),!r){const U=new Error(`0 width match regex (${T})`);throw U.languageName=T,U.badRule=ie.rule,U}return 1}if(ie=y,y.type==="begin")return j(y);if(y.type==="illegal"&&!M){const U=new Error('Illegal lexeme "'+P+'" for mode "'+(x.scope||"")+'"');throw U.mode=x,U}else if(y.type==="end"){const U=ee(y);if(U!==Pr)return U}if(y.type==="illegal"&&P==="")return Y+=`
`,1;if(Se>1e5&&Se>y.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=P,P.length}const oe=v(T);if(!oe)throw pe(i.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ge=fc(oe);let de="",x=w||ge;const fe={},te=new o.__emitter(o);re();let Y="",ue=0,le=0,Se=0,ce=!1;try{if(oe.__emitTokens)oe.__emitTokens(O,te);else{for(x.matcher.considerAll();;){Se++,ce?ce=!1:x.matcher.considerAll(),x.matcher.lastIndex=le;const N=x.matcher.exec(O);if(!N)break;const y=O.substring(le,N.index),P=Ee(y,N);le=N.index+P}Ee(O.substring(le))}return te.finalize(),de=te.toHTML(),{language:T,value:de,relevance:ue,illegal:!1,_emitter:te,_top:x}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:T,value:Le(O),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:le,context:O.slice(le-100,le+100),mode:N.mode,resultSoFar:de},_emitter:te};if(r)return{language:T,value:Le(O),illegal:!1,relevance:0,errorRaised:N,_emitter:te,_top:x};throw N}}function p(T){const O={value:Le(T),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return O._emitter.addText(T),O}function E(T,O){O=O||o.languages||Object.keys(e);const M=p(T),w=O.filter(v).filter(k).map(z=>d(z,T,!1));w.unshift(M);const B=w.sort((z,H)=>{if(z.relevance!==H.relevance)return H.relevance-z.relevance;if(z.language&&H.language){if(v(z.language).supersetOf===H.language)return 1;if(v(H.language).supersetOf===z.language)return-1}return 0}),[Q,ne]=B,ae=Q;return ae.secondBest=ne,ae}function m(T,O,M){const w=O&&t[O]||M;T.classList.add("hljs"),T.classList.add(`language-${w}`)}function S(T){let O=null;const M=_(T);if(l(M))return;if(X("before:highlightElement",{el:T,language:M}),T.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",T);return}if(T.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(T)),o.throwUnescapedHTML))throw new Oc("One of your code blocks includes unescaped HTML.",T.innerHTML);O=T;const w=O.textContent,B=M?c(w,{language:M,ignoreIllegals:!0}):E(w);T.innerHTML=B.value,T.dataset.highlighted="yes",m(T,M,B.language),T.result={language:B.language,re:B.relevance,relevance:B.relevance},B.secondBest&&(T.secondBest={language:B.secondBest.language,relevance:B.secondBest.relevance}),X("after:highlightElement",{el:T,result:B,text:w})}function g(T){o=xr(o,T)}const b=()=>{A(),be("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function R(){A(),be("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let f=!1;function A(){function T(){A()}if(document.readyState==="loading"){f||window.addEventListener("DOMContentLoaded",T,!1),f=!0;return}document.querySelectorAll(o.cssSelector).forEach(S)}function I(T,O){let M=null;try{M=O(n)}catch(w){if(pe("Language definition for '{}' could not be registered.".replace("{}",T)),r)pe(w);else throw w;M=s}M.name||(M.name=T),e[T]=M,M.rawDefinition=O.bind(null,n),M.aliases&&L(M.aliases,{languageName:T})}function C(T){delete e[T];for(const O of Object.keys(t))t[O]===T&&delete t[O]}function h(){return Object.keys(e)}function v(T){return T=(T||"").toLowerCase(),e[T]||e[t[T]]}function L(T,{languageName:O}){typeof T=="string"&&(T=[T]),T.forEach(M=>{t[M.toLowerCase()]=O})}function k(T){const O=v(T);return O&&!O.disableAutodetect}function D(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=O=>{T["before:highlightBlock"](Object.assign({block:O.el},O))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=O=>{T["after:highlightBlock"](Object.assign({block:O.el},O))})}function F(T){D(T),a.push(T)}function $(T){const O=a.indexOf(T);O!==-1&&a.splice(O,1)}function X(T,O){const M=T;a.forEach(function(w){w[M]&&w[M](O)})}function q(T){return be("10.7.0","highlightBlock will be removed entirely in v12.0"),be("10.7.0","Please use highlightElement now."),S(T)}Object.assign(n,{highlight:c,highlightAuto:E,highlightAll:A,highlightElement:S,highlightBlock:q,configure:g,initHighlighting:b,initHighlightingOnLoad:R,registerLanguage:I,unregisterLanguage:C,listLanguages:h,getLanguage:v,registerAliases:L,autoDetection:k,inherit:xr,addPlugin:F,removePlugin:$}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=Nc,n.regex={concat:me,lookahead:ml,either:dr,optional:Bl,anyNumberOfTimes:Fl};for(const T in ye)typeof ye[T]=="object"&&ul(ye[T]);return Object.assign(n,ye),n},Re=Nl({});Re.newInstance=()=>Nl({});var Ac=Re;Re.HighlightJS=Re;Re.default=Re;var xe,wr;function vc(){if(wr)return xe;wr=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",E="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",B="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",ae="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",z="null истина ложь неопределено",H=e.inherit(e.NUMBER_MODE),J={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},V={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},G={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},K=e.inherit(e.C_LINE_COMMENT_MODE),j={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:i+l},contains:[K]},ee={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},re={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:z},contains:[H,J,V]},K]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:i,built_in:E,class:B,type:ae,literal:z},contains:[j,re,K,ee,H,J,V,G]}}return xe=n,xe}var Pe,kr;function yc(){if(kr)return Pe;kr=1;function n(e){const t=e.regex,a=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),s={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},o={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},_={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:t.concat(a,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},c,i,s,o,l,_,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Pe=n,Pe}var we,Ur;function hc(){if(Ur)return we;Ur=1;function n(e){const t=e.regex,a=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...a)),end:/"/,keywords:a,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return we=n,we}var ke,Fr;function Dc(){if(Fr)return ke;Fr=1;function n(e){const t=e.regex,a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(a,t.concat("(\\.",a,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,s={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},{begin:t.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}return ke=n,ke}var Ue,Br;function Mc(){if(Br)return Ue;Br=1;function n(e){const t="\\d(_|\\d)*",a="[eE][-+]?"+t,r=t+"(\\."+t+")?("+a+")?",i="\\w+",o="\\b("+(t+"#"+i+"(\\."+i+")?#("+a+")?")+"|"+r+")",l="[A-Za-z](_?[A-Za-z0-9.])*",_=`[]\\{\\}%#'"`,c=e.COMMENT("--","$"),d={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:_,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[c,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:_},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[c,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:_},d,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:_}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:_},d]}}return Ue=n,Ue}var Fe,Gr;function Lc(){if(Gr)return Fe;Gr=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,a]};return t.contains=[r],a.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return Fe=n,Fe}var Be,Yr;function xc(){if(Yr)return Be;Yr=1;function n(e){const t={className:"number",begin:/[$%]\d+/},a={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},r,a,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return Be=n,Be}var Ge,qr;function Pc(){if(qr)return Ge;qr=1;function n(e){const t=e.regex,a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,a]},i=e.COMMENT(/--/,/$/),s=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),o=[i,s,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],_=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[a,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(..._),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...o],illegal:/\/\/|->|=>|\[\[/}}return Ge=n,Ge}var Ye,Hr;function wc(){if(Hr)return Ye;Hr=1;function n(e){const t=e.regex,a="[A-Za-z_][0-9A-Za-z_]*",r={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},i=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view"],s={className:"symbol",begin:"\\$"+t.either(...i)},o={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},l={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},_={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,l]};l.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,o,e.REGEXP_MODE];const c=l.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,o,{begin:/[{,]\s*/,relevance:0,contains:[{begin:a+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:a,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+a+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:a},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:c}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:a}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return Ye=n,Ye}var qe,Vr;function kc(){if(Vr)return qe;Vr=1;function n(t){const a=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",l="(?!struct)("+i+"|"+a.optional(s)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",_={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},E={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},m={className:"title",begin:a.optional(s)+t.IDENT_RE,relevance:0},S=a.optional(s)+t.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],f=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],C={type:b,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},h={className:"function.dispatch",relevance:0,keywords:{_hint:f},begin:a.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,a.lookahead(/(<[^<>]+>|)\s*\(/))},v=[h,E,_,r,t.C_BLOCK_COMMENT_MODE,p,d],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:v.concat([{begin:/\(/,end:/\)/,keywords:C,contains:v.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+l+"[\\*&\\s]+)+"+S,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:C,relevance:0},{begin:S,returnBegin:!0,contains:[m],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,d,p,_,{begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,d,p,_]}]},_,r,t.C_BLOCK_COMMENT_MODE,E]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:C,illegal:"",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(L,k,h,v,[E,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:C,contains:["self",_]},{begin:t.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const a={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=n(t),i=r.keywords;return i.type=[...i.type,...a.type],i.literal=[...i.literal,...a.literal],i.built_in=[...i.built_in,...a.built_in],i._hints=a._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}return qe=e,qe}var He,zr;function Uc(){if(zr)return He;zr=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return He=n,He}var Ve,Wr;function Fc(){if(Wr)return Ve;Wr=1;function n(e){const t=e.regex,a=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(s,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),_=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[s,_,l,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[s,o,_,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[_]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/")}var K2=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},_Re=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(i){var a=Te(i,2),o=a[0],s=a[1];return"".concat(o,":").concat(s,";")}).join(""),"}"):""},qde=function(t,n,r){var i={},a={};return Object.entries(t).forEach(function(o){var s,l,c=Te(o,2),u=c[0],f=c[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[u])a[u]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[u])){var p,h=K2(u,r==null?void 0:r.prefix);i[h]=typeof f=="number"&&!(r!=null&&(p=r.unitless)!==null&&p!==void 0&&p[u])?"".concat(f,"px"):String(f),a[u]="var(".concat(h,")")}}),[a,_Re(i,n,{scope:r==null?void 0:r.scope})]},VK=by()?d.useLayoutEffect:d.useEffect,kRe=function(t,n){var r=d.useRef(!0);VK(function(){return t(r.current)},n),VK(function(){return r.current=!1,function(){r.current=!0}},[])},ERe=q({},Qm),qK=ERe.useInsertionEffect,$Re=function(t,n,r){d.useMemo(t,r),kRe(function(){return n(!0)},r)},MRe=qK?function(e,t,n){return qK(function(){return e(),t()},n)}:$Re,TRe=q({},Qm),PRe=TRe.useInsertionEffect,ORe=function(t){var n=[],r=!1;function i(a){r||n.push(a)}return d.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},t),i},IRe=function(){return function(t){t()}},RRe=typeof PRe<"u"?ORe:IRe;function PL(e,t,n,r,i){var a=d.useContext(S0),o=a.cache,s=[e].concat(ct(t)),l=QR(s),c=RRe([l]),u=function(m){o.opUpdate(l,function(g){var v=g||[void 0,void 0],y=Te(v,2),b=y[0],w=b===void 0?0:b,_=y[1],k=_,S=k||n(),C=[w,S];return m?m(C):C})};d.useMemo(function(){u()},[l]);var f=o.opGet(l),p=f[1];return MRe(function(){i==null||i(p)},function(h){return u(function(m){var g=Te(m,2),v=g[0],y=g[1];return h&&v===0&&(i==null||i(p)),[v+1,y]}),function(){o.opUpdate(l,function(m){var g=m||[],v=Te(g,2),y=v[0],b=y===void 0?0:y,w=v[1],_=b-1;return _===0?(c(function(){(h||!o.opGet(l))&&(r==null||r(w,!1))}),null):[b-1,w]})}},[l]),p}var jRe={},NRe="css",om=new Map;function ARe(e){om.set(e,(om.get(e)||0)+1)}function DRe(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(x0,'="').concat(e,'"]'));n.forEach(function(r){if(r[Dp]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var FRe=0;function LRe(e,t){om.set(e,(om.get(e)||0)-1);var n=Array.from(om.keys()),r=n.filter(function(i){var a=om.get(i)||0;return a<=0});n.length-r.length>FRe&&r.forEach(function(i){DRe(i,t),om.delete(i)})}var OL=function(t,n,r,i){var a=r.getDerivativeToken(t),o=q(q({},a),n);return i&&(o=i(o)),o},Kde="token";function IL(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=d.useContext(S0),i=r.cache.instanceId,a=r.container,o=n.salt,s=o===void 0?"":o,l=n.override,c=l===void 0?jRe:l,u=n.formatToken,f=n.getComputedToken,p=n.cssVar,h=xRe(function(){return Object.assign.apply(Object,[{}].concat(ct(t)))},t),m=q2(h),g=q2(c),v=p?q2(p):"",y=PL(Kde,[s,e.id,m,g,v],function(){var b,w=f?f(h,c,e):OL(h,c,e,u),_=q({},w),k="";if(p){var S=qde(w,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),C=Te(S,2);w=C[0],k=C[1]}var E=WK(w,s);w._tokenKey=E,_._tokenKey=WK(_,s);var $=(b=p==null?void 0:p.key)!==null&&b!==void 0?b:E;w._themeKey=$,ARe($);var M="".concat(NRe,"-").concat(Kw(E));return w._hashId=M,[w,M,_,k,(p==null?void 0:p.key)||""]},function(b){LRe(b[0]._themeKey,i)},function(b){var w=Te(b,4),_=w[0],k=w[3];if(p&&k){var S=Mv(k,Kw("css-variables-".concat(_._themeKey)),{mark:nu,prepend:"queue",attachTo:a,priority:-999});S[Dp]=i,S.setAttribute(x0,_._themeKey)}});return y}var BRe=function(t,n,r){var i=Te(t,5),a=i[2],o=i[3],s=i[4],l=r||{},c=l.plain;if(!o)return null;var u=a._tokenKey,f=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},h=Gw(o,s,u,p,c);return[f,u,h]},Gde={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Yde="comm",Xde="rule",Zde="decl",zRe="@import",HRe="@keyframes",URe="@layer",Qde=Math.abs,RL=String.fromCharCode;function Jde(e){return e.trim()}function VC(e,t,n){return e.replace(t,n)}function WRe(e,t,n){return e.indexOf(t,n)}function Yw(e,t){return e.charCodeAt(t)|0}function _0(e,t,n){return e.slice(t,n)}function Hu(e){return e.length}function VRe(e){return e.length}function oS(e,t){return t.push(e),e}var UE=1,k0=1,efe=0,mc=0,Ra=0,wy="";function jL(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:UE,column:k0,length:o,return:"",siblings:s}}function qRe(){return Ra}function KRe(){return Ra=mc>0?Yw(wy,--mc):0,k0--,Ra===10&&(k0=1,UE--),Ra}function ru(){return Ra=mc2||Xw(Ra)>3?"":" "}function ZRe(e,t){for(;--t&&ru()&&!(Ra<48||Ra>102||Ra>57&&Ra<65||Ra>70&&Ra<97););return WE(e,qC()+(t<6&&Fp()==32&&ru()==32))}function ej(e){for(;ru();)switch(Ra){case e:return mc;case 34:case 39:e!==34&&e!==39&&ej(Ra);break;case 40:e===41&&ej(e);break;case 92:ru();break}return mc}function QRe(e,t){for(;ru()&&e+Ra!==57;)if(e+Ra===84&&Fp()===47)break;return"/*"+WE(t,mc-1)+"*"+RL(e===47?e:ru())}function JRe(e){for(;!Xw(Fp());)ru();return WE(e,mc)}function eje(e){return YRe(KC("",null,null,null,[""],e=GRe(e),0,[0],e))}function KC(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,f=o,p=0,h=0,m=0,g=1,v=1,y=1,b=0,w="",_=i,k=a,S=r,C=w;v;)switch(m=b,b=ru()){case 40:if(m!=108&&Yw(C,f-1)==58){WRe(C+=VC(u9(b),"&","&\f"),"&\f",Qde(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:C+=u9(b);break;case 9:case 10:case 13:case 32:C+=XRe(m);break;case 92:C+=ZRe(qC()-1,7);continue;case 47:switch(Fp()){case 42:case 47:oS(tje(QRe(ru(),qC()),t,n,l),l),(Xw(m||1)==5||Xw(Fp()||1)==5)&&Hu(C)&&_0(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*g:s[c++]=Hu(C)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:y==-1&&(C=VC(C,/\f/g,"")),h>0&&(Hu(C)-f||g===0&&m===47)&&oS(h>32?GK(C+";",r,n,f-1,l):GK(VC(C," ","")+";",r,n,f-2,l),l);break;case 59:C+=";";default:if(oS(S=KK(C,t,n,c,u,i,s,w,_=[],k=[],f,a),a),b===123)if(u===0)KC(C,t,S,S,_,a,f,s,k);else switch(p===99&&Yw(C,3)===110?100:p){case 100:case 108:case 109:case 115:KC(e,S,S,r&&oS(KK(e,S,S,0,0,i,s,w,i,_=[],f,k),k),i,k,f,s,r?_:k);break;default:KC(C,S,S,S,[""],k,0,s,k)}}c=u=h=0,g=y=1,w=C="",f=o;break;case 58:f=1+Hu(C),h=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&KRe()==125)continue}switch(C+=RL(b),b*g){case 38:y=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Hu(C)-1)*y,y=1;break;case 64:Fp()===45&&(C+=u9(ru())),p=Fp(),u=f=Hu(w=C+=JRe(qC())),b++;break;case 45:m===45&&Hu(C)==2&&(g=0)}}return a}function KK(e,t,n,r,i,a,o,s,l,c,u,f){for(var p=i-1,h=i===0?a:[""],m=VRe(h),g=0,v=0,y=0;g0?h[b]+" "+w:VC(w,/&\f/g,h[b])))&&(l[y++]=_);return jL(e,t,n,i===0?Xde:s,l,c,u,f)}function tje(e,t,n,r){return jL(e,t,n,Yde,RL(qRe()),_0(e,2,-2),0,r)}function GK(e,t,n,r,i){return jL(e,t,n,Zde,_0(e,0,r),_0(e,r+1,-1),r,i)}function tj(e,t){for(var n="",r=0;r1}function ije(e){return e.parentSelectors.reduce(function(t,n){return t?n.includes("&")?n.replace(/&/g,t):"".concat(t," ").concat(n):n},"")}var aje=function(t,n,r){var i=ije(r),a=i.match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(rje)&&xm("Concat ':not' selector not support in legacy browsers.",r)},oje=function(t,n,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":xm("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof n=="string"){var i=n.split(" ").map(function(s){return s.trim()});i.length===4&&i[1]!==i[3]&&xm("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":(n==="left"||n==="right")&&xm("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":if(typeof n=="string"){var a=n.split("/").map(function(s){return s.trim()}),o=a.reduce(function(s,l){if(s)return s;var c=l.split(" ").map(function(u){return u.trim()});return c.length>=2&&c[0]!==c[1]||c.length===3&&c[1]!==c[2]||c.length===4&&c[2]!==c[3]?!0:s},!1);o&&xm("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return}},sje=function(t,n,r){(typeof n=="string"&&/NaN/g.test(n)||Number.isNaN(n))&&xm("Unexpected 'NaN' in property '".concat(t,": ").concat(n,"'."),r)},lje=function(t,n,r){r.parentSelectors.some(function(i){var a=i.split(",");return a.some(function(o){return o.split("&").length>2})})&&xm("Should not use more than one `&` in a selector.",r)},G2="data-ant-cssinjs-cache-path",tfe="_FILE_STYLE__";function cje(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var Um,nfe=!0;function uje(){if(!Um&&(Um={},by())){var e=document.createElement("div");e.className=G2,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(i){var a=i.split(":"),o=Te(a,2),s=o[0],l=o[1];Um[s]=l});var n=document.querySelector("style[".concat(G2,"]"));if(n){var r;nfe=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function dje(e){return uje(),!!Um[e]}function fje(e){var t=Um[e],n=null;if(t&&by())if(nfe)n=tfe;else{var r=document.querySelector("style[".concat(nu,'="').concat(Um[e],'"]'));r?n=r.innerHTML:delete Um[e]}return[n,t]}var pje="_skip_check_",rfe="_multi_value_";function GC(e){var t=tj(eje(e),nje);return t.replace(/\{%%%\:[^;];}/g,";")}function hje(e){return Kt(e)==="object"&&e&&(pje in e||rfe in e)}function YK(e,t,n){if(!t)return e;var r=".".concat(t),i=n==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(o){var s,l=o.trim().split(/\s+/),c=l[0]||"",u=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(u).concat(i).concat(c.slice(u.length)),[c].concat(ct(l.slice(1))).join(" ")});return a.join(",")}var mje=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,a=r.injectHash,o=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var c=n.hashPriority,u=n.transformers,f=u===void 0?[]:u;n.linters;var p="",h={};function m(y){var b=y.getName(s);if(!h[b]){var w=e(y.style,n,{root:!1,parentSelectors:o}),_=Te(w,1),k=_[0];h[b]="@keyframes ".concat(y.getName(s)).concat(k)}}function g(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(w){Array.isArray(w)?g(w,b):w&&b.push(w)}),b}var v=g(Array.isArray(t)?t:[t]);return v.forEach(function(y){var b=typeof y=="string"&&!i?{}:y;if(typeof b=="string")p+="".concat(b,`
-`);else if(b._keyframe)m(b);else{var w=f.reduce(function(_,k){var S;return(k==null||(S=k.visit)===null||S===void 0?void 0:S.call(k,_))||_},b);Object.keys(w).forEach(function(_){var k=w[_];if(Kt(k)==="object"&&k&&(_!=="animationName"||!k._keyframe)&&!hje(k)){var S=!1,C=_.trim(),E=!1;(i||a)&&s?C.startsWith("@")?S=!0:C==="&"?C=YK("",s,c):C=YK(_,s,c):i&&!s&&(C==="&"||C==="")&&(C="",E=!0);var $=e(k,n,{root:E,injectHash:S,parentSelectors:[].concat(ct(o),[C])}),M=Te($,2),P=M[0],I=M[1];h=q(q({},h),I),p+="".concat(C).concat(P)}else{let R=function(j,N){var D=j.replace(/[A-Z]/g,function(F){return"-".concat(F.toLowerCase())}),V=N;!Gde[j]&&typeof V=="number"&&V!==0&&(V="".concat(V,"px")),j==="animationName"&&N!==null&&N!==void 0&&N._keyframe&&(m(N),V=N.getName(s)),p+="".concat(D,":").concat(V,";")};var O,A=(O=k==null?void 0:k.value)!==null&&O!==void 0?O:k;Kt(k)==="object"&&k!==null&&k!==void 0&&k[rfe]&&Array.isArray(A)?A.forEach(function(j){R(_,j)}):R(_,A)}})}}),i?l&&(p="@layer ".concat(l.name," {").concat(p,"}"),l.dependencies&&(h["@layer ".concat(l.name)]=l.dependencies.map(function(y){return"@layer ".concat(y,", ").concat(l.name,";")}).join(`
-`))):p="{".concat(p,"}"),[p,h]};function ife(e,t){return Kw("".concat(e.join("%")).concat(t))}function gje(){return null}var afe="style";function Zw(e,t){var n=e.token,r=e.path,i=e.hashId,a=e.layer,o=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=d.useContext(S0),f=u.autoClear;u.mock;var p=u.defaultCache,h=u.hashPriority,m=u.container,g=u.ssrInline,v=u.transformers,y=u.linters,b=u.cache,w=u.layer,_=n._tokenKey,k=[_];w&&k.push("layer"),k.push.apply(k,ct(r));var S=JR,C=PL(afe,k,function(){var I=k.join("|");if(dje(I)){var O=fje(I),A=Te(O,2),R=A[0],j=A[1];if(R)return[R,_,j,{},s,c]}var N=t(),D=mje(N,{hashId:i,hashPriority:h,layer:w?a:void 0,path:r.join("-"),transformers:v,linters:y}),V=Te(D,2),F=V[0],K=V[1],B=GC(F),U=ife(k,B);return[B,_,U,K,s,c]},function(I,O){var A=Te(I,3),R=A[2];(O||f)&&JR&&EL(R,{mark:nu})},function(I){var O=Te(I,4),A=O[0];O[1];var R=O[2],j=O[3];if(S&&A!==tfe){var N={mark:nu,prepend:w?!1:"queue",attachTo:m,priority:c},D=typeof o=="function"?o():o;D&&(N.csp={nonce:D});var V=[],F=[];Object.keys(j).forEach(function(B){B.startsWith("@layer")?V.push(B):F.push(B)}),V.forEach(function(B){Mv(GC(j[B]),"_layer-".concat(B),q(q({},N),{},{prepend:!0}))});var K=Mv(A,R,N);K[Dp]=b.instanceId,K.setAttribute(x0,_),F.forEach(function(B){Mv(GC(j[B]),"_effect-".concat(B),N)})}}),E=Te(C,3),$=E[0],M=E[1],P=E[2];return function(I){var O;if(!g||S||!p)O=d.createElement(gje,null);else{var A;O=d.createElement("style",tt({},(A={},ne(A,x0,M),ne(A,nu,P),A),{dangerouslySetInnerHTML:{__html:$}}))}return d.createElement(d.Fragment,null,O,I)}}var vje=function(t,n,r){var i=Te(t,6),a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=i[5],f=r||{},p=f.plain;if(c)return null;var h=a,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=Gw(a,o,s,m,p),l&&Object.keys(l).forEach(function(g){if(!n[g]){n[g]=!0;var v=GC(l[g]),y=Gw(v,o,"_effect-".concat(g),m,p);g.startsWith("@layer")?h=y+h:h+=y}}),[u,s,h]},ofe="cssVar",sfe=function(t,n){var r=t.key,i=t.prefix,a=t.unitless,o=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=d.useContext(S0),f=u.cache.instanceId,p=u.container,h=s._tokenKey,m=[].concat(ct(t.path),[r,c,h]),g=PL(ofe,m,function(){var v=n(),y=qde(v,r,{prefix:i,unitless:a,ignore:o,scope:c}),b=Te(y,2),w=b[0],_=b[1],k=ife(m,_);return[w,_,k,r]},function(v){var y=Te(v,3),b=y[2];JR&&EL(b,{mark:nu})},function(v){var y=Te(v,3),b=y[1],w=y[2];if(b){var _=Mv(b,w,{mark:nu,prepend:"queue",attachTo:p,priority:-999});_[Dp]=f,_.setAttribute(x0,r)}});return g},yje=function(t,n,r){var i=Te(t,4),a=i[1],o=i[2],s=i[3],l=r||{},c=l.plain;if(!a)return null;var u=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},p=Gw(a,s,o,f,c);return[u,o,p]},Tb,bje=(Tb={},ne(Tb,afe,vje),ne(Tb,Kde,BRe),ne(Tb,ofe,yje),Tb);function wje(e){return e!==null}function xje(e,t){var n=typeof t=="boolean"?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,a=n.types,o=a===void 0?["style","token","cssVar"]:a,s=new RegExp("^(".concat((typeof o=="string"?[o]:o).join("|"),")%")),l=Array.from(e.cache.keys()).filter(function(p){return s.test(p)}),c={},u={},f="";return l.map(function(p){var h=p.replace(s,"").replace(/%/g,"|"),m=p.split("%"),g=Te(m,1),v=g[0],y=bje[v],b=y(e.cache.get(p)[1],c,{plain:i});if(!b)return null;var w=Te(b,3),_=w[0],k=w[1],S=w[2];return p.startsWith("style")&&(u[h]=k),[_,S]}).filter(wje).sort(function(p,h){var m=Te(p,1),g=m[0],v=Te(h,1),y=v[0];return g-y}).forEach(function(p){var h=Te(p,2),m=h[1];f+=m}),f+=Gw(".".concat(G2,'{content:"').concat(cje(u),'";}'),void 0,void 0,ne({},G2,G2),i),f}var ir=function(){function e(t,n){Dr(this,e),ne(this,"name",void 0),ne(this,"style",void 0),ne(this,"_keyframe",!0),this.name=t,this.style=n}return Fr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Sje(e){if(typeof e=="number")return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i=[],a=0;return[r.reduce(function(o,s){if(s.includes("(")||s.includes(")")){var l=s.split("(").length-1,c=s.split(")").length-1;a+=l-c}return a>=0&&i.push(s),a===0&&(o.push(i.join(" ")),i=[]),o},[]),!!n]}function E1(e){return e.notSplit=!0,e}var Cje={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:E1(["borderTop","borderBottom"]),borderBlockStart:E1(["borderTop"]),borderBlockEnd:E1(["borderBottom"]),borderInline:E1(["borderLeft","borderRight"]),borderInlineStart:E1(["borderLeft"]),borderInlineEnd:E1(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function sS(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}var _je={visit:function(t){var n={};return Object.keys(t).forEach(function(r){var i=t[r],a=Cje[r];if(a&&(typeof i=="number"||typeof i=="string")){var o=Sje(i),s=Te(o,2),l=s[0],c=s[1];a.length&&a.notSplit?a.forEach(function(u){n[u]=sS(i,c)}):a.length===1?n[a[0]]=sS(l[0],c):a.length===2?a.forEach(function(u,f){var p;n[u]=sS((p=l[f])!==null&&p!==void 0?p:l[0],c)}):a.length===4?a.forEach(function(u,f){var p,h;n[u]=sS((p=(h=l[f])!==null&&h!==void 0?h:l[f-2])!==null&&p!==void 0?p:l[0],c)}):n[r]=i}else n[r]=i}),n}},d9=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function kje(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var Eje=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.rootValue,r=n===void 0?16:n,i=t.precision,a=i===void 0?5:i,o=t.mediaQuery,s=o===void 0?!1:o,l=function(f,p){if(!p)return f;var h=parseFloat(p);if(h<=1)return f;var m=kje(h/r,a);return"".concat(m,"rem")},c=function(f){var p=q({},f);return Object.entries(f).forEach(function(h){var m=Te(h,2),g=m[0],v=m[1];if(typeof v=="string"&&v.includes("px")){var y=v.replace(d9,l);p[g]=y}!Gde[g]&&typeof v=="number"&&v!==0&&(p[g]="".concat(v,"px").replace(d9,l));var b=g.trim();if(b.startsWith("@")&&b.includes("px")&&s){var w=g.replace(d9,l);p[w]=p[g],delete p[g]}}),p};return{visit:c}},$je={supportModernCSS:function(){return SRe()&&CRe()}};const Mje=Object.freeze(Object.defineProperty({__proto__:null,Keyframes:ir,NaNLinter:sje,StyleProvider:hRe,Theme:TL,_experimental:$je,createCache:$L,createTheme:fg,extractStyle:xje,genCalc:yRe,getComputedToken:OL,legacyLogicalPropertiesTransformer:_je,legacyNotSelectorLinter:aje,logicalPropertiesLinter:oje,parentSelectorLinter:lje,px2remTransformer:Eje,token2CSSVar:K2,unit:Me,useCSSVarRegister:sfe,useCacheToken:IL,useStyleRegister:Zw},Symbol.toStringTag,{value:"Module"}));var VE=d.createContext({});function NL(e){return Nde(e)||Ode(e)||zE(e)||Ade()}function Ds(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ds(e,t.slice(0,-1))?e:lfe(e,t,n,r)}function Tje(e){return Kt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function XK(e){return Array.isArray(e)?[]:{}}var Pje=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function hv(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=Oje,e},cfe=d.createContext(void 0);var ufe={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},dfe={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Rje=q(q({},dfe),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const ffe={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},zk={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Rje),timePickerLocale:Object.assign({},ffe)},rl="${label} is not a valid ${type}",Us={locale:"en",Pagination:ufe,DatePicker:zk,TimePicker:ffe,Calendar:zk,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:rl,method:rl,array:rl,object:rl,number:rl,date:rl,boolean:rl,integer:rl,float:rl,regexp:rl,email:rl,url:rl,hex:rl},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let YC=Object.assign({},Us.Modal),XC=[];const ZK=()=>XC.reduce((e,t)=>Object.assign(Object.assign({},e),t),Us.Modal);function jje(e){if(e){const t=Object.assign({},e);return XC.push(t),YC=ZK(),()=>{XC=XC.filter(n=>n!==t),YC=ZK()}}YC=Object.assign({},Us.Modal)}function pfe(){return YC}const AL=d.createContext(void 0),Xa=(e,t)=>{const n=d.useContext(AL),r=d.useMemo(()=>{var a;const o=t||Us[e],s=(a=n==null?void 0:n[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),s||{})},[e,t,n]),i=d.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?Us.locale:a},[n]);return[r,i]},Nje="internalMark",Aje=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;d.useEffect(()=>jje(t==null?void 0:t.Modal),[t]);const i=d.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return d.createElement(AL.Provider,{value:i},n)},Qa=Math.round;function f9(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)r[i]=t(r[i]||0,n[i]||"",i);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const QK=(e,t,n)=>n===0?e:e/100;function Pb(e,t){const n=t||255;return e>n?n:e<0?0:e}class dr{constructor(t){ne(this,"isValid",!0),ne(this,"r",0),ne(this,"g",0),ne(this,"b",0),ne(this,"a",1),ne(this,"_h",void 0),ne(this,"_s",void 0),ne(this,"_l",void 0),ne(this,"_v",void 0),ne(this,"_max",void 0),ne(this,"_min",void 0),ne(this,"_brightness",void 0);function n(i){return i[0]in t&&i[1]in t&&i[2]in t}if(t)if(typeof t=="string"){let a=function(o){return i.startsWith(o)};var r=a;const i=t.trim();/^#?[A-F\d]{3,8}$/i.test(i)?this.fromHexString(i):a("rgb")?this.fromRgbString(i):a("hsl")?this.fromHslString(i):(a("hsv")||a("hsb"))&&this.fromHsvString(i)}else if(t instanceof dr)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Pb(t.r),this.g=Pb(t.g),this.b=Pb(t.b),this.a=typeof t.a=="number"?Pb(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(a){const o=a/255;return o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),i=t(this.b);return .2126*n+.7152*r+.0722*i}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Qa(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()-t/100;return i<0&&(i=0),this._c({h:n,s:r,l:i,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()+t/100;return i>1&&(i=1),this._c({h:n,s:r,l:i,a:this.a})}mix(t,n=50){const r=this._c(t),i=n/100,a=s=>(r[s]-this[s])*i+this[s],o={r:Qa(a("r")),g:Qa(a("g")),b:Qa(a("b")),a:Qa(a("a")*100)/100};return this._c(o)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),i=a=>Qa((this[a]*this.a+n[a]*n.a*(1-this.a))/r);return this._c({r:i("r"),g:i("g"),b:i("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const i=(this.b||0).toString(16);if(t+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=Qa(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=Qa(this.getSaturation()*100),r=Qa(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const i=this.clone();return i[t]=Pb(n,r),i}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(i,a){return parseInt(n[i]+n[a||i],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:i}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof i=="number"?i:1,n<=0){const p=Qa(r*255);this.r=p,this.g=p,this.b=p}let a=0,o=0,s=0;const l=t/60,c=(1-Math.abs(2*r-1))*n,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(a=c,o=u):l>=1&&l<2?(a=u,o=c):l>=2&&l<3?(o=c,s=u):l>=3&&l<4?(o=u,s=c):l>=4&&l<5?(a=u,s=c):l>=5&&l<6&&(a=c,s=u);const f=r-c/2;this.r=Qa((a+f)*255),this.g=Qa((o+f)*255),this.b=Qa((s+f)*255)}fromHsv({h:t,s:n,v:r,a:i}){this._h=t%360,this._s=n,this._v=r,this.a=typeof i=="number"?i:1;const a=Qa(r*255);if(this.r=a,this.g=a,this.b=a,n<=0)return;const o=t/60,s=Math.floor(o),l=o-s,c=Qa(r*(1-n)*255),u=Qa(r*(1-n*l)*255),f=Qa(r*(1-n*(1-l))*255);switch(s){case 0:this.g=f,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=u;break;case 4:this.r=f,this.g=c;break;case 5:default:this.g=c,this.b=u;break}}fromHsvString(t){const n=f9(t,QK);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=f9(t,QK);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=f9(t,(r,i)=>i.includes("%")?Qa(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const Dje=Object.freeze(Object.defineProperty({__proto__:null,FastColor:dr},Symbol.toStringTag,{value:"Module"}));var lS=2,JK=.16,Fje=.05,Lje=.05,Bje=.15,hfe=5,mfe=4,zje=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function eG(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-lS*t:Math.round(e.h)+lS*t:r=n?Math.round(e.h)+lS*t:Math.round(e.h)-lS*t,r<0?r+=360:r>=360&&(r-=360),r}function tG(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-JK*t:t===mfe?r=e.s+JK:r=e.s+Fje*t,r>1&&(r=1),n&&t===hfe&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function nG(e,t,n){var r;return n?r=e.v+Lje*t:r=e.v-Bje*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function ch(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new dr(e),i=r.toHsv(),a=hfe;a>0;a-=1){var o=new dr({h:eG(i,a,!0),s:tG(i,a,!0),v:nG(i,a,!0)});n.push(o)}n.push(r);for(var s=1;s<=mfe;s+=1){var l=new dr({h:eG(i,s),s:tG(i,s),v:nG(i,s)});n.push(l)}return t.theme==="dark"?zje.map(function(c){var u=c.index,f=c.amount;return new dr(t.backgroundColor||"#141414").mix(n[u],f).toHexString()}):n.map(function(c){return c.toHexString()})}var Wm={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Hk=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Hk.primary=Hk[5];var Uk=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Uk.primary=Uk[5];var Wk=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Wk.primary=Wk[5];var Qw=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Qw.primary=Qw[5];var Vk=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Vk.primary=Vk[5];var qk=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];qk.primary=qk[5];var Kk=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Kk.primary=Kk[5];var Gk=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Gk.primary=Gk[5];var pg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];pg.primary=pg[5];var Yk=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Yk.primary=Yk[5];var Xk=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Xk.primary=Xk[5];var Zk=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Zk.primary=Zk[5];var Jw=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Jw.primary=Jw[5];var Hje=Jw,ZC={red:Hk,volcano:Uk,orange:Wk,gold:Qw,yellow:Vk,lime:qk,green:Kk,cyan:Gk,blue:pg,geekblue:Yk,purple:Xk,magenta:Zk,grey:Jw},Qk=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Qk.primary=Qk[5];var Jk=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Jk.primary=Jk[5];var e6=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];e6.primary=e6[5];var t6=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];t6.primary=t6[5];var n6=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];n6.primary=n6[5];var r6=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];r6.primary=r6[5];var i6=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];i6.primary=i6[5];var a6=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];a6.primary=a6[5];var o6=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];o6.primary=o6[5];var s6=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];s6.primary=s6[5];var l6=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];l6.primary=l6[5];var c6=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];c6.primary=c6[5];var u6=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];u6.primary=u6[5];var Uje={red:Qk,volcano:Jk,orange:e6,gold:t6,yellow:n6,lime:r6,green:i6,cyan:a6,blue:o6,geekblue:s6,purple:l6,magenta:c6,grey:u6};const Wje=Object.freeze(Object.defineProperty({__proto__:null,blue:pg,blueDark:o6,cyan:Gk,cyanDark:a6,geekblue:Yk,geekblueDark:s6,generate:ch,gold:Qw,goldDark:t6,gray:Hje,green:Kk,greenDark:i6,grey:Jw,greyDark:u6,lime:qk,limeDark:r6,magenta:Zk,magentaDark:c6,orange:Wk,orangeDark:e6,presetDarkPalettes:Uje,presetPalettes:ZC,presetPrimaryColors:Wm,purple:Xk,purpleDark:l6,red:Hk,redDark:Qk,volcano:Uk,volcanoDark:Jk,yellow:Vk,yellowDark:n6},Symbol.toStringTag,{value:"Module"})),DL={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},E0=Object.assign(Object.assign({},DL),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
+ */var SL=Symbol.for("react.element"),CL=Symbol.for("react.portal"),PE=Symbol.for("react.fragment"),OE=Symbol.for("react.strict_mode"),RE=Symbol.for("react.profiler"),IE=Symbol.for("react.provider"),jE=Symbol.for("react.context"),ERe=Symbol.for("react.server_context"),NE=Symbol.for("react.forward_ref"),AE=Symbol.for("react.suspense"),DE=Symbol.for("react.suspense_list"),FE=Symbol.for("react.memo"),LE=Symbol.for("react.lazy"),$Re=Symbol.for("react.offscreen"),Ede;Ede=Symbol.for("react.module.reference");function Ec(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case SL:switch(e=e.type,e){case PE:case RE:case OE:case AE:case DE:return e;default:switch(e=e&&e.$$typeof,e){case ERe:case jE:case NE:case LE:case FE:case IE:return e;default:return t}}case CL:return t}}}di.ContextConsumer=jE;di.ContextProvider=IE;di.Element=SL;di.ForwardRef=NE;di.Fragment=PE;di.Lazy=LE;di.Memo=FE;di.Portal=CL;di.Profiler=RE;di.StrictMode=OE;di.Suspense=AE;di.SuspenseList=DE;di.isAsyncMode=function(){return!1};di.isConcurrentMode=function(){return!1};di.isContextConsumer=function(e){return Ec(e)===jE};di.isContextProvider=function(e){return Ec(e)===IE};di.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===SL};di.isForwardRef=function(e){return Ec(e)===NE};di.isFragment=function(e){return Ec(e)===PE};di.isLazy=function(e){return Ec(e)===LE};di.isMemo=function(e){return Ec(e)===FE};di.isPortal=function(e){return Ec(e)===CL};di.isProfiler=function(e){return Ec(e)===RE};di.isStrictMode=function(e){return Ec(e)===OE};di.isSuspense=function(e){return Ec(e)===AE};di.isSuspenseList=function(e){return Ec(e)===DE};di.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===PE||e===RE||e===OE||e===AE||e===DE||e===$Re||typeof e=="object"&&e!==null&&(e.$$typeof===LE||e.$$typeof===FE||e.$$typeof===IE||e.$$typeof===jE||e.$$typeof===NE||e.$$typeof===Ede||e.getModuleId!==void 0)};di.typeOf=Ec;kde.exports=di;var nh=kde.exports;function dg(e,t,n){var r=d.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var _L=function(t,n){typeof t=="function"?t(n):Kt(t)==="object"&&t&&"current"in t&&(t.current=n)},ga=function(){for(var t=arguments.length,n=new Array(t),r=0;r0},e.prototype.connect_=function(){!ZI||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),NRe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!ZI||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=jRe.some(function(a){return!!~r.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Mde=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof C0(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new WRe(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof C0(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new VRe(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Pde=typeof WeakMap<"u"?new WeakMap:new $de,Ode=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ARe.getInstance(),r=new qRe(t,n,this);Pde.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Ode.prototype[e]=function(){var t;return(t=Pde.get(this))[e].apply(t,arguments)}});var Rde=function(){return typeof Lk.ResizeObserver<"u"?Lk.ResizeObserver:Ode}(),Dp=new Map;function KRe(e){e.forEach(function(t){var n,r=t.target;(n=Dp.get(r))===null||n===void 0||n.forEach(function(i){return i(r)})})}var Ide=new Rde(KRe);function GRe(e,t){Dp.has(e)||(Dp.set(e,new Set),Ide.observe(e)),Dp.get(e).add(t)}function YRe(e,t){Dp.has(e)&&(Dp.get(e).delete(t),Dp.get(e).size||(Ide.unobserve(e),Dp.delete(e)))}function Ar(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BK(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;zK+=1;var r=zK;function i(a){if(a===0)Fde(r),t();else{var o=Ade(function(){i(a-1)});EL.set(r,o)}}return i(n),r};rr.cancel=function(e){var t=EL.get(e);return Fde(e),Dde(t)};function Lde(e){if(Array.isArray(e))return e}function rIe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}function Bde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(e,t){return Lde(e)||rIe(e,t)||HE(e,t)||Bde()}function Gw(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function wy(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function iIe(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var HK="data-rc-order",UK="data-rc-priority",aIe="rc-util-key",JI=new Map;function zde(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):aIe}function UE(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function oIe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function $L(e){return Array.from((JI.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Hde(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!wy())return null;var n=t.csp,r=t.prepend,i=t.priority,a=i===void 0?0:i,o=oIe(r),s=o==="prependQueue",l=document.createElement("style");l.setAttribute(HK,o),s&&a&&l.setAttribute(UK,"".concat(a)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=UE(t),u=c.firstChild;if(r){if(s){var f=(t.styles||$L(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(HK)))return!1;var h=Number(p.getAttribute(UK)||0);return a>=h});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function Ude(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=UE(t);return(t.styles||$L(n)).find(function(r){return r.getAttribute(zde(t))===e})}function ML(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ude(e,t);if(n){var r=UE(t);r.removeChild(n)}}function sIe(e,t){var n=JI.get(e);if(!n||!iIe(document,n)){var r=Hde("",t),i=r.parentNode;JI.set(e,i),e.removeChild(r)}}function Ov(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=UE(n),i=$L(r),a=q(q({},n),{},{styles:i});sIe(r,a);var o=Ude(t,a);if(o){var s,l;if((s=a.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((l=a.csp)===null||l===void 0?void 0:l.nonce)){var c;o.nonce=(c=a.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var u=Hde(e,a);return u.setAttribute(zde(a),t),u}function lIe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Ht(e,t){if(e==null)return{};var n,r,i=lIe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(a,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(m4(!l,"Warning: There may be circular references"),l)return!1;if(a===o)return!0;if(n&&s>1)return!1;r.add(a);var c=s+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(var u=0;u1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(s){if(!o)o=void 0;else{var l;o=(l=o)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=o)!==null&&r!==void 0&&r.value&&a&&(o.value[1]=this.cacheCallTimes++),(i=o)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(c,u){var f=Te(c,2),p=f[1];return i.internalGet(u)[1]0,void 0),VK+=1}return Dr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),e}(),c9=new PL;function pg(e){var t=Array.isArray(e)?e:[e];return c9.has(t)||c9.set(t,new OL(t)),c9.get(t)}var SIe=new WeakMap,u9={};function CIe(e,t){for(var n=SIe,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return e;var o=q(q({},i),{},(r={},ne(r,_0,t),ne(r,ou,n),r)),s=Object.keys(o).map(function(l){var c=o[l];return c?"".concat(l,'="').concat(c,'"'):null}).filter(function(l){return l}).join(" ");return"")}var K2=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},EIe=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(i){var a=Te(i,2),o=a[0],s=a[1];return"".concat(o,":").concat(s,";")}).join(""),"}"):""},Xde=function(t,n,r){var i={},a={};return Object.entries(t).forEach(function(o){var s,l,c=Te(o,2),u=c[0],f=c[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[u])a[u]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[u])){var p,h=K2(u,r==null?void 0:r.prefix);i[h]=typeof f=="number"&&!(r!=null&&(p=r.unitless)!==null&&p!==void 0&&p[u])?"".concat(f,"px"):String(f),a[u]="var(".concat(h,")")}}),[a,EIe(i,n,{scope:r==null?void 0:r.scope})]},GK=wy()?d.useLayoutEffect:d.useEffect,$Ie=function(t,n){var r=d.useRef(!0);GK(function(){return t(r.current)},n),GK(function(){return r.current=!1,function(){r.current=!0}},[])},MIe=q({},Jm),YK=MIe.useInsertionEffect,TIe=function(t,n,r){d.useMemo(t,r),$Ie(function(){return n(!0)},r)},PIe=YK?function(e,t,n){return YK(function(){return e(),t()},n)}:TIe,OIe=q({},Jm),RIe=OIe.useInsertionEffect,IIe=function(t){var n=[],r=!1;function i(a){r||n.push(a)}return d.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},t),i},jIe=function(){return function(t){t()}},NIe=typeof RIe<"u"?IIe:jIe;function RL(e,t,n,r,i){var a=d.useContext(k0),o=a.cache,s=[e].concat(lt(t)),l=tj(s),c=NIe([l]),u=function(m){o.opUpdate(l,function(g){var v=g||[void 0,void 0],y=Te(v,2),w=y[0],b=w===void 0?0:w,C=y[1],k=C,S=k||n(),_=[b,S];return m?m(_):_})};d.useMemo(function(){u()},[l]);var f=o.opGet(l),p=f[1];return PIe(function(){i==null||i(p)},function(h){return u(function(m){var g=Te(m,2),v=g[0],y=g[1];return h&&v===0&&(i==null||i(p)),[v+1,y]}),function(){o.opUpdate(l,function(m){var g=m||[],v=Te(g,2),y=v[0],w=y===void 0?0:y,b=v[1],C=w-1;return C===0?(c(function(){(h||!o.opGet(l))&&(r==null||r(b,!1))}),null):[w-1,b]})}},[l]),p}var AIe={},DIe="css",sm=new Map;function FIe(e){sm.set(e,(sm.get(e)||0)+1)}function LIe(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(_0,'="').concat(e,'"]'));n.forEach(function(r){if(r[Fp]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var BIe=0;function zIe(e,t){sm.set(e,(sm.get(e)||0)-1);var n=Array.from(sm.keys()),r=n.filter(function(i){var a=sm.get(i)||0;return a<=0});n.length-r.length>BIe&&r.forEach(function(i){LIe(i,t),sm.delete(i)})}var IL=function(t,n,r,i){var a=r.getDerivativeToken(t),o=q(q({},a),n);return i&&(o=i(o)),o},Zde="token";function jL(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=d.useContext(k0),i=r.cache.instanceId,a=r.container,o=n.salt,s=o===void 0?"":o,l=n.override,c=l===void 0?AIe:l,u=n.formatToken,f=n.getComputedToken,p=n.cssVar,h=CIe(function(){return Object.assign.apply(Object,[{}].concat(lt(t)))},t),m=q2(h),g=q2(c),v=p?q2(p):"",y=RL(Zde,[s,e.id,m,g,v],function(){var w,b=f?f(h,c,e):IL(h,c,e,u),C=q({},b),k="";if(p){var S=Xde(b,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),_=Te(S,2);b=_[0],k=_[1]}var E=KK(b,s);b._tokenKey=E,C._tokenKey=KK(C,s);var $=(w=p==null?void 0:p.key)!==null&&w!==void 0?w:E;b._themeKey=$,FIe($);var M="".concat(DIe,"-").concat(Gw(E));return b._hashId=M,[b,M,C,k,(p==null?void 0:p.key)||""]},function(w){zIe(w[0]._themeKey,i)},function(w){var b=Te(w,4),C=b[0],k=b[3];if(p&&k){var S=Ov(k,Gw("css-variables-".concat(C._themeKey)),{mark:ou,prepend:"queue",attachTo:a,priority:-999});S[Fp]=i,S.setAttribute(_0,C._themeKey)}});return y}var HIe=function(t,n,r){var i=Te(t,5),a=i[2],o=i[3],s=i[4],l=r||{},c=l.plain;if(!o)return null;var u=a._tokenKey,f=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},h=Yw(o,s,u,p,c);return[f,u,h]},Qde={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jde="comm",efe="rule",tfe="decl",UIe="@import",WIe="@keyframes",VIe="@layer",nfe=Math.abs,NL=String.fromCharCode;function rfe(e){return e.trim()}function KC(e,t,n){return e.replace(t,n)}function qIe(e,t,n){return e.indexOf(t,n)}function Xw(e,t){return e.charCodeAt(t)|0}function $0(e,t,n){return e.slice(t,n)}function Vu(e){return e.length}function KIe(e){return e.length}function lS(e,t){return t.push(e),e}var WE=1,M0=1,ife=0,vc=0,Oa=0,xy="";function AL(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:WE,column:M0,length:o,return:"",siblings:s}}function GIe(){return Oa}function YIe(){return Oa=vc>0?Xw(xy,--vc):0,M0--,Oa===10&&(M0=1,WE--),Oa}function su(){return Oa=vc2||Zw(Oa)>3?"":" "}function JIe(e,t){for(;--t&&su()&&!(Oa<48||Oa>102||Oa>57&&Oa<65||Oa>70&&Oa<97););return VE(e,GC()+(t<6&&Lp()==32&&su()==32))}function rj(e){for(;su();)switch(Oa){case e:return vc;case 34:case 39:e!==34&&e!==39&&rj(Oa);break;case 40:e===41&&rj(e);break;case 92:su();break}return vc}function eje(e,t){for(;su()&&e+Oa!==57;)if(e+Oa===84&&Lp()===47)break;return"/*"+VE(t,vc-1)+"*"+NL(e===47?e:su())}function tje(e){for(;!Zw(Lp());)su();return VE(e,vc)}function nje(e){return ZIe(YC("",null,null,null,[""],e=XIe(e),0,[0],e))}function YC(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,f=o,p=0,h=0,m=0,g=1,v=1,y=1,w=0,b="",C=i,k=a,S=r,_=b;v;)switch(m=w,w=su()){case 40:if(m!=108&&Xw(_,f-1)==58){qIe(_+=KC(p9(w),"&","&\f"),"&\f",nfe(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:_+=p9(w);break;case 9:case 10:case 13:case 32:_+=QIe(m);break;case 92:_+=JIe(GC()-1,7);continue;case 47:switch(Lp()){case 42:case 47:lS(rje(eje(su(),GC()),t,n,l),l),(Zw(m||1)==5||Zw(Lp()||1)==5)&&Vu(_)&&$0(_,-1,void 0)!==" "&&(_+=" ");break;default:_+="/"}break;case 123*g:s[c++]=Vu(_)*y;case 125*g:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+u:y==-1&&(_=KC(_,/\f/g,"")),h>0&&(Vu(_)-f||g===0&&m===47)&&lS(h>32?ZK(_+";",r,n,f-1,l):ZK(KC(_," ","")+";",r,n,f-2,l),l);break;case 59:_+=";";default:if(lS(S=XK(_,t,n,c,u,i,s,b,C=[],k=[],f,a),a),w===123)if(u===0)YC(_,t,S,S,C,a,f,s,k);else switch(p===99&&Xw(_,3)===110?100:p){case 100:case 108:case 109:case 115:YC(e,S,S,r&&lS(XK(e,S,S,0,0,i,s,b,i,C=[],f,k),k),i,k,f,s,r?C:k);break;default:YC(_,S,S,S,[""],k,0,s,k)}}c=u=h=0,g=y=1,b=_="",f=o;break;case 58:f=1+Vu(_),h=m;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&YIe()==125)continue}switch(_+=NL(w),w*g){case 38:y=u>0?1:(_+="\f",-1);break;case 44:s[c++]=(Vu(_)-1)*y,y=1;break;case 64:Lp()===45&&(_+=p9(su())),p=Lp(),u=f=Vu(b=_+=tje(GC())),w++;break;case 45:m===45&&Vu(_)==2&&(g=0)}}return a}function XK(e,t,n,r,i,a,o,s,l,c,u,f){for(var p=i-1,h=i===0?a:[""],m=KIe(h),g=0,v=0,y=0;g0?h[w]+" "+b:KC(b,/&\f/g,h[w])))&&(l[y++]=C);return AL(e,t,n,i===0?efe:s,l,c,u,f)}function rje(e,t,n,r){return AL(e,t,n,Jde,NL(GIe()),$0(e,2,-2),0,r)}function ZK(e,t,n,r,i){return AL(e,t,n,tfe,$0(e,0,r),$0(e,r+1,-1),r,i)}function ij(e,t){for(var n="",r=0;r1}function oje(e){return e.parentSelectors.reduce(function(t,n){return t?n.includes("&")?n.replace(/&/g,t):"".concat(t," ").concat(n):n},"")}var sje=function(t,n,r){var i=oje(r),a=i.match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(aje)&&Sm("Concat ':not' selector not support in legacy browsers.",r)},lje=function(t,n,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Sm("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof n=="string"){var i=n.split(" ").map(function(s){return s.trim()});i.length===4&&i[1]!==i[3]&&Sm("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":(n==="left"||n==="right")&&Sm("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":if(typeof n=="string"){var a=n.split("/").map(function(s){return s.trim()}),o=a.reduce(function(s,l){if(s)return s;var c=l.split(" ").map(function(u){return u.trim()});return c.length>=2&&c[0]!==c[1]||c.length===3&&c[1]!==c[2]||c.length===4&&c[2]!==c[3]?!0:s},!1);o&&Sm("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return}},cje=function(t,n,r){(typeof n=="string"&&/NaN/g.test(n)||Number.isNaN(n))&&Sm("Unexpected 'NaN' in property '".concat(t,": ").concat(n,"'."),r)},uje=function(t,n,r){r.parentSelectors.some(function(i){var a=i.split(",");return a.some(function(o){return o.split("&").length>2})})&&Sm("Should not use more than one `&` in a selector.",r)},G2="data-ant-cssinjs-cache-path",afe="_FILE_STYLE__";function dje(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var Wm,ofe=!0;function fje(){if(!Wm&&(Wm={},wy())){var e=document.createElement("div");e.className=G2,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(i){var a=i.split(":"),o=Te(a,2),s=o[0],l=o[1];Wm[s]=l});var n=document.querySelector("style[".concat(G2,"]"));if(n){var r;ofe=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function pje(e){return fje(),!!Wm[e]}function hje(e){var t=Wm[e],n=null;if(t&&wy())if(ofe)n=afe;else{var r=document.querySelector("style[".concat(ou,'="').concat(Wm[e],'"]'));r?n=r.innerHTML:delete Wm[e]}return[n,t]}var mje="_skip_check_",sfe="_multi_value_";function XC(e){var t=ij(nje(e),ije);return t.replace(/\{%%%\:[^;];}/g,";")}function gje(e){return Kt(e)==="object"&&e&&(mje in e||sfe in e)}function QK(e,t,n){if(!t)return e;var r=".".concat(t),i=n==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(o){var s,l=o.trim().split(/\s+/),c=l[0]||"",u=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(u).concat(i).concat(c.slice(u.length)),[c].concat(lt(l.slice(1))).join(" ")});return a.join(",")}var vje=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,a=r.injectHash,o=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var c=n.hashPriority,u=n.transformers,f=u===void 0?[]:u;n.linters;var p="",h={};function m(y){var w=y.getName(s);if(!h[w]){var b=e(y.style,n,{root:!1,parentSelectors:o}),C=Te(b,1),k=C[0];h[w]="@keyframes ".concat(y.getName(s)).concat(k)}}function g(y){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(b){Array.isArray(b)?g(b,w):b&&w.push(b)}),w}var v=g(Array.isArray(t)?t:[t]);return v.forEach(function(y){var w=typeof y=="string"&&!i?{}:y;if(typeof w=="string")p+="".concat(w,`
+`);else if(w._keyframe)m(w);else{var b=f.reduce(function(C,k){var S;return(k==null||(S=k.visit)===null||S===void 0?void 0:S.call(k,C))||C},w);Object.keys(b).forEach(function(C){var k=b[C];if(Kt(k)==="object"&&k&&(C!=="animationName"||!k._keyframe)&&!gje(k)){var S=!1,_=C.trim(),E=!1;(i||a)&&s?_.startsWith("@")?S=!0:_==="&"?_=QK("",s,c):_=QK(C,s,c):i&&!s&&(_==="&"||_==="")&&(_="",E=!0);var $=e(k,n,{root:E,injectHash:S,parentSelectors:[].concat(lt(o),[_])}),M=Te($,2),P=M[0],R=M[1];h=q(q({},h),R),p+="".concat(_).concat(P)}else{let I=function(A,N){var F=A.replace(/[A-Z]/g,function(L){return"-".concat(L.toLowerCase())}),K=N;!Qde[A]&&typeof K=="number"&&K!==0&&(K="".concat(K,"px")),A==="animationName"&&N!==null&&N!==void 0&&N._keyframe&&(m(N),K=N.getName(s)),p+="".concat(F,":").concat(K,";")};var O,j=(O=k==null?void 0:k.value)!==null&&O!==void 0?O:k;Kt(k)==="object"&&k!==null&&k!==void 0&&k[sfe]&&Array.isArray(j)?j.forEach(function(A){I(C,A)}):I(C,j)}})}}),i?l&&(p="@layer ".concat(l.name," {").concat(p,"}"),l.dependencies&&(h["@layer ".concat(l.name)]=l.dependencies.map(function(y){return"@layer ".concat(y,", ").concat(l.name,";")}).join(`
+`))):p="{".concat(p,"}"),[p,h]};function lfe(e,t){return Gw("".concat(e.join("%")).concat(t))}function yje(){return null}var cfe="style";function Qw(e,t){var n=e.token,r=e.path,i=e.hashId,a=e.layer,o=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=d.useContext(k0),f=u.autoClear;u.mock;var p=u.defaultCache,h=u.hashPriority,m=u.container,g=u.ssrInline,v=u.transformers,y=u.linters,w=u.cache,b=u.layer,C=n._tokenKey,k=[C];b&&k.push("layer"),k.push.apply(k,lt(r));var S=nj,_=RL(cfe,k,function(){var R=k.join("|");if(pje(R)){var O=hje(R),j=Te(O,2),I=j[0],A=j[1];if(I)return[I,C,A,{},s,c]}var N=t(),F=vje(N,{hashId:i,hashPriority:h,layer:b?a:void 0,path:r.join("-"),transformers:v,linters:y}),K=Te(F,2),L=K[0],V=K[1],B=XC(L),U=lfe(k,B);return[B,C,U,V,s,c]},function(R,O){var j=Te(R,3),I=j[2];(O||f)&&nj&&ML(I,{mark:ou})},function(R){var O=Te(R,4),j=O[0];O[1];var I=O[2],A=O[3];if(S&&j!==afe){var N={mark:ou,prepend:b?!1:"queue",attachTo:m,priority:c},F=typeof o=="function"?o():o;F&&(N.csp={nonce:F});var K=[],L=[];Object.keys(A).forEach(function(B){B.startsWith("@layer")?K.push(B):L.push(B)}),K.forEach(function(B){Ov(XC(A[B]),"_layer-".concat(B),q(q({},N),{},{prepend:!0}))});var V=Ov(j,I,N);V[Fp]=w.instanceId,V.setAttribute(_0,C),L.forEach(function(B){Ov(XC(A[B]),"_effect-".concat(B),N)})}}),E=Te(_,3),$=E[0],M=E[1],P=E[2];return function(R){var O;if(!g||S||!p)O=d.createElement(yje,null);else{var j;O=d.createElement("style",tt({},(j={},ne(j,_0,M),ne(j,ou,P),j),{dangerouslySetInnerHTML:{__html:$}}))}return d.createElement(d.Fragment,null,O,R)}}var bje=function(t,n,r){var i=Te(t,6),a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=i[5],f=r||{},p=f.plain;if(c)return null;var h=a,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=Yw(a,o,s,m,p),l&&Object.keys(l).forEach(function(g){if(!n[g]){n[g]=!0;var v=XC(l[g]),y=Yw(v,o,"_effect-".concat(g),m,p);g.startsWith("@layer")?h=y+h:h+=y}}),[u,s,h]},ufe="cssVar",dfe=function(t,n){var r=t.key,i=t.prefix,a=t.unitless,o=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=d.useContext(k0),f=u.cache.instanceId,p=u.container,h=s._tokenKey,m=[].concat(lt(t.path),[r,c,h]),g=RL(ufe,m,function(){var v=n(),y=Xde(v,r,{prefix:i,unitless:a,ignore:o,scope:c}),w=Te(y,2),b=w[0],C=w[1],k=lfe(m,C);return[b,C,k,r]},function(v){var y=Te(v,3),w=y[2];nj&&ML(w,{mark:ou})},function(v){var y=Te(v,3),w=y[1],b=y[2];if(w){var C=Ov(w,b,{mark:ou,prepend:"queue",attachTo:p,priority:-999});C[Fp]=f,C.setAttribute(_0,r)}});return g},wje=function(t,n,r){var i=Te(t,4),a=i[1],o=i[2],s=i[3],l=r||{},c=l.plain;if(!a)return null;var u=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},p=Yw(a,s,o,f,c);return[u,o,p]},Pb,xje=(Pb={},ne(Pb,cfe,bje),ne(Pb,Zde,HIe),ne(Pb,ufe,wje),Pb);function Sje(e){return e!==null}function Cje(e,t){var n=typeof t=="boolean"?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,a=n.types,o=a===void 0?["style","token","cssVar"]:a,s=new RegExp("^(".concat((typeof o=="string"?[o]:o).join("|"),")%")),l=Array.from(e.cache.keys()).filter(function(p){return s.test(p)}),c={},u={},f="";return l.map(function(p){var h=p.replace(s,"").replace(/%/g,"|"),m=p.split("%"),g=Te(m,1),v=g[0],y=xje[v],w=y(e.cache.get(p)[1],c,{plain:i});if(!w)return null;var b=Te(w,3),C=b[0],k=b[1],S=b[2];return p.startsWith("style")&&(u[h]=k),[C,S]}).filter(Sje).sort(function(p,h){var m=Te(p,1),g=m[0],v=Te(h,1),y=v[0];return g-y}).forEach(function(p){var h=Te(p,2),m=h[1];f+=m}),f+=Yw(".".concat(G2,'{content:"').concat(dje(u),'";}'),void 0,void 0,ne({},G2,G2),i),f}var ir=function(){function e(t,n){Ar(this,e),ne(this,"name",void 0),ne(this,"style",void 0),ne(this,"_keyframe",!0),this.name=t,this.style=n}return Dr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function _je(e){if(typeof e=="number")return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i=[],a=0;return[r.reduce(function(o,s){if(s.includes("(")||s.includes(")")){var l=s.split("(").length-1,c=s.split(")").length-1;a+=l-c}return a>=0&&i.push(s),a===0&&(o.push(i.join(" ")),i=[]),o},[]),!!n]}function $1(e){return e.notSplit=!0,e}var kje={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:$1(["borderTop","borderBottom"]),borderBlockStart:$1(["borderTop"]),borderBlockEnd:$1(["borderBottom"]),borderInline:$1(["borderLeft","borderRight"]),borderInlineStart:$1(["borderLeft"]),borderInlineEnd:$1(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function cS(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}var Eje={visit:function(t){var n={};return Object.keys(t).forEach(function(r){var i=t[r],a=kje[r];if(a&&(typeof i=="number"||typeof i=="string")){var o=_je(i),s=Te(o,2),l=s[0],c=s[1];a.length&&a.notSplit?a.forEach(function(u){n[u]=cS(i,c)}):a.length===1?n[a[0]]=cS(l[0],c):a.length===2?a.forEach(function(u,f){var p;n[u]=cS((p=l[f])!==null&&p!==void 0?p:l[0],c)}):a.length===4?a.forEach(function(u,f){var p,h;n[u]=cS((p=(h=l[f])!==null&&h!==void 0?h:l[f-2])!==null&&p!==void 0?p:l[0],c)}):n[r]=i}else n[r]=i}),n}},h9=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function $je(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var Mje=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.rootValue,r=n===void 0?16:n,i=t.precision,a=i===void 0?5:i,o=t.mediaQuery,s=o===void 0?!1:o,l=function(f,p){if(!p)return f;var h=parseFloat(p);if(h<=1)return f;var m=$je(h/r,a);return"".concat(m,"rem")},c=function(f){var p=q({},f);return Object.entries(f).forEach(function(h){var m=Te(h,2),g=m[0],v=m[1];if(typeof v=="string"&&v.includes("px")){var y=v.replace(h9,l);p[g]=y}!Qde[g]&&typeof v=="number"&&v!==0&&(p[g]="".concat(v,"px").replace(h9,l));var w=g.trim();if(w.startsWith("@")&&w.includes("px")&&s){var b=g.replace(h9,l);p[b]=p[g],delete p[g]}}),p};return{visit:c}},Tje={supportModernCSS:function(){return _Ie()&&kIe()}};const Pje=Object.freeze(Object.defineProperty({__proto__:null,Keyframes:ir,NaNLinter:cje,StyleProvider:gIe,Theme:OL,_experimental:Tje,createCache:TL,createTheme:pg,extractStyle:Cje,genCalc:wIe,getComputedToken:IL,legacyLogicalPropertiesTransformer:Eje,legacyNotSelectorLinter:sje,logicalPropertiesLinter:lje,parentSelectorLinter:uje,px2remTransformer:Mje,token2CSSVar:K2,unit:Me,useCSSVarRegister:dfe,useCacheToken:jL,useStyleRegister:Qw},Symbol.toStringTag,{value:"Module"}));var qE=d.createContext({});function DL(e){return Lde(e)||Nde(e)||HE(e)||Bde()}function Ds(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ds(e,t.slice(0,-1))?e:ffe(e,t,n,r)}function Oje(e){return Kt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function JK(e){return Array.isArray(e)?[]:{}}var Rje=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function gv(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=Ije,e},pfe=d.createContext(void 0);var hfe={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},mfe={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Nje=q(q({},mfe),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const gfe={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Hk={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Nje),timePickerLocale:Object.assign({},gfe)},rl="${label} is not a valid ${type}",Us={locale:"en",Pagination:hfe,DatePicker:Hk,TimePicker:gfe,Calendar:Hk,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:rl,method:rl,array:rl,object:rl,number:rl,date:rl,boolean:rl,integer:rl,float:rl,regexp:rl,email:rl,url:rl,hex:rl},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let ZC=Object.assign({},Us.Modal),QC=[];const eG=()=>QC.reduce((e,t)=>Object.assign(Object.assign({},e),t),Us.Modal);function Aje(e){if(e){const t=Object.assign({},e);return QC.push(t),ZC=eG(),()=>{QC=QC.filter(n=>n!==t),ZC=eG()}}ZC=Object.assign({},Us.Modal)}function vfe(){return ZC}const FL=d.createContext(void 0),Ga=(e,t)=>{const n=d.useContext(FL),r=d.useMemo(()=>{var a;const o=t||Us[e],s=(a=n==null?void 0:n[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),s||{})},[e,t,n]),i=d.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?Us.locale:a},[n]);return[r,i]},Dje="internalMark",Fje=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;d.useEffect(()=>Aje(t==null?void 0:t.Modal),[t]);const i=d.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return d.createElement(FL.Provider,{value:i},n)},Xa=Math.round;function m9(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)r[i]=t(r[i]||0,n[i]||"",i);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const tG=(e,t,n)=>n===0?e:e/100;function Ob(e,t){const n=t||255;return e>n?n:e<0?0:e}class ur{constructor(t){ne(this,"isValid",!0),ne(this,"r",0),ne(this,"g",0),ne(this,"b",0),ne(this,"a",1),ne(this,"_h",void 0),ne(this,"_s",void 0),ne(this,"_l",void 0),ne(this,"_v",void 0),ne(this,"_max",void 0),ne(this,"_min",void 0),ne(this,"_brightness",void 0);function n(i){return i[0]in t&&i[1]in t&&i[2]in t}if(t)if(typeof t=="string"){let a=function(o){return i.startsWith(o)};var r=a;const i=t.trim();/^#?[A-F\d]{3,8}$/i.test(i)?this.fromHexString(i):a("rgb")?this.fromRgbString(i):a("hsl")?this.fromHslString(i):(a("hsv")||a("hsb"))&&this.fromHsvString(i)}else if(t instanceof ur)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Ob(t.r),this.g=Ob(t.g),this.b=Ob(t.b),this.a=typeof t.a=="number"?Ob(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(a){const o=a/255;return o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),i=t(this.b);return .2126*n+.7152*r+.0722*i}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Xa(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()-t/100;return i<0&&(i=0),this._c({h:n,s:r,l:i,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()+t/100;return i>1&&(i=1),this._c({h:n,s:r,l:i,a:this.a})}mix(t,n=50){const r=this._c(t),i=n/100,a=s=>(r[s]-this[s])*i+this[s],o={r:Xa(a("r")),g:Xa(a("g")),b:Xa(a("b")),a:Xa(a("a")*100)/100};return this._c(o)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),i=a=>Xa((this[a]*this.a+n[a]*n.a*(1-this.a))/r);return this._c({r:i("r"),g:i("g"),b:i("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const i=(this.b||0).toString(16);if(t+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=Xa(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=Xa(this.getSaturation()*100),r=Xa(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const i=this.clone();return i[t]=Ob(n,r),i}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(i,a){return parseInt(n[i]+n[a||i],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:i}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof i=="number"?i:1,n<=0){const p=Xa(r*255);this.r=p,this.g=p,this.b=p}let a=0,o=0,s=0;const l=t/60,c=(1-Math.abs(2*r-1))*n,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(a=c,o=u):l>=1&&l<2?(a=u,o=c):l>=2&&l<3?(o=c,s=u):l>=3&&l<4?(o=u,s=c):l>=4&&l<5?(a=u,s=c):l>=5&&l<6&&(a=c,s=u);const f=r-c/2;this.r=Xa((a+f)*255),this.g=Xa((o+f)*255),this.b=Xa((s+f)*255)}fromHsv({h:t,s:n,v:r,a:i}){this._h=t%360,this._s=n,this._v=r,this.a=typeof i=="number"?i:1;const a=Xa(r*255);if(this.r=a,this.g=a,this.b=a,n<=0)return;const o=t/60,s=Math.floor(o),l=o-s,c=Xa(r*(1-n)*255),u=Xa(r*(1-n*l)*255),f=Xa(r*(1-n*(1-l))*255);switch(s){case 0:this.g=f,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=u;break;case 4:this.r=f,this.g=c;break;case 5:default:this.g=c,this.b=u;break}}fromHsvString(t){const n=m9(t,tG);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=m9(t,tG);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=m9(t,(r,i)=>i.includes("%")?Xa(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const Lje=Object.freeze(Object.defineProperty({__proto__:null,FastColor:ur},Symbol.toStringTag,{value:"Module"}));var uS=2,nG=.16,Bje=.05,zje=.05,Hje=.15,yfe=5,bfe=4,Uje=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function rG(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-uS*t:Math.round(e.h)+uS*t:r=n?Math.round(e.h)+uS*t:Math.round(e.h)-uS*t,r<0?r+=360:r>=360&&(r-=360),r}function iG(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-nG*t:t===bfe?r=e.s+nG:r=e.s+Bje*t,r>1&&(r=1),n&&t===yfe&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function aG(e,t,n){var r;return n?r=e.v+zje*t:r=e.v-Hje*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function dh(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new ur(e),i=r.toHsv(),a=yfe;a>0;a-=1){var o=new ur({h:rG(i,a,!0),s:iG(i,a,!0),v:aG(i,a,!0)});n.push(o)}n.push(r);for(var s=1;s<=bfe;s+=1){var l=new ur({h:rG(i,s),s:iG(i,s),v:aG(i,s)});n.push(l)}return t.theme==="dark"?Uje.map(function(c){var u=c.index,f=c.amount;return new ur(t.backgroundColor||"#141414").mix(n[u],f).toHexString()}):n.map(function(c){return c.toHexString()})}var Vm={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Uk=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Uk.primary=Uk[5];var Wk=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Wk.primary=Wk[5];var Vk=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Vk.primary=Vk[5];var Jw=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Jw.primary=Jw[5];var qk=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];qk.primary=qk[5];var Kk=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Kk.primary=Kk[5];var Gk=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Gk.primary=Gk[5];var Yk=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Yk.primary=Yk[5];var hg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];hg.primary=hg[5];var Xk=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Xk.primary=Xk[5];var Zk=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Zk.primary=Zk[5];var Qk=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Qk.primary=Qk[5];var e3=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];e3.primary=e3[5];var Wje=e3,JC={red:Uk,volcano:Wk,orange:Vk,gold:Jw,yellow:qk,lime:Kk,green:Gk,cyan:Yk,blue:hg,geekblue:Xk,purple:Zk,magenta:Qk,grey:e3},Jk=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Jk.primary=Jk[5];var e6=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];e6.primary=e6[5];var t6=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];t6.primary=t6[5];var n6=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];n6.primary=n6[5];var r6=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];r6.primary=r6[5];var i6=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];i6.primary=i6[5];var a6=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];a6.primary=a6[5];var o6=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];o6.primary=o6[5];var s6=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];s6.primary=s6[5];var l6=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];l6.primary=l6[5];var c6=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];c6.primary=c6[5];var u6=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];u6.primary=u6[5];var d6=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];d6.primary=d6[5];var Vje={red:Jk,volcano:e6,orange:t6,gold:n6,yellow:r6,lime:i6,green:a6,cyan:o6,blue:s6,geekblue:l6,purple:c6,magenta:u6,grey:d6};const qje=Object.freeze(Object.defineProperty({__proto__:null,blue:hg,blueDark:s6,cyan:Yk,cyanDark:o6,geekblue:Xk,geekblueDark:l6,generate:dh,gold:Jw,goldDark:n6,gray:Wje,green:Gk,greenDark:a6,grey:e3,greyDark:d6,lime:Kk,limeDark:i6,magenta:Qk,magentaDark:u6,orange:Vk,orangeDark:t6,presetDarkPalettes:Vje,presetPalettes:JC,presetPrimaryColors:Vm,purple:Zk,purpleDark:c6,red:Uk,redDark:Jk,volcano:Wk,volcanoDark:e6,yellow:qk,yellowDark:r6},Symbol.toStringTag,{value:"Module"})),LL={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},T0=Object.assign(Object.assign({},LL),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
-'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function gfe(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:a,colorError:o,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,f=n(l),p=n(i),h=n(a),m=n(o),g=n(s),v=r(c,u),y=e.colorLink||e.colorInfo,b=n(y),w=new dr(m[1]).mix(new dr(m[3]),50).toHexString();return Object.assign(Object.assign({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:w,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new dr("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const Vje=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function qje(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},Vje(r))}const vfe=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function QC(e){return(e+8)/e}function Kje(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,a=e*Math.pow(Math.E,i/5),o=r>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:QC(n)}))}const yfe=e=>{const t=Kje(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),i=n[1],a=n[0],o=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*i),fontHeightLG:Math.round(c*o),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Gje(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Wl=(e,t)=>new dr(e).setA(t).toRgbString(),Ob=(e,t)=>new dr(e).darken(t).toHexString(),Yje=e=>{const t=ch(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Xje=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Wl(r,.88),colorTextSecondary:Wl(r,.65),colorTextTertiary:Wl(r,.45),colorTextQuaternary:Wl(r,.25),colorFill:Wl(r,.15),colorFillSecondary:Wl(r,.06),colorFillTertiary:Wl(r,.04),colorFillQuaternary:Wl(r,.02),colorBgSolid:Wl(r,1),colorBgSolidHover:Wl(r,.75),colorBgSolidActive:Wl(r,.95),colorBgLayout:Ob(n,4),colorBgContainer:Ob(n,0),colorBgElevated:Ob(n,0),colorBgSpotlight:Wl(r,.85),colorBgBlur:"transparent",colorBorder:Ob(n,15),colorBorderSecondary:Ob(n,6)}};function h4(e){Wm.pink=Wm.magenta,ZC.pink=ZC.magenta;const t=Object.keys(DL).map(n=>{const r=e[n]===Wm[n]?ZC[n]:ch(e[n]);return new Array(10).fill(1).reduce((i,a,o)=>(i[`${n}-${o+1}`]=r[o],i[`${n}${o+1}`]=r[o],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),gfe(e,{generateColorPalettes:Yje,generateNeutralColorPalettes:Xje})),yfe(e.fontSize)),Gje(e)),vfe(e)),qje(e))}const bfe=fg(h4),e3={token:E0,override:{override:E0},hashed:!0},FL=te.createContext(e3),t3="ant",qE="anticon",Zje=["outlined","borderless","filled"],Qje=(e,t)=>t||(e?`${t3}-${e}`:t3),Zt=d.createContext({getPrefixCls:Qje,iconPrefixCls:qE});function Ws(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function nj(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var rG="data-rc-order",iG="data-rc-priority",Jje="rc-util-key",rj=new Map;function wfe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Jje}function KE(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function eNe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function LL(e){return Array.from((rj.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function xfe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ws())return null;var n=t.csp,r=t.prepend,i=t.priority,a=i===void 0?0:i,o=eNe(r),s=o==="prependQueue",l=document.createElement("style");l.setAttribute(rG,o),s&&a&&l.setAttribute(iG,"".concat(a)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=KE(t),u=c.firstChild;if(r){if(s){var f=(t.styles||LL(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(rG)))return!1;var h=Number(p.getAttribute(iG)||0);return a>=h});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function Sfe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=KE(t);return(t.styles||LL(n)).find(function(r){return r.getAttribute(wfe(t))===e})}function ij(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Sfe(e,t);if(n){var r=KE(t);r.removeChild(n)}}function tNe(e,t){var n=rj.get(e);if(!n||!nj(document,n)){var r=xfe("",t),i=r.parentNode;rj.set(e,i),e.removeChild(r)}}function GE(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=KE(n),i=LL(r),a=q(q({},n),{},{styles:i});tNe(r,a);var o=Sfe(t,a);if(o){var s,l;if((s=a.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((l=a.csp)===null||l===void 0?void 0:l.nonce)){var c;o.nonce=(c=a.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var u=xfe(e,a);return u.setAttribute(wfe(a),t),u}const nNe=`-ant-${Date.now()}-${Math.random()}`;function rNe(e,t){const n={},r=(o,s)=>{let l=o.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},i=(o,s)=>{const l=new dr(o),c=ch(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){i(t.primaryColor,"primary");const o=new dr(t.primaryColor),s=ch(o.toRgbString());s.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=r(o,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(o,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(o,c=>c.setA(c.a*.12));const l=new dr(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setA(c.a*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),`
+'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function wfe(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:a,colorError:o,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,f=n(l),p=n(i),h=n(a),m=n(o),g=n(s),v=r(c,u),y=e.colorLink||e.colorInfo,w=n(y),b=new ur(m[1]).mix(new ur(m[3]),50).toHexString();return Object.assign(Object.assign({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:b,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:w[4],colorLink:w[6],colorLinkActive:w[7],colorBgMask:new ur("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const Kje=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function Gje(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},Kje(r))}const xfe=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function e_(e){return(e+8)/e}function Yje(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,a=e*Math.pow(Math.E,i/5),o=r>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:e_(n)}))}const Sfe=e=>{const t=Yje(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),i=n[1],a=n[0],o=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*i),fontHeightLG:Math.round(c*o),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Xje(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const ql=(e,t)=>new ur(e).setA(t).toRgbString(),Rb=(e,t)=>new ur(e).darken(t).toHexString(),Zje=e=>{const t=dh(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Qje=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:ql(r,.88),colorTextSecondary:ql(r,.65),colorTextTertiary:ql(r,.45),colorTextQuaternary:ql(r,.25),colorFill:ql(r,.15),colorFillSecondary:ql(r,.06),colorFillTertiary:ql(r,.04),colorFillQuaternary:ql(r,.02),colorBgSolid:ql(r,1),colorBgSolidHover:ql(r,.75),colorBgSolidActive:ql(r,.95),colorBgLayout:Rb(n,4),colorBgContainer:Rb(n,0),colorBgElevated:Rb(n,0),colorBgSpotlight:ql(r,.85),colorBgBlur:"transparent",colorBorder:Rb(n,15),colorBorderSecondary:Rb(n,6)}};function g4(e){Vm.pink=Vm.magenta,JC.pink=JC.magenta;const t=Object.keys(LL).map(n=>{const r=e[n]===Vm[n]?JC[n]:dh(e[n]);return new Array(10).fill(1).reduce((i,a,o)=>(i[`${n}-${o+1}`]=r[o],i[`${n}${o+1}`]=r[o],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),wfe(e,{generateColorPalettes:Zje,generateNeutralColorPalettes:Qje})),Sfe(e.fontSize)),Xje(e)),xfe(e)),Gje(e))}const Cfe=pg(g4),t3={token:T0,override:{override:T0},hashed:!0},BL=te.createContext(t3),n3="ant",KE="anticon",Jje=["outlined","borderless","filled"],eNe=(e,t)=>t||(e?`${n3}-${e}`:n3),Xt=d.createContext({getPrefixCls:eNe,iconPrefixCls:KE});function Ws(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function aj(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var oG="data-rc-order",sG="data-rc-priority",tNe="rc-util-key",oj=new Map;function _fe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):tNe}function GE(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function nNe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function zL(e){return Array.from((oj.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function kfe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ws())return null;var n=t.csp,r=t.prepend,i=t.priority,a=i===void 0?0:i,o=nNe(r),s=o==="prependQueue",l=document.createElement("style");l.setAttribute(oG,o),s&&a&&l.setAttribute(sG,"".concat(a)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=GE(t),u=c.firstChild;if(r){if(s){var f=(t.styles||zL(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(oG)))return!1;var h=Number(p.getAttribute(sG)||0);return a>=h});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function Efe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=GE(t);return(t.styles||zL(n)).find(function(r){return r.getAttribute(_fe(t))===e})}function sj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Efe(e,t);if(n){var r=GE(t);r.removeChild(n)}}function rNe(e,t){var n=oj.get(e);if(!n||!aj(document,n)){var r=kfe("",t),i=r.parentNode;oj.set(e,i),e.removeChild(r)}}function YE(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=GE(n),i=zL(r),a=q(q({},n),{},{styles:i});rNe(r,a);var o=Efe(t,a);if(o){var s,l;if((s=a.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((l=a.csp)===null||l===void 0?void 0:l.nonce)){var c;o.nonce=(c=a.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var u=kfe(e,a);return u.setAttribute(_fe(a),t),u}const iNe=`-ant-${Date.now()}-${Math.random()}`;function aNe(e,t){const n={},r=(o,s)=>{let l=o.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},i=(o,s)=>{const l=new ur(o),c=dh(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){i(t.primaryColor,"primary");const o=new ur(t.primaryColor),s=dh(o.toRgbString());s.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=r(o,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(o,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(o,c=>c.setA(c.a*.12));const l=new ur(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setA(c.a*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),`
:root {
${Object.keys(n).map(o=>`--${e}-${o}: ${n[o]};`).join(`
`)}
}
- `.trim()}function iNe(e,t){const n=rNe(e,t);Ws()&&GE(n,`${nNe}-dynamic-theme`)}const ga=d.createContext(!1),BL=e=>{let{children:t,disabled:n}=e;const r=d.useContext(ga);return d.createElement(ga.Provider,{value:n??r},t)},hg=d.createContext(void 0),aNe=e=>{let{children:t,size:n}=e;const r=d.useContext(hg);return d.createElement(hg.Provider,{value:n||r},t)};function oNe(){const e=d.useContext(ga),t=d.useContext(hg);return{componentDisabled:e,componentSize:t}}function mg(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(a,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(zr(!l,"Warning: There may be circular references"),l)return!1;if(a===o)return!0;if(n&&s>1)return!1;r.add(a);var c=s+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(var u=0;u1e4){var r=Date.now();this.lastAccessBeat.forEach(function(i,a){r-i>fNe&&(n.map.delete(a),n.lastAccessBeat.delete(a))}),this.accessBeat=0}}}]),e}(),cG=new pNe;function hNe(e,t){return te.useMemo(function(){var n=cG.get(t);if(n)return n;var r=e();return cG.set(t,r),r},t)}var mNe=function(){return{}};function Mfe(e){var t=e.useCSP,n=t===void 0?mNe:t,r=e.useToken,i=e.usePrefix,a=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function l(p,h,m,g){var v=Array.isArray(p)?p[0]:p;function y(E){return"".concat(String(v)).concat(E.slice(0,1).toUpperCase()).concat(E.slice(1))}var b=(g==null?void 0:g.unitless)||{},w=typeof s=="function"?s(p):{},_=q(q({},w),{},ne({},y("zIndexPopup"),!0));Object.keys(b).forEach(function(E){_[y(E)]=b[E]});var k=q(q({},g),{},{unitless:_,prefixToken:y}),S=u(p,h,m,k),C=c(v,m,k);return function(E){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E,M=S(E,$),P=Te(M,2),I=P[1],O=C($),A=Te(O,2),R=A[0],j=A[1];return[R,I,j]}}function c(p,h,m){var g=m.unitless,v=m.injectStyle,y=v===void 0?!0:v,b=m.prefixToken,w=m.ignore,_=function(C){var E=C.rootCls,$=C.cssVar,M=$===void 0?{}:$,P=r(),I=P.realToken;return sfe({path:[p],prefix:M.prefix,key:M.key,unitless:g,ignore:w,token:I,scope:E},function(){var O=lG(p,I,h),A=sG(p,I,O,{deprecatedTokens:m==null?void 0:m.deprecatedTokens});return Object.keys(O).forEach(function(R){A[b(R)]=A[R],delete A[R]}),A}),null},k=function(C){var E=r(),$=E.cssVar;return[function(M){return y&&$?te.createElement(te.Fragment,null,te.createElement(_,{rootCls:C,cssVar:$,component:p}),M):M},$==null?void 0:$.key]};return k}function u(p,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(p)?p:[p,p],y=Te(v,1),b=y[0],w=v.join("-"),_=e.layer||{name:"antd"};return function(k){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,C=r(),E=C.theme,$=C.realToken,M=C.hashId,P=C.token,I=C.cssVar,O=i(),A=O.rootPrefixCls,R=O.iconPrefixCls,j=n(),N=I?"css":"js",D=hNe(function(){var Z=new Set;return I&&Object.keys(g.unitless||{}).forEach(function(ee){Z.add(K2(ee,I.prefix)),Z.add(K2(ee,aG(b,I.prefix)))}),kfe(N,Z)},[N,b,I==null?void 0:I.prefix]),V=dNe(N),F=V.max,K=V.min,B={theme:E,token:P,hashId:M,nonce:function(){return j.nonce},clientOnly:g.clientOnly,layer:_,order:g.order||-999};typeof a=="function"&&Zw(q(q({},B),{},{clientOnly:!1,path:["Shared",A]}),function(){return a(P,{prefix:{rootPrefixCls:A,iconPrefixCls:R},csp:j})});var U=Zw(q(q({},B),{},{path:[w,k,R]}),function(){if(g.injectStyle===!1)return[];var Z=$fe(P),ee=Z.token,ie=Z.flush,Y=lG(b,$,m),X=".".concat(k),ae=sG(b,$,Y,{deprecatedTokens:g.deprecatedTokens});I&&Y&&Kt(Y)==="object"&&Object.keys(Y).forEach(function(pe){Y[pe]="var(".concat(K2(pe,aG(b,I.prefix)),")")});var oe=Hn(ee,{componentCls:X,prefixCls:k,iconCls:".".concat(R),antCls:".".concat(A),calc:D,max:F,min:K},I?Y:ae),le=h(oe,{hashId:M,prefixCls:k,rootPrefixCls:A,iconPrefixCls:R});ie(b,ae);var ce=typeof o=="function"?o(oe,k,S,g.resetFont):null;return[g.resetStyle===!1?null:ce,le]});return[U,M]}}function f(p,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=u(p,h,m,q({resetStyle:!1,order:-998},g)),y=function(w){var _=w.prefixCls,k=w.rootCls,S=k===void 0?_:k;return v(_,S),null};return y}return{genStyleHooks:l,genSubStyleComponent:f,genComponentStyleHook:u}}const gNe=Object.freeze(Object.defineProperty({__proto__:null,genCalc:kfe,genStyleUtils:Mfe,mergeToken:Hn,statistic:oj,statisticToken:$fe},Symbol.toStringTag,{value:"Module"})),vg=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Rf="5.23.2";function m9(e){return e>=0&&e<=255}function cS(e,t){const{r:n,g:r,b:i,a}=new dr(e).toRgb();if(a<1)return e;const{r:o,g:s,b:l}=new dr(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-o*(1-c))/c),f=Math.round((r-s*(1-c))/c),p=Math.round((i-l*(1-c))/c);if(m9(u)&&m9(f)&&m9(p))return new dr({r:u,g:f,b:p,a:Math.round(c*100)/100}).toRgbString()}return new dr({r:n,g:r,b:i,a:1}).toRgbString()}var vNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[p]});const i=Object.assign(Object.assign({},n),r),a=480,o=576,s=768,l=992,c=1200,u=1600;if(i.motion===!1){const p="0s";i.motionDurationFast=p,i.motionDurationMid=p,i.motionDurationSlow=p}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:cS(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:cS(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:cS(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*3,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:cS(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:`
+ `.trim()}function oNe(e,t){const n=aNe(e,t);Ws()&&YE(n,`${iNe}-dynamic-theme`)}const ma=d.createContext(!1),HL=e=>{let{children:t,disabled:n}=e;const r=d.useContext(ma);return d.createElement(ma.Provider,{value:n??r},t)},mg=d.createContext(void 0),sNe=e=>{let{children:t,size:n}=e;const r=d.useContext(mg);return d.createElement(mg.Provider,{value:n||r},t)};function lNe(){const e=d.useContext(ma),t=d.useContext(mg);return{componentDisabled:e,componentSize:t}}function gg(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(a,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(Br(!l,"Warning: There may be circular references"),l)return!1;if(a===o)return!0;if(n&&s>1)return!1;r.add(a);var c=s+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(var u=0;u1e4){var r=Date.now();this.lastAccessBeat.forEach(function(i,a){r-i>hNe&&(n.map.delete(a),n.lastAccessBeat.delete(a))}),this.accessBeat=0}}}]),e}(),fG=new mNe;function gNe(e,t){return te.useMemo(function(){var n=fG.get(t);if(n)return n;var r=e();return fG.set(t,r),r},t)}var vNe=function(){return{}};function Rfe(e){var t=e.useCSP,n=t===void 0?vNe:t,r=e.useToken,i=e.usePrefix,a=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function l(p,h,m,g){var v=Array.isArray(p)?p[0]:p;function y(E){return"".concat(String(v)).concat(E.slice(0,1).toUpperCase()).concat(E.slice(1))}var w=(g==null?void 0:g.unitless)||{},b=typeof s=="function"?s(p):{},C=q(q({},b),{},ne({},y("zIndexPopup"),!0));Object.keys(w).forEach(function(E){C[y(E)]=w[E]});var k=q(q({},g),{},{unitless:C,prefixToken:y}),S=u(p,h,m,k),_=c(v,m,k);return function(E){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E,M=S(E,$),P=Te(M,2),R=P[1],O=_($),j=Te(O,2),I=j[0],A=j[1];return[I,R,A]}}function c(p,h,m){var g=m.unitless,v=m.injectStyle,y=v===void 0?!0:v,w=m.prefixToken,b=m.ignore,C=function(_){var E=_.rootCls,$=_.cssVar,M=$===void 0?{}:$,P=r(),R=P.realToken;return dfe({path:[p],prefix:M.prefix,key:M.key,unitless:g,ignore:b,token:R,scope:E},function(){var O=dG(p,R,h),j=uG(p,R,O,{deprecatedTokens:m==null?void 0:m.deprecatedTokens});return Object.keys(O).forEach(function(I){j[w(I)]=j[I],delete j[I]}),j}),null},k=function(_){var E=r(),$=E.cssVar;return[function(M){return y&&$?te.createElement(te.Fragment,null,te.createElement(C,{rootCls:_,cssVar:$,component:p}),M):M},$==null?void 0:$.key]};return k}function u(p,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(p)?p:[p,p],y=Te(v,1),w=y[0],b=v.join("-"),C=e.layer||{name:"antd"};return function(k){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k,_=r(),E=_.theme,$=_.realToken,M=_.hashId,P=_.token,R=_.cssVar,O=i(),j=O.rootPrefixCls,I=O.iconPrefixCls,A=n(),N=R?"css":"js",F=gNe(function(){var Y=new Set;return R&&Object.keys(g.unitless||{}).forEach(function(ee){Y.add(K2(ee,R.prefix)),Y.add(K2(ee,lG(w,R.prefix)))}),Tfe(N,Y)},[N,w,R==null?void 0:R.prefix]),K=pNe(N),L=K.max,V=K.min,B={theme:E,token:P,hashId:M,nonce:function(){return A.nonce},clientOnly:g.clientOnly,layer:C,order:g.order||-999};typeof a=="function"&&Qw(q(q({},B),{},{clientOnly:!1,path:["Shared",j]}),function(){return a(P,{prefix:{rootPrefixCls:j,iconPrefixCls:I},csp:A})});var U=Qw(q(q({},B),{},{path:[b,k,I]}),function(){if(g.injectStyle===!1)return[];var Y=Ofe(P),ee=Y.token,ie=Y.flush,Z=dG(w,$,m),X=".".concat(k),ae=uG(w,$,Z,{deprecatedTokens:g.deprecatedTokens});R&&Z&&Kt(Z)==="object"&&Object.keys(Z).forEach(function(pe){Z[pe]="var(".concat(K2(pe,lG(w,R.prefix)),")")});var oe=Hn(ee,{componentCls:X,prefixCls:k,iconCls:".".concat(I),antCls:".".concat(j),calc:F,max:L,min:V},R?Z:ae),le=h(oe,{hashId:M,prefixCls:k,rootPrefixCls:j,iconPrefixCls:I});ie(w,ae);var ce=typeof o=="function"?o(oe,k,S,g.resetFont):null;return[g.resetStyle===!1?null:ce,le]});return[U,M]}}function f(p,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=u(p,h,m,q({resetStyle:!1,order:-998},g)),y=function(b){var C=b.prefixCls,k=b.rootCls,S=k===void 0?C:k;return v(C,S),null};return y}return{genStyleHooks:l,genSubStyleComponent:f,genComponentStyleHook:u}}const yNe=Object.freeze(Object.defineProperty({__proto__:null,genCalc:Tfe,genStyleUtils:Rfe,mergeToken:Hn,statistic:cj,statisticToken:Ofe},Symbol.toStringTag,{value:"Module"})),yg=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],If="5.23.2";function y9(e){return e>=0&&e<=255}function dS(e,t){const{r:n,g:r,b:i,a}=new ur(e).toRgb();if(a<1)return e;const{r:o,g:s,b:l}=new ur(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-o*(1-c))/c),f=Math.round((r-s*(1-c))/c),p=Math.round((i-l*(1-c))/c);if(y9(u)&&y9(f)&&y9(p))return new ur({r:u,g:f,b:p,a:Math.round(c*100)/100}).toRgbString()}return new ur({r:n,g:r,b:i,a:1}).toRgbString()}var bNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[p]});const i=Object.assign(Object.assign({},n),r),a=480,o=576,s=768,l=992,c=1200,u=1600;if(i.motion===!1){const p="0s";i.motionDurationFast=p,i.motionDurationMid=p,i.motionDurationSlow=p}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:dS(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:dS(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:dS(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*3,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:dS(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
@@ -115,9 +115,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
0 1px 6px -1px rgba(0, 0, 0, 0.02),
0 2px 4px 0 rgba(0, 0, 0, 0.02)
`,screenXS:a,screenXSMin:a,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
- 0 1px 2px -2px ${new dr("rgba(0, 0, 0, 0.16)").toRgbString()},
- 0 3px 6px 0 ${new dr("rgba(0, 0, 0, 0.12)").toRgbString()},
- 0 5px 12px 4px ${new dr("rgba(0, 0, 0, 0.09)").toRgbString()}
+ 0 1px 2px -2px ${new ur("rgba(0, 0, 0, 0.16)").toRgbString()},
+ 0 3px 6px 0 ${new ur("rgba(0, 0, 0, 0.12)").toRgbString()},
+ 0 5px 12px 4px ${new ur("rgba(0, 0, 0, 0.09)").toRgbString()}
`,boxShadowDrawerRight:`
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
@@ -134,7 +134,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var uG=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,a=uG(t,["override"]);let o=Object.assign(Object.assign({},r),{override:i});return o=zL(o),a&&Object.entries(a).forEach(s=>{let[l,c]=s;const{theme:u}=c,f=uG(c,["theme"]);let p=f;u&&(p=Pfe(Object.assign(Object.assign({},o),f),{override:f},u)),o[l]=p}),o};function $a(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=te.useContext(FL),a=`${Rf}-${t||""}`,o=n||bfe,[s,l,c]=IL(o,[E0,e],{salt:a,override:r,getComputedToken:Pfe,formatToken:zL,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:Tfe,ignore:yNe,preserve:bNe}});return[o,c,t?l:"",s,i]}const oo={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},ar=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},yh=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),hd=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),wNe=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),xNe=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,a=n?`.${n}`:i,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},s),o),{[i]:o})}},gc=(e,t)=>({outline:`${Me(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Vs=(e,t)=>({"&:focus-visible":Object.assign({},gc(e,t))}),Ofe=e=>({[`.${e}`]:Object.assign(Object.assign({},yh()),{[`.${e} .${e}-icon`]:{display:"block"}})}),HL=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Vs(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:Jn,genComponentStyleHook:Ife,genSubStyleComponent:xy}=Mfe({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=d.useContext(Zt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i]=$a();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{const{csp:e}=d.useContext(Zt);return e??{}},getResetStyles:(e,t)=>{var n;return[{"&":wNe(e)},Ofe((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:qE)]},getCommonStyle:xNe,getCompUnitless:()=>Tfe});function YE(e,t){return vg.reduce((n,r)=>{const i=e[`${r}1`],a=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:a,darkColor:o,textColor:s}))},{})}const SNe=(e,t)=>{const[n,r]=$a();return Zw({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[Ofe(e)])},CNe=Object.assign({},Qm),{useId:dG}=CNe,_Ne=()=>"",kNe=typeof dG>"u"?_Ne:dG;function ENe(e,t,n){var r;Hg();const i=e||{},a=i.inherit===!1||!t?Object.assign(Object.assign({},e3),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:e3.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=kNe();return ug(()=>{var s,l;if(!e)return t;const c=Object.assign({},a.components);Object.keys(e.components||{}).forEach(p=>{c[p]=Object.assign(Object.assign({},c[p]),e.components[p])});const u=`css-var-${o.replace(/:/g,"")}`,f=((s=i.cssVar)!==null&&s!==void 0?s:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((l=i.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},a),i),{token:Object.assign(Object.assign({},a.token),i.token),components:c,cssVar:f})},[i,a],(s,l)=>s.some((c,u)=>{const f=l[u];return!mg(c,f,!0)}))}var $Ne=["children"],Rfe=d.createContext({});function jfe(e){var t=e.children,n=Ut(e,$Ne);return d.createElement(Rfe.Provider,{value:n},t)}var MNe=function(e){Eo(n,e);var t=ts(n);function n(){return Dr(this,n),t.apply(this,arguments)}return Fr(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);function TNe(e){var t=d.useReducer(function(s){return s+1},0),n=Te(t,2),r=n[1],i=d.useRef(e),a=Vn(function(){return i.current}),o=Vn(function(s){i.current=typeof s=="function"?s(i.current):s,r()});return[a,o]}var gp="none",uS="appear",dS="enter",fS="leave",fG="none",Vc="prepare",mv="start",gv="active",UL="end",Nfe="prepared";function pG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function PNe(e,t){var n={animationend:pG("Animation","AnimationEnd"),transitionend:pG("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var ONe=PNe(Ws(),typeof window<"u"?window:{}),Afe={};if(Ws()){var INe=document.createElement("div");Afe=INe.style}var pS={};function Dfe(e){if(pS[e])return pS[e];var t=ONe[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var a=rr(function(){i<=1?r({isCanceled:function(){return a!==e.current}}):n(r,i-1)});e.current=a}return d.useEffect(function(){return function(){t()}},[]),[n,t]};var NNe=[Vc,mv,gv,UL],ANe=[Vc,Nfe],Hfe=!1,DNe=!0;function Ufe(e){return e===gv||e===UL}const FNe=function(e,t,n){var r=gg(fG),i=Te(r,2),a=i[0],o=i[1],s=jNe(),l=Te(s,2),c=l[0],u=l[1];function f(){o(Vc,!0)}var p=t?ANe:NNe;return zfe(function(){if(a!==fG&&a!==UL){var h=p.indexOf(a),m=p[h+1],g=n(a);g===Hfe?o(m,!0):m&&c(function(v){function y(){v.isCanceled()||o(m,!0)}g===!0?y():Promise.resolve(g).then(y)})}},[e,a]),d.useEffect(function(){return function(){u()}},[]),[f,a]};function LNe(e,t,n,r){var i=r.motionEnter,a=i===void 0?!0:i,o=r.motionAppear,s=o===void 0?!0:o,l=r.motionLeave,c=l===void 0?!0:l,u=r.motionDeadline,f=r.motionLeaveImmediately,p=r.onAppearPrepare,h=r.onEnterPrepare,m=r.onLeavePrepare,g=r.onAppearStart,v=r.onEnterStart,y=r.onLeaveStart,b=r.onAppearActive,w=r.onEnterActive,_=r.onLeaveActive,k=r.onAppearEnd,S=r.onEnterEnd,C=r.onLeaveEnd,E=r.onVisibleChanged,$=gg(),M=Te($,2),P=M[0],I=M[1],O=TNe(gp),A=Te(O,2),R=A[0],j=A[1],N=gg(null),D=Te(N,2),V=D[0],F=D[1],K=R(),B=d.useRef(!1),U=d.useRef(null);function Z(){return n()}var ee=d.useRef(!1);function ie(){j(gp),F(null,!0)}var Y=Vn(function(Se){var we=R();if(we!==gp){var se=Z();if(!(Se&&!Se.deadline&&Se.target!==se)){var ye=ee.current,Oe;we===uS&&ye?Oe=k==null?void 0:k(se,Se):we===dS&&ye?Oe=S==null?void 0:S(se,Se):we===fS&&ye&&(Oe=C==null?void 0:C(se,Se)),ye&&Oe!==!1&&ie()}}}),X=RNe(Y),ae=Te(X,1),oe=ae[0],le=function(we){switch(we){case uS:return ne(ne(ne({},Vc,p),mv,g),gv,b);case dS:return ne(ne(ne({},Vc,h),mv,v),gv,w);case fS:return ne(ne(ne({},Vc,m),mv,y),gv,_);default:return{}}},ce=d.useMemo(function(){return le(K)},[K]),pe=FNe(K,!e,function(Se){if(Se===Vc){var we=ce[Vc];return we?we(Z()):Hfe}if(fe in ce){var se;F(((se=ce[fe])===null||se===void 0?void 0:se.call(ce,Z(),null))||null)}return fe===gv&&K!==gp&&(oe(Z()),u>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Y({deadline:!0})},u))),fe===Nfe&&ie(),DNe}),me=Te(pe,2),re=me[0],fe=me[1],ve=Ufe(fe);ee.current=ve;var $e=d.useRef(null);zfe(function(){if(!(B.current&&$e.current===t)){I(t);var Se=B.current;B.current=!0;var we;!Se&&t&&s&&(we=uS),Se&&t&&a&&(we=dS),(Se&&!t&&c||!Se&&f&&!t&&c)&&(we=fS);var se=le(we);we&&(e||se[Vc])?(j(we),re()):j(gp),$e.current=t}},[t]),d.useEffect(function(){(K===uS&&!s||K===dS&&!a||K===fS&&!c)&&j(gp)},[s,a,c]),d.useEffect(function(){return function(){B.current=!1,clearTimeout(U.current)}},[]);var Ce=d.useRef(!1);d.useEffect(function(){P&&(Ce.current=!0),P!==void 0&&K===gp&&((Ce.current||P)&&(E==null||E(P)),Ce.current=!0)},[P,K]);var be=V;return ce[Vc]&&fe===mv&&(be=q({transition:"none"},be)),[K,fe,be,P??t]}function BNe(e){var t=e;Kt(e)==="object"&&(t=e.transitionSupport);function n(i,a){return!!(i.motionName&&t&&a!==!1)}var r=d.forwardRef(function(i,a){var o=i.visible,s=o===void 0?!0:o,l=i.removeOnLeave,c=l===void 0?!0:l,u=i.forceRender,f=i.children,p=i.motionName,h=i.leavedClassName,m=i.eventProps,g=d.useContext(Rfe),v=g.motion,y=n(i,v),b=d.useRef(),w=d.useRef();function _(){try{return b.current instanceof HTMLElement?b.current:V2(w.current)}catch{return null}}var k=LNe(y,s,_,i),S=Te(k,4),C=S[0],E=S[1],$=S[2],M=S[3],P=d.useRef(M);M&&(P.current=!0);var I=d.useCallback(function(D){b.current=D,SL(a,D)},[a]),O,A=q(q({},m),{},{visible:s});if(!f)O=null;else if(C===gp)M?O=f(q({},A),I):!c&&P.current&&h?O=f(q(q({},A),{},{className:h}),I):u||!c&&!h?O=f(q(q({},A),{},{style:{display:"none"}}),I):O=null;else{var R;E===Vc?R="prepare":Ufe(E)?R="active":E===mv&&(R="start");var j=gG(p,"".concat(C,"-").concat(R));O=f(q(q({},A),{},{className:Ee(gG(p,C),ne(ne({},j,j&&R),p,typeof p=="string")),style:$}),I)}if(d.isValidElement(O)&&Vf(O)){var N=vh(O);N||(O=d.cloneElement(O,{ref:I}))}return d.createElement(MNe,{ref:w},O)});return r.displayName="CSSMotion",r}const ka=BNe(Bfe);var sj="add",lj="keep",cj="remove",g9="removed";function zNe(e){var t;return e&&Kt(e)==="object"&&"key"in e?t=e:t={key:e},q(q({},t),{},{key:String(t.key)})}function uj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(zNe)}function HNe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=t.length,a=uj(e),o=uj(t);a.forEach(function(c){for(var u=!1,f=r;f1});return l.forEach(function(c){n=n.filter(function(u){var f=u.key,p=u.status;return f!==c||p!==cj}),n.forEach(function(u){u.key===c&&(u.status=lj)})}),n}var UNe=["component","children","onVisibleChanged","onAllRemoved"],WNe=["status"],VNe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function qNe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ka,n=function(r){Eo(a,r);var i=ts(a);function a(){var o;Dr(this,a);for(var s=arguments.length,l=new Array(s),c=0;cnull;var XNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it.endsWith("Color"))}const eAe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(d6=t),n!==void 0&&(Wfe=n),"holderRender"in e&&(qfe=i),r&&(JNe(r)?iNe(JC(),r):Vfe=r)},Kfe=()=>({getPrefixCls:(e,t)=>t||(e?`${JC()}-${e}`:JC()),getIconPrefixCls:QNe,getRootPrefixCls:()=>d6||JC(),getTheme:()=>Vfe,holderRender:qfe}),tAe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:a,form:o,locale:s,componentSize:l,direction:c,space:u,splitter:f,virtual:p,dropdownMatchSelectWidth:h,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:w,componentDisabled:_,segmented:k,statistic:S,spin:C,calendar:E,carousel:$,cascader:M,collapse:P,typography:I,checkbox:O,descriptions:A,divider:R,drawer:j,skeleton:N,steps:D,image:V,layout:F,list:K,mentions:B,modal:U,progress:Z,result:ee,slider:ie,breadcrumb:Y,menu:X,pagination:ae,input:oe,textArea:le,empty:ce,badge:pe,radio:me,rate:re,switch:fe,transfer:ve,avatar:$e,message:Ce,tag:be,table:Se,card:we,tabs:se,timeline:ye,timePicker:Oe,upload:z,notification:H,tree:G,colorPicker:de,datePicker:xe,rangePicker:he,flex:Ue,wave:We,dropdown:ge,warning:ze,tour:Ve,tooltip:Be,popover:Xe,popconfirm:Ke,floatButtonGroup:qe,variant:Et,inputNumber:dt,treeSelect:vt}=e,Ze=d.useCallback((xt,Nt)=>{const{prefixCls:Ot}=e;if(Nt)return Nt;const Pt=Ot||y.getPrefixCls("");return xt?`${Pt}-${xt}`:Pt},[y.getPrefixCls,e.prefixCls]),nt=b||y.iconPrefixCls||qE,jt=n||y.csp;SNe(nt,jt);const Lt=ENe(w,y.theme,{prefixCls:Ze("")}),Bt={csp:jt,autoInsertSpaceInButton:r,alert:i,anchor:a,locale:s||v,direction:c,space:u,splitter:f,virtual:p,popupMatchSelectWidth:m??h,popupOverflow:g,getPrefixCls:Ze,iconPrefixCls:nt,theme:Lt,segmented:k,statistic:S,spin:C,calendar:E,carousel:$,cascader:M,collapse:P,typography:I,checkbox:O,descriptions:A,divider:R,drawer:j,skeleton:N,steps:D,image:V,input:oe,textArea:le,layout:F,list:K,mentions:B,modal:U,progress:Z,result:ee,slider:ie,breadcrumb:Y,menu:X,pagination:ae,empty:ce,badge:pe,radio:me,rate:re,switch:fe,transfer:ve,avatar:$e,message:Ce,tag:be,table:Se,card:we,tabs:se,timeline:ye,timePicker:Oe,upload:z,notification:H,tree:G,colorPicker:de,datePicker:xe,rangePicker:he,flex:Ue,wave:We,dropdown:ge,warning:ze,tour:Ve,tooltip:Be,popover:Xe,popconfirm:Ke,floatButtonGroup:qe,variant:Et,inputNumber:dt,treeSelect:vt},Ht=Object.assign({},y);Object.keys(Bt).forEach(xt=>{Bt[xt]!==void 0&&(Ht[xt]=Bt[xt])}),ZNe.forEach(xt=>{const Nt=e[xt];Nt&&(Ht[xt]=Nt)}),typeof r<"u"&&(Ht.button=Object.assign({autoInsertSpace:r},Ht.button));const Ne=ug(()=>Ht,Ht,(xt,Nt)=>{const Ot=Object.keys(xt),Pt=Object.keys(Nt);return Ot.length!==Pt.length||Ot.some(lt=>xt[lt]!==Nt[lt])}),He=d.useMemo(()=>({prefixCls:nt,csp:jt}),[nt,jt]);let Le=d.createElement(d.Fragment,null,d.createElement(YNe,{dropdownMatchSelectWidth:h}),t);const Qe=d.useMemo(()=>{var xt,Nt,Ot,Pt;return hv(((xt=Us.Form)===null||xt===void 0?void 0:xt.defaultValidateMessages)||{},((Ot=(Nt=Ne.locale)===null||Nt===void 0?void 0:Nt.Form)===null||Ot===void 0?void 0:Ot.defaultValidateMessages)||{},((Pt=Ne.form)===null||Pt===void 0?void 0:Pt.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[Ne,o==null?void 0:o.validateMessages]);Object.keys(Qe).length>0&&(Le=d.createElement(cfe.Provider,{value:Qe},Le)),s&&(Le=d.createElement(Aje,{locale:s,_ANT_MARK__:Nje},Le)),(nt||jt)&&(Le=d.createElement(VE.Provider,{value:He},Le)),l&&(Le=d.createElement(aNe,{size:l},Le)),Le=d.createElement(GNe,null,Le);const ht=d.useMemo(()=>{const xt=Lt||{},{algorithm:Nt,token:Ot,components:Pt,cssVar:lt}=xt,Ct=XNe(xt,["algorithm","token","components","cssVar"]),kt=Nt&&(!Array.isArray(Nt)||Nt.length>0)?fg(Nt):bfe,qt={};Object.entries(Pt||{}).forEach(At=>{let[ft,De]=At;const Ye=Object.assign({},De);"algorithm"in Ye&&(Ye.algorithm===!0?Ye.theme=kt:(Array.isArray(Ye.algorithm)||typeof Ye.algorithm=="function")&&(Ye.theme=fg(Ye.algorithm)),delete Ye.algorithm),qt[ft]=Ye});const yt=Object.assign(Object.assign({},E0),Ot);return Object.assign(Object.assign({},Ct),{theme:kt,token:yt,components:qt,override:Object.assign({override:yt},qt),cssVar:lt})},[Lt]);return w&&(Le=d.createElement(FL.Provider,{value:ht},Le)),Ne.warning&&(Le=d.createElement(Ije.Provider,{value:Ne.warning},Le)),_!==void 0&&(Le=d.createElement(BL,{disabled:_},Le)),d.createElement(Zt.Provider,{value:Ne},Le)},zn=e=>{const t=d.useContext(Zt),n=d.useContext(AL);return d.createElement(tAe,Object.assign({parentContext:t,legacyLocale:n},e))};zn.ConfigContext=Zt;zn.SizeContext=hg;zn.config=eAe;zn.useConfig=oNe;Object.defineProperty(zn,"SizeContext",{get:()=>hg});var nAe={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"};function Gfe(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function rAe(e){return Gfe(e)instanceof ShadowRoot}function f6(e){return rAe(e)?Gfe(e):null}function iAe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function dj(e,t){zr(e,"[@ant-design/icons] ".concat(t))}function vG(e){return Kt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Kt(e.icon)==="object"||typeof e.icon=="function")}function yG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[iAe(n)]=r}return t},{})}function fj(e,t,n){return n?te.createElement(e.tag,q(q({key:t},yG(e.attrs)),n),(e.children||[]).map(function(r,i){return fj(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):te.createElement(e.tag,q({key:t},yG(e.attrs)),(e.children||[]).map(function(r,i){return fj(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function Yfe(e){return ch(e)[0]}function Xfe(e){return e?Array.isArray(e)?e:[e]:[]}var aAe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},oAe=`
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var pG=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,a=pG(t,["override"]);let o=Object.assign(Object.assign({},r),{override:i});return o=UL(o),a&&Object.entries(a).forEach(s=>{let[l,c]=s;const{theme:u}=c,f=pG(c,["theme"]);let p=f;u&&(p=jfe(Object.assign(Object.assign({},o),f),{override:f},u)),o[l]=p}),o};function ka(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=te.useContext(BL),a=`${If}-${t||""}`,o=n||Cfe,[s,l,c]=jL(o,[T0,e],{salt:a,override:r,getComputedToken:jfe,formatToken:UL,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:Ife,ignore:wNe,preserve:xNe}});return[o,c,t?l:"",s,i]}const ao={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},ar=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},wh=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),vd=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),SNe=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),CNe=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,a=n?`.${n}`:i,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},s),o),{[i]:o})}},yc=(e,t)=>({outline:`${Me(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Vs=(e,t)=>({"&:focus-visible":Object.assign({},yc(e,t))}),Nfe=e=>({[`.${e}`]:Object.assign(Object.assign({},wh()),{[`.${e} .${e}-icon`]:{display:"block"}})}),WL=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Vs(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:Jn,genComponentStyleHook:Afe,genSubStyleComponent:Sy}=Rfe({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=d.useContext(Xt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i]=ka();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{const{csp:e}=d.useContext(Xt);return e??{}},getResetStyles:(e,t)=>{var n;return[{"&":SNe(e)},Nfe((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:KE)]},getCommonStyle:CNe,getCompUnitless:()=>Ife});function XE(e,t){return yg.reduce((n,r)=>{const i=e[`${r}1`],a=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:a,darkColor:o,textColor:s}))},{})}const _Ne=(e,t)=>{const[n,r]=ka();return Qw({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[Nfe(e)])},kNe=Object.assign({},Jm),{useId:hG}=kNe,ENe=()=>"",$Ne=typeof hG>"u"?ENe:hG;function MNe(e,t,n){var r;Ug();const i=e||{},a=i.inherit===!1||!t?Object.assign(Object.assign({},t3),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:t3.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=$Ne();return dg(()=>{var s,l;if(!e)return t;const c=Object.assign({},a.components);Object.keys(e.components||{}).forEach(p=>{c[p]=Object.assign(Object.assign({},c[p]),e.components[p])});const u=`css-var-${o.replace(/:/g,"")}`,f=((s=i.cssVar)!==null&&s!==void 0?s:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((l=i.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},a),i),{token:Object.assign(Object.assign({},a.token),i.token),components:c,cssVar:f})},[i,a],(s,l)=>s.some((c,u)=>{const f=l[u];return!gg(c,f,!0)}))}var TNe=["children"],Dfe=d.createContext({});function Ffe(e){var t=e.children,n=Ht(e,TNe);return d.createElement(Dfe.Provider,{value:n},t)}var PNe=function(e){$o(n,e);var t=rs(n);function n(){return Ar(this,n),t.apply(this,arguments)}return Dr(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);function ONe(e){var t=d.useReducer(function(s){return s+1},0),n=Te(t,2),r=n[1],i=d.useRef(e),a=Vn(function(){return i.current}),o=Vn(function(s){i.current=typeof s=="function"?s(i.current):s,r()});return[a,o]}var gp="none",fS="appear",pS="enter",hS="leave",mG="none",Yc="prepare",vv="start",yv="active",VL="end",Lfe="prepared";function gG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function RNe(e,t){var n={animationend:gG("Animation","AnimationEnd"),transitionend:gG("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var INe=RNe(Ws(),typeof window<"u"?window:{}),Bfe={};if(Ws()){var jNe=document.createElement("div");Bfe=jNe.style}var mS={};function zfe(e){if(mS[e])return mS[e];var t=INe[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var a=rr(function(){i<=1?r({isCanceled:function(){return a!==e.current}}):n(r,i-1)});e.current=a}return d.useEffect(function(){return function(){t()}},[]),[n,t]};var DNe=[Yc,vv,yv,VL],FNe=[Yc,Lfe],qfe=!1,LNe=!0;function Kfe(e){return e===yv||e===VL}const BNe=function(e,t,n){var r=vg(mG),i=Te(r,2),a=i[0],o=i[1],s=ANe(),l=Te(s,2),c=l[0],u=l[1];function f(){o(Yc,!0)}var p=t?FNe:DNe;return Vfe(function(){if(a!==mG&&a!==VL){var h=p.indexOf(a),m=p[h+1],g=n(a);g===qfe?o(m,!0):m&&c(function(v){function y(){v.isCanceled()||o(m,!0)}g===!0?y():Promise.resolve(g).then(y)})}},[e,a]),d.useEffect(function(){return function(){u()}},[]),[f,a]};function zNe(e,t,n,r){var i=r.motionEnter,a=i===void 0?!0:i,o=r.motionAppear,s=o===void 0?!0:o,l=r.motionLeave,c=l===void 0?!0:l,u=r.motionDeadline,f=r.motionLeaveImmediately,p=r.onAppearPrepare,h=r.onEnterPrepare,m=r.onLeavePrepare,g=r.onAppearStart,v=r.onEnterStart,y=r.onLeaveStart,w=r.onAppearActive,b=r.onEnterActive,C=r.onLeaveActive,k=r.onAppearEnd,S=r.onEnterEnd,_=r.onLeaveEnd,E=r.onVisibleChanged,$=vg(),M=Te($,2),P=M[0],R=M[1],O=ONe(gp),j=Te(O,2),I=j[0],A=j[1],N=vg(null),F=Te(N,2),K=F[0],L=F[1],V=I(),B=d.useRef(!1),U=d.useRef(null);function Y(){return n()}var ee=d.useRef(!1);function ie(){A(gp),L(null,!0)}var Z=Vn(function(Se){var we=I();if(we!==gp){var se=Y();if(!(Se&&!Se.deadline&&Se.target!==se)){var ye=ee.current,Oe;we===fS&&ye?Oe=k==null?void 0:k(se,Se):we===pS&&ye?Oe=S==null?void 0:S(se,Se):we===hS&&ye&&(Oe=_==null?void 0:_(se,Se)),ye&&Oe!==!1&&ie()}}}),X=NNe(Z),ae=Te(X,1),oe=ae[0],le=function(we){switch(we){case fS:return ne(ne(ne({},Yc,p),vv,g),yv,w);case pS:return ne(ne(ne({},Yc,h),vv,v),yv,b);case hS:return ne(ne(ne({},Yc,m),vv,y),yv,C);default:return{}}},ce=d.useMemo(function(){return le(V)},[V]),pe=BNe(V,!e,function(Se){if(Se===Yc){var we=ce[Yc];return we?we(Y()):qfe}if(fe in ce){var se;L(((se=ce[fe])===null||se===void 0?void 0:se.call(ce,Y(),null))||null)}return fe===yv&&V!==gp&&(oe(Y()),u>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Z({deadline:!0})},u))),fe===Lfe&&ie(),LNe}),me=Te(pe,2),re=me[0],fe=me[1],ve=Kfe(fe);ee.current=ve;var $e=d.useRef(null);Vfe(function(){if(!(B.current&&$e.current===t)){R(t);var Se=B.current;B.current=!0;var we;!Se&&t&&s&&(we=fS),Se&&t&&a&&(we=pS),(Se&&!t&&c||!Se&&f&&!t&&c)&&(we=hS);var se=le(we);we&&(e||se[Yc])?(A(we),re()):A(gp),$e.current=t}},[t]),d.useEffect(function(){(V===fS&&!s||V===pS&&!a||V===hS&&!c)&&A(gp)},[s,a,c]),d.useEffect(function(){return function(){B.current=!1,clearTimeout(U.current)}},[]);var Ce=d.useRef(!1);d.useEffect(function(){P&&(Ce.current=!0),P!==void 0&&V===gp&&((Ce.current||P)&&(E==null||E(P)),Ce.current=!0)},[P,V]);var be=K;return ce[Yc]&&fe===vv&&(be=q({transition:"none"},be)),[V,fe,be,P??t]}function HNe(e){var t=e;Kt(e)==="object"&&(t=e.transitionSupport);function n(i,a){return!!(i.motionName&&t&&a!==!1)}var r=d.forwardRef(function(i,a){var o=i.visible,s=o===void 0?!0:o,l=i.removeOnLeave,c=l===void 0?!0:l,u=i.forceRender,f=i.children,p=i.motionName,h=i.leavedClassName,m=i.eventProps,g=d.useContext(Dfe),v=g.motion,y=n(i,v),w=d.useRef(),b=d.useRef();function C(){try{return w.current instanceof HTMLElement?w.current:V2(b.current)}catch{return null}}var k=zNe(y,s,C,i),S=Te(k,4),_=S[0],E=S[1],$=S[2],M=S[3],P=d.useRef(M);M&&(P.current=!0);var R=d.useCallback(function(F){w.current=F,_L(a,F)},[a]),O,j=q(q({},m),{},{visible:s});if(!f)O=null;else if(_===gp)M?O=f(q({},j),R):!c&&P.current&&h?O=f(q(q({},j),{},{className:h}),R):u||!c&&!h?O=f(q(q({},j),{},{style:{display:"none"}}),R):O=null;else{var I;E===Yc?I="prepare":Kfe(E)?I="active":E===vv&&(I="start");var A=bG(p,"".concat(_,"-").concat(I));O=f(q(q({},j),{},{className:Ee(bG(p,_),ne(ne({},A,A&&I),p,typeof p=="string")),style:$}),R)}if(d.isValidElement(O)&&Vf(O)){var N=bh(O);N||(O=d.cloneElement(O,{ref:R}))}return d.createElement(PNe,{ref:b},O)});return r.displayName="CSSMotion",r}const Ca=HNe(Wfe);var uj="add",dj="keep",fj="remove",b9="removed";function UNe(e){var t;return e&&Kt(e)==="object"&&"key"in e?t=e:t={key:e},q(q({},t),{},{key:String(t.key)})}function pj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(UNe)}function WNe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=t.length,a=pj(e),o=pj(t);a.forEach(function(c){for(var u=!1,f=r;f1});return l.forEach(function(c){n=n.filter(function(u){var f=u.key,p=u.status;return f!==c||p!==fj}),n.forEach(function(u){u.key===c&&(u.status=dj)})}),n}var VNe=["component","children","onVisibleChanged","onAllRemoved"],qNe=["status"],KNe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function GNe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ca,n=function(r){$o(a,r);var i=rs(a);function a(){var o;Ar(this,a);for(var s=arguments.length,l=new Array(s),c=0;cnull;var QNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it.endsWith("Color"))}const nAe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(f6=t),n!==void 0&&(Gfe=n),"holderRender"in e&&(Xfe=i),r&&(tAe(r)?oNe(t_(),r):Yfe=r)},Zfe=()=>({getPrefixCls:(e,t)=>t||(e?`${t_()}-${e}`:t_()),getIconPrefixCls:eAe,getRootPrefixCls:()=>f6||t_(),getTheme:()=>Yfe,holderRender:Xfe}),rAe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:a,form:o,locale:s,componentSize:l,direction:c,space:u,splitter:f,virtual:p,dropdownMatchSelectWidth:h,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:v,parentContext:y,iconPrefixCls:w,theme:b,componentDisabled:C,segmented:k,statistic:S,spin:_,calendar:E,carousel:$,cascader:M,collapse:P,typography:R,checkbox:O,descriptions:j,divider:I,drawer:A,skeleton:N,steps:F,image:K,layout:L,list:V,mentions:B,modal:U,progress:Y,result:ee,slider:ie,breadcrumb:Z,menu:X,pagination:ae,input:oe,textArea:le,empty:ce,badge:pe,radio:me,rate:re,switch:fe,transfer:ve,avatar:$e,message:Ce,tag:be,table:Se,card:we,tabs:se,timeline:ye,timePicker:Oe,upload:z,notification:H,tree:G,colorPicker:de,datePicker:xe,rangePicker:he,flex:Ue,wave:We,dropdown:ge,warning:ze,tour:Ve,tooltip:Be,popover:Xe,popconfirm:Ke,floatButtonGroup:qe,variant:Et,inputNumber:ut,treeSelect:gt}=e,Ze=d.useCallback((xt,Nt)=>{const{prefixCls:Ot}=e;if(Nt)return Nt;const Pt=Ot||y.getPrefixCls("");return xt?`${Pt}-${xt}`:Pt},[y.getPrefixCls,e.prefixCls]),nt=w||y.iconPrefixCls||KE,jt=n||y.csp;_Ne(nt,jt);const Lt=MNe(b,y.theme,{prefixCls:Ze("")}),Bt={csp:jt,autoInsertSpaceInButton:r,alert:i,anchor:a,locale:s||v,direction:c,space:u,splitter:f,virtual:p,popupMatchSelectWidth:m??h,popupOverflow:g,getPrefixCls:Ze,iconPrefixCls:nt,theme:Lt,segmented:k,statistic:S,spin:_,calendar:E,carousel:$,cascader:M,collapse:P,typography:R,checkbox:O,descriptions:j,divider:I,drawer:A,skeleton:N,steps:F,image:K,input:oe,textArea:le,layout:L,list:V,mentions:B,modal:U,progress:Y,result:ee,slider:ie,breadcrumb:Z,menu:X,pagination:ae,empty:ce,badge:pe,radio:me,rate:re,switch:fe,transfer:ve,avatar:$e,message:Ce,tag:be,table:Se,card:we,tabs:se,timeline:ye,timePicker:Oe,upload:z,notification:H,tree:G,colorPicker:de,datePicker:xe,rangePicker:he,flex:Ue,wave:We,dropdown:ge,warning:ze,tour:Ve,tooltip:Be,popover:Xe,popconfirm:Ke,floatButtonGroup:qe,variant:Et,inputNumber:ut,treeSelect:gt},Ut=Object.assign({},y);Object.keys(Bt).forEach(xt=>{Bt[xt]!==void 0&&(Ut[xt]=Bt[xt])}),JNe.forEach(xt=>{const Nt=e[xt];Nt&&(Ut[xt]=Nt)}),typeof r<"u"&&(Ut.button=Object.assign({autoInsertSpace:r},Ut.button));const Ne=dg(()=>Ut,Ut,(xt,Nt)=>{const Ot=Object.keys(xt),Pt=Object.keys(Nt);return Ot.length!==Pt.length||Ot.some(st=>xt[st]!==Nt[st])}),He=d.useMemo(()=>({prefixCls:nt,csp:jt}),[nt,jt]);let Le=d.createElement(d.Fragment,null,d.createElement(ZNe,{dropdownMatchSelectWidth:h}),t);const Qe=d.useMemo(()=>{var xt,Nt,Ot,Pt;return gv(((xt=Us.Form)===null||xt===void 0?void 0:xt.defaultValidateMessages)||{},((Ot=(Nt=Ne.locale)===null||Nt===void 0?void 0:Nt.Form)===null||Ot===void 0?void 0:Ot.defaultValidateMessages)||{},((Pt=Ne.form)===null||Pt===void 0?void 0:Pt.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[Ne,o==null?void 0:o.validateMessages]);Object.keys(Qe).length>0&&(Le=d.createElement(pfe.Provider,{value:Qe},Le)),s&&(Le=d.createElement(Fje,{locale:s,_ANT_MARK__:Dje},Le)),(nt||jt)&&(Le=d.createElement(qE.Provider,{value:He},Le)),l&&(Le=d.createElement(sNe,{size:l},Le)),Le=d.createElement(XNe,null,Le);const pt=d.useMemo(()=>{const xt=Lt||{},{algorithm:Nt,token:Ot,components:Pt,cssVar:st}=xt,Ct=QNe(xt,["algorithm","token","components","cssVar"]),kt=Nt&&(!Array.isArray(Nt)||Nt.length>0)?pg(Nt):Cfe,qt={};Object.entries(Pt||{}).forEach(At=>{let[dt,De]=At;const Ye=Object.assign({},De);"algorithm"in Ye&&(Ye.algorithm===!0?Ye.theme=kt:(Array.isArray(Ye.algorithm)||typeof Ye.algorithm=="function")&&(Ye.theme=pg(Ye.algorithm)),delete Ye.algorithm),qt[dt]=Ye});const vt=Object.assign(Object.assign({},T0),Ot);return Object.assign(Object.assign({},Ct),{theme:kt,token:vt,components:qt,override:Object.assign({override:vt},qt),cssVar:st})},[Lt]);return b&&(Le=d.createElement(BL.Provider,{value:pt},Le)),Ne.warning&&(Le=d.createElement(jje.Provider,{value:Ne.warning},Le)),C!==void 0&&(Le=d.createElement(HL,{disabled:C},Le)),d.createElement(Xt.Provider,{value:Ne},Le)},zn=e=>{const t=d.useContext(Xt),n=d.useContext(FL);return d.createElement(rAe,Object.assign({parentContext:t,legacyLocale:n},e))};zn.ConfigContext=Xt;zn.SizeContext=mg;zn.config=nAe;zn.useConfig=lNe;Object.defineProperty(zn,"SizeContext",{get:()=>mg});var iAe={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"};function Qfe(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function aAe(e){return Qfe(e)instanceof ShadowRoot}function p6(e){return aAe(e)?Qfe(e):null}function oAe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function hj(e,t){Br(e,"[@ant-design/icons] ".concat(t))}function wG(e){return Kt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Kt(e.icon)==="object"||typeof e.icon=="function")}function xG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[oAe(n)]=r}return t},{})}function mj(e,t,n){return n?te.createElement(e.tag,q(q({key:t},xG(e.attrs)),n),(e.children||[]).map(function(r,i){return mj(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):te.createElement(e.tag,q({key:t},xG(e.attrs)),(e.children||[]).map(function(r,i){return mj(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function Jfe(e){return dh(e)[0]}function epe(e){return e?Array.isArray(e)?e:[e]:[]}var sAe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},lAe=`
.anticon {
display: inline-flex;
align-items: center;
@@ -189,9 +189,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
transform: rotate(360deg);
}
}
-`,Zfe=function(t){var n=d.useContext(VE),r=n.csp,i=n.prefixCls,a=n.layer,o=oAe;i&&(o=o.replace(/anticon/g,i)),a&&(o="@layer ".concat(a,` {
+`,tpe=function(t){var n=d.useContext(qE),r=n.csp,i=n.prefixCls,a=n.layer,o=lAe;i&&(o=o.replace(/anticon/g,i)),a&&(o="@layer ".concat(a,` {
`).concat(o,`
-}`)),d.useEffect(function(){var s=t.current,l=f6(s);GE(o,"@ant-design-icons",{prepend:!a,csp:r,attachTo:l})},[])},sAe=["icon","className","onClick","style","primaryColor","secondaryColor"],Y2={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function lAe(e){var t=e.primaryColor,n=e.secondaryColor;Y2.primaryColor=t,Y2.secondaryColor=n||Yfe(t),Y2.calculated=!!n}function cAe(){return q({},Y2)}var Sy=function(t){var n=t.icon,r=t.className,i=t.onClick,a=t.style,o=t.primaryColor,s=t.secondaryColor,l=Ut(t,sAe),c=d.useRef(),u=Y2;if(o&&(u={primaryColor:o,secondaryColor:s||Yfe(o)}),Zfe(c),dj(vG(n),"icon should be icon definiton, but got ".concat(n)),!vG(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=q(q({},f),{},{icon:f.icon(u.primaryColor,u.secondaryColor)})),fj(f.icon,"svg-".concat(f.name),q(q({className:r,onClick:i,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};Sy.displayName="IconReact";Sy.getTwoToneColors=cAe;Sy.setTwoToneColors=lAe;function Qfe(e){var t=Xfe(e),n=Te(t,2),r=n[0],i=n[1];return Sy.setTwoToneColors({primaryColor:r,secondaryColor:i})}function uAe(){var e=Sy.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var dAe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Qfe(pg.primary);var jn=d.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,a=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=Ut(e,dAe),u=d.useContext(VE),f=u.prefixCls,p=f===void 0?"anticon":f,h=u.rootClassName,m=Ee(h,p,ne(ne({},"".concat(p,"-").concat(r.name),!!r.name),"".concat(p,"-spin"),!!i||r.name==="loading"),n),g=o;g===void 0&&s&&(g=-1);var v=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,y=Xfe(l),b=Te(y,2),w=b[0],_=b[1];return d.createElement("span",tt({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:m}),d.createElement(Sy,{icon:r,primaryColor:w,secondaryColor:_,style:v}))});jn.displayName="AntdIcon";jn.getTwoToneColor=uAe;jn.setTwoToneColor=Qfe;var fAe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:nAe}))},Ug=d.forwardRef(fAe),pAe={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"},hAe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:pAe}))},$d=d.forwardRef(hAe),mAe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},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"},gAe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:mAe}))},Cu=d.forwardRef(gAe),vAe={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"},yAe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:vAe}))},qf=d.forwardRef(yAe),bAe={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"},wAe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:bAe}))},ZE=d.forwardRef(wAe),xAe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
+}`)),d.useEffect(function(){var s=t.current,l=p6(s);YE(o,"@ant-design-icons",{prepend:!a,csp:r,attachTo:l})},[])},cAe=["icon","className","onClick","style","primaryColor","secondaryColor"],Y2={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function uAe(e){var t=e.primaryColor,n=e.secondaryColor;Y2.primaryColor=t,Y2.secondaryColor=n||Jfe(t),Y2.calculated=!!n}function dAe(){return q({},Y2)}var Cy=function(t){var n=t.icon,r=t.className,i=t.onClick,a=t.style,o=t.primaryColor,s=t.secondaryColor,l=Ht(t,cAe),c=d.useRef(),u=Y2;if(o&&(u={primaryColor:o,secondaryColor:s||Jfe(o)}),tpe(c),hj(wG(n),"icon should be icon definiton, but got ".concat(n)),!wG(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=q(q({},f),{},{icon:f.icon(u.primaryColor,u.secondaryColor)})),mj(f.icon,"svg-".concat(f.name),q(q({className:r,onClick:i,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};Cy.displayName="IconReact";Cy.getTwoToneColors=dAe;Cy.setTwoToneColors=uAe;function npe(e){var t=epe(e),n=Te(t,2),r=n[0],i=n[1];return Cy.setTwoToneColors({primaryColor:r,secondaryColor:i})}function fAe(){var e=Cy.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var pAe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];npe(hg.primary);var Nn=d.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,a=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=Ht(e,pAe),u=d.useContext(qE),f=u.prefixCls,p=f===void 0?"anticon":f,h=u.rootClassName,m=Ee(h,p,ne(ne({},"".concat(p,"-").concat(r.name),!!r.name),"".concat(p,"-spin"),!!i||r.name==="loading"),n),g=o;g===void 0&&s&&(g=-1);var v=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,y=epe(l),w=Te(y,2),b=w[0],C=w[1];return d.createElement("span",tt({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:m}),d.createElement(Cy,{icon:r,primaryColor:b,secondaryColor:C,style:v}))});Nn.displayName="AntdIcon";Nn.getTwoToneColor=fAe;Nn.setTwoToneColor=npe;var hAe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:iAe}))},Wg=d.forwardRef(hAe),mAe={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"},gAe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:mAe}))},Pd=d.forwardRef(gAe),vAe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},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"},yAe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:vAe}))},Eu=d.forwardRef(yAe),bAe={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"},wAe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:bAe}))},qf=d.forwardRef(wAe),xAe={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"},SAe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:xAe}))},QE=d.forwardRef(SAe),CAe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
@@ -202,122 +202,122 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
- summary tabIndex target title type useMap value width wmode wrap`,SAe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
+ summary tabIndex target title type useMap value width wmode wrap`,_Ae=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
- onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,CAe="".concat(xAe," ").concat(SAe).split(/[\s\n]+/),_Ae="aria-",kAe="data-";function bG(e,t){return e.indexOf(t)===0}function Bi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=q({},t);var r={};return Object.keys(e).forEach(function(i){(n.aria&&(i==="role"||bG(i,_Ae))||n.data&&bG(i,kAe)||n.attr&&CAe.includes(i))&&(r[i]=e[i])}),r}function Jfe(e){return e&&te.isValidElement(e)&&e.type===te.Fragment}const WL=(e,t,n)=>te.isValidElement(e)?te.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function oa(e,t){return WL(e,e,t)}const hS=(e,t,n,r,i)=>({background:e,border:`${Me(r.lineWidth)} ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),EAe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:a,fontSizeLG:o,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:f,colorTextHeading:p,withDescriptionPadding:h,defaultPadding:m}=e;return{[t]:Object.assign(Object.assign({},ar(e)),{position:"relative",display:"flex",alignItems:"center",padding:m,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:s},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c},
+ onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,kAe="".concat(CAe," ").concat(_Ae).split(/[\s\n]+/),EAe="aria-",$Ae="data-";function SG(e,t){return e.indexOf(t)===0}function Fi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=q({},t);var r={};return Object.keys(e).forEach(function(i){(n.aria&&(i==="role"||SG(i,EAe))||n.data&&SG(i,$Ae)||n.attr&&kAe.includes(i))&&(r[i]=e[i])}),r}function rpe(e){return e&&te.isValidElement(e)&&e.type===te.Fragment}const qL=(e,t,n)=>te.isValidElement(e)?te.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function aa(e,t){return qL(e,e,t)}const gS=(e,t,n,r,i)=>({background:e,border:`${Me(r.lineWidth)} ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),MAe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:a,fontSizeLG:o,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:f,colorTextHeading:p,withDescriptionPadding:h,defaultPadding:m}=e;return{[t]:Object.assign(Object.assign({},ar(e)),{position:"relative",display:"flex",alignItems:"center",padding:m,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:s},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c},
padding-top ${n} ${c}, padding-bottom ${n} ${c},
- margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:i,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:p,fontSize:o},[`${t}-description`]:{display:"block",color:f}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$Ae=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:a,colorWarningBorder:o,colorWarningBg:s,colorError:l,colorErrorBorder:c,colorErrorBg:u,colorInfo:f,colorInfoBorder:p,colorInfoBg:h}=e;return{[t]:{"&-success":hS(i,r,n,e,t),"&-info":hS(h,p,f,e,t),"&-warning":hS(s,o,a,e,t),"&-error":Object.assign(Object.assign({},hS(u,c,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},MAe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:a,colorIcon:o,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:a,lineHeight:Me(a),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:s}}}}},TAe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),PAe=Jn("Alert",e=>[EAe(e),$Ae(e),MAe(e)],TAe);var wG=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{icon:t,prefixCls:n,type:r}=e,i=OAe[r]||null;return t?WL(t,d.createElement("span",{className:`${n}-icon`},t),()=>({className:Ee(`${n}-icon`,t.props.className)})):d.createElement(i,{className:`${n}-icon`})},RAe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:i,ariaProps:a}=e,o=r===!0||r===void 0?d.createElement(Cu,null):r;return t?d.createElement("button",Object.assign({type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},a),o):null},epe=d.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:i,banner:a,className:o,rootClassName:s,style:l,onMouseEnter:c,onMouseLeave:u,onClick:f,afterClose:p,showIcon:h,closable:m,closeText:g,closeIcon:v,action:y,id:b}=e,w=wG(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[_,k]=d.useState(!1),S=d.useRef(null);d.useImperativeHandle(t,()=>({nativeElement:S.current}));const{getPrefixCls:C,direction:E,alert:$}=d.useContext(Zt),M=C("alert",r),[P,I,O]=PAe(M),A=B=>{var U;k(!0),(U=e.onClose)===null||U===void 0||U.call(e,B)},R=d.useMemo(()=>e.type!==void 0?e.type:a?"warning":"info",[e.type,a]),j=d.useMemo(()=>typeof m=="object"&&m.closeIcon||g?!0:typeof m=="boolean"?m:v!==!1&&v!==null&&v!==void 0?!0:!!($!=null&&$.closable),[g,v,m,$==null?void 0:$.closable]),N=a&&h===void 0?!0:h,D=Ee(M,`${M}-${R}`,{[`${M}-with-description`]:!!n,[`${M}-no-icon`]:!N,[`${M}-banner`]:!!a,[`${M}-rtl`]:E==="rtl"},$==null?void 0:$.className,o,s,O,I),V=Bi(w,{aria:!0,data:!0}),F=d.useMemo(()=>{var B,U;return typeof m=="object"&&m.closeIcon?m.closeIcon:g||(v!==void 0?v:typeof($==null?void 0:$.closable)=="object"&&(!((B=$==null?void 0:$.closable)===null||B===void 0)&&B.closeIcon)?(U=$==null?void 0:$.closable)===null||U===void 0?void 0:U.closeIcon:$==null?void 0:$.closeIcon)},[v,m,g,$==null?void 0:$.closeIcon]),K=d.useMemo(()=>{const B=m??($==null?void 0:$.closable);return typeof B=="object"?wG(B,["closeIcon"]):{}},[m,$==null?void 0:$.closable]);return P(d.createElement(ka,{visible:!_,motionName:`${M}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:B=>({maxHeight:B.offsetHeight}),onLeaveEnd:p},(B,U)=>{let{className:Z,style:ee}=B;return d.createElement("div",Object.assign({id:b,ref:va(S,U),"data-show":!_,className:Ee(D,Z),style:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.style),l),ee),onMouseEnter:c,onMouseLeave:u,onClick:f,role:"alert"},V),N?d.createElement(IAe,{description:n,icon:e.icon,prefixCls:M,type:R}):null,d.createElement("div",{className:`${M}-content`},i?d.createElement("div",{className:`${M}-message`},i):null,n?d.createElement("div",{className:`${M}-description`},n):null),y?d.createElement("div",{className:`${M}-action`},y):null,d.createElement(RAe,{isClosable:j,prefixCls:M,closeIcon:F,handleClose:A,ariaProps:K}))}))});function jAe(e,t,n){return t=dg(t),Pde(e,BE()?Reflect.construct(t,n||[],dg(e).constructor):t.apply(e,n))}let NAe=function(e){function t(){var n;return Dr(this,t),n=jAe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Eo(t,e),Fr(t,[{key:"componentDidCatch",value:function(r,i){this.setState({error:r,info:i})}},{key:"render",value:function(){const{message:r,description:i,id:a,children:o}=this.props,{error:s,info:l}=this.state,c=(l==null?void 0:l.componentStack)||null,u=typeof r>"u"?(s||"").toString():r,f=typeof i>"u"?c:i;return s?d.createElement(epe,{id:a,type:"error",message:u,description:d.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):o}}])}(d.Component);const QE=epe;QE.ErrorBoundary=NAe;const xG=e=>typeof e=="object"&&e!=null&&e.nodeType===1,SG=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",v9=(e,t)=>{if(e.clientHeight{const i=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,AAe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},CG=(e,t)=>{var n,r,i,a;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,f=typeof c=="function"?c:j=>j!==c;if(!xG(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let m=e;for(;xG(m)&&f(m);){if(m=AAe(m),m===p){h.push(m);break}m!=null&&m===document.body&&v9(m)&&!v9(document.documentElement)||m!=null&&v9(m,u)&&h.push(m)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(a=(i=window.visualViewport)==null?void 0:i.height)!=null?a:innerHeight,{scrollX:y,scrollY:b}=window,{height:w,width:_,top:k,right:S,bottom:C,left:E}=e.getBoundingClientRect(),{top:$,right:M,bottom:P,left:I}=(j=>{const N=window.getComputedStyle(j);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let O=s==="start"||s==="nearest"?k-$:s==="end"?C+P:k+w/2-$+P,A=l==="center"?E+_/2-I+M:l==="end"?S+M:E-I;const R=[];for(let j=0;j=0&&E>=0&&C<=v&&S<=g&&k>=F&&C<=B&&E>=U&&S<=K)return R;const Z=getComputedStyle(N),ee=parseInt(Z.borderLeftWidth,10),ie=parseInt(Z.borderTopWidth,10),Y=parseInt(Z.borderRightWidth,10),X=parseInt(Z.borderBottomWidth,10);let ae=0,oe=0;const le="offsetWidth"in N?N.offsetWidth-N.clientWidth-ee-Y:0,ce="offsetHeight"in N?N.offsetHeight-N.clientHeight-ie-X:0,pe="offsetWidth"in N?N.offsetWidth===0?0:V/N.offsetWidth:0,me="offsetHeight"in N?N.offsetHeight===0?0:D/N.offsetHeight:0;if(p===N)ae=s==="start"?O:s==="end"?O-v:s==="nearest"?mS(b,b+v,v,ie,X,b+O,b+O+w,w):O-v/2,oe=l==="start"?A:l==="center"?A-g/2:l==="end"?A-g:mS(y,y+g,g,ee,Y,y+A,y+A+_,_),ae=Math.max(0,ae+b),oe=Math.max(0,oe+y);else{ae=s==="start"?O-F-ie:s==="end"?O-B+X+ce:s==="nearest"?mS(F,B,D,ie,X+ce,O,O+w,w):O-(F+D/2)+ce/2,oe=l==="start"?A-U-ee:l==="center"?A-(U+V/2)+le/2:l==="end"?A-K+Y+le:mS(U,K,V,ee,Y+le,A,A+_,_);const{scrollLeft:re,scrollTop:fe}=N;ae=me===0?0:Math.max(0,Math.min(fe+ae/me,N.scrollHeight-D/me+ce)),oe=pe===0?0:Math.max(0,Math.min(re+oe/pe,N.scrollWidth-V/pe+le)),O+=fe-ae,A+=re-oe}R.push({el:N,top:ae,left:oe})}return R},DAe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function FAe(e,t){if(!e.isConnected||!(i=>{let a=i;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(e))return;const n=(i=>{const a=window.getComputedStyle(i);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(CG(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:i,top:a,left:o}of CG(e,DAe(t))){const s=a-n.top+n.bottom,l=o-n.left+n.right;i.scroll({top:s,left:l,behavior:r})}}const qr=e=>{const[,,,,t]=$a();return t?`${e}-css-var`:""};var gt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=gt.F1&&n<=gt.F12)return!1;switch(n){case gt.ALT:case gt.CAPS_LOCK:case gt.CONTEXT_MENU:case gt.CTRL:case gt.DOWN:case gt.END:case gt.ESC:case gt.HOME:case gt.INSERT:case gt.LEFT:case gt.MAC_FF_META:case gt.META:case gt.NUMLOCK:case gt.NUM_CENTER:case gt.PAGE_DOWN:case gt.PAGE_UP:case gt.PAUSE:case gt.PRINT_SCREEN:case gt.RIGHT:case gt.SHIFT:case gt.UP:case gt.WIN_KEY:case gt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=gt.ZERO&&t<=gt.NINE||t>=gt.NUM_ZERO&&t<=gt.NUM_MULTIPLY||t>=gt.A&&t<=gt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case gt.SPACE:case gt.QUESTION_MARK:case gt.NUM_PLUS:case gt.NUM_MINUS:case gt.NUM_PERIOD:case gt.NUM_DIVISION:case gt.SEMICOLON:case gt.DASH:case gt.EQUALS:case gt.COMMA:case gt.PERIOD:case gt.SLASH:case gt.APOSTROPHE:case gt.SINGLE_QUOTE:case gt.OPEN_SQUARE_BRACKET:case gt.BACKSLASH:case gt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},tpe=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,a=e.duration,o=a===void 0?4.5:a,s=e.showProgress,l=e.pauseOnHover,c=l===void 0?!0:l,u=e.eventKey,f=e.content,p=e.closable,h=e.closeIcon,m=h===void 0?"x":h,g=e.props,v=e.onClick,y=e.onNoticeClose,b=e.times,w=e.hovering,_=d.useState(!1),k=Te(_,2),S=k[0],C=k[1],E=d.useState(0),$=Te(E,2),M=$[0],P=$[1],I=d.useState(0),O=Te(I,2),A=O[0],R=O[1],j=w||S,N=o>0&&s,D=function(){y(u)},V=function(ee){(ee.key==="Enter"||ee.code==="Enter"||ee.keyCode===gt.ENTER)&&D()};d.useEffect(function(){if(!j&&o>0){var Z=Date.now()-A,ee=setTimeout(function(){D()},o*1e3-A);return function(){c&&clearTimeout(ee),R(Date.now()-Z)}}},[o,j,b]),d.useEffect(function(){if(!j&&N&&(c||A===0)){var Z=performance.now(),ee,ie=function Y(){cancelAnimationFrame(ee),ee=requestAnimationFrame(function(X){var ae=X+A-Z,oe=Math.min(ae/(o*1e3),1);P(oe*100),oe<1&&Y()})};return ie(),function(){c&&cancelAnimationFrame(ee)}}},[o,A,j,N,b]);var F=d.useMemo(function(){return Kt(p)==="object"&&p!==null?p:p?{closeIcon:m}:{}},[p,m]),K=Bi(F,!0),B=100-(!M||M<0?0:M>100?100:M),U="".concat(n,"-notice");return d.createElement("div",tt({},g,{ref:t,className:Ee(U,i,ne({},"".concat(U,"-closable"),p)),style:r,onMouseEnter:function(ee){var ie;C(!0),g==null||(ie=g.onMouseEnter)===null||ie===void 0||ie.call(g,ee)},onMouseLeave:function(ee){var ie;C(!1),g==null||(ie=g.onMouseLeave)===null||ie===void 0||ie.call(g,ee)},onClick:v}),d.createElement("div",{className:"".concat(U,"-content")},f),p&&d.createElement("a",tt({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:V,"aria-label":"Close"},K,{onClick:function(ee){ee.preventDefault(),ee.stopPropagation(),D()}}),F.closeIcon),N&&d.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:B},B+"%"))}),npe=te.createContext({}),rpe=function(t){var n=t.children,r=t.classNames;return te.createElement(npe.Provider,{value:{classNames:r}},n)},_G=8,kG=3,EG=16,LAe=function(t){var n={offset:_G,threshold:kG,gap:EG};if(t&&Kt(t)==="object"){var r,i,a;n.offset=(r=t.offset)!==null&&r!==void 0?r:_G,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:kG,n.gap=(a=t.gap)!==null&&a!==void 0?a:EG}return[!!t,n]},BAe=["className","style","classNames","styles"],zAe=function(t){var n=t.configList,r=t.placement,i=t.prefixCls,a=t.className,o=t.style,s=t.motion,l=t.onAllNoticeRemoved,c=t.onNoticeClose,u=t.stack,f=d.useContext(npe),p=f.classNames,h=d.useRef({}),m=d.useState(null),g=Te(m,2),v=g[0],y=g[1],b=d.useState([]),w=Te(b,2),_=w[0],k=w[1],S=n.map(function(j){return{config:j,key:String(j.key)}}),C=LAe(u),E=Te(C,2),$=E[0],M=E[1],P=M.offset,I=M.threshold,O=M.gap,A=$&&(_.length>0||S.length<=I),R=typeof s=="function"?s(r):s;return d.useEffect(function(){$&&_.length>1&&k(function(j){return j.filter(function(N){return S.some(function(D){var V=D.key;return N===V})})})},[_,S,$]),d.useEffect(function(){var j;if($&&h.current[(j=S[S.length-1])===null||j===void 0?void 0:j.key]){var N;y(h.current[(N=S[S.length-1])===null||N===void 0?void 0:N.key])}},[S,$]),te.createElement(XE,tt({key:r,className:Ee(i,"".concat(i,"-").concat(r),p==null?void 0:p.list,a,ne(ne({},"".concat(i,"-stack"),!!$),"".concat(i,"-stack-expanded"),A)),style:o,keys:S,motionAppear:!0},R,{onAllRemoved:function(){l(r)}}),function(j,N){var D=j.config,V=j.className,F=j.style,K=j.index,B=D,U=B.key,Z=B.times,ee=String(U),ie=D,Y=ie.className,X=ie.style,ae=ie.classNames,oe=ie.styles,le=Ut(ie,BAe),ce=S.findIndex(function(ye){return ye.key===ee}),pe={};if($){var me=S.length-1-(ce>-1?ce:K-1),re=r==="top"||r==="bottom"?"-50%":"0";if(me>0){var fe,ve,$e;pe.height=A?(fe=h.current[ee])===null||fe===void 0?void 0:fe.offsetHeight:v==null?void 0:v.offsetHeight;for(var Ce=0,be=0;be-1?h.current[ee]=Oe:delete h.current[ee]},prefixCls:i,classNames:ae,styles:oe,className:Ee(Y,p==null?void 0:p.notice),style:X,times:Z,key:U,eventKey:U,onNoticeClose:c,hovering:$&&_.length>0})))})},HAe=d.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,a=e.motion,o=e.maxCount,s=e.className,l=e.style,c=e.onAllRemoved,u=e.stack,f=e.renderNotifications,p=d.useState([]),h=Te(p,2),m=h[0],g=h[1],v=function($){var M,P=m.find(function(I){return I.key===$});P==null||(M=P.onClose)===null||M===void 0||M.call(P),g(function(I){return I.filter(function(O){return O.key!==$})})};d.useImperativeHandle(t,function(){return{open:function($){g(function(M){var P=ct(M),I=P.findIndex(function(R){return R.key===$.key}),O=q({},$);if(I>=0){var A;O.times=(((A=M[I])===null||A===void 0?void 0:A.times)||0)+1,P[I]=O}else O.times=0,P.push(O);return o>0&&P.length>o&&(P=P.slice(-o)),P})},close:function($){v($)},destroy:function(){g([])}}});var y=d.useState({}),b=Te(y,2),w=b[0],_=b[1];d.useEffect(function(){var E={};m.forEach(function($){var M=$.placement,P=M===void 0?"topRight":M;P&&(E[P]=E[P]||[],E[P].push($))}),Object.keys(w).forEach(function($){E[$]=E[$]||[]}),_(E)},[m]);var k=function($){_(function(M){var P=q({},M),I=P[$]||[];return I.length||delete P[$],P})},S=d.useRef(!1);if(d.useEffect(function(){Object.keys(w).length>0?S.current=!0:S.current&&(c==null||c(),S.current=!1)},[w]),!i)return null;var C=Object.keys(w);return Ka.createPortal(d.createElement(d.Fragment,null,C.map(function(E){var $=w[E],M=d.createElement(zAe,{key:E,configList:$,placement:E,prefixCls:r,className:s==null?void 0:s(E),style:l==null?void 0:l(E),motion:a,onNoticeClose:v,onAllNoticeRemoved:k,stack:u});return f?f(M,{prefixCls:r,key:E}):M})),i)}),UAe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],WAe=function(){return document.body},$G=0;function VAe(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?WAe:t,r=e.motion,i=e.prefixCls,a=e.maxCount,o=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,u=e.renderNotifications,f=Ut(e,UAe),p=d.useState(),h=Te(p,2),m=h[0],g=h[1],v=d.useRef(),y=d.createElement(HAe,{container:m,ref:v,prefixCls:i,motion:r,maxCount:a,className:o,style:s,onAllRemoved:l,stack:c,renderNotifications:u}),b=d.useState([]),w=Te(b,2),_=w[0],k=w[1],S=d.useMemo(function(){return{open:function(E){var $=VAe(f,E);($.key===null||$.key===void 0)&&($.key="rc-notification-".concat($G),$G+=1),k(function(M){return[].concat(ct(M),[{type:"open",config:$}])})},close:function(E){k(function($){return[].concat(ct($),[{type:"close",key:E}])})},destroy:function(){k(function(E){return[].concat(ct(E),[{type:"destroy"}])})}}},[]);return d.useEffect(function(){g(n())}),d.useEffect(function(){v.current&&_.length&&(_.forEach(function(C){switch(C.type){case"open":v.current.open(C.config);break;case"close":v.current.close(C.key);break;case"destroy":v.current.destroy();break}}),k(function(C){return C.filter(function(E){return!_.includes(E)})}))},[_]),[S,y]}var qAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},KAe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:qAe}))},pu=d.forwardRef(KAe);const m4=te.createContext(void 0),vp=100,GAe=10,VL=vp*GAe,ape={Modal:vp,Drawer:vp,Popover:vp,Popconfirm:vp,Tooltip:vp,Tour:vp,FloatButton:vp},YAe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function XAe(e){return e in ape}const _c=(e,t)=>{const[,n]=$a(),r=te.useContext(m4),i=XAe(e);let a;if(t!==void 0)a=[t,t];else{let o=r??0;i?o+=(r?0:n.zIndexPopupBase)+ape[e]:o+=YAe[e],a=[r===void 0?t:o,o]}return a},ZAe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:p,paddingXS:h,borderRadiusLG:m,zIndexPopup:g,contentPadding:v,contentBg:y}=e,b=`${t}-notice`,w=new ir("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),_=new ir("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),k={padding:h,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:p,fontSize:c},[`${b}-content`]:{display:"inline-block",padding:v,background:y,borderRadius:m,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},
+ margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:i,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:p,fontSize:o},[`${t}-description`]:{display:"block",color:f}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},TAe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:a,colorWarningBorder:o,colorWarningBg:s,colorError:l,colorErrorBorder:c,colorErrorBg:u,colorInfo:f,colorInfoBorder:p,colorInfoBg:h}=e;return{[t]:{"&-success":gS(i,r,n,e,t),"&-info":gS(h,p,f,e,t),"&-warning":gS(s,o,a,e,t),"&-error":Object.assign(Object.assign({},gS(u,c,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},PAe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:a,colorIcon:o,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:a,lineHeight:Me(a),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:s}}}}},OAe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),RAe=Jn("Alert",e=>[MAe(e),TAe(e),PAe(e)],OAe);var CG=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{icon:t,prefixCls:n,type:r}=e,i=IAe[r]||null;return t?qL(t,d.createElement("span",{className:`${n}-icon`},t),()=>({className:Ee(`${n}-icon`,t.props.className)})):d.createElement(i,{className:`${n}-icon`})},NAe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:i,ariaProps:a}=e,o=r===!0||r===void 0?d.createElement(Eu,null):r;return t?d.createElement("button",Object.assign({type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},a),o):null},ipe=d.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:i,banner:a,className:o,rootClassName:s,style:l,onMouseEnter:c,onMouseLeave:u,onClick:f,afterClose:p,showIcon:h,closable:m,closeText:g,closeIcon:v,action:y,id:w}=e,b=CG(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[C,k]=d.useState(!1),S=d.useRef(null);d.useImperativeHandle(t,()=>({nativeElement:S.current}));const{getPrefixCls:_,direction:E,alert:$}=d.useContext(Xt),M=_("alert",r),[P,R,O]=RAe(M),j=B=>{var U;k(!0),(U=e.onClose)===null||U===void 0||U.call(e,B)},I=d.useMemo(()=>e.type!==void 0?e.type:a?"warning":"info",[e.type,a]),A=d.useMemo(()=>typeof m=="object"&&m.closeIcon||g?!0:typeof m=="boolean"?m:v!==!1&&v!==null&&v!==void 0?!0:!!($!=null&&$.closable),[g,v,m,$==null?void 0:$.closable]),N=a&&h===void 0?!0:h,F=Ee(M,`${M}-${I}`,{[`${M}-with-description`]:!!n,[`${M}-no-icon`]:!N,[`${M}-banner`]:!!a,[`${M}-rtl`]:E==="rtl"},$==null?void 0:$.className,o,s,O,R),K=Fi(b,{aria:!0,data:!0}),L=d.useMemo(()=>{var B,U;return typeof m=="object"&&m.closeIcon?m.closeIcon:g||(v!==void 0?v:typeof($==null?void 0:$.closable)=="object"&&(!((B=$==null?void 0:$.closable)===null||B===void 0)&&B.closeIcon)?(U=$==null?void 0:$.closable)===null||U===void 0?void 0:U.closeIcon:$==null?void 0:$.closeIcon)},[v,m,g,$==null?void 0:$.closeIcon]),V=d.useMemo(()=>{const B=m??($==null?void 0:$.closable);return typeof B=="object"?CG(B,["closeIcon"]):{}},[m,$==null?void 0:$.closable]);return P(d.createElement(Ca,{visible:!C,motionName:`${M}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:B=>({maxHeight:B.offsetHeight}),onLeaveEnd:p},(B,U)=>{let{className:Y,style:ee}=B;return d.createElement("div",Object.assign({id:w,ref:ga(S,U),"data-show":!C,className:Ee(F,Y),style:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.style),l),ee),onMouseEnter:c,onMouseLeave:u,onClick:f,role:"alert"},K),N?d.createElement(jAe,{description:n,icon:e.icon,prefixCls:M,type:I}):null,d.createElement("div",{className:`${M}-content`},i?d.createElement("div",{className:`${M}-message`},i):null,n?d.createElement("div",{className:`${M}-description`},n):null),y?d.createElement("div",{className:`${M}-action`},y):null,d.createElement(NAe,{isClosable:A,prefixCls:M,closeIcon:L,handleClose:j,ariaProps:V}))}))});function AAe(e,t,n){return t=fg(t),jde(e,zE()?Reflect.construct(t,n||[],fg(e).constructor):t.apply(e,n))}let DAe=function(e){function t(){var n;return Ar(this,t),n=AAe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return $o(t,e),Dr(t,[{key:"componentDidCatch",value:function(r,i){this.setState({error:r,info:i})}},{key:"render",value:function(){const{message:r,description:i,id:a,children:o}=this.props,{error:s,info:l}=this.state,c=(l==null?void 0:l.componentStack)||null,u=typeof r>"u"?(s||"").toString():r,f=typeof i>"u"?c:i;return s?d.createElement(ipe,{id:a,type:"error",message:u,description:d.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):o}}])}(d.Component);const JE=ipe;JE.ErrorBoundary=DAe;const _G=e=>typeof e=="object"&&e!=null&&e.nodeType===1,kG=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",w9=(e,t)=>{if(e.clientHeight{const i=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,FAe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},EG=(e,t)=>{var n,r,i,a;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,f=typeof c=="function"?c:A=>A!==c;if(!_G(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let m=e;for(;_G(m)&&f(m);){if(m=FAe(m),m===p){h.push(m);break}m!=null&&m===document.body&&w9(m)&&!w9(document.documentElement)||m!=null&&w9(m,u)&&h.push(m)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(a=(i=window.visualViewport)==null?void 0:i.height)!=null?a:innerHeight,{scrollX:y,scrollY:w}=window,{height:b,width:C,top:k,right:S,bottom:_,left:E}=e.getBoundingClientRect(),{top:$,right:M,bottom:P,left:R}=(A=>{const N=window.getComputedStyle(A);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let O=s==="start"||s==="nearest"?k-$:s==="end"?_+P:k+b/2-$+P,j=l==="center"?E+C/2-R+M:l==="end"?S+M:E-R;const I=[];for(let A=0;A=0&&E>=0&&_<=v&&S<=g&&k>=L&&_<=B&&E>=U&&S<=V)return I;const Y=getComputedStyle(N),ee=parseInt(Y.borderLeftWidth,10),ie=parseInt(Y.borderTopWidth,10),Z=parseInt(Y.borderRightWidth,10),X=parseInt(Y.borderBottomWidth,10);let ae=0,oe=0;const le="offsetWidth"in N?N.offsetWidth-N.clientWidth-ee-Z:0,ce="offsetHeight"in N?N.offsetHeight-N.clientHeight-ie-X:0,pe="offsetWidth"in N?N.offsetWidth===0?0:K/N.offsetWidth:0,me="offsetHeight"in N?N.offsetHeight===0?0:F/N.offsetHeight:0;if(p===N)ae=s==="start"?O:s==="end"?O-v:s==="nearest"?vS(w,w+v,v,ie,X,w+O,w+O+b,b):O-v/2,oe=l==="start"?j:l==="center"?j-g/2:l==="end"?j-g:vS(y,y+g,g,ee,Z,y+j,y+j+C,C),ae=Math.max(0,ae+w),oe=Math.max(0,oe+y);else{ae=s==="start"?O-L-ie:s==="end"?O-B+X+ce:s==="nearest"?vS(L,B,F,ie,X+ce,O,O+b,b):O-(L+F/2)+ce/2,oe=l==="start"?j-U-ee:l==="center"?j-(U+K/2)+le/2:l==="end"?j-V+Z+le:vS(U,V,K,ee,Z+le,j,j+C,C);const{scrollLeft:re,scrollTop:fe}=N;ae=me===0?0:Math.max(0,Math.min(fe+ae/me,N.scrollHeight-F/me+ce)),oe=pe===0?0:Math.max(0,Math.min(re+oe/pe,N.scrollWidth-K/pe+le)),O+=fe-ae,j+=re-oe}I.push({el:N,top:ae,left:oe})}return I},LAe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function BAe(e,t){if(!e.isConnected||!(i=>{let a=i;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(e))return;const n=(i=>{const a=window.getComputedStyle(i);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(EG(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:i,top:a,left:o}of EG(e,LAe(t))){const s=a-n.top+n.bottom,l=o-n.left+n.right;i.scroll({top:s,left:l,behavior:r})}}const qr=e=>{const[,,,,t]=ka();return t?`${e}-css-var`:""};var mt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=mt.F1&&n<=mt.F12)return!1;switch(n){case mt.ALT:case mt.CAPS_LOCK:case mt.CONTEXT_MENU:case mt.CTRL:case mt.DOWN:case mt.END:case mt.ESC:case mt.HOME:case mt.INSERT:case mt.LEFT:case mt.MAC_FF_META:case mt.META:case mt.NUMLOCK:case mt.NUM_CENTER:case mt.PAGE_DOWN:case mt.PAGE_UP:case mt.PAUSE:case mt.PRINT_SCREEN:case mt.RIGHT:case mt.SHIFT:case mt.UP:case mt.WIN_KEY:case mt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=mt.ZERO&&t<=mt.NINE||t>=mt.NUM_ZERO&&t<=mt.NUM_MULTIPLY||t>=mt.A&&t<=mt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case mt.SPACE:case mt.QUESTION_MARK:case mt.NUM_PLUS:case mt.NUM_MINUS:case mt.NUM_PERIOD:case mt.NUM_DIVISION:case mt.SEMICOLON:case mt.DASH:case mt.EQUALS:case mt.COMMA:case mt.PERIOD:case mt.SLASH:case mt.APOSTROPHE:case mt.SINGLE_QUOTE:case mt.OPEN_SQUARE_BRACKET:case mt.BACKSLASH:case mt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ape=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,a=e.duration,o=a===void 0?4.5:a,s=e.showProgress,l=e.pauseOnHover,c=l===void 0?!0:l,u=e.eventKey,f=e.content,p=e.closable,h=e.closeIcon,m=h===void 0?"x":h,g=e.props,v=e.onClick,y=e.onNoticeClose,w=e.times,b=e.hovering,C=d.useState(!1),k=Te(C,2),S=k[0],_=k[1],E=d.useState(0),$=Te(E,2),M=$[0],P=$[1],R=d.useState(0),O=Te(R,2),j=O[0],I=O[1],A=b||S,N=o>0&&s,F=function(){y(u)},K=function(ee){(ee.key==="Enter"||ee.code==="Enter"||ee.keyCode===mt.ENTER)&&F()};d.useEffect(function(){if(!A&&o>0){var Y=Date.now()-j,ee=setTimeout(function(){F()},o*1e3-j);return function(){c&&clearTimeout(ee),I(Date.now()-Y)}}},[o,A,w]),d.useEffect(function(){if(!A&&N&&(c||j===0)){var Y=performance.now(),ee,ie=function Z(){cancelAnimationFrame(ee),ee=requestAnimationFrame(function(X){var ae=X+j-Y,oe=Math.min(ae/(o*1e3),1);P(oe*100),oe<1&&Z()})};return ie(),function(){c&&cancelAnimationFrame(ee)}}},[o,j,A,N,w]);var L=d.useMemo(function(){return Kt(p)==="object"&&p!==null?p:p?{closeIcon:m}:{}},[p,m]),V=Fi(L,!0),B=100-(!M||M<0?0:M>100?100:M),U="".concat(n,"-notice");return d.createElement("div",tt({},g,{ref:t,className:Ee(U,i,ne({},"".concat(U,"-closable"),p)),style:r,onMouseEnter:function(ee){var ie;_(!0),g==null||(ie=g.onMouseEnter)===null||ie===void 0||ie.call(g,ee)},onMouseLeave:function(ee){var ie;_(!1),g==null||(ie=g.onMouseLeave)===null||ie===void 0||ie.call(g,ee)},onClick:v}),d.createElement("div",{className:"".concat(U,"-content")},f),p&&d.createElement("a",tt({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:K,"aria-label":"Close"},V,{onClick:function(ee){ee.preventDefault(),ee.stopPropagation(),F()}}),L.closeIcon),N&&d.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:B},B+"%"))}),ope=te.createContext({}),spe=function(t){var n=t.children,r=t.classNames;return te.createElement(ope.Provider,{value:{classNames:r}},n)},$G=8,MG=3,TG=16,zAe=function(t){var n={offset:$G,threshold:MG,gap:TG};if(t&&Kt(t)==="object"){var r,i,a;n.offset=(r=t.offset)!==null&&r!==void 0?r:$G,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:MG,n.gap=(a=t.gap)!==null&&a!==void 0?a:TG}return[!!t,n]},HAe=["className","style","classNames","styles"],UAe=function(t){var n=t.configList,r=t.placement,i=t.prefixCls,a=t.className,o=t.style,s=t.motion,l=t.onAllNoticeRemoved,c=t.onNoticeClose,u=t.stack,f=d.useContext(ope),p=f.classNames,h=d.useRef({}),m=d.useState(null),g=Te(m,2),v=g[0],y=g[1],w=d.useState([]),b=Te(w,2),C=b[0],k=b[1],S=n.map(function(A){return{config:A,key:String(A.key)}}),_=zAe(u),E=Te(_,2),$=E[0],M=E[1],P=M.offset,R=M.threshold,O=M.gap,j=$&&(C.length>0||S.length<=R),I=typeof s=="function"?s(r):s;return d.useEffect(function(){$&&C.length>1&&k(function(A){return A.filter(function(N){return S.some(function(F){var K=F.key;return N===K})})})},[C,S,$]),d.useEffect(function(){var A;if($&&h.current[(A=S[S.length-1])===null||A===void 0?void 0:A.key]){var N;y(h.current[(N=S[S.length-1])===null||N===void 0?void 0:N.key])}},[S,$]),te.createElement(ZE,tt({key:r,className:Ee(i,"".concat(i,"-").concat(r),p==null?void 0:p.list,a,ne(ne({},"".concat(i,"-stack"),!!$),"".concat(i,"-stack-expanded"),j)),style:o,keys:S,motionAppear:!0},I,{onAllRemoved:function(){l(r)}}),function(A,N){var F=A.config,K=A.className,L=A.style,V=A.index,B=F,U=B.key,Y=B.times,ee=String(U),ie=F,Z=ie.className,X=ie.style,ae=ie.classNames,oe=ie.styles,le=Ht(ie,HAe),ce=S.findIndex(function(ye){return ye.key===ee}),pe={};if($){var me=S.length-1-(ce>-1?ce:V-1),re=r==="top"||r==="bottom"?"-50%":"0";if(me>0){var fe,ve,$e;pe.height=j?(fe=h.current[ee])===null||fe===void 0?void 0:fe.offsetHeight:v==null?void 0:v.offsetHeight;for(var Ce=0,be=0;be-1?h.current[ee]=Oe:delete h.current[ee]},prefixCls:i,classNames:ae,styles:oe,className:Ee(Z,p==null?void 0:p.notice),style:X,times:Y,key:U,eventKey:U,onNoticeClose:c,hovering:$&&C.length>0})))})},WAe=d.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,a=e.motion,o=e.maxCount,s=e.className,l=e.style,c=e.onAllRemoved,u=e.stack,f=e.renderNotifications,p=d.useState([]),h=Te(p,2),m=h[0],g=h[1],v=function($){var M,P=m.find(function(R){return R.key===$});P==null||(M=P.onClose)===null||M===void 0||M.call(P),g(function(R){return R.filter(function(O){return O.key!==$})})};d.useImperativeHandle(t,function(){return{open:function($){g(function(M){var P=lt(M),R=P.findIndex(function(I){return I.key===$.key}),O=q({},$);if(R>=0){var j;O.times=(((j=M[R])===null||j===void 0?void 0:j.times)||0)+1,P[R]=O}else O.times=0,P.push(O);return o>0&&P.length>o&&(P=P.slice(-o)),P})},close:function($){v($)},destroy:function(){g([])}}});var y=d.useState({}),w=Te(y,2),b=w[0],C=w[1];d.useEffect(function(){var E={};m.forEach(function($){var M=$.placement,P=M===void 0?"topRight":M;P&&(E[P]=E[P]||[],E[P].push($))}),Object.keys(b).forEach(function($){E[$]=E[$]||[]}),C(E)},[m]);var k=function($){C(function(M){var P=q({},M),R=P[$]||[];return R.length||delete P[$],P})},S=d.useRef(!1);if(d.useEffect(function(){Object.keys(b).length>0?S.current=!0:S.current&&(c==null||c(),S.current=!1)},[b]),!i)return null;var _=Object.keys(b);return Va.createPortal(d.createElement(d.Fragment,null,_.map(function(E){var $=b[E],M=d.createElement(UAe,{key:E,configList:$,placement:E,prefixCls:r,className:s==null?void 0:s(E),style:l==null?void 0:l(E),motion:a,onNoticeClose:v,onAllNoticeRemoved:k,stack:u});return f?f(M,{prefixCls:r,key:E}):M})),i)}),VAe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],qAe=function(){return document.body},PG=0;function KAe(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?qAe:t,r=e.motion,i=e.prefixCls,a=e.maxCount,o=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,u=e.renderNotifications,f=Ht(e,VAe),p=d.useState(),h=Te(p,2),m=h[0],g=h[1],v=d.useRef(),y=d.createElement(WAe,{container:m,ref:v,prefixCls:i,motion:r,maxCount:a,className:o,style:s,onAllRemoved:l,stack:c,renderNotifications:u}),w=d.useState([]),b=Te(w,2),C=b[0],k=b[1],S=d.useMemo(function(){return{open:function(E){var $=KAe(f,E);($.key===null||$.key===void 0)&&($.key="rc-notification-".concat(PG),PG+=1),k(function(M){return[].concat(lt(M),[{type:"open",config:$}])})},close:function(E){k(function($){return[].concat(lt($),[{type:"close",key:E}])})},destroy:function(){k(function(E){return[].concat(lt(E),[{type:"destroy"}])})}}},[]);return d.useEffect(function(){g(n())}),d.useEffect(function(){v.current&&C.length&&(C.forEach(function(_){switch(_.type){case"open":v.current.open(_.config);break;case"close":v.current.close(_.key);break;case"destroy":v.current.destroy();break}}),k(function(_){return _.filter(function(E){return!C.includes(E)})}))},[C]),[S,y]}var GAe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},YAe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:GAe}))},vu=d.forwardRef(YAe);const v4=te.createContext(void 0),vp=100,XAe=10,KL=vp*XAe,cpe={Modal:vp,Drawer:vp,Popover:vp,Popconfirm:vp,Tooltip:vp,Tour:vp,FloatButton:vp},ZAe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function QAe(e){return e in cpe}const $c=(e,t)=>{const[,n]=ka(),r=te.useContext(v4),i=QAe(e);let a;if(t!==void 0)a=[t,t];else{let o=r??0;i?o+=(r?0:n.zIndexPopupBase)+cpe[e]:o+=ZAe[e],a=[r===void 0?t:o,o]}return a},JAe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:p,paddingXS:h,borderRadiusLG:m,zIndexPopup:g,contentPadding:v,contentBg:y}=e,w=`${t}-notice`,b=new ir("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),C=new ir("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),k={padding:h,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:p,fontSize:c},[`${w}-content`]:{display:"inline-block",padding:v,background:y,borderRadius:m,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},
${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},ar(e)),{color:i,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
${t}-move-up-appear,
${t}-move-up-enter
- `]:{animationName:w,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`
+ `]:{animationName:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`
${t}-move-up-appear${t}-move-up-appear-active,
${t}-move-up-enter${t}-move-up-enter-active
- `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:_,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},k)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},k),{padding:0,textAlign:"start"})}]},QAe=e=>({zIndexPopup:e.zIndexPopupBase+VL+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),ope=Jn("Message",e=>{const t=Hn(e,{height:150});return[ZAe(t)]},QAe);var JAe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,type:n,icon:r,children:i}=e;return d.createElement("div",{className:Ee(`${t}-custom-content`,`${t}-${n}`)},r||eDe[n],d.createElement("span",null,i))},tDe=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:a}=e,o=JAe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=d.useContext(Zt),l=t||s("message"),c=qr(l),[u,f,p]=ope(l,c);return u(d.createElement(tpe,Object.assign({},o,{prefixCls:l,className:Ee(n,f,`${l}-notice-pure-panel`,p,c),eventKey:"pure",duration:null,content:d.createElement(spe,{prefixCls:l,type:r,icon:i},a)})))};function nDe(e,t){return{motionName:t??`${e}-move-up`}}function qL(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,a)=>n.then(i,a),r.promise=n,r}var rDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=qr(n),[i,a,o]=ope(n,r);return i(d.createElement(rpe,{classNames:{list:Ee(a,o,r)}},t))},sDe=(e,t)=>{let{prefixCls:n,key:r}=t;return d.createElement(oDe,{prefixCls:n,key:r},e)},lDe=d.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=aDe,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:f,message:p,direction:h}=d.useContext(Zt),m=r||u("message"),g=()=>({left:"50%",transform:"translateX(-50%)",top:n??iDe}),v=()=>Ee({[`${m}-rtl`]:s??h==="rtl"}),y=()=>nDe(m,l),b=d.createElement("span",{className:`${m}-close-x`},d.createElement(Cu,{className:`${m}-close-icon`})),[w,_]=ipe({prefixCls:m,style:g,className:v,motion:y,closable:!1,closeIcon:b,duration:o,getContainer:()=>(i==null?void 0:i())||(f==null?void 0:f())||document.body,maxCount:a,onAllRemoved:c,renderNotifications:sDe});return d.useImperativeHandle(t,()=>Object.assign(Object.assign({},w),{prefixCls:m,message:p})),_});let MG=0;function lpe(e){const t=d.useRef(null);return Hg(),[d.useMemo(()=>{const r=l=>{var c;(c=t.current)===null||c===void 0||c.close(l)},i=l=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:c,prefixCls:u,message:f}=t.current,p=`${u}-notice`,{content:h,icon:m,type:g,key:v,className:y,style:b,onClose:w}=l,_=rDe(l,["content","icon","type","key","className","style","onClose"]);let k=v;return k==null&&(MG+=1,k=`antd-message-${MG}`),qL(S=>(c(Object.assign(Object.assign({},_),{key:k,content:d.createElement(spe,{prefixCls:u,type:g,icon:m},h),placement:"top",className:Ee(g&&`${p}-${g}`,y,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),b),onClose:()=>{w==null||w(),S()}})),()=>{r(k)}))},o={open:i,destroy:l=>{var c;l!==void 0?r(l):(c=t.current)===null||c===void 0||c.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const c=(u,f,p)=>{let h;u&&typeof u=="object"&&"content"in u?h=u:h={content:u};let m,g;typeof f=="function"?g=f:(m=f,g=p);const v=Object.assign(Object.assign({onClose:g,duration:m},h),{type:l});return i(v)};o[l]=c}),o},[]),d.createElement(lDe,Object.assign({key:"message-holder"},e,{ref:t}))]}function cpe(e){return lpe(e)}function cDe(){const[e,t]=d.useState([]),n=d.useCallback(r=>(t(i=>[].concat(ct(i),[r])),()=>{t(i=>i.filter(a=>a!==r))}),[]);return[e,n]}function mr(){mr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(j,N,D){j[N]=D.value},a=typeof Symbol=="function"?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(j,N,D){return Object.defineProperty(j,N,{value:D,enumerable:!0,configurable:!0,writable:!0}),j[N]}try{c({},"")}catch{c=function(D,V,F){return D[V]=F}}function u(j,N,D,V){var F=N&&N.prototype instanceof y?N:y,K=Object.create(F.prototype),B=new A(V||[]);return i(K,"_invoke",{value:M(j,D,B)}),K}function f(j,N,D){try{return{type:"normal",arg:j.call(N,D)}}catch(V){return{type:"throw",arg:V}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function b(){}function w(){}var _={};c(_,o,function(){return this});var k=Object.getPrototypeOf,S=k&&k(k(R([])));S&&S!==n&&r.call(S,o)&&(_=S);var C=w.prototype=y.prototype=Object.create(_);function E(j){["next","throw","return"].forEach(function(N){c(j,N,function(D){return this._invoke(N,D)})})}function $(j,N){function D(F,K,B,U){var Z=f(j[F],j,K);if(Z.type!=="throw"){var ee=Z.arg,ie=ee.value;return ie&&Kt(ie)=="object"&&r.call(ie,"__await")?N.resolve(ie.__await).then(function(Y){D("next",Y,B,U)},function(Y){D("throw",Y,B,U)}):N.resolve(ie).then(function(Y){ee.value=Y,B(ee)},function(Y){return D("throw",Y,B,U)})}U(Z.arg)}var V;i(this,"_invoke",{value:function(K,B){function U(){return new N(function(Z,ee){D(K,B,Z,ee)})}return V=V?V.then(U,U):U()}})}function M(j,N,D){var V=p;return function(F,K){if(V===m)throw Error("Generator is already running");if(V===g){if(F==="throw")throw K;return{value:e,done:!0}}for(D.method=F,D.arg=K;;){var B=D.delegate;if(B){var U=P(B,D);if(U){if(U===v)continue;return U}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(V===p)throw V=g,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);V=m;var Z=f(j,N,D);if(Z.type==="normal"){if(V=D.done?g:h,Z.arg===v)continue;return{value:Z.arg,done:D.done}}Z.type==="throw"&&(V=g,D.method="throw",D.arg=Z.arg)}}}function P(j,N){var D=N.method,V=j.iterator[D];if(V===e)return N.delegate=null,D==="throw"&&j.iterator.return&&(N.method="return",N.arg=e,P(j,N),N.method==="throw")||D!=="return"&&(N.method="throw",N.arg=new TypeError("The iterator does not provide a '"+D+"' method")),v;var F=f(V,j.iterator,N.arg);if(F.type==="throw")return N.method="throw",N.arg=F.arg,N.delegate=null,v;var K=F.arg;return K?K.done?(N[j.resultName]=K.value,N.next=j.nextLoc,N.method!=="return"&&(N.method="next",N.arg=e),N.delegate=null,v):K:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,v)}function I(j){var N={tryLoc:j[0]};1 in j&&(N.catchLoc=j[1]),2 in j&&(N.finallyLoc=j[2],N.afterLoc=j[3]),this.tryEntries.push(N)}function O(j){var N=j.completion||{};N.type="normal",delete N.arg,j.completion=N}function A(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(I,this),this.reset(!0)}function R(j){if(j||j===""){var N=j[o];if(N)return N.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var D=-1,V=function F(){for(;++D=0;--F){var K=this.tryEntries[F],B=K.completion;if(K.tryLoc==="root")return V("end");if(K.tryLoc<=this.prev){var U=r.call(K,"catchLoc"),Z=r.call(K,"finallyLoc");if(U&&Z){if(this.prev=0;--V){var F=this.tryEntries[V];if(F.tryLoc<=this.prev&&r.call(F,"finallyLoc")&&this.prev=0;--D){var V=this.tryEntries[D];if(V.finallyLoc===N)return this.complete(V.completion,V.afterLoc),O(V),v}},catch:function(N){for(var D=this.tryEntries.length-1;D>=0;--D){var V=this.tryEntries[D];if(V.tryLoc===N){var F=V.completion;if(F.type==="throw"){var K=F.arg;O(V)}return K}}throw Error("illegal catch attempt")},delegateYield:function(N,D,V){return this.delegate={iterator:R(N),resultName:D,nextLoc:V},this.method==="next"&&(this.arg=e),v}},t}function TG(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function ha(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){TG(a,r,i,o,s,"next",l)}function s(l){TG(a,r,i,o,s,"throw",l)}o(void 0)})}}var g4=q({},Voe),uDe=g4.version,y9=g4.render,dDe=g4.unmountComponentAtNode,JE;try{var fDe=Number((uDe||"").split(".")[0]);fDe>=18&&(JE=g4.createRoot)}catch{}function PG(e){var t=g4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Kt(t)==="object"&&(t.usingClientEntryPoint=e)}var p6="__rc_react_root__";function pDe(e,t){PG(!0);var n=t[p6]||JE(t);PG(!1),n.render(e),t[p6]=n}function hDe(e,t){y9==null||y9(e,t)}function mDe(e,t){if(JE){pDe(e,t);return}hDe(e,t)}function gDe(e){return pj.apply(this,arguments)}function pj(){return pj=ha(mr().mark(function e(t){return mr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[p6])===null||i===void 0||i.unmount(),delete t[p6]}));case 1:case"end":return r.stop()}},e)})),pj.apply(this,arguments)}function vDe(e){dDe(e)}function yDe(e){return hj.apply(this,arguments)}function hj(){return hj=ha(mr().mark(function e(t){return mr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(JE===void 0){r.next=2;break}return r.abrupt("return",gDe(t));case 2:vDe(t);case 3:case"end":return r.stop()}},e)})),hj.apply(this,arguments)}const bDe=(e,t)=>(mDe(e,t),()=>yDe(t));let wDe=bDe;function KL(){return wDe}const b9=()=>({height:0,opacity:0}),OG=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},xDe=e=>({height:e?e.offsetHeight:0}),w9=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",$0=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:t3}-motion-collapse`,onAppearStart:b9,onEnterStart:b9,onAppearActive:OG,onEnterActive:OG,onLeaveStart:xDe,onLeaveActive:b9,onAppearEnd:w9,onEnterEnd:w9,onLeaveEnd:w9,motionDeadline:500}},so=(e,t,n)=>n!==void 0?n:`${e}-${t}`,v4=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),a=i.width,o=i.height;if(a||o)return!0}}return!1},SDe=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},CDe=Ife("Wave",e=>[SDe(e)]),e8=`${t3}-wave-target`;function x9(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function _De(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return x9(t)?t:x9(n)?n:x9(r)?r:null}function S9(e){return Number.isNaN(e)?0:e}const kDe=e=>{const{className:t,target:n,component:r,registerUnmount:i}=e,a=d.useRef(null),o=d.useRef(null);d.useEffect(()=>{o.current=i()},[]);const[s,l]=d.useState(null),[c,u]=d.useState([]),[f,p]=d.useState(0),[h,m]=d.useState(0),[g,v]=d.useState(0),[y,b]=d.useState(0),[w,_]=d.useState(!1),k={left:f,top:h,width:g,height:y,borderRadius:c.map(E=>`${E}px`).join(" ")};s&&(k["--wave-color"]=s);function S(){const E=getComputedStyle(n);l(_De(n));const $=E.position==="static",{borderLeftWidth:M,borderTopWidth:P}=E;p($?n.offsetLeft:S9(-parseFloat(M))),m($?n.offsetTop:S9(-parseFloat(P))),v(n.offsetWidth),b(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:O,borderBottomLeftRadius:A,borderBottomRightRadius:R}=E;u([I,O,R,A].map(j=>S9(parseFloat(j))))}if(d.useEffect(()=>{if(n){const E=rr(()=>{S(),_(!0)});let $;return typeof ResizeObserver<"u"&&($=new ResizeObserver(S),$.observe(n)),()=>{rr.cancel(E),$==null||$.disconnect()}}},[]),!w)return null;const C=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(e8));return d.createElement(ka,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,$)=>{var M,P;if($.deadline||$.propertyName==="opacity"){const I=(M=a.current)===null||M===void 0?void 0:M.parentElement;(P=o.current)===null||P===void 0||P.call(o).then(()=>{I==null||I.remove()})}return!1}},(E,$)=>{let{className:M}=E;return d.createElement("div",{ref:va(a,$),className:Ee(t,M,{"wave-quick":C}),style:k})})},EDe=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",e==null||e.insertBefore(i,e==null?void 0:e.firstChild);const a=KL();let o=null;function s(){return o}o=a(d.createElement(kDe,Object.assign({},t,{target:e,registerUnmount:s})),i)},$De=(e,t,n)=>{const{wave:r}=d.useContext(Zt),[,i,a]=$a(),o=Vn(c=>{const u=e.current;if(r!=null&&r.disabled||!u)return;const f=u.querySelector(`.${e8}`)||u,{showEffect:p}=r||{};(p||EDe)(f,{className:t,token:i,component:n,event:c,hashId:a})}),s=d.useRef(null);return c=>{rr.cancel(s.current),s.current=rr(()=>{o(c)})}},y4=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=d.useContext(Zt),a=d.useRef(null),o=i("wave"),[,s]=CDe(o),l=$De(a,Ee(o,s),r);if(te.useEffect(()=>{const u=a.current;if(!u||u.nodeType!==1||n)return;const f=p=>{!v4(p.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l(p)};return u.addEventListener("click",f,!0),()=>{u.removeEventListener("click",f,!0)}},[n]),!te.isValidElement(t))return t??null;const c=Vf(t)?va(vh(t),a):a;return oa(t,{ref:c})},Hi=e=>{const t=te.useContext(hg);return te.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},MDe=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},TDe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},PDe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},upe=Jn("Space",e=>{const t=Hn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[TDe(t),PDe(t),MDe(t)]},()=>({}),{resetStyle:!1});var dpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=d.useContext(t8),r=d.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:a,isLastItem:o}=n,s=i==="vertical"?"-vertical-":"-";return Ee(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:o,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},ODe=e=>{let{children:t}=e;return d.createElement(t8.Provider,{value:null},t)},IDe=e=>{var{children:t}=e,n=dpe(e,["children"]);return d.createElement(t8.Provider,{value:n},t)},RDe=e=>{const{getPrefixCls:t,direction:n}=d.useContext(Zt),{size:r,direction:i,block:a,prefixCls:o,className:s,rootClassName:l,children:c}=e,u=dpe(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Hi(w=>r??w),p=t("space-compact",o),[h,m]=upe(p),g=Ee(p,m,{[`${p}-rtl`]:n==="rtl",[`${p}-block`]:a,[`${p}-vertical`]:i==="vertical"},s,l),v=d.useContext(t8),y=Zi(c),b=d.useMemo(()=>y.map((w,_)=>{const k=(w==null?void 0:w.key)||`${p}-item-${_}`;return d.createElement(IDe,{key:k,compactSize:f,compactDirection:i,isFirstItem:_===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:_===y.length-1&&(!v||(v==null?void 0:v.isLastItem))},w)}),[r,y,v]);return y.length===0?null:h(d.createElement("div",Object.assign({className:g},u),b))};var jDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n}=d.useContext(Zt),{prefixCls:r,size:i,className:a}=e,o=jDe(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=$a();let c="";switch(i){case"large":c="lg";break;case"small":c="sm";break}const u=Ee(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},a,l);return d.createElement(fpe.Provider,{value:i},d.createElement("div",Object.assign({},o,{className:u})))},IG=/^[\u4E00-\u9FA5]{2}$/,mj=IG.test.bind(IG);function GL(e){return e==="danger"?{danger:!0}:{type:e}}function RG(e){return typeof e=="string"}function C9(e){return e==="text"||e==="link"}function ADe(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&RG(e.type)&&mj(e.props.children)?oa(e,{children:e.props.children.split("").join(n)}):RG(e)?mj(e)?te.createElement("span",null,e.split("").join(n)):te.createElement("span",null,e):Jfe(e)?te.createElement("span",null,e):e}function DDe(e,t){let n=!1;const r=[];return te.Children.forEach(e,i=>{const a=typeof i,o=a==="string"||a==="number";if(n&&o){const s=r.length-1,l=r[s];r[s]=`${l}${i}`}else r.push(i);n=o}),te.Children.map(r,i=>ADe(i,t))}["default","primary","danger"].concat(ct(vg));const gj=d.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:a}=e,o=Ee(`${a}-icon`,n);return te.createElement("span",{ref:t,className:o,style:r},i)}),jG=d.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=Ee(`${n}-loading-icon`,r);return te.createElement(gj,{prefixCls:n,className:o,style:i,ref:t},te.createElement(pu,{className:a}))}),_9=()=>({width:0,opacity:0,transform:"scale(0)"}),k9=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),FDe=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?te.createElement(jG,{prefixCls:t,className:i,style:a}):te.createElement(ka,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:_9,onAppearActive:k9,onEnterStart:_9,onEnterActive:k9,onLeaveStart:k9,onLeaveActive:_9},(l,c)=>{let{className:u,style:f}=l;const p=Object.assign(Object.assign({},a),f);return te.createElement(jG,{prefixCls:t,className:Ee(i,u),style:p,ref:c})})},NG=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),LDe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=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:n}},NG(`${t}-primary`,i),NG(`${t}-danger`,a)]}};var BDe=["b"],zDe=["v"],E9=function(t){return Math.round(Number(t||0))},HDe=function(t){if(t instanceof dr)return t;if(t&&Kt(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,i=Ut(n,BDe);return q(q({},i),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},hu=function(e){Eo(n,e);var t=ts(n);function n(r){return Dr(this,n),t.call(this,HDe(r))}return Fr(n,[{key:"toHsbString",value:function(){var i=this.toHsb(),a=E9(i.s*100),o=E9(i.b*100),s=E9(i.h),l=i.a,c="hsb(".concat(s,", ").concat(a,"%, ").concat(o,"%)"),u="hsba(".concat(s,", ").concat(a,"%, ").concat(o,"%, ").concat(l.toFixed(l===0?0:2),")");return l===1?c:u}},{key:"toHsb",value:function(){var i=this.toHsv(),a=i.v,o=Ut(i,zDe);return q(q({},o),{},{b:a,a:this.a})}}]),n}(dr),UDe="rc-color-picker",Tv=function(t){return t instanceof hu?t:new hu(t)},WDe=Tv("#1677ff"),ppe=function(t){var n=t.offset,r=t.targetRef,i=t.containerRef,a=t.color,o=t.type,s=i.current.getBoundingClientRect(),l=s.width,c=s.height,u=r.current.getBoundingClientRect(),f=u.width,p=u.height,h=f/2,m=p/2,g=(n.x+h)/l,v=1-(n.y+m)/c,y=a.toHsb(),b=g,w=(n.x+h)/l*360;if(o)switch(o){case"hue":return Tv(q(q({},y),{},{h:w<=0?0:w}));case"alpha":return Tv(q(q({},y),{},{a:b<=0?0:b}))}return Tv({h:y.h,s:g<=0?0:g,b:v>=1?1:v,a:y.a})},hpe=function(t,n){var r=t.toHsb();switch(n){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:r.s*100,y:(1-r.b)*100}}},YL=function(t){var n=t.color,r=t.prefixCls,i=t.className,a=t.style,o=t.onClick,s="".concat(r,"-color-block");return te.createElement("div",{className:Ee(s,i),style:a,onClick:o},te.createElement("div",{className:"".concat(s,"-inner"),style:{background:n}}))};function VDe(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function mpe(e){var t=e.targetRef,n=e.containerRef,r=e.direction,i=e.onDragChange,a=e.onDragChangeComplete,o=e.calculate,s=e.color,l=e.disabledDrag,c=d.useState({x:0,y:0}),u=Te(c,2),f=u[0],p=u[1],h=d.useRef(null),m=d.useRef(null);d.useEffect(function(){p(o())},[s]),d.useEffect(function(){return function(){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null}},[]);var g=function(_){var k=VDe(_),S=k.pageX,C=k.pageY,E=n.current.getBoundingClientRect(),$=E.x,M=E.y,P=E.width,I=E.height,O=t.current.getBoundingClientRect(),A=O.width,R=O.height,j=A/2,N=R/2,D=Math.max(0,Math.min(S-$,P))-j,V=Math.max(0,Math.min(C-M,I))-N,F={x:D,y:r==="x"?f.y:V};if(A===0&&R===0||A!==R)return!1;i==null||i(F)},v=function(_){_.preventDefault(),g(_)},y=function(_){_.preventDefault(),document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null,a==null||a()},b=function(_){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),!l&&(g(_),document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),document.addEventListener("touchmove",v),document.addEventListener("touchend",y),h.current=v,m.current=y)};return[f,b]}var gpe=function(t){var n=t.size,r=n===void 0?"default":n,i=t.color,a=t.prefixCls;return te.createElement("div",{className:Ee("".concat(a,"-handler"),ne({},"".concat(a,"-handler-sm"),r==="small")),style:{backgroundColor:i}})},vpe=function(t){var n=t.children,r=t.style,i=t.prefixCls;return te.createElement("div",{className:"".concat(i,"-palette"),style:q({position:"relative"},r)},n)},ype=d.forwardRef(function(e,t){var n=e.children,r=e.x,i=e.y;return te.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}),qDe=function(t){var n=t.color,r=t.onChange,i=t.prefixCls,a=t.onChangeComplete,o=t.disabled,s=d.useRef(),l=d.useRef(),c=d.useRef(n),u=Vn(function(g){var v=ppe({offset:g,targetRef:l,containerRef:s,color:n});c.current=v,r(v)}),f=mpe({color:n,containerRef:s,targetRef:l,calculate:function(){return hpe(n)},onDragChange:u,onDragChangeComplete:function(){return a==null?void 0:a(c.current)},disabledDrag:o}),p=Te(f,2),h=p[0],m=p[1];return te.createElement("div",{ref:s,className:"".concat(i,"-select"),onMouseDown:m,onTouchStart:m},te.createElement(vpe,{prefixCls:i},te.createElement(ype,{x:h.x,y:h.y,ref:l},te.createElement(gpe,{color:n.toRgbString(),prefixCls:i})),te.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},KDe=function(t,n){var r=In(t,{value:n}),i=Te(r,2),a=i[0],o=i[1],s=d.useMemo(function(){return Tv(a)},[a]);return[s,o]},GDe=function(t){var n=t.colors,r=t.children,i=t.direction,a=i===void 0?"to right":i,o=t.type,s=t.prefixCls,l=d.useMemo(function(){return n.map(function(c,u){var f=Tv(c);return o==="alpha"&&u===n.length-1&&(f=new hu(f.setA(1))),f.toRgbString()}).join(",")},[n,o]);return te.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(a,", ").concat(l,")")}},r)},YDe=function(t){var n=t.prefixCls,r=t.colors,i=t.disabled,a=t.onChange,o=t.onChangeComplete,s=t.color,l=t.type,c=d.useRef(),u=d.useRef(),f=d.useRef(s),p=function(k){return l==="hue"?k.getHue():k.a*100},h=Vn(function(_){var k=ppe({offset:_,targetRef:u,containerRef:c,color:s,type:l});f.current=k,a(p(k))}),m=mpe({color:s,targetRef:u,containerRef:c,calculate:function(){return hpe(s,l)},onDragChange:h,onDragChangeComplete:function(){o(p(f.current))},direction:"x",disabledDrag:i}),g=Te(m,2),v=g[0],y=g[1],b=te.useMemo(function(){if(l==="hue"){var _=s.toHsb();_.s=1,_.b=1,_.a=1;var k=new hu(_);return k}return s},[s,l]),w=te.useMemo(function(){return r.map(function(_){return"".concat(_.color," ").concat(_.percent,"%")})},[r]);return te.createElement("div",{ref:c,className:Ee("".concat(n,"-slider"),"".concat(n,"-slider-").concat(l)),onMouseDown:y,onTouchStart:y},te.createElement(vpe,{prefixCls:n},te.createElement(ype,{x:v.x,y:v.y,ref:u},te.createElement(gpe,{size:"small",color:b.toHexString(),prefixCls:n})),te.createElement(GDe,{colors:w,type:l,prefixCls:n})))};function XDe(e){return d.useMemo(function(){var t=e||{},n=t.slider;return[n||YDe]},[e])}var ZDe=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],QDe=d.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,a=i===void 0?UDe:i,o=e.onChange,s=e.onChangeComplete,l=e.className,c=e.style,u=e.panelRender,f=e.disabledAlpha,p=f===void 0?!1:f,h=e.disabled,m=h===void 0?!1:h,g=e.components,v=XDe(g),y=Te(v,1),b=y[0],w=KDe(r||WDe,n),_=Te(w,2),k=_[0],S=_[1],C=d.useMemo(function(){return k.setA(1).toRgbString()},[k]),E=function(V,F){n||S(V),o==null||o(V,F)},$=function(V){return new hu(k.setHue(V))},M=function(V){return new hu(k.setA(V/100))},P=function(V){E($(V),{type:"hue",value:V})},I=function(V){E(M(V),{type:"alpha",value:V})},O=function(V){s&&s($(V))},A=function(V){s&&s(M(V))},R=Ee("".concat(a,"-panel"),l,ne({},"".concat(a,"-panel-disabled"),m)),j={prefixCls:a,disabled:m,color:k},N=te.createElement(te.Fragment,null,te.createElement(qDe,tt({onChange:E},j,{onChangeComplete:s})),te.createElement("div",{className:"".concat(a,"-slider-container")},te.createElement("div",{className:Ee("".concat(a,"-slider-group"),ne({},"".concat(a,"-slider-group-disabled-alpha"),p))},te.createElement(b,tt({},j,{type:"hue",colors:ZDe,min:0,max:359,value:k.getHue(),onChange:P,onChangeComplete:O})),!p&&te.createElement(b,tt({},j,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:C}],min:0,max:100,value:k.a*100,onChange:I,onChangeComplete:A}))),te.createElement(YL,{color:k.toRgbString(),prefixCls:a})));return te.createElement("div",{className:R,style:c,ref:t},typeof u=="function"?u(N):N)});const y2=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",JDe=(e,t)=>e?y2(e,t):"";let Cl=function(){function e(t){Dr(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(i=>({color:new e(i.color),percent:i.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(i=>{let{color:a,percent:o}=i;return{color:new e(a),percent:o}}),this.metaColor=new hu(this.colors[0].color.metaColor)):this.metaColor=new hu(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Fr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return JDe(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(i=>`${i.color.toRgbString()} ${i.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,i)=>{const a=n.colors[i];return r.percent===a.percent&&r.color.equals(a.color)}):this.toHexString()===n.toHexString()}}])}();var eFe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},tFe=function(t,n){return d.createElement(jn,tt({},t,{ref:n,icon:eFe}))},vc=d.forwardRef(tFe),bpe=te.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,i=e.className,a=e.style,o=e.children,s=e.isActive,l=e.role,c=e.classNames,u=e.styles,f=te.useState(s||r),p=Te(f,2),h=p[0],m=p[1];return te.useEffect(function(){(r||s)&&m(!0)},[r,s]),h?te.createElement("div",{ref:t,className:Ee("".concat(n,"-content"),ne(ne({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),i),style:a,role:l},te.createElement("div",{className:Ee("".concat(n,"-content-box"),c==null?void 0:c.body),style:u==null?void 0:u.body},o)):null});bpe.displayName="PanelContent";var nFe=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],wpe=te.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,i=e.headerClass,a=e.isActive,o=e.onItemClick,s=e.forceRender,l=e.className,c=e.classNames,u=c===void 0?{}:c,f=e.styles,p=f===void 0?{}:f,h=e.prefixCls,m=e.collapsible,g=e.accordion,v=e.panelKey,y=e.extra,b=e.header,w=e.expandIcon,_=e.openMotion,k=e.destroyInactivePanel,S=e.children,C=Ut(e,nFe),E=m==="disabled",$=y!=null&&typeof y!="boolean",M=ne(ne(ne({onClick:function(){o==null||o(v)},onKeyDown:function(N){(N.key==="Enter"||N.keyCode===gt.ENTER||N.which===gt.ENTER)&&(o==null||o(v))},role:g?"tab":"button"},"aria-expanded",a),"aria-disabled",E),"tabIndex",E?-1:0),P=typeof w=="function"?w(e):te.createElement("i",{className:"arrow"}),I=P&&te.createElement("div",tt({className:"".concat(h,"-expand-icon")},["header","icon"].includes(m)?M:{}),P),O=Ee("".concat(h,"-item"),ne(ne({},"".concat(h,"-item-active"),a),"".concat(h,"-item-disabled"),E),l),A=Ee(i,"".concat(h,"-header"),ne({},"".concat(h,"-collapsible-").concat(m),!!m),u.header),R=q({className:A,style:p.header},["header","icon"].includes(m)?{}:M);return te.createElement("div",tt({},C,{ref:t,className:O}),te.createElement("div",R,r&&I,te.createElement("span",tt({className:"".concat(h,"-header-text")},m==="header"?M:{}),b),$&&te.createElement("div",{className:"".concat(h,"-extra")},y)),te.createElement(ka,tt({visible:a,leavedClassName:"".concat(h,"-content-hidden")},_,{forceRender:s,removeOnLeave:k}),function(j,N){var D=j.className,V=j.style;return te.createElement(bpe,{ref:N,prefixCls:h,className:D,classNames:u,style:V,styles:p,isActive:a,forceRender:s,role:g?"tabpanel":void 0},S)}))}),rFe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],iFe=function(t,n){var r=n.prefixCls,i=n.accordion,a=n.collapsible,o=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon;return t.map(function(f,p){var h=f.children,m=f.label,g=f.key,v=f.collapsible,y=f.onItemClick,b=f.destroyInactivePanel,w=Ut(f,rFe),_=String(g??p),k=v??a,S=b??o,C=function(M){k!=="disabled"&&(s(M),y==null||y(M))},E=!1;return i?E=l[0]===_:E=l.indexOf(_)>-1,te.createElement(wpe,tt({},w,{prefixCls:r,key:_,panelKey:_,isActive:E,accordion:i,openMotion:c,expandIcon:u,header:m,collapsible:k,onItemClick:C,destroyInactivePanel:S}),h)})},aFe=function(t,n,r){if(!t)return null;var i=r.prefixCls,a=r.accordion,o=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,f=r.expandIcon,p=t.key||String(n),h=t.props,m=h.header,g=h.headerClass,v=h.destroyInactivePanel,y=h.collapsible,b=h.onItemClick,w=!1;a?w=c[0]===p:w=c.indexOf(p)>-1;var _=y??o,k=function(E){_!=="disabled"&&(l(E),b==null||b(E))},S={key:p,panelKey:p,header:m,headerClass:g,isActive:w,prefixCls:i,destroyInactivePanel:v??s,openMotion:u,accordion:a,children:t.props.children,onItemClick:k,expandIcon:f,collapsible:_};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(C){typeof S[C]>"u"&&delete S[C]}),te.cloneElement(t,S))};function oFe(e,t,n){return Array.isArray(e)?iFe(e,n):Zi(t).map(function(r,i){return aFe(r,i,n)})}function sFe(e){var t=e;if(!Array.isArray(t)){var n=Kt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var lFe=te.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,i=e.destroyInactivePanel,a=i===void 0?!1:i,o=e.style,s=e.accordion,l=e.className,c=e.children,u=e.collapsible,f=e.openMotion,p=e.expandIcon,h=e.activeKey,m=e.defaultActiveKey,g=e.onChange,v=e.items,y=Ee(r,l),b=In([],{value:h,onChange:function($){return g==null?void 0:g($)},defaultValue:m,postState:sFe}),w=Te(b,2),_=w[0],k=w[1],S=function($){return k(function(){if(s)return _[0]===$?[]:[$];var M=_.indexOf($),P=M>-1;return P?_.filter(function(I){return I!==$}):[].concat(ct(_),[$])})};zr(!c,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var C=oFe(v,c,{prefixCls:r,accordion:s,openMotion:f,expandIcon:p,collapsible:u,destroyInactivePanel:a,onItemClick:S,activeKey:_});return te.createElement("div",tt({ref:t,className:y,style:o,role:s?"tablist":void 0},Bi(e,{aria:!0,data:!0})),C)});const XL=Object.assign(lFe,{Panel:wpe});XL.Panel;const cFe=d.forwardRef((e,t)=>{const{getPrefixCls:n}=d.useContext(Zt),{prefixCls:r,className:i,showArrow:a=!0}=e,o=n("collapse",r),s=Ee({[`${o}-no-arrow`]:!a},i);return d.createElement(XL.Panel,Object.assign({ref:t},e,{prefixCls:o,className:s}))}),b4=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
+ `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${w}-wrapper`]:Object.assign({},k)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},k),{padding:0,textAlign:"start"})}]},eDe=e=>({zIndexPopup:e.zIndexPopupBase+KL+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),upe=Jn("Message",e=>{const t=Hn(e,{height:150});return[JAe(t)]},eDe);var tDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,type:n,icon:r,children:i}=e;return d.createElement("div",{className:Ee(`${t}-custom-content`,`${t}-${n}`)},r||nDe[n],d.createElement("span",null,i))},rDe=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:a}=e,o=tDe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=d.useContext(Xt),l=t||s("message"),c=qr(l),[u,f,p]=upe(l,c);return u(d.createElement(ape,Object.assign({},o,{prefixCls:l,className:Ee(n,f,`${l}-notice-pure-panel`,p,c),eventKey:"pure",duration:null,content:d.createElement(dpe,{prefixCls:l,type:r,icon:i},a)})))};function iDe(e,t){return{motionName:t??`${e}-move-up`}}function GL(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,a)=>n.then(i,a),r.promise=n,r}var aDe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=qr(n),[i,a,o]=upe(n,r);return i(d.createElement(spe,{classNames:{list:Ee(a,o,r)}},t))},cDe=(e,t)=>{let{prefixCls:n,key:r}=t;return d.createElement(lDe,{prefixCls:n,key:r},e)},uDe=d.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=sDe,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:f,message:p,direction:h}=d.useContext(Xt),m=r||u("message"),g=()=>({left:"50%",transform:"translateX(-50%)",top:n??oDe}),v=()=>Ee({[`${m}-rtl`]:s??h==="rtl"}),y=()=>iDe(m,l),w=d.createElement("span",{className:`${m}-close-x`},d.createElement(Eu,{className:`${m}-close-icon`})),[b,C]=lpe({prefixCls:m,style:g,className:v,motion:y,closable:!1,closeIcon:w,duration:o,getContainer:()=>(i==null?void 0:i())||(f==null?void 0:f())||document.body,maxCount:a,onAllRemoved:c,renderNotifications:cDe});return d.useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:m,message:p})),C});let OG=0;function fpe(e){const t=d.useRef(null);return Ug(),[d.useMemo(()=>{const r=l=>{var c;(c=t.current)===null||c===void 0||c.close(l)},i=l=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:c,prefixCls:u,message:f}=t.current,p=`${u}-notice`,{content:h,icon:m,type:g,key:v,className:y,style:w,onClose:b}=l,C=aDe(l,["content","icon","type","key","className","style","onClose"]);let k=v;return k==null&&(OG+=1,k=`antd-message-${OG}`),GL(S=>(c(Object.assign(Object.assign({},C),{key:k,content:d.createElement(dpe,{prefixCls:u,type:g,icon:m},h),placement:"top",className:Ee(g&&`${p}-${g}`,y,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),w),onClose:()=>{b==null||b(),S()}})),()=>{r(k)}))},o={open:i,destroy:l=>{var c;l!==void 0?r(l):(c=t.current)===null||c===void 0||c.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const c=(u,f,p)=>{let h;u&&typeof u=="object"&&"content"in u?h=u:h={content:u};let m,g;typeof f=="function"?g=f:(m=f,g=p);const v=Object.assign(Object.assign({onClose:g,duration:m},h),{type:l});return i(v)};o[l]=c}),o},[]),d.createElement(uDe,Object.assign({key:"message-holder"},e,{ref:t}))]}function ppe(e){return fpe(e)}function dDe(){const[e,t]=d.useState([]),n=d.useCallback(r=>(t(i=>[].concat(lt(i),[r])),()=>{t(i=>i.filter(a=>a!==r))}),[]);return[e,n]}function hr(){hr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(A,N,F){A[N]=F.value},a=typeof Symbol=="function"?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(A,N,F){return Object.defineProperty(A,N,{value:F,enumerable:!0,configurable:!0,writable:!0}),A[N]}try{c({},"")}catch{c=function(F,K,L){return F[K]=L}}function u(A,N,F,K){var L=N&&N.prototype instanceof y?N:y,V=Object.create(L.prototype),B=new j(K||[]);return i(V,"_invoke",{value:M(A,F,B)}),V}function f(A,N,F){try{return{type:"normal",arg:A.call(N,F)}}catch(K){return{type:"throw",arg:K}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function w(){}function b(){}var C={};c(C,o,function(){return this});var k=Object.getPrototypeOf,S=k&&k(k(I([])));S&&S!==n&&r.call(S,o)&&(C=S);var _=b.prototype=y.prototype=Object.create(C);function E(A){["next","throw","return"].forEach(function(N){c(A,N,function(F){return this._invoke(N,F)})})}function $(A,N){function F(L,V,B,U){var Y=f(A[L],A,V);if(Y.type!=="throw"){var ee=Y.arg,ie=ee.value;return ie&&Kt(ie)=="object"&&r.call(ie,"__await")?N.resolve(ie.__await).then(function(Z){F("next",Z,B,U)},function(Z){F("throw",Z,B,U)}):N.resolve(ie).then(function(Z){ee.value=Z,B(ee)},function(Z){return F("throw",Z,B,U)})}U(Y.arg)}var K;i(this,"_invoke",{value:function(V,B){function U(){return new N(function(Y,ee){F(V,B,Y,ee)})}return K=K?K.then(U,U):U()}})}function M(A,N,F){var K=p;return function(L,V){if(K===m)throw Error("Generator is already running");if(K===g){if(L==="throw")throw V;return{value:e,done:!0}}for(F.method=L,F.arg=V;;){var B=F.delegate;if(B){var U=P(B,F);if(U){if(U===v)continue;return U}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(K===p)throw K=g,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);K=m;var Y=f(A,N,F);if(Y.type==="normal"){if(K=F.done?g:h,Y.arg===v)continue;return{value:Y.arg,done:F.done}}Y.type==="throw"&&(K=g,F.method="throw",F.arg=Y.arg)}}}function P(A,N){var F=N.method,K=A.iterator[F];if(K===e)return N.delegate=null,F==="throw"&&A.iterator.return&&(N.method="return",N.arg=e,P(A,N),N.method==="throw")||F!=="return"&&(N.method="throw",N.arg=new TypeError("The iterator does not provide a '"+F+"' method")),v;var L=f(K,A.iterator,N.arg);if(L.type==="throw")return N.method="throw",N.arg=L.arg,N.delegate=null,v;var V=L.arg;return V?V.done?(N[A.resultName]=V.value,N.next=A.nextLoc,N.method!=="return"&&(N.method="next",N.arg=e),N.delegate=null,v):V:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,v)}function R(A){var N={tryLoc:A[0]};1 in A&&(N.catchLoc=A[1]),2 in A&&(N.finallyLoc=A[2],N.afterLoc=A[3]),this.tryEntries.push(N)}function O(A){var N=A.completion||{};N.type="normal",delete N.arg,A.completion=N}function j(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(R,this),this.reset(!0)}function I(A){if(A||A===""){var N=A[o];if(N)return N.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var F=-1,K=function L(){for(;++F=0;--L){var V=this.tryEntries[L],B=V.completion;if(V.tryLoc==="root")return K("end");if(V.tryLoc<=this.prev){var U=r.call(V,"catchLoc"),Y=r.call(V,"finallyLoc");if(U&&Y){if(this.prev=0;--K){var L=this.tryEntries[K];if(L.tryLoc<=this.prev&&r.call(L,"finallyLoc")&&this.prev=0;--F){var K=this.tryEntries[F];if(K.finallyLoc===N)return this.complete(K.completion,K.afterLoc),O(K),v}},catch:function(N){for(var F=this.tryEntries.length-1;F>=0;--F){var K=this.tryEntries[F];if(K.tryLoc===N){var L=K.completion;if(L.type==="throw"){var V=L.arg;O(K)}return V}}throw Error("illegal catch attempt")},delegateYield:function(N,F,K){return this.delegate={iterator:I(N),resultName:F,nextLoc:K},this.method==="next"&&(this.arg=e),v}},t}function RG(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function pa(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){RG(a,r,i,o,s,"next",l)}function s(l){RG(a,r,i,o,s,"throw",l)}o(void 0)})}}var y4=q({},Goe),fDe=y4.version,x9=y4.render,pDe=y4.unmountComponentAtNode,e8;try{var hDe=Number((fDe||"").split(".")[0]);hDe>=18&&(e8=y4.createRoot)}catch{}function IG(e){var t=y4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Kt(t)==="object"&&(t.usingClientEntryPoint=e)}var h6="__rc_react_root__";function mDe(e,t){IG(!0);var n=t[h6]||e8(t);IG(!1),n.render(e),t[h6]=n}function gDe(e,t){x9==null||x9(e,t)}function vDe(e,t){if(e8){mDe(e,t);return}gDe(e,t)}function yDe(e){return gj.apply(this,arguments)}function gj(){return gj=pa(hr().mark(function e(t){return hr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[h6])===null||i===void 0||i.unmount(),delete t[h6]}));case 1:case"end":return r.stop()}},e)})),gj.apply(this,arguments)}function bDe(e){pDe(e)}function wDe(e){return vj.apply(this,arguments)}function vj(){return vj=pa(hr().mark(function e(t){return hr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(e8===void 0){r.next=2;break}return r.abrupt("return",yDe(t));case 2:bDe(t);case 3:case"end":return r.stop()}},e)})),vj.apply(this,arguments)}const xDe=(e,t)=>(vDe(e,t),()=>wDe(t));let SDe=xDe;function YL(){return SDe}const S9=()=>({height:0,opacity:0}),jG=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},CDe=e=>({height:e?e.offsetHeight:0}),C9=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",P0=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:n3}-motion-collapse`,onAppearStart:S9,onEnterStart:S9,onAppearActive:jG,onEnterActive:jG,onLeaveStart:CDe,onLeaveActive:S9,onAppearEnd:C9,onEnterEnd:C9,onLeaveEnd:C9,motionDeadline:500}},oo=(e,t,n)=>n!==void 0?n:`${e}-${t}`,b4=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),a=i.width,o=i.height;if(a||o)return!0}}return!1},_De=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},kDe=Afe("Wave",e=>[_De(e)]),t8=`${n3}-wave-target`;function _9(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function EDe(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return _9(t)?t:_9(n)?n:_9(r)?r:null}function k9(e){return Number.isNaN(e)?0:e}const $De=e=>{const{className:t,target:n,component:r,registerUnmount:i}=e,a=d.useRef(null),o=d.useRef(null);d.useEffect(()=>{o.current=i()},[]);const[s,l]=d.useState(null),[c,u]=d.useState([]),[f,p]=d.useState(0),[h,m]=d.useState(0),[g,v]=d.useState(0),[y,w]=d.useState(0),[b,C]=d.useState(!1),k={left:f,top:h,width:g,height:y,borderRadius:c.map(E=>`${E}px`).join(" ")};s&&(k["--wave-color"]=s);function S(){const E=getComputedStyle(n);l(EDe(n));const $=E.position==="static",{borderLeftWidth:M,borderTopWidth:P}=E;p($?n.offsetLeft:k9(-parseFloat(M))),m($?n.offsetTop:k9(-parseFloat(P))),v(n.offsetWidth),w(n.offsetHeight);const{borderTopLeftRadius:R,borderTopRightRadius:O,borderBottomLeftRadius:j,borderBottomRightRadius:I}=E;u([R,O,I,j].map(A=>k9(parseFloat(A))))}if(d.useEffect(()=>{if(n){const E=rr(()=>{S(),C(!0)});let $;return typeof ResizeObserver<"u"&&($=new ResizeObserver(S),$.observe(n)),()=>{rr.cancel(E),$==null||$.disconnect()}}},[]),!b)return null;const _=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(t8));return d.createElement(Ca,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,$)=>{var M,P;if($.deadline||$.propertyName==="opacity"){const R=(M=a.current)===null||M===void 0?void 0:M.parentElement;(P=o.current)===null||P===void 0||P.call(o).then(()=>{R==null||R.remove()})}return!1}},(E,$)=>{let{className:M}=E;return d.createElement("div",{ref:ga(a,$),className:Ee(t,M,{"wave-quick":_}),style:k})})},MDe=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",e==null||e.insertBefore(i,e==null?void 0:e.firstChild);const a=YL();let o=null;function s(){return o}o=a(d.createElement($De,Object.assign({},t,{target:e,registerUnmount:s})),i)},TDe=(e,t,n)=>{const{wave:r}=d.useContext(Xt),[,i,a]=ka(),o=Vn(c=>{const u=e.current;if(r!=null&&r.disabled||!u)return;const f=u.querySelector(`.${t8}`)||u,{showEffect:p}=r||{};(p||MDe)(f,{className:t,token:i,component:n,event:c,hashId:a})}),s=d.useRef(null);return c=>{rr.cancel(s.current),s.current=rr(()=>{o(c)})}},w4=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=d.useContext(Xt),a=d.useRef(null),o=i("wave"),[,s]=kDe(o),l=TDe(a,Ee(o,s),r);if(te.useEffect(()=>{const u=a.current;if(!u||u.nodeType!==1||n)return;const f=p=>{!b4(p.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l(p)};return u.addEventListener("click",f,!0),()=>{u.removeEventListener("click",f,!0)}},[n]),!te.isValidElement(t))return t??null;const c=Vf(t)?ga(bh(t),a):a;return aa(t,{ref:c})},Bi=e=>{const t=te.useContext(mg);return te.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},PDe=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},ODe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},RDe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},hpe=Jn("Space",e=>{const t=Hn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[ODe(t),RDe(t),PDe(t)]},()=>({}),{resetStyle:!1});var mpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=d.useContext(n8),r=d.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:a,isLastItem:o}=n,s=i==="vertical"?"-vertical-":"-";return Ee(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:o,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},IDe=e=>{let{children:t}=e;return d.createElement(n8.Provider,{value:null},t)},jDe=e=>{var{children:t}=e,n=mpe(e,["children"]);return d.createElement(n8.Provider,{value:n},t)},NDe=e=>{const{getPrefixCls:t,direction:n}=d.useContext(Xt),{size:r,direction:i,block:a,prefixCls:o,className:s,rootClassName:l,children:c}=e,u=mpe(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Bi(b=>r??b),p=t("space-compact",o),[h,m]=hpe(p),g=Ee(p,m,{[`${p}-rtl`]:n==="rtl",[`${p}-block`]:a,[`${p}-vertical`]:i==="vertical"},s,l),v=d.useContext(n8),y=Xi(c),w=d.useMemo(()=>y.map((b,C)=>{const k=(b==null?void 0:b.key)||`${p}-item-${C}`;return d.createElement(jDe,{key:k,compactSize:f,compactDirection:i,isFirstItem:C===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:C===y.length-1&&(!v||(v==null?void 0:v.isLastItem))},b)}),[r,y,v]);return y.length===0?null:h(d.createElement("div",Object.assign({className:g},u),w))};var ADe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n}=d.useContext(Xt),{prefixCls:r,size:i,className:a}=e,o=ADe(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=ka();let c="";switch(i){case"large":c="lg";break;case"small":c="sm";break}const u=Ee(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},a,l);return d.createElement(gpe.Provider,{value:i},d.createElement("div",Object.assign({},o,{className:u})))},NG=/^[\u4E00-\u9FA5]{2}$/,yj=NG.test.bind(NG);function XL(e){return e==="danger"?{danger:!0}:{type:e}}function AG(e){return typeof e=="string"}function E9(e){return e==="text"||e==="link"}function FDe(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&AG(e.type)&&yj(e.props.children)?aa(e,{children:e.props.children.split("").join(n)}):AG(e)?yj(e)?te.createElement("span",null,e.split("").join(n)):te.createElement("span",null,e):rpe(e)?te.createElement("span",null,e):e}function LDe(e,t){let n=!1;const r=[];return te.Children.forEach(e,i=>{const a=typeof i,o=a==="string"||a==="number";if(n&&o){const s=r.length-1,l=r[s];r[s]=`${l}${i}`}else r.push(i);n=o}),te.Children.map(r,i=>FDe(i,t))}["default","primary","danger"].concat(lt(yg));const bj=d.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:a}=e,o=Ee(`${a}-icon`,n);return te.createElement("span",{ref:t,className:o,style:r},i)}),DG=d.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=Ee(`${n}-loading-icon`,r);return te.createElement(bj,{prefixCls:n,className:o,style:i,ref:t},te.createElement(vu,{className:a}))}),$9=()=>({width:0,opacity:0,transform:"scale(0)"}),M9=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),BDe=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?te.createElement(DG,{prefixCls:t,className:i,style:a}):te.createElement(Ca,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:$9,onAppearActive:M9,onEnterStart:$9,onEnterActive:M9,onLeaveStart:M9,onLeaveActive:$9},(l,c)=>{let{className:u,style:f}=l;const p=Object.assign(Object.assign({},a),f);return te.createElement(DG,{prefixCls:t,className:Ee(i,u),style:p,ref:c})})},FG=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),zDe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=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:n}},FG(`${t}-primary`,i),FG(`${t}-danger`,a)]}};var HDe=["b"],UDe=["v"],T9=function(t){return Math.round(Number(t||0))},WDe=function(t){if(t instanceof ur)return t;if(t&&Kt(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,i=Ht(n,HDe);return q(q({},i),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},yu=function(e){$o(n,e);var t=rs(n);function n(r){return Ar(this,n),t.call(this,WDe(r))}return Dr(n,[{key:"toHsbString",value:function(){var i=this.toHsb(),a=T9(i.s*100),o=T9(i.b*100),s=T9(i.h),l=i.a,c="hsb(".concat(s,", ").concat(a,"%, ").concat(o,"%)"),u="hsba(".concat(s,", ").concat(a,"%, ").concat(o,"%, ").concat(l.toFixed(l===0?0:2),")");return l===1?c:u}},{key:"toHsb",value:function(){var i=this.toHsv(),a=i.v,o=Ht(i,UDe);return q(q({},o),{},{b:a,a:this.a})}}]),n}(ur),VDe="rc-color-picker",Rv=function(t){return t instanceof yu?t:new yu(t)},qDe=Rv("#1677ff"),vpe=function(t){var n=t.offset,r=t.targetRef,i=t.containerRef,a=t.color,o=t.type,s=i.current.getBoundingClientRect(),l=s.width,c=s.height,u=r.current.getBoundingClientRect(),f=u.width,p=u.height,h=f/2,m=p/2,g=(n.x+h)/l,v=1-(n.y+m)/c,y=a.toHsb(),w=g,b=(n.x+h)/l*360;if(o)switch(o){case"hue":return Rv(q(q({},y),{},{h:b<=0?0:b}));case"alpha":return Rv(q(q({},y),{},{a:w<=0?0:w}))}return Rv({h:y.h,s:g<=0?0:g,b:v>=1?1:v,a:y.a})},ype=function(t,n){var r=t.toHsb();switch(n){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:r.s*100,y:(1-r.b)*100}}},ZL=function(t){var n=t.color,r=t.prefixCls,i=t.className,a=t.style,o=t.onClick,s="".concat(r,"-color-block");return te.createElement("div",{className:Ee(s,i),style:a,onClick:o},te.createElement("div",{className:"".concat(s,"-inner"),style:{background:n}}))};function KDe(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function bpe(e){var t=e.targetRef,n=e.containerRef,r=e.direction,i=e.onDragChange,a=e.onDragChangeComplete,o=e.calculate,s=e.color,l=e.disabledDrag,c=d.useState({x:0,y:0}),u=Te(c,2),f=u[0],p=u[1],h=d.useRef(null),m=d.useRef(null);d.useEffect(function(){p(o())},[s]),d.useEffect(function(){return function(){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null}},[]);var g=function(C){var k=KDe(C),S=k.pageX,_=k.pageY,E=n.current.getBoundingClientRect(),$=E.x,M=E.y,P=E.width,R=E.height,O=t.current.getBoundingClientRect(),j=O.width,I=O.height,A=j/2,N=I/2,F=Math.max(0,Math.min(S-$,P))-A,K=Math.max(0,Math.min(_-M,R))-N,L={x:F,y:r==="x"?f.y:K};if(j===0&&I===0||j!==I)return!1;i==null||i(L)},v=function(C){C.preventDefault(),g(C)},y=function(C){C.preventDefault(),document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null,a==null||a()},w=function(C){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),!l&&(g(C),document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),document.addEventListener("touchmove",v),document.addEventListener("touchend",y),h.current=v,m.current=y)};return[f,w]}var wpe=function(t){var n=t.size,r=n===void 0?"default":n,i=t.color,a=t.prefixCls;return te.createElement("div",{className:Ee("".concat(a,"-handler"),ne({},"".concat(a,"-handler-sm"),r==="small")),style:{backgroundColor:i}})},xpe=function(t){var n=t.children,r=t.style,i=t.prefixCls;return te.createElement("div",{className:"".concat(i,"-palette"),style:q({position:"relative"},r)},n)},Spe=d.forwardRef(function(e,t){var n=e.children,r=e.x,i=e.y;return te.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}),GDe=function(t){var n=t.color,r=t.onChange,i=t.prefixCls,a=t.onChangeComplete,o=t.disabled,s=d.useRef(),l=d.useRef(),c=d.useRef(n),u=Vn(function(g){var v=vpe({offset:g,targetRef:l,containerRef:s,color:n});c.current=v,r(v)}),f=bpe({color:n,containerRef:s,targetRef:l,calculate:function(){return ype(n)},onDragChange:u,onDragChangeComplete:function(){return a==null?void 0:a(c.current)},disabledDrag:o}),p=Te(f,2),h=p[0],m=p[1];return te.createElement("div",{ref:s,className:"".concat(i,"-select"),onMouseDown:m,onTouchStart:m},te.createElement(xpe,{prefixCls:i},te.createElement(Spe,{x:h.x,y:h.y,ref:l},te.createElement(wpe,{color:n.toRgbString(),prefixCls:i})),te.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},YDe=function(t,n){var r=jn(t,{value:n}),i=Te(r,2),a=i[0],o=i[1],s=d.useMemo(function(){return Rv(a)},[a]);return[s,o]},XDe=function(t){var n=t.colors,r=t.children,i=t.direction,a=i===void 0?"to right":i,o=t.type,s=t.prefixCls,l=d.useMemo(function(){return n.map(function(c,u){var f=Rv(c);return o==="alpha"&&u===n.length-1&&(f=new yu(f.setA(1))),f.toRgbString()}).join(",")},[n,o]);return te.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(a,", ").concat(l,")")}},r)},ZDe=function(t){var n=t.prefixCls,r=t.colors,i=t.disabled,a=t.onChange,o=t.onChangeComplete,s=t.color,l=t.type,c=d.useRef(),u=d.useRef(),f=d.useRef(s),p=function(k){return l==="hue"?k.getHue():k.a*100},h=Vn(function(C){var k=vpe({offset:C,targetRef:u,containerRef:c,color:s,type:l});f.current=k,a(p(k))}),m=bpe({color:s,targetRef:u,containerRef:c,calculate:function(){return ype(s,l)},onDragChange:h,onDragChangeComplete:function(){o(p(f.current))},direction:"x",disabledDrag:i}),g=Te(m,2),v=g[0],y=g[1],w=te.useMemo(function(){if(l==="hue"){var C=s.toHsb();C.s=1,C.b=1,C.a=1;var k=new yu(C);return k}return s},[s,l]),b=te.useMemo(function(){return r.map(function(C){return"".concat(C.color," ").concat(C.percent,"%")})},[r]);return te.createElement("div",{ref:c,className:Ee("".concat(n,"-slider"),"".concat(n,"-slider-").concat(l)),onMouseDown:y,onTouchStart:y},te.createElement(xpe,{prefixCls:n},te.createElement(Spe,{x:v.x,y:v.y,ref:u},te.createElement(wpe,{size:"small",color:w.toHexString(),prefixCls:n})),te.createElement(XDe,{colors:b,type:l,prefixCls:n})))};function QDe(e){return d.useMemo(function(){var t=e||{},n=t.slider;return[n||ZDe]},[e])}var JDe=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],eFe=d.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,a=i===void 0?VDe:i,o=e.onChange,s=e.onChangeComplete,l=e.className,c=e.style,u=e.panelRender,f=e.disabledAlpha,p=f===void 0?!1:f,h=e.disabled,m=h===void 0?!1:h,g=e.components,v=QDe(g),y=Te(v,1),w=y[0],b=YDe(r||qDe,n),C=Te(b,2),k=C[0],S=C[1],_=d.useMemo(function(){return k.setA(1).toRgbString()},[k]),E=function(K,L){n||S(K),o==null||o(K,L)},$=function(K){return new yu(k.setHue(K))},M=function(K){return new yu(k.setA(K/100))},P=function(K){E($(K),{type:"hue",value:K})},R=function(K){E(M(K),{type:"alpha",value:K})},O=function(K){s&&s($(K))},j=function(K){s&&s(M(K))},I=Ee("".concat(a,"-panel"),l,ne({},"".concat(a,"-panel-disabled"),m)),A={prefixCls:a,disabled:m,color:k},N=te.createElement(te.Fragment,null,te.createElement(GDe,tt({onChange:E},A,{onChangeComplete:s})),te.createElement("div",{className:"".concat(a,"-slider-container")},te.createElement("div",{className:Ee("".concat(a,"-slider-group"),ne({},"".concat(a,"-slider-group-disabled-alpha"),p))},te.createElement(w,tt({},A,{type:"hue",colors:JDe,min:0,max:359,value:k.getHue(),onChange:P,onChangeComplete:O})),!p&&te.createElement(w,tt({},A,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:_}],min:0,max:100,value:k.a*100,onChange:R,onChangeComplete:j}))),te.createElement(ZL,{color:k.toRgbString(),prefixCls:a})));return te.createElement("div",{className:I,style:c,ref:t},typeof u=="function"?u(N):N)});const b2=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",tFe=(e,t)=>e?b2(e,t):"";let _l=function(){function e(t){Ar(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(i=>({color:new e(i.color),percent:i.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(i=>{let{color:a,percent:o}=i;return{color:new e(a),percent:o}}),this.metaColor=new yu(this.colors[0].color.metaColor)):this.metaColor=new yu(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Dr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return tFe(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(i=>`${i.color.toRgbString()} ${i.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,i)=>{const a=n.colors[i];return r.percent===a.percent&&r.color.equals(a.color)}):this.toHexString()===n.toHexString()}}])}();var nFe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},rFe=function(t,n){return d.createElement(Nn,tt({},t,{ref:n,icon:nFe}))},bc=d.forwardRef(rFe),Cpe=te.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,i=e.className,a=e.style,o=e.children,s=e.isActive,l=e.role,c=e.classNames,u=e.styles,f=te.useState(s||r),p=Te(f,2),h=p[0],m=p[1];return te.useEffect(function(){(r||s)&&m(!0)},[r,s]),h?te.createElement("div",{ref:t,className:Ee("".concat(n,"-content"),ne(ne({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),i),style:a,role:l},te.createElement("div",{className:Ee("".concat(n,"-content-box"),c==null?void 0:c.body),style:u==null?void 0:u.body},o)):null});Cpe.displayName="PanelContent";var iFe=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],_pe=te.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,i=e.headerClass,a=e.isActive,o=e.onItemClick,s=e.forceRender,l=e.className,c=e.classNames,u=c===void 0?{}:c,f=e.styles,p=f===void 0?{}:f,h=e.prefixCls,m=e.collapsible,g=e.accordion,v=e.panelKey,y=e.extra,w=e.header,b=e.expandIcon,C=e.openMotion,k=e.destroyInactivePanel,S=e.children,_=Ht(e,iFe),E=m==="disabled",$=y!=null&&typeof y!="boolean",M=ne(ne(ne({onClick:function(){o==null||o(v)},onKeyDown:function(N){(N.key==="Enter"||N.keyCode===mt.ENTER||N.which===mt.ENTER)&&(o==null||o(v))},role:g?"tab":"button"},"aria-expanded",a),"aria-disabled",E),"tabIndex",E?-1:0),P=typeof b=="function"?b(e):te.createElement("i",{className:"arrow"}),R=P&&te.createElement("div",tt({className:"".concat(h,"-expand-icon")},["header","icon"].includes(m)?M:{}),P),O=Ee("".concat(h,"-item"),ne(ne({},"".concat(h,"-item-active"),a),"".concat(h,"-item-disabled"),E),l),j=Ee(i,"".concat(h,"-header"),ne({},"".concat(h,"-collapsible-").concat(m),!!m),u.header),I=q({className:j,style:p.header},["header","icon"].includes(m)?{}:M);return te.createElement("div",tt({},_,{ref:t,className:O}),te.createElement("div",I,r&&R,te.createElement("span",tt({className:"".concat(h,"-header-text")},m==="header"?M:{}),w),$&&te.createElement("div",{className:"".concat(h,"-extra")},y)),te.createElement(Ca,tt({visible:a,leavedClassName:"".concat(h,"-content-hidden")},C,{forceRender:s,removeOnLeave:k}),function(A,N){var F=A.className,K=A.style;return te.createElement(Cpe,{ref:N,prefixCls:h,className:F,classNames:u,style:K,styles:p,isActive:a,forceRender:s,role:g?"tabpanel":void 0},S)}))}),aFe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],oFe=function(t,n){var r=n.prefixCls,i=n.accordion,a=n.collapsible,o=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon;return t.map(function(f,p){var h=f.children,m=f.label,g=f.key,v=f.collapsible,y=f.onItemClick,w=f.destroyInactivePanel,b=Ht(f,aFe),C=String(g??p),k=v??a,S=w??o,_=function(M){k!=="disabled"&&(s(M),y==null||y(M))},E=!1;return i?E=l[0]===C:E=l.indexOf(C)>-1,te.createElement(_pe,tt({},b,{prefixCls:r,key:C,panelKey:C,isActive:E,accordion:i,openMotion:c,expandIcon:u,header:m,collapsible:k,onItemClick:_,destroyInactivePanel:S}),h)})},sFe=function(t,n,r){if(!t)return null;var i=r.prefixCls,a=r.accordion,o=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,f=r.expandIcon,p=t.key||String(n),h=t.props,m=h.header,g=h.headerClass,v=h.destroyInactivePanel,y=h.collapsible,w=h.onItemClick,b=!1;a?b=c[0]===p:b=c.indexOf(p)>-1;var C=y??o,k=function(E){C!=="disabled"&&(l(E),w==null||w(E))},S={key:p,panelKey:p,header:m,headerClass:g,isActive:b,prefixCls:i,destroyInactivePanel:v??s,openMotion:u,accordion:a,children:t.props.children,onItemClick:k,expandIcon:f,collapsible:C};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(_){typeof S[_]>"u"&&delete S[_]}),te.cloneElement(t,S))};function lFe(e,t,n){return Array.isArray(e)?oFe(e,n):Xi(t).map(function(r,i){return sFe(r,i,n)})}function cFe(e){var t=e;if(!Array.isArray(t)){var n=Kt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var uFe=te.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,i=e.destroyInactivePanel,a=i===void 0?!1:i,o=e.style,s=e.accordion,l=e.className,c=e.children,u=e.collapsible,f=e.openMotion,p=e.expandIcon,h=e.activeKey,m=e.defaultActiveKey,g=e.onChange,v=e.items,y=Ee(r,l),w=jn([],{value:h,onChange:function($){return g==null?void 0:g($)},defaultValue:m,postState:cFe}),b=Te(w,2),C=b[0],k=b[1],S=function($){return k(function(){if(s)return C[0]===$?[]:[$];var M=C.indexOf($),P=M>-1;return P?C.filter(function(R){return R!==$}):[].concat(lt(C),[$])})};Br(!c,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var _=lFe(v,c,{prefixCls:r,accordion:s,openMotion:f,expandIcon:p,collapsible:u,destroyInactivePanel:a,onItemClick:S,activeKey:C});return te.createElement("div",tt({ref:t,className:y,style:o,role:s?"tablist":void 0},Fi(e,{aria:!0,data:!0})),_)});const QL=Object.assign(uFe,{Panel:_pe});QL.Panel;const dFe=d.forwardRef((e,t)=>{const{getPrefixCls:n}=d.useContext(Xt),{prefixCls:r,className:i,showArrow:a=!0}=e,o=n("collapse",r),s=Ee({[`${o}-no-arrow`]:!a},i);return d.createElement(QL.Panel,Object.assign({ref:t},e,{prefixCls:o,className:s}))}),x4=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
- opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),uFe=e=>({animationDuration:e,animationFillMode:"both"}),dFe=e=>({animationDuration:e,animationFillMode:"both"}),n8=function(e,t,n,r){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),fFe=e=>({animationDuration:e,animationFillMode:"both"}),pFe=e=>({animationDuration:e,animationFillMode:"both"}),r8=function(e,t,n,r){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
${a}${e}-enter,
${a}${e}-appear
- `]:Object.assign(Object.assign({},uFe(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},dFe(r)),{animationPlayState:"paused"}),[`
+ `]:Object.assign(Object.assign({},fFe(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},pFe(r)),{animationPlayState:"paused"}),[`
${a}${e}-enter${e}-enter-active,
${a}${e}-appear${e}-appear-active
- `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},fFe=new ir("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),pFe=new ir("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),ZL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[n8(r,fFe,pFe,e.motionDurationMid,t),{[`
+ `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},hFe=new ir("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),mFe=new ir("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),JL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[r8(r,hFe,mFe,e.motionDurationMid,t),{[`
${i}${r}-enter,
${i}${r}-appear
- `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},hFe=new ir("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),mFe=new ir("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),gFe=new ir("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),vFe=new ir("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),yFe=new ir("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),bFe=new ir("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),wFe=new ir("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xFe=new ir("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),SFe={"move-up":{inKeyframes:wFe,outKeyframes:xFe},"move-down":{inKeyframes:hFe,outKeyframes:mFe},"move-left":{inKeyframes:gFe,outKeyframes:vFe},"move-right":{inKeyframes:yFe,outKeyframes:bFe}},M0=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=SFe[t];return[n8(r,i,a,e.motionDurationMid),{[`
+ `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},gFe=new ir("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),vFe=new ir("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),yFe=new ir("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),bFe=new ir("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),wFe=new ir("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xFe=new ir("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),SFe=new ir("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),CFe=new ir("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),_Fe={"move-up":{inKeyframes:SFe,outKeyframes:CFe},"move-down":{inKeyframes:gFe,outKeyframes:vFe},"move-left":{inKeyframes:yFe,outKeyframes:bFe},"move-right":{inKeyframes:wFe,outKeyframes:xFe}},O0=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=_Fe[t];return[r8(r,i,a,e.motionDurationMid),{[`
${r}-enter,
${r}-appear
- `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},r8=new ir("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),i8=new ir("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),a8=new ir("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),o8=new ir("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),CFe=new ir("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),_Fe=new ir("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),kFe=new ir("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),EFe=new ir("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),$Fe={"slide-up":{inKeyframes:r8,outKeyframes:i8},"slide-down":{inKeyframes:a8,outKeyframes:o8},"slide-left":{inKeyframes:CFe,outKeyframes:_Fe},"slide-right":{inKeyframes:kFe,outKeyframes:EFe}},md=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=$Fe[t];return[n8(r,i,a,e.motionDurationMid),{[`
+ `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},i8=new ir("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a8=new ir("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),o8=new ir("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s8=new ir("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),kFe=new ir("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),EFe=new ir("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),$Fe=new ir("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),MFe=new ir("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),TFe={"slide-up":{inKeyframes:i8,outKeyframes:a8},"slide-down":{inKeyframes:o8,outKeyframes:s8},"slide-left":{inKeyframes:kFe,outKeyframes:EFe},"slide-right":{inKeyframes:$Fe,outKeyframes:MFe}},yd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=TFe[t];return[r8(r,i,a,e.motionDurationMid),{[`
${r}-enter,
${r}-appear
- `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},QL=new ir("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),MFe=new ir("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),AG=new ir("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),DG=new ir("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),TFe=new ir("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),PFe=new ir("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),OFe=new ir("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),IFe=new ir("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),RFe=new ir("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),jFe=new ir("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),NFe=new ir("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),AFe=new ir("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),DFe={zoom:{inKeyframes:QL,outKeyframes:MFe},"zoom-big":{inKeyframes:AG,outKeyframes:DG},"zoom-big-fast":{inKeyframes:AG,outKeyframes:DG},"zoom-left":{inKeyframes:OFe,outKeyframes:IFe},"zoom-right":{inKeyframes:RFe,outKeyframes:jFe},"zoom-up":{inKeyframes:TFe,outKeyframes:PFe},"zoom-down":{inKeyframes:NFe,outKeyframes:AFe}},Cy=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=DFe[t];return[n8(r,i,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
+ `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},eB=new ir("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),PFe=new ir("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),LG=new ir("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),BG=new ir("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),OFe=new ir("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),RFe=new ir("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),IFe=new ir("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),jFe=new ir("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),NFe=new ir("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),AFe=new ir("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),DFe=new ir("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),FFe=new ir("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),LFe={zoom:{inKeyframes:eB,outKeyframes:PFe},"zoom-big":{inKeyframes:LG,outKeyframes:BG},"zoom-big-fast":{inKeyframes:LG,outKeyframes:BG},"zoom-left":{inKeyframes:IFe,outKeyframes:jFe},"zoom-right":{inKeyframes:NFe,outKeyframes:AFe},"zoom-up":{inKeyframes:OFe,outKeyframes:RFe},"zoom-down":{inKeyframes:DFe,outKeyframes:FFe}},_y=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=LFe[t];return[r8(r,i,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
${r}-enter,
${r}-appear
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},FFe=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:a,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:f,colorText:p,colorTextHeading:h,colorTextDisabled:m,fontSizeLG:g,lineHeight:v,lineHeightLG:y,marginSM:b,paddingSM:w,paddingLG:_,paddingXS:k,motionDurationSlow:S,fontSizeIcon:C,contentPadding:E,fontHeight:$,fontHeightLG:M}=e,P=`${Me(c)} ${u} ${f}`;return{[t]:Object.assign(Object.assign({},ar(e)),{backgroundColor:i,border:P,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:P,"&:first-child":{[`
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},BFe=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:a,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:f,colorText:p,colorTextHeading:h,colorTextDisabled:m,fontSizeLG:g,lineHeight:v,lineHeightLG:y,marginSM:w,paddingSM:b,paddingLG:C,paddingXS:k,motionDurationSlow:S,fontSizeIcon:_,contentPadding:E,fontHeight:$,fontHeightLG:M}=e,P=`${Me(c)} ${u} ${f}`;return{[t]:Object.assign(Object.assign({},ar(e)),{backgroundColor:i,border:P,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:P,"&:first-child":{[`
&,
& > ${t}-header`]:{borderRadius:`${Me(l)} ${Me(l)} 0 0`}},"&:last-child":{[`
&,
- & > ${t}-header`]:{borderRadius:`0 0 ${Me(l)} ${Me(l)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:h,lineHeight:v,cursor:"pointer",transition:`all ${S}, visibility 0s`},Vs(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:$,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},yh()),{fontSize:C,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:P,[`& > ${t}-content-box`]:{padding:E},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:k,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(k).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:M,marginInlineStart:e.calc(_).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:_}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${Me(l)} ${Me(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},LFe=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},BFe=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[`
+ & > ${t}-header`]:{borderRadius:`0 0 ${Me(l)} ${Me(l)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:h,lineHeight:v,cursor:"pointer",transition:`all ${S}, visibility 0s`},Vs(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:$,display:"flex",alignItems:"center",paddingInlineEnd:w},[`${t}-arrow`]:Object.assign(Object.assign({},wh()),{fontSize:_,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:P,[`& > ${t}-content-box`]:{padding:E},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:k,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(b).sub(k).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:b}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:M,marginInlineStart:e.calc(C).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:C}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${Me(l)} ${Me(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:w}}}}})}},zFe=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},HFe=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[`
> ${t}-item:last-child,
> ${t}-item:last-child ${t}-header
- `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},zFe=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},HFe=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),UFe=Jn("Collapse",e=>{const t=Hn(e,{collapseHeaderPaddingSM:`${Me(e.paddingXS)} ${Me(e.paddingSM)}`,collapseHeaderPaddingLG:`${Me(e.padding)} ${Me(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[FFe(t),BFe(t),zFe(t),LFe(t),b4(t)]},HFe),WFe=d.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:i}=d.useContext(Zt),{prefixCls:a,className:o,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:f,expandIconPosition:p="start",children:h,expandIcon:m}=e,g=Hi(P=>{var I;return(I=f??P)!==null&&I!==void 0?I:"middle"}),v=n("collapse",a),y=n(),[b,w,_]=UFe(v),k=d.useMemo(()=>p==="left"?"start":p==="right"?"end":p,[p]),S=m??(i==null?void 0:i.expandIcon),C=d.useCallback(function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const I=typeof S=="function"?S(P):d.createElement(vc,{rotate:P.isActive?r==="rtl"?-90:90:void 0,"aria-label":P.isActive?"expanded":"collapsed"});return oa(I,()=>{var O;return{className:Ee((O=I==null?void 0:I.props)===null||O===void 0?void 0:O.className,`${v}-arrow`)}})},[S,v]),E=Ee(`${v}-icon-position-${k}`,{[`${v}-borderless`]:!c,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!u,[`${v}-${g}`]:g!=="middle"},i==null?void 0:i.className,o,s,w,_),$=Object.assign(Object.assign({},$0(y)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),M=d.useMemo(()=>h?Zi(h).map((P,I)=>{var O,A;const R=P.props;if(R!=null&&R.disabled){const j=(O=P.key)!==null&&O!==void 0?O:String(I),N=Object.assign(Object.assign({},$r(P.props,["disabled"])),{key:j,collapsible:(A=R.collapsible)!==null&&A!==void 0?A:"disabled"});return oa(P,N)}return P}):null,[h]);return b(d.createElement(XL,Object.assign({ref:t,openMotion:$},$r(e,["rootClassName"]),{expandIcon:C,prefixCls:v,className:E,style:Object.assign(Object.assign({},i==null?void 0:i.style),l)}),M))}),s8=Object.assign(WFe,{Panel:cFe}),Zo=e=>e instanceof Cl?e:new Cl(e),e_=e=>Math.round(Number(e||0)),JL=e=>e_(e.toHsb().a*100),t_=(e,t)=>{const n=e.toRgb();if(!n.r&&!n.g&&!n.b){const r=e.toHsb();return r.a=1,Zo(r)}return n.a=1,Zo(n)},xpe=(e,t)=>{const n=[{percent:0,color:e[0].color}].concat(ct(e),[{percent:100,color:e[e.length-1].color}]);for(let r=0;re.map(t=>(t.colors=t.colors.map(Zo),t)),Spe=(e,t)=>{const{r:n,g:r,b:i,a}=e.toRgb(),o=new hu(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},FG=(e,t)=>{var n;return`panel-${(n=e.key)!==null&&n!==void 0?n:t}`},VFe=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e;const[a]=Xa("ColorPicker"),[,o]=$a(),[s]=In($9(n),{value:$9(n),postState:$9}),l=`${t}-presets`,c=d.useMemo(()=>s.reduce((p,h,m)=>{const{defaultOpen:g=!0}=h;return g&&p.push(FG(h,m)),p},[]),[s]),u=p=>{i==null||i(p)},f=s.map((p,h)=>{var m;return{key:FG(p,h),label:te.createElement("div",{className:`${l}-label`},p==null?void 0:p.label),children:te.createElement("div",{className:`${l}-items`},Array.isArray(p==null?void 0:p.colors)&&((m=p.colors)===null||m===void 0?void 0:m.length)>0?p.colors.map((g,v)=>te.createElement(YL,{key:`preset-${v}-${g.toHexString()}`,color:Zo(g).toRgbString(),prefixCls:t,className:Ee(`${l}-color`,{[`${l}-color-checked`]:g.toHexString()===(r==null?void 0:r.toHexString()),[`${l}-color-bright`]:Spe(g,o.colorBgElevated)}),onClick:()=>u(g)})):te.createElement("span",{className:`${l}-empty`},a.presetEmpty))}});return te.createElement("div",{className:l},te.createElement(s8,{defaultActiveKey:c,ghost:!0,items:f}))},Cpe=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Hn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},_pe=e=>{var t,n,r,i,a,o;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(i=e.contentLineHeight)!==null&&i!==void 0?i:QC(s),f=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:QC(l),p=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:QC(c),h=Spe(new Cl(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,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.colorBorder,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:h,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:p,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*p)/2-e.lineWidth,0)}},qFe=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,marginXS:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Me(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:yh(),"> a":{color:"currentColor"},"&:not(:disabled)":Vs(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:i,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${a} ${o}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},kpe=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),KFe=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),GFe=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),YFe=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),eB=(e,t,n,r,i,a,o,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},kpe(e,Object.assign({background:t},o),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:a||void 0}})}),XFe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},YFe(e))}),ZFe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),l8=(e,t,n,r)=>{const a=r&&["link","text"].includes(r)?ZFe:XFe;return Object.assign(Object.assign({},a(e)),kpe(e.componentCls,t,n))},c8=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},l8(e,r,i))}),u8=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},l8(e,r,i))}),d8=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),f8=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},l8(e,n,r))}),uh=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},l8(e,r,i,n))}),QFe=e=>{const{componentCls:t}=e;return vg.reduce((n,r)=>{const i=e[`${r}6`],a=e[`${r}1`],o=e[`${r}5`],s=e[`${r}2`],l=e[`${r}3`],c=e[`${r}7`],u=`0 ${Me(e.controlOutlineWidth)} 0 ${e[`${r}1`]}`;return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:i,boxShadow:u},c8(e,e.colorTextLightSolid,i,{background:o},{background:c})),u8(e,i,e.colorBgContainer,{color:o,borderColor:o,background:e.colorBgContainer},{color:c,borderColor:c,background:e.colorBgContainer})),d8(e)),f8(e,a,{background:s},{background:l})),uh(e,i,"link",{color:o},{color:c})),uh(e,i,"text",{color:o,background:a},{color:c,background:l}))})},{})},JFe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},c8(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),d8(e)),f8(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),uh(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),eB(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),eLe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},u8(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),d8(e)),f8(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),uh(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),eB(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),tLe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},c8(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),u8(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),d8(e)),f8(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),uh(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),uh(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),eB(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),nLe=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:JFe(e),[`${t}-color-primary`]:eLe(e),[`${t}-color-dangerous`]:tLe(e)},QFe(e))},rLe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},u8(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),uh(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),c8(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),uh(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),tB=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:i,height:r,padding:`${Me(l)} ${Me(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:c}}}},{[`${n}${n}-circle${t}`]:KFe(e)},{[`${n}${n}-round${t}`]:GFe(e)}]},iLe=e=>{const t=Hn(e,{fontSize:e.contentFontSize});return tB(t,e.componentCls)},aLe=e=>{const t=Hn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return tB(t,`${e.componentCls}-sm`)},oLe=e=>{const t=Hn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return tB(t,`${e.componentCls}-lg`)},sLe=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},lLe=Jn("Button",e=>{const t=Cpe(e);return[qFe(t),iLe(t),aLe(t),oLe(t),sLe(t),nLe(t),rLe(t),LDe(t)]},_pe,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function cLe(e,t,n){const{focusElCls:r,focus:i,borderElCls:a}=n,o=a?"> *":"",s=["hover",i?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function uLe(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Wg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},cLe(e,r,t)),uLe(n,r,t))}}function dLe(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function fLe(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function pLe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},dLe(e,t)),fLe(e.componentCls,t))}}const hLe=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:i}=e,a=i(r).mul(-1).equal(),o=s=>{const l=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${l} + ${l}::before`]:{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},o()),o(!0))},mLe=xy(["Button","compact"],e=>{const t=Cpe(e);return[Wg(t),pLe(t),hLe(t)]},_pe);var gLe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,a;const{loading:o=!1,prefixCls:s,color:l,variant:c,type:u,danger:f=!1,shape:p="default",size:h,styles:m,disabled:g,className:v,rootClassName:y,children:b,icon:w,iconPosition:_="start",ghost:k=!1,block:S=!1,htmlType:C="button",classNames:E,style:$={},autoInsertSpace:M,autoFocus:P}=e,I=gLe(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),O=u||"default",[A,R]=d.useMemo(()=>{if(l&&c)return[l,c];const We=yLe[O]||[];return f?["danger",We[1]]:We},[u,l,c,f]),N=A==="danger"?"dangerous":A,{getPrefixCls:D,direction:V,button:F}=d.useContext(Zt),K=(n=M??(F==null?void 0:F.autoInsertSpace))!==null&&n!==void 0?n:!0,B=D("btn",s),[U,Z,ee]=lLe(B),ie=d.useContext(ga),Y=g??ie,X=d.useContext(fpe),ae=d.useMemo(()=>vLe(o),[o]),[oe,le]=d.useState(ae.loading),[ce,pe]=d.useState(!1),me=d.useRef(null),re=Su(t,me),fe=d.Children.count(b)===1&&!w&&!C9(R),ve=d.useRef(!0);te.useEffect(()=>(ve.current=!1,()=>{ve.current=!0}),[]),d.useEffect(()=>{let We=null;ae.delay>0?We=setTimeout(()=>{We=null,le(!0)},ae.delay):le(ae.loading);function ge(){We&&(clearTimeout(We),We=null)}return ge},[ae]),d.useEffect(()=>{if(!me.current||!K)return;const We=me.current.textContent||"";fe&&mj(We)?ce||pe(!0):ce&&pe(!1)}),d.useEffect(()=>{P&&me.current&&me.current.focus()},[]);const $e=te.useCallback(We=>{var ge;if(oe||Y){We.preventDefault();return}(ge=e.onClick)===null||ge===void 0||ge.call(e,We)},[e.onClick,oe,Y]),{compactSize:Ce,compactItemClassnames:be}=_u(B,V),Se={large:"lg",small:"sm",middle:void 0},we=Hi(We=>{var ge,ze;return(ze=(ge=h??Ce)!==null&&ge!==void 0?ge:X)!==null&&ze!==void 0?ze:We}),se=we&&(r=Se[we])!==null&&r!==void 0?r:"",ye=oe?"loading":w,Oe=$r(I,["navigate"]),z=Ee(B,Z,ee,{[`${B}-${p}`]:p!=="default"&&p,[`${B}-${O}`]:O,[`${B}-dangerous`]:f,[`${B}-color-${N}`]:N,[`${B}-variant-${R}`]:R,[`${B}-${se}`]:se,[`${B}-icon-only`]:!b&&b!==0&&!!ye,[`${B}-background-ghost`]:k&&!C9(R),[`${B}-loading`]:oe,[`${B}-two-chinese-chars`]:ce&&K&&!oe,[`${B}-block`]:S,[`${B}-rtl`]:V==="rtl",[`${B}-icon-end`]:_==="end"},be,v,y,F==null?void 0:F.className),H=Object.assign(Object.assign({},F==null?void 0:F.style),$),G=Ee(E==null?void 0:E.icon,(i=F==null?void 0:F.classNames)===null||i===void 0?void 0:i.icon),de=Object.assign(Object.assign({},(m==null?void 0:m.icon)||{}),((a=F==null?void 0:F.styles)===null||a===void 0?void 0:a.icon)||{}),xe=w&&!oe?te.createElement(gj,{prefixCls:B,className:G,style:de},w):typeof o=="object"&&o.icon?te.createElement(gj,{prefixCls:B,className:G,style:de},o.icon):te.createElement(FDe,{existIcon:!!w,prefixCls:B,loading:oe,mount:ve.current}),he=b||b===0?DDe(b,fe&&K):null;if(Oe.href!==void 0)return U(te.createElement("a",Object.assign({},Oe,{className:Ee(z,{[`${B}-disabled`]:Y}),href:Y?void 0:Oe.href,style:H,onClick:$e,ref:re,tabIndex:Y?-1:0}),xe,he));let Ue=te.createElement("button",Object.assign({},I,{type:C,className:z,style:H,onClick:$e,disabled:Y,ref:re}),xe,he,be&&te.createElement(mLe,{prefixCls:B}));return C9(R)||(Ue=te.createElement(y4,{component:"Button",disabled:oe},Ue)),U(Ue)}),Yt=bLe;Yt.Group=NDe;Yt.__ANT_BUTTON=!0;function M9(e){return!!(e!=null&&e.then)}const nB=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:o,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,f=d.useRef(!1),p=d.useRef(null),[h,m]=gg(!1),g=function(){a==null||a.apply(void 0,arguments)};d.useEffect(()=>{let b=null;return o&&(b=setTimeout(()=>{var w;(w=p.current)===null||w===void 0||w.focus({preventScroll:!0})})),()=>{b&&clearTimeout(b)}},[]);const v=b=>{M9(b)&&(m(!0),b.then(function(){m(!1,!0),g.apply(void 0,arguments),f.current=!1},w=>{if(m(!1,!0),f.current=!1,!(l!=null&&l()))return Promise.reject(w)}))},y=b=>{if(f.current)return;if(f.current=!0,!u){g();return}let w;if(s){if(w=u(b),c&&!M9(w)){f.current=!1,g(b);return}}else if(u.length)w=u(a),f.current=!1;else if(w=u(),!M9(w)){g();return}v(w)};return d.createElement(Yt,Object.assign({},GL(t),{onClick:y,loading:h,prefixCls:r},i,{ref:p}),n)},w4=te.createContext({}),{Provider:Epe}=w4,LG=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:o,onCancel:s,onConfirm:l}=d.useContext(w4);return i?te.createElement(nB,{isSilent:r,actionFn:s,close:function(){o==null||o.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${a}-btn`},n):null},BG=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:o,onConfirm:s,onOk:l}=d.useContext(w4);return te.createElement(nB,{isSilent:n,type:o||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${i}-btn`},a)};var $pe=d.createContext(null),zG=[];function wLe(e,t){var n=d.useState(function(){if(!Ws())return null;var m=document.createElement("div");return m}),r=Te(n,1),i=r[0],a=d.useRef(!1),o=d.useContext($pe),s=d.useState(zG),l=Te(s,2),c=l[0],u=l[1],f=o||(a.current?void 0:function(m){u(function(g){var v=[m].concat(ct(g));return v})});function p(){i.parentElement||document.body.appendChild(i),a.current=!0}function h(){var m;(m=i.parentElement)===null||m===void 0||m.removeChild(i),a.current=!1}return nr(function(){return e?o?o(p):p():h(),h},[e]),nr(function(){c.length&&(c.forEach(function(m){return m()}),u(zG))},[c]),[i,f]}function xLe(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var i,a;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),c=parseInt(s.height,10);try{var u=l?"width: ".concat(s.width,";"):"",f=c?"height: ".concat(s.height,";"):"";GE(`
+ `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},UFe=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},WFe=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),VFe=Jn("Collapse",e=>{const t=Hn(e,{collapseHeaderPaddingSM:`${Me(e.paddingXS)} ${Me(e.paddingSM)}`,collapseHeaderPaddingLG:`${Me(e.padding)} ${Me(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[BFe(t),HFe(t),UFe(t),zFe(t),x4(t)]},WFe),qFe=d.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:i}=d.useContext(Xt),{prefixCls:a,className:o,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:f,expandIconPosition:p="start",children:h,expandIcon:m}=e,g=Bi(P=>{var R;return(R=f??P)!==null&&R!==void 0?R:"middle"}),v=n("collapse",a),y=n(),[w,b,C]=VFe(v),k=d.useMemo(()=>p==="left"?"start":p==="right"?"end":p,[p]),S=m??(i==null?void 0:i.expandIcon),_=d.useCallback(function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const R=typeof S=="function"?S(P):d.createElement(bc,{rotate:P.isActive?r==="rtl"?-90:90:void 0,"aria-label":P.isActive?"expanded":"collapsed"});return aa(R,()=>{var O;return{className:Ee((O=R==null?void 0:R.props)===null||O===void 0?void 0:O.className,`${v}-arrow`)}})},[S,v]),E=Ee(`${v}-icon-position-${k}`,{[`${v}-borderless`]:!c,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!u,[`${v}-${g}`]:g!=="middle"},i==null?void 0:i.className,o,s,b,C),$=Object.assign(Object.assign({},P0(y)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),M=d.useMemo(()=>h?Xi(h).map((P,R)=>{var O,j;const I=P.props;if(I!=null&&I.disabled){const A=(O=P.key)!==null&&O!==void 0?O:String(R),N=Object.assign(Object.assign({},$r(P.props,["disabled"])),{key:A,collapsible:(j=I.collapsible)!==null&&j!==void 0?j:"disabled"});return aa(P,N)}return P}):null,[h]);return w(d.createElement(QL,Object.assign({ref:t,openMotion:$},$r(e,["rootClassName"]),{expandIcon:_,prefixCls:v,className:E,style:Object.assign(Object.assign({},i==null?void 0:i.style),l)}),M))}),l8=Object.assign(qFe,{Panel:dFe}),Xo=e=>e instanceof _l?e:new _l(e),n_=e=>Math.round(Number(e||0)),tB=e=>n_(e.toHsb().a*100),r_=(e,t)=>{const n=e.toRgb();if(!n.r&&!n.g&&!n.b){const r=e.toHsb();return r.a=1,Xo(r)}return n.a=1,Xo(n)},kpe=(e,t)=>{const n=[{percent:0,color:e[0].color}].concat(lt(e),[{percent:100,color:e[e.length-1].color}]);for(let r=0;re.map(t=>(t.colors=t.colors.map(Xo),t)),Epe=(e,t)=>{const{r:n,g:r,b:i,a}=e.toRgb(),o=new yu(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},zG=(e,t)=>{var n;return`panel-${(n=e.key)!==null&&n!==void 0?n:t}`},KFe=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e;const[a]=Ga("ColorPicker"),[,o]=ka(),[s]=jn(P9(n),{value:P9(n),postState:P9}),l=`${t}-presets`,c=d.useMemo(()=>s.reduce((p,h,m)=>{const{defaultOpen:g=!0}=h;return g&&p.push(zG(h,m)),p},[]),[s]),u=p=>{i==null||i(p)},f=s.map((p,h)=>{var m;return{key:zG(p,h),label:te.createElement("div",{className:`${l}-label`},p==null?void 0:p.label),children:te.createElement("div",{className:`${l}-items`},Array.isArray(p==null?void 0:p.colors)&&((m=p.colors)===null||m===void 0?void 0:m.length)>0?p.colors.map((g,v)=>te.createElement(ZL,{key:`preset-${v}-${g.toHexString()}`,color:Xo(g).toRgbString(),prefixCls:t,className:Ee(`${l}-color`,{[`${l}-color-checked`]:g.toHexString()===(r==null?void 0:r.toHexString()),[`${l}-color-bright`]:Epe(g,o.colorBgElevated)}),onClick:()=>u(g)})):te.createElement("span",{className:`${l}-empty`},a.presetEmpty))}});return te.createElement("div",{className:l},te.createElement(l8,{defaultActiveKey:c,ghost:!0,items:f}))},$pe=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Hn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},Mpe=e=>{var t,n,r,i,a,o;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(i=e.contentLineHeight)!==null&&i!==void 0?i:e_(s),f=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:e_(l),p=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:e_(c),h=Epe(new _l(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,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.colorBorder,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:h,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:p,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*p)/2-e.lineWidth,0)}},GFe=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,marginXS:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Me(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:wh(),"> a":{color:"currentColor"},"&:not(:disabled)":Vs(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:i,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${a} ${o}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},Tpe=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),YFe=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),XFe=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),ZFe=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),nB=(e,t,n,r,i,a,o,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Tpe(e,Object.assign({background:t},o),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:a||void 0}})}),QFe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},ZFe(e))}),JFe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),c8=(e,t,n,r)=>{const a=r&&["link","text"].includes(r)?JFe:QFe;return Object.assign(Object.assign({},a(e)),Tpe(e.componentCls,t,n))},u8=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},c8(e,r,i))}),d8=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},c8(e,r,i))}),f8=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),p8=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},c8(e,n,r))}),fh=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},c8(e,r,i,n))}),eLe=e=>{const{componentCls:t}=e;return yg.reduce((n,r)=>{const i=e[`${r}6`],a=e[`${r}1`],o=e[`${r}5`],s=e[`${r}2`],l=e[`${r}3`],c=e[`${r}7`],u=`0 ${Me(e.controlOutlineWidth)} 0 ${e[`${r}1`]}`;return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:i,boxShadow:u},u8(e,e.colorTextLightSolid,i,{background:o},{background:c})),d8(e,i,e.colorBgContainer,{color:o,borderColor:o,background:e.colorBgContainer},{color:c,borderColor:c,background:e.colorBgContainer})),f8(e)),p8(e,a,{background:s},{background:l})),fh(e,i,"link",{color:o},{color:c})),fh(e,i,"text",{color:o,background:a},{color:c,background:l}))})},{})},tLe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},u8(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),f8(e)),p8(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),fh(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),nB(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),nLe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},d8(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),f8(e)),p8(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),fh(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),nB(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),rLe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},u8(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),d8(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),f8(e)),p8(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),fh(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),fh(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),nB(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),iLe=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:tLe(e),[`${t}-color-primary`]:nLe(e),[`${t}-color-dangerous`]:rLe(e)},eLe(e))},aLe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},d8(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),fh(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),u8(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),fh(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),rB=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:i,height:r,padding:`${Me(l)} ${Me(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:c}}}},{[`${n}${n}-circle${t}`]:YFe(e)},{[`${n}${n}-round${t}`]:XFe(e)}]},oLe=e=>{const t=Hn(e,{fontSize:e.contentFontSize});return rB(t,e.componentCls)},sLe=e=>{const t=Hn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return rB(t,`${e.componentCls}-sm`)},lLe=e=>{const t=Hn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return rB(t,`${e.componentCls}-lg`)},cLe=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},uLe=Jn("Button",e=>{const t=$pe(e);return[GFe(t),oLe(t),sLe(t),lLe(t),cLe(t),iLe(t),aLe(t),zDe(t)]},Mpe,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function dLe(e,t,n){const{focusElCls:r,focus:i,borderElCls:a}=n,o=a?"> *":"",s=["hover",i?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function fLe(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Vg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},dLe(e,r,t)),fLe(n,r,t))}}function pLe(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function hLe(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function mLe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},pLe(e,t)),hLe(e.componentCls,t))}}const gLe=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:i}=e,a=i(r).mul(-1).equal(),o=s=>{const l=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${l} + ${l}::before`]:{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},o()),o(!0))},vLe=Sy(["Button","compact"],e=>{const t=$pe(e);return[Vg(t),mLe(t),gLe(t)]},Mpe);var yLe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,a;const{loading:o=!1,prefixCls:s,color:l,variant:c,type:u,danger:f=!1,shape:p="default",size:h,styles:m,disabled:g,className:v,rootClassName:y,children:w,icon:b,iconPosition:C="start",ghost:k=!1,block:S=!1,htmlType:_="button",classNames:E,style:$={},autoInsertSpace:M,autoFocus:P}=e,R=yLe(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),O=u||"default",[j,I]=d.useMemo(()=>{if(l&&c)return[l,c];const We=wLe[O]||[];return f?["danger",We[1]]:We},[u,l,c,f]),N=j==="danger"?"dangerous":j,{getPrefixCls:F,direction:K,button:L}=d.useContext(Xt),V=(n=M??(L==null?void 0:L.autoInsertSpace))!==null&&n!==void 0?n:!0,B=F("btn",s),[U,Y,ee]=uLe(B),ie=d.useContext(ma),Z=g??ie,X=d.useContext(gpe),ae=d.useMemo(()=>bLe(o),[o]),[oe,le]=d.useState(ae.loading),[ce,pe]=d.useState(!1),me=d.useRef(null),re=ku(t,me),fe=d.Children.count(w)===1&&!b&&!E9(I),ve=d.useRef(!0);te.useEffect(()=>(ve.current=!1,()=>{ve.current=!0}),[]),d.useEffect(()=>{let We=null;ae.delay>0?We=setTimeout(()=>{We=null,le(!0)},ae.delay):le(ae.loading);function ge(){We&&(clearTimeout(We),We=null)}return ge},[ae]),d.useEffect(()=>{if(!me.current||!V)return;const We=me.current.textContent||"";fe&&yj(We)?ce||pe(!0):ce&&pe(!1)}),d.useEffect(()=>{P&&me.current&&me.current.focus()},[]);const $e=te.useCallback(We=>{var ge;if(oe||Z){We.preventDefault();return}(ge=e.onClick)===null||ge===void 0||ge.call(e,We)},[e.onClick,oe,Z]),{compactSize:Ce,compactItemClassnames:be}=$u(B,K),Se={large:"lg",small:"sm",middle:void 0},we=Bi(We=>{var ge,ze;return(ze=(ge=h??Ce)!==null&&ge!==void 0?ge:X)!==null&&ze!==void 0?ze:We}),se=we&&(r=Se[we])!==null&&r!==void 0?r:"",ye=oe?"loading":b,Oe=$r(R,["navigate"]),z=Ee(B,Y,ee,{[`${B}-${p}`]:p!=="default"&&p,[`${B}-${O}`]:O,[`${B}-dangerous`]:f,[`${B}-color-${N}`]:N,[`${B}-variant-${I}`]:I,[`${B}-${se}`]:se,[`${B}-icon-only`]:!w&&w!==0&&!!ye,[`${B}-background-ghost`]:k&&!E9(I),[`${B}-loading`]:oe,[`${B}-two-chinese-chars`]:ce&&V&&!oe,[`${B}-block`]:S,[`${B}-rtl`]:K==="rtl",[`${B}-icon-end`]:C==="end"},be,v,y,L==null?void 0:L.className),H=Object.assign(Object.assign({},L==null?void 0:L.style),$),G=Ee(E==null?void 0:E.icon,(i=L==null?void 0:L.classNames)===null||i===void 0?void 0:i.icon),de=Object.assign(Object.assign({},(m==null?void 0:m.icon)||{}),((a=L==null?void 0:L.styles)===null||a===void 0?void 0:a.icon)||{}),xe=b&&!oe?te.createElement(bj,{prefixCls:B,className:G,style:de},b):typeof o=="object"&&o.icon?te.createElement(bj,{prefixCls:B,className:G,style:de},o.icon):te.createElement(BDe,{existIcon:!!b,prefixCls:B,loading:oe,mount:ve.current}),he=w||w===0?LDe(w,fe&&V):null;if(Oe.href!==void 0)return U(te.createElement("a",Object.assign({},Oe,{className:Ee(z,{[`${B}-disabled`]:Z}),href:Z?void 0:Oe.href,style:H,onClick:$e,ref:re,tabIndex:Z?-1:0}),xe,he));let Ue=te.createElement("button",Object.assign({},R,{type:_,className:z,style:H,onClick:$e,disabled:Z,ref:re}),xe,he,be&&te.createElement(vLe,{prefixCls:B}));return E9(I)||(Ue=te.createElement(w4,{component:"Button",disabled:oe},Ue)),U(Ue)}),Yt=xLe;Yt.Group=DDe;Yt.__ANT_BUTTON=!0;function O9(e){return!!(e!=null&&e.then)}const iB=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:o,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,f=d.useRef(!1),p=d.useRef(null),[h,m]=vg(!1),g=function(){a==null||a.apply(void 0,arguments)};d.useEffect(()=>{let w=null;return o&&(w=setTimeout(()=>{var b;(b=p.current)===null||b===void 0||b.focus({preventScroll:!0})})),()=>{w&&clearTimeout(w)}},[]);const v=w=>{O9(w)&&(m(!0),w.then(function(){m(!1,!0),g.apply(void 0,arguments),f.current=!1},b=>{if(m(!1,!0),f.current=!1,!(l!=null&&l()))return Promise.reject(b)}))},y=w=>{if(f.current)return;if(f.current=!0,!u){g();return}let b;if(s){if(b=u(w),c&&!O9(b)){f.current=!1,g(w);return}}else if(u.length)b=u(a),f.current=!1;else if(b=u(),!O9(b)){g();return}v(b)};return d.createElement(Yt,Object.assign({},XL(t),{onClick:y,loading:h,prefixCls:r},i,{ref:p}),n)},S4=te.createContext({}),{Provider:Ppe}=S4,HG=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:o,onCancel:s,onConfirm:l}=d.useContext(S4);return i?te.createElement(iB,{isSilent:r,actionFn:s,close:function(){o==null||o.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${a}-btn`},n):null},UG=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:o,onConfirm:s,onOk:l}=d.useContext(S4);return te.createElement(iB,{isSilent:n,type:o||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${i}-btn`},a)};var Ope=d.createContext(null),WG=[];function SLe(e,t){var n=d.useState(function(){if(!Ws())return null;var m=document.createElement("div");return m}),r=Te(n,1),i=r[0],a=d.useRef(!1),o=d.useContext(Ope),s=d.useState(WG),l=Te(s,2),c=l[0],u=l[1],f=o||(a.current?void 0:function(m){u(function(g){var v=[m].concat(lt(g));return v})});function p(){i.parentElement||document.body.appendChild(i),a.current=!0}function h(){var m;(m=i.parentElement)===null||m===void 0||m.removeChild(i),a.current=!1}return nr(function(){return e?o?o(p):p():h(),h},[e]),nr(function(){c.length&&(c.forEach(function(m){return m()}),u(WG))},[c]),[i,f]}function CLe(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var i,a;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),c=parseInt(s.height,10);try{var u=l?"width: ".concat(s.width,";"):"",f=c?"height: ".concat(s.height,";"):"";YE(`
#`.concat(t,`::-webkit-scrollbar {
`).concat(u,`
`).concat(f,`
-}`),t)}catch(m){console.error(m),i=l,a=c}}document.body.appendChild(n);var p=e&&i&&!isNaN(i)?i:n.offsetWidth-n.clientWidth,h=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),ij(t),{width:p,height:h}}function SLe(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:xLe(e)}function CLe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var _Le="rc-util-locker-".concat(Date.now()),HG=0;function kLe(e){var t=!!e,n=d.useState(function(){return HG+=1,"".concat(_Le,"_").concat(HG)}),r=Te(n,1),i=r[0];nr(function(){if(t){var a=SLe(document.body).width,o=CLe();GE(`
+}`),t)}catch(m){console.error(m),i=l,a=c}}document.body.appendChild(n);var p=e&&i&&!isNaN(i)?i:n.offsetWidth-n.clientWidth,h=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),sj(t),{width:p,height:h}}function _Le(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:CLe(e)}function kLe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ELe="rc-util-locker-".concat(Date.now()),VG=0;function $Le(e){var t=!!e,n=d.useState(function(){return VG+=1,"".concat(ELe,"_").concat(VG)}),r=Te(n,1),i=r[0];nr(function(){if(t){var a=_Le(document.body).width,o=kLe();YE(`
html body {
overflow-y: hidden;
`.concat(o?"width: calc(100% - ".concat(a,"px);"):"",`
-}`),i)}else ij(i);return function(){ij(i)}},[t,i])}var ELe=!1;function $Le(e){return ELe}var UG=function(t){return t===!1?!1:!Ws()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},x4=d.forwardRef(function(e,t){var n=e.open,r=e.autoLock,i=e.getContainer;e.debug;var a=e.autoDestroy,o=a===void 0?!0:a,s=e.children,l=d.useState(n),c=Te(l,2),u=c[0],f=c[1],p=u||n;d.useEffect(function(){(o||n)&&f(n)},[n,o]);var h=d.useState(function(){return UG(i)}),m=Te(h,2),g=m[0],v=m[1];d.useEffect(function(){var P=UG(i);v(P??null)});var y=wLe(p&&!g),b=Te(y,2),w=b[0],_=b[1],k=g??w;kLe(r&&n&&Ws()&&(k===w||k===document.body));var S=null;if(s&&Vf(s)&&t){var C=s;S=C.ref}var E=Su(S,t);if(!p||!Ws()||g===void 0)return null;var $=k===!1||$Le(),M=s;return t&&(M=d.cloneElement(s,{ref:E})),d.createElement($pe.Provider,{value:_},$?M:Ka.createPortal(M,k))}),Mpe=d.createContext({});function MLe(){var e=q({},Qm);return e.useId}var WG=0,VG=MLe();const p8=VG?function(t){var n=VG();return t||n}:function(t){var n=d.useState("ssr-id"),r=Te(n,2),i=r[0],a=r[1];return d.useEffect(function(){var o=WG;WG+=1,a("rc_unique_".concat(o))},[]),t||i};function qG(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function KG(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function TLe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=KG(i),n.top+=KG(i,!0),n}const PLe=d.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var OLe={width:0,height:0,overflow:"hidden",outline:"none"},ILe={outline:"none"},Tpe=te.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,a=e.title,o=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,f=e.children,p=e.bodyStyle,h=e.bodyProps,m=e.modalRender,g=e.onMouseDown,v=e.onMouseUp,y=e.holderRef,b=e.visible,w=e.forceRender,_=e.width,k=e.height,S=e.classNames,C=e.styles,E=te.useContext(Mpe),$=E.panel,M=Su(y,$),P=d.useRef(),I=d.useRef();te.useImperativeHandle(t,function(){return{focus:function(){var B;(B=P.current)===null||B===void 0||B.focus({preventScroll:!0})},changeActive:function(B){var U=document,Z=U.activeElement;B&&Z===I.current?P.current.focus({preventScroll:!0}):!B&&Z===P.current&&I.current.focus({preventScroll:!0})}}});var O={};_!==void 0&&(O.width=_),k!==void 0&&(O.height=k);var A=s?te.createElement("div",{className:Ee("".concat(n,"-footer"),S==null?void 0:S.footer),style:q({},C==null?void 0:C.footer)},s):null,R=a?te.createElement("div",{className:Ee("".concat(n,"-header"),S==null?void 0:S.header),style:q({},C==null?void 0:C.header)},te.createElement("div",{className:"".concat(n,"-title"),id:o},a)):null,j=d.useMemo(function(){return Kt(l)==="object"&&l!==null?l:l?{closeIcon:c??te.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,c,n]),N=Bi(j,!0),D=Kt(l)==="object"&&l.disabled,V=l?te.createElement("button",tt({type:"button",onClick:u,"aria-label":"Close"},N,{className:"".concat(n,"-close"),disabled:D}),j.closeIcon):null,F=te.createElement("div",{className:Ee("".concat(n,"-content"),S==null?void 0:S.content),style:C==null?void 0:C.content},V,R,te.createElement("div",tt({className:Ee("".concat(n,"-body"),S==null?void 0:S.body),style:q(q({},p),C==null?void 0:C.body)},h),f),A);return te.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?o:null,"aria-modal":"true",ref:M,style:q(q({},i),O),className:Ee(n,r),onMouseDown:g,onMouseUp:v},te.createElement("div",{ref:P,tabIndex:0,style:ILe},te.createElement(PLe,{shouldUpdate:b||w},m?m(F):F)),te.createElement("div",{tabIndex:0,ref:I,style:OLe}))}),Ppe=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,i=e.style,a=e.className,o=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,f=e.onVisibleChanged,p=e.mousePosition,h=d.useRef(),m=d.useState(),g=Te(m,2),v=g[0],y=g[1],b={};v&&(b.transformOrigin=v);function w(){var _=TLe(h.current);y(p&&(p.x||p.y)?"".concat(p.x-_.left,"px ").concat(p.y-_.top,"px"):"")}return d.createElement(ka,{visible:o,onVisibleChanged:f,onAppearPrepare:w,onEnterPrepare:w,forceRender:s,motionName:c,removeOnLeave:l,ref:h},function(_,k){var S=_.className,C=_.style;return d.createElement(Tpe,tt({},e,{ref:t,title:r,ariaId:u,prefixCls:n,holderRef:k,style:q(q(q({},C),i),b),className:Ee(a,S)}))})});Ppe.displayName="Content";var RLe=function(t){var n=t.prefixCls,r=t.style,i=t.visible,a=t.maskProps,o=t.motionName,s=t.className;return d.createElement(ka,{key:"mask",visible:i,motionName:o,leavedClassName:"".concat(n,"-mask-hidden")},function(l,c){var u=l.className,f=l.style;return d.createElement("div",tt({ref:c,style:q(q({},f),r),className:Ee("".concat(n,"-mask"),u,s)},a))})},jLe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,i=t.zIndex,a=t.visible,o=a===void 0?!1:a,s=t.keyboard,l=s===void 0?!0:s,c=t.focusTriggerAfterClose,u=c===void 0?!0:c,f=t.wrapStyle,p=t.wrapClassName,h=t.wrapProps,m=t.onClose,g=t.afterOpenChange,v=t.afterClose,y=t.transitionName,b=t.animation,w=t.closable,_=w===void 0?!0:w,k=t.mask,S=k===void 0?!0:k,C=t.maskTransitionName,E=t.maskAnimation,$=t.maskClosable,M=$===void 0?!0:$,P=t.maskStyle,I=t.maskProps,O=t.rootClassName,A=t.classNames,R=t.styles,j=d.useRef(),N=d.useRef(),D=d.useRef(),V=d.useState(o),F=Te(V,2),K=F[0],B=F[1],U=p8();function Z(){nj(N.current,document.activeElement)||(j.current=document.activeElement)}function ee(){if(!nj(N.current,document.activeElement)){var re;(re=D.current)===null||re===void 0||re.focus()}}function ie(re){if(re)ee();else{if(B(!1),S&&j.current&&u){try{j.current.focus({preventScroll:!0})}catch{}j.current=null}K&&(v==null||v())}g==null||g(re)}function Y(re){m==null||m(re)}var X=d.useRef(!1),ae=d.useRef(),oe=function(){clearTimeout(ae.current),X.current=!0},le=function(){ae.current=setTimeout(function(){X.current=!1})},ce=null;M&&(ce=function(fe){X.current?X.current=!1:N.current===fe.target&&Y(fe)});function pe(re){if(l&&re.keyCode===gt.ESC){re.stopPropagation(),Y(re);return}o&&re.keyCode===gt.TAB&&D.current.changeActive(!re.shiftKey)}d.useEffect(function(){o&&(B(!0),Z())},[o]),d.useEffect(function(){return function(){clearTimeout(ae.current)}},[]);var me=q(q(q({zIndex:i},f),R==null?void 0:R.wrapper),{},{display:K?null:"none"});return d.createElement("div",tt({className:Ee("".concat(r,"-root"),O)},Bi(t,{data:!0})),d.createElement(RLe,{prefixCls:r,visible:S&&o,motionName:qG(r,C,E),style:q(q({zIndex:i},P),R==null?void 0:R.mask),maskProps:I,className:A==null?void 0:A.mask}),d.createElement("div",tt({tabIndex:-1,onKeyDown:pe,className:Ee("".concat(r,"-wrap"),p,A==null?void 0:A.wrapper),ref:N,onClick:ce,style:me},h),d.createElement(Ppe,tt({},t,{onMouseDown:oe,onMouseUp:le,ref:D,closable:_,ariaId:U,prefixCls:r,visible:o&&K,onClose:Y,onVisibleChanged:ie,motionName:qG(r,y,b)}))))},rB=function(t){var n=t.visible,r=t.getContainer,i=t.forceRender,a=t.destroyOnClose,o=a===void 0?!1:a,s=t.afterClose,l=t.panelRef,c=d.useState(n),u=Te(c,2),f=u[0],p=u[1],h=d.useMemo(function(){return{panel:l}},[l]);return d.useEffect(function(){n&&p(!0)},[n]),!i&&o&&!f?null:d.createElement(Mpe.Provider,{value:h},d.createElement(x4,{open:n||i||f,autoDestroy:!1,getContainer:r,autoLock:n||f},d.createElement(jLe,tt({},t,{destroyOnClose:o,afterClose:function(){s==null||s(),p(!1)}}))))};rB.displayName="Dialog";var Sm="RC_FORM_INTERNAL_HOOKS",pi=function(){zr(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},dh=d.createContext({getFieldValue:pi,getFieldsValue:pi,getFieldError:pi,getFieldWarning:pi,getFieldsError:pi,isFieldsTouched:pi,isFieldTouched:pi,isFieldValidating:pi,isFieldsValidating:pi,resetFields:pi,setFields:pi,setFieldValue:pi,setFieldsValue:pi,validateFields:pi,submit:pi,getInternalHooks:function(){return pi(),{dispatch:pi,initEntityValue:pi,registerField:pi,useSubscribe:pi,setInitialValues:pi,destroyForm:pi,setCallbacks:pi,registerWatch:pi,getFields:pi,setValidateMessages:pi,setPreserve:pi,getInitialValue:pi}}}),n3=d.createContext(null);function vj(e){return e==null?[]:Array.isArray(e)?e:[e]}function NLe(e){return e&&!!e._init}function yj(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var bj=yj();function ALe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function DLe(e,t,n){if(BE())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&qw(i,n.prototype),i}function wj(e){var t=typeof Map=="function"?new Map:void 0;return wj=function(r){if(r===null||!ALe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return DLe(r,arguments,dg(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),qw(i,r)},wj(e)}var FLe=/%[sdj%]/g,LLe=function(){};function xj(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function _l(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function BLe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ya(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||BLe(t)&&typeof e=="string"&&!e)}function zLe(e,t,n){var r=[],i=0,a=e.length;function o(s){r.push.apply(r,ct(s||[])),i++,i===a&&n(r)}e.forEach(function(s){t(s,o)})}function GG(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r=r+1,st.max?i.push(_l(a.messages[f].max,t.fullField,t.max)):s&&l&&(ut.max)&&i.push(_l(a.messages[f].range,t.fullField,t.min,t.max))},Ope=function(t,n,r,i,a,o){t.required&&(!r.hasOwnProperty(t.field)||Ya(n,o||t.type))&&i.push(_l(a.messages.required,t.fullField))},gS;const YLe=function(){if(gS)return gS;var e="[a-fA-F\\d:]",t=function(S){return S&&S.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(i.join("|"),")").concat(a),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(o,"$")),u=function(S){return S&&S.exact?s:new RegExp("(?:".concat(t(S)).concat(n).concat(t(S),")|(?:").concat(t(S)).concat(o).concat(t(S),")"),"g")};u.v4=function(k){return k&&k.exact?l:new RegExp("".concat(t(k)).concat(n).concat(t(k)),"g")},u.v6=function(k){return k&&k.exact?c:new RegExp("".concat(t(k)).concat(o).concat(t(k)),"g")};var f="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",h=u.v4().source,m=u.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",w='(?:[/?#][^\\s"]*)?',_="(?:".concat(f,"|www\\.)").concat(p,"(?:localhost|").concat(h,"|").concat(m,"|").concat(g).concat(v).concat(y,")").concat(b).concat(w);return gS=new RegExp("(?:^".concat(_,"$)"),"i"),gS};var QG={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},b2={integer:function(t){return b2.number(t)&&parseInt(t,10)===t},float:function(t){return b2.number(t)&&!b2.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Kt(t)==="object"&&!b2.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(QG.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(YLe())},hex:function(t){return typeof t=="string"&&!!t.match(QG.hex)}},XLe=function(t,n,r,i,a){if(t.required&&n===void 0){Ope(t,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?b2[s](n)||i.push(_l(a.messages.types[s],t.fullField,t.type)):s&&Kt(n)!==t.type&&i.push(_l(a.messages.types[s],t.fullField,t.type))},ZLe=function(t,n,r,i,a){(/^\s+$/.test(n)||n==="")&&i.push(_l(a.messages.whitespace,t.fullField))};const Br={required:Ope,whitespace:ZLe,type:XLe,range:GLe,enum:qLe,pattern:KLe};var QLe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a)}r(o)},JLe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();Br.required(t,n,i,o,a,"array"),n!=null&&(Br.type(t,n,i,o,a),Br.range(t,n,i,o,a))}r(o)},eBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&Br.type(t,n,i,o,a)}r(o)},tBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n,"date")&&!t.required)return r();if(Br.required(t,n,i,o,a),!Ya(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),Br.type(t,l,i,o,a),l&&Br.range(t,l.getTime(),i,o,a)}}r(o)},nBe="enum",rBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&Br[nBe](t,n,i,o,a)}r(o)},iBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&(Br.type(t,n,i,o,a),Br.range(t,n,i,o,a))}r(o)},aBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&(Br.type(t,n,i,o,a),Br.range(t,n,i,o,a))}r(o)},oBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&Br.type(t,n,i,o,a)}r(o)},sBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&(Br.type(t,n,i,o,a),Br.range(t,n,i,o,a))}r(o)},lBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),n!==void 0&&Br.type(t,n,i,o,a)}r(o)},cBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n,"string")&&!t.required)return r();Br.required(t,n,i,o,a),Ya(n,"string")||Br.pattern(t,n,i,o,a)}r(o)},uBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n)&&!t.required)return r();Br.required(t,n,i,o,a),Ya(n)||Br.type(t,n,i,o,a)}r(o)},dBe=function(t,n,r,i,a){var o=[],s=Array.isArray(n)?"array":Kt(n);Br.required(t,n,i,o,a,s),r(o)},fBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ya(n,"string")&&!t.required)return r();Br.required(t,n,i,o,a,"string"),Ya(n,"string")||(Br.type(t,n,i,o,a),Br.range(t,n,i,o,a),Br.pattern(t,n,i,o,a),t.whitespace===!0&&Br.whitespace(t,n,i,o,a))}r(o)},T9=function(t,n,r,i,a){var o=t.type,s=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Ya(n,o)&&!t.required)return r();Br.required(t,n,i,s,a,o),Ya(n,o)||Br.type(t,n,i,s,a)}r(s)};const X2={string:fBe,method:oBe,number:sBe,boolean:eBe,regexp:uBe,integer:aBe,float:iBe,array:JLe,object:lBe,enum:rBe,pattern:cBe,date:tBe,url:T9,hex:T9,email:T9,required:dBe,any:QLe};var S4=function(){function e(t){Dr(this,e),ne(this,"rules",null),ne(this,"_messages",bj),this.define(t)}return Fr(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Kt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var a=n[i];r.rules[i]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(n){return n&&(this._messages=ZG(yj(),n)),this._messages}},{key:"validate",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=i,l=a;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,o),Promise.resolve(o);function c(m){var g=[],v={};function y(w){if(Array.isArray(w)){var _;g=(_=g).concat.apply(_,ct(w))}else g.push(w)}for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:[],E=Array.isArray(C)?C:[C];!s.suppressWarning&&E.length&&e.warning("async-validator:",E),E.length&&v.message!==void 0&&(E=[].concat(v.message));var $=E.map(XG(v,o));if(s.first&&$.length)return h[v.field]=1,g($);if(!y)g($);else{if(v.required&&!m.value)return v.message!==void 0?$=[].concat(v.message).map(XG(v,o)):s.error&&($=[s.error(v,_l(s.messages.required,v.field))]),g($);var M={};v.defaultField&&Object.keys(m.value).map(function(O){M[O]=v.defaultField}),M=q(q({},M),m.rule.fields);var P={};Object.keys(M).forEach(function(O){var A=M[O],R=Array.isArray(A)?A:[A];P[O]=R.map(b.bind(null,O))});var I=new e(P);I.messages(s.messages),m.rule.options&&(m.rule.options.messages=s.messages,m.rule.options.error=s.error),I.validate(m.value,m.rule.options||s,function(O){var A=[];$&&$.length&&A.push.apply(A,ct($)),O&&O.length&&A.push.apply(A,ct(O)),g(A.length?A:null)})}}var _;if(v.asyncValidator)_=v.asyncValidator(v,m.value,w,m.source,s);else if(v.validator){try{_=v.validator(v,m.value,w,m.source,s)}catch(C){var k,S;(k=(S=console).error)===null||k===void 0||k.call(S,C),s.suppressValidatorError||setTimeout(function(){throw C},0),w(C.message)}_===!0?w():_===!1?w(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):_ instanceof Array?w(_):_ instanceof Error&&w(_.message)}_&&_.then&&_.then(function(){return w()},function(C){return w(C)})},function(m){c(m)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!X2.hasOwnProperty(n.type))throw new Error(_l("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?X2.required:X2[this.getType(n)]||void 0}}]),e}();ne(S4,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");X2[t]=n});ne(S4,"warning",LLe);ne(S4,"messages",bj);ne(S4,"validators",X2);var il="'${name}' is not a valid ${type}",Ipe={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:il,method:il,array:il,object:il,number:il,date:il,boolean:il,integer:il,float:il,regexp:il,email:il,url:il,hex:il},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},JG=S4;function pBe(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var eY="CODE_LOGIC_ERROR";function Sj(e,t,n,r,i){return Cj.apply(this,arguments)}function Cj(){return Cj=ha(mr().mark(function e(t,n,r,i,a){var o,s,l,c,u,f,p,h,m;return mr().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=q({},r),delete o.ruleIndex,JG.warning=function(){},o.validator&&(s=o.validator,o.validator=function(){try{return s.apply(void 0,arguments)}catch(y){return console.error(y),Promise.reject(eY)}}),l=null,o&&o.type==="array"&&o.defaultField&&(l=o.defaultField,delete o.defaultField),c=new JG(ne({},t,[o])),u=hv(Ipe,i.validateMessages),c.messages(u),f=[],v.prev=10,v.next=13,Promise.resolve(c.validate(ne({},t,n),q({},i)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(f=v.t0.errors.map(function(y,b){var w=y.message,_=w===eY?u.default:w;return d.isValidElement(_)?d.cloneElement(_,{key:"error_".concat(b)}):_}));case 18:if(!(!f.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(y,b){return Sj("".concat(t,".").concat(b),y,l,i,a)}));case 21:return p=v.sent,v.abrupt("return",p.reduce(function(y,b){return[].concat(ct(y),ct(b))},[]));case 23:return h=q(q({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),m=f.map(function(y){return typeof y=="string"?pBe(y,h):y}),v.abrupt("return",m);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),Cj.apply(this,arguments)}function hBe(e,t,n,r,i,a){var o=e.join("."),s=n.map(function(u,f){var p=u.validator,h=q(q({},u),{},{ruleIndex:f});return p&&(h.validator=function(m,g,v){var y=!1,b=function(){for(var k=arguments.length,S=new Array(k),C=0;C2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return Rpe(t,r,n)})}function Rpe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,i){return e[i]===r})}function vBe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Kt(e)!=="object"||Kt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return ct(i).every(function(a){var o=e[a],s=t[a];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function yBe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Kt(t.target)==="object"&&e in t.target?t.target[e]:t}function nY(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],a=t-n;return a>0?[].concat(ct(e.slice(0,n)),[i],ct(e.slice(n,t)),ct(e.slice(t+1,r))):a<0?[].concat(ct(e.slice(0,t)),ct(e.slice(t+1,n+1)),[i],ct(e.slice(n+1,r))):e}var bBe=["name"],Vl=[];function P9(e,t,n,r,i,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==i}var iB=function(e){Eo(n,e);var t=ts(n);function n(r){var i;if(Dr(this,n),i=t.call(this,r),ne(un(i),"state",{resetCount:0}),ne(un(i),"cancelRegisterFunc",null),ne(un(i),"mounted",!1),ne(un(i),"touched",!1),ne(un(i),"dirty",!1),ne(un(i),"validatePromise",void 0),ne(un(i),"prevValidating",void 0),ne(un(i),"errors",Vl),ne(un(i),"warnings",Vl),ne(un(i),"cancelRegister",function(){var l=i.props,c=l.preserve,u=l.isListField,f=l.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(u,c,wa(f)),i.cancelRegisterFunc=null}),ne(un(i),"getNamePath",function(){var l=i.props,c=l.name,u=l.fieldContext,f=u.prefixName,p=f===void 0?[]:f;return c!==void 0?[].concat(ct(p),ct(c)):[]}),ne(un(i),"getRules",function(){var l=i.props,c=l.rules,u=c===void 0?[]:c,f=l.fieldContext;return u.map(function(p){return typeof p=="function"?p(f):p})}),ne(un(i),"refresh",function(){i.mounted&&i.setState(function(l){var c=l.resetCount;return{resetCount:c+1}})}),ne(un(i),"metaCache",null),ne(un(i),"triggerMetaEvent",function(l){var c=i.props.onMetaChange;if(c){var u=q(q({},i.getMeta()),{},{destroy:l});mg(i.metaCache,u)||c(u),i.metaCache=u}else i.metaCache=null}),ne(un(i),"onStoreChange",function(l,c,u){var f=i.props,p=f.shouldUpdate,h=f.dependencies,m=h===void 0?[]:h,g=f.onReset,v=u.store,y=i.getNamePath(),b=i.getValue(l),w=i.getValue(v),_=c&&Pv(c,y);switch(u.type==="valueUpdate"&&u.source==="external"&&!mg(b,w)&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Vl,i.warnings=Vl,i.triggerMetaEvent()),u.type){case"reset":if(!c||_){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Vl,i.warnings=Vl,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(p&&P9(p,l,v,b,w,u)){i.reRender();return}break}case"setField":{var k=u.data;if(_){"touched"in k&&(i.touched=k.touched),"validating"in k&&!("originRCField"in k)&&(i.validatePromise=k.validating?Promise.resolve([]):null),"errors"in k&&(i.errors=k.errors||Vl),"warnings"in k&&(i.warnings=k.warnings||Vl),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in k&&Pv(c,y,!0)){i.reRender();return}if(p&&!y.length&&P9(p,l,v,b,w,u)){i.reRender();return}break}case"dependenciesUpdate":{var S=m.map(wa);if(S.some(function(C){return Pv(u.relatedFields,C)})){i.reRender();return}break}default:if(_||(!m.length||y.length||p)&&P9(p,l,v,b,w,u)){i.reRender();return}break}p===!0&&i.reRender()}),ne(un(i),"validateRules",function(l){var c=i.getNamePath(),u=i.getValue(),f=l||{},p=f.triggerName,h=f.validateOnly,m=h===void 0?!1:h,g=Promise.resolve().then(ha(mr().mark(function v(){var y,b,w,_,k,S,C;return mr().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(i.mounted){$.next=2;break}return $.abrupt("return",[]);case 2:if(y=i.props,b=y.validateFirst,w=b===void 0?!1:b,_=y.messageVariables,k=y.validateDebounce,S=i.getRules(),p&&(S=S.filter(function(M){return M}).filter(function(M){var P=M.validateTrigger;if(!P)return!0;var I=vj(P);return I.includes(p)})),!(k&&p)){$.next=10;break}return $.next=8,new Promise(function(M){setTimeout(M,k)});case 8:if(i.validatePromise===g){$.next=10;break}return $.abrupt("return",[]);case 10:return C=hBe(c,u,S,l,w,_),C.catch(function(M){return M}).then(function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vl;if(i.validatePromise===g){var P;i.validatePromise=null;var I=[],O=[];(P=M.forEach)===null||P===void 0||P.call(M,function(A){var R=A.rule.warningOnly,j=A.errors,N=j===void 0?Vl:j;R?O.push.apply(O,ct(N)):I.push.apply(I,ct(N))}),i.errors=I,i.warnings=O,i.triggerMetaEvent(),i.reRender()}}),$.abrupt("return",C);case 13:case"end":return $.stop()}},v)})));return m||(i.validatePromise=g,i.dirty=!0,i.errors=Vl,i.warnings=Vl,i.triggerMetaEvent(),i.reRender()),g}),ne(un(i),"isFieldValidating",function(){return!!i.validatePromise}),ne(un(i),"isFieldTouched",function(){return i.touched}),ne(un(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var l=i.props.fieldContext,c=l.getInternalHooks(Sm),u=c.getInitialValue;return u(i.getNamePath())!==void 0}),ne(un(i),"getErrors",function(){return i.errors}),ne(un(i),"getWarnings",function(){return i.warnings}),ne(un(i),"isListField",function(){return i.props.isListField}),ne(un(i),"isList",function(){return i.props.isList}),ne(un(i),"isPreserve",function(){return i.props.preserve}),ne(un(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var l={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return l}),ne(un(i),"getOnlyChild",function(l){if(typeof l=="function"){var c=i.getMeta();return q(q({},i.getOnlyChild(l(i.getControlled(),c,i.props.fieldContext))),{},{isFunction:!0})}var u=Zi(l);return u.length!==1||!d.isValidElement(u[0])?{child:u,isFunction:!1}:{child:u[0],isFunction:!1}}),ne(un(i),"getValue",function(l){var c=i.props.fieldContext.getFieldsValue,u=i.getNamePath();return Ds(l||c(!0),u)}),ne(un(i),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=i.props,u=c.name,f=c.trigger,p=c.validateTrigger,h=c.getValueFromEvent,m=c.normalize,g=c.valuePropName,v=c.getValueProps,y=c.fieldContext,b=p!==void 0?p:y.validateTrigger,w=i.getNamePath(),_=y.getInternalHooks,k=y.getFieldsValue,S=_(Sm),C=S.dispatch,E=i.getValue(),$=v||function(A){return ne({},g,A)},M=l[f],P=u!==void 0?$(E):{},I=q(q({},l),P);I[f]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var A,R=arguments.length,j=new Array(R),N=0;N=0&&M<=P.length?(u.keys=[].concat(ct(u.keys.slice(0,M)),[u.id],ct(u.keys.slice(M))),w([].concat(ct(P.slice(0,M)),[$],ct(P.slice(M))))):(u.keys=[].concat(ct(u.keys),[u.id]),w([].concat(ct(P),[$]))),u.id+=1},remove:function($){var M=k(),P=new Set(Array.isArray($)?$:[$]);P.size<=0||(u.keys=u.keys.filter(function(I,O){return!P.has(O)}),w(M.filter(function(I,O){return!P.has(O)})))},move:function($,M){if($!==M){var P=k();$<0||$>=P.length||M<0||M>=P.length||(u.keys=nY(u.keys,$,M),w(nY(P,$,M)))}}},C=b||[];return Array.isArray(C)||(C=[]),r(C.map(function(E,$){var M=u.keys[$];return M===void 0&&(u.keys[$]=u.id,M=u.keys[$],u.id+=1),{name:$,key:M,isListField:!0}}),S,v)})))}function wBe(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,a){e.forEach(function(o,s){o.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var Npe="__@field_split__";function O9(e){return e.map(function(t){return"".concat(Kt(t),":").concat(t)}).join(Npe)}var M1=function(){function e(){Dr(this,e),ne(this,"kvs",new Map)}return Fr(e,[{key:"set",value:function(n,r){this.kvs.set(O9(n),r)}},{key:"get",value:function(n){return this.kvs.get(O9(n))}},{key:"update",value:function(n,r){var i=this.get(n),a=r(i);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(O9(n))}},{key:"map",value:function(n){return ct(this.kvs.entries()).map(function(r){var i=Te(r,2),a=i[0],o=i[1],s=a.split(Npe);return n({key:s.map(function(l){var c=l.match(/^([^:]*):(.*)$/),u=Te(c,3),f=u[1],p=u[2];return f==="number"?Number(p):p}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,a=r.value;return n[i.join(".")]=a,null}),n}}]),e}(),xBe=["name"],SBe=Fr(function e(t){var n=this;Dr(this,e),ne(this,"formHooked",!1),ne(this,"forceRootUpdate",void 0),ne(this,"subscribable",!0),ne(this,"store",{}),ne(this,"fieldEntities",[]),ne(this,"initialValues",{}),ne(this,"callbacks",{}),ne(this,"validateMessages",null),ne(this,"preserve",null),ne(this,"lastValidatePromise",null),ne(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),ne(this,"getInternalHooks",function(r){return r===Sm?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(zr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ne(this,"useSubscribe",function(r){n.subscribable=r}),ne(this,"prevWithoutPreserves",null),ne(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var a,o=hv(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(s){var l=s.key;o=ds(o,l,Ds(r,l))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),ne(this,"destroyForm",function(r){if(r)n.updateStore({});else{var i=new M1;n.getFieldEntities(!0).forEach(function(a){n.isMergedPreserve(a.isPreserve())||i.set(a.getNamePath(),!0)}),n.prevWithoutPreserves=i}}),ne(this,"getInitialValue",function(r){var i=Ds(n.initialValues,r);return r.length?hv(i):i}),ne(this,"setCallbacks",function(r){n.callbacks=r}),ne(this,"setValidateMessages",function(r){n.validateMessages=r}),ne(this,"setPreserve",function(r){n.preserve=r}),ne(this,"watchList",[]),ne(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),ne(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(i,a,r)})}}),ne(this,"timeoutId",null),ne(this,"warningUnhooked",function(){}),ne(this,"updateStore",function(r){n.store=r}),ne(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),ne(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new M1;return n.getFieldEntities(r).forEach(function(a){var o=a.getNamePath();i.set(o,a)}),i}),ne(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(a){var o=wa(a);return i.get(o)||{INVALIDATE_NAME_PATH:wa(a)}})}),ne(this,"getFieldsValue",function(r,i){n.warningUnhooked();var a,o,s;if(r===!0||Array.isArray(r)?(a=r,o=i):r&&Kt(r)==="object"&&(s=r.strict,o=r.filter),a===!0&&!o)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),c=[];return l.forEach(function(u){var f,p,h="INVALIDATE_NAME_PATH"in u?u.INVALIDATE_NAME_PATH:u.getNamePath();if(s){var m,g;if((m=(g=u).isList)!==null&&m!==void 0&&m.call(g))return}else if(!a&&(f=(p=u).isListField)!==null&&f!==void 0&&f.call(p))return;if(!o)c.push(h);else{var v="getMeta"in u?u.getMeta():null;o(v)&&c.push(h)}}),tY(n.store,c.map(wa))}),ne(this,"getFieldValue",function(r){n.warningUnhooked();var i=wa(r);return Ds(n.store,i)}),ne(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(a,o){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:wa(r[o]),errors:[],warnings:[]}})}),ne(this,"getFieldError",function(r){n.warningUnhooked();var i=wa(r),a=n.getFieldsError([i])[0];return a.errors}),ne(this,"getFieldWarning",function(r){n.warningUnhooked();var i=wa(r),a=n.getFieldsError([i])[0];return a.warnings}),ne(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},i=new M1,a=n.getFieldEntities(!0);a.forEach(function(l){var c=l.props.initialValue,u=l.getNamePath();if(c!==void 0){var f=i.get(u)||new Set;f.add({entity:l,value:c}),i.set(u,f)}});var o=function(c){c.forEach(function(u){var f=u.props.initialValue;if(f!==void 0){var p=u.getNamePath(),h=n.getInitialValue(p);if(h!==void 0)zr(!1,"Form already set 'initialValues' with path '".concat(p.join("."),"'. Field can not overwrite it."));else{var m=i.get(p);if(m&&m.size>1)zr(!1,"Multiple Field with path '".concat(p.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var g=n.getFieldValue(p),v=u.isListField();!v&&(!r.skipExist||g===void 0)&&n.updateStore(ds(n.store,p,ct(m)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var c=i.get(l);if(c){var u;(u=s).push.apply(u,ct(ct(c).map(function(f){return f.entity})))}})):s=a,o(s)}),ne(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(hv(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(wa);a.forEach(function(o){var s=n.getInitialValue(o);n.updateStore(ds(n.store,o,s))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(i,a,{type:"reset"}),n.notifyWatch(a)}),ne(this,"setFields",function(r){n.warningUnhooked();var i=n.store,a=[];r.forEach(function(o){var s=o.name,l=Ut(o,xBe),c=wa(s);a.push(c),"value"in l&&n.updateStore(ds(n.store,c,l.value)),n.notifyObservers(i,[c],{type:"setField",data:o})}),n.notifyWatch(a)}),ne(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(a){var o=a.getNamePath(),s=a.getMeta(),l=q(q({},s),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return i}),ne(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var a=r.getNamePath(),o=Ds(n.store,a);o===void 0&&n.updateStore(ds(n.store,a,i))}}),ne(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),ne(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(s)&&(!o||l.length>1)){var c=o?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==c&&n.fieldEntities.every(function(f){return!Rpe(f.getNamePath(),i)})){var u=n.store;n.updateStore(ds(u,i,c,!0)),n.notifyObservers(u,[i],{type:"remove"}),n.triggerDependenciesUpdate(u,i)}}n.notifyWatch([i])}}),ne(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,a=r.value;n.updateValue(i,a);break}case"validateField":{var o=r.namePath,s=r.triggerName;n.validateFields([o],{triggerName:s});break}}}),ne(this,"notifyObservers",function(r,i,a){if(n.subscribable){var o=q(q({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,i,o)})}else n.forceRootUpdate()}),ne(this,"triggerDependenciesUpdate",function(r,i){var a=n.getDependencyChildrenFields(i);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[i].concat(ct(a))}),a}),ne(this,"updateValue",function(r,i){var a=wa(r),o=n.store;n.updateStore(ds(n.store,a,i)),n.notifyObservers(o,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var s=n.triggerDependenciesUpdate(o,a),l=n.callbacks.onValuesChange;if(l){var c=tY(n.store,[a]);l(c,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(ct(s)))}),ne(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var a=hv(n.store,r);n.updateStore(a)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),ne(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i,errors:[],warnings:[]}])}),ne(this,"getDependencyChildrenFields",function(r){var i=new Set,a=[],o=new M1;n.getFieldEntities().forEach(function(l){var c=l.props.dependencies;(c||[]).forEach(function(u){var f=wa(u);o.update(f,function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return p.add(l),p})})});var s=function l(c){var u=o.get(c)||new Set;u.forEach(function(f){if(!i.has(f)){i.add(f);var p=f.getNamePath();f.isFieldDirty()&&p.length&&(a.push(p),l(p))}})};return s(r),a}),ne(this,"triggerOnFieldsChange",function(r,i){var a=n.callbacks.onFieldsChange;if(a){var o=n.getFields();if(i){var s=new M1;i.forEach(function(c){var u=c.name,f=c.errors;s.set(u,f)}),o.forEach(function(c){c.errors=s.get(c.name)||c.errors})}var l=o.filter(function(c){var u=c.name;return Pv(r,u)});l.length&&a(l,o)}}),ne(this,"validateFields",function(r,i){n.warningUnhooked();var a,o;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(a=r,o=i):o=r;var s=!!a,l=s?a.map(wa):[],c=[],u=String(Date.now()),f=new Set,p=o||{},h=p.recursive,m=p.dirty;n.getFieldEntities(!0).forEach(function(b){if(s||l.push(b.getNamePath()),!(!b.props.rules||!b.props.rules.length)&&!(m&&!b.isFieldDirty())){var w=b.getNamePath();if(f.add(w.join(u)),!s||Pv(l,w,h)){var _=b.validateRules(q({validateMessages:q(q({},Ipe),n.validateMessages)},o));c.push(_.then(function(){return{name:w,errors:[],warnings:[]}}).catch(function(k){var S,C=[],E=[];return(S=k.forEach)===null||S===void 0||S.call(k,function($){var M=$.rule.warningOnly,P=$.errors;M?E.push.apply(E,ct(P)):C.push.apply(C,ct(P))}),C.length?Promise.reject({name:w,errors:C,warnings:E}):{name:w,errors:C,warnings:E}}))}}});var g=wBe(c);n.lastValidatePromise=g,g.catch(function(b){return b}).then(function(b){var w=b.map(function(_){var k=_.name;return k});n.notifyObservers(n.store,w,{type:"validateFinish"}),n.triggerOnFieldsChange(w,b)});var v=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(b){var w=b.filter(function(_){return _&&_.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:w,outOfDate:n.lastValidatePromise!==g})});v.catch(function(b){return b});var y=l.filter(function(b){return f.has(b.join(u))});return n.triggerOnFieldsChange(y),v}),ne(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(a){console.error(a)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=t});function oB(e){var t=d.useRef(),n=d.useState({}),r=Te(n,2),i=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){i({})},o=new SBe(a);t.current=o.getForm()}return[t.current]}var Ej=d.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ape=function(t){var n=t.validateMessages,r=t.onFormChange,i=t.onFormFinish,a=t.children,o=d.useContext(Ej),s=d.useRef({});return d.createElement(Ej.Provider,{value:q(q({},o),{},{validateMessages:q(q({},o.validateMessages),n),triggerFormChange:function(c,u){r&&r(c,{changedFields:u,forms:s.current}),o.triggerFormChange(c,u)},triggerFormFinish:function(c,u){i&&i(c,{values:u,forms:s.current}),o.triggerFormFinish(c,u)},registerForm:function(c,u){c&&(s.current=q(q({},s.current),{},ne({},c,u))),o.registerForm(c,u)},unregisterForm:function(c){var u=q({},s.current);delete u[c],s.current=u,o.unregisterForm(c)}})},a)},CBe=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],_Be=function(t,n){var r=t.name,i=t.initialValues,a=t.fields,o=t.form,s=t.preserve,l=t.children,c=t.component,u=c===void 0?"form":c,f=t.validateMessages,p=t.validateTrigger,h=p===void 0?"onChange":p,m=t.onValuesChange,g=t.onFieldsChange,v=t.onFinish,y=t.onFinishFailed,b=t.clearOnDestroy,w=Ut(t,CBe),_=d.useRef(null),k=d.useContext(Ej),S=oB(o),C=Te(S,1),E=C[0],$=E.getInternalHooks(Sm),M=$.useSubscribe,P=$.setInitialValues,I=$.setCallbacks,O=$.setValidateMessages,A=$.setPreserve,R=$.destroyForm;d.useImperativeHandle(n,function(){return q(q({},E),{},{nativeElement:_.current})}),d.useEffect(function(){return k.registerForm(r,E),function(){k.unregisterForm(r)}},[k,E,r]),O(q(q({},k.validateMessages),f)),I({onValuesChange:m,onFieldsChange:function(Z){if(k.triggerFormChange(r,Z),g){for(var ee=arguments.length,ie=new Array(ee>1?ee-1:0),Y=1;Y{}}),Fpe=d.createContext(null),Lpe=e=>{const t=$r(e,["prefixCls"]);return d.createElement(Ape,Object.assign({},t))},sB=d.createContext({prefixCls:""}),sa=d.createContext({}),EBe=e=>{let{children:t,status:n,override:r}=e;const i=d.useContext(sa),a=d.useMemo(()=>{const o=Object.assign({},i);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,i]);return d.createElement(sa.Provider,{value:a},t)},Bpe=d.createContext(void 0),mu=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let i=r;return n&&(i=te.createElement(EBe,{override:!0,status:!0},i)),t&&(i=te.createElement(ODe,null,i)),i};function T0(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function iY(e){const{closable:t,closeIcon:n}=e||{};return te.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function aY(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{i&&Object.keys(i).forEach(a=>{i[a]!==void 0&&(e[a]=i[a])})}),e}const $Be={};function lB(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$Be;const r=iY(e),i=iY(t),a=typeof r!="boolean"?!!(r!=null&&r.disabled):!1,o=te.useMemo(()=>Object.assign({closeIcon:te.createElement(Cu,null)},n),[n]),s=te.useMemo(()=>r===!1?!1:r?aY(o,i,r):i===!1?!1:i?aY(o,i):o.closable?o:!1,[r,i,o]);return te.useMemo(()=>{if(s===!1)return[!1,null,a];const{closeIconRender:l}=o,{closeIcon:c}=s;let u=c;if(u!=null){l&&(u=l(c));const f=Bi(s,!0);Object.keys(f).length&&(u=te.isValidElement(u)?te.cloneElement(u,f):te.createElement("span",Object.assign({},f),u))}return[!0,u,a]},[s,o])}var zpe=function(t){if(Ws()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(i){return i in r.style})}return!1},MBe=function(t,n){if(!zpe(t))return!1;var r=document.createElement("div"),i=r.style[t];return r.style[t]=n,r.style[t]!==i};function oY(e,t){return!Array.isArray(e)&&t!==void 0?MBe(e,t):zpe(e)}const TBe=()=>Ws()&&window.document.documentElement,h8=e=>{const{prefixCls:t,className:n,style:r,size:i,shape:a}=e,o=Ee({[`${t}-lg`]:i==="large",[`${t}-sm`]:i==="small"}),s=Ee({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),l=d.useMemo(()=>typeof i=="number"?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return d.createElement("span",{className:Ee(t,o,s,n),style:Object.assign(Object.assign({},l),r)})},PBe=new ir("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),m8=e=>({height:e,lineHeight:Me(e)}),Ov=e=>Object.assign({width:e},m8(e)),OBe=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:PBe,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),I9=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},m8(e)),IBe=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Ov(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Ov(i)),[`${t}${t}-sm`]:Object.assign({},Ov(a))}},RBe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},I9(t,s)),[`${r}-lg`]:Object.assign({},I9(i,s)),[`${r}-sm`]:Object.assign({},I9(a,s))}},sY=e=>Object.assign({width:e},m8(e)),jBe=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:i,calc:a}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:i},sY(a(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},sY(n)),{maxWidth:a(n).mul(4).equal(),maxHeight:a(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},R9=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},j9=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},m8(e)),NBe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},j9(r,s))},R9(e,r,n)),{[`${n}-lg`]:Object.assign({},j9(i,s))}),R9(e,i,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},j9(a,s))}),R9(e,a,`${n}-sm`))},ABe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:a,skeletonInputCls:o,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:f,padding:p,marginSM:h,borderRadius:m,titleHeight:g,blockRadius:v,paragraphLiHeight:y,controlHeightXS:b,paragraphMarginTop:w}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},Ov(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Ov(c)),[`${n}-sm`]:Object.assign({},Ov(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:g,background:f,borderRadius:v,[`+ ${i}`]:{marginBlockStart:u}},[i]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:f,borderRadius:v,"+ li":{marginBlockStart:b}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:h,[`+ ${i}`]:{marginBlockStart:w}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},NBe(e)),IBe(e)),RBe(e)),jBe(e)),[`${t}${t}-block`]:{width:"100%",[a]:{width:"100%"},[o]:{width:"100%"}},[`${t}${t}-active`]:{[`
+}`),i)}else sj(i);return function(){sj(i)}},[t,i])}var MLe=!1;function TLe(e){return MLe}var qG=function(t){return t===!1?!1:!Ws()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},C4=d.forwardRef(function(e,t){var n=e.open,r=e.autoLock,i=e.getContainer;e.debug;var a=e.autoDestroy,o=a===void 0?!0:a,s=e.children,l=d.useState(n),c=Te(l,2),u=c[0],f=c[1],p=u||n;d.useEffect(function(){(o||n)&&f(n)},[n,o]);var h=d.useState(function(){return qG(i)}),m=Te(h,2),g=m[0],v=m[1];d.useEffect(function(){var P=qG(i);v(P??null)});var y=SLe(p&&!g),w=Te(y,2),b=w[0],C=w[1],k=g??b;$Le(r&&n&&Ws()&&(k===b||k===document.body));var S=null;if(s&&Vf(s)&&t){var _=s;S=_.ref}var E=ku(S,t);if(!p||!Ws()||g===void 0)return null;var $=k===!1||TLe(),M=s;return t&&(M=d.cloneElement(s,{ref:E})),d.createElement(Ope.Provider,{value:C},$?M:Va.createPortal(M,k))}),Rpe=d.createContext({});function PLe(){var e=q({},Jm);return e.useId}var KG=0,GG=PLe();const h8=GG?function(t){var n=GG();return t||n}:function(t){var n=d.useState("ssr-id"),r=Te(n,2),i=r[0],a=r[1];return d.useEffect(function(){var o=KG;KG+=1,a("rc_unique_".concat(o))},[]),t||i};function YG(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function XG(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function OLe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=XG(i),n.top+=XG(i,!0),n}const RLe=d.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var ILe={width:0,height:0,overflow:"hidden",outline:"none"},jLe={outline:"none"},Ipe=te.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,a=e.title,o=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,f=e.children,p=e.bodyStyle,h=e.bodyProps,m=e.modalRender,g=e.onMouseDown,v=e.onMouseUp,y=e.holderRef,w=e.visible,b=e.forceRender,C=e.width,k=e.height,S=e.classNames,_=e.styles,E=te.useContext(Rpe),$=E.panel,M=ku(y,$),P=d.useRef(),R=d.useRef();te.useImperativeHandle(t,function(){return{focus:function(){var B;(B=P.current)===null||B===void 0||B.focus({preventScroll:!0})},changeActive:function(B){var U=document,Y=U.activeElement;B&&Y===R.current?P.current.focus({preventScroll:!0}):!B&&Y===P.current&&R.current.focus({preventScroll:!0})}}});var O={};C!==void 0&&(O.width=C),k!==void 0&&(O.height=k);var j=s?te.createElement("div",{className:Ee("".concat(n,"-footer"),S==null?void 0:S.footer),style:q({},_==null?void 0:_.footer)},s):null,I=a?te.createElement("div",{className:Ee("".concat(n,"-header"),S==null?void 0:S.header),style:q({},_==null?void 0:_.header)},te.createElement("div",{className:"".concat(n,"-title"),id:o},a)):null,A=d.useMemo(function(){return Kt(l)==="object"&&l!==null?l:l?{closeIcon:c??te.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,c,n]),N=Fi(A,!0),F=Kt(l)==="object"&&l.disabled,K=l?te.createElement("button",tt({type:"button",onClick:u,"aria-label":"Close"},N,{className:"".concat(n,"-close"),disabled:F}),A.closeIcon):null,L=te.createElement("div",{className:Ee("".concat(n,"-content"),S==null?void 0:S.content),style:_==null?void 0:_.content},K,I,te.createElement("div",tt({className:Ee("".concat(n,"-body"),S==null?void 0:S.body),style:q(q({},p),_==null?void 0:_.body)},h),f),j);return te.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?o:null,"aria-modal":"true",ref:M,style:q(q({},i),O),className:Ee(n,r),onMouseDown:g,onMouseUp:v},te.createElement("div",{ref:P,tabIndex:0,style:jLe},te.createElement(RLe,{shouldUpdate:w||b},m?m(L):L)),te.createElement("div",{tabIndex:0,ref:R,style:ILe}))}),jpe=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,i=e.style,a=e.className,o=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,f=e.onVisibleChanged,p=e.mousePosition,h=d.useRef(),m=d.useState(),g=Te(m,2),v=g[0],y=g[1],w={};v&&(w.transformOrigin=v);function b(){var C=OLe(h.current);y(p&&(p.x||p.y)?"".concat(p.x-C.left,"px ").concat(p.y-C.top,"px"):"")}return d.createElement(Ca,{visible:o,onVisibleChanged:f,onAppearPrepare:b,onEnterPrepare:b,forceRender:s,motionName:c,removeOnLeave:l,ref:h},function(C,k){var S=C.className,_=C.style;return d.createElement(Ipe,tt({},e,{ref:t,title:r,ariaId:u,prefixCls:n,holderRef:k,style:q(q(q({},_),i),w),className:Ee(a,S)}))})});jpe.displayName="Content";var NLe=function(t){var n=t.prefixCls,r=t.style,i=t.visible,a=t.maskProps,o=t.motionName,s=t.className;return d.createElement(Ca,{key:"mask",visible:i,motionName:o,leavedClassName:"".concat(n,"-mask-hidden")},function(l,c){var u=l.className,f=l.style;return d.createElement("div",tt({ref:c,style:q(q({},f),r),className:Ee("".concat(n,"-mask"),u,s)},a))})},ALe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,i=t.zIndex,a=t.visible,o=a===void 0?!1:a,s=t.keyboard,l=s===void 0?!0:s,c=t.focusTriggerAfterClose,u=c===void 0?!0:c,f=t.wrapStyle,p=t.wrapClassName,h=t.wrapProps,m=t.onClose,g=t.afterOpenChange,v=t.afterClose,y=t.transitionName,w=t.animation,b=t.closable,C=b===void 0?!0:b,k=t.mask,S=k===void 0?!0:k,_=t.maskTransitionName,E=t.maskAnimation,$=t.maskClosable,M=$===void 0?!0:$,P=t.maskStyle,R=t.maskProps,O=t.rootClassName,j=t.classNames,I=t.styles,A=d.useRef(),N=d.useRef(),F=d.useRef(),K=d.useState(o),L=Te(K,2),V=L[0],B=L[1],U=h8();function Y(){aj(N.current,document.activeElement)||(A.current=document.activeElement)}function ee(){if(!aj(N.current,document.activeElement)){var re;(re=F.current)===null||re===void 0||re.focus()}}function ie(re){if(re)ee();else{if(B(!1),S&&A.current&&u){try{A.current.focus({preventScroll:!0})}catch{}A.current=null}V&&(v==null||v())}g==null||g(re)}function Z(re){m==null||m(re)}var X=d.useRef(!1),ae=d.useRef(),oe=function(){clearTimeout(ae.current),X.current=!0},le=function(){ae.current=setTimeout(function(){X.current=!1})},ce=null;M&&(ce=function(fe){X.current?X.current=!1:N.current===fe.target&&Z(fe)});function pe(re){if(l&&re.keyCode===mt.ESC){re.stopPropagation(),Z(re);return}o&&re.keyCode===mt.TAB&&F.current.changeActive(!re.shiftKey)}d.useEffect(function(){o&&(B(!0),Y())},[o]),d.useEffect(function(){return function(){clearTimeout(ae.current)}},[]);var me=q(q(q({zIndex:i},f),I==null?void 0:I.wrapper),{},{display:V?null:"none"});return d.createElement("div",tt({className:Ee("".concat(r,"-root"),O)},Fi(t,{data:!0})),d.createElement(NLe,{prefixCls:r,visible:S&&o,motionName:YG(r,_,E),style:q(q({zIndex:i},P),I==null?void 0:I.mask),maskProps:R,className:j==null?void 0:j.mask}),d.createElement("div",tt({tabIndex:-1,onKeyDown:pe,className:Ee("".concat(r,"-wrap"),p,j==null?void 0:j.wrapper),ref:N,onClick:ce,style:me},h),d.createElement(jpe,tt({},t,{onMouseDown:oe,onMouseUp:le,ref:F,closable:C,ariaId:U,prefixCls:r,visible:o&&V,onClose:Z,onVisibleChanged:ie,motionName:YG(r,y,w)}))))},aB=function(t){var n=t.visible,r=t.getContainer,i=t.forceRender,a=t.destroyOnClose,o=a===void 0?!1:a,s=t.afterClose,l=t.panelRef,c=d.useState(n),u=Te(c,2),f=u[0],p=u[1],h=d.useMemo(function(){return{panel:l}},[l]);return d.useEffect(function(){n&&p(!0)},[n]),!i&&o&&!f?null:d.createElement(Rpe.Provider,{value:h},d.createElement(C4,{open:n||i||f,autoDestroy:!1,getContainer:r,autoLock:n||f},d.createElement(ALe,tt({},t,{destroyOnClose:o,afterClose:function(){s==null||s(),p(!1)}}))))};aB.displayName="Dialog";var Cm="RC_FORM_INTERNAL_HOOKS",pi=function(){Br(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},ph=d.createContext({getFieldValue:pi,getFieldsValue:pi,getFieldError:pi,getFieldWarning:pi,getFieldsError:pi,isFieldsTouched:pi,isFieldTouched:pi,isFieldValidating:pi,isFieldsValidating:pi,resetFields:pi,setFields:pi,setFieldValue:pi,setFieldsValue:pi,validateFields:pi,submit:pi,getInternalHooks:function(){return pi(),{dispatch:pi,initEntityValue:pi,registerField:pi,useSubscribe:pi,setInitialValues:pi,destroyForm:pi,setCallbacks:pi,registerWatch:pi,getFields:pi,setValidateMessages:pi,setPreserve:pi,getInitialValue:pi}}}),r3=d.createContext(null);function wj(e){return e==null?[]:Array.isArray(e)?e:[e]}function DLe(e){return e&&!!e._init}function xj(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Sj=xj();function FLe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function LLe(e,t,n){if(zE())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Kw(i,n.prototype),i}function Cj(e){var t=typeof Map=="function"?new Map:void 0;return Cj=function(r){if(r===null||!FLe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return LLe(r,arguments,fg(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Kw(i,r)},Cj(e)}var BLe=/%[sdj%]/g,zLe=function(){};function _j(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function kl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function HLe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ka(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||HLe(t)&&typeof e=="string"&&!e)}function ULe(e,t,n){var r=[],i=0,a=e.length;function o(s){r.push.apply(r,lt(s||[])),i++,i===a&&n(r)}e.forEach(function(s){t(s,o)})}function ZG(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r=r+1,st.max?i.push(kl(a.messages[f].max,t.fullField,t.max)):s&&l&&(ut.max)&&i.push(kl(a.messages[f].range,t.fullField,t.min,t.max))},Npe=function(t,n,r,i,a,o){t.required&&(!r.hasOwnProperty(t.field)||Ka(n,o||t.type))&&i.push(kl(a.messages.required,t.fullField))},yS;const ZLe=function(){if(yS)return yS;var e="[a-fA-F\\d:]",t=function(S){return S&&S.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(i.join("|"),")").concat(a),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(o,"$")),u=function(S){return S&&S.exact?s:new RegExp("(?:".concat(t(S)).concat(n).concat(t(S),")|(?:").concat(t(S)).concat(o).concat(t(S),")"),"g")};u.v4=function(k){return k&&k.exact?l:new RegExp("".concat(t(k)).concat(n).concat(t(k)),"g")},u.v6=function(k){return k&&k.exact?c:new RegExp("".concat(t(k)).concat(o).concat(t(k)),"g")};var f="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",h=u.v4().source,m=u.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",w="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',C="(?:".concat(f,"|www\\.)").concat(p,"(?:localhost|").concat(h,"|").concat(m,"|").concat(g).concat(v).concat(y,")").concat(w).concat(b);return yS=new RegExp("(?:^".concat(C,"$)"),"i"),yS};var tY={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},w2={integer:function(t){return w2.number(t)&&parseInt(t,10)===t},float:function(t){return w2.number(t)&&!w2.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Kt(t)==="object"&&!w2.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(tY.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(ZLe())},hex:function(t){return typeof t=="string"&&!!t.match(tY.hex)}},QLe=function(t,n,r,i,a){if(t.required&&n===void 0){Npe(t,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?w2[s](n)||i.push(kl(a.messages.types[s],t.fullField,t.type)):s&&Kt(n)!==t.type&&i.push(kl(a.messages.types[s],t.fullField,t.type))},JLe=function(t,n,r,i,a){(/^\s+$/.test(n)||n==="")&&i.push(kl(a.messages.whitespace,t.fullField))};const Lr={required:Npe,whitespace:JLe,type:QLe,range:XLe,enum:GLe,pattern:YLe};var eBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a)}r(o)},tBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();Lr.required(t,n,i,o,a,"array"),n!=null&&(Lr.type(t,n,i,o,a),Lr.range(t,n,i,o,a))}r(o)},nBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&Lr.type(t,n,i,o,a)}r(o)},rBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n,"date")&&!t.required)return r();if(Lr.required(t,n,i,o,a),!Ka(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),Lr.type(t,l,i,o,a),l&&Lr.range(t,l.getTime(),i,o,a)}}r(o)},iBe="enum",aBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&Lr[iBe](t,n,i,o,a)}r(o)},oBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&(Lr.type(t,n,i,o,a),Lr.range(t,n,i,o,a))}r(o)},sBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&(Lr.type(t,n,i,o,a),Lr.range(t,n,i,o,a))}r(o)},lBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&Lr.type(t,n,i,o,a)}r(o)},cBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&(Lr.type(t,n,i,o,a),Lr.range(t,n,i,o,a))}r(o)},uBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),n!==void 0&&Lr.type(t,n,i,o,a)}r(o)},dBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n,"string")&&!t.required)return r();Lr.required(t,n,i,o,a),Ka(n,"string")||Lr.pattern(t,n,i,o,a)}r(o)},fBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n)&&!t.required)return r();Lr.required(t,n,i,o,a),Ka(n)||Lr.type(t,n,i,o,a)}r(o)},pBe=function(t,n,r,i,a){var o=[],s=Array.isArray(n)?"array":Kt(n);Lr.required(t,n,i,o,a,s),r(o)},hBe=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ka(n,"string")&&!t.required)return r();Lr.required(t,n,i,o,a,"string"),Ka(n,"string")||(Lr.type(t,n,i,o,a),Lr.range(t,n,i,o,a),Lr.pattern(t,n,i,o,a),t.whitespace===!0&&Lr.whitespace(t,n,i,o,a))}r(o)},R9=function(t,n,r,i,a){var o=t.type,s=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Ka(n,o)&&!t.required)return r();Lr.required(t,n,i,s,a,o),Ka(n,o)||Lr.type(t,n,i,s,a)}r(s)};const X2={string:hBe,method:lBe,number:cBe,boolean:nBe,regexp:fBe,integer:sBe,float:oBe,array:tBe,object:uBe,enum:aBe,pattern:dBe,date:rBe,url:R9,hex:R9,email:R9,required:pBe,any:eBe};var _4=function(){function e(t){Ar(this,e),ne(this,"rules",null),ne(this,"_messages",Sj),this.define(t)}return Dr(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Kt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var a=n[i];r.rules[i]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(n){return n&&(this._messages=eY(xj(),n)),this._messages}},{key:"validate",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=i,l=a;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,o),Promise.resolve(o);function c(m){var g=[],v={};function y(b){if(Array.isArray(b)){var C;g=(C=g).concat.apply(C,lt(b))}else g.push(b)}for(var w=0;w0&&arguments[0]!==void 0?arguments[0]:[],E=Array.isArray(_)?_:[_];!s.suppressWarning&&E.length&&e.warning("async-validator:",E),E.length&&v.message!==void 0&&(E=[].concat(v.message));var $=E.map(JG(v,o));if(s.first&&$.length)return h[v.field]=1,g($);if(!y)g($);else{if(v.required&&!m.value)return v.message!==void 0?$=[].concat(v.message).map(JG(v,o)):s.error&&($=[s.error(v,kl(s.messages.required,v.field))]),g($);var M={};v.defaultField&&Object.keys(m.value).map(function(O){M[O]=v.defaultField}),M=q(q({},M),m.rule.fields);var P={};Object.keys(M).forEach(function(O){var j=M[O],I=Array.isArray(j)?j:[j];P[O]=I.map(w.bind(null,O))});var R=new e(P);R.messages(s.messages),m.rule.options&&(m.rule.options.messages=s.messages,m.rule.options.error=s.error),R.validate(m.value,m.rule.options||s,function(O){var j=[];$&&$.length&&j.push.apply(j,lt($)),O&&O.length&&j.push.apply(j,lt(O)),g(j.length?j:null)})}}var C;if(v.asyncValidator)C=v.asyncValidator(v,m.value,b,m.source,s);else if(v.validator){try{C=v.validator(v,m.value,b,m.source,s)}catch(_){var k,S;(k=(S=console).error)===null||k===void 0||k.call(S,_),s.suppressValidatorError||setTimeout(function(){throw _},0),b(_.message)}C===!0?b():C===!1?b(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):C instanceof Array?b(C):C instanceof Error&&b(C.message)}C&&C.then&&C.then(function(){return b()},function(_){return b(_)})},function(m){c(m)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!X2.hasOwnProperty(n.type))throw new Error(kl("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?X2.required:X2[this.getType(n)]||void 0}}]),e}();ne(_4,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");X2[t]=n});ne(_4,"warning",zLe);ne(_4,"messages",Sj);ne(_4,"validators",X2);var il="'${name}' is not a valid ${type}",Ape={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:il,method:il,array:il,object:il,number:il,date:il,boolean:il,integer:il,float:il,regexp:il,email:il,url:il,hex:il},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},nY=_4;function mBe(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var rY="CODE_LOGIC_ERROR";function kj(e,t,n,r,i){return Ej.apply(this,arguments)}function Ej(){return Ej=pa(hr().mark(function e(t,n,r,i,a){var o,s,l,c,u,f,p,h,m;return hr().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=q({},r),delete o.ruleIndex,nY.warning=function(){},o.validator&&(s=o.validator,o.validator=function(){try{return s.apply(void 0,arguments)}catch(y){return console.error(y),Promise.reject(rY)}}),l=null,o&&o.type==="array"&&o.defaultField&&(l=o.defaultField,delete o.defaultField),c=new nY(ne({},t,[o])),u=gv(Ape,i.validateMessages),c.messages(u),f=[],v.prev=10,v.next=13,Promise.resolve(c.validate(ne({},t,n),q({},i)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(f=v.t0.errors.map(function(y,w){var b=y.message,C=b===rY?u.default:b;return d.isValidElement(C)?d.cloneElement(C,{key:"error_".concat(w)}):C}));case 18:if(!(!f.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(y,w){return kj("".concat(t,".").concat(w),y,l,i,a)}));case 21:return p=v.sent,v.abrupt("return",p.reduce(function(y,w){return[].concat(lt(y),lt(w))},[]));case 23:return h=q(q({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),m=f.map(function(y){return typeof y=="string"?mBe(y,h):y}),v.abrupt("return",m);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),Ej.apply(this,arguments)}function gBe(e,t,n,r,i,a){var o=e.join("."),s=n.map(function(u,f){var p=u.validator,h=q(q({},u),{},{ruleIndex:f});return p&&(h.validator=function(m,g,v){var y=!1,w=function(){for(var k=arguments.length,S=new Array(k),_=0;_2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return Dpe(t,r,n)})}function Dpe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,i){return e[i]===r})}function bBe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Kt(e)!=="object"||Kt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return lt(i).every(function(a){var o=e[a],s=t[a];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function wBe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Kt(t.target)==="object"&&e in t.target?t.target[e]:t}function aY(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],a=t-n;return a>0?[].concat(lt(e.slice(0,n)),[i],lt(e.slice(n,t)),lt(e.slice(t+1,r))):a<0?[].concat(lt(e.slice(0,t)),lt(e.slice(t+1,n+1)),[i],lt(e.slice(n+1,r))):e}var xBe=["name"],Kl=[];function I9(e,t,n,r,i,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==i}var oB=function(e){$o(n,e);var t=rs(n);function n(r){var i;if(Ar(this,n),i=t.call(this,r),ne(fn(i),"state",{resetCount:0}),ne(fn(i),"cancelRegisterFunc",null),ne(fn(i),"mounted",!1),ne(fn(i),"touched",!1),ne(fn(i),"dirty",!1),ne(fn(i),"validatePromise",void 0),ne(fn(i),"prevValidating",void 0),ne(fn(i),"errors",Kl),ne(fn(i),"warnings",Kl),ne(fn(i),"cancelRegister",function(){var l=i.props,c=l.preserve,u=l.isListField,f=l.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(u,c,ba(f)),i.cancelRegisterFunc=null}),ne(fn(i),"getNamePath",function(){var l=i.props,c=l.name,u=l.fieldContext,f=u.prefixName,p=f===void 0?[]:f;return c!==void 0?[].concat(lt(p),lt(c)):[]}),ne(fn(i),"getRules",function(){var l=i.props,c=l.rules,u=c===void 0?[]:c,f=l.fieldContext;return u.map(function(p){return typeof p=="function"?p(f):p})}),ne(fn(i),"refresh",function(){i.mounted&&i.setState(function(l){var c=l.resetCount;return{resetCount:c+1}})}),ne(fn(i),"metaCache",null),ne(fn(i),"triggerMetaEvent",function(l){var c=i.props.onMetaChange;if(c){var u=q(q({},i.getMeta()),{},{destroy:l});gg(i.metaCache,u)||c(u),i.metaCache=u}else i.metaCache=null}),ne(fn(i),"onStoreChange",function(l,c,u){var f=i.props,p=f.shouldUpdate,h=f.dependencies,m=h===void 0?[]:h,g=f.onReset,v=u.store,y=i.getNamePath(),w=i.getValue(l),b=i.getValue(v),C=c&&Iv(c,y);switch(u.type==="valueUpdate"&&u.source==="external"&&!gg(w,b)&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Kl,i.warnings=Kl,i.triggerMetaEvent()),u.type){case"reset":if(!c||C){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Kl,i.warnings=Kl,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(p&&I9(p,l,v,w,b,u)){i.reRender();return}break}case"setField":{var k=u.data;if(C){"touched"in k&&(i.touched=k.touched),"validating"in k&&!("originRCField"in k)&&(i.validatePromise=k.validating?Promise.resolve([]):null),"errors"in k&&(i.errors=k.errors||Kl),"warnings"in k&&(i.warnings=k.warnings||Kl),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in k&&Iv(c,y,!0)){i.reRender();return}if(p&&!y.length&&I9(p,l,v,w,b,u)){i.reRender();return}break}case"dependenciesUpdate":{var S=m.map(ba);if(S.some(function(_){return Iv(u.relatedFields,_)})){i.reRender();return}break}default:if(C||(!m.length||y.length||p)&&I9(p,l,v,w,b,u)){i.reRender();return}break}p===!0&&i.reRender()}),ne(fn(i),"validateRules",function(l){var c=i.getNamePath(),u=i.getValue(),f=l||{},p=f.triggerName,h=f.validateOnly,m=h===void 0?!1:h,g=Promise.resolve().then(pa(hr().mark(function v(){var y,w,b,C,k,S,_;return hr().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(i.mounted){$.next=2;break}return $.abrupt("return",[]);case 2:if(y=i.props,w=y.validateFirst,b=w===void 0?!1:w,C=y.messageVariables,k=y.validateDebounce,S=i.getRules(),p&&(S=S.filter(function(M){return M}).filter(function(M){var P=M.validateTrigger;if(!P)return!0;var R=wj(P);return R.includes(p)})),!(k&&p)){$.next=10;break}return $.next=8,new Promise(function(M){setTimeout(M,k)});case 8:if(i.validatePromise===g){$.next=10;break}return $.abrupt("return",[]);case 10:return _=gBe(c,u,S,l,b,C),_.catch(function(M){return M}).then(function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kl;if(i.validatePromise===g){var P;i.validatePromise=null;var R=[],O=[];(P=M.forEach)===null||P===void 0||P.call(M,function(j){var I=j.rule.warningOnly,A=j.errors,N=A===void 0?Kl:A;I?O.push.apply(O,lt(N)):R.push.apply(R,lt(N))}),i.errors=R,i.warnings=O,i.triggerMetaEvent(),i.reRender()}}),$.abrupt("return",_);case 13:case"end":return $.stop()}},v)})));return m||(i.validatePromise=g,i.dirty=!0,i.errors=Kl,i.warnings=Kl,i.triggerMetaEvent(),i.reRender()),g}),ne(fn(i),"isFieldValidating",function(){return!!i.validatePromise}),ne(fn(i),"isFieldTouched",function(){return i.touched}),ne(fn(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var l=i.props.fieldContext,c=l.getInternalHooks(Cm),u=c.getInitialValue;return u(i.getNamePath())!==void 0}),ne(fn(i),"getErrors",function(){return i.errors}),ne(fn(i),"getWarnings",function(){return i.warnings}),ne(fn(i),"isListField",function(){return i.props.isListField}),ne(fn(i),"isList",function(){return i.props.isList}),ne(fn(i),"isPreserve",function(){return i.props.preserve}),ne(fn(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var l={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return l}),ne(fn(i),"getOnlyChild",function(l){if(typeof l=="function"){var c=i.getMeta();return q(q({},i.getOnlyChild(l(i.getControlled(),c,i.props.fieldContext))),{},{isFunction:!0})}var u=Xi(l);return u.length!==1||!d.isValidElement(u[0])?{child:u,isFunction:!1}:{child:u[0],isFunction:!1}}),ne(fn(i),"getValue",function(l){var c=i.props.fieldContext.getFieldsValue,u=i.getNamePath();return Ds(l||c(!0),u)}),ne(fn(i),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=i.props,u=c.name,f=c.trigger,p=c.validateTrigger,h=c.getValueFromEvent,m=c.normalize,g=c.valuePropName,v=c.getValueProps,y=c.fieldContext,w=p!==void 0?p:y.validateTrigger,b=i.getNamePath(),C=y.getInternalHooks,k=y.getFieldsValue,S=C(Cm),_=S.dispatch,E=i.getValue(),$=v||function(j){return ne({},g,j)},M=l[f],P=u!==void 0?$(E):{},R=q(q({},l),P);R[f]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var j,I=arguments.length,A=new Array(I),N=0;N=0&&M<=P.length?(u.keys=[].concat(lt(u.keys.slice(0,M)),[u.id],lt(u.keys.slice(M))),b([].concat(lt(P.slice(0,M)),[$],lt(P.slice(M))))):(u.keys=[].concat(lt(u.keys),[u.id]),b([].concat(lt(P),[$]))),u.id+=1},remove:function($){var M=k(),P=new Set(Array.isArray($)?$:[$]);P.size<=0||(u.keys=u.keys.filter(function(R,O){return!P.has(O)}),b(M.filter(function(R,O){return!P.has(O)})))},move:function($,M){if($!==M){var P=k();$<0||$>=P.length||M<0||M>=P.length||(u.keys=aY(u.keys,$,M),b(aY(P,$,M)))}}},_=w||[];return Array.isArray(_)||(_=[]),r(_.map(function(E,$){var M=u.keys[$];return M===void 0&&(u.keys[$]=u.id,M=u.keys[$],u.id+=1),{name:$,key:M,isListField:!0}}),S,v)})))}function SBe(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,a){e.forEach(function(o,s){o.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var Lpe="__@field_split__";function j9(e){return e.map(function(t){return"".concat(Kt(t),":").concat(t)}).join(Lpe)}var T1=function(){function e(){Ar(this,e),ne(this,"kvs",new Map)}return Dr(e,[{key:"set",value:function(n,r){this.kvs.set(j9(n),r)}},{key:"get",value:function(n){return this.kvs.get(j9(n))}},{key:"update",value:function(n,r){var i=this.get(n),a=r(i);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(j9(n))}},{key:"map",value:function(n){return lt(this.kvs.entries()).map(function(r){var i=Te(r,2),a=i[0],o=i[1],s=a.split(Lpe);return n({key:s.map(function(l){var c=l.match(/^([^:]*):(.*)$/),u=Te(c,3),f=u[1],p=u[2];return f==="number"?Number(p):p}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,a=r.value;return n[i.join(".")]=a,null}),n}}]),e}(),CBe=["name"],_Be=Dr(function e(t){var n=this;Ar(this,e),ne(this,"formHooked",!1),ne(this,"forceRootUpdate",void 0),ne(this,"subscribable",!0),ne(this,"store",{}),ne(this,"fieldEntities",[]),ne(this,"initialValues",{}),ne(this,"callbacks",{}),ne(this,"validateMessages",null),ne(this,"preserve",null),ne(this,"lastValidatePromise",null),ne(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),ne(this,"getInternalHooks",function(r){return r===Cm?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Br(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ne(this,"useSubscribe",function(r){n.subscribable=r}),ne(this,"prevWithoutPreserves",null),ne(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var a,o=gv(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(s){var l=s.key;o=hs(o,l,Ds(r,l))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),ne(this,"destroyForm",function(r){if(r)n.updateStore({});else{var i=new T1;n.getFieldEntities(!0).forEach(function(a){n.isMergedPreserve(a.isPreserve())||i.set(a.getNamePath(),!0)}),n.prevWithoutPreserves=i}}),ne(this,"getInitialValue",function(r){var i=Ds(n.initialValues,r);return r.length?gv(i):i}),ne(this,"setCallbacks",function(r){n.callbacks=r}),ne(this,"setValidateMessages",function(r){n.validateMessages=r}),ne(this,"setPreserve",function(r){n.preserve=r}),ne(this,"watchList",[]),ne(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),ne(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(i,a,r)})}}),ne(this,"timeoutId",null),ne(this,"warningUnhooked",function(){}),ne(this,"updateStore",function(r){n.store=r}),ne(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),ne(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new T1;return n.getFieldEntities(r).forEach(function(a){var o=a.getNamePath();i.set(o,a)}),i}),ne(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(a){var o=ba(a);return i.get(o)||{INVALIDATE_NAME_PATH:ba(a)}})}),ne(this,"getFieldsValue",function(r,i){n.warningUnhooked();var a,o,s;if(r===!0||Array.isArray(r)?(a=r,o=i):r&&Kt(r)==="object"&&(s=r.strict,o=r.filter),a===!0&&!o)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),c=[];return l.forEach(function(u){var f,p,h="INVALIDATE_NAME_PATH"in u?u.INVALIDATE_NAME_PATH:u.getNamePath();if(s){var m,g;if((m=(g=u).isList)!==null&&m!==void 0&&m.call(g))return}else if(!a&&(f=(p=u).isListField)!==null&&f!==void 0&&f.call(p))return;if(!o)c.push(h);else{var v="getMeta"in u?u.getMeta():null;o(v)&&c.push(h)}}),iY(n.store,c.map(ba))}),ne(this,"getFieldValue",function(r){n.warningUnhooked();var i=ba(r);return Ds(n.store,i)}),ne(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(a,o){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:ba(r[o]),errors:[],warnings:[]}})}),ne(this,"getFieldError",function(r){n.warningUnhooked();var i=ba(r),a=n.getFieldsError([i])[0];return a.errors}),ne(this,"getFieldWarning",function(r){n.warningUnhooked();var i=ba(r),a=n.getFieldsError([i])[0];return a.warnings}),ne(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),a=0;a